JP2008269152A - Client device - Google Patents

Client device Download PDF

Info

Publication number
JP2008269152A
JP2008269152A JP2007109511A JP2007109511A JP2008269152A JP 2008269152 A JP2008269152 A JP 2008269152A JP 2007109511 A JP2007109511 A JP 2007109511A JP 2007109511 A JP2007109511 A JP 2007109511A JP 2008269152 A JP2008269152 A JP 2008269152A
Authority
JP
Japan
Prior art keywords
response time
time
stored
delay time
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.)
Granted
Application number
JP2007109511A
Other languages
Japanese (ja)
Other versions
JP4116064B1 (en
Inventor
Keiji Yamamoto
桂司 山本
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.)
Mitsubishi Electric Information Systems Corp
Mitsubishi Electric Information Technology Corp
Original Assignee
Mitsubishi Electric Information Systems Corp
Mitsubishi Electric Information Technology 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 Mitsubishi Electric Information Systems Corp, Mitsubishi Electric Information Technology Corp filed Critical Mitsubishi Electric Information Systems Corp
Priority to JP2007109511A priority Critical patent/JP4116064B1/en
Application granted granted Critical
Publication of JP4116064B1 publication Critical patent/JP4116064B1/en
Publication of JP2008269152A publication Critical patent/JP2008269152A/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable a client side to autonomously reduce the load on a server. <P>SOLUTION: A client program 201 continuously requests service processing to a server 300. A client control program 202 measures a response time required for acquiring a result since the client program 201 transmits the request of the service processing, and records it in response time history data 203. When the delay of the response time is permitted by the response time history data 203, the client control program 202 inserts a delay time between processing to request the service processing and processing to request the service processing the next by the client program 201. When the improvement of the response time is permitted, or any change is not recognized in the response time, the delay time is decreased or removed. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、クライアント装置及びクライアント制御プログラムに関するものである。本発明は、特に、クライアント装置における可変ピッチ式データアクセス処理に関するものである。   The present invention relates to a client device and a client control program. The present invention particularly relates to variable pitch data access processing in a client device.

従来、サーバの負荷分散及びネットワークトラフィックの制御を、サーバ側で直接行う代わりに(例えば、特許文献1及び2参照)、専用のハードウェア装置を用いて行う方式が存在する(例えば、特許文献3参照)。このような方式でシステムやネットワークの負荷軽減を行うためには、クライアントPC(パーソナルコンピュータ)とサーバの間に上記ハードウェア装置を導入する必要がある。   Conventionally, instead of directly performing server load balancing and network traffic control on the server side (see, for example, Patent Documents 1 and 2), there is a method in which a dedicated hardware device is used (for example, Patent Document 3). reference). In order to reduce the load on the system and the network by such a method, it is necessary to introduce the hardware device between a client PC (personal computer) and a server.

また、サーバに要求を行って処理結果を得るソフトウェアとして、処理性能を最大限に引き出そうと、ソフトウェア内部でサーバに対する多重アクセスなどの工夫をしているものがある。
特表平8−509847号公報 特開平9−244975号公報 特開2005−184165号公報
In addition, as software that makes a request to a server and obtains a processing result, there is software that devises multiple access to the server in the software in order to maximize processing performance.
JP-T 8-509847 JP-A-9-244975 JP 2005-184165 A

上記のように、専用のハードウェア装置が必要となる方式では、(1)装置が高価で導入をしない場合がある、(2)装置の設定が煩雑で導入が困難である、(3)サーバ側(受け手)の施策に限られるため、クライアントPC側(送り手)の数が増大すると効果が小さい、といった課題があった。   As described above, in a method that requires a dedicated hardware device, (1) the device may be expensive and may not be installed, (2) the device setting is complicated and difficult to install, (3) server There is a problem that the effect is small when the number of client PCs (senders) increases because the measures are limited to the measures on the side (receiver).

また、サーバに対する多重アクセスなどの工夫をしているソフトウェアは、サーバ及びネットワークの性能が無限であることを前提としているため、システム環境が優れている場合においては効果を発揮するが、そうでない場合又は同時接続するクライアントPCが多数ある場合は、システム全体の負荷が増大してしまい、かえって性能が得られないという課題があった。   In addition, software that is devised such as multiple access to the server assumes that the server and network performance is infinite, so it will be effective when the system environment is excellent, but otherwise Alternatively, when there are a large number of client PCs that are connected simultaneously, the load on the entire system increases, and there is a problem that performance cannot be obtained.

本発明は、例えば、クライアント側で自律的にサーバの負荷を軽減することを目的とする。   An object of the present invention is, for example, to reduce the load on a server autonomously on the client side.

本発明の一の態様に係るクライアント装置は、
サーバ装置に対してサービス処理を要求する場合に、サービス処理の要求データを前記サーバ装置へ送信する要求送信部と、
前記要求送信部が送信したサービス処理の要求データに応じて前記サーバ装置で実行された当該サービス処理の結果データを前記サーバ装置から受信する結果受信部と、
前記要求送信部がサービス処理の要求データを送信してから前記結果受信部が当該サービス処理の結果データを受信するまでの応答時間を処理装置で計算する応答時間計算部と、
前記応答時間計算部が過去に計算した応答時間の履歴を記憶装置に記憶しておき、前記応答時間計算部が新たに計算した応答時間により、記憶装置に記憶された応答時間の履歴を更新する応答時間履歴更新部と、
記憶装置に記憶された応答時間の履歴に基づいて、前記応答時間計算部が過去に計算した応答時間から新たに計算した応答時間への変化量を処理装置で計算する変化量計算部と、
前記要求送信部がサービス処理の要求データを送信するタイミングを遅延させる遅延時間を記憶装置に記憶しておき、前記変化量計算部が計算した変化量に応じて、記憶装置に記憶された遅延時間を処理装置で補正する遅延時間補正部と、
前記要求送信部が新たにサービス処理を要求する場合に、前にサービス処理の要求データを送信してから記憶装置に記憶された遅延時間が経過した後に前記要求送信部にサービス処理の要求データを送信させる要求制御部とを備えることを特徴とする。
A client device according to one aspect of the present invention includes:
A request transmitter for transmitting service processing request data to the server device when requesting service processing to the server device;
A result receiving unit for receiving, from the server device, result data of the service processing executed by the server device in response to request data of the service processing transmitted by the request transmitting unit;
A response time calculation unit that calculates a response time from when the request transmission unit transmits the request data of the service processing to when the result reception unit receives the result data of the service processing by a processing device;
The response time history calculated in the past by the response time calculator is stored in a storage device, and the response time history stored in the storage device is updated with the response time newly calculated by the response time calculator. Response time history update unit,
Based on the history of response time stored in the storage device, a change amount calculation unit that calculates a change amount from the response time previously calculated by the response time calculation unit to the newly calculated response time by the processing device;
A delay time for delaying the timing at which the request transmission unit transmits service processing request data is stored in a storage device, and the delay time stored in the storage device according to the change amount calculated by the change amount calculation unit A delay time correction unit for correcting
When the request transmission unit newly requests service processing, the service processing request data is sent to the request transmission unit after the delay time stored in the storage device has elapsed since the transmission of the service processing request data. And a request control unit for transmission.

前記クライアント装置は、さらに、
所定の時間帯に予定される前記サーバ装置の負荷量を記憶装置に記憶する負荷量記憶部を備え、
前記遅延時間補正部は、現在の時間帯に予定される負荷量が記憶装置に記憶されている場合に、前記変化量計算部が計算した変化量と当該負荷量とに応じて、記憶装置に記憶された遅延時間を補正することを特徴とする。
The client device further includes:
A load amount storage unit for storing the load amount of the server device scheduled in a predetermined time zone in a storage device;
When the load amount scheduled for the current time zone is stored in the storage device, the delay time correction unit is stored in the storage device according to the change amount calculated by the change amount calculation unit and the load amount. The stored delay time is corrected.

前記遅延時間補正部は、前記変化量計算部が計算した変化量が正の値である場合と、前記変化量計算部が計算した変化量が正の値でない場合であって、現在の時間帯に予定される負荷量が記憶装置に記憶されており、当該負荷量が所定の閾値以上の場合とに、記憶装置に記憶された遅延時間を加算することを特徴とする。   The delay time correction unit includes a case where the change amount calculated by the change amount calculation unit is a positive value and a case where the change amount calculated by the change amount calculation unit is not a positive value, and the current time zone In the case where the load amount to be stored in the storage device is stored in the storage device and the load amount is equal to or greater than a predetermined threshold value, the delay time stored in the storage device is added.

前記遅延時間補正部は、現在の時間帯に予定される負荷量が記憶装置に記憶されている場合であって、記憶装置に記憶された遅延時間を最初に加算する場合に、当該遅延時間に当該負荷量の大きさに応じた時間を加算し、当該遅延時間を再び加算する場合に、当該遅延時間に一定の時間を加算することを特徴とする。   The delay time correcting unit is a case where the load amount scheduled in the current time zone is stored in the storage device, and when the delay time stored in the storage device is added for the first time, When a time corresponding to the magnitude of the load amount is added and the delay time is added again, a certain time is added to the delay time.

前記遅延時間補正部は、記憶装置に記憶された遅延時間を加算しない場合に、当該遅延時間を減算することを特徴とする。   The delay time correction unit subtracts the delay time when the delay time stored in the storage device is not added.

前記遅延時間補正部は、前記変化量計算部が計算した変化量が正の値である場合に、記憶装置に記憶された遅延時間に一定の時間を加算し、前記変化量計算部が計算した変化量が負の値である場合に、当該遅延時間から一定の時間を減算することを特徴とする。   When the change amount calculated by the change amount calculation unit is a positive value, the delay time correction unit adds a certain time to the delay time stored in the storage device, and the change amount calculation unit calculates When the amount of change is a negative value, a certain time is subtracted from the delay time.

本発明の一の態様に係るクライアント制御プログラムは、
サーバ装置に対してサービス処理を要求する場合に、サービス処理の要求データを前記サーバ装置へ送信し、当該サービス処理の要求データに応じて前記サーバ装置で実行された当該サービス処理の結果データを前記サーバ装置から受信するクライアントプログラムを制御するクライアント制御プログラムであって、
前記クライアントプログラムがサービス処理の要求データを送信してから当該サービス処理の結果データを受信するまでの応答時間を処理装置で計算する応答時間計算処理と、
前記応答時間計算処理が過去に計算した応答時間の履歴を記憶装置に記憶しておき、前記応答時間計算処理が新たに計算した応答時間により、記憶装置に記憶された応答時間の履歴を更新する応答時間履歴更新処理と、
記憶装置に記憶された応答時間の履歴に基づいて、前記応答時間計算処理が過去に計算した応答時間から新たに計算した応答時間への変化量を処理装置で計算する変化量計算処理と、
前記クライアントプログラムがサービス処理の要求データを送信するタイミングを遅延させる遅延時間を記憶装置に記憶しておき、前記変化量計算処理が計算した変化量に応じて、記憶装置に記憶された遅延時間を処理装置で補正する遅延時間補正処理と、
前記クライアントプログラムが新たにサービス処理を要求する場合に、前にサービス処理の要求データを送信してから記憶装置に記憶された遅延時間が経過した後に前記クライアントプログラムにサービス処理の要求データを送信させる要求制御処理とをコンピュータに実行させることを特徴とする。
A client control program according to one aspect of the present invention includes:
When requesting service processing to the server device, the service processing request data is transmitted to the server device, and the result data of the service processing executed in the server device in response to the service processing request data is A client control program for controlling a client program received from a server device,
A response time calculation process in which a response time from when the client program transmits service process request data until receiving the service process result data is calculated by a processing device;
The response time history calculated in the past by the response time calculation process is stored in a storage device, and the response time history stored in the storage device is updated with the response time newly calculated by the response time calculation process. Response time history update processing,
Based on the response time history stored in the storage device, a change amount calculation process in which a change amount from the response time calculated in the past by the response time calculation process to a newly calculated response time is calculated by the processing device;
A delay time for delaying the timing at which the client program transmits the request data for service processing is stored in a storage device, and the delay time stored in the storage device is determined according to the change amount calculated by the change amount calculation processing. A delay time correction process to be corrected by the processing device;
When the client program newly requests service processing, the client program is caused to transmit service processing request data after the delay time stored in the storage device has elapsed since the service processing request data was previously transmitted. A request control process is executed by a computer.

本発明の一の態様によれば、クライアント装置において、応答時間計算部が、要求送信部がサービス処理の要求データを送信してから結果受信部が当該サービス処理の結果データを受信するまでの応答時間を計算し、応答時間履歴更新部が、前記応答時間計算部が新たに計算した応答時間により、記憶装置に記憶された応答時間の履歴を更新し、変化量計算部が、記憶装置に記憶された応答時間の履歴に基づいて、前記応答時間計算部が過去に計算した応答時間から新たに計算した応答時間への変化量を計算し、遅延時間補正部が、前記変化量計算部が計算した変化量に応じて、記憶装置に記憶された遅延時間を補正し、要求制御部が、前記要求送信部が新たにサービス処理を要求する場合に、前にサービス処理の要求データを送信してから記憶装置に記憶された遅延時間が経過した後に前記要求送信部にサービス処理の要求データを送信させることにより、クライアント装置側で自律的にサーバ装置の負荷を軽減することが可能となる。   According to one aspect of the present invention, in the client device, the response time calculation unit responds until the result reception unit receives the service processing result data after the request transmission unit transmits the service processing request data. The response time history update unit updates the response time history stored in the storage device with the response time newly calculated by the response time calculation unit, and the change amount calculation unit stores the change time in the storage device. Based on the recorded response time history, the response time calculation unit calculates the amount of change from the response time calculated in the past to the newly calculated response time, the delay time correction unit calculates the change amount calculation unit In accordance with the amount of change, the delay time stored in the storage device is corrected, and when the request transmission unit newly requests a service process, the request control unit transmits the service process request data before From By transmitting the request data of the service processing to the request transmission unit after the stored delay time has elapsed 憶 apparatus, it is possible to reduce the autonomous loading of the server device on the client device side.

以下、本発明の実施の形態について、図を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本実施の形態に係る情報システム100の構成を示すブロック図である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of an information system 100 according to the present embodiment.

情報システム100は、クライアントPC200(クライアント装置)、サーバ300(サーバ装置)を備える。クライアントPC200及びサーバ300は、互いにLAN(ローカルエリアネットワーク)やインターネットなどのネットワーク400を介して接続されている。クライアントPC200、サーバ300は、複数存在していてもよい。   The information system 100 includes a client PC 200 (client device) and a server 300 (server device). The client PC 200 and the server 300 are connected to each other via a network 400 such as a LAN (local area network) or the Internet. A plurality of client PCs 200 and servers 300 may exist.

クライアントPC200は、クライアントプログラム201、クライアント制御プログラム202を実行するコンピュータであり、応答時間履歴データ203をメモリやハードディスクなどの記憶領域に記憶している。サーバ300は、サーバプログラム301を実行するコンピュータであり、負荷計画カレンダ302をメモリやハードディスクなどの記憶領域に記憶している。   The client PC 200 is a computer that executes the client program 201 and the client control program 202, and stores response time history data 203 in a storage area such as a memory or a hard disk. The server 300 is a computer that executes the server program 301, and stores a load plan calendar 302 in a storage area such as a memory or a hard disk.

クライアントプログラム201は、サーバ300のデータベースを検索する処理やサーバ300のデータベースにデータを登録する処理(このような処理を「サービス処理」という)をサーバプログラム301に要求するプログラムである。クライアント制御プログラム202は、サーバ300へサービス処理の要求を送信してから応答を得られるまでの時間(スループット)(以下、「応答時間」という)を計算し、記録するプログラムである。クライアント制御プログラム202は、例えば、クライアントプログラム201で利用されるDLL(動的リンクライブラリ)として提供することができる。応答時間履歴データ203は、クライアント制御プログラム202で求められた応答時間を記録したデータである。   The client program 201 is a program that requests the server program 301 to search the database of the server 300 or register data in the database of the server 300 (such a process is called “service process”). The client control program 202 is a program that calculates and records time (throughput) (hereinafter referred to as “response time”) from when a service processing request is transmitted to the server 300 until a response is obtained. The client control program 202 can be provided as, for example, a DLL (dynamic link library) used by the client program 201. The response time history data 203 is data in which the response time obtained by the client control program 202 is recorded.

サーバプログラム301は、クライアントプログラム201からの要求を受け付け、サービス処理を実行して結果を返すプログラムである。負荷計画カレンダ302は、サーバ300の管理者などがサーバ300の負荷上昇の予定を日付・時刻単位に予め登録しておくデータベースである。   The server program 301 is a program that receives a request from the client program 201, executes service processing, and returns a result. The load plan calendar 302 is a database in which an administrator of the server 300 or the like registers in advance a load increase schedule of the server 300 in date / time units.

以下、クライアントPC200の動作の概要について説明する。   Hereinafter, an outline of the operation of the client PC 200 will be described.

クライアントPC200において、クライアントプログラム201は、サーバ300のサーバプログラム301に対し、データの検索や更新などのサービス処理を連続して要求する。クライアント制御プログラム202は、クライアントプログラム201がサーバプログラム301へサービス処理の要求を送信してから結果を得るまでに要した応答時間を測定し、応答時間履歴データ203に記録する。   In the client PC 200, the client program 201 requests the server program 301 of the server 300 continuously for service processing such as data search and update. The client control program 202 measures the response time required from when the client program 201 sends a service processing request to the server program 301 until obtaining a result, and records the response time in the response time history data 203.

クライアント制御プログラム202は、応答時間を記録し始めてから一定期間が経過した後、応答時間履歴データ203にて応答時間の遅延(スループットの低下)が認められた場合、サーバ300やネットワーク400の負荷が高く、処理性能が低下していると判断する。この場合、クライアント制御プログラム202は、クライアントプログラム201がサービス処理を要求する処理と次にサービス処理を要求する処理との間に遅延時間を挿入し、単位時間あたりの処理数を減らす。これにより、サーバ300の負荷を軽減させることができる。   If a delay in response time (decrease in throughput) is recognized in the response time history data 203 after a certain period of time has elapsed since the start of recording the response time, the client control program 202 determines the load on the server 300 or the network 400. It is determined that the processing performance is low. In this case, the client control program 202 inserts a delay time between the process that the client program 201 requests the service process and the process that requests the service process next, and reduces the number of processes per unit time. Thereby, the load of the server 300 can be reduced.

逆に、クライアント制御プログラム202は、応答時間を記録し始めてから一定期間が経過した後、応答時間履歴データ203にて応答時間の向上(スループットの上昇)が認められた場合や、応答時間に変化がないと認められた場合、サーバ300やネットワーク400の負荷が低く、処理性能の向上が見込めると判断する。この場合、クライアント制御プログラム202は、クライアントプログラム201がサービス処理を要求する処理と次にサービス処理を要求する処理との間に挿入されている遅延時間を減少させるか、又は、除去する。これにより、サーバ300の負荷は上昇するが、サーバ300の応答時間(スループット)を向上させることができる。   On the other hand, the client control program 202 changes the response time when an improvement in response time (increase in throughput) is observed in the response time history data 203 after a certain period of time has elapsed since the response time began to be recorded. If it is determined that there is no load, it is determined that the load on the server 300 or the network 400 is low and the processing performance can be improved. In this case, the client control program 202 reduces or eliminates the delay time inserted between the process that the client program 201 requests the service process and the process that requests the service process next. Thereby, although the load of the server 300 increases, the response time (throughput) of the server 300 can be improved.

一般的な情報システムにおいては、サーバへデータアクセスを行うソフトウェア、即ち、サーバに対しサービス処理を要求するクライアントPCは複数作動していることが想定される。サーバにアクセスする全てのソフトウェアが本実施の形態を採用すれば、サーバにかかる負荷が軽減されるため、情報システム全体の性能向上が期待できる。近年、インターネットの普及によって1台のサーバが受け付けるアクセス要求は増加の一途を辿っており、サーバやネットワークの負荷増大が情報システムの不安定化の原因となり問題となっている。本実施の形態の採用が世界規模で増えれば、世界規模でサーバやネットワークの負荷が軽減され、世界規模で情報システムの安定化に貢献できる。   In a general information system, it is assumed that a plurality of software that performs data access to a server, that is, client PCs that request service processing from the server are operating. If all the software that accesses the server adopts the present embodiment, the load on the server is reduced, so that the performance improvement of the entire information system can be expected. In recent years, the number of access requests accepted by one server has been increasing due to the spread of the Internet, and an increase in the load on the server and the network has become a cause of destabilization of the information system. If the adoption of this embodiment increases on a global scale, the load on servers and networks will be reduced on a global scale, and it will be possible to contribute to the stabilization of information systems on a global scale.

図2は、クライアントPC200の構成を示すブロック図である。   FIG. 2 is a block diagram showing the configuration of the client PC 200. As shown in FIG.

クライアントPC200は、要求送信部211、結果受信部212、応答時間計算部213、応答時間履歴更新部214、変化量計算部215、負荷量記憶部216、遅延時間補正部217、要求制御部218を備える。また、クライアントPC200は、記憶装置251、処理装置252、入力装置253、出力装置254などのハードウェア装置を備える(又はこれらのハードウェア装置がクライアントPC200に接続される)。ハードウェア装置はクライアントPC200の各部によって利用される。例えば、処理装置252は、クライアントPC200の各部でデータや情報の演算、加工、読み取り、書き込みなどを行うために利用される。記憶装置251は、そのデータや情報を記憶するために利用される。また、入力装置253は、そのデータや情報を入力するために、出力装置254は、そのデータや情報を出力するために利用される。   The client PC 200 includes a request transmission unit 211, a result reception unit 212, a response time calculation unit 213, a response time history update unit 214, a change amount calculation unit 215, a load amount storage unit 216, a delay time correction unit 217, and a request control unit 218. Prepare. The client PC 200 includes hardware devices such as a storage device 251, a processing device 252, an input device 253, and an output device 254 (or these hardware devices are connected to the client PC 200). The hardware device is used by each unit of the client PC 200. For example, the processing device 252 is used for performing calculation, processing, reading, writing, and the like of data and information in each unit of the client PC 200. The storage device 251 is used for storing the data and information. The input device 253 is used to input the data and information, and the output device 254 is used to output the data and information.

要求送信部211、結果受信部212は、図1に示したクライアントプログラム201に実装されるものである。応答時間計算部213、応答時間履歴更新部214、変化量計算部215、負荷量記憶部216、遅延時間補正部217、要求制御部218は、図1に示したクライアント制御プログラム202に実装されるものである。各部の動作については、後述する。   The request transmission unit 211 and the result reception unit 212 are implemented in the client program 201 shown in FIG. The response time calculation unit 213, response time history update unit 214, change amount calculation unit 215, load amount storage unit 216, delay time correction unit 217, and request control unit 218 are implemented in the client control program 202 shown in FIG. Is. The operation of each part will be described later.

図3は、クライアントPC200のハードウェア資源の一例を示すブロック図である。   FIG. 3 is a block diagram illustrating an example of hardware resources of the client PC 200.

クライアントPC200は、CRT(Cathode・Ray・Tube)やLCD(液晶ディスプレイ)の表示画面を有する表示装置901、キーボード902(K/B)、マウス903、FDD904(Flexible・Disk・Drive)、CDD905(Compact・Disc・Drive)、プリンタ装置906などのハードウェア資源を備え、これらはケーブルや信号線で接続されている。   The client PC 200 includes a display device 901 having a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display) display screen, a keyboard 902 (K / B), a mouse 903, an FDD 904 (Flexible Disk Drive), and a CDD 905 (Compact). (Disc / Drive), printer device 906, and other hardware resources, which are connected by a cable or a signal line.

クライアントPC200は、プログラムを実行するCPU911(Central・Processing・Unit)(「演算装置」、「マイクロプロセッサ」、「マイクロコンピュータ」、「プロセッサ」ともいう)を備えている。CPU911は、処理装置252の一例である。CPU911は、バス912を介してROM913(Read・Only・Memory)、RAM914(Random・Access・Memory)、通信ボード915、表示装置901、キーボード902、マウス903、FDD904、CDD905、プリンタ装置906、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。磁気ディスク装置920の代わりに、光ディスク装置、メモリカードリーダライタなどの記憶媒体が用いられてもよい。   The client PC 200 includes a CPU 911 (Central Processing Unit) (also referred to as “arithmetic unit”, “microprocessor”, “microcomputer”, “processor”) that executes a program. The CPU 911 is an example of the processing device 252. The CPU 911 includes a ROM 913 (Read / Only / Memory), a RAM 914 (Random / Access / Memory), a communication board 915, a display device 901, a keyboard 902, a mouse 903, an FDD904, a CDD905, a printer device 906, and a magnetic disk. It is connected to the device 920 and controls these hardware devices. Instead of the magnetic disk device 920, a storage medium such as an optical disk device or a memory card reader / writer may be used.

RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置251の一例である。通信ボード915、キーボード902、マウス903、FDD904、CDD905などは、入力装置253の一例である。また、通信ボード915、表示装置901、プリンタ装置906などは、出力装置254の一例である。   The RAM 914 is an example of a volatile memory. The storage media of the ROM 913, the FDD 904, the CDD 905, and the magnetic disk device 920 are an example of a nonvolatile memory. These are examples of the storage device 251. The communication board 915, the keyboard 902, the mouse 903, the FDD 904, the CDD 905, and the like are examples of the input device 253. Further, the communication board 915, the display device 901, the printer device 906, and the like are examples of the output device 254.

通信ボード915は、LAN、あるいは、IP−VPN(Internet・Protocol・Virtual・Private・Network)、広域LAN、ATM(Asynchronous・Transfer・Mode)ネットワークなどのWAN(ワイドエリアネットワーク)、あるいは、インターネットなどのネットワーク400に接続されている。   The communication board 915 can be a LAN, an IP-VPN (Internet, Protocol, Virtual, Private, Network), a wide area LAN, a WAN (Wide Area Network) such as an ATM (Asynchronous, Transfer, Mode) network, or the Internet. Connected to the network 400.

磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。プログラム群923には、本実施の形態の説明において「〜部」として説明する機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。また、ファイル群924には、本実施の形態の説明において、「〜データ」、「〜情報」、「〜ID(識別子)」、「〜フラグ」、「〜結果」として説明するデータや情報や信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」や「〜テーブル」の各項目として記憶されている。「〜ファイル」や「〜データベース」や「〜テーブル」は、ディスクやメモリなどの記憶媒体に記憶される。ディスクやメモリなどの記憶媒体に記憶されたデータや情報や信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出・検索・参照・比較・演算・計算・制御・出力・印刷・表示などのCPU911の処理(動作)に用いられる。抽出・検索・参照・比較・演算・計算・制御・出力・印刷・表示などのCPU911の処理中、データや情報や信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。   The magnetic disk device 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924. The programs in the program group 923 are executed by the CPU 911, the operating system 921, and the window system 922. The program group 923 stores a program for executing a function described as “˜unit” in the description of the present embodiment. The program is read and executed by the CPU 911. The file group 924 includes data and information described as “˜data”, “˜information”, “˜ID (identifier)”, “˜flag”, and “˜result” in the description of this embodiment. Signal values, variable values, and parameters are stored as items of “˜file”, “˜database”, and “˜table”. The “˜file”, “˜database”, and “˜table” are stored in a storage medium such as a disk or a memory. Data, information, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the CPU 911 via a read / write circuit, and extracted, searched, referenced, compared, and calculated. Used for processing (operation) of the CPU 911 such as calculation / control / output / printing / display. Data, information, signal values, variable values, and parameters are temporarily stored in the main memory, cache memory, and buffer memory during processing of the CPU 911 such as extraction, search, reference, comparison, calculation, control, output, printing, and display. Is remembered.

また、本実施の形態の説明において用いるブロック図やフローチャートの矢印の部分は主としてデータや信号の入出力を示し、データや信号は、RAM914などのメモリ、FDD904のフレキシブルディスク(FD)、CDD905のコンパクトディスク(CD)、磁気ディスク装置920の磁気ディスク、その他光ディスク、ミニディスク(MD)、DVD(Digital・Versatile・Disc)などの記録媒体に記録される。また、データや信号は、バス912や信号線やケーブルその他の伝送媒体により伝送される。   In addition, the arrows in the block diagrams and flowcharts used in the description of this embodiment mainly indicate input / output of data and signals, and the data and signals are the memory such as the RAM 914, the flexible disk (FD) of the FDD 904, and the compact of the CDD 905. Recording is performed on a recording medium such as a disk (CD), a magnetic disk of the magnetic disk device 920, another optical disk, a mini disk (MD), or a DVD (Digital Versatile Disc). Data and signals are transmitted by a bus 912, a signal line, a cable, and other transmission media.

また、本実施の形態の説明において「〜部」として説明するものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜工程」、「〜手順」、「〜処理」であってもよい。即ち、「〜部」として説明するものは、ROM913に記憶されたファームウェアで実現されていても構わない。あるいは、ソフトウェアのみ、あるいは、素子・デバイス・基板・配線などのハードウェアのみ、あるいは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実現されていても構わない。ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVDなどの記録媒体に記憶される。このプログラムはCPU911により読み出され、CPU911により実行される。即ち、プログラムは、本実施の形態の説明で述べる「〜部」としてコンピュータを機能させるものである。あるいは、本実施の形態の説明で述べる「〜部」の手順や方法をコンピュータに実行させるものである。   In addition, what is described as “˜unit” in the description of the present embodiment may be “˜circuit”, “˜device”, “˜device”, and “˜step”, “˜process”. , “˜procedure”, and “˜processing”. That is, what is described as “˜unit” may be realized by firmware stored in the ROM 913. Alternatively, it may be realized only by software, or only by hardware such as an element, a device, a board, and wiring, or a combination of software and hardware, and further by a combination of firmware. Firmware and software are stored as programs in a recording medium such as a magnetic disk, flexible disk, optical disk, compact disk, minidisk, or DVD. This program is read by the CPU 911 and executed by the CPU 911. That is, the program causes the computer to function as “to part” described in the description of the present embodiment. Alternatively, it causes the computer to execute the procedures and methods described in the description of the present embodiment.

図4は、クライアントPC200の動作を示すフローチャートである。   FIG. 4 is a flowchart showing the operation of the client PC 200.

クライアントPC200は、クライアントプログラム201を複数回連続して実行する(例えば、サーバ300のデータベースのあるテーブルに100個のレコードを挿入するループ処理を行う場合、1個のレコードを挿入する処理を100回実行する)。クライアントプログラム201が実行される度に、以下のステップS101〜S102の処理が行われる。   The client PC 200 continuously executes the client program 201 a plurality of times (for example, when performing loop processing for inserting 100 records into a table in the database of the server 300, processing for inserting one record is performed 100 times. Execute). Every time the client program 201 is executed, the following steps S101 to S102 are performed.

要求送信部211(クライアントプログラム201)は、サーバ300に対してサービス処理を要求する(例えば、上記のテーブルに1個のレコードを挿入する処理を要求する)。このとき、要求送信部211は、そのサービス処理の要求データをCPU911(処理装置252の一例)で作成し、作成した要求データを、通信ボード915によりサーバ300へ送信する(ステップS101:要求送信処理)。サーバ300において、サーバプログラム301は、要求送信部211が送信したサービス処理の要求データを受信すると、要求されたサービス処理を実行し、その実行結果を示す結果データをクライアントPC200へ送信する(例えば、上記のテーブルにレコードを挿入する処理を実行し、その処理が成功したことを示す結果データを送信する)。   The request transmission unit 211 (client program 201) requests service processing from the server 300 (for example, requests processing for inserting one record into the table). At this time, the request transmission unit 211 generates request data for the service processing by the CPU 911 (an example of the processing device 252), and transmits the generated request data to the server 300 via the communication board 915 (step S101: request transmission processing) ). In the server 300, when the server program 301 receives the request data of the service process transmitted from the request transmission unit 211, the server program 301 executes the requested service process and transmits the result data indicating the execution result to the client PC 200 (for example, The process of inserting a record into the above table is executed, and result data indicating that the process was successful is transmitted).

結果受信部212(クライアントプログラム201)は、ステップS101で要求送信部211が送信したサービス処理の要求データに応じてサーバプログラム301で実行された当該サービス処理の結果データを、通信ボード915によりサーバ300から受信する(ステップS102:結果受信処理)。   The result receiving unit 212 (client program 201) uses the communication board 915 to transmit the service processing result data executed by the server program 301 in response to the service processing request data transmitted by the request transmitting unit 211 in step S101 to the server 300. (Step S102: result reception process).

クライアントPC200は、クライアントプログラム201を実行する度に、あわせてクライアント制御プログラム202も実行する。クライアント制御プログラム202が実行される度に、以下のステップS103〜S108の処理が行われる。   Each time the client PC 200 executes the client program 201, the client PC 200 also executes the client control program 202. Every time the client control program 202 is executed, the following steps S103 to S108 are performed.

応答時間計算部213(クライアント制御プログラム202)は、ステップS101で要求送信部211がサービス処理の要求データを送信した時刻を磁気ディスク装置920(記憶装置251の一例)に記憶する。また、応答時間計算部213は、ステップS102で結果受信部212がサービス処理の結果データを受信した時刻を磁気ディスク装置920に記憶する。そして、応答時間計算部213は、磁気ディスク装置920に記憶された2つの時刻の差をCPU911で求めることにより、要求送信部211がサービス処理の要求データを送信してから結果受信部212が当該サービス処理の結果データを受信するまでの応答時間を計算する(ステップS103:応答時間計算処理)。   The response time calculation unit 213 (client control program 202) stores the time at which the request transmission unit 211 transmits the request data for service processing in step S101 in the magnetic disk device 920 (an example of the storage device 251). Further, the response time calculation unit 213 stores the time when the result reception unit 212 received the result data of the service processing in step S102 in the magnetic disk device 920. The response time calculation unit 213 obtains the difference between the two times stored in the magnetic disk device 920 by the CPU 911, so that the result reception unit 212 transmits the service processing request data after the request transmission unit 211 transmits the request data. The response time until receiving the result data of the service process is calculated (step S103: response time calculation process).

応答時間履歴更新部214(クライアント制御プログラム202)は、ステップS103で応答時間計算部213が新たに計算した応答時間により、磁気ディスク装置920に記憶された応答時間履歴データ203を更新する(ステップS104:応答時間履歴更新処理)。   The response time history update unit 214 (client control program 202) updates the response time history data 203 stored in the magnetic disk device 920 with the response time newly calculated by the response time calculation unit 213 in step S103 (step S104). : Response time history update processing).

例えば、クライアントプログラム201の実行回数が1回目である場合には、応答時間履歴更新部214は、ステップS103で応答時間計算部213が今回計算した応答時間を、1回目の応答時間として、空の応答時間履歴データ203に書き込む。クライアントプログラム201の実行回数が2回目である場合には、応答時間履歴更新部214は、ステップS103で応答時間計算部213が今回計算した応答時間を、2回目の応答時間として、既に1回目の応答時間が記憶された応答時間履歴データ203に書き込む。クライアントプログラム201の実行回数が3回目である場合には、応答時間履歴更新部214は、同様に、ステップS103で応答時間計算部213が今回計算した応答時間を、3回目の応答時間として、既に1回目及び2回目の応答時間が記憶された応答時間履歴データ203に書き込む。クライアントプログラム201の実行回数が4回目以降の場合にも、応答時間履歴更新部214は、同様に、4回目以降のそれぞれの応答時間を応答時間履歴データ203に書き込む。   For example, if the number of executions of the client program 201 is the first time, the response time history update unit 214 uses the response time calculated by the response time calculation unit 213 in step S103 as the first response time as an empty response time. The response time history data 203 is written. When the number of executions of the client program 201 is the second time, the response time history update unit 214 has already set the response time calculated by the response time calculation unit 213 in step S103 as the second response time, and has already been the first time. The response time is stored in the response time history data 203 stored therein. When the number of executions of the client program 201 is the third time, the response time history update unit 214 similarly uses the response time calculated by the response time calculation unit 213 in step S103 this time as the third response time. The response time is written in the response time history data 203 stored for the first and second response times. Similarly, when the number of executions of the client program 201 is the fourth time or later, the response time history update unit 214 similarly writes each response time after the fourth time in the response time history data 203.

1回目の応答時間が0.2秒、2回目の応答時間が0.3秒、3回目の応答時間が0.5秒であった場合の応答時間履歴データ203の一例を図5の(a)に示す。図5の(a)の例では、応答時間履歴データ203が「実行回数」、「応答時間」などのカラムで構成されたテーブルデータとして磁気ディスク装置920に記憶されているものとする。このように、応答時間履歴更新部214は、ステップS103で応答時間計算部213が過去に計算した応答時間の履歴を応答時間履歴データ203として磁気ディスク装置920に記憶しておき、クライアントプログラム201が実行される度に、その応答時間履歴データ203を更新する。   An example of the response time history data 203 when the first response time is 0.2 seconds, the second response time is 0.3 seconds, and the third response time is 0.5 seconds as shown in FIG. ). In the example of FIG. 5A, it is assumed that the response time history data 203 is stored in the magnetic disk device 920 as table data composed of columns such as “number of executions” and “response time”. Thus, the response time history update unit 214 stores the response time history calculated in the past by the response time calculation unit 213 in step S103 in the magnetic disk device 920 as the response time history data 203, and the client program 201 Each time it is executed, the response time history data 203 is updated.

変化量計算部215(クライアント制御プログラム202)は、磁気ディスク装置920に記憶された応答時間履歴データ203がステップS104で応答時間履歴更新部214により更新された後、その応答時間履歴データ203に基づいて、ステップS103で応答時間計算部213が過去に計算した応答時間から新たに計算した応答時間への変化量をCPU911で計算する(ステップS105:変化量計算処理)。   The change amount calculation unit 215 (client control program 202) is based on the response time history data 203 after the response time history data 203 stored in the magnetic disk device 920 is updated by the response time history update unit 214 in step S104. The CPU 911 calculates the amount of change from the response time calculated in the past by the response time calculation unit 213 in step S103 to the newly calculated response time (step S105: change amount calculation processing).

例えば、変化量計算部215は、応答時間履歴データ203に記録されている全ての応答時間、即ち、クライアントプログラム201の初回実行時から前回実行時までの応答時間(過去の応答時間)の平均値をCPU911で計算する。そして、計算した平均値をステップS103で応答時間計算部213が今回計算した応答時間(今回の応答時間)からCPU911で減算することにより、今回の応答時間の過去分からの変化量を求める。一例として、今回の応答時間を0.5秒とし、過去の応答時間の平均値を0.2秒とすると、変化量は0.5−0.2=0.3秒となる。ここで、変化量は今回の応答時間が過去の応答時間の平均値より長いか(応答時間に遅延が認められるか)、短いか(応答時間に向上が認められるか)、又は、同じか(応答時間に変化がないか)を単に示す値(例えば、順番に+1、−1、±0)であってもよい。一例として、今回の応答時間を0.5秒とし、過去の応答時間の平均値を0.2秒とすると、0.5>0.2であるから、変化量は応答時間に遅延が認められることを示す値(例えば、+1)となる。   For example, the change amount calculation unit 215 calculates the average value of all the response times recorded in the response time history data 203, that is, the response time (past response time) from the first execution time to the previous execution time of the client program 201. Is calculated by the CPU 911. Then, the CPU 911 subtracts the calculated average value from the response time (current response time) calculated this time by the response time calculation unit 213 in step S103, thereby obtaining a change amount of the current response time from the past. As an example, if the current response time is 0.5 seconds and the average value of past response times is 0.2 seconds, the amount of change is 0.5−0.2 = 0.3 seconds. Here, the amount of change is whether the current response time is longer than the average of the past response times (whether there is a delay in the response time), short (whether the response time is improved), or the same ( It may be a value (for example, +1, −1, ± 0 in order) simply indicating whether there is a change in response time. As an example, assuming that the current response time is 0.5 seconds and the average value of past response times is 0.2 seconds, since 0.5> 0.2, the change amount has a delay in the response time. This is a value indicating that (for example, +1).

変形例として、変化量計算部215は、過去の応答時間の平均値として、過去の一定期間における応答時間のみの平均値を用いてもよい。例えば、変化量計算部215は、応答時間履歴データ203に記録されている応答時間のうち、直近のN(NはN>0となる整数)回分の応答時間のみ、即ち、クライアントプログラム201のN回前の実行時から前回実行時までの応答時間の平均値をCPU911で計算する。そして、計算した平均値を今回の応答時間からCPU911で減算することにより、今回の応答時間の過去分からの変化量を求める。N=1の場合、変化量計算部215は、過去の応答時間の平均値を計算することなく、単に今回の応答時間から前回の応答時間を減算することによって、前回の応答時間から今回の応答時間への変化量を求めることができる。   As a modification, the change amount calculation unit 215 may use an average value of only response times in a past fixed period as an average value of past response times. For example, the change amount calculation unit 215 receives only the response time for the latest N (N is an integer satisfying N> 0) among the response times recorded in the response time history data 203, that is, N of the client program 201. The CPU 911 calculates the average response time from the previous execution to the previous execution. Then, the CPU 911 subtracts the calculated average value from the current response time to obtain the amount of change of the current response time from the past. When N = 1, the change amount calculation unit 215 calculates the current response time from the previous response time by simply subtracting the previous response time from the current response time without calculating the average value of the past response times. The amount of change to time can be determined.

負荷量記憶部216(クライアント制御プログラム202)は、ステップS105で変化量計算部215が計算した変化量が正の値でない場合(応答時間に向上が認められる又は変化がない場合)、ネットワーク400を介してサーバ300の負荷計画カレンダ302にアクセスする。そして、現在の日時をキーにして、負荷計画カレンダ302を検索し、該当する日時の負荷情報があれば、その負荷情報をサーバ300から取得する。負荷情報は、所定の時間帯に予定されるサーバ300の負荷量を示すデータとして、サーバ300の管理者などが負荷計画カレンダ302に予め登録しておくものである。よって、負荷量記憶部216は、現在の時間帯に予定される負荷量を示す負荷情報が負荷計画カレンダ302に登録されている場合に、サーバ300から負荷情報を取得することになる。この場合、負荷量記憶部216は、取得した負荷情報を磁気ディスク装置920に記憶する(ステップS106:負荷量記憶処理)。   When the change amount calculated by the change amount calculation unit 215 in step S105 is not a positive value (when improvement in response time is observed or there is no change), the load amount storage unit 216 (client control program 202) uses the network 400. The load plan calendar 302 of the server 300 is accessed. Then, using the current date and time as a key, the load plan calendar 302 is searched. If there is load information on the corresponding date and time, the load information is acquired from the server 300. The load information is registered in advance in the load plan calendar 302 by the administrator of the server 300 as data indicating the load amount of the server 300 scheduled in a predetermined time zone. Therefore, the load amount storage unit 216 acquires the load information from the server 300 when the load information indicating the load amount scheduled in the current time zone is registered in the load plan calendar 302. In this case, the load amount storage unit 216 stores the acquired load information in the magnetic disk device 920 (step S106: load amount storage process).

負荷計画カレンダ302の一例を図5の(b)に示す。図5の(b)の例では、負荷計画カレンダ302が「日付」、「時間帯」の「開始時刻」、「時間帯」の「終了時刻」、「負荷レベル」などのカラムで構成されたテーブルデータとしてサーバ300のデータベースに記憶されているものとする。負荷量を示す値の一例として、「負荷レベル」のカラムでは負荷量を5段階で表しており、1は負荷が最も高く、2、3、4、5の順に負荷が低くなることを示している。負荷が一定の基準より高くなる時間帯のみの負荷情報を負荷計画カレンダ302に登録することとしてもよいし(この場合、負荷レベルが5であっても一定の基準より負荷が高いことになる)、全ての、あるいは、任意の時間帯の負荷情報を負荷計画カレンダ302に登録することとしてもよい。負荷量は、このように負荷量の大きさ(負荷の高さ)を直接表すものでもよいし、負荷上昇率など、負荷量の変化を表すものでもよい。   An example of the load plan calendar 302 is shown in FIG. In the example of FIG. 5B, the load plan calendar 302 is configured with columns such as “date”, “start time” of “time zone”, “end time” of “time zone”, “load level”, and the like. Assume that it is stored in the database of the server 300 as table data. As an example of the value indicating the load amount, the “load level” column shows the load amount in five stages, where 1 is the highest load and the load decreases in the order of 2, 3, 4 and 5. Yes. It is also possible to register the load information only for the time period when the load is higher than a certain standard in the load plan calendar 302 (in this case, even if the load level is 5, the load is higher than the certain standard). The load information of all or arbitrary time zones may be registered in the load plan calendar 302. The load amount may directly represent the magnitude of the load amount (load height) as described above, or may represent a change in the load amount such as a load increase rate.

遅延時間補正部217(クライアント制御プログラム202)は、ステップS105で変化量計算部215が計算した変化量に応じて、磁気ディスク装置920に記憶された遅延時間をCPU911で補正する(ステップS107、S108:遅延時間補正処理)。遅延時間とは、ステップS101で要求送信部211がサービス処理の要求データを送信するタイミングを遅延させるために、遅延時間補正部217が設定する時間であり、遅延時間補正部217によって常に1つの値が磁気ディスク装置920に記憶されているものとする。   The delay time correction unit 217 (client control program 202) corrects the delay time stored in the magnetic disk device 920 by the CPU 911 according to the change amount calculated by the change amount calculation unit 215 in step S105 (steps S107 and S108). : Delay time correction processing). The delay time is a time set by the delay time correction unit 217 in order to delay the timing at which the request transmission unit 211 transmits the service processing request data in step S101, and is always set to one value by the delay time correction unit 217. Are stored in the magnetic disk device 920.

ステップS105で変化量計算部215が計算した変化量が正の値である場合(応答時間に遅延が認められる場合)、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間を加算する(ステップS107:遅延時間補正処理)。   When the change amount calculated by the change amount calculation unit 215 in step S105 is a positive value (when a delay is recognized in the response time), the delay time correction unit 217 adds the delay time stored in the magnetic disk device 920. (Step S107: delay time correction process).

このとき、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間に単位時間(例えば、1秒)を加算するものとしてもよいし、単位時間以外の一定の時間(例えば、3秒)を加算するものとしてもよい。また、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間に、ステップS105で変化量計算部215が計算した変化量のC倍(CはC>0となる実数)の時間(例えば、変化量が0.1秒でC=10と規定していた場合は、1秒)を加算するものとしてもよい。さらに、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間を所定の値より大きな値になるまで加算することはないものとしてもよい。つまり、遅延時間の上限値が予め設定されていてもよい(時間帯ごとに異なる上限値が設定されていてもよい)。この場合、遅延時間の上限値は、遅延時間補正部217が遅延時間の加算時に参照できるように磁気ディスク装置920に記憶されているものとする。遅延時間の上限値を設定することにより、遅延時間が過度に長くなるのを防ぐことができる。例えば、クライアントPC200に人が付いて行う処理であれば、あまりにも長時間になると、サーバ300からのレスポンスがないかのように見えてしまう。そこで、遅延時間にある程度の上限値を定めて、遅延時間がその上限値を超える場合には、要求送信部211が処理を中断して、表示装置901(出力装置254の一例)にエラーメッセージなどを表示することが望ましい。一方、深夜に人が監視せずに行うバッチ処理などであれば、時間がかかっても処理が成功した方がよい。そこで、遅延時間の上限値を設定しないで運用することが望ましい(例えば、毎日午後10時から翌日午前6時までの時間帯は、遅延時間の上限値を無効とする設定を行う)。   At this time, the delay time correction unit 217 may add a unit time (for example, 1 second) to the delay time stored in the magnetic disk device 920, or may be a fixed time other than the unit time (for example, 3 seconds). ) May be added. Also, the delay time correction unit 217 adds C times the change amount calculated by the change amount calculation unit 215 in step S105 to the delay time stored in the magnetic disk device 920 (C is a real number that satisfies C> 0) ( For example, when the change amount is 0.1 seconds and C = 10, 1 second) may be added. Further, the delay time correction unit 217 may not add the delay time stored in the magnetic disk device 920 until the delay time becomes larger than a predetermined value. That is, an upper limit value of the delay time may be set in advance (a different upper limit value may be set for each time zone). In this case, it is assumed that the upper limit value of the delay time is stored in the magnetic disk device 920 so that the delay time correction unit 217 can refer to it when adding the delay time. Setting the upper limit value of the delay time can prevent the delay time from becoming excessively long. For example, if the process is performed with a person attached to the client PC 200, it will appear as if there is no response from the server 300 if it is too long. Therefore, when a certain upper limit value is set for the delay time and the delay time exceeds the upper limit value, the request transmission unit 211 interrupts the processing, and an error message or the like is displayed on the display device 901 (an example of the output device 254). It is desirable to display. On the other hand, if it is a batch process performed without monitoring by a person at midnight, it is better that the process succeeds even if it takes time. Therefore, it is desirable to operate without setting the upper limit value of the delay time (for example, in the time zone from 10:00 pm to 6:00 am the next day, the setting is made to invalidate the upper limit value of the delay time).

ステップS105で変化量計算部215が計算した変化量が正の値でない場合(応答時間に向上が認められる又は変化がない場合)であっても、現在の時間帯に予定される負荷量を示す負荷情報がステップS106で負荷量記憶部216により磁気ディスク装置920に記憶されており、当該負荷量が所定の閾値以上の場合、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間を加算する(ステップS107:遅延時間補正処理)。図5の(b)の例で、全ての、あるいは、任意の時間帯の負荷情報を負荷計画カレンダ302に登録している場合には、上記の閾値を負荷レベル(1〜5)で設定することが望ましい。例えば、応答時間に向上が認められるか、応答時間に変化がない場合であって、現在の時間帯に対応する負荷情報が磁気ディスク装置920に記憶されており、その負荷情報が示す負荷レベルが1(負荷が最も高いことを示す)、所定の閾値が3に設定されている場合、負荷量は所定の閾値以上であるから、遅延時間補正部217は遅延時間を加算することとなる。また、図5の(b)の例で、負荷が一定の基準より高くなる時間帯のみの負荷情報を負荷計画カレンダ302に登録している場合には、この一定の基準を上記の閾値とみなすことができる。例えば、応答時間に向上が認められるか、応答時間に変化がない場合であって、現在の時間帯に対応する負荷情報が磁気ディスク装置920に記憶されている(負荷情報が記憶されていれば、負荷は必ず一定の基準より高い)場合、負荷量は所定の閾値(一定の基準)以上であるから、遅延時間補正部217は遅延時間を加算することとなる。   Even when the change amount calculated by the change amount calculation unit 215 in step S105 is not a positive value (when improvement in the response time is recognized or there is no change), the load amount scheduled for the current time zone is indicated. If the load information is stored in the magnetic disk device 920 by the load amount storage unit 216 in step S106 and the load amount is equal to or greater than a predetermined threshold, the delay time correction unit 217 stores the delay time stored in the magnetic disk device 920. Are added (step S107: delay time correction process). In the example of FIG. 5B, when load information for all or an arbitrary time period is registered in the load plan calendar 302, the above threshold is set at the load level (1 to 5). It is desirable. For example, when the response time is improved or there is no change in the response time, load information corresponding to the current time zone is stored in the magnetic disk device 920, and the load level indicated by the load information is 1 (indicating that the load is the highest), and when the predetermined threshold is set to 3, since the load amount is equal to or greater than the predetermined threshold, the delay time correction unit 217 adds the delay time. Further, in the example of FIG. 5B, when load information for only a time period when the load is higher than a certain reference is registered in the load plan calendar 302, this certain reference is regarded as the above threshold value. be able to. For example, when the response time is improved or there is no change in the response time, the load information corresponding to the current time zone is stored in the magnetic disk device 920 (if the load information is stored). When the load is always higher than a certain standard), the load amount is equal to or greater than a predetermined threshold (a certain standard), so the delay time correcting unit 217 adds the delay time.

このとき、遅延時間補正部217は、前述したように、磁気ディスク装置920に記憶された遅延時間に単位時間(例えば、1秒)を加算するものとしてもよいし、単位時間以外の一定の時間(例えば、3秒)を加算するものとしてもよい。また、遅延時間補正部217は、前述したように、磁気ディスク装置920に記憶された遅延時間に、ステップS105で変化量計算部215が計算した変化量のC倍(CはC>0となる実数)の時間(例えば、変化量が0.1秒でC=10と規定していた場合は、1秒)を加算するものとしてもよい。また、遅延時間補正部217は、現在の時間帯に予定される負荷量を示す負荷情報がステップS106で負荷量記憶部216により磁気ディスク装置920に記憶されている場合であって、磁気ディスク装置920に記憶された遅延時間を最初に加算する場合には、当該遅延時間に当該負荷量の大きさに応じた時間を加算し、当該遅延時間を再び加算する場合には、当該遅延時間に一定の時間を加算するものとしてもよい。図5の(b)の例では、遅延時間補正部217は、遅延時間を最初に加算する場合に、磁気ディスク装置920に記憶されている負荷情報が示す負荷レベルの数値を遅延時間の初期値から減算した値(例えば、遅延時間の初期値を10、負荷レベルを5とすると、10−5=5秒
)を遅延時間に加算し、それ以降遅延時間を加算する場合には、前述したように、遅延時間に単位時間(例えば、1秒)又は一定の時間(例えば、3秒)を加算することが考えられる。
At this time, the delay time correction unit 217 may add a unit time (for example, 1 second) to the delay time stored in the magnetic disk device 920 as described above, or may be a fixed time other than the unit time. (For example, 3 seconds) may be added. Further, as described above, the delay time correction unit 217 adds C times the change amount calculated by the change amount calculation unit 215 in step S105 to the delay time stored in the magnetic disk device 920 (C is C> 0). (Real number) time (for example, 1 second when the change amount is 0.1 second and C = 10 is defined) may be added. The delay time correction unit 217 is a case where the load information indicating the load amount scheduled in the current time zone is stored in the magnetic disk device 920 by the load amount storage unit 216 in step S106. When the delay time stored in 920 is added for the first time, a time corresponding to the load amount is added to the delay time, and when the delay time is added again, the delay time is constant. It is good also as what adds these time. In the example of FIG. 5B, when the delay time is first added, the delay time correction unit 217 uses the load level value indicated by the load information stored in the magnetic disk device 920 as the initial value of the delay time. When the value subtracted from (for example, 10-5 = 5 seconds when the initial value of the delay time is 10 and the load level is 5) is added to the delay time, and the delay time is added thereafter, the value is as described above. In addition, it is conceivable to add a unit time (for example, 1 second) or a fixed time (for example, 3 seconds) to the delay time.

一方、ステップS105で変化量計算部215が計算した変化量が正の値でない場合(応答時間に向上が認められる又は変化がない場合)であって、現在の時間帯に予定される負荷量を示す負荷情報がステップS106で負荷量記憶部216により磁気ディスク装置920に記憶されていないか、あるいは、負荷情報が記憶されていても当該負荷量が所定の閾値未満の場合、即ち、磁気ディスク装置920に記憶された遅延時間を加算しない場合には、遅延時間補正部217は遅延時間を減算する(ステップS108:遅延時間補正処理)。   On the other hand, when the change amount calculated by the change amount calculation unit 215 in step S105 is not a positive value (when improvement in the response time is recognized or there is no change), the load amount planned for the current time zone is calculated. The load information shown is not stored in the magnetic disk device 920 by the load amount storage unit 216 in step S106, or if the load amount is less than a predetermined threshold even if the load information is stored, that is, the magnetic disk device When the delay time stored in 920 is not added, the delay time correction unit 217 subtracts the delay time (step S108: delay time correction processing).

このとき、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間から単位時間(例えば、1秒)を減算するものとしてもよいし、単位時間以外の一定の時間(例えば、3秒)を減算するものとしてもよい。ただし、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間を負の値になるまで減算することはないものとする。つまり、遅延時間の最小値は0とする。   At this time, the delay time correction unit 217 may subtract a unit time (for example, 1 second) from the delay time stored in the magnetic disk device 920, or may be a fixed time other than the unit time (for example, 3 seconds). ) May be subtracted. However, it is assumed that the delay time correction unit 217 does not subtract the delay time stored in the magnetic disk device 920 until it becomes a negative value. That is, the minimum delay time is 0.

要求制御部218(クライアント制御プログラム202)は、ステップS101で要求送信部211が新たにサービス処理を要求する場合、即ち、再びクライアントプログラム201が実行される際に、要求送信部211が前にサービス処理の要求データを送信してから磁気ディスク装置920に記憶された遅延時間が経過した後に要求送信部211にサービス処理の要求データを送信させる(ステップS107、S108:要求制御処理)。つまり、要求制御部218は、直前のステップS101で要求送信部211がサービス処理の要求データを送信した後、次のステップS101で要求送信部211が新たにサービス処理の要求データを送信する前に、要求送信部211が磁気ディスク装置920から遅延時間を読み取り、読み取った遅延時間が経過するまで待機するように、要求送信部211を制御する。   When the request transmission unit 211 newly requests a service process in step S101, that is, when the client program 201 is executed again, the request control unit 218 (client control program 202) After the processing request data is transmitted, the request transmission unit 211 is caused to transmit the service processing request data after the delay time stored in the magnetic disk device 920 has elapsed (steps S107 and S108: request control processing). That is, after the request transmission unit 211 transmits the service processing request data in the immediately preceding step S101, the request control unit 218 before the request transmission unit 211 newly transmits the service processing request data in the next step S101. The request transmission unit 211 reads the delay time from the magnetic disk device 920, and controls the request transmission unit 211 to wait until the read delay time elapses.

このように、本実施の形態では、クライアントPC200が、クライアントプログラム201を実行する度に、上記のステップS101〜S108の処理を繰り返すため、応答時間が長くなるほど、遅延時間が繰り返し加算されるため、全体の処理時間は長くなっていくが、遅延時間の間、サーバ300はクライアントプログラム201に係る処理から解放され、負荷が軽減される。逆に、応答時間が短くなるほど、又は、応答時間が一定であれば、遅延時間が繰り返し減算されるため、全体の処理時間が短くなるとともに、サーバ300の負荷を高めて高性能を引き出すことが可能となる。また、負荷計画カレンダ302に負荷情報を設定しておけば、設定された時間帯は応答時間に関係なく、遅延時間が補正されるため、サーバ300の負荷上昇を未然に防ぐことが可能となる。   Thus, in the present embodiment, each time the client PC 200 executes the client program 201, the processing of the above steps S101 to S108 is repeated. Therefore, as the response time increases, the delay time is repeatedly added. Although the overall processing time becomes longer, the server 300 is released from the processing related to the client program 201 during the delay time, and the load is reduced. Conversely, if the response time is shortened or if the response time is constant, the delay time is repeatedly subtracted, so that the overall processing time is shortened, and the load on the server 300 is increased to increase the performance. It becomes possible. Further, if load information is set in the load plan calendar 302, the delay time is corrected regardless of the response time in the set time zone, so that it is possible to prevent an increase in the load on the server 300 in advance. .

実施の形態2.
本実施の形態について、主に実施の形態1との差異を説明する。
Embodiment 2. FIG.
In the present embodiment, differences from the first embodiment will be mainly described.

実施の形態1では、図1に示したように、サーバ300に負荷計画カレンダ302を配置しているが、クライアントPC200に負荷計画カレンダ302を配置してもよい。この場合、図4に示したステップS106において、負荷量記憶部216は、ネットワーク400を介してサーバ300の負荷計画カレンダ302にアクセスする必要がなくなり、所定の時間帯に予定されるサーバ300の負荷量を示すデータとして、負荷情報が予め登録された負荷計画カレンダ302を単にクライアントPC200の磁気ディスク装置920に記憶しておけばよい。   In the first embodiment, as shown in FIG. 1, the load plan calendar 302 is arranged in the server 300, but the load plan calendar 302 may be arranged in the client PC 200. In this case, in step S106 shown in FIG. 4, the load amount storage unit 216 does not need to access the load plan calendar 302 of the server 300 via the network 400, and the load of the server 300 scheduled in a predetermined time zone. As the data indicating the amount, the load plan calendar 302 in which the load information is registered in advance may be simply stored in the magnetic disk device 920 of the client PC 200.

実施の形態3.
本実施の形態について、主に実施の形態1との差異を説明する。
Embodiment 3 FIG.
In the present embodiment, differences from the first embodiment will be mainly described.

実施の形態1では、図1に示したように、サーバ300に負荷計画カレンダ302を配置しているが、負荷計画カレンダ302は使用しなくてもよい。この場合、図4に示したステップS106は不要である。そして、例えば、ステップS105で変化量計算部215が計算した変化量が正の値である場合(応答時間に遅延が認められる場合)に、ステップS107において、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間に一定の時間を加算する。また、ステップS105で変化量計算部215が計算した変化量が負の値である場合(応答時間に向上が認められる場合)に、ステップS108において、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間から一定の時間を減算する。ステップS105で変化量計算部215が計算した変化量が正の値でも負の値でもない場合(応答時間に変化がない場合)には、遅延時間補正部217は、磁気ディスク装置920に記憶された遅延時間を変更しなくてもよいし、遅延時間から一定の時間を減算してもよい。   In the first embodiment, as shown in FIG. 1, the load plan calendar 302 is arranged in the server 300, but the load plan calendar 302 may not be used. In this case, step S106 shown in FIG. 4 is not necessary. For example, when the change amount calculated by the change amount calculation unit 215 in step S105 is a positive value (when a delay is recognized in the response time), in step S107, the delay time correction unit 217 sets the magnetic disk device. A certain time is added to the delay time stored in 920. In addition, when the change amount calculated by the change amount calculation unit 215 in step S105 is a negative value (when improvement in response time is recognized), in step S108, the delay time correction unit 217 adds to the magnetic disk device 920. A certain time is subtracted from the stored delay time. When the change amount calculated by the change amount calculation unit 215 in step S105 is neither a positive value nor a negative value (when there is no change in response time), the delay time correction unit 217 is stored in the magnetic disk device 920. The delay time may not be changed, or a certain time may be subtracted from the delay time.

以上のように、本発明の実施の形態によれば、例えば、クライアントPC200側で自律的にサーバ300の負荷を軽減することが可能となる。   As described above, according to the embodiment of the present invention, for example, the load on the server 300 can be reduced autonomously on the client PC 200 side.

実施の形態1に係る情報システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of an information system according to Embodiment 1. FIG. 実施の形態1に係るクライアント装置(クライアントPC)の構成を示すブロック図である。3 is a block diagram illustrating a configuration of a client device (client PC) according to Embodiment 1. FIG. 実施の形態1に係るクライアント装置(クライアントPC)のハードウェア資源の一例を示すブロック図である。3 is a block diagram illustrating an example of hardware resources of a client device (client PC) according to Embodiment 1. FIG. 実施の形態1に係るクライアント装置(クライアントPC)の動作を示すフローチャートである。4 is a flowchart illustrating an operation of a client device (client PC) according to the first embodiment. 実施の形態1に係る応答時間の履歴(応答時間履歴データ)及び負荷量(負荷計画カレンダ)のデータ例を示す表である。6 is a table showing a data example of response time history (response time history data) and load amount (load plan calendar) according to the first embodiment.

符号の説明Explanation of symbols

100 情報システム、200 クライアントPC、201 クライアントプログラム、202 クライアント制御プログラム、203 応答時間履歴データ、211 要求送信部、212 結果受信部、213 応答時間計算部、214 応答時間履歴更新部、215 変化量計算部、216 負荷量記憶部、217 遅延時間補正部、218 要求制御部、251 記憶装置、252 処理装置、253 入力装置、254 出力装置、300 サーバ、301 サーバプログラム、302 負荷計画カレンダ、400 ネットワーク、901 表示装置、902 キーボード、903 マウス、904 FDD、905 CDD、906 プリンタ装置、910 システムユニット、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 磁気ディスク装置、921 オペレーティングシステム、922 ウィンドウシステム、923 プログラム群、924 ファイル群。   DESCRIPTION OF SYMBOLS 100 Information system, 200 Client PC, 201 Client program, 202 Client control program, 203 Response time history data, 211 Request transmission part, 212 Result reception part, 213 Response time calculation part, 214 Response time history update part, 215 Change amount calculation Unit, 216 load amount storage unit, 217 delay time correction unit, 218 request control unit, 251 storage device, 252 processing device, 253 input device, 254 output device, 300 server, 301 server program, 302 load plan calendar, 400 network, 901 Display device, 902 keyboard, 903 mouse, 904 FDD, 905 CDD, 906 printer device, 910 system unit, 911 CPU, 912 bus, 913 ROM, 914 RAM, 915 Communication board, 920 magnetic disk unit, 921 operating system, 922 window system, 923 program group, 924 file group.

Claims (7)

サーバ装置に対してサービス処理を要求する場合に、サービス処理の要求データを前記サーバ装置へ送信する要求送信部と、
前記要求送信部が送信したサービス処理の要求データに応じて前記サーバ装置で実行された当該サービス処理の結果データを前記サーバ装置から受信する結果受信部と、
前記要求送信部がサービス処理の要求データを送信してから前記結果受信部が当該サービス処理の結果データを受信するまでの応答時間を処理装置で計算する応答時間計算部と、
前記応答時間計算部が過去に計算した応答時間の履歴を記憶装置に記憶しておき、前記応答時間計算部が新たに計算した応答時間により、記憶装置に記憶された応答時間の履歴を更新する応答時間履歴更新部と、
記憶装置に記憶された応答時間の履歴に基づいて、前記応答時間計算部が過去に計算した応答時間から新たに計算した応答時間への変化量を処理装置で計算する変化量計算部と、
前記要求送信部がサービス処理の要求データを送信するタイミングを遅延させる遅延時間を記憶装置に記憶しておき、前記変化量計算部が計算した変化量に応じて、記憶装置に記憶された遅延時間を処理装置で補正する遅延時間補正部と、
前記要求送信部が新たにサービス処理を要求する場合に、前にサービス処理の要求データを送信してから記憶装置に記憶された遅延時間が経過した後に前記要求送信部にサービス処理の要求データを送信させる要求制御部とを備えることを特徴とするクライアント装置。
A request transmitter for transmitting service processing request data to the server device when requesting service processing to the server device;
A result receiving unit for receiving, from the server device, result data of the service processing executed by the server device in response to request data of the service processing transmitted by the request transmitting unit;
A response time calculation unit that calculates a response time from when the request transmission unit transmits the request data of the service processing to when the result reception unit receives the result data of the service processing by a processing device;
The response time history calculated in the past by the response time calculator is stored in a storage device, and the response time history stored in the storage device is updated with the response time newly calculated by the response time calculator. Response time history update unit,
Based on the history of response time stored in the storage device, a change amount calculation unit that calculates a change amount from the response time previously calculated by the response time calculation unit to the newly calculated response time by the processing device;
A delay time for delaying the timing at which the request transmission unit transmits service processing request data is stored in a storage device, and the delay time stored in the storage device according to the change amount calculated by the change amount calculation unit A delay time correction unit for correcting
When the request transmission unit newly requests service processing, the service processing request data is sent to the request transmission unit after the delay time stored in the storage device has elapsed since the transmission of the service processing request data. A client apparatus comprising: a request control unit that causes transmission.
前記クライアント装置は、さらに、
所定の時間帯に予定される前記サーバ装置の負荷量を記憶装置に記憶する負荷量記憶部を備え、
前記遅延時間補正部は、現在の時間帯に予定される負荷量が記憶装置に記憶されている場合に、前記変化量計算部が計算した変化量と当該負荷量とに応じて、記憶装置に記憶された遅延時間を補正することを特徴とする請求項1に記載のクライアント装置。
The client device further includes:
A load amount storage unit for storing the load amount of the server device scheduled in a predetermined time zone in a storage device;
When the load amount scheduled for the current time zone is stored in the storage device, the delay time correction unit is stored in the storage device according to the change amount calculated by the change amount calculation unit and the load amount. The client device according to claim 1, wherein the stored delay time is corrected.
前記遅延時間補正部は、前記変化量計算部が計算した変化量が正の値である場合と、前記変化量計算部が計算した変化量が正の値でない場合であって、現在の時間帯に予定される負荷量が記憶装置に記憶されており、当該負荷量が所定の閾値以上の場合とに、記憶装置に記憶された遅延時間を加算することを特徴とする請求項2に記載のクライアント装置。   The delay time correction unit includes a case where the change amount calculated by the change amount calculation unit is a positive value and a case where the change amount calculated by the change amount calculation unit is not a positive value, and the current time zone The delay time stored in the storage device is added when the load amount to be stored in the storage device is stored in the storage device and the load amount is equal to or greater than a predetermined threshold value. Client device. 前記遅延時間補正部は、現在の時間帯に予定される負荷量が記憶装置に記憶されている場合であって、記憶装置に記憶された遅延時間を最初に加算する場合に、当該遅延時間に当該負荷量の大きさに応じた時間を加算し、当該遅延時間を再び加算する場合に、当該遅延時間に一定の時間を加算することを特徴とする請求項2又は3に記載のクライアント装置。   The delay time correcting unit is a case where the load amount scheduled in the current time zone is stored in the storage device, and when the delay time stored in the storage device is added for the first time, 4. The client device according to claim 2, wherein when a time corresponding to the magnitude of the load amount is added and the delay time is added again, a certain time is added to the delay time. 5. 前記遅延時間補正部は、記憶装置に記憶された遅延時間を加算しない場合に、当該遅延時間を減算することを特徴とする請求項1から4までのいずれかに記載のクライアント装置。   5. The client device according to claim 1, wherein the delay time correction unit subtracts the delay time when the delay time stored in the storage device is not added. 6. 前記遅延時間補正部は、前記変化量計算部が計算した変化量が正の値である場合に、記憶装置に記憶された遅延時間に一定の時間を加算し、前記変化量計算部が計算した変化量が負の値である場合に、当該遅延時間から一定の時間を減算することを特徴とする請求項1に記載のクライアント装置。   When the change amount calculated by the change amount calculation unit is a positive value, the delay time correction unit adds a certain time to the delay time stored in the storage device, and the change amount calculation unit calculates The client device according to claim 1, wherein when the change amount is a negative value, a certain time is subtracted from the delay time. サーバ装置に対してサービス処理を要求する場合に、サービス処理の要求データを前記サーバ装置へ送信し、当該サービス処理の要求データに応じて前記サーバ装置で実行された当該サービス処理の結果データを前記サーバ装置から受信するクライアントプログラムを制御するクライアント制御プログラムであって、
前記クライアントプログラムがサービス処理の要求データを送信してから当該サービス処理の結果データを受信するまでの応答時間を処理装置で計算する応答時間計算処理と、
前記応答時間計算処理が過去に計算した応答時間の履歴を記憶装置に記憶しておき、前記応答時間計算処理が新たに計算した応答時間により、記憶装置に記憶された応答時間の履歴を更新する応答時間履歴更新処理と、
記憶装置に記憶された応答時間の履歴に基づいて、前記応答時間計算処理が過去に計算した応答時間から新たに計算した応答時間への変化量を処理装置で計算する変化量計算処理と、
前記クライアントプログラムがサービス処理の要求データを送信するタイミングを遅延させる遅延時間を記憶装置に記憶しておき、前記変化量計算処理が計算した変化量に応じて、記憶装置に記憶された遅延時間を処理装置で補正する遅延時間補正処理と、
前記クライアントプログラムが新たにサービス処理を要求する場合に、前にサービス処理の要求データを送信してから記憶装置に記憶された遅延時間が経過した後に前記クライアントプログラムにサービス処理の要求データを送信させる要求制御処理とをコンピュータに実行させることを特徴とするクライアント制御プログラム。
When requesting service processing to the server device, the service processing request data is transmitted to the server device, and the result data of the service processing executed in the server device in response to the service processing request data is A client control program for controlling a client program received from a server device,
A response time calculation process in which a response time from when the client program transmits service process request data until receiving the service process result data is calculated by a processing device;
The response time history calculated in the past by the response time calculation process is stored in a storage device, and the response time history stored in the storage device is updated with the response time newly calculated by the response time calculation process. Response time history update processing,
Based on the response time history stored in the storage device, a change amount calculation process in which a change amount from the response time calculated in the past by the response time calculation process to a newly calculated response time is calculated by the processing device;
A delay time for delaying the timing at which the client program transmits the request data for service processing is stored in a storage device, and the delay time stored in the storage device is determined according to the change amount calculated by the change amount calculation processing. A delay time correction process to be corrected by the processing device;
When the client program newly requests service processing, the client program is caused to transmit service processing request data after the delay time stored in the storage device has elapsed since the service processing request data was previously transmitted. A client control program that causes a computer to execute request control processing.
JP2007109511A 2007-04-18 2007-04-18 Client device Expired - Fee Related JP4116064B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007109511A JP4116064B1 (en) 2007-04-18 2007-04-18 Client device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007109511A JP4116064B1 (en) 2007-04-18 2007-04-18 Client device

Publications (2)

Publication Number Publication Date
JP4116064B1 JP4116064B1 (en) 2008-07-09
JP2008269152A true JP2008269152A (en) 2008-11-06

Family

ID=39661359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007109511A Expired - Fee Related JP4116064B1 (en) 2007-04-18 2007-04-18 Client device

Country Status (1)

Country Link
JP (1) JP4116064B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021521541A (en) * 2018-04-16 2021-08-26 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated Implementation of processing quality assurance of central processing unit when processing accelerator requests
JP7445361B2 (en) 2019-11-18 2024-03-07 インターナショナル・ビジネス・マシーンズ・コーポレーション Multi-tenant extract/transform/load resource sharing

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590047B (en) * 2021-08-11 2024-01-26 中国建设银行股份有限公司 Database screening method and device, electronic equipment and storage medium
CN114553806B (en) * 2022-02-21 2023-09-05 深圳平安智慧医健科技有限公司 Optimization method, device and equipment for instant messaging and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021521541A (en) * 2018-04-16 2021-08-26 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated Implementation of processing quality assurance of central processing unit when processing accelerator requests
JP7160941B2 (en) 2018-04-16 2022-10-25 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Enforcing central processing unit quality assurance when processing accelerator requests
JP7445361B2 (en) 2019-11-18 2024-03-07 インターナショナル・ビジネス・マシーンズ・コーポレーション Multi-tenant extract/transform/load resource sharing

Also Published As

Publication number Publication date
JP4116064B1 (en) 2008-07-09

Similar Documents

Publication Publication Date Title
US10671563B2 (en) Cache management in RDMA distributed key/value stores based on atomic operations
US9647957B2 (en) Throttling usage of resources
US20120317228A1 (en) Managing data access in mobile devices
US9389937B2 (en) Managing faulty memory pages in a computing system
TWI648966B (en) Method and device for incremental upgrade
US9712642B2 (en) Distributed control over client-side requests for server resources
JP2007241394A (en) Division processing management device, division processing management system, arithmetic processing execution system and division processing management method
JP4116064B1 (en) Client device
JP2007004476A (en) File sharing program and file sharing apparatus
US20130239114A1 (en) Fine Grained Adaptive Throttling of Background Processes
US7484217B2 (en) Method for automatic adjustment of time a consumer waits to access data from a queue during a waiting phase and transmission phase at the queue
US11838207B2 (en) Systems for session-based routing
US20120023379A1 (en) Storage device, storage system, and control method
JP5652333B2 (en) Storage device, storage system, and storage device control method
JP6151365B2 (en) Information processing system, information processing method, and program
JP2010171557A (en) Multi-address transmission device, receiving node, multi-address transmission program and recording medium
KR20140042420A (en) Semiconductor device and operating method thereof
JP2004013867A (en) Replicated data system, database device, and database updating method and its program used for the same
US20180285168A1 (en) Information processing apparatus and information processing system
CN111868693B (en) Information processing apparatus and information processing method
US10805238B1 (en) Management of alternative resources
JP4208624B2 (en) Information processing method, computer program, and information processing apparatus
JP6834743B2 (en) Update processing program, update processing device, and update processing method
CN117081978A (en) Data transmission method and system applied to information center network
WO2018180664A1 (en) Vehicle control device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080408

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080416

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140425

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees