JP2007193660A - Information management device, information management method and program therefor - Google Patents

Information management device, information management method and program therefor Download PDF

Info

Publication number
JP2007193660A
JP2007193660A JP2006012512A JP2006012512A JP2007193660A JP 2007193660 A JP2007193660 A JP 2007193660A JP 2006012512 A JP2006012512 A JP 2006012512A JP 2006012512 A JP2006012512 A JP 2006012512A JP 2007193660 A JP2007193660 A JP 2007193660A
Authority
JP
Japan
Prior art keywords
tree structure
information
file
structure file
information management
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.)
Withdrawn
Application number
JP2006012512A
Other languages
Japanese (ja)
Inventor
Kenichi Kuwabara
賢一 桑原
Yukinobu Momozono
幸信 桃薗
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 JP2006012512A priority Critical patent/JP2007193660A/en
Publication of JP2007193660A publication Critical patent/JP2007193660A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To properly divide a tree-structure file including information about a tree structure of a storage device, in an information management device outputting the information about the tree structure of the storage device to external equipment by an instruction from the external equipment. <P>SOLUTION: When receiving the information about the tree structure of an HDD 54 as an XML file 70, a CPU 61 of a management server 60 analyzes the XML file 70, decides whether to perform division processing of the XML file 70 or not on the basis of the number of hierarchies and the number of folders, and creating the XML file wherein information about the folder of the same hierarchy having the common parent folder is described in each the hierarchy in a range wherein a time for analyzing each the XML file does not exceed a processing time allowable in a response to the external equipment to execute the division processing of the XML file 70 when deciding to perform the division processing. Thus, the management server 60 can be prepared for inquiry of folder information received in the case of file storage in a scanner device 20. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、情報管理装置、情報管理方法及びそのプログラムに関する。   The present invention relates to an information management apparatus, an information management method, and a program thereof.

従来、情報管理装置としては、コンピュータのツリー構造をXML形式で記述し、他のコンピュータに送信するものが提案されている(例えば、特許文献1参照)。この特許文献1に記載された情報管理装置は、送信元のコンピュータのツリー構造を記述したXMLファイルを複数の分割ファイルに分割すると共に分割が完了したものから送信先のコンピュータへ送信し、送信先のコンピュータでは、送信元のコンピュータの分割処理及び送信処理と並行して受信した分割ファイルを解析することにより、送信元のコンピュータの全体のツリー構造を把握する。このように、送信先のコンピュータにおいて、分割しないXMLファイルのすべてを受信したのちにこのファイルを解析して送信元のコンピュータの全体のツリー構造を把握するものに比べて処理時間の短縮が図られるとしている。
特開2004−287978号公報
2. Description of the Related Art Conventionally, as an information management apparatus, an apparatus that describes a tree structure of a computer in an XML format and transmits it to another computer has been proposed (for example, see Patent Document 1). The information management apparatus described in Patent Document 1 divides an XML file describing a tree structure of a transmission source computer into a plurality of divided files, and transmits the divided files to the transmission destination computer after the division is completed. In this computer, the entire tree structure of the transmission source computer is grasped by analyzing the division file received in parallel with the division processing of the transmission source computer and the transmission processing. In this way, the processing time can be shortened compared to the case where the transmission destination computer receives all the XML files that are not divided and then analyzes the file to grasp the entire tree structure of the transmission source computer. It is said.
JP 2004-287978 A

しかしながら、この特許文献1に記載された情報管理装置では、処理時間の短縮のために、ツリー構造を記述したXMLファイルを分割する必要があるか否かを判断する点については考慮されていなかった。また、分割したファイル自体をあとから個別に利用することは考慮されておらず、送信先のコンピュータにおいてXMLファイルのすべての情報を解析してツリー構造のすべてを把握する、つまり、ユーザが利用しない部分のツリー構造の情報まで解析して把握するため、依然として不必要な処理を行っているという問題があった。   However, the information management apparatus described in Patent Document 1 does not take into consideration whether it is necessary to divide an XML file describing a tree structure in order to reduce processing time. . In addition, it is not considered to use the divided files individually afterwards, and the destination computer analyzes all the information of the XML file to grasp all of the tree structure, that is, the user does not use it. There is a problem that unnecessary processing is still being performed in order to analyze and grasp the information of the partial tree structure.

本発明は、このような課題に鑑みなされたものであり、記憶装置の木構造の情報を含む木構造ファイルの分割を適正に実行することができる情報管理装置、情報管理方法及びそのプログラムを提供することを目的の一つとする。また、記憶装置の木構造の情報を外部機器に出力するに際して、記憶装置の木構造の情報を効率よく解析することができる情報管理装置、情報管理方法及びそのプログラムを提供することを目的の一つとする。   The present invention has been made in view of such a problem, and provides an information management apparatus, an information management method, and a program thereof that can appropriately execute division of a tree structure file including information on a tree structure of a storage device. One of the purposes is to do. Another object of the present invention is to provide an information management device, an information management method, and a program thereof that can efficiently analyze the tree structure information of the storage device when outputting the tree structure information of the storage device to an external device. I will.

本発明は、上述の目的の少なくとも一つを達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve at least one of the above objects.

本発明の情報管理装置は、
記憶装置の階層状の木構造の情報を管理する情報管理装置であって、
前記記憶装置の木構造の情報を所定のマークアップ言語で記述した木構造ファイルを記憶可能な情報記憶手段と、
前記記憶装置の木構造の状態及び前記情報管理装置の処理能力のうち少なくとも一つに基づいて前記木構造ファイルを分割する処理を実行するか否かを判定する分割判定手段と、
前記分割判定手段によって前記木構造ファイルを分割する処理を実行しないと判定されたときには該木構造ファイルがそのまま前記情報記憶手段に保存されるよう前記情報記憶手段を制御し、前記分割判定手段によって前記木構造ファイルを分割する処理を実行すると判定されたときには該木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれが前記情報記憶手段に保存されるよう前記情報記憶手段を制御する制御手段と、
を備えたものである。
The information management apparatus of the present invention
An information management device for managing hierarchical tree structure information of a storage device,
Information storage means capable of storing a tree structure file in which the tree structure information of the storage device is described in a predetermined markup language;
Division determination means for determining whether or not to execute the process of dividing the tree structure file based on at least one of the state of the tree structure of the storage device and the processing capability of the information management device;
When the division determination unit determines not to execute the process of dividing the tree structure file, the information storage unit is controlled so that the tree structure file is stored in the information storage unit as it is. When it is determined that the process for dividing the tree structure file is to be executed, the tree structure file is divided so as to be in a predetermined division state including a part of the tree structure, and each of the divided tree structure files is Control means for controlling the information storage means to be stored in the information storage means;
It is equipped with.

この情報管理装置では、記憶装置の木構造の状態及び情報管理装置の処理能力のうち少なくとも一つに基づいて、所定のマークアップ言語で記述され情報記憶手段に記憶された木構造ファイルを分割する処理を実行するか否かを判定し、木構造ファイルの分割処理を実行しないと判定されたときには該木構造ファイルをそのまま情報記憶手段に保存し、木構造ファイルの分割処理を実行すると判定されたときには該木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれを情報記憶手段に保存する。一般に、マークアップ言語で記述された木構造ファイルはファイル全体を解析する必要があるため、例えば、外部機器から記憶装置の木構造の情報の問合せがあったときに、木構造ファイルが大きいと、解析する処理時間がかかり応答に時間がかかることがある。ここでは、木構造の解析に要する処理時間と相関関係にある木構造の状態や情報管理装置の処理能力に基づいて木構造ファイルを分割するか否かを判定するため、記憶装置の木構造の情報を含む木構造ファイルの分割を適正に実行することができる。また、予め木構造ファイルの分割を行うことにより、外部機器などからの木構造の情報の問合せに備えることができる。ここで、「所定の分割状態」には、分割された木構造ファイルのそれぞれが利用可能な状態で分割された状態が含まれる。   In this information management apparatus, a tree structure file described in a predetermined markup language and stored in the information storage means is divided based on at least one of the state of the tree structure of the storage device and the processing capability of the information management apparatus. It is determined whether or not to execute the process, and when it is determined not to execute the split process of the tree structure file, it is determined to store the tree structure file in the information storage unit as it is and to execute the split process of the tree structure file. In some cases, the tree structure file is divided so as to be in a predetermined division state including a part of the tree structure, and each of the divided tree structure files is stored in the information storage means. Generally, a tree structure file described in a markup language needs to analyze the entire file. For example, when an inquiry about the tree structure of a storage device is made from an external device, if the tree structure file is large, It may take time to analyze and take time to respond. Here, in order to determine whether to divide the tree structure file based on the state of the tree structure correlated with the processing time required for the analysis of the tree structure and the processing capability of the information management device, The tree structure file including information can be properly divided. In addition, by dividing the tree structure file in advance, it is possible to prepare for an inquiry about the tree structure information from an external device or the like. Here, the “predetermined division state” includes a state where each of the divided tree structure files is divided in a usable state.

本発明の情報管理装置において、前記制御手段は、前記マークアップ言語としてのXML又はXHTMLで記述された前記木構造ファイルを前記情報記憶手段に保存してもよい。こうすれば、XMLやXHTMLを利用して比較的容易に記憶装置の木構造を管理することができる。   In the information management apparatus of the present invention, the control means may store the tree structure file described in XML or XHTML as the markup language in the information storage means. In this way, the tree structure of the storage device can be managed relatively easily using XML or XHTML.

本発明の情報管理装置において、前記情報記憶手段は、ファイルを格納可能な1以上のフォルダの情報を含む前記木構造ファイルを記憶し、前記分割判定手段は、前記木構造ファイルを解析し該解析した結果、前記木構造の状態として前記木構造の情報に含まれているフォルダ数が所定の処理遅延数以上あるときに前記木構造ファイルを分割する処理を実行すると判定してもよい。こうすれば、木構造ファイルの解析処理時間に相関関係のある木構造ファイルに含まれているフォルダ数を用いて木構造ファイルの解析処理にかかる時間を考慮して分割を実行するか否かを判定することができる。ここで、「所定の処理遅延数」とは、木構造ファイルを解析する際に許容されうる処理時間を超えてしまうようなフォルダ数に定めてもよい。また、「フォルダ情報」には、フォルダ名、フォルダのアドレスなどが含まれていてもよい。このとき、前記制御手段は、所定の分割状態となるよう前記木構造ファイルの分割処理を実行するに際して、前記処理遅延数未満のフォルダが前記分割された木構造ファイルに含まれるよう前記木構造ファイルの分割処理を実行してもよい。こうすれば、木構造ファイルに含まれるフォルダ数が処理遅延数未満となるため、木構造ファイルの解析処理にかかる時間を適正なものとすることができる。   In the information management apparatus of the present invention, the information storage means stores the tree structure file including information of one or more folders in which the file can be stored, and the division determination means analyzes the tree structure file and analyzes the tree structure file. As a result, it may be determined that the process of dividing the tree structure file is executed when the number of folders included in the tree structure information is equal to or greater than a predetermined processing delay number as the state of the tree structure. In this way, using the number of folders included in the tree structure file correlated with the analysis processing time of the tree structure file, whether or not the division is executed in consideration of the time required for the analysis process of the tree structure file is determined. Can be determined. Here, the “predetermined number of processing delays” may be set to the number of folders that exceeds the allowable processing time when analyzing the tree structure file. The “folder information” may include a folder name, a folder address, and the like. At this time, the control means executes the tree structure file division processing so as to be in a predetermined division state, so that the tree structure file includes a folder having a number less than the processing delay number in the divided tree structure file. The dividing process may be executed. In this way, the number of folders included in the tree structure file is less than the number of processing delays, so that the time required for the analysis process of the tree structure file can be made appropriate.

本発明の情報管理装置において、前記分割判定手段は、前記木構造ファイルを解析し該解析した結果、前記記憶装置の木構造の状態として前記木構造ファイルに含まれている木構造の階層数が所定の処理遅延階層数以上あるときに前記木構造ファイルを分割する処理を実行すると判定してもよい。こうすれば、木構造ファイルの解析処理時間に相関関係のある木構造ファイルの階層数を用いて木構造ファイルの解析処理にかかる時間を考慮して分割を実行するか否かを判定することができる。ここで、「処理遅延階層数」とは、木構造ファイルを解析する際に許容されうる処理時間を超えてしまう階層数に定めてもよい。このとき、前記制御手段は、所定の分割状態となるよう前記木構造ファイルの分割処理を実行するに際して、上位の階層が含まれる分割後の木構造ファイルと該上位の階層に対応付けられた下位の階層が含まれる分割後の木構造ファイルとに前記木構造ファイルが分割されるよう前記木構造ファイルの分割処理を実行してもよい。こうすれば、木構造ファイルに含まれる上位の階層が同一である下位の階層ごとに木構造ファイルが保存されるため、上位の階層と下位の階層との対応付けがしやすい。   In the information management device of the present invention, the division determination unit analyzes the tree structure file, and as a result of the analysis, the number of tree structure hierarchies included in the tree structure file as the state of the tree structure of the storage device is It may be determined that the process of dividing the tree-structured file is executed when there are more than a predetermined number of processing delay hierarchies. In this way, it is possible to determine whether or not to execute the division in consideration of the time required for the analysis process of the tree structure file using the number of levels of the tree structure file correlated with the analysis process time of the tree structure file. it can. Here, the “number of processing delay hierarchies” may be set to the number of hierarchies that exceed the allowable processing time when the tree structure file is analyzed. At this time, the control means, when executing the division process of the tree structure file so as to be in a predetermined division state, the divided tree structure file including the upper hierarchy and the lower hierarchy associated with the upper hierarchy The tree structure file may be divided so that the tree structure file is divided into the divided tree structure file including the hierarchy. In this way, since the tree structure file is stored for each lower hierarchy having the same upper hierarchy included in the tree structure file, it is easy to associate the upper hierarchy with the lower hierarchy.

本発明の情報管理装置において、前記分割判定手段は、前記情報管理装置の処理能力が所定の処理能力を下回るときに前記木構造ファイルを分割するものと判定してもよい。こうすれば、木構造ファイルの解析処理時間に相関関係のある情報管理装置の処理能力を用いて木構造ファイルの解析処理にかかる時間を考慮して分割の実行の可否を判定することができる。ここで、「情報管理装置の処理能力」とは、例えば情報管理装置のスペック(CPUのクロック数やメモリ容量など)としてもよい。このとき、前記分割判定手段は、前記木構造ファイルを解析し該解析した結果、該解析に要した時間が所定の許容処理時間を超えたときに前記情報管理装置の処理能力が所定の処理能力を下回るものとして前記木構造ファイルを分割する処理を実行すると判定してもよい。   In the information management apparatus of the present invention, the division determination unit may determine that the tree-structured file is to be divided when the processing capacity of the information management apparatus falls below a predetermined processing capacity. In this way, it is possible to determine whether or not to execute the division in consideration of the time required for the analysis process of the tree structure file by using the processing capability of the information management apparatus having a correlation with the analysis process time of the tree structure file. Here, the “processing capacity of the information management apparatus” may be, for example, specifications of the information management apparatus (CPU clock number, memory capacity, etc.). At this time, the division determination means analyzes the tree structure file, and as a result of the analysis, when the time required for the analysis exceeds a predetermined allowable processing time, the processing capability of the information management device is a predetermined processing capability. It may be determined that the process of dividing the tree-structured file is executed as being less than

本発明の情報管理装置は、前記記憶装置の木構造の情報を取得する情報取得手段、を備え、前記制御手段は、前記情報取得手段によって取得された前記記憶装置の木構造の情報に基づいて前記木構造ファイルを前記情報記憶手段に記憶するよう前記情報記憶手段を制御してもよい。こうすれば、比較的容易に記憶装置から該記憶装置の木構造の情報を得ることができる。このとき、前記情報取得手段は、前記記憶装置の木構造の情報をテキストファイルとして前記記憶装置から取得し、前記制御手段は、前記取得された木構造の情報に基づいて前記木構造ファイルを作成し該作成した木構造ファイルを前記情報記憶手段に記憶するよう前記情報記憶手段を制御してもよい。あるいは、前記情報取得手段は、前記記憶装置に記憶された前記木構造の情報を所定のマークアップ言語で記述された木構造ファイルで前記記憶装置から取得し、前記制御手段は、前記取得された木構造ファイルを前記情報記憶手段に記憶するよう前記情報記憶手段を制御してもよい。また、前記制御手段は、定期的に前記情報記憶手段から前記木構造の情報を取得するよう前記情報取得手段を制御してもよいし、前記制御手段は、前記記憶装置の木構造の情報が更新されるたびに該記憶装置から送信される該木構造の情報を取得するよう前記情報取得手段を制御してもよい。   The information management device of the present invention includes information acquisition means for acquiring information on the tree structure of the storage device, and the control means is based on the tree structure information of the storage device acquired by the information acquisition means. The information storage unit may be controlled to store the tree structure file in the information storage unit. In this way, the tree structure information of the storage device can be obtained from the storage device relatively easily. At this time, the information acquisition means acquires the tree structure information of the storage device as a text file from the storage device, and the control means creates the tree structure file based on the acquired tree structure information. The information storage unit may be controlled to store the created tree structure file in the information storage unit. Alternatively, the information acquisition unit acquires the tree structure information stored in the storage device from the storage device in a tree structure file described in a predetermined markup language, and the control unit acquires the acquired information. The information storage means may be controlled to store the tree structure file in the information storage means. The control means may control the information acquisition means so as to periodically acquire the tree structure information from the information storage means, and the control means may store the tree structure information of the storage device. The information acquisition unit may be controlled so as to acquire the information of the tree structure transmitted from the storage device every time it is updated.

本発明の情報管理装置は、記憶装置の木構造の情報を外部機器へ出力する指令を該外部機器から取得する指令取得手段と、情報を外部機器に出力可能な出力手段と、を備え、前記制御手段は、前記木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれが前記情報記憶手段に保存されるよう前記情報記憶手段を制御したあと前記指令取得手段が前記出力指令を取得したときには、前記分割された木構造ファイルのうち前記出力指令に対応する木構造の情報を含む前記木構造ファイルを前記情報記憶手段から読み出し該読み出した木構造ファイルを解析し、該解析結果を前記記憶装置の木構造の情報として前記外部機器へ出力するよう前記出力手段を制御してもよい。こうすれば、分割して保存されている木構造ファイルのうち、外部機器から問合せがあった木構造に対応する木構造ファイルを解析するため、記憶装置の木構造のすべてを含む木構造ファイルを解析するのに比べて記憶装置の木構造の情報を効率よく解析することができる。このとき、前記制御手段は、前記解析結果を前記記憶装置の木構造の情報として前記外部機器へ出力するに際して、テキストファイルを前記解析結果として前記外部機器へ出力してもよい。こうすれば、外部機器で木構造ファイルを解析する必要がない。また、前記制御手段は、前記木構造ファイルがそのまま前記情報記憶手段に保存されるよう前記情報記憶手段を制御したあと前記指令取得手段が前記出力指令を取得したときには、前記情報記憶手段に保存された前記木構造ファイルを読み出し該読み出した木構造ファイルを解析し、該解析結果を前記記憶装置の木構造の情報として前記外部機器へ出力するよう前記出力手段を制御してもよい。また、前記制御手段は、前記指令取得手段から前記出力指令を受けていないときに前記分割判定手段によって前記木構造ファイルを分割する処理を実行すると判定されたときには、前記木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行してもよい。こうすれば、外部機器から記憶装置の木構造の問合せがある前に予め木構造ファイルを解析して分割しておくため、外部機器の問合せに対して迅速に対応できる。また、前記外部機器は、スキャナ、プリンタ、デジタルカメラ及び携帯電話のうちの少なくとも1つであるとしてもよい。スキャナ、プリンタ、デジタルカメラ及び携帯電話などの外部機器は、データを木構造に含まれるフォルダなどに保存したり木構造に含まれるフォルダから読み出したりすることが多いため、本発明を適用する意義が高い。   The information management device of the present invention comprises command acquisition means for acquiring a command for outputting the tree structure information of the storage device to an external device, and output means capable of outputting information to the external device, The control means executes the division process of the tree structure file, controls the information storage means so that each of the divided tree structure files is stored in the information storage means, and then the command acquisition means outputs the output command. When acquired, the tree structure file including the tree structure information corresponding to the output command is read from the information storage unit among the divided tree structure files, the read tree structure file is analyzed, and the analysis result is obtained. The output means may be controlled to output to the external device as information on the tree structure of the storage device. In this way, in order to analyze the tree structure file corresponding to the tree structure queried from the external device among the tree structure files stored separately, the tree structure file including all the tree structures of the storage device is analyzed. Compared to the analysis, the tree structure information of the storage device can be analyzed more efficiently. At this time, the control means may output a text file as the analysis result to the external device when the analysis result is output to the external device as the tree structure information of the storage device. In this way, there is no need to analyze the tree structure file with an external device. In addition, when the command acquisition unit acquires the output command after controlling the information storage unit so that the tree structure file is stored in the information storage unit as it is, the control unit is stored in the information storage unit. The output unit may be controlled to read the tree structure file, analyze the read tree structure file, and output the analysis result to the external device as the tree structure information of the storage device. The control means includes a part of the tree structure when the division determination means determines to execute the process of dividing the tree structure file when the output instruction is not received from the instruction acquisition means. The tree structure file may be divided so that a predetermined division state is obtained. In this way, since the tree structure file is analyzed and divided in advance before an inquiry about the tree structure of the storage device from the external device, it is possible to respond quickly to an inquiry about the external device. The external device may be at least one of a scanner, a printer, a digital camera, and a mobile phone. Since external devices such as scanners, printers, digital cameras, and mobile phones often store data in a folder included in a tree structure or read data from a folder included in the tree structure, it is meaningful to apply the present invention. high.

本発明の情報管理方法は、
記憶装置の階層状の木構造の情報を、前記記憶装置の木構造の情報を所定のマークアップ言語で記述した木構造ファイルを記憶可能な情報記憶手段を利用して管理するコンピュータ・ソフトウェアによる情報管理方法であって、
(a)前記記憶装置の木構造の状態及び前記情報管理装置の処理能力のうち少なくとも一つに基づいて前記木構造ファイルを分割する処理を実行するか否かを判定するステップと、
(b)前記ステップ(a)で前記木構造ファイルを分割する処理を実行しないと判定されたときには該木構造ファイルがそのまま前記情報記憶手段に保存されるよう前記情報記憶手段を制御し、前記ステップ(a)で前記木構造ファイルを分割する処理を実行すると判定されたときには該木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれが前記情報記憶手段に保存されるよう前記情報記憶手段を制御するステップと、
を含むものである。
The information management method of the present invention includes:
Information by computer software for managing hierarchical tree structure information of the storage device using information storage means capable of storing a tree structure file in which the tree structure information of the storage device is described in a predetermined markup language A management method,
(A) determining whether or not to execute a process of dividing the tree structure file based on at least one of a tree structure state of the storage device and a processing capability of the information management device;
(B) When it is determined in step (a) that the process of dividing the tree structure file is not to be executed, the information storage means is controlled so that the tree structure file is stored in the information storage means as it is, When it is determined in (a) that the process for dividing the tree structure file is to be executed, the tree structure file is divided so that a predetermined division state including a part of the tree structure is included, and the divided tree is obtained. Controlling the information storage means such that each of the structure files is stored in the information storage means;
Is included.

この情報管理方法では、記憶装置の木構造の状態及び情報管理装置の処理能力のうち少なくとも一つに基づいて、所定のマークアップ言語で記述され情報記憶手段に記憶された木構造ファイルを分割する処理を実行するか否かを判定し、木構造ファイルの分割処理を実行しないと判定されたときには該木構造ファイルをそのまま情報記憶手段に保存し、木構造ファイルの分割処理を実行すると判定されたときには該木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれを情報記憶手段に保存する。一般に、マークアップ言語で記述された木構造ファイルはファイル全体を解析する必要があるため、ファイルが大きくなると処理時間がかかることがある。ここでは、木構造の解析に要する処理時間と相関関係にある木構造の状態や情報管理装置の処理能力に基づいて木構造ファイルを分割するか否かを判定するため、記憶装置の木構造の情報を含む木構造ファイルの分割を適正に実行することができる。なお、この情報管理方法において、上述した情報管理方法の種々の態様を採用してもよいし、また、上述した情報管理方法の各機能を実現するようなステップを追加してもよい。   In this information management method, a tree structure file described in a predetermined markup language and stored in the information storage means is divided based on at least one of the state of the tree structure of the storage device and the processing capability of the information management device. It is determined whether or not to execute the process, and when it is determined not to execute the split process of the tree structure file, it is determined to store the tree structure file in the information storage unit as it is and to execute the split process of the tree structure file. In some cases, the tree structure file is divided so as to be in a predetermined division state including a part of the tree structure, and each of the divided tree structure files is stored in the information storage means. In general, a tree structure file described in a markup language needs to analyze the entire file, and therefore processing time may be required when the file becomes large. Here, in order to determine whether to divide the tree structure file based on the state of the tree structure correlated with the processing time required for the analysis of the tree structure and the processing capability of the information management device, The tree structure file including information can be properly divided. In this information management method, various aspects of the above-described information management method may be adopted, and steps for realizing each function of the above-described information management method may be added.

本発明のプログラムは、上述した情報管理方法の各ステップを1又は複数のコンピュータに実現させるためのものである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述した情報管理方法の各ステップが実行されるため、該情報管理方法と同様の作用効果が得られる。   The program of the present invention is for causing each step of the information management method described above to be realized by one or more computers. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer or if each step is shared and executed by a plurality of computers, each step of the information management method described above is executed. can get.

次に、本発明を実施するための最良の形態を図面を用いて説明する。   Next, the best mode for carrying out the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態であるスキャン情報管理システム10の構成の概略を示す構成図であり、図2は、スキャナ装置20が備える操作パネル40の説明図である。本実施例のスキャン情報管理システム10は、画像を読み取ってスキャンデータに変換する本発明の外部機器としてのスキャナ装置20と、スキャナ装置20とLAN12を介して接続され本発明の記憶装置としての機能を備えたファイルサーバ50と、スキャナ装置20やファイルサーバ50とネットワークとしてのLAN12を介して接続され本発明の情報管理装置としての機能を備えた管理サーバ60と、によって構成されている。なお、このスキャン情報管理システム10では、図示しない複数のスキャナ装置20がLAN12に接続されている。   FIG. 1 is a configuration diagram showing an outline of the configuration of a scan information management system 10 according to an embodiment of the present invention, and FIG. 2 is an explanatory diagram of an operation panel 40 provided in the scanner device 20. The scan information management system 10 of the present embodiment is a scanner device 20 as an external device of the present invention that reads an image and converts it into scan data, and a function as a storage device of the present invention connected to the scanner device 20 via the LAN 12. And a management server 60 connected to the scanner device 20 and the file server 50 via the LAN 12 as a network and having a function as an information management device of the present invention. In the scan information management system 10, a plurality of scanner devices 20 (not shown) are connected to the LAN 12.

スキャナ装置20は、スキャナ機構31とスキャナASIC(Application Specific Integrated Circuit)32とを備えたスキャナ部30と、電気通信回線としてのLAN12に接続された機器との間で信号の送受信が可能なネットワークインターフェース(I/F)25と、ユーザが各種の指示を入力する操作パネル40と、装置全体の制御を司るコントローラ29とを備えている。スキャナ機構31は、いわゆるフラットベッド型であり、画像を読み取る媒体Mを載せるガラス面33と、このガラス面33を介して媒体Mを光学的に読み取るラインイメージセンサ34と、媒体Mを読み取るためラインイメージセンサ34を走査させる移動部36とを備えている。スキャナASIC32はスキャナ機構31を制御する機能を備えたICチップであり、スキャナ機構31のラインイメージセンサ34で読み取られたスキャンデータを、コントローラ29のRAM23に設けられたスキャナバッファに格納する。本実施例のラインイメージセンサ34は、媒体Mに向かって発光した後の反射光をレッド(R)、グリーン(G)、ブルー(B)の各色に分解してスキャンデータとする周知のカラーイメージセンサである。   The scanner device 20 is a network interface capable of transmitting and receiving signals between a scanner unit 30 including a scanner mechanism 31 and a scanner ASIC (Application Specific Integrated Circuit) 32 and a device connected to the LAN 12 as an electric communication line. (I / F) 25, an operation panel 40 through which a user inputs various instructions, and a controller 29 that controls the entire apparatus. The scanner mechanism 31 is a so-called flatbed type, and includes a glass surface 33 on which a medium M for reading an image is placed, a line image sensor 34 for optically reading the medium M through the glass surface 33, and a line for reading the medium M. And a moving unit 36 that scans the image sensor 34. The scanner ASIC 32 is an IC chip having a function of controlling the scanner mechanism 31, and stores scan data read by the line image sensor 34 of the scanner mechanism 31 in a scanner buffer provided in the RAM 23 of the controller 29. The line image sensor 34 according to the present embodiment is a known color image in which reflected light after being emitted toward the medium M is separated into red (R), green (G), and blue (B) colors and used as scan data. It is a sensor.

操作パネル40は、ユーザがスキャナ装置20に対して各種の指示を入力するためのデバイスであり、図1及び図2に示すように、各種の指示に応じた文字、図形又は記号が表示される表示部42や、各種操作を行う操作部44が設けられている。表示部42は、カラー画像を表示する液晶パネルにより構成されている。なお、図2に示した表示部42のフォルダ選択画面81については後述する。操作部44には、ユーザが処理や文字等を選択するカーソルなどを移動させるときに押下されるカーソルキー44aや処理選択などを決定するときに押下される決定キー44b、ガラス面33上に載置された媒体Mの読み取り開始時などに押下されるスキャン開始キー44c、スキャンデータを保存する際に押下される登録キー44dなどが配置されている。   The operation panel 40 is a device for the user to input various instructions to the scanner device 20, and displays characters, figures, or symbols corresponding to the various instructions as shown in FIGS. A display unit 42 and an operation unit 44 for performing various operations are provided. The display unit 42 includes a liquid crystal panel that displays a color image. The folder selection screen 81 of the display unit 42 shown in FIG. 2 will be described later. On the operation unit 44, a cursor key 44a that is pressed when the user moves a cursor for selecting a process, characters, and the like, a determination key 44b that is pressed when determining a process selection, and the like are placed on the glass surface 33. A scan start key 44c that is pressed when reading the placed medium M is started, a registration key 44d that is pressed when storing scan data, and the like are arranged.

コントローラ29は、CPU21を中心とするマイクロプロセッサとして構成されており、各種処理プログラムを記憶したROM22と、一時的にデータを記憶するRAM23と、データを書き込み消去可能なフラッシュメモリ24とを備えている。このコントローラ29は、バス28を介してスキャナASIC32やI/F25、操作パネル40と接続されている。ROM22には、アプリケーションプログラムであるスキャンデータ管理プログラム22aなどが記憶されている。このスキャンデータ管理プログラム22aは、スキャナ部30で読み取ったデータをファイルサーバ50へ保存するプログラムである。RAM23には、スキャナ部30により読み取られた画像情報を一時的に記憶するスキャナバッファなどの領域が設けられている。   The controller 29 is configured as a microprocessor centered on the CPU 21, and includes a ROM 22 that stores various processing programs, a RAM 23 that temporarily stores data, and a flash memory 24 that can write and erase data. . The controller 29 is connected to the scanner ASIC 32, I / F 25, and operation panel 40 via the bus 28. The ROM 22 stores a scan data management program 22a, which is an application program. The scan data management program 22 a is a program that stores data read by the scanner unit 30 in the file server 50. The RAM 23 is provided with an area such as a scanner buffer for temporarily storing image information read by the scanner unit 30.

ファイルサーバ50は、各種制御を実行するCPU51と、各種制御プログラムを記憶するROM52と、データを一時記憶するRAM53と、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリであるHDD54と、スキャナ装置20や管理サーバ60との間で信号の送受信が可能なI/F55とを備え、これらは図示しないバスによって情報のやり取りが可能なように接続されている。このファイルサーバ50は、スキャナ装置20などの外部機器で作成されたファイルをHDD54に保存するサーバである。このファイルサーバ50は、LAN12を介してスキャナ装置20や管理サーバ60とデータを送受信する際には、RAM53の所定領域に設けられた受信バッファ及び送信バッファを利用してデータの送受信を行う。HDD54には、ファイルを保存するフォルダが階層状に形成されており、この階層状の木構造の情報を含むXMLファイル70が保存されている。また、HDD54の各フォルダには、スキャナ装置20から受信したスキャンデータ54aなどが保存されている。ここでは、HDD54の1階層には50個までのフォルダが作成できる設定となっている。   The file server 50 includes a CPU 51 that executes various controls, a ROM 52 that stores various control programs, a RAM 53 that temporarily stores data, an HDD 54 that is a large-capacity memory that stores various application programs and various data files, and a scanner device. 20 and an I / F 55 capable of transmitting / receiving signals to / from the management server 60, and these are connected so that information can be exchanged via a bus (not shown). The file server 50 is a server that stores a file created by an external device such as the scanner device 20 in the HDD 54. When the file server 50 transmits / receives data to / from the scanner device 20 or the management server 60 via the LAN 12, the file server 50 transmits / receives data using a reception buffer and a transmission buffer provided in a predetermined area of the RAM 53. In the HDD 54, folders for storing files are formed in a hierarchy, and an XML file 70 including information on the hierarchical tree structure is stored. Each folder of the HDD 54 stores scan data 54 a received from the scanner device 20. In this example, up to 50 folders can be created in one level of the HDD 54.

