JP4389180B2 - Media connection device, media connection system, and operation method of media connection system - Google Patents

Media connection device, media connection system, and operation method of media connection system Download PDF

Info

Publication number
JP4389180B2
JP4389180B2 JP2007050336A JP2007050336A JP4389180B2 JP 4389180 B2 JP4389180 B2 JP 4389180B2 JP 2007050336 A JP2007050336 A JP 2007050336A JP 2007050336 A JP2007050336 A JP 2007050336A JP 4389180 B2 JP4389180 B2 JP 4389180B2
Authority
JP
Japan
Prior art keywords
file
media
name
media connection
storage medium
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.)
Expired - Fee Related
Application number
JP2007050336A
Other languages
Japanese (ja)
Other versions
JP2008217140A (en
Inventor
鑑地 吉田
優作 ▲高▼橋
文敏 宇野
友貴 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2007050336A priority Critical patent/JP4389180B2/en
Priority to US12/038,686 priority patent/US7962577B2/en
Priority to EP08250670.0A priority patent/EP1965568B1/en
Priority to CN2008100813891A priority patent/CN101257555B/en
Publication of JP2008217140A publication Critical patent/JP2008217140A/en
Application granted granted Critical
Publication of JP4389180B2 publication Critical patent/JP4389180B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

本発明はメディア接続装置、そのメディア接続装置とホスト装置とからなるメディア接続システム、および、その操作方法に関する。 The present invention is a media connecting unit, a media connection system consisting of its media connection device and the host device, and to a method of operation thereof.

特開2003−177987号公報JP 2003-177987 A

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 “ 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) will be handled.
Therefore, when an FTP server is installed in the FTP storage device as described above (or a peripheral device such as a printer in which the FTP storage device is installed), a client that only conforms to 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-described problems, first, it is conceivable that the FTP protocol itself is extended and modified 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.

課題を解決するための手段及び発明の効果Means for Solving the Problems and Effects of the Invention

上記課題を解決する為に、請求項1のメディア接続装置は、記憶メディアを接続するメディア接続部と、ディレクトリ名の指定とファイル名の指定とファイル単位の操作とを示すコマンドをホスト装置からサーバ装置へと送信する手順が定められたプロトコルに準拠するサーバ手段と、を備えたメディア接続装置であり、前記サーバ手段は、前記記憶メディアと、メディア対応ディレクトリ名と、を対応付けて記憶し、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順でメディア対応ディレクトリ名の指定と一のファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶しており前記一のファイル名を持つファイルを対象に前記ファイル単位のファイル操作を行ない、前記サーバ手段は、さらに、ハイパーテキストファイル名を記憶し、前記記憶メディアのフォーマット、前記記憶メディアのオープン、のいずれかを少なくとも含む前記記憶メディア単位のメディア操作と、操作対応ファイル名と、を対応付けて記憶する操作対応ファイル名記憶手段を備え、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記操作対応ファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを前記メディア接続装置へ送信する処理を前記ホスト装置に実行させるための操作対応リンクを含むハイパーテキストファイルを生成し、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記ハイパーテキストファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記ハイパーテキストファイルを、前記ホスト装置に返信し、前記ハイパーテキストファイルを受信したホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定と前記操作対応ファイル名記憶手段が記憶する一の操作対応ファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記一の操作対応ファイル名に対応する前記メディア操作を、前記記憶メディアを対象に実行する、ことを特徴とする。 In order to solve the above-mentioned problem, a media connection device according to claim 1 provides a media connection unit for connecting a storage medium, and commands indicating a directory name specification, a file name specification, and a file unit operation from the host device to the server. a server unit that conforms to the procedure of transmitting to the apparatus defined protocol, a media connection apparatus wherein the server means stores the storage media, the media and the corresponding directory name, in association with each other, When a file operation command indicating a media-compatible directory name specification, one file name specification, and a file operation request for each file is received from a host device connected via a network by the procedure defined in the protocol, The one file stored in a storage medium corresponding to the directory name corresponding to the medium The file unit is operated on a file having a file name, and the server means further stores a hypertext file name, and includes at least one of the format of the storage medium and the opening of the storage medium An operation-corresponding file name storage unit that associates and stores media operations in units of media and operation-corresponding file names, and designates a virtual directory name that is different from the media-corresponding directory name in the procedure defined by the protocol; Generating a hypertext file including an operation-corresponding link for causing the host device to execute a process of transmitting a file operation command indicating the operation-corresponding file name and a file operation request in file units to the media connection device; Connect via a network When a file operation command indicating a virtual directory name specification different from the media-compatible directory name, a hypertext file name specification, and a data operation request in units of files is received from the target device according to the procedure defined by the protocol The hypertext file is returned to the host device, and the virtual directory name is specified and stored in the operation-corresponding file name storage means from the host device that has received the hypertext file according to the procedure defined by the protocol. When the file operation command indicating the designation of the file name corresponding to one operation and the data operation request for each file is received, the media operation corresponding to the file name corresponding to the one operation is executed on the storage medium. to, characterized in that.

請求項2のメディア接続装置は、前記プロトコルは、ディレクトリ単位の操作要求を示すコマンドをホスト装置からサーバ装置へと送信する手順が定められており、前記サーバ手段は、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名の指定とファイル名の一覧要求とを示す一覧要求コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶するファイル名の一覧を前記ホスト装置に返信し、前記サーバ手段は、さらに、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定とファイル名の一覧要求とを示す一覧要求コマンドを受信した場合に、前記ハイパーテキストファイル名を前記ホスト装置に返信する、ことを特徴とする。 The media connection device according to claim 2, wherein the protocol includes a procedure for transmitting a command indicating a directory unit operation request from the host device to the server device, and the server means is a host connected via a network. A file stored in a storage medium corresponding to the media-corresponding directory name when receiving a list request command indicating the media-corresponding directory name specification and a file name list request from the apparatus according to the procedure defined by the protocol and Shin returns the list of names to the host device, prior Symbol server means further from the host device connected via a network, a list request specifying the file name of the virtual directory name by the procedure defined in the protocol When a list request command indicating It returns a name to the host device, and wherein the.

請求項3のメディア接続装置は、前記サーバ手段は、ユーザのクリック操作を受付可能に前記ホスト装置が表示することが可能な態様で、前記ハイパーテキストファイル名を返信する、ことを特徴とする。 The media connection device according to claim 3 is characterized in that the server means returns the hypertext file name in such a manner that the host device can display the click operation of the user so as to be accepted .

請求項4のメディア接続装置は、前記サーバ手段は、前記メディア接続部に記憶メディアが接続されているか、前記メディア接続部に接続された記憶メディアがフォーマットされているか、前記メディア接続部に接続された記憶メディアがアクセス可能か、前記メディア接続部に接続された記憶メディアの容量、前記メディア接続部に接続された記憶メディアの空き容量、のうち少なくとも1つを検出し、検出した状態を示す状態情報を含むように、前記ハイパーテキストファイルを生成する、ことを特徴とする。 The media connection device according to claim 4, wherein the server means is connected to the media connection unit, whether a storage medium is connected to the media connection unit, whether the storage medium connected to the media connection unit is formatted, or connected to the media connection unit. A state indicating that the detected storage medium is accessible, detecting at least one of the capacity of the storage medium connected to the media connection unit and the free capacity of the storage medium connected to the media connection unit, and indicating the detected state The hypertext file is generated so as to include information .

請求項5のメディア接続装置は、前記サーバ手段は、前記操作の実行による操作の進行度を示すデータである進行度データを生成し、その進行度データを前記ホスト装置に送信することを特徴とする。 6. The media connection device according to claim 5, wherein the server means generates progress data that is data indicating the progress of the operation by the execution of the operation, and transmits the progress data to the host device. To do.

請求項6のメディア接続装置は、前記サーバ手段は、前記進行度データへのリンクを含んだデータを前記ホスト装置に送信することを特徴とする。 The media connection device according to claim 6, wherein the server means transmits data including a link to the progress data to the host device .

請求項7のメディア接続装置は、前記サーバ手段は、前記進行度データへのリンクと共に、リンク先に関するキャッシュデータを削除するコマンドを含んだデータを前記ホスト装置に送信することを特徴とする。 The media connection device according to claim 7, wherein the server means transmits data including a link to the progress data and a command for deleting cache data relating to a link destination to the host device .

請求項8のメディア接続装置は、前記サーバ手段は、前記進行度データへのリンクと、そのリンクへのリダイレクトを指示するリダイレクト指示データを前記ホスト装置に送信することを特徴とする。 The media connection device according to claim 8, wherein the server means transmits a link to the progress data and redirect instruction data instructing redirection to the link to the host device .

請求項9のメディア接続装置は、前記サーバ手段は、前記進行度データとともに前記リンクとは異なる、次の段階の操作の進行度を示すデータである次回進行度データへのリンクとそのリンクへのリダイレクトを指示するリダイレクト指示データを前記ホスト装置に送信することを特徴とする。 The media connection device according to claim 9, wherein the server means is different from the link together with the progress data, and is a link to the next progress data, which is data indicating the progress of the operation of the next stage, and to the link. Redirection instruction data for instructing redirection is transmitted to the host device .

請求項10のメディア接続装置は、前記メディア接続装置は、複数のメディア接続部が設けられ、前記操作対応リンクは、いずれかの前記メディア接続部に接続された記憶メディアに対する操作に対応することを特徴とする。 The media connection device according to claim 10, wherein the media connection device 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. Features.

請求項11のメディア接続装置は、メディア接続部には種別の異なる記憶メディアを接続可能であり、前記操作対応リンクは、いずれかの種類の記憶メディアに対する操作に対応することを特徴とする。 The media connection device according to an eleventh aspect 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 .

請求項12のメディア接続装置は、前記操作対応リンクは、前記メディア接続部に接続された記憶メディア内のファイル名又はディレクトリ名を前記ホスト装置に送信する操作に対応することを特徴とする。 The media connection device according to claim 12, wherein the operation-compatible link 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 device .

請求項13のメディア接続装置は、前記ネットワークを介して送信される印刷データに基づいて印刷を実行可能なネットワークプリンタに組み込まれてなることを特徴とする。 According to a thirteenth aspect of the present invention, there is provided a media connection device incorporated in a network printer capable of executing printing based on print data transmitted via the network .

請求項14のメディア接続装置は、前記プロトコルはFTPプロトコルであることを特徴とする。 The media connection device according to claim 14 is characterized in that the protocol is an FTP protocol .

請求項15のメディア接続システムは、記憶メディアを接続するメディア接続部と、ディレクトリ名の指定とファイル名の指定とファイル単位の操作とを示すコマンドをホスト装置からサーバ装置へと送信する手順が定められたプロトコルに準拠するサーバ手段と、を備えたメディア接続装置と、ネットワークを介してそのメディア接続装置と接続されたホスト装置と、を備えたメディア接続システムであり、前記サーバ手段は、前記記憶メディアと、メディア対応ディレクトリ名と、を対応付けて記憶し、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順でメディア対応ディレクトリ名の指定と一のファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶しており前記一のファイル名を持つファイルを対象に前記ファイル単位のファイル操作を行ない、前記サーバ手段は、さらに、ハイパーテキストファイル名を記憶し、前記記憶メディアのフォーマット、前記記憶メディアのオープン、のいずれかを少なくとも含む前記記憶メディア単位のメディア操作と、操作対応ファイル名と、を対応付けて記憶する操作対応ファイル名記憶手段を備え、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記操作対応ファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを前記メディア接続装置へ送信する処理を前記ホスト装置に実行させるための操作対応リンクを含むハイパーテキストファイルを生成し、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記ハイパーテキストファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記ハイパーテキストファイルを、前記ホスト装置に返信し、前記ハイパーテキストファイルを受信したホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定と前記操作対応ファイル名記憶手段が記憶する一の操作対応ファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記一の操作対応ファイル名に対応する前記メディア操作を、前記記憶メディアを対象に実行する、ことを特徴とする。 In the media connection system according to claim 15, a procedure for transmitting a command indicating a media connection unit for connecting a storage medium, a directory name designation, a file name designation, and a file unit operation from the host device to the server device is defined. A media connection system comprising: a server device that complies with a designated protocol; and a host device that is connected to the media connection device via a network. A media and a directory name corresponding to the media are stored in association with each other, and from the host device connected via the network, the directory name corresponding to the media, the designation of one file name, and the file unit according to the procedure defined by the protocol. If a file operation command indicating that a file operation request is received, the previous A storage medium corresponding to the directory name corresponding to the medium stores the file unit for the file having the one file name, and the server means further stores a hypertext file name, An operation-corresponding file name storage unit that associates and stores a media operation in units of the storage medium including at least one of the format of the storage medium and the opening of the storage medium, and an operation-corresponding file name. A process of transmitting a file operation command indicating a virtual directory name different from the media-corresponding directory name, a specification of the operation-corresponding file name, and a file operation request for each file to the media connection device in a predetermined procedure; Operations to be executed by the host device A hypertext file including a response link is generated, and a virtual directory name that is different from the media-compatible directory name and a hypertext file name are specified from a host device connected via a network according to the procedure defined by the protocol. And a procedure specified by the protocol from the host device that has returned the hypertext file to the host device and received the hypertext file when a file operation command indicating a file-unit data operation request is received. When the file operation command indicating the designation of the virtual directory name, the designation of one operation-corresponding file name stored in the manipulation-corresponding file name storage means and the data manipulation request in units of files is received, the one manipulation correspondence The media corresponding to the file name The operation is performed on the storage medium .

請求項16のメディア接続システムは、前記ホスト装置は、前記所定のファイル名を持つファイルへのショートカットファイルを記憶していることを特徴とする。 The media connection system according to claim 16 is characterized in that the host device stores a shortcut file to the file having the predetermined file name .

請求項17のメディア接続システムの操作方法は、記憶メディアを接続するメディア接続部と、ディレクトリ名の指定とファイル名の指定とファイル単位の操作とを示すコマンドをホスト装置からサーバ装置へと送信する手順が定められたプロトコルに準拠するサーバ手段と、を備えたメディア接続装置を、前記サーバ手段は、前記記憶メディアと、メディア対応ディレクトリ名と、を対応付けて記憶し、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順でメディア対応ディレクトリ名の指定と一のファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶しており前記一のファイル名を持つファイルを対象に前記ファイル単位のファイル操作を行ない、前記サーバ手段は、さらに、ハイパーテキストファイル名を記憶し、前記記憶メディアのフォーマット、前記記憶メディアのオープン、のいずれかを少なくとも含む前記記憶メディア単位のメディア操作と、操作対応ファイル名と、を対応付けて記憶する操作対応ファイル名記憶手段を備え、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記操作対応ファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを前記メディア接続装置へ送信する処理を前記ホスト装置に実行させるための操作対応リンクを含むハイパーテキストファイルを生成し、ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記ハイパーテキストファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記ハイパーテキストファイルを、前記ホスト装置に返信し、前記ハイパーテキストファイルを受信したホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定と前記操作対応ファイル名記憶手段が記憶する一の操作対応ファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記一の操作対応ファイル名に対応する前記メディア操作を、前記記憶メディアを対象に実行する、ように操作することを特徴とする。
The operation method of the media connection system according to claim 17 transmits a command indicating a media connection unit for connecting a storage medium, a directory name specification, a file name specification, and a file unit operation from the host device to the server device. A server that conforms to a protocol for which a procedure is defined, and the server means stores the storage medium and a media-corresponding directory name in association with each other, and connects them via a network. When a file operation command is received from the host device indicating a media-compatible directory name specification, a single file name specification, and a file-unit-specific file operation request according to the procedure defined in the protocol, the media-compatible directory name is set. The file with the one file name is stored in the corresponding storage medium. The file is operated for each file, and the server means further stores a hypertext file name and includes at least one of the format of the storage medium and the opening of the storage medium. Operation-corresponding file name storage means for storing the media operation and the operation-corresponding file name in association with each other, and specifying the virtual directory name different from the media-corresponding directory name and the operation according to the procedure defined by the protocol A hypertext file including an operation corresponding link for causing the host device to execute a process of transmitting a file operation command indicating designation of a corresponding file name and a file operation request for each file to the media connection device is generated, and a network is created. From a host device connected via When a file operation command indicating a virtual directory name designation different from the media-corresponding directory name, a hypertext file name designation, and a file-unit data manipulation request is received in the procedure defined by the protocol, One operation stored in the operation-corresponding file name storage means and the designation of the virtual directory name from the host device that has returned the text file to the host device and received the hypertext file in accordance with the procedure defined by the protocol. When the file operation command indicating the designation of the corresponding file name and the data operation request for each file is received, the media operation corresponding to the one operation corresponding file name is executed on the storage medium. It is characterized by operation .

請求項18のFTPシステムは、請求項3のFTP型処理装置は、前記所定のファイル名を持つファイルへのショートカットファイルを記憶している前記ホスト装置を含むことを特徴とする。   The FTP system according to claim 18 is characterized in that the FTP processing apparatus according to claim 3 includes the host device storing a shortcut file to the file having the predetermined file name.

請求項19のFTPシステムの操作方法は、メディア接続部を備え、前記ホスト装置からのネットワークを介したFTP通信によるコマンドに従い、前記メディア接続部に接続された記憶メディアに対し、少なくともファイル単位によるデータの読出し、書込みを行うFTPサーバ手段を備えたFTP型処理装置において、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信し、前記操作対応リンクへのアクセス要求を受けたことを条件として、操作対応リンクに対応する操作を実行することを特徴とする。   The FTP system operation method according to claim 19, further comprising a media connection unit, and in accordance with a command from the host device via FTP communication via a network, at least a file unit of data for the storage medium connected to the media connection unit In an FTP type processing apparatus having an FTP server means for reading and writing data, data including an operation correspondence link associated with an operation in units of the storage medium is transmitted to the host device, and the operation correspondence link An operation corresponding to the operation-corresponding link is executed on the condition that an access request to is received.

請求項1のFTP型処理装置、請求項17のFTPシステム、請求項19のFTPシステムの操作方法によれば、FTP型処理装置にはFTPプロトコルに対応したFTPサーバが備えられており、ホスト装置にはFTPプロトコルに対応したFTPクライアントが備えられている。FTPサーバは、ネットワークを介したFTP通信によるFTPクライアントからのコマンドに従い、記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータをFTPクライアントへ送信する。FTPクライアントは、FTPサーバから送信されたデータをブラウザで開くことにより、メディアの状態を確認することができる。また、ファイルに含まれている操作対応リンク操作することにより、メディアそのものやメディアを単位とした操作を直接行うことができる。   According to the FTP processing device of claim 1, the FTP system of claim 17, and the FTP system operation method of claim 19, the FTP processing device is provided with an FTP server corresponding to the FTP protocol, and the host device Is provided with an FTP client corresponding to the FTP protocol. The FTP server transmits data including an operation corresponding link associated with an operation in units of storage media to the FTP client in accordance with a command from the FTP client through FTP communication via the network. The FTP client can confirm the state of the media by opening the data transmitted from the FTP server with a browser. Further, by performing an operation-related link operation included in the file, it is possible to directly perform the operation of the medium itself or the medium.

すなわち、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 FTP system 1. In the FTP system 1, a printer 80 and a host device (personal computer: hereinafter also referred to as “PC”) 3 that uses the printer 80 as a network printer can communicate with each other via a network 410.

なお、ネットワーク410は、図示したような有線のネットワークでもよいし、無線のネットワークでもよい。   The network 410 may be a wired network as illustrated or a wireless network.

図2は、プリンタ80の外観構成を示すものである。前記プリンタ80は、いわゆる多機能装置(MFP:Multi Function Peripheral)であり、FTP型処理装置をなすマルチリーダライタ2をプリンタに組み込んだプリンタ複合機として構成されている。具体的には、装置前面にメディア接続用スロット(以下、単に「スロット」ともいう)16〜19が露出するように配設されたマルチリーダライタ2とを一体的に備えてなり、プリンタ機能、スキャナ機能、コピー機能及びファクシミリ機能などを有する。   FIG. 2 shows an external configuration of the printer 80. The printer 80 is a so-called multi-function device (MFP), and is configured as a printer multi-function machine in which the multi-reader / writer 2 constituting the FTP processing device is incorporated in the printer. Specifically, a multi-reader / writer 2 disposed so as to expose media connection slots (hereinafter also simply referred to as “slots”) 16 to 19 on the front surface of the apparatus is integrally provided with a printer function, It has a scanner function, a copy function, and a facsimile function.

なお、メディア接続用スロットに代えて、あるいは併設して、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 printer 80 is connected to the PC 3 via a network and functions as a reader / writer device that performs data communication between the PC 3 and a memory card inserted into the multi-reader / writer 2. Also, based on the print data transmitted from the PC 3 (FIG. 1), an image or document is printed on a predetermined sheet. Further, based on the print data read from the memory card (storage medium) by the multi-reader / writer 2, an image or document is printed on a predetermined sheet (direct printing). It is also possible to transmit image data read by the scanner unit to the PC 3 and to copy an image read by the scanner unit using the printing unit.

プリンタ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 / writer 2 of the printer 80 inserts the first slot 16 for inserting the first memory card 11 and the second memory card 12 as the media connection slots 16 to 19. The second slot 17, the third slot 18 for inserting the third memory card 13, and the fourth slot 19 for inserting the fourth memory card 14. Further, it may be configured to have a slot of another memory card (such as an xD picture card (registered trademark, hereinafter abbreviated as “XD”)).

図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 printer 80. The printer 80 includes therein a CPU 34 that controls each component, a ROM 35 that stores a control program, various data, and the like (in the present embodiment, a nonvolatile memory such as a flash memory), A RAM 37 serving as a work area for operations performed by the CPU 34 is connected to the RAM 34 so that data can be transferred between them. The slots 33 to 19 are connected to the bus 33 via flash memory control LSIs. Each of the first to fourth memory cards 11 to 14 detachably connected to the slots 16 to 19 is, for example, a CF, SM, MS, SD, or the like that can write, rewrite, erase, and read data. This is a card-type storage medium equipped with a memory. The slots 16 to 19 can alternatively be connected to any type of memory card.

バス33には、印刷部82、スキャナ部132、電話線I/F133、LCD、キーボード及びカーソル移動キーなどからなる操作・表示部91が繋がれている。さらに、バス33には、LANI/F24が接続されている。LANI/F24は、第一のネットワークを介してホスト装置であるPC3と接続している。複数のPC3及びプリンタ80はTCP/IPネットワーク410にて相互接続されている(図1参照)。   An operation / display unit 91 including a printing unit 82, a scanner unit 132, a telephone line I / F 133, an LCD, a keyboard, a cursor movement key, and the like is connected to the bus 33. Further, a LAN I / F 24 is connected to the bus 33. The LAN I / F 24 is connected to the PC 3 that is a host device via the first network. A plurality of PCs 3 and printers 80 are interconnected by a TCP / IP network 410 (see FIG. 1).

ROM35には、マルチリーダライタ2の動作制御プログラム及び、印刷制御、スキャン制御、FAX通信制御などを司る各々の制御プログラムが格納され、CPU34は、これらプログラムを、RAM37を実行エリアとして実行することで、プリンタ複合機としての総合的な動作制御を行なう。   The ROM 35 stores an operation control program for the multi-reader / writer 2 and control programs for controlling printing control, scan control, FAX communication control, and the like. The CPU 34 executes these programs using the RAM 37 as an execution area. Performs overall operation control as a printer multifunction peripheral.

ROM35にはさらに、FTPサーバプログラムが格納されている。また、TCP/IPネットワーク410上にてプリンタ80が特定されるためのIPアドレス及びサブネットマスクもROM35に記憶されている。さらに、前記記憶メディアの状態を送信する状態データ送信プログラムと、前記記憶メディアを単位とした操作に対応付けられた操作対応リンクを含んだデータを前記ホスト装置に送信する、操作対応データ送信プログラムもROM35に記憶されている。   The ROM 35 further stores an FTP server program. The ROM 35 also stores an IP address and subnet mask for specifying the printer 80 on the TCP / IP network 410. Further, a status data transmission program for transmitting the status of the storage medium, and an operation compatible data transmission program for transmitting data including an operation compatible link associated with an operation in units of the storage medium to the host device. Stored in the ROM 35.

メディア接続用スロット16〜19には、メモリーカード(記憶メディア)11〜14が接続される。また、PC3は、ハードディスクなどからなるローカルディスク3Lと、液晶ディスプレイなどからなるモニタ3Mとを備え、ローカルディスク3Lには、FTPクライアントプログラムが組み込まれたブラウザがインストールされている。   Memory cards (storage media) 11 to 14 are connected to the media connection slots 16 to 19. The PC 3 includes a local disk 3L formed of a hard disk or the like and a monitor 3M formed of a liquid crystal display or the like, and a browser incorporating an FTP client program is installed in the local disk 3L.

プリンタ80側では、前述した各々の制御プログラムと、状態反映ファイル名決定プログラム、及びFTPサーバプログラムが、CPU34で実行されることにより、FTPサーバ手段、操作対応ファイル名決定手段、操作実行手段、がシステム上で実現されている。   On the printer 80 side, the control program, the status reflection file name determination program, and the FTP server program described above are executed by the CPU 34, so that the FTP server means, the operation corresponding file name determination means, and the operation execution means are provided. Realized on the system.

以下、通信システム1におけるデータシーケンスを、図4のシーケンス図を用いて説明する。このシーケンス図は、PC3側でユーザがFTPクライアント機能が組み込まれたブラウザを立ち上げ、プリンタ80のノード名「ftp://brn_600789」を入力し、アクセスを開始させたときに始まる。なお、PC3側にノード名「ftp://brn_600789」へのショートカットを用意しておき、そのショートカットを操作することで、ブラウザが起動後そのままプリンタ80へアクセスするよう構成していてもよい。プリンタ80のノード名「ftp://brn_600789」は適宜変更してもよい。   Hereinafter, the data sequence in the communication system 1 will be described with reference to the sequence diagram of FIG. This sequence diagram starts when the user starts up a browser on which the FTP client function is incorporated on the PC 3 side, inputs the node name “ftp: // brn_600789” of the printer 80, and starts access. Alternatively, a shortcut to the node name “ftp: // brn_600789” may be prepared on the PC 3 side, and the shortcut may be operated to access the printer 80 as it is after the browser is activated. The node name “ftp: // brn_600789” of the printer 80 may be changed as appropriate.

まず、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 printer 80 transmits a user name request response to the PC 3 (J2). In response to this, the PC 3 transmits a user name for logging in to the FTP server to the printer 80 (J3).

次に、プリンタ80からPC3にパスワード要求レスポンスを送信する(J4)。そして、そのパスワード要求レスポンスを受けたPC3からプリンタ80に、前期ホスト装置にて入力されたパスワードを送信する(J5)。プリンタ80では、受信したパスワードとユーザ名とに基づいてログインユーザを認証し、認証受理の場合にそのログインユーザのFTPサーバ(プリンタ80)へのログインを許可する応答をPC3へ返信する(J6)。   Next, a password request response is transmitted from the printer 80 to the PC 3 (J4). Then, the PC 3 that has received the password request response transmits the password input in the previous host device to the printer 80 (J5). The printer 80 authenticates the login user based on the received password and user name, and returns a response permitting login to the FTP server (printer 80) of the login user to the PC 3 in the case of authentication acceptance (J6). .

FTPサーバへのログインが許可されたPC3は、続いて、ルートディレクトリへのアクセスを要求するコマンド「cd/ (change directory root)」を発行する(J7)。
このコマンドを受信したプリンタ80は、ルートディレクトリへアクセスし(カレントディレクトリをルートディレクトリに変更することを試み)、成功したことを示すコードをPC3へ返信する(J8)。
Subsequently, the PC 3 permitted to log in to the FTP server issues a command “cd / (change directory root)” requesting access to the root directory (J7).
Upon receiving this command, the printer 80 accesses the root directory (attempts to change the current directory to the root directory), and returns a code indicating success to the PC 3 (J8).

なお、ルートディレクトリへのアクセスに失敗すれば、前述したようにレスポンスコード「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 PC 3.

ルートディレクトリへのアクセスが成功したことを示すコードを受信したPC3は、このルートディレクトリに対するlistコマンドを発行する(J9)。listコマンドを受信したプリンタ80は、メディア接続部の状態や、操作対応ファイル名決定プログラムによって決定された、操作対応ファイル名を有したファイルを含むディレクトリが、ルートディレクトリに存在している、との情報を送信する(J10)。   The PC 3 receiving the code indicating that the access to the root directory is successful issues a list command for this root directory (J9). The printer 80 that has received the list command indicates that the directory including the file having the operation-corresponding file name determined by the state of the media connection unit and the operation-corresponding file name determining program exists in the root directory. Information is transmitted (J10).

以下、フローチャート等を参照して、本発明の処理を説明する。   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 printer 80 creates a shortcut to Index.htm on the FTP server simultaneously with installation of software such as a printer driver (S1800). By creating a shortcut, the user can eliminate the trouble of inputting an IP address, a password, and the like necessary for connecting to the FTP server each time the connection is made.

図24はショートカットを起動したときのPC3の処理を示したフローチャートである。ショートカットにはFTPサーバ上のIndex.htm等のURLが書かれており、ショートカットに書かれたURLを引数に与えてブラウザを起動することでプリンタ80に搭載されたFTPサーバに接続する。   FIG. 24 is a flowchart showing the processing of the PC 3 when the shortcut is activated. A URL such as Index.htm on the FTP server is written in the shortcut, and the browser is started by giving the URL written in the shortcut as an argument to connect to the FTP server installed in the printer 80.

図5は、プリンタ80におけるCPU34がFTPサーバプログラムに従って実行するFTPサーバ処理の動作フローである。FTPサーバ処理は、プリンタ80の起動に伴って動作が開始される。   FIG. 5 is an operational flow of FTP server processing executed by the CPU 34 in the printer 80 in accordance with the FTP server program. The FTP server process starts when the printer 80 is activated.

図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 printer 80 continues to operate normally until the printer 80 is turned off or reset.

図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 CPU 34 secures a memory necessary for managing the configuration of the virtual directory tree and a memory necessary for managing the FTP server system in the RAM (S200).

続いて、確保したメモリ上の仮想ディレクトリツリーに、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 printer 80 is in the current directory. File names and subdirectory names of files existing in the root directory are returned.

なお、図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 CPU 34 enters a login wait state waiting for login from the client (see FIG. 4: J1) (S300).

