JP2007188209A - Access to file stored in controller connected to network - Google Patents

Access to file stored in controller connected to network Download PDF

Info

Publication number
JP2007188209A
JP2007188209A JP2006004596A JP2006004596A JP2007188209A JP 2007188209 A JP2007188209 A JP 2007188209A JP 2006004596 A JP2006004596 A JP 2006004596A JP 2006004596 A JP2006004596 A JP 2006004596A JP 2007188209 A JP2007188209 A JP 2007188209A
Authority
JP
Japan
Prior art keywords
file
storage area
specific
control device
systems
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
JP2006004596A
Other languages
Japanese (ja)
Inventor
Yuuki Dogo
勇樹 堂後
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006004596A priority Critical patent/JP2007188209A/en
Publication of JP2007188209A publication Critical patent/JP2007188209A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for easily performing access to a file stored in a controller connected to a network. <P>SOLUTION: A controller is provided with a plurality of service parts for receiving a request following mutually different protocols from a computer connected through a network and a file control part for executing processing relating to the file commonly used by a plurality of service parts, and managed by the plurality of file systems. When an arbitrary service part under consideration among a plurality of service parts has received an access request to a specific file including not information for designating a file system to which the specific file is belonging but the file name of the specific file, the file control part sets a plurality of file systems as the object of retrieval, and retrieves the specific file based on the file name. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ネットワークに接続される制御装置内に格納されたファイルにアクセスするための技術に関する。   The present invention relates to a technique for accessing a file stored in a control device connected to a network.

ネットワークを利用した印刷システムでは、例えば、プリンタがUSBケーブルを介してプリントサーバに接続され、プリントサーバとクライアントコンピュータとがLANなどのネットワークを介して接続される。   In a printing system using a network, for example, a printer is connected to a print server via a USB cable, and the print server and a client computer are connected via a network such as a LAN.

プリントサーバは、通常、ROMや、フラッシュメモリ、RAMなどの複数種類の記録媒体を備えており、記録媒体毎に、ファイルシステムが構築されている。また、プリントサーバは、通常、互いに異なるプロトコル(例えば、SMBやSNMPなど)に従ってサービスを提供する複数のサービス部を備えており、各サービス部は、複数種類の記憶媒体上に構築された複数のファイルシステムのうち、予め定められた1つのファイルシステムに属するファイルのみにアクセスすることができる。   The print server usually includes a plurality of types of recording media such as a ROM, a flash memory, and a RAM, and a file system is constructed for each recording medium. In addition, the print server usually includes a plurality of service units that provide services according to different protocols (for example, SMB, SNMP, etc.), and each service unit includes a plurality of service units built on a plurality of types of storage media. Of the file systems, only files belonging to a predetermined file system can be accessed.

特開平7−200201号公報JP-A-7-200201

上記のように、従来では、1つのプロトコルと1つのファイルシステムとが互いに対応付けられている。このため、従来では、プリントサーバ内に格納された特定のファイルにアクセスすることは困難であった。これは、クライアントコンピュータは、特定のファイルにアクセスするためには、特定のファイルが属するファイルシステムを指定する必要があると共に、該ファイルシステムに対応するプロトコルを利用する必要があるためである。すなわち、従来では、クライアントコンピュータのユーザは、特定のファイルを利用するためには、特定のファイルがいずれのファイルシステムに属するかを予め知っている必要があると共に、特定のファイルが属するファイルシステムに対応するプロトコルを予め知っている必要があった。   As described above, conventionally, one protocol and one file system are associated with each other. For this reason, conventionally, it has been difficult to access a specific file stored in the print server. This is because a client computer needs to specify a file system to which a specific file belongs and to use a protocol corresponding to the file system in order to access a specific file. That is, conventionally, in order to use a specific file, a user of a client computer needs to know in advance which file system the specific file belongs to, and the file system to which the specific file belongs. It was necessary to know the corresponding protocol in advance.

なお、上記の問題は、印刷システムだけでなく、プリントサーバなどのネットワークに接続される制御装置を含む他のネットワークシステムに共通する問題である。   Note that the above problem is not only common to printing systems, but also common to other network systems including a control device connected to a network such as a print server.

本発明は、上述の課題を解決するためになされたものであり、制御装置内に格納されたファイルに容易にアクセスすることのできる技術を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a technique capable of easily accessing a file stored in a control device.

上述の課題の少なくとも一部を解決するため、本発明の装置は、ネットワークに接続される制御装置であって、
前記ネットワークを介して接続されるコンピュータと通信する第1の通信部と、
複数のファイルシステムが構築された第1の格納領域と、
前記第1の通信部を介して前記コンピュータから受け取った要求に応じたサービスを提供するための複数のサービス部であって、各サービス部は互いに異なるプロトコルに従った前記要求を受け取る、前記複数のサービス部と、
前記複数のサービス部によって共通に利用され、前記複数のファイルシステムで管理されるファイルに関する処理を実行するための第1のファイル制御部と、
を備え、
前記第1のファイル制御部は、
前記複数のサービス部のうちの任意の注目サービス部が、前記第1の通信部を介して前記コンピュータから、特定ファイルに対するアクセス要求であって、前記特定ファイルが属するファイルシステムを指定するための情報を含まず、前記特定ファイルのファイル名を含む、前記アクセス要求を受け取った場合に、前記複数のファイルシステムを検索対象に設定して、前記ファイル名に基づいて前記特定ファイルを検索することを特徴とする。
In order to solve at least a part of the problems described above, the apparatus of the present invention is a control apparatus connected to a network,
A first communication unit that communicates with a computer connected via the network;
A first storage area in which a plurality of file systems are constructed;
A plurality of service units for providing a service according to a request received from the computer via the first communication unit, each service unit receiving the request according to a different protocol; A service department;
A first file control unit for executing processing related to a file used in common by the plurality of service units and managed by the plurality of file systems;
With
The first file control unit
Information for designating a file system to which an arbitrary service unit of the plurality of service units is an access request for a specific file from the computer via the first communication unit and to which the specific file belongs When the access request including the file name of the specific file is received, the plurality of file systems are set as search targets, and the specific file is searched based on the file name. And

この装置では、任意の注目サービス部が特定ファイルに対するアクセス要求を取得した場合に、第1のファイル制御部は、複数のファイルシステムを検索対象に設定して、特定ファイルを検索することができる。このため、コンピュータは、特定ファイルにアクセスするために、特定のファイルシステムを指定したり、特定のプロトコルを選択したりぜずに済み、この結果、制御装置内に格納された特定ファイルに容易にアクセスすることが可能となる。   In this apparatus, when an arbitrary service unit of interest acquires an access request for a specific file, the first file control unit can search for a specific file by setting a plurality of file systems as search targets. Therefore, the computer does not have to specify a specific file system or select a specific protocol to access a specific file, and as a result, the specific file stored in the control device can be easily stored. It becomes possible to access.

上記の装置において、
前記注目サービス部は、前記特定ファイルが見つかった場合に、前記特定ファイルに対するアクセスを前記コンピュータに許容することが好ましい。
In the above device,
Preferably, the attention service unit allows the computer to access the specific file when the specific file is found.

上記の装置において、
前記第1のファイル制御部は、前記複数のファイルシステムを所定の順序で順次検索対象に設定するようにしてもよい。
In the above device,
The first file control unit may sequentially set the plurality of file systems as search targets in a predetermined order.

上記の装置において、
前記第1の格納領域は、
第1種の記録媒体で構成された第1の部分格納領域と、
前記第1種の記録媒体と異なる第2種の記録媒体で構成された第2の部分格納領域であって、前記第2の部分格納領域からの所定サイズのデータの読み出しに要する時間は、前記第1の部分格納領域からの前記所定サイズのデータの読み出しに要する時間よりも長い、前記第2の部分格納領域と、
を含み、
前記複数のファイルシステムは、
前記第1の部分格納領域に構築された第1のファイルシステムと、
前記第2の部分格納領域に構築された第2のファイルシステムと、
を含み、
前記第1のファイル制御部は、前記第1のファイルシステムを前記第2のファイルシステムよりも先に検索対象に設定することが好ましい。
In the above device,
The first storage area is
A first partial storage area composed of a first type of recording medium;
The second partial storage area composed of a second type of recording medium different from the first type of recording medium, and the time required for reading data of a predetermined size from the second partial storage area is The second partial storage area, which is longer than the time required to read the data of the predetermined size from the first partial storage area;
Including
The plurality of file systems are:
A first file system constructed in the first partial storage area;
A second file system constructed in the second partial storage area;
Including
It is preferable that the first file control unit sets the first file system as a search target before the second file system.

こうすれば、第2のファイルシステムを第1のファイルシステムよりも先に検索対象に設定する場合よりも、特定ファイルを迅速に検索することができる可能性が高い。   In this case, there is a high possibility that the specific file can be searched more quickly than when the second file system is set as a search target before the first file system.

上記の装置において、
前記複数のファイルシステムは、
第1種のファイルシステムと、
前記第1種のファイルシステムと異なる第2種のファイルシステムと、
を含むようにしてもよい。
In the above device,
The plurality of file systems are:
The first type of file system;
A second type of file system different from the first type of file system;
May be included.

上記の装置において、
前記第1の格納領域は、
第1種の記録媒体で構成された第1の部分格納領域と、
前記第1種の記録媒体と異なる第2種の記録媒体で構成された第2の部分格納領域と、
を含み、
前記複数のファイルシステムは、
前記第1の部分格納領域に構築された第1のファイルシステムと、
前記第2の部分格納領域に構築された第2のファイルシステムと、
を含むようにしてもよい。
In the above device,
The first storage area is
A first partial storage area composed of a first type of recording medium;
A second partial storage area composed of a second type of recording medium different from the first type of recording medium;
Including
The plurality of file systems are:
A first file system constructed in the first partial storage area;
A second file system constructed in the second partial storage area;
May be included.

上記の装置において、
前記第1のファイルシステムと前記第2のファイルシステムとは、互いに異なる種類のファイルシステムであってもよい。
In the above device,
The first file system and the second file system may be different types of file systems.

上記の装置において、
前記ネットワークを介さずに接続されるローカルデバイスと通信する第2の通信部を備え、
前記第1のファイル制御部は、前記第2の通信部を介して、前記ローカルデバイスに前記特定ファイルの検索の実行を依頼することが好ましい。
In the above device,
A second communication unit that communicates with a local device connected without going through the network;
The first file control unit preferably requests the local device to execute the search for the specific file via the second communication unit.

こうすれば、ローカルデバイス内に特定ファイルが格納されている場合にも、特定ファイルを検索することができる。   In this way, even when the specific file is stored in the local device, the specific file can be searched.

上記の装置において、
前記第1のファイル制御部は、前記複数のファイルシステムにおいて前記特定ファイルを見つけることができなかった場合に、前記検索の実行を依頼するようにしてもよい。
In the above device,
The first file control unit may request execution of the search when the specific file cannot be found in the plurality of file systems.

こうすれば、ローカルデバイスにおける検索の負荷を低減させることができる。   In this way, the search load on the local device can be reduced.

本発明の第2の装置は、ネットワーク装置であって、
上記の前記制御装置と、
前記ローカルデバイスと、
を備え、
前記ローカルデバイスは、
前記制御装置と通信する第3の通信部と、
少なくとも1つのファイルシステムが構築された第2の格納領域と、
前記第1のファイル制御部からの前記検索の実行の依頼に応じて、前記少なくとも1つのファイルシステムを検索対象として前記特定ファイルを検索する第2のファイル制御部と、
を備えることが好ましい。
A second device of the present invention is a network device,
The control device described above;
The local device;
With
The local device is
A third communication unit communicating with the control device;
A second storage area in which at least one file system is constructed;
A second file control unit that searches for the specific file with the at least one file system as a search target in response to a request for execution of the search from the first file control unit;
It is preferable to provide.

上記の装置において、
前記第2の格納領域には、複数のファイルシステムが構築されており、
前記第2のファイル制御部は、前記第2の格納領域に構築された前記複数のファイルシステムを検索対象として前記特定ファイルを検索可能であることが好ましい。
In the above device,
A plurality of file systems are constructed in the second storage area,
The second file control unit is preferably capable of searching for the specific file by using the plurality of file systems constructed in the second storage area as a search target.

こうすれば、ローカルデバイスに複数のファイルシステムが存在する場合にも、特定ファイルを検索することができる。   By doing this, it is possible to search for a specific file even when a plurality of file systems exist in the local device.

この発明は、種々の形態で実現することが可能であり、制御装置および該制御装置における制御方法、ローカルデバイスおよび該ローカルデバイスにおける制御方法、制御装置とローカルデバイスとを含むネットワーク装置および該ネットワーク装置における制御方法、これらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、そのコンピュータプログラムを含み搬送波内に具現化されたデータ信号、等の形態で実現することができる。   The present invention can be realized in various forms, and includes a control apparatus, a control method in the control apparatus, a local device, a control method in the local device, a network apparatus including the control apparatus and the local device, and the network apparatus And a computer program for realizing the functions of these methods or apparatuses, a recording medium storing the computer program, a data signal including the computer program and embodied in a carrier wave, etc. Can do.

次に、本発明の実施の形態を実施例に基づき以下の順序で説明する。
A.ネットワークシステムの構成:
A−1.デバイスサーバの構成:
A−2.プリンタの構成:
B.ネットワークシステムの要部:
B−1.デバイスサーバの要部:
B−2.プリンタの要部:
B−3.クライアントコンピュータの要部:
C.読み出し処理:
Next, embodiments of the present invention will be described in the following order based on examples.
A. Network system configuration:
A-1. Device server configuration:
A-2. Printer configuration:
B. Main parts of the network system:
B-1. Main parts of the device server:
B-2. Main parts of the printer:
B-3. The main parts of the client computer:
C. Reading process:

A.ネットワークシステムの構成:
図1は、ネットワークシステムの構成を示す説明図である。ネットワークシステムは、デバイスサーバ100と、プリンタ200と、クライアントコンピュータ(以下、単に「クライアント」とも呼ぶ)300と、を備えている。デバイスサーバ100とクライアント300とは、LANなどのネットワークNWを介して互いに接続されている。また、デバイスサーバ100とプリンタ200とは、USBケーブルを介して互いに接続されている。
A. Network system configuration:
FIG. 1 is an explanatory diagram showing a configuration of a network system. The network system includes a device server 100, a printer 200, and a client computer (hereinafter simply referred to as “client”) 300. The device server 100 and the client 300 are connected to each other via a network NW such as a LAN. The device server 100 and the printer 200 are connected to each other via a USB cable.

本実施例では、デバイスサーバ100とプリンタ200とは異なる筐体に収納されているが、共通の筐体に収納されていてもよい。   In the present embodiment, the device server 100 and the printer 200 are housed in different housings, but may be housed in a common housing.

なお、本実施例におけるデバイスサーバ100が本発明における制御装置に相当し、プリンタ200がローカルデバイスに相当する。また、デバイスサーバ100とプリンタ200とがネットワーク装置に相当する。   The device server 100 in this embodiment corresponds to the control device in the present invention, and the printer 200 corresponds to a local device. The device server 100 and the printer 200 correspond to a network device.

A−1.デバイスサーバの構成:
デバイスサーバ100(図1)は、制御回路110と、ネットワークインタフェース(IF)部192と、USBホストインタフェース(IF)部198と、を備えている。
A-1. Device server configuration:
The device server 100 (FIG. 1) includes a control circuit 110, a network interface (IF) unit 192, and a USB host interface (IF) unit 198.

ネットワークIF部192は、ネットワークNWを介してクライアント300と通信するためのインタフェースである。   The network IF unit 192 is an interface for communicating with the client 300 via the network NW.

USBホストIF部198は、USBケーブルを介してプリンタ200などのローカルデバイスと通信するためのインタフェースである。   The USB host IF unit 198 is an interface for communicating with a local device such as the printer 200 via a USB cable.

制御回路110は、CPUとメモリとで構成されている。制御回路110は、処理実行部112と、第1の通信制御部114と、第2の通信制御部116と、データ格納領域170と、を備えている。処理実行部112と第1の通信制御部114と第2の通信制御部116との機能は、CPUがコンピュータプログラムを実行することによって実現される。なお、コンピュータプログラムは、例えば、CD−ROMなどのコンピュータ読み取り可能な記録媒体に記録された形態で提供される。   The control circuit 110 includes a CPU and a memory. The control circuit 110 includes a process execution unit 112, a first communication control unit 114, a second communication control unit 116, and a data storage area 170. The functions of the process execution unit 112, the first communication control unit 114, and the second communication control unit 116 are realized by the CPU executing a computer program. The computer program is provided in a form recorded on a computer-readable recording medium such as a CD-ROM.

第1の通信制御部114は、ネットワークIF部192を介して、ネットワークに接続されたクライアント300と通信データを送受信する。なお、第1の通信制御部114は、TCPおよび/またはUDP層の処理と、IP層の処理と、を実行する。   The first communication control unit 114 transmits / receives communication data to / from the client 300 connected to the network via the network IF unit 192. Note that the first communication control unit 114 executes TCP and / or UDP layer processing and IP layer processing.

第2の通信制御部116は、USBホストIF部198を介して、USBケーブルで接続されたプリンタ200と通信データを送受信する。   The second communication control unit 116 transmits / receives communication data to / from the printer 200 connected by the USB cable via the USB host IF unit 198.

処理実行部112は、第1の通信制御部114から受け取った通信データに基づいて、種々の処理を実行する。なお、処理実行部112についてはさらに後述する。   The process execution unit 112 executes various processes based on the communication data received from the first communication control unit 114. The process execution unit 112 will be further described later.

データ格納領域170は、種々のデータが格納される領域である。データ格納領域170は、ROMで構成された第1の部分データ格納領域171と、フラッシュメモリで構成された第2の部分データ格納領域172と、RAMで構成された第3の部分データ格納領域173と、を含んでいる。   The data storage area 170 is an area for storing various data. The data storage area 170 includes a first partial data storage area 171 composed of ROM, a second partial data storage area 172 composed of flash memory, and a third partial data storage area 173 composed of RAM. And.

なお、本実施例におけるネットワークIF部192と第1の通信制御部114とが本発明における第1の通信部に相当し、USBホストIF部198と第2の通信制御部116とが第2の通信部に相当する。   The network IF unit 192 and the first communication control unit 114 in the present embodiment correspond to the first communication unit in the present invention, and the USB host IF unit 198 and the second communication control unit 116 are the second communication unit. Corresponds to the communication unit.

A−2.プリンタの構成:
プリンタ200(図1)は、制御回路210と、プリンタエンジン280と、USBデバイスインタフェース(IF)部298と、を備えている。
A-2. Printer configuration:
The printer 200 (FIG. 1) includes a control circuit 210, a printer engine 280, and a USB device interface (IF) unit 298.

USBデバイスIF部298は、USBケーブルを介してデバイスサーバ100と通信するためのインタフェースである。   The USB device IF unit 298 is an interface for communicating with the device server 100 via a USB cable.

制御回路210は、CPUとメモリとで構成されている。制御回路210は、処理実行部212と、通信制御部216と、データ格納領域270と、を備えている。処理実行部212と通信制御部216との機能は、CPUがコンピュータプログラムを実行することによって実現される。   The control circuit 210 is composed of a CPU and a memory. The control circuit 210 includes a process execution unit 212, a communication control unit 216, and a data storage area 270. The functions of the process execution unit 212 and the communication control unit 216 are realized by the CPU executing a computer program.

通信制御部216は、USBデバイスIF部298を介して、USBケーブルで接続されたデバイスサーバ100と通信データを送受信する。なお、通信制御部216の機能は、USBクラスドライバによって実現される。   The communication control unit 216 transmits / receives communication data to / from the device server 100 connected via the USB cable via the USB device IF unit 298. Note that the function of the communication control unit 216 is realized by a USB class driver.

処理実行部212は、通信制御部216が受け取った通信データに基づいて、種々の処理を実行する。例えば、処理実行部212は、プリンタエンジン280を制御して、印刷を実行させる。なお、処理実行部212についてはさらに後述する。   The process execution unit 212 executes various processes based on the communication data received by the communication control unit 216. For example, the process execution unit 212 controls the printer engine 280 to execute printing. The process execution unit 212 will be further described later.

データ格納領域270は、種々のデータが格納される領域である。データ格納領域270は、ROMで構成された第4の部分データ格納領域271と、フラッシュメモリで構成された第5の部分データ格納領域272と、RAMで構成された第6の部分データ格納領域273と、を含んでいる。   The data storage area 270 is an area for storing various data. The data storage area 270 includes a fourth partial data storage area 271 configured by a ROM, a fifth partial data storage area 272 configured by a flash memory, and a sixth partial data storage area 273 configured by a RAM. And.

なお、本実施例におけるUSBデバイスIF部298と通信制御部216とが本発明における第3の通信部に相当する。   Note that the USB device IF unit 298 and the communication control unit 216 in the present embodiment correspond to a third communication unit in the present invention.

B.ネットワークシステムの要部:
図2は、図1のネットワークシステムを構成する各装置100,200,300の要部を模式的に示す説明図である。
B. Main parts of the network system:
FIG. 2 is an explanatory diagram schematically showing the main part of each device 100, 200, 300 that constitutes the network system of FIG.

B−1.デバイスサーバの要部:
図2に示すように、デバイスサーバ100は、3つのサーバモジュール121〜123と、ファイル制御部130と、3つのファイルシステム141〜143と、を含んでいる。3つのサーバモジュール121〜123とファイル制御部130とは、図1のデバイスサーバ100内の処理実行部112に含まれている。3つのファイルシステム141〜143は、図1のデバイスサーバ100内のデータ格納領域170上に構築されている。なお、以下では、ファイル制御部130を、「サーバファイル制御部」とも呼ぶ。
B-1. Main parts of the device server:
As illustrated in FIG. 2, the device server 100 includes three server modules 121 to 123, a file control unit 130, and three file systems 141 to 143. The three server modules 121 to 123 and the file control unit 130 are included in the processing execution unit 112 in the device server 100 of FIG. The three file systems 141 to 143 are constructed on the data storage area 170 in the device server 100 of FIG. Hereinafter, the file control unit 130 is also referred to as a “server file control unit”.

3つのサーバモジュール121〜123は、クライアントコンピュータ300から与えられた互いに異なるプロトコルに従った要求を受け取り、該要求に応じたサービスを提供する。3つのサーバモジュール121〜123は、例えば、SMB(Server Message Block)プロトコルに従ってサービスを提供するSMBサーバプログラムや、SNMP(Simple Network Management Protocol)プロトコルに従ってサービスを提供するSNMPマネージャプログラム、HTTP(Hyper Text Transfer Protocol)プロトコルに従ってサービスを提供するHTTPサーバ(Webサーバ)プログラムなどによって実現される。   The three server modules 121 to 123 receive requests according to different protocols given from the client computer 300, and provide services according to the requests. The three server modules 121 to 123 include, for example, an SMB server program that provides a service according to an SMB (Server Message Block) protocol, an SNMP manager program that provides a service according to an SNMP (Simple Network Management Protocol) protocol, and an HTTP (Hyper Text Transfer). Protocol) is realized by an HTTP server (Web server) program that provides a service according to a protocol.

なお、本実施例におけるサーバモジュール121〜123が本発明におけるサービス部に相当する。   Note that the server modules 121 to 123 in this embodiment correspond to a service unit in the present invention.

サーバファイル制御部130は、3つのサーバモジュール121〜123によって共通に利用され、各サーバモジュール121〜123からの命令に従って、ファイルに関する処理(例えば読み出し処理や書き込み処理)を実行する。なお、サーバファイル制御部130は、実際には、ファイル制御用のAPI(Application Program Interface)プログラムによって実現されている。   The server file control unit 130 is used in common by the three server modules 121 to 123, and executes a file-related process (for example, a read process or a write process) in accordance with an instruction from each of the server modules 121 to 123. The server file control unit 130 is actually realized by an application program interface (API) program for file control.

3つのファイルシステム141〜143は、互いに異なる種類のファイルシステムである。なお、ファイルシステムには、通常、ディレクトリ情報等の管理情報が格納される管理領域と、ファイルの実データが格納される実データ領域と、が含まれている。3つのファイルシステム141〜143としては、種々のファイルシステムを採用可能であり、例えば、メーカによって独自に準備される簡易的なファイルシステムや、FAT(File Allocation Table)ファイルシステム、ext2(Second Extended File System)などを採用可能である。   The three file systems 141 to 143 are different types of file systems. Note that the file system usually includes a management area in which management information such as directory information is stored, and an actual data area in which actual file data is stored. Various file systems can be adopted as the three file systems 141 to 143. For example, a simple file system prepared independently by a manufacturer, a FAT (File Allocation Table) file system, or an ext2 (Second Extended File) System) can be adopted.

第1のファイルシステム141は、ROMで構成された第1の部分データ格納領域171上に構築されている。したがって、第1のファイルシステム141で管理されるファイルは、読み出しのみが想定される第1種のファイルである。第1種のファイルとしては、例えば、変更されることのない機器(すなわちデバイスサーバ)に関する情報を含むファイルや、ソースファイルなどが挙げられる。なお、機器に関する情報としては、デバイス名情報や、NIC情報などが挙げられる。   The first file system 141 is constructed on a first partial data storage area 171 composed of a ROM. Therefore, the file managed by the first file system 141 is a first type file that is supposed to be read only. Examples of the first type of file include a file including information on a device that is not changed (that is, a device server), a source file, and the like. Note that the device information includes device name information, NIC information, and the like.

第2のファイルシステム142は、フラッシュメモリで構成された第2の部分データ格納領域172上に構築されている。したがって、第2のファイルシステム142で管理されるファイルは、読み出しおよび書き込みが想定され、デバイスサーバ100の電源オフ時にも保持が必要とされ、使用頻度の比較的高い第2種のファイルである。第2種のファイルとしては、機器(すなわちデバイスサーバ)のサービス情報を含むファイルや、ネットワーク設定情報を含むファイル、Web用スタイル情報を含むファイル、ユーザインタフェース画面に表示すべきメニューを構成する文字列情報を含むファイルなどが挙げられる。なお、ネットワーク設定情報としては、デバイスサーバ100のIPアドレスや、各種サービスで利用される制御用のフラグ、DNS(Domain Name System)サーバのIPアドレスなどが挙げられる。   The second file system 142 is constructed on a second partial data storage area 172 composed of a flash memory. Therefore, the file managed by the second file system 142 is a second type file that is assumed to be read and written, needs to be retained even when the device server 100 is powered off, and is relatively frequently used. The second type of file includes a file containing service information of a device (that is, a device server), a file containing network setting information, a file containing web style information, and a character string constituting a menu to be displayed on the user interface screen Examples include files that contain information. Examples of the network setting information include an IP address of the device server 100, a control flag used in various services, an IP address of a DNS (Domain Name System) server, and the like.

