JP2006042395A - Imaging apparatus, control method thereof, and storage medium - Google Patents

Imaging apparatus, control method thereof, and storage medium Download PDF

Info

Publication number
JP2006042395A
JP2006042395A JP2005300821A JP2005300821A JP2006042395A JP 2006042395 A JP2006042395 A JP 2006042395A JP 2005300821 A JP2005300821 A JP 2005300821A JP 2005300821 A JP2005300821 A JP 2005300821A JP 2006042395 A JP2006042395 A JP 2006042395A
Authority
JP
Japan
Prior art keywords
node
data
bus
personal computer
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005300821A
Other languages
Japanese (ja)
Inventor
Katahide Hirasawa
方秀 平沢
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 JP2005300821A priority Critical patent/JP2006042395A/en
Publication of JP2006042395A publication Critical patent/JP2006042395A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve convenience when instructing imaging conditions. <P>SOLUTION: An imaging apparatus comprises a storage means for storing control data comprised of combination of setting information of the imaging apparatus corresponding to various photographing conditions and a control means for controlling an imaging unit according to the control data stored in the storage means. This imaging apparatus includes a display means that displays model images corresponding to photographing conditions and performs guidance for a user to select a desired model image, the control means being configured to control the imaging unit in accordance with the control data corresponding to the photographing conditions of the selected model image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ビデオカメラ等の撮像装置で撮影された画像をプリンタ等の印刷装置で印刷する場合のデータ通信制御に関する。   The present invention relates to data communication control in a case where an image taken by an imaging device such as a video camera is printed by a printing device such as a printer.

従来、ハードディスク、プリンタ等のパーソナルコンピュータ(以下、パソコンという)の周辺機器は、デジタルインタフェース(以下、デジタルI/Fという)であるSCSI(SmallComputerSystemInterface)等に代表される小型コンピュータ用の汎用型インタフェースによりパソコンと接続されて、データ通信が行われている。   Conventionally, peripheral devices of personal computers (hereinafter referred to as personal computers) such as hard disks and printers have a general-purpose interface for small computers represented by SCSI (Small Computer System Interface) which is a digital interface (hereinafter referred to as digital I / F). Data communication is being performed with a PC connected.

また、近年、デジタルカメラやデジタルビデオカメラ等の電子的に撮像処理を行うカメラも、パソコンへの画像入力用の周辺装置として活用されている。すなわち、デジタルカメラやビデオカメラで撮影した静止画や動画、それに伴なう音声をパソコンへ取込み、ハードディスクに記憶したり、またはパソコンで編集した後、プリンタでカラープリントするといった分野の技術が進み、ユーザーも急速に増えてきている。この技術では、カメラからパソコンに画像データを取込み、その画像データをパソコンからプリンタやハードディスクヘ出力する際に、上記のSCSI等を経由してデータ通信がされるものである。この場合、データ量の多い画像データを転送するので、デジタルI/Fには転送データレートが高く、かつ汎用性のあるものが必要とされる。   In recent years, cameras that perform image capturing processing electronically, such as digital cameras and digital video cameras, are also used as peripheral devices for inputting images to a personal computer. In other words, the technology in the field of taking still images and videos taken with digital cameras and video cameras, and the accompanying audio to a personal computer, storing them on a hard disk, or editing them on a personal computer and then printing them with a printer, Users are also increasing rapidly. In this technique, when image data is taken from a camera to a personal computer and the image data is output from the personal computer to a printer or hard disk, data communication is performed via the SCSI or the like. In this case, since image data having a large amount of data is transferred, a digital I / F is required to have a high transfer data rate and versatility.

図33に、従来のデジタルカメラとパソコンとプリンタを接続したときのシステム構成を示す。図33において、31はデジタルカメラ、32はパソコン、33はプリンタである。さらに、34はデジタルカメラ31の記録部として機能するメモリ、35は画像データの復号化回路、36は画像処理部、37はD/Aコンバータ、38は表示部として機能するEVF、39はデジタルカメラ31のデジタルI/O部、40はパソコン32のデジタルカメラ31とのデジタルI/O部、41はキーボードやマウスなどの操作部、42は画像データの復号化回路、43はディスプレイ、44はハードディスク装置、45はRAM等のメモリ、46は演算処理部のMPU、47はPCIバス、48はデジタルI/FのSCSIインタフェース(ボード)、49はパソコン32とSCSIケーブルで繋がったプリンタ33のSCSIインタフェース、50はメモリ、61はプリンタヘッド、52はプリンタ制御部のプリンタコントローラ、53はドライバである。   FIG. 33 shows a system configuration when a conventional digital camera, personal computer and printer are connected. In FIG. 33, 31 is a digital camera, 32 is a personal computer, and 33 is a printer. Further, 34 is a memory that functions as a recording unit of the digital camera 31, 35 is a decoding circuit for image data, 36 is an image processing unit, 37 is a D / A converter, 38 is an EVF that functions as a display unit, and 39 is a digital camera. 31 is a digital I / O unit, 40 is a digital I / O unit with the digital camera 31 of the personal computer 32, 41 is an operation unit such as a keyboard or mouse, 42 is a decoding circuit for image data, 43 is a display, 44 is a hard disk Device 45, memory such as RAM, 46 MPU of processing unit, 47 PCI bus, 48 SCSI interface (board) of digital I / F, 49 SCSI interface of printer 33 connected to personal computer 32 with SCSI cable , 50 is a memory, 61 is a printer head, 52 is a printer controller of the printer controller. Over La, 53 is a driver.

デジタルカメラ31で撮像した画像をパソコン32に取込み、パソコン32からプリンタ33ヘ出力するときの手順は、次のようになる。すなわち、デジタルカメラ31では、メモリ34に記憶されている画像データが読出されると、その画像データは復号化回路35で復号化され、表示するための画像処理が画像処理回路36でなされ、D/Aコンバータ37を経てEVF38で表示される。また、一方では、外部に出力するために、デジタルI/O部39からケーブルを伝わってパソコン32のデジタル1/O部40へ転送される。   The procedure for taking an image captured by the digital camera 31 into the personal computer 32 and outputting it from the personal computer 32 to the printer 33 is as follows. That is, in the digital camera 31, when image data stored in the memory 34 is read, the image data is decoded by the decoding circuit 35, and image processing for display is performed by the image processing circuit 36. Displayed on the EVF 38 via the / A converter 37. On the other hand, the digital I / O unit 39 transfers the cable to the digital 1 / O unit 40 of the personal computer 32 for output to the outside.

パソコン32内では、PCIバス47を相互伝送のバスとして、デジタルI/O部40から入力された画像データは、記憶する場合にはハードディスク44に記憶され、表示する場合には復号化回路42で復号化された後、表示画像データとしてメモリ46に記憶されて、ディスプレイ43でアナログ信号に変換されて表示される。パソコン32での編集時等における操作入力は操作部41から行い、パソコン32全体の制御はMPU46で行われる(例えば、特許文献1参照)。
特開平5−219422号公報
In the personal computer 32, image data input from the digital I / O unit 40 is stored in the hard disk 44 when stored using the PCI bus 47 as a mutual transmission bus, and is decoded by the decoding circuit 42 when displayed. After being decoded, it is stored in the memory 46 as display image data, converted into an analog signal on the display 43 and displayed. Operation input at the time of editing on the personal computer 32 is performed from the operation unit 41, and control of the entire personal computer 32 is performed by the MPU 46 (see, for example, Patent Document 1).
JP-A-5-219422

ここで、撮像条件を指示する際の利便性を向上させることが求められてきている。
そこで、本発明は、撮像条件を指示する際の利便性を向上させ得る撮像装置、撮像装置の制御方法、及び記憶媒体を提供することを目的とする。
Here, it has been demanded to improve convenience when instructing imaging conditions.
SUMMARY An advantage of some aspects of the invention is that it provides an imaging apparatus, a method for controlling the imaging apparatus, and a storage medium that can improve convenience when an imaging condition is designated.

上記課題を解決するため、本願発明は、異なる撮影条件別に対応させた撮像装置の設定情報の組合せからなる制御データを記憶する記憶手段と、該記憶手段に記憶された制御データに従って撮像部を制御する制御手段とを備えた撮像装置において、撮影条件別に対応するモデル画像を表示して、使用者に所望のモデル画像を選択させるための案内を行う表示手段を有し、前記制御手段は、選択されたモデル画像の撮影条件に対応する前記制御データに応じて前記撮像部を制御することを特徴とするものである。   In order to solve the above-described problems, the present invention provides a storage unit that stores control data including a combination of setting information of an imaging apparatus corresponding to different shooting conditions, and controls the imaging unit according to the control data stored in the storage unit. And a display unit that displays a model image corresponding to each shooting condition and guides a user to select a desired model image. The control unit includes: The imaging unit is controlled in accordance with the control data corresponding to the captured condition of the model image.

また、上記課題を解決するため、本願発明は、異なる撮影条件別に対応させた撮像装置の設定情報の組合せからなる制御データを記憶する記憶手段と、該記憶手段に記憶された制御データに従って撮像部を制御する制御手段を備えた撮像装置の制御方法において、撮影条件別に対応するモデル画像を表示して、使用者に所望のモデル画像を選択させるための案内を行う表示工程と、選択されたモデル画像の撮影条件に対応する前記制御データに応じて前記撮像部を制御する制御工程を備えることを特徴とするものである。   In order to solve the above-described problem, the present invention provides a storage unit that stores control data including a combination of setting information of an imaging apparatus corresponding to different shooting conditions, and an imaging unit according to the control data stored in the storage unit In a method for controlling an imaging apparatus including a control unit that controls a display, a display process for displaying a model image corresponding to each shooting condition and guiding a user to select a desired model image, and the selected model A control step of controlling the imaging unit in accordance with the control data corresponding to an image capturing condition is provided.

本発明によれば、撮影条件別に対応するモデル画像が表示され、使用者は、それらモデル画像を見て所望のモデル画像を選択するという単純な操作を行うだけで、所望のモデル画像に対応する撮影条件に従った撮影を実行させることができる。従って、撮像条件を指示する際の利便性を向上させることが可能となる。   According to the present invention, a model image corresponding to each shooting condition is displayed, and the user corresponds to the desired model image only by performing a simple operation of viewing the model image and selecting the desired model image. Shooting according to shooting conditions can be executed. Therefore, it is possible to improve convenience when instructing imaging conditions.

以下、本発明の実施の形態を図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明に係る撮像制御装置を適用したシステム環境を示す図であり、本システム環境は、IEEE(The Institute of Electrical and Electronic Engineers,Inc)1394のシリアルバスケーブル(以下、1394バスケーブルという)Cで各機器が接続されている。   FIG. 1 is a diagram showing a system environment to which an imaging control apparatus according to the present invention is applied. This system environment is a serial bus cable (hereinafter referred to as a 1394 bus cable) of IEEE (The Institute of Electrical and Electrical Engineers, Inc.) 1394. Each device is connected at C).

図1に示した101はTVモニタ装置、102はTVモニタ装置101と1394バスケーブルCで接続されたAVアンプであり、1394バスケーブルCで接続された種々の映像音声機器の中から特定の機器を選択し、その選択された機器からの映像音声データをTVモニタ101に転送する。   1, 101 is a TV monitor device, 102 is an AV amplifier connected to the TV monitor device 101 by a 1394 bus cable C, and a specific device is selected from various video / audio devices connected by the 1394 bus cable C. And the audio / video data from the selected device is transferred to the TV monitor 101.

103はAVアンプ102と1394バスケーブルCで接続されているパソコン、104はパソコン103と1394バスケーブルCで接続されているプリンタである。パソコン103は、1394バスケーブルCで接続された種々の映像機器からの画像を取込んで、プリンタ104によりプリントアウトすることも可能である。   A personal computer 103 is connected to the AV amplifier 102 via a 1394 bus cable C, and a printer 104 is connected to the personal computer 103 via a 1394 bus cable C. The personal computer 103 can also capture images from various video devices connected by the 1394 bus cable C and print them out by the printer 104.

105はプリンタ104と1394バスケーブルCで接続されている第1のデジタルVTR、106は第1のデジタルVTRと1394バスケーブルCで接続されている第2のデジタルVTR、107は第2のデジタルVTRと1394バスケーブルCで接続されているDVDプレーヤ、108はDVDプレーヤ107と1394バスケーブルCで接続されているCDプレーヤである。   Reference numeral 105 denotes a first digital VTR connected to the printer 104 and the 1394 bus cable C, reference numeral 106 denotes a second digital VTR connected to the first digital VTR and the 1394 bus cable C, and reference numeral 107 denotes a second digital VTR. And a DVD player 108 connected by the 1394 bus cable C, and a CD player 108 connected by the 1394 bus cable C.

なお、図1のネットワークは一例であり、TVモニタ101やCDプレーヤ108の先にさらに他の機器が接続された構成であってもよい。また、1394バスケーブルCで接続されている機器は、ハードディスク等の外部記憶装置や第2のCDプレーヤ,第2のDVDプレーヤ等でもよい。   The network in FIG. 1 is an example, and a configuration in which other devices are connected to the TV monitor 101 and the CD player 108 may be employed. The device connected by the 1394 bus cable C may be an external storage device such as a hard disk, a second CD player, a second DVD player, or the like.

ここで、本発明では、各機器間を接続するデジタルI/Fとして、IEEE1394シリアルバスを用いるので、IEEE1394シリアルバスについて予め詳細に説明しておく。   Here, in the present invention, since the IEEE 1394 serial bus is used as a digital I / F for connecting each device, the IEEE 1394 serial bus will be described in detail in advance.

[IEEE1394の技術の概要]
家庭用デジタルVTRやDVDの登場に伴なって、ビデオデータやオーディオデータなどの大量のデータをリアルタイムに転送する必要性が高まっている。このようにビデオデータやオーディオデータをリアルタイムで転送して、パソコンに取込んだり、その他のデジタル機器に転送するには、高速データ転送可能なインタフェースが必要になってくる。このような観点から開発されたインタフェースがIEEE1394−1995(ハイパフォーマンス・シリアルバス:1394シリアルバス)である。
[Technology overview of IEEE 1394]
With the advent of home digital VTRs and DVDs, the need to transfer large amounts of data such as video data and audio data in real time is increasing. As described above, in order to transfer video data and audio data in real time to be taken into a personal computer or transferred to other digital devices, an interface capable of high-speed data transfer is required. An interface developed from such a viewpoint is IEEE 1394-1995 (high performance serial bus: 1394 serial bus).

図2は、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は、具体的には、パソコン、デジタルVTR、DVD、デジタルカメラ、ハードディスク、モニタ等により構成される。   FIG. 2 shows an example of a network system configured using a 1394 serial bus. In this system, devices A, B, C, D, E, F, G, and H are provided. Between A-B, A-C, B-D, D-E, C-F, A 1394 serial bus twisted pair cable is connected between CG and CH. Specifically, these devices A to H are configured by a personal computer, a digital VTR, a DVD, a digital camera, a hard disk, a monitor, and the like.

各機器間の接続方式は、ディジーチェーン方式とノード分岐方式とを混在可能としたものであり、自由度の高い接続が可能である。また、各機器は各自固有のIDを有し、互いにIDを認識し合うことによって1394シリアルバスで接続された範囲において、1つのネットワークを構成している。各デジタル機器間をそれぞれ1本の1394シリアルバスケーブルで順次接続するだけで、各機器が中継機器としての役割を果たし、全体として1つのネットワークを構成するものである。また、1394シリアルバスの特徴でもあるPlug&Play機能により、ケーブルを機器に接続した時点で自動的に機器の認識や接続状況などを認識するようになっている。   As the connection method between the devices, the daisy chain method and the node branch method can be mixed, and a connection with a high degree of freedom is possible. Each device has a unique ID, and configures one network in a range connected by a 1394 serial bus by recognizing each other's ID. By simply connecting each digital device sequentially with one 1394 serial bus cable, each device serves as a relay device, and constitutes one network as a whole. The Plug & Play function, which is also a feature of the 1394 serial bus, automatically recognizes the device and the connection status when the cable is connected to the device.

また、図2に示したようなシステムにおいて、ネットワークからある機器が削除されたり、または新たに追加されたときは、自動的にバスリセットを行い、それまでのネットワーク構成をリセットした後に、新たなネットワークを再構築する。この機能によって、その時々のネットワークの構成を常時設定、認識することができる。   In the system shown in FIG. 2, when a device is deleted or newly added from the network, the bus is automatically reset, and after resetting the network configuration up to that point, a new device is added. Rebuild the network. This function makes it possible to always set and recognize the network configuration at that time.

また、データ転送速度は、100Mbps、200Mbps、400Mbpsの3種の転送速度を備えており、高速の転送速度を持つ機器が低速の転送速度をサポートして、互換をとるようになっている。データ転送モードとしては、コントロール信号などの非同期データ(Asynchronousデータ:以下、Asyncデータという)を転送するAsynchronous転送モード、リアルタイムなビデオデータやオーディオデータ等の同期データ(Isochronousデータ:以下、Isoデータという)を転送するIsochronous転送モードがある。このAsyncデータとIsoデータは、各サイクル(通常1サイクル125μS)の中において、サイクル開始を示すサイクル・スタート・パケット(CSP)の転送に続き、Isoデータの転送を優先しつつサイクル内で混在して転送される。   The data transfer rate includes three transfer rates of 100 Mbps, 200 Mbps, and 400 Mbps, and a device having a high transfer rate supports a low transfer rate so as to be compatible. As the data transfer mode, asynchronous data such as a control signal (Asynchronous data: hereinafter referred to as Async data) is transferred. Asynchronous transfer mode in which real-time video data or audio data is synchronized (Isochronous data: hereinafter referred to as Iso data). There is an isochronous transfer mode. The Async data and Iso data are mixed in the cycle while giving priority to the transfer of the Iso data following the transfer of the cycle start packet (CSP) indicating the start of the cycle in each cycle (usually one cycle of 125 μS). Forwarded.

次に、図3に1394シリアルバスの構成要素を示す。図3に示したように、1394シリアルバスは、全体としてレイヤ(階層)構造で構成されている。最もハード的なのが1394シリアルバスケーブルCであり、そのケーブルCのコネクタが接続されるコネクタポートがあり、その上位にハードウェアとしてのフィジカル・レイヤとリンク・レイヤがある。ハードウェア部は実質的なインターフェイスチップの部分であり、そのうちフィジカル・レイヤは符号化やコネクタ関連の制御等を行い、リンク・レイヤはパケット転送やサイクルタイムの制御等を行う。   Next, FIG. 3 shows components of the 1394 serial bus. As shown in FIG. 3, the 1394 serial bus has a layer structure as a whole. The most hardware is a 1394 serial bus cable C, which has a connector port to which a connector of the cable C is connected, and a physical layer and a link layer as hardware are located above it. The hardware part is a substantial interface chip part, of which the physical layer performs encoding and connector-related control, and the link layer performs packet transfer, cycle time control, and the like.

ファームウェア部のトランザクション・レイヤは、転送(トランザクション)すベきデータの管理を行い、リード/ライトの命令を出す。ファームウェア部のシリアルバスマネージメントは、ネットワークの構成を管理する部分であり、接続されている各機器の接続状祝やIDの管理を行う。これらハードウェアとファームウェアまでが、実質上の1394シリアルバスの構成である。また、ソフトウエア部のアプリケーション・レイヤは使用するソフトによって異なり、インタフェース上にどのようにデータを載せるかを規定する部分であり、AVプロトコルなどのプロトコルによって規定されている。   The transaction layer of the firmware unit manages data to be transferred (transaction) and issues a read / write command. The serial bus management of the firmware unit is a part that manages the network configuration, and manages the connection status and ID of each connected device. The hardware and firmware up to this is the actual configuration of the 1394 serial bus. The application layer of the software section differs depending on the software used, and is a part that defines how data is loaded on the interface, and is defined by a protocol such as the AV protocol.

次に、1394シリアルバスにおけるアドレス空間を図4に示す。1394シリアルバスに接続された各機器(ノード)には、64ビットの各ノード固有のアドレスを必ず持たせておく。そして、このアドレスをROMに格納しておくことで、自分や相手のノードアドレスを常時認識でき、相手を指定した通信も行える。1394シリアルバスのアドレッシングは、IEEE1212規格に準じた方式であり、アドレス設定は、最初の10ビットはバスの番号の指定用に利用され、次の6ビットはノード・ID番号の指定用に使用される。残りの48ビットは機器に与えられたアドレス幅になり、それぞれ固有のアドレス空間として使用できる。この固有のアドレス空間のうちの最後の28ビットには、固有データの領域として、各機器の識別符号や使用条件の指定情報などをセットする。   Next, an address space in the 1394 serial bus is shown in FIG. Each device (node) connected to the 1394 serial bus must have 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 itself and the other party, and to perform communication specifying the other party. The addressing of the 1394 serial bus is based on the IEEE1212 standard, and the address setting is used for specifying the bus number for the first 10 bits and for specifying the node ID number for the next 6 bits. The The remaining 48 bits are the address width given to the device, and each can be used as a unique address space. In the last 28 bits of this unique address space, an identification code of each device, specification information for use conditions, and the like are set as a unique data area.

次に、1394シリアルバスの特徴的な技術を、より詳細に説明する。   Next, a characteristic technique of the 1394 serial bus will be described in more detail.

[1394シリアルバスの電気的仕様]
図5は、1394シリアルバスケーブルCの断面図である。1394シリアルバスでは、接続ケーブル内に2組のツイストペア信号線が収納され、この他に電源ラインを収納することも可能である。これによって、電源を持たない機器や、故障により電圧低下した機器等にも電力の供給が可能になっている。また、簡易型の接続ケーブルでは、接続先の機器を限定した上で、電源ラインを設けていないものもある。電源線内を流れる電源電圧は、8〜40V、電流は最大電流DC1.5Aと規定されている。
[Electric specifications of 1394 serial bus]
FIG. 5 is a cross-sectional view of the 1394 serial bus cable C. In the 1394 serial bus, two pairs of twisted pair signal lines are accommodated in the connection cable, and in addition to this, a power supply line can be accommodated. As a result, it is possible to supply power to devices that do not have a power supply or devices whose voltage has dropped due to a failure. In addition, some simple connection cables are not provided with a power supply line after limiting devices to be connected. The power supply voltage flowing in the power supply line is specified as 8 to 40 V, and the current is specified as the maximum current DC1.5A.

[DS−Link符号化]
次に、1394シリアルバスで採用されているデータ転送フォーマットのDS−Link符号化方式を、図6に基づいて説明する。1394シリアルバスでは、DS−Link(Data/StrobeLink)符号化方式が採用されている。このDS−Link符号化方式は、高速なシリアルデータ通信に適しており、2本の信号線を必要とする。より対線のうち1本に主となるデータを送り、他方の対線にはストローブ信号を送る構成になっている。受信側では、この受信データと、ストローブ信号との排他的論理和をとることによってクロックを再現できる。
[DS-Link encoding]
Next, a data transfer format DS-Link encoding method employed in the 1394 serial bus will be described with reference to FIG. In the 1394 serial bus, a DS-Link (Data / StrobeLink) encoding method is adopted. This DS-Link encoding method is suitable for high-speed serial data communication and requires two signal lines. Main data is sent to one of the twisted pairs, and a strobe signal is sent to the other pair. On the receiving side, the clock can be reproduced by taking an exclusive OR of the received data and the strobe signal.

このDS−Link符号化方式を用いるメリットとしては、他のシリアルデータ転送方式に比べて転送効率が高いこと、PLL回路が不要となるのでコントローラLSIの回路規模を小さくできること、更には、転送すべきデータが無いときにアイドル状態であることを示す情報を送る必要が無いので、各機器のトランシーバ回路をスリープ状態にすることができることによって、消費電力の低減が図れること等が挙げられる。   Advantages of using this DS-Link encoding method are that the transfer efficiency is higher than other serial data transfer methods, the PLL circuit is unnecessary, the circuit scale of the controller LSI can be reduced, and further, the transfer should be performed Since there is no need to send information indicating that the device is in an idle state when there is no data, the transceiver circuit of each device can be put into a sleep state, thereby reducing power consumption.

[バスリセットのシーケンス]
1394シリアルバスでは、接続されている各機器(ノード)には、ノードIDが与えられることにより、各機器がネットワークの構成として認識されている。このネットワーク構成に変化があったとき、例えばノードの挿抜や電源のON/OFFなどによるノード数の増減などによって変化が生じて、新たなネットワーク構成を認識する必要があるときは、変化を検知した各ノードは、バス上にバスリセット信号を送信して、新たなネットワーク構成を認識するモードに入る。このときの変化の検知方法は、1394ポート基盤上でのバイアス電圧の変化を検知することによって行われる。
[Bus reset sequence]
In the 1394 serial bus, each connected device (node) is given a node ID so that each device is recognized as a network configuration. When there is a change in this network configuration, for example, when a change occurs due to an increase or decrease in the number of nodes due to insertion / extraction of nodes, power ON / OFF, etc., and a new network configuration needs to be recognized, a change has been detected. Each node enters a mode to recognize a new network configuration by transmitting a bus reset signal on the bus. The change detection method at this time is performed by detecting a change in bias voltage on the 1394 port board.

或るノードからバスリセット信号が伝達されて、各ノードのフィジカル・レイヤがバスリセット信号を受信すると、フィジカル・レイヤは、リンク・レイヤにバスリセットの発生を伝達し、かつ他のノードにバスリセット信号を伝達する。最終的に全てのノードがバスリセット信号を検知した後に、バスリセット処理が起動される。バスリセット処理は、先に述べたようなケーブル抜種や、ネットワーク異常等によるハード検出により起動され、プロトコルからのホスト制御などによってフィジカル・レイヤに直接命令を出すことによっても起動される。また、バスリセット処理が起動されると、データ転送は一時中断され、バスリセット処理が終了した後に新しいネットワーク構成の下でデータ転送が再開される。   When the bus reset signal is transmitted from one node and the physical layer of each node receives the bus reset signal, the physical layer transmits the occurrence of the bus reset to the link layer and the bus reset to the other nodes. Communicate the signal. After all nodes have finally detected the bus reset signal, the bus reset process is started. The bus reset process is activated by hardware detection due to cable disconnection or network abnormality as described above, and is also activated by issuing a command directly to the physical layer by host control from the protocol. When the bus reset process is activated, the data transfer is temporarily suspended, and after the bus reset process is completed, the data transfer is resumed under a new network configuration.

[ノードID決定のシーケンス]
バスリセット処理が終了すると、各ノードは新しいネットワーク構成を再構築するために、各ノードにIDを与える動作に入る。このときの、バスリセットからノードID決定までの一般的なシーケンスを、図7〜10のフローチャートに従って説明する。
[Node ID determination sequence]
When the bus reset process ends, each node enters an operation of giving an ID to each node in order to reconstruct a new network configuration. A general sequence from bus reset to node ID determination at this time will be described with reference to the flowcharts of FIGS.

図7のフローチャートは、バスリセットの発生からノードIDが決定し、データ転送が行えるようになるまでの、一連のバスの作業を示してある。まず、ステップS101にて、ネットワーク内にバスリセットが発生することを常時監視していて、ノードの電源ON/OFFなどでバスリセットが発生すると、ステップS102に移る。ステップS102では、ネットワークがリセットされた状態から、新たなネットワークの接続状況を知るために、直接接続されている各ノート間において親子間係の宣言がなされる。   The flowchart of FIG. 7 shows a series of bus operations from when a bus reset occurs until a node ID is determined and data transfer can be performed. First, in step S101, the occurrence of a bus reset in the network is constantly monitored, and if a bus reset occurs due to power ON / OFF of the node, the process proceeds to step S102. In step S102, in order to know the connection status of the new network from the state in which the network is reset, a parent-child relationship is declared between the directly connected notes.

全てのノード間で親子関係が決定すると(ステップS103)、全てのノード間でルートのノード(以下、ルートノードという)として機能する1つのルートノードが決定する。なお、全てのノード間で親子関係が決定するまでは、ルートノードも決定されない。ステップS104でルートノードが決定されると、ステップS105にて、各ノードにIDを与えるノードIDの設定作業が行われる。このノードIDの設定作業は、後述するリーフノード→ブランチノード→ルートノードの順に全てのノードにIDが与えられるまで繰り返し行われ(ステップS106)、全てのノードにIDを設定し終えたら、新しいネットワーク構成が全てのノードにおいて認識されたので、ステップS107にて、任意のノード間のデータ転送を行える状態となり、必要に応じてデータ転送が実行される。このステップS107の状態になると、再びバスリセットが発生するのを監視するモードに入り、バスリセットが発生したらステップS101からステップS106までの設定作業が繰り返し行われる。   When the parent-child relationship is determined between all nodes (step S103), one root node that functions as a root node (hereinafter referred to as a root node) is determined between all the nodes. Note that the root node is not determined until the parent-child relationship is determined among all the nodes. When the root node is determined in step S104, node ID setting work for giving an ID to each node is performed in step S105. This node ID setting operation is repeated until all nodes are assigned IDs in the order of leaf node → branch node → root node (to be described later) (step S106). Since the configuration has been recognized in all the nodes, in step S107, it becomes possible to transfer data between arbitrary nodes, and data transfer is executed as necessary. In the state of step S107, a mode for monitoring the occurrence of a bus reset is entered again. When a bus reset occurs, the setting operation from step S101 to step S106 is repeated.

次に、図7のフローチャートのバスリセットからルート決定までの部分と、ルート決定後からID設定終了までの手順の詳細を、それぞれ図8、図9〜10のフローチャートに従って説明する。   Next, the details of the procedure from the bus reset to the route determination in the flowchart of FIG. 7 and the procedure from the route determination to the end of ID setting will be described with reference to the flowcharts of FIGS.

まず、バスリセットからルートノード決定までの手順を、図8のフローチャートに従って説明する。ステップS201にて、バスリセットの発生が検出されると、ステップS202に進んで、リセットされたネットワークの接続状況を再認識する作業の第1歩として、各機器にリーフノードであることを示すフラグを立てておく。次に、ステップS203にて、各機器が自分の持つポートが他の幾つのノードと接続されているのかを確認する。   First, the procedure from bus reset to root node determination will be described with reference to the flowchart of FIG. When the occurrence of a bus reset is detected in step S201, the process proceeds to step S202, and a flag indicating that each device is a leaf node is the first step in re-recognizing the connection status of the reset network. Stand up. Next, in step S203, it is confirmed how many other nodes the port of each device is connected to.

そして、この接続ポート数の確認結果に応じて、これから親子関係の宣言を始めていくために、未定義(親子関係が決定されてない)ポートの数を調ベる(ステップS204)。バスリセットの直後はポート数=未定義ポート数であるが、親子関係が決定されていくにしたがって、ステップS204で認識される未定義ポートの数は変化していく。まず、バスリセットの直後、はじめに親子関係の宣言を行えるのはリーフノードに限られている。リーフノードであることは、ステップS204での未定義ポート数の確認結果が“1”であることにより知ることができる。   Then, according to the confirmation result of the number of connection ports, in order to start the declaration of the parent-child relationship from now on, the number of undefined ports (the parent-child relationship is not determined) is examined (step S204). Immediately after the bus reset, the number of ports = the number of undefined ports, but as the parent-child relationship is determined, the number of undefined ports recognized in step S204 changes. First, immediately after a bus reset, only a leaf node can declare a parent-child relationship. It can be known that the node is a leaf node because the confirmation result of the number of undefined ports in step S204 is “1”.

リーフノードである場合は、ステップS205にて、自分に接続されているノードに対して、「自分は子、相手は親」と宣言して動作を終了する。ステップS203にて、接続ポート数が複数あり、自己がブランチノードであると認識したノードは、バスリセットの直後はステップS204で未定義ポート数>1ということなので、ステップS206に進んでブランチというフラグを立て、ステップS207にてリーフノードからの親子関係宣言で「親」の受付をするために待つ。リーフノードが親子関係の宣言を行い、ステップS207でその宣言を受けたブランチノードは、適宜ステップS204の未定義ポート数の確認を行い、未定義ポート数が“1”になっていれば、残っているポートに接続されているノードに対して、ステップS205の「自分が子」の宣言をすることが可能となる。   If it is a leaf node, in step S205, the node connected to itself is declared “I am a child and the other party is a parent”, and the operation ends. In step S203, the node that has a plurality of connection ports and recognizes itself as a branch node is that the number of undefined ports> 1 in step S204 immediately after the bus reset. In step S207, the process waits to accept “parent” in the parent-child relationship declaration from the leaf node. The leaf node declares the parent-child relationship, and the branch node that has received the declaration in step S207 appropriately checks the number of undefined ports in step S204, and remains if the number of undefined ports is “1”. It is possible to declare “I am a child” in step S205 to a node connected to a certain port.

2度目以降、ステップS204で未定義ポート数を確認しても2以上の未定義ポートがあるブランチノードに対しては、再度ステップS207にてリーフノード又は他のブランチノードからの「親」の受付をするために待つ。最終的に、いずれか1つのブランチノード、又は例外的にリーフノード(子宣言を行えるのに迅速に動作しなかったため)が、ステップS204の未定義ポート数の判定でゼロになった場合には、これにてネットワーク全体の親子関係の宣言が終了したことを意味するので、未定義ポート数がゼロ(全て親のポートとして決定)になった唯一のノードは、ステップS208にて、ルートのフラグが立てられ、ステップS209にてルートノードとしての認識がなされる。   From the second time, even if the number of undefined ports is confirmed in step S204, for the branch node having two or more undefined ports, the “parent” reception from the leaf node or another branch node is again performed in step S207. Wait to do. Eventually, if any one branch node, or exceptionally a leaf node (because it did not operate quickly enough to make a child declaration), becomes zero in the determination of the number of undefined ports in step S204. This means that the declaration of the parent-child relationship of the entire network has ended, so the only node for which the number of undefined ports is zero (all determined as parent ports) is the flag of the route in step S208. Is established, and the root node is recognized in step S209.

次に、ルートノード決定後からID設定終了までの手順の詳細を、図9〜10のフローチャートに従って説明する。   Next, details of the procedure from the determination of the root node to the end of ID setting will be described with reference to the flowcharts of FIGS.

図8のシーケンスでリーフ、ブランチ、ルートという各ノードのフラグの情報が設定されているので、これを元にして、ステップS301で、リーフノード、ブランチノード、ルートノードに分類する。各ノードにIDを与える作業として、最初にIDの設定を行うことができるのは、リーフノードであり、リーフノード→ブランチノード→ルートノードの順に若い番号(ノード番号=0〜)からIDが設定されていく。   Since the flag information of each node such as leaf, branch, and root is set in the sequence of FIG. 8, the information is classified into leaf node, branch node, and root node in step S301. As an operation to assign an ID to each node, it is a leaf node that can first set an ID, and the ID is set from a smaller number (node number = 0) in the order of leaf node → branch node → root node. It will be done.

リーフノードでは、ステップS302にて、ネットワーク内に存在するリーフノードの数N(Nは自然数)を設定する。この後、ステップS303にて、各リーフノードがルートノードに対してIDを与えるように要求する。この要求を複数のリーフノードから受けたルートノードは、ステップS304にて、アービトレーション(1つに調停する作業)を行う。そして、ステップS305にて、勝った方の1つのノードに対してID番号を与え、残りの負けたノードには失敗の結果通知を行う。   In the leaf node, in step S302, the number N (N is a natural number) of leaf nodes existing in the network is set. Thereafter, in step S303, each leaf node requests the root node to give an ID. In step S304, the root node that has received this request from a plurality of leaf nodes performs arbitration (work to mediate to one). In step S305, the winning node is given an ID number, and the remaining losing nodes are notified of the failure result.

リーフノード側では、ステップS306にて、IDを取得したか否かを判断し、IDを取得できなかった場合には、ステップS303に戻り、再度ID要求を出し、同様の処理を繰り返す。IDを取得できた場合には、ステップS307にて、セルフIDパケットをブロードキャストで全ノードに転送する。このセルフIDパケットには、そのノードのID情報や、そのノードのポート数、既接続ポート数、その各ポートが親であるか子であるか、そのノードがバスマネージャになり得る能力が有るか否か(バスマネージャになり得る能力があれば、セルフIDパケット内のコンテンダビットを“1”に、バスマネージャになり得る能力が無ければコンテンダビットを“0”にする)等の情報が載せられている。   On the leaf node side, in step S306, it is determined whether or not an ID has been acquired. If the ID cannot be acquired, the process returns to step S303, an ID request is issued again, and the same processing is repeated. If the ID can be acquired, in step S307, the self ID packet is broadcasted to all nodes. This self-ID packet has the ID information of the node, the number of ports of the node, the number of connected ports, whether each port is a parent or a child, or whether the node can be a bus manager. Information such as “No” (if there is an ability to become a bus manager, the contender bit in the self ID packet is set to “1”, and if there is no ability to become a bus manager, the contender bit is set to “0”). ing.

ここで、バスマネージャになる能力とは、
(1) バスの電源管理、すなわち、図1の如く構成されたネットワーク上の各機器が、接続ケーブル内の電源ラインを用いて電源供給を必要とする機器か、電源供給可能な機器か、いつ電源を供給するか等の菅理、
(2) 速度マップの維持、すなわち、ネットワーク上の各機器の通信速度情報の維持、
(3) ネットワーク構造(トポロジ・マップ)の維持、すなわち、図11に示されるようなネットワークのツリー構造情報の維持、
(4) トポロジ・マップから取得した情報に基づくバスの最適化、
のバス管理が可能であることを意味し、後で説明する手順によってバスマネ−ジャとなったノードが、ネットワーク全体のバス管理を行うことになる。また、バスマネージャになり得る能力のあるノード、すなわち、セルフIDパケットのコンテンダビットを“1”にしてブロードキャストするノードは、各ノードからブロードキャストで転送されるセルフIDパケットの各情報、通信速度等の情報を蓄えておき、バスマネージャとなった際に、蓄えておいた情報をもとに、速度マップやトポロジ・マップを構成する。
Here, the ability to become a bus manager
(1) When power management of the bus, that is, whether each device on the network configured as shown in Fig. 1 is a device that requires power supply or a device that can supply power using the power line in the connection cable Such as whether to supply power,
(2) Maintenance of speed map, that is, maintenance of communication speed information of each device on the network,
(3) Maintenance of network structure (topology map), that is, maintenance of network tree structure information as shown in FIG.
(4) Bus optimization based on information obtained from the topology map,
This means that the node that becomes the bus manager by the procedure described later performs the bus management of the entire network. In addition, a node capable of becoming a bus manager, that is, a node that broadcasts with the contender bit of the self ID packet set to “1”, each information of the self ID packet transferred by broadcast from each node, communication speed, etc. Information is stored, and when it becomes a bus manager, a speed map and a topology map are constructed based on the stored information.

1つのノードID情報のブロードキャストが終わると、ステップS308にて、残りのリーフノードのノード数が1つ減らされる。そして、ステップS309にて、IDを取得していない残りのリーフリード数が“1”以上あると判断されたときは、ステップS303に戻り、同様の処理を繰り返する。一方、カウンタN=0となった場合、すなわち、IDを取得していない残りのリーフノード数が“0”になり、全てのリーフノードがID情報を獲得してブロードキャストした場合は、ブラランチノードのID設定に移る。   When one node ID information is broadcast, the number of remaining leaf nodes is decremented by one in step S308. If it is determined in step S309 that the number of remaining leaf leads for which no ID has been acquired is “1” or more, the process returns to step S303 and the same processing is repeated. On the other hand, if the counter N = 0, that is, if the number of remaining leaf nodes that have not acquired an ID is “0” and all the leaf nodes have acquired ID information and broadcasted, the branch node Move on to ID setting.

ブランチノードのID設定もリーフの場合と同様に行われる。まず、ステップS310にて、ネットワーク内に存在するブランチノードのノード数M(Mは自然数)を設定する。この後、ステップS311にて、各ブランチノードがルートノードに対して、IDを与えるように要求する。これに対してルートノードは、ステップS312にて、アービトレーションを行う。そして、勝った方のブランチノードから順に、リーフノードに与え終った次の若い番号からIDを与えていく。ステップS313では、ルートノードは、ID要求を出したブランチノードに対して、ID情報、又は失敗結果を通知する。   The branch node ID setting is performed in the same manner as in the leaf case. First, in step S310, the number M of branch nodes existing in the network (M is a natural number) is set. Thereafter, in step S311, each branch node requests the root node to give an ID. On the other hand, the root node performs arbitration in step S312. Then, in order from the winning branch node, IDs are given from the next young number given to the leaf nodes. In step S313, the root node notifies ID information or a failure result to the branch node that has issued the ID request.

ID要求を行ったブランチノード側では、ステップS314にて、IDを取得したか否かを判断し、IDを取得できなかった場合には、ステップS311に戻り、再度ID要求を出し、同様の処理を繰り返す。IDを取得できた場合には、ステップS315にて、セルフIDパケットをブロードキャストで全ノードに転送する。1つのブランチノードのID情報のブロードキャストが終ると、ステップS316にて、残りのブランチノードのノード数が1つ減らされる。そして、ステップS317にて、IDを取得していない残りのブランチノード数が“1”以上あると判断されたときは、ステップS311に戻り、同様の処理を繰り返す。   On the branch node side that has made the ID request, in step S314, it is determined whether or not the ID has been acquired. If the ID cannot be acquired, the process returns to step S311 to issue the ID request again and perform the same processing. repeat. If the ID can be acquired, in step S315, the self ID packet is broadcasted to all nodes. When the broadcast of ID information of one branch node is completed, the number of remaining branch nodes is decremented by 1 in step S316. If it is determined in step S317 that the number of remaining branch nodes that have not acquired an ID is “1” or more, the process returns to step S311 and the same processing is repeated.

一方、カウンタM=0となった場合、すなわち、IDを取得していない残りのブランチノード数が“0”になり、全てのブランチノードがID情報を獲得してブロードキャストした場合は、最終的にID情報を取得していないノードはルートノードだけなので、ステップS318にて、IDとして与えていない番号で最も大きい番号を自分のID番号として設定し、ステップS319にて、ルートノードのセルフIDパケットをブロードキャストする。   On the other hand, if the counter M = 0, that is, if the number of remaining branch nodes that have not acquired an ID becomes “0” and all branch nodes acquire ID information and broadcast it, finally, Since the only node that has not obtained ID information is the root node, in step S318, the largest number not given as an ID is set as its own ID number, and in step S319, the self ID packet of the root node is set. Broadcast.

ここまでの処理によって、各ノードについてバスマネージャになり得る能力の有無が明らかになる。最終的に複数のノードがバスマネージャになり得る能力を有する場合、ID番号の最も大きいノードがバスマネージャとなる。ルートノードがバスマネージャになり得る能力を有している場合、ルートノードのID番号がネットワーク内で最大であるから当然にルートノードがバスマネージャとなるが、ルートノードがバスマネージャになり得る能力を有していない場合には、ルートノードの次に大きいID番号を有し、かつセルフIDパケット内のコンテンダビットが“1”となっているブランチノードがバスマネージャとなる。   The processing so far makes it clear whether each node has the ability to become a bus manager. When a plurality of nodes finally have the ability to become a bus manager, the node with the largest ID number becomes the bus manager. If the root node has the ability to become a bus manager, the root node is naturally the bus manager because the ID number of the root node is the largest in the network. If not, the branch node having the next highest ID number after the root node and having the contender bit “1” in the self ID packet becomes the bus manager.

また、どのノードがバスマネージャとなったかについては、図9〜10の処理の過程で各ノードがIDを取得した時点でセルフIDパケットをブロードキャストしており、このブロードキャスト情報を各ノードが把握しておくことにより、各ノード共通の認識として把握することが出来る。   Further, as to which node has become the bus manager, each node broadcasts a self-ID packet at the time when each node obtains an ID in the process of FIGS. 9 to 10, and each node grasps this broadcast information. It can be grasped as recognition common to each node.

次に、図11に示したネットワーク例における上記の動作を説明する。図11では、ルートノードBの下位にはノードAとノードCが直接接続されており、更にノードCの下位にはノードDが直接接続されており、更にノードDの下位にはノードEとノードFが直接接続された階層構造になっている。   Next, the above operation in the network example shown in FIG. 11 will be described. In FIG. 11, the node A and the node C are directly connected below the root node B, the node D is directly connected below the node C, and the node E and the node are further connected below the node D. It has a hierarchical structure in which Fs are directly connected.

この階層構造やルートノード、ノードIDを決定する手順は、次のようになる。すなわち、バスリセットがされた後、まず各ノードの接続状況を認識するために、各ノードの直接接続されているポート間において、親子関係の宣言がなされる。この親子とは、親側が階層構造で上位となり、子側が下位となるということを意味する。図11では、バスリセットの後、最初に親子関係の宣言を行ったのはノードAである。基本的に、ノードの1つのポートにのみ接続があるノード、すなわちリーフノードが最初に親子関係の宣言を行うことができる。これは、自分には1ポートだけが接続されていることは簡単に知ることができるからであり、これによってネットワークの端であることを認識し、その中で早く動作を行なったノードから親子関係が決定されていく。   The procedure for determining this hierarchical structure, root node, and node ID is as follows. That is, after the bus is reset, in order to recognize the connection status of each node, a parent-child relationship is declared between the ports directly connected to each node. This parent-child means that the parent side is higher in the hierarchical structure and the child side is lower. In FIG. 11, after the bus reset, it is the node A that first declared the parent-child relationship. Basically, a node that has a connection to only one port of the node, that is, a leaf node, can first declare a parent-child relationship. This is because it is easy to know that only one port is connected to itself, and this recognizes that it is at the end of the network, and the parent-child relationship starts from the node that operated earlier in that. Will be decided.

こうして、親子関係の宣言を行った側(ノードA−B間ではノードA)のポートが子と設定され、相手側(ノードB)のポートが親と設定される。このように、ノードA−B間では子一親、ノードE−D間では子一親、ノードF−D間で子一親と決定される。さらに、1階層あがって、今度は複数個の接続ポートを持つブランチノードのうち、他ノードからの親子関係の宣言を受けたものから順次、更に上位に親子関係の宣言を行っていく。図11では、まずノードDがD−E間、D−F間と親子関係を決定した後、同格のブランチノードCに対する親子関係の宣言を行い、その結果ノードD−C間で子一親と決定している。ノードDからの親子関係の宣言を受けたブランチノードCは、もう1つのポートに接続されているノードBに対して親子関係の宣言を行って、ノードC−B間で子一親と決定している。   In this way, the port on the side that declared the parent-child relationship (node A between nodes A and B) is set as a child, and the port on the other side (node B) is set as a parent. As described above, the node A-B is determined as the child single parent, the node E-D is determined as the child single parent, and the node FD is determined as the child single parent. Further, one branch up, this time, among the branch nodes having a plurality of connection ports, the declaration of the parent-child relationship is performed in order from the one receiving the declaration of the parent-child relationship from another node. In FIG. 11, the node D first determines the parent-child relationship between D-E and DF, and then declares the parent-child relationship for the equivalent branch node C. As a result, the node D-C Has been decided. The branch node C receiving the declaration of the parent-child relationship from the node D declares the parent-child relationship with respect to the node B connected to the other port, and determines that the node C-B is a child-parent. ing.

このようにして、図11のような階層構造が構成され、最終的に接続されている全てのポートにおいて親となったノードBが、ルートノードと決定されている。ルートノードは、1つのネットワーク構成中に1つしか存在しないものである。なお、この図11においてノードBがルートノードと決定されたが、これはノードAから親子関係宣言を受けたノードBが、他のノードに対して親子関係宣言を早いタイミングで行っていれば、ルートノードは他のノードに移っていたこともあり得る。すなわち、伝達されるタイミングによっては、どのノードもルートノードとなる可能性があり、同じネットワーク構成でもルートノードは一意に決定されるものではない。   In this way, the hierarchical structure as shown in FIG. 11 is configured, and the node B that becomes the parent in all the finally connected ports is determined as the root node. There is only one root node in one network configuration. In FIG. 11, the node B is determined as the root node. If the node B receiving the parent-child relationship declaration from the node A makes a parent-child relationship declaration to other nodes at an early timing, The root node may have moved to another node. In other words, depending on the transmission timing, any node may become the root node, and the root node is not uniquely determined even in the same network configuration.

ルートノードが決定すると、次には、各ノードIDを決定するモードに入る。ここでは、全てのノードが、決定した自分のノード1Dを他の全てのノードに通知する(ブロードキャスト機能)。自己ID情報は、自分のノード番号、接続されている位置の情報、持っているポートの数、接続のあるポートの数、各ポートの親子関係の情報等を含んでいる。   When the root node is determined, a mode for determining each node ID is entered. Here, all nodes notify their determined nodes 1D to all other nodes (broadcast function). The self ID information includes its own node number, information on the connected position, the number of ports it has, the number of ports connected, information on the parent-child relationship of each port, and the like.

ノードID番号の割り振りの手順としては、まず1つのポートにのみ接続があるリーフノードからID決定動作を起動することができ、起動順にノード番号0、1、2、…と割り当てられる。ノードIDを取得したノードは、ノード番号を含む情報をブロードキャストで各ノートに送信する。これによって、そのID番号は「割り当て済み」であることが他のノードで認識される。全てのリーフノードが自己ノードIDを取得し終えると、次はブランチのノードがID取得を行う。ここでは、リーフノードに引き続いたノードID番号が各ブランチノードに割り当てられる。リーフノードと同様に、ノードID番号が割り当てられたブランチノードから順次ノードID情報をブロードキャストする。そして、最後にルートノードが自己IDを獲得し、ブロードキャストする。すなわち、ルートノードは、ネットワーク内で最大のノードID番号を所有するものである。   As a procedure for assigning node ID numbers, first, an ID determination operation can be started from a leaf node connected to only one port, and node numbers 0, 1, 2,. The node that acquired the node ID broadcasts information including the node number to each note by broadcast. As a result, the other node recognizes that the ID number is “allocated”. When all leaf nodes have acquired their own node IDs, the branch nodes next acquire IDs. Here, a node ID number subsequent to the leaf node is assigned to each branch node. Similarly to the leaf node, node ID information is broadcasted sequentially from the branch node to which the node ID number is assigned. Finally, the root node acquires its own ID and broadcasts it. In other words, the root node has the largest node ID number in the network.

[アービトレーション]
1394シリアルバスでは、データ転送に先立って、必ずバス使用権のアービトレーション(調停)を行う。1394シリアルバスは、個別に接続された各機器が、転送された信号をそれぞれ中継することによって、ネットワーク内の全ての機器(ノード)に信号を伝えるように構成された論理的なバス型ネットワークを構築するので、パケットの衝突を防ぐ意味でアービトレーションは必要である。このアービトレーションによって、ある時間には、1つのノードだけが転送を行うことができる。
[arbitration]
In the 1394 serial bus, the bus use right is always arbitrated before data transfer. The 1394 serial bus is a logical bus-type network configured so that each individually connected device relays the transferred signal to transmit all signals to all devices (nodes) in the network. Since it is constructed, arbitration is necessary to prevent packet collision. This arbitration allows only one node to perform the transfer at a certain time.

このアービトレーション動作を図12(a)、(b)に基づいて説明する。図12(a)は、バス使用要求例を示しており、アービトレーションが始まると、1つもしくは複数のノードが親ノードに向かって、それぞれバス使用権の要求を発する。図12(a)では、ノードCとノードFがバス使用権の要求を発しているノードである。これを受けた親ノード(図12(a)ではノードA)は、更に親ノードに向かって、バス使用権の要求を発する(中継する)。この要求は最終的に調停を行うルートに届けられる。バス使用要求を受けたルートノードは、どのノードにバスを使用させるかを決める。   This arbitration operation will be described with reference to FIGS. FIG. 12A shows an example of a bus use request. When arbitration is started, one or a plurality of nodes issue a bus use right request to the parent node. In FIG. 12A, nodes C and F are nodes that have issued a bus use right request. Upon receiving this, the parent node (node A in FIG. 12A) further issues (relays) a bus use right request toward the parent node. This request is finally delivered to the mediation route. The root node that has received the bus use request determines which node uses the bus.

この調停作業はルートノードのみが行えるものであり、調停によって勝ったノードには、バスの使用許可を与える。図12(b)では、ノードCに使用許可が与えられ、ノードFの使用は拒否された状態を示している。アービトレーションに負けたノードに対しては、図12(b)に示したように、DP(Data Prefix)パケットを送り、バス使用要求が拒否されたことを知らせる。拒否されたノードのバス使用要求は、次回のアービトレーションまで待たされる。このようにして、アービトレーションに勝ってバスの使用許可を得たノードは、それ以降、データ転送を開始できる。   This arbitration work can be performed only by the root node, and a bus use permission is given to the node that has won the arbitration. FIG. 12B shows a state where use permission is given to the node C and use of the node F is denied. As shown in FIG. 12B, the node that lost the arbitration sends a DP (Data Prefix) packet to notify that the bus use request has been rejected. The rejected node bus use request is awaited until the next arbitration. In this way, a node that has won arbitration and has obtained permission to use the bus can subsequently start data transfer.

ここで、アービトレーションの一連の流れを、図13のフローチャートに従って説明する。ノードがデータ転送を開始できるためには、バスがアイドル状熊であることが必要である。先に行われていたデータ転送が終了して、現在バスが空き状態であることを認識するためには、各転送モードで個別に設定されている所定のアイドル時間ギャップ長(例えばサブアクション・ギャップ)を経過することによって、各ノードは自分の転送が開始できると判断する。   Here, a series of arbitration flows will be described with reference to the flowchart of FIG. In order for a node to begin data transfer, the bus needs to be an idle bear. In order to recognize that the previous data transfer has been completed and the bus is currently empty, a predetermined idle time gap length (for example, a subaction gap) set individually in each transfer mode is used. ), Each node determines that its own transfer can be started.

そこで、ステップS401では、現在バスが空き状態であることを認識すべく、Asyncデータ、Isoデータ等、それぞれ転送するデータに応じた所定のギャップ長が得られたかを判断する。所定のギャップ長が得られない限り、転送を開始するために必要なバス使用権の要求はできないので、所定のギャップ長が得られるまで待つ。ステップS401で所定のギャップ長が得られたら、ステップS402にて、転送すべきデータがあるかを判断し、その結果、転送すべきデータが無いと判断された場合は、そのまま待機する。一方、転送すべきデータが有ると判断された場合は、ステップS403に進んで、バス使用権の要求をルートノードに対して発して、バスを確保するよう依頼する。このときの、バス使用権の要求を表す信号の伝達は、図12(a)に示したように、ネットワーク内の各機器を中継しながら、最終的にルートノードに届けられる。   Therefore, in step S401, in order to recognize that the current bus is empty, it is determined whether a predetermined gap length corresponding to the data to be transferred, such as Async data and Iso data, has been obtained. As long as the predetermined gap length cannot be obtained, the bus use right required to start the transfer cannot be requested, so the process waits until the predetermined gap length is obtained. If a predetermined gap length is obtained in step S401, it is determined in step S402 whether there is data to be transferred. If it is determined that there is no data to be transferred, the process waits as it is. On the other hand, if it is determined that there is data to be transferred, the process proceeds to step S403, and a request for the right to use the bus is issued to the root node, requesting to secure the bus. At this time, the signal indicating the request for the right to use the bus is finally delivered to the root node while relaying each device in the network, as shown in FIG.

次に、ステップS404に進んで、ステップS403でのバス使用権要求を1つ以上ル−トが受信した場合には、ルートノードは、ステップS405にて、使用要求を出したノードの数を調べる。その結果、使用権要求を出したノードが1つであれば、そのノードに対して、直後のバス使用許可が与えられることとなる(ステップS408)。   Next, the process proceeds to step S404, and if the root receives one or more bus use right requests in step S403, the root node checks the number of nodes that have issued use requests in step S405. . As a result, if there is one node that has issued a use right request, the bus use permission immediately after that is given to that node (step S408).

一方、使用権要求を出したノードが複数であれば、ルートノードは、ステップS406にて、使用許可を与えるノードを1つに決定する調停処理を行う。この調停処理は公平なものであり、毎回同じノードに許可を得るようなことはなく、平等に使用許可を与えていくような構成となっている。使用要求を出した複数ノードのうち、ルートノードが調停して使用許可を与えた1つのノードに対しては(ステップS407)、直後のバス使用許可信号を送信する(ステップS408)。許可信号を受信したノードは、受け取った直後に得られた所定のアイドル時間ギャップ長を利用して、転送すべきデータ(パケット)の転送を開始する。   On the other hand, if there are a plurality of nodes that have issued usage right requests, the root node performs arbitration processing in step S406 to determine one node to which usage permission is granted. This arbitration process is fair and is configured such that permission is not given to the same node every time, but permission for use is given equally. Among the plurality of nodes that have issued use requests, the bus use permission signal immediately after is transmitted to the one node to which the root node has arbitrated and granted the use permission (step S407) (step S408). The node that has received the permission signal starts transfer of data (packet) to be transferred using a predetermined idle time gap length obtained immediately after reception.

一方、使用許可を与えないことにした残りの使用要求に係るノードに対しては(ステップS407)、アービトレーション失敗を示すDP(Data Prefix)パケットを送信する(ステップS409)。これを受け取ったノ−ドは、再度バス使用要求を出すため、ステップS401に戻り、所定ギャップ長が得られるまで待機する。   On the other hand, a DP (Data Prefix) packet indicating an arbitration failure is transmitted to the nodes related to the remaining usage requests that have not been granted usage permission (step S407) (step S409). The node that has received the request returns to step S401 to issue a bus use request again, and waits until a predetermined gap length is obtained.

[Asynchronous(非同期)転送]
アシンクロナス転送は、非同期転送である。図14にアシンクロナス転送における時間的な遷移状態を示す。図14の最初のサブアクション・ギャップは、バスのアイドル時間を示すものである。このアイドル時間が一定値になった時点で、転送を希望するノードはバスが使用できると判断して、バス獲得のためのアービトレーションを依頼する。アービトレーションでバスの使用許可を得ると、データ転送がパケット形式で実行される。転送データを受信したノードは、転送データに対する受信確認を返信すべく、ack信号(受信確認用返送コード)をack gapという短いギャップの後、返送して応答するか、応答パケットを送る。ack信号は、4ビットの情報と4ビットのチェックサムからなり、4ビットの情報には、受信成功か、ビジイ状態か、ペンディング状態であるかといった情報が含まれている。
[Asynchronous transfer]
Asynchronous transfer is asynchronous transfer. FIG. 14 shows a temporal transition state in asynchronous transfer. The first subaction gap in FIG. 14 indicates the bus idle time. When this idle time reaches a certain value, the node desiring to transfer determines that the bus can be used, and requests arbitration for acquiring the bus. When the bus use permission is obtained by arbitration, data transfer is executed in a packet format. The node that has received the transfer data returns an ack signal (return code for confirmation of reception) after a short gap of ack gap and responds or sends a response packet in order to send back a receipt confirmation for the transfer data. The ack signal includes 4-bit information and a 4-bit checksum, and the 4-bit information includes information indicating whether reception is successful, busy state, or pending state.

次に、図15にアシンクロナス転送のパケットフォーマットの例を示す。アシンクロナス転送のパケットには、データ部、誤り訂正用のデータCRCの他にヘッダ部があり、そのヘッダ部には、図15に示したような、目的ノードID、ソースノードID、転送データ長さ、各種コードなどが書込まれている。また、アシンクロナス転送は、自己ノードから相手ノードヘの1対1の通信である。転送元ノードから転送されたアシンクロナス転送のパケットは、ネットワーク中の各ノードに行き渡るが、自分宛てのアドレス以外のものは無視されるので、宛先の1つのノードのみが読込むことになる。   Next, FIG. 15 shows an example of a packet format for asynchronous transfer. Asynchronous transfer packets have a header portion in addition to a data portion and error correction data CRC. The header portion includes a target node ID, a source node ID, and a transfer data length as shown in FIG. Various codes are written. The asynchronous transfer is a one-to-one communication from the self node to the partner node. Asynchronous transfer packets transferred from the transfer source node are distributed to each node in the network, but those other than the address addressed to the node are ignored, so that only one destination node reads.

[Isochronous(同期)転送]
アイソクロナス転送は同期転送である。1394シリアルバスの最大の特徴であるともいえるこのアイソクロナス転送は、特にVIDEO映像データや音声データといったマルチメディアデータなど、リアルタイムな転送を必要とするデータの転送に適した転送モードである。また、アシンクロナス転送(非同期)が1対1の転送であったのに対し、このアイソクロナス転送はブロードキャスト機能によって、転送元の1つのノードから他の全てのノードヘ一様に転送される。
[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. Asynchronous transfer (asynchronous) is a one-to-one transfer, but this isochronous transfer is uniformly transferred from one node of the transfer source to all other nodes by the broadcast function.

図16はアイソクロナス転送における時間的な遷移状態を示す図である。アイソクロナス転送は、バス上一定時間毎に実行される。この時間間隔をアイソクロナスサイクルと呼ぶ。アイソクロナスサイクル時間は、125μSである。この各サイクルの開始時間を示し、各ノードの時間調整を行なう役割を担っているのがサイクル・スタート・パケットである。サイクル・スタート・パケットを送信するのは、サイクル・マスタと呼ばれるノードであり、1つ前のサイクル内の転送終了後、所定のアイドル期間(サブアクション・ギャップ)を経た後、本サイクルの開始を告げるサイクル・スタート・パケットを送信する。このサイクル・スタート・パケットが送信される時間間隔が125μSとなる。   FIG. 16 is a diagram showing a temporal transition state in isochronous transfer. Isochronous transfer is executed at regular intervals on the bus. This time interval is called an isochronous cycle. The isochronous cycle time is 125 μS. The cycle start packet has a role of indicating the start time of each cycle and adjusting the time of each node. The cycle start packet is transmitted by a node called a cycle master. After the transfer in the previous cycle is completed, the cycle is started after a predetermined idle period (subaction gap). Send a telling cycle start packet. The time interval for transmitting this cycle start packet is 125 μS.

また、図16にチャネルA、チャネルB、チャネルCと示したように、1サイクル内において複数種のパケットがチャネルIDをそれぞれ与えられることによって、区別して転送できる。これによって、同時に複数ノード間でのリアルタイムな転送が可能であり、また、受信するノードでは、自分が欲しいチャネルIDのデータのみを取り込む。このチャネルIDは、送信先のアドレスを表すものではなく、データに対する論理的な番号を与えているに過ぎない。よって、あるパケットの送信は、1つの送信元ノードから他の全てのノードに行き渡るブロードキャストで転送されることになる。   Also, as indicated by channel A, channel B, and channel C in FIG. 16, a plurality of types of packets can be distinguished and transferred by being given channel IDs within one cycle. As a result, real-time transfer between a plurality of nodes is possible at the same time, and the receiving node captures only the data of the desired channel ID. This channel ID does not represent the address of the transmission destination, but merely gives a logical number for the data. Therefore, transmission of a certain packet is transferred by broadcast that spreads from one source node to all other nodes.

アイソクロナス転送のパケット送信に先立って、アシンクロナス転送と同様に、アービトレーションが行われる。しかし、アシンクロナス転送のように1対1の通信ではないので、アイソクロナス転送にはack(受信確認用返信コード)は存在しない。また、図16に示したiso gap(アイソクロナス・ギャップ)とは、アイソクロナス転送を行う前にバスが空き状態であることを認識するために必要なアイドル期間を表している。このアイドル期間を経過すると、アイソクロナス転送を行いたいノードは、バスが空いていると判断し、転送前のアービトレーションを行うことができる。   Prior to isochronous transfer packet transmission, arbitration is performed in the same manner as asynchronous transfer. However, since it is not one-to-one communication as in asynchronous transfer, there is no ack (reception confirmation reply code) in isochronous transfer. Also, the iso gap (isochronous gap) shown in FIG. 16 represents an idle period necessary for recognizing that the bus is in an empty state before performing isochronous transfer. When this idle period has elapsed, a node that wishes to perform isochronous transfer determines that the bus is free and can perform arbitration prior to transfer.

次に、図17にアイソクロナス転送のパケットフォーマットの例を示して説明する。各チャネルに分かれた、各種のパケットには、それぞれデータ部、誤り訂正用のデータCRCの他にヘッダ部があり、そのヘッダ部には図17に示したような、転送データ長、チャネルNo.その他各種コード、誤り訂正用のヘッダCRCなどが書込まれている。   Next, FIG. 17 illustrates an example of a packet format for isochronous transfer. Each packet divided into each channel has a header part in addition to a data part and error correction data CRC, and the header part has a transfer data length, a channel No. as shown in FIG. Various other codes, header CRC for error correction, etc. are written.

[バス・サイクル]
実際の1394シリアルバス上の転送では、アイソクロナス転送とアシンクロナス転送とは混在させることができる。図18は、アイソクロナス転送とアシンクロナス転送とが混在したバス上の転送状態の時間的な遷移の様子を示している。図18に示したように、アイソクロナス転送はアシンクロナス転送より優先して実行される。その理由は、サイクル・スタート・パケットの後、アシンクロナス転送を起動するために必要なアイドル期間のギャップ長(サブアクション・ギャップ)よりも短いギャップ長(アイソクロナス・ギャップ)で、アイソクロナス転送を起動できるからである。
[Bus cycle]
In actual transfer on the 1394 serial bus, isochronous transfer and asynchronous transfer can be mixed. FIG. 18 shows a temporal transition state of the transfer state on the bus in which isochronous transfer and asynchronous transfer are mixed. As shown in FIG. 18, isochronous transfer is executed with priority over asynchronous transfer. The reason is that after the cycle start packet, 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 asynchronous transfer. It is.

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

図18では、チャネルeとチャネルsとチャネルkが順にアイソクロナス転送されている。このアービトレーション依頼からパケット転送までの動作を、与えられているチャネル分繰返し行い、サイクル#mにおけるアイソクロナス転送が全て終了した後に、アシンクロナス転送を行う。アイドル時間がアシンクロナス転送が可能なサブアクション・ギャップに達することによって、アシンクロナス転送を行いたいノードは、アービトレーションの依頼に移れると判断する。   In FIG. 18, channel e, channel s, and channel k are transferred in an isochronous order. The operations from the arbitration request to the packet transfer are repeated for the given channel, and after the isochronous transfer in cycle #m is completed, the asynchronous transfer is performed. When the idle time reaches the subaction gap where asynchronous transfer is possible, it is determined that a node that wishes to perform asynchronous transfer can move to an arbitration request.

ただし、アシンクロナス転送が行える期間は、アイソクロナス転送が終了した後、次のサイクル・スタート・パケットを転送すべき時間(cycle synch)までの間に、アシンクロナス転送を起動するためのサブアクション・ギャップが得られた場合に限られる。   However, during the period in which asynchronous transfer can be performed, a sub-action gap for starting asynchronous transfer is obtained between the time when isochronous transfer is completed and the time when the next cycle start packet is to be transferred (cycle sync). Limited to

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

ただし、非同期または同期転送動作中に、次のサイクル・スタート・パケットを送信すべき時間(cyclesynch)に至ったとしたら、無理に中断せず、その転送が終了した後のアイドル期間を待ってから、本サイクルのサイクル・スタート・パケットを送信する。すなわち、1つのサイクルが125μS以上続いたときは、その分、次のサイクルは、基準の125μSより短縮されたものとする。   However, during the asynchronous or synchronous transfer operation, if it is time to transmit the next cycle start packet (cyclesync), do not forcibly suspend and wait for the idle period after the transfer ends, Send cycle start packet of this cycle. That is, when one cycle continues for 125 μS or more, the next cycle is assumed to be shorter than the reference 125 μS.

このようにアイソクロナスサイクルは、125μSを基準に伸縮し得るものである。しかし、アイソクロナス転送は、リアルタイム転送を維持するために、必要であれば毎サイクル必ず実行され、アシンクロナス転送は、サイクル時間が短縮されたことによって以降のサイクルに回されることもある。こういった遅延情報も含めて、サイクル・マスタは、各ノードの時間調整を行っている。図19は、図1のネットワーク構成の中のプリンタ104とD−VTR105の部分を示すブロック図であり、本発明の特徴点を図19〜図32を用いて説明する。   As described above, the isochronous cycle can expand and contract based on 125 μS. However, isochronous transfer is always executed every cycle if necessary in order to maintain real-time transfer, and asynchronous transfer may be sent to a subsequent cycle due to a reduction in cycle time. Including such delay information, the cycle master adjusts the time of each node. FIG. 19 is a block diagram showing portions of the printer 104 and the D-VTR 105 in the network configuration of FIG. 1, and features of the present invention will be described with reference to FIGS.

図19において、D−VTR105内の3は磁気テープ、4は記録/再生ヘッド、5は再生処理回路、6は映像復号化回路、7はD/Aコンバータ、9は外部出力端子、10は指示入力を行う操作部、11はVTRのシステムコントローラ、12はフレームメモリ、13はVTRの1394インタフェース(I/F)部、14は複数種のデータの中から特定のデータをセレクトするセレクタである。なお、図19では、D−VTR105については、再生系のみが図示されている。   In FIG. 19, 3 in the D-VTR 105 is a magnetic tape, 4 is a recording / playback head, 5 is a playback processing circuit, 6 is a video decoding circuit, 7 is a D / A converter, 9 is an external output terminal, and 10 is an instruction. An input operation unit, 11 is a VTR system controller, 12 is a frame memory, 13 is a VTR 1394 interface (I / F) unit, and 14 is a selector that selects specific data from a plurality of types of data. In FIG. 19, only the playback system is illustrated for the D-VTR 105.

プリンタ104内の17はプリンタの1394インタフェース(I/F)部、18はプリントすべき画像データをプリントし得るようにラスタライズする画像処理回路、19はラスタライズされた画像データを記憶するメモリ、20はプリンタヘッド、21はプリンタヘッド20の動作や紙送り動作等を駆動制御するドライバ、22はプリンタ操作部、23はプリンタ104の動作を全体的に制御するプリンタコントローラ、24はプリンタ104の動作状況や解像度等、カラー/白黒等の印刷性能をプリンタ情報として生成するプリンタ情報生成部、25はデータセレクタである。   Reference numeral 17 in the printer 104 denotes a 1394 interface (I / F) unit of the printer, 18 denotes an image processing circuit for rasterizing the image data to be printed, 19 denotes a memory for storing the rasterized image data, and 20 denotes a memory for storing the rasterized image data. A printer head, 21 is a driver that controls the operation of the printer head 20 and a paper feed operation, 22 is a printer operation unit, 23 is a printer controller that generally controls the operation of the printer 104, 24 is an operation status of the printer 104, A printer information generation unit 25 for generating print performance such as resolution and color / monochrome as printer information, and 25 is a data selector.

このような構成の下で、D−VTR105では、磁気テープ3に記録されている映像データを記録/再生ヘッド4で読出し、読出した映像データに対して、再生処理回路5により再生形式のデータ形式への変換処理を行う。そして、読出された映像データは、家庭用デジタルビデオの帯域圧縮方法としてのDCT(離散コサイン変換)、及びVLC(可変長符号化)に基づいた所定の圧縮方式で符号化して記録されているので、復号化回路6により所定の復号化処理を行い、D/Aコンバータ7によりアナログ信号に戻した後、外部出力端子9から外部装置に出力する。   Under such a configuration, in the D-VTR 105, the video data recorded on the magnetic tape 3 is read out by the recording / reproducing head 4, and the data format of the reproduction format is read out from the read video data by the reproduction processing circuit 5. Convert to. The read video data is encoded and recorded by a predetermined compression method based on DCT (Discrete Cosine Transform) and VLC (Variable Length Coding) as a band compression method for home digital video. Then, a predetermined decoding process is performed by the decoding circuit 6, the analog signal is returned to the D / A converter 7, and then output from the external output terminal 9 to the external device.

また、1394シリアルバス(1394ケーブルC)を用いて、所望の映像データ等を他のノードに転送するときは、復号化回路6で復号化された映像データを、フレームメモリ12に一時的に蓄えた後、データセレクタ14を経て1394I/F部13に送り、1394ケーブルCを介して、例えばプリンタ104やパソコン103に転送する。データセレクタ14では、上記映像データに加え、システムコントロ−ラ11からの各種制御データも1394I/F部13に転送する。転送された映像データがプリンタ104でのダイレクトプリント用であるときは、プリンタ104は、1394I/F部17を介して、映像データをプリンタ内部に取込み、パソコン103等の他ノードヘの転送であるときは、1394I/F部17を介して目的のノードヘ転送される。   Further, when transferring desired video data or the like to another node using the 1394 serial bus (1394 cable C), the video data decoded by the decoding circuit 6 is temporarily stored in the frame memory 12. After that, the data is sent to the 1394 I / F unit 13 via the data selector 14 and transferred to, for example, the printer 104 or the personal computer 103 via the 1394 cable C. The data selector 14 transfers various control data from the system controller 11 to the 1394 I / F unit 13 in addition to the video data. When the transferred video data is for direct printing by the printer 104, the printer 104 takes the video data into the printer via the 1394 I / F unit 17 and transfers it to another node such as the personal computer 103. Is transferred to the target node via the 1394 I / F unit 17.

D−VTR105の再生動作等の指示入力は操作部10から行なわれ、操作部10からの指示入力に基づいて、システムコントローラ11は、VTRの再生処理回路5の制御を初めとする各動作部の制御を行い、また指示入力によっては、例えばプリンタ104ヘの制御コマンドを発生して、データセレクタ14、1394I/F部13、1394ケーブルCを介してプリンタ104に転送する。   An instruction input such as a reproduction operation of the D-VTR 105 is performed from the operation unit 10. Based on the instruction input from the operation unit 10, the system controller 11 controls each operation unit including control of the reproduction processing circuit 5 of the VTR. Depending on the instruction input, for example, a control command to the printer 104 is generated and transferred to the printer 104 via the data selector 14, the 1394 I / F unit 13, and the 1394 cable C.

1394ケーブルCを介してプリンタ104から送られて来るプリンタ104の動作状態等のプリンタ情報データは、1394I/F部13からデータセレクタ14を経てシステムコントローラ11に取込むことが可能である。ただし、上記プリンタ情報データがD−VTR105にとって不要なものである場合には、システムコントローラ11に取込まれることなく、1394I/F部13、1394ケーブルCを介してD−VTR106に転送される(図1の接続状態参照)。また、上記プリンタ情報データは、プリンタ104の1394I/F部17、1394ケーブルCを介してパソコン103に転送することも可能である。   Printer information data such as the operating state of the printer 104 sent from the printer 104 via the 1394 cable C can be taken into the system controller 11 from the 1394 I / F unit 13 via the data selector 14. However, if the printer information data is unnecessary for the D-VTR 105, it is transferred to the D-VTR 106 via the 1394 I / F unit 13 and the 1394 cable C without being taken into the system controller 11 ( (See connection state in FIG. 1). The printer information data can also be transferred to the personal computer 103 via the 1394 I / F unit 17 and the 1394 cable C of the printer 104.

D−VTR105のデータセレクタ14、及びプリンタ104のデータセレクタ25は、入力又は出力する各データのセレクトを行うものであり、順次各データがデータ種毎に区別して所定の構成要素に入出力する。   The data selector 14 of the D-VTR 105 and the data selector 25 of the printer 104 perform selection of each data to be input or output, and each data is sequentially input / output to / from a predetermined component while being distinguished for each data type.

次に、プリンタ104の動作について説明する。1394I/F部17に入力されたデータは、データセレクタ25により各データの種類毎に分類され、プリントすべきデータは、画像処理回路18に入力されてプリントに適した画像処理が施され、プリンタコントローラ23の制御の下にプリント画像としてメモリ19に格納される。また、プリンタコントローラ23は、メモリ19から読出したプリント画像をプリンタヘッド20に転送してプリントさせる。プリンタヘッド20の駆動制御や紙送り等の駆動制御は、直接にはドライバ21が行い、プリンタコントローラ23は、ドライバ21を制御することにより、間接的にプリント動作を制御する。プリンタ104の操作部22は、紙送り、リセット、インクチェック、プリンタ動作のスタンバイ/停止等の動作を指示入力するものであり、その指示入力に応じてプリンタコントローラ23による各部の制御がなされる。   Next, the operation of the printer 104 will be described. The data input to the 1394 I / F unit 17 is classified for each data type by the data selector 25, and the data to be printed is input to the image processing circuit 18 and subjected to image processing suitable for printing. The print image is stored in the memory 19 under the control of the controller 23. Further, the printer controller 23 transfers the print image read from the memory 19 to the printer head 20 for printing. The driver 21 directly controls the drive control of the printer head 20 and the paper feed, and the printer controller 23 controls the driver 21 indirectly by controlling the driver 21. The operation unit 22 of the printer 104 inputs instructions for operations such as paper feed, reset, ink check, and standby / stop of the printer operation, and each unit is controlled by the printer controller 23 in accordance with the instruction input.

1394I/F部17に入力されたデータが、パソコン103やD−VTR105等から発せられたプリンタ104に対するコマンドデータであった場合は、このコマンドデータはデータセレクタ25からプリンタコントローラ23に転送され、プリンタコントローラ23によってプリンタの各部の制御がなされる。また、プリンタ情報生成部24では、プリンタの動作状況、プリントの終了や開始可能な状態であるかを示すメッセージや紙詰まりや動作不良、インクの有無等を示す警告メッセージ、さらにはプリント画像の情報等をプリンタ情報として生成する。このプリンタ情報は、データセレクタ25、1394I/F部17を介して外部に出力できる。   If the data input to the 1394 I / F unit 17 is command data for the printer 104 issued from the personal computer 103, the D-VTR 105, or the like, the command data is transferred from the data selector 25 to the printer controller 23, and the printer The controller 23 controls each part of the printer. The printer information generation unit 24 also displays a printer operation status, a message indicating whether printing is complete or ready to start, a paper jam or malfunction, a warning message indicating the presence or absence of ink, and print image information. Etc. are generated as printer information. This printer information can be output to the outside via the data selector 25 and the 1394 I / F unit 17.

この出力されたプリンタ情報を元にして、パソコン103やD−VTR105は、プリンタ状況に応じた表示や処理を行う。このプリンタ情報を元にしてパソコン103に表示された(D−VTR105がダイレクトプリント機能を有していればD−VTR105にも表示される)メッセージやプリント画像情報を、ユーザーが見ることによって、適切な対処をすべく、パソコン103(及びD−VTR105)からプリンタ104に対するコマンドの入力を行って、1394シリアルバスで制御コマンドデータを送信して、プリンタコントローラ23の制御によりプリンタ104の各部の動作制御や、画像処理部18でのプリント画像の制御を行うことが可能である。   Based on the output printer information, the personal computer 103 and the D-VTR 105 perform display and processing according to the printer status. Based on this printer information, the message or print image information displayed on the personal computer 103 (displayed on the D-VTR 105 if the D-VTR 105 has a direct print function) is appropriately displayed by the user. In order to take appropriate measures, a command is input to the printer 104 from the personal computer 103 (and the D-VTR 105), control command data is transmitted by the 1394 serial bus, and operation control of each part of the printer 104 is controlled by the printer controller 23. In addition, the print image can be controlled by the image processing unit 18.

このように、パソコン103やD−VTR105とプリンタ104間を接続した1394シリアルバスには、映像データや各種のコマンドデータなどが適宜転送されることになる。D−VTR105から転送する各データの転送形式は、先に述べた1394シリアルバスの仕様に基づいて、主として映像データ(及び音声データ)はIsoデータとしてアイソクロナス転送方式で1394シリアルバス上を転送し、コマンドデータはAsyncデータとしてアシンクロナス転送方式で転送するものとする。   As described above, video data, various command data, and the like are appropriately transferred to the 1394 serial bus connecting the personal computer 103 or D-VTR 105 and the printer 104. The transfer format of each data transferred from the D-VTR 105 is based on the specification of the 1394 serial bus described above. Mainly, video data (and audio data) are transferred on the 1394 serial bus as iso data by the isochronous transfer method. Command data is transferred as asynchronous data by the asynchronous transfer method.

ただし、ある種のデータは、場合によってアイソクロナス転送するよりアシンクロナス転送方式で送った方が都合が良いこともあるので、そのような場合は常にアシンクロナス転送方式を用いる。また、プリンタから転送されるプリンタ情報のデータは、Asyncデータとしてアシンクロナス転送方式で転送する。ただし、情報量が多いプリント画像データなどを転送するときは、Isoデータとしてアイソクロナス転送方式で送っても良い。   However, in some cases, it may be more convenient to send certain data using the asynchronous transfer method rather than isochronous transfer. In such a case, the asynchronous transfer method is always used. The printer information data transferred from the printer is transferred as asynchronous data by the asynchronous transfer method. However, when print image data having a large amount of information is transferred, it may be sent as Iso data by the isochronous transfer method.

なお、1394シリアルバスで図1のようなネットワークが構成されていた場合、D−VTR105もプリンタ104も、パソコン103、D−VTR106、DVDプレーヤ107、CDプレーヤ108、AVアンプ102、及びTVモニタ101と、1394シリアルバスの仕様に基づいて、それぞれのデータの双方向転送が可能である。   When the network as shown in FIG. 1 is configured by the 1394 serial bus, the D-VTR 105 and the printer 104 are both the personal computer 103, the D-VTR 106, the DVD player 107, the CD player 108, the AV amplifier 102, and the TV monitor 101. Based on the specifications of the 1394 serial bus, bidirectional transfer of each data is possible.

TVモニタ101、AVアンプ102、パソコン103、D−VTR106、DVDプレーヤ107、及びCDプレーヤ108は、それぞれの機器に特有の機能制御部を搭載しているが、1394シリアルバスによる情報通信に必要な部分、すなわち機器内の各ブロックから送信すべきデータが入力され、受信したデータを適宜機器内の各ブロックに振り分けるデータセレクタ、及び1394I/F部については、D−VTR105やプリンタ105と同様である。以上が1EEE1394の技術の概要説明である。   The TV monitor 101, the AV amplifier 102, the personal computer 103, the D-VTR 106, the DVD player 107, and the CD player 108 are equipped with a function control unit specific to each device, but are necessary for information communication using the 1394 serial bus. The data selector to which data to be transmitted is input from each block in the device, that is, the received data is appropriately distributed to each block in the device, and the 1394 I / F unit are the same as those of the D-VTR 105 and the printer 105. . The above is an outline of the technology of 1EE1394.

図20は、IEEE1394シリアルI/F部を有するビデオカメラ2600内のブロック図である。ビデオカメラ2600は、図示しない光学レンズ部、絞り2603、CCD2604、AGC2605、A/D変換器2606、絞り駆動部2607、CCDドライバ2608、及びタイミングジェネレータ2069からなる撮像部と、デジタル信号処理部2601と、カメラシステム制御部2602に大別される。   FIG. 20 is a block diagram of a video camera 2600 having an IEEE 1394 serial I / F unit. The video camera 2600 includes an optical lens unit (not shown), an aperture 2603, a CCD 2604, an AGC 2605, an A / D converter 2606, an aperture drive unit 2607, a CCD driver 2608, and a timing generator 2069, and a digital signal processing unit 2601. The camera system control unit 2602 is roughly classified.

光学レンズ部、及び絞り2603を介してCCD2604の撮像面に結像した画像光は、CCD2604により光電変換されてアナログの画像信号として出力される。そして、アナログの画像信号は、AGC2605でゲインコントロールされた後、A/D変換器2606でデジタル信号に変換されて、デジタル信号処理部2601に入力される。   Image light imaged on the imaging surface of the CCD 2604 via the optical lens unit and the diaphragm 2603 is photoelectrically converted by the CCD 2604 and output as an analog image signal. The analog image signal is gain-controlled by the AGC 2605, converted to a digital signal by the A / D converter 2606, and input to the digital signal processing unit 2601.

デジタル信号処理部2601に入力された画像信号のうち、輝度成分Yは、信号処埋ブロック2614で絞り制御用参照信号生成回路2615によって生成される参照信号とレベル比較され、その比較結果を信号処理ブロック2614から絞り駆動部2607に対して出力することにより、撮像光に対して常に適切な絞り値が得られるように自動的に絞り2603を制御する。   Of the image signal input to the digital signal processing unit 2601, the luminance component Y is level-compared with the reference signal generated by the aperture control reference signal generation circuit 2615 in the signal processing block 2614, and the comparison result is subjected to signal processing. By outputting to the aperture drive unit 2607 from the block 2614, the aperture 2603 is automatically controlled so that an appropriate aperture value is always obtained for the imaging light.

デジタル信号処理部2601に入力された画像信号中の色信号成分は、色分離マトリクス2610に入力される。色分離マトリクス2610は、色信号成分をR(レッド)、G(グリーン)、B(ブルー)の3色の色信号成分に分離し、特にRとBの色信号成分については、それぞれレベルコントロール回路2611,2612によってレベルを制御される。Gの色信号成分、及びレベルコントロール回路2611,2612から出力されたRとBの色信号成分は、色差マトリクス2613によってR−YとB−Yの色差信号に変換される。   The color signal component in the image signal input to the digital signal processing unit 2601 is input to the color separation matrix 2610. The color separation matrix 2610 separates the color signal component into three color signal components of R (red), G (green), and B (blue). In particular, for the color signal components of R and B, level control circuits are provided. The level is controlled by 2611 and 2612. The G color signal component and the R and B color signal components output from the level control circuits 2611 and 2612 are converted into RY and BY color difference signals by the color difference matrix 2613.

色信号成分のレベルの制御は、絞り値制御と同様に、信号処理ブロック2614により、色差マトリクス2613の出力信号であるところのR−Y、B−Yの色差信号レベルを、それぞれR−Yレベル制御用参照信号生成回路2616、B−Yレベル制御用参照信号生成回路2617によって生成される参照信号とレベルを比較し、その比較結果を信号処理ブロック2614からレベルコントロール回路2611,2612に対して出力することにより行う。この色信号成分のレベル制御により、常に適切なホワイトバランスが得られるようになる。   Similar to the aperture value control, the color signal component level is controlled by the signal processing block 2614 using the RY and BY color difference signal levels, which are output signals of the color difference matrix 2613, respectively. The level is compared with the reference signal generated by the control reference signal generation circuit 2616 and the BY level control reference signal generation circuit 2617, and the comparison result is output from the signal processing block 2614 to the level control circuits 2611 and 2612. To do. By controlling the level of the color signal component, an appropriate white balance can always be obtained.

CCD2604の撮像面に結像する撮像光の光量に対応する電荷をCCD2604内のセルに蓄積する時間、すなわちシャッタスピードは、タイミングジェネレータ2609からCCDドライバ2608を経てCCD2604に供給されるCCD駆動信号によって制御される。タイミングジェネレータ2609は、カメラシステム制御部2602内のI/F2625に接続されており、CPU2626からの制御命令に従ってCCD蓄積時間を制御する。絞り制御用参照信号生成回路2615、R−Yレベル制御用参照信号生成回路2616、及びB−Yレベル制御用参照信号生成回路2617の出力レベルも、I/F回路2625,1618を介してカメラシステム制御部2602から送られてくる制御信号によって変更可能なように構成されている。   The time for accumulating charges corresponding to the amount of imaging light imaged on the imaging surface of the CCD 2604 in the cells in the CCD 2604, that is, the shutter speed, is controlled by a CCD drive signal supplied from the timing generator 2609 to the CCD 2604 via the CCD driver 2608. Is done. The timing generator 2609 is connected to the I / F 2625 in the camera system control unit 2602 and controls the CCD accumulation time according to a control command from the CPU 2626. The output levels of the aperture control reference signal generation circuit 2615, the RY level control reference signal generation circuit 2616, and the BY level control reference signal generation circuit 2617 are also connected to the camera system via the I / F circuits 2625 and 1618. It can be changed by a control signal sent from the control unit 2602.

カメラシステム制御部2602は、ビデオカメラ2600の外部のパソコン103と、1394ケーブルC、1394I/F部2627を介して通信可能に構成されている。この通信機能により、パソコン103からのカメラ制御命令に従って、CPU2626から絞り制御用参照信号生成回路2615、R−Yレベル制御用参照信号生成回路2616、B−Yレベル制御用参照信号生成回路2617の出力レベルを変更すべく信号を出力することにより、絞り値、R−Yレベル、B−Yレベルの制御の基準値が変更されるので、結果として絞り値や色合い、色の濃さといったカメラ部の制御対象を、カメラ外部からコントロールすることが可能となる。   The camera system control unit 2602 is configured to be able to communicate with the personal computer 103 outside the video camera 2600 via the 1394 cable C and the 1394 I / F unit 2627. With this communication function, the CPU 2626 outputs the aperture control reference signal generation circuit 2615, the RY level control reference signal generation circuit 2616, and the BY level control reference signal generation circuit 2617 in accordance with a camera control command from the personal computer 103. By outputting a signal to change the level, the reference value for controlling the aperture value, the RY level, and the BY level is changed. As a result, the aperture value, hue, color density, etc. The control target can be controlled from outside the camera.

絞り制御用参照信号生成回路2615、R−Yレベル制御用参照信号生成回路2616、B−Yレベル制御用参照信号生成回路2617の出力レベルの基準値は、RAM2629の標準制御データ記憶領域2621に記憶されており、通常は、この領域2621のデータがRAM2630の制御データ記憶領域2623に転送され、CPU2626を介して、適宜、絞り制御用参照信号生成回路2615、R−Yレベル制御用参照信号生成回路2616、B−Yレベル制御用参照信号生成回路2617、タイミングジェネレータ2609に制御条件として伝達され、自動的に適切な撮影条件が設定される。   The reference values of the output levels of the aperture control reference signal generation circuit 2615, the RY level control reference signal generation circuit 2616, and the BY level control reference signal generation circuit 2617 are stored in the standard control data storage area 2621 of the RAM 2629. Normally, the data in this area 2621 is transferred to the control data storage area 2623 of the RAM 2630, and the aperture control reference signal generation circuit 2615 and the RY level control reference signal generation circuit are appropriately set via the CPU 2626. 2616, the BY level control reference signal generation circuit 2617 and the timing generator 2609 are transmitted as control conditions, and appropriate photographing conditions are automatically set.

パソコン103らビデオカメラ2600をコントロールする場合、パソコン103から1394I/F部2627に送信されたカメラ制御命令は、CPU2626により、適宜、ビデオカメラ2600に適したデータに置換されて、I/F2625を介してデジタル信号処理部2601に出力される。一方、I/F2625を介してデジタル信号処理部2601に出力されたデータは、RAM2629の調整用制御データ記憶領域2622にも記憶され、必要に応じて制御データ記憶領域2623を介してCPU2626に読出される。こうすることにより、パソコン103から伝達されたカメラ制御情報は、ビデオカメラ2600内に一旦記憶され、必要な時に読出して同様の制御を繰返し行うことが可能となる。   When controlling the video camera 2600 from the personal computer 103, the camera control command transmitted from the personal computer 103 to the 1394 I / F unit 2627 is appropriately replaced by the CPU 2626 with data suitable for the video camera 2600, and via the I / F 2625. Is output to the digital signal processing unit 2601. On the other hand, data output to the digital signal processing unit 2601 via the I / F 2625 is also stored in the adjustment control data storage area 2622 of the RAM 2629 and is read out to the CPU 2626 via the control data storage area 2623 as necessary. The By doing so, the camera control information transmitted from the personal computer 103 is temporarily stored in the video camera 2600, and can be read out when necessary to perform the same control repeatedly.

CPU2626は、RAM2629,2630に対するアクセス制御を、アドレス指定部2620と、R/W指定部2624を介して実行しており、パソコン103によって設定された撮影条件を設定する場合には、調整用制御データ記憶領域2622のデータを制御データ記憶領域2623に書込み、標準の撮影条件を設定する場合には、標準制御データ記憶領域2621のデータを制御データ記憶領域2623に書込む。   The CPU 2626 executes access control to the RAMs 2629 and 2630 via the address designation unit 2620 and the R / W designation unit 2624. When setting the shooting conditions set by the personal computer 103, the adjustment control data When data in the storage area 2622 is written in the control data storage area 2623 and standard imaging conditions are set, the data in the standard control data storage area 2621 is written in the control data storage area 2623.

なお、ROM2628には、上記図7〜10、図13のフローチャート、後述する図22のフローチャートに対応する制御プログラムがプリセットされており、これら制御プログラムは、CPU2626により実行される。また、パソコン103により実行される後述の図21,23,27,29〜30のフローチャートに対応する制御プログラム、及び図24,25,26,28,31,32に示した画像内容、データ等は、図示省略したフロッピー(登録商標)ディスク、ハードディスク、CD−ROM等の記憶媒体により、パソコン103に供給することができる。   The ROM 2628 is preset with control programs corresponding to the flowcharts of FIGS. 7 to 10 and FIG. 13 and the flowchart of FIG. 22 described later, and these control programs are executed by the CPU 2626. Further, the control program corresponding to the flowcharts of FIGS. 21, 23, 27, 29 to 30 described later executed by the personal computer 103 and the image contents, data, etc. shown in FIGS. 24, 25, 26, 28, 31, 32 are as follows. These can be supplied to the personal computer 103 by a storage medium such as a floppy disk (registered trademark), a hard disk, and a CD-ROM (not shown).

ビデオカメラ2600、及びパソコン103は、それぞれ1394ケーブルCが接続されると、モード設定動作に入るか否かの判別を行う。具体的には、パソコン103側は、例えば図21に示したように、ステップS501で処理の実行が開始されると、ステップS502にて、1394ケーブルCが接続されたか否かを、バスリセットが発生したか否かを検出することによって認識する。   When the 1394 cable C is connected, the video camera 2600 and the personal computer 103 each determine whether or not to enter the mode setting operation. Specifically, as shown in FIG. 21, for example, when the execution of processing is started in step S501, the personal computer 103 side determines whether or not the 1394 cable C is connected in step S502. It is recognized by detecting whether or not it has occurred.

バスリセットが発生していなければ、何ら処理を実行することなく、そのまま待機し、バスリセットが発生していれば、ステップS503にて、ビデオカメラ2600が1394ケーブルCにより接続されたか否かを判別する。このビデオカメラ2600が接続されたか否かの判別は、例えば、ビデオカメラ2600の1394シリアルバスにおける上記図4に示したアドレス空間の64ビットアドレスを読出し、この64ビットアドレスに基づいて行う。   If no bus reset has occurred, the process stands by without executing any processing. If a bus reset has occurred, it is determined in step S503 whether the video camera 2600 is connected by the 1394 cable C. To do. Whether or not the video camera 2600 is connected is determined, for example, by reading the 64-bit address of the address space shown in FIG. 4 in the 1394 serial bus of the video camera 2600 and based on the 64-bit address.

ステップS503にて、制御対象とするビデオカメラ2600が接続されていないと判別した場合には、ステップS502に戻る。一方、制御対象とするビデオカメラ2600が接続されていると判別された場合には、ステップS504にて、ビデオカメラ2600側がパソコン103側からのモード設定命令を受付け得る状態であるかどうかを判断する。モード設定命令を受付け得る状態は、ビデオカメラ2600がテープ再生モードでない、すなわちカメラモードや図示しない種々のオートモードではなく、マニュアル設定モードになっている等の状態の場合である。   If it is determined in step S503 that the video camera 2600 to be controlled is not connected, the process returns to step S502. On the other hand, if it is determined that the video camera 2600 to be controlled is connected, it is determined in step S504 whether or not the video camera 2600 side is ready to accept a mode setting command from the personal computer 103 side. . The state in which the mode setting command can be accepted is the case where the video camera 2600 is not in the tape playback mode, that is, in the state where it is in the manual setting mode instead of the camera mode or various auto modes (not shown).

モード設定命令を受付け得る状態でない場合は、ステップS503に戻り、再度、制御対象であるビデオカメラ2600が依然接続されているかどうかを確認した上で、ステップS504の処理を再実行する。ステップS504でビデオカメラ2600がモード設定命令を受付け得る状態であると認識された場合、ステップS506にて、モード設定プログラムを起動し、パソコン103からモード設定命令を伝達することにより、ビデオカメラ2600をパソコン103から遠隔制御する。   If the mode setting command is not acceptable, the process returns to step S503, and after confirming again whether or not the video camera 2600 to be controlled is still connected, the process of step S504 is executed again. When it is recognized in step S504 that the video camera 2600 is ready to accept the mode setting command, in step S506, the mode setting program is started, and the mode setting command is transmitted from the personal computer 103, whereby the video camera 2600 is Remote control is performed from the personal computer 103.

一方、ビデオカメラ2600側では、図22のフローチャートに示したように、ステップS506で処理の実行が開始されると、ステップS507にて、通常のカメラ動作を実行する。通常のカメラ動作とは、図20の制御データ記憶領域2623に標準制御データ記憶領域2621の標準制御データが書込まれている状態での動作である。   On the other hand, on the video camera 2600 side, as shown in the flowchart of FIG. 22, when the execution of the process is started in step S506, a normal camera operation is executed in step S507. The normal camera operation is an operation in a state where the standard control data in the standard control data storage area 2621 is written in the control data storage area 2623 of FIG.

通常のカメラ動作を実行しながら、CPU2626は、1394ケーブルCが接続されたか否かを、ステップS508にて常に監視している。1394ケーブルCの接続を検出する方法としては、例えばポートのバイアス電圧の変化を検出する方法等を挙げることができる。ステップS508で1394ケーブルCの接続が確認されなければ、ステップS507に戻る。また、1394ケーブルCの接続が確認された場合には、ステップS509に進んで、バスリセットの完了を待ってから、ステップS510にて、1394ケーブルCによる接続相手が、パソコン103であるか否かを確認する。接続相手がパソコン103であるか否かの確認は、パソコン103が行ったのと同様に、例えばビデオカメラの1394シリアルバスにおける上記図4のアドレス空間の64ビットアドレスを読出して、この64ビットアドレスに基づいて行う。   While performing normal camera operation, the CPU 2626 constantly monitors whether or not the 1394 cable C is connected in step S508. Examples of the method for detecting the connection of the 1394 cable C include a method for detecting a change in the bias voltage of the port. If the connection of the 1394 cable C is not confirmed in step S508, the process returns to step S507. If the connection of the 1394 cable C is confirmed, the process proceeds to step S509 and waits for the completion of the bus reset. Then, in step S510, it is determined whether or not the connection partner of the 1394 cable C is the personal computer 103. Confirm. Whether or not the connection partner is the personal computer 103 is confirmed by reading the 64-bit address in the address space of FIG. 4 in the 1394 serial bus of the video camera, for example, as the personal computer 103 performs. Based on.

接続相手がパソコン103である場合は、ステップS511にて、パソコン103側がモード設定プログラムを動作させているかどうかを確認する。この確認は、例えば図3のアプリケーション・レイヤの情報を読取ったり、或いは相互通信におけるAsyncデータを認識することにより行うことができる。ステップS512にて、パソコン103側がモード設定プログラムを動作させていることを確認できた場合には、ステップS512に進み、パソコン103側からの命令に従って、上述の如く制御の基準値やシャッタスピードを変更し、また、制御データ記憶領域2623の記憶内容を書換えることにより、ビデオカメラ2600によるモード設定動作を実行する。   If the connection partner is the personal computer 103, it is checked in step S511 whether the personal computer 103 is operating the mode setting program. This confirmation can be performed, for example, by reading the information of the application layer in FIG. 3 or recognizing Async data in mutual communication. If it is confirmed in step S512 that the personal computer 103 side is operating the mode setting program, the process proceeds to step S512, and the control reference value and shutter speed are changed as described above in accordance with a command from the personal computer 103 side. In addition, the mode setting operation by the video camera 2600 is executed by rewriting the storage contents of the control data storage area 2623.

なお、ビデオカメラ2600側は、ステップS508〜511の各判別処理を順次実行することにより、パソコン103からの命令に従ってモード設定動作を実行するか否かを判断するのであるから、上記各判別処理のいずれかの過程で条件が整わなかった場合には、パソコン103からの命令に従わない動作、すなわち、通常のカメラ動作を繰返すことになる。   The video camera 2600 side determines whether or not to execute the mode setting operation in accordance with a command from the personal computer 103 by sequentially executing each determination process in steps S508 to S511. If the condition is not satisfied in any of the processes, an operation not following the command from the personal computer 103, that is, a normal camera operation is repeated.

パソコン103からの命令に従ってビデオカメラ2600にモード設定動作を行わせる場合、上記のように、パソコン103側でモード設定プログラムを実行させる必要がある。図23にパソコン103側のモード設定プログラム(図21のステップS505に対応)の概略フローチャートを示す。   When the video camera 2600 performs a mode setting operation in accordance with a command from the personal computer 103, it is necessary to execute a mode setting program on the personal computer 103 side as described above. FIG. 23 shows a schematic flowchart of a mode setting program (corresponding to step S505 in FIG. 21) on the personal computer 103 side.

まず、ステップS5051にて、図示しないマウスやキーボードの操作によって選択された設定モードの種別を判断する。そして、選択された設定モードの種別に応じて、ステップS5052の撮影条件設定モード、ステップS5053の標準設定モード、ステップS5054の撮影画像確認&条件設定モードのプログラムのいずれかを実行する。   First, in step S5051, the type of setting mode selected by operating a mouse or a keyboard (not shown) is determined. Then, depending on the type of the selected setting mode, one of the shooting condition setting mode in step S5052, the standard setting mode in step S5053, and the captured image confirmation and condition setting mode program in step S5054 is executed.

以下、順次、ステップS5053の標準設定モード、ステップS5052の撮影条件設定モード、ステップS5053の標準設定モードについて詳細に説明する。   Hereinafter, the standard setting mode in step S5053, the shooting condition setting mode in step S5052 and the standard setting mode in step S5053 will be described in detail.

[標準設定モード]
標準設定モードとは、種々の撮影条件に対応したビデオカメラ2600の設定内容をパソコン103側に記憶しておき、代表的な撮影条件をパソコン103上で選択し、パソコン103によってその撮影条件に適した設定をビデオカメラ2600に対して行うモードである。
[Standard setting mode]
In the standard setting mode, the setting contents of the video camera 2600 corresponding to various shooting conditions are stored on the personal computer 103 side, representative shooting conditions are selected on the personal computer 103, and the personal computer 103 is suitable for the shooting conditions. In this mode, the setting is performed on the video camera 2600.

標準設定モードが選択されると、パソコン103のモニタには、図24の画面601が表示される。この画面601には、通常のビデオカメラ2600のオート設定では良好な撮影が困難な撮影シーンが数種類表示されている。この中の夕日撮影モードをマウス等で選択すると、図25の画面602に表示が切替わり、夕日の撮像例603、夕日撮影モードの解説604、モード設定確認メッセージ605、カメラ設定ボタン606が表示される。   When the standard setting mode is selected, a screen 601 in FIG. 24 is displayed on the monitor of the personal computer 103. On this screen 601, several types of shooting scenes that are difficult to shoot with the normal setting of the video camera 2600 are displayed. When the sunset shooting mode is selected with a mouse or the like, the display is switched to a screen 602 in FIG. 25, and a sunset shooting example 603, a sunset shooting mode explanation 604, a mode setting confirmation message 605, and a camera setting button 606 are displayed. The

沈んで行く夕日を撮影する場合、普通は赤々と撮影したいものであるが、通常のビデオカメラ2600のオート設定では、オートホワイトバランス機能が動作して赤の色成分を抑制し、できるだけ白に近づけるように動作してしまう。従って、取込まれる画像も赤みが薄れ、夕日らしく撮影することができない。   When shooting sunsets, you usually want to shoot red, but with the normal video camera 2600 auto setting, the auto white balance function works to suppress the red color component and make it as close to white as possible. Will end up working. Therefore, the captured image is also faint red and cannot be photographed like a sunset.

標準設定モードで夕日撮影モードを選択すると、例えば図20のR−Yレベル制御用参照信号生成回路2616、B−Yレベル制御用参照信号生成回路の出力レベルがパソコン103からの予め定められた設定値に変更され、赤を強調した画像がビデオカメラ2600から出力されるようになる。同時に、CCD2604を飽和状態にさせないようにするための、予め定められた適切とされるシャッタスピードと絞り値も、パソコン103からビデオカメラ2600に送られ、よりくっきりと夕日を撮影できるようになる。パソコン103の操作者が図25のカメラ設定ボタン606をクリックすると、パソコン103からビデオカメラ2600へ上記の各種の設定値等が転送され、ビデオカメラ2600において設定値等に従った設定と、転送データの記憶がなされる。   When the sunset shooting mode is selected in the standard setting mode, for example, the output levels of the RY level control reference signal generation circuit 2616 and the BY level control reference signal generation circuit in FIG. The image is changed to a value and an image in which red is emphasized is output from the video camera 2600. At the same time, a predetermined appropriate shutter speed and aperture value for preventing the CCD 2604 from being saturated are also sent from the personal computer 103 to the video camera 2600 so that the sunset can be photographed more clearly. When the operator of the personal computer 103 clicks the camera setting button 606 in FIG. 25, the above various setting values and the like are transferred from the personal computer 103 to the video camera 2600, and the settings according to the setting values in the video camera 2600 and the transfer data are transferred. Is memorized.

夕日撮影モード時のカメラ設定条件として、ホワイトバランス、シャッタスピード、絞り値を挙げたが、この他にも図26に列挙されるようなカメラ設定条件をパソコン103側から変更することができる。従って、例えば、結婚披露宴撮影モード(図24参照)では、背景の暗さで絞り(アイリス)2603が開き気味になり、新郎新婦の顔が白く飛んでしまうのを防ぐため、パソコン103側から絞り2603を閉じ気味に制御することが可能となる。   As the camera setting conditions in the sunset shooting mode, white balance, shutter speed, and aperture value are listed, but other camera setting conditions listed in FIG. 26 can be changed from the personal computer 103 side. Therefore, for example, in the wedding reception shooting mode (see FIG. 24), the iris (iris) 2603 opens in the darkness of the background, so that the bride and groom's face does not fly white. It becomes possible to close 2603 and control it.

また、生物観察(接写)モード(図24参照)では、パソコン103側からの制御により、焦点距離を短く設定してマクロ撮影可能な光学条件とすることも可能となる。また、スキー場モード(図24参照)では、高照度下での絞り2603の絞り過ぎによる光線の回折を防ぐために、パソコン103側からの制御により絞り量を所定の値に抑え、シャッタスピードを高速化することで対応することもできる。さらに、夜景撮影モード(図24参照)では、ネオンの色を良好に撮影できるように、絞り、シャッタスピード、及びホワイトバランスをパソコン103側から適正値に設定することも可能となる。   Further, in the biological observation (close-up) mode (see FIG. 24), it is possible to set the focal length to be short and set the optical conditions that allow macro photography by control from the personal computer 103 side. Further, in the ski resort mode (see FIG. 24), in order to prevent light diffraction due to excessive aperture of the aperture 2603 under high illuminance, the aperture amount is suppressed to a predetermined value by the control from the personal computer 103 side, and the shutter speed is increased. It is possible to cope with it by making it. Further, in the night scene shooting mode (see FIG. 24), the aperture, shutter speed, and white balance can be set to appropriate values from the personal computer 103 side so that the neon color can be satisfactorily shot.

[撮影条件設定モード]
図27は、パソコン103により実行される撮影条件設定モード(図23のステップS5052)の処理を示すフローチャートである。撮影条件設定モードの処理が開始されると、図24と同等のモード選択用の画面がパソコン103のモニタ上に表示され、操作者は撮影したいシーンを選択する。そこで、パソコン103は、操作者による撮影したいシーンのモード選択が完了するまで待機する(ステップS521)。シーンモードの選択が完了したら、ステップS522に進んで、選択されたシーンモードの標準カメラ設定条件をパソコン103内のメモリから読出す。操作者が夕日撮影モードを選択したとすると、ステップS522で最初に読出される標準カメラ設定条件は、上述の標準設定モード時と同一である。
[Shooting condition setting mode]
FIG. 27 is a flowchart showing processing in the photographing condition setting mode (step S5052 in FIG. 23) executed by the personal computer 103. When the processing of the shooting condition setting mode is started, a mode selection screen similar to that shown in FIG. 24 is displayed on the monitor of the personal computer 103, and the operator selects a scene to be shot. Therefore, the personal computer 103 stands by until the mode selection of the scene to be photographed by the operator is completed (step S521). When the selection of the scene mode is completed, the process proceeds to step S522, and the standard camera setting conditions for the selected scene mode are read from the memory in the personal computer 103. If the operator selects the sunset shooting mode, the standard camera setting conditions that are read first in step S522 are the same as those in the standard setting mode described above.

次に、ステップS523にて、図28に示した画面2401をパソコン103のモニタ上に表示する。図28の画面2401には、モードの説明2402、夕日の撮像例2409、色合い調節ツマミ2403、色の濃さ調節ツマミ2404、絞り値調節ツマミと絞り値表示2405、シャッタスピード調節ツマミとシャッタスピード表示2406、次の操作の説明2407、及びカメラ設定ボタン2408が表示されている。   Next, in step S523, the screen 2401 shown in FIG. 28 is displayed on the monitor of the personal computer 103. A screen 2401 in FIG. 28 includes a mode description 2402, sunset imaging example 2409, a hue adjustment knob 2403, a color density adjustment knob 2404, an aperture value adjustment knob and an aperture value display 2405, a shutter speed adjustment knob and a shutter speed display. 2406, a description 2407 of the next operation, and a camera setting button 2408 are displayed.

そこで、ステップS524の撮影条件設定処理において、操作者はマウス等を操作して各調節ツマミを移動させ、ビデオカメラ2600の設定を標準設定状態から個々の好みによって変化させる。図29は、図27のステップ524の撮影条件設定処理の詳細を示すフローチャートである。   Therefore, in the shooting condition setting process in step S524, the operator operates the mouse or the like to move each adjustment knob, and changes the settings of the video camera 2600 from the standard setting state according to individual preferences. FIG. 29 is a flowchart showing details of the photographing condition setting process in step 524 of FIG.

図27のステップS524で処理の実行が開始されると、図29のステップS5241で操作者がどの項目に調節を加えようとしているのかを確認する。具体的には、マウスのカーソル位置に表示されているツマミを操作することになるので、マウスのカーソル位置と各ツマミの表示位置との一致を検出することになる。例えば、色合い調節ツマミ2403上でマウスが右ドラッグされながら左に移動すれば、ステップS5242にて、赤を強調すべく設定内容を変更し、同時にマウスの移動に合わせてツマミ表示を左に移動させる。   When the execution of the process is started in step S524 in FIG. 27, it is confirmed in step S5241 in FIG. 29 which item the operator is trying to adjust. Specifically, since the knob displayed at the cursor position of the mouse is operated, the coincidence between the cursor position of the mouse and the display position of each knob is detected. For example, if the mouse is moved to the left while being dragged right on the color adjustment knob 2403, the setting content is changed to emphasize red in step S5242, and at the same time, the knob display is moved to the left in accordance with the movement of the mouse. .

同様の調節、及び設定変更をステップS5243、ステップS5244、ステップS5245で、それぞれ色の濃さ、絞り値、シャッタスピードに対して行う。そして、ステップS5246にて、図28のカメラ設定ボタン2408がクリックされたか否かを確認する。その結果、カメラ設定ボタン2408がクリックされていなければ、ステップS5241に戻り、次の調節を受付ける。カメラ設定ボタン2408がクリックされていれば、処理を終了する。   Similar adjustments and setting changes are made in step S5243, step S5244, and step S5245 with respect to color density, aperture value, and shutter speed, respectively. In step S5246, it is confirmed whether or not the camera setting button 2408 in FIG. 28 has been clicked. As a result, if the camera setting button 2408 has not been clicked, the process returns to step S5241 to accept the next adjustment. If the camera setting button 2408 is clicked, the process is terminated.

上記一連の調節動作に合わせ、図28の画面2401上の撮像例2409の色合いや色の濃さ、画面の明るさ等を変更し、ツマミを移動させたときにどのような画像になるかを操作者に認識させれば、利便性が更に向上する。   In accordance with the above-described series of adjustment operations, the color of the image pickup example 2409 on the screen 2401 in FIG. 28, the color intensity, the screen brightness, etc. are changed, and what kind of image is obtained when the knob is moved. If the operator recognizes it, the convenience is further improved.

このようにして、撮影条件の設定が完了したら、図27のステップS525にて、パソコン103内のカメラ設定条件を書換えて記憶しておく。次に、ステップS526にて、パソコン103からビデオカメラ2600へ上記の各種の設定値等を転送することにより、ビデオカメラ2600においてカメラ設定条件の書換え等がなされるようにする。この間、パソコン103側では、ステップS527にて、ビデオカメラ2600側の設定処理が完了したかどうかの確認を行い、未完了であれば、ステップS526に戻り、完了すれば終了する。   When the setting of the shooting conditions is completed in this way, the camera setting conditions in the personal computer 103 are rewritten and stored in step S525 of FIG. Next, in step S526, the above-described various setting values and the like are transferred from the personal computer 103 to the video camera 2600, whereby the camera setting conditions are rewritten in the video camera 2600. During this time, the personal computer 103 checks in step S527 whether the setting process on the video camera 2600 side is completed. If it is not completed, the process returns to step S526, and if completed, the process ends.

このように、各撮影モード毎の標準設定に対し、操作者が更に調節を加えることにより、操作者の好みに合ったビデオカメラ2600の設定状態を、パソコン103からの遠隔操作により得ることが可能になる。   In this way, the operator can further adjust the standard settings for each shooting mode, so that the setting state of the video camera 2600 that suits the operator's preference can be obtained by remote control from the personal computer 103. become.

[撮影画像確認&条件設定モード]
図30は、図23のステップS5054の撮影画像確認&条件設定モードの詳細な処理を示すフローチャートである。撮影画像確認&条件設定モードの処理が開始されると、図24と同等の画面がパソコン103のモニタ上に表示されるので、操作者は撮影したいシーンを選択する。そして、パソコン103では、ステップS541で、操作音による撮影したいシーンの選択が完了するまで待機する。シーンモードの選択が完了したら、ステップS542に進んで、選択されたシーンモートの標準カメラ設定条件をパソコン103内のメモリから読出す。操作者が夕日撮影モードを選択したとすると、ステップS542で最初に読出される標準カメラ設定条件は、上述の標準設定モード時と同一である。
[Shooting image confirmation & condition setting mode]
FIG. 30 is a flowchart showing detailed processing of the captured image confirmation & condition setting mode in step S5054 of FIG. When the captured image confirmation & condition setting mode process is started, a screen equivalent to that shown in FIG. 24 is displayed on the monitor of the personal computer 103, and the operator selects a scene to be captured. In step S541, the personal computer 103 waits until selection of a scene to be photographed using the operation sound is completed. When the selection of the scene mode is completed, the process proceeds to step S542, and the standard camera setting conditions of the selected scene mode are read from the memory in the personal computer 103. If the operator selects the sunset shooting mode, the standard camera setting conditions that are read first in step S542 are the same as those in the standard setting mode described above.

次に、ステップS543にて、図31に示した画面2501をパソコン103のモニタ上に表示する。図31の画面2501には、モードの説明2502、画像取込み中である旨の表示2504、次の操作の説明2503、カメラ画像取込みボタン2505が表示されている。そこで、操作者は、表示された指示に従って、撮影した夕日画像をビデオカメラ2600のテープ(図示省略)を再生しながら探し出し、サンプルとして適当な画像を特定する。そして、その画像を再生しながらカメラ取込みボタン2505をクリックすることにより、ステップS544にて、パソコン103にビデオカメラの再生画像が取込まれる。ビデオカメラの再生画像の取込みには、或る程度の時間を要するため、画像の取込みが完了したか否かをステップS545にて監視し、画像の取込みが完了したら、ステップS546にて、図32の画面2506を表示する。   In step S543, the screen 2501 shown in FIG. 31 is displayed on the monitor of the personal computer 103. A screen 2501 in FIG. 31 displays a mode description 2502, a display 2504 indicating that an image is being captured, a description 2503 of the next operation, and a camera image capture button 2505. Therefore, the operator searches for the photographed sunset image while reproducing the tape (not shown) of the video camera 2600 according to the displayed instruction, and specifies an appropriate image as a sample. Then, by clicking the camera capture button 2505 while reproducing the image, the reproduction image of the video camera is captured in the personal computer 103 in step S544. Since it takes a certain amount of time to capture the playback image of the video camera, whether or not the capture of the image is completed is monitored in step S545, and when the capture of the image is completed, in step S546, FIG. Screen 2506 is displayed.

この画面2506には、モードの説明2502、ステップS544で取込んだ画像(すなわち、実際の夕日撮像画面)2507、色合い調節ツマミ2403、色の濃さ調節ツマミ2404、絞り値調節ツマミと絞り値表示2405、シャッタスピード調節ツマミとシャッタスピード表示2406、次の操作の説明2407、及びカメラ設定ボタン2408が表示されている。   On this screen 2506, description of the mode 2502, the image captured in step S544 (ie, the actual sunset imaging screen) 2507, the hue adjustment knob 2403, the color density adjustment knob 2404, the aperture value adjustment knob, and the aperture value display 2405, a shutter speed adjustment knob and a shutter speed display 2406, a description 2407 of the next operation, and a camera setting button 2408 are displayed.

そこで、ステップS547の撮影条件設定処理において、操作者はマウス等を操作して各調節ツマミを移動させ、ビデオカメラ2600の設定を標準と言われる状態から個々の好みによって変化させる。上記一連の調節動作に合わせ、図28の画面2401上の撮像例2409の色合いや色の濃さ、画面の明るさ等を変更し、ツマミを移動させたときにどのような画像になるかを操作者に認識させれば、利便性が更に向上する。   Therefore, in the shooting condition setting process in step S547, the operator operates the mouse or the like to move each adjustment knob, and changes the setting of the video camera 2600 from the standard state to the individual preference. In accordance with the above-described series of adjustment operations, the color of the imaging example 2409 on the screen 2401 in FIG. 28, the color intensity, the screen brightness, etc. are changed, and what kind of image is obtained when the knob is moved. If the operator recognizes it, the convenience is further improved.

このようにして、撮影条件の設定が完了したら、ステップS548にて、パソコン103内のカメラ設定条件を書換えて記憶しておく。これは、ステップS547の撮影条件の設定で再度撮影してきて調節を加えたい場合、先の調節状態から操作を開始させるために必要な処理である。   When the setting of the shooting conditions is completed in this way, the camera setting conditions in the personal computer 103 are rewritten and stored in step S548. This is a process necessary for starting the operation from the previous adjustment state in the case where it is desired to perform an adjustment again after taking an image with the setting of the imaging condition in step S547.

次に、ステップS549にて、パソコン103からビデオカメラ2600へ上記の各種の設定値等を転送することにより、ビデオカメラ2600においてカメラ設定条件の書換え等がなされるようにする。この間、パソコン103側では、ステップS550にて、ビデオカメラ2600側の設定処理が完了したかどうかの確認を行い、未完了であれば、ステップS549に戻り、完了すれば終了する。   Next, in step S549, the above-described various setting values and the like are transferred from the personal computer 103 to the video camera 2600 so that the camera camera 2600 can rewrite the camera setting conditions. Meanwhile, the personal computer 103 checks in step S550 whether the setting process on the video camera 2600 side is completed. If it is not completed, the process returns to step S549, and if completed, the process ends.

このように、各撮影モードの標準設定に対し、実際に撮像した画像を確認しながら更に調節を加えることにより、操作者の好みに合ったビデオカメラ2600の具体的な設定状態を、パソコン103からの遠隔操作により得ることが可能になる。   As described above, by further adjusting the standard setting of each shooting mode while confirming the actually captured image, the specific setting state of the video camera 2600 according to the preference of the operator can be changed from the personal computer 103. Can be obtained by remote control.

このように、本実施形態では、従来ビデオカメラ内で固定的に設定されていた制御内容をパソコン103から変更することが可能となるので、パソコン103側に被写体(被写界)に対応する種々のカメラ制御条件を記憶しておき、ビデオカメラ内に多くの制御情報を予め記憶することなく、撮影する被写体の種類に応じてビデオカメラ制御条件をパソコン103から設定することが可能になる。また、パソコン103に予め設定されているビデオカメラの制御条件に対して、操作者がパソコン103上で調節を加え、撮影者の好みに合ったビデオカメラ制御条件を作り出すことが可能になる。さらに、操作者がパソコン103上で調節を加える際に、実際に撮影してきた画像を予めパソコン103に取込むことにより、調節後の撮影画像をパソコン103上で事前にシミュレーションできるようになる。   As described above, in the present embodiment, since it is possible to change the control content that has been fixedly set in the conventional video camera from the personal computer 103, various types corresponding to the subject (field of view) on the personal computer 103 side. It is possible to set the video camera control conditions from the personal computer 103 according to the type of subject to be photographed without storing a large amount of control information in the video camera in advance. In addition, the operator can adjust the video camera control conditions set in advance in the personal computer 103 on the personal computer 103 to create video camera control conditions that suit the photographer's preference. Further, when the operator makes adjustments on the personal computer 103, the captured image can be simulated in advance on the personal computer 103 by taking the actually captured image into the personal computer 103 in advance.

なお、本発明は、上記の実施形態に限定されることなく、例えば、夜景等の特定の1つの撮影条件に対応する絞り、シャッタスピード、ホワイトバランス等の制御データをパソコンに記憶した場合には、ビデオカメラとの接続を検出することにより、完全に自動化して上記制御データをビデオカメラに送信することも可能である。また、動画を撮影するビデオカメラ以外の静止画を撮影するデジタルカメラ等の撮像装置に適用することも可能である。   The present invention is not limited to the above-described embodiment. For example, when control data such as an aperture, shutter speed, and white balance corresponding to one specific shooting condition such as a night view is stored in a personal computer. It is also possible to send the control data to the video camera in a fully automated manner by detecting the connection with the video camera. Further, the present invention can also be applied to an imaging apparatus such as a digital camera that captures still images other than a video camera that captures moving images.

さらに、撮像装置とプリンタとを1394ケーブルで接続した場合に、プリンタの印刷性能(解像度、印刷速度、カラー/モノカラー等)を検出し、プリンタの印刷性能に応じた精度の撮影画像(再生画像)を撮像装置からプリンタに自動的に送信したり、印刷性能に応じた送信速度で撮影画像をプリンタに自動的に送信して印刷することも可能である。この場合、印刷性能に関する情報は、プリンタ情報生成部24から読み出してプリンタ側から能動的に撮像装置に送信してもよく、或いは撮像装置の方からプリンタに問合わせて送信するように依頼するようにしてもよい。   Further, when the imaging device and the printer are connected by a 1394 cable, the printing performance (resolution, printing speed, color / monocolor, etc.) of the printer is detected, and a captured image (reproduced image) with an accuracy corresponding to the printing performance of the printer is detected. ) Can be automatically transmitted from the imaging apparatus to the printer, or the captured image can be automatically transmitted to the printer at a transmission speed corresponding to the printing performance for printing. In this case, the information regarding the printing performance may be read from the printer information generation unit 24 and actively transmitted from the printer side to the imaging device, or the imaging device may ask the printer to send an inquiry. It may be.

IEEE1394通信システムによるネットワーク構成例を示す図である。It is a figure which shows the network structural example by the IEEE1394 communication system. IEEE1394シリアルバスによる機器の接続形態例を示す図である。It is a figure which shows the example of a connection form of the apparatus by an IEEE1394 serial bus. IEEE1394シリアルバスの構成要素を示す図である。It is a figure which shows the component of an IEEE1394 serial bus. IEEE1394シリアルバスにおけるアドレス空間を示す図である。It is a figure which shows the address space in an IEEE1394 serial bus. IEEE1394シリアルバス・ケーブルの断面図である。1 is a cross-sectional view of an IEEE 1394 serial bus cable. IEEE1394シリアルバスにおけるデータ転送フォーマットのDS−Link符号化方式を説明するための図である。It is a figure for demonstrating the DS-Link encoding system of the data transfer format in an IEEE1394 serial bus. バスリセットからノード1D決定までの処理の概略を示すフローチャートである。It is a flowchart which shows the outline of the process from a bus reset to node 1D determination. 図7におけるバスリセットからルート決定までの詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process from the bus reset in FIG. 7 to route determination. 図7におけるルート決定からID設定までの詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process from the route determination in FIG. 7 to ID setting. 図9の続きのフローチャートである。FIG. 10 is a flowchart continued from FIG. 9. FIG. ノードID決定時の親子関係の実際の決定の仕方を説明するための図である。It is a figure for demonstrating the method of the actual determination of the parent-child relationship at the time of node ID determination. バス使用要求、及びバス使用許可を説明するための図である。It is a figure for demonstrating a bus use request and bus use permission. バス使用権のアービトレーション処理を示すフローチャートである。It is a flowchart which shows the arbitration process of a bus use right. アシンクロナス転送における時間的な遷移状態を示す図である。It is a figure which shows the temporal transition state in asynchronous transfer. アシンクロナス転送のパケットフォーマット例を示す図である。It is a figure which shows the packet format example of asynchronous transfer. アイソクロナス転送における時間的な遷移状態を示す図である。It is a figure which shows the temporal transition state in isochronous transfer. アイソクロナス転送のパケットフォーマット例を示す図である。It is a figure which shows the packet format example of isochronous transfer. アイソクロナス転送とアシンクロナス転送が混在したバス上の転送状態の時間的な遷移を示す図である。It is a figure which shows the time transition of the transfer state on the bus | bath where isochronous transfer and asynchronous transfer were mixed. IEEE1394I/F部を含む情報伝達経路例を説明するための図である。It is a figure for demonstrating the example of an information transmission path | route including an IEEE1394 I / F part. 本発明の実施形態に係るビデオカメラの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the video camera which concerns on embodiment of this invention. 図20におけるパソコンのモード設定プログラム実行開始までの処理を示すフローチャートである。It is a flowchart which shows the process until the mode setting program execution start of the personal computer in FIG. 図20におけるビデオカメラのモード設定動作までの処理を示すフローチャートである。FIG. 21 is a flowchart showing processing up to a mode setting operation of the video camera in FIG. 20. モード設定プログラムの概略処理を示すフローチャートである。It is a flowchart which shows the schematic process of a mode setting program. パソコンのモード選択メニュー画面を示す図である。It is a figure which shows the mode selection menu screen of a personal computer. 夕日撮影モード選択時のパソコン画面を示す図である。It is a figure which shows the personal computer screen at the time of sunset photography mode selection. カメラ制御コマンドの種類を示す図である。It is a figure which shows the kind of camera control command. 撮影条件設定モードの処理を示すフローチャートである。It is a flowchart which shows the process of imaging condition setting mode. 夕日撮影条件設定モード実行時のパソコン画面を示す図である。It is a figure which shows the personal computer screen at the time of sunset shooting condition setting mode execution. 撮影条件設定の処理を示すフローチャートである。It is a flowchart which shows the process of imaging condition setting. 撮像画像確認&条件設定モードの処理を示すフローチャートである。It is a flowchart which shows the process of captured image confirmation & condition setting mode. 撮像画像確認&条件設定モード実行中における画像取込時のパソコン画面を示す図である。It is a figure which shows the personal computer screen at the time of image taking in in captured image confirmation & condition setting mode. 撮像画像確認&条件設定モード実行中におけるカメラ設定時のパソコン画面を示す図である。It is a figure which shows the personal computer screen at the time of the camera setting in captured image confirmation & condition setting mode execution. 従来のSCSIを用いたデータ通信システム例を示す図である。It is a figure which shows the example of a data communication system using the conventional SCSI.

符号の説明Explanation of symbols

103:パソコン
104:プリンタ
2600:ビデオカメラ
2601:デジタル信号処理部
2602:カメラシステム制御部
2603:絞り
2604:CCD
2607:絞り駆動部
2608:CCDドライバ
2609:タイミングジェネレータ
2614:信号処理ブロック
2615:絞り制御用参照信号生成回路
2616:R−Yレベル制御用参照信号生成回路
2617:B−Yレベル制御用参照信号生成回路
2621:標準制御データ記憶領域
2622:調整用制御データ記憶領域
2623:制御データ記憶領域
2626:CPU
2627:IEEE1394I/F
2628:ROM
2629,2630:RAM
C:IEEE1394バスケーブル
103: PC 104: Printer 2600: Video camera 2601: Digital signal processing unit 2602: Camera system control unit 2603: Aperture 2604: CCD
2607: Aperture drive unit 2608: CCD driver 2609: Timing generator 2614: Signal processing block 2615: Reference signal generation circuit for aperture control 2616: Reference signal generation circuit for RY level control 2617: Reference signal generation for BY level control Circuit 2621: Standard control data storage area 2622: Adjustment control data storage area 2623: Control data storage area 2626: CPU
2627: IEEE 1394 I / F
2628: ROM
2629, 2630: RAM
C: IEEE1394 bus cable

Claims (9)

異なる撮影条件別に対応させた撮像装置の設定情報の組合せからなる制御データを記憶する記憶手段と、該記憶手段に記憶された制御データに従って撮像部を制御する制御手段とを備えた撮像装置において、
撮影条件別に対応するモデル画像を表示して、使用者に所望のモデル画像を選択させるための案内を行う表示手段を有し、
前記制御手段は、選択されたモデル画像の撮影条件に対応する前記制御データに応じて前記撮像部を制御することを特徴とする撮像装置。
In an imaging apparatus comprising: storage means for storing control data composed of combinations of setting information of imaging apparatuses corresponding to different imaging conditions; and control means for controlling the imaging unit in accordance with the control data stored in the storage means.
Display means for displaying a model image corresponding to each photographing condition and guiding the user to select a desired model image;
The image pickup apparatus, wherein the control unit controls the image pickup unit in accordance with the control data corresponding to a shooting condition of a selected model image.
前記表示手段は、撮影条件別に対応するモデル画像とこのモデル画像の解説を行う情報を表示することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the display unit displays a model image corresponding to each photographing condition and information for explaining the model image. 前記表示手段にて表示されたモデル画像に対応する前記制御データを変更するための変更手段を有することを特徴とする請求項1または2に記載の撮像装置。   The imaging apparatus according to claim 1, further comprising a changing unit that changes the control data corresponding to the model image displayed by the display unit. 前記表示手段は、前記変更手段にて変更された制御データに応じたモデル画像を表示することを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein the display unit displays a model image corresponding to the control data changed by the changing unit. 異なる撮影条件別に対応させた撮像装置の設定情報の組合せからなる制御データを記憶する記憶手段と、該記憶手段に記憶された制御データに従って撮像部を制御する制御手段を備えた撮像装置の制御方法において、
撮影条件別に対応するモデル画像を表示して、使用者に所望のモデル画像を選択させるための案内を行う表示工程と、
選択されたモデル画像の撮影条件に対応する前記制御データに応じて前記撮像部を制御する制御工程を備えることを特徴とする撮像装置の制御方法。
An imaging apparatus control method comprising: storage means for storing control data composed of combinations of setting information of imaging apparatuses corresponding to different imaging conditions; and control means for controlling the imaging section in accordance with the control data stored in the storage means In
A display process for displaying a model image corresponding to each photographing condition and guiding a user to select a desired model image;
A control method for an imaging apparatus, comprising: a control step of controlling the imaging unit in accordance with the control data corresponding to a shooting condition of a selected model image.
前記表示工程では、撮影条件別に対応したモデル画像とこのモデル画像の解説を行う情報を表示することを特徴とする請求項5に記載の撮像装置の制御方法。   6. The method according to claim 5, wherein in the display step, a model image corresponding to each photographing condition and information for explaining the model image are displayed. 前記表示工程にて表示されたモデル画像に対応する前記制御データを変更するための変更工程を有することを特徴とする請求項5または6に記載の撮像装置の制御方法。   The method for controlling an imaging apparatus according to claim 5, further comprising a changing step for changing the control data corresponding to the model image displayed in the display step. 前記変更手段にて変更された制御データに応じたモデル画像を表示する第2の表示工程を備えることを特徴とする請求項7に記載の撮像装置の制御方法。   The method of controlling an imaging apparatus according to claim 7, further comprising a second display step of displaying a model image corresponding to the control data changed by the changing unit. 請求項5から8のいずれかに記載の撮像装置の制御方法を実行するプログラムを格納した特徴とする、コンピュータにより読取可能な記憶媒体。   A computer-readable storage medium storing a program for executing the method for controlling an imaging apparatus according to claim 5.
JP2005300821A 2005-10-14 2005-10-14 Imaging apparatus, control method thereof, and storage medium Pending JP2006042395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005300821A JP2006042395A (en) 2005-10-14 2005-10-14 Imaging apparatus, control method thereof, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005300821A JP2006042395A (en) 2005-10-14 2005-10-14 Imaging apparatus, control method thereof, and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003095992A Division JP2003345538A (en) 2003-03-31 2003-03-31 Printing system, image pickup unit, printing device, method for controlling image pickup unit, method for controlling printing device, and storage medium

Publications (1)

Publication Number Publication Date
JP2006042395A true JP2006042395A (en) 2006-02-09

Family

ID=35906775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005300821A Pending JP2006042395A (en) 2005-10-14 2005-10-14 Imaging apparatus, control method thereof, and storage medium

Country Status (1)

Country Link
JP (1) JP2006042395A (en)

Similar Documents

Publication Publication Date Title
JP3652125B2 (en) Imaging control apparatus, imaging control method, imaging control system, and storage medium
JP3423620B2 (en) Imaging device and control device, imaging device control system, control method therefor, and storage medium
US7936381B2 (en) Management and setting of photographing condition of image sensing apparatus
JPH10226139A (en) Image forming system, image forming apparatus, and medium
JP4006116B2 (en) Imaging condition management apparatus, imaging condition management method, and storage medium
JP3599581B2 (en) Electronic device and computer-readable storage medium
JP3682512B2 (en) Image capturing apparatus and control method thereof, printing system, printing method, and printing apparatus and control method thereof
JP3501613B2 (en) Data communication system, print system and data communication device
JP2006042395A (en) Imaging apparatus, control method thereof, and storage medium
JP2004260857A (en) Imaging control apparatus, imaging control method, imaging control system, and storage medium
JP3814428B2 (en) Camera control method for terminal device
JP2003345538A (en) Printing system, image pickup unit, printing device, method for controlling image pickup unit, method for controlling printing device, and storage medium
JP2006254492A (en) Digital device and method of controlling the same
JP4653955B2 (en) Electronic device and control method thereof
JP2000138860A (en) Image pickup device, controller for image pickup device and computer-readable storage medium
JP4073027B2 (en) Imaging device and image output device
JP2003078844A (en) Image data storage device, printing device, system and method for transferring image data, computer readable storage medium and computer program
JP2004030109A (en) Apparatus and method for information processing and storage medium stored with program thereof
JP3919718B2 (en) Image forming system and image forming apparatus
JP4208934B2 (en) Imaging apparatus and control method thereof
JP3890124B2 (en) Data communication system, data communication method, data communication node, and recording medium
JP2006050653A (en) Data communication apparatus, method, and system, and storage medium
JP2006191171A (en) Control unit, control method, and program
JP2000261468A (en) Device and method for connecting network
JP2003087883A (en) Control system for network connection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051014

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070501

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070904