JP2002049597A - Communication device - Google Patents

Communication device

Info

Publication number
JP2002049597A
JP2002049597A JP2000234692A JP2000234692A JP2002049597A JP 2002049597 A JP2002049597 A JP 2002049597A JP 2000234692 A JP2000234692 A JP 2000234692A JP 2000234692 A JP2000234692 A JP 2000234692A JP 2002049597 A JP2002049597 A JP 2002049597A
Authority
JP
Japan
Prior art keywords
processing
time
server
request
unit
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
JP2000234692A
Other languages
Japanese (ja)
Inventor
Koji Suzuki
浩次 鈴木
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000234692A priority Critical patent/JP2002049597A/en
Publication of JP2002049597A publication Critical patent/JP2002049597A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device of a low communication cost which can suppress the using frequency of communication channel that is necessary for monitoring the state of a server computer. SOLUTION: A processing request part 10 of a client computer 101 requests an arithmetic processing to a server computer 104. The computer 104 calculates the total processing time via a work application processing part 17 which carries out the arithmetic processing requested by the part 10 and on the basis of the processing time required for the arithmetic processing predicted from the actual past processing time and also the processing time required for the processing request that is kept in a processing standby state. Then the computer 104 notifies the computer 101 of the calculated total processing time. The computer 101 receives the total processing time required for completing the arithmetic processing that is predicted by the computer 104 and predicts the time when the arithmetic processing of the computer 104 is completed. An answer reception part 12 is started at the predicted time to receive the arithmetic processing result from the server 104.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は通信装置にかかり、
特にクライアント、サーバ間における非同期型の通信装
置に関する。
The present invention relates to a communication device,
In particular, the present invention relates to an asynchronous communication device between a client and a server.

【0002】[0002]

【従来の技術】特開平9−34762公報には、クライ
アント計算機がサーバ計算機に対して予約処理要求を行
い、サーバ計算機は処理結果をクライアント計算機から
の要求があるまで格納しておくことにより、クライアン
ト計算機はサーバ計算機の処理経過を意識することなく
別作業を実行できるシステムが示されている。
2. Description of the Related Art JP-A-9-34762 discloses that a client computer issues a reservation processing request to a server computer, and the server computer stores the processing result until a request from the client computer is issued. A system is shown in which the computer can execute another task without being aware of the processing progress of the server computer.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術において
は、クライアント計算機はサーバ計算機に接続しサーバ
計算機の状態を常時監視することが必要であり、例えば
クライアント計算機を公衆回線を使用して野外で携帯端
末として使用するときには通信コストが増大する。本発
明は前記問題点に鑑みてなされたもので、サーバ計算機
の状態監視のための回線使用を抑制した低通信コストの
通信装置を提供する。
In the above prior art, it is necessary for the client computer to be connected to the server computer and to constantly monitor the state of the server computer. For example, the client computer can be carried outdoors using a public line. When used as a terminal, communication costs increase. SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides a low-cost communication device that suppresses the use of a line for monitoring the state of a server computer.

【0004】[0004]

【課題を解決するための手段】本発明は、上記の課題を
解決するために次のような手段を採用した。
The present invention employs the following means in order to solve the above-mentioned problems.

【0005】クライアント計算機の処理要求部はサーバ
計算機に対して演算処理を要求する。サーバ計算機は、
前記処理要求部が要求した演算処理を実行する業務アプ
リケーション処理部および業務要求管理部を備え、業務
要求管理部は過去の処理時間実績から予測した前記演算
処理に要する処理時間および処理待ち状態にある処理要
求に要する処理時間をもとに前記全処理時間を演算し、
演算した全処理時間をクライアント計算機に通知する。
前記クライアント計算機はサーバが予測した前記演算処
理の完了までに要する全処理時間を受信してサーバの演
算処理が終了する時刻を予測し、該予測時刻に応答受信
部を起動してサーバから演算処理結果を受信する。
[0005] The processing request section of the client computer requests the server computer to perform arithmetic processing. The server computer is
A business application processing unit for executing the arithmetic processing requested by the processing request unit; and a business request management unit. The business request management unit is in a processing time required for the arithmetic processing predicted from past processing time results and in a processing waiting state. Calculate the total processing time based on the processing time required for the processing request,
Notify the client computer of the calculated total processing time.
The client computer receives the total processing time required until the completion of the arithmetic processing predicted by the server, predicts the time at which the arithmetic processing of the server ends, activates a response receiving unit at the predicted time, and executes the arithmetic processing from the server. Receive the result.

【0006】[0006]

【発明の実施の形態】以下に本発明の実施形態を図1な
いし図13を用いて説明する。図1は本発明の実施形態
にかかる通信装置を示す図である。図において、10は
クライアント計算機101の処理要求部であり、サーバ
計算機104の業務アプリケーション処理部17に対し
て処理要求を発信する。11は予測完了時刻監視部であ
り、サーバ計算機が予測した全処理時間を受信し、受信
した全処理時間をもとにサーバ計算機104の処理が完
了する時刻である予測完了時刻を算出し、算出した予測
完了時刻が経過したとき応答受信部12を起動する。1
2は応答受信部であり、サーバ計算機104に対し、業
務アプリケーション処理部17の処理結果の送信を要求
する。13はクライアントアプリケーション処理結果表
示部であり、受信した前記業務アプリケーション処理部
17の処理結果を表示する。14はクライアント計算機
側のメッセージ管理部であり、メッセージ送信キュー1
02および処理結果受信キュー103の管理並びに回線
の接続および遮断を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a diagram showing a communication device according to an embodiment of the present invention. In the figure, reference numeral 10 denotes a processing request unit of the client computer 101, which sends a processing request to the business application processing unit 17 of the server computer 104. A prediction completion time monitoring unit 11 receives the total processing time predicted by the server computer, and calculates a prediction completion time, which is the time at which the processing of the server computer 104 is completed, based on the received total processing time. When the predicted completion time elapses, the response receiving unit 12 is activated. 1
A response receiving unit 2 requests the server computer 104 to transmit a processing result of the business application processing unit 17. A client application processing result display unit 13 displays the received processing result of the business application processing unit 17. Reference numeral 14 denotes a message management unit on the client computer side.
02 and the processing result reception queue 103, and controls connection and disconnection of the line.

【0007】15はサーバ計算機104側のメッセージ
管理部であり、メッセージ受信キュー105および処理
結果送信キュー106の管理並びに回線の接続および遮
断を制御する。16は業務要求管理部であり、業務アプ
リケーション処理部17の処理の予測完了時間、すなわ
ち全処理時間を処理時間データベース108および待ち
時間データベース109を参照して算出し、算出結果を
クライアント計算機101に通知する。17は業務アプ
リケーション処理部であり、業務データベース107を
参照してクライアント計算機が発信した処理要求を処理
する。18は業務アプリケーション処理部の処理時間を
監視する業務アプリケーション処理時間監視部、19は
業務アプリケーション待ち時間管理部であり、業務アプ
リケーション処理部17の処理開始時および処理終了時
に処理時間データベース108および待ち時間データベ
ース109を更新する。
Reference numeral 15 denotes a message management unit on the server computer 104 side, which manages the message reception queue 105 and the processing result transmission queue 106 and controls connection and disconnection of a line. Reference numeral 16 denotes a business request management unit, which calculates the estimated completion time of the processing of the business application processing unit 17, that is, the total processing time by referring to the processing time database 108 and the waiting time database 109, and notifies the client computer 101 of the calculation result. I do. Reference numeral 17 denotes a business application processing unit which processes a processing request transmitted from the client computer with reference to the business database 107. Reference numeral 18 denotes a business application processing time monitoring unit that monitors the processing time of the business application processing unit. Reference numeral 19 denotes a business application waiting time management unit. The processing time database 108 and the waiting time are used when the business application processing unit 17 starts and ends processing. Update the database 109.

【0008】101はクライアント計算機、102はク
ライアント計算機の処理要求部10が発信した処理要求
を一時蓄積するメッセージ送信キュー、103はサーバ
計算機104から受信した処理結果を一時蓄積する処理
結果受信キュー、105はクライアント計算機から受信
した前記処理要求を一時蓄積するメッセージ受信キュ
ー、106は業務アプリケーション処理部17が処理し
た処理結果を一時蓄積する処理結果送信キュー、107
は業務アプリケーション17が利用する業務データベー
ス、108はアプリケーション毎の要処理時間を格納し
た処理時間データベース、109は処理待ち状態にある
アプリケーションの要処理時間を格納した待ち時間デー
タベースである。
Reference numeral 101 denotes a client computer; 102, a message transmission queue for temporarily storing processing requests transmitted by the processing request unit 10 of the client computer; 103, a processing result reception queue for temporarily storing processing results received from the server computer 104; Is a message reception queue for temporarily storing the processing request received from the client computer; 106, a processing result transmission queue for temporarily storing the processing result processed by the business application processing unit 17;
Is a business database used by the business application 17, 108 is a processing time database storing the required processing time of each application, and 109 is a waiting time database storing the required processing time of the application in the processing waiting state.

【0009】図12はデータベースの形式を示す図であ
り、図(a)は処理時間データベース、図(b)は待ち
時間データベースの形式をそれぞれ示す。図に示すよう
に、処理時間データベース(a)はアクセス要求種別、
データベース識別情報、アクセス条件およびアプリケー
ション毎の予測処理時間からなり、待ち時間データベー
ス(b)は予約ID、実行順序通し番号および各アプリ
ケーションの待ち時間の累積値である予測処理時間から
なる。
FIG. 12 shows the format of a database. FIG. 12 (a) shows the format of a processing time database, and FIG. 12 (b) shows the format of a waiting time database. As shown in the figure, the processing time database (a) has an access request type,
The waiting time database (b) includes a reservation ID, an execution sequence number, and a predicted processing time which is a cumulative value of the waiting time of each application.

【0010】図13はメッセージの形式を示す図であ
り、図(a)はクライアント計算機が発信する処理要求
メッセージ、図(b)はサーバ計算機が発信する処理時
間通知メッセージ、図(c)は処理終了予定時刻になっ
たときクライアント計算機が発信する送信要求メッセー
ジ、図(d)はサーバ計算機が発信する処理結果メッセ
ージである。図に示すように、処理要求メッセージ
(a)は処理要求毎に設定した要求ID、アクセス要求
種別、データベース識別情報、アクセス条件情報からな
る。処理時間通知メッセージ(b)は要求ID、サーバ
計算機が付与した予約IDおよび全処理時間からなる。
送信要求メッセージ(c)は前記予約IDからなる。処
理結果メッセージ(d)は予約IDおよびサーバ計算機
が処理した処理結果からなる。
FIG. 13 is a diagram showing a message format. FIG. 13A shows a processing request message transmitted from a client computer, FIG. 13B shows a processing time notification message transmitted from a server computer, and FIG. A transmission request message transmitted by the client computer when the scheduled end time comes, and FIG. 4D is a processing result message transmitted by the server computer. As shown in the figure, the processing request message (a) includes a request ID, access request type, database identification information, and access condition information set for each processing request. The processing time notification message (b) includes a request ID, a reservation ID assigned by the server computer, and a total processing time.
The transmission request message (c) includes the reservation ID. The processing result message (d) includes a reservation ID and a processing result processed by the server computer.

【0011】図2はクライアント計算機の処理要求部1
0の処理を示す図である。処理要求部10は利用者の指
示を受け付けると、その指示が業務指示であるか送信指
示であるかを判定し、業務指示である場合は処理201
において、処理要求を発行し、クライアント計算機のメ
ッセージ管理部14に図13(a)に示すメッセージの
作成処理を指示する。前記指示が送信指示である場合は
処理202において、作成したメッセージの送信をメッ
セージ管理部に指示する。
FIG. 2 shows a processing request unit 1 of the client computer.
It is a figure showing processing of 0. When receiving the user's instruction, the processing request unit 10 determines whether the instruction is a business instruction or a transmission instruction.
, A processing request is issued to instruct the message management unit 14 of the client computer to perform a message creation process shown in FIG. If the instruction is a transmission instruction, in step 202, the message management unit is instructed to transmit the created message.

【0012】図3はクライアント計算機の予測完了時刻
監視部11の処理を示す図である。予測完了時刻監視部
11は処理302において、サーバ計算機から受信した
図13(b)に示す処理時間通知メッセージに表された
全処理時間に現在時刻を加算して予測完了時刻を算出す
る。次いで予測完了時刻の到来を待ち、予測完了時刻が
到来すると応答受信部12を起動する。
FIG. 3 is a diagram showing the processing of the prediction completion time monitoring unit 11 of the client computer. In the process 302, the prediction completion time monitoring unit 11 calculates the prediction completion time by adding the current time to the entire processing time indicated in the processing time notification message shown in FIG. 13B received from the server computer. Next, it waits for the prediction completion time to arrive, and when the prediction completion time arrives, starts the response receiving unit 12.

【0013】図4はクライアント計算機の応答受信部1
2の処理を示す図である。応答受信部12は予測完了時
刻監視部11からの起動信号を受信すると、図13
(c)に示す送信要求メッセージを作成し、サーバ計算
機に向け送信する。
FIG. 4 shows a response receiving section 1 of the client computer.
FIG. 9 is a diagram showing a process 2; When receiving the activation signal from the prediction completion time monitoring unit 11, the response receiving unit 12
A transmission request message shown in (c) is created and transmitted to the server computer.

【0014】図5はクライアント計算機の処理結果表示
部13の処理を示す図である。処理結果表示部13は利
用者の指示を受け付けると処理結果受信キューから処理
結果を取得し、取得した処理結果を表示する。
FIG. 5 is a diagram showing the processing of the processing result display section 13 of the client computer. When receiving the user's instruction, the processing result display unit 13 acquires the processing result from the processing result receiving queue and displays the acquired processing result.

【0015】図6はクライアント計算機のメッセージ管
理部14の処理を示す図である。メッセージ管理部14
は、処理601において、図13(a)に示すような要
求IDを付した処理要求メッセージを作成し、処理60
2において、作成したメッセージをメッセージ送信キュ
ー102に蓄積する。処理611のメッセージの送信処
理に際してはまずサーバ計算機104に接続し、前記メ
ッセージを送信する。処理612において、業務要求管
理部16が送信した業務アプリケーション17の処理の
予測完了時間データが受信できるのを待つ、予測完了時
間データを受信すると予測完了時刻監視部を起動すると
ともにサーバ計算機との回線を切断する。処理621に
おいて、処理結果の受信処理を行う。まずサーバ計算機
104に接続し、図13(c)に示す送信要求メッセー
ジを送信する。次いでサーバ計算機からの応答を受信す
る。受信した応答中に処理時間を通知するメッセージが
あるか否かを判定し、メッセージがあれば再監視を開始
し、そうでなければ処理結果を処理結果受信キュー10
3に蓄積し、次いでサーバ計算機との接続を遮断する。
処理631において処理結果の参照処理を行う。まず処
理結果受信キュー103からメッセージを取得し、次い
で取得したメッセージを結果表示部13に送信する。
FIG. 6 is a diagram showing the processing of the message management unit 14 of the client computer. Message management unit 14
Creates a processing request message with a request ID as shown in FIG.
In step 2, the created message is stored in the message transmission queue 102. In the process of transmitting a message in the process 611, the process first connects to the server computer 104 and transmits the message. In process 612, the process waits for reception of the predicted completion time data of the process of the business application 17 transmitted by the business request management unit 16, and upon receiving the predicted completion time data, activates the predicted completion time monitoring unit and establishes a connection with the server computer. Disconnect. In a process 621, a process of receiving a process result is performed. First, it connects to the server computer 104 and transmits a transmission request message shown in FIG. Next, a response from the server computer is received. It is determined whether or not there is a message for notifying the processing time in the received response. If there is a message, re-monitoring is started.
3 and then cut off the connection with the server computer.
In step 631, reference processing of the processing result is performed. First, a message is obtained from the processing result reception queue 103, and then the obtained message is transmitted to the result display unit 13.

【0016】図7はサーバ計算機のメッセージ管理部1
5の処理を示す図である。処理701においてメッセー
ジの受信処理を開始する。まずクライアント計算機から
受信したメッセージに予約IDを付与し、処理702に
おいて付与したメッセージをメッセージ受信キュー10
5に蓄積し、次いで業務要求管理部16を起動する。処
理711においてメッセージ参照処理を開始する。まず
メッセージ受信キュー105からメッセージを取得し、
取得したメッセージを業務アプリケーション処理部17
に送信する。処理721において処理結果格納処理を開
始する。まず業務アプリケーション処理部17から処理
結果を取得する。次いで、取得した処理結果をもとに図
13(d)に示す処理結果メッセージを作成し、処理7
22において、作成したメッセージを処理結果送信キュ
ー106に蓄積する。処理731において処理結果送信
処理を開始する。まず処理732において図13(c)
に示す処理要求メッセージを受信する。次いでメッセー
ジに含まれる予約IDを抽出し、予約IDで指定する処
理結果メッセージが送信キュー106に蓄積されている
か否かを判定する。処理結果を蓄積している場合は該処
理結果メッセージを送信する。そうでない場合は待ち時
間データベースから残り処理時間を算出して、図13
(b)に示す処理時間通知メッセージを作成して、該メ
ッセージをクライアント計算機に送信する。
FIG. 7 shows the message management unit 1 of the server computer.
FIG. 9 is a diagram illustrating a process 5; In step 701, a message receiving process starts. First, a reservation ID is assigned to the message received from the client computer, and the message assigned in the process 702 is assigned to the message reception queue 10.
5, and then activates the business request management unit 16. In a process 711, a message reference process is started. First, a message is obtained from the message reception queue 105,
The acquired message is transferred to the business application processing unit 17
Send to In a process 721, a process result storing process is started. First, a processing result is obtained from the business application processing unit 17. Next, a processing result message shown in FIG. 13D is created based on the obtained processing result, and processing 7 is performed.
At 22, the created message is stored in the processing result transmission queue 106. In a process 731, a process result transmission process is started. First, in process 732, FIG.
Receiving the processing request message shown in FIG. Next, the reservation ID included in the message is extracted, and it is determined whether or not the processing result message specified by the reservation ID is accumulated in the transmission queue 106. If the processing result is stored, the processing result message is transmitted. Otherwise, the remaining processing time is calculated from the waiting time database and
A processing time notification message shown in (b) is created, and the message is transmitted to the client computer.

【0017】図8はサーバ計算機の業務要求管理部16
の処理を示す図である。処理801において業務要求管
理部の処理を開始し、まず待ち時間を算出する。待ち時
間は、待ち時間データベース109に格納した図12
(b)に示す待ち時間データを参照し、現在の処理待ち
となっている全メッセージの予測処理時間をデータベー
ス109から検索する。次に処理802において処理時
間を算出する。処理時間は、図12(a)に示す処理時
間データを格納した処理時間データベース108を、各
処理要求毎にそのアクセス要求種別、データベース識別
情報およびアクセス条件を検索キーにして検索して取得
する。次いで前記待ち時間と前記処理時間を加算して全
処理時間を算出し、図13(b)に示す全処理時間通知
メッセージを作成する。次いで処理803において前記
メッセージをクライアント計算機に送信する。また同時
に待ち時間データベース109および処理時間データベ
ース108の更新処理を業務要求管理部に要求する。
FIG. 8 shows the business request management unit 16 of the server computer.
It is a figure which shows the process of. In process 801, the process of the business request management unit is started, and first, a waiting time is calculated. The waiting time is stored in the waiting time database 109 in FIG.
Referring to the waiting time data shown in (b), the database 109 is searched for the estimated processing time of all the messages currently waiting to be processed. Next, in step 802, a processing time is calculated. The processing time is obtained by searching the processing time database 108 storing the processing time data shown in FIG. 12A using the access request type, the database identification information, and the access condition for each processing request as a search key. Next, a total processing time is calculated by adding the waiting time and the processing time, and a total processing time notification message shown in FIG. 13B is created. Next, in step 803, the message is transmitted to the client computer. At the same time, it requests the business request management unit to update the waiting time database 109 and the processing time database 108.

【0018】図9はサーバ計算機の業務アプリケーショ
ン処理部17の処理を示す図である。処理901におい
て業務アプリケーションの処理を開始する。まずメッセ
ージ受信キュー105のメッセージを参照して処理要求
メッセージの到来を待つ。処理要求があると処理902
において、要求のあった処理を開始し、処理の開始を業
務アプリケーション処理時間監視部18に通知する。次
いで業務データベース107にアクセスして処理結果を
得る。次いで処理903において処理の終了を業務アプ
リケーション処理時間監視部に通知する。次いでメッセ
ージ送信部に対し前記処理結果の処理結果送信キュー1
06への格納を要求する。
FIG. 9 is a diagram showing the processing of the business application processing unit 17 of the server computer. In a process 901, the process of the business application is started. First, it waits for the arrival of a processing request message by referring to the message in the message reception queue 105. Processing 902 when there is a processing request
, The requested processing is started, and the start of the processing is notified to the business application processing time monitoring unit 18. Next, the operation database 107 is accessed to obtain a processing result. Next, in step 903, the end of the processing is notified to the business application processing time monitoring unit. Next, the processing result transmission queue 1 of the processing result is sent to the message transmitting unit.
06 is requested.

【0019】図10はサーバ計算機の業務アプリケーシ
ョン待ち時間管理部19の処理を示す図である。処理1
001において、業務アプリケーション待ち時間管理部
の処理を開始する。まず業務要求管理部から受信したデ
ータベース更新要求がレコードの追加要求であるか処理
の完了した処理のレコード削除要求であるかを判断し、
追加要求であれば処理1002において要求されたレコ
ードを追加し、削除要求であれば処理1003において
完了した処理のレコードを削除する。
FIG. 10 is a diagram showing the processing of the business application waiting time management unit 19 of the server computer. Processing 1
At 001, the process of the business application waiting time management unit is started. First, it is determined whether the database update request received from the business request management unit is a record addition request or a record deletion request of a completed process,
If the request is an addition request, the record requested in the process 1002 is added. If the request is a deletion request, the record of the process completed in the process 1003 is deleted.

【0020】図11はサーバ計算機の業務アプリケーシ
ョン処理時間監視部18の処理を示す図である。処理1
101において業務アプリケーション処理時間監視部の
処理を開始する。まず、アプリケーション処理の開始時
刻を取得し、処理の完了を待つ、処理1103において
処理の完了通知を取得し、処理の完了時刻を取得する。
処理1102において処理時間を算出し、さらに処理の
完了時刻および処理の開始時刻を取得する。次いで前記
算出した処理時間で処理時間データベース108のレコ
ードを更新する。次いで業務アプリケーション待ち時間
管理部を起動して待ち時間データベースの完了したレコ
ードを削除する。
FIG. 11 is a diagram showing the processing of the business application processing time monitoring unit 18 of the server computer. Processing 1
In 101, the processing of the business application processing time monitoring unit is started. First, a start time of an application process is obtained, and a process completion notification is obtained in a process 1103 to wait for the completion of the process, and a process completion time is obtained.
In processing 1102, a processing time is calculated, and a processing completion time and a processing start time are obtained. Next, the record of the processing time database 108 is updated with the calculated processing time. Next, the business application waiting time management unit is started, and the completed record in the waiting time database is deleted.

【0021】次に、全体の動作について説明する。ま
ず、クライアント計算機101の処理要求部10はサー
バ計算機104に対する業務指示を受け付け、メッセー
ジ管理部14に処理要求を発行する(処理201)。メ
ッセージ管理部14は処理要求毎に処理要求IDを付与
し、IDを付加した処理要求を処理要求送信メッセージ
(図13(a))として、メッセージ送信キューに格納
する(処理602)。また、処理要求部10はサーバ送
信指示を受け付けるとメッセージ管理部14にサーバ送
信を要求する(処理202)。要求を受けたメッセージ
管理部14はサーバ計算機に接続し、サーバ計算機のメ
ッセージ管理部15へメッセージ送信キュー102に蓄
積された全メッセージを一括送信し、サーバ計算機から
全処理時間が通知されるのを待つ(処理612)。
Next, the overall operation will be described. First, the processing request unit 10 of the client computer 101 receives a business instruction to the server computer 104 and issues a processing request to the message management unit 14 (processing 201). The message management unit 14 assigns a processing request ID to each processing request, and stores the processing request with the ID added as a processing request transmission message (FIG. 13A) in a message transmission queue (processing 602). Further, upon receiving the server transmission instruction, the processing request unit 10 requests the message management unit 14 for server transmission (process 202). Upon receiving the request, the message management unit 14 connects to the server computer, and collectively transmits all the messages stored in the message transmission queue 102 to the message management unit 15 of the server computer. Wait (process 612).

【0022】サーバ計算機104のメッセージ管理部1
5はメッセージを受信すると各メッセージにサーバ計算
機104で管理する全てのメッセージで唯一となる予約
IDを付与し、付与したメッセージをメッセージ受信キ
ュー105に蓄積し、業務要求管理部16を起動する
(処理702)。
Message management unit 1 of server computer 104
5 receives a message, assigns a unique reservation ID to all messages managed by the server computer 104 to each message, accumulates the assigned message in the message reception queue 105, and activates the business request management unit 16 (processing). 702).

【0023】業務要求管理部16は待ち時間データベー
ス109から現在の処理待ちとなっている全メッセージ
の予測処理時間の累計を待ち時間として取得し、要求さ
れた各メッセージ毎の予測処理時間を処理時間データベ
ースより検索し、待ち時間と加算して全処理時間を算出
する(処理802)。さらに図13(b)に示す処理時
間通知メッセージを作成する。この一連の処理を全ての
要求メッセージが終わるまで繰り返し、全要求メッセー
ジの処理が終わると作成した処理時間通知メッセージを
メッセージ管理部14へ通知する(処理803)。さら
に、検索した各メッセージの予測処理時間を業務アプリ
ケーション待ち時間管理部19を通じて待ち時間データ
ベースに格納する(処理1002)。
The business request management unit 16 acquires, from the waiting time database 109, the total of the estimated processing times of all the messages currently waiting for processing as the waiting time, and calculates the estimated processing time for each requested message as the processing time. A search is made from the database, and the total processing time is calculated by adding it to the waiting time (processing 802). Further, a processing time notification message shown in FIG. This series of processing is repeated until all request messages are completed, and when the processing of all request messages is completed, the created processing time notification message is notified to the message management unit 14 (processing 803). Further, the estimated processing time of each retrieved message is stored in the waiting time database through the business application waiting time management unit 19 (processing 1002).

【0024】業務アプリケーション処理部17はメッセ
ージ管理部15を通してメッセージ受信キュー内に処理
要求メッセージがあるかを繰り返し参照し、メッセージ
が格納されたとき業務アプリケーション処理時間監視部
18に対し処理の開始を通知する(処理902)。業務
アプリケーション処理部17は処理要求に従って業務デ
ータベース107にアクセスして処理結果を出力した
後、業務アプリケーション処理時間監視部18に対し処
理の終了を通知する(処理903)。
The business application processing unit 17 repeatedly refers to the message reception queue through the message management unit 15 to see if there is a processing request message in the message reception queue, and notifies the business application processing time monitoring unit 18 of the start of processing when the message is stored. (Step 902). The business application processing unit 17 accesses the business database 107 according to the processing request and outputs the processing result, and then notifies the business application processing time monitoring unit 18 of the end of the processing (processing 903).

【0025】出力した処理結果はメッセージ管理部15
を通じて図13(d)に示す処理結果メッセージとして
処理結果送信キュー106に格納する(処理722)。
業務アプリケーション処理時間監視部18は業務アプリ
ケーション処理部17からの処理開始通知(処理90
2)を受け取るとその時の時刻を処理開始時刻として取
得し、処理終了通知(処理903)を受け取ったときの
終了時刻の差分から処理時間を算出する(処理110
2)。算出した処理時間は処理時間データベースに図1
2(a)に示す処理時間データベーステーブル形式に従
ってアクセス要求、データベース識別およびアクセス条
件をキーとする予測処理時間として更新する。その後、
業務アプリケーション処理時間監視部18は業務アプリ
ケーション待ち時間管理部19を通して待ち時間データ
ベースから完了した処理要求の予約IDに該当するレコ
ードを削除する(処理1003)。
The output processing result is stored in the message management unit 15.
Through the process result transmission queue 106 (process 722).
The business application processing time monitoring unit 18 receives a processing start notification from the business application processing unit 17 (processing 90
2), the time at that time is acquired as the processing start time, and the processing time is calculated from the difference between the end times when the processing end notification (processing 903) is received (processing 110).
2). The calculated processing time is stored in the processing time database in FIG.
According to the processing time database table format shown in FIG. 2A, the access request, the database identification, and the access condition are updated as the predicted processing time using the key as a key. afterwards,
The business application processing time monitoring unit 18 deletes the record corresponding to the reservation ID of the completed processing request from the waiting time database through the business application waiting time management unit 19 (processing 1003).

【0026】クライアント計算機101はサーバ計算機
104から処理時間通知(処理803)を受信すると予
測完了時刻監視部11は最後の処理要求IDに対応する
処理時間に現在時刻を加算して予測完了時刻を算出する
(処理302)。その後、予測完了時刻監視部11は予
測完了時刻が経過するのを待つ。ここで例えば予測完了
時刻監視部11を常駐プロセスとして稼動することで、
クライアント計算機はサーバ計算機の状態に関わらず停
止することができる。また、クライアント計算機の再起
動時に引き続き監視することが可能となる。
When the client computer 101 receives the processing time notification (processing 803) from the server computer 104, the prediction completion time monitoring unit 11 calculates the prediction completion time by adding the current time to the processing time corresponding to the last processing request ID. (Step 302). Thereafter, the prediction completion time monitoring unit 11 waits until the prediction completion time elapses. Here, for example, by operating the prediction completion time monitoring unit 11 as a resident process,
The client computer can be stopped regardless of the state of the server computer. Further, it becomes possible to continue monitoring when the client computer is restarted.

【0027】予測完了時刻監視部11は現在時刻が予測
完了時刻を経過したことを検知すると応答受信部12に
よる応答結果の受信処理を開始する。このように接続契
機が来ると自動的にサーバシステムに接続することで利
用者が接続契機予測し、処理結果を取得するといった操
作を不要とする。
When the prediction completion time monitoring unit 11 detects that the current time has passed the prediction completion time, the response reception unit 12 starts the process of receiving the response result. As described above, when a connection trigger comes, the user automatically connects to the server system, thereby making it unnecessary for the user to predict the connection trigger and obtain a processing result.

【0028】応答受信部12は処理時間通知メッセージ
で受け取った予約IDから図13(c)に示す送信要求
メッセージを作成し、メッセージ管理部14に対して処
理結果の受信を要求する(処理732)。メッセージ管
理部14はサーバ計算機104に接続し、メッセージ管
理部15に送信要求メッセージを送信する。
The response receiving unit 12 creates a transmission request message shown in FIG. 13C from the reservation ID received in the processing time notification message, and requests the message management unit 14 to receive the processing result (Step 732). . The message management unit 14 connects to the server computer 104 and transmits a transmission request message to the message management unit 15.

【0029】メッセージ管理部15は送信要求メッセー
ジを受け取ると処理結果送信キューを参照し、それぞれ
の予約IDに対応する処理結果メッセージが作成されて
いるか確認する。処理結果メッセージが作成されている
とき対応する処理結果メッセージをクライアント計算機
101に送信する。処理結果メッセージが作成されてい
ないとき待ち時間データベース109を参照し、受信要
求の予約ID(処理732)までのレコードの予測処理
時間を実行順序通し番号の順に累計して残りの処理時間
を算出し、処理時間通知メッセージを再び作成する。受
信要求の全ての予約IDに対してこの処理を繰り返した
後で処理時間通知メッセージを作成したのちクライアン
ト計算機に通知する。
Upon receiving the transmission request message, the message management unit 15 refers to the processing result transmission queue and checks whether a processing result message corresponding to each reservation ID has been created. When a processing result message has been created, a corresponding processing result message is transmitted to the client computer 101. When the processing result message has not been created, the remaining processing time is calculated by referring to the waiting time database 109, accumulating the predicted processing times of the records up to the reservation ID (processing 732) of the reception request in the order of the execution order, Recreate the processing time notification message. After repeating this processing for all reservation IDs of the reception request, a processing time notification message is created, and then a notification is sent to the client computer.

【0030】メッセージ管理部14は処理結果を受信す
ると処理結果受信キュー103に蓄積する。また、前記
再度の処理時間通知メッセージを受信したとき予測処理
完了時刻監視部11により予測完了時刻の到来を監視す
る。
When the message management unit 14 receives the processing result, it stores it in the processing result reception queue 103. When the processing time notification message is received again, the prediction completion time monitoring unit 11 monitors the arrival of the prediction completion time.

【0031】クライアント計算機101は処理結果また
は処理時間通知電文の受信が完了するとサーバシステム
104との回線を切断する。また、結果表示部13は表
示指示を受け付けると処理結果受信キュー103から応
答結果メッセージを取得し、取得したメッセージを表示
する。
The client computer 101 disconnects the line with the server system 104 when the reception of the processing result or the processing time notification message is completed. When receiving the display instruction, the result display unit 13 obtains a response result message from the processing result reception queue 103 and displays the obtained message.

【0032】以上説明したように本実施形態によれば、
クライアント計算機は処理要求の送信時と処理答結果の
受信時のみサーバ計算機と接続すればよい。このためサ
ーバシステムの処理状態監視のための無駄な回線接続を
削減し、通信コストを低減することができる。
As described above, according to the present embodiment,
The client computer only needs to connect to the server computer when transmitting a processing request and receiving a processing result. Therefore, unnecessary line connection for monitoring the processing state of the server system can be reduced, and communication costs can be reduced.

【0033】[0033]

【発明の効果】以上説明したように本発明によれば、サ
ーバ計算機の状態監視のための回線使用を抑制した低通
信コストの通信装置を提供することができる。
As described above, according to the present invention, it is possible to provide a low-cost communication device in which the use of a line for monitoring the state of a server computer is suppressed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態にかかる通信装置を示す図で
ある。
FIG. 1 is a diagram showing a communication device according to an embodiment of the present invention.

【図2】クライアント計算機の処理要求部の処理を示す
図である。
FIG. 2 is a diagram showing processing of a processing request unit of a client computer.

【図3】クライアント計算機の予測完了時刻監視部の処
理を示す図である。
FIG. 3 is a diagram showing a process of a prediction completion time monitoring unit of the client computer.

【図4】クライアント計算機の応答受信部の処理を示す
図である。
FIG. 4 is a diagram showing processing of a response receiving unit of the client computer.

【図5】クライアント計算機の結果表示部の処理を示す
図である。
FIG. 5 is a diagram showing processing of a result display unit of the client computer.

【図6】クライアント計算機のメッセージ管理部の処理
を示す図である。
FIG. 6 is a diagram showing processing of a message management unit of the client computer.

【図7】サーバ計算機のメッセージ管理部の処理を示す
図である。
FIG. 7 is a diagram showing processing of a message management unit of the server computer.

【図8】サーバ計算機のメッセージ管理部の処理を示す
図である。
FIG. 8 is a diagram showing processing of a message management unit of the server computer.

【図9】サーバ計算機の業務アプリケーションの処理を
示す図である。
FIG. 9 is a diagram showing processing of a business application of the server computer.

【図10】サーバ計算機の業務アプリケーション待ち時
間管理部の処理を示す図である。
FIG. 10 is a diagram showing a process of a business application waiting time management unit of the server computer.

【図11】サーバ計算機の業務アプリケーション処理時
間監視部の処理を示す図である。
FIG. 11 is a diagram showing a process of a business application processing time monitoring unit of the server computer.

【図12】データベースの形式を示す図である。FIG. 12 is a diagram showing a format of a database.

【図13】メッセージの形式を示す図である。FIG. 13 is a diagram showing a message format.

【符号の説明】[Explanation of symbols]

10 処理要求部 11 予測完了時刻監視部 12 応答受信部 13 結果表示部 14 メッセージ管理部 15 メッセージ管理部 16 業務要求管理部 17 業務アプリケーション処理部 18 業務アプリケーション処理時間監視部 19 業務アプリケーション待ち時間管理部 101 クライアント計算機 102 メッセージ送信キュー 103 処理結果受信キュー 104 サーバ計算機 105 メッセージ受信キュー 106 処理結果送信キュー 107 業務データベース 108 処理時間データベース 109 待ち時間データベース DESCRIPTION OF SYMBOLS 10 Processing request part 11 Prediction completion time monitoring part 12 Response receiving part 13 Result display part 14 Message management part 15 Message management part 16 Business request management part 17 Business application processing part 18 Business application processing time monitoring part 19 Business application waiting time management part Reference Signs List 101 client computer 102 message transmission queue 103 processing result reception queue 104 server computer 105 message reception queue 106 processing result transmission queue 107 business database 108 processing time database 109 waiting time database

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 サーバに対して演算処理を要求する処理
要求部、およびサーバが予測した前記演算処理の完了ま
でに要する全処理時間を受信してサーバの演算処理が終
了する時刻を予測し、該予測時刻に応答受信部を起動し
てサーバから演算処理結果を受信する予測完了時刻監視
部からなるクライアント計算機と、 前記処理要求部が要求した演算処理を実行する業務アプ
リケーション処理部、並びに過去の処理時間実績から予
測した前記演算処理に要する処理時間および処理待ち状
態にある処理要求に要する処理時間をもとに前記全処理
時間を演算し、演算した全処理時間をクライアント計算
機に通知する業務要求管理部を備えた前記サーバとから
なることを特徴とする通信装置。
A processing request unit for requesting the server to perform an arithmetic process; and a time at which the server completes the arithmetic process by receiving a total processing time required until completion of the arithmetic process predicted by the server; A client computer including a prediction completion time monitoring unit that activates a response receiving unit at the predicted time and receives a calculation processing result from a server; a business application processing unit that performs the calculation processing requested by the processing request unit; A business request for calculating the total processing time based on the processing time required for the arithmetic processing and the processing time required for a processing request in a processing waiting state predicted from the processing time results, and notifying the client computer of the calculated total processing time. A communication device comprising: the server having a management unit.
【請求項2】 サーバに対して演算処理を要求する処理
要求部と、 前記サーバからサーバ自身の過去の処理時間実績から予
測した前記要求された演算処理の完了までに要する全処
理予測時間を受信して前記サーバの演算処理が終了する
時刻を予測し、該予測時刻に応答受信部を起動して前記
サーバから演算処理結果を受信する演算完了時間管理部
を備えたクライアント計算機からなる通信装置
2. A process requesting unit for requesting a server to perform an arithmetic process, and receiving from the server a total predicted process time required for completing the requested arithmetic process predicted from the server's own past process time results. A communication device comprising a client computer having an operation completion time management unit for estimating a time at which the operation processing of the server ends and activating a response receiving unit at the estimated time to receive an operation processing result from the server
【請求項3】 クライアントが要求した演算処理を実行
する業務アプリケーション処理部、並びに過去の処理時
間実績から予測した前記演算処理に要する処理時間およ
び処理待ち状態にある処理要求に要する処理時間をもと
に前記全処理時間を演算し、該演算処理時間をクライア
ント計算機の要求に応じてクライアント計算機に通知す
る業務要求管理部を備えたサーバからなる通信装置。
3. A business application processing unit for executing an arithmetic processing requested by a client, and a processing time required for the arithmetic processing predicted from past processing time results and a processing time required for a processing request in a processing waiting state. A communication device comprising a server having a task request management unit for calculating the total processing time and notifying the client computer of the calculation processing time in response to a request from the client computer.
【請求項4】 請求項1ないし請求項3の何れか1の記
載において、前記サーバは過去の処理時間実績から予測
した前記演算処理に要する処理時間および処理待ち状態
にある処理要求に要する処理時間をもとに処理完了時刻
を予測し、予測した処理完了時刻をクライアント計算機
に通知することを特徴とする通信装置。
4. The processing time according to claim 1, wherein the server calculates a processing time required for the arithmetic processing and a processing time required for a processing request in a processing waiting state, based on past processing time results. A communication completion device that predicts a processing completion time based on the information and notifies the client computer of the predicted processing completion time.
【請求項5】 請求項4の記載において、前記サーバは
処理待ち状態にある処理要求に要する処理時間を格納し
た待ち時間データベースを備えたことを特徴とする通信
装置。
5. The communication apparatus according to claim 4, wherein the server includes a waiting time database storing processing times required for processing requests in a processing waiting state.
JP2000234692A 2000-08-02 2000-08-02 Communication device Pending JP2002049597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000234692A JP2002049597A (en) 2000-08-02 2000-08-02 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000234692A JP2002049597A (en) 2000-08-02 2000-08-02 Communication device

Publications (1)

Publication Number Publication Date
JP2002049597A true JP2002049597A (en) 2002-02-15

Family

ID=18727027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000234692A Pending JP2002049597A (en) 2000-08-02 2000-08-02 Communication device

Country Status (1)

Country Link
JP (1) JP2002049597A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218384A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Device management system, device, device management method and device management program
JP2011118660A (en) * 2009-12-03 2011-06-16 Nec Corp Information processing apparatus and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218384A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Device management system, device, device management method and device management program
US8935378B2 (en) 2009-03-18 2015-01-13 Ricoh Company, Ltd. Device management system, device management method, and computer program product
JP2011118660A (en) * 2009-12-03 2011-06-16 Nec Corp Information processing apparatus and control method thereof

Similar Documents

Publication Publication Date Title
JP2004152247A (en) Transaction cache consistency maintenance system in mobile computer environment, and its method
KR100489690B1 (en) Method for procesing event and controlling real error and modeling database table
JP2002205646A (en) Maintenance work management system
JP3906890B2 (en) Network equipment
CN105897869B (en) A kind of management method and device of APP suspend mode
JP2003044325A (en) Asset managing device
JPH08221433A (en) Information retrieval system
JP2002049597A (en) Communication device
JP2000090128A (en) Information distribution system
JP2005108012A (en) Portable information terminal, message distribution method, and message distribution program
JP3013785B2 (en) Data storage system and data storage method
JP2002062159A (en) Positioning history transferring device, positioning history recording system and method therefor, and recording media for positioning history program
JP3856291B2 (en) Client monitoring method, server device, program, and recording medium
JP2002149510A (en) Server device
JPH10177510A (en) Client server system
JPH1131050A (en) Printer sharing system and its control method
JP2011100370A (en) Device, system and method for providing information
JPH10124432A (en) Client server system
JP2000057155A (en) Information retrieving device
JPH10232805A (en) Distributed retrieval system
JPH0675725A (en) Printer control system
JP2004252518A (en) Method and system for reporting operation start
JPH09321759A (en) Multi-server system
JPH11110216A (en) Distributed object management system
JP2003303171A (en) Request processing method during congestion