JP2008217140A - Ftp type processor, ftp system and operation method for ftp system - Google Patents
Ftp type processor, ftp system and operation method for ftp system Download PDFInfo
- Publication number
- JP2008217140A JP2008217140A JP2007050336A JP2007050336A JP2008217140A JP 2008217140 A JP2008217140 A JP 2008217140A JP 2007050336 A JP2007050336 A JP 2007050336A JP 2007050336 A JP2007050336 A JP 2007050336A JP 2008217140 A JP2008217140 A JP 2008217140A
- Authority
- JP
- Japan
- Prior art keywords
- ftp
- file
- link
- processing apparatus
- data
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
本発明は、FTP型処理装置、そのFTP型処理装置とホスト装置とからなるFTPシステム、および、その操作方法に関する。 The present invention relates to an FTP type processing apparatus, an FTP system including the FTP type processing apparatus and a host device, and an operation method thereof.
FTP(File Transfer Protocol)にて、ファイルを転送する仕組みは従来より知られている(例えば、特許文献1参照)。 A mechanism for transferring a file by FTP (File Transfer Protocol) is conventionally known (see, for example, Patent Document 1).
また、近年、フラッシュメモリなどの不揮発性メモリがカード型にパッケージングされたいわゆるメモリーカード(記憶メディアの一例)が広く知られている。このメモリーカードは、デジタルカメラや携帯音楽プレーヤーなどのデジタル機器に用いられるデータの記憶媒体として急速に普及している。メモリーカードの仕様は統一されておらず、例えば、コンパクトフラッシュ(登録商標、以下「CF」と略称する)、スマートメディア(登録商標、以下「SM」と略称する)、メモリースティック(登録商標、以下「MS」と略称する)、SDメモリーカード(登録商標、以下「SD」と略称する)など、種々のものが市場に出回っている。 In recent years, a so-called memory card (an example of a storage medium) in which a non-volatile memory such as a flash memory is packaged in a card type is widely known. This memory card is rapidly spreading as a data storage medium used in digital devices such as digital cameras and portable music players. The specifications of the memory card are not unified. For example, compact flash (registered trademark, hereinafter abbreviated as “CF”), smart media (registered trademark, hereinafter abbreviated as “SM”), memory stick (registered trademark, hereinafter referred to as “SM”). Various products such as “MS” and SD memory card (registered trademark, hereinafter abbreviated as “SD”) are on the market.
PCなどはメモリーカードの読み書きをも行うメモリーカードリーダライタ(以下「リーダライタ」と略称する)と通信することで、リーダライタに接続された上記メモリーカードへのアクセスが可能となる。近年ではこうしたリーダライタを搭載した印刷装置なども普及しており、例えば、JPEG形式等で保存された画像データファイルを書き込んだメモリーカードをリーダライタに接続することで、PCを経由せずに画像を直接印刷できるようになっている。 A PC or the like communicates with a memory card reader / writer (hereinafter abbreviated as “reader / writer”) that also reads and writes a memory card, thereby enabling access to the memory card connected to the reader / writer. In recent years, printing apparatuses equipped with such a reader / writer have also become widespread. For example, by connecting a memory card in which an image data file saved in JPEG format or the like is connected to a reader / writer, an image can be transmitted without going through a PC. Can be printed directly.
PCなどにFTPクライアントプログラムをインストールしておき、カードリーダ側にFTPサーバプログラムを搭載しておけば、デジタルカメラやカメラつき携帯電話の撮影画像データファイルの保存先として使用されるメモリーカードをリーダライタに接続することで、そのメモリーカードに保存されているデータファイルをFTPによりPCへ転送することができる。つまり、リーダライタをPCの外付けFTP型記憶装置として利用することが可能である。 If an FTP client program is installed on a PC, etc., and an FTP server program is installed on the card reader side, the memory card used as the storage location for the captured image data file of a digital camera or camera-equipped mobile phone is read / written. By connecting to, the data file stored in the memory card can be transferred to the PC by FTP. That is, the reader / writer can be used as an external FTP storage device of a PC.
ところで、FTPはその名の通り、ファイル転送について設計されたプロトコルであり、記憶メディア(リムーバブルメディア、以下、単にメディアともいう)を取り扱うことを前提としたプロトコル設計がなされていない。
従って、上記のようなFTP型記憶装置(或いはそれを搭載したプリンタなどの周辺デバイス)にFTPサーバを搭載した場合、FTPプロトコルそのものに準拠しただけのクライアントからは、ネットワーク上のメモリーカードリーダーからの情報を表示することは不可能であり、また、クライアントからメモリーカードのフォーマット等の操作も行うことが不可能であった。
上記の問題点を解決する手法として、まず、メディアそのものやメディアを単位とした操作をFTPプロトコルに準拠したクライアントから直接行えるよう、FTPプロトコル自体の拡張変更を行うことが考えられる。しかし、拡張変更を行った場合、既存のFTPクライアントのユーザはその恩恵にあずかることはできない。また、プロトコルの拡張変更は、国際的な団体を通して承認を得る必要があり、現実的ではない。
Incidentally, as its name suggests, FTP is a protocol designed for file transfer, and no protocol design has been made on the assumption that storage media (removable media, hereinafter simply referred to as media) is handled.
Therefore, when the FTP server is installed in the FTP storage device as described above (or a peripheral device such as a printer equipped with the FTP storage device), a client that only complies with the FTP protocol itself can receive data from a memory card reader on the network. It is impossible to display information, and it is impossible to perform operations such as formatting a memory card from a client.
As a technique for solving the above problems, first, it is conceivable to extend and change the FTP protocol itself so that the media itself and operations in units of media can be directly performed from a client compliant with the FTP protocol. However, when an extended change is made, existing FTP client users cannot benefit from the benefits. In addition, protocol changes need to be approved through international organizations and are not practical.
本発明の課題は、プロトコルの拡張変更を行うことなくFTPプロトコルに準拠したクライアントからFTPサーバ上のメディアそのものやメディアを単位とした操作を直接行えるようにすることにある。 SUMMARY OF THE INVENTION An object of the present invention is to make it possible to directly perform operations on a medium itself or a medium on an FTP server from a client conforming to the FTP protocol without performing an extension change of the protocol.
上記の課題を解決する為に、請求項1のFTP型処理装置は、メディア接続部を備えたFTP型処理装置であり、ホスト装置からのネットワークを介したFTP通信によるコマンドに従い、前記メディア接続部に接続された記憶メディアに対し、少なくともファイル単位によるデータの読出し、書込みを行うFTPサーバ手段を備え、そのFTPサーバ手段は、所定のファイル名を持つファイルへのアクセス要求を受けたことを条件として、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信する操作対応データ送信手段と、前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行する操作実行手段と、を備えることを特徴とする。
In order to solve the above problems, an FTP type processing apparatus according to
請求項2のFTP型処理装置は、前記記憶メディアを単位とした操作に対応付けられたURLを含んだハイパーテキストデータを前記ホスト装置に送信し、前記操作実行手段は、前記URLへのアクセス要求を受けたことを条件として、URLに対応する操作を実行することを特徴とする。
3. The FTP processing apparatus according to
請求項3のFTP型処理装置は、所定のファイル名を持つファイルへのアクセス要求を受けたことを条件として、前記FTP型処理装置あるいは前記メディア接続部に接続された記憶メディアの状態に基づいて、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを作成する操作対応データ作製手段を備え、前記操作対応データ送信手段は、作製された操作対応データを前記ホスト装置に送信することを特徴とする。
The FTP processing apparatus according to
請求項4のFTP型処理装置におけるFTPサーバ手段は、前記操作実行手段による操作実行状況を反映した実体データを決定し、実体データを前記ホスト装置に送信することを特徴とする。 According to a fourth aspect of the present invention, the FTP server means in the FTP processing apparatus determines entity data reflecting an operation execution status by the operation execution means, and transmits the entity data to the host device.
請求項5のFTP型処理装置におけるFTPサーバ手段は、前記実体データへのリンクを含んだデータを前記ホスト装置に送信することを特徴とする。 The FTP server means in the FTP processing apparatus according to claim 5 transmits data including a link to the entity data to the host apparatus.
請求項6のFTP型処理装置におけるFTPサーバ手段は、前記実体データへのリンクと共に、リンク先に関するキャッシュデータを削除するコマンドを含んだデータを前記ホスト装置に送信することを特徴とする。 The FTP server means in the FTP type processing apparatus according to claim 6 is characterized in that, together with the link to the entity data, data including a command for deleting cache data relating to the link destination is transmitted to the host device.
請求項7のFTP型処理装置におけるFTPサーバ手段は、前記実体データへのリンクと、そのリンクへのリダイレクトを指示するリダイレクト指示データを前記ホスト装置に送信するFTPサーバ手段を備えることを特徴とする。 The FTP server means in the FTP processing apparatus according to claim 7 comprises FTP server means for transmitting a link to the entity data and redirect instruction data for instructing redirection to the link to the host device. .
請求項8のFTP型処理装置におけるFTPサーバ手段は、前記実体データとともに前記リンクとは異なる、次の段階の操作実行状況を反映した次回実体データへのリンクとそのリンクへのリダイレクトを指示するリダイレクト指示データを前記ホスト装置に送信するFTPサーバ手段を備えることを特徴とする。 9. The FTP server means in the FTP type processing apparatus according to claim 8, wherein the FTP server means is different from the link together with the entity data, and the redirect to the next entity data reflecting the operation execution status of the next stage and the redirect to the link are instructed. An FTP server means for transmitting the instruction data to the host device is provided.
請求項9のFTP型処理装置は、複数のメディア接続部が設けられ、前記操作対応リンクは、いずれかの前記メディア接続部に接続された記憶メディアに対する操作に対応することを特徴とする。 The FTP processing apparatus according to claim 9 is provided with a plurality of media connection units, and the operation corresponding link corresponds to an operation on a storage medium connected to any one of the media connection units.
請求項10のFTP型処理装置は、メディア接続部には種別の異なる記憶メディアを接続可能であり、前記操作対応リンクは、いずれかの種類の記憶メディアに対する操作に対応することを特徴とする。 The FTP type processing apparatus according to claim 10 is characterized in that storage media of different types can be connected to the media connection unit, and the operation corresponding link corresponds to an operation on any type of storage media.
請求項11のFTP型処理装置における前記操作対応リンクは、前記メディア接続部に接続された記憶メディア内のファイル名又はディレクトリ名を前記ホスト装置に送信する操作に対応することを特徴とする。 The operation corresponding link in the FTP processing apparatus according to claim 11 corresponds to an operation of transmitting a file name or a directory name in a storage medium connected to the media connection unit to the host apparatus.
請求項12のFTP型処理装置における前記操作対応リンクは、前記メディア接続部に接続された記憶メディア内のファイルの実体データを前記ホスト装置に送信する操作に対応することを特徴とする。 The operation-related link in the FTP processing apparatus according to claim 12 corresponds to an operation of transmitting substance data of a file in a storage medium connected to the media connection unit to the host apparatus.
請求項13のFTP型処理装置における前記操作対応リンクは、前記メディア接続部に接続された記憶メディアのフォーマット操作に対応することを特徴とする。 In the FTP type processing apparatus according to claim 13, the operation corresponding link corresponds to a format operation of a storage medium connected to the media connection unit.
請求項14のFTP型処理装置における前記操作対応リンクは、前記メディア接続部に接続された記憶メディアのファイル消去に対応することを特徴とする。 In the FTP type processing apparatus according to claim 14, the operation corresponding link corresponds to file erasure of a storage medium connected to the media connection unit.
請求項15のFTP型処理装置はにおける前記操作対応リンクは、前記メディア接続部に接続された記憶メディア間のファイルコピーに対応することを特徴とする。 The FTP processing apparatus according to claim 15 is characterized in that the operation corresponding link corresponds to a file copy between storage media connected to the media connection unit.
請求項16のFTP型処理装置は、前記ネットワークを介して送信される印刷データに基づいて印刷を実行可能なネットワークプリンタに組み込まれてなることを特徴とする。
The FTP processing apparatus according to
請求項17のFTPシステムは、ホスト装置と、メディア接続部を備え、前記ホスト装置からのネットワークを介したFTP通信によるコマンドに従い、前記メディア接続部に接続された記憶メディアに対し、少なくともファイル単位によるデータの読出し、書込みを行うFTPサーバ手段を備えたFTP型処理装置とからなり、前記FTP型処理装置は、所定のファイル名を持つファイルへのアクセス要求を受けたことを条件として、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信する、操作対応データ送信手段と、前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行する操作実行手段と、を備え、前記ホスト装置は、所定のファイル名を持つファイルと、前記操作対応リンクへアクセスすることと、前記FTP型処理装置から送信された前記操作対応リンクを含んだデータを表示装置に表示することを特徴とする。
The FTP system according to
請求項18のFTPシステムは、請求項3のFTP型処理装置は、前記所定のファイル名を持つファイルへのショートカットファイルを記憶している前記ホスト装置を含むことを特徴とする。
The FTP system according to
請求項19のFTPシステムの操作方法は、メディア接続部を備え、前記ホスト装置からのネットワークを介したFTP通信によるコマンドに従い、前記メディア接続部に接続された記憶メディアに対し、少なくともファイル単位によるデータの読出し、書込みを行うFTPサーバ手段を備えたFTP型処理装置において、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信し、前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行することを特徴とする。
The FTP system operation method according to
請求項1のFTP型処理装置、請求項17のFTPシステム、請求項19のFTPシステムの操作方法によれば、FTP型処理装置にはFTPプロトコルに対応したFTPサーバが備えられており、ホスト装置にはFTPプロトコルに対応したFTPクライアントが備えられている。FTPサーバは、ネットワークを介したFTP通信によるFTPクライアントからのコマンドに従い、記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータをFTPクライアントへ送信する。FTPクライアントは、FTPサーバから送信されたデータをブラウザで開くことにより、メディアの状態を確認することができる。また、ファイルに含まれている操作対応リンク操作することにより、メディアそのものやメディアを単位とした操作を直接行うことができる。
According to the FTP processing device of
すなわち、FTPプロトコルの拡張変更を行なうことなく、FTPプロトコルに準拠したクライアントからFTPサーバ上のメディアそのものやメディアを単位とした操作を直接行えるようにできる。 That is, it is possible to directly perform operations on the media itself on the FTP server and the media as a unit from a client compliant with the FTP protocol without changing the extension of the FTP protocol.
請求項2のFTP型処理装置によれば、ユーザが、FTPプロトコルに準拠したクライアントからFTPサーバ上のメディアそのものやメディアを単位とした操作を直接行えるようにできる。また、ハイパーテキストデータを用いることによって、よりユーザにわかりやすい形(色を用いる等)でメディア情報や操作手段を伝えることも可能となる。 According to the FTP processing apparatus of the second aspect, the user can directly perform the operation on the FTP server itself or the unit of the medium from the client conforming to the FTP protocol. In addition, by using hypertext data, it is possible to convey media information and operation means in a form that is easier for the user to understand (such as using colors).
請求項3のFTP型処理装置によれば、ユーザは、FTP処理装置がアクセス要求を受けた時点で操作可能な操作を知ることができる。そのため、操作不可能な操作をユーザが指定することによる不具合が発生しない。 According to the FTP processing apparatus of the third aspect, the user can know an operation that can be performed when the FTP processing apparatus receives an access request. Therefore, there is no problem caused by the user specifying an operation that cannot be performed.
請求項4のFTP型処理装置によれば、ユーザは、ユーザは、操作状況を記した実体ファイルを得ることができるため、FTP型処理装置の操作実行状況を知ることができる。 According to the FTP type processing apparatus of the fourth aspect, the user can know the operation execution status of the FTP type processing apparatus because the user can obtain an entity file describing the operating status.
請求項5のFTP型処理装置によれば、ユーザは、操作状況を記した実体ファイルを得る為のリンクを知ることができるため、ユーザは、FTP型処理装置の操作実行状況を知ることができる。 According to the FTP processing apparatus of the fifth aspect, since the user can know the link for obtaining the entity file describing the operation status, the user can know the operation execution status of the FTP processing apparatus. .
請求項6のFTP型処理装置によれば、キャッシュデータを削除するコマンドを含んだデータを送信するため、ユーザは、キャッシュを保持するタイプのブラウザを用いて前記FTP型処理装置にアクセスした場合にも、ファイルを更新することができ、最新の状態のファイルを開くことができる。 According to the FTP type processing apparatus of the sixth aspect, in order to transmit data including a command for deleting cache data, when the user accesses the FTP type processing apparatus using a browser of a type holding the cache You can also update the file and open the latest file.
請求項7のFTP型処理装置におけるFTPサーバ手段によれば、ホスト側で次の段階の操作実行状況を反映した次回実体データへと自動的にリダイレクトされるので、ユーザは自らリンクへのアクセス指示を行う手間無く操作実行状況を知ることができる。 According to the FTP server means in the FTP processing apparatus of claim 7, since the host side automatically redirects to the next entity data reflecting the operation execution status of the next stage, the user himself / herself gives an instruction to access the link. It is possible to know the operation execution status without the trouble of performing.
請求項8のFTP型処理装置によれば、キャッシュ機能が働いているホストであっても、必ず新たな実体データをリダイレクトして取得しに行くので、ユーザは、必ず次の操作実行状況を知ることができる。 According to the FTP type processing apparatus of the eighth aspect, even if the host has a cache function, it always redirects and acquires new entity data, so the user always knows the next operation execution status. be able to.
請求項9のFTP型処理装置によれば、ユーザは、意図した接続部に接続された記憶メディアに対して容易に操作を行うことができる。 According to the FTP processing apparatus of the ninth aspect, the user can easily operate the storage medium connected to the intended connection unit.
請求項10のFTP型処理装置によれば、ユーザは、意図した種類の記憶メディアに対して容易に操作を行うことができる。 According to the FTP processing apparatus of the tenth aspect, the user can easily operate the intended type of storage medium.
請求項11のFTP型記憶装置によればユーザは、操作対応リンクによって、FTP型処理装置に接続された記憶メディアのディレクトリ、ファイル構成を容易に把握/取得することができる。 According to the FTP type storage device of the eleventh aspect, the user can easily grasp / acquire the directory and file structure of the storage medium connected to the FTP type processing device by the operation-corresponding link.
請求項12のFTP型処理装置によれば、ユーザは、操作対応リンクによって、記憶メディア内の実体データを得ることができる。 According to the FTP type processing apparatus of the twelfth aspect, the user can obtain the actual data in the storage medium by the operation corresponding link.
請求項13のFTP型処理装置によれば、ユーザは、FTP型処理装置に接続された記憶メディアに対してフォーマット操作を行うことができる。 According to the FTP processing apparatus of the thirteenth aspect, the user can perform a formatting operation on the storage medium connected to the FTP processing apparatus.
請求項14のFTP型処理装置によれば、ユーザは、FTP型処理装置に接続された記憶メディアに対してファイル消去操作を行うことができる。 According to the FTP processing apparatus of the fourteenth aspect, the user can perform a file erasing operation on the storage medium connected to the FTP processing apparatus.
請求項15のFTP型処理装置によれば、ユーザは、FTP型処理装置に接続された記憶メディアに対して記憶メディア間のファイルコピー操作を行うことができる。 According to the FTP type processing apparatus of the fifteenth aspect, the user can perform a file copy operation between the storage media on the storage medium connected to the FTP type processing apparatus.
請求項16によれば、FTP型処理装置としてネットワークプリンタを含むことができる。 According to the sixteenth aspect, a network printer can be included as the FTP processing apparatus.
請求項18のFTPシステムによれば、ブラウザにアドレスを入力する必要がなくなるため、ユーザはホスト側からFTP型処理装置に接続された記憶メディアへの状態確認や操作を容易に行うことができる。 According to the FTP system of the eighteenth aspect, since it is not necessary to input an address to the browser, the user can easily check the status and operate the storage medium connected to the FTP type processing apparatus from the host side.
以下、添付の図面を参照しつつ、本発明の実施形態について説明する。なお、以下に説明するFTPシステムの構成は、本発明を具現化するための単なる一例であり、本発明の要旨を変更しない範囲で構成を適宜変更できることは当然である。図1は、上記FTPシステム1の概略構成を示すブロック図である。FTPシステム1は、プリンタ80と、そのプリンタ80をネットワークプリンタとして使用するホスト装置(パーソナルコンピュータ:以下、「PC]ともいう)3とがネットワーク410にて通信可能にされている。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Note that the configuration of the FTP system described below is merely an example for embodying the present invention, and it is natural that the configuration can be appropriately changed without departing from the gist of the present invention. FIG. 1 is a block diagram showing a schematic configuration of the
なお、ネットワーク410は、図示したような有線のネットワークでもよいし、無線のネットワークでもよい。
The
図2は、プリンタ80の外観構成を示すものである。前記プリンタ80は、いわゆる多機能装置(MFP:Multi Function Peripheral)であり、FTP型処理装置をなすマルチリーダライタ2をプリンタに組み込んだプリンタ複合機として構成されている。具体的には、装置前面にメディア接続用スロット(以下、単に「スロット」ともいう)16〜19が露出するように配設されたマルチリーダライタ2とを一体的に備えてなり、プリンタ機能、スキャナ機能、コピー機能及びファクシミリ機能などを有する。
FIG. 2 shows an external configuration of the
なお、メディア接続用スロットに代えて、あるいは併設して、USB接続部を備え、記憶メディアとしてのUSBメモリが接続できる構成でもよいし、無線接続部を備え、記憶メディアとしての無線機能を持ったメモリーカードを接続できる構成でもよい。 Note that, instead of or in addition to the media connection slot, a USB connection unit may be provided and a USB memory as a storage medium may be connected, or a wireless connection unit may be provided and a wireless function as a storage medium may be provided. A configuration in which a memory card can be connected may be used.
プリンタ80は、PC3とネットワーク接続されて、PC3とマルチリーダライタ2に挿入されたメモリーカードとの間でデータ通信を行うリーダライタ装置として機能する。また、PC3(図1)から送信された印刷データに基づき、画像や文書を所定の用紙に印刷する。また、マルチリーダライタ2によってメモリーカード(記憶メディア)から読み取られた印刷データに基づいても、画像や文書を所定の用紙に印刷する(直接印刷)。また、スキャナ部により読み取られた画像データをPC3へ送信したり、スキャナ部で読み取った画像を、印刷部を用いてコピーしたりすることも可能である。
The
プリンタ80のマルチリーダライタ2は、図2に示すように、メディア接続用スロット16〜19として、第1メモリーカード11を挿入するための第1スロット16と、第2メモリーカード12を挿入するための第2スロット17と、第3メモリーカード13を挿入するための第3スロット18と、第4メモリーカード14を挿入するための第4スロット19とを備えている。また、その他のメモリーカード(xDピクチャーカード(登録商標、以下「XD」と略称する)など)のスロットを備える構成としてもよい。
As shown in FIG. 2, the multi-reader /
図3は、上記プリンタ80の電気的構成を示すブロック図である。プリンタ80は、その内部に、各構成部を制御するCPU34と、制御プログラムや種々のデータ等を格納するROM35(本実施形態では、フラッシュメモリ等の不揮発性メモリにて構成している)と、CPU34による演算の作業領域となるRAM37と、がバス33を介して相互にデータ転送が可能なように接続されている。また、バス33には、フラッシュメモリ制御用LSIを介して各スロット16〜19が接続されている。これらスロット16〜19に着脱可能に接続される各第1〜第4メモリーカード11〜14は、例えば、CF、SM、MS、SDなど、データの書込み、書き換え、消去、読出しなどが可能なフラッシュメモリを搭載したカード型記憶メディアである。なお、上記のスロット16〜19は、いずれかの種類のメモリーカードを択一的に接続可能である。
FIG. 3 is a block diagram showing an electrical configuration of the
バス33には、印刷部82、スキャナ部132、電話線I/F133、LCD、キーボード及びカーソル移動キーなどからなる操作・表示部91が繋がれている。さらに、バス33には、LANI/F24が接続されている。LANI/F24は、第一のネットワークを介してホスト装置であるPC3と接続している。複数のPC3及びプリンタ80はTCP/IPネットワーク410にて相互接続されている(図1参照)。
An operation /
ROM35には、マルチリーダライタ2の動作制御プログラム及び、印刷制御、スキャン制御、FAX通信制御などを司る各々の制御プログラムが格納され、CPU34は、これらプログラムを、RAM37を実行エリアとして実行することで、プリンタ複合機としての総合的な動作制御を行なう。
The
ROM35にはさらに、FTPサーバプログラムが格納されている。また、TCP/IPネットワーク410上にてプリンタ80が特定されるためのIPアドレス及びサブネットマスクもROM35に記憶されている。さらに、前記記憶メディアの状態を送信する状態データ送信プログラムと、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信する、操作対応データ送信プログラムもROM35に記憶されている。
The
メディア接続用スロット16〜19には、メモリーカード(記憶メディア)11〜14が接続される。また、PC3は、ハードディスクなどからなるローカルディスク3Lと、液晶ディスプレイなどからなるモニタ3Mとを備え、ローカルディスク3Lには、FTPクライアントプログラムが組み込まれたブラウザがインストールされている。
Memory cards (storage media) 11 to 14 are connected to the
プリンタ80側では、前述した各々の制御プログラムと、状態反映ファイル名決定プログラム、及びFTPサーバプログラムが、CPU34で実行されることにより、FTPサーバ手段、操作対応ファイル名決定手段、操作実行手段、がシステム上で実現されている。
On the
以下、通信システム1におけるデータシーケンスを、図4のシーケンス図を用いて説明する。このシーケンス図は、PC3側でユーザがFTPクライアント機能が組み込まれたブラウザを立ち上げ、プリンタ80のノード名「ftp://brn_600789」を入力し、アクセスを開始させたときに始まる。なお、PC3側にノード名「ftp://brn_600789」へのショートカットを用意しておき、そのショートカットを操作することで、ブラウザが起動後そのままプリンタ80へアクセスするよう構成していてもよい。プリンタ80のノード名「ftp://brn_600789」は適宜変更してもよい。
Hereinafter, the data sequence in the
まず、PC3(FTPクライアント)はプリンタ80(FTPサーバ)にアクセスするために、FTPに割り当てられた21番ポートにてコネクトする(J1)。プリンタ80はPC3に対しユーザ名要求レスポンスを送信する(J2)。PC3はこれを受けてプリンタ80にFTPサーバにログインするためのユーザ名を送信する(J3)。
First, in order to access the printer 80 (FTP server), the PC 3 (FTP client) connects with the 21st port assigned to FTP (J1). The
次に、プリンタ80からPC3にパスワード要求レスポンスを送信する(J4)。そして、そのパスワード要求レスポンスを受けたPC3からプリンタ80に、前期ホスト装置にて入力されたパスワードを送信する(J5)。プリンタ80では、受信したパスワードとユーザ名とに基づいてログインユーザを認証し、認証受理の場合にそのログインユーザのFTPサーバ(プリンタ80)へのログインを許可する応答をPC3へ返信する(J6)。
Next, a password request response is transmitted from the
FTPサーバへのログインが許可されたPC3は、続いて、ルートディレクトリへのアクセスを要求するコマンド「cd/ (change directory root)」を発行する(J7)。
このコマンドを受信したプリンタ80は、ルートディレクトリへアクセスし(カレントディレクトリをルートディレクトリに変更することを試み)、成功したことを示すコードをPC3へ返信する(J8)。
Subsequently, the
Upon receiving this command, the
なお、ルートディレクトリへのアクセスに失敗すれば、前述したようにレスポンスコード「550」などが返信されることになる。この実施形態では、記憶メディアが未接続の状態でも、ルートディレクトリへのアクセスが成功したことを示すコードをPC3へ返信するように工夫している。
If access to the root directory fails, a response code “550” or the like is returned as described above. In this embodiment, even if the storage medium is not connected, a code indicating that the access to the root directory is successful is returned to the
ルートディレクトリへのアクセスが成功したことを示すコードを受信したPC3は、このルートディレクトリに対するlistコマンドを発行する(J9)。listコマンドを受信したプリンタ80は、メディア接続部の状態や、操作対応ファイル名決定プログラムによって決定された、操作対応ファイル名を有したファイルを含むディレクトリが、ルートディレクトリに存在している、との情報を送信する(J10)。
The
以下、フローチャート等を参照して、本発明の処理を説明する。 Hereinafter, the processing of the present invention will be described with reference to flowcharts and the like.
図23はインストーラによるショートカットの作成を示したフローチャートである。プリンタ80に対応するインストーラは、プリンタドライバなどのソフトウェアのインストールと同時に、FTPサーバ上のIndex.htmへのショートカットを作成する(S1800)。ショートカットを作成することにより、ユーザは、FTPサーバに接続する際に必要となるIPアドレスやパスワード等の入力を接続の度に行う煩雑さを解消することができる。
FIG. 23 is a flowchart showing creation of a shortcut by the installer. The installer corresponding to the
図24はショートカットを起動したときのPC3の処理を示したフローチャートである。ショートカットにはFTPサーバ上のIndex.htm等のURLが書かれており、ショートカットに書かれたURLを引数に与えてブラウザを起動することでプリンタ80に搭載されたFTPサーバに接続する。
FIG. 24 is a flowchart showing the processing of the
図5は、プリンタ80におけるCPU34がFTPサーバプログラムに従って実行するFTPサーバ処理の動作フローである。FTPサーバ処理は、プリンタ80の起動に伴って動作が開始される。
FIG. 5 is an operational flow of FTP server processing executed by the
図5で示すFTPサーバ処理では、まず、仮想ディレクトリツリーの初期化処理を実行し、FTPサーバ処理でCPUが管理するディレクトリツリーをRAMなどのメモリ上に形成する(S100)。続いて、FTPポートのオープンなど、FTPサーバとしてネットワーク機器と接続するための準備を行う(S110)。続いてFTPサーバとして、ファイルへのアクセス要求の受信、要求への応答などの定常動作処理を実行する(S120)。以降、プリンタ80の電源が切断されたり、リセットなどが行われるまで、定常動作し続ける。
In the FTP server process shown in FIG. 5, first, a virtual directory tree initialization process is executed, and a directory tree managed by the CPU in the FTP server process is formed on a memory such as a RAM (S100). Subsequently, preparation for connecting to a network device as an FTP server is performed, such as opening an FTP port (S110). Subsequently, steady operation processing such as reception of a file access request and response to the request is executed as an FTP server (S120). Thereafter, the
図6は、S110における仮想ディレクトリツリーの初期化処理を詳細に示したフローチャートである。まず、CPU34は、仮想ディレクトリツリーの構成を管理するために必要なメモリ、FTPサーバシステムを管理するために必要なメモリをRAMなどに確保する(S200)。
FIG. 6 is a flowchart showing in detail the initialization process of the virtual directory tree in S110. First, the
続いて、確保したメモリ上の仮想ディレクトリツリーに、FTPサーバのルートディレクトリ用の管理領域を確保する(S210)。続いて、確保したルートディレクトリ用の管理領域を初期化する。ここでは、ディレクトリ名称がないこと、ディレクトリの実体は、先に述べたシステム領域に存在すること、ディレクトリ内に格納されたファイルのファイル名はない(すなわち、ディレクトリ内にファイルがない)こと、サブディレクトリはない、という属性を管理領域に設定する(S220)。 Subsequently, a management area for the root directory of the FTP server is secured in the virtual directory tree on the secured memory (S210). Subsequently, the management area for the secured root directory is initialized. Here, there is no directory name, the directory entity exists in the system area described above, the file name of the file stored in the directory does not exist (that is, there is no file in the directory), sub An attribute that there is no directory is set in the management area (S220).
続いて、先に述べたルートディレクトリがカレントディレクトリであると認識し(S230)、仮想ディレクトリツリーの初期化処理を終了する。このように認識しておくことで、FTPサーバにアクセスしてきたFTPクライアント(以下、クライアントとも呼ぶ)が、「cd /」することなくlistコマンドを送信してきた場合でも、プリンタ80はカレントディレクトリであるルートディレクトリ内に存在するファイルのファイル名およびサブディレクトリ名を返信するようになる。
Subsequently, the root directory described above is recognized as the current directory (S230), and the initialization process of the virtual directory tree is terminated. By recognizing in this way, even when an FTP client (hereinafter also referred to as a client) accessing the FTP server transmits a list command without performing “cd /”, the
なお、図15(a)は、仮想ディレクトリツリーの初期化処理によって構成される仮想ディレクトリツリーを示す概念図である。 FIG. 15A is a conceptual diagram showing a virtual directory tree formed by the initialization process of the virtual directory tree.
図7は、図5の(S120)における定常動作処理を詳細に示したフローチャートである。まず、FTPサーバとしての初期化が終了すると、CPU34はクライアントからのログイン(図4:J1参照)を待つログインウェイト状態になる(S300)。
FIG. 7 is a flowchart showing in detail the steady operation process in (S120) of FIG. First, when the initialization as the FTP server is completed, the
続いて、クライアントからのログインリクエストがなければ(S310:NO)、再びログインウェイト状態になる。クライアントからのログインリクエストがあれば(S310:YES)、ログインシーケンスを実行し(S320)(図4:J2〜J5参照)、ログインシーケンスが失敗ならば(S330:NO)、再びログインウェイト状態になる。 If there is no login request from the client (S310: NO), the login wait state is entered again. If there is a login request from the client (S310: YES), the login sequence is executed (S320) (see FIG. 4: J2 to J5). If the login sequence fails (S330: NO), the login wait state is entered again. .
ログインシーケンスが成功ならば(S330:YES)、クライアントにログイン成功を示すコードを送信し(図4:J6参照)、クライアントからのFTPコマンドを待つ、コマンドウェイト状態になる(S340)。 If the login sequence is successful (S330: YES), a code indicating successful login is transmitted to the client (see FIG. 4: J6), and an FTP command from the client is awaited (S340).
クライアントから「cd」コマンドがあれば(S350:YES)、コマンドに応じたcd処理を実行する(S360)。 If there is a “cd” command from the client (S350: YES), cd processing corresponding to the command is executed (S360).
クライアントから「list」コマンドがあれば(S370:YES)、コマンドに応じたlist処理を実行する(S380)。 If there is a “list” command from the client (S370: YES), list processing corresponding to the command is executed (S380).
クライアントから「get」コマンドがあれば(S390:YES)、コマンドに応じたget処理を実行する(S400)。 If there is a “get” command from the client (S390: YES), a get process corresponding to the command is executed (S400).
クライアントから「put」コマンドがあれば(S410:YES)、コマンドに応じたput処理を実行する(S420)。 If there is a “put” command from the client (S410: YES), put processing corresponding to the command is executed (S420).
クライアントからのその他のコマンドがあれば、その他のコマンドに応じた処理を実行する(S430)。 If there is another command from the client, processing corresponding to the other command is executed (S430).
それぞれの処理を実行するか、クライアントからコマンドがなければ、プリンタ80のシャットダウン処理などで、プログラムを終了する指示がないか判断する(S440)。プログラムを終了する指示がなければ(S440:NO)、再びコマンドウェイト状態になり、プログラムを終了する指示があれば(S440:YES)、FTPサーバとしての機能を終了するシャットダウン処理を実行し(S450)、定常動作を終了する。 If each process is executed or there is no command from the client, it is determined whether there is an instruction to end the program, such as in the shutdown process of the printer 80 (S440). If there is no instruction to end the program (S440: NO), the command wait state is entered again, and if there is an instruction to end the program (S440: YES), a shutdown process for ending the function as the FTP server is executed (S450). ) And end the steady operation.
図8は、図7のS360におけるcd処理を詳細に示したフローチャートである。cd処理では、cdコマンドにより指定されたディレクトリを、カレントディレクトリとして認識する、換言すれば、カレントディレクトリを切り替える処理を行う。 FIG. 8 is a flowchart showing in detail the cd process in S360 of FIG. In the cd processing, the directory specified by the cd command is recognized as the current directory, in other words, the current directory is switched.
まず、CPU34は、現在の装置状態に基づいて、仮想ファイル情報を作成する(S500)。続いて、対象とするディレクトリをコマンドが指定していれば(S510:YES)、クライアントからコマンドによって指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在するかを判断する(S520)。指定されたディレクトリが、仮想ディレクトリツリーの中に存在する、または実体ディレクトリの中に存在する場合(S520:YES)は、指定されたディレクトリをカレントディレクトリであると認識し(S530)、コマンドが成功したことを示すOKコードをクライアントに送信し(S540)、cd処理を終了する。
First, the
なお、FTPサーバ処理においては、カレントディレクトリが認識しなおされない限りは、cdコマンドで指定されたディレクトリがカレントディレクトリとして認識され続けることになる。 In the FTP server process, unless the current directory is recognized again, the directory specified by the cd command is continuously recognized as the current directory.
指定されたディレクトリが、仮想ディレクトリツリーの中に存在せず、かつ、実体ディレクトリの中に存在しない場合(S520:NO)、指定されたディレクトリをカレントディレクトリであると認識せず、コマンドが失敗したことを示すNGコードをクライアントに送信し(S550)、cd処理を終了する。 If the specified directory does not exist in the virtual directory tree and does not exist in the actual directory (S520: NO), the specified directory is not recognized as the current directory and the command has failed. Is transmitted to the client (S550), and the cd processing is terminated.
一方、S510で、対象とするディレクトリをコマンドが指定していなければ(S510:NO)、コマンドは、カレントディレクトリを指定しているものであると認識し(S560)、S530以降の処理を実行する。 On the other hand, if the command does not specify the target directory in S510 (S510: NO), it is recognized that the command specifies the current directory (S560), and the processing after S530 is executed. .
図11は、図9のS380におけるlist処理を詳細に示したフローチャートである。list処理では、listコマンドにより指定されたディレクトリに存在するファイルのファイル名およびディレクトリのディレクトリ名を、クライアントに返信する、換言すれば、クライアントが指定したディレクトリ内のファイルおよびディレクトリのリストをクライアントに認識させる処理を行う。 FIG. 11 is a flowchart showing in detail the list process in S380 of FIG. In list processing, the file name of the file and directory directory name that exist in the directory specified by the list command are returned to the client. In other words, the client recognizes the list of files and directories in the directory specified by the client. To perform the process.
まず、CPU34は、現在の装置状態に基づいて、仮想ファイル情報を作成する(S600)。続いて、対象とするディレクトリをコマンドが指定していれば(S610:YES)、クライアントからコマンドによって指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在するかを判断する(S620)。
First, the
続いて、CPU34は、指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在する場合(S620:YES)、さらに、指定されたディレクトリの実体がシステム領域内であるか否かを判断する(S630)。指定されたディレクトリの実体がシステム領域内ならば(S630:YES)、指定されたディレクトリ用の管理領域に記憶されたファイル名およびサブディレクトリ名をクライアントに送信し(S640)、list処理を終了する。
Subsequently, when the designated directory exists in the virtual directory tree or in the actual directory (S620: YES), the
指定されたディレクトリの実体がシステム領域内でない、換言すれば、記憶メディアなどの記憶装置内にあるならば(S630:NO)、指定されたディレクトリに記憶されたファイル名およびサブディレクトリ名をクライアントに送信し(S650)、list処理を終了する。すなわち、記憶メディアなどに実際に記憶されているファイルおよびディレクトリのファイル名およびディレクトリ名を送信する。 If the entity of the designated directory is not in the system area, in other words, in the storage device such as a storage medium (S630: NO), the file name and subdirectory name stored in the designated directory are given to the client. Transmit (S650), and the list process ends. That is, the file name and directory name of the file and directory actually stored in the storage medium or the like are transmitted.
指定されたディレクトリが、仮想ディレクトリツリーの中に存在せず、かつ、実体ディレクトリの中に存在しない場合(S620:NO)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S660)、list処理を終了する。 If the specified directory does not exist in the virtual directory tree and does not exist in the actual directory (S620: NO), an NG code indicating that the command has failed is transmitted to the client (S660), End the list process.
一方、S610で、対象とするディレクトリをコマンドが指定していなければ(S610:NO)、コマンドは、カレントディレクトリを指定しているものであると認識し(S670)、S630以降の処理を実行する。 On the other hand, if the command does not specify the target directory in S610 (S610: NO), it is recognized that the command specifies the current directory (S670), and the processes after S630 are executed. .
図10は、図7のS400におけるget処理を詳細に示したフローチャートである。get処理では、getコマンドにより指定されたファイルの実体データを、クライアントに返信する、換言すれば、クライアントが指定したファイルの実体データをクライアントに取得させる処理を行う。まず、CPU34は、現在の装置状態に基づいて、仮想ファイル情報を作成する(S700)。
FIG. 10 is a flowchart showing in detail the get process in S400 of FIG. In the get processing, the entity data of the file specified by the get command is returned to the client, in other words, the client acquires the entity data of the file specified by the client. First, the
続いて、対象とするファイルをコマンドが指定しているかどうかを判断する(S710)。対象とするファイルが指定されていれば、どこのディレクトリ内のファイルを対象としているか(対象とするディレクトリはどこか)をコマンドが指定しているかどうかを判断する(S720)。 Subsequently, it is determined whether or not the command specifies a target file (S710). If the target file is specified, it is determined whether or not the command specifies the directory in which the file is targeted (where the target directory is) (S720).
対象とするディレクトリをコマンドが指定していれば(S720:YES)、クライアントからコマンドによって指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在するかを判断する(S730)。 If the target directory is specified by the command (S720: YES), it is determined whether the directory specified by the command from the client exists in the virtual directory tree or the actual directory. (S730).
指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在する場合(S730:YES)、さらに、指定されたディレクトリの実体がシステム領域内であるか否かを判断する(S740)。指定されたディレクトリの実体がシステム領域内ならば(S740:YES)、指定されたディレクトリ用の管理領域に記憶された情報に基づいて、メモリーカードの操作処理を行う(S750)。ファイルの実体データを取得できたならば(S760:YES)、クライアントに実体データを送信し(S770)、get処理を終了する。 If the specified directory exists in the virtual directory tree or exists in the entity directory (S730: YES), it is further determined whether or not the entity of the specified directory is in the system area. Judgment is made (S740). If the designated directory is within the system area (S740: YES), the memory card is operated based on the information stored in the designated directory management area (S750). If the file entity data can be acquired (S760: YES), the entity data is transmitted to the client (S770), and the get process ends.
ファイルの実体データを取得できなかったならば(S760:NO)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S780)、get処理を終了する。 If the file entity data cannot be acquired (S760: NO), an NG code indicating that the command has failed is transmitted to the client (S780), and the get process ends.
指定されたディレクトリの実体がシステム領域内でない、換言すれば、記憶メディアなどの記憶装置内であるならば(S740:NO)、指定されたディレクトリに記憶されたファイルの実体データを取得し(S790)、S760以降の処理を実行する。すなわち、記憶メディアなどに実際に記憶されているファイルの実体データを送信する。 If the specified directory is not in the system area, in other words, in the storage device such as a storage medium (S740: NO), the actual data of the file stored in the specified directory is acquired (S790). ), The process after S760 is executed. That is, the actual data of the file actually stored in the storage medium or the like is transmitted.
指定されたディレクトリが、仮想ディレクトリツリーの中に存在せず、かつ、実体ディレクトリの中に存在しない場合(S730:NO)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S780)、get処理を終了する。 If the specified directory does not exist in the virtual directory tree and does not exist in the actual directory (S730: NO), an NG code indicating that the command has failed is transmitted to the client (S780), The get process ends.
一方、S720で、対象とするディレクトリをコマンドが指定していなければ(S720:NO)、コマンドは、カレントディレクトリ内のファイルを対象として指定しているものであると認識し(S800)、S740以降の処理を実行する。また、対象とするファイルをコマンドが指定していなければ(S710:NO)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S780)、get処理を終了する。 On the other hand, if the command does not specify the target directory in S720 (S720: NO), the command is recognized as specifying the file in the current directory (S800), and after S740. Execute the process. If the command does not specify the target file (S710: NO), an NG code indicating that the command has failed is transmitted to the client (S780), and the get process ends.
図11は、図9のS420におけるput処理を詳細に示したフローチャートである。put処理では、クライアントからputコマンドにより送信されたファイルの実体データを、FTPサーバ内の記憶装置に記憶する、換言すれば、クライアントが指定したファイルの実体データをFTPサーバに書き込ませる処理を行う。 FIG. 11 is a flowchart showing in detail the put process in S420 of FIG. In the put process, the file entity data transmitted by the put command from the client is stored in the storage device in the FTP server. In other words, the file entity data designated by the client is written in the FTP server.
まず、CPU34は、現在の装置状態に基づいて、仮想ファイル情報を作成する(S900)。続いて、ファイルを記憶するディレクトリ(対象とするディレクトリ)をコマンドが指定しているかどうかを判断する(S910)。対象とするディレクトリをコマンドが指定していれば(S910:YES)、クライアントからコマンドによって指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在するかを判断する(S920)。指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在する場合(S920:YES)、さらに、指定されたディレクトリの実体がシステム領域内であるか否かを判断する(S930)。指定されたディレクトリの実体がシステム領域内ならば(S930:YES)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S960)、put処理を終了する。すなわち、FTPクライアントにFTPサーバ側の状態を知らせる情報の内容と接続されている記憶メディアに対してFTPクライアントが行うことのできる操作を知らせ、記憶メディアに対して操作させるためのhtmlデータのファイル名をクライアントに送信するために設けられた、仮想的な特別なディレクトリへのアクセスができないようにする。これにより、PC3のユーザがファイルの実体データを書き込んだと思ったにもかかわらず、ディレクトリが仮想的なために書き込まれていなかった、という事態を防ぐことができる。
First, the
指定されたディレクトリの実体がシステム領域内でない、換言すれば、記憶メディアなどの記憶装置内であるならば(S930:NO)、指定されたディレクトリに実体データを記憶させ(S940)、コマンドが成功したことを示すOKコードをクライアントに送信し(S950)、put処理を終了する。すなわち、記憶メディアなどに実際に実体データを記憶する。一方、指定されたディレクトリが、仮想ディレクトリツリーの中に存在せず、かつ、実体ディレクトリの中に存在しない場合(S920:NO)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S960)、put処理を終了する。 If the specified directory entity is not in the system area, in other words, if it is in a storage device such as a storage medium (S930: NO), the entity data is stored in the specified directory (S940), and the command succeeds. An OK code indicating this has been transmitted to the client (S950), and the put process is terminated. That is, the actual data is actually stored in a storage medium or the like. On the other hand, if the specified directory does not exist in the virtual directory tree and does not exist in the actual directory (S920: NO), an NG code indicating that the command has failed is transmitted to the client (S960). ), And put processing ends.
一方、対象とするディレクトリをコマンドが指定していなければ(S910:NO)、コマンドは、カレントディレクトリ内のファイルを対象として指定しているものであると認識し(S970)、S930以降の処理を実行する。 On the other hand, if the command does not specify the target directory (S910: NO), it is recognized that the command specifies the file in the current directory (S970), and the processing after S930 is performed. Execute.
図12A、図12Bは、図8、図9、図10、図11における仮想ファイル情報の作成処理を詳細に示したフローチャートである。 12A and 12B are flowcharts showing in detail the virtual file information creation processing in FIGS. 8, 9, 10 and 11. FIG.
仮想ファイル情報の作成処理では、FTPクライアントが閲覧するIndex.htmの作成とMain.htmの内容を決定する、換言すれば、FTPクライアントにFTPサーバ側の状態を知らせる情報の内容と接続されている記憶メディアに対してFTPクライアントが行うことのできる操作を決定する処理を行う。 In the virtual file information creation process, the creation of Index.htm to be browsed by the FTP client and the contents of Main.htm are determined. Processing for determining operations that can be performed by the FTP client on the storage medium is performed.
また、ここで、プリンタ80の状態や、メディア接続部に接続された記憶メディアの状態を確認することから、メディア接続部に別の記憶メディアが接続されなおされていても、新たな記憶メディアの状態を反映できることから、操作対応ファイル名が接続されているメモリーカードに対応するため、誤った操作を選択することが少なくなる。
Here, since the status of the
ここで、処理の説明に戻る。 Here, it returns to description of a process.
CPU34は、まず、Index.htmとMain.htmを作成する。
The
Index.htmは、ftp://brn_600789/Main.htmへの転送コマンド(リダイレクト)が記載されている。これによって、Index.htmにアクセスすることで、Main.htmへと移動することが可能となる。 Index.htm describes a transfer command (redirect) to ftp: //brn_600789/Main.htm. This makes it possible to move to Main.htm by accessing Index.htm.
また、Index.htmには、ftp://brn_600789/Main.htmのキャッシュ削除コマンドも記述されている。ブラウザの中には一度アクセスしたhtmlファイルをキャッシュとして保持するものがある。こうしたブラウザを利用する場合、以前にアクセスしたhtmlファイルがキャッシュとして残ってしまうため、更新されたhtmlファイルが表示されない場合がある。更新したhtmlファイルを表示するためにはキャッシュ削除を削除する必要があるため、キャッシュ削除コマンドを用いる。生成されたIndex.htmファイルの表示例を図13に示す。 Index.htm also includes a cache deletion command of ftp: //brn_600789/Main.htm. Some browsers keep the html file once accessed as a cache. When using such a browser, the previously accessed html file remains in the cache, so the updated html file may not be displayed. Since it is necessary to delete the cache deletion in order to display the updated html file, the cache deletion command is used. A display example of the generated Index.htm file is shown in FIG.
また、生成された段階では、Main.htmの内容は空であり、以降の処理に従ってFTPサーバが動的に内容を記述する。 At the stage of generation, the contents of Main.htm are empty, and the FTP server dynamically describes the contents according to the subsequent processing.
続いて、CPU34は、プリンタ80の状態をチェックする(S1020)。プリンタ80が備えるメディア接続部の数や、メディア接続部に接続可能な記憶メディアの種類に関する情報も、この時取得する。
Subsequently, the
続いて、CPU34は、変数Nに0を代入する(S1030)。このNは、メディア接続部全てについての情報を確認するためにプログラム内で使われる変数である。
Subsequently, the
続いて、CPU34は、Nをメディア接続部の数と比較する(S1040)。Nがメディア接続部の数より少なければ(S1040:NO)、CPU34は、N番目のメディア接続部(以降、第Nスロットとも称する)に記憶メディアが接続されているかどうか確認する(S1110)。
Subsequently, the
第Nスロットに記憶メディアが接続されていれば(S1110:YES)、続いて、記憶メディアがフォーマット済みであるかどうかを確認する(S1120)。 If a storage medium is connected to the Nth slot (S1110: YES), it is subsequently confirmed whether or not the storage medium has been formatted (S1120).
第Nスロットの記憶メディアがフォーマット済みであれば(S1120:YES)、続いて、CPU34は、第Nスロットに接続された記憶メディアが開ける状態にあるかどうかを確認する(S1130)。
If the storage medium in the Nth slot has been formatted (S1120: YES), then the
第Nスロットに接続された記憶メディアが開ける状態にあるならば(S1130:)、続いて、CPU34は、第Nスロットに接続された記憶メディアの総記憶容量と残り記憶容量を確認する(S1200)。
If the storage medium connected to the Nth slot is in an open state (S1130 :), then the
続いて、CPU34は、Main.htmに書き出すスロットの状態を決定する(S1150)。書き出す状態は、対応カード名、総記憶容量、残り記憶容量、フォーマットを開始するためのリンク、カードを開くためのリンクとなる。
Subsequently, the
続いて、再びS1040に戻り、プリンタ80のメディア接続部全てについて確認が終了する(S1040:YES)までS1040〜S1150における一連の処理を繰り返す。
Subsequently, the process returns to S1040 again, and the series of processes in S1040 to S1150 is repeated until the confirmation of all the media connection portions of the
プリンタ80のメディア接続部全てについて確認が終了したならば(S1040:YES)、全てのメディア接続部に関する状態を確認したことになるため、繰り返しから抜ける。 If the confirmation has been completed for all the media connection portions of the printer 80 (S1040: YES), since the state relating to all the media connection portions has been confirmed, the process is repeated.
繰り返しから抜けた後、まずCPU34は、スロットの数を確認する(S1205)。認識したスロットが1つだけの場合(S1205:YES)、スロットの状態にカードを開くためのリンクが存在するかどうかを確認する(S1210)。
After exiting from the repetition, the
スロットの状態にカードを開くためのリンクが存在した場合、(S1210:YES)CPU34は、カードを開くためのリンクを用いてMain.htmに転送コマンドを書き出す(S1215)。スロットの状態にカードを開くためのリンクが存在した場合の画面表示例を図14A(a−1)、図14A(a−2)に示す。図14A(a−1)が、Main.htmの例であり、図14A(a−2)がMain.htmに書かれた転送コマンドに従ってブラウザがカードを開いた状況を示している。
If there is a link for opening the card in the slot state (S1210: YES), the
続いて、CPU34は、転送コマンドが示す転送先のキャッシュ削除コマンドをMain.htmに書き出す(S1220)。
Subsequently, the
続いて、CPU34は、ルートディレクトリ用の管理領域の情報を更新する(S1270)。具体的には生成したIndex.htm、Main.htmをルートディレクトリに追加する。
Subsequently, the
CPU34は、管理領域の情報を更新した後、仮想ファイル情報の作成処理を終了する。
After updating the management area information, the
また、スロットの状態にカードを開くためのリンクが存在しない場合、(S1210:NO)CPU34は、Main.htmにスロットの状態を書き出した(S1265)後、ルートディレクトリ用の管理領域の情報を更新して(S1270)、仮想ファイル情報の作成処理を終了する。スロットの状態にカードを開くためのリンクが存在しない場合として、メモリーカードが未フォーマットである、もしくは接続されていないなどが考えられる。画面表示例を図14B(b−1)、図14B(b−2)に示す。
If there is no link for opening the card in the slot state (S1210: NO), the
一方、認識したスロットが複数の場合(S1205:NO)、CPU34は準備した変数Xに0を代入する(S1225)。
On the other hand, when there are a plurality of recognized slots (S1205: NO), the
続いて、CPU34はXとNを比較する。XがNより小さい場合(S1230:NO)、スロットの状態にカードを開くためのリンクが存在するかどうかを確認する(S1235)。
Subsequently, the
スロットの状態にカードを開くためのリンクが存在した場合、(S1235:YES)CPU34は、カードを開くためのリンクを用いてCardOpenX.htm(Xには変数Xの値が入る)に転送コマンドを書き出す(S1215)。
If there is a link for opening the card in the slot state (S1235: YES), the
続いて、CPU34は、転送コマンドが示す転送先のキャッシュ削除コマンドをCardOpenX.htmに書き出す(S1245)。
Subsequently, the
続いて、CPU34は、Main.htmにスロットの状態を書き出した(S1265)後、ルートディレクトリ用の管理領域の情報を更新して(S1270)、仮想ファイル情報の作成処理を終了する。
認識したスロットが複数の場合の表示例を図14C(c−1)〜図14C(c−3)に示す。図14C(c−1)の「メモリーカードを開く」がブラウザ上でクリックされると、カードにアクセスするための転送コマンドが書かれたページが暫く表示され、続いてカードの内容がブラウザに表示される(図14C(c−2)、図14C(c−3)を参照)。
Subsequently, the
Display examples in the case where there are a plurality of recognized slots are shown in FIGS. 14C (c-1) to 14C (c-3). When “Open Memory Card” in FIG. 14C (c-1) is clicked on the browser, a page on which a transfer command for accessing the card is written is displayed for a while, and then the contents of the card are displayed on the browser. (See FIGS. 14C (c-2) and 14C (c-3)).
図15(b)は仮想ファイル情報の作成処理実行後の仮想ディレクトリツリーを示す概念図である。ルートディレクトリの中にはファイルとしてIndex.htm、Main.htmが含まれており、各メディア接続部がディレクトリとして扱われていることがわかる。 FIG. 15B is a conceptual diagram showing a virtual directory tree after execution of the virtual file information creation process. The root directory includes Index.htm and Main.htm as files, and it can be seen that each media connection is handled as a directory.
図16(a)は仮想ファイル情報の作成処理実行後のシステム領域を示す概念図である。システム領域の中にファイルとしてIndex.htm、Main.htm、CardOpen1.htmが含まれていることがわかる。 FIG. 16A is a conceptual diagram showing the system area after execution of the virtual file information creation process. It can be seen that Index.htm, Main.htm, and CardOpen1.htm are included as files in the system area.
図17は図10のS750におけるメモリーカード操作処理を示したフローチャートである。メモリーカード操作処理では指定されたファイルに従ってメモリーカードの操作(フォーマット、メモリーカード内のファイルの削除等)を行う。 FIG. 17 is a flowchart showing the memory card operation process in S750 of FIG. In the memory card operation process, the memory card is operated (formatting, deleting a file in the memory card, etc.) according to the specified file.
指定されたファイルがIndex.htmであった場合(S1300:YES)、CPU34はIndex.htmを取得し(S1300)、メモリーカード操作処理を終了する。Index.htm取得処理に限らず、メモリーカード操作処理で取得されたファイルの実体は、S770にてクライアントに送信される。
If the designated file is Index.htm (S1300: YES), the
指定されたファイルがFormat000.htmであった場合(S1320:YES)、CPU34はFormat000.htmが要求された場合のFTPサーバの処理を実行し(S1330)、Format000.htmを取得後(S1340)、メモリーカード操作処理を終了する。Format000.htmの表示例を図20に示す。
If the specified file is Format000.htm (S1320: YES), the
指定されたファイルがFormatN.htm(Nには変数Nの値が入る。ここで用いられる変数Nは仮想ファイル情報の作成で用いられた変数Nとは異なる変数である。)であった場合(S1350:YES)、CPU34はFormatN.htmが要求された場合のFTPサーバの処理を実行し(S1360)、FormatN.htmを取得後(S1370)、メモリーカード操作処理を終了する。
If the specified file is FormatN.htm (N is the value of variable N. Variable N used here is a variable different from variable N used in creating virtual file information) ( (S1350: YES), the
指定されたファイルがMain.htmであった場合(S1380:YES)、CPU34はMain.htmを取得し(S1390)、メモリーカード操作処理を終了する。
When the designated file is Main.htm (S1380: YES), the
指定されたファイルがIndex.htm、FormatN.htm、Main.htmのいずれにも当てはまらなかった場合(S1380:NO)、CPU34は指定のディレクトリ用の管理領域に記憶された情報に基づいてファイルの実体を取得し(S1400)、メモリーカード操作処理を終了する。
When the designated file does not correspond to any of Index.htm, FormatN.htm, and Main.htm (S1380: NO), the
図18は図17のS1330におけるFormat000.htmが要求された場合のFTPサーバの処理を詳細に示したフローチャートである。まず、CPU34は、メモリーカードのフォーマットを開始する(S1500)。
FIG. 18 is a flowchart showing in detail the processing of the FTP server when Format000.htm is requested in S1330 of FIG. First, the
続いて、CPU34は、Format000.htmの内容を決定する(S1510)。Format000.htmの内容として決定されるのは、フォーマットの進行状況(0%)を示すメッセージと、FormatN.htmを表示するための転送コマンドと、FormatN.htmを更新するためのキャッシュ削除コマンドである。
Subsequently, the
続いて、CPU34は、Format000.htmを作成し(S1520)、フォーマットの進行度を示す変数Nを1に設定(S1530)した後、Format000.htmが要求された場合のFTPサーバの処理を終了する。
Subsequently, the
図19は図17のS1360におけるFormatN.htmが要求された場合のFTPサーバの処理を詳細に示したフローチャートである。NはS1530で設定された変数であり、フォーマットの進行によって変化する。まず、CPU34は、メモリーカードのフォーマットを開始する(S1500)。
FIG. 19 is a flowchart showing in detail the processing of the FTP server when FormatN.htm is requested in S1360 of FIG. N is a variable set in S1530, and changes as the format progresses. First, the
続いて、CPU34は、確認したメモリーカードがフォーマット済みもしくはフォーマットが終了した場合(S1610:YES)、FormatN.htmの内容を決定する(S1620)。FormatN.htmの内容として決定されるのは、フォーマットの進行状況(100%)を示すメッセージである。続いて、CPU34は、FormatN.htm を作成し(S1630)、FormatN.htmが要求された場合のFTPサーバの処理を終了する。
Subsequently, when the confirmed memory card has been formatted or the formatting has been completed (S1610: YES), the
一方、フォーマットが終了していない場合(S1610:NO)、CPU34は、FormatN.htmを作成し(S1630)、フォーマットの進行度を示す変数Nを1に設定した後、S1610の処理に戻り、フォーマットが終了するまで繰り返す。FormatN.htmの表示例を図21(a)〜(c)に示す。変数Nの増加とともに進行度が増加していくのがわかる。FormatN.htm転送するタイミングは適宜決定してもよい。
On the other hand, if the formatting is not completed (S1610: NO), the
図16(b)はFormat000.htm〜FormatN.htmが要求された場合のFTPサーバの処理実行後のシステム領域を示す概念図である。システム領域の中にファイルとしてFormat000.htm、FormatN.htm等が含まれていることがわかる。図には記されていないが、システム領域には、Format000.htmからFormat001.htm、Format002.htm、Format003.htm…と順次生成される。 FIG. 16B is a conceptual diagram showing a system area after execution of processing of the FTP server when Format000.htm to FormatN.htm are requested. It can be seen that Format000.htm, FormatN.htm, etc. are included as files in the system area. Although not shown in the figure, Format000.htm, Format001.htm, Format002.htm, Format003.htm, ... are sequentially generated in the system area.
図22はメモリーカード接続部(スロット)の監視処理を示したフローチャートである。スロットの監視はFTPサーバとは独立した処理であるが、常にスロットの状態をFTPサーバに伝達している。 FIG. 22 is a flowchart showing the monitoring process of the memory card connection unit (slot). Although the slot monitoring is a process independent of the FTP server, the slot state is always transmitted to the FTP server.
まず、CPU34はスロットの増減または、カードの接続/離脱を確認する(S1700)。スロットの増減や、カードの接続/離脱が確認された場合(S1700:YES)、CPU34はカレントディレクトリの実体ディレクトリが存在するかどうかの確認を行う(S1710)。カードの接続/離脱が確認されなかった場合(S1700:NO)、CPU34はスロットの増減や、カードの接続/離脱が確認されるまで、待つこととなる。
First, the
カレントディレクトリの実体ディレクトリが存在した場合、(S1710:YES)CPU34は、S1700の処理に戻る。
When the actual directory of the current directory exists (S1710: YES), the
一方、カレントディレクトリの実体ディレクトリが存在しなかった場合、(S1710:NO)CPU34は、ルートディレクトリをカレントディレクトリであると認識して、S1700の処理に戻る。
On the other hand, if the actual directory of the current directory does not exist (S1710: NO), the
図25はPC3におけるブラウザの定常動作の処理を示したフローチャートである。まず、PC3はブラウザの起動処理(S2000)を行う。
FIG. 25 is a flowchart showing processing of a steady operation of the browser in the
続いて、ブラウザはファイルへのリンクがクリックされたかどうか確認する(S2010)。クリックされたことが確認されれば、ブラウザは、ファイルへのリンクをクリックされたときのブラウザの処理を実行し(S2070)、ブラウザの終了指示があるかどうかを確認する(S2050)。 Subsequently, the browser checks whether a link to the file has been clicked (S2010). If it is confirmed that the link has been clicked, the browser executes browser processing when the link to the file is clicked (S2070), and checks whether there is a browser termination instruction (S2050).
ブラウザの終了指示があった場合(S2050:YES)、ブラウザの終了処理(S2060)を実行し、ブラウザの定常動作を終了する。 When there is a browser termination instruction (S2050: YES), browser termination processing (S2060) is executed, and the browser's steady operation is terminated.
一方、ファイルへのリンクがクリックされなかった場合(S2010:NO)、ブラウザは、ディレクトリへのリンクがクリックされたかどうかを確認する(S2020)。クリックされたことが確認されれば(S2020:YES)、ブラウザは、ディレクトリへのリンクをクリックされたときのブラウザの処理を実行し、S2050の処理に移る。 On the other hand, when the link to the file is not clicked (S2010: NO), the browser checks whether the link to the directory is clicked (S2020). If it is confirmed that the link is clicked (S2020: YES), the browser executes the browser process when the link to the directory is clicked, and proceeds to the process of S2050.
一方、ディレクトリへのリンクがクリックされなかった場合(S2020:NO)、ブラウザは、表示しているhtmlファイルに転送コマンドが書かれているかどうかの確認を行う(S2030)。転送コマンドが書かれていることが確認されれば(S2030:YES)、ブラウザは、転送処理を実行し(S2090)、S2050の処理に移る。 On the other hand, when the link to the directory is not clicked (S2020: NO), the browser checks whether or not the transfer command is written in the displayed html file (S2030). If it is confirmed that the transfer command is written (S2030: YES), the browser executes the transfer process (S2090), and proceeds to the process of S2050.
図26は図25のS2000におけるブラウザの起動処理を示したフローチャートである。まず、ブラウザは、引数にファイルを指定されたかどうかの判定を行う(S2100)。引数にファイルを指定された場合(S2100:YES)、ブラウザは、ファイルへのリンクをクリックされたときのブラウザの処理を実行し、起動処理を終了する。 FIG. 26 is a flowchart showing browser activation processing in S2000 of FIG. First, the browser determines whether a file is designated as an argument (S2100). When a file is specified as an argument (S2100: YES), the browser executes the browser process when the link to the file is clicked, and ends the activation process.
引数にファイルを指定されなかった場合(S2100:NO)、ブラウザは引数にディレクトリを指定されたかどうかの判定を行う(S2110)。引数にディレクトリを指定された場合(S2110:YES)、ブラウザは、ディレクトリへのリンクをクリックされたときのブラウザの処理を実行し、起動処理を終了する。 If no file is specified as an argument (S2100: NO), the browser determines whether a directory is specified as an argument (S2110). When a directory is specified as an argument (S2110: YES), the browser executes browser processing when a link to the directory is clicked, and ends the startup processing.
引数にディレクトリを指定されなかった場合(S2110:NO)、ブラウザはブラウザのホームページに設定されているhtmlファイルをサーバに要求する(S2120)。 When a directory is not specified as an argument (S2110: NO), the browser requests the html file set on the browser home page from the server (S2120).
続いて、ブラウザは、ブラウザのホームページに設定されているhtmlファイルを取得できたかどうかの判定を行う(S2130)。htmlファイルを取得できた場合(S2130:YES)、ブラウザは、取得したhtmlファイルを表示して(S2140)起動処理を終了する。 Subsequently, the browser determines whether or not the html file set on the browser home page has been acquired (S2130). If the html file can be acquired (S2130: YES), the browser displays the acquired html file (S2140) and ends the activation process.
ブラウザのホームページに設定されているhtmlファイルを取得できなかった場合(S2130:NO)ブラウザはhtmlファイルが取得できるまで待つことになる。 When the html file set on the browser home page cannot be acquired (S2130: NO), the browser waits until the html file can be acquired.
図27は図26のS2150におけるファイルへのリンクをクリックされたときのブラウザの処理を示したフローチャートである。まず、ブラウザは、リンクに書かれたファイルをFTPサーバに要求する(S2200)。続いて、ブラウザはファイルを取得できたかどうかの確認を行う(S2210)。 FIG. 27 is a flowchart showing browser processing when a link to a file is clicked in S2150 of FIG. First, the browser requests the FTP server for the file written in the link (S2200). Subsequently, the browser checks whether the file has been acquired (S2210).
ファイルが取得できた場合(S2210:YES)、ブラウザは、取得したファイルを表示してファイルへのリンクをクリックされたときのブラウザの処理を終了する。 If the file can be acquired (S2210: YES), the browser displays the acquired file and ends the browser processing when the link to the file is clicked.
ファイルが取得できなかった場合(S2210:NO)ブラウザはファイルが取得できるまで待つこととなる。 When the file cannot be acquired (S2210: NO), the browser waits until the file can be acquired.
図28は図26のS2160におけるディレクトリへのリンクをクリックされたときのブラウザの処理を示したフローチャートである。まず、ブラウザは、リンクに書かれたディレクトリのファイルリストをFTPサーバに要求する(S2300)。 FIG. 28 is a flowchart showing browser processing when a link to a directory is clicked in S2160 of FIG. First, the browser requests the FTP server for a file list of the directory written in the link (S2300).
ファイルリストが取得できた場合(S2310:YES)、ブラウザは、取得したファイルリストを表示してディレクトリへのリンクをクリックされたときのブラウザの処理を終了する。 If the file list can be acquired (S2310: YES), the browser displays the acquired file list and ends the browser processing when the link to the directory is clicked.
ファイルリストが取得できなかった場合(S2310:NO)ブラウザはファイルリストが取得できるまで待つこととなる。 When the file list cannot be acquired (S2310: NO), the browser waits until the file list can be acquired.
図29は、図25のS2090における転送処理を示したフローチャートである。まず、ブラウザは、表示しているhtmlファイルにキャッシュ削除コマンドが記述されているかどうかの確認を行う(S2400)。 FIG. 29 is a flowchart showing the transfer process in S2090 of FIG. First, the browser checks whether a cache deletion command is described in the displayed html file (S2400).
htmlファイルにキャッシュ削除コマンドが記述されていれば(S2400:YES)、ブラウザは、転送先のキャッシュを削除する(S2410)。htmlファイルにキャッシュ削除コマンドが記述されていなければ(S2400:NO)、ブラウザは、転送先の確認を行う(S2420)。 If the cache deletion command is described in the html file (S2400: YES), the browser deletes the transfer destination cache (S2410). If the cache deletion command is not described in the html file (S2400: NO), the browser confirms the transfer destination (S2420).
続いて、ブラウザは、転送先の確認を行う(S2420)。転送先がディレクトリであれば(S2420:YES)、ブラウザはhtmlファイルに書かれた転送コマンドに従い、転送先のディレクトリのファイルリストをサーバに要求(listコマンド)する(S2430)。 Subsequently, the browser confirms the transfer destination (S2420). If the transfer destination is a directory (S2420: YES), the browser requests a file list of the transfer destination directory from the server (list command) according to the transfer command written in the html file (S2430).
続いてブラウザはファイルリストが取得できたかの確認を行う(S2440)。ファイルリストが取得できた場合(S2440:YES)ブラウザは取得したファイルリストを表示(S2450)して転送処理を終了する。ファイルリストが取得できなかった場合(S2440:NO)、ブラウザは、ファイルリストが取得できるまで待つことになる。 Subsequently, the browser confirms whether the file list has been acquired (S2440). When the file list can be acquired (S2440: YES), the browser displays the acquired file list (S2450) and ends the transfer process. When the file list cannot be acquired (S2440: NO), the browser waits until the file list can be acquired.
一方、転送先がディレクトリで無かった場合(S2420:NO)、ブラウザはhtmlファイルに書かれた転送コマンドに従い、転送先のファイルをサーバに要求(getコマンド)する(S2460)。 On the other hand, if the transfer destination is not a directory (S2420: NO), the browser requests the server for the transfer destination file (get command) according to the transfer command written in the html file (S2460).
続いて、ブラウザはファイルが取得できたかどうかの確認を行う(S2470)。ファイルが取得できた場合(S2470:YES)ブラウザは取得したファイルを表示(S2480)して転送処理を終了する。ファイルが取得できなかった場合(S2470:NO)、ブラウザは、ファイルが取得できるまで待つことになる。 Subsequently, the browser confirms whether the file has been acquired (S2470). If the file can be acquired (S2470: YES), the browser displays the acquired file (S2480) and ends the transfer process. When the file cannot be acquired (S2470: NO), the browser waits until the file can be acquired.
なお、FTP型処理装置の例として、プリンタ80を示したが、スキャナ装置、ディスプレイ装置、オーディオ装置、カラオケ装置、デジタルカメラ装置、プロジェクタ装置、ディスクドライブ装置、ミシン、電話機、モバイル装置、工作用装置、ロボットなど、FTPサーバ機能を有し、メディア接続部を持ちうる構成の装置であればいずれに適用しても良いことは明らかである。
The
1 FTPシステム
2 マルチリーダライタ
3 パーソナルコンピュータ
3L ローカルディスク
3M モニタ
11 第1メモリーカード(CF)
12 第2メモリーカード(SM)
13 第3メモリーカード(MS)
14 第4メモリーカード(SD)
16 メディア接続用スロット(第1スロット)
17 メディア接続用スロット(第2スロット)
18 メディア接続用スロット(第3スロット)
19 メディア接続用スロット(第4スロット)
24 LAN I/F
33 バス
34 CPU
35 ROM
37 RAM
80 プリンタ
82 印刷部
91 操作・表示部
152 操作対応ファイル名を持つファイルのアイコン
153 操作対応ファイル名
410 ネットワーク
1
12 Second memory card (SM)
13 Third memory card (MS)
14 4th memory card (SD)
16 Media connection slot (first slot)
17 Media connection slot (second slot)
18 Media connection slot (3rd slot)
19 Media connection slot (4th slot)
24 LAN I / F
33
35 ROM
37 RAM
80
Claims (19)
ホスト装置からのネットワークを介したFTP通信によるコマンドに従い、前記メディア接続部に接続された記憶メディアに対し、少なくともファイル単位によるデータの読出し、書込みを行うFTPサーバ手段を備え、
そのFTPサーバ手段は、所定のファイル名を持つファイルへのアクセス要求を受けたことを条件として、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信する操作対応データ送信手段と、
前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行する操作実行手段と、を備えたことを特徴とするFTP型処理装置。 An FTP type processing apparatus with a media connection,
In accordance with commands from the host device via FTP communication via the network, the storage device connected to the media connection unit includes FTP server means for reading and writing data at least in file units,
The FTP server means stores data including an operation corresponding link associated with an operation in units of the storage medium in the host device on condition that an access request to a file having a predetermined file name is received. An operation-compatible data transmission means for transmitting;
An FTP processing apparatus, comprising: an operation execution unit configured to execute an operation corresponding to the operation correspondence link on condition that an access request to the operation correspondence link is received.
前記操作実行手段は、前記URLへのアクセス要求を受けたことを条件として、URLに対応する操作を実行すること、を特徴とする請求項1に記載のFTP型処理装置。 The operation corresponding data transmission means transmits hypertext data including a URL associated with an operation in units of the storage medium to the host device,
The FTP processing apparatus according to claim 1, wherein the operation execution unit executes an operation corresponding to a URL on condition that an access request to the URL is received.
前記操作対応データ送信手段は、作成された操作対応データを前記ホスト装置に送信することを特徴とする請求項1または2に記載のFTP型処理装置。 On the condition that a request for access to a file having a predetermined file name is received, an operation in units of the storage medium is performed based on the state of the storage medium connected to the FTP processing apparatus or the media connection unit. An operation correspondence data creating means for creating data including the associated operation correspondence link is provided.
3. The FTP processing apparatus according to claim 1, wherein the operation correspondence data transmission unit transmits the created operation correspondence data to the host device. 4.
前記操作対応リンクは、いずれかの前記メディア接続部に接続された記憶メディアに対する操作に対応することを特徴とする請求項1ないし8のいずれか1項に記載のFTP型処理装置。 The FTP processing apparatus is provided with a plurality of media connection units,
9. The FTP processing apparatus according to claim 1, wherein the operation-corresponding link corresponds to an operation on a storage medium connected to any one of the media connection units.
前記操作対応リンクは、いずれかの種類の記憶メディアに対する操作に対応することを特徴とする請求項1ないし9のいずれか1項に記載のFTP型処理装置。 Different types of storage media can be connected to the media connection,
The FTP processing apparatus according to claim 1, wherein the operation-corresponding link corresponds to an operation on any type of storage medium.
前記FTP型処理装置は、所定のファイル名を持つファイルへのアクセス要求を受けたことを条件として、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信する、操作対応データ送信手段と、前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行する操作実行手段と、を備え、
前記ホスト装置は、所定のファイル名を持つファイルと、前記操作対応リンクへアクセスすることと、
前記FTP型処理装置から送信された前記操作対応リンクを含んだデータを表示装置に表示することを特徴とするFTPシステム。 An FTP that includes a host device and a media connection unit, and reads and writes data at least in units of files to a storage medium connected to the media connection unit in accordance with commands from the host device through FTP communication via a network An FTP type processing apparatus provided with server means,
The FTP processing apparatus stores data including an operation corresponding link associated with an operation in units of the storage medium on the condition that an access request to a file having a predetermined file name is received. An operation corresponding data transmitting means, and an operation execution means for executing an operation corresponding to the operation corresponding link on condition that an access request to the operation corresponding link is received,
The host device has access to a file having a predetermined file name and the link corresponding to the operation;
An FTP system, wherein data including the operation correspondence link transmitted from the FTP processing apparatus is displayed on a display device.
前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信し、前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行するFTPシステムの操作方法。 An FTP server means including a media connection unit and reading and writing data at least in units of files with respect to a storage medium connected to the media connection unit in accordance with commands from the host device via FTP communication via a network In FTP type processing equipment,
Data including an operation corresponding link associated with an operation in units of the storage medium is transmitted to the host device, and the operation corresponding link is supported on condition that an access request to the operation corresponding link is received. An operation method of the FTP system for executing the operation.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007050336A JP4389180B2 (en) | 2007-02-28 | 2007-02-28 | Media connection device, media connection system, and operation method of media connection system |
US12/038,686 US7962577B2 (en) | 2007-02-27 | 2008-02-27 | Data processing system, data processor, and method of operating data processing system |
EP08250670.0A EP1965568B1 (en) | 2007-02-27 | 2008-02-27 | Data processing system, data processor, and method of operating data processing system |
CN2008100813891A CN101257555B (en) | 2007-02-27 | 2008-02-27 | Data processing system, data processor, and method of operating data processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007050336A JP4389180B2 (en) | 2007-02-28 | 2007-02-28 | Media connection device, media connection system, and operation method of media connection system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008217140A true JP2008217140A (en) | 2008-09-18 |
JP4389180B2 JP4389180B2 (en) | 2009-12-24 |
Family
ID=39837147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007050336A Expired - Fee Related JP4389180B2 (en) | 2007-02-27 | 2007-02-28 | Media connection device, media connection system, and operation method of media connection system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4389180B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011014093A (en) * | 2009-07-06 | 2011-01-20 | Toshiba Corp | Electronic apparatus and communication control method |
-
2007
- 2007-02-28 JP JP2007050336A patent/JP4389180B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011014093A (en) * | 2009-07-06 | 2011-01-20 | Toshiba Corp | Electronic apparatus and communication control method |
Also Published As
Publication number | Publication date |
---|---|
JP4389180B2 (en) | 2009-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9602678B2 (en) | Peripheral device control system and method | |
US8817295B2 (en) | Communication system and printer therefor | |
US10838703B2 (en) | Information processing apparatus and control method therefor | |
JP4843187B2 (en) | Image forming apparatus | |
US8028244B2 (en) | Status processing system, status processor, and status displaying method | |
JP4389179B2 (en) | Media connection device, media connection system, and operation method of media connection system | |
US8611248B2 (en) | Information processing apparatus, device information display method, and computer-readable storage medium | |
JP2008158646A (en) | Data processing apparatus, printing apparatus, printing processing method, storage medium and program | |
EP1965568B1 (en) | Data processing system, data processor, and method of operating data processing system | |
JP4953753B2 (en) | Information processing apparatus, control method therefor, and program | |
JP4241842B2 (en) | FTP type processing apparatus, FTP system, and status display method | |
JP4389180B2 (en) | Media connection device, media connection system, and operation method of media connection system | |
JP2008059239A (en) | Communication system | |
JP2006178654A (en) | Information processor, and method and program for processing image formation request | |
JP5893295B2 (en) | Information processing apparatus, display method, and program | |
JP5215802B2 (en) | Printing device | |
JP4400758B2 (en) | FTP type processing apparatus, FTP system, and status display method | |
JP5267624B2 (en) | Information processing apparatus, display control method, program, and recording medium | |
JP2001216116A (en) | Network system, method for processing data for network system and recording medium | |
JP4189592B2 (en) | Image data management apparatus, image forming apparatus, and image data management method | |
JP2022031026A (en) | Peripheral apparatus, peripheral apparatus operating system, download method for control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090129 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090327 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090910 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090923 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4389180 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131016 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |