JP2005020683A - File acquisition apparatus and file acquisition method - Google Patents
File acquisition apparatus and file acquisition method Download PDFInfo
- Publication number
- JP2005020683A JP2005020683A JP2003277651A JP2003277651A JP2005020683A JP 2005020683 A JP2005020683 A JP 2005020683A JP 2003277651 A JP2003277651 A JP 2003277651A JP 2003277651 A JP2003277651 A JP 2003277651A JP 2005020683 A JP2005020683 A JP 2005020683A
- Authority
- JP
- Japan
- Prior art keywords
- file
- identifier
- storage
- folder
- specified
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は、機器同士が交信を行ってそれぞれに記憶されているデータを取り扱うための技術に関し、詳しくは、データを受取る側のメモリ容量に制限がある場合や対象とするファイル数が膨大な場合において、機器同士が直接接続してデータの転送を行うための技術に関する。 The present invention relates to a technique for communicating between devices by communicating with each other, and more specifically, when the memory capacity on the data receiving side is limited or the number of target files is enormous. The present invention relates to a technique for transferring data by connecting devices directly.
従来、電子カメラで撮影した画像等のデータを外部の大容量の記録装置に記録しようとするときは、PCを介して画像等のデータの転送を行っていた。しかしながら、取り扱いの利便さの観点から、電子カメラと記録装置とを直接接続してデータの転送を行う技術が開発されている。 Conventionally, when data such as images taken with an electronic camera is to be recorded in an external large-capacity recording device, data such as images is transferred via a PC. However, a technique for transferring data by directly connecting an electronic camera and a recording device has been developed from the viewpoint of convenience of handling.
この分野における開示技術としては、カメラ自体に着脱式の記録媒体を設け、この記録媒体に撮像データを記録する技術が知られている(例えば、特許文献1参照)。 As a disclosure technique in this field, a technique is known in which a detachable recording medium is provided in the camera itself, and imaging data is recorded on the recording medium (see, for example, Patent Document 1).
図15は、特許文献1に記載されたカメラシステムの構成を示す断面図である。
FIG. 15 is a cross-sectional view showing the configuration of the camera system described in
このカメラシステムは、カメラ100とカメラのレンズマウント部に装着されたデータ記録装置101とからなる。カメラ100は、記録媒体102に記録された撮像データを読み出して、信号端子103を介して着脱可能な記録媒体104に記録する。特許文献1に開示された技術によれば、PCを介することなく直接データの転送が可能となる。
This camera system includes a
また、他の開示技術としては、「USBストレッジクラス対応の」電子カメラと光磁気ディスクドライブ装置をダイレクトに接続し、ボタンひとつで光磁気ディスクドライブ装置へ転送させる技術が使用されている(非特許文献1参照)。
しかしながら、特許文献1に開示された発明においては、なお、解決すべき次のような課題があった。
However, the invention disclosed in
このデータ記録装置では、カメラと接続されてデータの転送を可能とするため、そのデータ通信にはPTP(Picture Transfer Protocol)が考えられる。この手順の詳細は、"PIMA 15740:2000 Photography-Electronic still picture imaging-Picture Transfer Protocol(PTP) for Digital Still Photography Devices", Photographic and Imaging Manufacturers Association, Inc.に詳述されている。 Since this data recording apparatus is connected to a camera to enable data transfer, PTP (Picture Transfer Protocol) can be considered for the data communication. Details of this procedure are described in detail in "PIMA 15740: 2000 Photography-Electronic still picture imaging-Picture Transfer Protocol (PTP) for Digital Still Photography Devices", Photographic and Imaging Manufacturers Association, Inc.
PTPによれば、ファイルを取得する際には、当該ファイルを特定するためのファイル識別子(Object Handle )と呼ばれる情報が受け側に転送されてくる。しかし、転送される情報量(ファイル数)が膨大であった場合や受け側にメモリ制限があった場合の手順についてはPTPには特に規定されていない。従って、受け側では、転送されてくる全てのファイル識別子を受け取れない可能性があった。 According to PTP, when a file is acquired, information called a file identifier (Object Handle) for specifying the file is transferred to the receiving side. However, the procedure when the amount of information to be transferred (number of files) is enormous or the receiving side has memory limitations is not particularly defined in PTP. Therefore, the receiving side may not receive all the transferred file identifiers.
一方、データ転送に関連する機器の性能は日進月歩で進歩し、その取り扱うデータ容量も急速に増加している。更に、新たな機能を備えた機器が開発されており、データ転送の対象となる機器の種類もその数を増やしている。このような状況下、機器同士のデータ転送において、その標準とする手続に従ったときに、転送可能なデータ数に制限が存していることは、その手続の利用を妨げることにもなる。 On the other hand, the performance of equipment related to data transfer is progressing steadily, and the data capacity handled by the equipment is rapidly increasing. In addition, devices having new functions have been developed, and the number of types of devices to which data is transferred is increasing. Under such circumstances, the fact that there is a limit on the number of data that can be transferred when following the standard procedure for data transfer between devices also hinders the use of the procedure.
本発明は係る事情に鑑みてなされたものであって、データを受取る側のメモリ容量に制限がある場合や対象とするファイル数が膨大な場合であっても、通信時のバストラフィックを増加させることなく、全てのファイル識別子の取得が可能なファイル取得装置及びファイル取得方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and increases the bus traffic during communication even when the memory capacity on the data receiving side is limited or the number of target files is enormous. An object of the present invention is to provide a file acquisition apparatus and a file acquisition method capable of acquiring all file identifiers.
上記課題を解決するための、本発明の請求項1に記載のファイル取得装置は、第1の機器に搭載され、該第1の機器に直接信号接続する第2の機器内に格納されているファイルを取得するファイル取得装置において、フォルダ階層構造で管理された前記ファイルには、ファイルまたはフォルダを識別するための順序付けられた固有の識別子が付与され、前記第2の機器に対して、指定する第1の識別子で特定されるフォルダ内のファイル又はフォルダの識別子を、前記フォルダに最初に格納されたファイルまたはフォルダの識別子の位置を基準として、指定する第1の数だけオフセットした位置の識別子から、指定する第2の数だけ抽出して送信するように要求するファイル識別子要求手段と、前記ファイル識別子要求手段の要求に対応して、前記第2の機器から送信された少なくとも1つのファイル識別子から選択した第1のファイル識別子を前記第2の機器に送信するファイル要求手段と、前記ファイル要求手段の要求に対応して、前記第2の機器から送信される前記第1のファイル識別子に対応したファイルを取得するファイル取得手段と、を備えた。
In order to solve the above-mentioned problem, a file acquisition apparatus according to
また本発明の請求項2に記載のファイル取得装置は、上記記載の発明であるファイル取得装置において、前記第2の機器に対して、取得対象となるファイルが格納されている前記第2の機器の記録手段の物理的または論理的アドレスを指定するストレージ識別子指定手段を更に備えた。
A file acquisition device according to
また本発明の請求項3に記載のファイル取得装置は、上記記載の発明であるファイル取得装置において、前記第1の機器は、電子カメラ、ストレージ、携帯端末、携帯電話、プリンタの内いずれか1つである。
The file acquisition device according to
また本発明の請求項4に記載のファイル取得方法は、第1の機器に搭載され、該第1の機器に直接信号接続する第2の機器内に格納されているファイルを取得するファイル取得装置のファイル取得方法において、フォルダ階層構造で管理された前記ファイルには、ファイルまたはフォルダを識別するための順序付けられた固有の識別子が付与され、前記第2の機器に対して、指定する第1の識別子で特定されるフォルダ内のファイル又はフォルダの識別子を、前記フォルダに最初に格納されたファイルまたはフォルダの識別子の位置を基準として、指定する第1の数だけオフセットした位置の識別子から、指定する第2の数だけ抽出して送信するように要求するファイル識別子要求ステップと、前記ファイル識別子要求ステップでの要求に対応して、前記第2の機器から送信された少なくとも1つのファイル識別子から選択した第1のファイル識別子を前記第2の機器に送信するファイル要求ステップと、前記ファイル要求ステップでの要求に対応して、前記第2の機器から送信される前記第1のファイル識別子に対応したファイルを取得するファイル取得ステップと、を備えた。 According to a fourth aspect of the present invention, there is provided a file acquisition method for acquiring a file stored in a second device that is mounted on a first device and is directly signal-connected to the first device. In this file acquisition method, the file managed in the folder hierarchical structure is given an ordered unique identifier for identifying the file or folder, and is designated to the second device. The identifier of the file or folder in the folder specified by the identifier is specified from the identifier at the position offset by the first number to be specified with the position of the identifier of the file or folder stored first in the folder as a reference A file identifier requesting step for requesting extraction and transmission of the second number, and the request in the file identifier requesting step. In response to the request in the file request step for transmitting the first file identifier selected from the at least one file identifier transmitted from the second device to the second device, and the request in the file request step. And a file acquisition step of acquiring a file corresponding to the first file identifier transmitted from the second device.
また本発明の請求項5に記載のファイル取得方法は、上記記載の発明であるファイル取得方法において、前記第2の機器に対して、取得対象となるファイルが格納されている前記第2の機器の記録手段の物理的または論理的アドレスを指定するストレージ識別子指定ステップを更に備えた。
The file acquisition method according to
また本発明の請求項6に記載のファイル取得方法は、上記記載の発明であるファイル取得方法において、前記第1の機器は、電子カメラ、ストレージ、携帯端末、携帯電話、プリンタの内いずれか1つである。 A file acquisition method according to a sixth aspect of the present invention is the file acquisition method according to the invention described above, wherein the first device is any one of an electronic camera, a storage, a mobile terminal, a mobile phone, and a printer. One.
本発明のファイル取得装置または取得方法によれば、データを受取る側のメモリ容量に制限がある場合や対象とするファイル数が膨大な場合であっても、通信時のバストラフィックを増加させることなく、全てのファイル識別子の取得が可能となる。 According to the file acquisition apparatus or the acquisition method of the present invention, even when the memory capacity on the data receiving side is limited or the number of target files is enormous, the bus traffic during communication is not increased. All file identifiers can be acquired.
本発明に係るファイル取得装置は、機器同士を直接接続してそれぞれの保有するデータを交信により取り扱うことを可能とする直接記録装置に用いられる。 The file acquisition apparatus according to the present invention is used in a direct recording apparatus that enables devices to be directly connected to each other and handle data held by the devices.
図1は、直接記録装置の狙いを示す図である。 FIG. 1 is a diagram showing the aim of the direct recording apparatus.
直接記録装置は、機器である電子カメラ1と記録装置であるストレージ2に搭載されている。そして、直接記録装置の働きによって、電子カメラ1とストレージ2とは、メーカ、機種に依存することなく、相互にデータを取り扱うことが可能となる。
The direct recording device is mounted on an
但し、直接記録装置は、図1に示す組合せにのみ使用されるものではなく、種々の機器の組合せにおいて使用することが可能である。例えば、データの送り側とデータの受け側に分けて記載した以下の組合せにおいても使用することができる。従って、本発明に係るファイル取得装置も、以下の組合せにおいて使用することができる。 However, the direct recording device is not used only in the combination shown in FIG. 1, but can be used in various combinations of devices. For example, the present invention can also be used in the following combinations described separately for the data sending side and the data receiving side. Therefore, the file acquisition apparatus according to the present invention can also be used in the following combinations.
(1)送り側:電子カメラ、受け側:ストレージ
(2)送り側:ストレージ、受け側:電子カメラ
(3)送り側:電子カメラ、受け側:携帯電話(端末)
(4)送り側:携帯電話(端末)、受け側:電子カメラ
(5)送り側:電子カメラ、受け側:プリンタ
(6)送り側:ストレージ、受け側:プリンタ
図2は、本発明に係るファイル取得装置が組み込まれた直接記録装置を用いた直接記録システムの構成を示す図である。
(1) Sending side: electronic camera, receiving side: storage
(2) Sending side: Storage, receiving side: Electronic camera
(3) Sending side: electronic camera, receiving side: mobile phone (terminal)
(4) Sending side: mobile phone (terminal), receiving side: electronic camera
(5) Sending side: electronic camera, receiving side: printer
(6) Sending side: storage, receiving side: printer
FIG. 2 is a diagram showing a configuration of a direct recording system using a direct recording apparatus in which a file acquisition apparatus according to the present invention is incorporated.
直接記録システムは、電子カメラ1、ストレージ2及び通信線3で構成されている。電子カメラ1には、撮像部5、機器記録媒体6、操作部7、表示部8、機器通信インターフェース9及び機器制御部11が設けられている。そして、機器制御部11は、機器直接記録手段10、機器CPU11a、機器ファイル管理部11b及び機器メモリ11cを備えている。
The direct recording system includes an
撮像部5は、被写体を撮像して撮像信号を生成するとともに、種々の画像処理を行って画像データを作成する。機器記録媒体6は、撮像部5が作成した画像データ等を格納する。操作部7は、電子カメラ1の動作に関する指示を入力するための操作スイッチなどを備える。表示部8は、画像データあるいはユーザインターフェース画面等を表示する。機器通信インターフェース9は、ストレージ2との間で信号の授受を行うインターフェースである。
The
機器直接記録手段10は、機器に組み込まれた上述の直接記録装置であり、ストレージ2との間で画像データ等の転送及びハンドリングを行う。機器CPU11aは、機器直接記録手段10の動作を含み、電子カメラ各部の動作を統括的に制御する。機器ファイル管理部11bは、機器に組み込まれた本発明に係るファイル取得装置であり、機器直接記録手段10と協働してファイル識別子を含めたファイルの管理を行う。機器メモリ11cは、各種データを記憶する。
The device direct recording means 10 is the above-described direct recording device incorporated in the device, and transfers and handles image data and the like with the
ストレージ2には、ストレージ記録媒体15、ストレージ通信インターフェース16、及びストレージ制御部18が設けられている。そして、ストレージ制御部18は、ストレージ直接記録手段17、ストレージCPU18a、ストレージファイル管理部18b及びストレージメモリ18cを備えている。
The
ストレージ記録媒体15は、画像データ等を格納する。ストレージ通信インターフェース16は、電子カメラ1との間で信号の授受を行うインターフェースである。ストレージ直接記録手段17は、ストレージに組み込まれた上述の直接記録装置であり、電子カメラ1との間で画像データ等の転送及びハンドリングを行う。ストレージCPU18aは、ストレージ直接記録手段17の動作を含み、ストレージ各部の動作を統括的に制御する。ストレージファイル管理部18bは、ストレージに組み込まれた本発明に係るファイル取得装置であり、ストレージ直接記録手段17と協働してファイル識別子を含めたファイルの管理を行う。ストレージメモリ18cは、各種データを記憶する。
The
ここで、通信線3とは広く情報の送受信に用いられる経路のことで、導電線、光ファイバなどの有線を用いた通信に限られず、光、音波、電波などを用いた無線通信も含まれる。
Here, the
本直接記録システムでは、電子カメラ1に設けられた機器直接記録手段10とストレージ2に設けられたストレージ直接記録手段17とが互いに信号の授受を行って連携した動作を行うことによって画像データ等の転送及びハンドリングを行う。
In the present direct recording system, the device direct recording means 10 provided in the
図3は、直接記録装置のプロトコルアーキテクチャを示す図である。 FIG. 3 is a diagram showing a protocol architecture of the direct recording apparatus.
図3において、電子カメラ1の内部に記載された各層の機能が機器直接記録手段10の構成に対応し、ストレージ2の内部に記載された各層の機能がストレージ直接記録手段17の構成に対応している。
In FIG. 3, the function of each layer described in the
物理通信層としては、例えばUSBなどの物理的インターフェース21を設ける。トランスポート層には、PTPトランスポートレイヤ22を備える。PTP(Picture Transfer Protocol)は、主に電子カメラにおいて画像転送に用いられるプロトコルである。尚、これらのレイヤの構成に際しては、上述のUSB、PTPに限らず、適宜公知の技術を用いて構成しても良い。
As the physical communication layer, for example, a
そして、PTPトランスポートレイヤ22の上層に、直接記録を実現するための直接記録レイヤ24とソフトウエアコンポーネントである直接記録ディスカバリ23が設けられている。そして、最上層であるアプリケーション層25にはソフトウエアコンポーネントである第1直接記録サーバ26、第2直接記録クライアント27が電子カメラ側に設けられ、第1直接記録クライアント28及び第2直接記録サーバ29がストレージ側に設けられている。
A
直接記録ディスカバリ23は、電子カメラ1とストレージ2とが直接記録を行うにあたって、所定の機能を備えているかどうかのネゴシエーションを行う。
The
第1直接記録(サーバ/クライアント)は、電子カメラ1の画像データをストレージ2に転送する機能をサポートする。電子カメラ1側に設けられた第1直接記録サーバ26は、ストレージ2側に設けられた第1直接記録クライアント28からの要求に対してデータの提供を行う。
The first direct recording (server / client) supports a function of transferring image data of the
第2直接記録(サーバ/クライアント)は、ストレージ2の画像データを電子カメラ1に転送する機能、及びストレージ内の画像データを操作する機能をサポートする。ストレージ2側に設けられた第2直接記録サーバ29は、電子カメラ1側に設けられた第2直接記録クライアント27からの要求に対してデータの提供を行う。
The second direct recording (server / client) supports the function of transferring the image data in the
直接記録装置は次の機能を備えている。 The direct recording device has the following functions.
機能1:電子カメラ1とストレージ2との間でデータ転送等の動作を行うための準備を整える機能。
Function 1: A function for preparing to perform operations such as data transfer between the
この準備機能には、電子カメラ1とストレージ2とが直接記録を行うための所定の機能を備えているかどうかのネゴシエーションを行うディスカバリ動作とそれぞれの機能に関する詳細情報の授受を行うコンフィギュア動作が定義されている。
The preparation function defines a discovery operation for negotiating whether or not the
機能2:電子カメラ1内の画像データをストレージ2に転送してストレージ記録媒体15に記憶させる機能。
Function 2: A function of transferring image data in the
この機能として、ダイレクトコピー動作が定義されている。 As this function, a direct copy operation is defined.
機能3:ストレージ2内の画像データを電子カメラ1に転送して表示部8に表示または機器記録媒体6に記憶させる機能。
Function 3: A function of transferring image data in the
この機能として、ダイレクト表示動作が定義されている。 As this function, a direct display operation is defined.
機能4:電子カメラ1からストレージ2内のファイル等を操作する機能。
Function 4: A function for operating files in the
この機能として、ストレージ内の画像データのコピー/移動動作、他のストレージへの画像データのコピー/移動動作、ストレージ内での画像データの削除などの動作、フォーマット等のストレージの操作動作等が定義されている。 This function defines image data copy / move operations within the storage, image data copy / move operations to other storage, image data delete operations within the storage, storage operations such as formatting, etc. Has been.
以下、本発明に係るファイル取得装置の動作について、機能3のダイレクト表示動作に基づいて説明する。
Hereinafter, the operation of the file acquisition apparatus according to the present invention will be described based on the direct display operation of
[ダイレクト表示機能]
先ず、ファイル識別子について説明する。ファイル識別子は、画像データファイルなどを識別するためのIDデータであり、直接記録装置が電子カメラ1内の全ファイルに対してユニークな値を設定する。従って、このファイル識別子によって対象とするファイルを特定することができる。
[Direct display function]
First, the file identifier will be described. The file identifier is ID data for identifying an image data file or the like, and the direct recording apparatus sets a unique value for all files in the
図4は、ファイル識別子の付番方法を説明する図である。 FIG. 4 is a diagram for explaining a file identifier numbering method.
図4には、フォルダ35a〜35n、とファイル38a〜38cがツリー構造で表わされている。ここで、それぞれのフォルダ、ファイルを表わす図形中には、上段にフォルダ名またはファイル名を示し、下段にはファイル識別子が記載されている。
In FIG. 4,
直接記録装置では、このツリー構造に基づいて、フォルダとファイルを区別することなく連続して番号を付け、これをファイル識別子とする。従って、この規則によれば、フォルダ35a〜35bのファイル識別子は「00000001」〜「00000002」、ファイル38a〜38cのファイル識別子は「00000003」〜「00000005」、フォルダ35cファイル識別子は「00000006」…となる。尚、テンポラリのフォルダ36にはファイル識別子を設定しない。
In the direct recording device, numbers are consecutively assigned without distinguishing between folders and files based on this tree structure, and these are used as file identifiers. Therefore, according to this rule, the file identifiers of the
図5は、ダイレクト表示動作の信号授受フローを示す図である。 FIG. 5 is a diagram showing a signal exchange flow of the direct display operation.
この機能は、ストレージ2内の画像データを電子カメラ1に転送して表示部8に表示または機器記録媒体6に記憶させる機能である。本ダイレクト表示動作は、第2直接記録サーバ29と第2直接記録クライアント27とのあいだの信号授受によって実行される。従って、第1直接記録サーバ26と第1直接記録クライアント28は信号授受動作を行わない。
This function is a function for transferring the image data in the
ユーザが電子カメラ1の操作部7を用いて、ファイル表示モードを選択して、ダイレクト表示の開始を入力すると、第2直接記録クライアント27が起動して、ストレージ2に対して先ずストレージ識別子を要求する(S31)。
When the user selects a file display mode using the
ここで、ストレージ識別子は、ストレージ2の論理ストレージまたは物理ストレージを識別するためのIDデータであり、直接記録装置がストレージ2内の全ストレージに対してユニークな値を設定する。従って、このストレージ識別子によって対象とするストレージを特定することができる。
Here, the storage identifier is ID data for identifying the logical storage or physical storage of the
図6は、ストレージ識別子の付け方を示す図である。 FIG. 6 is a diagram showing how to assign storage identifiers.
ストレージ識別子は、8桁の数字によって構成され、上位4桁が物理ストレージ番号を表わし、下位4桁が論理ストレージ番号を表わしている。物理ストレージとは、物理的に別個の装置として存在するストレージであり、論理ストレージとは、同一装置内を複数のストレージに仮想的に分割したストレージである。 The storage identifier is composed of eight digits, with the upper 4 digits representing the physical storage number and the lower 4 digits representing the logical storage number. A physical storage is a storage that exists as a physically separate device, and a logical storage is a storage that is virtually divided into a plurality of storages within the same device.
図6に示す例では、MOの物理ストレージ番号を「0001」、CD−Rの物理ストレージ番号を「0002」とし、更に、MOの2つの論理ストレージ番号を「0001」、「0002」として、この物理ストレージ番号と論理ストレージ番号からストレージ識別子を設定している。 In the example shown in FIG. 6, the physical storage number of the MO is “0001”, the physical storage number of the CD-R is “0002”, and the two logical storage numbers of the MO are “0001” and “0002”. A storage identifier is set from a physical storage number and a logical storage number.
ストレージ2では、第2直接記録サーバ29がストレージ識別子を電子カメラ1に送信する(S32)。ストレージ識別子を受信した電子カメラ1では、第2直接記録クライアント27がストレージ識別子ごとのストレージ情報を要求する(S33)。
In the
ストレージ2では、第2直接記録サーバ29がストレージ情報を編集して電子カメラ1に編集したストレージ情報を送信する(S34)。
In the
第2直接記録サーバ29が編集するストレージ情報は、例えば、ストレージ種別、ファイルシステム種別(フォーマット形式等)、アクセス種別(ROM、R/W等)、ストレージ総容量、ストレージ空き容量、ストレージ記述子、ボリュームラベルなどである。
Storage information edited by the second
ストレージ情報を受信した第2直接記録クライアント27は、そのストレージ情報を表示部8に表示する(S35)。ユーザはこの表示を参照して表示対象とするストレージを操作部7によって選択する(S36)。
The second
このストレージ情報表示(S31〜S36)は、ダイレクト表示動作においてのみ動作するものでなく、例えば、電子カメラ1とストレージ2が接続された場合等に動作するものであってもよい。
This storage information display (S31 to S36) does not operate only in the direct display operation, and may operate, for example, when the
例えば、図6のストレージ識別子を有するストレージ2が電子カメラ1に接続された場合、電子カメラ1の表示部8にはストレージ識別子に対応するストレージ情報が3つ表示される。
For example, when the
これによりストレージが接続されたということだけではなく、どのような論理あるいは物理ストレージが存在しているかをユーザに告知することができ、ユーザは電子カメラ1の表示部8に表示されているストレージ情報をもとに所望のストレージを容易に選択することができる。
As a result, not only that the storage is connected but also what logical or physical storage exists can be notified to the user, and the user can store the storage information displayed on the
次に、ファイル識別子取得動作について、図7に示すストレージ2のファイル構成を参照しつつ説明する。
Next, the file identifier acquisition operation will be described with reference to the file configuration of the
第2直接記録クライアント27は、選択されたストレージ識別子のストレージに格納されているファイル識別子のリストを要求する(S37)。そして、第2直接記録サーバ29は、該当するファイル識別子のリストを作成して電子カメラ1に回答を送信する(S38)。
The second
この、ファイル識別子の取得動作においては、機器ファイル管理部11b、ストレージファイル管理部18bが、それぞれ機器直接記録手段10、ストレージ直接記録手段17と協働した動作を行うことにより、電子カメラ1のメモリ容量に制限がある場合や対象とするファイル数が膨大な場合であっても、通信時のバストラフィックを増加させることなく、全てのファイル識別子の取得が可能となっている。
In this file identifier acquisition operation, the device
図8は、ファイル識別子取得動作であるステップS37、S38の信号授受フローを詳細に示す図である。 FIG. 8 is a diagram showing in detail the signal transmission / reception flow of steps S37 and S38 which are file identifier acquisition operations.
第2直接記録クライアント27は、ルートディレクトリに存在するファイル識別子を求める要求情報をストレージ2に送信する(T01)。図9は、ファイル識別子の要求情報を示す図である。
The second
要求情報には、「ストレージ識別子」、「ファイル種別」、「親ディレクトリのファイル識別子」、「オフセット」、「最大取得数」の各パラメータが含まれている。 The request information includes parameters of “storage identifier”, “file type”, “file identifier of parent directory”, “offset”, and “maximum number of acquisitions”.
「ストレージ識別子」には、送り側の記録部が複数ある場合、ストレージ媒体が論理的に分割されている場合に、その内のいずれにアクセスするかを指定する情報(ストレージ識別子)を記載する。尚、ストレージ識別子が1つしかない場合等では自明のこととして、このパラメータを省略することも可能である。「ファイル種別」には、取得したいファイル識別子のファイル種別を指定する。例えば、フォルダ、JPG、TXT、MPEG、WAV等の拡張子によってファイル種別を指定することも可能である。尚、指定されたファイル種別以外のファイル種別は回答の対象外となる。また、このパラメータに指定がされていない場合は、全種類のファイル種別が対象となる。 “Storage identifier” describes information (storage identifier) that specifies which of the recording units on the sending side is accessed when the storage medium is logically divided. It should be noted that this parameter can be omitted when there is only one storage identifier. In “File type”, specify the file type of the file identifier to be acquired. For example, the file type can be specified by an extension such as folder, JPG, TXT, MPEG, WAV. Note that file types other than the designated file type are not subject to reply. If this parameter is not specified, all file types are targeted.
「親フォルダのファイル識別子」には、取得したいディレクトリのファイル識別子を指定する。ここに「0x00000000」(0xはHEX表現を表わす。以下同じ)を指定すると、ルートフォルダを指定したものとして取り扱う。「オフセット」には、上述の親フォルダ内のファイル識別子のオフセット値を指定する。指定されたオフセット値以降のファイル識別子が取得対象となる。「最大取得数」には、受け側が取得可能なファイル識別子の最大取得数を指定する。例えば、表示可能な最大数、あるいは取りこぼしが発生しない限度数など、受け側の状態に対応した数を指定することが可能である。 In “parent folder file identifier”, the file identifier of the directory to be acquired is designated. If “0x00000000” (0x represents HEX expression, the same applies hereinafter) is designated here, it is handled as if the root folder was designated. In the “offset”, an offset value of the file identifier in the parent folder is specified. File identifiers after the specified offset value are to be acquired. “Maximum number of acquisitions” specifies the maximum number of file identifiers that can be acquired by the receiver. For example, it is possible to specify a number corresponding to the state on the receiving side, such as the maximum number that can be displayed or the limit number at which no omission occurs.
図9に示す要求情報によれば、「第2記録部」に格納されている「ルートフォルダ」を親フォルダとする「全ファイル種別」を、「最初」から「最大50個」要求している。 According to the request information shown in FIG. 9, “maximum 50 files” are requested from “first” to “all file types” with “root folder” stored in “second recording unit” as a parent folder. .
そこで、第2直接記録サーバ29は、ファイル識別子として「00000103」、「00000205」、「00000206」の3つの識別子を、電子カメラ1に送信する(T02)。尚、この際、ファイル識別子とともに、ファイル種別を送信しても良い。
Therefore, the second
また、ファイル識別子を送信する前に、送り側が保存しているファイル種別を、図10に示すフォーマットに編集して受け側に送信しても良い。ファイル種別を受け側に知らせることにより、選択可能なファイル種別を受け側の表示部8に表示することもできる。このように構成すれば、受け側が、送り側に存在しないファイル種別を要求することがなくなり、インターフェース上、バストラフィックを軽減でき、ユーザの操作性が向上する。
Further, before sending the file identifier, the file type stored on the sending side may be edited into the format shown in FIG. 10 and sent to the receiving side. By informing the receiving side of the file type, the selectable file type can be displayed on the
ファイル識別子を受信した第2直接記録クライアント27は、そのファイル識別子についてのファイル情報をストレージ2へ要求し、そのファイル情報を表示部8に表示し、ユーザはこの表示を参照して対象とするファイル又はフォルダを操作部7によって選択することもできる。
The second
第2直接記録クライアント27は、サブディレクトリ1に存在するファイル識別子を求める要求情報をストレージ2に送信する(T05)。図11は、ファイル識別子の要求情報を示す図である。
The second
図11に示す要求情報によれば、「第2記録部」に格納されているファイル識別子「0x00000103」を親ディレクトリとする「全ファイル種別」を、「最初」から「最大50個」要求している。 According to the request information shown in FIG. 11, a request is made to request “all 50 file types” from “first” for “all file types” having the file identifier “0x00000103” stored in the “second recording unit” as a parent directory. Yes.
そこで、第2直接記録サーバ29は、ファイル識別子として「0x00000104」を、電子カメラ1に送信する(T06)。
Therefore, the second
ファイル識別子を受信した第2直接記録クライアント27は、そのファイル識別子についてのファイル情報をストレージ2へ要求し、前回と同様に受信したファイル情報を表示部8に表示し、ユーザはこの表示を参照して対象とするファイル又はフォルダを操作部7によって選択することもできる。
The second
第2直接記録クライアント27は、サブディレクトリ2に存在するファイル識別子を求める要求情報をストレージ2に送信する(T09)。図12は、ファイル識別子の要求情報を示す図である。
The second
図12に示す要求情報によれば、「第2記録部」に格納されているファイル識別子「0x00000104」を親ディレクトリとする「JPGファイル」を、「最初」から「最大50個」要求している。 According to the request information shown in FIG. 12, “maximum 50 files” are requested from “first” to “JPG files” having the file identifier “0x00000104” stored in the “second recording unit” as a parent directory. .
そこで、第2直接記録サーバ29は、ファイル識別子として「0x00000105」〜「0x00000154」を、電子カメラ1に送信する(T10)。
Therefore, the second
ファイル識別子を受信した第2直接記録クライアント27は、受信した50個のファイル識別子から任意の一つのファイル識別子を選択し、そのファイル識別子についてのファイル情報をストレージ2へ要求する(S39)。
The second
ストレージ2では、第2直接記録サーバ29がそのファイル識別子についてのファイル情報を編集して電子カメラ1に送信する(S40)。ここで、回答するファイル情報は、例えば、ファイル名、ファイルサイズ、ファイル属性、ファイル作成日、ファイル更新日などである。
In the
電子カメラ1では、第2直接記録クライアント27が送信されたファイル情報に基づいて画像ファイルを受け入れるための準備を行う。また、ファイルサイズから空き容量のチェックを行い、受入れ可能かどうかの判断を行う。そして、受入れ可能であれば、ファイルの転送を要求する(S41)。
In the
ストレージ2では、第2直接記録サーバ26がそのファイル識別子のファイルを電子カメラ1に対して送信する(S42)。
In the
図14は、ファイルの取り出し動作を説明する図である。電子カメラ1からファイル識別子として「00000105」を指定することにより、ファイル名「P1010001.JPG」が特定され送信される。
FIG. 14 is a diagram for explaining the file extraction operation. By specifying “00000105” as the file identifier from the
電子カメラ1では、第2直接記録クライアント27が送信されたファイルを表示部8に表示する(S43)。このとき、送信されたファイルを所定の領域に格納しても良い。尚、ファイルを格納する際は、第2直接記録クライアント27はそのファイルにユニークなファイル識別番号を設定する。
In the
ユーザが操作部7により、前記受信した50個のファイル識別子の範囲外が指定された場合は、次の50個のファイル識別子をストレージ2へ要求する。
When the user designates the received 50 file identifiers outside the range by the
第2直接記録クライアント27は、サブディレクトリ2に存在する次のグループのファイル識別子を求める要求情報をストレージ2に送信する(T13)。図13は、ファイル識別子の要求情報を示す図である。
The second
図13に示す要求情報によれば、「第2記録部」に格納されているファイル識別子「0x00000104」を親ディレクトリとする「JPGファイル」を、「最初から51番目」から「最大50個」要求している。 According to the request information shown in FIG. 13, “maximum 50” requests from “first 51st” to “JPG files” having the file identifier “0x00000104” stored in the “second recording unit” as a parent directory are requested. is doing.
そこで、第2直接記録サーバ29は、ファイル識別子として「0x00000155」〜「0x00000204」を、電子カメラ1に送信する(T14)。尚、送信すべきJPGファイルが残っていない場合は、電子カメラ1に送信する情報中に最終送信である旨を記載しても良い。また、電子カメラ1に送信する都度、残件数を記載するようにしても良い。
Therefore, the second
ファイル識別子を受信した第2直接記録クライアント27は、前回と同様の手順(S39〜S43)でファイルの表示を行う。
The second
以上の手順(S39〜S43)を、ユーザ指示に応じファイル識別子毎に繰り返して実行する。 The above procedure (S39 to S43) is repeatedly executed for each file identifier in accordance with a user instruction.
本ファイル識別子の取得方法では、要求情報のパラメータに「ストレージ識別子」を設けているため、送り側の記録部が複数ある場合、ストレージ媒体が論理的に分割されている場合であってもそのストレージ識別子を指定することができる。また、要求情報のパラメータに「オフセット」を設けているため、「最大取得数」と組み合わせることにより、データを受取る側のメモリ容量に制限がある場合や対象とするファイル数が膨大な場合であっても、通信時のバストラフィックを増加させることなく、全てのファイル識別子の取得が可能となる。 In this file identifier acquisition method, since a “storage identifier” is provided in the request information parameter, if there are a plurality of recording units on the sending side, even if the storage medium is logically divided, the storage An identifier can be specified. In addition, since “offset” is provided in the request information parameter, combining with the “maximum number of acquisitions” may limit the memory capacity on the data receiving side or when the number of target files is enormous. However, all file identifiers can be acquired without increasing bus traffic during communication.
尚、上記実施形態には種々の段階の発明が含まれているため、開示される複数の構成要件における適宜な組み合わせにより種々の発明を抽出することができる。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出できる。 In addition, since the above-described embodiments include various stages of the invention, various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be extracted as an invention.
1…電子カメラ、2…ストレージ、3…通信線、6…機器記録媒体、7…操作部、8…表示部、10…機器直接記録手段、11…機器制御部、11b…機器ファイル管理部、15…ストレージ記録媒体、17…ストレージ直接記録手段、18…ストレージ制御部、18b…ストレージファイル管理部、21…物理的インターフェース、22…PTPトランスポートレイヤ、23…直接記録ディスカバリ、24…直接記録レイヤ、25…アプリケーション層、26…第1直接記録サーバ、27…第2直接記録クライアント、28…第1直接記録クライアント、29…第2直接記録サーバ、35…フォルダ、38…ファイル。
DESCRIPTION OF
Claims (6)
フォルダ階層構造で管理された前記ファイルには、ファイルまたはフォルダを識別するための順序付けられた固有の識別子が付与され、
前記第2の機器に対して、指定する第1の識別子で特定されるフォルダ内のファイル又はフォルダの識別子を、前記フォルダに最初に格納されたファイルまたはフォルダの識別子の位置を基準として、指定する第1の数だけオフセットした位置の識別子から、指定する第2の数だけ抽出して送信するように要求するファイル識別子要求手段と、
前記ファイル識別子要求手段の要求に対応して、前記第2の機器から送信された少なくとも1つのファイル識別子から選択した第1のファイル識別子を前記第2の機器に送信するファイル要求手段と、
前記ファイル要求手段の要求に対応して、前記第2の機器から送信される前記第1のファイル識別子に対応したファイルを取得するファイル取得手段と、
を備えたことを特徴とするファイル取得装置。 In a file acquisition device that acquires a file that is stored in a second device that is mounted on a first device and that directly connects to the first device.
The files managed in the folder hierarchy are given unique ordered identifiers for identifying the files or folders,
A file or folder identifier in the folder specified by the first identifier to be specified is specified to the second device with reference to the position of the identifier of the file or folder stored first in the folder. File identifier requesting means for requesting to extract and transmit the second number to be specified from the identifier at the position offset by the first number;
In response to the request from the file identifier requesting means, a file requesting means for sending a first file identifier selected from at least one file identifier sent from the second device to the second device;
File acquisition means for acquiring a file corresponding to the first file identifier transmitted from the second device in response to the request of the file request means;
A file acquisition apparatus comprising:
フォルダ階層構造で管理された前記ファイルには、ファイルまたはフォルダを識別するための順序付けられた固有の識別子が付与され、
前記第2の機器に対して、指定する第1の識別子で特定されるフォルダ内のファイル又はフォルダの識別子を、前記フォルダに最初に格納されたファイルまたはフォルダの識別子の位置を基準として、指定する第1の数だけオフセットした位置の識別子から、指定する第2の数だけ抽出して送信するように要求するファイル識別子要求ステップと、
前記ファイル識別子要求ステップでの要求に対応して、前記第2の機器から送信された少なくとも1つのファイル識別子から選択した第1のファイル識別子を前記第2の機器に送信するファイル要求ステップと、
前記ファイル要求ステップでの要求に対応して、前記第2の機器から送信される前記第1のファイル識別子に対応したファイルを取得するファイル取得ステップと、
を備えたことを特徴とするファイル取得方法。 In a file acquisition method of a file acquisition device that acquires a file stored in a second device that is mounted on a first device and is directly signal-connected to the first device,
The files managed in the folder hierarchy structure are given unique ordered identifiers for identifying the files or folders,
A file or folder identifier in the folder specified by the first identifier to be specified is specified to the second device with reference to the position of the identifier of the file or folder stored first in the folder. A file identifier requesting step for requesting to extract and transmit the second number to be specified from the identifier at the position offset by the first number;
In response to the request in the file identifier requesting step, a file requesting step of transmitting to the second device a first file identifier selected from at least one file identifier transmitted from the second device;
In response to the request in the file request step, a file acquisition step of acquiring a file corresponding to the first file identifier transmitted from the second device;
A file acquisition method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003277651A JP2005020683A (en) | 2003-05-30 | 2003-07-22 | File acquisition apparatus and file acquisition method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003155637 | 2003-05-30 | ||
JP2003277651A JP2005020683A (en) | 2003-05-30 | 2003-07-22 | File acquisition apparatus and file acquisition method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005020683A true JP2005020683A (en) | 2005-01-20 |
JP2005020683A5 JP2005020683A5 (en) | 2006-06-08 |
Family
ID=34196627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003277651A Pending JP2005020683A (en) | 2003-05-30 | 2003-07-22 | File acquisition apparatus and file acquisition method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005020683A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006302037A (en) * | 2005-04-21 | 2006-11-02 | Canon Inc | File management device and control method thereof |
US9127119B2 (en) | 2013-01-11 | 2015-09-08 | Sabic Global Technologies B.V. | Polycarbonate compositions having improved thermal dimensional stability and high refractive index |
US9584712B2 (en) | 2013-09-17 | 2017-02-28 | Ricoh Company, Ltd. | Image processing apparatus, information processing apparatus, and image transfer method |
-
2003
- 2003-07-22 JP JP2003277651A patent/JP2005020683A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006302037A (en) * | 2005-04-21 | 2006-11-02 | Canon Inc | File management device and control method thereof |
US9127119B2 (en) | 2013-01-11 | 2015-09-08 | Sabic Global Technologies B.V. | Polycarbonate compositions having improved thermal dimensional stability and high refractive index |
US9584712B2 (en) | 2013-09-17 | 2017-02-28 | Ricoh Company, Ltd. | Image processing apparatus, information processing apparatus, and image transfer method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1819140B1 (en) | Information processing apparatus, image sharing method, and program | |
US8006276B2 (en) | Image taking apparatus and method with display and image storage communication with other image taking apparatus | |
US20110025858A1 (en) | Method, apparatus, and system for adding functionality to a digital camera | |
JP5571944B2 (en) | Imaging apparatus, control method therefor, and program | |
US20110019007A1 (en) | Method, apparatus and method for adding functionality to a digital camera | |
US8280975B2 (en) | Image supply apparatus and imaging apparatus, an information processing apparatus and control method thereof, and communication system | |
JP4349391B2 (en) | Image display system | |
EP1553770A1 (en) | Mobile terminal, printing device, image printing system, and thumbnail creation device | |
US7088385B2 (en) | Information apparatus, picture display method, and picture transmitting method | |
JP2005020683A (en) | File acquisition apparatus and file acquisition method | |
US20100280992A1 (en) | System and Method for Photo-image Uplink Confirmation | |
US7576773B2 (en) | Direct recording device and direct recording method | |
JP2006086654A (en) | Imaging apparatus | |
JP2004080538A (en) | Apparatus, system and method for image communication | |
JP4302424B2 (en) | Direct recording apparatus and direct recording method | |
JP6256430B2 (en) | Content providing server, content providing method, and computer program | |
US20100277313A1 (en) | Light Emitting Device History Log | |
JP2007207027A (en) | Information management device, terminal equipment, information management system and information management method | |
JP6157115B2 (en) | Imaging apparatus, control method thereof, and program | |
JP2005130394A (en) | Direct projecting apparatus and program thereof | |
JP2007148802A (en) | Communication device, control method, and program | |
JP2004147014A (en) | Picture display system, picture input device and picture display device, which are used for the same, and control method of picture display | |
CN103959889A (en) | Recording medium and control method thereof | |
JP2004072668A (en) | Image data management system, image conversion server, image data processing method, computer readable storage medium and program | |
JP2006217516A (en) | Image information storage unit and image information communications system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060413 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090217 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090721 |