JP2007080198A - Digital device using randomly accessible recording medium - Google Patents

Digital device using randomly accessible recording medium Download PDF

Info

Publication number
JP2007080198A
JP2007080198A JP2005270550A JP2005270550A JP2007080198A JP 2007080198 A JP2007080198 A JP 2007080198A JP 2005270550 A JP2005270550 A JP 2005270550A JP 2005270550 A JP2005270550 A JP 2005270550A JP 2007080198 A JP2007080198 A JP 2007080198A
Authority
JP
Japan
Prior art keywords
file
data
recording
command
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005270550A
Other languages
Japanese (ja)
Inventor
Shinji Onishi
慎二 大西
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 JP2005270550A priority Critical patent/JP2007080198A/en
Publication of JP2007080198A publication Critical patent/JP2007080198A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To record file data input via a camera storage of IEEE 1394 separately into an additional information area and a data area of a disk. <P>SOLUTION: A RECEIVE FILE PARTIAL command is provided with a file_type field and a file_type_dependent_parameter field and a controller notifies a target of a type of transmission data. The target executes recording in either the additional information area or the data area according to the type of data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、制御信号とデータを混在させて通信することが可能なデータ通信バスを用いて電子機器(以下、機器)間を接続して、機器間でデータ通信を行うシステムを所有する装置に関するものである。   The present invention relates to an apparatus having a system for performing data communication between devices by connecting electronic devices (hereinafter referred to as devices) using a data communication bus capable of communicating by mixing control signals and data. Is.

光ディスク、磁気ディスク、光磁気ディスク等の記録媒体内に動画、静止画、音声等の情報を記録する場合、UDF(Universal Disk Format)やFAT(File Allocation Table)等のファイルシステムを通してディスク上にファイル単位で記録を行っている。ファイルを記録する際に、ファイル情報の管理や、データ再生を効率的に行うために記録媒体を付加情報領域及びデータ領域の2つの領域に分けて、付加情報領域にファイルのヘッダ・フッタ等の付加情報部分を、データ領域に動画像、静止画像、音声の圧縮/非圧縮データ等のデータ部を記録するシステムが存在する。図8に、上記2つの領域に分かれたディスク及び、ディスク上に記録されるファイルデータの例を示す。図8に示すディスクは、ディスク内周部が付加情報領域、外周部がデータ領域となっており、例えば前記ディスクを記録媒体として使用するデジタルビデオカメラが動画像データを記録する際にファイルヘッダ、フッタ部分を付加情報領域に、圧縮動画像データをデータ領域にそれぞれ記録する。最終的に記録されたデータは1つのファイルとしてディスク上に存在し、そのデータの並びは図8上の「ヘッダ」「圧縮画像データ」「フッタ」の順番となる。   When recording information such as moving images, still images, audio, etc. on a recording medium such as an optical disk, magnetic disk, magneto-optical disk, etc., the file is stored on the disk through a file system such as UDF (Universal Disk Format) or FAT (File Allocation Table). Recording is done in units. When recording a file, the recording medium is divided into two areas, an additional information area and a data area, for efficient file information management and data reproduction. There is a system for recording a data portion such as a moving image, a still image, and audio compressed / uncompressed data in a data area as an additional information portion. FIG. 8 shows an example of a disk divided into the above two areas and file data recorded on the disk. The disk shown in FIG. 8 has an additional information area on the inner periphery of the disk and a data area on the outer periphery. For example, when a digital video camera using the disk as a recording medium records moving image data, The footer portion is recorded in the additional information area, and the compressed moving image data is recorded in the data area. The finally recorded data exists on the disc as one file, and the arrangement of the data is in the order of “header”, “compressed image data”, and “footer” in FIG.

図9(a)に示す従来のシステムではアプリケーションが直接ファイルシステムを利用して各ファイルにアクセスするような場合、ファイル数やグループ数が多くなると、それらを一括して管理することが困難になり、必要な情報を探すのに時間がかかるという問題や、ファイルシステムを通してファイルを特定する場合には、ファイルの種類は拡張子で判断するしかなく、映像や音声ファイル等で同じ種類の拡張子が付けられている場合は判別が行いづらく、検索効率の低下が起こるという問題があった。また、記録済みの複数のファイルを時系列に再生する場合は、すべてのファイルへアクセスして記録時間順に並べ替える必要があった。このような問題を解決するために、記録媒体上に記録されたファイルの管理方法として、CMF(Contents Management File)を設ける手法が提案されている。前記CMFには、前記記録媒体上に記録されているファイルのファイル名、付加情報、ファイルの属するグループ情報等が記録されており、図9(b)に示すように、必要な全ファイルと全グループを一括管理するファイルであるCMFを設けることにより、アプリケーションはファイルシステムと直接やり取りせずに、CMF を通してディスク上の大量のファイルを扱ったり、グループ化等の必要な処理を汎用的に行うことが可能となる。   In the conventional system shown in FIG. 9A, when an application accesses each file directly using the file system, if the number of files or the number of groups increases, it becomes difficult to collectively manage them. The problem is that it takes time to search for necessary information, and when specifying a file through the file system, the file type must be determined by the extension, and the same type of extension is used for video and audio files. When attached, there is a problem that it is difficult to discriminate and the search efficiency is lowered. Further, when reproducing a plurality of recorded files in time series, it is necessary to access all the files and rearrange them in order of recording time. In order to solve such a problem, a method of providing a CMF (Contents Management File) has been proposed as a method for managing files recorded on a recording medium. In the CMF, the file name of the file recorded on the recording medium, additional information, group information to which the file belongs, etc. are recorded. As shown in FIG. By providing CMF, which is a file for managing groups in a batch, applications can handle a large number of files on the disk through CMF and perform general processing such as grouping without directly communicating with the file system. Is possible.

前記ディスク媒体を使用したデジタルビデオカメラ、デジタルカメラをPC等に接続するデジタルインターフェースとして、IEEE1394が近年普及してきている。前記デジタルインターフェースを接続してデータ転送を行う場合、パソコンはデジタルビデオカメラやデジタルカメラに対して記録媒体上に存在するファイル・ディレクトリのリストを要求し、受け取ったリストを元にファイルデータの送受信要求を行う。前述のような送受信要求を行うためのプロトコルとしてIEEE1394インターフェース規格の標準化団体である1394Trade AssociationでCamera Storageサブユニットが規定されている(TA Document 1999036, AV/C Camera Storage Subunit 1.0)。このサブユニットとパソコン等のコントローラはIEEE1394を介して、トランザクションを行いコントローラがサブユニットを制御したり、サブユニットの保持する情報を取得したりすることができる。   In recent years, IEEE1394 has become widespread as a digital video camera using the disk medium and a digital interface for connecting the digital camera to a PC or the like. When transferring data by connecting the digital interface, the personal computer requests a list of files and directories existing on the recording medium to the digital video camera or digital camera, and sends / receives file data based on the received list. I do. As a protocol for making a transmission / reception request as described above, the Camera Storage subunit is defined by the 1394 Trade Association, which is a standardization body of the IEEE1394 interface standard (TA Document 1999036, AV / C Camera Storage Subunit 1.0). The sub-unit and a controller such as a personal computer can perform a transaction via IEEE1394, and the controller can control the sub-unit and acquire information held by the sub-unit.

このトランザクションはIEC-61883-1, Consumer audio/video equipment - Digital interface - Part 1: Generalの中でFCP(Function Control Protocol)として規定されており、コントローラがターゲットデバイスの特定アドレスに対してwriteトランザクションを用いてコマンドデータを書き込み、前記writeトランザクションのデータを受信したターゲットがコントローラの特定アドレスに対してwriteトランザクションでレスポンスデータを書き込むことで実現される。AV/Cプロトコルでは各AV/Cサブユニットに対してCTS(Command Transaction Set)が規定されている。図10にCTSで用いるコマンドフレームのフォーマットを示す。ctypeフィールドはコマンドの種類を示す物であり、図31に示すコマンドタイプを指定する。subunit_type,subunit IDフィールドは、指定したノード内のどのユニットに対してのコマンドなのかを示すフィールドである。opcode,operandフィールドは実際のコマンドを内容を指定するフィールドである。図11にCTSで用いるレスポンスフレームのフォーマットを示す。responseフィールドはレスポンスの種類を示す物であり、図32に示すレスポンスタイプを指定する。subunit_type,subunit IDフィールドは、ノード内のどのユニットからのレスポンスなのかを示すフィールドである。opcode,operandフィールドはレスポンスデータを指定するフィールドである。   This transaction is defined as FCP (Function Control Protocol) in IEC-61883-1, Consumer audio / video equipment-Digital interface-Part 1: General, and the controller performs a write transaction for a specific address of the target device. The command data is written using the target, and the target receiving the data of the write transaction writes the response data to the specific address of the controller using the write transaction. In the AV / C protocol, CTS (Command Transaction Set) is defined for each AV / C subunit. FIG. 10 shows a command frame format used in CTS. The ctype field indicates the type of command, and specifies the command type shown in FIG. The subunit_type and subunit ID fields are fields indicating which unit in the specified node is the command. The opcode and operand fields are fields for specifying the actual command contents. FIG. 11 shows a response frame format used in CTS. The response field indicates the type of response, and specifies the response type shown in FIG. The subunit_type and subunit ID fields are fields indicating from which unit in the node the response is received. The opcode and operand fields are fields for specifying response data.

図12に、コントローラと前記Camera Storageサブユニットとの間でIEEE1394を介して行われる基本的なトランザクションの手順を示す。図12の例では、Camera Storageサブユニット上の記録媒体にファイルデータを書き込む手順を示している。コントローラは、IEEE1394バス上にCamera Storageサブユニットを検出し、前記検出したCamera Storage Subunitに対してVERSION statusコマンドを送信する。このコマンドは、Camera Storageサブユニットが実装している規格のバージョン情報を問い合わせるためのコマンドである。このコマンドを受信すると、Camera Storageサブユニットは、実装している規格のバージョンをセットしてレスポンスをコントローラに送信する。前記VERSION statusコマンドとレスポンスのフォーマットを図13に示す。AV/C Camera Storage Subunit 1.0準拠の機能を実装している場合、図13のレスポンスフレーム中のsubunit_version_informationフィールドには、0x10がセットされる。Camera Storageサブユニットは実装している機能によってカテゴリー分けがされており、Asynchronousトランザクションを用いて記録媒体上のファイルデータを送信する機能を持つ"asynchronous sender"、 Asynchronousトランザクションを用いてファイルデータを受信する機能を持つ"asynchronous receiver"、 Isochronousトランザクションを用いて記録媒体上のファイルデータを送信する機能を持つ"isochronous sender"、 Isochronousトランザクションを用いてファイルデータを受信する機能を持つ"isochronous receiver"の4つのプロファイルが定義されている。図33に前記プロファイルと各プロファイルに割り当てられている値を示す。Camera Storageサブユニットは、VERSION statusコマンドを受信すると、レスポンスフレームのsubunit_version_information_dependent_fieldには実装しているプロファイルの値がセットされる。   FIG. 12 shows a basic transaction procedure performed between the controller and the Camera Storage subunit via IEEE1394. The example of FIG. 12 shows a procedure for writing file data to a recording medium on the Camera Storage subunit. The controller detects the Camera Storage subunit on the IEEE1394 bus and transmits a VERSION status command to the detected Camera Storage Subunit. This command is a command for inquiring version information of the standard implemented by the Camera Storage subunit. When this command is received, the Camera Storage subunit sets the version of the implemented standard and sends a response to the controller. The format of the VERSION status command and response is shown in FIG. When a function compliant with AV / C Camera Storage Subunit 1.0 is implemented, 0x10 is set in the subunit_version_information field in the response frame of FIG. Camera Storage subunits are categorized according to the functions they implement, and receive file data using Asynchronous sender and Asynchronous transactions, which have the function of sending file data on recording media using Asynchronous transactions. "Asynchronous receiver" with the function, "isochronous sender" with the function to send the file data on the recording medium using the isochronous transaction, and "isochronous receiver" with the function to receive the file data using the isochronous transaction A profile is defined. FIG. 33 shows the profile and the value assigned to each profile. When the Camera Storage subunit receives the VERSION status command, the value of the implemented profile is set in the subunit_version_information_dependent_field of the response frame.

VERSION starusレスポンスフレームを受信したコントローラは、レスポンスフレームの各フィールド値によって、Camera Storageサブユニットの機能を判別する。   The controller that has received the VERSION starus response frame determines the function of the Camera Storage subunit based on each field value of the response frame.

次に、コントローラはCamera Storageサブユニットの持つ記録媒体の情報を取得するためにMEDIA INFOコマンド及びVOLUME INFOコマンドを送信する。   Next, the controller transmits a MEDIA INFO command and a VOLUME INFO command to acquire information on the recording medium possessed by the Camera Storage subunit.

図14に、MEDIA INFO Controlコマンド及びレスポンスのフォーマットを示す。Camera Storageサブユニットでは物理ボリューム及び論理ボリュームが定義されており、物理ボリュームは物理的な記録媒体そのものを示し、論理ボリュームは物理ボリューム中に存在する論理的に区切られた領域を示す。コントロールコマンド中のsubfunctionフィールドは、サブユニットに対してどのような操作を要求しているかを示すフィールドである。図34にsubfunctionの意味と値を示す。コントローラはコマンドフレームのsubfunctionフィールドにコマンドを実行するための"execute"をセットしてCamera Storageサブユニットにコマンドを送信する。MEDIA INFOコントロールコマンドを受信すると、Camera Storageサブユニットはデバイスが持つ物理ボリュームの数(例えば記録メディアをセットすることができるスロットの数)をnumber_of_physical_volumeフィールドにセットし、各物理ボリューム上に存在する論理ボリュームの数(例えば各記録メディア上に存在するパーティションの数)をnumber_of_logical_volumeフィールドにセットする。   FIG. 14 shows the format of the MEDIA INFO Control command and response. In the Camera Storage subunit, a physical volume and a logical volume are defined, the physical volume indicates a physical recording medium itself, and the logical volume indicates a logically partitioned area existing in the physical volume. The subfunction field in the control command is a field indicating what operation is requested to the subunit. FIG. 34 shows the meaning and value of subfunction. The controller sets “execute” for executing the command in the subfunction field of the command frame, and sends the command to the Camera Storage subunit. When the MEDIA INFO control command is received, the Camera Storage subunit sets the number of physical volumes that the device has (for example, the number of slots in which recording media can be set) in the number_of_physical_volume field, and the logical volumes that exist on each physical volume. (Eg, the number of partitions existing on each recording medium) is set in the number_of_logical_volume field.

図15にVOLUME INFO controlコマンド及びレスポンスのフォーマットを示す。このコマンドは、Camera Storageサブユニットの持つ各論理ボリュームの情報を取得するためのコマンドである。コントローラは、subfunctionフィールドに"execute"を、physical_volume_number, logical_volume_numberフィールドに情報を取得するボリューム番号をセットして、コマンドフレームをCamera Storage Subunitに送信する。VOLUME INFO Controlコマンドを受信すると、Camera Storageサブユニットは指定されたボリュームの情報をレスポンスフレームの各フィールドにセットしてコントローラに送信する。レスポンスフレーム中のmedia_generation_countは記録媒体が挿入されたときにカウントアップするカウンタの値で、着脱可能な記録媒体が機器に挿入された場合に更新される。このカウント値は、例えば電源投入時には"0"に初期化され、更新される場合には1づつカウントアップされる。attributeフィールドは記録媒体の属性を示す。図16にattributeフィールドのフォーマットを示す。Camera Storageサブユニットは指定されたボリュームの属性を調べて該当する属性ビットに"1"をセットする。maximum_capacityフィールドに指定されたボリュームのバイトサイズがセットされ、free_spaceフィールドには残りの記録可能なバイトサイズがセットされる。   FIG. 15 shows the format of the VOLUME INFO control command and response. This command is a command for acquiring information on each logical volume of the Camera Storage subunit. The controller sets “execute” in the subfunction field, sets the volume number for acquiring information in the physical_volume_number and logical_volume_number fields, and transmits a command frame to the Camera Storage Subunit. When the VOLUME INFO Control command is received, the Camera Storage subunit sets the specified volume information in each field of the response frame and sends it to the controller. Media_generation_count in the response frame is a counter value that is counted up when a recording medium is inserted, and is updated when a removable recording medium is inserted into the device. This count value is initialized to “0” when the power is turned on, for example, and is incremented by one when updated. The attribute field indicates the attribute of the recording medium. FIG. 16 shows the format of the attribute field. The Camera Storage subunit checks the attribute of the specified volume and sets the corresponding attribute bit to “1”. The byte size of the volume specified in the maximum_capacity field is set, and the remaining recordable byte size is set in the free_space field.

ボリュームの情報を取得した後、コントローラはFILE LIST Controlコマンドを送信してCamera Storageサブユニットの記録媒体上に記録されているファイルのリストを取得する。図17にFILE LIST Controlコマンド及びレスポンスのフォーマットを示す。コントローラはコントロールコマンドフレームのsubfunctionフィールドに"execute"を、physical_volume_number, logical_volume_numberに目的のボリューム番号をセットする。mediga_generation_countフィールドには前記VOLUME INFO controlレスポンスで取得した値をセットする。file_typeフィールド及びattributeフィールドは、取得するファイルリストに含まれるエントリーの種類を指定するフィールドである。図35にfile_typeフィールドの値を図18にattributeフィールドのフォーマットを示す。start_numberフィールドは、該当するファイルリストのどのエントリーからリストを取得するかを指示し、コマンドフレームのnumber_of_entriesフィールドは取得する最大のエントリーの数を指定する。request_path_lengthフィールドは、それに続くrequest_pathのバイトサイズを指示し、request_pathフィールドは指定したボリューム中のどのパスに対するファイルリストを取得するのかを指示する。FILE LIST Controlコマンドを受信すると、Camera Storageサブユニットはレスポンスフレームに指定されたrequest_pathに対するファイルリストをセットしてコントローラに送信する。ファイルリストはファイル及びディレクトリのディレクトリエントリから構成される。図19、図20に前記ディレクトリエントリのフォーマットを示す。各ディレクトリエントリは20バイトのデータで構成され、ファイル名またはディレクトリ名、アトリビュート、作成日時、ファイルサイズの情報を持つ。レスポンスフレームのeolフィールドは、そのレスポンスフレームで送信するリストの最後のディレクトリエントリが、コマンドフレームで指定されたリストの最後のディレクトリエントリであるか否かがセットされる。このフィールドが"0"の場合、レスポンスフレームで送信するリストの最後のディレクトリエントリが、コマンドフレームで指定されたリストの最後のディレクトリエントリではないことを示す。すなわち、リストには続きがあるため、リストの全体を取得するためにはコントローラは再度FILE LIST Controlコマンドを送信して続きのリストを取得する必要がある。レスポンスフレームのnumber_of_entriesフィールドには、file_listフィールドにセットされたディレクトリエントリの数がセットされる。file_listフィールドには、コマンドフレームで指定されたrequest_pathに対するfile_listがセットされる。   After acquiring the volume information, the controller transmits a FILE LIST Control command to acquire a list of files recorded on the recording medium of the Camera Storage subunit. FIG. 17 shows the format of the FILE LIST Control command and response. The controller sets “execute” in the subfunction field of the control command frame, and sets the target volume number in physical_volume_number and logical_volume_number. A value acquired by the VOLUME INFO control response is set in the mediga_generation_count field. The file_type field and the attribute field are fields that specify the type of entry included in the file list to be acquired. FIG. 35 shows the value of the file_type field, and FIG. 18 shows the format of the attribute field. The start_number field indicates from which entry of the corresponding file list the list is to be acquired, and the number_of_entries field of the command frame specifies the maximum number of entries to be acquired. The request_path_length field indicates the byte size of the subsequent request_path, and the request_path field indicates to which path in the specified volume the file list is acquired. When receiving the FILE LIST Control command, the Camera Storage subunit sets the file list for the request_path specified in the response frame and sends it to the controller. The file list is composed of directory entries of files and directories. 19 and 20 show the format of the directory entry. Each directory entry is composed of 20-byte data, and has file name or directory name, attribute, creation date and time, and file size information. In the eol field of the response frame, whether or not the last directory entry in the list transmitted in the response frame is the last directory entry in the list specified in the command frame is set. When this field is “0”, it indicates that the last directory entry in the list transmitted in the response frame is not the last directory entry in the list specified in the command frame. That is, since there is a continuation in the list, in order to acquire the entire list, the controller needs to acquire a continuation list by sending a FILE LIST Control command again. The number of directory entries set in the file_list field is set in the number_of_entries field of the response frame. In the file_list field, file_list for request_path specified in the command frame is set.

図21、図22、図23を用いてFILE LIST Controlコマンドによってファイルリストを取得する手順を示す。   A procedure for acquiring a file list by a FILE LIST Control command will be described with reference to FIGS.

図21はCamera Storageサブユニットの記録媒体上に存在するデータの例を示している。これらのデータは、physical_volume_number = 0, logical_volume_number = 0のボリューム上に存在しているものとする。図21ではルートディレクトリの下に"DCIM"ディレクトリが、その下に"100ABCDE","101ABCDE","102ABCD"サブディレクトリが存在し、各サブディレクトリにJPEGファイルが存在している。図22、図23は図17に示すFILE LIST Controlコマンドにセットするフィールドの値及び、レスポンスのfile_listにセットされるディレクトリエントリの一部を示す。   FIG. 21 shows an example of data existing on the recording medium of the Camera Storage subunit. These data are assumed to exist on a volume with physical_volume_number = 0 and logical_volume_number = 0. In FIG. 21, a “DCIM” directory exists under the root directory, and “100ABCDE”, “101ABCDE”, and “102ABCD” subdirectories exist below it, and JPEG files exist in each subdirectory. 22 and 23 show field values set in the FILE LIST Control command shown in FIG. 17 and part of directory entries set in the response file_list.

まず図22 (A)に、"DCIM"ディレクトリに存在するサブディレクトリのリストを取得するためのデータを示す。start_numberには0x00をセットし、リストの先頭からデータを取得することを指定する。file_typeには0x00を、attributeには0x01をセットし、全てのディレクトリのレコードを取得することを指定する。request_pathフィールドには"\DCIM"をASCIIコードでセットし(最後に終端記号として0x00を付加)、その長さをrequest_path_lengthにセットする。   First, FIG. 22A shows data for acquiring a list of subdirectories existing in the “DCIM” directory. Set start_number to 0x00 to specify that data is acquired from the top of the list. Set file_type to 0x00 and attribute to 0x01 to specify that all directory records are to be acquired. In the request_path field, set "\ DCIM" in ASCII code (add 0x00 as a terminal symbol at the end) and set the length to request_path_length.

図22(B)は図22(A)で示したリスト要求のControlコマンドに従って作成されるファイルリストに含まれるディレクトリエントリの一部を抜粋した内容を示すものである。"\DCIM"ディレクトリ上には"100ABCDE","101ABCDE","102ABCDE"の3つのサブディレクトリが存在するため、リストは3つのディレクトリエントリで構成される。Camera Storageサブユニットはレスポンスフレームのfile_listフィールドにディレクトリエントリをセットする。レスポンスフレームのの最大サイズは512バイトであり、レコードは20バイトであるのでfile_listフィールドには最大24個のディレクトリエントリをセットすることが出来る。この例ではディレクトリエントリが3つしかないので、全てのディレクトリエントリをレスポンスフレームにセットすることができ、リストの最後のディレクトリエントリが含まれるのでeolフィールドに"1"をセットする。   FIG. 22B shows the contents extracted from a part of the directory entry included in the file list created in accordance with the control command of the list request shown in FIG. Since there are three subdirectories “100ABCDE”, “101ABCDE”, and “102ABCDE” on the “\ DCIM” directory, the list is composed of three directory entries. The Camera Storage subunit sets a directory entry in the file_list field of the response frame. The maximum size of the response frame is 512 bytes, and the record is 20 bytes. Therefore, a maximum of 24 directory entries can be set in the file_list field. In this example, there are only three directory entries, so all directory entries can be set in the response frame, and the last directory entry in the list is included, so set the eol field to "1".

図22に示すデータをコマンドフレームにセットしてコマンドを送信し、そのレスポンスを受信することによってコントローラは、"\DCIM"ディレクトリの情報を取得し、次に、"\DCIM"ディレクトリ上の"100ABCDE"ディレクトリに存在する静止画ファイルのリスト取得するためのControlコマンドをCamera Storageサブユニットに送信する。図23(A)に"\DCIM\100ABCDE"ディレクトリのファイルリストを取得するためのデータ例を示す。start_numberには0x00をセットし、リストの先頭からデータを取得することを指定する。file_typeには0x01を、attributeには0x10をセットし、静止画ファイルのレコードを取得することを指定する。request_pathフィールドには"\DCIM\100ABCDE"をASCIIコードでセットし(最後に終端記号として0x00を付加)、その長さをrequest_path_lengthにセットする。   By sending the command with the data shown in FIG. 22 set in the command frame and receiving the response, the controller obtains information on the “\ DCIM” directory, and then “100ABCDE” on the “\ DCIM” directory. “Sends a Control command to the Camera Storage subunit to obtain a list of still image files in the directory. FIG. 23A shows an example of data for acquiring a file list in the “\ DCIM \ 100ABCDE” directory. Set start_number to 0x00 to specify that data is acquired from the top of the list. Set file_type to 0x01 and attribute to 0x10 to specify that still image file records are to be acquired. In the request_path field, set "\ DCIM \ 100ABCDE" in ASCII code (add 0x00 as a terminal symbol at the end) and set the length to request_path_length.

図23(B)は図23(A)で示したリスト要求のControlコマンドに従って作成されるファイルリストに含まれるディレクトリエントリの一部を抜粋した内容を示すものである。"\DCIM\100ABCDE"ディレクトリ上には"ABCD0001.JPG", "ABCD0002.JPG", "WXYZ0003.JPG"の3つ静止画ファイルと"Readme.txt"の1つのテキストファイルが存在するが、静止画のリスト要求のため、3つの静止画ファイルのディレクトリエントリからファイルリストは構成される。この3つのディレクトリエントリをレスポンスフレームのfile_listフィールドにセットし、eolフィールドに1をセットして、Camera Storageサブユニットはコントローラにレスポンスフレームを送信する。   FIG. 23B shows the contents extracted from a part of the directory entry included in the file list created in accordance with the control command of the list request shown in FIG. There are three still image files "ABCD0001.JPG", "ABCD0002.JPG", "WXYZ0003.JPG" and one text file "Readme.txt" in the "\ DCIM \ 100ABCDE" directory. For the image list request, the file list is composed of directory entries of three still image files. These three directory entries are set in the file_list field of the response frame, 1 is set in the eol field, and the Camera Storage subunit transmits a response frame to the controller.

前記FILE LIST Controlコマンドを使用してコントローラは、Camera Storageサブユニットの記録媒体上に存在するファイル及びディレクトリのパスを取得し、図12に示すRECEIVE FILE Controlコマンドに各ファイルのパスをセットすることによって目的のディレクトリ上にファイルを記録することができる。   By using the FILE LIST Control command, the controller obtains the path of the file and directory existing on the recording medium of the Camera Storage subunit, and sets the path of each file in the RECEIVE FILE Control command shown in FIG. A file can be recorded on a target directory.

前記RECEIVE FILE ControlコマンドはCamera Storageサブユニットに対してファイルデータの入力を行って記録媒体上に記録をおこなうためのコマンドである。このファイル記録の動作をCamera Storageサブユニットに対して要求する場合、コントローラは入記録を行うためにCamera Storageサブユニットと外部のデバイスとのファイル転送用のコネクション設定を行う必要がある。Camera Storageサブユニットでは、このコネクションはAV/C Asynchronous Serial Bus Connections(TA Document 1998011, AV/C Commands for management of Asynchronous Serial Bus Connections, Ver.1.0及びTA Document 1998016, AV/C Compatible Asynchronous Serial Bus Connections 1.0)で定められた手順を用いる。   The RECEIVE FILE Control command is a command for inputting file data to the Camera Storage subunit and recording on the recording medium. When requesting this file recording operation to the Camera Storage subunit, the controller needs to set up a connection for file transfer between the Camera Storage subunit and an external device in order to perform recording. In the Camera Storage subunit, this connection is AV / C Asynchronous Serial Bus Connections (TA Document 1998011, AV / C Commands for management of Asynchronous Serial Bus Connections, Ver.1.0 and TA Document 1998016, AV / C Compatible Asynchronous Serial Bus Connections 1.0 ) Is used.

図24にコネクション設定及びRECEIVE FILE Controlコマンドを使用したファイル転送の手順を示す。まずコントローラは、AV/C Asynchronous Serial Bus Connectionsで定められた手順に従って、ALLOCATE及びATTACHコマンドをCamera Storageサブユニットが実装されているAV/Cユニットに対して送信して、コントローラと前記AV/Cユニット間のコネクションを設定する。次にデータを記録するファイルのパスをセットしたRECEIVE FILE ControlコマンドをCamera Storageサブユニットに対して送信する。前記RECIEVE FILE Controlコマンドを受信したCamera Storageサブユニットは、RECEIVE FILEコマンドに対してINTERIMレスポンスを送信した後、AV/C Asynchronous Serial Bus Connectionsの手順に従って、producerであるコントローラデバイスにから受信し、指定されたファイルに記録する。ファイルの全てのデータ記録を終えると、Camera Storageサブユニットはコントローラに対してRECEIVE FILEの最終レスポンスを送信する。前記最終レスポンスを受信した後、コントローラはDETACH及びRELEASEコマンドをCamera Storageサブユニットが実装されているAV/Cユニットに対して送信して、コントローラと前記AV/Cユニット間のコネクションを解除する。   FIG. 24 shows a file transfer procedure using the connection setting and RECEIVE FILE Control commands. First, the controller transmits the ALLOCATE and ATTACH commands to the AV / C unit on which the Camera Storage subunit is mounted in accordance with the procedure defined by AV / C Asynchronous Serial Bus Connections, and the controller and the AV / C unit Set the connection between. Next, a RECEIVE FILE Control command in which the file path for recording data is set is transmitted to the Camera Storage subunit. After receiving the RECIEVE FILE Control command, the Camera Storage subunit sends an INTERIM response to the RECEIVE FILE command, and then receives it from the controller device that is the producer according to the AV / C Asynchronous Serial Bus Connections procedure. Record to a separate file. When all data recording of the file is completed, the Camera Storage subunit sends a final response of RECEIVE FILE to the controller. After receiving the final response, the controller transmits DETACH and RELEASE commands to the AV / C unit in which the Camera Storage subunit is mounted, and releases the connection between the controller and the AV / C unit.

図25にRECEIVE FILE Controlコマンド及びレスポンスのフォーマットを示す。コントローラはsubfunctionフィールドには"execute"をセットし、physical_volume_number、logical_volume_number、media_generation_countの各フィールドにデータを記録するボリュームの番号及びそのボリュームのgeneration count値をセットする。file_pathフィールドには記録するファイルのパス名をセットし、file_path_lengthフィールドにはその長さをセットする。receive_modeフィールドは、指定したファイルが既に指定したボリューム上に存在する場合の動作を指定する。図36にreceive_modeの意味と値を示す。file_typeフィールドは、Camera Storageサブユニットに入力されるデータの種類を指示する。図37にfile_typeの意味と値を示す。destination_plugフィールドには、Camera Storageサブユニットが持つどのdestination plugから記録するデータを入力するかを指定する。   FIG. 25 shows the format of the RECEIVE FILE Control command and response. The controller sets “execute” in the subfunction field, and sets the volume number and the generation count value of the volume in the physical_volume_number, logical_volume_number, and media_generation_count fields. In the file_path field, the path name of the file to be recorded is set, and in the file_path_length field, the length is set. The receive_mode field specifies the operation when the specified file already exists on the specified volume. FIG. 36 shows the meaning and value of receive_mode. The file_type field indicates the type of data input to the Camera Storage subunit. FIG. 37 shows the meaning and value of file_type. The destination_plug field specifies from which destination plug of the Camera Storage subunit the data to be recorded is input.

図26にRECEIVE FILE Controlコマンドでファイル転送を行う場合のコントローラとCamera Storageサブユニット間の論理的な接続経路の例を示す。コントローラは、ALLOCATE及びATTACHコマンドで、コントローラのAsynchronous Output Plug[0]とAV/CユニットのAsynchronous Input Plug[0]を接続することによって、コントローラのAsynchronous Output Plug[0]とCamera StorageサブユニットのSubunit Destination Plug[0]との接続を確立する。図26に示す接続の場合、前記図25のコマンドフレーム中のdestination_plugフィールドには、0x00(Subunit Destination Plug[0]を示す)をセットしてコントローラはRECEIVE FILE ControlコマンドをCamera Storageサブユニットに送信する。前記Controlコマンドを受信したCamera Storageサブユニットは、コントローラに対してINTERIMレスポンスを送信した後、AV/CユニットはAsynchronous Serial Bus Connectionsの手順に従って、コントローラのAsynchronous Output Plug[0]からデータを受信し、そのデータを指定されたSubunit Destination Plugに入力する。Cmaera Storageサブユニットは指定されたSubunit Destination Plugから入六されるデータを指定されたファイルに記録し、全てのデータを記録するとCamera Storageサブユニットはコントローラに最終レスポンスを送信してRECEIVE FILE Controlコマンドの動作を終了する。   FIG. 26 shows an example of a logical connection path between the controller and the Camera Storage subunit when performing file transfer with the RECEIVE FILE Control command. The controller uses the ALLOCATE and ATTACH commands to connect the controller's Asynchronous Output Plug [0] and the AV / C unit's Asynchronous Input Plug [0], so that the controller's Asynchronous Output Plug [0] and the Camera Storage subunit's Subunit Establish a connection with Destination Plug [0]. In the case of the connection shown in FIG. 26, 0x00 (indicating Subunit Destination Plug [0]) is set in the destination_plug field in the command frame of FIG. 25, and the controller transmits a RECEIVE FILE Control command to the Camera Storage subunit. . The Camera Storage subunit that has received the Control command sends an INTERIM response to the controller, and then the AV / C unit receives data from the Asynchronous Output Plug [0] of the controller according to the procedure of Asynchronous Serial Bus Connections. Input the data to the specified Subunit Destination Plug. The Cmaera Storage subunit records the data entered from the specified Subunit Destination Plug in the specified file, and when all the data is recorded, the Camera Storage subunit sends the final response to the controller and the RECEIVE FILE Control command End the operation.

図27に、前述の機能を持つ従来のデジタルビデオカメラの構成例を示す。まず、カメラから入力された画像を記録する場合について説明する。レンズ101を通して入力された画像はCCD102で光電変換された後にA/Dコンバータ103によってアナログ信号からデジタル信号に変換される。デジタル変換されたデータはMPEG Codec 104によってMPEG圧縮された動画像データに変換される。   FIG. 27 shows a configuration example of a conventional digital video camera having the above-described function. First, a case where an image input from a camera is recorded will be described. An image input through the lens 101 is photoelectrically converted by the CCD 102 and then converted from an analog signal to a digital signal by the A / D converter 103. The digitally converted data is converted into MPEG-compressed moving image data by MPEG Codec 104.

Formatter 105では記録開始時にMPEGファイルのヘッダデータを作成し、File System 106を通してDisc 107上にファイルを作成してヘッダ情報を付加情報領域に書き込む。またMPEG Codec 104から入力されるMPEG動画像データを順次File System 106を通してDisc 107のデータ領域に書き込む。記録終了時にはMPEGファイルのフッタデータを作成し、File System 106を通してDisc 107上にファイルを作成してヘッダ情報を付加情報領域に書き込む。またFormatter 105は作成されたMPEGファイルの情報をCMFファイルに追加する。   Formatter 105 creates MPEG file header data at the start of recording, creates a file on Disc 107 through File System 106, and writes the header information to the additional information area. Also, the MPEG moving image data input from the MPEG Codec 104 is sequentially written in the data area of the Disc 107 through the File System 106. At the end of recording, footer data of the MPEG file is created, a file is created on the Disc 107 through the File System 106, and header information is written in the additional information area. Formatter 105 also adds information about the created MPEG file to the CMF file.

次にディスク上に記録されたデータを再生する場合について説明する。図示しないシステムコントローラがCMFを読み出して、記録されているファイルの情報等をMonitor Panel 109に表示し、ユーザは図示しない操作ボタン等のユーザインターフェースを用いて表示されているファイルの一つを選択して再生を開始する。前記指定されたファイルが順次File System 106を通してDisc 107より読み出され、Formatter 105に入力される。Formatter 105はヘッダデータ、フッタデータ等の付加データを解析し、MPEG Codec 104に圧縮動画像データのみをMPEG Codec 104に出力する。MPEG Codec 104は入力されたデータをデコードした後、D/Aコンバータ108にデコードしたデータを出力する。D/Aコンバータ108は入力されたデジタルデータをアナログ変換して、Monitor Panel 109及びアナログビデオ出力端子110に出力する。   Next, a case where data recorded on the disc is reproduced will be described. A system controller (not shown) reads the CMF and displays the recorded file information on the Monitor Panel 109. The user selects one of the displayed files using a user interface such as an operation button (not shown). To start playback. The designated files are sequentially read from the Disc 107 through the File System 106 and input to the Formatter 105. Formatter 105 analyzes additional data such as header data and footer data, and outputs only compressed moving image data to MPEG Codec 104 to MPEG Codec 104. The MPEG Codec 104 decodes the input data and then outputs the decoded data to the D / A converter 108. The D / A converter 108 converts the input digital data into an analog signal and outputs it to the Monitor Panel 109 and the analog video output terminal 110.

次に、IEEE1394経由でMPEGファイルが記録される場合について説明する。IEEE1394端子111に接続されたPC等のコントローラによって、前述のCamera Storageサブユニットに対してアクセスが行われ、RECEIVE FILEコマンドによって記録動作が開始される。IEEE1394ブロック112はIEEE1394端子111より受信したRECEIVE FILEコマンドに従って、File System 106を通してDisc 107上にファイルを作成し受信したファイルデータをDisc 107上のデータ領域に順次書き込み、全てのファイルデータを受信して記録が終了するとファイルをクローズして処理を終了する。   Next, a case where an MPEG file is recorded via IEEE1394 will be described. A controller such as a PC connected to the IEEE1394 terminal 111 accesses the above-mentioned Camera Storage subunit, and a recording operation is started by a RECEIVE FILE command. In accordance with the RECEIVE FILE command received from the IEEE1394 terminal 111, the IEEE1394 block 112 creates a file on the Disc 107 through the File System 106 and sequentially writes the received file data to the data area on the Disc 107 to receive all the file data. When recording is completed, the file is closed and the process is terminated.

又、従来例としては、例えば特許文献1と特許文献2をあげることが出来る。
特開2000−299710号公報 特開2001−167556号公報
Moreover, as a prior art example, patent document 1 and patent document 2 can be mention | raise | lifted, for example.
JP 2000-299710 A JP 2001-167556 A

前記ディスク媒体を使用したデジタルビデオカメラやデジタルカメラのようなデジタルデータを記録する機器は、ユーザによる本体操作によってカメラから入力された画像データを本体内のシステムによってファイル化して記録する際には、ヘッダ情報生成時、圧縮/非圧縮デジタル画像・音声データ生成時、フッタ情報生成時にそれぞれ生成されたデータを前記ディスク媒体上の付加情報領域、データ領域に分けて書き込むことができるが、前述のように外部デジタルインターフェイス経由で入力されるファイルデータを記録する際は、デジタルインターフェース処理ブロックがファイルシステムにアクセスして入力されたファイルデータを記録しているため、付加情報とデータ本体の境界位置等を判別することができず、付加情報領域とデータ領域に分けて書き込むことが不可能であった。   A device for recording digital data such as a digital video camera or a digital camera using the disk medium, when image data input from the camera by a user operation by the user is filed and recorded by a system in the main body, Data generated during header information generation, compressed / uncompressed digital image / sound data generation, and footer information generation can be written separately into an additional information area and a data area on the disk medium. When the file data input via the external digital interface is recorded, the digital interface processing block records the file data input by accessing the file system. Cannot be determined, and the additional information area It was not possible to write divided into over data area.

前記課題を解決するために、本発明ではデータを入力するための経路情報と前記入力されるデータの種類を示す情報と、前記入力されるデータを記録する領域を指定するための情報と前記入力されるデータを記録するファイルを指定するためのパス名を示す情報と前記指定されたファイルの記録開始位置を指定するための情報を含む制御信号を受信して、前記指定された経路からAsynchronousトランザクションを用いてファイルデータを入力し、前記入力されたファイルデータを前記制御信号内のデータの種類を示す情報に基づいて、複数の領域に分割された記録媒体上の特定の領域に記録する。   In order to solve the above-mentioned problems, in the present invention, route information for inputting data, information indicating the type of the input data, information for designating an area for recording the input data, and the input Receiving a control signal including information indicating a path name for designating a file for recording data to be recorded and information for designating a recording start position of the designated file, and sending an asynchronous transaction from the designated route Is used to input file data, and the input file data is recorded in a specific area on a recording medium divided into a plurality of areas based on information indicating the type of data in the control signal.

本発明により、RECEIVE FILE PARTIAL Controlコマンドを使用してファイルを3つの部分に分けて順次書き込むことによって、MPEG2ファイルを付加情報領域とデータ領域に分けて書き込むことができる。   According to the present invention, by using the RECEIVE FILE PARTIAL Control command to divide a file into three parts and write sequentially, the MPEG2 file can be written separately into an additional information area and a data area.

図1は本発明のファイルデータを分割して記録するためのRECEIVE FILE PARTIAL Controlコマンド及びレスポンスのフォーマットである。   FIG. 1 shows a format of a RECEIVE FILE PARTIAL Control command and response for dividing and recording file data of the present invention.

コマンドフレーム中のstart_offset, receive_size, close_mode, file_type, file_type_dependent_parameterフィールドを除く各フィールドは、前述のRECEIVE FILE Controlコマンドフレーム中の同名のフィールドと同じ意味及び用途を持つ。   Each field except the start_offset, receive_size, close_mode, file_type, and file_type_dependent_parameter fields in the command frame has the same meaning and use as the field of the same name in the above-mentioned RECEIVE FILE Control command frame.

start_offsetフィールドは、指定したファイルのどの位置からデータを記録するかを指定するフィールドで、前記ファイルの先頭からのオフセットをバイト数で指定する。このフィールドにセットされた値がファイル上に存在しない位置を示している場合、Camera Storageサブユニットは前記コマンドに対してREJECTEDレスポンスを送信してコマンドを拒否する。例えば指定されたファイルのサイズが1024バイトであり、start_offsetに2048がセットされている場合はREJECTEDレスポンスを送信する。start_offsetフィールドにゼロがセットされており、指定されたファイルが存在しない場合、Camera Storageサブユニットは指定されたファイルを指定されたボリューム上に作成して、入力されるデータを記録しても良い。   The start_offset field is a field for designating from which position of the designated file the data is recorded, and designates the offset from the top of the file by the number of bytes. If the value set in this field indicates a position that does not exist on the file, the Camera Storage subunit rejects the command by sending a REJECTED response to the command. For example, if the specified file size is 1024 bytes and start_offset is set to 2048, a REJECTED response is sent. If the start_offset field is set to zero and the specified file does not exist, the Camera Storage subunit may create the specified file on the specified volume and record the input data.

receive_sizeフィールドは、指定したオフセット位置から何バイトのデータを記録するかを指定する。Camera Storageサブユニットは指定されたバイト数のデータ記録を終了すると実際に記録したデータのバイト数をレスポンスフレームのreceived_sizeフィールドにセットしてACCEPTEDレスポンスをコントローラに対して送信する。   The receive_size field specifies how many bytes of data are recorded from the specified offset position. When the camera storage subunit finishes recording the specified number of bytes, it sets the number of bytes of the actually recorded data in the received_size field of the response frame and sends an ACCEPTED response to the controller.

close_modeフィールドは、このコマンドによるデータ記録が終了した場合にファイルをクローズする方法を指示するフィールドである。図28に、前記close_modeフィールドにセットする値の例を示す。図2、図3は、close_modeとRECEIVE FILE PARTIALコマンド実行後のファイル構成の関係を示す図である。図2に示すように、記録媒体上に存在しているファイルの途中からファイル終端より前の位置までのデータをRECEIVE FILE PARTIALコマンドで上書きする場合、close_modeが"preserve"の場合は記録を行った最終オフセット以降のデータを保持したままファイルをクローズし、"terminate"の場合は最終オフセット以降のデータを消去してファイルをクローズする。図3に示すように、記録媒体上に存在しているファイルの終端を超えてデータを書き込む場合は、close_modeの値に関わらず、記録を行った最終オフセットをファイルの終端としてファイルをクローズする。   The close_mode field is a field for instructing a method for closing a file when data recording by this command is completed. FIG. 28 shows an example of values set in the close_mode field. 2 and 3 are diagrams showing the relationship between the close_mode and the file configuration after execution of the RECEIVE FILE PARTIAL command. As shown in Fig. 2, when data from the middle of a file on the recording medium to the position before the end of the file is overwritten with the RECEIVE FILE PARTIAL command, recording was performed when close_mode was "preserve" The file is closed while retaining the data after the last offset. If "terminate", the data after the last offset is deleted and the file is closed. As shown in FIG. 3, when data is written beyond the end of a file existing on the recording medium, the file is closed with the last recorded offset as the end of the file regardless of the value of close_mode.

図1中のfile_type及びfile_type_dependent_parameterフィールドは、RECEIVE FILE PARTIALコマンドで記録するデータの種類を指定するためのフィールドである。図29に、前記file_typeフィールドにセットする値の例を示す。前記file_typeフィールドは、RECEIVE FILE PARTIALコマンドを使用して入力されるデータのフォーマットを示す。図30に、前記file_typeに"Exif 2.1"または、"MPEG2"がセットされた場合に前記file_type_dependent_fieldにセットする値の例を示す。例えば、RECEIVE FILE PARTIALコマンドを使用して、MPEG2ファイルのヘッダ部分のみを書き込む場合は、file_typeフィールドに"MPEG2"、file_type_dependent_fieldに"Header"をセットする。   The file_type and file_type_dependent_parameter fields in FIG. 1 are fields for designating the type of data recorded by the RECEIVE FILE PARTIAL command. FIG. 29 shows an example of values set in the file_type field. The file_type field indicates the format of data input using the RECEIVE FILE PARTIAL command. FIG. 30 shows an example of values set in the file_type_dependent_field when “Exif 2.1” or “MPEG2” is set in the file_type. For example, when only the header part of an MPEG2 file is written using the RECEIVE FILE PARTIAL command, “MPEG2” is set in the file_type field and “Header” is set in the file_type_dependent_field.

次に、前記RECEIVE FILE PARTIALコマンドを用いて、MPEG2ファイルをデジタルビデオカメラ上のディスクに記録する手順について説明する。図4に、本実施例で記録を行うデータの例を示す。前記データは、MPEG2フォーマットの圧縮動画像データであり、10 K byte(1024バイト)のヘッダデータ、3 M byte(3145728バイト)のMPEG2圧縮動画像データ、2 K byte(2048バイト)のフッタデータから構成され、Camera Storageサブユニット上のphysical_volume_number = 0, logical_volume_number = 0のボリュームのルートディレクトリに"movie01.mpg"というファイル名で記録を行うものとする。また、前記Camera Storageサブユニット上のボリュームのルートディレクトリには"movie01.mpg"という名前のファイルは存在していないものとする。   Next, a procedure for recording an MPEG2 file on a disc on a digital video camera using the RECEIVE FILE PARTIAL command will be described. FIG. 4 shows an example of data to be recorded in this embodiment. The data is MPEG2 format compressed video data, from 10 Kbyte (1024 bytes) header data, 3 Mbyte (3145728 bytes) MPEG2 compressed video data, and 2 Kbyte (2048 bytes) footer data. Assume that recording is performed with the file name “movie01.mpg” in the root directory of a volume with physical_volume_number = 0 and logical_volume_number = 0 on the Camera Storage subunit. It is assumed that a file named “movie01.mpg” does not exist in the root directory of the volume on the Camera Storage subunit.

まずコントローラは、IEEE1394で接続されたデジタルビデオカメラに対してALLOCATE及びATTACHコマンドを送信して図26に示す接続を設定した後、前記デジタルビデオカメラ内のCamera Storage サブユニットに対して図5に示すRECIEVE FILE PARTIAL Controlコマンドを送信する。前記コマンドを受信したCamera Storageサブユニットは指定されたファイルが存在するかどうかを調べ、この場合は存在しないので指定されたファイルを新たに書き込み可能な状態で作成して、コントローラに対してINTERIMレスポンスを送信する。この際、前記受信したコマンドのfile_type及びfile_type_dependent_parameterの値から、Camera Storageサブユニットは、送信されてくるデータがMPEG2ファイルのヘッダデータであることを判別し、指定されたファイルを付加情報領域に作成する。前記INTERIMレスポンスを受信したコントローラは、AV/C Asynchronous Serial Bus Connectionsの手順に従って前記デジタルビデオカメラに対して図4中のヘッダ部分のデータを順次送信する。前記コントローラから送信されたデータをCamera Storageサブユニットは順次付加情報領域に作成されたファイルに記録していく。受信したデータの記録が終了すると、前記Camera Storageサブユニットはファイルをクローズしてコントローラに図5に示すレスポンスを送信する。   First, the controller transmits the ALLOCATE and ATTACH commands to the digital video camera connected by IEEE1394 to set the connection shown in FIG. 26, and then the camera storage subunit in the digital video camera is shown in FIG. Send RECIEVE FILE PARTIAL Control command. Upon receipt of the command, the Camera Storage subunit checks whether the specified file exists. In this case, the specified file does not exist, so the specified file is newly created and writable, and an INTERIM response is sent to the controller. Send. At this time, from the file_type and file_type_dependent_parameter values of the received command, the Camera Storage subunit determines that the data to be transmitted is the header data of the MPEG2 file, and creates the specified file in the additional information area. . The controller that has received the INTERIM response sequentially transmits the data of the header portion in FIG. 4 to the digital video camera in accordance with the procedure of AV / C Asynchronous Serial Bus Connections. The camera storage subunit sequentially records the data transmitted from the controller in a file created in the additional information area. When the recording of the received data is completed, the Camera Storage subunit closes the file and sends a response shown in FIG. 5 to the controller.

前記レスポンスを受信すると、コントローラは前記デジタルビデオカメラ内のCamera Storage サブユニットに対して図6に示すRECIEVE FILE PARTIAL Controlコマンドを送信する。前記図6に示すコマンドは、前記図5のコマンドで作成されたファイルに対してデータを追加記録するためのコマンドであり、前記作成されたファイルの終端位置から3 M byteのデータの記録を指示するものである。前記図6に示すコマンドを受信したCamera Storageサブユニットは指定されたファイルが存在するかどうかを調べ、この場合は既にメディア上に存在するため指定されたファイルを書き込み可能な状態でオープンし、コントローラに対してINTERIMレスポンスを送信する。この際、start_offsetフィールドの値がファイルサイズと同一であり、前記受信したコマンドのfile_type及びfile_type_dependent_parameterの値から、Camera Storageサブユニットは、送信されてくるデータがMPEG2ファイルの圧縮画像データであることを判別し、データの書き込み位置をディスク上のデータ領域上に移動する。前記INTERIMレスポンスを受信したコントローラは、AV/C Asynchronous Serial Bus Connectionsの手順に従って前記デジタルビデオカメラに対して図4中の圧縮動画像部分のデータを順次送信する。前記コントローラから送信されたデータをCamera Storageサブユニットは順次データ領域に追加記録し、受信したデータの記録が終了すると、前記Camera Storageサブユニットはファイルをクローズしてコントローラに図6に示すレスポンスを送信する。   When the response is received, the controller transmits a RECIEVE FILE PARTIAL Control command shown in FIG. 6 to the Camera Storage subunit in the digital video camera. The command shown in FIG. 6 is a command for additionally recording data to the file created by the command of FIG. 5, and instructs to record 3 Mbyte data from the end position of the created file. To do. The Camera Storage subunit that has received the command shown in FIG. 6 checks whether or not the specified file exists. In this case, since the file already exists on the medium, the specified file is opened in a writable state, and the controller Send an INTERIM response to. At this time, the value of the start_offset field is the same as the file size, and from the values of the file_type and file_type_dependent_parameter of the received command, the Camera Storage subunit determines that the transmitted data is compressed image data of an MPEG2 file. Then, the data writing position is moved onto the data area on the disk. The controller that has received the INTERIM response sequentially transmits the data of the compressed moving image portion in FIG. 4 to the digital video camera in accordance with the procedure of AV / C Asynchronous Serial Bus Connections. The Camera Storage subunit sequentially records the data sent from the controller in the data area. When the received data is recorded, the Camera Storage subunit closes the file and sends the response shown in FIG. 6 to the controller. To do.

前記レスポンスを受信すると、コントローラは前記デジタルビデオカメラ内のCamera Storage サブユニットに対して図7に示すRECIEVE FILE PARTIAL Controlコマンドを送信する。前記図7に示すコマンドは、前記図6のコマンドで追加記録されたファイルに対してさらにデータを追加記録するためのコマンドであり、前記追加記録されたファイルの終端位置から2 K byteのデータの記録を指示するものである。前記コマンドを受信したCamera Storageサブユニットは指定されたファイルが存在するかどうかを調べ、この場合は既にメディア上に存在するため指定されたファイルを書き込み可能な状態でオープンし、コントローラに対してINTERIMレスポンスを送信する。この際、start_offsetフィールドの値がファイルサイズと同一であり、前記受信したコマンドのfile_type及びfile_type_dependent_parameterの値から、Camera Storageサブユニットは、送信されてくるデータがMPEG2ファイルのフッタデータであることを判別し、データの書き込み位置をディスク上の付加情報領域上に移動する。前記INTERIMレスポンスを受信したコントローラは、AV/C Asynchronous Serial Bus Connectionsの手順に従って前記デジタルビデオカメラに対して図4中のフッタ部分のデータを順次送信する。前記コントローラから送信されたデータをCamera Storageサブユニットは順次付加情報領域に作成されたファイルに記録していく。受信したデータの記録が終了すると、前記Camera Storageサブユニットはファイルをクローズしてコントローラに図7に示すレスポンスを送信する。   When the response is received, the controller transmits a RECIEVE FILE PARTIAL Control command shown in FIG. 7 to the Camera Storage subunit in the digital video camera. The command shown in FIG. 7 is a command for additionally recording data to the file additionally recorded by the command of FIG. 6, and 2 Kbytes of data are recorded from the end position of the additionally recorded file. It is an instruction to record. Upon receipt of the command, the Camera Storage subunit checks whether the specified file exists. In this case, since the file already exists on the media, the specified file is opened in a writable state, and INTERIM is sent to the controller. Send a response. At this time, the value of the start_offset field is the same as the file size, and from the value of the file_type and file_type_dependent_parameter of the received command, the Camera Storage subunit determines that the transmitted data is footer data of an MPEG2 file. The data write position is moved onto the additional information area on the disc. The controller that has received the INTERIM response sequentially transmits the data of the footer portion in FIG. 4 to the digital video camera according to the procedure of AV / C Asynchronous Serial Bus Connections. The camera storage subunit sequentially records the data transmitted from the controller in a file created in the additional information area. When the recording of the received data is completed, the Camera Storage subunit closes the file and sends a response shown in FIG. 7 to the controller.

本発明のRECEIVE FILE PARTIAL Controlコマンド及びレスポンスのフォーマットを示す図。The figure which shows the format of the RECEIVE FILE PARTIAL Control command and response of this invention. RECEIVE FILE PARTIAL Controlコマンドのclose_modeとコマンド実行後のファイルの関係を説明するための図。The figure for demonstrating the relationship between RECEIVE FILE PARTIAL Control command close_mode and the file after command execution. RECEIVE FILE PARTIAL Controlコマンドのclose_modeとコマンド実行後のファイルの関係を説明するための図。The figure for demonstrating the relationship between RECEIVE FILE PARTIAL Control command close_mode and the file after command execution. RECEIVE FILE PARTIAL Controlコマンドを用いて記録されるファイルの構成例を示す図。The figure which shows the structural example of the file recorded using RECEIVE FILE PARTIAL Control command. MPEG2ファイルを分割して記録するためのRECEIVE FILE PARTIAL Controlコマンドとレスポンスの例を示す図。The figure which shows the example of the RECEIVE FILE PARTIAL Control command and response for dividing and recording an MPEG2 file. MPEG2ファイルを分割して記録するためのRECEIVE FILE PARTIAL Controlコマンドとレスポンスの例を示す図。The figure which shows the example of the RECEIVE FILE PARTIAL Control command and response for dividing and recording an MPEG2 file. MPEG2ファイルを分割して記録するためのRECEIVE FILE PARTIAL Controlコマンドとレスポンスの例を示す図。The figure which shows the example of the RECEIVE FILE PARTIAL Control command and response for dividing and recording an MPEG2 file. 付加情報領域とデータ領域に分けられたディスクの例を示す図。The figure which shows the example of the disc divided | segmented into the additional information area | region and the data area. 従来のシステムと、CMFを使用したシステムの例を示す図。The figure which shows the example of the system which used the conventional system and CMF. CTSで用いるコマンドフレームフォーマットを示す図。The figure which shows the command frame format used by CTS. CTSで用いるレスポンスフレームフォーマットを示す図。The figure which shows the response frame format used by CTS. コントローラとCamera Storageサブユニット間での基本的なトランザクション手順を示す図。The figure which shows the basic transaction procedure between a controller and a Camera Storage subunit. VERSION Statusコマンド及びレスポンスのフォーマットを示す図。The figure which shows the format of a VERSION Status command and a response. MEDIA INFO Controlコマンド及びレスポンスのフォーマットを示す図。The figure which shows the format of a MEDIA INFO Control command and a response. VOLUME INFO Controlコマンド及びレスポンスのフォーマットを示す図。The figure which shows the format of a VOLUME INFO Control command and a response. VOLUME INFO Controlレスポンスのattributeフィールドのフォーマットを示す図。The figure which shows the format of the attribute field of a VOLUME INFO Control response. FILE LIST Controlコマンド及びレスポンスのフォーマットを示す図。The figure which shows the format of a FILE LIST Control command and a response. FILE LIST Controlレスポンスのattributeフィールドのフォーマットを示す図。The figure which shows the format of the attribute field of a FILE LIST Control response. ファイルリストを構成するディレクトリエントリのフォーマットを示す図。The figure which shows the format of the directory entry which comprises a file list. ディレクトリエントリのattribute_byteのフォーマットを示す図。The figure which shows the format of attribute_byte of a directory entry. Camera Storageサブユニットの記録媒体上に記録されたファイルデータの構成例を示す図。The figure which shows the structural example of the file data recorded on the recording medium of a Camera Storage subunit. FILE LIST Controlコマンドフレームにセットするデータ例及び、ファイルリストに含まれるディレクトリエントリの一部を示す図。The figure which shows the data example set to a FILE LIST Control command frame, and a part of directory entry contained in a file list. FILE LIST Controlコマンドフレームにセットするデータ例及び、ファイルリストに含まれるディレクトリエントリの一部を示す図。The figure which shows the data example set to a FILE LIST Control command frame, and a part of directory entry contained in a file list. Camera Storageサブユニットへファイルデータを送信する場合のトランザクション手順を示す図。The figure which shows the transaction procedure in the case of transmitting file data to a Camera Storage subunit. RECEIVE FILE Controlコマンド及びレスポンスのフォーマットを示す図。The figure which shows the format of a RECEIVE FILE Control command and a response. Camera Storageサブユニットへファイルデータを送信する場合のコントローラとCamera Storageサブユニット間の論理的な接続例を示す図。The figure which shows the logical connection example between a controller and Camera Storage subunit in the case of transmitting file data to a Camera Storage subunit. 従来のデジタルビデオカメラの構成を示すブロック図。The block diagram which shows the structure of the conventional digital video camera. RECEIVE FILE PARTIALコマンドのclose_modeフィールドにセットする値を示す表。A table showing the values to be set in the close_mode field of the RECEIVE FILE PARTIAL command. RECEIVE FILE PARTIALコマンドのfile_typeフィールドにセットする値を示す表。A table showing the values to be set in the file_type field of the RECEIVE FILE PARTIAL command. RECEIVE FILE PARTIALコマンドのfile_type_dependent_parameterフィールドにセットする値を示す表。A table showing the values to be set in the file_type_dependent_parameter field of the RECEIVE FILE PARTIAL command. CTSのコマンドフレームに設定するctypeフィールドの値を示す表。The table | surface which shows the value of the ctype field set to the command frame of CTS. CTSのレスポンスフレームに設定するresponseフィールドの値を示す表。The table | surface which shows the value of the response field set to the response frame of CTS. Camera Storageサブユニットのプロファイルの値を示す表。A table showing profile values for the Camera Storage subunit. Camera StorageサブユニットのControlコマンド中のsubfunctionフィールドの値を示す表。The table which shows the value of the subfunction field in the Control command of Camera Storage subunit. FILE LIST Controlコマンドのfile_typeフィールド値を示す図。The figure which shows the file_type field value of a FILE LIST Control command. RECEIVE FILE Controlコマンドのreceive_modeの値を示す図。The figure which shows the value of receive_mode of RECEIVE FILE Control command. RECEIVE FILE Controlコマンドのfile_typeの値を示す図。The figure which shows the value of file_type of RECEIVE FILE Control command.

Claims (4)

シリアルデータを送受信するためのデジタルインターフェースを備え、前記デジタルインターフェースを経由して制御信号及びデジタルデータの送受信を行い、ランダムアクセス可能な記録媒体を使用して前記記録媒体上のデジタルデータを取り扱うデジタル機器であって、データを入力するための経路情報と前記入力されるデータの種類を示す情報と、前記入力されるデータを記録する領域を指定するための情報と前記入力されるデータを記録するファイルを指定するためのパス名を示す情報と前記指定されたファイルの記録開始位置を指定するための情報を含む制御信号を受信して、前記指定された経路からAsynchronousトランザクションを用いて入力されたデータを記録することを特徴とするデジタル機器。   A digital device comprising a digital interface for transmitting and receiving serial data, performing transmission and reception of control signals and digital data via the digital interface, and handling digital data on the recording medium using a randomly accessible recording medium The path information for inputting data, the information indicating the type of the input data, the information for specifying the area for recording the input data, and the file for recording the input data Received a control signal including information indicating a path name for designating a file and information for designating a recording start position of the designated file, and data input using the Asynchronous transaction from the designated route A digital device characterized by recording. 前記制御信号内のデータの種類を示す情報を判別し、その判別結果に従って前記Asynchronousトランザクションを用いて入力されたデータを処理することを特徴とする、請求項1記載のデジタル機器。   2. The digital apparatus according to claim 1, wherein information indicating a type of data in the control signal is determined, and data input using the Asynchronous transaction is processed according to the determination result. ランダムアクセス可能な記録媒体を使用してファイルデータの記録・再生を行い、前記記録媒体を複数の領域に分割して管理する機能と、単一のファイルを前記分割した複数の領域に分けて記録する分割記録手段を有し、前記受信した制御信号内のデータの種類を示す情報に従って、前記入力されるデータを前記分割された領域のいずれかの領域に記録することを特徴とする、請求項1記載のデジタル機器。   Recording and playback of file data using a randomly accessible recording medium, the function of managing the recording medium by dividing it into a plurality of areas, and recording a single file divided into the divided areas The divided recording means for performing recording according to claim 1, wherein the input data is recorded in any one of the divided areas in accordance with information indicating a type of data in the received control signal. 1. A digital device according to 1. 前記複数の領域は、ファイルの付加情報を記録するための付加情報領域と、付加情報を除いたファイルデータを記録するためのデータ領域であることを特徴とする、請求項3記載のデジタル機器。   4. The digital apparatus according to claim 3, wherein the plurality of areas are an additional information area for recording additional information of a file and a data area for recording file data excluding the additional information.
JP2005270550A 2005-09-16 2005-09-16 Digital device using randomly accessible recording medium Withdrawn JP2007080198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005270550A JP2007080198A (en) 2005-09-16 2005-09-16 Digital device using randomly accessible recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005270550A JP2007080198A (en) 2005-09-16 2005-09-16 Digital device using randomly accessible recording medium

Publications (1)

Publication Number Publication Date
JP2007080198A true JP2007080198A (en) 2007-03-29

Family

ID=37940412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005270550A Withdrawn JP2007080198A (en) 2005-09-16 2005-09-16 Digital device using randomly accessible recording medium

Country Status (1)

Country Link
JP (1) JP2007080198A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009059190A (en) * 2007-08-31 2009-03-19 Seiko Epson Corp Cache system, data recording device, program, and cache system controlling method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009059190A (en) * 2007-08-31 2009-03-19 Seiko Epson Corp Cache system, data recording device, program, and cache system controlling method

Similar Documents

Publication Publication Date Title
RU2370905C2 (en) Device for data reproduction, method for content control, program and information medium
KR100813984B1 (en) Method and apparatus of sharing contents assets via Picture Transfer Protocol
JP2001222504A (en) Electronic equipment, control method for the same and recording medium
US8625972B2 (en) Recording system, transmission apparatus, recording apparatus, recording control method, and recording medium
US7616839B2 (en) Image data transfer system, method of generating image data file, and computer program
WO2004086760A1 (en) Data processing apparatus
US20050149640A1 (en) Electronic device and method of controlling interface thereof
KR20010060188A (en) Data source, data conversion device, inverse data conversion device, auxiliary data file generation device, reception method, medium and information aggregate
US6721859B1 (en) Multi-protocol media storage device implementing protocols optimized for storing and retrieving both asynchronous and isochronous data
KR101416322B1 (en) Authentication method of Contents-protected Title and Device adopting the method
JP2007080198A (en) Digital device using randomly accessible recording medium
US8305451B2 (en) Adapter apparatus and control method thereof, and computer program
JP2007082116A (en) Digital apparatus using randomly accessible recording medium
US10768845B2 (en) Storage device and data output method for storage device
JP3977090B2 (en) Data processing device
EP1239644A1 (en) Method for managing isochronous file transfers in a HAVI environment
JP2007082114A (en) Digital apparatus using randomly accessible recording medium
JP2007080199A (en) Digital device using detachable recording medium
JP2007082119A (en) Digital apparatus and control apparatus using storage medium capable of random access
JP4396543B2 (en) Recording / reproducing apparatus and reproduction control method therefor
JP2005167709A (en) Recording apparatus, recording and reproducing apparatus, communication apparatus, communication system, recording method, communication method, computer program, and computer readable recording medium
JP2005176266A (en) Image processing apparatus, control device, control system, control method of image processing apparatus and control device, and control program
JP2007082115A (en) Image data transmission apparatus
US20030170010A1 (en) System and method for direct recording of audio, video and/or images for easy access and editing
JP2005327179A (en) File management method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202