第3のファイルシステム143は、RAMで構成された第3の部分データ格納領域173上に構築されている。したがって、第3のファイルシステム143で管理されるファイルは、読み出しおよび書き込みが想定され、デバイスサーバ100の電源オフ時に保持が必要とされず、一時的に利用される第3種のファイル(テンポラリファイル)である。第3種のファイルとしては、機器(すなわちデバイスサーバ)の制御とは無関係の情報を含むファイルが挙げられる。なお、該情報としては、印刷データが挙げられる。   The third file system 143 is constructed on the third partial data storage area 173 configured by RAM. Therefore, the file managed by the third file system 143 is assumed to be read and written, and is not required to be retained when the device server 100 is powered off. The third type file (temporary file) used temporarily. ). Examples of the third type of file include a file containing information unrelated to the control of the device (that is, the device server). The information includes print data.

B−2.プリンタの要部:
図2に示すように、プリンタ200は、ファイル制御部230と3つのファイルシステム241〜243を含んでいる。ファイル制御部230は、図1のプリンタ200内の処理実行部212に含まれている。3つのファイルシステム241〜243は、図1のプリンタ200内のデータ格納領域270上に構築されている。なお、以下では、ファイル制御部230を「プリンタファイル制御部」とも呼ぶ。
B-2. Main parts of the printer:
As shown in FIG. 2, the printer 200 includes a file control unit 230 and three file systems 241 to 243. The file control unit 230 is included in the processing execution unit 212 in the printer 200 of FIG. The three file systems 241 to 243 are constructed on the data storage area 270 in the printer 200 of FIG. Hereinafter, the file control unit 230 is also referred to as a “printer file control unit”.

プリンタファイル制御部230は、サーバファイル制御部130からの命令に従って、ファイルに関する処理(例えば読み出し処理や書き込み処理)を実行する。   The printer file control unit 230 executes file-related processing (for example, read processing and write processing) in accordance with instructions from the server file control unit 130.

3つのファイルシステム241〜243は、互いに異なる種類のファイルシステムである。3つのファイルシステム241〜243としては、前述の種々のファイルシステムを採用可能である。   The three file systems 241 to 243 are different types of file systems. As the three file systems 241 to 243, the above-described various file systems can be adopted.

第4のファイルシステム241は、ROMで構成された第4の部分データ格納領域271上に構築されており、第4のファイルシステム241で管理されるファイルは、前述の第1種のファイルである。第5のファイルシステム242は、フラッシュメモリで構成された第5の部分データ格納領域272上に構築されており、第5のファイルシステム242で管理されるファイルは、前述の第2種のファイルである。第6のファイルシステム243は、RAMで構成された第6の部分データ格納領域273上に構築されており、第6のファイルシステム243で管理されるファイルは、前述の第3種のファイルである。なお、プリンタ200内の3つのファイルシステム241〜243で管理されるファイルは、プリンタ200に関係する情報を含むファイルである。   The fourth file system 241 is constructed on a fourth partial data storage area 271 configured by a ROM, and the file managed by the fourth file system 241 is the first type file described above. . The fifth file system 242 is constructed on the fifth partial data storage area 272 composed of flash memory, and the file managed by the fifth file system 242 is the above-mentioned second type file. is there. The sixth file system 243 is constructed on the sixth partial data storage area 273 configured by RAM, and the files managed by the sixth file system 243 are the above-described third type files. . Note that files managed by the three file systems 241 to 243 in the printer 200 are files including information related to the printer 200.

B−3.クライアントコンピュータの要部:
図2に示すように、クライアント300は、3つのクライアントモジュール321〜323を含んでいる。3つのクライアントモジュール321〜323は、それぞれ、デバイスサーバ100の3つのサーバモジュール121〜123に対応している。3つのクライアントモジュール321〜323は、例えば、SMBクライアントプログラムや、SNMPエージェントプログラム、HTTPクライアント(Webブラウザ)プログラムなどによって実現される。
B-3. The main parts of the client computer:
As shown in FIG. 2, the client 300 includes three client modules 321 to 323. The three client modules 321 to 323 correspond to the three server modules 121 to 123 of the device server 100, respectively. The three client modules 321 to 323 are realized by, for example, an SMB client program, an SNMP agent program, an HTTP client (Web browser) program, or the like.

C.読み出し処理:
図3は、図1,図2に示すネットワークシステムで実行される読み出し処理の手順を示すフローチャートである。なお、図3に示す処理は、クライアント300のユーザが、アプリケーションプログラムの実行画面を介して、特定ファイルの読み出しを指示したときに実行される。
C. Reading process:
FIG. 3 is a flowchart showing the procedure of the read process executed in the network system shown in FIGS. The process shown in FIG. 3 is executed when the user of the client 300 gives an instruction to read a specific file via the application program execution screen.

ステップS102では、デバイスサーバ100は、クライアント300から、特定ファイルのオープン要求を受信する。   In step S <b> 102, the device server 100 receives a specific file open request from the client 300.

具体的には、クライアント300のユーザが、3つのクライアントモジュール321〜323のうちのいずれか(以下、「注目クライアントモジュール」320と呼ぶ)に対応するアプリケーションプログラムの実行画面を介して、特定ファイルの読み出しを指示すると、注目クライアントモジュール320が、特定ファイルのオープン要求をデバイスサーバ100に送信する。このとき、デバイスサーバ100に含まれる対応する1つのサーバモジュール(以下、「注目サーバモジュール」120とも呼ぶ)が、オープン要求を受信する。なお、SMBクライアントプログラムによって実現されている注目クライアントモジュール320がオープン要求を送信する場合には、SMBサーバプログラムによって実現されている注目サーバモジュール120がオープン要求を受信する。   Specifically, the user of the client 300 uses the application program execution screen corresponding to one of the three client modules 321 to 323 (hereinafter referred to as “target client module” 320) to specify the specific file. When reading is instructed, the client module 320 of interest transmits a specific file open request to the device server 100. At this time, one corresponding server module included in the device server 100 (hereinafter also referred to as “target server module” 120) receives the open request. Note that, when the noticed client module 320 realized by the SMB client program transmits an open request, the noticed server module 120 realized by the SMB server program receives the open request.

オープン要求は、特定ファイルのファイル名と、読み出しを指定するモード(オープンモードとも呼ばれる)と、を含んでいる。本実施例では、オープン要求には、ドライブ名等の特定ファイルが属するファイルシステムを特定する情報は含まれていない。なお、オープン要求には、ファイルシステム内の特定ファイルが属するディレクトリ名を含むパス(相対パス)が含まれていてもよいし、含まれていなくてもよい。   The open request includes a file name of the specific file and a mode for designating reading (also referred to as an open mode). In this embodiment, the open request does not include information for specifying the file system to which the specified file belongs, such as a drive name. The open request may or may not include a path (relative path) including the directory name to which the specific file in the file system belongs.

ステップS104では、デバイスサーバ100は、特定ファイルを検索する。具体的には、注目サーバモジュール120は、受信したオープン要求に基づいて、サーバファイル制御部130に特定ファイルの検索を実行させる。この際、サーバファイル制御部130は、特定ファイルの「ファイル名」に基づいて、1以上のファイルシステムを順次検索対象に設定し、特定ファイルが見つかるまで、各ファイルシステム内で特定ファイルを検索する。なお、後述するように、本実施例では、最大6つのファイルシステム、すなわち、デバイスサーバ100内の3つのファイルシステム141〜143およびプリンタ200内の3つのファイルシステム241〜243(図2)が検索対象に設定される。   In step S104, the device server 100 searches for a specific file. Specifically, the target server module 120 causes the server file control unit 130 to search for a specific file based on the received open request. At this time, the server file control unit 130 sequentially sets one or more file systems as search targets based on the “file name” of the specific file, and searches for the specific file in each file system until the specific file is found. . As will be described later, in this embodiment, a maximum of six file systems, that is, three file systems 141 to 143 in the device server 100 and three file systems 241 to 243 in the printer 200 (FIG. 2) are searched. Set to the target.

ステップS106では、検索結果が判断される。サーバファイル制御部130が特定ファイルを見つけることができた場合には、ステップS108に進む。一方、サーバファイル制御部130が特定ファイルを見つけることができない場合には、ステップS110に進む。   In step S106, the search result is determined. If the server file control unit 130 can find the specific file, the process proceeds to step S108. On the other hand, if the server file control unit 130 cannot find the specific file, the process proceeds to step S110.

ステップS108では、サーバファイル制御部130は、識別情報(ハンドル)を生成し、特定ファイルと識別情報とを関連付ける。そして、注目サーバモジュール120は、サーバファイル制御部130から識別情報を受け取り、該識別情報をクライアントコンピュータ300の注目クライアントモジュール320に送信する。   In step S108, the server file control unit 130 generates identification information (handle) and associates the specific file with the identification information. The attention server module 120 receives the identification information from the server file control unit 130 and transmits the identification information to the attention client module 320 of the client computer 300.

なお、ステップS108では、特定ファイルが見つかったファイルシステムに応じて、異なる処理が実行される。具体的には、特定ファイルがデバイスサーバ100内の第3のファイルシステム143またはプリンタ200内の3つのファイルシステム241〜243のうちのいずれかで見つかった場合には、サーバファイル制御部130は、特定ファイルのデータを読み出してキャッシュ(図示せず)に格納する。一方、特定ファイルがデバイスサーバ100内の第1および第2のファイルシステム141,142で見つかった場合には、サーバファイル制御部130は、特定ファイルのデータをキャッシュに格納しない。   In step S108, different processing is executed depending on the file system in which the specific file is found. Specifically, when the specific file is found in any of the third file system 143 in the device server 100 or the three file systems 241 to 243 in the printer 200, the server file control unit 130 The data of the specific file is read and stored in a cache (not shown). On the other hand, when the specific file is found in the first and second file systems 141 and 142 in the device server 100, the server file control unit 130 does not store the data of the specific file in the cache.

