JP2000358033A - Data communication system and data communication method - Google Patents

Data communication system and data communication method

Info

Publication number
JP2000358033A
JP2000358033A JP11167395A JP16739599A JP2000358033A JP 2000358033 A JP2000358033 A JP 2000358033A JP 11167395 A JP11167395 A JP 11167395A JP 16739599 A JP16739599 A JP 16739599A JP 2000358033 A JP2000358033 A JP 2000358033A
Authority
JP
Japan
Prior art keywords
data
network
node
transfer
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.)
Withdrawn
Application number
JP11167395A
Other languages
Japanese (ja)
Inventor
Yoji Kaneko
陽治 金子
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 JP11167395A priority Critical patent/JP2000358033A/en
Publication of JP2000358033A publication Critical patent/JP2000358033A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a communication system capable of easily connecting a recording and reproducing device or the like for a digital camera or digital VTR to the communication system without adding any special hardware configuration or software control. SOLUTION: Extremely local inter-equipment data communication is attained between respective peripheral equipment by connecting a local network including a PC with an IEEE1394 protocol, and further, the data communication to the PC and its peripheral equipment is attained by enabling the large-size network to the outside of the PC through the PC with an Ethernet (R) protocol. A function, that communication equipment has, is reported to a party before the data communication with the peripheral equipment (S2), and the data communication is performed in the data format processable by communication equipment (S9-S11).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はネットワーク介して
互いにデータ通信可能なデータ通信システム及びデータ
通信方法に関し、例えば、ネットワークに接続されるシ
ホスト機器と複数の周辺電子機器を制御信号とデータを
混在させて通信することが可能なデータ通信バスを用い
て接続して、ネットワークおよび各周辺電子機器間でデ
ータ通信を行う事が可能なデータ通信システム及びデー
タ通信方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication system and a data communication method capable of mutually communicating data via a network. For example, a host computer and a plurality of peripheral electronic devices connected to a network mix control signals and data. TECHNICAL FIELD The present invention relates to a data communication system and a data communication method capable of performing data communication between a network and each peripheral electronic device by connecting using a data communication bus capable of performing data communication.

【0002】[0002]

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

【0003】また、デジタルカメラやデジタルビデオカ
メラといった記録再生装置もパソコン(以下、「PC」
と称す)への入力手段として用いられるようになってき
ており、周辺装置の1つとなりつつある。
A recording / reproducing device such as a digital camera or a digital video camera is also a personal computer (hereinafter, “PC”).
), And is becoming one of the peripheral devices.

【0004】更に、近年、デジタルカメラやビデカメラ
で撮影した静止画や動画といった映像をPCへ取り込
み、ハードディスクに記憶したり、またはPCで編集し
た後、プリンタでカラープリントするといった分野の技
術が進んでおり、ユーザーも増えている。
Furthermore, in recent years, the technology in the field of capturing images such as still images and moving images taken by a digital camera or a video camera into a PC and storing them on a hard disk or editing the images on the PC and then performing color printing with a printer has been advanced. And users are increasing.

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

【0006】図23に、従来のデジタルカメラ、PC及
びプリンタを接続したデータ処理システムのブロック構
成を示す。
FIG. 23 shows a block configuration of a data processing system in which a conventional digital camera, PC and printer are connected.

【0007】図3において、31はデジタルカメラ、3
2はパソコン(PC)、33はプリンタである。さら
に、34はデジタルカメラの記録部であるメモリ、35
は画像データの復号化回路、36は画像処理部、37は
D/Aコンバータ、38は表示部であるEVF、39は
デジタルカメラのデジタルI/O部である。
In FIG. 3, reference numeral 31 denotes a digital camera, 3
2 is a personal computer (PC), and 33 is a printer. Reference numeral 34 denotes a memory as a recording unit of the digital camera;
Denotes an image data decoding circuit, 36 denotes an image processing unit, 37 denotes a D / A converter, 38 denotes an EVF as a display unit, and 39 denotes a digital I / O unit of a digital camera.

【0008】また、40はPCのデジタルカメラとのデ
ジタルI/O部、41はキーボードやマウスなどの操作
部、42は画像データの復号化回路、43はディスプレ
イ、44はハードディスク装置、45はRAM等のメモ
リ、46は演算処理部のMPU、47はPCIバス、4
8はデジタルI/FのSCSIインタフェース(ボー
ド)、49はPCと外部ネットワークであるイーサネッ
トとのインターフェースを行うイーサネットボードであ
る。
Reference numeral 40 denotes a digital I / O unit of a PC with a digital camera; 41, an operation unit such as a keyboard and a mouse; 42, a decoding circuit for image data; 43, a display; 46, an MPU of an arithmetic processing unit; 47, a PCI bus;
Reference numeral 8 denotes a digital I / F SCSI interface (board), and reference numeral 49 denotes an Ethernet board for interfacing a PC with an external network, ie, Ethernet.

【0009】更に、50はPCとSCSIケーブルで繋
がったプリンタのSCSIインターフェイス、51はメ
モリ、5251はプリンタヘッド、53はプリンタ制御
部のプリンタコントローラ、54はドライバである。
Reference numeral 50 denotes a SCSI interface of a printer connected to a PC via a SCSI cable, 51 denotes a memory, 5251 denotes a printer head, 53 denotes a printer controller of a printer control unit, and 54 denotes a driver.

【0010】従来のデジタルカメラ31で撮像した画像
をPC32に取り込み、またPC32からプリンタ33
へ出力するときの手順の説明を行う。
An image picked up by the conventional digital camera 31 is taken into the PC 32, and the image is taken from the PC 32 to the printer 33.
A description will be given of the procedure for outputting to the.

【0011】デジタルカメラ31のメモリ34に記憶さ
れている画像データが読み出されると、読み出された画
像データのうち一方は復号化回路35で復号化され、画
像処理回路36で表示するための画像処理がなされ、D
/Aコンバータ37を経て、EVF38で表示される。
When the image data stored in the memory 34 of the digital camera 31 is read, one of the read image data is decoded by a decoding circuit 35, and an image to be displayed by an image processing circuit 36 is displayed. Processing is performed, and D
It is displayed on the EVF 38 via the / A converter 37.

【0012】また一方では、外部出力するためにデジタ
ルI/O部39から、ケーブルを伝わってPC32のデ
ジタルI/O部40へ至る。
On the other hand, the digital signal is transmitted from the digital I / O unit 39 to the digital I / O unit 40 of the PC 32 via a cable for external output.

【0013】PC32内では、PCIバス47を相互伝
送のバスとして、デジタルI/O部40から入力した画
像データは、記憶する場合はハードディスク44で記憶
され、表示する場合は復号化回路42で復号化された
後、メモリ45で表示画像として記憶されて、ディスプ
レイ43でアナログ信号に変換されてから表示される。
PC32での編集時等の操作入力は操作部41から行
い、PC32全体の処理はMPU46で行う。
In the PC 32, a PCI bus 47 is used as a bus for mutual transmission, and image data input from the digital I / O unit 40 is stored in the hard disk 44 when stored, and is decoded by the decoding circuit 42 when displayed. After being converted, it is stored as a display image in the memory 45, converted into an analog signal on the display 43, and displayed.
Operation input at the time of editing or the like on the PC 32 is performed from the operation unit 41, and processing of the entire PC 32 is performed by the MPU 46.

【0014】また、外部ネットワークであるイーサネッ
トとのデータ通信はイーサネットボード49を介して行
い、メモリ45に記憶されている前記デジタルカメラ3
1での撮影画像データを他のシステムに送信すると共
に、他の同様データ通信システムからのさまざまな通信
データを受信し、ハードディスク44やメモリ45に蓄
積する。
Data communication with an external network, Ethernet, is performed via an Ethernet board 49, and the digital camera 3 stored in a memory 45 is used.
In addition to transmitting the captured image data at 1 to other systems, it also receives various communication data from other similar data communication systems and stores them in the hard disk 44 or the memory 45.

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

【0016】以上が、従来の画像データをPC321で
取り込み、またはプリントするまでの手順である。
The procedure up to the point where the conventional image data is captured or printed by the PC 321 has been described above.

【0017】このように、従来は、ホストであるPC3
2にそれぞれの機器が接続され、PC32を介してか
ら、記録再生装置で撮像した画像データをプリントして
いた。
As described above, conventionally, the host PC 3
2 was connected to each device, and via the PC 32, image data captured by the recording / reproducing apparatus was printed.

【0018】また、映像データを圧縮する方式も多様化
している。静止画を圧縮する方式としてJPEG方式
が、動画を圧縮する方式としてMPEG方式などが知ら
れており、その他には家庭用デジタルVTR(DVC)
ではVLCとDCTを組み合わせた独自の圧縮方式を用
いている。このように、機器毎またはデータの種類毎な
どに分類してさまざまな圧縮方式が考えられている。
[0018] In addition, a method for compressing video data has been diversified. A JPEG method is known as a method for compressing a still image, an MPEG method is known as a method for compressing a moving image, and a home digital VTR (DVC) is also used.
Uses a unique compression method combining VLC and DCT. As described above, various compression schemes are categorized for each device or each type of data.

【0019】[0019]

【発明が解決しようとする課題】しかしながら、上記従
来例で挙げたデジタルインターフェイスの問題点とし
て、SCSIには転送データレートの低いものや、パラ
レル通信のためケーブルが太いもの、接続される周辺機
器の種類や数、接続方式などにも制限があり、多くの面
での不便利性も指摘されている。
However, as the problems of the digital interface mentioned in the above conventional example, SCSI has a low transfer data rate, a thick cable for parallel communication, and a peripheral device to be connected. There are restrictions on types, numbers, connection methods, etc., and inconveniences in many aspects have been pointed out.

【0020】また、一般的な家庭用PCの多くは、PC
の背面にSCSIやその他のケーブルを接続するための
コネクタを設けているものが多く、またコネクタの形状
も大きく、抜き差しに煩わしさがある。デジタルカメラ
やビデオカメラ等の移動式や携帯式で、通常は据え置き
しない装置を接続するときにも、PCの背面コネクタに
接続しなければならず、非常に煩わしい。
Further, most of ordinary home PCs are PCs.
In many cases, a connector for connecting SCSI or other cables is provided on the back of the device, and the shape of the connector is large. Even when connecting a portable or portable device such as a digital camera or a video camera which is not usually fixed, the device must be connected to the rear connector of the PC, which is very troublesome.

【0021】また、これらの周辺機器を接続するための
SCSIインターフェースボードは通常1枚のボードで
一つのSCSIインターフェースを持つ、さらに、外部
ネットワークとの接続を行うイーサネットボードも通常
1枚で一つのイーサネットインターフェースを持つ。
In general, one SCSI interface board for connecting these peripheral devices has one SCSI interface with one board, and one Ethernet board for connecting to an external network is usually one Ethernet board. Has an interface.

【0022】このようにPCに周辺機器やネットワーク
を接続するためには、インターフェースに応じて前記の
ような拡張ボードを必要とする。しかし、PC内部のP
CIバスに用意されている拡張ボード用のコネクタは物
理的な制約を受けて通常4から5枚程度の拡張ができる
ように構成されているのみである。このことはPCに接
続する周辺機器に応じたコストをかけないとPCがアッ
プグレードできない事を示している。
In order to connect a peripheral device or a network to the PC in this way, the above-described expansion board is required according to the interface. However, P inside the PC
The expansion board connector provided on the CI bus is generally configured to be able to expand about 4 to 5 boards under physical restrictions. This indicates that the PC cannot be upgraded unless the cost corresponding to the peripheral device connected to the PC is applied.

【0023】[0023]

【課題を解決するための手段】本発明は上述した従来抱
えている課題を解決することを目的として成されたもの
であり、係る目的を達成する一手段として、例えば以下
の構成を備える。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and has, for example, the following arrangement as one means for achieving the above objects.

【0024】即ち、通信機器が接続されたネットワーク
と、前記ネットワークに接続されたホスト機器と、前記
ホスト機器と前記ネットワークと異なるデジタル通信網
で接続された複数の周辺機器とで構成されるデータ通信
システムであって、前記ネットワークに接続された通信
機器は、前記ネットワーク及び前記ホスト機器を介して
前記周辺機器と通信可能とすることを特徴とする。
That is, data communication comprising a network to which communication devices are connected, a host device connected to the network, and a plurality of peripheral devices connected to the host device and a digital communication network different from the network. The system is characterized in that a communication device connected to the network can communicate with the peripheral device via the network and the host device.

【0025】そして例えば、前記ネットワークと異なる
デジタル通信網は、IEEE1394ハイパフォーマン
ス・シリアルバスを用いて前記ホスト機器と前記複数の
周辺機器とが接続されているデジタル通信網であること
を特徴とする。
For example, the digital communication network different from the network is a digital communication network in which the host device and the plurality of peripheral devices are connected by using an IEEE 1394 high performance serial bus.

【0026】また例えば、前記他の通信機器は、前記複
数の周辺機器との通信の開始に先だって前記複数の周辺
機器に自己の有する機能を通知して自己で処理可能なデ
ータを通信する様に制御することを特徴とする。
Also, for example, the other communication device notifies the plurality of peripheral devices of a function possessed by itself and communicates data which can be processed by itself before starting communication with the plurality of peripheral devices. It is characterized by controlling.

【0027】更に例えば、前記自己の有する機能がデー
タの圧縮、伸張機能であることを特徴とする。あるい
は、前記ネットワークはイーサネットであることを特徴
とする。
Further, for example, the self-function is a data compression / decompression function. Alternatively, the network is an Ethernet.

【0028】また、通信機器が接続されたネットワーク
と、前記ネットワークに接続されたホスト機器と、前記
ホスト機器と前記ネットワークと異なるデジタル通信網
で接続された複数の周辺機器とで構成されるデータ通信
システムであって、前記ネットワークに接続された通信
機器が前記ネットワーク及び前記ホスト機器を介して前
記周辺機器と通信可能とするために、前記他の通信機器
は、前記複数の周辺機器との通信の開始に先だって自己
の有する機能を通知して自己で処理可能なデータを通信
する様に制御する手段を備えることを特徴とする。
A data communication system comprising a network to which communication devices are connected, a host device connected to the network, and a plurality of peripheral devices connected to the host device and a digital communication network different from the network. In the system, in order to allow a communication device connected to the network to communicate with the peripheral device via the network and the host device, the other communication device communicates with the plurality of peripheral devices. It is characterized in that it is provided with means for notifying its own function prior to the start and controlling to communicate data that can be processed by itself.

【0029】[0029]

【発明の実施の形態】以下、図面を参照して本発明に係
る一発明の実施の形態例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0030】[第1の実施の形態例]以下、本発明に係
る一実施の形態例について図面を参照しながら説明す
る。
[First Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

【0031】本実施の形態例においては、各機器間を接
続するデジタルI/FとしてIEEE1394シリアル
バスを用いる。従ってまずこのIEEE1394シリア
ルバスについて予め説明する。
In this embodiment, an IEEE 1394 serial bus is used as a digital I / F for connecting each device. Accordingly, the IEEE 1394 serial bus will be described first.

【0032】<IEEE1394の技術の概要>家庭用
デジタルVTRやDVDの登場も伴って、ビデオデータ
やオーディオデータなどのリアルタイムでかつ高情報量
のデータ転送のサポートが必要になっている。こういっ
たビデオデータやオーディオデータをリアルタイムで転
送し、パソコン(PC)に取り込んだり、またはその他
のデジタル機器に転送を行なうには、必要な転送機能を
備えた高速データ転送可能なインタフェースが必要にな
ってくるものであり、そういった観点から開発されたイ
ンタフェースがIEEE1394−1995(High Per
formance Serial Bus)(以下「1394シリアルバ
ス」と称す)である。
<Overview of IEEE 1394 Technology> With the advent of home digital VTRs and DVDs, it is necessary to support real-time and high-information-volume data transfer of video data and audio data. In order to transfer such video and audio data in real time, and to transfer it to a personal computer (PC) or other digital devices, an interface capable of high-speed data transfer with the necessary transfer functions is required. The interface developed from such a viewpoint is IEEE 1394-1995 (High Per
formance Serial Bus) (hereinafter referred to as "1394 serial bus").

【0033】図1に1394シリアルバスを用いて構成
されるネットワーク・システムの例を示す。このシステ
ムは機器A,B,C,D,E,F,G,Hを備えてお
り、A−B間、A−C間、B−D間、D−E間、C−F
間、C−G間、及びC−H間をそれぞれ1394シリア
ルバスのツイスト・ペア・ケーブルで接続している。こ
の機器A〜Hは例としてPC、デジタルVTR,DV
D,デジタルカメラ、ハードディスク、モニタ等であ
る。
FIG. 1 shows an example of a network system configured using a 1394 serial bus. This system is provided with devices A, B, C, D, E, F, G, and H. A-B, A-C, B-D, D-E, C-F
, C-G, and C-H are connected by a twisted pair cable of a 1394 serial bus. The devices A to H are PC, digital VTR, DV, for example.
D, digital camera, hard disk, monitor and the like.

【0034】各機器間の接続方式は、ディジーチェーン
方式とノード分岐方式とを混在可能としたものであり、
自由度の高い接続が可能である。
The connection method between the devices is such that the daisy chain method and the node branch method can be mixed.
A highly flexible connection is possible.

【0035】また、各機器は各自固有のIDを有し、そ
れぞれが認識し合うことによって1394シリアルバス
で接続された範囲において、1つのネットワークを構成
している。各デジタル機器間をそれぞれ1本の1394
シリアルバスケーブルで順次接続するだけで、それぞれ
の機器が中継の役割を行い、全体として1つのネットワ
ークを構成している。
Each device has its own unique ID, and by recognizing each other, forms a single network in a range connected by a 1394 serial bus. One 1394 connection between each digital device
Just by sequentially connecting with a serial bus cable, each device plays a role of relay, and constitutes one network as a whole.

【0036】また、1394シリアルバスの特徴でもあ
る、自動認識機能(Plug&Play機能)により、ケーブル
を機器に接続した時点で自動的に機器の認識や接続状況
の認識機能を有している。
The automatic recognition function (Plug & Play function), which is a feature of the 1394 serial bus, has a function of automatically recognizing a device and a connection status when a cable is connected to the device.

【0037】また、図1に示すようなシステムにおい
て、ネットワークからある機器が削除されたり、または
新たに追加されたときなど、自動的にバスリセットを行
い、それまでのネットワーク構成をリセットしてから、
新たなネットワークの再構築を行なう。この機能によっ
て、その時々のネットワークの構成を常時設定、認識す
ることができる。
In the system shown in FIG. 1, when a device is deleted from the network or newly added, the bus is automatically reset, and the network configuration is reset. ,
Rebuild a new network. With this function, the configuration of the network at that time can be constantly set and recognized.

【0038】またデータ転送速度は、100/200/
400Mbpsと高速なものが備えられており、上位の
転送速度を持つ機器が下位の転送速度をサポートし、互
換性をとるようになっている。
The data transfer rate is 100/200 /
A device with a high speed of 400 Mbps is provided, and a device having a higher transfer speed supports a lower transfer speed and is compatible.

【0039】データ転送モードとしては、コントロール
信号などの非同期データ(Asynchronousデータ:以下
「Asyncデータ」と称す)を転送する非同期転送モード
(Asynchronous転送モード)、リアルタイムなどビデオ
データやオーディオデータ等の同期データ(Isochronou
sデータ:以下「Isoデータ」と称す)を転送する同期転
送モード(Isochronous転送モード)がある。このAsync
データとIsoデータは各サイクル(通常1サイクル12
5μS)の中において、サイクル開始を示すサイクル・
スタート・パケット(CSP)の転送に続きIsoデータ
の転送を優先しつつサイクル内で混在して転送される。
The data transfer mode includes an asynchronous transfer mode (Asynchronous transfer mode) for transferring asynchronous data such as a control signal (hereinafter referred to as “Async data”), and synchronous data such as video data and audio data in real time. (Isochronou
There is a synchronous transfer mode (Isochronous transfer mode) for transferring s data: hereinafter referred to as “Iso data”. This Async
Data and Iso data are stored in each cycle (normally 12
5 μS), a cycle indicating a cycle start
Following the transfer of the start packet (CSP), the transfer of the iso data is prioritized and the transfer is performed in a cycle.

【0040】図2に1394シリアルバスの構成要素を
示す。図2に示す1394シリアルバスは、全体として
レイヤ(階層)構造で構成されている。
FIG. 2 shows the components of the 1394 serial bus. The 1394 serial bus shown in FIG. 2 has a layer (layer) structure as a whole.

【0041】図2に示したように、最も下位のハードウ
エア層に位置するのが1394シリアルバスのケーブル
であり、そのケーブルのコネクタが接続されるコネクタ
ポートがあり、その上にハードウェアとしてフィジカル
・レイヤとリンク・レイヤがある。
As shown in FIG. 2, the lowest hardware layer is a 1394 serial bus cable, and there is a connector port to which a connector of the cable is connected.・ There is a layer and a link layer.

【0042】ハードウェア部は実質的なインターフェイ
スチップの部分であり、そのうちフィジカル・レイヤは
符号化やコネクタ関連の制御等を行い、リンク・レイヤ
はパケット転送やサイクルタイムの制御等を行なう。
The hardware part is a substantial part of an interface chip, of which the physical layer performs coding and control related to connectors, and the link layer performs packet transfer and control of cycle time.

【0043】ファームウェア部のトランザクション・レ
イヤは、転送(トランザクション)すべきデータの管理
を行ない、読み出し命令や書込み命令を出す。シリアル
バスマネージメントは、接続されている各機器の接続状
況やIDの管理を行ない、ネットワークの構成を管理す
る部分である。
The transaction layer of the firmware section manages data to be transferred (transacted) and issues a read command or a write command. The serial bus management is a part that manages the connection status and ID of each connected device and manages the configuration of the network.

【0044】このハードウェアとファームウェアまでが
実質上の1394シリアルバスの構成である。
The hardware and the firmware are the actual configuration of the 1394 serial bus.

【0045】またソフトウェア部のアプリケーション・
レイヤは使うソフトによって異なり、インタフェース上
にどのようにデータをのせるか規定する部分であり、A
Vプロトコルなどのプロトコルによって規定されてい
る。
The software application
The layer differs depending on the software used, and is a part that defines how data is placed on the interface.
It is specified by a protocol such as the V protocol.

【0046】次に、図3に1394シリアルバスにおけ
るアドレス空間を示す。図3に示す1394シリアルバ
スに接続された各機器(ノード)には、必ず各ノード固
有の、64ビットアドレスを持たせておく。そしてこの
アドレスをROMに格納しておくことで、自分や相手の
ノードアドレスを常時認識でき、相手を指定した通信も
行なえる。
Next, FIG. 3 shows an address space in the 1394 serial bus. Each device (node) connected to the 1394 serial bus shown in FIG. 3 always has a 64-bit address unique to each node. By storing this address in the ROM, it is possible to always recognize the node address of oneself and the other party, and perform communication specifying the other party.

【0047】1394シリアルバスのアドレッシング
は、IEEE1212規格に準じた方式であり、アドレ
ス設定は、最初の10ビットがバスの番号の指定用に、
次の6ビットがノードID番号の指定用に使われる。残
りの48ビットが機器に与えられたアドレス幅になり、
それぞれ固有のアドレス空間として使用できる。最初の
28ビットは固有データの領域として、各機器の識別や
使用条件の指定の情報などを格納する。
The addressing of the 1394 serial bus is based on the IEEE 1212 standard, and the first 10 bits are used for specifying the bus number.
The next 6 bits are used for specifying the node ID number. The remaining 48 bits become the address width given to the device,
Each can be used as a unique address space. The first 28 bits store information such as identification of each device and designation of use conditions as a unique data area.

【0048】次に、1394シリアルバスの特徴といえ
る技術の部分を、より詳細に説明する。
Next, the technical portion which can be said to be a feature of the 1394 serial bus will be described in more detail.

【0049】<1394シリアルバスの電気的仕様>図
4に1394シリアルバス・ケーブルの断面図を示す。
<Electrical Specifications of 1394 Serial Bus> FIG. 4 is a sectional view of a 1394 serial bus cable.

【0050】1394シリアルバスでは接続ケーブル内
に、2組のツイストペア信号線の他に、電源ラインを設
けている。これによって、電源を持たない機器や、故障
により電圧低下した機器等にも電力の供給が可能になっ
ている。
In the 1394 serial bus, a power supply line is provided in a connection cable in addition to two twisted pair signal lines. As a result, power can be supplied to a device having no power supply, a device whose voltage has dropped due to a failure, and the like.

【0051】電源線内を流れる電源の電圧は8〜40
V、電流は最大電流DC1.5Aと規定されている。
The voltage of the power supply flowing in the power supply line is 8 to 40.
V and the current are specified as the maximum current DC 1.5A.

【0052】<DS−リンク符号化>1394シリアル
バスで採用されている、データ転送フォーマットのDS
−リンク符号化方式を図5を参照して説明する。図5は
1394シリアルバスで採用されている、DS−リンク
符号化方式でのデータ転送タイミングを示す図である。
<DS-Link Encoding> DS of the data transfer format adopted in the 1394 serial bus
-The link encoding scheme will be described with reference to FIG. FIG. 5 is a diagram showing the data transfer timing in the DS-link encoding system adopted in the 1394 serial bus.

【0053】1394シリアルバスでは、DS−リンク
(Data/Strobe Link)符号化方式が採用されている。
このDS−リンク符号化方式は、高速なシリアルデータ
通信に適しており、その構成は、2本の信号線を必要と
する。より対線のうち1本に主となるデータを送り、他
方のより対線にはストローブ信号を送る構成になってい
る。
The 1394 serial bus employs a DS-link (Data / Strobe Link) encoding method.
This DS-link encoding method is suitable for high-speed serial data communication, and its configuration requires two signal lines. The main data is sent to one of the twisted pairs, and the strobe signal is sent to the other twisted pair.

【0054】受信側では、この通信されるデータと、ス
トローブとの排他的論理和をとることによってクロック
を再現できる。
On the receiving side, the clock can be reproduced by taking the exclusive OR of this communicated data and the strobe.

【0055】このDS−リンク符号化方式を用いるメリ
ットとして、他のシリアルデータ転送方式に比べて転送
効率が高いこと、PLL回路が不要となるのでコントロ
ーラLSIの回路規模を小さくできること、更には、転
送すべきデータが無いときにアイドル状態であることを
示す情報を送る必要が無いので、各機器のトランシーバ
回路をスリープ状態にすることができることによって、
消費電力の低減が図れる、などが挙げられる。 <バスリセットのシーケンス>1394シリアルバスで
は、接続されている各機器(ノード)にはノードIDが
与えられ、ネットワーク構成として認識されている。
Advantages of using the DS-link coding method include higher transfer efficiency as compared with other serial data transfer methods, and a circuit size of a controller LSI can be reduced because a PLL circuit is not required. Since there is no need to send information indicating the idle state when there is no data to be transmitted, the transceiver circuit of each device can be put into the sleep state,
Power consumption can be reduced. <Sequence of Bus Reset> In the 1394 serial bus, each connected device (node) is given a node ID and recognized as a network configuration.

【0056】このネットワーク構成に変化があったと
き、例えばノードの挿抜や電源のON/OFFなどによ
るノード数の増減などによって変化が生じて、新たなネ
ットワーク構成を認識する必要があるとき、変化を検知
した各ノードはバス上にバスリセット信号を送信して、
新たなネットワーク構成を認識するモードに入る。この
ときの変化の検知方法は、1394ポート基板上でのバ
イアス電圧の変化を検知することによって行われる。
When there is a change in the network configuration, for example, a change occurs due to an increase or decrease in the number of nodes due to insertion / removal of a node or turning on / off of a power supply, etc. Each detected node sends a bus reset signal on the bus,
Enter the mode to recognize the new network configuration. The method of detecting the change at this time is performed by detecting a change in the bias voltage on the 1394 port substrate.

【0057】あるノードからバスリセット信号が伝達さ
れてくると、各ノードのフィジカルレイヤはこのバスリ
セット信号を受けると同時にリンクレイヤにバスリセッ
トの発生を伝達し、かつ他のノードにバスリセット信号
を伝達する。最終的に全てのノードがバスリセット信号
を検知した後、バスリセットが起動となる。
When a bus reset signal is transmitted from a certain node, the physical layer of each node transmits the bus reset signal to the link layer at the same time as receiving the bus reset signal, and transmits the bus reset signal to another node. introduce. After all the nodes finally detect the bus reset signal, the bus reset is activated.

【0058】バスリセットは、先に述べたようなケーブ
ル抜挿や、ネットワーク異常時によるハード検出による
起動と、プロトコルからのホスト制御などによってフィ
ジカルレイヤに直接命令を出すことによっても起動す
る。
The bus reset is also started by directly starting a command by sending a command to the physical layer under the control of the host by a protocol or the like, as described above.

【0059】また、バスリセットが起動するとデータ転
送は一時中断され、この間のデータ転送は待たされ、終
了後、新しいネットワーク構成のもとで再開される。
When the bus reset is activated, the data transfer is temporarily interrupted, the data transfer during this period is waited, and after the end, the data transfer is resumed under a new network configuration.

【0060】以上がバスリセットのシーケンスである。The above is the bus reset sequence.

【0061】<ノードID決定のシーケンス>バスリセ
ットの後、各ノードは新しいネットワーク構成を構築す
るために、各ノードにIDを与える動作に入る。このと
きの、バスリセットからノードID決定までの一般的な
シーケンスを図6、図7、図8の各フローチャートを用
いて説明する。
<Sequence of Node ID Determination> After the bus reset, each node starts an operation of giving an ID to each node in order to construct a new network configuration. The general sequence from the bus reset to the determination of the node ID at this time will be described with reference to the flowcharts of FIGS. 6, 7, and 8.

【0062】図6のフローチャートは、バスリセットの
発生からノードIDが決定し、データ転送が行えるよう
になるまでの、一連のバスの作業を示すフローチャート
である。
FIG. 6 is a flowchart showing a series of bus operations from the occurrence of a bus reset until the node ID is determined and data transfer can be performed.

【0063】まず、ステップS101において、ネット
ワーク内にバスリセットが発生することを常時監視して
いる。ここでノードの電源ON/OFFなどでバスリセ
ットが発生するとステップS102に移る。
First, in step S101, the occurrence of a bus reset in the network is constantly monitored. If a bus reset occurs due to power ON / OFF of the node or the like, the process proceeds to step S102.

【0064】ステップS102では、ネットワークがリ
セットされた状態から、新たなネットワークの接続状況
を知るために、直接接続されている各ノード間において
親子関係の宣言がなされる。続いてステップS103で
すべてのノード間で親子関係が決定したか否かを調べ
る。すべてのノード間で親子関係が決定していなければ
ステップS102に戻り、次のノード間の親子関係の宣
言をおこなう。
In step S102, from the reset state of the network, a parent-child relationship is declared between the directly connected nodes in order to know the connection status of the new network. Subsequently, it is checked in step S103 whether or not the parent-child relationship has been determined between all the nodes. If the parent-child relationship has not been determined between all nodes, the process returns to step S102, and the parent-child relationship between the next nodes is declared.

【0065】そして、すべてのノード間で親子関係が決
定するとステップS103よりステップS104に進
み、一つのルートを決定する。
When the parent-child relationship is determined between all nodes, the process proceeds from step S103 to step S104, and one route is determined.

【0066】ステップS104でルートが決定される
と、次にステップS105で各ノードにIDを与えるノ
ードIDの設定作業が行われる。続いてステップS10
6ですべてのノードにIDが与えられID設定処理が終
了したか否かを調べる。ID設定されていないノードが
有る場合にはステップS105に戻り、所定のノード順
序でノードIDの設定が行われ、すべてのノードにID
が与えられるまで繰り返し設定作業が行われる。
When the route is determined in step S104, a node ID setting operation for giving an ID to each node is performed in step S105. Then, step S10
In step 6, it is checked whether IDs have been assigned to all nodes and the ID setting process has been completed. If there is a node for which an ID has not been set, the process returns to step S105, where node IDs are set in a predetermined node order, and IDs are assigned to all nodes.
The setting operation is repeatedly performed until is given.

【0067】最終的にすべてのノードにIDを設定し終
えたらステップS106よりステップS107に進む。
ステップS107では、新しいネットワーク構成がすべ
てのノードにおいて認識されたので、ノード間のデータ
転送が行える状態となり、データ転送が開始される。
When the IDs have been finally set for all the nodes, the process proceeds from step S106 to step S107.
In step S107, since the new network configuration has been recognized in all the nodes, data transfer between the nodes is enabled, and the data transfer is started.

【0068】このステップS107の状態になると、再
びバスリセットが発生するのを監視するモードに入り、
バスリセットが発生したらステップS101からステッ
プS106までの設定作業を繰り返し行なう。
In the state of step S107, a mode for monitoring the occurrence of a bus reset again is entered.
When a bus reset occurs, the setting operation from step S101 to step S106 is repeated.

【0069】以上が、バスリセットの発生からノードI
Dが決定し、データ転送が行えるようになるまでの、一
連のバスの作業の説明であるが、図6のフローチャート
に示すバスリセットからルート決定までの手順をより詳
しく示したのが図7であり、ルート決定後からID設定
終了までの手順をより詳しく示したのが図8である。
The above is the description from the occurrence of the bus reset to the node I
This is a description of a series of bus operations until D is determined and data transfer can be performed. FIG. 7 shows the procedure from the bus reset to the route determination shown in the flowchart of FIG. 6 in more detail. FIG. 8 shows the procedure from the determination of the route to the end of the ID setting in more detail.

【0070】まず、図7のフローチャートを参照してバ
スリセットからルート決定までの手順を説明する。
First, the procedure from bus reset to route determination will be described with reference to the flowchart of FIG.

【0071】ステップS201においては、バスリセッ
トが発生するのを常に監視している。そしてバスリセッ
トを検知するとステップS201よりステップS202
に進む。なお、バスリセットが発生すると、ネットワー
ク構成は一旦リセットされる。
In step S201, the occurrence of a bus reset is constantly monitored. When a bus reset is detected, the process proceeds from step S201 to step S202.
Proceed to. When a bus reset occurs, the network configuration is reset once.

【0072】ステップS202においては、リセットさ
れたネットワークの接続状況を再認識する作業の第一歩
として、各機器にリーフ(ノード)であることを示すフ
ラグをセットしておく。さらに、続くステップS203
で各機器が自分の持つポートがいくつ他ノードと接続さ
れているのかを調べる。
In step S202, a flag indicating a leaf (node) is set to each device as a first step of re-recognizing the reset network connection status. Further, the following step S203
Use to check how many ports each device has with other nodes.

【0073】そしてステップS204において、ステッ
プS203のポート数の確認結果に応じて、これから親
子関係の宣言を始めていくために、未定義(親子関係が
決定されていない)ポートの数を調べる。バスリセット
の直後はポート数=未定義ポート数であるが、親子関係
が決定されていくに従って、ステップS204で検知す
る未定義ポートの数は変化していく。
In step S204, in accordance with the result of the confirmation of the number of ports in step S203, the number of undefined (undetermined parent-child) ports is checked in order to start the declaration of the parent-child relationship. Immediately after the bus reset, the number of ports = the number of undefined ports. However, as the parent-child relationship is determined, the number of undefined ports detected in step S204 changes.

【0074】ここで、まずバスリセットの直後、はじめ
に親子関係の宣言を行えるのはリーフに限られている。
リーフであるというのはステップS203のポート数の
確認で知ることができ、未定義ポート数が「1」であ
る。従って、リーフはステップS204よりステップS
205に進み、自分に接続されているノードに対して、
「自分は子、相手は親」と宣言し動作を終了する。
Here, immediately after the bus reset, only the leaf can declare the parent-child relationship first.
The fact that a port is a leaf can be known by checking the number of ports in step S203, and the number of undefined ports is "1". Therefore, the leaf is shifted from step S204 to step S204.
Go to 205, for the node connected to yourself,
Declare "I am a child, opponent is a parent" and end the operation.

【0075】ステップS203でポート数が複数ありブ
ランチと認識したノードは、バスリセットの直後はステ
ップS204で未定義ポート数>1ということなので、
ステップS204よりステップS206へ進み、まずブ
ランチというフラグがセットされ、続くステップS20
7でリーフからの親子関係宣言で「親(Parent)」の受
付を待ち、「親(Parent)」の受付が終了するとステッ
プS204に戻る。
A node which has a plurality of ports in step S203 and is recognized as a branch has the number of undefined ports> 1 in step S204 immediately after the bus reset.
Proceeding from step S204 to step S206, first, a flag of branch is set, and the following step S20
In step 7, waiting for the reception of "Parent" in the parent-child relationship declaration from the leaf, and when the reception of "Parent" ends, the flow returns to step S204.

【0076】リーフが親子関係の宣言を行い、ステップ
S207でそれを受けたブランチは適宜ステップS20
4の未定義ポート数の確認を行い、未定義ポート数が1
になっていれば残っているポートに接続されているノー
ドに対して、ステップS205の「自分が子」の宣言を
することが可能になる。2度目以降、ステップS204
で未定義ポート数を確認しても2以上あるブランチに対
しては、再度ステップS207でリーフ又は他のブラン
チからの「親」の受付をするために待つ。
The leaf declares a parent-child relationship, and the branch that has received the declaration in step S207 appropriately returns to step S20.
Confirm the number of undefined ports of 4 and find that the number of undefined ports is 1
If it becomes, it becomes possible to declare “I am a child” in step S205 for the node connected to the remaining port. After the second time, step S204
Even if the number of undefined ports is checked in step S207, for a branch having two or more ports, the process waits again in step S207 to accept a "parent" from a leaf or another branch.

【0077】最終的に、いずれか1つのブランチ、又は
例外的にリーフ(子宣言を行えるのにすばやく動作しな
かったため)がステップS204の未定義ポート数の結
果としてゼロになったら、これにてネットワーク全体の
親子関係の宣言が終了したものであり、未定義ポート数
がゼロ(すべて親のポートとして決定)になった唯一の
ノードはステップS204よりステップS208に進
み、ルートのフラグがセットされ、ステップS209に
おいてルートとしての認識がなされる。
Finally, if any one branch, or exceptionally the leaf (because it did not operate quickly enough to make a child declaration), becomes zero as a result of the number of undefined ports in step S204, The only node for which the declaration of the parent-child relationship of the entire network has been completed and the number of undefined ports has become zero (all are determined as parent ports) proceeds from step S204 to step S208, and the root flag is set. In step S209, the route is recognized.

【0078】このようにして、図7に示したバスリセッ
トから、ネットワーク内すべてのノード間における親子
関係の宣言までが終了する。
Thus, the process from the bus reset shown in FIG. 7 to the declaration of the parent-child relationship between all the nodes in the network is completed.

【0079】つぎに、図8のフローチャートを参照して
ルート決定後からID設定終了までの手順をより詳しく
説明する。
Next, the procedure from the determination of the route to the end of the ID setting will be described in more detail with reference to the flowchart of FIG.

【0080】まず、図7までのシーケンスでリーフ,ブ
ランチ,ルートという各ノードのフラグの情報が設定さ
れているので、これを元にして、ステップS301でそ
れぞれ分類する。
First, since the flag information of each node such as leaf, branch, and root is set in the sequence up to FIG. 7, it is classified based on this in step S301.

【0081】各ノードにIDを与える作業として、最初
にIDの設定を行うことができるのはリーフからであ
り、リーフ→ブランチ→ルートの順で若い番号(ノード
番号=0〜)からIDの設定がなされていく。
As an operation of assigning an ID to each node, it is possible to set an ID first from a leaf, and to set an ID from a young number (node number = 0) in the order of leaf → branch → route. Is being done.

【0082】リーフの場合にはステップS301よりス
テップS302に進み、ネットワーク内に存在するリー
フの数N(Nは自然数)を設定する。この後、ステップ
S303で各自リーフがルートに対して、IDを与える
ように要求してステップS306に進む。
In the case of a leaf, the process proceeds from step S301 to step S302, and the number N (N is a natural number) of leaves existing in the network is set. Thereafter, in step S303, each leaf requests the root to give an ID, and the process proceeds to step S306.

【0083】なお、この要求が複数ある場合には、ルー
トはステップS304としてアービトレーション(1つ
に調停する作業)を行い、ステップS305として勝っ
たノード1つにID番号を与え、負けたノードには失敗
の結果通知を行う。そしてステップS306に進む。
If there are a plurality of requests, the route performs arbitration (operation of arbitration for one) in step S304, assigns an ID number to one winning node in step S305, and assigns an ID number to the losing node. Notify the result of the failure. Then, the process proceeds to step S306.

【0084】ステップS306でID取得が成功したか
失敗したかを調べる。ID取得が失敗に終わったリーフ
はステップS303に戻り、再度ID要求を出し、同様
の作業を繰り返す。
In step S306, it is checked whether ID acquisition has succeeded or failed. The leaf whose ID acquisition has failed returns to step S303, issues an ID request again, and repeats the same operation.

【0085】一方、ステップS306でIDを取得でき
たリーフはステップS307に進み、そのノードのID
情報をブロードキャストで全ノードに転送する。1ノー
ドID情報のブロードキャストが終わると、ステップS
308に進み、残りのリーフの数が1つ減らされる。そ
してステップS309に進み、残りのリーフの数が1以
上あるか否かを調べる。残りのリーフの数が1以上ある
時はステップS303に戻り、ID要求の作業から繰り
返し行なう。
On the other hand, the leaf whose ID has been obtained in step S 306 proceeds to step S 307, and the ID of the node
Transfer information to all nodes by broadcast. When the broadcast of the one-node ID information ends, step S
Proceeding to 308, the number of remaining leaves is reduced by one. The process advances to step S309 to check whether the number of remaining leaves is one or more. When the number of remaining leaves is one or more, the process returns to step S303, and the operation is repeated from the operation of ID request.

【0086】そして最終的にすべてのリーフがID情報
をブロードキャストすると、ステップS309で残りの
リーフの数Nが「0」となり、ステップS309よりス
テップS310以下のブランチのID設定処理に進む。
そしてステップS310からステップS317におい
て、ブランチのID設定もリーフの時と同様に行われ
る。
When all the leaves finally broadcast the ID information, the number N of the remaining leaves becomes “0” in step S309, and the process proceeds from step S309 to the branch ID setting process from step S310.
Then, in steps S310 to S317, the setting of the branch ID is performed in the same manner as in the leaf setting.

【0087】まず、ステップS310でネットワーク内
に存在するブランチの数M(Mは自然数)を設定する。
この後、ステップS311で各自ブランチがルートに対
して、IDを与えるように要求する。これに対してルー
トは、まずステップS312でアービトレーションを行
い、勝ったブランチから順にリーフに与え、終った次の
若い番号から与えていく。そしてステップS313でル
ートは要求を出したブランチにID情報又は失敗結果を
通知する。
First, in step S310, the number M (M is a natural number) of branches existing in the network is set.
Thereafter, in step S311, each branch requests the root to give an ID. On the other hand, for the route, arbitration is first performed in step S312, and the route is provided to the leaves in order from the winning branch, and is provided from the next youngest number. In step S313, the route notifies the branch that issued the request of ID information or a failure result.

【0088】そして、ステップS314でID取得が成
功したか失敗したかを調べる。ID取得が失敗に終わっ
たブランチはステップS311に戻り、再度ID要求を
出し、同様の作業を繰り返す。
Then, it is checked in step S314 whether ID acquisition has succeeded or failed. The branch for which ID acquisition has failed returns to step S311, issues an ID request again, and repeats the same operation.

【0089】一方、ステップS314でIDを取得でき
たブランチはステップS315に進み、そのノードのI
D情報をブロードキャストで全ノードに転送する。1ノ
ードID情報のブロードキャストが終わると、ステップ
S316で残りのブランチの数が1つ減らされる。
On the other hand, the branch from which the ID has been obtained in step S314 proceeds to step S315, where the I
D information is transferred to all nodes by broadcast. When the broadcast of the one-node ID information ends, the number of remaining branches is reduced by one in step S316.

【0090】更にステップS317において残りのブラ
ンチの数が1以上あるか否かを調べる。残りのブランチ
の数が1以上ある時はステップS11に戻り、ID要求
の作業から繰り返し行なう。
In step S317, it is checked whether the number of remaining branches is one or more. When the number of remaining branches is one or more, the process returns to step S11, and the operation is repeated from the operation of the ID request.

【0091】一方、ステップS317で最終的にすべて
のブランチがID情報をブロードキャストし、すべての
ブランチがノードIDを取得すると、ステップS317
でMが「0」となり、ブランチのID取得モードも終了
する。
On the other hand, when all the branches finally broadcast the ID information in step S317 and all the branches acquire the node IDs, step S317
, M becomes “0”, and the branch ID acquisition mode also ends.

【0092】ここまで終了すると、最終的にID情報を
取得していないノードはルートのみなので、ステップS
318において与えていない番号で最も若い番号を自己
のID番号と設定し、ステップS319においてルート
のID情報をブロードキャストする。
When the process ends up to this point, since only the root node has not finally acquired the ID information, step S
In step 318, the smallest number among the unassigned numbers is set as its own ID number, and in step S319, the root ID information is broadcast.

【0093】以上で、図8に示したように、親子関係が
決定した後から、すべてのノードのIDが設定されるま
での手順が終了する。
Thus, as shown in FIG. 8, the procedure from the determination of the parent-child relationship to the setting of the IDs of all the nodes is completed.

【0094】次に、一例として実際のネットワークにお
ける動作を図9を参照しながら説明する。図9は139
4シリアルバス接続された実際のネットワークにおける
構成例を示す図であり、1394シリアルバスで各ノー
ドのIDを決定するためのトポロジ設定を説明するため
の図である。
Next, the operation in an actual network will be described as an example with reference to FIG. FIG. 9 shows 139
FIG. 3 is a diagram illustrating a configuration example in an actual network connected to four serial buses, and is a diagram for describing a topology setting for determining an ID of each node on a 1394 serial bus.

【0095】図9に示す例では、(ルート)ノードBの
下位にはノードAとノードCが直接接続されており、更
にノードCの下位にはノードDが直接接続されており、
更にノードDの下位にはノードEとノードFが直接接続
された階層構造になっている。この、階層構造やルート
ノード、ノードIDを決定する手順を以下で説明する。
In the example shown in FIG. 9, a node A and a node C are directly connected below the (root) node B, and a node D is directly connected below the node C.
Further, below the node D, there is a hierarchical structure in which the nodes E and F are directly connected. The procedure for determining the hierarchical structure, the root node, and the node ID will be described below.

【0096】バスリセットがされた後、まず各ノードの
接続状況を認識するために、各ノードの直接接続されて
いるポート間において、親子関係の宣言がなされる。こ
の親子とは親側が階層構造で上位となり、子側が下位と
なると言うことができる。
After the bus reset, a parent-child relationship is declared between ports directly connected to each node in order to recognize the connection status of each node. The parent and child can be said to be such that the parent is higher in the hierarchical structure and the child is lower.

【0097】図9に示す例ではバスリセットの後、最初
に親子関係の宣言を行なったのはノードAである。基本
的にノードの1つのポートにのみ接続があるノード(リ
ーフと呼ぶ)から親子関係の宣言を行なうことができ
る。これは自分には1ポートの接続のみということをま
ず知ることができるので、これによってネットワークの
端であることを認識し、その中で早く動作を行なったノ
ードから親子関係が決定されていく。こうして親子関係
の宣言を行なった側(A−B間ではノードA)のポート
が子と設定され、相手側(ノードB)のポートが親と設
定される。こうして、ノードA−B間では子−親、ノー
ドE−D間で子−親、ノードF−D間で子−親と決定さ
れる。
In the example shown in FIG. 9, it is the node A that first declared the parent-child relationship after the bus reset. Basically, a node (called a leaf) having a connection to only one port of the node can declare a parent-child relationship. Since the user can first know that only one port is connected, it recognizes that this is the edge of the network, and the parent-child relationship is determined from the node that operates earlier in the network. In this manner, the port on the side that has declared the parent-child relationship (node A between AB) is set as a child, and the port on the other side (node B) is set as a parent. Thus, a child-parent is determined between nodes AB, a child-parent is determined between nodes ED, and a child-parent is determined between nodes FD.

【0098】さらに1階層あがって、今度は複数個接続
ポートを持つノード(ブランチと呼ぶ)のうち、他ノー
ドからの親子関係の宣言を受けたものから順次、更に上
位に親子関係の宣言を行なっていく。
[0098] Further up in the hierarchy, among nodes having a plurality of connection ports (referred to as branches), the parent-child relationship is declared further higher in order from the node that received the declaration of the parent-child relationship from another node. To go.

【0099】図9に示す例では、まずノードDがD−E
間、D−F間と親子関係が決定した後、ノードCに対す
る親子関係の宣言を行っており、その結果ノードD−C
間で子−親と決定している。
In the example shown in FIG. 9, first, the node D
After the parent-child relationship is determined between the nodes D and F, the parent-child relationship is declared for the node C. As a result, the node D-C
It is decided between child and parent.

【0100】ノードDからの親子関係の宣言を受けたノ
ードCは、もう一つのポートに接続されているノードB
に対して親子関係の宣言を行なっている。これによって
ノードC−B間で子−親と決定している。
The node C receiving the parent-child relationship declaration from the node D becomes the node B connected to another port.
Declares a parent-child relationship. As a result, a child-parent is determined between the nodes C and B.

【0101】このようにして、図9のような階層構造が
構成され、最終的に接続されているすべてのポートにお
いて親となったノードBが、ルートノードと決定され
た。ルートは1つのネットワーク構成中に一つしか存在
しないものである。
In this way, a hierarchical structure as shown in FIG. 9 is formed, and the node B which has become the parent in all finally connected ports is determined as the root node. There is only one route in one network configuration.

【0102】なお、この図9においてノードBがルート
ノードと決定されたが、これはノードAから親子関係宣
言を受けたノードBが、他のノードに対して親子関係宣
言を早いタイミングで行なっていれば、ルートノードは
他ノードに移っていたこともあり得る。すなわち、伝達
されるタイミングによってはどのノードもルートノード
となる可能性があり、同じネットワーク構成でもルート
ノードは一定とは限らない。
In FIG. 9, node B is determined to be the root node. This is because node B, which has received a parent-child relationship declaration from node A, makes a parent-child relationship declaration for other nodes at an early timing. If so, the root node may have moved to another node. In other words, any node may become a root node depending on the transmission timing, and the root node is not always constant even in the same network configuration.

【0103】ルートノードが決定すると、次は各ノード
IDを決定するモードに入る。ここではすべてのノード
が、決定した自分のノードIDを他のすべてのノードに
通知する(ブロードキャスト機能)。
When the root node has been determined, the process enters a mode for determining each node ID. Here, all nodes notify their determined node IDs to all other nodes (broadcast function).

【0104】自己ID情報は、自分のノード番号、接続
されている位置の情報、持っているポートの数、接続の
あるポートの数、各ポートの親子関係の情報等を含んで
いる。
The self ID information includes its own node number, information on the connected position, the number of ports it has, the number of ports it has connected, information on the parent-child relationship of each port, and the like.

【0105】ノードID番号の割り振りの手順として
は、まず1つのポートにのみ接続があるノード(リー
フ)から起動することができ、この中から順にノード番
号=0,1,2,・・・,と割り当てられる。
As a procedure for assigning node ID numbers, the nodes can be started first from a node (leaf) having a connection to only one port, and node numbers = 0, 1, 2,. Is assigned.

【0106】ノードIDを手に入れたノードは、ノード
番号を含む情報をブロードキャストで各ノードに送信す
る。これによって、そのID番号は『割り当て済み』で
あることが認識される。
The node having acquired the node ID broadcasts information including the node number to each node. As a result, it is recognized that the ID number is “assigned”.

【0107】すべてのリーフが自己ノードIDを取得し
終ると、次はブランチへ移りリーフに引き続いたノード
ID番号が各ノードに割り当てられる。リーフと同様
に、ノードID番号が割り当てられたブランチから順次
ノードID情報をブロードキャストし、最後にルートノ
ードが自己ID情報をブロードキャストする。すなわ
ち、常にルートは最大のノードID番号を所有するもの
である。
When all the leaves have acquired their own node IDs, the next step is to move to a branch, and the node ID number following the leaf is assigned to each node. Similarly to the leaf, the node ID information is broadcast sequentially from the branch to which the node ID number is assigned, and finally, the root node broadcasts its own ID information. That is, the root always owns the maximum node ID number.

【0108】以上のようにして、階層構造全体のノード
IDの割り当てが終わり、ネットワーク構成が再構築さ
れ、バスの初期化作業が完了する。
As described above, the assignment of the node IDs of the entire hierarchical structure is completed, the network configuration is reconstructed, and the bus initialization is completed.

【0109】<アービトレーション>1394シリアル
バスでは、データ転送に先立って必ずバス使用権のアー
ビトレーション(調停)を行なう。1394シリアルバ
スは個別に接続された各機器が、転送された信号をそれ
ぞれ中継することによって、ネットワーク内すべての機
器に同信号を伝えるように、論理的なバス型ネットワー
クであるので、パケットの衝突を防ぐ意味でアービトレ
ーションは必要である。これによってある時間には、た
った一つのノードのみ転送を行なうことができる。
<Arbitration> In the 1394 serial bus, arbitration (arbitration) of the right to use the bus is always performed prior to data transfer. Since the 1394 serial bus is a logical bus-type network in which each device connected individually relays the transferred signal to transmit the same signal to all devices in the network, packet collision occurs. Arbitration is necessary to prevent This allows only one node to transfer at a given time.

【0110】アービトレーションを説明するための図と
して図10にバス使用要求の手順を、図11にバス使用
許可の手順を示す。以下、図10及び図11を参照して
1394シリアルバスのアービトレーション(調停)処
理を説明する。
FIG. 10 is a diagram for explaining arbitration, and FIG. 11 shows a bus use request procedure, and FIG. 11 shows a bus use permission procedure. Hereinafter, the arbitration (arbitration) processing of the 1394 serial bus will be described with reference to FIGS.

【0111】アービトレーションが始まると、1つもし
くは複数のノードが親ノードに向かって、それぞれバス
使用権の要求を発する。図10のノードCとノードFが
バス使用権の要求を発しているノードである。これを受
けた親ノード(図10ではノードA)は更に親ノードに
向かって、バス使用権の要求を発する(中継する)。こ
の要求は最終的に調停を行なうルートに届けられる。
When arbitration starts, one or more nodes issue a bus use request to the parent node. Nodes C and F in FIG. 10 are nodes that have issued requests for the right to use the bus. The parent node (node A in FIG. 10) that has received the request further issues (relays) a bus use request toward the parent node. This request is finally delivered to the arbitration route.

【0112】バス使用要求を受けたルートノードは、ど
のノードにバスを使用させるかを決める。この調停作業
はルートノードのみが行なえるものであり、調停によっ
て勝ったノードにはバスの使用許可を与える。
The root node receiving the bus use request determines which node uses the bus. This arbitration work can be performed only by the root node, and the node that wins the arbitration is given a bus use permission.

【0113】図11はノードCに使用許可が与えられ、
ノードFの使用は拒否された場合を示す図である。アー
ビトレーションに負けたノードに対してはDP(data p
refix)パケットを送り、拒否されたことを知らせる。
拒否されたノードのバス使用要求は次回のアービトレー
ションまで待たされる。
FIG. 11 shows that use permission is given to node C,
It is a figure showing the case where use of node F was rejected. For nodes that lose arbitration, DP (data p
refix) sends a packet to indicate that it was rejected.
The rejected node use request waits until the next arbitration.

【0114】以上のようにして、アービトレーションに
勝ってバスの使用許可を得たノードは、以降データの転
送を開始できる。
As described above, the node that has won the arbitration and obtained the bus use permission can start transferring data thereafter.

【0115】以上の概略を説明したアービトレーション
の一連の手順を図12のフローチャートを参照して以下
に説明する。
A series of arbitration procedures outlined above will be described below with reference to the flowchart of FIG.

【0116】ノードがデータ転送を開始できるために
は、バスがアイドル状態であることが必要である。先に
行われていたデータ転送が終了して、現在バスが空き状
態であることを認識するためには、各転送モードで個別
に設定されている所定のアイドル時間ギャップ長(例.
サブアクション・ギャップ)を経過する事によって、各
ノードは自分の転送が開始できると判断する。
In order for a node to be able to start data transfer, the bus must be idle. In order to recognize that the data transfer that has been performed earlier is completed and that the bus is currently idle, a predetermined idle time gap length that is individually set in each transfer mode (eg, an idle time gap length).
Each node determines that its own transfer can be started by passing the subaction gap).

【0117】まずステップS401において、Asyn
cデータ,Isoデータ等それぞれ転送するデータに応
じた所定のギャップ長が得られたか否かを判断する。所
定のギャップ長が得られない限り、転送を開始するため
に必要なバス使用権の要求はできないので、所定のギャ
ップ長が得られるまで待つ。
First, in step S401, Asyn
It is determined whether or not a predetermined gap length corresponding to each data to be transferred, such as c data and Iso data, is obtained. Unless the predetermined gap length is obtained, the request for the right to use the bus required to start the transfer cannot be made, so the process waits until the predetermined gap length is obtained.

【0118】ステップS401で所定のギャップ長が得
られたらステップS402に進み、転送すべきデータが
あるか否かを判断する。ステップS402で転送するデ
ータがない場合は、当該処理を終了し、そのまま待機す
ることになる。
When a predetermined gap length is obtained in step S401, the flow advances to step S402 to determine whether there is data to be transferred. If there is no data to be transferred in step S402, the process ends, and the process stands by.

【0119】一方、ステップS402で転送するデータ
がある場合にはステップS403に進み、転送するため
にバスを確保するよう、バス使用権の要求をルートに対
して発する。このときの、バス使用権の要求を表す信号
の伝達は、図10に示したように、ネットワーク内各機
器を中継しながら、最終的にルートに届けられる。
On the other hand, if there is data to be transferred in step S402, the process proceeds to step S403, and a request for a bus use right is issued to the root so as to secure a bus for transfer. At this time, the transmission of the signal indicating the request for the right to use the bus is finally delivered to the route while relaying each device in the network, as shown in FIG.

【0120】次に、ステップS404で、ステップS4
03でのバス使用要求を1つ以上ルートが受信したら、
ルートはステップS405において使用要求を出したノ
ードの数を調べる。ステップS405での選択値がノー
ド数=1(使用権要求を出したノードは1つ)だった
ら、ステップS408に進み,そのノードに直後のバス
使用許可を与えることとなる。
Next, in step S404, step S4
If the route receives one or more bus use requests at 03,
The route checks the number of nodes that have issued a use request in step S405. If the selection value in step S405 is the number of nodes = 1 (the number of nodes that issued the use right request is one), the process proceeds to step S408, and the immediately subsequent bus use permission is given to the node.

【0121】一方、ステップS405での選択値がノー
ド数>1(使用要求を出したノードが複数)だったら、
ルートはステップS406で使用許可を与えるノードを
1つに決定する調停作業を行う。この調停作業は公平な
ものであり、毎回同じノードばかりが許可を得る様なこ
とはなく、平等に権利を与えていくような構成となって
いる。
On the other hand, if the selection value in step S405 is the number of nodes> 1 (the number of nodes requesting use is plural),
The root performs an arbitration operation of deciding one node to be permitted to use in step S406. This arbitration work is fair, and the same node does not always obtain permission each time, and the right is equally given.

【0122】調停を終了するとステップS407に進
み、ステップS406で使用要求を出した複数ノードの
中からルートが調停して使用許可を得た1つのノード
と、敗れたその他のノードに分ける選択を行う。ここ
で、調停されて使用許可を得た1つのノード、またはス
テップS405の選択値から使用要求ノード数=1で調
停無しに使用許可を得たノードには、ステップS408
として、ルートはそのノードに対して許可信号を送る。
許可信号を得たノードは、受け取った直後に転送すべき
データ(パケット)を転送開始する。
When the arbitration is completed, the process proceeds to step S407, and a selection is made to divide the route into one node whose route has been arbitrated and the use of which has been permitted, and another node that has lost the arbitration from among the plurality of nodes that have issued use requests in step S406. . Here, one node that has been arbitrated and whose use has been granted, or a node whose use has been requested without arbitration with the number of use request nodes = 1 based on the selection value in step S405, is sent to step S408.
The route sends a grant signal to that node.
The node that has received the permission signal starts transferring data (packets) to be transferred immediately after receiving the permission signal.

【0123】また、ステップS406の調停で敗れて、
バス使用が許可されなかったノードはステップS407
よりステップS409に進み、ルートから、アービトレ
ーション失敗を示すDP(data prefix)パケットが送
られ、これを受け取ったノードは再度転送を行うための
バス使用要求を出すため、ステップS401まで戻り、
所定ギャップ長が得られるまで待機する。
Further, the player loses the arbitration in step S406,
The node whose bus use is not permitted is determined in step S407.
In step S409, a DP (data prefix) packet indicating an arbitration failure is transmitted from the root. The node that has received the packet returns to step S401 in order to issue a bus use request for performing transfer again.
Wait until a predetermined gap length is obtained.

【0124】以上がアービトレーションの流れの説明で
ある。
The above is the description of the arbitration flow.

【0125】<アシンクロナス(Asynchronous)(非同
期)転送> アシンクロナス転送は、非同期転送である。図13にア
シンクロナス転送における時間的な遷移状態を示す。図
13の最初のサブアクション・ギャップは、バスのアイ
ドル状態を示すものである。このアイドル時間が一定値
になった時点で、転送を希望するノードはバスが使用で
きると判断して、バス獲得のためのアービトレーション
を実行する。
<Asynchronous (Asynchronous) Transfer> The asynchronous transfer is an asynchronous transfer. FIG. 13 shows a temporal transition state in the asynchronous transfer. The first sub-action gap in FIG. 13 indicates the idle state of the bus. When the idle time reaches a certain value, the node desiring transfer determines that the bus can be used and executes arbitration for acquiring the bus.

【0126】アービトレーションでバスの使用許可を得
ると、次にデータの転送がパケット形式で実行される。
データ転送後、受信したノードは転送されたデータに対
しての受信結果のack(受信確認用返送コード)を
[ackgap]という短いギャップの後、返送して応
答するか、応答パケットを送ることによって転送が完了
する。ackは4ビットの情報と4ビットのチェックサ
ムからなり、成功か、ビジー状態か、ペンディング状態
であるかといった情報を含み、すぐに送信元ノードに返
送される。
When the bus use permission is obtained by arbitration, data transfer is executed in the form of a packet.
After the data transfer, the receiving node responds by returning an ack (reception confirmation return code) of the transferred data after a short gap of [ackgap], or by sending a response packet. The transfer is completed. The ack is composed of 4-bit information and a 4-bit checksum, and includes information such as success, busy status, and pending status, and is immediately returned to the source node.

【0127】次に、図14にアシンクロナス転送のパケ
ットフォーマットの例を示す。
Next, FIG. 14 shows an example of the packet format of the asynchronous transfer.

【0128】パケットには、データ部及び誤り訂正用の
データCRCの他にはヘッダ部があり、そのヘッダ部に
は図14に示したような、目的ノードID、ソースノー
ドID、転送データ長さや各種コードなどが書き込ま
れ、転送が行なわれる。
The packet has a header in addition to the data part and the data CRC for error correction. The header part has the destination node ID, the source node ID, the transfer data length and the like as shown in FIG. Various codes and the like are written and transferred.

【0129】また、アシンクロナス転送は自己ノードか
ら相手ノードへの1対1の通信である。転送元ノードか
ら転送されたパケットは、ネットワーク中の各ノードに
行き渡るが、自分宛てのアドレス以外のものは無視され
るので、宛先の1つのノードのみが読込むことになる。
Asynchronous transfer is one-to-one communication from a self-node to a partner node. The packet transferred from the transfer source node is distributed to each node in the network, but the address other than its own address is ignored, so that only one destination node reads the packet.

【0130】以上がアシンクロナス転送の説明である。The above is the description of the asynchronous transfer.

【0131】<アイソクロナス(Isochronous)(同
期)転送> アイソクロナス転送は同期転送である。1394シリア
ルバスの最大の特徴であるともいえるこのアイソクロナ
ス転送は、特にVIDEO映像データや音声データとい
ったマルチメディアデータなど、リアルタイムな転送を
必要とするデータの転送に適した転送モードである。
<Isochronous (Synchronous) Transfer> Isochronous transfer is synchronous transfer. This isochronous transfer, which can be said to be the greatest feature of the 1394 serial bus, is a transfer mode suitable for transferring data that requires real-time transfer, such as multimedia data such as VIDEO video data and audio data.

【0132】また、アシンクロナス転送(非同期)が1
対1の転送であったのに対し、このアイソクロナス転送
はブロードキャスト機能によって、転送元の1つのノー
ドから他のすべてのノードへ一様に転送される。
Further, when the asynchronous transfer (asynchronous) is 1
Unlike the one-to-one transfer, the isochronous transfer is uniformly transferred from one transfer source node to all other nodes by the broadcast function.

【0133】図15は1394シリアルバスでのアイソ
クロナス転送の時間的な状態遷移を表す基本的な構成図
である。
FIG. 15 is a basic configuration diagram showing a temporal state transition of the isochronous transfer on the 1394 serial bus.

【0134】アイソクロナス転送は、バス上一定時間毎
に実行される。この時間間隔をアイソクロナスサイクル
と呼ぶ。アイソクロナスサイクル時間は、125μSで
ある。この各サイクルの開始時間を示し、各ノードの時
間調整を行なう役割を担っているのがサイクル・スター
ト・パケットである。
The isochronous transfer is executed at fixed time intervals on the bus. This time interval is called an isochronous cycle. The isochronous cycle time is 125 μS. A cycle start packet indicates the start time of each cycle, and plays a role of adjusting the time of each node.

【0135】サイクル・スタート・パケットを送信する
のは、サイクル・マスタと呼ばれるノードであり、1つ
前のサイクル内の転送終了後、所定のアイドル期間(サ
ブアクションギャップ)を経た後、本サイクルの開始を
告げるサイクル・スタート・パケットを送信する。この
サイクル・スタート・パケットの送信される時間間隔が
125μSとなる。
The node transmitting the cycle start packet is a node called a cycle master. After a transfer in the previous cycle is completed, a predetermined idle period (subaction gap) is passed, and then the cycle start packet is transmitted. Send a cycle start packet to signal the start. The time interval at which this cycle start packet is transmitted is 125 μS.

【0136】また、図15にチャネルA,チャネルB,
チャネルCと示したように、1サイクル内において複数
種のパケットがチャネルIDをそれぞれ与えられること
によって、区別して転送できる。これによって同時に複
数ノード間でのリアルタイムな転送が可能であり、また
受信するノードでは自分が欲しいチャネルIDのデータ
のみを取り込む。
FIG. 15 shows channels A, B,
As indicated by the channel C, a plurality of types of packets can be separately transferred by being given channel IDs in one cycle. This allows real-time transfer between a plurality of nodes at the same time, and the receiving node fetches only the data of the channel ID desired by itself.

【0137】このチャネルIDは送信先のアドレスを表
すものではなく、データに対する論理的な番号を与えて
いるに過ぎない。よって、あるパケットの送信は1つの
送信元ノードから他のすべてのノードに行き渡る、ブロ
ードキャストで転送されることになる。
This channel ID does not represent the address of the transmission destination, but merely gives a logical number for the data. Therefore, the transmission of a certain packet is transmitted by broadcast, which is distributed from one source node to all other nodes.

【0138】アイドクロナス転送のパケット送信に先立
って、アシンクロナス転送同様アービトレーションが行
われる。しかし、アシンクロナス転送のように1対1の
通信ではないので、アイソクロナス転送にはack(受
信確認用返信コード)は存在しない。
Prior to the packet transmission in the idle transfer, arbitration is performed as in the asynchronous transfer. However, since the communication is not one-to-one communication as in the asynchronous transfer, there is no ack (reception confirmation reply code) in the isochronous transfer.

【0139】また、図15に示したiso gap(ア
イソクロナスギャップ)とは、アイソクロナス転送を行
なう前にバスが空き状態であると認識するために必要な
アイドル期間を表している。この所定のアイドル期間を
経過すると、アイソクロナス転送を行ないたいノードは
バスが空いていると判断し、転送前のアービトレーショ
ンを行なうことができる。
The iso gap (isochronous gap) shown in FIG. 15 indicates an idle period necessary for recognizing that the bus is empty before performing the isochronous transfer. After the predetermined idle period has elapsed, a node that wishes to perform isochronous transfer determines that the bus is free, and can perform arbitration before transfer.

【0140】つぎに、図16にアイソクロナス転送のパ
ケットフォーマットの例を示す。以下、図16を参照し
て1394シリアルバスでのアイソクロナス転送のパケ
ットフォーマットを説明する。
Next, FIG. 16 shows an example of a packet format for isochronous transfer. Hereinafter, the packet format of the isochronous transfer on the 1394 serial bus will be described with reference to FIG.

【0141】各チャネルに分かれた、各種のパケットに
はそれぞれデータ部及び誤り訂正用のデータCRCの他
にヘッダ部があり、そのヘッダ部には図16に示したよ
うな、転送データ長やチャネルNO、その他各種コード
及び誤り訂正用のヘッダCRCなどが書き込まれ、転送
が行なわれる。
Each packet divided into each channel has a header portion in addition to a data portion and error-correction data CRC, and the header portion has a transfer data length and a channel length as shown in FIG. NO and other various codes and a header CRC for error correction are written and transferred.

【0142】以上がアイソクロナス転送の説明である。The above is the description of the isochronous transfer.

【0143】<バス・サイクル>実際の1394シリア
ルバス上の転送では、アイソクロナス転送と、アシンク
ロナス転送は混在できる。その時の、アイソクロナス転
送とアシンクロナス転送が混在した、バス上の転送状態
の時間的な遷移の様子を表した図を図17に示す。
<Bus Cycle> In actual transfer on the 1394 serial bus, isochronous transfer and asynchronous transfer can coexist. FIG. 17 is a diagram showing a state of a temporal transition of the transfer state on the bus in which the isochronous transfer and the asynchronous transfer are mixed at that time.

【0144】アイソクロナス転送はアシンクロナス転送
より優先して実行される。その理由は、サイクル・スタ
ート・パケットの後、アシンクロナス転送を起動するた
めに必要なアイドル期間のギャップ長(サブアクション
ギャップ)よりも短いギャップ長(アイソクロナスギャ
ップ)で、アイソクロナス転送を起動できるからであ
る。したがって、アシンクロナス転送より、アイソクロ
ナス転送は優先して実行されることとなる。
The isochronous transfer is executed prior to the asynchronous transfer. The reason is that after the cycle start packet, the isochronous transfer can be started with a gap length (isochronous gap) shorter than the gap length (subaction gap) of the idle period required to start the asynchronous transfer. . Therefore, the isochronous transfer is executed with priority over the asynchronous transfer.

【0145】図17に示した、一般的なバスサイクルに
おいて、サイクル#mのスタート時にサイクル・スター
ト・パケットがサイクル・マスタから各ノードに転送さ
れる。これによって、各ノードで時刻調整を行ない、所
定のアイドル期間(アイソクロナスギャップ)を待って
からアイソクロナス転送を行なうべきノードはアービト
レーションを行い、パケット転送に入る。図17ではチ
ャネルeとチャネルsとチャネルkが順にアイソクロナ
ス転送されている。
In the general bus cycle shown in FIG. 17, at the start of cycle #m, a cycle start packet is transferred from the cycle master to each node. As a result, each node adjusts the time, and after waiting for a predetermined idle period (isochronous gap), the node that should perform isochronous transfer performs arbitration and starts packet transfer. In FIG. 17, the channel e, the channel s, and the channel k are sequentially and isochronously transferred.

【0146】このアービトレーションからパケット転送
までの動作を、与えられているチェル分繰り返し行なっ
た後、サイクル#mにおけるアイソクロナス転送がすべ
て終了したら、アシンクロナス転送を行うことができる
ようになる。
After the operations from the arbitration to the packet transfer are repeated for the given number of chers, when all the isochronous transfers in the cycle #m have been completed, the asynchronous transfer can be performed.

【0147】アイドル時間がアシンクロナス転送が可能
なサブアクションギャップに達する事によって、アシン
クロナス転送を行いたいノードはアービトレーションの
実行に移れると判断する。
When the idle time reaches the sub-action gap where asynchronous transfer is possible, the node that wishes to perform asynchronous transfer determines that arbitration can be performed.

【0148】ただし、アシンクロナス転送が行える期間
は、アイソクロナス転送終了後から、次のサイクル・ス
タート・パケットを転送すべき時間(cycle sy
nch)までの間にアシンクロナス転送を起動するため
のサブアクションギャップが得られた場合に限ってい
る。
However, the period during which the asynchronous transfer can be performed is a time (cycle sy) for transferring the next cycle start packet after the completion of the isochronous transfer.
nch) only when a sub-action gap for starting asynchronous transfer is obtained.

【0149】図17のサイクル#mでは3つのチャネル
分のアイソクロナス転送と、その後アシンクロナス転送
(含むack)が2パケット(パケット1、パケット
2)転送されている。このアシンクロナスパケット2の
後は、サイクルm+1をスタートすべき時間(cycl
e synch)にいたるので、サイクル#mでの転送
はここまでで終わる。
In cycle #m of FIG. 17, two packets (packet 1 and packet 2) of the isochronous transfer for three channels and the asynchronous transfer (including ack) are transferred thereafter. After this asynchronous packet 2, a time (cycle) to start cycle m + 1
e sync), the transfer in cycle #m ends here.

【0150】ただし、非同期または同期転送動作中に次
のサイクル・スタート・パケットを送信すべき時間(c
ycle synch)に至ったとしたら、無理に中断
せず、その転送が終了した後のアイドル期間を待ってか
ら次サイクルのサイクル・スタート・パケットを送信す
る。すなわち、1つのサイクルが125μS以上続いた
ときは、その分次サイクルは基準の125μSより短縮
されたとする。このようにアイソクロナス・サイクルは
125μSを基準に超過、短縮し得るものである。
However, the time (c) at which the next cycle start packet should be transmitted during the asynchronous or synchronous transfer operation
If (cycle synch) is reached, a cycle start packet of the next cycle is transmitted after waiting for an idle period after the transfer is completed without forcibly interrupting the transfer. That is, when one cycle continues for 125 μS or more, it is assumed that the next cycle is shortened by that much from the reference 125 μS. As described above, the isochronous cycle can be exceeded or shortened on the basis of 125 μS.

【0151】しかし、アイソクロナス転送はリアルタイ
ム転送を維持するために毎サイクル必要であれば必ず実
行され、アシンクロナス転送はサイクル時間が短縮され
たことによって次以降のサイクルにまわされることもあ
る。
However, the isochronous transfer is always executed if necessary every cycle to maintain the real-time transfer, and the asynchronous transfer may be transferred to the next and subsequent cycles due to the shortened cycle time.

【0152】こういった遅延情報も含めて、サイクル・
マスタによって管理される。
The cycle information including such delay information is
Controlled by the master.

【0153】以上が、IEEE1394シリアルバスの
説明である。
The above is the description of the IEEE 1394 serial bus.

【0154】以上に説明したIEEE1394シリアル
バスにより互いに接続される本実施の形態例のシステム
構成例を図18に示す。図18は本実施の形態例のIE
EE1394シリアルバスにより互いに接続される本実
施の形態例のシステム構成例を示す図である。
FIG. 18 shows a system configuration example of the present embodiment connected to each other by the IEEE 1394 serial bus described above. FIG. 18 shows the IE of the present embodiment.
FIG. 1 is a diagram illustrating an example of a system configuration of an embodiment connected to each other by an EE1394 serial bus.

【0155】図18に示すバス構成は、実線で描いた1
394シリアルバスで接続された、記録再生装置10
1、プリンタA102、パソコン(PC)103、プリ
ンタB104で成り立っており、各機器がそれぞれ13
94シリアルバスの仕様に基づいたデータ転送が行なえ
る。
The bus configuration shown in FIG.
Recording / reproducing device 10 connected by a 394 serial bus
1, a printer A 102, a personal computer (PC) 103, and a printer B 104.
Data transfer based on the specification of the 94 serial bus can be performed.

【0156】ここで、記録再生装置101とは動画又は
静止画を記録再生する、デジタルカメラやカメラ一体型
デジタルVTR等である。また、記録再生装置101で
出力する映像データを、プリンタA102に直接転送す
ればダイレクトプリントが可能である。また、パソコン
(PC)103は外部の大規模なネットワーク、例えば
イーサネットに接続可能なインターフェースを具備して
いる。
Here, the recording / reproducing apparatus 101 is a digital camera, a camera-integrated digital VTR, or the like that records and reproduces a moving image or a still image. In addition, direct printing is possible by directly transferring video data output from the recording / reproducing apparatus 101 to the printer A102. The personal computer (PC) 103 has an interface connectable to an external large-scale network, for example, Ethernet.

【0157】また、1394シリアルバスの接続方法
は、図18に示す接続例に限るものではなく、任意の機
器間での接続でバスを構成しても可能であり、また図1
8に示した機器のほかにもデータ通信機器が接続された
構成であってもよい。なお、この図18のネットワーク
は一例とした機器群であって、接続されている機器は、
ハードディスクなどの外部記憶装置や、CDR,DVD
等の1394シリアルバスでネットワークが構成できる
機器なら何であってもよい。
The connection method of the 1394 serial bus is not limited to the connection example shown in FIG. 18, and it is also possible to configure the bus by connecting arbitrary devices.
In addition to the device shown in FIG. 8, a configuration in which a data communication device is connected may be employed. The network in FIG. 18 is a group of devices as an example, and the connected devices are:
External storage device such as hard disk, CDR, DVD
Any device that can form a network with a 1394 serial bus, such as the above, may be used.

【0158】図18のようなバス構成を背景とした、本
発明の実施の形態例の動作に関する説明を、図19も参
照して以下に行なう。図19は本実施の形態例の図18
に示すシステムの詳細ブロック構成図である。
The operation of the embodiment of the present invention with the bus configuration as shown in FIG. 18 in the background will be described below with reference to FIG. FIG. 19 is a block diagram of the present embodiment.
2 is a detailed block diagram of the system shown in FIG.

【0159】図19において、101は記録再生装置、
102はプリンタA、103はPCである。
In FIG. 19, 101 is a recording / reproducing device,
102 is a printer A and 103 is a PC.

【0160】記録再生装置101において、4は撮像
系、5はA/Dコンバータ、6は映像信号処理回路、7
は所定のアルゴリズムで記録時に圧縮、再生時に伸張を
行なう圧縮/伸張回路、8は磁気テープや固体メモリ等
とその記録再生ヘッド等も含めた記録再生系、9はシス
テムコントローラ、10は指示入力を行なう操作部であ
る。
In the recording / reproducing apparatus 101, 4 is an image pickup system, 5 is an A / D converter, 6 is a video signal processing circuit, 7
Is a compression / expansion circuit for compressing during recording and decompressing during reproduction by a predetermined algorithm, 8 is a recording / reproducing system including a magnetic tape or solid-state memory and its recording / reproducing head, 9 is a system controller, and 10 is an instruction input. This is the operation unit to perform.

【0161】また、22はD/Aコンバータ、12は表
示部であるEVF、13は非圧縮で転送する映像データ
を記憶するフレームメモリ、14はメモリ13の読み出
し等を制御するメモリ制御部、15は圧縮されて転送す
る映像データを記憶するためのフレームメモリ、16は
メモリ15の読み出し等を制御するメモリ制御部、17
はデータセレクタ、18は1394シリアルバスのI/
F部である。
Reference numeral 22 denotes a D / A converter; 12, an EVF as a display unit; 13, a frame memory for storing video data to be transferred without compression; 14, a memory control unit for controlling reading of the memory 13; Is a frame memory for storing video data to be compressed and transferred; 16 is a memory control unit for controlling reading of the memory 15;
Is a data selector, 18 is the I / O of the 1394 serial bus.
Section F.

【0162】更に、プリンタA102において、19は
プリンタA102における1394I/F部、20はデ
ータセレクタ、21は所定のアルゴリズムで圧縮された
映像データを復号化するための復号化回路、22はプリ
ント画像の画像処理回路、23はプリント画像を形成す
るためのメモリ、24はプリンタヘッド、25はプリン
タヘッドや紙送り等を行なうドライバ、26はプリンタ
の制御部であるプリンタコントローラ、27はプリンタ
操作部である。
Further, in the printer A 102, 19 is a 1394 I / F unit in the printer A 102, 20 is a data selector, 21 is a decoding circuit for decoding video data compressed by a predetermined algorithm, and 22 is a print image. An image processing circuit; 23, a memory for forming a print image; 24, a printer head; 25, a driver for feeding the printer head and paper; 26, a printer controller as a control unit of the printer; and 27, a printer operation unit. .

【0163】さらに、PC103において、61はPC
に搭載された1394I/F部、62はPCIバス、6
3はMPU、64は所定のアルゴリズムで圧縮された映
像データを復号化するための復号化回路、65はD/A
コンバータも内蔵しているディスプレイ、66はHD
D、67はメモリ、68はキーボードやマウスといった
操作部である。
Further, in the PC 103, 61 is a PC
1394 I / F section mounted on the PC, 62 is a PCI bus, 6
3 is an MPU, 64 is a decoding circuit for decoding video data compressed by a predetermined algorithm, and 65 is a D / A
Display with built-in converter, 66 is HD
D and 67 are memories, and 68 is an operation unit such as a keyboard and a mouse.

【0164】次に、以上の構成を備える本実施の形態例
の動作を順を追って説明する。
Next, the operation of the present embodiment having the above configuration will be described step by step.

【0165】まず、記録再生装置101の記録時におい
ては、撮像系4で撮影した映像信号は、A/Dコンバー
タ5でデジタル化された後、映像信号処理回路6で映像
処理がなされる。映像信号処理回路6の出力の一方は撮
影中の映像としてD/Aコンバータ11でアナログ信号
に戻され、EVF12で表示される。その他の出力は、
圧縮回路7で所定のアルゴリズムで圧縮処理され、記録
再生系8で記録媒体に記録される。
First, at the time of recording by the recording / reproducing apparatus 101, a video signal photographed by the imaging system 4 is digitized by the A / D converter 5, and then subjected to video processing by the video signal processing circuit 6. One of the outputs of the video signal processing circuit 6 is converted into an analog signal by the D / A converter 11 as a video being captured, and is displayed by the EVF 12. Other outputs are
The data is compressed by a predetermined algorithm by a compression circuit 7 and recorded on a recording medium by a recording / reproducing system 8.

【0166】ここで、所定の圧縮処理とは、デジタルカ
メラでは代表的なものとしてJPEG方式、家庭用デジ
タルVTRでは帯域圧縮方法としてのDCT(離散コサ
イン変換)及びVLC(可変長符号化)に基づいた圧縮
方式、その他としてMPEG方式などである。
Here, the predetermined compression processing is based on the JPEG system as a typical digital camera, and based on DCT (discrete cosine transform) and VLC (variable length coding) as band compression methods in a home digital VTR. Compression method, and other methods such as the MPEG method.

【0167】記録再生装置101の再生時は、記録再生
系8が記録媒体から所望の映像を再生する。この時、所
望の映像の選択は、操作部10から入力された指示入力
を元にして選択され、システムコントローラ9が制御し
て再生する。記録媒体から再生された映像データのう
ち、圧縮状態のまま転送されるデータはフレームメモリ
15に出力する。
At the time of reproduction by the recording / reproducing apparatus 101, the recording / reproducing system 8 reproduces a desired video from the recording medium. At this time, a desired video is selected based on an instruction input input from the operation unit 10, and is controlled and reproduced by the system controller 9. Of the video data reproduced from the recording medium, data transferred in a compressed state is output to the frame memory 15.

【0168】非圧縮のデータで転送するため再生データ
を伸張するときは、伸張回路7で伸張されメモリ13に
出力される。また、再生した映像データをEVF12で
表示するときは、伸張回路7で伸張し、D/Aコンバー
タ11でアナログ信号に戻された後EVF12に出力さ
れ、表示される。
When the reproduced data is expanded to be transferred as uncompressed data, it is expanded by the expansion circuit 7 and output to the memory 13. When the reproduced video data is displayed on the EVF 12, it is expanded by the expansion circuit 7, returned to the analog signal by the D / A converter 11, output to the EVF 12, and displayed.

【0169】フレームメモリ13、およびフレームメモ
リ15は、それぞれシステムコントローラにて制御され
たメモリ制御部14、16で書き込み/読み出しの制御
がなされる。そして読み出された映像データは、データ
セレクタ17へと出力される。このとき、フレームメモ
リ13、及び15の出力は、同時間にはどちらか一方が
データセレクタ17に出力されるように制御される。
The writing / reading of the frame memories 13 and 15 is controlled by memory controllers 14 and 16 controlled by a system controller, respectively. Then, the read video data is output to the data selector 17. At this time, the outputs of the frame memories 13 and 15 are controlled so that either one is output to the data selector 17 at the same time.

【0170】システムコントローラ9は、記録再生装置
101内の各部の動作を制御するものであるが、プリン
タA102やPC103といった外部に接続された機器
に対する制御コマンドデータを出力して、データセレク
タ17から1394シリアルバスを転送されて外部の装
置にコマンド送信することもできる。
The system controller 9 controls the operation of each unit in the recording / reproducing apparatus 101. The system controller 9 outputs control command data to externally connected devices such as the printer A 102 and the PC 103, and outputs data from the data selectors 17 to 1394. A command can be transmitted to an external device by being transferred through the serial bus.

【0171】また、プリンタA102やPC103から
転送されてきた各種コマンドデータは、データセレクタ
17からシステムコントローラ9に入力され、記録再生
装置101の各部の制御に用いることができる。
Various command data transferred from the printer A 102 or the PC 103 is input from the data selector 17 to the system controller 9 and can be used for controlling each unit of the recording / reproducing apparatus 101.

【0172】このうち、プリンタA102、PC103
から転送されたデコーダの有無またはデコーダの種類等
を示すコマンドデータは、要求コマンドとしてシステム
コントローラ9に入力した後、記録再生装置101より
映像データを転送する際、それぞれ圧縮、非圧縮どちら
の映像データを転送するか判断される。そして判断結果
に応じてメモリ制御部14、及び15にコマンド伝達し
て、フレームメモリ13、または15から適した一方の
映像データを読み出して転送するように制御する。
The printer A 102 and the PC 103
The command data indicating the presence or absence of the decoder or the type of the decoder transferred from the system controller 9 is input to the system controller 9 as a request command, and then when the video data is transferred from the recording / reproducing apparatus 101, the compressed or uncompressed video data is used. Is to be transferred. Then, according to the determination result, a command is transmitted to the memory control units 14 and 15 to control so as to read out and transfer one suitable video data from the frame memory 13 or 15.