ここで、XMLファイル70について説明する。図3は、HDD54の木構造の情報を含むXMLファイル70の説明図であり、図4は、XMLファイル70に含まれる木構造の説明図である。XMLファイル70には、図3に示すように、各フォルダの情報として、ユーザによって付与されたフォルダ名(例えば「第1階層01」)、装置内部での管理に使用するフォルダ名に対応付けられたフォルダID(例えば「ID01」)、HDD64に記憶されたフォルダの場所を表すアドレス(例えば「ftp://192.168.1.1/会議/第1階層01/」)などがタグ <tranceInformation>によって挟み込まれた記述領域に記述されている。また、上位のフォルダに含まれる下位のフォルダ(いわゆるサブフォルダ)の記述領域には、上位のフォルダのフォルダIDが記述されており(例えば「<parent>ID01</parent>」)、フォルダの親子関係が把握可能となっている。なお、本明細書では、上位のフォルダを親フォルダといい、下位のフォルダを子フォルダということもある。このように、XMLファイル70には、HDD54のすべての木構造の情報が記述されている。そして、このXMLファイル70に記述されたすべての内容を解析すれば、図4に示すように、HDD64の木構造の全体が把握可能である。なお、このXMLファイル70には、第1階層のフォルダとして第1階層01,第1階層02,…,が含まれ、第1階層01の下位には、第2階層01,第2階層02,…,が含まれ、第2階層01の下位には第3階層01,…,が含まれており、更に第1階層02の下位にも複数の第2階層フォルダが含まれている。   Here, the XML file 70 will be described. FIG. 3 is an explanatory diagram of an XML file 70 including information on the tree structure of the HDD 54, and FIG. 4 is an explanatory diagram of a tree structure included in the XML file 70. In the XML file 70, as shown in FIG. 3, as information on each folder, a folder name given by the user (for example, “first layer 01”) is associated with a folder name used for management inside the apparatus. The folder ID (for example, “ID01”), the address indicating the location of the folder stored in the HDD 64 (for example, “ftp://192.168.1.1/conference/first level 01 /”) and the like are sandwiched between tags <tranceInformation>. It is described in the description area. In the description area of the lower folder (so-called subfolder) included in the upper folder, the folder ID of the upper folder is described (for example, “<parent> ID01 </ parent>”), and the parent-child relationship of the folder Can be grasped. In the present specification, an upper folder is sometimes referred to as a parent folder, and a lower folder is sometimes referred to as a child folder. As described above, the XML file 70 describes all the tree structure information of the HDD 54. Then, if all contents described in the XML file 70 are analyzed, the entire tree structure of the HDD 64 can be grasped as shown in FIG. The XML file 70 includes the first hierarchy 01, the first hierarchy 02,... As the first hierarchy folder, and the second hierarchy 01, the second hierarchy 02,. .. Are included, the third hierarchy 01 is included below the second hierarchy 01, and a plurality of second hierarchy folders are also included below the first hierarchy 02.

管理サーバ60は、スキャナ装置20からの指令によりファイルサーバ50の木構造の情報をスキャナ装置20に出力する装置として構成され、各種制御を実行するCPU61と、各種制御プログラムを記憶するROM62と、データを一時記憶するRAM63と、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリであるHDD64と、外部機器との間で信号の送受信が可能なI/F65とを備え、これらは図示しないバスによって情報のやり取りが可能なように接続されている。この管理サーバ60は、インストールされたプログラムによりファイルサーバ50に情報を送信したりファイルサーバ50から送信されたマークアップ言語としてのXMLで内容が記述されたXMLファイル70を受信したり、受信したXMLファイル70を解析しこれを分割してHDD64に保存したり、XMLファイル70に含まれるファイルサーバ50の木構造の情報を解析してこの木構造の情報をスキャナ装置20へ送信したりスキャナ装置20からの応答を受信したりするサーバである。この管理サーバ60は、LAN12を介してスキャナ装置20やファイルサーバ50とデータを送受信する際には、RAM63の所定領域に設けられた受信バッファ及び送信バッファを利用してデータの送受信を行う。HDD64には、アプリケーションプログラムであるXMLファイル管理プログラム64aやXMLファイル管理プログラム64aの実行により作成される第1XMLファイル71などが記憶されている。   The management server 60 is configured as a device that outputs information on the tree structure of the file server 50 to the scanner device 20 in response to a command from the scanner device 20, and includes a CPU 61 that executes various controls, a ROM 62 that stores various control programs, and data A RAM 63 that temporarily stores data, an HDD 64 that is a large-capacity memory that stores various application programs and various data files, and an I / F 65 that can transmit and receive signals to and from an external device. Connected so that information can be exchanged. The management server 60 transmits information to the file server 50 by the installed program, receives the XML file 70 whose contents are described in XML as a markup language transmitted from the file server 50, or receives the received XML file The file 70 is analyzed and divided and stored in the HDD 64. The tree structure information of the file server 50 included in the XML file 70 is analyzed and the tree structure information is transmitted to the scanner device 20. It is a server that receives a response from. When transmitting / receiving data to / from the scanner device 20 and the file server 50 via the LAN 12, the management server 60 transmits / receives data using a reception buffer and a transmission buffer provided in a predetermined area of the RAM 63. The HDD 64 stores an XML file management program 64a, which is an application program, a first XML file 71 created by executing the XML file management program 64a, and the like.

次に、こうして構成された本実施例のスキャン情報管理システム10の処理について、まず、ファイルサーバ50がHDD54の木構造の情報をXMLファイル70に記述して送信する処理について説明する。図5は、ファイルサーバ50のCPU51により実行される木構造ファイル更新ルーチンの一例を表すフローチャートである。このルーチンは、HDD54に記憶され、ファイルサーバ50が起動したあと所定のタイミングごと(例えば数msecごと)に繰り返し実行される。このルーチンが開始されると、CPU51は、HDD54に記憶されている木構造が変更されたか否かを判定し(ステップS100)、木構造が変更されていないときには、そのままこのルーチンを終了する。ここで、木構造の変更がされたか否かの判定は、例えば、図示しないユーザのコンピュータからLAN12を介して、又は図示しないファイルサーバ50に接続された入力装置の操作により、HDD54に記憶されたフォルダに新たなフォルダが追加されたか、又は既存のフォルダが削除されたか否かを判定することにより行う。木構造が変更されたときには、CPU51は、木構造の変更内容に基づいて、HDD54に記憶されているXMLファイル70の記述内容を更新する(ステップS110)。例えば、新たなフォルダが追加されたときには、このフォルダの記述領域をXMLファイル70に設けると共に対応するフォルダ名やアドレスをこの記述領域に書き加え、既存のフォルダが削除されたときには、対応する記述領域をXMLファイル70から削除する。そして、更新したXMLファイル70を管理サーバ60へ送信出力し(ステップS120)、このルーチンを終了する。このように、ファイルサーバ50の木構造が変更されるたびに変更された内容がXMLファイル70として管理サーバ60に送信される。   Next, regarding the processing of the scan information management system 10 of the present embodiment configured as described above, first, processing in which the file server 50 describes and transmits the tree structure information of the HDD 54 in the XML file 70 will be described. FIG. 5 is a flowchart showing an example of a tree structure file update routine executed by the CPU 51 of the file server 50. This routine is stored in the HDD 54 and is repeatedly executed at predetermined timings (for example, every several milliseconds) after the file server 50 is activated. When this routine is started, the CPU 51 determines whether or not the tree structure stored in the HDD 54 has been changed (step S100). If the tree structure has not been changed, this routine is ended as it is. Here, the determination of whether or not the tree structure has been changed is stored in the HDD 54, for example, from a user computer (not shown) via the LAN 12 or by operating an input device connected to the file server 50 (not shown). This is performed by determining whether a new folder has been added to the folder or an existing folder has been deleted. When the tree structure is changed, the CPU 51 updates the description contents of the XML file 70 stored in the HDD 54 based on the change contents of the tree structure (step S110). For example, when a new folder is added, a description area of this folder is provided in the XML file 70, and the corresponding folder name and address are added to this description area. When an existing folder is deleted, the corresponding description area Is deleted from the XML file 70. Then, the updated XML file 70 is transmitted and output to the management server 60 (step S120), and this routine is terminated. Thus, whenever the tree structure of the file server 50 is changed, the changed content is transmitted to the management server 60 as the XML file 70.

次に、ファイルサーバ50から受信したXMLファイル70の管理サーバ60による処理について説明する。図6は、管理サーバ60のCPU61により実行される木構造ファイル管理ルーチンの一例を表すフローチャートである。このルーチンは、HDD64に記憶され、ファイルサーバ50からXMLファイル70を受信したあと実行される。このルーチンが開始されると、CPU61は、ファイルサーバ50から受信したXMLファイル70を解析する(ステップS200)。ここで、XMLファイル70の解析は、図4に示すように、受信したXMLファイル70に記述されている内容をすべて展開し、木構造に含まれるフォルダ数Fや階層数CなどHDD54の木構造のすべてを把握する処理を行う。なお、受信したXMLファイル70は、RAM63に設けられた通信用バッファに一旦格納される。   Next, processing by the management server 60 of the XML file 70 received from the file server 50 will be described. FIG. 6 is a flowchart showing an example of a tree structure file management routine executed by the CPU 61 of the management server 60. This routine is stored in the HDD 64 and executed after receiving the XML file 70 from the file server 50. When this routine is started, the CPU 61 analyzes the XML file 70 received from the file server 50 (step S200). Here, as shown in FIG. 4, the analysis of the XML file 70 expands all contents described in the received XML file 70, and the tree structure of the HDD 54 such as the number of folders F and the number of hierarchies C included in the tree structure. Process to grasp all of. The received XML file 70 is temporarily stored in a communication buffer provided in the RAM 63.

続いて、CPU61は、XMLファイル70に含まれる階層数Cが閾値Cref以上であるか否かを判定する(ステップS210)。この閾値Crefは、スキャナ装置20などの外部装置からHDD54の木構造の情報取得について問合せがあり、管理サーバ60でXMLファイル70を解析する際に、許容されうる処理時間(例えば5秒や10秒など)を超えてしまう階層数に基づいて定められている。ステップS210で階層数Cが閾値Cref以上であると判定されたときには、CPU61は、XMLファイル70に含まれるフォルダ数Fが閾値Fref以上であるか否かを判定する(ステップS220)。この閾値Frefは、スキャナ装置20などの外部装置からHDD54の木構造の情報取得について問合せがあり、管理サーバ60でXMLファイル70を解析する際に、許容されうる処理時間(例えば5秒や10秒など)を超えてしまうフォルダ数に定められている。つまり、ステップS210及びステップS220では、管理サーバ60でXMLファイル70の全体を解析したときに、外部機器への応答において許容されうる処理時間を超えるか否かを判定するのである。本実施形態では、フォルダ数Fが2500個以上あるときに(閾値Fref=2500個)、外部機器への応答において許容されうる処理時間を超えると判定するものとした。また、前述したように、1階層の最大フォルダ数Fが50個と定められており、階層数Cが2階層であるとき最大のフォルダ数Fが2500個以内となることから、階層数Cが2階層までは外部機器への応答において許容されうる処理時間を超えないと判定され、階層数Cが3階層(閾値Cref=3)以上では外部機器への応答において許容されうる処理時間を超えると判定されるものとした。   Subsequently, the CPU 61 determines whether or not the number of hierarchies C included in the XML file 70 is greater than or equal to the threshold value Cref (step S210). This threshold Cref is inquired about information acquisition of the tree structure of the HDD 54 from an external device such as the scanner device 20, and when the management server 60 analyzes the XML file 70, an allowable processing time (for example, 5 seconds or 10 seconds). Etc.) is determined based on the number of hierarchies that exceed. When it is determined in step S210 that the number of hierarchies C is greater than or equal to the threshold Cref, the CPU 61 determines whether or not the number of folders F included in the XML file 70 is greater than or equal to the threshold Fref (step S220). This threshold Fref is inquired about information acquisition of the tree structure of the HDD 54 from an external device such as the scanner device 20, and when the management server 60 analyzes the XML file 70, an allowable processing time (for example, 5 seconds or 10 seconds). Etc.) is set to the number of folders that will exceed. In other words, in step S210 and step S220, when the entire XML file 70 is analyzed by the management server 60, it is determined whether or not the allowable processing time in the response to the external device is exceeded. In the present embodiment, when the number of folders F is 2500 or more (threshold value Fref = 2500), it is determined that the processing time allowable in the response to the external device is exceeded. Further, as described above, the maximum number of folders F in one layer is determined to be 50, and when the number of layers C is two, the maximum number of folders F is within 2500. It is determined that the processing time allowable in the response to the external device is not exceeded up to the second layer, and the processing time allowable in the response to the external device is exceeded when the number of layers C is three layers (threshold Cref = 3) or more. Judged to be judged.

ステップS210で階層数Cが閾値Cref以上でないと判定されたとき、または、ステップS220でフォルダ数Fが閾値Fref以上でないと判定されたときには、CPU61は、XMLファイル70の全体を解析する処理を管理サーバ60で実行しても許容されうる処理時間を超えないものとみなし、受信しRAM63に一時的に格納されたXMLファイル70をそのままHDD64の所定領域に保存し(ステップS230)、このルーチンを終了する。このように、最新のファイルサーバ50の木構造の情報をHDD64に保存して、スキャナ装置20からの問合せに備えておくのである。   When it is determined in step S210 that the number of hierarchies C is not greater than or equal to the threshold Cref, or when it is determined in step S220 that the number of folders F is not greater than or equal to the threshold Fref, the CPU 61 manages processing for analyzing the entire XML file 70. Even if it is executed by the server 60, it is considered that the allowable processing time is not exceeded, and the XML file 70 received and temporarily stored in the RAM 63 is stored in the predetermined area of the HDD 64 as it is (step S230), and this routine is terminated. To do. In this way, the latest information on the tree structure of the file server 50 is stored in the HDD 64 and prepared for an inquiry from the scanner device 20.

一方、ステップS210で階層数Cが閾値Cref以上であると判定され、ステップS220でフォルダ数Fが閾値Fref以上であると判定されたときには、CPU61は、XMLファイル70に含まれているフォルダについて、親フォルダを共通とする同一階層のフォルダのフォルダ名やアドレスを含むフォルダ情報が記述されたXMLファイルを各階層ごとに作成する分割処理(ステップS240〜S290)を実行する。具体的には、CPU61は、分割を実行する階層数nに値1をセットし(ステップS240)、親フォルダを共通とする第n階層に含まれるフォルダの情報に第n+1階層のフォルダの情報を含めたXMLファイルを作成する(ステップS250)。図7は、第1階層に含まれるフォルダの情報を含む第1XMLファイル71を作成する概念図であり、図8は、第1XMLファイル71の説明図である。図7に示すように、CPU61は、親フォルダ(ここではルートとしての「会議」)を共通とする第1階層に含まれるフォルダの情報を含む第1XMLファイル71を作成する。この第1XMLファイル71は、図8に示すように、XMLファイル70(図3参照)に含まれる第1階層の情報を抜き出し、この抜き出した情報を記述すると共に各タグの整合をとるように作成される。なお、ここでは、「タグの整合をとる」とは、抜き出した際に閉じられていないタグに対して閉じるタグを追記することをいう。このとき、CPU61は、フォルダ名「第1階層01」の第2階層のフォルダの情報であるリンク情報71aやフォルダ名「第1階層02」の第2階層のフォルダの情報であるリンク情報73aをそれぞれの記述領域に追記する。ここでは、XMLファイル70を予め解析し各フォルダの親子関係が把握されているため、分割により各階層に作成されるXMLファイルの名前を予め定めておき、この定めたファイル名を下位のフォルダの情報として記述領域のリンク情報71aなどに記述するものとした(図8参照)。なお、本実施形態では、分割により作成されるXMLファイルの名前は、第1階層を「PluginParam」とし、第2階層以下を「subfolder」に4桁の数字を作成順に付与するものとした。   On the other hand, when it is determined in step S210 that the number of hierarchies C is greater than or equal to the threshold value Cref, and in step S220, it is determined that the number of folders F is greater than or equal to the threshold value Fref, the CPU 61 determines the folder included in the XML file 70. A division process (steps S240 to S290) is executed for creating an XML file describing folder information including folder names and addresses of folders in the same hierarchy sharing the parent folder for each hierarchy. Specifically, the CPU 61 sets the value 1 to the number n of layers to be divided (step S240), and sets the information of the folders of the (n + 1) th layer to the information of the folders included in the nth layer sharing the parent folder. An included XML file is created (step S250). FIG. 7 is a conceptual diagram for creating a first XML file 71 including information on a folder included in the first hierarchy, and FIG. 8 is an explanatory diagram of the first XML file 71. As shown in FIG. 7, the CPU 61 creates a first XML file 71 including information on folders included in the first hierarchy sharing the parent folder (here, “conference” as the root). As shown in FIG. 8, the first XML file 71 is created so that the information of the first layer included in the XML file 70 (see FIG. 3) is extracted, the extracted information is described and each tag is matched. Is done. Here, “matching tags” means adding a tag that is closed to a tag that is not closed when the tag is extracted. At this time, the CPU 61 obtains link information 71a, which is information on the second hierarchy folder of the folder name “first hierarchy 01”, and link information 73a, which is information on the second hierarchy folder of the folder name “first hierarchy 02”. Add to each description area. Here, since the XML file 70 is analyzed in advance and the parent-child relationship of each folder is grasped, the name of the XML file created in each hierarchy by division is determined in advance, and the determined file name is assigned to the lower folder. The information is described in the link information 71a of the description area (see FIG. 8). In the present embodiment, the name of the XML file created by the division is such that the first hierarchy is “PluginParam” and the second hierarchy and below are given “subfolder” with a 4-digit number in the order of creation.

ステップS250のあと、CPU61は、作成したXMLファイルをHDD64の所定領域に保存し(ステップS260)、現在の階層にXMLファイルを作成すべき他のフォルダがあるか否かを判定し(ステップS270)、現在の階層にXMLファイルを作成すべき他のフォルダがあるときには、ステップS250〜S270の処理を行い、現在の階層にXMLファイルを作成すべき他のフォルダがないときには、現階層についてフォルダごとにすべてXMLファイルを作成したものとみなし、全階層を終了したか否かを判定する(ステップS280)。全階層を終了していないと判定されたときには、CPU61は、階層数nを値1インクリメントし(ステップS290)、ステップS250〜S290の処理を実行し、ステップS280で全階層を終了したと判定されたときにはこのルーチンを終了する。このように、最新のファイルサーバ50の木構造の情報を解析の処理時間がかからないよう分割してHDD64に保存し、スキャナ装置20からの問合せに備えておくのである。   After step S250, the CPU 61 saves the created XML file in a predetermined area of the HDD 64 (step S260), and determines whether there is another folder in which the XML file should be created in the current hierarchy (step S270). When there is another folder in which the XML file is to be created in the current hierarchy, the processes of steps S250 to S270 are performed, and when there is no other folder in which the XML file is to be created in the current hierarchy, for each folder for the current hierarchy. It is considered that all XML files have been created, and it is determined whether or not all hierarchies have been completed (step S280). When it is determined that all hierarchies have not been completed, the CPU 61 increments the number of hierarchies n by 1 (step S290), executes the processing of steps S250 to S290, and determines that all hierarchies have been completed in step S280. When this occurs, this routine is terminated. In this way, the latest tree structure information of the file server 50 is divided and stored in the HDD 64 so that analysis processing time is not required, and prepared for an inquiry from the scanner device 20.

ここで、ステップS240〜S290の処理について説明する。図9は、第2階層に含まれるフォルダ情報を格納したXMLファイルを作成する概念図、図10は、第2XMLファイル72の説明図、図11は、第3階層に含まれるフォルダの情報を格納した第4XMLファイル74を作成する概念図、図12は、第4XMLファイル74の説明図である。第1階層の第1XMLファイル71を作成したあと、CPU61は、フォルダ名「第1階層01」に含まれる第2階層のフォルダ情報をXMLファイル70から抜き出し、この抜き出した情報を記述すると共に各タグの整合をとることにより第2XMLファイル72を作成し(図9参照)、HDD64の所定領域に保存する。この第2XMLファイル72には、フォルダ名「第2階層01」の子フォルダの情報であるリンク情報72aがその記述領域に追記されている。続いて、CPU61は、親フォルダが異なる他のフォルダが同一階層にあるか否かを調べ、他のフォルダについて、例えば第3XMLファイル73を作成する(図9参照)。第2階層の処理が終了すると、CPU61は、フォルダ名「第2階層01」に含まれる第3階層のフォルダ情報をXMLファイル70から抜き出し、この抜き出した情報を記述すると共に各タグの整合をとることにより第4XMLファイル74を作成し(図11参照)、HDD64の所定領域に保存する。この第4XMLファイル74には、フォルダ名「第3階層01」の子フォルダの情報であるリンク情報74aがその記述領域に追記されている。このように、XMLファイル70に記載されている内容から各階層の情報を抜き出すことにより、HDD54のすべての木構造の情報を含むXMLファイル70の分割処理を実行するのである。そして、HDD64の所定領域には、ファイルサーバ50のHDD54の木構造の情報の一部を含むXMLファイル群が保存される。なお、説明の便宜のため、各階層に作成されるXMLファイルの名称は図中に示したもののみを連番で表示した(図11参照)。   Here, the processing of steps S240 to S290 will be described. FIG. 9 is a conceptual diagram for creating an XML file storing folder information included in the second hierarchy, FIG. 10 is an explanatory diagram of the second XML file 72, and FIG. 11 stores information on folders included in the third hierarchy. FIG. 12 is an explanatory diagram of the fourth XML file 74. FIG. After creating the first XML file 71 of the first hierarchy, the CPU 61 extracts the folder information of the second hierarchy included in the folder name “first hierarchy 01” from the XML file 70, describes the extracted information, and sets each tag The second XML file 72 is created (see FIG. 9) and stored in a predetermined area of the HDD 64. In the second XML file 72, link information 72a that is information of a child folder of the folder name “second hierarchy 01” is additionally written in the description area. Subsequently, the CPU 61 checks whether other folders with different parent folders are in the same hierarchy, and creates, for example, a third XML file 73 for the other folders (see FIG. 9). When the processing of the second layer is completed, the CPU 61 extracts the folder information of the third layer included in the folder name “second layer 01” from the XML file 70, describes the extracted information, and matches each tag. As a result, the fourth XML file 74 is created (see FIG. 11) and stored in a predetermined area of the HDD 64. In the fourth XML file 74, link information 74a that is information of a child folder of the folder name “third hierarchy 01” is additionally written in the description area. In this way, by extracting the information of each layer from the contents described in the XML file 70, the dividing process of the XML file 70 including all the tree structure information of the HDD 54 is executed. An XML file group including a part of the tree structure information of the HDD 54 of the file server 50 is stored in a predetermined area of the HDD 64. For convenience of explanation, only the names of XML files created in each hierarchy are shown in the figure as serial numbers (see FIG. 11).

最後に、スキャナ装置20で読み取ったスキャンデータをファイルサーバ50に保存する際にスキャナ装置20及び管理サーバ60で行われる各処理と通信の様子について説明する。図13は、スキャン情報管理システム10のスキャンデータ保存処理及び通信の様子をシーケンシャルに示す説明図である。ここでは、HDD54の木構造の情報が上述した木構造ファイル管理ルーチンのステップS240〜S290の分割処理により分割されてHDD64に保存されており、スキャナ装置20で読み取ったスキャンデータをファイルサーバ50の所定フォルダに保存する場合について説明する。まず、ユーザが、スキャナ装置20のガラス面33に媒体Mを載置してスキャン開始キー44cを押下すると、スキャナ装置20は、媒体Mの読み取りを実行する。具体的には、CPU21がスキャナASIC32へ読取指令を送信し、読取指令を受信したスキャナASIC32は、ラインイメージセンサ34を移動部36に沿って走査させ媒体Mの画像形成面を1ページ分読み取らせると共に、読み取ったスキャンデータを順次RAM23のスキャナバッファに記憶させる。そして、登録キー44dがユーザにより押下されると、スキャンデータの保存を実行する図13に示した処理が開始される。   Finally, each process performed in the scanner device 20 and the management server 60 when the scan data read by the scanner device 20 is stored in the file server 50 and the state of communication will be described. FIG. 13 is an explanatory diagram that sequentially shows scan data storage processing and communication in the scan information management system 10. Here, the tree structure information of the HDD 54 is divided and stored in the HDD 64 by the division processing in steps S240 to S290 of the tree structure file management routine described above, and the scan data read by the scanner device 20 is stored in a predetermined file server 50. A case of saving in a folder will be described. First, when the user places the medium M on the glass surface 33 of the scanner device 20 and presses the scan start key 44c, the scanner device 20 reads the medium M. Specifically, the CPU 21 transmits a reading command to the scanner ASIC 32, and the scanner ASIC 32 that has received the reading command scans the line image sensor 34 along the moving unit 36 to read the image forming surface of the medium M for one page. At the same time, the read scan data is sequentially stored in the scanner buffer of the RAM 23. When the registration key 44d is pressed by the user, the process shown in FIG. 13 for saving the scan data is started.

登録キー44dが押下されると、スキャナ装置20のCPU21は、フォルダ情報をスキャナ装置20へ出力する旨の指令をI/F25を介して管理サーバ60へ送信する(ステップS300)。ここで、最初に登録キー44dが押下されたときの出力指令は、HDD54の第1階層のフォルダ情報を出力するよう定められている。この信号を受けた管理サーバ60のCPU61は、出力指令された階層のXMLファイルを読み出し、その内容を解析する(ステップS400)。ここでは、第1XMLファイル71を読み出し、その内容を解析する。このとき、CPU61は、許容されうる処理時間を超えないよう予め分割した第1XMLファイル71を解析すればよいため、迅速に第1階層のフォルダの情報を解析可能である。次に、CPU61は、解析した内容に基づき、フォルダ名、フォルダID及びフォルダのアドレスを含むフォルダ情報をテキストファイルで作成し(ステップS410)、この作成したフォルダ情報をI/F65を介してスキャナ装置20へ送信出力する(ステップS420)。   When the registration key 44d is pressed, the CPU 21 of the scanner device 20 transmits a command for outputting folder information to the scanner device 20 to the management server 60 via the I / F 25 (step S300). Here, the output command when the registration key 44d is pressed for the first time is determined to output the folder information of the first layer of the HDD. Receiving this signal, the CPU 61 of the management server 60 reads the XML file of the hierarchy for which the output command has been issued, and analyzes the contents (step S400). Here, the first XML file 71 is read and the content is analyzed. At this time, since the CPU 61 only has to analyze the first XML file 71 divided in advance so as not to exceed the allowable processing time, it is possible to quickly analyze the information of the first layer folder. Next, the CPU 61 creates folder information including a folder name, folder ID, and folder address based on the analyzed contents as a text file (step S410), and creates the created folder information via the I / F 65 as a scanner device. 20 is transmitted and output (step S420).

このフォルダ情報を含むテキストファイルを受信したCPU21は、その内容を解析しフォルダ名を選択可能な態様で表示部42に表示させる(ステップS310)。このように、スキャナ装置20ではXMLファイルを解析する必要はない。ここでは、CPU21は、図2のフォルダ選択画面81を表示部42に表示させる。フォルダ選択画面81には、各フォルダ名が文字表示されて上下に配置されており、上下キー44aの押下に伴って上下に動くカーソル82によりフォルダ名を選択可能となっている。なお、カーソルが配置されているフォルダ名が選択されるよう設定されている。次に、CPU21は、ユーザから保存指示及び下位階層の表示指示のいずれの指示を受けたかを判定する(ステップS320)。ここでは、登録キー44dが押下されたときには現在のフォルダにスキャンデータの保存を指示されたものと判定し、決定キー44bが押下されたときにはフォルダ選択画面81で選択されているフォルダの下位階層を表示指示されたものと判定するよう定められている。ステップS320で下位階層の表示が指示されたときには、カーソル82の配置されたフォルダの下位階層に対してステップS300以降の処理を実行する。即ち、CPU21は、現在選択されているフォルダの下位階層のフォルダ情報を出力する旨の出力指令を送信し(ステップS300)、この出力指令を受けたCPU61は、ステップS400以降の処理を実行する。一方、ステップS320でスキャンデータの保存が指示されたときには、受信したフォルダ情報に含まれるアドレスに基づいて、保存指示されたフォルダにスキャンデータが保存されるようスキャンデータをファイルサーバ50へ送信し(ステップS330)、このルーチンを終了する。   Receiving the text file including the folder information, the CPU 21 analyzes the contents and causes the display unit 42 to display the folder name in such a manner that the folder name can be selected (step S310). As described above, the scanner device 20 does not need to analyze the XML file. Here, the CPU 21 displays the folder selection screen 81 of FIG. On the folder selection screen 81, each folder name is displayed in characters and arranged vertically, and the folder name can be selected by a cursor 82 that moves up and down when the up and down key 44a is pressed. Note that the folder name where the cursor is located is set to be selected. Next, the CPU 21 determines which of a save instruction and a lower layer display instruction has been received from the user (step S320). Here, when the registration key 44d is pressed, it is determined that the current folder is instructed to store the scan data, and when the determination key 44b is pressed, the lower hierarchy of the folder selected on the folder selection screen 81 is determined. It is determined that it is determined that the display is instructed. When the display of the lower hierarchy is instructed in step S320, the processes after step S300 are executed on the lower hierarchy of the folder where the cursor 82 is arranged. That is, the CPU 21 transmits an output command for outputting the folder information of the lower hierarchy of the currently selected folder (step S300), and the CPU 61 that has received this output command executes the processing after step S400. On the other hand, when the scan data is instructed in step S320, the scan data is transmitted to the file server 50 based on the address included in the received folder information so that the scan data is stored in the instructed folder ( Step S330), this routine is finished.

ここで、スキャナ装置20で読み取ったスキャンデータをファイルサーバ50の「第2階層01」フォルダに保存する場合について説明する。まず、ステップS310で表示したフォルダ選択画面81で、ユーザがカーソル82の操作によりフォルダ名「第1階層01」を選択し(図2参照)、決定キー44bを押下したときには、CPU21は、「第1階層01」の下位のフォルダ情報を出力する旨の出力指令を管理サーバ60へ送信する。この出力指令を受けたCPU61は、リンク情報71aのリンク先である第2XMLファイル72を読み出し、この読み出した第2XMLファイル72を解析する(ステップS400)。そして、「第1階層01」フォルダの下位には、「第2階層01」,「第2階層02」,…,が含まれるという解析結果を得て、この解析した内容に基づきフォルダ情報をテキストファイルで作成し(ステップS410)、この作成したフォルダ情報をI/F65を介してスキャナ装置20へ送信出力する(ステップS420)。フォルダ情報を含むテキストファイルを受信したCPU21は、その内容を解析しフォルダ選択画面81に選択可能に表示させる。ユーザが決定キー44bを押下し、表示されたフォルダ名のうち「第2階層01」の下位階層の表示指示を行ったときには、CPU21は、「第2階層01」の下位のフォルダ情報を出力する旨の出力指令を管理サーバ60へ送信する。この出力指令を受けたCPU61は、リンク情報72a(図10参照)のリンク先である第4XMLファイル74を読み出して解析し、解析した内容に基づきフォルダ情報をテキストファイルで作成し、この作成したフォルダ情報をI/F65を介してスキャナ装置20へ送信出力する。ユーザが現在のフォルダ「第2階層01」で登録キー44dを押下すると、CPU21は、保存指示されたフォルダ「第2階層01」のアドレスに保存されるようスキャンデータをファイルサーバ50へ送信出力する。スキャンデータを受けたファイルサーバ50は、指定されたフォルダにスキャンデータ54aとして保存する。なお、スキャンデータのファイル名は、スキャン後に自動付与されてもよいし、操作部44の操作によりユーザが入力するものとしてもよい。   Here, a case where the scan data read by the scanner device 20 is stored in the “second hierarchy 01” folder of the file server 50 will be described. First, on the folder selection screen 81 displayed in step S310, when the user selects the folder name “first level 01” by operating the cursor 82 (see FIG. 2) and presses the enter key 44b, the CPU 21 An output command to output the lower folder information of “one layer 01” is transmitted to the management server 60. Receiving this output command, the CPU 61 reads the second XML file 72, which is the link destination of the link information 71a, and analyzes the read second XML file 72 (step S400). Then, an analysis result indicating that “second hierarchy 01”, “second hierarchy 02”,... Are included below the “first hierarchy 01” folder is obtained, and the folder information is converted into text based on the analyzed contents. A file is created (step S410), and the created folder information is transmitted and output to the scanner device 20 via the I / F 65 (step S420). Upon receiving the text file including the folder information, the CPU 21 analyzes the contents and displays the contents on the folder selection screen 81 so as to be selectable. When the user presses the enter key 44b and issues a display instruction of a lower hierarchy of “second hierarchy 01” among the displayed folder names, the CPU 21 outputs folder information of the lower hierarchy of “second hierarchy 01”. An output command to that effect is transmitted to the management server 60. Upon receiving this output command, the CPU 61 reads and analyzes the fourth XML file 74 that is the link destination of the link information 72a (see FIG. 10), creates folder information as a text file based on the analyzed contents, and creates the created folder. Information is transmitted and output to the scanner device 20 via the I / F 65. When the user presses the registration key 44d in the current folder “second level 01”, the CPU 21 transmits and outputs scan data to the file server 50 so as to be stored at the address of the folder “second level 01” instructed to be saved. . The file server 50 that has received the scan data saves it as scan data 54a in the designated folder. The file name of the scan data may be automatically given after the scan, or may be input by the user by operating the operation unit 44.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のRAM63及びHDD64が本発明の情報記憶手段に相当し、I/F25が情報取得手段、指令取得手段及び出力手段に相当し、CPU21が分割判定手段及び制御手段に相当する。また、XMLファイル70が木構造ファイルに相当し、第1〜4XMLファイル71〜74が分割された木構造ファイルに相当し、ファイルサーバ50のHDD54が記憶装置に相当し、スキャナ装置20が外部機器に相当する。なお、本実施形態では、スキャン情報管理システム10の処理を説明することにより本発明の情報管理方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The RAM 63 and the HDD 64 of the present embodiment correspond to the information storage unit of the present invention, the I / F 25 corresponds to the information acquisition unit, the command acquisition unit, and the output unit, and the CPU 21 corresponds to the division determination unit and the control unit. The XML file 70 corresponds to a tree structure file, the first to fourth XML files 71 to 74 correspond to divided tree structure files, the HDD 54 of the file server 50 corresponds to a storage device, and the scanner device 20 corresponds to an external device. It corresponds to. In this embodiment, an example of the information management method of the present invention is also clarified by describing the processing of the scan information management system 10.