ステップS112では、注目サーバモジュール120は、注目クライアントモジュール320から、識別情報を含む読み出し要求を受信する。具体的には、ステップS108において識別情報を受信した注目クライアントモジュール320は、該識別情報を含む読み出し要求を、注目サーバモジュール120に送信し、注目サーバモジュール120が該読み出し要求を受信する。なお、読み出し要求には、データサイズが含まれている。   In step S112, the server module 120 of interest receives a read request including identification information from the client module 320 of interest. Specifically, the attention client module 320 that has received the identification information in step S108 transmits a read request including the identification information to the attention server module 120, and the attention server module 120 receives the read request. The read request includes the data size.

ステップS114では、注目サーバモジュール120は、いずれかのファイルシステム141〜142,241〜243において見つかった特定ファイルのデータをサーバファイル制御部130から受け取り、該特定ファイルのデータをクライアント300の注目クライアントモジュール320に送信する。なお、注目サーバモジュール120は、特定ファイルのデータを、読み出し要求に含まれる上記のデータサイズ毎に、順次送信する。この結果、注目クライアントモジュール320は、特定ファイルのデータを取得することができ、クライアント300のユーザは、該特定ファイルを利用することができる。   In step S <b> 114, the server-of-interest module 120 receives data of a specific file found in any one of the file systems 141-142, 241-243 from the server file control unit 130, and receives the data of the specific file as a client module of interest of the client 300. 320. Note that the server module 120 of interest sequentially transmits the data of the specific file for each data size included in the read request. As a result, the noted client module 320 can acquire the data of the specific file, and the user of the client 300 can use the specific file.

なお、ステップS108において、特定ファイルのデータがキャッシュに格納されている場合には、サーバファイル制御部130は、キャッシュから該データを読み出して注目サーバモジュール120に提供する。一方、特定ファイルのデータがキャッシュに格納されておらず、第1または第2のファイルシステム141,142に対応する第1または第2の部分データ格納領域171,172に格納されている場合には、サーバファイル制御部130は、第1または第2の部分データ格納領域171,172から該データを直接読み出して注目サーバモジュール120に提供する。   In step S108, when the data of the specific file is stored in the cache, the server file control unit 130 reads out the data from the cache and provides it to the server module 120 of interest. On the other hand, when the data of the specific file is not stored in the cache and is stored in the first or second partial data storage area 171 or 172 corresponding to the first or second file system 141 or 142 The server file control unit 130 directly reads out the data from the first or second partial data storage areas 171 and 172 and provides the data to the server module 120 of interest.

ステップS110では、サーバファイル制御部130は、特定ファイルが見つからないことを注目サーバモジュール120に通知する。そして、注目サーバモジュール120は、特定ファイルが見つからないことをクライアントコンピュータ300の注目クライアントモジュール320に通知する。   In step S110, the server file control unit 130 notifies the server module 120 of attention that the specific file is not found. Then, the notice server module 120 notifies the notice client module 320 of the client computer 300 that the specific file is not found.

なお、ステップS108,S112で説明した識別情報は、特定ファイルに対するアクセス権として利用される。すなわち、特定ファイルに既に識別情報が関連付けられている場合には、各サーバモジュール121〜123は、識別情報を有するクライアントコンピュータ300のみに特定ファイルに対するアクセスを許容し、識別情報を有していない他のクライアントコンピュータに対しては特定ファイルに対するアクセスを禁止する。   The identification information described in steps S108 and S112 is used as an access right for a specific file. That is, when the identification information is already associated with the specific file, each of the server modules 121 to 123 allows only the client computer 300 having the identification information to access the specific file and does not have the identification information. Access to specific files is prohibited for client computers.

図4は、図3のステップS104の具体的な処理内容を示すフローチャートである。   FIG. 4 is a flowchart showing the specific processing contents of step S104 of FIG.

ステップS202では、デバイスサーバ100内の複数のファイルシステムが順次検索される。具体的には、サーバファイル制御部130は、3つの部分データ格納領域171〜173上に構築された3つのファイルシステム141〜143を順次検索対象に設定し、特定ファイルを検索する。各ファイルシステムにおける特定ファイルの検索は、各ファイルシステムに含まれる管理情報に特定ファイルのファイル名が登録されているか否かを調べることによって行われる。   In step S202, a plurality of file systems in the device server 100 are sequentially searched. Specifically, the server file control unit 130 sequentially sets the three file systems 141 to 143 constructed on the three partial data storage areas 171 to 173 as search targets, and searches for a specific file. The search for the specific file in each file system is performed by checking whether or not the file name of the specific file is registered in the management information included in each file system.

本実施例では、第1のファイルシステム141,第2のファイルシステム142,第3のファイルシステム143の順に、優先順位が高く設定されている。このため、ステップS202では、サーバファイル制御部130は、まず、第1のファイルシステム141内で特定ファイルを検索する。第1のファイルシステム141内で特定ファイルが見つからない場合には、第2のファイルシステム142内で特定ファイルを検索する。そして、第2のファイルシステム142内で特定ファイルが見つからない場合には、第3のファイルシステム143内で特定ファイルを検索する。   In this embodiment, the priority order is set higher in the order of the first file system 141, the second file system 142, and the third file system 143. Therefore, in step S202, the server file control unit 130 first searches for the specific file in the first file system 141. When the specific file is not found in the first file system 141, the specific file is searched in the second file system 142. When the specific file is not found in the second file system 142, the specific file is searched for in the third file system 143.

本実施例では、第1,第2,第3のファイルシステム141,142,143の順序で特定ファイルが検索されるため、特定ファイルを迅速に検索することができる可能性が高い。すなわち、上記の順序は、各ファイルシステムに対応する記録媒体の種類に基づいて、決定されている。第1のファイルシステム141に対応するROMに対する読み出しに要する第1の時間と、第2のファイルシステム142に対応するフラッシュメモリに対する読み出しに要する第2の時間と、第3のファイルシステム143に対応するRAMに対する読み出しに要する第3の時間と、を比較すると、第1の時間が最も短く、第3の時間が最も長い。なお、「読み出しに要する時間」は、所定サイズのデータを読み出すのに必要な時間である。このため、上記の順序で特定ファイルを検索すれば、特定ファイルを迅速に検索することができる可能性が高く、この結果、クライアント300は、特定ファイルのデータを迅速に取得することができる可能性が高い。   In the present embodiment, the specific file is searched in the order of the first, second, and third file systems 141, 142, and 143. Therefore, there is a high possibility that the specific file can be searched quickly. That is, the above order is determined based on the type of recording medium corresponding to each file system. Corresponding to the first time required for reading from the ROM corresponding to the first file system 141, the second time required for reading from the flash memory corresponding to the second file system 142, and the third file system 143 Comparing the third time required for reading to the RAM, the first time is the shortest and the third time is the longest. The “time required for reading” is the time required for reading data of a predetermined size. For this reason, if the specific file is searched in the above order, it is highly possible that the specific file can be quickly searched. As a result, the client 300 may be able to quickly acquire the data of the specific file. Is expensive.

ステップS204では、検索結果が判断される。サーバファイル制御部130がデバイスサーバ100内の3つのファイルシステム141〜143のうちのいずれかで特定ファイルを見つけることができた場合には、図4の処理(すなわち図3のステップS104の処理)は完了する。一方、サーバファイル制御部130がデバイスサーバ100内の3つのファイルシステム141〜143において特定ファイルを見つけることができない場合には、ステップS206に進む。   In step S204, the search result is determined. When the server file control unit 130 can find the specific file in any of the three file systems 141 to 143 in the device server 100, the process in FIG. 4 (that is, the process in step S104 in FIG. 3). Is completed. On the other hand, if the server file control unit 130 cannot find the specific file in the three file systems 141 to 143 in the device server 100, the process proceeds to step S206.

ステップS206では、サーバファイル制御部130は、プリンタ200内のプリンタファイル制御部230に特定ファイルの検索の実行を依頼する。   In step S <b> 206, the server file control unit 130 requests the printer file control unit 230 in the printer 200 to execute a specific file search.

ステップS208では、プリンタファイル制御部230は、サーバファイル制御部130から特定ファイルの検索の実行の依頼を受け取る。   In step S <b> 208, the printer file control unit 230 receives a request for executing a search for a specific file from the server file control unit 130.

ステップS210では、プリンタ200内の複数のファイルシステムが順次検索される。具体的には、プリンタファイル制御部230は、3つの部分データ格納領域271〜273上に構築された3つのファイルシステム241〜243を順次検索対象に設定し、特定ファイルを検索する。   In step S210, a plurality of file systems in the printer 200 are sequentially searched. Specifically, the printer file control unit 230 sequentially sets the three file systems 241 to 243 constructed on the three partial data storage areas 271 to 273 as search targets, and searches for a specific file.

本実施例では、第4のファイルシステム241,第5のファイルシステム242,第6のファイルシステム243の順に、優先順位が高く設定されている。なお、各ファイルシステム241〜243における検索は、前述のステップS202と同様に実行される。   In this embodiment, the priority order is set higher in the order of the fourth file system 241, the fifth file system 242, and the sixth file system 243. Note that the search in each of the file systems 241 to 243 is executed in the same manner as in step S202 described above.

ステップS212では、プリンタファイル制御部230は、サーバファイル制御部130に検索結果(すなわち、特定ファイルが見つかったか否か)を通知する。また、プリンタファイル制御部230は、3つのファイルシステム241〜243のうちのいずれかで特定ファイルが見つかった場合には、特定ファイルのデータを読み出して、該データをサーバファイル制御部130に供給する。   In step S212, the printer file control unit 230 notifies the server file control unit 130 of a search result (that is, whether a specific file has been found). When the specific file is found in any of the three file systems 241 to 243, the printer file control unit 230 reads the data of the specific file and supplies the data to the server file control unit 130. .

ステップS214では、サーバファイル制御部130は、プリンタファイル制御部230から検索結果を受け取る。そして、サーバファイル制御部130は、前述のステップS108(図3)において、プリンタファイル制御部230から特定ファイルのデータを受け取った場合には、該データをキャッシュに格納する。   In step S <b> 214, the server file control unit 130 receives the search result from the printer file control unit 230. When the server file control unit 130 receives data of a specific file from the printer file control unit 230 in step S108 (FIG. 3), the server file control unit 130 stores the data in the cache.

このように、本実施例では、プリンタ200内の複数のファイルシステムを検索対象として検索が実行されるため、プリンタ200内に格納された特定ファイルのファイル名が指定された場合にも、特定ファイルを検索することができる。   As described above, in this embodiment, the search is executed with a plurality of file systems in the printer 200 as search targets. Therefore, even when the file name of the specific file stored in the printer 200 is specified, the specific file is specified. Can be searched.

なお、本実施例では、ステップS108(図3)において、特定ファイルがデバイスサーバ100内の第3のファイルシステム143またはプリンタ200内の3つのファイルシステム241〜243のうちのいずれかで見つかった場合には、特定ファイルのデータが、サーバファイル制御部130内のキャッシュに格納される。これにより、特定ファイルのデータを迅速にクライアント300に供給することができる。すなわち、前述したように、第3のファイルシステム143に対応するRAMに対する読み出しに要する第3の時間は、第1および第2のファイルシステム141,142に対応するROM,フラッシュメモリに対する読み出しに要する第1および第2の時間よりも、長い。このため、仮に、特定ファイルが第3のファイルシステム143内で見つかり、ステップS112(図3)において第3のファイルシステム143に対応するRAMから特定ファイルのデータを読み出す場合には、該データがクライアント300に送信されるまでに、比較的長い時間が掛かってしまう。また、プリンタ200からデバイスサーバ100への特定ファイルのデータの転送には、比較的長い時間が掛かる。このため、仮に、特定ファイルが第4ないし第6のファイルシステム241〜243内で見つかり、ステップS112(図3)においてデバイスサーバ100がプリンタ200から特定ファイルのデータを取得する場合には、該データがクライアント300に送信されるまで、比較的長い時間が掛かってしまう。したがって、本実施例のようにすれば、特定ファイルのデータを比較的迅速にクライアントに供給することができる。   In this embodiment, when the specific file is found in any of the third file system 143 in the device server 100 or the three file systems 241 to 243 in the printer 200 in step S108 (FIG. 3). The data of the specific file is stored in a cache in the server file control unit 130. Thereby, the data of the specific file can be quickly supplied to the client 300. That is, as described above, the third time required for reading from the RAM corresponding to the third file system 143 is the third time required for reading from the ROM and flash memory corresponding to the first and second file systems 141 and 142. Longer than the first and second time. Therefore, if the specific file is found in the third file system 143 and the data of the specific file is read from the RAM corresponding to the third file system 143 in step S112 (FIG. 3), the data is stored in the client. It takes a relatively long time to be transmitted to 300. Also, it takes a relatively long time to transfer the data of the specific file from the printer 200 to the device server 100. For this reason, if the specific file is found in the fourth to sixth file systems 241 to 243 and the device server 100 acquires the data of the specific file from the printer 200 in step S112 (FIG. 3), the data It takes a relatively long time to be transmitted to the client 300. Therefore, according to the present embodiment, the data of the specific file can be supplied to the client relatively quickly.

また、図3(および図4)では、読み出し処理について説明したが、書き込み処理の場合にも、同様に検索処理が実行される。具体的には、クライアント300のユーザが特定ファイルの書き込みを指示する場合には、デバイスサーバ100は、特定ファイルのファイル名を含むオープン要求を受信し、このとき、ステップS102,S104,S106,S108,S110の処理が実行される。その後、デバイスサーバ100は、識別情報と書き込むべきデータとを含む書き込み要求を受信する。   3 (and FIG. 4) explained the read process, but the search process is also executed in the case of the write process. Specifically, when the user of the client 300 instructs to write a specific file, the device server 100 receives an open request including the file name of the specific file, and at this time, steps S102, S104, S106, S108 are received. , S110 is executed. Thereafter, the device server 100 receives a write request including identification information and data to be written.

以上説明したように、本実施例では、サーバファイル制御部130が設けられているため、注目サーバモジュール120が特定ファイルに対するアクセス要求を取得した場合に、サーバファイル制御部130は、複数のファイルシステムを検索対象に設定して、特定ファイルを検索することができる。このため、クライアント300は、特定ファイルにアクセスするために、特定のファイルシステムを指定したり、特定のプロトコル(すなわち、特定のサーバモジュールに対応するクライアントモジュール)を選択したりぜずに済み、この結果、デバイスサーバ100内に格納された特定ファイルに容易にアクセスすることが可能となる。   As described above, since the server file control unit 130 is provided in this embodiment, when the server module 120 of interest acquires an access request for a specific file, the server file control unit 130 includes a plurality of file systems. Can be set as a search target to search for a specific file. Therefore, the client 300 does not have to specify a specific file system or select a specific protocol (that is, a client module corresponding to a specific server module) to access a specific file. As a result, the specific file stored in the device server 100 can be easily accessed.

なお、本明細書における「アクセス要求」は、本実施例におけるステップS102のオープン要求と、ステップS112の読み出し要求と、を含む意味である。   Note that the “access request” in this specification includes the open request in step S102 and the read request in step S112 in this embodiment.

なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。   The present invention is not limited to the above examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

(1)上記実施例では、デバイスサーバ100には、3種類のサーバモジュール121〜123が設けられており、サーバファイル制御部130は、3種類のサーバモジュール121〜123によって共通に利用されるが、2種類または4種類以上のサービスモジュールによって共通に利用されてもよい。 (1) In the above embodiment, the device server 100 is provided with three types of server modules 121 to 123, and the server file control unit 130 is commonly used by the three types of server modules 121 to 123. It may be used in common by two types or four or more types of service modules.

(2)上記実施例では、デバイスサーバ100には、3つのファイルシステム141〜143が構築されているが、これに代えて、2つのファイルシステムが構築されていてもよいし、4つ以上のファイルシステムが構築されていてもよい。 (2) In the above embodiment, three file systems 141 to 143 are constructed in the device server 100. However, instead of this, two file systems may be constructed, or four or more file systems may be constructed. A file system may be constructed.

また、上記実施例では、複数のファイルシステムは、互いに異なる種類の複数のファイルシステムであるが、これに代えて、複数のファイルシステムのうちの少なくとも2つは、同じ種類の複数のファイルシステムであってもよい。   In the above embodiment, the plurality of file systems are a plurality of file systems of different types, but instead, at least two of the plurality of file systems are a plurality of file systems of the same type. There may be.

(3)上記実施例では、データ格納領域170には、互いに異なる種類の記録媒体で構成された3つの部分データ格納領域171〜173が含まれている。しかしながら、データ格納領域に含まれる複数の部分データ格納領域のうちの少なくとも2つは、同じ種類の記録媒体で構成された部分データ格納領域であってもよい。なお、この場合にも、部分データ記憶領域毎に、ファイルシステムが構築される。 (3) In the above-described embodiment, the data storage area 170 includes three partial data storage areas 171 to 173 formed of different types of recording media. However, at least two of the plurality of partial data storage areas included in the data storage area may be partial data storage areas configured of the same type of recording medium. Also in this case, a file system is constructed for each partial data storage area.

(4)上記実施例では、デバイスサーバ100において、各ファイルシステムは対応する記録媒体の種類に基づいて決定された順序で順次検索対象に設定され、各ファイルシステムにおいて順次特定ファイルが検索されている。しかしながら、これに代えて、各ファイルシステムは対応する記録媒体の種類とは無関係の所定の順序で順次検索対象に設定され、各ファイルシステムにおいて順次特定ファイルが検索されるようにしてもよい。ただし、上記実施例のように検索順序を設定すれば、特定ファイルを比較的迅速に検索することが可能となる。 (4) In the above embodiment, in the device server 100, each file system is sequentially set as a search target in the order determined based on the type of the corresponding recording medium, and the specific file is searched sequentially in each file system. . However, instead of this, each file system may be sequentially set as a search target in a predetermined order unrelated to the type of the corresponding recording medium, and a specific file may be sequentially searched in each file system. However, if the search order is set as in the above embodiment, a specific file can be searched relatively quickly.

また、デバイスサーバ100において、各ファイルシステムが同時に検索対象に設定され、各ファイルシステムにおいて特定ファイルが同時に検索されるようにしてもよい。こうすれば、特定ファイルをさらに迅速に検索することが可能となる。   In the device server 100, each file system may be set as a search target at the same time, and a specific file may be searched simultaneously in each file system. This makes it possible to search for a specific file more quickly.

一般には、複数のファイルシステムが検索対象に設定され、複数のファイルシステムにおいて特定ファイルが検索されればよい。なお、上記の変形例は、プリンタにおける検索にも同様に適用可能である。   In general, a plurality of file systems may be set as search targets, and a specific file may be searched in the plurality of file systems. Note that the above-described modification can be similarly applied to a search in a printer.

(5)上記実施例では、デバイスサーバ100内の複数のファイルシステムにおいて特定ファイルが見つからなかった場合に、プリンタ200内の複数のファイルシステムにおける特定ファイルの検索が実行されているが、これに代えて、デバイスサーバ100内の複数のファイルシステムの検索と並行して、プリンタ内の複数のファイルシステムにおける特定ファイルの検索が実行されてもよい。ただし、上記実施例のようにすれば、プリンタ200において検索が実行される頻度が小さくなるため、プリンタ200における検索の負荷を低減させることができる。 (5) In the above embodiment, when the specific file is not found in the plurality of file systems in the device server 100, the search for the specific file in the plurality of file systems in the printer 200 is executed. In parallel with the search of the plurality of file systems in the device server 100, the search for the specific file in the plurality of file systems in the printer may be executed. However, according to the above-described embodiment, the frequency at which the search is executed in the printer 200 is reduced, so that the search load in the printer 200 can be reduced.

一般には、サーバファイル制御部130は、プリンタファイル制御部230に検索の実行を依頼すればよい。   In general, the server file control unit 130 may request the printer file control unit 230 to execute a search.

(6)上記実施例では、ローカルデバイスとしてプリンタが利用されているが、これに代えて、他のローカルデバイスが利用されてもよい。他のローカルデバイスとしては、スキャナや、ストレージ装置、ファクシミリを利用可能である。また、他のローカルデバイスとしては、複数の機能(印刷,スキャナ等)を有する複合機を利用可能である。 (6) In the above embodiment, a printer is used as a local device. However, instead of this, another local device may be used. As another local device, a scanner, a storage device, and a facsimile can be used. As another local device, a multi-function device having a plurality of functions (printing, scanner, etc.) can be used.

(7)上記実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよい。 (7) In the above embodiment, a part of the configuration realized by hardware may be replaced with software, and conversely, a part of the configuration realized by software may be replaced with hardware. Also good.

ネットワークシステムの構成を示す説明図である。It is explanatory drawing which shows the structure of a network system. 図1のネットワークシステムを構成する各装置100,200,300の要部を模式的に示す説明図である。It is explanatory drawing which shows typically the principal part of each apparatus 100,200,300 which comprises the network system of FIG. 図1,図2に示すネットワークシステムで実行される読み出し処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the read-out process performed with the network system shown in FIG. 図3のステップS104の具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content of step S104 of FIG.

符号の説明Explanation of symbols

100…デバイスサーバ
110…制御回路
112…処理実行部
114…第1の通信制御部
116…第2の通信制御部
121〜123…サーバモジュール
130…ファイル制御部(サーバファイル制御部)
141〜143…ファイルシステム
170…データ格納領域
171〜173…部分データ格納領域
192…ネットワークIF部
198…USBホストIF部
200…プリンタ
210…制御回路
212…処理実行部
216…通信制御部
230…ファイル制御部(クライアントファイル制御部)
241〜243…ファイルシステム
270…データ格納領域
271〜273…部分データ格納領域
280…プリンタエンジン
298…USBデバイスIF部
300…クライアントコンピュータ
321〜323…クライアントモジュール
NW…ネットワーク
DESCRIPTION OF SYMBOLS 100 ... Device server 110 ... Control circuit 112 ... Processing execution part 114 ... 1st communication control part 116 ... 2nd communication control part 121-123 ... Server module 130 ... File control part (server file control part)
141 to 143 ... file system 170 ... data storage area 171 to 173 ... partial data storage area 192 ... network IF section 198 ... USB host IF section 200 ... printer 210 ... control circuit 212 ... processing execution section 216 ... communication control section 230 ... file Control unit (client file control unit)
241 to 243 ... file system 270 ... data storage area 271 to 273 ... partial data storage area 280 ... printer engine 298 ... USB device IF unit 300 ... client computer 321 to 323 ... client module NW ... network

Claims (14)

ネットワークに接続される制御装置であって、
前記ネットワークを介して接続されるコンピュータと通信する第1の通信部と、
複数のファイルシステムが構築された第1の格納領域と、
前記第1の通信部を介して前記コンピュータから受け取った要求に応じたサービスを提供するための複数のサービス部であって、各サービス部は互いに異なるプロトコルに従った前記要求を受け取る、前記複数のサービス部と、
前記複数のサービス部によって共通に利用され、前記複数のファイルシステムで管理されるファイルに関する処理を実行するための第1のファイル制御部と、
を備え、
前記第1のファイル制御部は、
前記複数のサービス部のうちの任意の注目サービス部が、前記第1の通信部を介して前記コンピュータから、特定ファイルに対するアクセス要求であって、前記特定ファイルが属するファイルシステムを指定するための情報を含まず、前記特定ファイルのファイル名を含む、前記アクセス要求を受け取った場合に、前記複数のファイルシステムを検索対象に設定して、前記ファイル名に基づいて前記特定ファイルを検索することを特徴とする制御装置。
A control device connected to a network,
A first communication unit that communicates with a computer connected via the network;
A first storage area in which a plurality of file systems are constructed;
A plurality of service units for providing a service according to a request received from the computer via the first communication unit, each service unit receiving the request according to a different protocol; A service department;
A first file control unit for executing processing related to a file used in common by the plurality of service units and managed by the plurality of file systems;
With
The first file control unit
Information for designating a file system to which an arbitrary service unit of the plurality of service units is an access request for a specific file from the computer via the first communication unit and to which the specific file belongs When the access request including the file name of the specific file is received, the plurality of file systems are set as search targets, and the specific file is searched based on the file name. Control device.
請求項1記載の制御装置であって、
前記注目サービス部は、前記特定ファイルが見つかった場合に、前記特定ファイルに対するアクセスを前記コンピュータに許容する、制御装置。
The control device according to claim 1,
The attention service unit allows the computer to access the specific file when the specific file is found.
請求項1または2記載の制御装置であって、
前記第1のファイル制御部は、前記複数のファイルシステムを所定の順序で順次検索対象に設定する、制御装置。
The control device according to claim 1 or 2,
The first file control unit is a control device that sequentially sets the plurality of file systems as search targets in a predetermined order.
請求項1ないし3のいずれかに記載の制御装置であって、
前記第1の格納領域は、
第1種の記録媒体で構成された第1の部分格納領域と、
前記第1種の記録媒体と異なる第2種の記録媒体で構成された第2の部分格納領域であって、前記第2の部分格納領域からの所定サイズのデータの読み出しに要する時間は、前記第1の部分格納領域からの前記所定サイズのデータの読み出しに要する時間よりも長い、前記第2の部分格納領域と、
を含み、
前記複数のファイルシステムは、
前記第1の部分格納領域に構築された第1のファイルシステムと、
前記第2の部分格納領域に構築された第2のファイルシステムと、
を含み、
前記第1のファイル制御部は、前記第1のファイルシステムを前記第2のファイルシステムよりも先に検索対象に設定する、制御装置。
The control device according to any one of claims 1 to 3,
The first storage area is
A first partial storage area composed of a first type of recording medium;
The second partial storage area composed of a second type of recording medium different from the first type of recording medium, and the time required for reading data of a predetermined size from the second partial storage area is The second partial storage area, which is longer than the time required to read the data of the predetermined size from the first partial storage area;
Including
The plurality of file systems are:
A first file system constructed in the first partial storage area;
A second file system constructed in the second partial storage area;
Including
The control device, wherein the first file control unit sets the first file system as a search target before the second file system.
請求項1ないし3のいずれかに記載の制御装置であって、
前記複数のファイルシステムは、
第1種のファイルシステムと、
前記第1種のファイルシステムと異なる第2種のファイルシステムと、
を含む、制御装置。
The control device according to any one of claims 1 to 3,
The plurality of file systems are:
The first type of file system;
A second type of file system different from the first type of file system;
Including a control device.
請求項1ないし3のいずれかに記載の制御装置であって、
前記第1の格納領域は、
第1種の記録媒体で構成された第1の部分格納領域と、
前記第1種の記録媒体と異なる第2種の記録媒体で構成された第2の部分格納領域と、
を含み、
前記複数のファイルシステムは、
前記第1の部分格納領域に構築された第1のファイルシステムと、
前記第2の部分格納領域に構築された第2のファイルシステムと、
を含む、制御装置。
The control device according to any one of claims 1 to 3,
The first storage area is
A first partial storage area composed of a first type of recording medium;
A second partial storage area composed of a second type of recording medium different from the first type of recording medium;
Including
The plurality of file systems are:
A first file system constructed in the first partial storage area;
A second file system constructed in the second partial storage area;
Including a control device.
請求項6記載の制御装置であって、
前記第1のファイルシステムと前記第2のファイルシステムとは、互いに異なる種類のファイルシステムである、制御装置。
The control device according to claim 6,
The control device, wherein the first file system and the second file system are different types of file systems.
請求項1ないし7のいずれかに記載の制御装置であって、
前記ネットワークを介さずに接続されるローカルデバイスと通信する第2の通信部を備え、
前記第1のファイル制御部は、前記第2の通信部を介して、前記ローカルデバイスに前記特定ファイルの検索の実行を依頼する、制御装置。
The control device according to any one of claims 1 to 7,
A second communication unit that communicates with a local device connected without going through the network;
The control device, wherein the first file control unit requests the local device to execute a search for the specific file via the second communication unit.
請求項8記載の制御装置であって、
前記第1のファイル制御部は、前記複数のファイルシステムにおいて前記特定ファイルを見つけることができなかった場合に、前記検索の実行を依頼する、制御装置。
The control device according to claim 8, comprising:
The first file control unit requests execution of the search when the specific file cannot be found in the plurality of file systems.
ネットワーク装置であって、
請求項8または9記載の前記制御装置と、
前記ローカルデバイスと、
を備え、
前記ローカルデバイスは、
前記制御装置と通信する第3の通信部と、
少なくとも1つのファイルシステムが構築された第2の格納領域と、
前記第1のファイル制御部からの前記検索の実行の依頼に応じて、前記少なくとも1つのファイルシステムを検索対象として前記特定ファイルを検索する第2のファイル制御部と、
を備える、ネットワーク装置。
A network device,
The control device according to claim 8 or 9,
The local device;
With
The local device is
A third communication unit communicating with the control device;
A second storage area in which at least one file system is constructed;
A second file control unit that searches for the specific file with the at least one file system as a search target in response to a request for execution of the search from the first file control unit;
A network device comprising:
請求項10記載のネットワーク装置であって、
前記第2の格納領域には、複数のファイルシステムが構築されており、
前記第2のファイル制御部は、前記第2の格納領域に構築された前記複数のファイルシステムを検索対象として前記特定ファイルを検索可能である、ネットワーク装置。
The network device according to claim 10, wherein
A plurality of file systems are constructed in the second storage area,
The network device, wherein the second file control unit is capable of searching for the specific file using the plurality of file systems constructed in the second storage area as a search target.
ネットワークを介して接続されるコンピュータと通信する第1の通信部と、複数のファイルシステムが構築された第1の格納領域と、前記第1の通信部を介して前記コンピュータから受け取った要求に応じたサービスを提供するための複数のサービス部であって、各サービス部は互いに異なるプロトコルに従った前記要求を受け取る、前記複数のサービス部と、を備える制御装置によって実行される処理方法であって、
前記複数のサービス部のうちの任意の注目サービス部が、前記第1の通信部を介して前記コンピュータから、特定ファイルに対するアクセス要求であって、前記特定ファイルが属するファイルシステムを指定するための情報を含まず、前記特定ファイルのファイル名を含む、前記アクセス要求を受け取った場合に、前記複数のファイルシステムを検索対象に設定して、前記ファイル名に基づいて前記特定ファイルを検索する工程を備えることを特徴とする処理方法。
A first communication unit that communicates with a computer connected via a network, a first storage area in which a plurality of file systems are constructed, and a request received from the computer via the first communication unit A plurality of service units for providing a service, each service unit receiving the request according to a different protocol, and the plurality of service units, and a processing method executed by a control device comprising: ,
Information for designating a file system to which an arbitrary service unit of the plurality of service units is an access request for a specific file from the computer via the first communication unit and to which the specific file belongs And when the access request including the file name of the specific file is received, the plurality of file systems are set as search targets, and the specific file is searched based on the file name. A processing method characterized by the above.
ネットワークを介して接続されるコンピュータと通信する第1の通信部と、複数のファイルシステムが構築された第1の格納領域と、前記第1の通信部を介して前記コンピュータから受け取った要求に応じたサービスを提供するための複数のサービス部であって、各サービス部は互いに異なるプロトコルに従った前記要求を受け取る、前記複数のサービス部と、を備える制御装置に処理を実行させるためのコンピュータプログラムであって、
前記複数のサービス部のうちの任意の注目サービス部が、前記第1の通信部を介して前記コンピュータから、特定ファイルに対するアクセス要求であって、前記特定ファイルが属するファイルシステムを指定するための情報を含まず、前記特定ファイルのファイル名を含む、前記アクセス要求を受け取った場合に、前記複数のファイルシステムを検索対象に設定して、前記ファイル名に基づいて前記特定ファイルを検索する機能を、前記制御装置に実現させることを特徴とするコンピュータプログラム。
A first communication unit that communicates with a computer connected via a network, a first storage area in which a plurality of file systems are constructed, and a request received from the computer via the first communication unit A computer program for causing a control device including a plurality of service units to execute processing, wherein each service unit receives the request according to a different protocol. Because
Information for designating a file system to which an arbitrary service unit of the plurality of service units is an access request for a specific file from the computer via the first communication unit and to which the specific file belongs A function of searching for the specific file based on the file name by setting the plurality of file systems as search targets when the access request is received including the file name of the specific file. A computer program implemented by the control device.
請求項13記載のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the computer program according to claim 13 is recorded.
JP2006004596A 2006-01-12 2006-01-12 Access to file stored in controller connected to network Pending JP2007188209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006004596A JP2007188209A (en) 2006-01-12 2006-01-12 Access to file stored in controller connected to network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006004596A JP2007188209A (en) 2006-01-12 2006-01-12 Access to file stored in controller connected to network

Publications (1)

Publication Number Publication Date
JP2007188209A true JP2007188209A (en) 2007-07-26

Family

ID=38343349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006004596A Pending JP2007188209A (en) 2006-01-12 2006-01-12 Access to file stored in controller connected to network

Country Status (1)

Country Link
JP (1) JP2007188209A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015049755A (en) * 2013-09-02 2015-03-16 キヤノン株式会社 Information processing apparatus, and control method and program therefor
JP2020525909A (en) * 2017-06-29 2020-08-27 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Multi-tenant data service in distributed file system for big data analysis

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015049755A (en) * 2013-09-02 2015-03-16 キヤノン株式会社 Information processing apparatus, and control method and program therefor
US10148644B2 (en) 2013-09-02 2018-12-04 Canon Kabushiki Kaisha Information processing apparatus and method of controlling the same
JP2020525909A (en) * 2017-06-29 2020-08-27 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Multi-tenant data service in distributed file system for big data analysis
JP7160442B2 (en) 2017-06-29 2022-10-25 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, computer program and computer system for managing read/write requests

Similar Documents

Publication Publication Date Title
US9928013B2 (en) Print control system, method of controlling printing, and recording medium
JP2008041049A (en) Image processing recording management system, image processor and image processing recording management device
US7640576B2 (en) Print system, apparatus, and method for performing printing based on document information stored in document server
JP2004234218A (en) Image forming processing system
JP2010123115A (en) Computing apparatus, web page content management method and computer-readable medium
JP4844105B2 (en) Menu data generation in the control device to which the local device is connected
US20070006221A1 (en) Software install environment constructing apparatus
CN113395340A (en) Information updating method, device, equipment, system and readable storage medium
JP2004078282A (en) Printer equipment information setting method, image printing device and program
JP2006268632A (en) Computer system, storage server, retrieval server, terminal device and retrieval method
JP2007188209A (en) Access to file stored in controller connected to network
JP2006178654A (en) Information processor, and method and program for processing image formation request
JP2016126604A (en) Terminal device, program, information processing system and output method
JP5300650B2 (en) Service registration apparatus, content registration apparatus, service registration method, content registration method, program, and recording medium using http service
US20070009299A1 (en) Printer and printing method
US20160373592A1 (en) Information processing system, information processing device, and information processing method
JP4498045B2 (en) Image processing apparatus, control method therefor, and program
US20150358499A1 (en) Image forming apparatus and method for controlling the same
JP4130201B2 (en) Server, printer device information setting method, program, and recording medium
JP3925520B2 (en) Output device specifying apparatus, output device specifying control program, and output device specifying method
JP5439852B2 (en) DEVICE MANAGEMENT DEVICE, DEVICE MANAGEMENT SYSTEM, DEVICE MANAGEMENT METHOD, DEVICE MANAGEMENT PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2008310532A (en) Command execution method and middle device
JP4775021B2 (en) Control in a control device connected to the network
US20240155063A1 (en) Information processing apparatus, information processing method, and medium
JP5005566B2 (en) Image forming apparatus, data management method, and data management program