JP2007207014A - Electronic device and collection method for maintenance information - Google Patents

Electronic device and collection method for maintenance information Download PDF

Info

Publication number
JP2007207014A
JP2007207014A JP2006025771A JP2006025771A JP2007207014A JP 2007207014 A JP2007207014 A JP 2007207014A JP 2006025771 A JP2006025771 A JP 2006025771A JP 2006025771 A JP2006025771 A JP 2006025771A JP 2007207014 A JP2007207014 A JP 2007207014A
Authority
JP
Japan
Prior art keywords
maintenance information
external storage
storage medium
information
maintenance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006025771A
Other languages
Japanese (ja)
Inventor
Tomoe Sugihara
智衛 杉原
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2006025771A priority Critical patent/JP2007207014A/en
Publication of JP2007207014A publication Critical patent/JP2007207014A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic device or the like for easily collecting maintenance information without imposing an excessive load on a network. <P>SOLUTION: This electronic device with built-in computer 1 has: a medium detection means 14 detecting that an external storage medium 17 is connected; and a maintenance information collection means 15 collecting the maintenance information by reading a maintenance information collection program 18 stored in the external storage medium when the connection of the external storage medium is detected and making a computer 11 execute it, and writing the information into the external storage device. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、コンピュータシステム等のコンピュータを内蔵した電子装置の保守情報を採取する技術に関し、特にネットワークに過大な負荷をかけることなく、かつ、容易に保守情報を採取する技術に関する。   The present invention relates to a technique for collecting maintenance information of an electronic apparatus incorporating a computer such as a computer system, and more particularly to a technique for easily collecting maintenance information without imposing an excessive load on a network.

従来、コンピュータシステムに障害が発生した時等の情報採取は、RS-232C(Recommended Standard-232C)によるシリアルコンソールやtelnet(テルネット)等による操作端末により、保守員が情報採取の対象となるコンピュータを操作し、必要な情報をネットワーク経由で別システムに転送する、外部記憶媒体にコピーするというようなオペレーションを行う必要があった。
上記のような方法には、次のような課題があった。
保守員が対象コンピュータシステムの操作に精通していない場合、情報採取までに長時間を要していた。また、操作に精通した要員を派遣したり、教育したりするために多大なコストがかかっていた。
また、情報採取手順が複雑な場合、保守員のオペレーションミス等によりコンピュータシステムを誤動作あるいは停止させてしまい通常業務に悪影響を与える恐れがあった。
Conventionally, information collection when a failure occurs in a computer system is a computer from which maintenance personnel collect information using a serial console using RS-232C (Recommended Standard-232C) or an operation terminal using telnet. To transfer necessary information to another system via a network and copy to an external storage medium.
The above method has the following problems.
If maintenance personnel were not familiar with the operation of the target computer system, it took a long time to collect information. In addition, it was very expensive to dispatch and educate personnel familiar with the operation.
In addition, when the information collection procedure is complicated, the computer system may malfunction or be stopped due to an operation error of maintenance personnel, which may adversely affect normal operations.

そのため、保守のために必要な情報をコンピュータシステムから自動的に収集する技術が種々提案されている。
特許文献1には、分散化されたアプリケーションプログラムにおいて、障害発生時に障害情報や保守情報を自動的に収集する障害情報収集装置が記載されている。この障害情報収集装置は、障害通知処理を組み込んだアプリケーションプログラムからの情報を収集する情報収集手段を備え、情報収集手段は、障害が発生したアプリケーションプログラムからの障害通知を受けた場合、該受けた障害通知に対応する障害収集処理プログラムを前記障害通知側に送付する。
For this reason, various techniques for automatically collecting information necessary for maintenance from a computer system have been proposed.
Patent Document 1 describes a failure information collection device that automatically collects failure information and maintenance information when a failure occurs in a distributed application program. The failure information collection device includes information collection means for collecting information from an application program in which failure notification processing is incorporated, and the information collection means receives the failure notification from the application program in which the failure has occurred. A failure collection processing program corresponding to the failure notification is sent to the failure notification side.

特開2001−282671号公報JP 2001-282671 A

しかし、従来の情報収集技術には次のような問題があった。
近年のコンピュータの発展により、システムで取り扱う情報は増大する一方であり、それに伴って障害時に必要なログなどの情報も増大する一方である。このデータをネットワーク経由して転送する場合、ネットワークに過大な負荷がかかり、ネットワークを利用する業務に悪影響を与える恐れがあり、転送に要する時間も非常に長くなる。
However, the conventional information collecting technology has the following problems.
With the recent development of computers, the information handled by the system is increasing, and along with this, information such as logs necessary at the time of failure is also increasing. When this data is transferred via the network, an excessive load is applied to the network, which may adversely affect work using the network, and the time required for the transfer becomes very long.

そこで、本発明は、ネットワークに過大な負荷をかけることなく、かつ、容易に保守情報を採取することができる電子装置等を提供することをその目的とする。   Therefore, an object of the present invention is to provide an electronic device or the like that can easily collect maintenance information without imposing an excessive load on the network.

本発明の電子装置は、外部記憶媒体が接続されたことを検出する媒体検出手段と、外部記憶媒体の接続が検出されたときに外部記憶媒体に記憶されている保守情報採取プログラムを読み出してコンピュータに実行させることにより保守情報を収集しこの情報を外部記憶装置に書き込む保守情報採取手段とを備えている(請求項1ないし請求項4)。   An electronic apparatus according to the present invention is a computer for reading out a maintenance information collecting program stored in an external storage medium when a connection of the external storage medium is detected, and a medium detection means for detecting that the external storage medium is connected. And maintenance information collecting means for collecting maintenance information and writing the information to an external storage device. (Claims 1 to 4)

上記電子装置によれば、保守情報採取手段は、外部記憶媒体に保守情報を書き込み、保守情報を採取するためのプログラムも外部記憶媒体から読み込むからネットワークを用いることなく保守情報を採取することができる。
また、外部記憶媒体を保守情報採取の対象となる電子装置に接続するだけで保守情報採取手段が自動的に起動するから、容易に保守情報を採取することができる。
According to the electronic apparatus, the maintenance information collecting unit can collect maintenance information without using a network because the maintenance information is written to the external storage medium and the program for collecting the maintenance information is also read from the external storage medium. .
In addition, since the maintenance information collecting means is automatically activated simply by connecting the external storage medium to the electronic device from which maintenance information is collected, maintenance information can be easily collected.

上記電子装置において、前記保守情報採取機能は、採取すべき前記保守情報を指定する情報とこの情報を採取する方法を指定する情報とを対応付けて記録したルールファイルを参照し、このルールファイルに記録された情報に基づいて前記保守情報を採取するものとしてもよい(請求項2)。
このようにすれば、採取すべき情報の種類やその採取方法をルールファイルにより保守情報の採取を行う都度、適切に設定することができる。
In the electronic device, the maintenance information collection function refers to a rule file in which information specifying the maintenance information to be collected and information specifying a method of collecting the information are recorded in association with each other. The maintenance information may be collected based on the recorded information (claim 2).
In this way, the type of information to be collected and its collection method can be set appropriately each time maintenance information is collected using the rule file.

上記電子装置において、ルールファイルは、前記外部記憶媒体に記憶するようにしてもよい(請求項3)。
このようにすれば、電子装置の種類や障害の状況に適合したルールファイルをネットワークを使用することなく、容易に配布することができる。
In the electronic device, the rule file may be stored in the external storage medium.
In this way, a rule file suitable for the type of electronic device and the state of failure can be easily distributed without using a network.

上記電子装置において、保守情報採取機能は、前記保守情報を圧縮して前記外部記憶媒体に書き込むものとしてもよい(請求項4)。
このようにすれば、1枚(台)の外部記憶媒体の記憶容量よりも本来は大きいサイズの保守情報を1枚(台)の外部記憶媒体に書き込んだり、保守情報採取に使用する外部記憶媒体の枚数(台数)を節約したりすることができる。
In the electronic apparatus, the maintenance information collection function may compress the maintenance information and write it to the external storage medium.
In this way, maintenance information having a size originally larger than the storage capacity of one (unit) external storage medium is written to one (unit) external storage medium, or used for collecting maintenance information. The number of sheets can be saved.

本発明の保守情報採取方法は、電子装置に外部記憶媒体が接続されたこときに作動し、前記外部記憶媒体に記憶されている保守情報採取プログラムを読み出し、このプログラムにより前記コンピュータに前記電子装置の保守のために必要な保守情報を採取し、この保守情報を前記外部記憶媒体に書き込む保守情報採取機能を実行させる保守情報採取ステップにより保守情報を採取する(請求項5ないし請求項8)。   The maintenance information collection method of the present invention operates when an external storage medium is connected to an electronic device, reads a maintenance information collection program stored in the external storage medium, and uses the program to read the electronic device from the computer. Maintenance information necessary for maintenance is collected, and maintenance information is collected by a maintenance information collection step for executing a maintenance information collection function for writing the maintenance information to the external storage medium (claims 5 to 8).

上記保守情報採取方法によれば、保守情報採取ステップでは、外部記憶媒体に保守情報を書き込み、保守情報を採取するためのプログラムも外部記憶媒体から読み込むからネットワークを用いることなく保守情報を採取することができる。
また、外部記憶媒体を保守情報採取の対象となる電子装置に接続するだけで保守情報採取ステップが自動的に作動するから、容易に保守情報を採取することができる。
According to the maintenance information collection method described above, in the maintenance information collection step, maintenance information is written to the external storage medium, and maintenance information is collected without using a network because a program for collecting maintenance information is also read from the external storage medium. Can do.
Further, since the maintenance information collecting step is automatically operated only by connecting the external storage medium to the electronic device from which maintenance information is collected, maintenance information can be easily collected.

上記保守情報採取方法において、保守情報機能は、採取すべき前記保守情報を指定する情報とこの情報を採取する方法を指定する情報とを対応付けて記録したルールファイルを参照し、これらの情報に基づいて前記保守情報を採取するものとしてもよい(請求項6)。
このようにすれば、採取すべき情報の種類やその採取方法をルールファイルにより保守情報の採取を行う都度、適切に設定することができる。
In the maintenance information collection method, the maintenance information function refers to a rule file in which information specifying the maintenance information to be collected and information specifying a method of collecting this information are recorded in association with each other. The maintenance information may be collected based on the above (claim 6).
In this way, the type of information to be collected and its collection method can be set appropriately each time maintenance information is collected using the rule file.

上記保守情報採取方法において、ルールファイルは、前記外部記憶媒体に記憶するようにしてもよい(請求項7)。
このようにすれば、電子装置の種類や障害の状況に適合したルールファイルをネットワークを使用することなく、容易に配布することができる。
In the maintenance information collection method, the rule file may be stored in the external storage medium.
In this way, a rule file suitable for the type of electronic device and the state of failure can be easily distributed without using a network.

上記保守情報採取方法において、保守情報採取機能は、前記保守情報を圧縮して前記外部記憶媒体に書き込むものとしてもよい(請求項8)。
このようにすれば、1枚(台)の外部記憶媒体の記憶容量よりも本来は大きいサイズの保守情報を1枚(台)の外部記憶媒体に書き込んだり、保守情報採取に使用する外部記憶媒体の枚数(台数)を節約したりすることができる。
In the maintenance information collection method, the maintenance information collection function may compress the maintenance information and write it to the external storage medium.
In this way, maintenance information having a size originally larger than the storage capacity of one (unit) external storage medium is written to one (unit) external storage medium, or used for collecting maintenance information. The number of sheets can be saved.

本発明によれば、保守情報採取手段(ステップ)は、外部記憶媒体に保守情報を書き込み、保守情報を採取するためのプログラムも外部記憶媒体から読み込むからネットワークを用いることなく保守情報を採取することができる。
また、外部記憶媒体を保守情報採取の対象となる電子装置に接続するだけで保守情報採取手段(ステップ)が自動的に起動するから、容易に保守情報を採取することができる。
According to the present invention, the maintenance information collecting means (step) collects maintenance information without using a network because the maintenance information is written to the external storage medium and the program for collecting the maintenance information is also read from the external storage medium. Can do.
In addition, since the maintenance information collecting means (step) is automatically activated simply by connecting the external storage medium to the electronic device from which maintenance information is collected, maintenance information can be easily collected.

以下、図を参照しながら本発明の一実施形態であるコンピュータシステム1(電子装置の一例)の構成と動作について説明する。
図1は、コンピュータシステム1の機能ブロック図である。
コンピュータシステム1は、パーソナルコンピュータシステム、冷蔵庫、DVD(Digital Versatile Disk)プレーヤー、制御用コンピュータを備えた自動車、携帯電話機等のコンピュータを内蔵した装置で、制御部12、記憶部13、媒体検出手段14、保守情報採取手段15、媒体接続手段16を備えている。
Hereinafter, the configuration and operation of a computer system 1 (an example of an electronic apparatus) that is an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a functional block diagram of the computer system 1.
The computer system 1 is a device incorporating a computer such as a personal computer system, a refrigerator, a DVD (Digital Versatile Disk) player, a car equipped with a control computer, a mobile phone, and the like, and includes a control unit 12, a storage unit 13, and a medium detection unit 14. , Maintenance information collection means 15 and medium connection means 16.

制御部12は、たとえば図2のCPU(Central Processing Unit)2がOS(Operating System)とデバイスドライバを実行することにより実現され、タスク管理、メモリ管理などを行い、コンピュータシステム1全体の動作を制御する。
記憶部13は、制御部12等上記の各手段がアクセス可能な記憶装置で、主記憶装置と外部記憶装置により構成される。記憶部13には、コンピュータシステム1が実行するOS、デバイスドライバ等のプログラム、これらのプログラムが実行の際に参照するデータ、これらのプログラムが実行中に生成したデータ等が記憶される。
The control unit 12 is realized by, for example, a CPU (Central Processing Unit) 2 in FIG. 2 executing an OS (Operating System) and a device driver, and performs task management, memory management, and the like, and controls the operation of the entire computer system 1. To do.
The storage unit 13 is a storage device that can be accessed by the above-described units such as the control unit 12, and includes a main storage device and an external storage device. The storage unit 13 stores an OS executed by the computer system 1, programs such as device drivers, data referred to when these programs are executed, data generated during execution of these programs, and the like.

媒体検出手段14は、媒体接続手段16等を監視し、外部記憶媒体17の接続を検出し、制御部12を介して情報採取手段15に通知する。
媒体接続手段16は、外部記憶媒体17をコンピュータシステム1に接続するためのインターフェースであり、たとえば、デバイスドライバと物理的な接続ポートにより構成される。
The medium detection unit 14 monitors the medium connection unit 16 and the like, detects the connection of the external storage medium 17, and notifies the information collection unit 15 via the control unit 12.
The medium connection means 16 is an interface for connecting the external storage medium 17 to the computer system 1, and is constituted by, for example, a device driver and a physical connection port.

外部記憶媒体17は、コンピュータシステム1が作動中に、接続および取り外しが可能な記憶媒体または記憶装置である。外部記憶媒体17には、後述する保守情報採取プログラム18とルールファイル19が記憶されている。   The external storage medium 17 is a storage medium or a storage device that can be connected and disconnected while the computer system 1 is operating. The external storage medium 17 stores a maintenance information collection program 18 and a rule file 19 which will be described later.

保守情報採取手段15は、媒体検出手段14から外部記憶媒体17がコンピュータシステム1に接続されたことを通知されたときに、外部記憶媒体17から保守情報採取プログラム18を読み込んで、図2のCPU2に実行させることにより、コンピュータシステム1の保守情報を採取し、採取した情報を外部記憶媒体17に書き込む。このとき、採取する情報とその採取の方法は、外部記憶媒体17に記憶されているルールファイル19を参照して決定する。   The maintenance information collection unit 15 reads the maintenance information collection program 18 from the external storage medium 17 when notified from the medium detection unit 14 that the external storage medium 17 is connected to the computer system 1, and the CPU 2 in FIG. As a result, the maintenance information of the computer system 1 is collected, and the collected information is written in the external storage medium 17. At this time, information to be collected and a method of collecting the information are determined with reference to the rule file 19 stored in the external storage medium 17.

ルールファイル19は、保守情報採取手段15が取得すべき情報を指定する情報とその採取方法を対応付けて記憶してあるファイルである。なお、ルールファイル19は、記憶部13に記憶しておくようにしても良い。   The rule file 19 is a file that stores information specifying information to be acquired by the maintenance information collection unit 15 and its collection method in association with each other. Note that the rule file 19 may be stored in the storage unit 13.

図2は、コンピュータシステム1のハードウェア構成の一例を示す図である。
コンピュータシステム1は、CPU2、主記憶装置3、入出力インターフェース4、ハードディスク装置5、接続ポート6を備えている。
FIG. 2 is a diagram illustrating an example of a hardware configuration of the computer system 1.
The computer system 1 includes a CPU 2, a main storage device 3, an input / output interface 4, a hard disk device 5, and a connection port 6.

CPU2は、制御機能と演算機能を備え、主記憶装置3にロードしたプログラムから命令を取り込んで実行する。
主記憶装置3は、たとえばRAM(Random Access Memory)により構成され、CPU2が実行するプログラム、具体的には保守情報採取プログラム3a、デバイスドライバ3b、OS(オペレーティングシステム)3c、を記憶する。保守情報採取プログラム3aは、外部記憶媒体17が接続されたとき、デバイスドライバ3bとOS3cは、コンピュータシステム1に電源が投入されたときにそれぞれロードされる。
入出力インターフェース4は、外部記憶装置、キーボード、ディスプレイ装置等の入出力装置とCPU2とを接続するインターフェースである。
すなわち、コンピュータシステム1は、CPU2、主記憶装置3、入出力インターフェース4により構成されるコンピュータ11を内蔵している。
The CPU 2 has a control function and an arithmetic function, and fetches and executes instructions from a program loaded in the main storage device 3.
The main storage device 3 is composed of, for example, a RAM (Random Access Memory), and stores a program executed by the CPU 2, specifically, a maintenance information collection program 3a, a device driver 3b, and an OS (operating system) 3c. The maintenance information collection program 3a is loaded when the external storage medium 17 is connected, and the device driver 3b and the OS 3c are loaded when the computer system 1 is turned on.
The input / output interface 4 is an interface for connecting the CPU 2 to an input / output device such as an external storage device, a keyboard, or a display device.
That is, the computer system 1 has a built-in computer 11 including a CPU 2, a main storage device 3, and an input / output interface 4.

ハードディスク装置5は、ハードディスク、駆動用のモータ、制御回路等で構成される外部記憶装置で入出力インターフェース4を介してCPU2と接続されている。ハードディスク5には、CPUが実行する各種プログラムが記憶されており、これらのプログラムは、コンピュータシステム1の起動時または、OS等によりプログラムの起動指示があったときに主記憶装置3にロードされる。   The hard disk device 5 is an external storage device composed of a hard disk, a driving motor, a control circuit, and the like, and is connected to the CPU 2 via the input / output interface 4. Various programs executed by the CPU are stored in the hard disk 5, and these programs are loaded into the main storage device 3 when the computer system 1 is started or when a program start instruction is issued by the OS or the like. .

接続ポート6は、外部記憶媒体をコンピュータシステム1に接続するための物理的なポートである。
USB(Universal Serial Bus)メモリ7は、外部記憶媒体の一例であり、フラッシュメモリ等の記憶素子、制御回路、接続ポート6に装着するためのコネクタ等で構成されている。USBメモリ7が接続ポート6に装着されると、デバイスドライバ3bがこれを検出し、CPU2はUSBメモリ7を外部記憶装置として使用できるようになる。
このような、接続ポート6を介してコンピュータシステム1に接続する外部記憶媒体としては、USBメモリ7のほかにUSB接続の外付けタイプのハードディスク装置等がある。
The connection port 6 is a physical port for connecting an external storage medium to the computer system 1.
A USB (Universal Serial Bus) memory 7 is an example of an external storage medium, and includes a storage element such as a flash memory, a control circuit, and a connector to be attached to the connection port 6. When the USB memory 7 is attached to the connection port 6, the device driver 3b detects this, and the CPU 2 can use the USB memory 7 as an external storage device.
As such an external storage medium connected to the computer system 1 via the connection port 6, there is an external hard disk device with USB connection in addition to the USB memory 7.

外部記憶媒体としては、ディスク型の記憶媒体を用いることもできる。
図3は、このような場合の、コンピュータシステム1のハードウェア構成の例を示す図である。
この構成例は、基本的には図2に示したものと同様であるが、入出力インターフェース4に、ディスクドライブ8が接続されている点が異なる。
A disk-type storage medium can also be used as the external storage medium.
FIG. 3 is a diagram illustrating an example of a hardware configuration of the computer system 1 in such a case.
This configuration example is basically the same as that shown in FIG. 2 except that a disk drive 8 is connected to the input / output interface 4.

ディスク9は、たとえば、フレキシブルディスク、CD−R(Compact Disc-Recordable)、DVD−R(Digital Versatile Disk-Recordable)等の記憶媒体である。ディスク9がディスクドライブ8に装着されると、デバイスドライバ3bがこれを検出し、CPUはディスク9を外部記憶装置として使用できるようになる。
本明細書では、上記のようにディスク記憶媒体をディスクドライブ等の記憶装置に装着あるいは挿入することも含む概念として「接続」という語を用いている。
The disk 9 is a storage medium such as a flexible disk, a CD-R (Compact Disc-Recordable), a DVD-R (Digital Versatile Disk-Recordable). When the disk 9 is loaded in the disk drive 8, the device driver 3b detects this, and the CPU can use the disk 9 as an external storage device.
In the present specification, the term “connection” is used as a concept including mounting or inserting a disk storage medium in a storage device such as a disk drive as described above.

次に、コンピュータシステム1の動作について説明する。
図4は、コンピュータシステム1に外部記憶媒体17が接続された際の動作を示すフローチャートである。
媒体検出手段14は、媒体接続手段16に外部記憶媒体17が接続されたことを検出すると(S101)、その旨を制御部12を介して保守情報採取手段15に通知する。
保守情報採取手段15は、外部記憶媒体17に記憶されている保守情報採取プログラム18を読み出して制御部12に実行させる。この動作は、たとえば、外部記憶媒体17の接続の検出をデバイスドライバがOSに通知し、この通知を受けたOSが起動すべきプログラムを指定するファイルとして予め定められているファイルを外部記憶媒体17から読み出し、そのファイルで指定されているプログラム(ここでは、保守情報採取プログラム18)をCPU2に実行させることにより行う。
Next, the operation of the computer system 1 will be described.
FIG. 4 is a flowchart showing an operation when the external storage medium 17 is connected to the computer system 1.
When the medium detecting unit 14 detects that the external storage medium 17 is connected to the medium connecting unit 16 (S101), the medium detecting unit 14 notifies the maintenance information collecting unit 15 via the control unit 12.
The maintenance information collection unit 15 reads the maintenance information collection program 18 stored in the external storage medium 17 and causes the control unit 12 to execute it. In this operation, for example, the device driver notifies the OS of the detection of the connection of the external storage medium 17, and a file predetermined as a file that specifies a program to be started by the OS that has received this notification is stored in the external storage medium 17. Is executed by causing the CPU 2 to execute a program (in this case, the maintenance information collecting program 18) specified by the file.

保守情報採取手段15は、外部記憶媒体9からルールファイル19を読み出して、採取する情報とその採取方法を決定する(S103)。
図5に、ルールファイル19のデータ構造例を示す。
ルールファイル19は、採取する情報を指定する情報19aとその情報を採取する方法を指定する情報19bとを含んでいる。採取の方法は、大別して、コンピュータシステム1のOS等が生成し記憶部13にすでに記憶されている情報を採取する方法と、保守情報採取手段15が特定のコマンドを呼び出してその実行結果として返される情報を採取する方法とがある。ここで、実行するコマンドは、OS等が備えているものでも良いし、保守情報採取手段15(保守情報採取プログラム18)が独自に備えているものでも良い。
The maintenance information collection unit 15 reads the rule file 19 from the external storage medium 9, and determines the information to be collected and the collection method (S103).
FIG. 5 shows an example of the data structure of the rule file 19.
The rule file 19 includes information 19a specifying information to be collected and information 19b specifying a method of collecting the information. The collection method is roughly divided into a method of collecting information generated by the OS of the computer system 1 and stored in the storage unit 13, and a maintenance information collection unit 15 calling a specific command and returning it as an execution result. There is a method to collect information. Here, the command to be executed may be provided by the OS or the like, or may be provided independently by the maintenance information collection unit 15 (maintenance information collection program 18).

図5の1行目は、既存の情報を採取する例であり、「イベントログ」を採取することが指定され、その採取方法として既存のイベントログファイル「ABC.log」をコピーすることが指定されている。図5の2行目は、コマンドを実行する例であり、「ネットワーク構成」に関する情報を採取することが指定され、その採取方法としてOSに含まれている「ipconfig」コマンドを実行することが指定されている。   The first line in FIG. 5 is an example of collecting existing information. “Event log” is designated to be collected, and the existing event log file “ABC.log” is designated as the collection method. Has been. The second line in FIG. 5 is an example of executing a command. Information regarding “network configuration” is designated to be collected, and “ipconfig” command included in the OS is designated as the collection method. Has been.

図4に戻り、保守情報採取手段15は、S104の決定に従って情報の採取を実行する(S104)。採取した情報は、たとえば、記憶部13に一時的に記憶しておく。
保守情報採取手段15は、情報の採取を終えると、採取した情報を外部記憶媒体17に書き込む(S105)。このとき、採取した情報を圧縮して外部記憶媒体17に書き込むようにしても良い。
Returning to FIG. 4, the maintenance information collection unit 15 collects information according to the determination in S <b> 104 (S <b> 104). The collected information is temporarily stored in the storage unit 13, for example.
When the information collection unit 15 finishes collecting the information, the maintenance information collection unit 15 writes the collected information to the external storage medium 17 (S105). At this time, the collected information may be compressed and written to the external storage medium 17.

コンピュータシステム1によれば、保守情報採取手段15は、外部記憶媒体17に保守情報を書き込み、保守情報を採取するための保守情報採取プログラム18も外部記憶媒体17から読み込むからネットワークを用いることなく保守情報を採取することができる。
また、外部記憶媒体17をコンピュータシステム1に接続するだけで保守情報採取手段15が自動的に起動するから、容易に保守情報を採取することができる。
According to the computer system 1, the maintenance information collecting means 15 writes maintenance information to the external storage medium 17, and also reads the maintenance information collection program 18 for collecting maintenance information from the external storage medium 17. Information can be collected.
Further, since the maintenance information collecting means 15 is automatically activated simply by connecting the external storage medium 17 to the computer system 1, maintenance information can be easily collected.

保守情報採取プログラム18は、ルールファイル19に記憶されている情報に従って保守情報を採取するから、採取すべき情報の種類やその採取方法をルールファイル19により保守情報の採取を行う都度、適切に設定することができる。   Since the maintenance information collection program 18 collects maintenance information according to the information stored in the rule file 19, the maintenance information collection program 18 appropriately sets the type of information to be collected and the collection method each time maintenance information is collected using the rule file 19. can do.

ルールファイル19は、外部記憶媒体17に記憶されているから、コンピュータシステム1の機種や障害の状況に適合したルールファイルをネットワークを使用することなく、容易に配布することができる。   Since the rule file 19 is stored in the external storage medium 17, a rule file suitable for the model of the computer system 1 and the situation of the failure can be easily distributed without using a network.

保守情報採取手段15が、保守情報を圧縮して外部記憶媒体に書き込むようにすれば、1枚(台)の外部記憶媒体の記憶容量よりも本来は大きいサイズの保守情報を1枚(台)の外部記憶媒体に書き込んだり、保守情報採取に使用する外部記憶媒体の枚数(台数)を節約したりすることができる。   If the maintenance information collecting means 15 compresses the maintenance information and writes it to the external storage medium, one piece of maintenance information that is originally larger in size than the storage capacity of one external storage medium (unit). The number of external storage media (number) used for collecting maintenance information can be saved.

本発明の一実施形態であるコンピュータシステムの機能ブロック図である。It is a functional block diagram of the computer system which is one Embodiment of this invention. コンピュータシステムのハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a computer system. コンピュータシステムのハードウェア構成の別の例を示す図である。It is a figure which shows another example of the hardware constitutions of a computer system. コンピュータシステムの動作を示すフローチャートである。6 is a flowchart illustrating an operation of a computer system. ルールファイルのデータ構造例を示す図である。It is a figure which shows the data structure example of a rule file.

符号の説明Explanation of symbols

1 コンピュータシステム
2 CPU
3 主記憶装置
4 入出力インターフェース
5 ハードディスク装置
6 接続ポート
7 USBメモリ
8 ディスクドライブ
9 ディスク
11 コンピュータ
12 制御部
13 記憶部
14 媒体検出手段
15 保守情報採取手段
16 媒体接続手段
17 外部記憶媒体
18 保守情報採取プログラム
19 ルールファイル
1 Computer system 2 CPU
3 main storage device 4 input / output interface 5 hard disk device 6 connection port 7 USB memory 8 disk drive 9 disk 11 computer 12 control unit 13 storage unit 14 medium detection unit 15 maintenance information collecting unit 16 medium connection unit 17 external storage medium 18 maintenance information Collection program 19 rule file

Claims (8)

コンピュータを内蔵した電子装置において、
前記電子装置にこの電子装置が稼動中に接続および取り外しが可能な外部記憶媒体が接続されたことを検出する媒体検出手段と、
前記媒体検出手段により前記外部記憶媒体の接続が検出されたときに、前記外部記憶媒体に記憶されている保守情報採取プログラムを読み出し、このプログラムにより前記コンピュータに前記電子装置の保守のために必要な保守情報を採取し、この保守情報を前記外部記憶媒体に書き込む保守情報採取機能を実行させる保守情報採取手段とを備えたことを特徴とした電子装置。
In electronic devices with built-in computers,
Medium detecting means for detecting that an external storage medium that can be connected and disconnected while the electronic apparatus is in operation is connected to the electronic apparatus;
When the connection of the external storage medium is detected by the medium detection means, the maintenance information collection program stored in the external storage medium is read, and this program is necessary for maintenance of the electronic device in the computer. An electronic apparatus comprising: maintenance information collecting means for collecting maintenance information and executing a maintenance information collecting function for writing the maintenance information to the external storage medium.
前記保守情報採取機能は、採取すべき前記保守情報を指定する情報とこの情報を採取する方法を指定する情報とを対応付けて記録したルールファイルを参照し、このルールファイルに記録された情報に基づいて前記保守情報を採取するものであることを特徴とした請求項1に記載の電子装置。   The maintenance information collection function refers to a rule file in which information specifying the maintenance information to be collected and information specifying a method of collecting this information are recorded in association with each other, and the information recorded in the rule file The electronic device according to claim 1, wherein the maintenance information is collected based on the electronic device. 前記ルールファイルは、前記外部記憶媒体に記憶されていることを特徴とした請求項2に記載の電子装置。   The electronic device according to claim 2, wherein the rule file is stored in the external storage medium. 前記保守情報採取機能は、前記保守情報を圧縮して前記外部記憶媒体に書き込むものであることを特徴とした請求項1ないし請求項3のいずれかひとつに記載の電子装置。   4. The electronic apparatus according to claim 1, wherein the maintenance information collection function compresses the maintenance information and writes the compressed maintenance information to the external storage medium. コンピュータを内蔵した電子装置の保守のために必要な保守情報を採取する方法において、
前記電子装置にこの電子装置が稼動中に接続および取り外しが可能な外部記憶媒体が接続されたこときに作動し、前記外部記憶媒体に記憶されている保守情報採取プログラムを読み出し、このプログラムにより前記コンピュータに前記電子装置の保守のために必要な保守情報を採取し、この保守情報を前記外部記憶媒体に書き込む保守情報採取機能を実行させる保守情報採取ステップを備えたことを特徴とした保守情報採取方法。
In a method for collecting maintenance information necessary for maintenance of an electronic device incorporating a computer,
The electronic device operates when an external storage medium that can be connected and disconnected is connected while the electronic device is in operation, and reads a maintenance information collection program stored in the external storage medium. Maintenance information collection comprising a maintenance information collection step for collecting maintenance information necessary for maintenance of the electronic device in a computer and executing a maintenance information collection function for writing the maintenance information to the external storage medium Method.
前記保守情報機能は、採取すべき前記保守情報を指定する情報とこの情報を採取する方法を指定する情報とを対応付けて記録したルールファイルを参照し、これらの情報に基づいて前記保守情報を採取するものであることを特徴とした請求項5に記載の保守情報の採取方法。   The maintenance information function refers to a rule file in which information specifying the maintenance information to be collected and information specifying a method of collecting the information are recorded in association with each other, and the maintenance information is determined based on the information. The maintenance information collection method according to claim 5, wherein the maintenance information is collected. 前記ルールファイルは、前記外部記憶媒体に記憶されていることを特徴とした請求項6に記載の保守情報の採取方法。   The maintenance information collection method according to claim 6, wherein the rule file is stored in the external storage medium. 前記保守情報採取機能は、前記保守情報を圧縮して前記外部記憶媒体に書き込むものであることを特徴とした請求項5ないし請求項7のいずれかひとつに記載の保守情報の採取方法。   The maintenance information collecting method according to claim 5, wherein the maintenance information collecting function compresses the maintenance information and writes the compressed maintenance information to the external storage medium.
JP2006025771A 2006-02-02 2006-02-02 Electronic device and collection method for maintenance information Pending JP2007207014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006025771A JP2007207014A (en) 2006-02-02 2006-02-02 Electronic device and collection method for maintenance information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006025771A JP2007207014A (en) 2006-02-02 2006-02-02 Electronic device and collection method for maintenance information

Publications (1)

Publication Number Publication Date
JP2007207014A true JP2007207014A (en) 2007-08-16

Family

ID=38486424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006025771A Pending JP2007207014A (en) 2006-02-02 2006-02-02 Electronic device and collection method for maintenance information

Country Status (1)

Country Link
JP (1) JP2007207014A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070230A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Operation history information recording device, control method for operation history information recording device, control program and recording medium
JP2009093257A (en) * 2007-10-04 2009-04-30 Sony Corp Electronic equipment and log output method
WO2010018619A1 (en) * 2008-08-12 2010-02-18 富士通株式会社 Information processor and hang-up cause investigation information acquiring method
JP2013134518A (en) * 2011-12-26 2013-07-08 Ricoh Co Ltd External output device, log collecting method for external output device, and program
JP2014182577A (en) * 2013-03-19 2014-09-29 Mitsubishi Electric Corp Data collecting/recording device, management system, data collecting/recording method and data collecting/recording program
WO2016042726A1 (en) * 2014-09-17 2016-03-24 株式会社デンソー Vehicle-mounted system
WO2018110452A1 (en) * 2016-12-13 2018-06-21 Necプラットフォームズ株式会社 Peripheral device, host device, maintenance device, information processing system, method, and recording medium
JP2019153833A (en) * 2018-02-28 2019-09-12 沖電気工業株式会社 Switchboard and trace information acquisition method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070230A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Operation history information recording device, control method for operation history information recording device, control program and recording medium
JP2009093257A (en) * 2007-10-04 2009-04-30 Sony Corp Electronic equipment and log output method
US8463754B2 (en) 2007-10-04 2013-06-11 Sony Corporation Electronic equipment and log output method
WO2010018619A1 (en) * 2008-08-12 2010-02-18 富士通株式会社 Information processor and hang-up cause investigation information acquiring method
US8667335B2 (en) 2008-08-12 2014-03-04 Fujitsu Limited Information processing apparatus and method for acquiring information for hung-up cause investigation
JP2013134518A (en) * 2011-12-26 2013-07-08 Ricoh Co Ltd External output device, log collecting method for external output device, and program
JP2014182577A (en) * 2013-03-19 2014-09-29 Mitsubishi Electric Corp Data collecting/recording device, management system, data collecting/recording method and data collecting/recording program
WO2016042726A1 (en) * 2014-09-17 2016-03-24 株式会社デンソー Vehicle-mounted system
WO2018110452A1 (en) * 2016-12-13 2018-06-21 Necプラットフォームズ株式会社 Peripheral device, host device, maintenance device, information processing system, method, and recording medium
US11461157B2 (en) 2016-12-13 2022-10-04 Nec Platforms, Ltd. Peripheral device, method, and recording medium
JP2019153833A (en) * 2018-02-28 2019-09-12 沖電気工業株式会社 Switchboard and trace information acquisition method

Similar Documents

Publication Publication Date Title
JP2007207014A (en) Electronic device and collection method for maintenance information
JP5911892B2 (en) Multistage resume from hibernate
JP2007035010A (en) Method for initializing instance and executing computer program by loading operation system core program from high-speed data access memory
JP2012504281A (en) Nested file system support
US8375198B2 (en) Boot system and method having a BIOS that reads an operating system from first storage device via an input/output chip based on detecting a temperature of a second storage device
US7373493B2 (en) Boot methods, computer systems, and production methods thereof
US7992056B2 (en) Error monitoring and notification for a replaceable unit
CN109445561B (en) Power failure protection system and method applied to server and server
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
JP6264879B2 (en) Information processing apparatus, monitoring program, and monitoring method
US8145857B2 (en) Control of access to an external storage device
JP2007207139A (en) Information processor
JP4963167B2 (en) System startup method and program
EP1630668A1 (en) Boot method based on hibernation files for preventing unauthorized modifications
JP5023086B2 (en) Computer system
JP2007199968A (en) Log collection system for information processor
JP3733737B2 (en) Programmable controller and recording medium
JP4910785B2 (en) Electronic device, power control program for electronic device, and power control method
JP2010214932A (en) Printer controller and printer provided with the same
JP7103804B2 (en) User interface control device, user interface control method, and user interface control program
US20230092303A1 (en) Information processing apparatus, information processing method and non-transitory recording medium
JP2011210355A (en) Eject button control system and control method of the same
JP4336981B2 (en) Backup system and method
JP2009266117A (en) Usb memory device and plug-in application system using the same
EP1914628A1 (en) Method for changing booting sources of computer system and related backup/restore method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090414

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090529

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090825