JP2004334554A - Method for supervising computer system - Google Patents

Method for supervising computer system Download PDF

Info

Publication number
JP2004334554A
JP2004334554A JP2003129876A JP2003129876A JP2004334554A JP 2004334554 A JP2004334554 A JP 2004334554A JP 2003129876 A JP2003129876 A JP 2003129876A JP 2003129876 A JP2003129876 A JP 2003129876A JP 2004334554 A JP2004334554 A JP 2004334554A
Authority
JP
Japan
Prior art keywords
time
service
application program
determination time
computer system
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
JP2003129876A
Other languages
Japanese (ja)
Inventor
Mitsuko Hamana
美津子 濱名
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 JP2003129876A priority Critical patent/JP2004334554A/en
Publication of JP2004334554A publication Critical patent/JP2004334554A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for supervising a computer system for making it possible to stop the operation of an application program and dynamically vary the time to determine timeouts even during the process of a service. <P>SOLUTION: A timeout determining means 2 compares at regular time intervals the time To to determine timeouts with the time elapsed from the start of the service. When the time elapsed from the start of the service exceeds the time To to determine timeouts, a notice 4 of termination is sent to the application program AP to stop the operation thereof. A determination time varying means 5 is provided. The determination time varying means 5 varies the time To to determine timeouts, upon receiving an instruction to vary it from an operator, regardless of whether or not there is the service being processed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、コンピュータシステムの監視方式に関し、特にコンピュータに備えられたアプリケーションプログラムが端末に対して複数回の送受信を行って一連のサービスを完結するコンピュータシステムの監視方式に関するものである。
【0002】
【従来の技術】
従来より、コンピュータシステムとして、図2に示すようなものがある。同図において、101はホストコンピュータ(上位コンピュータ)、102(102a,102b,102c)はクライアントコンピュータ(下位コンピュータ)、103は回線網である。ホストコンピュータ101は回線網103を介してクライアントコンピュータ(以下、端末と呼ぶ)102と接続されている。
【0003】
ホストコンピュータ101は、アプリケーションプログラムAP(AP1,AP2・・・・APn)を備えており、アプリケーションプログラムAP1,AP2・・・・APnが個々の端末102に対して連続して動作することにより、一連のサービスを完結する。
【0004】
このコンピュータシステムでは、回線異常や途中の処理の異常(ホスト障害)などで正常に処理できない場合の終了通知がアプリケーションプログラムAPに対して行われず、その結果、例えば一度確保したメモリ領域がなかなか開放されない等の問題があった。
【0005】
そこで、本出願人は、回線異常やホスト障害などが発生した場合でも、アプリケーションプログラムAPを確実に停止するようにしたコンピュータシステムの監視方式を先に提案した(特許文献1参照)。このコンピュータシステムの監視方式では、ホストコンピュータ101において、処理中のサービスの状態を一定時間毎に監視し、そのサービスの開始からの時間が予め設定されているタイムアウト判定時間(To)を超えていた場合、アプリケーションプログラムAPに終了通知を行うようにしている。
【0006】
これにより、回線異常やホスト障害などが発生しても、サービスの開始からの時間がタイムアウト判定時間Toを超えていたことが確認されれば、アプリケーションプログラムAPに対する終了通知が行われるものとなり、一度確保したメモリ領域がなかなか開放されない等の問題が解決される。
【0007】
【特許文献1】
特開2000−322290号公報
【特許文献2】
特開2001−273220号公報
【0008】
【発明が解決しようとする課題】
サービスの処理中、タイムアウト判定時間Toの適切値は、その時々の通信環境など状況によって変化する。しかしながら、特許文献1に示されたコンピュータシステムの監視方式では、タイムアウト判定時間Toが固定とされていたために、不必要に長いタイムアウト判定時間Toが用いられたり、短いタイムアウト判定時間Toが用いられたりすることがあった。
【0009】
なお、特許文献2には、コンピュータからネットワーク上の周辺機器の状態を取得するシステムが示されている。このシステムでは、コンピュータから周辺機器に対して状態取得のためのコマンドを送信し、このコマンドに対する応答が予め定められたタイムアウト時間が過ぎても返ってこない場合、状態取得に失敗したと判断するようにしている。この判断に際して用いるタイムアウト時間は変更することが可能である。
【0010】
しかし、この特許文献2は、ネットワーク上の周辺機器の状態を監視するものであり、処理中のサービスの状態を監視するものではなく、本発明とはその前提が全く異なっている。また、タイムアウト時間を変更することは可能であるが、コンピュータから周辺機器に対して状態取得のためのコマンドを送信している間、すなわち状態取得の処理中(本発明でいうサービスの処理中に対応)は、タイムアウト時間の変更を行うことができない。
【0011】
本発明はこのような課題を解決するためになされたもので、その目的とするところは、確実にアプリケーションプログラムの動作を停止させることができ、かつサービスの処理中であってもタイムアウト判定時間を動的に変えることができるコンピュータシステムの監視方式を提供することにある。
【0012】
【課題を解決するための手段】
このような目的を達成するために本発明は、コンピュータに備えられたアプリケーションプログラムが端末に対して複数回の送受信を行って一連のサービスを完結するコンピュータシステムの監視方式において、処理中のサービスの状態を一定時間毎に監視し、そのサービスの開始からの時間が予め設定されているタイムアウト判定時間を超えていた場合、アプリケーションプログラムに終了通知を行う終了通知手段と、処理中のサービスの有無に拘わらず変更指示を受け付けてタイムアウト判定時間を変更する判定時間変更手段とを設けたものである。
この発明によれば、処理中のサービスの状態が一定時間毎に監視され、サービスの開始からの時間がタイムアウト判定時間を超えたことが確認されると、アプリケーションプログラムの動作が停止される。また、サービスの処理中であっても、タイムアウト判定時間を変更することができる。
【0013】
【発明の実施の形態】
以下、本発明を図面に基づいて詳細に説明する。図1はこの発明の一実施の形態におけるホストコンピュータの要部を示す図である。
【0014】
この実施の形態において、ホストコンピュータ100は、サービスの処理状態を管理する処理状態管理部1と、一定時間毎にタイマ起動され予め設定されているタイムアウト判定時間Toとサービスの開始からの時間との比較によりタイムアウトか否かの判定を行うタイムアウト判定手段2と、タイムアウト判定手段2からの判定結果に基づいてタイムアウトの旨の通知(終了通知)4を作成する終了通知作成手段3と、終了通知作成手段3からの終了通知4を受け取るアプリケーションプログラムAPと、処理中のサービスの有無に拘わらずオペレータからの変更指示を受け付けてタイムアウト判定時間Toの変更を行う判定時間変更手段5とを備えている。
【0015】
処理状態管理部1は状態管理テーブル1aを含む。アプリケーションプログラムAPは連続して動作するアプリケーションプログラムAP1,AP2・・・・APnを備えている。ホストコンピュータ100は、回線6を介して、図2に示した回線網103に接続されている。
【0016】
次に、図1を参照して本実施の形態の全体の動作について説明する。ホストコンピュータ100において、アプリケーションプログラムAP1は、回線6を介して例えば端末102aから開始通知7を受け取り、処理を行い、回線6を介して端末102aに電文を送信する。続いて、アプリケーションプログラムAP2が端末102aから電文を受け取り、処理を行い端末102aに電文を送信する。同様にして、順に処理を行い、最後に終了通知8を受け取ったアプリケーションプログラムAPnが処理を行い、状態管理テーブル1aを「処理完」として、一連のサービスを完結する。
【0017】
〔タイムアウト判定〕
この一連のサービス処理において、アプリケーションプログラムAP1は、開始通知7を受け取った際に、状態管理テーブル1aにそのサービスが「処理中」である旨と時刻(開始時刻)を設定する。一定時間毎にタイマ起動されるタイムアウト判定手段2は、状態管理テーブル1a内の処理中のサービスに対して、開始時刻からの経過時間がタイムアウト判定時間Toを超えていないかのチェックを行い、超えていた場合には、その旨を終了通知作成手段3へ通知する。
【0018】
終了通知作成手段3は、タイムアウト判定手段2からのサービスの開始時刻からの経過時間がタイムアウト判定時間Toを超えていたことの通知を受けて、終了通知4を作成し、アプリケーションプログラムAP宛に送信する。終了通知4を受け取ったアプリケーションプログラムAPは、状態管理テーブル1aを「処理完」とし、サービスの終わりで必要な処理を行い、その動作を停止する。
【0019】
〔タイムアウト判定時間の変更〕
この実施の形態において、オペレータは、処理中のサービスの有無に拘わらずタイムアウト判定時間Toを変更することができる。すなわち、本実施の形態において、タイムアウト判定時間Toは、サービスの処理を行っていない場合(システム停止中)だけではなく、サービスの処理を行っている場合(システム稼働中)でも変更することが可能である。
【0020】
この変更に際して、オペレータは、判定時間変更手段5に対して、所望のタイムアウト判定時間Toの変更指示を与える。この変更指示を受けて、判定時間変更手段6は、処理中のサービスの有無に拘わらず、タイムアウト判定時間Toを変更する。
【0021】
このように、本実施の形態では、サービスの処理中であってもタイムアウト判定時間Toを変更することができるので、すなわちシステムを停止させることなく動的にタイムアウト判定時間Toを変更することができるので、その時々の通信環境など状況によってタイムアウト判定時間Toの最適値が変化しても、このタイムアウト判定時間Toの最適値の変化に即座に対応することが可能となる。
【0022】
【発明の効果】
以上説明したことから明らかなように本発明によれば、処理中のサービスの状態が一定時間毎に監視され、サービスの開始からの時間がタイムアウト判定時間を超えたことが確認されると、アプリケーションプログラムの動作が停止されるので、例えば一度確保したメモリ領域がなかなか開放されない等の問題を解決することができる。また、本発明によれば、サービスの処理中であってもタイムアウト判定時間を動的に変えることができるので、その時々の通信環境など状況によってタイムアウト判定時間の最適値が変化しても、このタイムアウト判定時間の最適値の変化に即座に対応することが可能となる。
【図面の簡単な説明】
【図1】本発明の一実施の形態におけるホストコンピュータの要部を示す図である。
【図2】コンピュータシステムのシステム構成図である。
【符号の説明】
1…処理状態管理部、1a…状態管理テーブル、2…タイムアウト判定手段、3…終了通知作成手段、4…終了通知、5…判定時間変更手段、6…回線、7…開始通知、8…終了通知、AP(AP1〜APn)…アプリケーションプログラム、100…ホストコンピュータ、102…クライアントコンピュータ(端末)、103…回線網。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a computer system monitoring method, and more particularly to a computer system monitoring method in which an application program provided in a computer sends and receives a terminal a plurality of times to complete a series of services.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there is a computer system as shown in FIG. In the figure, 101 is a host computer (upper computer), 102 (102a, 102b, 102c) is a client computer (lower computer), and 103 is a network. The host computer 101 is connected to a client computer (hereinafter referred to as a terminal) 102 via a network 103.
[0003]
The host computer 101 includes application programs AP (AP1, AP2,..., APn), and the application programs AP1, AP2,. Complete the service.
[0004]
In this computer system, a termination notification is not sent to the application program AP when processing cannot be performed normally due to a line abnormality or an abnormality in processing in the middle (host failure), and as a result, for example, a memory area once secured is not easily released. And so on.
[0005]
Therefore, the present applicant has previously proposed a computer system monitoring method for surely stopping the application program AP even when a line abnormality or a host failure occurs (see Patent Document 1). In this monitoring method of the computer system, the status of the service being processed is monitored at regular intervals in the host computer 101, and the time from the start of the service exceeds a preset timeout determination time (To). In this case, an end notification is sent to the application program AP.
[0006]
Thereby, even if a line abnormality or a host failure occurs, if it is confirmed that the time from the start of the service has exceeded the time-out determination time To, a termination notification to the application program AP is made, and once The problem that the secured memory area is not easily released can be solved.
[0007]
[Patent Document 1]
JP 2000-322290 A [Patent Document 2]
JP 2001-273220 A
[Problems to be solved by the invention]
During the processing of the service, the appropriate value of the timeout determination time To changes depending on the situation such as the communication environment at that time. However, in the computer system monitoring method disclosed in Patent Document 1, since the timeout determination time To is fixed, an unnecessarily long timeout determination time To is used or a short timeout determination time To is used. There was something to do.
[0009]
Note that Patent Document 2 discloses a system that acquires the status of peripheral devices on a network from a computer. In this system, a command for status acquisition is transmitted from a computer to a peripheral device, and if a response to this command is not returned even after a predetermined timeout period has elapsed, it is determined that the status acquisition has failed. I have to. The timeout time used for this determination can be changed.
[0010]
However, Patent Document 2 monitors the status of peripheral devices on a network, does not monitor the status of a service being processed, and has a completely different premise from the present invention. Although it is possible to change the timeout period, while the computer is transmitting a command for status acquisition to the peripheral device, that is, during the status acquisition process (during the service process of the present invention, Response) cannot change the timeout period.
[0011]
The present invention has been made in order to solve such a problem, and an object of the present invention is to be able to reliably stop the operation of an application program and to reduce a timeout determination time even during processing of a service. It is an object of the present invention to provide a computer system monitoring method that can be dynamically changed.
[0012]
[Means for Solving the Problems]
In order to achieve such an object, the present invention provides a computer system monitoring method in which an application program provided in a computer transmits and receives to and from a terminal a plurality of times to complete a series of services. The status is monitored at regular intervals, and if the time from the start of the service exceeds a preset timeout determination time, an end notification unit for notifying the application program of an end is provided. Regardless, a determination time changing means for receiving a change instruction and changing the timeout determination time is provided.
According to the present invention, the state of the service being processed is monitored at regular intervals, and when it is confirmed that the time from the start of the service exceeds the timeout determination time, the operation of the application program is stopped. Further, even during the processing of the service, the timeout determination time can be changed.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a main part of a host computer according to an embodiment of the present invention.
[0014]
In this embodiment, the host computer 100 includes a processing state management unit 1 that manages the processing state of the service, a timer start-up at predetermined time intervals, and a predetermined time-out determination time To and a time from the start of the service. A time-out judging means 2 for judging whether or not a time-out has occurred by comparison; an end-notice generating means 3 for generating a time-out notice (end notice) 4 based on the judgment result from the time-out judging means 2; An application program AP that receives an end notification 4 from the means 3 and a determination time change means 5 that receives a change instruction from an operator and changes the timeout determination time To regardless of the presence or absence of a service being processed.
[0015]
The processing state management unit 1 includes a state management table 1a. The application program AP includes application programs AP1, AP2,. The host computer 100 is connected to the network 103 shown in FIG.
[0016]
Next, the overall operation of the present embodiment will be described with reference to FIG. In the host computer 100, the application program AP1 receives the start notification 7 from, for example, the terminal 102a via the line 6, performs processing, and transmits a message to the terminal 102a via the line 6. Subsequently, the application program AP2 receives the message from the terminal 102a, performs processing, and transmits the message to the terminal 102a. Similarly, the processing is sequentially performed, and the application program APn that has finally received the end notification 8 performs the processing, and completes a series of services by setting the state management table 1a to “processing completed”.
[0017]
[Timeout judgment]
In this series of service processing, when the application program AP1 receives the start notification 7, the application program AP1 sets, in the status management table 1a, the fact that the service is "in process" and the time (start time). The time-out determination means 2, which is started by a timer at predetermined time intervals, checks whether the elapsed time from the start time does not exceed the time-out determination time To for the service being processed in the state management table 1a. If so, the end notification creating means 3 is notified to that effect.
[0018]
Upon receiving the notification from the timeout determination unit 2 that the elapsed time from the service start time has exceeded the timeout determination time To, the termination notification creation unit 3 creates the termination notification 4 and sends it to the application program AP. I do. The application program AP that has received the end notification 4 sets the status management table 1a to "processing completed", performs necessary processing at the end of the service, and stops its operation.
[0019]
[Change of timeout judgment time]
In this embodiment, the operator can change the timeout determination time To regardless of the presence or absence of the service being processed. That is, in the present embodiment, the timeout determination time To can be changed not only when the service is not being processed (during system stop) but also when the service is being processed (during system operation). It is.
[0020]
At the time of this change, the operator gives the judgment time changing means 5 an instruction to change the desired timeout judgment time To. In response to this change instruction, the determination time change means 6 changes the timeout determination time To regardless of the presence or absence of the service being processed.
[0021]
As described above, in the present embodiment, the timeout determination time To can be changed even during the processing of the service, that is, the timeout determination time To can be dynamically changed without stopping the system. Therefore, even if the optimal value of the timeout determination time To changes depending on the situation such as the communication environment at that time, it is possible to immediately respond to the change of the optimal value of the timeout determination time To.
[0022]
【The invention's effect】
As is apparent from the above description, according to the present invention, the status of the service being processed is monitored at regular intervals, and when it is confirmed that the time from the start of the service exceeds the timeout determination time, the application is monitored. Since the operation of the program is stopped, it is possible to solve the problem that the memory area once secured is not easily released, for example. Further, according to the present invention, the timeout determination time can be dynamically changed even during the processing of the service. It is possible to immediately respond to a change in the optimal value of the timeout determination time.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a main part of a host computer according to an embodiment of the present invention.
FIG. 2 is a system configuration diagram of a computer system.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Processing state management part, 1a ... State management table, 2 ... Timeout judgment means, 3 ... End notification creation means, 4 ... End notification, 5 ... Judgment time change means, 6 ... Line, 7 ... Start notification, 8 ... End Notification, AP (AP1 to APn): application program, 100: host computer, 102: client computer (terminal), 103: circuit network.

Claims (1)

コンピュータに備えられたアプリケーションプログラムが端末に対して複数回の送受信を行って一連のサービスを完結するコンピュータシステムの監視方式において、
処理中のサービスの状態を一定時間毎に監視し、そのサービスの開始からの時間が予め設定されているタイムアウト判定時間を超えていた場合、前記アプリケーションプログラムに終了通知を行う終了通知手段と、
処理中のサービスの有無に拘わらず変更指示を受け付けて前記タイムアウト判定時間を変更する判定時間変更手段と
を備えたことを特徴とするコンピュータシステムの監視方式。
In a computer system monitoring method in which an application program provided in a computer sends and receives a plurality of times to and from a terminal to complete a series of services,
End notification means for monitoring the state of the service being processed at regular intervals, and when the time from the start of the service exceeds a preset timeout determination time, notifying the application program of an end,
A monitoring system for a computer system, comprising: a determination time changing unit configured to receive a change instruction regardless of the presence or absence of a service being processed and change the timeout determination time.
JP2003129876A 2003-05-08 2003-05-08 Method for supervising computer system Pending JP2004334554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003129876A JP2004334554A (en) 2003-05-08 2003-05-08 Method for supervising computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003129876A JP2004334554A (en) 2003-05-08 2003-05-08 Method for supervising computer system

Publications (1)

Publication Number Publication Date
JP2004334554A true JP2004334554A (en) 2004-11-25

Family

ID=33505553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003129876A Pending JP2004334554A (en) 2003-05-08 2003-05-08 Method for supervising computer system

Country Status (1)

Country Link
JP (1) JP2004334554A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452314B2 (en) 2016-06-29 2019-10-22 Samsung Electronics Co., Ltd. Electronic systems and methods of operating electronic systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10452314B2 (en) 2016-06-29 2019-10-22 Samsung Electronics Co., Ltd. Electronic systems and methods of operating electronic systems
US10896005B2 (en) 2016-06-29 2021-01-19 Samsung Electronics Co., Ltd. Electronic systems and methods of operating electronic systems

Similar Documents

Publication Publication Date Title
CN111143099A (en) BMC process monitoring method and device
CN108243222A (en) Server network architecture method and device
JP2006080839A (en) Radio communication terminal and program
JP2004334554A (en) Method for supervising computer system
JP2007316389A (en) Projection device and control method
WO2019041685A1 (en) Apparatus unit control method, device and apparatus unit
CN112181731A (en) Keep-alive method and device for application program and computer equipment
JP2009176327A (en) Information processing system
JP2004070393A (en) Remote shutdown method
CN110554935A (en) Facility monitoring system and communication method in facility monitoring system
JP2705617B2 (en) Power off method
JP2007272756A (en) Uninterruptible power source device and power source management method
JP2000322290A (en) Computer system monitoring method
JP2005004381A (en) Power supply management method and device
JP2828130B2 (en) Facsimile adapter device
JP2002353905A (en) Mobile communication system
JP2531831B2 (en) Network network communication status monitoring device
KR100622185B1 (en) Method for starting a process through message queue
JPH02310755A (en) Health check system
JP4724951B2 (en) Control device, control method, and power line communication control system
JPH11338586A (en) Power cutoff system of computer system
JP2604174Y2 (en) Communication control device
JP2541502B2 (en) Control message transmission / reception method
JP2007265194A (en) Communication health check method and connection control method of client
JPH04200238A (en) Power consumption controller and power consumption control method of communication system