【0173】圧縮、非圧縮の映像データのうちどちらを
転送するかという判断は、プリンタA102またはPC
103よりコマンド転送された、それぞれの機器が具備
するデコーダの情報により行なう。記録再生装置101
での映像データ圧縮方式がデコード可能であると判断し
たときは圧縮された映像データを転送するよう、メモリ
15から読み出したデータを出力する。一方、デコード
できないと判断されたときは非圧縮の映像データを転送
するよう、メモリ13から読み出したデータを出力する
よう制御する。
Whether to transfer the compressed or uncompressed video data is determined by the printer A102 or the PC.
This is performed based on the information of the decoder included in each device, which has been command-transferred from 103. Recording / reproducing device 101
When it is determined that the video data compression method in the above is decodable, the data read from the memory 15 is output so as to transfer the compressed video data. On the other hand, when it is determined that decoding cannot be performed, control is performed to output data read from the memory 13 so as to transfer uncompressed video data.

【0174】データセレクタ17に入力した映像データ
及びコマンドデータは、1394I/F18で1394
シリアルバスの仕様に基づいてケーブル上をデータ転送
され、プリント用映像データならばプリンタA102
が、PCに取り込む映像データならばPC103が受信
する。コマンドデータも適宜対象ノードに対して転送さ
れる。
The video data and command data input to the data selector 17 are transmitted by the 1394 I / F 18 to the 1394 interface.
Data is transferred over the cable based on the specifications of the serial bus.
Is video data to be captured by the PC, the PC 103 receives the video data. Command data is also appropriately transferred to the target node.

【0175】各データの転送方式については、主に動画
や静止画、または音声といったデータはIsoデータとし
てアイソクロナス転送方式で転送し、コマンドデータは
Asyncデータとしてアシンクロナス転送方式で転送す
る。ただし、通常Isoデータで転送するデータのうち、
転送状況等に応じて場合によってはAsyncデータとして
転送した方が都合がいいときはアシンクロナス転送で送
ってもよい。
Regarding the transfer method of each data, mainly data such as moving images, still images, and sounds are transferred as Iso data by the isochronous transfer method, and command data is transferred.
It is transferred as asynchronous data by the asynchronous transfer method. However, of the data normally transferred with Iso data,
If it is more convenient to transfer the data as Async data depending on the transfer status or the like, the data may be transmitted by asynchronous transfer.

【0176】次にプリンタA102の動作について説明
する。プリンタA102は、1394I/F部19に入
力したデータの内、データセレクタ20で各データの種
類毎に分類され、映像データ等プリントすべきデータ
は、圧縮されている場合復号化回路21でデータの伸張
がなされた後、画像処理回路22に出力される。
Next, the operation of the printer A 102 will be described. In the printer A 102, of the data input to the 1394 I / F unit 19, the data to be printed is classified by the data selector 20 according to the type of each data. After being expanded, it is output to the image processing circuit 22.

【0177】この時、本実施の形態例では、あらかじめ
記録再生装置101に送っておいた、デコーダの有無ま
たは種類等の情報を元にして最適な転送が行なえるよ
う、圧縮または非圧縮を選びデータ転送されたものであ
るので、プリンタが具備する復号化回路21では圧縮さ
れているデータは所持する所定のアルゴリズムの伸張方
式でデータ伸張可能である。
At this time, in the present embodiment, compression or non-compression is selected so that optimum transfer can be performed based on information such as the presence / absence or type of the decoder which has been sent to the recording / reproducing apparatus 101 in advance. Since the data has been transferred, the compressed data can be decompressed by the decompression method of a predetermined algorithm possessed by the decoding circuit 21 provided in the printer.

【0178】転送されてきた映像データが非圧縮のもの
である場合は、すなわち復号化回路21が存在しないか
または、記録再生装置101の圧縮方式に対応不可能な
復号化回路21を具備しているものであるため、この場
合は復号化回路21をスルーして(何の処理もされずに
情報が通過して)直接プリント画像処理回路22に入力
するような構成とする。
If the transferred video data is uncompressed, that is, the decoding circuit 21 does not exist, or the decoding circuit 21 which cannot support the compression method of the recording / reproducing apparatus 101 is provided. In this case, the configuration is such that the data is directly input to the print image processing circuit 22 through the decoding circuit 21 (the information passes without any processing).

【0179】また、映像データでないプリント用データ
などが入力されたときで、伸張する必要がないデータの
ときにも復号化回路21はスルー(何の処理もされずに
情報が通過)する。
Further, when print data or the like which is not video data is input and the data does not need to be expanded, the decoding circuit 21 passes through (information passes without any processing).

【0180】画像処理回路22に入力されたプリント用
のデータは、ここでプリントに適した画像処理が施さ
れ、かつプリンタコントローラ26によって記憶、読み
出しの制御がなされたメモリ23にプリント画像として
形成したものをプリンタヘッド24に送りプリントされ
る。
The data for printing input to the image processing circuit 22 is subjected to image processing suitable for printing here, and is formed as a print image in the memory 23 which is controlled to be stored and read out by the printer controller 26. The object is sent to the printer head 24 and printed.

【0181】プリンタのヘッド駆動や紙送り等の駆動は
ドライバ25で行なうものであり、ドライバ25やプリ
ンタヘッド24の動作制御、およびその他各部の制御は
プリンタコントローラ23によって行われる。
The driving of the printer head and the paper feed are performed by the driver 25, and the operation control of the driver 25 and the printer head 24 and the control of the other parts are performed by the printer controller 23.

【0182】プリンタ操作部27は紙送りや、リセッ
ト、インクチェック、プリンタ動作のスタンバイ/開始
/停止等の動作を指示入力するためのものであり、その
指示入力に応じてプリンタコントローラ26によって各
部の制御がされる。
The printer operation unit 27 is for inputting instructions such as paper feeding, resetting, ink checking, and standby / start / stop of the printer operation. Control is performed.

【0183】次に、1394I/F部19に入力したデ
ータが、プリンタA102に対するコマンドデータであ
ったときは、データセレクタ20からプリンタコントロ
ーラ26に制御コマンドとして伝達され、プリンタコン
トローラ26によって情報に対応したプリンタA102
各部の制御がなされる。
Next, when the data input to the 1394 I / F section 19 is command data for the printer A 102, it is transmitted from the data selector 20 to the printer controller 26 as a control command, and the printer controller 26 responds to the information. Printer A102
Each part is controlled.

【0184】また、プリンタコントローラ26はプリン
タA102内の復号回路21の具備するデコーダの種
類、または復号化回路21の有無等の情報を出力して、
記録再生装置101にコマンドデータとして転送するこ
とができる。
The printer controller 26 outputs information such as the type of the decoder included in the decoding circuit 21 in the printer A 102 or the presence / absence of the decoding circuit 21.
It can be transferred to the recording / reproducing device 101 as command data.

【0185】ここで、復号化回路21について、プリン
タに設けるデコーダの一例として、JPEG方式が考え
られる。JPEG復号化はソフトウェア的に可能である
ので、復号化回路21では、回路内に持つROMにJP
EG復号化プログラムファイルを保持しているもの、あ
るいは他のノードから復号化プログラムを転送してもら
ったものなどを用いて、ソフト的に処理されて、復号化
処理される構成でよい。
Here, the decoding circuit 21 may be a JPEG system as an example of a decoder provided in a printer. Since JPEG decoding is possible by software, the decoding circuit 21 stores the JPPEG in the ROM in the circuit.
A configuration may be used in which the EG decryption program file is stored, or a decryption program is transferred from another node, and the like, and the decryption processing is performed by software.

【0186】記録再生装置からJPEG方式で圧縮され
た画像データをプリンタに転送し、プリンタ内で復号化
処理するようにしたならば、非圧縮データに変換してか
ら転送するより転送効率が良く、また、ソフトウェアで
のデコード処理を用いることで、プリンタ自体にデコー
ダを設けることにもコスト的にも支障はなく都合が良
い。また、復号化回路21ではハード的な復号化とし
て、JPEGデコード回路(ボード)を設ける構成でも
可能である。
If the image data compressed by the JPEG system is transferred from the recording / reproducing apparatus to the printer and is decoded in the printer, the transfer efficiency is higher than that of converting the data to uncompressed data before transferring. Further, by using the decoding process by software, it is convenient to provide a decoder in the printer itself without any problem in terms of cost. Further, the decoding circuit 21 may be configured to provide a JPEG decoding circuit (board) as hardware decoding.

【0187】このように、記録再生装置101からプリ
ンタA102に映像データが転送されプリントする制御
は、所謂ダイレクトプリント処理であり、PC103で
の処理を用いずにプリント処理が可能である。
As described above, the control for transferring the video data from the recording / reproducing apparatus 101 to the printer A 102 for printing is a so-called direct print process, and the print process can be performed without using the process in the PC 103.

【0188】次に、PC103の処理について説明す
る。
Next, the processing of the PC 103 will be described.

【0189】記録再生装置101から、PCの1394
I/F部61に転送された映像データは、PC103内
で、PCIバス62をデータ相互伝送のバスとして用い
て、各部へ転送される。また、PC103内の各種コマ
ンドデータ等もこのPCIバスを用いて各部へ転送され
る。
From the recording / reproducing device 101, the 1394
The video data transferred to the I / F unit 61 is transferred to each unit in the PC 103 using the PCI bus 62 as a bus for mutual data transmission. Also, various command data and the like in the PC 103 are transferred to each unit using the PCI bus.

【0190】PC103では操作部68からの指示入力
と、OS(オペレーティングシステム)やアプリケーシ
ョンソフトにしたがって、メモリ67を用いながら、M
PU63によって処理がなされる。転送された映像デー
タを記録するときはハードディスク66で記録する。
The PC 103 uses the memory 67 in accordance with the instruction input from the operation unit 68 and the OS (operating system) or application software to execute the M operation.
The processing is performed by the PU 63. When recording the transferred video data, it is recorded on the hard disk 66.

【0191】転送される映像データは、プリンタと同
様、本発明ではあらかじめ記録再生装置101に送って
おいた、デコーダの有無またはデコーダ種類等の情報を
元にして最適な転送が行なえるよう、圧縮または非圧縮
を選びデータ転送されたものである。この結果、PC1
03が具備する復号化回路64では、圧縮されて転送さ
れた映像データを所持する所定のアルゴリズムの伸張方
式でデータ伸張可能である。
As in the case of the printer, the video data to be transferred is compressed in such a manner that it can be optimally transferred based on information such as the presence / absence of a decoder or the type of decoder which has been sent to the recording / reproducing apparatus 101 in the present invention in advance. Alternatively, the data was transferred by selecting uncompressed. As a result, PC1
The decoding circuit 64 included in the third device 03 can decompress data by a predetermined algorithm decompressing method that has the video data compressed and transferred.

【0192】映像データをディスプレイ65で表示する
ときは、圧縮された映像データであったときは復号化回
路64で復号化された後、非圧縮の映像データであった
ときは直接ディスプレイ65に入力され、D/A変換さ
れた後、映像表示される。
When the video data is displayed on the display 65, it is decoded by the decoding circuit 64 if it is compressed video data, and is directly input to the display 65 if it is uncompressed video data. After the D / A conversion, the image is displayed.

【0193】PC103に設けられた各種復号化回路6
4とは、一例としてMPEG方式等のデコーダをボード
としてスロットに差し込んだものや、もしくはハード的
に本体に組み込まれたもの、または、MPEG方式やJ
PEG方式、その他のソフトデコーダをROM等によっ
て所有しているものであり、これらデコーダの種類や有
無を情報としてコマンドを記録再生装置101に転送す
ることができる。
Various decoding circuits 6 provided in PC 103
4 is, for example, one in which a decoder of the MPEG system or the like is inserted into a slot as a board, or one in which the decoder is built into the main body in hardware, or one in which the MPEG system or J
The PEG system and other software decoders are owned by a ROM or the like, and commands can be transferred to the recording / reproducing apparatus 101 as information on the type and presence / absence of these decoders.

【0194】また、イーサネットI/F70はPCIバ
スに接続され後述するイーサネットプロトコルを実行
し、ハードディスク66に記録された記録再生装置10
1の画像データをアプリケーションソフトにしたがっ
て、メモリ67を用いながら、MPU63によって処理
されEtherNetI/F70から外部イーサネット
ネットワークに送信する、その他外部ネットワークから
の受信データもイーサネットプロトコルを実行しメモリ
67を用いながらハードディスク66に記録され、アプ
リケーションソフトにより処理される。このようにして
外部イーサネットネットワークとの通信を可能にしてい
る。
The Ethernet I / F 70 is connected to the PCI bus, executes an Ethernet protocol described later, and records and reproduces data on the recording / reproducing device 10 recorded on the hard disk 66.
The first image data is processed by the MPU 63 and transmitted from the EtherNet I / F 70 to the external Ethernet network using the memory 67 in accordance with the application software. Other data received from the external network also executes the Ethernet protocol and uses the memory 67 66 and processed by application software. In this way, communication with an external Ethernet network is enabled.

【0195】このようにして、転送された映像データは
PC103内に取り込まれ、記録、編集、PCから他機
器に転送等がなされる。
The transferred video data is taken into the PC 103 and recorded, edited, and transferred from the PC to another device.

【0196】以上説明したように本実施の形態例におい
ては、図19の構成を備えることにより、記録再生装置
101からプリンタA102またはPC103に映像デ
ータを転送する前に、転送先のプリンタA102または
PC103からデコーダの情報をコマンド転送すること
によって、記録再生装置101は転送先装置がデコード
できるときは圧縮したままの映像データを転送し、デコ
ードできないときは非圧縮のデータにした後の映像デー
タを転送するように、選択することができる。次に、以
上の記録再生装置101の動作を図20のフローチャー
トを参照して詳細に説明する。図20は本実施の形態例
の記録再生装置の動作を示すフローチャートである。
As described above, in the present embodiment, by providing the configuration shown in FIG. 19, before the video data is transferred from the recording / reproducing apparatus 101 to the printer A 102 or PC 103, the transfer destination printer A 102 or PC 103 When the transfer destination apparatus can decode, the recording / reproducing apparatus 101 transfers the compressed video data when the transfer destination apparatus can decode it, and transfers the uncompressed video data after the transfer cannot be decoded. You can choose to Next, the operation of the recording / reproducing apparatus 101 will be described in detail with reference to the flowchart of FIG. FIG. 20 is a flowchart showing the operation of the recording / reproducing apparatus of the present embodiment.

【0197】記録再生装置101にて、映像データを1
394シリアルバスで接続された他の機器に転送するモ
ードにおいて、まずステップS1において、ユーザーは
転送先の機器を指定して、指示に基づいた転送設定を行
う。これによって、記録再生装置101からはステップ
S2において転送先機器に、これから転送を行うことを
告げる所定の情報及び転送先機器内に具備するデコーダ
の有無、種類等の情報を転送するように促すための情報
を含んだコマンドを1394バスを用いて送信する。
In the recording / reproducing apparatus 101, the video data is
In the mode in which data is transferred to another device connected via the 394 serial bus, first, in step S1, the user specifies a transfer destination device and performs transfer settings based on the instruction. Thus, in step S2, the recording / reproducing apparatus 101 prompts the transfer destination device to transfer predetermined information indicating that transfer is to be performed and information such as the presence / absence and type of a decoder provided in the transfer destination device. Is transmitted using the 1394 bus.

【0198】ステップS2のコマンドを受けて、転送先
の機器からはデコーダ情報を含んだ所定のコマンドデー
タが記録再生装置101に転送される。このためステッ
プS3でデコーダ情報を含んだ所定のコマンドデータの
受信を待つ。ここで、記録再生装置101のシステムコ
ントローラ9では受信したコマンドの内、デコーダ情報
からデコーダの存在とその種類を判別できたときにはス
テップS4に進む。
Upon receiving the command in step S2, predetermined command data including decoder information is transferred from the transfer destination device to the recording / reproducing apparatus 101. Therefore, in step S3, reception of predetermined command data including decoder information is waited. Here, when the system controller 9 of the recording / reproducing apparatus 101 can determine the presence and type of the decoder from the decoder information among the received commands, the process proceeds to step S4.

【0199】ここで、転送先の機器から転送元である記
録再生装置101に転送されたコマンドデータの内、デ
コーダ情報については、この後圧縮して記録した映像デ
ータの転送を行う際圧縮したまま転送するか、または非
圧縮に戻してから転送するかの判断の材料となるデータ
であり、かつ転送先の機器からすれば圧縮データの転送
を希望するか、または非圧縮データの転送を希望するか
の要求データとしての役割も持つことになる。
Here, of the command data transferred from the transfer destination device to the recording / reproducing apparatus 101 as the transfer source, the decoder information remains compressed when transferring the video data recorded after compression. This data is used to determine whether to transfer or to return to uncompressed and then transferred, and that the destination device wants to transfer compressed data or uncompressed data. It also has a role as such request data.

【0200】また、あらかじめ転送元の記録再生装置1
01が用いている圧縮方法の情報を、転送先の機器、例
えばPC103が事前通知して知っていれば、ステップ
S2に対してのコマンドデータを返送するときにPC1
03内のデータ情報でなく、直接映像データ転送に対す
る命令とした、圧縮データの転送指令または非圧縮デー
タの転送指令とする要求コマンドとして用いることも可
能になる。
The recording / reproducing apparatus 1 of the transfer source is
If the device of the transfer destination, for example, the PC 103 knows the information of the compression method used by the PC 01 in advance, and returns the command data to the step S2, the PC 1
Instead of the data information in 03, it is also possible to use it as a request command for a compressed data transfer command or a non-compressed data transfer command as a command for direct video data transfer.

【0201】従って、ステップS4において、受信した
デコーダ情報から判別したデコーダの種類が、記録再生
装置101の圧縮伸張回路7で用いている映像データの
所定のアルゴリズムの圧縮方式に対応できるデコーダで
有るか否かを判断する。判別したデコーダの種類が、記
録再生装置101での圧縮方式に対応できないものであ
ったときはステップS6に進む。
Therefore, in step S4, the type of the decoder determined from the received decoder information is a decoder that can support the compression method of a predetermined algorithm of the video data used in the compression / expansion circuit 7 of the recording / reproducing apparatus 101. Determine whether or not. When the determined type of the decoder cannot correspond to the compression method of the recording / reproducing apparatus 101, the process proceeds to step S6.

【0202】一方、ステップS4で記録再生装置101
の圧縮伸張回路7で用いている映像データの所定のアル
ゴリズムの圧縮方式に対応できるデコーダであった場合
にはステップS5に進み、転送先機器内でのデコード可
能ということで、デコーダ有りの設定、すなわち圧縮し
たままの映像データを1394バス上に転送するような
処理として、映像データの転送実行時メモリ15からの
出力を転送するように制御する。そしてステップS7に
進む。
On the other hand, in step S4, the recording / reproducing device 101
If the decoder can support the compression method of a predetermined algorithm of the video data used in the compression / expansion circuit 7, the process proceeds to step S5, where decoding is possible in the transfer destination device. That is, as processing for transferring the compressed video data to the 1394 bus, control is performed so that the output from the memory 15 is transferred when the video data is transferred. Then, the process proceeds to step S7.

【0203】一方ステップS3で、受信したコマンド内
にデコーダ情報が含まれてなかったとき、またはデコー
ダが存在しないという情報を判別したときにはステップ
S6に進む。
On the other hand, if it is determined in step S3 that the received command does not include the decoder information, or if it is determined that there is no decoder, the process proceeds to step S6.

【0204】ステップS3でデコーダ情報が受信されな
かったとき、すなわち転送先機器内にデコーダが何ら存
在しないと判断されたとき、あるいはステップS4で判
別したデコーダの種類が、記録再生装置101での圧縮
方式に対応できないものであったときにはステップS6
に進み、ステップS6でデコーダ無しの設定、すなわち
記録再生装置101内で転送する映像データの伸張処理
を行ってから非圧縮の映像データを1394バス上に転
送するように、映像データの転送実行時メモリ13から
の出力を転送するように制御する。そしてステップS7
に進む。
When no decoder information is received in step S3, that is, when it is determined that there is no decoder in the transfer destination device, or when the type of the decoder determined in step S4 is If the system cannot be adapted to the method, step S6
In step S6, the setting is performed without the decoder, that is, when the video data is transferred so that the uncompressed video data is transferred to the 1394 bus after the video data to be transferred is expanded in the recording / reproducing apparatus 101. Control is performed to transfer the output from the memory 13. And step S7
Proceed to.

【0205】このように、本実施の形態例では、転送先
の機器に応じた映像データ転送時の出力形式の設定を行
った上で、ステップS7に進む。そしてユーザーはプリ
ントまたはPC取り込み等のため転送したい映像データ
を、記録媒体に記録されている映像中から選択する。記
録再生装置101はその選択された映像の読み出し動作
を行なう。
As described above, in the present embodiment, the output format at the time of video data transfer is set according to the transfer destination device, and then the process proceeds to step S7. Then, the user selects video data to be transferred for printing or PC capture from the video recorded on the recording medium. The recording / reproducing device 101 performs an operation of reading the selected video.

【0206】映像選択動作を行った上でステップS8の
処理に進み、ユーザーが所望の映像に対して転送指令を
行なう。次にステップS9で、ステップS5又はステッ
プS6での設定に基づき、転送先機器に対応可能なデコ
ーダがあるか否かを調べる。転送先機器に対応可能なデ
コーダがある場合はステップS10に進み、記録媒体か
ら再生した圧縮したままの映像データを転送するため、
ステップS8での転送指令に応じてメモリ15から読み
出した映像データを出力、転送するようにシステムコン
トローラ9及びメモリ制御16が制御する。そしてステ
ップS12に進む。
After performing the image selection operation, the process proceeds to step S8, and the user issues a transfer instruction for a desired image. Next, in step S9, based on the settings in step S5 or step S6, it is checked whether or not there is a decoder compatible with the transfer destination device. If there is a decoder compatible with the transfer destination device, the process proceeds to step S10 to transfer the compressed video data reproduced from the recording medium.
The system controller 9 and the memory controller 16 control to output and transfer the video data read from the memory 15 in response to the transfer command in step S8. Then, the process proceeds to step S12.

【0207】一方、転送先機器に対応可能なデコーダが
ない場合にはステップS11に進み、伸張回路7で伸張
した後の非圧縮の映像データを転送するため、ステップ
S8の転送指令に応じてメモリ13から読み出した映像
データを出力、転送するようにシステムコントローラ9
及びメモリ制御14が制御する。
On the other hand, if there is no decoder that can be supported by the transfer destination device, the flow advances to step S11 to transfer the uncompressed video data expanded by the expansion circuit 7, so that the memory is transferred in accordance with the transfer command in step S8. System controller 9 so as to output and transfer the video data read from
And a memory control 14.

【0208】なおここでの映像データの転送は1394
シリアルバスを用いて、アイソクロナス(またはアシン
クロナス)転送方式でパケット転送される。
The transfer of the video data here is 1394
The packet is transferred by an isochronous (or asynchronous) transfer method using a serial bus.

【0209】そしてステップS12において、所望の映
像データについて転送が終了すると、次のステップS1
3で他の映像データの転送を行いたいか否かの選択を行
なう。他の映像を選択するときはステップS7に戻り、
映像選択からの処理を繰り返し行なう。
When the transfer of the desired video data is completed in step S12, the next step S1
In step 3, a selection is made as to whether or not to transfer other video data. When selecting another image, return to step S7.
The processing from the video selection is repeated.

【0210】一方、ステップS13で他の映像を選択し
ないときはステップS14に進み、転送先機器を変更し
て、映像データ転送モードを続行するか否かを判断す
る。転送先を他の機器に変更して映像データ転送を行う
ときはステップS1の転送先指定に戻り、以上の処理を
繰り返し行なう。
On the other hand, if another video is not selected in step S13, the flow advances to step S14 to determine whether to change the destination device and continue the video data transfer mode. When performing video data transfer by changing the transfer destination to another device, the process returns to the transfer destination designation in step S1, and the above processing is repeated.

【0211】一方、ステップS14で転送先を変更して
モード続行する必要が無いときは、当該処理を終了す
る。そして、常時、指示された映像データ転送モード実
行に伴って図20の処理に移行し、ステップS1よりの
処理を行う。
On the other hand, when it is not necessary to change the transfer destination and continue the mode in step S14, the process is terminated. Then, the process always proceeds to the process of FIG. 20 in accordance with the execution of the instructed video data transfer mode, and performs the process from step S1.

【0212】次に、図21を参照してイーサネットプロ
トコルの概要を説明する。図21はイーサネットプロト
コルの概要を階層構造で示した図である。なお、イーサ
ネットプロトコルはすでに周知の技術であり詳細の説明
は省略する。
Next, an outline of the Ethernet protocol will be described with reference to FIG. FIG. 21 is a diagram showing an outline of the Ethernet protocol in a hierarchical structure. The Ethernet protocol is a well-known technology, and a detailed description thereof will be omitted.

【0213】最下層のフィジカル層501ではネットワ
ークに接続するためのコネクタの物理的な規定や電気的
な規定を定めており、10ベース(Base)T,10ベー
ス2,10ベース5などが規定されている、この規定に
基づき本実施の形態例の図19のイーサネットI/F7
0も構成されている。
In the lowermost physical layer 501, physical and electrical specifications of connectors for connecting to a network are defined, and 10 base (T), 10 base 2, 10 base 5 and the like are specified. According to this rule, the Ethernet I / F 7 of FIG.
0 is also configured.

【0214】次のデータリンク層502では、イーサネ
ットアドレスであるMacアドレスを設定しネットワー
ク上のユニークな情報通信により機器を特定することが
できるようなプロトコルの規定であり、イーサネットI
/F70も固有のMacアドレス設定している。また、
ここでは通信するデータのパケット形式を規定してお
り、例えばIEEE802.3での規定するパケット形
式は標準的に使用されている。
In the next data link layer 502, a MAC address, which is an Ethernet address, is set, and a protocol is defined so that devices can be specified by unique information communication on the network.
/ F70 also sets a unique Mac address. Also,
Here, the packet format of the data to be communicated is specified. For example, the packet format specified in IEEE802.3 is used as a standard.

【0215】次のネットワーク層503では、上位層か
らのデータを前述のパケット形式に合わせたデータ形式
に変換し、データの損傷を回復するための対処方法が規
定されている。この層までが通常ハードウエアにより構
成されており本実施の形態例でも複数のチップセットに
より構成されている。
[0215] In the next network layer 503, a measure for converting data from the upper layer into a data format conforming to the above-mentioned packet format and recovering data damage is specified. The layers up to this layer are usually constituted by hardware, and also in this embodiment are constituted by a plurality of chip sets.

【0216】次のソフトウエア層の最下層であるトラン
スポート層504では、ネットワーク上の論理的なアド
レスを管理し、通常IPアドレスで規定される機器のア
ドレスが設定される。また、通信されるパケットを監視
し欠落したパケットの再送の処理などを行う。これらの
処理は通常ソフトウエアにより行われ、本実施の形態例
でも図19に装備したイーサネットアプリケーションソ
フトにより実行される。
[0216] The transport layer 504, which is the lowest layer of the next software layer, manages logical addresses on the network, and sets the addresses of devices normally specified by IP addresses. It also monitors the packets to be communicated and performs processing for retransmitting the missing packets. These processes are usually performed by software, and also in this embodiment, are executed by the Ethernet application software provided in FIG.

【0217】次のセッション層505では、エンド・ツ
ー・エンドのやり取りを管理し、アプリケーション間の
通信の同期処理も行っている、本実施の形態例では図2
2に示すようなアプリケーション種別(図18に示した
記録再生装置101、プリンタA102、プリンタB1
04など)を宣言している。
The next session layer 505 manages end-to-end exchanges, and also performs communication synchronization processing between applications. In the present embodiment, FIG.
2 (the recording / reproducing apparatus 101, the printer A102, the printer B1 shown in FIG. 18).
04 etc.).

【0218】次のアプリケーション層506では、図1
9に示すPC103に装備したアプリケーションソフト
が動作し、セッション層とのインターフェースを行って
いる。
In the next application layer 506, FIG.
Application software installed in the PC 103 shown in FIG. 9 operates to interface with the session layer.

【0219】図22はイーサネット上で通信されるパケ
ット形式の概要を示している。左右両側のフレームプリ
アンブル(Frame Preamble)511は、パケットの前後
に必ず必要なヘッダーおよびトレイラーである。
FIG. 22 shows an outline of a packet format communicated on the Ethernet. Frame preambles 511 on both the left and right sides are a header and a trailer that are always required before and after a packet.

【0220】DH512は、データリンクレイヤで作成
されるヘッダーを含むデータである。NH513は、ネ
ットワークレイヤで作成されるヘッダーを含むデータで
ある。TH514は、トランスポートレイヤで作成され
るヘッダーを含むデータである。
[0220] DH512 is data including a header created in the data link layer. The NH 513 is data including a header created in the network layer. TH 514 is data including a header created in the transport layer.

【0221】また、SH151は、セッションレイヤで
作成されるヘッダーを含むデータであり前述のアプリケ
ーション種別情報も含まれる。なおこのアプリケーショ
ン種別は上述した図3で示したようなIEEE1394
バスに接続されているすべての機器の情報を持つROM
からノード番号、機器名称などの情報を読み出すことに
より容易に設定できる。
The SH 151 is data including a header created in the session layer, and includes the above-described application type information. Note that this application type is IEEE1394 as shown in FIG.
ROM with information on all devices connected to the bus
By reading information such as a node number and a device name from, it can be easily set.

【0222】AH517は、アプリケーションレイヤで
作成されるヘッダーを含むデータでありアプリケーショ
ンデータも含まれている。518はアプリケーションデ
ータである。519はNTである。また、520はDT
である。
AH 517 is data including a header created in the application layer, and also includes application data. 518 is application data. 519 is NT. 520 is DT
It is.

【0223】以上説明したように本実施の形態例によれ
ば、PCを含むローカルなネットワークをIEEE13
94プロトコルにより各周辺機器間でデータ通信を行な
うことができ、更に、PC外部との大規模なネットワー
クをイーサネットプロトコルによりPCおよびその周辺
機器とのデータ通信が可能となる。
As described above, according to the present embodiment, the local network including the PC is connected to the IEEE 13
Data communication can be performed between the peripheral devices according to the 94 protocol, and data communication with the PC and its peripheral devices can be performed using the Ethernet protocol over a large-scale network with the outside of the PC.

【0224】即ち、従来からあるデジタルI/Fの問題
点を極力解消した、各デジタル機器に統一されて搭載さ
れるような汎用型デジタルI/F(例えばIEEE13
94−1995ハイパフォーマンス・シリアルバス)を
用いて、PCやプリンタ、その他周辺装置、またデジタ
ルカメラやデジタルVTRの記録再生装置等をネットワ
ーク構成で接続したときのきわめてローカルな機器間デ
ータ通信を可能とし、さらにPCを介しての大規模なネ
ットワークとPC周辺機器との通信を可能とすることが
できる。
That is, a general-purpose digital I / F (for example, IEEE13
94-1995 high-performance serial bus), enabling extremely local inter-device data communication when a PC, a printer, other peripheral devices, a digital camera or a digital VTR recording / reproducing device, etc. are connected in a network configuration. Furthermore, communication between a large-scale network and PC peripheral devices via a PC can be enabled.

【0225】なお、以上の説明した本実施の形態例で
は、記録媒体に圧縮記録した映像データを用いて説明し
ているが、記録した映像に限らず、撮像装置より入力し
た映像データであって記録処理が行われていない圧縮映
像データを用いたものであってもよい。
In the present embodiment described above, the description is made using the video data compressed and recorded on the recording medium. However, the present invention is not limited to the recorded video, but may be video data input from an imaging device. It may use compressed video data for which recording processing has not been performed.

【0226】また、以上で説明した記録再生装置は主と
して動画及び静止画の映像データに関したものであり、
カメラ一体型VTRやデジタルカメラを意識したもので
あるが、他の記録または再生装置であるDVDやMD,
CD,PCなどのデジタル機器であってもよく、扱うデ
ータも映像データに限らず音声データや各種ファイルデ
ータなどであっても構わない。
The recording / reproducing apparatus described above mainly relates to video data of moving images and still images.
Although it is conscious of a camera-integrated VTR and a digital camera, other recording or reproducing devices such as DVD and MD
A digital device such as a CD or a PC may be used, and data to be handled is not limited to video data but may be audio data or various file data.

【0227】[他の実施形態例]なお、本発明は、複数の
機器(例えばホストコンピュータ,インタフェイス機
器,リーダ,プリンタなど)から構成されるシステムに
適用しても、一つの機器からなる装置(例えば、複写
機,ファクシミリ装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system constituted by a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus comprising one device (For example, a copying machine, a facsimile machine, etc.).

【0228】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0229】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0230】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0231】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0232】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0233】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

【0234】[0234]

【発明の効果】以上説明したように、本発明によれば、
外部ネットワークに接続されたPCなどのホスト機器
と、ホスト機器に接続されるデジタル周辺機器が外部ネ
ットワークと通信できることにより、通常全ての機器を
ネットワーク接続するより安易にそして安価に構成する
ことができる。
As described above, according to the present invention,
Since a host device such as a PC connected to the external network and a digital peripheral device connected to the host device can communicate with the external network, it is possible to configure all the devices more easily and cheaply than connecting them to the network.

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

【図1】1394シリアルバスを用いて接続されたネッ
トワーク構成の一例を示す図である。
FIG. 1 is a diagram illustrating an example of a network configuration connected using a 1394 serial bus.

【図2】1394シリアルバスの構成要素を表す図であ
る。
FIG. 2 is a diagram illustrating components of a 1394 serial bus.

【図3】1394シリアルバスのアドレスマップを示す
図である。
FIG. 3 is a diagram showing an address map of a 1394 serial bus.

【図4】1394シリアルバスケーブルの断面図であ
る。
FIG. 4 is a sectional view of a 1394 serial bus cable.

【図5】1394シリアルバスで採用されている、DS
−リンク符号化方式でのデータ転送タイミングを示す図
である。
FIG. 5 shows a DS adopted in a 1394 serial bus.
FIG. 6 is a diagram illustrating data transfer timing in a link encoding scheme.

【図6】DS−リンク符号化方式でのバスリセットから
ノードIDの決定までの手順を示すフローチャートであ
る。
FIG. 6 is a flowchart showing a procedure from a bus reset to a determination of a node ID in the DS-link encoding method.

【図7】DS−リンク符号化方式でのバスリセットにお
ける親子関係決定の手順を示すフローチャートである。
FIG. 7 is a flowchart showing a procedure for determining a parent-child relationship in a bus reset in the DS-link encoding method.

【図8】DS−リンク符号化方式でのバスリセットにお
ける親子関係決定後から、ノードID決定までの手順を
示すフローチャートである。
FIG. 8 is a flowchart showing a procedure from determination of a parent-child relationship in a bus reset in the DS-link encoding method to determination of a node ID.

【図9】1394シリアルバスで各ノードのIDを決定
するためのトポロジ設定を説明するための図である。
FIG. 9 is a diagram illustrating a topology setting for determining an ID of each node on a 1394 serial bus.

【図10】1394シリアルバスでのアービトレーショ
ンにおけるバス使用要求を説明するための図である。
FIG. 10 is a diagram for explaining a bus use request in arbitration on a 1394 serial bus.

【図11】1394シリアルバスでのアービトレーショ
ンにおけるバス使用許可を説明するための図である。
FIG. 11 is a diagram for explaining bus use permission in arbitration on a 1394 serial bus.

【図12】1394シリアルバスでのアービトレーショ
ンを説明するためのフローチャートである。
FIG. 12 is a flowchart illustrating arbitration on a 1394 serial bus.

【図13】1394シリアルバスでのアシンクロナス転
送の時間的な状態遷移を表す基本的な構成図である。
FIG. 13 is a basic configuration diagram illustrating a temporal state transition of asynchronous transfer on a 1394 serial bus.

【図14】1394シリアルバスでのアシンクロナス転
送のパケットのフォーマットの一例の図である。
FIG. 14 is a diagram illustrating an example of a format of an asynchronous transfer packet on a 1394 serial bus.

【図15】1394シリアルバスでのアイソクロナス転
送の時間的な状態遷移を表す基本的な構成図である。
FIG. 15 is a basic configuration diagram showing a temporal state transition of isochronous transfer on the 1394 serial bus.

【図16】1394シリアルバスでのアイソクロナス転
送のパケットのフォーマットを説明するための図であ
る。
FIG. 16 is a diagram for explaining a format of an isochronous transfer packet on a 1394 serial bus.

【図17】1394シリアルバスで実際のバス上を転送
されるパケットの様子を示したバスサイクルの一例を示
す図である。
FIG. 17 is a diagram illustrating an example of a bus cycle showing a state of a packet transferred on an actual bus in a 1394 serial bus.

【図18】本発明に係る一発明の実施の形態例のIEE
E1394シリアルバスにより互いに接続されるシステ
ム構成例を示す図である。
FIG. 18 is an IEEE of the embodiment of the present invention according to the present invention.
FIG. 1 is a diagram illustrating an example of a system configuration connected to each other by an E1394 serial bus.

【図19】本実施の形態例の図18に示すシステムの詳
細ブロック構成図である。
FIG. 19 is a detailed block diagram of the system shown in FIG. 18 of the present embodiment.

【図20】本実施の形態例の記録再生装置の動作を示す
フローチャートである。
FIG. 20 is a flowchart showing an operation of the recording / reproducing apparatus of the embodiment.

【図21】本実施の形態例のイーサネットプロトコルを
説明する階層構造図である。
FIG. 21 is a hierarchical structure diagram illustrating an Ethernet protocol according to the present embodiment.

【図22】本実施の形態例のイーサネット通信のパケッ
ト構成を示す図である。
FIG. 22 is a diagram showing a packet configuration of Ethernet communication according to the embodiment.

【図23】従来のデジタルカメラ、PC及びプリンタを
接続したデータ処理システムのブロック構成を示す図で
ある。
FIG. 23 is a diagram illustrating a block configuration of a data processing system in which a conventional digital camera, a PC, and a printer are connected.

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

8 記録再生系 9 システムコントローラ 13 メモリ 14 メモリ制御 15 メモリ 16 メモリ制御 21 復号化回路 26 プリンタコントローラ 63 MPU 64 復号化回路 101 記録再生装置 102 プリンタ装置 103 PC(パーソナルコンピュータ) Reference Signs List 8 recording / reproduction system 9 system controller 13 memory 14 memory control 15 memory 16 memory control 21 decoding circuit 26 printer controller 63 MPU 64 decoding circuit 101 recording / reproducing device 102 printer device 103 PC (personal computer)

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 通信機器が接続されたネットワークと、 前記ネットワークに接続されたホスト機器と、 前記ホスト機器と前記ネットワークと異なるデジタル通
信網で接続された複数の周辺機器とで構成されるデータ
通信システムであって、 前記ネットワークに接続された通信機器は、前記ネット
ワーク及び前記ホスト機器を介して前記周辺機器と通信
可能とすることを特徴とするデータ通信システム。
1. A data communication system comprising: a network to which communication devices are connected; a host device connected to the network; and a plurality of peripheral devices connected to the host device and a digital communication network different from the network. A data communication system, wherein a communication device connected to the network can communicate with the peripheral device via the network and the host device.
【請求項2】 前記ネットワークと異なるデジタル通信
網は、IEEE1394ハイパフォーマンス・シリアル
バスを用いて前記ホスト機器と前記複数の周辺機器とが
接続されているデジタル通信網であることを特徴とする
請求項1記載のデータ通信システム。
2. The digital communication network different from the network is a digital communication network in which the host device and the plurality of peripheral devices are connected by using an IEEE 1394 high-performance serial bus. A data communication system as described.
【請求項3】 前記他の通信機器は、前記複数の周辺機
器との通信の開始に先だって前記複数の周辺機器に自己
の有する機能を通知して自己で処理可能なデータを通信
する様に制御することを特徴とする請求項1または請求
項2に記載の通信システム。
3. The other communication device controls the plurality of peripheral devices so as to notify the plurality of peripheral devices of a function possessed by itself and communicate data that can be processed by the other communication device before starting communication with the plurality of peripheral devices. The communication system according to claim 1, wherein the communication is performed.
【請求項4】 前記自己の有する機能がデータの圧縮、
伸張機能であることを特徴とする請求項3記載の通信シ
ステム。
4. The data processing apparatus according to claim 1, wherein the function of the self is data compression,
4. The communication system according to claim 3, wherein the communication system is a decompression function.
【請求項5】 前記ネットワークはイーサネットである
ことを特徴とする請求項1乃至請求項4のいずれかに記
載のデータ通信システム。
5. The data communication system according to claim 1, wherein the network is an Ethernet.
【請求項6】 通信機器が接続されたネットワークと、
前記ネットワークに接続されたホスト機器と、前記ホス
ト機器と前記ネットワークと異なるデジタル通信網で接
続された複数の周辺機器とで構成されるデータ通信シス
テムにおけるデータ通信方法であって、 前記ネットワークに接続された通信機器が前記ネットワ
ーク及び前記ホスト機器を介して前記周辺機器と通信可
能とするために、前記他の通信機器は、前記複数の周辺
機器との通信の開始に先だって自己の有する機能を通知
して自己で処理可能なデータを通信する様に制御するこ
とを特徴とするデータ通信方法。
6. A network to which communication devices are connected,
A data communication method in a data communication system including a host device connected to the network, and a plurality of peripheral devices connected to a digital communication network different from the network, the data communication method comprising: In order for the communication device to be able to communicate with the peripheral device via the network and the host device, the other communication device notifies its own function prior to starting communication with the plurality of peripheral devices. A data communication method for controlling data that can be processed by itself.
【請求項7】 前記ネットワークと異なるデジタル通信
網は、IEEE1394ハイパフォーマンス・シリアル
バスを用いて前記ホスト機器と前記複数の周辺機器とが
接続されているデジタル通信網であることを特徴とする
請求項6記載のデータ通信方法。
7. The digital communication network different from the network is a digital communication network in which the host device and the plurality of peripheral devices are connected by using an IEEE 1394 high performance serial bus. Data communication method described.
【請求項8】 前記自己の有する機能がデータの圧縮、
伸張機能であることを特徴とする請求項6又は請求項7
記載のデータ通信方法。
8. The data processing apparatus according to claim 1, wherein the function of the data compression is:
8. The extension function according to claim 6, wherein the extension function is provided.
Data communication method described.
【請求項9】 前記ネットワークはイーサネットである
ことを特徴とする請求項6乃至請求項8のいずれかに記
載のデータ通信方法。
9. The data communication method according to claim 6, wherein the network is an Ethernet.
【請求項10】 前記請求項1乃至請求項9のいずれか
1項に記載の機能を実現するコンピュータプログラム
列。
10. A computer program sequence for realizing the function according to claim 1. Description:
【請求項11】 前記請求項1乃至請求項9のいずれか
1項に記載の機能を実現するコンピュータプログラムを
記憶したコンピュータ可読記録媒体。
11. A computer-readable recording medium storing a computer program for realizing the functions according to claim 1. Description:
JP11167395A 1999-06-14 1999-06-14 Data communication system and data communication method Withdrawn JP2000358033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11167395A JP2000358033A (en) 1999-06-14 1999-06-14 Data communication system and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11167395A JP2000358033A (en) 1999-06-14 1999-06-14 Data communication system and data communication method

Publications (1)

Publication Number Publication Date
JP2000358033A true JP2000358033A (en) 2000-12-26

Family

ID=15848914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11167395A Withdrawn JP2000358033A (en) 1999-06-14 1999-06-14 Data communication system and data communication method

Country Status (1)

Country Link
JP (1) JP2000358033A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011023009A (en) * 2004-03-10 2011-02-03 Qualcomm Inc High data rate interface apparatus and method
JP2012137878A (en) * 2010-12-24 2012-07-19 Canon Imaging Systems Inc Client device, device control device, control method thereof and device control system
US8539119B2 (en) 2004-11-24 2013-09-17 Qualcomm Incorporated Methods and apparatus for exchanging messages having a digital data interface device message format
US8606946B2 (en) 2003-11-12 2013-12-10 Qualcomm Incorporated Method, system and computer program for driving a data signal in data interface communication data link
US8611215B2 (en) 2005-11-23 2013-12-17 Qualcomm Incorporated Systems and methods for digital data transmission rate control
US8630305B2 (en) 2004-06-04 2014-01-14 Qualcomm Incorporated High data rate interface apparatus and method
US8635358B2 (en) 2003-09-10 2014-01-21 Qualcomm Incorporated High data rate interface
US8645566B2 (en) 2004-03-24 2014-02-04 Qualcomm Incorporated High data rate interface apparatus and method
US8650304B2 (en) 2004-06-04 2014-02-11 Qualcomm Incorporated Determining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system
US8667363B2 (en) 2004-11-24 2014-03-04 Qualcomm Incorporated Systems and methods for implementing cyclic redundancy checks
US8670457B2 (en) 2003-12-08 2014-03-11 Qualcomm Incorporated High data rate interface with improved link synchronization
US8681817B2 (en) 2003-06-02 2014-03-25 Qualcomm Incorporated Generating and implementing a signal protocol and interface for higher data rates
US8687658B2 (en) 2003-11-25 2014-04-01 Qualcomm Incorporated High data rate interface with improved link synchronization
US8694663B2 (en) 2001-09-06 2014-04-08 Qualcomm Incorporated System for transferring digital data at a high rate between a host and a client over a communication path for presentation to a user
US8694652B2 (en) 2003-10-15 2014-04-08 Qualcomm Incorporated Method, system and computer program for adding a field to a client capability packet sent from a client to a host
US8692838B2 (en) 2004-11-24 2014-04-08 Qualcomm Incorporated Methods and systems for updating a buffer
US8692839B2 (en) 2005-11-23 2014-04-08 Qualcomm Incorporated Methods and systems for updating a buffer
US8705571B2 (en) 2003-08-13 2014-04-22 Qualcomm Incorporated Signal interface for higher data rates
US8705521B2 (en) 2004-03-17 2014-04-22 Qualcomm Incorporated High data rate interface apparatus and method
US8723705B2 (en) 2004-11-24 2014-05-13 Qualcomm Incorporated Low output skew double data rate serial encoder
US8730069B2 (en) 2005-11-23 2014-05-20 Qualcomm Incorporated Double data rate serial encoder
US8745251B2 (en) 2000-12-15 2014-06-03 Qualcomm Incorporated Power reduction system for an apparatus for high data rate signal transfer using a communication protocol
US8756294B2 (en) 2003-10-29 2014-06-17 Qualcomm Incorporated High data rate interface
US8873584B2 (en) 2004-11-24 2014-10-28 Qualcomm Incorporated Digital data interface device

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8745251B2 (en) 2000-12-15 2014-06-03 Qualcomm Incorporated Power reduction system for an apparatus for high data rate signal transfer using a communication protocol
US8812706B1 (en) 2001-09-06 2014-08-19 Qualcomm Incorporated Method and apparatus for compensating for mismatched delays in signals of a mobile display interface (MDDI) system
US8694663B2 (en) 2001-09-06 2014-04-08 Qualcomm Incorporated System for transferring digital data at a high rate between a host and a client over a communication path for presentation to a user
US8681817B2 (en) 2003-06-02 2014-03-25 Qualcomm Incorporated Generating and implementing a signal protocol and interface for higher data rates
US8705579B2 (en) 2003-06-02 2014-04-22 Qualcomm Incorporated Generating and implementing a signal protocol and interface for higher data rates
US8700744B2 (en) 2003-06-02 2014-04-15 Qualcomm Incorporated Generating and implementing a signal protocol and interface for higher data rates
US8705571B2 (en) 2003-08-13 2014-04-22 Qualcomm Incorporated Signal interface for higher data rates
US8635358B2 (en) 2003-09-10 2014-01-21 Qualcomm Incorporated High data rate interface
US8719334B2 (en) 2003-09-10 2014-05-06 Qualcomm Incorporated High data rate interface
US8694652B2 (en) 2003-10-15 2014-04-08 Qualcomm Incorporated Method, system and computer program for adding a field to a client capability packet sent from a client to a host
US8756294B2 (en) 2003-10-29 2014-06-17 Qualcomm Incorporated High data rate interface
US8606946B2 (en) 2003-11-12 2013-12-10 Qualcomm Incorporated Method, system and computer program for driving a data signal in data interface communication data link
US8687658B2 (en) 2003-11-25 2014-04-01 Qualcomm Incorporated High data rate interface with improved link synchronization
US8670457B2 (en) 2003-12-08 2014-03-11 Qualcomm Incorporated High data rate interface with improved link synchronization
US8625625B2 (en) 2004-03-10 2014-01-07 Qualcomm Incorporated High data rate interface apparatus and method
US8730913B2 (en) 2004-03-10 2014-05-20 Qualcomm Incorporated High data rate interface apparatus and method
US8669988B2 (en) 2004-03-10 2014-03-11 Qualcomm Incorporated High data rate interface apparatus and method
JP2011023009A (en) * 2004-03-10 2011-02-03 Qualcomm Inc High data rate interface apparatus and method
US8705521B2 (en) 2004-03-17 2014-04-22 Qualcomm Incorporated High data rate interface apparatus and method
US8645566B2 (en) 2004-03-24 2014-02-04 Qualcomm Incorporated High data rate interface apparatus and method
US8630318B2 (en) 2004-06-04 2014-01-14 Qualcomm Incorporated High data rate interface apparatus and method
US8630305B2 (en) 2004-06-04 2014-01-14 Qualcomm Incorporated High data rate interface apparatus and method
US8650304B2 (en) 2004-06-04 2014-02-11 Qualcomm Incorporated Determining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system
US8699330B2 (en) 2004-11-24 2014-04-15 Qualcomm Incorporated Systems and methods for digital data transmission rate control
US8692838B2 (en) 2004-11-24 2014-04-08 Qualcomm Incorporated Methods and systems for updating a buffer
US8723705B2 (en) 2004-11-24 2014-05-13 Qualcomm Incorporated Low output skew double data rate serial encoder
US8667363B2 (en) 2004-11-24 2014-03-04 Qualcomm Incorporated Systems and methods for implementing cyclic redundancy checks
US8539119B2 (en) 2004-11-24 2013-09-17 Qualcomm Incorporated Methods and apparatus for exchanging messages having a digital data interface device message format
US8873584B2 (en) 2004-11-24 2014-10-28 Qualcomm Incorporated Digital data interface device
US8611215B2 (en) 2005-11-23 2013-12-17 Qualcomm Incorporated Systems and methods for digital data transmission rate control
US8692839B2 (en) 2005-11-23 2014-04-08 Qualcomm Incorporated Methods and systems for updating a buffer
US8730069B2 (en) 2005-11-23 2014-05-20 Qualcomm Incorporated Double data rate serial encoder
JP2012137878A (en) * 2010-12-24 2012-07-19 Canon Imaging Systems Inc Client device, device control device, control method thereof and device control system

Similar Documents

Publication Publication Date Title
JP2000358033A (en) Data communication system and data communication method
JP2000050241A (en) Image-pickup device system, its control method, image- pickup device, controller, control method of the image- pickup device, control method of the controller and storage medium
JP2001306428A (en) Network apparatus, network system, communication method, and recording medium
JP3293779B2 (en) Signal processing device and control method thereof
JP3630971B2 (en) Data communication method, apparatus, system, and storage medium
JP4072215B2 (en) Image processing apparatus, control method therefor, and image processing system
JPH10285240A (en) Data communication equipment and its method, data communication system and storage medium
US20060017811A1 (en) Communication system, electronic apparatus, control apparatus, and computer-readable storage medium
JP3599581B2 (en) Electronic device and computer-readable storage medium
JP3501613B2 (en) Data communication system, print system and data communication device
JP3774540B2 (en) Data transfer method, image processing system and apparatus
JPH10229490A (en) Image-fetching device printing system and printing method, and printer
JP4401446B2 (en) Digital camera and control method thereof
JP3890124B2 (en) Data communication system, data communication method, data communication node, and recording medium
JPH11227286A (en) Print system and print control method
JP2000138924A (en) Digital device, image pickup device, terminal, communication system and storage medium
JP3495879B2 (en) Data processing method, data processing device, and computer-readable recording medium
JP2002064511A (en) Data communication system, electronic device and method for controlling them
JP2006050653A (en) Data communication apparatus, method, and system, and storage medium
JP2000196873A (en) Information processor, information processing system, method for them, and storage medium
JP3862349B2 (en) Information processing system, image processing system and method thereof, information processing apparatus, and computer-readable memory
JP2000138860A (en) Image pickup device, controller for image pickup device and computer-readable storage medium
JP2002144681A (en) Information processor and processing method, and information processing system and storage medium
JP2001308950A (en) Electronic device, control method for the electronic device and computer-readable storage medium
JPH10304007A (en) Data processing method, data processing unit, printer and storage medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905