以上詳述した本実施形態のスキャン情報管理システム10によれば、ファイルサーバ50の木構造の状態に基づいて、XMLで記述されRAM63に記憶されたXMLファイル70を分割する処理を実行するか否かを判定し、XMLファイル70の分割処理を実行しないと判定されたときには、このXMLファイル70をそのままHDD64に保存し、XMLファイル70の分割処理を実行すると判定されたときには、この木構造の一部が含まれる所定の分割状態となるようXMLファイル70の分割処理を実行し、この分割したXMLファイルのそれぞれをHDD64に保存する。一般に、マークアップ言語としてのXMLで記述された木構造ファイルはファイル全体を解析する必要があるため、例えば、外部機器からの木構造の情報の問合せがあったときに、木構造ファイルが大きいと、解析する処理時間がかかり応答に時間がかかることがある。ここでは、木構造の解析に要する処理時間と相関関係にある木構造の状態に基づいてXMLファイル70を分割するか否かを判定するため、ファイルサーバ50のHDD54の木構造の情報を含むXMLファイル70の分割を適正に実行することができる。また、予めXMLファイル70の分割を行うことにより、外部機器などからの木構造の情報の問合せに備えることができる。また、XMLを利用して比較的容易にファイルサーバ50の木構造を管理することができる。   According to the scan information management system 10 of this embodiment described in detail above, whether or not to execute the process of dividing the XML file 70 described in XML and stored in the RAM 63 based on the state of the tree structure of the file server 50 is determined. If it is determined that the split process of the XML file 70 is not executed, the XML file 70 is stored in the HDD 64 as it is, and if it is determined that the split process of the XML file 70 is executed, one of the tree structures is stored. The XML file 70 is divided so as to be in a predetermined division state including the copy, and each of the divided XML files is stored in the HDD 64. In general, a tree structure file described in XML as a markup language needs to analyze the entire file. For example, when a tree structure information is inquired from an external device, the tree structure file is large. , It takes a long processing time to analyze and may take a long time to respond. Here, in order to determine whether to divide the XML file 70 based on the state of the tree structure correlated with the processing time required for the tree structure analysis, the XML including the tree structure information of the HDD 54 of the file server 50 is used. The file 70 can be properly divided. In addition, by dividing the XML file 70 in advance, it is possible to prepare for an inquiry about tree structure information from an external device or the like. Further, the tree structure of the file server 50 can be managed relatively easily using XML.

また、XMLファイル70を解析し、解析した結果、フォルダ数が閾値Fref以上あるときにXMLファイル70を分割する処理を実行すると判定するため、外部機器への応答においてXMLファイル70の解析処理にかかる時間を考慮して分割を実行するか否かを判定することができる。また、閾値Fref未満のフォルダが、分割されたXMLファイルに含まれるようXMLファイル70の分割処理を実行するため、XMLファイル70に含まれるフォルダ数を閾値Fref未満とすることにより、外部機器への応答においてXMLファイルの解析処理にかかる時間を適正なものとすることができる。更に、XMLファイル70に含まれている木構造の階層が閾値Cref以上あるときにXMLファイル70を分割する処理を実行すると判定するため、外部機器への応答においてXMLファイル70の解析処理にかかる時間を考慮して分割を実行するか否かを判定することができる。更にまた、上位の階層が含まれる分割後のXMLファイルとこの上位の階層に対応付けられた下位の階層が含まれる分割後のXMLファイルとにXMLファイル70が分割されるよう分割処理を実行するため、上位の階層と下位の階層との対応付けがしやすい。   In addition, the XML file 70 is analyzed, and as a result of the analysis, it is determined that the process of dividing the XML file 70 is executed when the number of folders is equal to or greater than the threshold value Fref. It is possible to determine whether or not to execute the division in consideration of time. Further, since the dividing process of the XML file 70 is executed so that a folder having a value less than the threshold value Fref is included in the divided XML file, the number of folders included in the XML file 70 is set to be less than the threshold value Fref. The time required for the XML file analysis process in the response can be made appropriate. Furthermore, since it is determined that the process of dividing the XML file 70 is executed when the hierarchy of the tree structure included in the XML file 70 is equal to or greater than the threshold value Cref, the time required for the analysis process of the XML file 70 in response to the external device It is possible to determine whether or not to execute division in consideration of the above. Furthermore, the dividing process is executed so that the XML file 70 is divided into the divided XML file including the upper layer and the divided XML file including the lower layer associated with the upper layer. Therefore, it is easy to associate the upper hierarchy with the lower hierarchy.

更に、LAN12を介してファイルサーバ50からXMLファイル70を取得し、この取得したXMLファイル70をRAM63に記憶するため、比較的容易にファイルサーバ50からこのファイルサーバ50の木構造の情報を得ることができる。また、ファイルサーバ50からXMLファイル70の形式でHDD54の木構造の情報を取得するため、管理サーバ60でXMLファイル70を作成する必要がない。更に、ファイルサーバ50の木構造の情報が更新されるたびにファイルサーバ50から送信されるXMLファイル70を取得するため、常に新しい木構造の情報を得ることができる。   Furthermore, since the XML file 70 is acquired from the file server 50 via the LAN 12 and the acquired XML file 70 is stored in the RAM 63, the tree structure information of the file server 50 can be obtained relatively easily from the file server 50. Can do. In addition, since the tree structure information of the HDD 54 is acquired from the file server 50 in the format of the XML file 70, the management server 60 does not need to create the XML file 70. Furthermore, since the XML file 70 transmitted from the file server 50 is acquired every time the tree structure information of the file server 50 is updated, it is possible to always obtain new tree structure information.

更にまた、XMLファイル70の分割処理を実行し、この分割したXMLファイルのそれぞれをHDD64に保存したあと、HDD54の木構造の情報の出力指令を取得したときには、分割されたXMLファイルのうち出力指令に対応する木構造の情報を含むXMLファイルをHDD64から読み出し、この読み出したXMLファイルを解析し、この解析結果をファイルサーバ50の木構造の情報としてスキャナ装置20へ出力するため、分割して保存されているXMLファイルのうち、スキャナ装置20から問合せがあった木構造に対応するXMLファイルを解析することにより、ファイルサーバ50の木構造のすべてを含む木構造ファイルを解析するのに比べてファイルサーバ50の木構造の情報を効率よく解析することができる。また、HDD54の木構造の情報の出力指令をスキャナ装置20から取得していないときにXMLファイル70の分割処理を行う、即ち、スキャナ装置20から木構造の情報の問合せがある前に予めXMLファイル70を解析して分割しておくため、スキャナ装置20からの問合せに対して迅速に対応できる。このように、スキャナ装置20でユーザがスキャンデータを保存しようとするときに、必要な部分のみが記述されたXMLファイルだけを解析すればよく、木構造の解析に要する時間を抑えることができるため、ユーザは快適にスキャンデータの保存を実行することができる。また、テキストファイルを解析結果としてスキャナ装置20へ出力するため、スキャナ装置20でXMLファイルを解析する必要がない。更に、外部機器としてのスキャナ装置は、スキャンデータを、木構造に含まれるフォルダなどに保存したり木構造に含まれるフォルダから読み出したりすることが多いため、本発明を適用する意義が高い。   Furthermore, when the division process of the XML file 70 is executed and each of the divided XML files is stored in the HDD 64 and an output command for information on the tree structure of the HDD 54 is acquired, an output command among the divided XML files is output. Is read from the HDD 64, the read XML file is analyzed, and the analysis result is output to the scanner device 20 as the tree structure information of the file server 50. Compared to the analysis of the tree structure file including all the tree structures of the file server 50 by analyzing the XML file corresponding to the tree structure queried from the scanner device 20 among the XML files that have been inquired. The tree structure information of the server 50 can be analyzed efficiently. Further, when the output command of the tree structure information of the HDD 54 is not acquired from the scanner device 20, the division processing of the XML file 70 is performed, that is, before the query of the tree structure information from the scanner device 20 is made, Since 70 is analyzed and divided, the inquiry from the scanner device 20 can be quickly dealt with. As described above, when the user tries to save the scan data with the scanner device 20, it is sufficient to analyze only the XML file in which only a necessary part is described, and the time required for the analysis of the tree structure can be reduced. The user can comfortably execute scan data storage. Further, since the text file is output to the scanner device 20 as an analysis result, it is not necessary to analyze the XML file by the scanner device 20. Furthermore, since a scanner device as an external device often stores scan data in a folder included in a tree structure or reads it from a folder included in the tree structure, it is highly significant to apply the present invention.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、HDD54の木構造に含まれるフォルダ数Fや階層数Cに基づいてXMLファイル70を分割するか否かを判定するものとしたが、管理サーバ60の処理能力(例えばCPUのクロック数やメモリ容量など)が所定の処理能力(例えばクロック数が500MHzや1MHz、又はメモリが128Mbや256Mbなど)を下回るときにXMLファイル70を分割するものと判定してもよい。こうすれば、XMLファイル70の解析処理時間に相関関係のある管理サーバ60の処理能力を用いてXMLファイル70を分割するか否かを判定するため、木構造ファイルの解析処理にかかる時間を考慮して分割を実行するか否かを判定することができる。あるいは、木構造ファイル管理ルーチンのステップS200でXMLファイル70を解析した結果、解析に要した時間が所定の許容処理時間(例えば5秒や10秒)を超えたときに管理サーバ60の処理能力が所定の処理能力を下回るものとしてXMLファイル70を分割するものと判定してもよい。こうすれば、実際の解析時間に基づいてXMLファイル70を分割するか否かを判定可能であるため、ファイルサーバ50の木構造の情報を含むXMLファイル70の分割を一層適正に実行することができる。   For example, in the above-described embodiment, it is determined whether or not the XML file 70 is to be divided based on the number of folders F and the number of hierarchies C included in the tree structure of the HDD 54. It may be determined that the XML file 70 is to be divided when the CPU clock number, memory capacity, etc.) falls below a predetermined processing capability (for example, the clock number is 500 MHz or 1 MHz, or the memory is 128 Mb, 256 Mb, etc.). In this way, in order to determine whether to divide the XML file 70 using the processing capability of the management server 60 correlated with the analysis processing time of the XML file 70, the time taken for the analysis processing of the tree structure file is taken into consideration. Thus, it is possible to determine whether or not to execute the division. Alternatively, as a result of analyzing the XML file 70 in step S200 of the tree structure file management routine, when the time required for the analysis exceeds a predetermined allowable processing time (for example, 5 seconds or 10 seconds), the processing capacity of the management server 60 is increased. The XML file 70 may be determined to be divided as being less than the predetermined processing capacity. In this way, it is possible to determine whether or not to divide the XML file 70 based on the actual analysis time, so that the division of the XML file 70 including the tree structure information of the file server 50 can be more appropriately executed. it can.

