JP4212539B2 - File storage location information management system and method and program thereof - Google Patents
File storage location information management system and method and program thereof Download PDFInfo
- Publication number
- JP4212539B2 JP4212539B2 JP2004279119A JP2004279119A JP4212539B2 JP 4212539 B2 JP4212539 B2 JP 4212539B2 JP 2004279119 A JP2004279119 A JP 2004279119A JP 2004279119 A JP2004279119 A JP 2004279119A JP 4212539 B2 JP4212539 B2 JP 4212539B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- storage
- location information
- current
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、コンピュータシステムにおけるファイルの格納位置情報を検索する技術に係わり、特に、コマンド(特定の命令語)をキーボードで文字入力するCUI(Character User Interface)での操作を基本とするOS(Operating System)を搭載したコンピュータシステムであっても、障害発生時の障害分析用情報を効率的に収集できるよう支援するのに好適な技術に関するものである。 The present invention relates to a technique for retrieving storage location information of a file in a computer system, and in particular, an OS (Operating System) based on an operation on a CUI (Character User Interface) for inputting a command (specific command word) with a keyboard. The present invention relates to a technique suitable for assisting in efficiently collecting information for failure analysis when a failure occurs even in a computer system equipped with (System).
コンピュータシステムに障害が発生した場合の障害対応作業では、その障害状況および原因調査のための情報収集を行う必要があり、この際、主に当該コンピュータシステムに存在する各種ファイル情報の素早い、かつ的確な収集が要求される。 When a failure occurs in a computer system, it is necessary to collect information for investigating the failure status and the cause, and at this time, quickly and accurately collect various file information that mainly exists in the computer system. Collection is required.
ディスク・ファイルにおけるディレクトリやファイルの効率的な検索を実現するディスク・ファイル管理技術に関する従来技術の1つとして、例えば、特許文献1に記載されたものがある。 For example, Japanese Patent Application Laid-Open No. 2004-133867 discloses one of conventional techniques related to a disk file management technique that realizes efficient search of directories and files in a disk file.
この従来技術では、ウィンドウ入出力モニタより入力したコマンドの情報を解析するコマンド解析手段と、コマンド解析手段で解析された結果に基づき、現在のディレクトリおよびファイルの位置を明確にする現在位置明確化手段と、コマンド解析手段で解析された結果に基づき、外部記憶装置からディレクトリおよびファイルの情報を取り込むディスク検索手段と、現在位置明確化手段とディスク検索手段からの情報を用いて、ウィンドウ表示画面イメージを作成する画面作成手段とを設け、操作者が、モニタ上のマルチウィンドウにおいて、ディレクトリ,ファイル図式表示のコマンドを入力すると、ディレクトリやファイルの階層図を画面上に表示すると共に、現在のディレクトリの位置を読み取り、その図式に反映させ、さらに、カレントディレクトリ(現在利用者のいるディレクトリ)が移動した場合、図式の表示を変化させ、また、新たにディレクトリが作成された場合や、削除された場合も、直ちにその情報を反映させて図式の表示を変化させる。これにより、操作者は、その表示内容(ディレクトリ全体の階層図)に基づき、自分がいるディレクトリの位置を把握することができる。 In this prior art, command analysis means for analyzing command information input from the window input / output monitor, and current position clarification means for clarifying the current directory and file position based on the result analyzed by the command analysis means And a window search screen image using information from the disk search means for fetching directory and file information from the external storage device, and information from the current position clarification means and disk search means based on the result analyzed by the command analysis means. A screen creation means is provided, and when the operator inputs a directory / file diagram display command in the multi-window on the monitor, the directory / file hierarchy diagram is displayed on the screen and the current directory position is displayed. Is read and reflected in the diagram. If the current directory (the directory where the user is currently located) is moved, the display of the diagram is changed, and when a new directory is created or deleted, the information is immediately reflected and displayed. To change. Thereby, the operator can grasp the position of the directory where the operator is based on the display content (hierarchical diagram of the entire directory).
また、特許文献2には、ディレクトリ構造で階層的にファイルを管理するファイル管理システムにおいて、カレントディレクトリに存在するディレクトリ(以後、「Aディレクトリ」と呼ぶ)下のファイルやディレクトリの情報(例えば、「Aディレクトリ」内の更新に関し、更新の日時情報、更新したユーザ情報、更新種別の情報(ディレクトリ内に新規にファイルが作成されたのか、削除されたのか、ファイルの状態が更新されたのか、の少なくとも1つを含む)の少なくとも1つの情報を含む)を記録するディレクトリ情報記録手段と、予め秘密情報を格納する秘密情報格納手段と、この秘密情報と改ざんを防止したデータとを用いて所定の演算を行うことで改ざん検知コードを作成する改ざん検知コード作成手段とを設けることで、ディレクトリ構造で階層的にファイルを管理するファイル管理システムにおいて、個々のファイルの改ざん、ファイルの不正な消去や差し替え、ディレクトリ構造の不正な変更を検出する技術が記載されている。 Further, in Patent Document 2, in a file management system that manages files hierarchically in a directory structure, information on files and directories under a directory (hereinafter referred to as “A directory”) existing in the current directory (for example, “ Date of update, updated user information, update type information (whether a new file has been created or deleted, whether the status of the file has been updated, etc.) Directory information recording means for recording (including at least one information)), secret information storage means for storing secret information in advance, and data that prevents tampering with the secret information. By providing a tamper detection code creating means for creating a tamper detection code by performing an operation, In the file management system for managing hierarchically files in directory structure, alteration of individual files, incorrect deletion or replacement of a file, a technique for detecting a tampering of the directory structure is described.
また、特許文献3には、パソコンやEWS(Engineering WorkStation)等において階層構造で管理されるファイル管理システムに対する検索、ファイルの特定を容易化することを目的に、各ファイルのファイル名やパス情報にコメント情報を対応付けて付与し、ファイル情報記憶手段で登録・管理することにより、コメント情報を元にファイル検索を行う技術が記載されている。この技術では、ユーザは、ユーザインターフェース手段で提供されるGUI(Graphical User Interface)画面上での操作により、コメント情報の付与、および、コメント情報に基づくファイル検索等を行うことができる。 Patent Document 3 describes the file name and path information of each file for the purpose of facilitating the search and file specification for a file management system managed in a hierarchical structure in a personal computer or EWS (Engineering WorkStation). A technique is described in which file information is retrieved based on comment information by assigning comment information in association with each other and registering and managing the information by file information storage means. In this technique, the user can perform comment information addition, file search based on the comment information, and the like by an operation on a GUI (Graphical User Interface) screen provided by the user interface means.
コンピュータシステム障害の1つとして、例えばパッケージアプリケーション・プログラムでの障害があり、この障害発生時に、その障害分析情報の収集として設定ファイルやログファイルの確認作業が必須となる。しかし、設定ファイルやログファイルのディレクトリ位置は、デフォルトで設定された標準位置から任意の位置への変更が可能であり、標準位置から任意の位置に変更された場合、CUIを基本としたファイル管理システムにおいては、操作者が入力すべきコマンドに関して熟知していないと、求めたいファイルを把握するまでに時間がかかるという問題がある。 As one of the computer system failures, for example, there is a failure in a package application program. When this failure occurs, confirmation work of a setting file and a log file is essential for collecting the failure analysis information. However, the directory position of the setting file and log file can be changed from the standard position set by default to an arbitrary position. When the position is changed from the standard position to an arbitrary position, file management based on CUI is performed. In the system, there is a problem that it takes time until the file to be obtained is grasped unless the operator knows the command to be input.
UNIX(登録商標)系OSのX Window System(商標)に代表されるウインドウシステムが搭載されているシステムの場合は、上述の特許文献3に記載のように、GUIによる操作技術が提供されている。このGUIでは、マウスでボタンを押したり、メニューを選択する操作方式でのファイル検索が簡単に行える。 In the case of a system in which a window system typified by the UNIX (registered trademark) OS X Window System (trademark) is mounted, an operation technique using a GUI is provided as described in Patent Document 3 above. . In this GUI, a file search can be easily performed by an operation method of pressing a button with a mouse or selecting a menu.
しかし、通常、サーバコンピュータには、ウインドウシステムを搭載しないことが多く、また障害時にはウインドウシステム自体が起動しないケースもあって、その場合はCUIでの操作が必要となる。 However, usually, a server computer is not often equipped with a window system, and there are cases where the window system itself does not start in the event of a failure. In such a case, an operation on the CUI is required.
GUIによるファイル管理操作が行えないシステム環境にあるコンピュータシステムにおいて、CUIによるファイル管理操作をCUIの操作に馴染みのない担当者が行う場合は、より多くの作業時間がかかる。 In a computer system in a system environment where file management operations using GUI cannot be performed, if a person who is not familiar with CUI operations performs file management operations using CUI, more work time is required.
例えば、特許文献1に記載の従来技術は、GUIで表示されたウインドウ画面上での操作者による「ディレクトリ全体図の表示指示コマンドの入力操作」に基づき、「ディレクトリ全体図」を表示するものであり、CUIでのコマンド入力には対応していない。また、この技術では、操作者は、表示された「ディレクトリ全体図」から目的のディレクトリ/ファイルを探す必要があり、目的のディレクトリ/ファイルがウインドウ内に現れるまで、「ディレクトリ全体図」に対する移動等のウィンドウ操作を行う必要がある。 For example, the prior art described in Patent Document 1 displays a “directory whole view” based on “input operation of a display instruction command for a whole directory view” by an operator on a window screen displayed with a GUI. Yes, it does not support command input via CUI. Also, with this technique, the operator needs to search for the target directory / file from the displayed “entire directory view”, and moves to the “entire directory view” until the target directory / file appears in the window. It is necessary to perform the window operation.
また、特許文献3に記載の従来技術も、ユーザインターフェース手段で提供されるGUI(Graphical User Interface)画面上でのユーザ操作(コメント情報もしくはファイル名の選択)により、ファイル検索等を行うものである。 The prior art described in Patent Document 3 also performs a file search or the like by a user operation (selection of comment information or file name) on a GUI (Graphical User Interface) screen provided by user interface means. .
さらに、コンピュータシステム障害対応時における設定ファイルやログファイル等の確認作業においては、単に、現状(カレント)のファイル位置の把握に留まらず、各種ファイルの現状の変更された格納位置情報と、本来あるべき正しい(標準的な)位置情報とを、同時に把握できることが求められるが、上述の従来技術においては、現状のファイルの位置状態を把握することができるだけである。 Furthermore, in the confirmation work of setting files, log files, etc. when dealing with computer system failures, not only grasping the current (current) file location but also the storage location information of the current status of various files and the original Although it is required that correct correct (standard) position information can be grasped at the same time, in the above-described conventional technology, it is only possible to grasp the current position state of a file.
解決しようとする問題点は、従来の技術では、例えばインストールされたアプリケーションプログラムに関連する設定ファイルやログファイル等の各種ファイルの格納位置情報を、ユーザは、CUIベースのコマンド操作で、容易にかつ迅速に把握することできない点、また、例えばユーザによる各種のファイル操作によって、システムの初期状態として各種ファイルのあるべき標準的位置から、各種ファイルが更新またはファイル位置が変更された場合、その現状のファイル状態及びファイルの位置状態が、正しい(標準的な)状態か否かを容易に判断することまでは考慮されておらず、特にシステム障害対応時に於けるファイル状態の把握作業で要求される、現状(カレント)のファイル状態と、本来あるべきファイル状態(標準状態)との同時把握を容易に行うことができない点である。 The problem to be solved is that, in the conventional technology, for example, the storage location information of various files such as setting files and log files related to the installed application program can be easily and In the case where various files are updated or the file position is changed from the standard position where the various files should be as the initial state of the system by the various file operations by the user, for example, by the user, It is not taken into account to easily determine whether the file status and the file position status are correct (standard) status, which is particularly required in the task of grasping the file status when dealing with a system failure. Current (current) file status and original file status (standard status) It is a point that can not be carried out simultaneous grasp of easily.
本発明の目的は、これら従来技術の課題を解決し、例えCUIでのコマンド入力によるファイル管理操作を行うシステム環境であっても、障害対応担当者が障害対応作業を開始するにあたり、障害状況の把握のために行う各種の設定情報やログ情報の早期収集を効果的に支援することを可能とすることである。 The object of the present invention is to solve these problems of the prior art and, even in a system environment where a file management operation is performed by command input in the CUI, when the person in charge of trouble handling starts the trouble handling work, It is possible to effectively support early collection of various setting information and log information performed for grasping.
上記目的を達成するため、本発明は、予めデフォルトでの各ファイルの格納位置情報を標準ファイル位置情報記憶装置において登録しておくと共に、定期的に、実際のコンピュータシステムにおける各ファイルの格納位置を確認した上で、現状ファイル位置情報記憶装置において更新登録しておくことにより、ユーザの例えばCUIによるコマンド入力操作に応じて、即時に、各ファイルのカレント状態(現状)の格納位置情報を検索して出力することを特徴とする。また、同時に、当該ファイルのデフォルトの格納位置情報を検索して出力することを特徴とする。 In order to achieve the above object, the present invention registers in advance the storage location information of each file in the standard file location information storage device in advance and periodically stores the storage location of each file in the actual computer system. After confirming, by updating and registering in the current file position information storage device, the storage position information of the current state (current state) of each file is immediately retrieved according to the command input operation by the user, for example, CUI. Output. At the same time, the default storage location information of the file is searched and output.
本発明によれば、インストールされているソフトウエアの最新情報が不明なコンピュータシステムに対して、障害対応作業を行う場合に、調査すべき対象ファイルとそのファイルのカレント状態(現状)の所在位置、およびデフォルトの所在位置の双方が即座に判明し、当該ファイルの内容を容易に読みとることができ、必要な情報収集に要する時間を短縮することができる。また、CUIに慣れていない技術者が障害調査用の情報収集を行う場合でも、短時間で作業を行うことが期待できる。さらに、ソフトウエア環境のレポーティングツール等への応用が可能である。 According to the present invention, when a failure handling operation is performed on a computer system in which the latest information of installed software is unknown, the target file to be investigated and the location of the current state (current state) of the file, Both the default location and the default location can be found immediately, the contents of the file can be easily read, and the time required for collecting necessary information can be shortened. Further, even when an engineer who is not familiar with CUI collects information for investigating a failure, it can be expected to perform the work in a short time. Furthermore, it can be applied to software environment reporting tools.
以下、図を用いて本発明を実施するための最良の形態例を説明する。
図1は、本発明に係わるファイル位置情報検索システムの構成例を示すブロック図であり、図2は、図1における更新プログラム実行部による本発明のファイル位置情報検索方法に係わる処理手順例を示すフローチャート、図3は、図1における標準ファイル位置情報テーブルの構成例を示す説明図、図4は、図1における現状ファイル位置情報テーブルの構成例を示す説明図、図5は、図1における照会プログラム実行部の処理結果例を示す説明図である。
The best mode for carrying out the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration example of a file location information search system according to the present invention, and FIG. 2 shows an example of a processing procedure related to a file location information search method of the present invention by an update program execution unit in FIG. 3 is an explanatory diagram showing a configuration example of the standard file location information table in FIG. 1, FIG. 4 is an explanatory diagram showing a configuration example of the current file location information table in FIG. 1, and FIG. 5 is an inquiry in FIG. It is explanatory drawing which shows the example of a process result of a program execution part.
図1において、10はサーバコンピュータ、20は管理者用の端末、30はサーバコンピュータ10用のコンソール、40はサーバコンピュータ10と端末20を接続するネットワークであり、サーバコンピュータ10および端末20は、CPU(Central Processing Unit)や主メモリ、表示装置、入力装置、外部記憶装置からなるコンピュータ構成からなり、光ディスク駆動装置等を介してCD−ROM等の記憶媒体に記録されたプログラムやデータを外部記憶装置内にインストールした後、この外部記憶装置から主メモリに読み込みCPUで処理することにより、各処理部の機能を実行する。
In FIG. 1, 10 is a server computer, 20 is a terminal for an administrator, 30 is a console for the
特に、本例では、サーバコンピュータ10および端末20は、OSにRed Hat(登録商標)系のLinux(登録商標)を用い、かつ、CUIによるshシェルコマンド入力操作に基づく本発明に係わるファイル位置情報検索処理を行うものとする。
In particular, in this example, the
例えば、サーバコンピュータ10は、データベース11と更新プログラム実行部12および照会プログラム実行部13等の機能を有すると共に、ファイル情報141を格納するシステムファイル14を有する。システムファイル14のファイル情報141には、システムにインストール済みの全てのファイルの記憶装置におけるパス設定情報(格納位置情報)、例えばパッケージアプリケーション・プログラムの名称や設定ファイル、ログファイル等の各ファイルの格納位置情報や格納日時等が含まれる。
For example, the
データベース11は、記憶装置を用いて、パッケージアプリケーション名称や設定ファイルのデフォルト位置やログファイルのデフォルト(標準)での格納位置などを記録する標準ファイル位置情報テーブル111と、サーバコンピュータ10における現在(カレント)のファイル格納位置を記録する現状ファイル位置情報テーブル112を生成し更新する。
The
標準ファイル位置情報テーブル111では、標準的なパッケージアプリケーションプログラムについて、例えば図3に示す内容で予め初期データ作成を行っておく。図3に示す例では、標準ファイル位置情報テーブル111は、「パッケージ(rpm)名称」、「アプリケーションプログラム名(図中「説明」と記載)」、「設定ファイル名」、「デフォルト設定ファイル位置」、「デフォルトログファイル位置」の各項目からなり、「パッケージ(rpm)名称」として「httpd−2.0.40−21」と「samba−2.2.1a−4」が登録されており、また、「アプリケーションプログラム名(説明)」として「Apache」と「Samba」が、「設定ファイル名」として「httpd.conf」と「smb.conf」が、「デフォルト設定ファイル位置」として「/etc/httpd/conf/httpd.conf」と「/usr/local/samba/smb.conf」が、そして、「デフォルトログファイル位置」として「/etc/httpd/logs/」と「/var/log/samba.log」がそれぞれ登録されている。このように一度作成した標準ファイル位置情報テーブル111は、複数システムへの利用が可能である。 In the standard file location information table 111, initial data is created in advance for the standard package application program, for example, with the contents shown in FIG. In the example illustrated in FIG. 3, the standard file position information table 111 includes “package (rpm) name”, “application program name (described as“ description ”in the drawing”) ”,“ setting file name ”, and“ default setting file position ”. , “Default log file location”, “httpd−2.0.40-21” and “samba-2.2.1a-4” are registered as “package (rpm) name”, Also, “Apache” and “Samba” as “application program names (description)”, “httpd.conf” and “smb.conf” as “setting file names”, and “/ etc //” as “default setting file location” "httpd / conf / httpd.conf" and "/usr/local/samba/smb.co" f "it is, and," as a default log file location "and" / etc / httpd / logs / "," /var/log/samba.log "are registered respectively. The standard file position information table 111 once created in this way can be used for a plurality of systems.
更新プログラム実行部12は、標準ファイル位置情報テーブル111を検索するためのデータベース検索機能121と、実際のファイル位置を現状ファイル位置情報テーブル112に記録するためのデータベース登録機能122と、システムファイル14内の設定ファイルやログファイル等のファイル情報141等を検索するためのシステムファイル検索機能123と、検索時や登録時のエラー内容を管理者に通知するためのエラー通知機能124とを有している。
The update
現状ファイル位置情報テーブル112は、標準ファイル位置情報テーブル111と同様な構成からなり、図4に例示するように、「パッケージ(rpm)名称」、「アプリケーションプログラム名(図中「説明」と記載)」、「設定ファイル名」、「現状設定ファイル位置」、「現状ログファイル位置」の各項目からなり、「パッケージ(rpm)名称」として「httpd−2.0.40−21」と「samba−2.2.1a−4」が登録されており、また、「アプリケーションプログラム名(説明)」として「Apache」と「SAMBA」が、「設定ファイル名」として「httpd.conf」と「smb.conf」が、「現状ログファイル位置」として「/etc/httpd/conf/new/httpd.conf」と「/usr/local/samba/smb.conf」が、そして、「現状ログファイル位置」として「/var/log/httpd/logs/」と「/app/log/2004/samba.log」がそれぞれ登録されている。 The current file location information table 112 has the same configuration as the standard file location information table 111, and as illustrated in FIG. 4, “package (rpm) name”, “application program name” (described as “description” in the figure). ”,“ Setting file name ”,“ current setting file position ”, and“ current log file position ”, and“ package (rpm) name ”“ httpd−2.0.40-21 ”and“ samba− ” 2.2.1a-4 ”is registered,“ Apache ”and“ SAMBA ”are“ Application Program Name (Description) ”, and“ httpd.conf ”and“ smb.conf ”are“ Setting File Name ”. “/Etc/httpd/conf/new/httpd.conf” as “current log file location” “/Usr/local/samba/smb.conf” is registered, and “/ var / log / httpd / logs /” and “/app/log/2004/samba.log” are registered as “current log file location”, respectively. Has been.
照会プログラム実行部13は、端末20もしくはコンソール30からのユーザ指示操作に応じて、データベース11における標準ファイル位置情報テーブル11および現状ファイル位置情報テーブル112のデータを参照するためのデータベース照会機能131を有している。
The inquiry
このように、本例のファイル情報収集支援システムでは、インストール済みのアプリケーションプログラムの各関連ファイル、例えば設定ファイルとログファイルの標準(デフォルト)でのファイル格納位置を予め記憶した標準ファイル位置情報テーブル111と、これらの各関連ファイルの現状(カレント)での格納位置を記憶する現状ファイル位置情報テーブル112とを具備するデータベース11を設ける。 As described above, in the file information collection support system of this example, the standard file position information table 111 that stores in advance the file storage positions in the standard (default) of each related file of the installed application program, for example, the setting file and the log file. And a current file location information table 112 that stores the current storage location of each related file.
そして、更新プログラム実行部12が、予め定められた周期で起動され、まず、データベース検索機能121により、標準ファイル位置情報テーブル111を検索し、その記録内容に基づき、システムファイル検索機能123により、システムファイル14内を検索処理し、各アプリケーションの設定ファイルやログファイルなどの現状(カレント)の格納位置情報を収集し、その後、データベース登録機能122により、収集した各ファイルの格納位置情報を現状ファイル位置情報テーブル112に更新登録する。
Then, the update
さらに、ユーザからの、例えばCUIコマンドでのファイル位置検索指示が入力されれば、図示していないコマンド解釈機能により解釈し、それに応じて、照会プログラム実行部13が、データベース照会機能131により、現状ファイル位置情報テーブル112に記憶された当該ファイルのカレントのファイル格納位置情報、および標準ファイル位置情報テーブル111に記憶された標準ファイル位置情報を読み出して、それぞれをコンソール30の表示装置に編集表示する。
Furthermore, if a file location search instruction is input from the user, for example, using a CUI command, it is interpreted by a command interpretation function (not shown). In response to this, the query
尚、例えば、システムファイル検索機能123による検索処理で、システムファイル14中に、検索対象のファイルが見つからなかった場合は、エラー通知機能124により、コンソール30の表示装置へ、その旨を示すエラー表示を行う。
Note that, for example, when a search target file is not found in the
また、現状ファイル位置情報テーブル112に記憶されている検索対象としてのファイルが標準ファイル位置情報テーブル111中(標準位置)に存在せず、システムファイル14中に複数存在した場合は、システムファイル検索機能123によりシステムファイル14を検索し、当該ファイルの作成日付を読み出し、その作成日付けから1つを特定し、特定したファイルの格納位置情報を、データベース登録機能122により、現状ファイル位置情報テーブル112に更新登録する。
In addition, when a file as a search target stored in the current file position information table 112 does not exist in the standard file position information table 111 (standard position) and there are a plurality of files in the
以下、図2に従って、更新プログラム実行部12による、実際のコンピュータシステム(サーバコンピュータ10)内のファイル状況を調査して、その調査結果を記憶装置(現状ファイル位置情報テーブル112)に蓄積する処理手順を説明する。尚、ここでの処理は、図1における現状ファイル位置情報テーブル112の内容を最新情報に更新するため、任意に定められた期間毎に実行するものである。
Hereinafter, according to FIG. 2, the update
図2(a)に示すように、まず、システムファイル検索機能123により、システムファイル14を検索し、インストール済のパッケージアプリケーション・プログラムの名称やインストール時刻等を読み出し(ステップS201)、読み出したパッケージアプリケーション・プログラムの名称(「httpd−2.0.40−21」、「samba−2.2.1a−4」等)を、データベース登録機能122により、現状ファイル位置情報テーブル112へ書き込む(ステップS202)。尚、前回の検索結果があれば、その差分を書き込み登録する。
As shown in FIG. 2A, first, the
次に、このようにして現状ファイル位置情報テーブル112に書き込まれた(登録された)各エントリ全てに対して、以下の各処理を行う(ステップS203)。 Next, the following processes are performed on all entries written (registered) in the current file position information table 112 in this way (step S203).
まず、データベース検索機能121により、標準ファイル位置情報テーブル111を検索し、当該アプリケーションプログラムの名称(「説明」)および当該アプリケーションプログラムの関連ファイルとしての設定ファイルやログファイルの標準的な格納位置情報(デフォルト位置情報)の有無を判別する(ステップS204〜S205)。
First, the standard file location information table 111 is searched by the
有れば、データベース登録機能122により、検索結果の内の「アプリケーションプログラム名称(「Apache」、「Samba」等の「説明」)」を現状ファイル位置情報テーブル112へ格納(登録)する(ステップS206)。
If there is, the
ステップS205の判別において、標準的な格納位置情報(デフォルト位置情報)が無ければ、エラー通知機能124により、図2(b)に示す手順からなるエラー処理を行う(ステップS230)。すなわち、その旨を示すメッセージをコンソール30や端末10の画面に表示し(ステップS231)、当該ファイルの名称をメールで管理者に通知する(ステップS232)。
If there is no standard storage position information (default position information) in the determination in step S205, the
ステップS206の処理の次には、検索結果を基にして、まず、システムファイル検索機能123により、設定ファイルについてシステムファイル14内を検索し、次に、データベース検索機能121により、標準ファイル位置情報テーブル111における登録内容と同じデフォルト位置に当該設定ファイルが存在するか否かを判別する(ステップS207)。
Following the processing in step S206, based on the search result, first, the system file search function 123 searches the
存在すれば、データベース登録機能122により、標準ファイル位置情報テーブル111に登録されてるデフォルト位置情報をそのまま現状ファイル位置情報テーブル112へ登録する(ステップS208)。 If it exists, the default location information registered in the standard file location information table 111 is directly registered in the current file location information table 112 by the database registration function 122 (step S208).
また、存在しない場合は、システムファイル検索機能123により、システムファイル14内を当該設定ファイルのファイル名称およびファイル作成日時を条件に検索した上で、最適な(例えば作成日時が最新の)設定ファイルを一意に特定し(ステップS209,S210)、特定した設定ファイルのシステムファイル14で示される格納位置情報を、現状設定ファイル位置(カレント位置情報)として、データベース登録機能122により、現状ファイル位置情報テーブル112へ登録する(ステップS208)。
If the file does not exist, the system file search function 123 searches the
尚、ステップS209,S210の処理において、最適な設定ファイルが見つからない場合には、エラー通知機能124により、図2(b)に示すエラー処理を行う(ステップS230)。
In the processes of steps S209 and S210, when the optimum setting file is not found, the
ステップS208での処理に続き、次にログファイルについて、システムファイル検索機能123によりシステムファイル14内を検索し、標準ファイル位置情報テーブル111における登録内容と同じデフォルト位置に当該ログファイルが存在するか否かを判別し(ステップS211)、存在すれば、データベース登録機能122により、標準ファイル位置情報テーブル111に登録されているデフォルト位置情報をそのまま現状ファイル位置情報テーブル112へ登録する(ステップS212)。
Following the processing in step S208, the system file search function 123 searches the
また、存在しない場合は、システムファイル検索機能123によりシステムファイル14内を当該ログファイルのファイル名称を条件に検索する(ステップS213)。当該ファイル名が無ければ、エラー通知機能124により図2(b)に示すエラー処理を行い、あれば、複数の類似する名称を持つファイルを検出したか否かを判別する(ステップS215)。
If the log file does not exist, the system file search function 123 searches the
検出結果が1つであれば、当該ログファイルのシステムファイル14で示されるファイル位置情報を、データベース登録機能122により現状ファイル位置情報テーブル112へ登録する(ステップS212)が、類似名称のファイルを複数検出した場合には、ステップS208での処理対象として特定された設定ファイル内に含まれるログファイル位置情報を利用して最適なログファイルを特定し(ステップS216)、特定したログファイルのシステムファイル14で示されるファイル位置情報を、現状ファイル位置情報テーブル112へ登録する(ステップS212)。
If there is only one detection result, the file location information indicated by the
以上のステップS203〜ステップS216およびステップS230の各処理を、現状ファイル位置情報テーブル112の全てのエントリに対して実行することで、現状ファイル位置情報テーブル112に対する定期的な更新を行う。 The processes in steps S203 to S216 and step S230 described above are executed for all entries in the current file position information table 112, thereby periodically updating the current file position information table 112.
このようにして定期的に更新される現状ファイル位置情報テーブル112を用いることにより、例えば、障害発生時の調査用ファイル情報収集のための支援を迅速に行うことができる。 By using the current file position information table 112 that is periodically updated in this manner, for example, support for collecting investigation file information when a failure occurs can be quickly provided.
すなわち、ユーザ(管理者)が、障害発生時に調査用ファイル情報収集のために、そのファイルの位置情報が必要となった際には、CUIコマンドを含む指示操作をすることにより、当該コマンドが解釈され、照会プログラム実行部13が起動され、この照会プログラム実行部13が、データベース照会機能131により、データベース11に記録されている現状ファイル位置情報テーブル112の内容を即座に読み出し、図5の示す形式で編集し表示するので、ユーザは、対象コンピュータシステムにインストールされているパッケージアプリケーション・プログラム名称とその設定ファイルやログファイルの格納位置情報(パス設定情報)を迅速に知ることができる。
That is, when a user (administrator) needs location information of a file to collect investigation file information when a failure occurs, the command is interpreted by performing an instruction operation including a CUI command. Then, the inquiry
また、照会プログラム実行部13のデータベース照会機能131においては、ユーザからの指示操作に応じて、データベース11に記録されている現状ファイル位置情報テーブル112のみならず、標準ファイル位置情報テーブル111の内容もあわせて読み出し、図5の示す形式と同様にして、両ファイルの内容を編集し表示する。これにより、ユーザは、現状のファイル状態及びファイルの位置状態が、正しい(標準的な)状態か否かを容易に判断することができる。
Further, in the
図5において、矢印「→」の左側の文字列は、照会プログラム実行時のコマンド入力例を示し、また、矢印「→」の右側は、そのコマンドを解釈して本発明に係わる処理を実行した結果の表示例である。本例では、コマンド入力に「shシェル」が用いられており、「current.sh −F Apache」とのコマンド入力に応じて、アプリケーション名「Apache」の設定ファイル「httpd.conf」の現状の格納位置情報(パス設定情報)が「/etc/httpd/conf/new/httpd.conf」として表示され、同様に、「current.sh −L Apache」とのコマンド入力に応じて、アプリケーション名「Apache」のログファイル「logs」の現状の格納位置情報(パス設定情報)が「/var/log/httpd/logs」として表示される。 In FIG. 5, the character string on the left side of the arrow “→” indicates an example of command input when executing the inquiry program, and the right side of the arrow “→” interprets the command and executes the processing according to the present invention. It is a display example of a result. In this example, “sh shell” is used for command input, and the current storage of the configuration file “httpd.conf” for the application name “Apache” in accordance with the command input “current.sh -F Apache”. The position information (path setting information) is displayed as “/etc/httpd/conf/new/httpd.conf”. Similarly, in response to a command input of “current.sh -L Apache”, the application name “Apache” is displayed. The current storage location information (path setting information) of the log file “logs” is displayed as “/ var / log / httpd / logs”.
コマンド入力に付与される「−F」、「−L」は表示したい関連ファイルを指定するオプションであり、これらのオプションおよびアプリケーション名称なしで「current.sh」コマンドが入力された場合には、全ての関連ファイルの核パッケージ名と設定ファイルの現状の格納位置、ログファイルの現状の格納位置が一覧で表示される。 “-F” and “-L” given to the command input are options for specifying the related file to be displayed. When the “current.sh” command is input without these options and the application name, all are displayed. The list of the core package name of the related file, the current storage location of the configuration file, and the current storage location of the log file are displayed in a list.
尚、図示していないが、シェルコマンドとして、例えば「standard.sh」を設けることにより、このコマンドの入力に応じて、設定ファイルやログファイル等の関連ファイルの標準(デフォルト)の格納位置情報を表示し、また、「current&standard.sh」を設けることにより、当該コマンドの入力に応じて、現状の格納位置情報と標準(デフォルト)の格納位置情報の双方を表示する。 Although not shown, by providing “standard.sh” as a shell command, for example, the standard (default) storage location information of related files such as a setting file and a log file can be changed according to the input of this command. By displaying “current & standard.sh”, both the current storage position information and the standard (default) storage position information are displayed in response to the input of the command.
以上、図1〜図5を用いて説明したように、本例では、予めデフォルトでの各ファイルの格納位置情報を標準ファイル位置情報記憶装置において登録しておくと共に、定期的に、実際のコンピュータシステムにおける各ファイルの格納位置を確認した上で、現状ファイル位置情報記憶装置において更新登録しておくことにより、ユーザのCUIによるコマンド入力操作に応じて、即時に、各ファイルのカレント状態(現状)の格納位置情報を検索して出力する。また、同時に、当該ファイルのデフォルト(標準)の格納位置情報を検索して出力する。 As described above with reference to FIGS. 1 to 5, in this example, the default storage location information of each file is registered in advance in the standard file location information storage device, and the actual computer is periodically updated. After confirming the storage location of each file in the system, it is updated and registered in the current file location information storage device, so that the current status (current status) of each file is instantly determined according to the command input operation by the user CUI. Search and output storage location information. At the same time, the default (standard) storage location information of the file is retrieved and output.
すなわち、CUI操作を基本としたコンピュータシステムにおいて、インストール済みのアプリケーションプログラム関連ファイル(例えば設定ファイルとログファイル)の標準ファイル位置情報を予め記憶した標準ファイル位置情報テーブル111と、アプリケーションプログラム関連ファイルのカレント位置情報を記憶する現状ファイル位置情報テーブル112とをデータベース記憶装置11に設け、更新プログラム実行部12が、データベース検索機能121とシステムファイル検索機能123により、標準ファイル位置情報テーブル111に記憶された情報に基づいて、システムファイル14内を定期的に検索処理し、各検索処理毎に、カレントのファイル位置情報を抽出し、データベース登録機能122により、現状ファイル位置情報テーブル112に更新登録する。そして、ユーザが入力したCUIコマンドに応じて、照会プログラム実行部13が起動し、データベース照会機能131により、データベース11において標準ファイル位置情報テーブル111および現状ファイル位置情報テーブル112に記憶されたカレントおよびデフォルトのファイル格納位置情報を読み出して、コンソール30の画面上に編集表示する。
That is, in a computer system based on CUI operation, a standard file location information table 111 pre-stored with standard file location information of installed application program related files (for example, setting files and log files), and current of application program related files The current file location information table 112 for storing location information is provided in the
尚、更新プログラム実行部12の処理において、例えばシステムファイル14に検索対象のファイルが見つからなかった場合は、エラー通知機能124により、コンソール30の画面上にエラー表示し、また、検索対象のファイルが標準位置に存在せず、システムファイル14中に複数存在した場合は、システムファイル検索機能123によりシステムファイル14を検索し、当該ファイルの作成日付からカレントのファイル位置情報を特定し、データベース登録機能122により現状ファイル位置情報テーブル112に更新登録する。
In the process of the update
このことにより、本例によれば、インストールされているソフトウエアの最新情報が不明なコンピュータシステムに対して、障害対応作業を行う場合に、調査すべき対象ファイルとそのファイルのカレント状態(現状)の所在位置、およびデフォルトの所在位置の双方が即座に判明し、当該ファイル内容を容易に読みとることができ、必要な情報収集に要する時間を短縮することができる。また、CUIに慣れていない技術者が障害調査用の情報収集を行う場合でも、短時間で作業を行うことが期待できる。さらに、ソフトウエア環境のレポーティングツール等への応用が可能である。 As a result, according to this example, when a failure handling operation is performed on a computer system for which the latest information of installed software is unknown, the target file to be investigated and the current state of the file (current state) Both the default location and the default location can be immediately found, the file contents can be easily read, and the time required for collecting necessary information can be shortened. Further, even when an engineer who is not familiar with CUI collects information for investigating a failure, it can be expected to perform the work in a short time. Furthermore, it can be applied to software environment reporting tools.
尚、本発明は、図1〜図5を用いて説明した例に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。例えば、本例では、Red Hat(登録商標)系のLinux(登録商標)を例として説明しているが、他系のLinux(登録商標)や、Unix(登録商標)、MS−DOS(登録商標)等の、CUIベースでのコマンド操作を行うシステムにも適用可能である。 In addition, this invention is not limited to the example demonstrated using FIGS. 1-5, In the range which does not deviate from the summary, various changes are possible. For example, in this example, Red Hat (registered trademark) -based Linux (registered trademark) is described as an example, but other systems such as Linux (registered trademark), Unix (registered trademark), MS-DOS (registered trademark) are described. It is also applicable to systems that perform CUI-based command operations such as
また、検索・表示対象となる関連ファイルに関しても、設定ファイルやログファイルに限定されない。さらに、このようなCUIベースでのコマンド操作を行うシステムにも限定されず、X Window System(登録商標)やWindows(登録商標)等のGUIによるユーザインタフェースでの操作にも適用して、デフォルトおよびカレントの各関連ファイルの格納位置情報をテーブル(111,112)を用いて即時に検索・表示することが可能である。 Further, related files to be searched and displayed are not limited to setting files and log files. Furthermore, the present invention is not limited to such a system that performs a command operation based on the CUI, but is applied to a user interface operation using a GUI such as X Windows System (registered trademark) or Windows (registered trademark). It is possible to immediately search and display the storage position information of each current related file using the table (111, 112).
また、プログラムの記録媒体としても、光ディスクに限定されるものではなく、FD(Flexible Disk)等を記録媒体として用いることで良い。また、プログラムのインストールに関しても、通信装置を介してネットワーク40経由でプログラムをダウンロードしてインストールすることでも良い。
Further, the recording medium of the program is not limited to the optical disk, and an FD (Flexible Disk) or the like may be used as the recording medium. As for the program installation, the program may be downloaded and installed via the
10:サーバコンピュータ、11:データベース、111:標準ファイル位置情報テーブル、112:現状ファイル位置情報テーブル、12:更新プログラム実行部、121:データベース検索機能、122:データベース登録機能、123:システムファイル検索機能、124:エラー通知機能、13:照会プログラム実行部、131:データベース照会機能、14:システムファイル、141:ファイル情報(設定ファイル、ログファイル)、20:端末(管理者用)、30:コンソール、40:ネットワーク。 10: Server computer, 11: Database, 111: Standard file location information table, 112: Current file location information table, 12: Update program execution unit, 121: Database search function, 122: Database registration function, 123: System file search function , 124: error notification function, 13: inquiry program execution unit, 131: database inquiry function, 14: system file, 141: file information (setting file, log file), 20: terminal (for administrator), 30: console, 40: Network.
Claims (12)
インストール時における上記アプリケーションプログラムの各関連ファイルの格納位置を示すデフォルト格納位置情報を記憶する標準ファイル位置情報記憶手段と、
上記アプリケーションプログラムの各関連ファイルの現状の格納位置を示すカレント格納位置情報を記憶する現状ファイル位置情報記憶手段と、
予め定められた周期で、記憶装置に記憶されたシステムファイルを検索し、該検索毎に、上記現状ファイル位置情報記憶手段で記憶した当該アプリケーションプログラムの関連ファイルのカレント格納位置情報を上記システムファイルで示される現状の格納位置に更新登録する更新手段と、
外部から入力されたアプリケーションプログラムの関連ファイルの出力指示に応じ、上記現状ファイル位置情報記憶手段から当該関連ファイルのカレント格納位置情報を読み出して編集出力する照会手段と
を有し、
さらに上記更新手段は、
上記システムファイルで示される関連ファイルの現状の格納位置が複数で、かつすべての格納位置が上記標準ファイル位置情報記憶手段に記憶されている当該関連ファイルの格納位置を示すデフォルト格納位置情報と一致しなければ、各関連ファイルの内上記システムファイルにおいて最新の作成日時が付与された関連ファイルの格納位置を選択して、上記現状ファイル位置情報記憶手段に登録する手段を有することを特徴とするファイル格納位置情報管理システム。 A system for managing storage location information of each related file of an application program in a storage device of a computer system,
Standard file position information storage means for storing default storage position information indicating the storage position of each related file of the application program at the time of installation;
Current file location information storage means for storing current storage location information indicating the current storage location of each related file of the application program;
The system file stored in the storage device is searched at a predetermined cycle, and for each search, the current storage position information of the related file of the application program stored in the current file position information storage means is stored in the system file. Update means for updating and registering the current storage location shown;
In response to an instruction to output the related file of the application program input from the outside, the current file location information storage unit reads out the current storage location information of the relevant file, and includes an inquiry unit that edits and outputs the information.
Furthermore, the update means includes
There are a plurality of current storage positions of the related file indicated by the system file, and all the storage positions coincide with the default storage position information indicating the storage position of the related file stored in the standard file position information storage means. without it, the file in the internal above system files each associated file by selecting the storage position location of the relevant file with the latest creation date granted, and having a means for registering the above-mentioned state of the art file location information storing means Storage location information management system.
インストール時における上記アプリケーションプログラムの各関連ファイルの格納位置を示すデフォルト格納位置情報を記憶する標準ファイル位置情報記憶手段と、
上記アプリケーションプログラムの各関連ファイルの現状の格納位置を示すカレント格納位置情報を記憶する現状ファイル位置情報記憶手段と、
予め定められた周期で、記憶装置に記憶されたシステムファイルを検索し、該検索毎に、上記現状ファイル位置情報記憶手段で記憶した当該アプリケーションプログラムの関連ファイルのカレント格納位置情報を上記システムファイルで示される現状の格納位置に更新登録する更新手段と、
外部から入力されたアプリケーションプログラムの関連ファイルの出力指示に応じ、上記現状ファイル位置情報記憶手段から当該関連ファイルのカレント格納位置情報を読み出し、上記標準ファイル位置情報記憶手段から当該関連ファイルのデフォルト格納位置情報を読み出し、それぞれを編集出力する照会手段と
を有し、
さらに上記更新手段は、
上記システムファイルで示される関連ファイルの現状の格納位置が複数で、かつすべての格納位置が上記標準ファイル位置情報記憶手段に記憶されている当該関連ファイルの格納位置を示すデフォルト格納位置情報と一致しなければ、各関連ファイルの内上記システムファイルにおいて最新の作成日時が付与された関連ファイルの格納位置を選択して、上記現状ファイル位置情報記憶手段に登録する手段を有することを特徴とするファイル格納位置情報管理システム。 A system for managing storage location information of each related file of an application program in a storage device of a computer system,
Standard file position information storage means for storing default storage position information indicating the storage position of each related file of the application program at the time of installation;
Current file location information storage means for storing current storage location information indicating the current storage location of each related file of the application program;
The system file stored in the storage device is searched at a predetermined cycle, and for each search, the current storage position information of the related file of the application program stored in the current file position information storage means is stored in the system file. Update means for updating and registering the current storage location shown;
In response to an output instruction of the related file of the application program input from the outside, the current storage location information of the relevant file is read from the current file location information storage means, and the default storage location of the relevant file is read from the standard file location information storage means Inquiry means for reading out information and editing and outputting each,
Furthermore, the update means includes
There are a plurality of current storage positions of the related file indicated by the system file, and all the storage positions coincide with the default storage position information indicating the storage position of the related file stored in the standard file position information storage means. without it, the file in the internal above system files each associated file by selecting the storage position location of the relevant file with the latest creation date granted, and having a means for registering the above-mentioned state of the art file location information storing means Storage location information management system.
外部から入力されたアプリケーションプログラムの関連ファイルの出力指示を示すコマンドを解釈するコマンド解釈手段を有し、
該コマンド解釈手段で解釈した上記アプリケーションプログラムの関連ファイルの出力指示に応じて、上記照会手段による処理を実行することを特徴とするファイル格納位置情報管理システム。 The file storage location information management system according to claim 1 or 2,
Command interpreting means for interpreting a command indicating an output instruction of a related file of an application program input from the outside;
A file storage location information management system, wherein the processing by the inquiry means is executed in response to an output instruction of the related file of the application program interpreted by the command interpretation means.
上記アプリケーションプログラムの関連ファイルとして、少なくとも、設定ファイルとログファイルのいずれか1つを含むことを特徴とするファイル格納位置情報管理システム。 The file storage location information management system according to any one of claims 1 to 3,
A file storage location information management system comprising at least one of a setting file and a log file as a related file of the application program.
上記更新手段は、
上記システムファイルから読み出した関連ファイルが、上記標準ファイル位置情報記憶手段に記憶されていなければ、エラー情報を出力するエラー通知手段を有することを特徴とするファイル格納位置情報管理システム。 The file storage location information management system according to any one of claims 1 to 4,
The updating means is
A file storage location information management system comprising error notification means for outputting error information if a related file read from the system file is not stored in the standard file location information storage means.
プログラムされたコンピュータ処理を実行する手段として、標準ファイル位置情報記憶手段と、現状ファイル位置情報記憶手段と、更新手段と、照会手段とを具備し、
上記標準ファイル位置情報記憶手段は、インストール時における上記アプリケーションプログラムの各関連ファイルの格納位置を示すデフォルト格納位置情報を第1の記憶領域に記憶する第1の手順を実行し、
上記現状ファイル位置情報記憶手段は、上記アプリケーションプログラムの各関連ファイルの現状の格納位置を示すカレント格納位置情報を第2の記憶領域に記憶する第2の手順を実行し、
上記更新手段は、予め定められた周期で、記憶装置に記憶されたシステムファイルを検索し、該検索毎に、上記第2の記憶領域に記憶した当該アプリケーションプログラムの関連ファイルのカレント格納位置情報を上記システムファイルで示される現状の格納位置に更新登録する第3の手順を実行し、
上記照会手段は、外部から入力されたアプリケーションプログラムの関連ファイルの出力指示に応じ、上記第2の記憶領域から当該関連ファイルのカレント格納位置情報を読み出して編集出力する第4の手順を実行し、
さらに上記更新手段は、上記システムファイルで示される関連ファイルの現状の格納位置が複数で、かつすべての格納位置が上記第1の記憶領域に記憶されている当該関連ファイルのデフォルト格納位置情報と一致しなければ、各関連ファイルの内上記システムファイルにおいて最新の作成日時が付与された関連ファイルの格納位置を選択して、上記第2の記憶領域に登録する第5の手順を実行する
ことを特徴とするファイル格納位置情報管理方法。 A method of managing storage location information of each related file of an application program in a storage device of a computer system,
As means for executing programmed computer processing, it comprises standard file location information storage means, current file location information storage means, update means, and inquiry means,
The standard file location information storage means executes a first procedure of storing default storage location information indicating a storage location of each related file of the application program at the time of installation in a first storage area,
The current file position information storage means executes a second procedure for storing current storage position information indicating a current storage position of each related file of the application program in a second storage area,
The updating means searches the system file stored in the storage device at a predetermined cycle, and for each search, obtains the current storage location information of the related file of the application program stored in the second storage area. Execute a third procedure for updating and registering the current storage location indicated by the system file,
The inquiry means executes a fourth procedure of reading out the current storage position information of the related file from the second storage area, editing and outputting the file in response to an instruction to output the related file of the application program input from the outside,
Further, the update means is identical to the default storage position information of the related file in which there are a plurality of current storage positions of the related file indicated by the system file and all the storage positions are stored in the first storage area. if match, to perform a fifth procedure the inner above system files each associated file by selecting the storage position location of the relevant file is the most recent creation time granted is registered in the second storage area Feature file storage location information management method.
プログラムされたコンピュータ処理を実行する手段として、標準ファイル位置情報記憶手段と、現状ファイル位置情報記憶手段と、更新手段と、照会手段とを具備し、
上記標準ファイル位置情報記憶手段は、インストール時における上記アプリケーションプログラムの各関連ファイルの格納位置を示すデフォルト格納位置情報を第1の記憶領域に記憶する第1の手順を実行し、
上記現状ファイル位置情報記憶手段は、上記アプリケーションプログラムの各関連ファイルの現状の格納位置を示すカレント格納位置情報を第2の記憶領域に記憶する第2の手順を実行し、
上記更新手段は、予め定められた周期で、記憶装置に記憶されたシステムファイルを検索し、該検索毎に、上記第2の記憶領域に記憶した当該アプリケーションプログラムの関連ファイルのカレント格納位置情報を上記システムファイルで示される現状の格納位置に更新登録する第3の手順を実行し、
上記照会手段は、外部から入力されたアプリケーションプログラムの関連ファイルの出力指示に応じ、上記第2の記憶領域から当該関連ファイルのカレント格納位置情報を読み出し、上記第1の記憶領域から当該関連ファイルのデフォルト格納位置情報を読み出し、それぞれを編集出力する第4の手順を実行し、
さらに上記更新手段は、上記システムファイルで示される関連ファイルの現状の格納位置が複数で、かつすべての格納位置が上記第1の記憶領域に記憶されている当該関連ファイルのデフォルト格納位置情報と一致しなければ、各関連ファイルの内上記システムファイルにおいて最新の作成日時が付与された関連ファイルの格納位置を選択して、上記第2の記憶領域に登録する第5の手順を実行する
ことを特徴とするファイル格納位置情報管理方法。 A method of managing storage location information of each related file of an application program in a storage device of a computer system,
As means for executing programmed computer processing, it comprises standard file location information storage means, current file location information storage means, update means, and inquiry means,
The standard file location information storage means executes a first procedure of storing default storage location information indicating a storage location of each related file of the application program at the time of installation in a first storage area,
The current file position information storage means executes a second procedure for storing current storage position information indicating a current storage position of each related file of the application program in a second storage area,
The updating means searches the system file stored in the storage device at a predetermined cycle, and for each search, obtains the current storage location information of the related file of the application program stored in the second storage area. Execute a third procedure for updating and registering the current storage location indicated by the system file,
The inquiry means reads current storage position information of the related file from the second storage area in response to an output instruction of the related file of the application program input from the outside, and reads the related file of the related file from the first storage area. Read the default storage location information, execute the fourth procedure to edit and output each,
Further, the update means is identical to the default storage position information of the related file in which there are a plurality of current storage positions of the related file indicated by the system file and all the storage positions are stored in the first storage area. if match, to perform a fifth procedure the inner above system files each associated file by selecting the storage position location of the relevant file is the most recent creation time granted is registered in the second storage area Feature file storage location information management method.
プログラムされたコンピュータ処理を実行する手段として、コマンド解釈手段を具備し、
該コマンド解釈手段は、外部から入力されたアプリケーションプログラムの関連ファイルの出力指示を示すコマンドを解釈する第6の手順を実行し、
上記照会手段は、上記第6の手順で解釈した上記アプリケーションプログラムの関連ファイルの出力指示に応じて、上記第4の手順による処理を実行することを特徴とするファイル格納位置情報管理方法。 A file storage location information management method according to claim 6 or 7,
As means for executing programmed computer processing, it comprises command interpretation means,
The command interpretation means executes a sixth procedure for interpreting a command indicating an output instruction of a related file of an application program input from the outside,
The file storage location information management method characterized in that the inquiry means executes processing according to the fourth procedure in response to an output instruction of a related file of the application program interpreted in the sixth procedure.
上記アプリケーションプログラムの関連ファイルとして、少なくとも、設定ファイルとログファイルのいずれか1つを含むことを特徴とするファイル格納位置情報管理方法。 A file storage location information management method according to any one of claims 6 to 8,
A file storage location information management method comprising at least one of a setting file and a log file as a related file of the application program.
上記更新手段は、上記システムファイルから読み出した関連ファイルが、上記標準ファイル位置情報記憶装置に記憶されていなければ、エラー情報を出力する第7の手順を実行することを特徴とするファイル格納位置情報管理方法。 A file storage location information management method according to any one of claims 6 to 9,
The update means executes a seventh procedure for outputting error information if the related file read from the system file is not stored in the standard file position information storage device. Management method.
プログラムされたコンピュータ処理を実行する手段として、データ検索手段と、データ登録手段と、ファイル検索手段と、エラー通知手段とを具備し、
上記データ検索手段により、記憶装置に記憶されたシステムファイルを検索し、インストール済のアプリケーションプログラムの少なくとも名称およびインストール時刻を読み出し、上記データ登録手段により、読み出したアプリケーションプログラムの名称を、第1の記憶装置に記憶する手順と、
該第1の記憶装置に記憶した各エントリ全てに対して、以下の各手順による処理を行い上記第1の記憶装置の記憶内容に対する定期的な更新を行うことを特徴とするファイル格納位置情報管理方法。
(イ)上記データ検索手段により、予めインストール時における各アプリケーションプログラムの関連ファイルの格納位置を示すデフォルト格納位置情報が登録された第2の記憶装置を検索し、当該アプリケーションプログラムの名称および当該アプリケーションプログラムの関連ファイルとしての設定ファイルとログファイルの標準的な格納位置情報(デフォルト位置情報)の有無を判別する手順、
(ロ)有れば、上記データ登録手段により、検索したアプリケーションプログラム名称を読み出して上記第1の記憶装置に登録する手順、
(ハ)無ければ、上記エラー通知手段により、その旨を示すメッセージを出力する手順、
(ニ)上記(ロ)での手順による処理の次に、上記ファイル検索手段により、検索した設定ファイルのシステムファイルで示される格納位置と、上記第2の記憶装置に記憶されているデフォルト位置とが一致するか否かを判別する手順、
(ホ)一致すれば、上記データ登録手段により、上記第2の記憶装置に記憶されているデフォルト位置をそのまま第1の記憶装置に登録する手順、
(ヘ)一致しなければ、上記ファイル検索手段により、システムファイルを当該設定ファイルのファイル名称およびファイル作成日時を条件に検索し、作成日時が最新の設定ファイルを特定し、特定した設定ファイルのシステムファイルで示される格納位置情報を、上記データ登録手段により、上記第1の記憶装置に登録する手順、
(ト)上記(ヘ)での手順による処理において、最適な設定ファイルが見つからない場合には、上記エラー通知手段により、その旨を示すエラー情報を出力する手順、
(チ)上記(ホ)と(ヘ)での手順による処理に続き、上記ファイル検索手段により、検索したログファイルのシステムファイルで示される格納位置と、上記第2の記憶装置に記憶されているデフォルト位置とが一致するか否かを判別する手順、
(リ)一致すれば、上記データ登録手段により、上記第2の記憶装置に記憶されているデフォルト位置情報をそのまま上記第1の記憶装置に登録する手順、
(ヌ)一致しなければ、上記ファイル検索手段により、システムファイルを当該ログファイルのファイル名称を条件に検索して、当該ファイルの有無を判別する手順、
(ル)当該ファイル名が無ければ、上記エラー通知手段により、その旨を示すエラー情報を出力する手順、
(ヲ)当該ファイル名が有れば、上記ファイル検索手段により、複数検出したか否かを判別する手順、
(ワ)検出した当該ファイル名が1つであれば、上記データ登録手段により、当該ログファイルのシステムファイルで示されるファイル位置情報を、上記第1の記憶装置に登録する手順、
(カ)検出した当該ファイル名が複数であれば、上記データ登録手段により、上記(ホ)での手順による処理対象の設定ファイル内に含まれるログファイル位置情報を利用して最適なログファイルを特定し、特定したログファイルのシステムファイルで示されるファイル位置情報を、上記第1の記憶装置に登録する手順。 A method of managing storage location information of each related file of an application program in a storage device of a computer system,
As means for executing programmed computer processing, it comprises data search means, data registration means, file search means, and error notification means,
The system retrieval stored in the storage device is retrieved by the data retrieval means, and at least the name and installation time of the installed application program are read out, and the name of the application program read out by the data registration means is stored in the first storage. The procedure to store in the device;
File storage location information management characterized in that all entries stored in the first storage device are processed according to the following procedures to periodically update the storage contents of the first storage device. Method.
(A) The data search means searches the second storage device in which default storage location information indicating the storage location of the related file of each application program at the time of installation is registered in advance, and the name of the application program and the application program To determine the presence or absence of standard storage location information (default location information) for configuration files and log files as related files
(B) If there is, a procedure for reading the searched application program name and registering it in the first storage device by the data registration means;
(C) If not, a procedure for outputting a message to that effect by the error notification means,
(D) After the processing according to the procedure in (b) above, the storage location indicated by the system file of the setting file searched by the file search means, and the default location stored in the second storage device A procedure to determine whether or not
(E) If they match , a procedure for registering the default position stored in the second storage device as it is in the first storage device by the data registration means ;
(F) If they do not match, the file search means searches the system file on the condition of the file name and file creation date and time of the setting file, identifies the setting file with the latest creation date and time, and identifies the system of the specified setting file A procedure for registering storage location information indicated by a file in the first storage device by the data registration means;
(G) In the process according to the procedure in (f) above, when the optimum setting file is not found, a procedure for outputting error information indicating that by the error notification means,
(H) Subsequent to the processing according to the procedures in (e) and (f) above, the file retrieval unit stores the retrieved log file in the storage location indicated by the system file and the second storage device. A procedure to determine whether the default position matches,
(I) If they match, a procedure for registering the default position information stored in the second storage device as it is in the first storage device by the data registration means;
(Nu) If they do not match, a procedure for searching the system file on the condition of the file name of the log file by the file search means to determine the presence or absence of the file,
(L) If the file name does not exist, the error notification means outputs error information indicating that,
(Wo) If the file name exists, a procedure for determining whether or not a plurality of file names are detected by the file search means;
(W) If the detected file name is one, the data registration means registers the file location information indicated by the system file of the log file in the first storage device,
(F) If there are a plurality of detected file names, the data registration means uses the log file position information included in the setting file to be processed according to the procedure in (e) to obtain an optimal log file. A procedure for identifying and registering the file location information indicated by the system file of the identified log file in the first storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004279119A JP4212539B2 (en) | 2004-09-27 | 2004-09-27 | File storage location information management system and method and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004279119A JP4212539B2 (en) | 2004-09-27 | 2004-09-27 | File storage location information management system and method and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006092408A JP2006092408A (en) | 2006-04-06 |
JP4212539B2 true JP4212539B2 (en) | 2009-01-21 |
Family
ID=36233296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004279119A Expired - Fee Related JP4212539B2 (en) | 2004-09-27 | 2004-09-27 | File storage location information management system and method and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4212539B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5106062B2 (en) | 2007-11-21 | 2012-12-26 | 株式会社日立製作所 | File search method, file search device, search system, and file search program |
US10055419B2 (en) | 2012-02-03 | 2018-08-21 | Apple Inc. | User interface for accessing documents from a computing device |
-
2004
- 2004-09-27 JP JP2004279119A patent/JP4212539B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006092408A (en) | 2006-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007272548A (en) | Information retrieval program, information retrieval method and information retrieval device | |
JP2009129017A (en) | Document transfer support system, monitoring device, document transfer support device, method, and program | |
US20140304253A1 (en) | Screen-data editing device for programmable display device | |
JP2007249694A (en) | Log format conversion device, log format conversion method and log format conversion program | |
JP2011191862A (en) | File management apparatus, file management system, and file management program | |
JP5106062B2 (en) | File search method, file search device, search system, and file search program | |
US7797297B2 (en) | Information leak analysis system | |
JP4212539B2 (en) | File storage location information management system and method and program thereof | |
JP2007334412A (en) | Retrieval program and retrieving device | |
JP4754787B2 (en) | In-house information system management device | |
JPH1139293A (en) | Document management method and document retrieval method and device | |
JP2016018227A (en) | Work log edition method, information processor, and program | |
JP5063465B2 (en) | Document management apparatus, document management method, information processing program, and recording medium | |
JP2002312205A (en) | Saving processing method for access log information, saving processing device for the same and processing program for the same | |
JP2009134535A (en) | Device for supporting software development, method of supporting software development, and program for supporting software development | |
JP3725087B2 (en) | Knowledge information collecting system and knowledge information collecting method | |
JP5076621B2 (en) | Patent analysis program, patent analysis method and patent analysis apparatus | |
JP4925711B2 (en) | Batch registration information generation apparatus, batch registration information generation method, and batch registration information generation program | |
JP3725088B2 (en) | Knowledge information collecting system and knowledge information collecting method | |
JP2004362495A (en) | Method for supporting of error log information analysis, executing system thereof, and processing program thereof | |
JP3725837B2 (en) | Knowledge information collecting system and knowledge information collecting method | |
JP6217231B2 (en) | Software configuration management system | |
JP2008262324A (en) | Information processor, information processing method and program | |
JP2005267540A (en) | File search system, file searching method, and file searching program | |
JP2006228067A (en) | Document management system and document management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080613 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080805 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080826 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081006 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081028 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081028 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111107 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121107 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121107 Year of fee payment: 4 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121107 Year of fee payment: 4 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131107 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |