JP2008090490A - Communication system, network type memory device, and printer - Google Patents

Communication system, network type memory device, and printer Download PDF

Info

Publication number
JP2008090490A
JP2008090490A JP2006268943A JP2006268943A JP2008090490A JP 2008090490 A JP2008090490 A JP 2008090490A JP 2006268943 A JP2006268943 A JP 2006268943A JP 2006268943 A JP2006268943 A JP 2006268943A JP 2008090490 A JP2008090490 A JP 2008090490A
Authority
JP
Japan
Prior art keywords
file
data
single file
tcp
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006268943A
Other languages
Japanese (ja)
Inventor
Megumi Kamata
恵 鎌田
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 JP2006268943A priority Critical patent/JP2008090490A/en
Publication of JP2008090490A publication Critical patent/JP2008090490A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication system for reducing a load to be imposed on a TCP/IP server, and for shortening a transfer time even when a plurality of small-scaled data files are transferred from a storage device having a TCP/IP server function via a TCP/IP network to a host device. <P>SOLUTION: A host device side is made to recognize a plurality of data files on a memory card as a virtual single file, and to transmit the transfer request to a storage device by using visual single file specification information. Then, the storage device side which has received this opens a TCP port decided for file transfer, and integrates a plurality of data files into an actual single file in this state, and transfers it via a TCP/IP network to the host device, and closes the TCP port after completion of the transfer. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、パーソナルコンピュータ(以下「PC」と略称する)やワークステーション等をホスト装置としてこれにネットワーク型記憶装置が接続された通信システムと、それに使用するネットワーク型記憶装置及びプリンタとに関する。   The present invention relates to a communication system in which a network type storage device is connected to a personal computer (hereinafter abbreviated as “PC”), a workstation or the like as a host device, and a network type storage device and printer used therefor.

特開2005−18645号公報JP 2005-18645 A 特開2005−107875号公報JP 2005-107875 A

近年、フラッシュメモリなどの不揮発性メモリがカード型にパッケージングされたいわゆるメモリーカード(記録メディアの一例)が広く知られている。このメモリーカードは、デジタルカメラや携帯音楽プレーヤーなどのデジタル機器に用いられるデータの記憶媒体として急速に普及している。メモリーカードの仕様は統一されておらず、例えば、コンパクトフラッシュ(登録商標、以下「CF」と略称する)、スマートメディア(登録商標、以下「SM」と略称する)、メモリースティック(登録商標、以下「MS」と略称する)、SDメモリーカード(登録商標、以下「SD」と略称する)など、種々のものが市場に出回っている。   In recent years, a so-called memory card (an example of a recording medium) in which a nonvolatile memory such as a flash memory is packaged in a card type is widely known. This memory card is rapidly spreading as a data storage medium used in digital devices such as digital cameras and portable music players. The specifications of the memory card are not unified. For example, compact flash (registered trademark, hereinafter abbreviated as “CF”), smart media (registered trademark, hereinafter abbreviated as “SM”), memory stick (registered trademark, hereinafter referred to as “SM”). Various products such as “MS” and SD memory card (registered trademark, hereinafter abbreviated as “SD”) are on the market.

上記メモリーカードは、PCなどに接続されてメモリーカードの読み書きを行なうメモリーカードリーダライタ(ネットワーク型記憶装置の一例、以下「リーダライタ」と略称する)を用いることで、PCから上記メモリーカードへのアクセスが可能となる。これにより、PCとメモリーカードとの間でデータ通信が行なえるようになる(特許文献1〜2)。近年ではこうしたリーダライタを搭載した印刷装置(プリンタ)も普及しており、JPEG形式等で保存された画像データファイルを書き込んだメモリーカードをリーダライタに装着することで、PCを経由せずに画像を直接印刷できるようになっている。   The memory card is connected to a PC or the like and uses a memory card reader / writer (an example of a network type storage device, hereinafter abbreviated as “reader / writer”) that reads and writes the memory card. Access is possible. As a result, data communication can be performed between the PC and the memory card (Patent Documents 1 and 2). In recent years, printing apparatuses (printers) equipped with such a reader / writer have also become widespread. By attaching a memory card in which an image data file saved in JPEG format or the like is mounted to the reader / writer, images can be transmitted without going through a PC. Can be printed directly.

上記のプリンタは、複数のPCにより共有できるよう、それらPCとのネットワーク接続が可能なネットワークプリンタとして構成可能である。この場合、ネットワークプリンタとPCとはTCP/IP(Transmission Control Protocol/Internet Protocol)ネットワーク(例えば、ローカルエリアネットワーク)を介して接続されることが多い。この場合、プリンタ側にTCP/IPサーバ機能(例えば、FTPサーバ機能)を搭載しておけば、デジタルカメラやカメラ付き携帯電話の撮影画像データファイルの保存先として使用されるメモリーカードを、プリンタのリーダライタに装着することで、そのメモリーカードに保存されているデータファイルをPCへ転送することができる(この場合、PC側にTCP/IPクライアント機能が必要であるが、近年のPCのシステムでは、インターネットの普及により標準搭載されるのが当たり前になっている)。つまり、プリンタのリーダライタをPCの外付け記憶装置として利用することが可能である。   The above printer can be configured as a network printer capable of network connection with a plurality of PCs so that the printers can be shared. In this case, the network printer and the PC are often connected via a TCP / IP (Transmission Control Protocol / Internet Protocol) network (for example, a local area network). In this case, if a TCP / IP server function (for example, an FTP server function) is installed on the printer side, a memory card used as a storage destination of a captured image data file of a digital camera or a camera-equipped mobile phone can be connected A data file stored in the memory card can be transferred to a PC by attaching it to a reader / writer (in this case, a TCP / IP client function is required on the PC side, but in recent PC systems, It is natural that it is installed as a standard due to the spread of the Internet). In other words, the reader / writer of the printer can be used as an external storage device of the PC.

TCP/IPにおいてTCPは、HTTP(Hyper Text Transfer Protocol)やFTP(File Transfer Protocol)などのアプリケーション・プロトコルとIPとの間に位置し、上位にあるアプリケーション・プロトコルとやり取りを行なって、必要に応じて、相手側との通信を制御する働きをなす。このため、複数の上位プロトコルとのやり取りのために、ポートと呼ばれる通信上の仕組みを有する(従って、該ポートは、あくまで通信プロトコル上に構築されるソフトウェア的な概念であって、ハードウェアポートのような物理的概念を意味するものではない)。TCPには、0〜65535番までのポートが存在し、TCPと上位プロトコルとのやり取りは、これらポートでデータを渡し、これらポートでデータを受け取る形で進められる。   In TCP / IP, TCP is located between application protocols such as HTTP (Hyper Text Transfer Protocol) and FTP (File Transfer Protocol) and IP, and exchanges with upper-layer application protocols as needed. Control communication with the other party. For this reason, it has a communication mechanism called a port for exchanging with a plurality of higher level protocols (therefore, the port is a software concept built on the communication protocol, Does not mean a physical concept like this). TCP has ports from 0 to 65535, and the exchange between the TCP and the upper protocol is advanced by passing data through these ports and receiving data through these ports.

このうち、0〜1023番までのポートは、一般に、Well-Knownポートと呼ばれ、サーバソフトウェア側(デーモンプログラム)のアプリケーション・プロトコルが、固定的に使用する(例えば、FTPは21番、SMTPは25番、HTTPは80番、POPは110番)。そして、各サーバソフトウェアは、自分に割り当てられたポートで待機して、そこにデータが届いた場合のみデータを受け取り、その処理を行なう。   Of these ports, ports 0 to 1023 are generally called well-known ports, and are used fixedly by the application protocol on the server software side (daemon program) (for example, FTP is 21 and SMTP is No. 25, HTTP No. 80, POP No. 110). Each server software waits at a port assigned to itself, receives data only when it reaches the port, and processes it.

ここで、TCPは、どのポートからどのポートへの接続なのかを内部情報として付加する仕組みを有し、その情報をもとに指定された接続先へ接続できるようになっている。例えば、FTPサーバ(サーバ側のFTP:ここでは、プリンタ)への接続なら、接続をする側(PC)にて、「接続先:相手の21番ポート、接続元:自らが使用したポート」の情報をTCPの送信データに付加する。これを受け取った相手側(プリンタ)のTCPでは、21番ポートに繋がるFTPにデータを渡し、そこから折り返しのデータを受け取る。その後、プリンタは、接続元であるPCのポートへ、「接続先:相手が使用したポート、接続元:自分の21番ポート」の情報を付加して、TCPによるデータの返送を行なう。このようにTCPでは、ポートの仕組みを持つことによって、ひとつのTCP上で、複数の異なる通信が実現できるようになっている。   Here, TCP has a mechanism for adding as internal information which port is connected to which port, and can connect to a specified connection destination based on that information. For example, if the connection is to an FTP server (FTP on the server side: printer in this case), the connection side (PC) on the connection side (PC) is “connection destination: partner's 21st port, connection source: port used by itself”. Information is added to TCP transmission data. In the TCP of the other party (printer) that received this, the data is transferred to the FTP connected to the 21st port, and the return data is received from there. Thereafter, the printer adds information of “connection destination: port used by the other party, connection source: own port 21” to the port of the PC that is the connection source, and returns data by TCP. In this way, TCP has a port mechanism so that a plurality of different communications can be realized on one TCP.

TCPによる通信制御においては、まず、接続する側と接続される側が互いのTCPポートをオープン(接続状態)にしてTCPコネクションを開設する。これにより、通信回線は接続状態となり、アプリケーション・プロトコルとのやり取りで生じたデータを、相手側のTCPとやり取りできるようになる。そして、TCP間でデータ送受信のやり取りを行った後は、通信回線の切断、つまり、互いに接続状態にあるTCPポートをクローズ(切断状態:TCPコネクションの終了)が必ず実行される。   In communication control by TCP, first, the connecting side and the connected side open a TCP connection by opening each other's TCP port (connected state). As a result, the communication line is in a connected state, and the data generated by the exchange with the application protocol can be exchanged with the other party's TCP. After data transmission / reception is exchanged between TCPs, the communication line is disconnected, that is, the TCP ports that are connected to each other are closed (disconnected state: TCP connection is terminated).

例えば、プリンタをTCP/IPサーバとして機能させ、上記のようにデータファイルをPCに転送する処理を行なう場合、図11に示すように、TCPコネクションは、1個のデータファイル転送につき1回開設する必要があり、TCPポートをオープンにしたままの状態で複数個のデータファイルを連続して転送することはプロトコル上許されない。   For example, when the printer functions as a TCP / IP server and performs the process of transferring the data file to the PC as described above, the TCP connection is opened once for each data file transfer as shown in FIG. It is necessary to transfer a plurality of data files continuously with the TCP port kept open.

例えば、メモリーカードにサイズの小さいデータファイルが多数格納されており、これを一括してPCに転送する場合を考えると、個々のデータファイルは小さいので、転送すべき総データ量は比較的小さいが、データファイル数だけはやたらに多くなる。しかし、上記のごとく、TCP/IPでは、データファイル数が増加すると、ポートの接続・切断の発生回数もそれに正比例して増大するから、サーバに対する負荷が増大し、総データ量が少ないにも拘わらず、転送時間が非常に長大化する問題が発生する。こうした問題は、例えは、カメラ付き携帯電話などで圧縮率の高い画像データファイルを内蔵のメモリーカードに長期に渡って撮り溜め、その画像データファイルをPCに一括保存したいような場合に発生する。   For example, when a large number of small data files are stored on a memory card and transferred to a PC at a time, the individual data files are small, so the total amount of data to be transferred is relatively small. Only the number of data files increases. However, as described above, in TCP / IP, when the number of data files increases, the number of port connection / disconnection increases in direct proportion to this, so the load on the server increases and the total data amount is small. Therefore, there arises a problem that the transfer time becomes very long. Such a problem occurs, for example, when an image data file with a high compression rate is stored in a built-in memory card for a long period of time using a camera-equipped mobile phone or the like, and the image data file is to be collectively stored in a PC.

本発明の課題は、TCP/IPサーバ機能を有したネットワーク型記憶装置からホスト装置へTCP/IPネットワークを介してサイズの小さいデータファイルを多数個転送する際にあっても、TCP/IPサーバにかかる負荷を軽減でき、転送時間を短縮することができる通信システムと、それに使用するネットワーク型記憶装置ないし該ネットワーク型記憶装置を組み込んだプリンタとを提供することにある。   An object of the present invention is to provide a TCP / IP server with a TCP / IP server even when a large number of small data files are transferred from a network storage device having a TCP / IP server function to a host device via a TCP / IP network. An object of the present invention is to provide a communication system capable of reducing such a load and shortening a transfer time, and a network type storage device used in the communication system or a printer incorporating the network type storage device.

課題を解決する手段及び発明の効果Means for solving the problems and effects of the invention

上記の課題を解決するための、本発明の通信システムは、
メディア装着用スロットと、ファイル単位による記憶データの読出し、書込み及び消去が可能とされた不揮発性メモリからなり、該メディア装着用スロットに着脱可能に装着される着脱式記憶メディアとを備えたネットワーク型記憶装置と、TCP/IPネットワークにより該ネットワーク型記憶装置と接続されるホスト装置とを備えるとともに、ネットワーク型記憶装置に、
該ネットワーク型記憶装置自身をホスト装置に対するTCP/IPサーバとして機能させるためのTCP/IPサーバ機能付与手段と、
着脱式記憶メディアに記憶された複数のデータファイルを仮想的に統合した仮想単一ファイルの特定情報を、TCP/IPネットワークを介してホスト装置上に公開する仮想単一ファイル特定情報送信手段と、
公開された該仮想単一ファイル特定情報を用いてホスト装置にて発行される単一ファイル転送要求を、TCP/IPネットワークを介して受信する単一ファイル転送要求受信手段と、
単一ファイル転送要求を受け、ファイル転送用に定められたTCPポートをオープンし、その状態で、複数のデータファイルを実単一ファイルに統合し、TCP/IPネットワークを介してホスト装置に転送するとともに、当該転送の完了後にTCPポートをクローズするファイル統合転送手段と、を有してなることを特徴とする。
In order to solve the above problems, the communication system of the present invention includes:
A network type comprising a slot for mounting a medium and a removable storage medium comprising a non-volatile memory capable of reading, writing and erasing stored data in units of files and detachably mounted in the slot for mounting the medium A storage device and a host device connected to the network storage device via a TCP / IP network;
TCP / IP server function giving means for causing the network storage device itself to function as a TCP / IP server for the host device;
Virtual single file specifying information transmitting means for publishing specific information of a virtual single file obtained by virtually integrating a plurality of data files stored in a removable storage medium on a host device via a TCP / IP network;
Single file transfer request receiving means for receiving a single file transfer request issued by a host device using the published virtual single file specifying information via a TCP / IP network;
Upon receiving a single file transfer request, a TCP port defined for file transfer is opened, and in that state, a plurality of data files are integrated into a real single file and transferred to a host device via a TCP / IP network And an integrated file transfer means for closing the TCP port after the transfer is completed.

また、本発明のネットワーク型記憶装置は、上記本発明の通信システムに使用されるものであって、
該ネットワーク型記憶装置自身をホスト装置に対するTCP/IPサーバとして機能させるためのTCP/IPサーバ機能付与手段と、
着脱式記憶メディアに記憶された複数のデータファイルを仮想的に統合した仮想単一ファイルの特定情報を、TCP/IPネットワークを介してホスト装置上に公開する仮想単一ファイル特定情報送信手段と、
公開された該仮想単一ファイル特定情報を用いてホスト装置にて発行される単一ファイル転送要求を、TCP/IPネットワークを介して受信する単一ファイル転送要求受信手段と、
単一ファイル転送要求を受け、ファイル転送用に定められたTCPポートをオープンし、その状態で、複数のデータファイルを実単一ファイルに統合し、TCP/IPネットワークを介してホスト装置に転送するとともに、当該転送の完了後にTCPポートをクローズするファイル統合転送手段と、を有してなることを特徴とする。
The network type storage device of the present invention is used in the communication system of the present invention,
TCP / IP server function giving means for causing the network storage device itself to function as a TCP / IP server for the host device;
Virtual single file specifying information transmitting means for publishing specific information of a virtual single file obtained by virtually integrating a plurality of data files stored in a removable storage medium on a host device via a TCP / IP network;
Single file transfer request receiving means for receiving a single file transfer request issued by a host device using the published virtual single file specifying information via a TCP / IP network;
In response to a single file transfer request, a TCP port defined for file transfer is opened, and in that state, a plurality of data files are integrated into a real single file and transferred to a host device via a TCP / IP network. And an integrated file transfer means for closing the TCP port after the transfer is completed.

上記本発明によると、ネットワーク型記憶装置にTCP/IPサーバ機能を付与し、これに装着される着脱式記憶メディア内の複数のデータファイルを仮想的に統合して取り扱い、その仮想単一ファイルの特定情報をTCP/IPネットワークを介してホスト装置に公開する。これにより、上記複数のデータファイルは、ホスト装置側では仮想単一ファイルとして認識され、当該仮想単一ファイル特定情報を用いてその転送要求を出す(単一ファイル転送要求)。そして、これを受けたネットワーク型記憶装置側では、ファイル転送用に定められたTCPポートをオープンし、その状態で、複数のデータファイルを実単一ファイルに統合し、TCP/IPネットワークを介してホスト装置に転送するとともに、当該転送の完了後にTCPポートをクローズする。つまり、実質的には複数のデータファイルの転送要求であるにも拘わらず、TCP/IPクライアントとなるホスト装置側では、仮想単一ファイル特定情報を用いることで、TCP/IPに整合する単一のデータファイル転送要求として、これをネットワーク型記憶装置側に指示することができる。そして、これを受けたネットワーク型記憶装置は、それら複数のデータファイルを実際に1つのファイルに統合しつつホスト装置に転送することで、TCP/IPに整合する単一データファイルの転送処理として実行することができる。その結果、複数のデータファイルの転送処理であるにも拘わらず、TCPコネクションの開設及び終了に係る処理、すなわち、TCPポートのオープン/クローズ処理がたった1回で済むようになり、サイズの小さいデータファイルを多数個転送する際にあっても、TCP/IPサーバにかかる負荷を軽減でき、転送時間を短縮することができる。   According to the present invention, a TCP / IP server function is added to a network type storage device, and a plurality of data files in a removable storage medium attached to the network type storage device are virtually integrated and handled. The specific information is disclosed to the host device via the TCP / IP network. As a result, the plurality of data files are recognized as virtual single files on the host device side, and a transfer request is issued using the virtual single file specifying information (single file transfer request). In response to this, the network type storage device side opens a TCP port defined for file transfer, and in that state, integrates a plurality of data files into a real single file, via the TCP / IP network. The data is transferred to the host device, and the TCP port is closed after the transfer is completed. In other words, despite the fact that it is a transfer request for a plurality of data files, the host device side that is a TCP / IP client uses a single virtual file specifying information to match a single file that matches TCP / IP. This data file transfer request can be instructed to the network type storage device side. Then, the network type storage device that has received this is executed as a transfer process of a single data file consistent with TCP / IP by transferring these data files to the host device while actually consolidating them into one file. can do. As a result, despite the transfer process of a plurality of data files, the process related to the opening and closing of the TCP connection, that is, the TCP port opening / closing process can be performed only once, and the data with a small size can be obtained. Even when a large number of files are transferred, the load on the TCP / IP server can be reduced and the transfer time can be shortened.

本発明のプリンタは、TCP/IPネットワークを介してホスト装置にされ、ホスト装置から該TCP/IPネットワークを介して送信される印刷データに基づいて印刷を実行可能なネットワークプリンタとして構成されるとともに、該ネットワーク型記憶装置に装着される着脱式記憶メディアに記憶された印刷データに基づく直接印刷を行なうための直接印刷スロット部が、上記本発明のネットワーク型記憶装置として構成されてなることを特徴とする。この構成によると、プリンタが直接印刷スロット部付きのTCP/IPサーバとして機能するとともに、デジタルカメラやカメラ付き携帯電話の撮影画像データファイルの保存先として使用される着脱式記憶メディアを、その直接印刷スロット部に装着することで、該着脱式記憶メディアに保存されているデータファイルをホスト装置(PC)へ転送することができる。そして、そのデータファイルのホスト装置への転送を、つまり、プリンタのリーダライタをPCの外付け記憶装置として利用することが可能である。   The printer of the present invention is configured as a network printer that is configured as a host device via a TCP / IP network and can execute printing based on print data transmitted from the host device via the TCP / IP network, A direct printing slot unit for performing direct printing based on print data stored in a removable storage medium attached to the network type storage device is configured as the network type storage device of the present invention. To do. According to this configuration, the printer functions as a TCP / IP server with a direct print slot, and the detachable storage medium used as a storage location for the captured image data file of a digital camera or a mobile phone with a camera is directly printed. By attaching to the slot portion, the data file stored in the removable storage medium can be transferred to the host device (PC). The data file can be transferred to the host device, that is, the reader / writer of the printer can be used as an external storage device of the PC.

TCP/IPサーバ機能付与手段は、ネットワーク型記憶装置をFTPサーバとして機能させるものとすることができる。FTPの採用により、ファイル転送プロトコルが単純化されるので、ファイル統合転送手段を機能実現するためのプログラミングの容易化を図ることができる。   The TCP / IP server function providing means may cause the network storage device to function as an FTP server. Since the file transfer protocol is simplified by adopting FTP, it is possible to facilitate the programming for realizing the function of the file integrated transfer means.

次に、(TCP/IPクライアントとなる)ホスト装置には、受信した実単一ファイルを、複数の元データファイルに分離して保存するファイル分離保存手段を設けることができる。これにより、転送されてくる実単一ファイルを元の複数のデータファイルにホスト装置側で復元でき、それらデータファイルをホスト装置側で容易に個別活用することができる。   Next, the host device (which becomes a TCP / IP client) can be provided with a file separation / save means for separating and storing the received real single file into a plurality of original data files. Thus, the transferred real single file can be restored to the original plurality of data files on the host device side, and these data files can be easily used individually on the host device side.

次に、ファイル統合手段は、各データファイルを構成するデータ部と、当該データ部が属するデータファイルの特定情報を少なくとも含むヘッダ部とを交互に配列する形で実単一ファイルを作成するものとすることができる。これにより、ヘッダ部により元のデータファイルを識別できる梱包形式でファイル統合を図ることができ、当該実単一ファイルからの複数のデータファイルの復元も容易である。   Next, the file integration means creates a real single file by alternately arranging a data portion constituting each data file and a header portion including at least specific information of the data file to which the data portion belongs. can do. Thereby, file integration can be achieved in a packing format in which the original data file can be identified by the header part, and a plurality of data files can be easily restored from the actual single file.

より具体的には、ファイル統合手段は、データファイルの圧縮エンジンを搭載したファイル圧縮梱包ソフトウェアにより機能実現することができる。この場合、ヘッダには、データ部に施されている圧縮処理の仕様を特定する圧縮仕様特定情報が含まれる。これにより、LHAやZIPなど既存のファイル圧縮梱包ソフトウェアを仕様流用して、ファイル統合の機能実現プログラムを容易に構築することができる。   More specifically, the file integration means can be realized by a function of file compression and packing software equipped with a data file compression engine. In this case, the header includes compression specification specifying information for specifying the specification of the compression processing applied to the data portion. As a result, it is possible to easily construct a file integration function realization program by diverting specifications of existing file compression and packing software such as LHA and ZIP.

ここで、ファイル圧縮梱包ソフトウェアを使用するといっても、実単一ファイルのデータ部は、必ずしもデータ圧縮されている必要はない。すなわち、ファイル統合手段は、データ部を非圧縮にて実単一ファイルに組み込むものとすることができる。データ圧縮を行なわないことで、TCP/IPサーバとなるネットワーク型記憶装置側でのデータ処理付加を軽減することができる。この場合、上記の圧縮仕様特定情報を「非圧縮」を示すものとして特定しておけばよい。   Here, even if the file compression packing software is used, the data portion of the actual single file does not necessarily need to be compressed. That is, the file integration means can incorporate the data part into an actual single file without compression. By not performing data compression, it is possible to reduce the addition of data processing on the network type storage device side serving as a TCP / IP server. In this case, the compression specification specifying information may be specified as indicating “non-compressed”.

ファイル統合は、着脱式記憶メディア内の複数データファイルを対象としたものであるが、統合により具現化する実単一ファイルは、TCP/IPネットワーク上での転送シーケンスにて該実単一ファイルに整合するデータ配列が実現していればよい。例えば、ファイル統合転送手段は、ファイル統合転送手段は、TCPポートをオープンした後、データファイルに対応するヘッダ部を作成し、そのヘッダ部に対応するデータファイルを読み出し、これをデータ部としてヘッダ部に結合し、該ヘッダ部の結合されたデータ部をホスト装置に転送する処理を順次実行し、該転送処理が完了した後、TCPポートをクローズするものとして構成できる。これにより、実単一ファイルはネットワーク型記憶装置側のメモリ上に顕在化させた形で作成されなくなり、ネットワーク型記憶装置側のメモリ(着脱式記憶メディアを含む)への余分なデータ書込みが削減されるので、転送処理負荷をさらに軽減することができる。   File integration is intended for multiple data files in a removable storage medium, but an actual single file embodied by integration is converted to the actual single file in a transfer sequence on a TCP / IP network. It is only necessary that a matching data array is realized. For example, the file integrated transfer means, after opening the TCP port, the file integrated transfer means creates a header portion corresponding to the data file, reads out the data file corresponding to the header portion, and uses this as the data portion as the header portion. , And sequentially transferring the data portion combined with the header portion to the host device, and after the transfer processing is completed, the TCP port is closed. As a result, the actual single file is no longer created in the form of actualization on the memory on the network storage device side, and unnecessary data writing to the memory on the network storage device side (including removable storage media) is reduced. Therefore, the transfer processing load can be further reduced.

次に、統合対象となる複数のデータファイルは、着脱式記憶メディア内のルートディレクトリ上にて管理されるデータフォルダ内に格納されたものとすることができる。ネットワーク型記憶装置には、データフォルダを特定するデータフォルダ特定情報を仮想単一ファイル特定情報に変換する仮想単一ファイル特定情報変換手段を設けることができる。また、仮想単一ファイル特定情報公開手段は、該変換により得られた仮想単一ファイル特定情報をホスト装置に対して公開するものとすることができる。着脱式記憶メディアをなすメモリーカードのほとんどは、データエリアを広く確保するために、固定エリアとなるルートディレクトリのサイズを小さめに設定したフォーマットを採用している。そのため、デジタルカメラやカメラ付き携帯電話などに採用されるメモリーカードでは、多数のデータファイル(画像ファイル)がルートディレクトリ上に直接配置されるような状況は実施的にありえず、ルートディレクトリ上にて管理されるデータフォルダ内にデータファイルを格納する方式が必然的に採用される。そこで、これを逆利用して、ルートディレクトリ上のフォルダ内に統合転送すべきデータファイルを集めておけば、まとめて転送するべきデータファイルを、その格納先フォルダにより容易に特定することができる。   Next, a plurality of data files to be integrated may be stored in a data folder managed on the root directory in the removable storage medium. The network type storage device may be provided with virtual single file specifying information converting means for converting data folder specifying information for specifying a data folder into virtual single file specifying information. Further, the virtual single file specifying information disclosing means may disclose the virtual single file specifying information obtained by the conversion to the host device. Most memory cards that are removable storage media use a format in which the size of the root directory, which is a fixed area, is set to be small in order to secure a large data area. For this reason, with memory cards used in digital cameras and camera-equipped mobile phones, there is no practical situation where a large number of data files (image files) are placed directly on the root directory. A method of storing data files in a managed data folder is inevitably adopted. Thus, if the data files to be integrated and transferred are collected in the folder on the root directory by using this reversely, the data files to be transferred collectively can be easily specified by the storage destination folder.

なお、TCP/IPにて通常のフォルダ転送を実行すると、フォルダと、その中に格納されているデータファイルとが個別に転送される処理が実行され、TCPコネクションの開設及び終了がその都度実行される状況には何ら変わりがない。従って、該TCPコネクションが頻繁化することにより処理負荷を軽減するためには、フォルダ内の複数のデータファイルを単一ファイルに統合する処理がいずれにしても必要である。   When normal folder transfer is executed with TCP / IP, a process of transferring a folder and a data file stored in the folder separately is executed, and opening and closing of a TCP connection is executed each time. There is no change in the situation. Therefore, in order to reduce the processing load due to frequent TCP connections, it is necessary in any case to integrate a plurality of data files in a folder into a single file.

この場合、着脱式記憶メディア上にて転送するべきデータファイルはデータフォルダ内に格納されているから、ネットワーク型記憶装置側からホスト装置に公開する仮想単一ファイル特定情報は、このフォルダ名が反映された情報にしておくと、ホスト装置側からこの該仮想単一ファイル特定情報によりデータファイルの転送要求があったとき、TCP/IPサーバとなるネットワーク型記憶装置は、それらデータファイルがどのデータフォルダに格納されたものであるかを、該仮想単一ファイル特定情報から容易に解析できる。   In this case, since the data file to be transferred on the removable storage medium is stored in the data folder, this folder name is reflected in the virtual single file specifying information disclosed to the host device from the network type storage device side. If the data is transferred from the host device by the virtual single file specifying information, the network type storage device that becomes the TCP / IP server stores the data file in which data folder. It can be easily analyzed from the virtual single file specifying information.

具体的には、フォルダを介してデータファイル転送を行なう場合、仮想単一ファイル特定情報変換手段は、
データフォルダ特定情報をなすフォルダ名に対し、仮想単一ファイルであることを示す識別子を付加することによりフォルダ名を、仮想単一ファイル特定情報をなす仮想単一ファイル名に変換するものとして構成することができる。ファイル統合転送手段は、転送するべきデータファイルのファイル名を用いてホスト装置から発行されるファイル転送要求を受け、当該ファイル名が識別子を含む仮想単一ファイル名であるか否か判定する仮想単一ファイル名判定手段と、
ファイル名が仮想単一ファイル名であると判定された場合に、仮想単一ファイル名からフォルダ名を抽出するフォルダ名抽出手段と、を備え、抽出されたフォルダ名により特定されるデータフォルダ内の複数のデータファイルを実単一ファイルとして統合し、該実単一ファイルをホスト装置に転送する実単一ファイル転送手段と、
仮想単一ファイル名判定手段により仮想単一ファイル名と判定されなかったデータファイルを、通常ファイルとしてファイル統合せずにホスト装置に転送する通常ファイル転送手段と、を有するものとして構築できる。
Specifically, when performing data file transfer via a folder, the virtual single file specifying information converting means
Configure the folder name to be converted into a virtual single file name that constitutes virtual single file identification information by adding an identifier indicating that it is a virtual single file to the folder name that constitutes data folder identification information Can do. The file integrated transfer means receives a file transfer request issued from the host device using the file name of the data file to be transferred, and determines whether or not the file name is a virtual single file name including an identifier. A file name determination means;
Folder name extracting means for extracting a folder name from the virtual single file name when it is determined that the file name is a virtual single file name, and a plurality of data folders in the data folder identified by the extracted folder name Real single file transfer means for integrating the data files as real single files and transferring the real single files to the host device;
The data file that has not been determined to be a virtual single file name by the virtual single file name determination unit can be constructed as having a normal file transfer unit that transfers the data file to the host device as a normal file without integrating the files.

すなわち、ホスト装置側からネットワーク型記憶装置にデータファイルの転送要求を行なう場合、TCP/IPでは、そのファイル名を指定する形で転送要求がなされる。この場合、規定された条件を充足する限り、その実体がネットワーク型記憶装置側に実在する個別のデータファイルであるか、あるいは、ネットワーク型記憶装置側に本来存在しない仮想単一ファイルであるかとは無関係に、TCP/IPはそのファイル名の転送を許容する。そして、一旦ネットワーク型記憶装置側に到達してしまえば、ネットワーク型記憶装置側では、TCP/IPに依存しない解析処理により、そのファイル名が上記識別子を含む仮想単一ファイル名であるか否かを判定することができる。そして、これが仮想単一ファイル名と判定されれば、その仮想単一ファイル名に含まれるフォルダ名を手がかりとして、転送すべきデータファイルが格納されているデータフォルダにアクセスし、仮想単一ファイル名を受信した段階では存在していない統合ファイルをその場で作成して、それを要求された仮想単一ファイル名に対応する実単一ファイルとして、TCP/IPに従いホスト装置に転送するのである。つまり、TCP/IPはあくまで通信プロトコルであるから、ファイル名やファイル形式が、プロトコル上許容されるものでありさえすれば、転送データファイルの格納先フォルダを「ファイル名」(現実には存在しない「仮想単一ファイル」のファイル名である)で指定し、これを統合ファイルの形で転送することで、実質的には複数のデータファイルの転送処理となるにも拘わらず、これを単一ファイルの転送処理としてTCP/IP上で認識させる(換言すれば、TCP/IPを欺く)ことができるのである。これにより、TCP/IP上では本来不可能であった、TCPコネクションの1回の開設/切断にて複数データファイルを転送する処理を、プロトコル仕様を一切変更することなく実現することができる。   That is, when a data file transfer request is made from the host device side to the network type storage device, the transfer request is made by designating the file name in TCP / IP. In this case, as long as the specified conditions are satisfied, whether the entity is an individual data file that actually exists on the network type storage device side or a virtual single file that does not originally exist on the network type storage device side. Regardless, TCP / IP allows the transfer of the file name. Once the network type storage device side is reached, the network type storage device side determines whether or not the file name is a virtual single file name including the identifier by an analysis process independent of TCP / IP. Can be determined. If this is determined to be a virtual single file name, the data folder storing the data file to be transferred is accessed using the folder name included in the virtual single file name as a clue, and the virtual single file name is determined. An integrated file that does not exist at the reception stage is created on the spot, and is transferred as a real single file corresponding to the requested virtual single file name to the host device according to TCP / IP. That is, since TCP / IP is a communication protocol to the last, if the file name and file format are permitted by the protocol, the storage folder of the transfer data file is “file name” (which does not actually exist). (Virtual single file) file name), and transferring it in the form of an integrated file, this is essentially a transfer process for multiple data files. It can be recognized on TCP / IP as a file transfer process (in other words, TCP / IP is deceived). As a result, a process of transferring a plurality of data files by opening / disconnecting a TCP connection once, which was originally impossible on TCP / IP, can be realized without changing any protocol specifications.

なお、ファイル統合により作成される実単一ファイルは、ホスト装置に転送されてからもとの複数データファイルに復元する処理(例えば、梱包や圧縮を解除する解凍処理)がどうしても必要になる。この場合、データフォルダ内のファイル数が多くない場合は、TCPコネクションによる負荷増大はそれほど顕著でなく、TCP/IPによる通常のフォルダ転送としたほうが、上記データファイル復元処理が不要となる分だけ却って便利になることもある。そこで、仮想単一ファイル特定情報公開手段は、複数のデータファイルを格納するデータフォルダのフォルダ名を、当該データフォルダに対応した仮想単一ファイル名ともにホスト装置上に公開するものとすることができる。この場合、ファイル統合転送手段は、ホスト装置から、フォルダ名にてデータフォルダ内のデータファイルの転送要求を受けた場合には、通常ファイル転送手段により、それらデータファイルをデータフォルダに格納された状態で個別転送(つまり、通常フォルダ転送)する一方、仮想単一ファイル名にてデータフォルダ内のデータファイルの転送要求を受けた場合には、実単一ファイル転送手段により実単一ファイルに統合した形で転送するものとすることができる。これにより、ホスト装置側で通常フォルダ転送と、実単一ファイルへの統合転送とを、ユーザーの希望により随時選択して実行することが可能となる。   It should be noted that the actual single file created by the file integration needs to be restored to the original plurality of data files after being transferred to the host device (for example, decompression processing for releasing packing or compression). In this case, when the number of files in the data folder is not large, the load increase due to the TCP connection is not so remarkable, and the normal folder transfer by TCP / IP is more convenient because the data file restoration process is unnecessary. Sometimes it becomes. Therefore, the virtual single file specifying information disclosing means can publish the folder name of the data folder storing a plurality of data files together with the virtual single file name corresponding to the data folder on the host device. In this case, when the file integrated transfer means receives a transfer request for the data file in the data folder by the folder name from the host device, the file integrated transfer means individually stores the data files in the data folder by the normal file transfer means. When a request for transferring a data file in a data folder is received with a virtual single file name while transferring (that is, normal folder transfer), transfer is performed in a form integrated into a real single file by a real single file transfer means. Can be. As a result, it is possible to select and execute the normal folder transfer and the integrated transfer to the actual single file as required by the user on the host device side.

以下、適宜図面を参照して本発明の実施形態に係るFTP通信システムについて説明する。なお、以下に説明するFTP通信システムの構成は、本発明を具現化するための単なる一例であり、本発明の要旨を変更しない範囲で構成を適宜変更できることは当然である。図1は、上記FTP通信システム1の概略構成を示すブロック図である。FTP通信システム1は、 プリンタ80と、該プリンタ80をネットワークプリンタとして使用するホスト装置(パーソナルコンピュータ:以下、「PC]ともいう)3と、ローカルエリアネットワークからなり、プリンタ80とホスト装置3とを接続するTCP/IPネットワーク410とを備える。   An FTP communication system according to an embodiment of the present invention will be described below with reference to the drawings as appropriate. Note that the configuration of the FTP communication 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 communication system 1. The FTP communication system 1 includes a printer 80, a host device (personal computer: hereinafter referred to as “PC”) 3 that uses the printer 80 as a network printer, and a local area network, and includes the printer 80 and the host device 3. And a TCP / IP network 410 to be connected.

図2は、プリンタ80の外観構成を示すものである。該プリンタ80は、いわゆる多機能装置(MFD:Multi Function Device)であり、ネットワーク型記憶装置をなすマルチリーダライタ2をプリンタに組み込んだプリンタ複合機として構成されている。具体的には、筐体下部に配設された印刷部82と、その上部に配設されたスキャナ部83と、原稿フィーダ84を備えた原稿カバー86と、装置上面の前方側に配置された操作パネル85と、装置前面にメディア装着用スロット(以下、単に「スロット」ともいう)16〜19が露出するように配設されたマルチリーダライタ2とを一体的に備えてなり、プリンタ機能、スキャナ機能、コピー機能及びファクシミリ機能などを有する。   FIG. 2 shows an external configuration of the printer 80. The printer 80 is a so-called multi-function device (MFD), and is configured as a printer multi-function machine in which the multi-reader / writer 2 forming a network type storage device is incorporated in a printer. Specifically, the printing unit 82 disposed in the lower part of the casing, the scanner unit 83 disposed in the upper part, the document cover 86 provided with the document feeder 84, and the front side of the upper surface of the apparatus. An operation panel 85 and a multi-reader / writer 2 disposed so that media mounting slots (hereinafter also simply referred to as “slots”) 16 to 19 are exposed on the front surface of the apparatus. It has a scanner function, a copy function, and a facsimile function.

プリンタ80は、PC3(図1)から送信された画像データや文書データを含む印刷データに基づき、印刷部82において、画像や文書を所定の用紙に印刷する。また、印刷部82は、マルチリーダライタ2によってメモリーカード(着脱式記憶メディア)から読み取られた上記印刷データに基づいても、画像や文書を所定の用紙に印刷する(直接印刷)。さらに、PC3と接続されて、PC3とマルチリーダライタ2に挿入されたメモリーカードとの間でデータ通信を行なうリーダライタ装置としても機能する。また、スキャナ部83により読み取られた画像データをPC3へ送信したり、スキャナ部83で読み取った画像を印刷部82を用いてコピーすることも可能である。   The printer 80 prints an image or document on a predetermined sheet in the printing unit 82 based on print data including image data and document data transmitted from the PC 3 (FIG. 1). Further, the printing unit 82 prints an image or a document on a predetermined sheet (direct printing) based on the print data read from the memory card (detachable storage medium) by the multi-reader / writer 2. Further, it functions as a reader / writer device that is connected to the PC 3 and performs data communication between the PC 3 and the memory card inserted into the multi-reader / writer 2. Further, the image data read by the scanner unit 83 can be transmitted to the PC 3, and the image read by the scanner unit 83 can be copied using the printing unit 82.

プリンタ80のマルチリーダライタ2は、図2に示すように、メディア装着用スロット16〜19として、第1メモリーカード11を挿入するための第1スロット16と、第2メモリーカード12を挿入するための第2スロット17と、第3メモリーカード13を挿入するための第3スロット18と、第4メモリーカード14を挿入するための第4スロット19とを備えている。また、筐体前面には、表示部としての液晶パネル(LCD)21と、テンキーを含むキーボード91と、LCD21上でのカーソル移動に使用するカーソル移動キー92とが設けられている。また、液晶パネル(LCD)21に隣接する位置にも種々のメニューキー93,95が配設されている。該マルチリーダライタ2はUSB/SCSI型周辺機器として構成されている。   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 into the media mounting 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. In addition, a liquid crystal panel (LCD) 21 as a display unit, a keyboard 91 including a numeric keypad, and a cursor movement key 92 used for moving the cursor on the LCD 21 are provided on the front surface of the housing. Various menu keys 93 and 95 are also arranged at positions adjacent to the liquid crystal panel (LCD) 21. The multi-reader / writer 2 is configured as a USB / SCSI type peripheral device.

図3は、上記プリンタ80の電気的構成を示すブロック図である。マルチリーダライタ2は、その内部に、各構成部を制御するCPU34と、制御プログラムや種々のデータ等を格納するROM35(本実施形態では、不揮発性メモリ(フラッシュメモリメモリ等)にて構成している)と、CPU34による演算の作業領域となるRAM37と、がバス33を介して相互にデータ転送が可能なように接続されている。また、バス33には、フラッシュメモリ制御用LSI231を介して各スロット16〜19が接続されている。これらロット16〜19に着脱可能に装着される各第1〜第4メモリーカード11〜14は、例えば、コンパクトフラッシュ(CF:第1メモリーカード11)、スマートメディア(SM:第2メモリーカード12)、メモリースティック(MS:メモリーカード13)、SDメモリーカード(SD:第4メモリーカード14)など、PC3によるデータの書込み、書き換え、消去、読出し、メディア装着確認等のデータアクセスが可能なフラッシュメモリを搭載したカード型記憶メディアである。なお、SDメモリーカード用のスロット19には、変換用アダプタ(非図示)を用いてminiSDカードを装着することもできる。   FIG. 3 is a block diagram showing an electrical configuration of the printer 80. The multi-reader / writer 2 includes a CPU 34 for controlling each component and a ROM 35 (in this embodiment, a non-volatile memory (flash memory memory, etc.) for storing control programs and various data. And a RAM 37 serving as a work area for computations by the CPU 34 are connected to each other via the bus 33 so that data can be transferred to each other. The slots 16 to 19 are connected to the bus 33 via the flash memory control LSI 231. The first to fourth memory cards 11 to 14 which are detachably attached to the lots 16 to 19 are, for example, compact flash (CF: first memory card 11), smart media (SM: second memory card 12). Equipped with flash memory that allows data access such as writing, rewriting, erasing, reading, and media loading confirmation by PC3, such as memory stick (MS: memory card 13), SD memory card (SD: fourth memory card 14), etc. Card-type storage media. Note that a miniSD card can be mounted in the SD memory card slot 19 using a conversion adapter (not shown).

バス33には、印刷部ドライバLSI113を介して印刷部82が接続されている。スキャナ部132は、スキャナドライバLSI112を介して接続されている。また、モデムドライバLSI114が接続され、これに外部電話通信網などを接続するための電話線端子133が接続されている。他方、入力・表示用LSI111を介して、前述のLCD21、キーボード91及びカーソル移動キー92などが繋がれている。さらに、バス33には、イーサネット(登録商標)LSI232、ローカルエリアネットワーク端子24及び第一のネットワークを介してホスト装置であるPC3が接続されている。複数のPC3及びプリンタ80はTCP/IPネットワーク410内にてハブ7により相互接続されている(図1参照)。   A printing unit 82 is connected to the bus 33 via a printing unit driver LSI 113. The scanner unit 132 is connected via the scanner driver LSI 112. Further, a modem driver LSI 114 is connected, and a telephone line terminal 133 for connecting an external telephone communication network or the like is connected thereto. On the other hand, the above-described LCD 21, keyboard 91, cursor movement key 92, and the like are connected via the input / display LSI 111. Further, the PC 33 as the host device is connected to the bus 33 via the Ethernet (registered trademark) LSI 232, the local area network terminal 24, and the first network. The plurality of PCs 3 and the printer 80 are interconnected by the hub 7 in the TCP / IP network 410 (see FIG. 1).

ROM35には、印刷部82の動作制御を司るプログラム、スキャナ部132の動作制御を司るプログラム、モデム114を介したファックス通信制御を司るプログラム、及び、キーボード91あるいはカーソル移動キー92(及び、図3では図示を略しているが、メニューキー93,95及び実行キー94なども含む)からの入力制御や、LCD21への表示出力を司るプログラム、さらに、マルチリーダライタ2の動作制御プログラムが格納され、CPU34は、これらプログラムを、RAM37を実行エリアとして実行することで、プリンタ複合機としての総合的な動作制御を行なう(これらのプログラムは周知部分なので図示を省略している)。   The ROM 35 has a program for controlling the operation of the printing unit 82, a program for controlling the operation of the scanner unit 132, a program for controlling fax communication via the modem 114, and the keyboard 91 or the cursor movement key 92 (and FIG. 3). In FIG. 4, a program for controlling input from the menu keys 93 and 95 and the execution key 94, display output to the LCD 21, and an operation control program for the multi-reader / writer 2 are stored. The CPU 34 performs comprehensive operation control as a multifunction printer by executing these programs using the RAM 37 as an execution area (these programs are well-known parts and are not shown).

また、ROM35にはFTPサーバプログラムが格納されている。FTPサーバプログラムは、プリンタ80(マルチリーダライタ2:あるいはネットワーク型記憶装置)から、FTPクライアントプログラムが組み込まれたPC3(ホスト装置)に、TCP/IPネットワークを介して特定のファイルを転送するためのプログラムであり、TCP/IPサーバ機能付与手段の主体をなす。また、TCP/IPネットワーク410上にてプリンタ80を特定するためのIPアドレス及びサブネットマスクもROM35に記憶されている。   The ROM 35 stores an FTP server program. The FTP server program is for transferring a specific file from the printer 80 (multi-reader / writer 2: or network storage device) to the PC 3 (host device) in which the FTP client program is incorporated via the TCP / IP network. It is a program and forms the main body of the TCP / IP server function providing means. Further, the ROM 35 also stores an IP address and subnet mask for specifying the printer 80 on the TCP / IP network 410.

メディア装着用スロット16〜19には、印刷用ファイルを記憶したメモリーカード(着脱式記憶メディア)11〜14が装着され、当該装着されたメモリーカード11〜14から印刷用ファイルを読み出して、当該印刷用ファイルに基づく画像印刷を自身に設けられた印刷部にて直接実行するための直接印刷用スロットとして利用される。例えば、デジタルカメラやカメラ付き携帯電話の場合には、それらで撮影した写真画像がJPEG画像ファイルの形で、そのデジタルカメラのカードリーダに装着された固有の種別のメモリーカードに記憶・蓄積される。そこで、そのメモリーカードを抜き取ってプリンタ80のスロット16〜19のうち対応するものに装着し、キーボード91、カーソル移動キー92あるいはメニューキー93,95の操作により、液晶パネル(LCD)21上にて「直接印刷」のメニューを選択して実行すれば、所望の写真画像ファイルを選んで直接印刷を行なうことができる。   A memory card (detachable storage medium) 11-14 storing a print file is mounted in the media mounting slots 16-19, and the print file is read from the mounted memory card 11-14, and the printing is performed. It is used as a direct printing slot for directly executing image printing based on the file for use in a printing unit provided in itself. For example, in the case of a digital camera or camera-equipped mobile phone, photograph images taken with the camera are stored and stored in a unique type of memory card attached to the card reader of the digital camera in the form of a JPEG image file. . Therefore, the memory card is removed and attached to the corresponding one of the slots 16 to 19 of the printer 80, and the keyboard 91, the cursor movement key 92 or the menu keys 93 and 95 are operated on the liquid crystal panel (LCD) 21. If the “direct printing” menu is selected and executed, a desired photo image file can be selected and directly printed.

また、プリンタ80側のFTPサーバプログラムと、PC3側のFTPクライアントプログラムとにより、PC3側からTCP/IPネットワーク410を介してマルチリーダライタ2にデータアクセスすることが可能である。具体的には、PC3側からデータファイルのファイル名を指定する形でプリンタ80側にファイル転送要求を送信すると、プリンタ80は、該ファイル名で指定されたデータファイルを装着されたメモリーカードから読み出してPC3に転送することができる。つまり、マルチリーダライタ2は、PC3のいわば外付け記憶装置として利用することが可能である。   Further, the multi-reader / writer 2 can be accessed from the PC 3 side via the TCP / IP network 410 by the FTP server program on the printer 80 side and the FTP client program on the PC 3 side. Specifically, when a file transfer request is transmitted from the PC 3 side to the printer 80 in the form of designating the file name of the data file, the printer 80 reads out the data file designated by the file name from the mounted memory card. Can be transferred to the PC 3. That is, the multi-reader / writer 2 can be used as an external storage device of the PC 3.

FTPを経由したファイル転送では、TCPの例えば21番ポートを固定的に使用する形で行なわれる。前述のFTPサーバプログラムは、自分に割り当てられた上記ポートで待機して、例えば、そこにPC3側から転送されてくるファイル名が届いた場合にこれを受け取り、対応するファイルをマルチリーダライタ2に装着されたメモリーカードから読み出して、これをPC3に転送する処理を行なう。具体的には、PC3からプリンタ80(FTPサーバ)への接続なので、PC3にて「接続先:相手の21番ポート、接続元:自らが使用したポート」の情報をTCPの送信データに付加する。これを受け取ったプリンタ80では、21番ポートに繋がるFTPにデータを渡し、そこから折り返しのデータを受け取る。その後、プリンタ80は、接続元であるPC3のポートへ、「接続先:相手が使用したポート、接続元:自分の21番ポート」の情報を付加して、TCPによるデータの返送を行なう。   In file transfer via FTP, TCP, for example, port 21 is used in a fixed manner. The aforementioned FTP server program waits at the port assigned to itself and receives, for example, when a file name transferred from the PC 3 side arrives there, and sends the corresponding file to the multi-reader / writer 2. A process of reading from the mounted memory card and transferring it to the PC 3 is performed. Specifically, since the connection is from the PC 3 to the printer 80 (FTP server), the PC 3 adds information on “connection destination: partner port 21 and connection source: port used by itself” to the TCP transmission data. . Upon receiving this, the printer 80 passes the data to the FTP connected to the 21st port, and receives the return data therefrom. Thereafter, the printer 80 adds information of “connection destination: port used by the other party, connection source: own port 21” to the port of the PC 3 that is the connection source, and returns data by TCP.

TCPによる通信制御においては、まず、接続する側と接続される側が互いのTCPポートをオープン(接続状態)にしてTCPコネクションを開設する。これにより、通信回線は接続状態となり、アプリケーション・プロトコルとのやり取りで生じたデータを、相手側のTCPとやり取りできるようになる。TCP間でデータ送受信のやり取りを行った後は、通信回線の切断、つまり、互いに接続状態にあるTCPポートのクローズが実行される。前述のごとく、TCPコネクションは、1個のデータファイル転送につき1回開設する必要があり(図11)、TCPポートをオープンにしたままの状態で複数個のデータファイルを連続して転送することはプロトコル上許されない。   In communication control by TCP, first, the connecting side and the connected side open a TCP connection by opening each other's TCP port (connected state). As a result, the communication line is in a connected state, and the data generated by the exchange with the application protocol can be exchanged with the other party's TCP. After the exchange of data transmission / reception between TCPs, the communication line is disconnected, that is, the TCP ports that are connected to each other are closed. As described above, the TCP connection needs to be established once for each data file transfer (FIG. 11), and it is not possible to continuously transfer a plurality of data files with the TCP port open. Not allowed by protocol.

ここで、一例として、圧縮率の高い画像データファイル(例えば1個のサイズが20kB程度)をカメラ付き携帯電話のメモリーカード(例えば、miniSDカードとする)に多数(例えば、2000個)撮り溜めてあり、これを、プリンタ80のマルチリーダライタ2に装着して、上記多数の画像データファイルを一括してPC3に転送する状況を考える。個々のデータファイルは小さいので、転送すべき総データ量は、ファイル数が2000個あっても精々20MBである。しかし、それらのファイルを個別に転送すると、ポートの接続・切断がファイル数分だけ発生するので、上記のごとく2000個の画像データファイルを転送するのに数10分もの時間を要することになる。   Here, as an example, a large number (for example, 2000) of image data files with a high compression rate (for example, one size of about 20 kB) are stored in a memory card (for example, a miniSD card) of a camera-equipped mobile phone. A situation is considered in which this is mounted on the multi-reader / writer 2 of the printer 80 and a large number of the image data files are transferred to the PC 3 at once. Since each data file is small, the total amount of data to be transferred is at most 20 MB even if there are 2000 files. However, when these files are transferred individually, connection / disconnection of ports occurs by the number of files, so that it takes tens of minutes to transfer 2000 image data files as described above.

この問題を解消するために、図2においてROM35にはファイル統合転送プログラムが格納されており、該プログラムの実行により以下の各手段が機能実現されるようになっている。
・仮想単一ファイル特定情報送信手段:着脱式記憶メディア11〜14に記憶された複数のデータファイルを仮想的に統合した仮想単一ファイルの特定情報を、TCP/IPネットワーク410を介してホスト装置3上に公開する。
・単一ファイル転送要求受信手段:公開された該仮想単一ファイル特定情報を用いてホスト装置3にて発行される単一ファイル転送要求を、TCP/IPネットワーク410を介して受信する。
・ファイル統合転送手段:単一ファイル転送要求を受け、ファイル転送用に定められたTCPポートをオープンし、その状態で、複数のデータファイルを実単一ファイルに統合し、TCP/IPネットワーク410を介してホスト装置3に転送するとともに、当該転送の完了後にTCPポートをクローズする。
In order to solve this problem, a file integrated transfer program is stored in the ROM 35 in FIG. 2, and the following means are realized by executing the program.
Virtual single file specification information transmission means: Host information for specifying information of a virtual single file obtained by virtually integrating a plurality of data files stored in the removable storage media 11 to 14 via the TCP / IP network 410 Publish on 3.
Single file transfer request receiving means: receives a single file transfer request issued by the host apparatus 3 using the published virtual single file specifying information via the TCP / IP network 410.
File integrated transfer means: receives a single file transfer request, opens a TCP port defined for file transfer, and in that state, integrates a plurality of data files into an actual single file, and sets the TCP / IP network 410 And the TCP port is closed after the transfer is completed.

上記複数のデータファイルは、ホスト装置3側では仮想単一ファイルとして認識され、当該仮想単一ファイル特定情報を用いてその転送要求を出す(単一ファイル転送要求)。そして、これを受けたプリンタ80(マルチリーダライタ2:ネットワーク型記憶装置)側では、ファイル転送用に定められたTCPポート(ここでは、21番ポート)をオープンし、その状態で、メモリーカード内の複数のデータファイルを実単一ファイルに統合しつつ、TCP/IPネットワーク410を介してホスト装置3に転送するとともに、当該転送の完了後にTCPポートをクローズする。つまり、実質的には複数のデータファイルの転送要求であるにも拘わらず、PC3側からは1ファイルとして転送指示が出され、プリンタ80側も、上記複数のデータファイルを1つに統合しつつ転送処理を行なうので、複数のデータファイルの転送処理であるにも拘わらず、TCPポートのオープン/クローズ処理がたった1回で済むようになる。例えば、前述の2000個のファイル転送を行なう場合も、その総データ量に対応する20MBのファイル1個分の転送処理に実質的に等しくなり、転送時間は高々数分程度にまで短縮することができる。   The plurality of data files are recognized as virtual single files on the host device 3 side, and a transfer request is issued using the virtual single file specifying information (single file transfer request). In response to this, the printer 80 (multi-reader / writer 2: network type storage device) side opens a TCP port (here, No. 21 port) determined for file transfer, and in that state, in the memory card. The plurality of data files are integrated into an actual single file, transferred to the host apparatus 3 via the TCP / IP network 410, and the TCP port is closed after the transfer is completed. In other words, in spite of a request for transferring a plurality of data files, the PC 3 side issues a transfer instruction as one file, and the printer 80 side also integrates the plurality of data files into one. Since the transfer process is performed, the TCP port open / close process can be performed only once despite the transfer process of a plurality of data files. For example, when the above-mentioned 2000 file transfer is performed, the transfer process is substantially equal to the transfer process for one 20 MB file corresponding to the total data amount, and the transfer time can be shortened to several minutes at most. it can.

以下、さらに詳細に説明する。
メモリーカードも、ANSI(American National Standard Institute)に準拠したハードディスクフォーマットをエミュレーションする形でフォーマットが定められたものである。具体的には、図4に示すように、ファイル単位による記憶データの読出し、書込み及び消去が可能とされたデータ記憶エリア308と、該データ記憶エリア308内における各データファイルの占有エリアと、データファイルに占有されない空きエリアと、それらエリアのデータ記憶エリア308内での位置を特定可能に記述されたファイル管理情報を記憶するファイル管理情報記憶エリア307と、該ファイル管理情報記憶エリア307の先頭側に隣接したブートセクタ304とがメディア内に1つのみのパーティションエリアを構成するよう形成されている。ブートセクタ304は、当該パーティションエリアをブートディスクとして使用するためのイニシャルプログラムローダー(IPL)の格納セクタとして確保される。また、ファイル管理情報記憶エリア307には、その先頭側から、データファイルの占有セクタ番号をファイル名と対応付けて記憶するファイルアロケーションテーブル(FAT)の格納セクタ305と、データファイルのルートディレクトリの格納セクタ306とが確保される。また、カード(メディア)の先頭セクタを含む領域には、パーティションエリアにてイニシャルプログラムローダーの有無を検索し、これを起動するためのマスターブートプログラムと、メディア内のパーティション情報を記憶したパーティションテーブルとを格納するためのマスターブートレコード(MBR)セクタ302が確保される。
This will be described in more detail below.
The format of the memory card is also determined by emulating a hard disk format compliant with ANSI (American National Standard Institute). Specifically, as shown in FIG. 4, a data storage area 308 in which storage data can be read, written, and erased in units of files, an occupation area of each data file in the data storage area 308, and data Free area not occupied by files, file management information storage area 307 for storing file management information described so that the position in the data storage area 308 can be specified, and the head side of the file management information storage area 307 The boot sector 304 adjacent to each other is formed so as to constitute only one partition area in the medium. The boot sector 304 is secured as a storage sector of an initial program loader (IPL) for using the partition area as a boot disk. In addition, the file management information storage area 307 stores a storage sector 305 of a file allocation table (FAT) that stores an occupied sector number of a data file in association with a file name and a root directory of the data file from the head side. A sector 306 is secured. Also, in the area including the first sector of the card (media), the partition area is searched for the presence or absence of the initial program loader, a master boot program for starting it, a partition table storing partition information in the medium, A master boot record (MBR) sector 302 is stored for storing.

データ記憶エリア308内の複数のデータファイルは、ルートディレクトリ306上に直接配置されるのではなく、図5に示すように、そのルートディレクトリ306上で管理されるデータフォルダ内に格納された形で管理されている。データ記憶エリア308を広く確保するために、固定エリアとなるルートディレクトリ306は、そのサイズが小さく設定されている。そして、デジタルカメラやカメラ付き携帯電話においては、ルートディレクトリ306上に必ずフォルダ(サブディレクトリ)を作成し、そのフォルダ内に多数のデータファイル(画像ファイル)を蓄積するようにするようになっている。   A plurality of data files in the data storage area 308 are not arranged directly on the root directory 306 but are managed in a form stored in a data folder managed on the root directory 306 as shown in FIG. Has been. In order to secure a wide data storage area 308, the root directory 306 serving as a fixed area has a small size. In digital cameras and camera-equipped mobile phones, a folder (subdirectory) is always created on the root directory 306, and a large number of data files (image files) are stored in the folder. .

本実施形態では、転送すべきデータファイルを上記フォルダ単位で統合し、仮想単一ファイルとしてPC3側へ転送する処理がなされる。この場合、プリンタ80(ネットワーク型記憶装置)側からPC3には、この仮想単一ファイルを特定するための情報として、このフォルダ名が反映された仮想ファイル名(仮想単一ファイル特定情報)が公開される。PC3では、この仮想ファイル名を選択することで、対応するフォルダ内のデータファイルを一括して転送要求できるようになっている。   In the present embodiment, processing is performed in which the data files to be transferred are integrated on a folder basis and transferred to the PC 3 side as a virtual single file. In this case, the virtual file name (virtual single file specifying information) reflecting the folder name is disclosed to the PC 3 from the printer 80 (network type storage device) side as information for specifying the virtual single file. Is done. By selecting this virtual file name, the PC 3 can request transfer of the data files in the corresponding folder at once.

図10は、FTPに従った処理シーケンスを示すもので、PC3側にてWEBブラウザソフトウェア(例えば、Internet Explorer(登録商標))を用いてプリンタ80内のメモリーカードにアクセスすると(T1)、PC3はFTPサーバ(プリンタ80)にログオンする。次いでPC3は、ルートディレクトリ306のファイルリスト表示を指令するコマンドをFTPサーバに送信する。   FIG. 10 shows a processing sequence according to FTP. When the PC 3 side accesses the memory card in the printer 80 using WEB browser software (for example, Internet Explorer (registered trademark)) (T1), the PC 3 Log on to the FTP server (printer 80). Next, the PC 3 transmits a command for instructing the file list display of the root directory 306 to the FTP server.

例えば、図5においては、「Picture」というフォルダ名を有したフォルダ内に複数の画像データファイル(JPEG形式)(ファイル名、File1.jpg、File2.jpg、‥)が保存されている。この場合、プリンタ80側では、フォルダ名「Picture」に続く形で、仮想単一ファイルであることを示す識別子「.folder.lzh」を付加することで、上記のフォルダ名を仮想ファイル名(仮想単一ファイル特定情報)「Picture.folder.lzh」(「.lzh」は、梱包ファイルであることを示す拡張子である(LHA形式の場合:ZIP形式の場合は「.zip」となる)。)に変換し(U2)、ファイルリスト情報にこれを含めてPC3上に公開する。   For example, in FIG. 5, a plurality of image data files (JPEG format) (file names, File1.jpg, File2.jpg,...) Are stored in a folder having the folder name “Picture”. In this case, the printer 80 side adds the identifier “.folder.lzh” indicating that it is a virtual single file following the folder name “Picture”, thereby changing the folder name to the virtual file name (virtual file name (virtual file name). Single file specifying information) “Picture.folder.lzh” (“.lzh” is an extension indicating a packing file (in the case of LHA format: “.zip” in the case of ZIP format)). (U2), and this is included in the file list information and published on the PC 3.

すると、図10に示すように、その閲覧ウィンドウ101上にてメモリーカードの上記仮想ファイル名を含んだファイルリストが表示される(T1)。この状態で転送を希望するファイルを選び、周知の転送コマンドの実行(例えば、デスクトップ上へのドラッグアンドドロップ)を行なうことで(T3)、TCP/IPネットワーク410を介してFTPサーバ側にファイル転送指示が送信され、転送処理が開始される(U3)。   Then, as shown in FIG. 10, a file list including the virtual file name of the memory card is displayed on the browsing window 101 (T1). In this state, a file to be transferred is selected and a known transfer command is executed (for example, drag-and-drop on the desktop) (T3) to transfer the file to the FTP server side via the TCP / IP network 410. The instruction is transmitted, and the transfer process is started (U3).

なお、本実施形態では図10に示すように、上記データフォルダは、上記仮想ファイル103以外に本来のフォルダ104の形でもPC3上に合わせて公開されている。ホスト装置3から、フォルダ名にてデータファイルの転送要求を受けた場合には、FTPによる通常のファイル転送シーケンスにより、フォルダ内のデータファイルは、該データフォルダに格納された状態で個別転送される。他方、仮想単一ファイル名にて転送要求を受けた場合には、下記のごとく実単一ファイルに統合した形で転送される。以下、実単一ファイルへの統合を伴う転送処理について、図9のフローチャートにより詳述する。   In the present embodiment, as shown in FIG. 10, the data folder is disclosed on the PC 3 in the form of the original folder 104 in addition to the virtual file 103. When receiving a data file transfer request by the folder name from the host device 3, the data files in the folder are individually transferred in a state stored in the data folder by a normal file transfer sequence by FTP. On the other hand, when a transfer request is received with a virtual single file name, the transfer is integrated into a real single file as described below. Hereinafter, the transfer process with integration into a real single file will be described in detail with reference to the flowchart of FIG.

まず、PC3側で転送対象ファイルが選択されると、そのファイル名がTCP/IPネットワーク410を介してFTPに従い、プリンタ80(ネットワーク型記憶装置)に転送される(S1)。プリンタ80側ではこれを受け、当該ファイル名が、前述の識別子「.folder.lzh」を含む仮想単一ファイル名であるか否か判定する(S2)。識別子「.folder.lzh」が存在せず、仮想単一ファイル名でなかった場合にはS10に進み、FTPによる通常のファイル転送を行なう。一方、ファイル名が仮想単一ファイル名であると判定された場合には、仮想単一ファイル名から識別子を取り除くことで、フォルダ名を抽出する(S3)。抽出されたフォルダ名が存在しない場合はS11に進み、エラー表示を行なう。   First, when a transfer target file is selected on the PC 3 side, the file name is transferred to the printer 80 (network type storage device) according to FTP via the TCP / IP network 410 (S1). In response to this, the printer 80 determines whether or not the file name is a virtual single file name including the above-described identifier “.folder.lzh” (S2). If the identifier “.folder.lzh” does not exist and the file name is not a virtual single file name, the process proceeds to S10, and normal file transfer by FTP is performed. On the other hand, if it is determined that the file name is a virtual single file name, the folder name is extracted by removing the identifier from the virtual single file name (S3). If the extracted folder name does not exist, the process proceeds to S11 to display an error.

他方、フォルダ名が存在する場合は、S4に進んでTCPポートをオープンした後、抽出されたフォルダ名(「Picture」)により特定されるフォルダにアクセスし、そのヘッダ部に対応するデータファイルを読み出し、これをデータ部としてヘッダ部に結合し、該ヘッダ部の結合されたデータ部をホスト装置に転送する処理を順次実行する(S6〜S8)。そして、全てのデータファイルの転送が完了すれば、TCPポートがクローズされる(S9)。なお、ヘッダ部+データ部の転送を行なうのに先立って、そのデータ部に対するエラーチェック処理としてCRC(Cyclic Redundancy Check:巡回冗長調査)が逐次実行されている(S5)。   On the other hand, if the folder name exists, the process proceeds to S4, the TCP port is opened, the folder specified by the extracted folder name (“Picture”) is accessed, and the data file corresponding to the header portion is read. Then, this is combined as a data portion with the header portion, and the processing of transferring the combined data portion to the host device is sequentially executed (S6 to S8). When the transfer of all data files is completed, the TCP port is closed (S9). Prior to the transfer of the header part + data part, CRC (Cyclic Redundancy Check) is sequentially executed as an error check process for the data part (S5).

これにより、TCP/IPネットワーク410を介した転送シーケンス上では、図6に示すように、各データファイルを構成するデータ部と、当該データ部が属するデータファイルの特定情報を少なくとも含むヘッダ部とが交替する実単一ファイルのデータ配列が具現化する。該ファイル統合のアルゴリズムは、データファイルの圧縮エンジンを搭載した周知のファイル圧縮梱包ソフトウェア(本実施形態では、LHAユーティリティが使用されているが、ZIPユーティリティを用いてもよい)により実現されている。図7は、LHA形式の梱包ファイルに使用されるヘッダの例を示す(レベル0)。このヘッダには、データ部に施されている圧縮処理の仕様を特定する圧縮仕様特定情報(圧縮法の種類)が含まれる。なお、実単一ファイルのデータ部は、必ずしもデータ圧縮されている必要はなく、本実施形態では、データ部を非圧縮としている。この場合、上記ヘッダの「圧縮法の種類」に係る情報は「非圧縮」を示すものとされ、梱包解凍処理時において圧縮データのデコード処理は実行されない。   As a result, on the transfer sequence via the TCP / IP network 410, as shown in FIG. 6, a data part constituting each data file and a header part including at least specific information of the data file to which the data part belongs are included. The data array of the real single file to be replaced is realized. The file integration algorithm is realized by well-known file compression and packaging software (in this embodiment, the LHA utility is used, but the ZIP utility may be used) equipped with a data file compression engine. FIG. 7 shows an example of a header used for an LHA format packing file (level 0). This header includes compression specification specifying information (type of compression method) for specifying the specification of compression processing applied to the data portion. Note that the data portion of the actual single file is not necessarily compressed, and in this embodiment, the data portion is not compressed. In this case, the information related to the “type of compression method” in the header indicates “non-compression”, and the decoding process of the compressed data is not executed during the packing decompression process.

なお、上記梱包ファイルを受け取ったPC3側では、その圧縮梱包形式に対応したファイル圧縮解凍ソフトウェア(図:ファイル分離保存手段)を搭載しておくことにより、梱包ファイルを統合前のデータファイルに復元(解凍)する処理を容易に実行することができる。ただし、解凍ソフトウェア部が組み込まれた自己解凍型の梱包ファイルである場合は、ファイル圧縮解凍ソフトウェアをPC3側に別途インストールしておく必要はない(この場合、自己解凍型梱包ファイルの取得に伴いPC3には、ファイル分離保存手段の機能が自然付与されることとなる。   On the PC 3 side that receives the packing file, the packing file is restored to the data file before integration by installing file compression / decompression software (Fig .: file separation and storage means) corresponding to the compressed packing format (see FIG. The process of defrosting can be executed easily. However, in the case of a self-extracting type packing file in which the decompression software part is incorporated, it is not necessary to separately install the file compression / decompression software on the PC 3 side (in this case, the PC 3 is acquired with the acquisition of the self-extracting type packing file). Is naturally given the function of the file separation and storage means.

本発明の通信システムの全体構成の概略を示すブロック図。The block diagram which shows the outline of the whole structure of the communication system of this invention. 本発明の通信システムに適用されるプリンタの一例を示す斜視図。1 is a perspective view showing an example of a printer applied to a communication system of the present invention. プリンタの電気的構成の一例を示すブロック図。FIG. 2 is a block diagram illustrating an example of an electrical configuration of a printer. メモリーカードのセクタ構造の概念図。The conceptual diagram of the sector structure of a memory card. メモリーカードの内のディレクトリ構造を示す概念図。The conceptual diagram which shows the directory structure in a memory card. 実単一ファイルの構造概念図。Structure diagram of a real single file. ヘッダ部の一例を示す図。The figure which shows an example of a header part. FTPに従うファイル転送処理の流れを示すシーケンス図。The sequence diagram which shows the flow of the file transfer process according to FTP. ファイル統合転送処理の流れを示すフローチャート。The flowchart which shows the flow of a file integrated transfer process. ホスト装置上でのファイルリストの表示例を示す図。The figure which shows the example of a display of the file list on a host apparatus. 本発明の課題を説明する図。The figure explaining the subject of this invention.

符号の説明Explanation of symbols

1 通信システム
2 マルチリーダライタ(ネットワーク型記憶装置)
3 PC(ホスト装置)
16〜19 メディア装着用スロット
11〜14 メモリーカード(着脱式記憶メディア)
410 TCP/IPネットワーク
1 Communication System 2 Multi-Reader / Writer (Network Type Storage Device)
3 PC (host device)
16-19 Slot for media loading 11-14 Memory card (detachable storage media)
410 TCP / IP network

Claims (12)

メディア装着用スロットと、ファイル単位による記憶データの読出し、書込み及び消去が可能とされた不揮発性メモリからなり、該メディア装着用スロットに着脱可能に装着される着脱式記憶メディアとを備えたネットワーク型記憶装置と、TCP/IPネットワークにより該ネットワーク型記憶装置と接続されるホスト装置とを備えるとともに、前記ネットワーク型記憶装置に、
該ネットワーク型記憶装置自身を前記ホスト装置に対するTCP/IPサーバとして機能させるためのTCP/IPサーバ機能付与手段と、
前記着脱式記憶メディアに記憶された複数のデータファイルを仮想的に統合した仮想単一ファイルの特定情報を、前記TCP/IPネットワークを介して前記ホスト装置上に公開する仮想単一ファイル特定情報送信手段と、
公開された該仮想単一ファイル特定情報を用いて前記ホスト装置にて発行される単一ファイル転送要求を、前記TCP/IPネットワークを介して受信する単一ファイル転送要求受信手段と、
前記単一ファイル転送要求を受け、ファイル転送用に定められたTCPポートをオープンし、その状態で、前記複数のデータファイルを実単一ファイルに統合し、前記TCP/IPネットワークを介して前記ホスト装置に転送するとともに、当該転送の完了後に前記TCPポートをクローズするファイル統合転送手段と、
を有してなることを特徴とする通信システム。
A network type comprising a slot for mounting a medium and a removable storage medium comprising a non-volatile memory capable of reading, writing and erasing stored data in units of files and detachably mounted in the slot for mounting the medium A storage device and a host device connected to the network storage device via a TCP / IP network, and the network storage device
TCP / IP server function giving means for causing the network storage device itself to function as a TCP / IP server for the host device;
Virtual single file identification information transmission for publishing on the host device via the TCP / IP network the identification information of the virtual single file virtually integrating a plurality of data files stored in the removable storage medium Means,
Single file transfer request receiving means for receiving, via the TCP / IP network, a single file transfer request issued by the host device using the published virtual single file specifying information;
Upon receiving the single file transfer request, a TCP port defined for file transfer is opened, and in this state, the plurality of data files are integrated into a real single file, and the host is connected via the TCP / IP network. A file integrated transfer means for transferring to the device and closing the TCP port after completion of the transfer;
A communication system characterized by comprising:
前記TCP/IPサーバ機能付与手段は、前記ネットワーク型記憶装置をFTPサーバとして機能させるものである請求項1記載の通信システム。   The communication system according to claim 1, wherein the TCP / IP server function providing unit causes the network storage device to function as an FTP server. 前記ホスト装置は、受信した前記実単一ファイルを、前記複数の元データファイルに分離して保存するファイル分離保存手段を有する請求項1又は請求項2に記載の通信システム。   The communication system according to claim 1, wherein the host device includes a file separation and storage unit that separates and stores the received real single file into the plurality of original data files. 前記ファイル統合手段は、各前記データファイルを構成するデータ部と、当該データ部が属する前記データファイルの特定情報を少なくとも含むヘッダ部とを交互に配列する形で前記実単一ファイルを作成する請求項1ないし請求項3のいずれか1項に記載の通信システム。   The file integration means creates the real single file by alternately arranging a data portion constituting each data file and a header portion including at least specific information of the data file to which the data portion belongs. The communication system according to any one of claims 1 to 3. 前記ファイル統合手段は、前記データファイルの圧縮エンジンを搭載したファイル圧縮梱包ソフトウェアにより機能実現されるものであり、前記ヘッダには、前記データ部に施されている圧縮処理の仕様を特定する圧縮仕様特定情報が含まれてなる請求項4記載の通信システム。   The file integration means is realized by a function of file compression packing software equipped with a compression engine for the data file, and the header includes a compression specification for specifying a specification of compression processing applied to the data portion. The communication system according to claim 4, wherein the specific information is included. 前記ファイル統合手段は、前記データ部を非圧縮にて前記実単一ファイルに組み込むものである請求項5記載の通信システム。   6. The communication system according to claim 5, wherein the file integration means incorporates the data part into the actual single file without compression. 前記ファイル統合転送手段は、前記TCPポートをオープンした後、前記データファイルに対応する前記ヘッダ部を作成し、そのヘッダ部に対応するデータファイルを読み出し、これをデータ部として前記ヘッダ部に結合し、該ヘッダ部の結合されたデータ部を前記ホスト装置に転送する処理を順次実行し、該転送処理が完了した後、前記TCPポートをクローズする請求項5又は請求項6に記載の通信システム。   The file integrated transfer means creates the header portion corresponding to the data file after opening the TCP port, reads the data file corresponding to the header portion, and combines this as the data portion with the header portion. The communication system according to claim 5 or 6, wherein a process of transferring the data part combined with the header part to the host device is sequentially executed, and the TCP port is closed after the transfer process is completed. 統合対象となる複数の前記データファイルは、前記着脱式記憶メディア内のルートディレクトリ上にて管理されるデータフォルダ内に格納されたものであり、
前記ネットワーク型記憶装置には、前記データフォルダを特定するデータフォルダ特定情報を前記仮想単一ファイル特定情報に変換する仮想単一ファイル特定情報変換手段が設けられ、
前記仮想単一ファイル特定情報公開手段は、該変換により得られた仮想単一ファイル特定情報を前記ホスト装置に対して公開する請求項1ないし請求項7のいずれか1項に記載の通信システム。
The plurality of data files to be integrated are stored in a data folder managed on a root directory in the removable storage medium,
The network type storage device is provided with virtual single file specifying information converting means for converting data folder specifying information for specifying the data folder into the virtual single file specifying information,
The communication system according to any one of claims 1 to 7, wherein the virtual single file specifying information disclosing unit releases the virtual single file specifying information obtained by the conversion to the host device.
前記仮想単一ファイル特定情報変換手段は、前記データフォルダ特定情報をなすフォルダ名に対し、前記仮想単一ファイルであることを示す識別子を付加することにより前記フォルダ名を、前記仮想単一ファイル特定情報をなす仮想単一ファイル名に変換するものであり、
前記ファイル統合転送手段は、
転送するべきデータファイルのファイル名を用いて前記ホスト装置から発行されるファイル転送要求を受け、当該ファイル名が前記識別子を含む仮想単一ファイル名であるか否か判定する仮想単一ファイル名判定手段と、
前記ファイル名が前記仮想単一ファイル名であると判定された場合に、前記仮想単一ファイル名から前記フォルダ名を抽出するフォルダ名抽出手段とを備え、抽出されたフォルダ名により特定される前記データフォルダ内の複数の前記データファイルを前記実単一ファイルとして統合し、該実単一ファイルを前記ホスト装置に転送する実単一ファイル転送手段と、
前記仮想単一ファイル名判定手段により前記仮想単一ファイル名と判定されなかったデータファイルを、通常ファイルとしてファイル統合せずに前記ホスト装置に転送する通常ファイル転送手段と、
を有する請求項8記載の通信システム。
The virtual single file specifying information converting means adds the identifier indicating the virtual single file to the folder name forming the data folder specifying information, thereby changing the folder name to the virtual single file specifying information. Is converted to a virtual single file name
The file integrated transfer means includes:
Virtual single file name determination that receives a file transfer request issued from the host device using the file name of the data file to be transferred and determines whether the file name is a virtual single file name including the identifier Means,
A folder name extracting unit that extracts the folder name from the virtual single file name when the file name is determined to be the virtual single file name, and is specified by the extracted folder name; A real single file transfer means for integrating a plurality of the data files in a data folder as the real single file and transferring the real single file to the host device;
Normal file transfer means for transferring a data file that has not been determined to be the virtual single file name by the virtual single file name determination means to the host device without file integration as a normal file;
The communication system according to claim 8.
前記仮想単一ファイル特定情報公開手段は、複数の前記データファイルを格納する前記データフォルダのフォルダ名を、当該データフォルダに対応した前記仮想単一ファイル名ともに前記ホスト装置上に公開するものであり、
前記ファイル統合転送手段は、前記ホスト装置から、前記フォルダ名にて前記データフォルダ内の前記データファイルの転送要求を受けた場合には、前記通常ファイル転送手段により、それらデータファイルを前記データフォルダに格納された状態で個別転送する一方、前記仮想単一ファイル名にて前記データフォルダ内の前記データファイルの転送要求を受けた場合には、前記実単一ファイル転送手段により前記実単一ファイルに統合した形で転送する請求項9記載の通信システム。
The virtual single file specifying information disclosing means is for publishing the folder name of the data folder storing a plurality of the data files together with the virtual single file name corresponding to the data folder on the host device,
When the file integrated transfer means receives a transfer request for the data file in the data folder with the folder name from the host device, the normal file transfer means stores the data file in the data folder. In the case where a request for transferring the data file in the data folder is received with the virtual single file name, the form is integrated into the real single file by the real single file transfer means. The communication system according to claim 9, wherein the communication is performed using
請求項1ないし請求項10のいずれか1項に記載の通信システムに使用するネットワーク型記憶装置であって、
該ネットワーク型記憶装置自身を前記ホスト装置に対するTCP/IPサーバとして機能させるためのTCP/IPサーバ機能付与手段と、
前記着脱式記憶メディアに記憶された複数のデータファイルを仮想的に統合した仮想単一ファイルの特定情報を、前記TCP/IPネットワークを介して前記ホスト装置上に公開する仮想単一ファイル特定情報送信手段と、
公開された該仮想単一ファイル特定情報を用いて前記ホスト装置にて発行される単一ファイル転送要求を、前記TCP/IPネットワークを介して受信する単一ファイル転送要求受信手段と、
前記単一ファイル転送要求を受け、ファイル転送用に定められたTCPポートをオープンし、その状態で、前記複数のデータファイルを実単一ファイルに統合し、前記TCP/IPネットワークを介して前記ホスト装置に転送するとともに、当該転送の完了後に前記TCPポートをクローズするファイル統合転送手段と、を有してなることを特徴とするネットワーク型記憶装置。
A network type storage device used in the communication system according to any one of claims 1 to 10,
TCP / IP server function giving means for causing the network storage device itself to function as a TCP / IP server for the host device;
Virtual single file identification information transmission for publishing on the host device via the TCP / IP network the identification information of the virtual single file virtually integrating a plurality of data files stored in the removable storage medium Means,
Single file transfer request receiving means for receiving, via the TCP / IP network, a single file transfer request issued by the host device using the published virtual single file specifying information;
Upon receiving the single file transfer request, a TCP port defined for file transfer is opened, and in this state, the plurality of data files are integrated into a real single file, and the host is connected via the TCP / IP network. And a file integrated transfer means for transferring to the device and closing the TCP port after the transfer is completed.
前記TCP/IPネットワークを介して前記ホスト装置にされ、前記ホスト装置から該TCP/IPネットワークを介して送信される印刷データに基づいて印刷を実行可能なネットワークプリンタとして構成されるとともに、該ネットワーク型記憶装置に装着される前記着脱式記憶メディアに記憶された印刷データに基づく直接印刷を行なうための直接印刷スロット部が、請求項11記載のネットワーク型記憶装置として構成されてなることを特徴とするプリンタ。   The network type is configured as a network printer capable of executing printing based on print data transmitted to the host device via the TCP / IP network and transmitted from the host device via the TCP / IP network. 12. A direct printing slot unit for performing direct printing based on print data stored in the removable storage medium mounted on a storage device is configured as a network type storage device according to claim 11. Printer.
JP2006268943A 2006-09-29 2006-09-29 Communication system, network type memory device, and printer Pending JP2008090490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006268943A JP2008090490A (en) 2006-09-29 2006-09-29 Communication system, network type memory device, and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006268943A JP2008090490A (en) 2006-09-29 2006-09-29 Communication system, network type memory device, and printer

Publications (1)

Publication Number Publication Date
JP2008090490A true JP2008090490A (en) 2008-04-17

Family

ID=39374587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006268943A Pending JP2008090490A (en) 2006-09-29 2006-09-29 Communication system, network type memory device, and printer

Country Status (1)

Country Link
JP (1) JP2008090490A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086453A (en) * 2008-10-02 2010-04-15 Yokogawa Electric Corp Measurement system
JP2011170671A (en) * 2010-02-19 2011-09-01 Nec System Technologies Ltd Information processing system, file storage device, control method of file storage device, and program
JP2011215931A (en) * 2010-03-31 2011-10-27 Brother Industries Ltd Information processor, information processing program, information processing method, and distribution system
WO2013133024A1 (en) * 2012-03-07 2013-09-12 京セラドキュメントソリューションズ株式会社 Electronic apparatus and non-transitory recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240603A (en) * 1997-02-27 1998-09-11 Fuji Xerox Co Ltd File management device and file transfer method
JP2004272800A (en) * 2003-03-11 2004-09-30 Sony Corp Repeater for network apparatus, method for writing in removable storage device, and method for detecting insertion and ejection of the device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240603A (en) * 1997-02-27 1998-09-11 Fuji Xerox Co Ltd File management device and file transfer method
JP2004272800A (en) * 2003-03-11 2004-09-30 Sony Corp Repeater for network apparatus, method for writing in removable storage device, and method for detecting insertion and ejection of the device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086453A (en) * 2008-10-02 2010-04-15 Yokogawa Electric Corp Measurement system
JP2011170671A (en) * 2010-02-19 2011-09-01 Nec System Technologies Ltd Information processing system, file storage device, control method of file storage device, and program
JP2011215931A (en) * 2010-03-31 2011-10-27 Brother Industries Ltd Information processor, information processing program, information processing method, and distribution system
WO2013133024A1 (en) * 2012-03-07 2013-09-12 京セラドキュメントソリューションズ株式会社 Electronic apparatus and non-transitory recording medium
JP2013186657A (en) * 2012-03-07 2013-09-19 Kyocera Document Solutions Inc Electronic apparatus and file compression and transfer program
US9363410B2 (en) 2012-03-07 2016-06-07 Kyocera Document Solutions Inc. Electronic device including multifunction peripheral (MFP) having compressed file transfer unit for transferring compressed file to external apparatus and non-transitory storage medium

Similar Documents

Publication Publication Date Title
JP4861883B2 (en) Image forming apparatus and application execution method
EP1387566B1 (en) Image forming apparatus
US7982887B2 (en) Image forming device, image forming method, image processing device, and computer readable storage medium storing image forming program
US20050254072A1 (en) Image data processing method, client terminal, image processing program, image data management method and image management system
US8028244B2 (en) Status processing system, status processor, and status displaying method
WO2005018219A2 (en) Apparatus for communicating over a network images captured by a digital camera
US20060023254A1 (en) Image processing apparatus, network system, information processing method, program, and storage medium
EP2713598A1 (en) Grouping and preferential display of suggested metadata for files
JP2008090490A (en) Communication system, network type memory device, and printer
JP2008090491A (en) Ftp communication system
JP3862372B2 (en) Digital composite apparatus and control method thereof
US7962577B2 (en) Data processing system, data processor, and method of operating data processing system
JP2005088572A (en) Recording device, image supplying device, recording system and its controlling method, and program
JP2006031452A (en) Image forming apparatus, control method, control program, job management apparatus, job processing method and job management program
US20090141304A1 (en) Computer-readable recording medium storing a program for managing image files and image file management apparatus
JP2004246623A (en) Small card adapter and host apparatus with small card adapter mounted therein
JP5267624B2 (en) Information processing apparatus, display control method, program, and recording medium
JP3710789B2 (en) Image forming apparatus having a plurality of communication protocols
JP2007257124A (en) Composite machine unit and its control method
JP4054629B2 (en) Image conversion server, image data processing method, storage medium, and program
JP4189592B2 (en) Image data management apparatus, image forming apparatus, and image data management method
JP2012027866A (en) Printing system
JP4389180B2 (en) Media connection device, media connection system, and operation method of media connection system
US20090106264A1 (en) Status processor and status display method
JP4324725B2 (en) Image printing sales apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110705

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110913