上述した実施形態では、1階層に作成可能なフォルダ数を50個に限るものとして説明したが、特に1階層に作成可能なフォルダ数を限らないものとしてもよい。このとき、XMLファイル70の分割処理を、親フォルダを共通とする同一階層のフォルダの情報が記述されたXMLファイルを各階層ごとに作成するものとして説明したが、図14に示すように、親フォルダを共通とするフォルダ間でも分割するものとしてもよい。図14は、他のXMLファイル70の分割処理の説明図である。具体的には、例えば、親フォルダを共通とする同一階層に閾値Frefを超えるフォルダ数が含まれているときには、CPU61は、親フォルダを共通とするフォルダ間でも分割すると判定する。図14に示すように、第1階層について、第1XMLファイル71とXMLファイル75とに分割し、「第1階層01」フォルダの子フォルダについて、XMLファイル76とXMLファイル77とに分割する。こうしても、各XMLファイルを解析する時間が、許容されうる処理時間を超えることを防止可能であるため、ファイルサーバ50の木構造のすべてを含む木構造ファイルを解析するのに比べてファイルサーバ50の木構造の情報を効率よく解析することができる。   In the above-described embodiment, the number of folders that can be created in one hierarchy has been described as being limited to 50. However, the number of folders that can be created in one hierarchy is not particularly limited. At this time, the division process of the XML file 70 has been described as creating an XML file in which information on folders in the same hierarchy having a common parent folder is described for each hierarchy. However, as shown in FIG. It is good also as what divides | segments between the folders which share a folder. FIG. 14 is an explanatory diagram of another XML file 70 division process. Specifically, for example, when the number of folders exceeding the threshold Fref is included in the same hierarchy sharing the parent folder, the CPU 61 determines to divide the folders sharing the parent folder. As shown in FIG. 14, the first hierarchy is divided into a first XML file 71 and an XML file 75, and a child folder of the “first hierarchy 01” folder is divided into an XML file 76 and an XML file 77. Even in this case, it is possible to prevent the time for analyzing each XML file from exceeding the allowable processing time. Therefore, the file server 50 can be compared with the case of analyzing a tree structure file including all the tree structures of the file server 50. The tree structure information can be analyzed efficiently.

上述した実施形態では、あるいは、XMLファイル70の分割処理を、親フォルダを共通とする同一階層のフォルダの情報が記述されたXMLファイルを各階層ごとに作成するものとして説明したが、図15に示すように、XMLファイルを解析したときに許容されうる処理時間を超えない範囲で、親フォルダを共通とするフォルダを階層別に分けずに分割するものとしてもよい。こうすれば、XMLファイルが必要以上に作成されてしまうのを抑制することができる。あるいは、XMLファイルを解析したときに許容されうる処理時間を超えない範囲となるよう上述した分割の態様を組み合わせてXMLファイル70の分割処理を実行するものとしてもよい。   In the above-described embodiment, the XML file 70 is divided as described above, in which the XML file describing the information of the folder in the same hierarchy sharing the parent folder is created for each hierarchy. As shown, folders that share a parent folder may be divided without being divided into hierarchies within a range that does not exceed an allowable processing time when an XML file is analyzed. In this way, it is possible to prevent the XML file from being created more than necessary. Alternatively, the division process of the XML file 70 may be executed by combining the above-described division modes so that the allowable processing time is not exceeded when the XML file is analyzed.

上述した実施形態では、HDD54の木構造の情報がすべて含まれているXMLファイル70について分割処理を実行するものとしたが、例えば、すべての木構造の情報が含まれていないXMLファイル(例えば第1XMLファイル71)について分割処理を実行するものとしても構わない。   In the above-described embodiment, the division process is executed on the XML file 70 including all the tree structure information of the HDD 54. For example, an XML file (for example, the first file) including no tree structure information is included. The division processing may be executed on the 1XML file 71).

上述した実施形態では、ファイルサーバ50と管理サーバ60とが別々に構成されたスキャン情報管理システム10として説明したが、ファイルサーバ50と管理サーバ60との機能を併せ持つファイル管理サーバとしてもよい。こうしても、上述した実施形態と同じ効果が得られる。   In the above-described embodiment, the scan information management system 10 in which the file server 50 and the management server 60 are separately configured has been described. However, a file management server having both functions of the file server 50 and the management server 60 may be used. Even in this case, the same effect as the above-described embodiment can be obtained.

上述した実施形態では、ファイルサーバ50でHDD54の木構造の情報を含むXMLファイル70を作成し、この作成したXMLファイル70を管理サーバ60が受信するものとしたが、例えば、ファイルサーバ50でHDD54の木構造の情報を含むテキストファイルを作成し、この作成したテキストファイルを管理サーバ60が受信し、受信したテキストファイルに基づいて管理サーバ60がXMLファイル70を作成してRAM63に記憶するものとしてもよい。こうすれば、ファイルサーバ50での処理負担を低減することができる。木構造の情報を含むテキストファイルは、例えば、各フォルダのアドレスを羅列しカンマなどで区切ったファイルなどとしてもよい。   In the above-described embodiment, the XML file 70 including the tree structure information of the HDD 54 is created by the file server 50, and the created XML file 70 is received by the management server 60. The management server 60 receives the created text file including the tree structure information, and the management server 60 creates the XML file 70 based on the received text file and stores it in the RAM 63. Also good. In this way, the processing load on the file server 50 can be reduced. The text file including the tree structure information may be, for example, a file in which addresses of folders are enumerated and separated by a comma or the like.

上述した実施形態では、ファイルサーバ50で木構造の変更があったときに、XMLファイル70を更新し、この更新したXMLファイル70をファイルサーバ50が管理サーバ60へ送信出力するものとしたが、定期的に管理サーバ60がHDD54にアクセスすることによりXMLファイル70を取得するものとしてもよい。こうしても、ファイルサーバ50の木構造の情報を含むXMLファイル70の分割を適正に実行することができる。   In the above-described embodiment, when the tree structure is changed in the file server 50, the XML file 70 is updated, and the file server 50 transmits and outputs the updated XML file 70 to the management server 60. The management server 60 may periodically acquire the XML file 70 by accessing the HDD 54. Even in this case, the division of the XML file 70 including the information of the tree structure of the file server 50 can be properly executed.

上述した実施形態では、HDD54の木構造の情報をマークアップ言語としてのXMLで記述したファイルをHDD64に保存してフォルダ情報の管理を行うとしたが、マークアップ言語としてはこれに限られず、例えば、木構造の情報をマークアップ言語としてのXHTMLで記述したファイルを用いてもよいし、HTMLで記述したファイルを用いてもよいし、SGMLで記述したファイルを用いてもよい。   In the embodiment described above, the folder information is managed by storing a file in which the tree structure information of the HDD 54 is described in XML as a markup language in the HDD 64. However, the markup language is not limited to this, for example, A file in which tree structure information is described in XHTML as a markup language may be used, a file described in HTML, or a file described in SGML may be used.

上述した実施形態では、外部機器をスキャナ装置20として説明したが、外部機器を印刷装置としてもよいし、デジタルカメラとしてもよいし、携帯電話としてもよい。外部機器を印刷装置とした場合には、HDD54の木構造に含まれるフォルダに格納された画像ファイルを読み出すに際して、管理サーバ60が画像ファイル名やフォルダ名を含むフォルダ情報を印刷装置に出力するようにしてもよい。また、外部機器をデジタルカメラとしたときには、デジタルカメラで撮影した画像ファイルをHDD54に保存するに際して、上述した処理を実行するものとしてもよい。また、外部機器を携帯電話としたときには、ダウンロードした音楽ファイルや撮影した画像ファイルなどをHDD54に保存するに際して、上述した処理を実行するものとしてもよい。   In the embodiment described above, the external device has been described as the scanner device 20, but the external device may be a printing device, a digital camera, or a mobile phone. When the external device is a printing device, the management server 60 outputs folder information including the image file name and folder name to the printing device when reading the image file stored in the folder included in the tree structure of the HDD 54. It may be. In addition, when the external device is a digital camera, the above-described processing may be executed when an image file captured by the digital camera is stored in the HDD 54. When the external device is a mobile phone, the above-described processing may be executed when a downloaded music file, a captured image file, or the like is stored in the HDD 54.

スキャン情報管理システム10の構成の概略を示す構成図である。1 is a configuration diagram showing an outline of the configuration of a scan information management system 10. FIG. スキャナ装置20が備える操作パネル40の説明図である。4 is an explanatory diagram of an operation panel 40 provided in the scanner device 20. FIG. HDD54の木構造の情報を含むXMLファイル70の説明図である。3 is an explanatory diagram of an XML file including information on a tree structure of an HDD. FIG. XMLファイル70に含まれる木構造の説明図である。It is explanatory drawing of the tree structure contained in the XML file. 木構造ファイル更新ルーチンの一例を表すフローチャートである。It is a flowchart showing an example of a tree structure file update routine. 木構造ファイル管理ルーチンの一例を表すフローチャートである。It is a flowchart showing an example of a tree structure file management routine. 第1階層の情報を含む第1XMLファイル71を作成する概念図である。It is a conceptual diagram which creates the 1st XML file 71 containing the information of a 1st hierarchy. 第1XMLファイル71の説明図である。It is explanatory drawing of the 1st XML file. 第2階層の情報を含むXMLファイルを作成する概念図である。It is a conceptual diagram which creates the XML file containing the information of a 2nd hierarchy. 第2XMLファイル72の説明図である。It is explanatory drawing of the 2nd XML file. 第3階層の情報を含む第4XMLファイル74を作成する概念図である。It is a conceptual diagram which produces the 4th XML file 74 containing the information of a 3rd hierarchy. 第4XMLファイル74の説明図である。It is explanatory drawing of the 4th XML file. スキャンデータ保存処理をシーケンシャルに示す説明図である。It is explanatory drawing which shows a scan data preservation | save process sequentially. 他のXMLファイル70の分割処理の説明図である。It is explanatory drawing of the division | segmentation process of the other XML file. 他のXMLファイル70の分割処理の説明図である。It is explanatory drawing of the division | segmentation process of the other XML file.

符号の説明Explanation of symbols

10 スキャン情報管理システム、12 LAN、20 スキャナ装置、21 CPU、22 ROM、22a スキャンデータ管理プログラム、23 RAM、24 フラッシュメモリ、25 I/F、28 バス、29 コントローラ、30 スキャナ部、31 スキャナ機構、32 スキャナASIC、33 ガラス面、34 ラインイメージセンサ、36 移動部、40 操作パネル、42 表示部、44 操作部、44a カーソルキー、44b 決定キー、44c スキャン開始キー、44d 登録キー、50 ファイルサーバ、51 CPU、52 ROM、53 RAM、54 HDD、54a スキャンデータ、55 I/F、60 管理サーバ、61 CPU、62 ROM、63 RAM、64 HDD、64a XMLファイル管理プログラム、65 I/F、70 XMLファイル、71 第1XMLファイル、71a リンク情報、72 第2XMLファイル、72a リンク情報、73 第3XMLファイル、73a リンク情報、74 第4XMLファイル、74a リンク情報、75 XMLファイル、76 XMLファイル、77 XMLファイル、81 フォルダ選択画面、82 カーソル、M 媒体。   10 Scan Information Management System, 12 LAN, 20 Scanner Device, 21 CPU, 22 ROM, 22a Scan Data Management Program, 23 RAM, 24 Flash Memory, 25 I / F, 28 Bus, 29 Controller, 30 Scanner Unit, 31 Scanner Mechanism , 32 Scanner ASIC, 33 Glass surface, 34 Line image sensor, 36 Moving unit, 40 Operation panel, 42 Display unit, 44 Operation unit, 44a Cursor key, 44b Enter key, 44c Scan start key, 44d Registration key, 50 File server 51 CPU, 52 ROM, 53 RAM, 54 HDD, 54a Scan data, 55 I / F, 60 Management server, 61 CPU, 62 ROM, 63 RAM, 64 HDD, 64a XML file management program , 65 I / F, 70 XML file, 71 1st XML file, 71a Link information, 72 2nd XML file, 72a Link information, 73 3rd XML file, 73a Link information, 74 4th XML file, 74a Link information, 75 XML file, 76 XML file, 77 XML file, 81 Folder selection screen, 82 Cursor, M medium.

Claims (14)

記憶装置の階層状の木構造の情報を管理する情報管理装置であって、
前記記憶装置の木構造の情報を所定のマークアップ言語で記述した木構造ファイルを記憶可能な情報記憶手段と、
前記記憶装置の木構造の状態及び前記情報管理装置の処理能力のうち少なくとも一つに基づいて前記木構造ファイルを分割する処理を実行するか否かを判定する分割判定手段と、
前記分割判定手段によって前記木構造ファイルを分割する処理を実行しないと判定されたときには該木構造ファイルがそのまま前記情報記憶手段に保存されるよう前記情報記憶手段を制御し、前記分割判定手段によって前記木構造ファイルを分割する処理を実行すると判定されたときには該木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれが前記情報記憶手段に保存されるよう前記情報記憶手段を制御する制御手段と、
を備えた情報管理装置。
An information management device for managing hierarchical tree structure information of a storage device,
Information storage means capable of storing a tree structure file in which the tree structure information of the storage device is described in a predetermined markup language;
Division determination means for determining whether or not to execute the process of dividing the tree structure file based on at least one of the state of the tree structure of the storage device and the processing capability of the information management device;
When the division determination unit determines not to execute the process of dividing the tree structure file, the information storage unit is controlled so that the tree structure file is stored in the information storage unit as it is. When it is determined that the process for dividing the tree structure file is to be executed, the tree structure file is divided so as to be in a predetermined division state including a part of the tree structure, and each of the divided tree structure files is Control means for controlling the information storage means to be stored in the information storage means;
An information management device comprising:
前記制御手段は、前記マークアップ言語としてのXML又はXHTMLで記述された前記木構造ファイルを前記情報記憶手段に保存する、
請求項1に記載の情報管理装置。
The control means stores the tree structure file described in XML or XHTML as the markup language in the information storage means.
The information management apparatus according to claim 1.
前記情報記憶手段は、ファイルを格納可能な1以上のフォルダの情報を含む前記木構造ファイルを記憶し、
前記分割判定手段は、前記木構造ファイルを解析し該解析した結果、前記木構造の状態として前記木構造の情報に含まれているフォルダ数が所定の処理遅延数以上あるときに前記木構造ファイルを分割する処理を実行すると判定する、
請求項1又は2に記載の情報管理装置。
The information storage means stores the tree structure file including information of one or more folders in which the file can be stored,
The division determination unit analyzes the tree structure file, and as a result of the analysis, when the number of folders included in the tree structure information as the state of the tree structure is equal to or greater than a predetermined processing delay number, the tree structure file To execute the process of dividing
The information management apparatus according to claim 1 or 2.
前記制御手段は、所定の分割状態となるよう前記木構造ファイルの分割処理を実行するに際して、前記処理遅延数未満のフォルダが前記分割された木構造ファイルに含まれるよう前記木構造ファイルの分割処理を実行する、
請求項3に記載の情報管理装置。
The control unit executes the tree structure file division processing so that a folder having a number less than the processing delay number is included in the divided tree structure file when executing the tree structure file division processing so as to be in a predetermined division state. Run the
The information management apparatus according to claim 3.
前記分割判定手段は、前記木構造ファイルを解析し該解析した結果、前記記憶装置の木構造の状態として前記木構造ファイルに含まれている木構造の階層数が所定の処理遅延階層数以上あるときに前記木構造ファイルを分割する処理を実行すると判定する、
請求項1〜4のいずれかに記載の情報管理装置。
The division determination unit analyzes the tree structure file, and as a result of the analysis, the number of tree structures included in the tree structure file as the state of the tree structure of the storage device is equal to or greater than a predetermined number of processing delay layers. Sometimes it is determined to execute the process of dividing the tree structure file,
The information management apparatus in any one of Claims 1-4.
前記制御手段は、所定の分割状態となるよう前記木構造ファイルの分割処理を実行するに際して、上位の階層が含まれる分割後の木構造ファイルと該上位の階層に対応付けられた下位の階層が含まれる分割後の木構造ファイルとに前記木構造ファイルが分割されるよう前記木構造ファイルの分割処理を実行する、
請求項5に記載の情報管理装置。
When the control unit executes the division process of the tree structure file so as to be in a predetermined division state, the divided tree structure file including the upper hierarchy and the lower hierarchy associated with the upper hierarchy are included. Performing the tree structure file division processing so that the tree structure file is divided into the divided tree structure files included,
The information management apparatus according to claim 5.
前記分割判定手段は、前記情報管理装置の処理能力が所定の処理能力を下回るときに前記木構造ファイルを分割するものと判定する、
請求項1〜6のいずれかに記載の情報管理装置。
The division determination means determines that the tree structure file is to be divided when the processing capability of the information management apparatus is lower than a predetermined processing capability.
The information management device according to claim 1.
請求項1〜7のいずれかに記載の情報管理装置であって、
前記記憶装置の木構造の情報を取得する情報取得手段、を備え、
前記制御手段は、前記情報取得手段によって取得された前記記憶装置の木構造の情報に基づいて前記木構造ファイルを前記情報記憶手段に記憶するよう前記情報記憶手段を制御する、
情報管理装置。
The information management device according to claim 1,
Information acquisition means for acquiring information on the tree structure of the storage device,
The control means controls the information storage means to store the tree structure file in the information storage means based on the information of the tree structure of the storage device acquired by the information acquisition means;
Information management device.
請求項1〜8のいずれかに記載の情報管理装置であって、
記憶装置の木構造の情報を外部機器へ出力する指令を該外部機器から取得する指令取得手段と、
情報を外部機器に出力可能な出力手段と、を備え、
前記制御手段は、前記木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれが前記情報記憶手段に保存されるよう前記情報記憶手段を制御したあと前記指令取得手段が前記出力指令を取得したときには、前記分割された木構造ファイルのうち前記出力指令に対応する木構造の情報を含む前記木構造ファイルを前記情報記憶手段から読み出し該読み出した木構造ファイルを解析し、該解析結果を前記記憶装置の木構造の情報として前記外部機器へ出力するよう前記出力手段を制御する、
情報管理装置。
The information management device according to any one of claims 1 to 8,
Command acquisition means for acquiring, from the external device, a command to output the tree structure information of the storage device to the external device;
Output means capable of outputting information to an external device,
The control means executes the division process of the tree structure file and controls the information storage means so that each of the divided tree structure files is stored in the information storage means, and then the command acquisition means performs the output command Is obtained, the tree structure file including the tree structure information corresponding to the output command is read out from the information storage means, and the read tree structure file is analyzed, and the analysis result is obtained. Controlling the output means to output to the external device as information on the tree structure of the storage device,
Information management device.
前記制御手段は、前記木構造ファイルがそのまま前記情報記憶手段に保存されるよう前記情報記憶手段を制御したあと前記指令取得手段が前記出力指令を取得したときには、前記情報記憶手段に保存された前記木構造ファイルを読み出し該読み出した木構造ファイルを解析し、該解析結果を前記記憶装置の木構造の情報として前記外部機器へ出力するよう前記出力手段を制御する、
請求項9に記載の情報管理装置。
When the command acquisition unit acquires the output command after controlling the information storage unit so that the tree structure file is stored in the information storage unit as it is, the control unit stores the information stored in the information storage unit. Reading the tree structure file, analyzing the read tree structure file, and controlling the output means to output the analysis result to the external device as the tree structure information of the storage device;
The information management apparatus according to claim 9.
前記制御手段は、前記指令取得手段から前記出力指令を受けていないときに前記分割判定手段によって前記木構造ファイルを分割する処理を実行すると判定されたときには、前記木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行する、
請求項9又は10に記載の情報管理装置。
When the control unit determines that the division determination unit performs the process of dividing the tree structure file when the output command is not received from the command acquisition unit, a predetermined part of the tree structure is included. Execute the split process of the tree structure file so that the split state of
The information management apparatus according to claim 9 or 10.
前記外部機器は、スキャナ、プリンタ、デジタルカメラ及び携帯電話のうちの少なくとも1つである、
請求項9〜11のいずれかに記載の情報管理装置。
The external device is at least one of a scanner, a printer, a digital camera, and a mobile phone.
The information management device according to claim 9.
記憶装置の階層状の木構造の情報を、前記記憶装置の木構造の情報を所定のマークアップ言語で記述した木構造ファイルを記憶可能な情報記憶手段を利用して管理するコンピュータ・ソフトウェアによる情報管理方法であって、
(a)前記記憶装置の木構造の状態及び前記情報管理装置の処理能力のうち少なくとも一つに基づいて前記木構造ファイルを分割する処理を実行するか否かを判定するステップと、
(b)前記ステップ(a)で前記木構造ファイルを分割する処理を実行しないと判定されたときには該木構造ファイルがそのまま前記情報記憶手段に保存されるよう前記情報記憶手段を制御し、前記ステップ(a)で前記木構造ファイルを分割する処理を実行すると判定されたときには該木構造の一部が含まれる所定の分割状態となるよう該木構造ファイルの分割処理を実行し該分割された木構造ファイルのそれぞれが前記情報記憶手段に保存されるよう前記情報記憶手段を制御するステップと、
を含む情報管理方法。
Information by computer software for managing hierarchical tree structure information of the storage device using information storage means capable of storing a tree structure file in which the tree structure information of the storage device is described in a predetermined markup language A management method,
(A) determining whether or not to execute a process of dividing the tree structure file based on at least one of a tree structure state of the storage device and a processing capability of the information management device;
(B) When it is determined in step (a) that the process of dividing the tree structure file is not to be executed, the information storage means is controlled so that the tree structure file is stored in the information storage means as it is, When it is determined in (a) that the process for dividing the tree structure file is to be executed, the tree structure file is divided so that a predetermined division state including a part of the tree structure is included, and the divided tree is obtained. Controlling the information storage means such that each of the structure files is stored in the information storage means;
Information management method.
請求項13に記載の情報管理方法の各ステップを1又は複数のコンピュータに実現させるためのプログラム。   A program for causing each step of the information management method according to claim 13 to be realized by one or more computers.
JP2006012512A 2006-01-20 2006-01-20 Information management device, information management method and program therefor Withdrawn JP2007193660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006012512A JP2007193660A (en) 2006-01-20 2006-01-20 Information management device, information management method and program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006012512A JP2007193660A (en) 2006-01-20 2006-01-20 Information management device, information management method and program therefor

Publications (1)

Publication Number Publication Date
JP2007193660A true JP2007193660A (en) 2007-08-02

Family

ID=38449304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006012512A Withdrawn JP2007193660A (en) 2006-01-20 2006-01-20 Information management device, information management method and program therefor

Country Status (1)

Country Link
JP (1) JP2007193660A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156881A (en) * 2012-01-31 2013-08-15 Hitachi Solutions Ltd File list generating method, file list generating apparatus, and program
JP2013161342A (en) * 2012-02-07 2013-08-19 Hitachi Solutions Ltd Method, system and program for generating file list, and file list generation device
JP2013167990A (en) * 2012-02-15 2013-08-29 Hitachi Solutions Ltd File list generation method, system and program, and file list generation device
JP2013255026A (en) * 2012-06-05 2013-12-19 Ricoh Co Ltd Control system, control program and control method of image processing apparatus
US8880557B2 (en) 2010-06-24 2014-11-04 International Business Machines Corporation Method, program, and system for dividing tree structure of structured document

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11353307A (en) * 1998-06-04 1999-12-24 Nec Corp Information converter
JP2003248614A (en) * 2002-02-25 2003-09-05 Seiko Epson Corp Structured document displaying system, server, structured document displaying device, structured document displaying method, and structure document processing program
JP2004038496A (en) * 2002-07-02 2004-02-05 Hitachi Software Eng Co Ltd Xml document preparing system
JP2004287978A (en) * 2003-03-24 2004-10-14 Toshiba Corp Method and program for dividing structured document
JP2005025763A (en) * 2003-07-03 2005-01-27 Fujitsu Ltd Division program, division device and division method for structured document

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11353307A (en) * 1998-06-04 1999-12-24 Nec Corp Information converter
JP2003248614A (en) * 2002-02-25 2003-09-05 Seiko Epson Corp Structured document displaying system, server, structured document displaying device, structured document displaying method, and structure document processing program
JP2004038496A (en) * 2002-07-02 2004-02-05 Hitachi Software Eng Co Ltd Xml document preparing system
JP2004287978A (en) * 2003-03-24 2004-10-14 Toshiba Corp Method and program for dividing structured document
JP2005025763A (en) * 2003-07-03 2005-01-27 Fujitsu Ltd Division program, division device and division method for structured document

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8880557B2 (en) 2010-06-24 2014-11-04 International Business Machines Corporation Method, program, and system for dividing tree structure of structured document
JP2013156881A (en) * 2012-01-31 2013-08-15 Hitachi Solutions Ltd File list generating method, file list generating apparatus, and program
JP2013161342A (en) * 2012-02-07 2013-08-19 Hitachi Solutions Ltd Method, system and program for generating file list, and file list generation device
JP2013167990A (en) * 2012-02-15 2013-08-29 Hitachi Solutions Ltd File list generation method, system and program, and file list generation device
JP2013255026A (en) * 2012-06-05 2013-12-19 Ricoh Co Ltd Control system, control program and control method of image processing apparatus

Similar Documents

Publication Publication Date Title
US20130169987A1 (en) Information processing apparatus, information processing method, and computer-readable storage medium
US8533298B2 (en) Box data management apparatus and method
CN101739224A (en) Thumbnail creation method and image forming apparatus
US8176025B2 (en) Information processing apparatus for storing documents with partial images
JP2008199151A (en) Image forming apparatus and method for controlling printing of web page
JP2007193660A (en) Information management device, information management method and program therefor
US20120307303A1 (en) Printing apparatus, web server, printing system, and computer readable recording medium stored with program for web server
US20150088986A1 (en) Information processing apparatus, and control method and storage medium therefor
JP5834648B2 (en) Information processing apparatus, program, and control method
JP5077105B2 (en) Image processing apparatus, image processing program, and image processing system
US20060212485A1 (en) Electronic file saving system
CN101087349A (en) Image forming apparatus and method of controlling the apparatus
JP5924169B2 (en) RELAY DEVICE, PROGRAM, AND RELAY DEVICE CONTROL METHOD
US8959126B2 (en) Device management apparatus and device management method
JP2007221340A (en) Method and device for forming image file
JP2008035224A (en) Log information management system, log information management device, log information management method, log information management program, and storage medium
US20040051901A1 (en) Information processsing apparatus, a function extension program, computer readable storage medium storing the program, and information processing method
JP2000311071A (en) Output controller, output control method, and storage medium stored with computer readable program
JP5929126B2 (en) Print data receiving apparatus, image processing apparatus, and program
CN101267337A (en) Network management system and method of managing the same
JP2009065339A (en) Device, system, method and program for generating print data
JP2001030583A (en) Image output system, control method therefor and recording medium
JP5228543B2 (en) Print job processing system and print job processing method
JP2006268271A (en) Print data processor and printer
JP4960269B2 (en) Image processing system and image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110823

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20111012