続いて、クライアントからのログインリクエストがなければ(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 CPU 34 creates virtual file information based on the current device state (S500). Subsequently, if the command specifies the target directory (S510: YES), the directory specified by the command from the client exists in the virtual directory tree or exists in the actual directory. Is determined (S520). If the specified directory exists in the virtual directory tree or exists in the actual directory (S520: YES), the specified directory is recognized as the current directory (S530), and the command is successful. An OK code indicating this has been transmitted to the client (S540), and the cd processing is terminated.

なお、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 CPU 34 creates virtual file information based on the current device state (S600). Subsequently, if the command specifies the target directory (S610: YES), the directory specified by the command from the client exists in the virtual directory tree or exists in the actual directory. Is determined (S620).

続いて、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 CPU 34 further identifies the designated directory in the system area. It is determined whether or not (S630). If the specified directory is within the system area (S630: YES), the file name and subdirectory name stored in the management area for the specified directory are transmitted to the client (S640), and the list process is terminated. .

指定されたディレクトリの実体がシステム領域内でない、換言すれば、記憶メディアなどの記憶装置内にあるならば(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 process, 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 CPU 34 creates virtual file information based on the current device state (S700).

続いて、対象とするファイルをコマンドが指定しているかどうかを判断する(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 entity data of the file transmitted from the client by the put command is stored in the storage device in the FTP server. In other words, the process of causing the FTP server to write the entity data of the file designated by the client is performed.

まず、CPU34は、現在の装置状態に基づいて、仮想ファイル情報を作成する(S900)。続いて、ファイルを記憶するディレクトリ(対象とするディレクトリ)をコマンドが指定しているかどうかを判断する(S910)。対象とするディレクトリをコマンドが指定していれば(S910:YES)、クライアントからコマンドによって指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在するかを判断する(S920)。指定されたディレクトリが、仮想ディレクトリツリーの中に存在するか、あるいは、実体ディレクトリの中に存在する場合(S920:YES)、さらに、指定されたディレクトリの実体がシステム領域内であるか否かを判断する(S930)。指定されたディレクトリの実体がシステム領域内ならば(S930:YES)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S960)、put処理を終了する。すなわち、FTPクライアントにFTPサーバ側の状態を知らせる情報の内容と接続されている記憶メディアに対してFTPクライアントが行うことのできる操作を知らせ、記憶メディアに対して操作させるためのhtmlデータのファイル名をクライアントに送信するために設けられた、仮想的な特別なディレクトリへのアクセスができないようにする。これにより、PC3のユーザがファイルの実体データを書き込んだと思ったにもかかわらず、ディレクトリが仮想的なために書き込まれていなかった、という事態を防ぐことができる。   First, the CPU 34 creates virtual file information based on the current device state (S900). Subsequently, it is determined whether or not the command specifies a directory for storing the file (target directory) (S910). If the target directory is specified by the command (S910: YES), it is determined whether the directory specified by the command from the client exists in the virtual directory tree or the actual directory. (S920). If the specified directory exists in the virtual directory tree or exists in the entity directory (S920: YES), it is further determined whether or not the entity of the specified directory is in the system area. Judgment is made (S930). If the entity of the designated directory is in the system area (S930: YES), an NG code indicating that the command has failed is transmitted to the client (S960), and the put process is terminated. That is, the content of the information that informs the FTP client of the state on the FTP server side, the operation that the FTP client can perform on the connected storage medium, and the file name of html data for operating the storage medium To prevent access to a virtual special directory provided for sending to the client. As a result, it is possible to prevent a situation in which the directory is not written because the user of the PC 3 thinks that the file entity data has been written, but the directory is virtual.

指定されたディレクトリの実体がシステム領域内でない、換言すれば、記憶メディアなどの記憶装置内であるならば(S930:NO)、指定されたディレクトリに実体データを記憶させ(S940)、コマンドが成功したことを示すOKコードをクライアントに送信し(S950)、put処理を終了する。すなわち、記憶メディアなどに実際に実体データを記憶する。一方、指定されたディレクトリが、仮想ディレクトリツリーの中に存在せず、かつ、実体ディレクトリの中に存在しない場合(S920:NO)、コマンドが失敗したことを示すNGコードをクライアントに送信し(S960)、put処理を終了する。   If the specified directory is not in the system area, in other words, in the storage device such as a storage medium (S930: NO), the actual 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 content of Main.htm are determined. In other words, the content is connected to the content of information that informs the FTP client of the state on the FTP server side. 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 printer 80 and the status of the storage medium connected to the media connection unit are confirmed, even if another storage medium is reconnected to the media connection unit, a new storage media Since the state can be reflected, the operation-corresponding file name corresponds to the connected memory card, so that it is less likely to select an incorrect operation.

ここで、処理の説明に戻る。   Here, it returns to description of a process.

CPU34は、まず、Index.htmとMain.htmを作成する。   The CPU 34 first creates Index.htm and Main.htm.

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 describes 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 CPU 34 checks the status of the printer 80 (S1020). Information regarding the number of media connection units provided in the printer 80 and the types of storage media that can be connected to the media connection units is also acquired at this time.

続いて、CPU34は、変数Nに0を代入する(S1030)。このNは、メディア接続部全てについての情報を確認するためにプログラム内で使われる変数である。   Subsequently, the CPU 34 substitutes 0 for the variable N (S1030). This N is a variable used in the program in order to confirm information about all media connections.

続いて、CPU34は、Nをメディア接続部の数と比較する(S1040)。Nがメディア接続部の数より少なければ(S1040:NO)、CPU34は、N番目のメディア接続部(以降、第Nスロットとも称する)に記憶メディアが接続されているかどうか確認する(S1110)。   Subsequently, the CPU 34 compares N with the number of media connection units (S1040). If N is less than the number of media connection units (S1040: NO), the CPU 34 checks whether a storage medium is connected to the Nth media connection unit (hereinafter also referred to as the Nth slot) (S1110).

第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 CPU 34 confirms whether the storage medium connected to the Nth slot is open (S1130).

第Nスロットに接続された記憶メディアが開ける状態にあるならば(S1130:)、続いて、CPU34は、第Nスロットに接続された記憶メディアの総記憶容量と残り記憶容量を確認する(S1200)。   If the storage medium connected to the Nth slot is in an open state (S1130 :), then the CPU 34 confirms the total storage capacity and the remaining storage capacity of the storage medium connected to the Nth slot (S1200). .

続いて、CPU34は、Main.htmに書き出すスロットの状態を決定する(S1150)。書き出す状態は、対応カード名、総記憶容量、残り記憶容量、フォーマットを開始するためのリンク、カードを開くためのリンクとなる。   Subsequently, the CPU 34 determines the state of the slot to be written to Main.htm (S1150). The state of writing is a corresponding card name, total storage capacity, remaining storage capacity, a link for starting formatting, and a link for opening a card.

続いて、再び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 printer 80 is completed (S1040: YES).

プリンタ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 CPU 34 first confirms the number of slots (S1205). If there is only one recognized slot (S1205: YES), it is confirmed whether there is a link for opening the card in the slot state (S1210).

スロットの状態にカードを開くためのリンクが存在した場合、(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 CPU 34 writes a transfer command to Main.htm using the link for opening the card (S1215). FIGS. 14A (a-1) and 14A (a-2) show examples of screen displays when there is a link for opening a card in the slot state. FIG. 14A (a-1) is an example of Main.htm, and FIG. 14A (a-2) shows a situation where the browser opens the card according to the transfer command written in Main.htm.

続いて、CPU34は、転送コマンドが示す転送先のキャッシュ削除コマンドをMain.htmに書き出す(S1220)。   Subsequently, the CPU 34 writes a cache deletion command of the transfer destination indicated by the transfer command in Main.htm (S1220).

続いて、CPU34は、ルートディレクトリ用の管理領域の情報を更新する(S1270)。具体的には生成したIndex.htm、Main.htmをルートディレクトリに追加する。   Subsequently, the CPU 34 updates the management area information for the root directory (S1270). Specifically, the generated Index.htm and Main.htm are added to the root directory.

CPU34は、管理領域の情報を更新した後、仮想ファイル情報の作成処理を終了する。   After updating the management area information, the CPU 34 ends the virtual file information creation process.

また、スロットの状態にカードを開くためのリンクが存在しない場合、(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 CPU 34 writes the slot state in Main.htm (S1265), and then updates the management area information for the root directory. In step S1270, the virtual file information creation process is terminated. As a case where there is no link for opening the card in the slot state, the memory card may be unformatted or not connected. Screen display examples are shown in FIGS. 14B (b-1) and 14B (b-2).

一方、認識したスロットが複数の場合(S1205:NO)、CPU34は準備した変数Xに0を代入する(S1225)。   On the other hand, when there are a plurality of recognized slots (S1205: NO), the CPU 34 substitutes 0 for the prepared variable X (S1225).

続いて、CPU34はXとNを比較する。XがNより小さい場合(S1230:NO)、スロットの状態にカードを開くためのリンクが存在するかどうかを確認する(S1235)。   Subsequently, the CPU 34 compares X and N. When X is smaller than N (S1230: NO), it is confirmed whether or not there is a link for opening the card in the slot state (S1235).

スロットの状態にカードを開くためのリンクが存在した場合、(S1235:YES)CPU34は、カードを開くためのリンクを用いてCardOpenX.htm(Xには変数Xの値が入る)に転送コマンドを書き出す(S1215)。   If there is a link for opening the card in the slot state (S1235: YES), the CPU 34 uses the link for opening the card to send a transfer command to CardOpenX.htm (where X is the value of the variable X). Writing is performed (S1215).

続いて、CPU34は、転送コマンドが示す転送先のキャッシュ削除コマンドをCardOpenX.htmに書き出す(S1245)。   Subsequently, the CPU 34 writes a transfer destination cache deletion command indicated by the transfer command to CardOpenX.htm (S1245).

続いて、CPU34は、Main.htmにスロットの状態を書き出した(S1265)後、ルートディレクトリ用の管理領域の情報を更新して(S1270)、仮想ファイル情報の作成処理を終了する。
認識したスロットが複数の場合の表示例を図14C(c−1)〜図14C(c−3)に示す。図14C(c−1)の「メモリーカードを開く」がブラウザ上でクリックされると、カードにアクセスするための転送コマンドが書かれたページが暫く表示され、続いてカードの内容がブラウザに表示される(図14C(c−2)、図14C(c−3)を参照)。
Subsequently, the CPU 34 writes the slot state in Main.htm (S1265), updates the information in the management area for the root directory (S1270), and ends the virtual file information creation process.
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 CPU 34 acquires Index.htm (S1300), and ends the memory card operation process. Not only the Index.htm acquisition process but also the file entity acquired by the memory card operation process is transmitted to the client in S770.

指定されたファイルが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 CPU 34 executes the processing of the FTP server when Format000.htm is requested (S1330), acquires Format000.htm (S1340), End the memory card operation process. A display example of Format000.htm is shown in FIG.

指定されたファイルが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 CPU 34 executes processing of the FTP server when FormatN.htm is requested (S1360), acquires FormatN.htm (S1370), and ends the memory card operation processing.

指定されたファイルがMain.htmであった場合(S1380:YES)、CPU34はMain.htmを取得し(S1390)、メモリーカード操作処理を終了する。   When the designated file is Main.htm (S1380: YES), the CPU 34 acquires Main.htm (S1390), and ends the memory card operation process.

指定されたファイルが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 CPU 34 determines the file entity based on the information stored in the management area for the designated directory. Is acquired (S1400), and the memory card operation process is terminated.

図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 CPU 34 starts formatting the memory card (S1500).

続いて、CPU34は、Format000.htmの内容を決定する(S1510)。Format000.htmの内容として決定されるのは、フォーマットの進行状況(0%)を示すメッセージと、FormatN.htmを表示するための転送コマンドと、FormatN.htmを更新するためのキャッシュ削除コマンドである。   Subsequently, the CPU 34 determines the contents of Format000.htm (S1510). The contents of Format000.htm are determined by a message indicating the format progress (0%), a transfer command for displaying FormatN.htm, and a cache deletion command for updating FormatN.htm. .

続いて、CPU34は、Format000.htmを作成し(S1520)、フォーマットの進行度を示す変数Nを1に設定(S1530)した後、Format000.htmが要求された場合のFTPサーバの処理を終了する。   Subsequently, the CPU 34 creates Format000.htm (S1520), sets a variable N indicating the progress of formatting to 1 (S1530), and then terminates the processing of the FTP server when Format000.htm is requested. .

図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 CPU 34 starts formatting the memory card (S1500).

続いて、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 CPU 34 determines the contents of FormatN.htm (S1620). What is determined as the contents of FormatN.htm is a message indicating the progress of formatting (100%). Subsequently, the CPU 34 creates FormatN.htm (S1630), and ends the processing of the FTP server when FormatN.htm is requested.

一方、フォーマットが終了していない場合(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 CPU 34 creates FormatN.htm (S1630), sets a variable N indicating the progress of formatting to 1, and then returns to the processing of S1610 to format the format. Repeat until is finished. Display examples of FormatN.htm are shown in FIGS. It can be seen that the degree of progress increases as the variable N increases. The timing for transferring FormatN.htm may be determined as appropriate.

図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 CPU 34 confirms slot increase / decrease or card connection / detachment (S1700). When the increase / decrease of the slot or the connection / detachment of the card is confirmed (S1700: YES), the CPU 34 confirms whether or not the actual directory of the current directory exists (S1710). If the card connection / disconnection is not confirmed (S1700: NO), the CPU 34 waits until the slot increase / decrease or the card connection / detachment is confirmed.

カレントディレクトリの実体ディレクトリが存在した場合、(S1710:YES)CPU34は、S1700の処理に戻る。   When the actual directory of the current directory exists (S1710: YES), the CPU 34 returns to the process of S1700.

一方、カレントディレクトリの実体ディレクトリが存在しなかった場合、(S1710:NO)CPU34は、ルートディレクトリをカレントディレクトリであると認識して、S1700の処理に戻る。   On the other hand, if the actual directory of the current directory does not exist (S1710: NO), the CPU 34 recognizes that the root directory is the current directory, and returns to the processing of S1700.

図25はPC3におけるブラウザの定常動作の処理を示したフローチャートである。まず、PC3はブラウザの起動処理(S2000)を行う。   FIG. 25 is a flowchart showing processing of a steady operation of the browser in the PC 3. First, the PC 3 performs browser activation processing (S2000).

続いて、ブラウザはファイルへのリンクがクリックされたかどうか確認する(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)。   If 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 has been 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 the browser processing when the link to the file in S2150 of FIG. 26 is clicked. 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). If 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 printer 80 is shown as an example of the FTP processing apparatus. However, the scanner apparatus, the display apparatus, the audio apparatus, the karaoke apparatus, the digital camera apparatus, the projector apparatus, the disk drive apparatus, the sewing machine, the telephone, the mobile apparatus, and the machine apparatus. It is obvious that the present invention may be applied to any apparatus that has an FTP server function and can have a media connection unit, such as a robot.

本発明のFTPシステムの全体構成の概略を示すブロック図。The block diagram which shows the outline of the whole structure of the FTP system of this invention. 本発明のFTPシステムに適用されるプリンタの一例を示す斜視図。FIG. 2 is a perspective view illustrating an example of a printer applied to the FTP system of the present invention. プリンタ(カードリーダ)の電気的構成の一例を示すブロック図。FIG. 3 is a block diagram illustrating an example of an electrical configuration of a printer (card reader). 本発明のFTPシステムの動作の一例を示すシーケンス図。The sequence diagram which shows an example of operation | movement of the FTP system of this invention. プリンタ80におけるFTPサーバ処理を示したフローチャート。7 is a flowchart showing FTP server processing in the printer 80. プリンタ80における仮想ディレクトリツリーの初期化処理を示したフローチャート。7 is a flowchart showing virtual directory tree initialization processing in the printer 80. プリンタ80における定常動作処理を示したフローチャート。7 is a flowchart showing steady operation processing in the printer 80. プリンタ80におけるcd処理を示したフローチャート。7 is a flowchart showing cd processing in the printer 80. プリンタ80におけるlist処理を示したフローチャート。7 is a flowchart showing list processing in the printer 80. プリンタ80におけるget処理を示したフローチャート。7 is a flowchart showing get processing in the printer. プリンタ80におけるput処理を示したフローチャート。7 is a flowchart showing put processing in the printer 80. プリンタ80における仮想ファイル情報の作成の前段処理を詳細に示したフローチャート。7 is a flowchart showing in detail a pre-process for creating virtual file information in the printer 80. プリンタ80における仮想ファイル情報の作成の後段処理を詳細に示したフローチャート。6 is a flowchart showing in detail a subsequent process of creating virtual file information in the printer. 生成されたIndex.htmファイルの表示例。Display example of the generated Index.htm file. スロットの状態にカードを開くためのリンクが存在した場合のMain.htmファイルの画面表示例。Screen display example of Main.htm file when there is a link to open the card in the slot state. スロットの状態にカードを開くためのリンクが存在しない場合におけるMain.htmファイルの画面表示例。Screen display example of Main.htm file when there is no link to open the card in the slot state. スロットが複数認識されている場合におけるMain.htmファイルの画面表示例。Screen display example of Main.htm file when multiple slots are recognized. 仮想ディレクトリツリーを示す概念図。The conceptual diagram which shows a virtual directory tree. システム領域を示す概念図。The conceptual diagram which shows a system area | region. プリンタ80におけるメモリーカード操作処理を示すフローチャート。7 is a flowchart showing memory card operation processing in the printer 80. プリンタ80においてFormat000.htmが要求された場合のFTPサーバの処理を示すフローチャート。7 is a flowchart showing processing of the FTP server when Format000.htm is requested in the printer 80. プリンタ80においてFormatN.htmが要求された場合のFTPサーバの処理を詳細に示すフローチャート。7 is a flowchart showing in detail the processing of the FTP server when FormatN.htm is requested in the printer 80. プリンタ80におけるFormat000.htmの表示例。A display example of Format000.htm on the printer 80. プリンタ80におけるFormatN.htmの表示例。A display example of FormatN.htm on the printer 80. プリンタ80におけるメモリーカード接続部の監視処理を示すフローチャート。7 is a flowchart showing monitoring processing of a memory card connection unit in the printer 80. プリンタ80においてインストーラによるショートカットの作成を示すフローチャート。7 is a flowchart showing creation of a shortcut by an installer in the printer 80. プリンタ80においてショートカットを起動したときのPC3の処理を示したフローチャート。7 is a flowchart showing processing of the PC 3 when a shortcut is activated in the printer 80. PC3におけるブラウザの定常動作の処理を示したフローチャート。The flowchart which showed the process of the steady operation | movement of the browser in PC3. PC3におけるブラウザの起動処理を示したフローチャート。The flowchart which showed the starting process of the browser in PC3. PC3においてファイルへのリンクをクリックされたときのブラウザの処理を示したフローチャート。The flowchart which showed the process of the browser when the link to a file was clicked in PC3. PC3においてディレクトリへのリンクをクリックされたときのブラウザの処理を示したフローチャート。The flowchart which showed the process of the browser when the link to the directory was clicked in PC3. PC3において転送処理時のブラウザの処理を示したフローチャート。The flowchart which showed the process of the browser at the time of the transfer process in PC3.

符号の説明Explanation of symbols

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 FTP system 2 Multi-reader / writer 3 Personal computer 3L Local disk 3M Monitor 11 First memory card (CF)
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 bus 34 CPU
35 ROM
37 RAM
80 Printer 82 Printing Unit 91 Operation / Display Unit 152 File Icon 153 with Operation Corresponding File Name Operation Corresponding File Name 410 Network

Claims (17)

記憶メディアを接続するメディア接続部と、
ディレクトリ名の指定とファイル名の指定とファイル単位の操作とを示すコマンドをホスト装置からサーバ装置へと送信する手順が定められたプロトコルに準拠するサーバ手段と、
を備えたメディア接続装置であり、
前記サーバ手段は、
前記記憶メディアと、メディア対応ディレクトリ名と、を対応付けて記憶し、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順でメディア対応ディレクトリ名の指定と一のファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶しており前記一のファイル名を持つファイルを対象に前記ファイル単位のファイル操作を行ない
前記サーバ手段は、さらに、
ハイパーテキストファイル名を記憶し、
前記記憶メディアのフォーマット、前記記憶メディアのオープン、のいずれかを少なくとも含む前記記憶メディア単位のメディア操作と、操作対応ファイル名と、を対応付けて記憶する操作対応ファイル名記憶手段を備え、
前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記操作対応ファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを前記メディア接続装置へ送信する処理を前記ホスト装置に実行させるための操作対応リンクを含むハイパーテキストファイルを生成し、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記ハイパーテキストファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記ハイパーテキストファイルを、前記ホスト装置に返信し、
前記ハイパーテキストファイルを受信したホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定と前記操作対応ファイル名記憶手段が記憶する一の操作対応ファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記一の操作対応ファイル名に対応する前記メディア操作を、前記記憶メディアを対象に実行する、
ことを特徴とするメディア接続装置。
A media connection for connecting storage media ;
Server means conforming to a protocol in which a procedure for transmitting a command indicating a directory name specification, a file name specification, and a file unit operation from the host device to the server device is defined ;
A media connection device comprising :
The server means includes
Storing the storage medium and a media-compatible directory name in association with each other;
When a file operation command indicating a media-compatible directory name specification, one file name specification, and a file operation request for each file is received from a host device connected via a network by the procedure defined in the protocol, A storage medium corresponding to the media-corresponding directory name is stored, and the file operation is performed in units of files for a file having the one file name ,
The server means further includes:
Remember the hypertext file name,
An operation-corresponding file name storage means for storing a media operation in units of the storage medium including at least one of the format of the storage medium and the opening of the storage medium, and an operation-corresponding file name in association with each other;
A file operation command indicating the designation of a virtual directory name different from the media-corresponding directory name, the designation of the operation-corresponding file name, and a file operation request in units of files is transmitted to the media connection device according to the procedure determined by the protocol. Generating a hypertext file including an operation corresponding link for causing the host device to execute processing;
A file indicating a virtual directory name designation different from the media-corresponding directory name, a hypertext file name designation, and a data operation request in units of files from a host device connected via a network according to a procedure defined by the protocol When an operation command is received, the hypertext file is returned to the host device,
From the host device that has received the hypertext file, designation of the virtual directory name, designation of one operation-corresponding file name stored in the manipulation-corresponding file name storage means, and data operation in units of files in accordance with the procedure determined by the protocol When a file operation command indicating a request is received, the media operation corresponding to the one operation-compatible file name is executed on the storage medium;
A media connection device characterized by that.
前記プロトコルは、ディレクトリ単位の操作要求を示すコマンドをホスト装置からサーバ装置へと送信する手順が定められており、
前記サーバ手段は、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名の指定とファイル名の一覧要求とを示す一覧要求コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶するファイル名の一覧を前記ホスト装置に返信し、
前記サーバ手段は、さらに、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定とファイル名の一覧要求とを示す一覧要求コマンドを受信した場合に、前記ハイパーテキストファイル名を前記ホスト装置に返信する、
ことを特徴とする請求項1に記載のメディア接続装置。
The protocol defines a procedure for transmitting a command indicating an operation request in units of directories from the host device to the server device,
The server means includes
Corresponding to the media-compatible directory name when a list request command indicating the media-compatible directory name designation and file name list request is received from the host device connected via the network according to the procedure defined by the protocol. Returns a list of file names stored in the storage medium to the host device,
The server means further includes:
When receiving a list request command indicating a designation of the virtual directory name and a file name list request by a procedure defined by the protocol from a host device connected via a network, the hypertext file name is set to the host Reply to the device,
The media connection device according to claim 1.
前記サーバ手段は、
ユーザのクリック操作を受付可能に前記ホスト装置が表示することが可能な態様で、前記ハイパーテキストファイル名を返信する、
ことを特徴とする請求項2に記載のメディア接続装置。
The server means includes
In a mode that the host device can display so that a user's click operation can be accepted, the hypertext file name is returned.
The media connection device according to claim 2, wherein:
前記サーバ手段は、
前記メディア接続部に記憶メディアが接続されているか、前記メディア接続部に接続された記憶メディアがフォーマットされているか、前記メディア接続部に接続された記憶メディアがアクセス可能か、前記メディア接続部に接続された記憶メディアの容量、前記メディア接続部に接続された記憶メディアの空き容量、のうち少なくとも1つを検出し、
検出した状態を示す状態情報を含むように、前記ハイパーテキストファイルを生成する、
ことを特徴とする請求項1乃至請求項3のいずれか1項に記載のメディア接続装置。
The server means includes
A storage medium is connected to the media connection unit, a storage medium connected to the media connection unit is formatted, a storage medium connected to the media connection unit is accessible, or connected to the media connection unit Detecting at least one of the capacity of the stored storage medium and the free capacity of the storage medium connected to the media connection unit;
Generating the hypertext file to include state information indicating the detected state;
The media connection device according to any one of claims 1 to 3, wherein
前記サーバ手段は、前記操作の実行による操作の進行度を示すデータである進行度データを生成し、その進行度データを前記ホスト装置に送信することを特徴とする請求項1ないし4のいずれか1項に記載のメディア接続装置。 5. The server unit according to claim 1, wherein the server means generates progress data that is data indicating the progress of the operation by executing the operation, and transmits the progress data to the host device . The media connection device according to item 1 . 前記サーバ手段は、前記進行度データへのリンクを含んだデータを前記ホスト装置に送信することを特徴とする請求項に記載のメディア接続装置。 6. The media connection device according to claim 5 , wherein the server means transmits data including a link to the progress data to the host device. 前記サーバ手段は、前記進行度データへのリンクと共に、リンク先に関するキャッシュデータを削除するコマンドを含んだデータを前記ホスト装置に送信することを特徴とする請求項に記載のメディア接続装置。 The media connection device according to claim 6 , wherein the server means transmits data including a command for deleting cache data relating to a link destination to the host device together with a link to the progress data . 前記サーバ手段は、前記進行度データへのリンクと、そのリンクへのリダイレクトを指示するリダイレクト指示データを前記ホスト装置に送信することを特徴とする請求項5ないし7のいずれか1項に記載のメディア接続装置。 8. The server according to claim 5 , wherein the server unit transmits a link to the progress data and redirect instruction data for instructing redirection to the link to the host device . 9. Media connection device. 前記サーバ手段は、前記進行度データとともに前記リンクとは異なる、次の段階の操作の進行度を示すデータである次回進行度データへのリンクとそのリンクへのリダイレクトを指示するリダイレクト指示データを前記ホスト装置に送信することを特徴とする請求項5ないし8のいずれか1項に記載のメディア接続装置。 The server means, along with the progress data, provides a link to the next progress data, which is data indicating the progress of the next stage operation, and redirect instruction data for instructing redirection to the link. 9. The media connection device according to claim 5 , wherein the media connection device transmits the data to a host device . 前記メディア接続装置には、複数のメディア接続部が設けられ、
前記操作対応リンクは、いずれかの前記メディア接続部に接続された記憶メディアに対する操作に対応することを特徴とする請求項1ないし9のいずれか1項に記載のメディア接続装置。
The media connection device is provided with a plurality of media connection units,
The media connection device 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ないし10のいずれか1項に記載のメディア接続装置。
Different types of storage media can be connected to the media connection,
The media connection device according to any one of claims 1 to 10, wherein the operation-corresponding link corresponds to an operation on any type of storage medium .
前記操作対応リンクは、前記メディア接続部に接続された記憶メディア内のファイル名又はディレクトリ名を前記ホスト装置に送信する操作に対応することを特徴とする請求項1ないし11のいずれか1項に記載のメディア接続装置。 12. The operation corresponding link 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 device. The media connection device described. 前記ネットワークを介して送信される印刷データに基づいて印刷を実行可能なネットワークプリンタに組み込まれてなる請求項1ないし12のいずれか1項に記載のメディア接続装置。 13. The media connection device according to claim 1, wherein the media connection device is incorporated in a network printer capable of executing printing based on print data transmitted via the network . 前記プロトコルはFTPプロトコルであることを特徴とする請求項1ないし13のいずれか1項に記載のメディア接続装置。 The media connection device according to claim 1 , wherein the protocol is an FTP protocol . 記憶メディアを接続するメディア接続部と、
ディレクトリ名の指定とファイル名の指定とファイル単位の操作とを示すコマンドをホスト装置からサーバ装置へと送信する手順が定められたプロトコルに準拠するサーバ手段と、
を備えたメディア接続装置と、
ネットワークを介してそのメディア接続装置と接続されたホスト装置と、
を備えたメディア接続システムであり、
前記サーバ手段は、
前記記憶メディアと、メディア対応ディレクトリ名と、を対応付けて記憶し、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順でメディア対応ディレクトリ名の指定と一のファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶しており前記一のファイル名を持つファイルを対象に前記ファイル単位のファイル操作を行ない
前記サーバ手段は、さらに、
ハイパーテキストファイル名を記憶し、
前記記憶メディアのフォーマット、前記記憶メディアのオープン、のいずれかを少なくとも含む前記記憶メディア単位のメディア操作と、操作対応ファイル名と、を対応付けて記憶する操作対応ファイル名記憶手段を備え、
前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記操作対応ファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを前記メディア接続装置へ送信する処理を前記ホスト装置に実行させるための操作対応リンクを含むハイパーテキストファイルを生成し、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記ハイパーテキストファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記ハイパーテキストファイルを、前記ホスト装置に返信し、
前記ハイパーテキストファイルを受信したホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定と前記操作対応ファイル名記憶手段が記憶する一の操作対応ファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記一の操作対応ファイル名に対応する前記メディア操作を、前記記憶メディアを対象に実行する、
ことを特徴とするメディア接続システム
A media connection for connecting storage media;
Server means conforming to a protocol in which a procedure for transmitting a command indicating a directory name specification, a file name specification, and a file unit operation from the host device to the server device is defined;
A media connection device comprising:
A host device connected to the media connection device via a network;
A media connection system comprising:
The server means includes
Storing the storage medium and a media-compatible directory name in association with each other;
When a file operation command indicating a media-compatible directory name specification, one file name specification, and a file operation request for each file is received from a host device connected via a network by the procedure defined in the protocol, A storage medium corresponding to the media-corresponding directory name is stored, and the file operation is performed in units of files for a file having the one file name ,
The server means further includes:
Remember the hypertext file name,
An operation-corresponding file name storage means for storing a media operation in units of the storage medium including at least one of the format of the storage medium and the opening of the storage medium, and an operation-corresponding file name in association with each other;
A file operation command indicating the designation of a virtual directory name different from the media-corresponding directory name, the designation of the operation-corresponding file name, and a file operation request in units of files is transmitted to the media connection device according to the procedure determined by the protocol. Generating a hypertext file including an operation corresponding link for causing the host device to execute processing;
A file indicating a virtual directory name designation different from the media-corresponding directory name, a hypertext file name designation, and a data operation request in units of files from a host device connected via a network according to a procedure defined by the protocol When an operation command is received, the hypertext file is returned to the host device,
From the host device that has received the hypertext file, designation of the virtual directory name, designation of one operation-corresponding file name stored in the manipulation-corresponding file name storage means, and data operation in units of files in accordance with the procedure determined by the protocol When a file operation command indicating a request is received, the media operation corresponding to the one operation-compatible file name is executed on the storage medium;
A media connection system characterized by that.
前記ホスト装置は、前記所定のファイル名を持つファイルへのショートカットファイルを記憶していることを特徴とする請求項15に記載のメディア接続システムThe media connection system according to claim 15 , wherein the host device stores a shortcut file to the file having the predetermined file name . 記憶メディアを接続するメディア接続部と、
ディレクトリ名の指定とファイル名の指定とファイル単位の操作とを示すコマンドをホスト装置からサーバ装置へと送信する手順が定められたプロトコルに準拠するサーバ手段と、
を備えたメディア接続装置を、
前記サーバ手段は、
前記記憶メディアと、メディア対応ディレクトリ名と、を対応付けて記憶し、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順でメディア対応ディレクトリ名の指定と一のファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを受信した場合に、前記メディア対応ディレクトリ名に対応する記憶メディアが記憶しており前記一のファイル名を持つファイルを対象に前記ファイル単位のファイル操作を行ない、
前記サーバ手段は、さらに、
ハイパーテキストファイル名を記憶し、
前記記憶メディアのフォーマット、前記記憶メディアのオープン、のいずれかを少なくとも含む前記記憶メディア単位のメディア操作と、操作対応ファイル名と、を対応付けて記憶する操作対応ファイル名記憶手段を備え、
前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記操作対応ファイル名の指定とファイル単位のファイル操作要求とを示すファイル操作コマンドを前記メディア接続装置へ送信する処理を前記ホスト装置に実行させるための操作対応リンクを含むハイパーテキストファイルを生成し、
ネットワークを介して接続するホスト装置から、前記プロトコルで定められた手順で前記メディア対応ディレクトリ名とは異なる仮想ディレクトリ名の指定と前記ハイパーテキストファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記ハイパーテキストファイルを、前記ホスト装置に返信し、
前記ハイパーテキストファイルを受信したホスト装置から、前記プロトコルで定められた手順で前記仮想ディレクトリ名の指定と前記操作対応ファイル名記憶手段が記憶する一の操作対応ファイル名の指定とファイル単位のデータ操作要求とを示すファイル操作コマンドを受信した場合に、前記一の操作対応ファイル名に対応する前記メディア操作を、前記記憶メディアを対象に実行する、
ように操作することを特徴とするメディア接続システムの操作方法。
A media connection for connecting storage media;
Server means conforming to a protocol in which a procedure for transmitting a command indicating a directory name specification, a file name specification, and a file unit operation from the host device to the server device is defined;
A media connection device equipped with
The server means includes
Storing the storage medium and a media-compatible directory name in association with each other;
When a file operation command indicating a media-compatible directory name specification, one file name specification, and a file operation request for each file is received from a host device connected via a network by the procedure defined in the protocol, A storage medium corresponding to the media-corresponding directory name is stored, and the file operation is performed in units of files for a file having the one file name,
The server means further includes:
Remember the hypertext file name,
An operation-corresponding file name storage means for storing a media operation in units of the storage medium including at least one of the format of the storage medium and the opening of the storage medium, and an operation-corresponding file name in association with each other;
A file operation command indicating designation of a virtual directory name different from the media-corresponding directory name, designation of the operation-corresponding file name, and file operation request in units of files is transmitted to the media connection device in accordance with a procedure determined by the protocol. Generating a hypertext file including an operation corresponding link for causing the host device to execute processing;
A file indicating a virtual directory name designation different from the media-corresponding directory name, a hypertext file name designation, and a data operation request in units of files from a host device connected via a network according to a procedure defined by the protocol When an operation command is received, the hypertext file is returned to the host device,
From the host device that has received the hypertext file, designation of the virtual directory name, designation of one operation-corresponding file name stored in the manipulation-corresponding file name storage means, and data operation in units of files in accordance with the procedure determined by the protocol When a file operation command indicating a request is received, the media operation corresponding to the one operation-compatible file name is executed on the storage medium;
A method of operating a media connection system, characterized by:
JP2007050336A 2007-02-27 2007-02-28 Media connection device, media connection system, and operation method of media connection system Expired - Fee Related JP4389180B2 (en)

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 JP2008217140A (en) 2008-09-18
JP4389180B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5091923B2 (en) * 2009-07-06 2012-12-05 株式会社東芝 Electronic device and communication control method

Also Published As

Publication number Publication date
JP2008217140A (en) 2008-09-18

Similar Documents

Publication Publication Date Title
US9602678B2 (en) Peripheral device control system and method
JP4843187B2 (en) Image forming apparatus
US10838703B2 (en) Information processing apparatus and control method therefor
US8028244B2 (en) Status processing system, status processor, and status displaying method
US8086947B2 (en) Document processing apparatus, document processing system and data structure of document file
JP4389179B2 (en) Media connection device, media connection system, and operation method of media connection system
JP5562002B2 (en) Information processing apparatus, information processing method, and program
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
JP4241842B2 (en) FTP type processing apparatus, FTP system, and status display method
JP4953753B2 (en) Information processing apparatus, control method therefor, and program
JP4389180B2 (en) Media connection device, media connection system, and operation method of media connection system
JP5893295B2 (en) Information processing apparatus, display method, and program
JP4400758B2 (en) FTP type processing apparatus, FTP system, and status display method
JP5215802B2 (en) Printing device
JP5267624B2 (en) Information processing apparatus, display control method, program, and recording medium
JP2007156994A (en) Host apparatus and print control method
JP6743946B2 (en) Mobile terminal and program
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