JP3237592B2 - Communication load control method, its device, and its program recording medium - Google Patents

Communication load control method, its device, and its program recording medium

Info

Publication number
JP3237592B2
JP3237592B2 JP32340497A JP32340497A JP3237592B2 JP 3237592 B2 JP3237592 B2 JP 3237592B2 JP 32340497 A JP32340497 A JP 32340497A JP 32340497 A JP32340497 A JP 32340497A JP 3237592 B2 JP3237592 B2 JP 3237592B2
Authority
JP
Japan
Prior art keywords
communication
usage time
throughput
computer
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP32340497A
Other languages
Japanese (ja)
Other versions
JPH11161565A (en
Inventor
正和 平垣内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP32340497A priority Critical patent/JP3237592B2/en
Publication of JPH11161565A publication Critical patent/JPH11161565A/en
Application granted granted Critical
Publication of JP3237592B2 publication Critical patent/JP3237592B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信負荷制御方
法、その装置、およびそのプログラム記録媒体に関し、
特に通信処理がコンピュータ資源を占有することを制限
する通信負荷制御方法、その装置、およびそのプログラ
ム記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication load control method, a device therefor, and a program recording medium therefor.
In particular, the present invention relates to a communication load control method for restricting communication processing from occupying computer resources, an apparatus thereof, and a program recording medium thereof.

【0002】[0002]

【従来の技術】従来、この種の通信負荷制御装置は、例
えば特開平5−313984号公報に示されるように、
ネットワークを介して接続された複数のシステム間のフ
ァイル転送において、データの圧縮・伸長処理のCen
tral Processing Unit(以下、C
PUという。)負荷によるシステム全体の性能低下を防
止するために用いられている。
2. Description of the Related Art Conventionally, this type of communication load control device is disclosed in, for example, Japanese Patent Application Laid-Open No. 5-313988.
In file transfer between a plurality of systems connected via a network, Cen for data compression / decompression processing
tral Processing Unit (hereinafter C
It is called PU. ) Used to prevent performance degradation of the entire system due to load.

【0003】図6は上記の通信負荷制御装置の例を示す
ブロック図である。同図において、システムはネットワ
ーク65を介して接続された複数のコンピュータシステ
ム66とコンピュータシステム(ホスト)61とから構
成されている。コンピュータシステム(ホスト)61
は、ファイル転送を制御するアプリケーションプログラ
ム62と、ファイル転送サービスプログラム63と、フ
ァイル64とから構成されている。さらに、ファイル転
送サービスプログラム63は、ファイル転送制御部63
aと、回線入出力制御部63bと、データ圧縮処理部6
3cと、データ伸長処理部63dと、ファイル入出力制
御部63eとから構成されている。
FIG. 6 is a block diagram showing an example of the above-mentioned communication load control device. In the figure, the system is composed of a plurality of computer systems 66 and a computer system (host) 61 connected via a network 65. Computer system (host) 61
Is composed of an application program 62 for controlling file transfer, a file transfer service program 63, and a file 64. Further, the file transfer service program 63
a, a line input / output control unit 63b, and a data compression processing unit 6
3c, a data decompression processing unit 63d, and a file input / output control unit 63e.

【0004】ファイル転送制御部63aは、相手システ
ムよりデータ圧縮されたファイルを受信したとき、デー
タ伸長処理部63dを介さずに直接ファイル入出力制御
部63eへデータ圧縮されたファイルデータを渡し、デ
ータ圧縮された状態でファイル64に格納する。そし
て、このファイルを相手システムに送信するとき、ファ
イル入出力制御部63eで読み出したファイルデータを
データ圧縮処理部63cを介さずに直接回線入出力制御
部63dへ渡し、そのまま(受信時のデータ圧縮された
状態で)送信する。
[0004] Upon receiving a data-compressed file from the partner system, the file transfer control unit 63a passes the data-compressed file data directly to the file input / output control unit 63e without passing through the data decompression processing unit 63d. It is stored in the file 64 in a compressed state. Then, when transmitting this file to the partner system, the file data read out by the file input / output control unit 63e is directly passed to the line input / output control unit 63d without passing through the data compression processing unit 63c, and is directly transmitted (data compression at the time of reception). Transmitted).

【0005】また、他の例として特開平2−17106
3号公報によれば、Integrated Servi
ces Digital Network(以下、IS
DNという。)を介して遠隔地にあるデータ処理装置と
の間でファイルデータの転送を行う転送装置は、大量の
ファイルデータの転送を効率的に最小限のCPU負荷に
より実現するために用いられている。
Another example is disclosed in Japanese Patent Application Laid-Open No.
According to Japanese Unexamined Patent Publication No. 3 (KOKAI) No. 3, Integrated Service
ces Digital Network (hereinafter referred to as IS
It is called DN. 2. Description of the Related Art A transfer device for transferring file data to a data processing device at a remote location via a) is used to efficiently transfer a large amount of file data with a minimum CPU load.

【0006】図7は上記のシステムの例を示すブロック
図である。同図において、システムはファイルデータ転
送装置(FDTE)71および76と、中央処理装置
(CPU)72と、ファイル装置(DISK)73と、
共通バス74と、ISDN網75とから構成されてい
る。FDTE71は、バスアダプタ部711と、IDS
N網とのインターフェース部(ISDN IF)712
と、2つのブロックバッファ部BFA714およびBF
B713と、制御バッファ部(CONT)715と、ヘ
ッダブロックバッファ部(HBB)716とから構成さ
れている。
FIG. 7 is a block diagram showing an example of the above system. In the figure, the system includes file data transfer devices (FDTE) 71 and 76, a central processing unit (CPU) 72, a file device (DISK) 73,
It comprises a common bus 74 and an ISDN network 75. The FDTE 71 includes a bus adapter unit 711 and an IDS
Interface unit with ISDN (ISDN IF) 712
And two block buffer units BFA714 and BF
B713, a control buffer unit (CONT) 715, and a header block buffer unit (HBB) 716.

【0007】FDTE71とCPU72とDISK73
とは共通バス74に接続されており、バスアダプタ部7
11はCPU72側からは一般のIOアダプタと同様に
見え、バス上の特定アドレスに対して読み書き動作をす
ることにより、CPU72とFDTE71との通信が達
成される。
FDTE 71, CPU 72 and DISK 73
Are connected to the common bus 74 and the bus adapter unit 7
Reference numeral 11 looks like a general IO adapter from the CPU 72 side, and communication between the CPU 72 and the FDTE 71 is achieved by performing a read / write operation on a specific address on the bus.

【0008】CPU72はファイルの転送にあたって、
転送すべきデータファイルおよびFDTE71に渡すべ
き各種制御情報を記憶したヘッダブロックをDISK7
3上に作成し、その後FDTE71を起動する。FDT
E71はヘッダブロックの内容をHBB716に読み出
し、ISDN網75に相手側装置(FDTE76)のア
ドレスを載せ、DISK73を自律的にアクセスしなが
ら連続的にファイルデータを転送する。
[0008] When transferring the file, the CPU 72
The header block storing the data file to be transferred and various control information to be passed to the FDTE 71 is
3 and then activates the FDTE 71. FDT
E71 reads the contents of the header block to the HBB 716, puts the address of the other device (FDTE 76) on the ISDN network 75, and continuously transfers file data while autonomously accessing the DISK 73.

【0009】[0009]

【発明が解決しようとする課題】上記のような従来の通
信負荷制御装置は次の問題点を有する。
The conventional communication load control device as described above has the following problems.

【0010】第一の問題点は、CPU負荷の程度を定量
的な任意の値に調整できないことである。その理由は、
CPU負荷の程度を調整できる構造を持たないからであ
る。
The first problem is that the degree of CPU load cannot be adjusted to any quantitative value. The reason is,
This is because there is no structure that can adjust the degree of CPU load.

【0011】第二の問題点は、ファイル転送以外の任意
の通信アプリケーションには適用できないことである。
その理由は、利用分野としてファイル転送時のみを対象
としており、オンライントランザクション処理のような
データの非連続な転送の場合は何ら考慮されていないか
らである。
The second problem is that it cannot be applied to any communication application other than file transfer.
The reason is that the field of use is intended only for file transfer, and no consideration is given to non-continuous transfer of data such as online transaction processing.

【0012】第三の問題点は、自システムおよび相手シ
ステムが同一の通信負荷制御装置をもつ必要があること
である。その理由は、通信する双方のシステムが、同じ
通信負荷制御装置をもつことを前提としているからであ
る。
A third problem is that the own system and the partner system need to have the same communication load control device. The reason is that it is assumed that both communicating systems have the same communication load control device.

【0013】第四の問題点は、ファイルが圧縮されてい
る場合にのみCPU負荷を抑制する効果を発揮し、他の
場合には効果を発揮し得ないことである。その理由は、
ファイルが圧縮されていることを前提としているからで
ある。
A fourth problem is that the effect of suppressing the CPU load is exhibited only when the file is compressed, and the effect cannot be exhibited in other cases. The reason is,
This is because it is assumed that the file is compressed.

【0014】第五の問題点は、ISDN網以外には適用
できないことである。その理由は、ISDN網に接続さ
れることを前提としているからである。
The fifth problem is that the method cannot be applied to networks other than the ISDN network. The reason is that it is assumed that connection to the ISDN network is made.

【0015】したがって、本発明の目的は、通信システ
ムが使用するCPU使用時間の程度を、定量的な任意の
値に抑制できる通信負荷制御装置を提供することにあ
る。
Accordingly, it is an object of the present invention to provide a communication load control device capable of suppressing the amount of CPU usage time used by a communication system to a quantitatively arbitrary value.

【0016】本発明の他の目的は、ファイル転送以外の
任意の通信アプリケーションに適用できる通信負荷制御
装置を提供することにある。
Another object of the present invention is to provide a communication load control device applicable to any communication application other than file transfer.

【0017】本発明の他の目的は、相手システムが自シ
ステムと同一の通信負荷制御装置をもつ必要がない通信
負荷制御装置を提供することにある。
Another object of the present invention is to provide a communication load control device in which a partner system does not need to have the same communication load control device as its own system.

【0018】本発明の他の目的は、ファイルが圧縮され
ていない場合でもCPU負荷を抑制する効果を発揮する
通信負荷制御装置を提供することにある。
Another object of the present invention is to provide a communication load control device which exerts an effect of suppressing a CPU load even when a file is not compressed.

【0019】本発明の他の目的は、任意のネットワーク
に適用できる通信負荷制御装置を提供することにある。
Another object of the present invention is to provide a communication load control device applicable to any network.

【0020】[0020]

【課題を解決するための手段】本発明の通信負荷制御方
法は、通信ネットワークを介してファイル転送を行うコ
ンピュータシステムにおいて、ファイル転送に要するコ
ンピュータ負荷を常時監視し、あらかじめ設定した閥値
内でコンピュータ資源をファイル転送に配分するように
して実現される。
According to a communication load control method of the present invention, in a computer system for transferring a file via a communication network, a computer load required for the file transfer is constantly monitored, and the computer load is controlled within a preset threshold value. This is realized by allocating resources to file transfer.

【0021】また、本発明の通信負荷制御方法は、通信
ドライバが通信手順制御に費やしたコンピュータ使用時
間を常時測定し、あらかじめ設定したコンピュータ使用
時間閥値と前記コンピュータ使用時間とを比較し、前者
が後者よりも小さいときには前記通信ドライバの通信ス
ループットを抑制するようにして実現される。
In the communication load control method according to the present invention, the computer usage time spent by the communication driver on controlling the communication procedure is constantly measured, and the computer usage time threshold value set in advance is compared with the computer usage time. Is smaller than the latter, it is realized by suppressing the communication throughput of the communication driver.

【0022】さらに、本発明の通信負荷制御装置は、通
信ドライバが通信手順制御に費やしたコンピュータ使用
時間を常時測定しコンピュータ使用時間値として送出す
るCPU使用時間測定手段と、あらかじめ設定したコン
ピュータ使用時間閥値を保持するCPU使用時間閥値設
定手段と、前記コンピュータ使用時間閥値と前記コンピ
ュータ使用時間値とを取り込んで両者を比較し前者が後
者よりも小さいときにはスループット抑制指示信号を送
出するCPU使用時間閥値判定手段と、前記スループッ
ト抑制指示信号に従って前記通信ドライバの通信スルー
プットを抑制するスループット抑制手段とを具備して構
成される。
Further, the communication load control device of the present invention comprises: a CPU usage time measuring means for constantly measuring the computer usage time spent by the communication driver for controlling the communication procedure and sending it out as a computer usage time value; CPU usage time threshold value setting means for holding a threshold value, and CPU usage for taking in the computer usage time threshold value and the computer usage time value, comparing the two, and sending a throughput suppression instruction signal when the former is smaller than the latter. It comprises time threshold value determining means and throughput suppressing means for suppressing the communication throughput of the communication driver according to the throughput suppressing instruction signal.

【0023】また、本発明の通信負荷制御装置におい
て、前記スループット抑制手段は通信ドライバの通信ウ
インドウサイズを縮小することによって通信スループッ
トを抑制するようにして構成される。
Further, in the communication load control device according to the present invention, the throughput suppressing means is configured to reduce the communication window size of the communication driver to suppress the communication throughput.

【0024】さらに、本発明の通信負荷制御装置のプロ
グラム記録媒体は、あらかじめ設定したコンピュータ使
用時間閥値を保持するステップと、通信ドライバが通信
手順制御に費やしたコンピュータ使用時間を常時測定し
コンピュータ使用時間値として送出するステップと、前
記コンピュータ使用時間閥値と前記コンピュータ使用時
間値とを取り込んで両者を比較し前者が後者よりも小さ
いときにはスループット抑制指示信号を送出するステッ
プと、前記スループット抑制指示信号に従って前記通信
ドライバの通信スループットを抑制するステップとを含
む。
Further, the program recording medium of the communication load control device according to the present invention includes a step of holding a computer usage time threshold value set in advance, and a method of constantly measuring the computer usage time spent by the communication driver for controlling the communication procedure. Sending as a time value; taking the computer use time threshold value and the computer use time value; comparing the two; and sending a throughput suppression instruction signal when the former is smaller than the latter; Suppressing the communication throughput of the communication driver according to the above.

【0025】また、本発明の通信負荷制御装置のプログ
ラム記録媒体は、あらかじめ設定したコンピュータ使用
時間閥値を保持するステップと、通信ドライバが通信手
順制御に費やしたコンピュータ使用時間を常時測定しコ
ンピュータ使用時間値として送出するステップと、前記
コンピュータ使用時間閥値と前記コンピュータ使用時間
値とを取り込んで両者を比較し前者が後者よりも小さい
ときにはスループット抑制指示信号を送出するステップ
と、前記スループット抑制指示信号に従って前記通信ド
ライバの通信ウインドウサイズを縮小することによって
通信スループットを抑制するステップとを含む。
Further, the program recording medium of the communication load control device according to the present invention includes a step of holding a computer use time threshold value set in advance, and a method of constantly measuring a computer use time spent by the communication driver on control of the communication procedure to use the computer. Sending as a time value; taking the computer use time threshold value and the computer use time value; comparing the two; and sending a throughput suppression instruction signal when the former is smaller than the latter; And reducing the communication throughput by reducing the communication window size of the communication driver.

【0026】[0026]

【発明の実施の形態】以下、本発明について図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0027】図1は本発明の実施の第一の形態を示すブ
ロック図である。同図において、本発明による通信負荷
制御装置は、コンピュータシステム5と、ネットワーク
7と、相手システム6とに含まれて構成される。
FIG. 1 is a block diagram showing a first embodiment of the present invention. In FIG. 1, the communication load control device according to the present invention is configured to be included in a computer system 5, a network 7, and a partner system 6.

【0028】コンピュータシステム5は、通信システム
1と、通信システム1を使用しネットワーク7を介して
相手システム6と通信する通信アプリケーション2と、
通常業務を行うアプリケーション3とを有する。そして
通信システム1は、通信ドライバ10と、CPU使用時
間測定手段11と、CPU使用時間閥値判定手段12
と、通信ドライバ10のスループットを抑制するスルー
プット抑制手段13と、CPU使用時間閥値設定手段1
4とを備えている。
The computer system 5 includes: a communication system 1; a communication application 2 that uses the communication system 1 to communicate with a partner system 6 via a network 7;
And an application 3 that performs normal tasks. The communication system 1 includes a communication driver 10, a CPU usage time measurement unit 11, a CPU usage time threshold value determination unit 12
And a throughput suppressing means 13 for suppressing the throughput of the communication driver 10 and a CPU usage time threshold value setting means 1
4 is provided.

【0029】通信アプリケーション2は、通信システム
1を用いて相手システム6とネットワーク7を介してデ
ータ転送やトランザクション処理などの通信業務を行
う。また、アプリケーション3は、通信システム1を使
用しない業務を行う。
The communication application 2 performs communication tasks such as data transfer and transaction processing with the partner system 6 via the network 7 using the communication system 1. The application 3 performs a task that does not use the communication system 1.

【0030】通信ドライバ10は、ネットワーク7を介
して相手システム6と通信するための通信手順を制御す
る。
The communication driver 10 controls a communication procedure for communicating with the partner system 6 via the network 7.

【0031】CPU使用時間測定手段11は、通信ドラ
イバ10が通信手順制御に費やしたCPU使用時間を常
時測定し、測定したCPU使用時間からCPU使用時間
値100を生成してCPU使用時間閥値判定手段12に
送付する。
The CPU usage time measuring means 11 constantly measures the CPU usage time spent by the communication driver 10 on the communication procedure control, generates a CPU usage time value 100 from the measured CPU usage time, and determines the CPU usage time threshold value. To the means 12.

【0032】CPU使用時間閥値判定手段12は、CP
U使用時間測定手段11から受け取ったCPU使用時間
値100とCPU使用時間閥値101とを比較して、ど
ちらの値が大きいかを判定する。その結果、CPU使用
時間閥値101が大きい場合は、CPU使用時間閥値判
定手段12は何もしない。他方、CPU使用時間値10
0が大きい場合は、スループット抑制手段13にスルー
プット抑制指示102を送付する。
The CPU usage time threshold value determination means 12
The CPU usage time value 100 received from the U usage time measurement means 11 is compared with the CPU usage time threshold value 101 to determine which value is larger. As a result, when the CPU usage time threshold value 101 is large, the CPU usage time threshold value determination means 12 does nothing. On the other hand, the CPU usage time value 10
When 0 is large, a throughput suppression instruction 102 is sent to the throughput suppression means 13.

【0033】スループット抑制手段13は、CPU使用
時間閥値判定手段12からスループット抑制指示102
を受け取ると、通信ドライバ10の通信ウインドウサイ
ズを縮小するなどの方法を用いて通信スループットを抑
制する。
The throughput suppression means 13 receives a throughput suppression instruction 102 from the CPU usage time threshold value determination means 12.
Is received, the communication throughput is suppressed by using a method such as reducing the communication window size of the communication driver 10.

【0034】CPU使用時間閥値設定手段14は、あら
かじめ設定されたCPU使用時間閥値101をCPU使
用時間閥値判定手段12に送付する。
The CPU usage time threshold value setting means 14 sends a preset CPU usage time threshold value 101 to the CPU usage time threshold value determination means 12.

【0035】図2は上記の通信負荷制御装置の動作を示
す流れ図である。同図において、まず、CPU使用時間
閥値設定手段14は、CPU使用時間閥値判定手段12
にCPU使用時間閥値101を設定する(ステップA
1)。一方、通信アプリケーション2は、通信システム
1を起動してデータ転送やトランザクション処理などの
通信業務を行う。また、通信システム1は、通信ドライ
バ10を用いてネットワーク7を介して相手システム6
と通信するための通信手段を実行する。
FIG. 2 is a flowchart showing the operation of the above-mentioned communication load control device. In the figure, first, the CPU usage time threshold value setting means 14
Is set to the CPU usage time threshold value 101 (step A
1). On the other hand, the communication application 2 activates the communication system 1 and performs communication tasks such as data transfer and transaction processing. In addition, the communication system 1 uses the communication driver 10 to
And a communication means for communicating with the server.

【0036】CPU使用時間測定手段11は、通信ドラ
イバ10が通信手順制御に費やしたCPU使用時間を常
時測定し、測定したCPU使用時間からCPU使用時間
値100を生成してCPU使用時間閥値判定手段12に
送付する(ステップA2)。
The CPU usage time measuring means 11 constantly measures the CPU usage time spent by the communication driver 10 on communication procedure control, generates a CPU usage time value 100 from the measured CPU usage time, and determines the CPU usage time threshold value. It is sent to the means 12 (step A2).

【0037】CPU使用時間閥値判定手段12は、CP
U使用時間測定手段11から受けとったCPU使用時間
値100とCPU使用時間閥値101とを比較して、ど
ちらの値が大きいかを判定する(ステップA3)。CP
U使用時間閥値101が大きい場合は、CPU使用時間
閥値判定手段12は何もしない。他方、CPU使用時間
値100が大きい場合は、CPU使用時間閥値判定手段
12はスループット抑制手段13にスループット抑制指
示102を送付する。
The CPU usage time threshold value judging means 12
The CPU usage time value 100 received from the U usage time measurement means 11 is compared with the CPU usage time threshold value 101 to determine which value is larger (step A3). CP
When the U usage time threshold value 101 is large, the CPU usage time threshold value determination means 12 does nothing. On the other hand, when the CPU usage time value 100 is large, the CPU usage time threshold value determination unit 12 sends a throughput suppression instruction 102 to the throughput suppression unit 13.

【0038】スループット抑制手段13は、CPU使用
時間閥値判定手段12からスループット抑制指示102
を受け取ると、通信ドライバ10の通信ウインドウサイ
ズを縮小する等の方法を用いて通信スループットを抑制
する(ステップA4)。そして通信ドライバ10は、ス
ループット抑制手段13によって通信ウインドウサイズ
を縮小等の方法で通信スループットを抑制されたことに
よって通信量が低下し、CPU使用時間が減少する。
The throughput suppression means 13 receives a throughput suppression instruction 102 from the CPU use time threshold value determination means 12.
Is received, the communication throughput is suppressed using a method such as reducing the communication window size of the communication driver 10 (step A4). In the communication driver 10, the communication throughput is suppressed by the method of reducing the communication window size by the throughput suppression unit 13 and the like, so that the communication amount is reduced and the CPU usage time is reduced.

【0039】以降、CPU使用時間値100がCPU使
用時間閥値101よりも小さくなるまでステップA2,
A3,A4をくりかえし実行する。
Thereafter, until the CPU usage time value 100 becomes smaller than the CPU usage time threshold value 101, steps A2 and
A3 and A4 are repeated.

【0040】上記の手段により、通信アプリケーション
2が起動された場合、通信システム1が費やすCPU使
用時間はあらかじめ設定されたCPU使用時間閥値10
1よりも小さくなるので、通信以外のアプリケーション
3の性能劣化を最小限に抑制することができる。
When the communication application 2 is started by the above means, the CPU usage time consumed by the communication system 1 is set to a predetermined CPU usage time threshold value of 10
Since it is smaller than 1, the performance degradation of the application 3 other than the communication can be minimized.

【0041】次に、上記の実施の第一の形態の効果につ
いて説明する。
Next, effects of the first embodiment will be described.

【0042】上記の通信負荷制御装置は、通信アプリケ
ーション2が動作したときのCPU使用時間をあらかじ
め指定した閥値以下に抑制する。したがって、通信以外
のアプリケーション3の性能劣化を最小限に抑制でき
る。
The above-described communication load control device suppresses the CPU usage time when the communication application 2 operates to be equal to or less than a predetermined threshold value. Therefore, performance degradation of the application 3 other than the communication can be suppressed to a minimum.

【0043】また、CPU使用時間閥値101を任意の
値に設定することにより、CPU負荷の程度を定量的な
任意の値に調整できる。
Also, by setting the CPU usage time threshold value 101 to an arbitrary value, the degree of CPU load can be adjusted to an arbitrary quantitative value.

【0044】また、通信アプリケーション2は通信シス
テム1に依存せずに独立して構築することができるの
で、通信アプリケーション2は必ずしもファイル転送ア
プリケーションである必要はなく、上記の通信負荷制御
装置を任意の通信アプリケーションに適用できる。
Further, since the communication application 2 can be constructed independently of the communication system 1, the communication application 2 does not necessarily have to be a file transfer application. Applicable to communication applications.

【0045】また、コンピュータシステム5は相手シス
テム6の通信負荷制御に依存せずに独立して構成するこ
とができる。したがって、相手システム6が必ずしも自
システムと同一の通信負荷制御装置をもつ必要がない。
Further, the computer system 5 can be configured independently without depending on the communication load control of the partner system 6. Therefore, the partner system 6 does not necessarily need to have the same communication load control device as the own system.

【0046】また、上記の通信負荷制御装置は、通信ア
プリケーション2が使用するデータ形式には依存しな
い。したがって、ファイルが圧縮されていない場合でも
CPU負荷を抑制する効果を発揮できる。
The communication load control device described above does not depend on the data format used by the communication application 2. Therefore, the effect of suppressing the CPU load can be exhibited even when the file is not compressed.

【0047】また、上記の通信負荷制御装置では、ネッ
トワーク7は実施の前提条件として必ずしもISDN網
である必要がない。したがって、上記の通信負荷制御装
置を任意のネットワークに適用することができる。
In the above-mentioned communication load control device, the network 7 does not necessarily need to be an ISDN network as a precondition for implementation. Therefore, the communication load control device described above can be applied to any network.

【0048】図3は本発明の実施の第二の形態を示すブ
ロック図である。同図において、コンピュータシステム
5aは通信システム1aを含み、通信システム1aは通
信ドライバとしてHigh level data l
ink control(以下、HDLCという。)手
順を制御するHDLCドライバ10aを備えている。他
の構成は図1と同じである。また、図4は上記の通信負
荷制御装置の動作例を示すシーケンス図である。
FIG. 3 is a block diagram showing a second embodiment of the present invention. In the figure, a computer system 5a includes a communication system 1a, and the communication system 1a serves as a communication driver for High level data l.
An HDLC driver 10a for controlling an ink control (hereinafter, referred to as HDLC) procedure is provided. Other configurations are the same as those in FIG. FIG. 4 is a sequence diagram showing an operation example of the communication load control device.

【0049】まず、図3を参照すると、CPU使用時間
閥値設定手段14を用いて、CPU使用時間閥値判定手
段12にCPU使用時間閥値101を設定する。閥値
は、使用可能なCPU時間を全てHDLCドライバ10
aで占有した場合を100%に換算した場合、0%より
大きく100%より小さい間で指定する。ただし、閥値
が0%に極めて近い場合、HDLCドライバ10aがC
PUを殆ど使用出来ないことになるので、指定する意味
がない。同様に閥値が100%に極めて近い場合、利用
可能なCPU時間を殆ど全てHDLCドライバ10aが
占有することになるので、これも意味がない。したがっ
て、通常は閥値としては10%〜90%の間で指定する
のが望ましい。
First, referring to FIG. 3, the CPU usage time threshold value setting means 14 is used to set the CPU usage time threshold value 101 in the CPU usage time threshold value determination means 12. The threshold value indicates that all available CPU time is set to the HDLC driver 10
When the area occupied by a is converted to 100%, the value is specified between 0% and 100%. However, if the threshold value is very close to 0%, the HDLC driver 10a
There is no point in specifying the PU because almost no PU can be used. Similarly, if the threshold value is very close to 100%, almost all available CPU time is occupied by the HDLC driver 10a, so this is meaningless. Therefore, it is usually desirable to specify a threshold value between 10% and 90%.

【0050】通信アプリケーション2がデータ送信を始
めると、HDLCドライバ10aは通信アプリケーショ
ンより受け取った送信データから情報フレーム(以下、
Iフレームという。)を生成して、送信アウトスタンデ
ィング数N1フレーム分の連続送信を行う(図4(a)
参照)。送信アウトスタンディング数とは、HDLC手
順で規定されているパラメータであって、Iフレームの
送達確認フレーム(以下、RRフレームという。)を待
たずに連続送信できるIフレームの数であり、1以上の
値をとる。送信アウトスタンディング数が大きいほど連
続して送信されるIフレーム数が増加し、通信スループ
ットは向上するが、その一方で単位時間当たりに動作す
るHDLCドライバ10aの動作頻度も増加する結果、
単位時間当たりに消費するCPU時間も増加する。
When the communication application 2 starts data transmission, the HDLC driver 10a converts the transmission data received from the communication application into an information frame (hereinafter, referred to as an information frame).
It is called an I frame. ) Is generated, and continuous transmission is performed for the number N1 of transmitting outstanding figures (FIG. 4A).
reference). The number of transmitting outstandings is a parameter defined in the HDLC procedure, and is the number of I-frames that can be continuously transmitted without waiting for an I-frame acknowledgment frame (hereinafter referred to as an RR frame). Take a value. As the number of transmission outstandings increases, the number of I-frames that are continuously transmitted increases, and the communication throughput improves. On the other hand, the operation frequency of the HDLC driver 10a that operates per unit time also increases.
CPU time consumed per unit time also increases.

【0051】CPU使用時間測定手段11は、HDLC
ドライバ10aが通信手順制御に費やしたCPU使用時
間を常時測定する。CPU使用時間は、HDLCドライ
バ10aが動作を開始した時刻と動作を終了した時刻と
の差分を算出し、その差分を積算することで測定でき
る。測定したCPU使用時間からCPU使用時間値10
0を生成してCPU使用時間閥値判定手段12に送付す
る。
The CPU usage time measuring means 11 is an HDLC
The driver 10a constantly measures the CPU usage time spent for controlling the communication procedure. The CPU usage time can be measured by calculating the difference between the time when the HDLC driver 10a starts operating and the time when the operation ends, and integrating the difference. CPU usage time value 10 based on measured CPU usage time
0 is generated and sent to the CPU usage time threshold value determination means 12.

【0052】CPU使用時間閥値判定手段12は、CP
U使用時間測定手段11から受けとったCPU使用時間
値100とCPU使用時間閥値101とを比較する。比
較は、ある定期時間(例えば、1ミリ秒)毎に、CPU
使用時間値100が定期時間内に占める割合を算出し、
その割合とCPU使用時間閥値101との大小関係を判
定することで比較できる。比較の結果、CPU使用時間
値100の方が大きいと判断した場合は、スループット
抑制手段13にスループット抑制指示102を送付す
る。
The CPU usage time threshold value judging means 12
The CPU usage time value 100 received from the U usage time measuring means 11 is compared with the CPU usage time threshold value 101. The comparison is performed at regular time intervals (for example, 1 millisecond) by the CPU.
Calculate the percentage of usage time value 100 within the regular time,
A comparison can be made by determining the magnitude relationship between the ratio and the CPU usage time threshold value 101. As a result of the comparison, when it is determined that the CPU usage time value 100 is larger, a throughput suppression instruction 102 is sent to the throughput suppression means 13.

【0053】スループット抑制手段13は、CPU使用
時間閥値判定手段12からスループット抑制指示102
を受けとると、HDLCドライバ10aの送信アウトス
タンディング数を1減らす(図4(b)参照)。HDL
Cドライバ10aの送信アウトスタンディング数が減る
とHDLCドライバ10aの動作頻度も減少して単位時
間当たりに消費するCPU時間も減少する。
The throughput suppression means 13 receives a throughput suppression instruction 102 from the CPU usage time threshold value determination means 12.
Upon receiving this, the number of transmitting outstandings of the HDLC driver 10a is reduced by 1 (see FIG. 4B). HDL
When the number of transmitting outstandings of the C driver 10a decreases, the operation frequency of the HDLC driver 10a also decreases, and the CPU time consumed per unit time also decreases.

【0054】以降、CPU使用時間値100がCPU使
用時間閥値101よりも小さくなるまで図2のステップ
A2,A3,A4をくりかえし実行し、HDLCドライ
バ10aの送信アウトスタンディング数を減らし続け
る。
Thereafter, steps A2, A3 and A4 of FIG. 2 are repeatedly executed until the CPU usage time value 100 becomes smaller than the CPU usage time threshold value 101, and the number of transmitting outstandings of the HDLC driver 10a is continuously reduced.

【0055】図5は本発明の実施の第三の形態を示すブ
ロック図である。同図において、コンピュータシステム
5bは通信負荷制御プログラムを記録した記録媒体4を
備える。この記録媒体4は、磁気ディスク,半導体メモ
リ,その他の記録媒体であってよい。
FIG. 5 is a block diagram showing a third embodiment of the present invention. In the figure, a computer system 5b includes a recording medium 4 on which a communication load control program is recorded. The recording medium 4 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0056】通信負荷制御プログラムは記録媒体4から
通信システム1bに読み込まれ、通信システム1bの動
作を制御する。通信システム1bは、通信負荷制御プロ
グラムの制御により、図1における通信システム1また
は図3における通信システム1aと同一の処理を実行す
る。すなわち、通信アプリケーション2が、通信システ
ム1bを起動してデータ転送やトランザクション処理等
の通信業務を開始し、このとき通信システム1bはネッ
トワーク7を介して相手システムbと通信するための通
信手順を実行する。通信手順が実行されると、通信手順
制御に費やしたCPU使用時間を常時測定し、測定した
CPU使用時間があらかじめ設定されたCPU使用時間
閥値よりも大きい場合は、CPU使用時間がCPU使用
時間閥値よりも小さくなるまで、通信スループットを抑
制する。
The communication load control program is read from the recording medium 4 into the communication system 1b, and controls the operation of the communication system 1b. The communication system 1b executes the same processing as the communication system 1 in FIG. 1 or the communication system 1a in FIG. 3 under the control of the communication load control program. That is, the communication application 2 activates the communication system 1b to start communication operations such as data transfer and transaction processing. At this time, the communication system 1b executes a communication procedure for communicating with the partner system b via the network 7. I do. When the communication procedure is executed, the CPU usage time spent on the communication procedure control is constantly measured, and if the measured CPU usage time is larger than a preset CPU usage time threshold value, the CPU usage time is measured. The communication throughput is suppressed until it becomes smaller than the threshold value.

【0057】[0057]

【発明の効果】以上、詳細に説明したように、本発明に
よれば次の効果が得られる。
As described above, according to the present invention, the following effects can be obtained.

【0058】第一の効果は、通信ドライバのCPU使用
時間の程度を定量的な任意の値に調整できる。この結
果、通信アプリケーションと他のアプリケーションのC
PU負荷の程度の割合を調整することができる。その理
由は、CPU使用時間閥値をあらかじめ希望の値に設定
しておくことで、通信ドライバのCPU使用時間の上限
を自由に選択できるからである。
The first effect is that the degree of CPU usage time of the communication driver can be adjusted to a quantitatively arbitrary value. As a result, the C of the communication application and another application
The ratio of the degree of PU load can be adjusted. The reason is that by setting the CPU usage time threshold value to a desired value in advance, the upper limit of the CPU usage time of the communication driver can be freely selected.

【0059】第二の効果は、ファイル転送以外の任意の
通信アプリケーションに本発明を適用できる。したがっ
て、利用可能な通信アプリケーションの範囲が広がり、
例えばトランザクション処理を行う通信アプリケーショ
ンを使用する場合にも通信負荷を制御できる。その理由
は、本発明が通信アプリケーションとは構成上および動
作上のいづれにも依存していないからである。
The second effect is that the present invention can be applied to any communication application other than file transfer. Thus, the range of available communication applications expands,
For example, even when a communication application that performs transaction processing is used, the communication load can be controlled. The reason is that the present invention does not depend on the communication application either in terms of configuration or operation.

【0060】第三の効果は、相手システムが自システム
と同一の通信負荷制御を備える必要がない。すなわち、
相手システムはそのまま変更せずに、自システムの変更
だけで通信負荷制御を実現できる。その理由は、本発明
が相手システムとは構成上および動作上のいづれにも依
存していないからである。
The third effect is that the partner system does not need to have the same communication load control as the own system. That is,
Communication load control can be realized only by changing the own system without changing the other system. The reason is that the present invention does not depend on the configuration and operation of the partner system.

【0061】第四の効果は、ファイルが圧縮されていな
い場合でもCPU負荷を抑制する効果を発揮することが
できる。その理由は、本発明が通信データの内容とは構
成上および動作上のいづれにも依存していないからであ
る。
The fourth effect is that the CPU load can be suppressed even when the file is not compressed. The reason is that the present invention does not depend on the contents of the communication data either in terms of configuration or operation.

【0062】第五の効果は、任意のネットワークに適用
できる通信負荷制御を提供することができる。その理由
は、本発明がネットワークの種類とは構成上および動作
上のいづれにも依存していないからである。
The fifth effect is that it is possible to provide communication load control applicable to any network. The reason is that the present invention does not depend on the type of the network either in terms of configuration or operation.

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

【図1】本発明の実施の第一の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の動作を示す流れ図である。FIG. 2 is a flowchart showing the operation of the present invention.

【図3】本発明の実施の第二の形態を示すブロック図で
ある。
FIG. 3 is a block diagram showing a second embodiment of the present invention.

【図4】本発明の実施の第二の形態の動作例を示すシー
ケンス図である。
FIG. 4 is a sequence diagram showing an operation example of the second embodiment of the present invention.

【図5】本発明の実施の第三の形態を示すブロック図で
ある。
FIG. 5 is a block diagram showing a third embodiment of the present invention.

【図6】従来例を示すブロック図である。FIG. 6 is a block diagram showing a conventional example.

【図7】他の従来例を示すブロック図である。FIG. 7 is a block diagram showing another conventional example.

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

1 通信システム 2 通信アプリケーション 3 アプリケーション 4 記録媒体 5 コンピュータシステム 6 相手システム 7 ネットワーク 10 通信ドライバ 11 CPU使用時間測定手段 12 CPU使用時間閥値判定手段 13 スループット抑制手段 14 CPU使用時間閥値設定手段 100 CPU使用時間値 101 CPU使用時間閥値 102 スループット抑制指示 REFERENCE SIGNS LIST 1 communication system 2 communication application 3 application 4 recording medium 5 computer system 6 partner system 7 network 10 communication driver 11 CPU usage time measurement means 12 CPU usage time threshold value determination means 13 throughput suppression means 14 CPU usage time threshold value setting means 100 CPU Usage time value 101 CPU usage time value 102 Throughput suppression instruction

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信ネットワークを介してファイル転送
を行うコンピュータシステムにおいて、ファイル転送に
要するコンピュータ負荷を常時監視し、あらかじめ設定
した閥値内でコンピュータ資源をファイル転送に配分す
ることを特徴とする通信負荷制御方法。
1. A computer system for performing file transfer via a communication network, wherein a computer load required for file transfer is constantly monitored, and computer resources are allocated to file transfer within a preset threshold. Load control method.
【請求項2】 通信ドライバが通信手順制御に費やした
コンピュータ使用時間を常時測定し、あらかじめ設定し
たコンピュータ使用時間閥値と前記コンピュータ使用時
間とを比較し、前者が後者よりも小さいときには前記通
信ドライバの通信スループットを抑制することを特徴と
する通信負荷制御方法。
2. The communication driver constantly measures a computer usage time spent for controlling a communication procedure, compares a computer usage time threshold value set in advance with the computer usage time, and when the former is smaller than the latter, the communication driver A communication load control method characterized by suppressing communication throughput.
【請求項3】 通信ドライバが通信手順制御に費やした
コンピュータ使用時間を常時測定しコンピュータ使用時
間値として送出するCPU使用時間測定手段と、あらか
じめ設定したコンピュータ使用時間閥値を保持するCP
U使用時間閥値設定手段と、前記コンピュータ使用時間
閥値と前記コンピュータ使用時間値とを取り込んで両者
を比較し前者が後者よりも小さいときにはスループット
抑制指示信号を送出するCPU使用時間閥値判定手段
と、前記スループット抑制指示信号に従って前記通信ド
ライバの通信スループットを抑制するスループット抑制
手段とを具備することを特徴とする通信負荷制御装置。
3. A CPU usage time measuring means for constantly measuring a computer usage time spent by the communication driver for controlling a communication procedure and transmitting the computer usage time value as a computer usage time value, and a CP for holding a preset computer usage time threshold value.
U usage time threshold value setting means, and CPU usage time threshold value determination means for receiving the computer usage time threshold value and the computer usage time value, comparing the two, and sending a throughput suppression instruction signal when the former is smaller than the latter. A communication load control device, comprising: a throughput suppression unit configured to suppress a communication throughput of the communication driver in accordance with the throughput suppression instruction signal.
【請求項4】 請求項3記載の通信負荷制御装置におい
て、前記スループット抑制手段は通信ドライバの通信ウ
インドウサイズを縮小することによって通信スループッ
トを抑制することを特徴とする通信負荷制御装置。
4. The communication load control device according to claim 3, wherein said throughput suppression means suppresses communication throughput by reducing a communication window size of a communication driver.
【請求項5】 あらかじめ設定したコンピュータ使用時
間閥値を保持するステップと、通信ドライバが通信手順
制御に費やしたコンピュータ使用時間を常時測定しコン
ピュータ使用時間値として送出するステップと、前記コ
ンピュータ使用時間閥値と前記コンピュータ使用時間値
とを取り込んで両者を比較し前者が後者よりも小さいと
きにはスループット抑制指示信号を送出するステップ
と、前記スループット抑制指示信号に従って前記通信ド
ライバの通信スループットを抑制するステップとを含む
ことを特徴とする通信負荷制御装置のプログラム記録媒
体。
5. A step of storing a computer usage time threshold value set in advance, a step of constantly measuring a computer usage time spent by the communication driver for controlling a communication procedure, and transmitting the computer usage time value as a computer usage time value. Capturing a value and the computer use time value, comparing the two, and transmitting a throughput suppression instruction signal when the former is smaller than the latter, and suppressing the communication throughput of the communication driver according to the throughput suppression instruction signal. A program recording medium for a communication load control device, characterized by comprising:
【請求項6】 あらかじめ設定したコンピュータ使用時
間閥値を保持するステップと、通信ドライバが通信手順
制御に費やしたコンピュータ使用時間を常時測定しコン
ピュータ使用時間値として送出するステップと、前記コ
ンピュータ使用時間閥値と前記コンピュータ使用時間値
とを取り込んで両者を比較し前者が後者よりも小さいと
きにはスループット抑制指示信号を送出するステップ
と、前記スループット抑制指示信号に従って前記通信ド
ライバの通信ウインドウサイズを縮小することによって
通信スループットを抑制するステップとを含むことを特
徴とする通信負荷制御装置のプログラム記録媒体。
6. A step of holding a computer usage time threshold value set in advance, a step of constantly measuring a computer usage time spent by the communication driver on controlling a communication procedure and transmitting the same as a computer usage time value; A step of transmitting a throughput suppression instruction signal when the former is smaller than the latter by taking in the value and the computer use time value, and reducing the communication window size of the communication driver according to the throughput suppression instruction signal. And a step of suppressing communication throughput.
JP32340497A 1997-11-25 1997-11-25 Communication load control method, its device, and its program recording medium Expired - Fee Related JP3237592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32340497A JP3237592B2 (en) 1997-11-25 1997-11-25 Communication load control method, its device, and its program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32340497A JP3237592B2 (en) 1997-11-25 1997-11-25 Communication load control method, its device, and its program recording medium

Publications (2)

Publication Number Publication Date
JPH11161565A JPH11161565A (en) 1999-06-18
JP3237592B2 true JP3237592B2 (en) 2001-12-10

Family

ID=18154343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32340497A Expired - Fee Related JP3237592B2 (en) 1997-11-25 1997-11-25 Communication load control method, its device, and its program recording medium

Country Status (1)

Country Link
JP (1) JP3237592B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002268650A (en) * 2001-03-07 2002-09-20 Matsushita Electric Ind Co Ltd Portable radio terminal having music data downloading function
US7280931B1 (en) * 2006-05-18 2007-10-09 International Business Machines Corporation Method and system for calibrating an electrical device
JP2010258692A (en) * 2009-04-23 2010-11-11 Murata Machinery Ltd Communication device

Also Published As

Publication number Publication date
JPH11161565A (en) 1999-06-18

Similar Documents

Publication Publication Date Title
US6434643B1 (en) Transmission of status information by a selected one of multiple transfer modes based on the cause for sending the status information
TWI427479B (en) Control method, system, computer program product, computer readable medium in fibre channel communications
JP3190813B2 (en) Delivery system
JP3127523B2 (en) Communication control device and data transmission method
US6826622B2 (en) Method of transferring data between memories of computers
EP0844566B1 (en) Interface apparatus for adapting data width to system bus width
JP4463892B2 (en) Data transfer control method, data processing apparatus, and storage medium
JP3237592B2 (en) Communication load control method, its device, and its program recording medium
US6058440A (en) Programmable and adaptive resource allocation device and resource use recorder
US7353298B2 (en) Data transfer processing method
JPH09331370A (en) Data communication equipment
JPH11175260A (en) Disk array controller and controlling method therefor
JP3145095B2 (en) Facsimile machine
KR0135813B1 (en) Mpeg data transmission method and device
JP2715815B2 (en) Data writing method
US6681260B1 (en) Data transfer method in function expansion system
JP2658931B2 (en) Printer controller
JPH09204311A (en) Information processing system
JP2636206B2 (en) Information processing system
JP2001256168A (en) Usb device
JP2002335298A (en) Communication unit and its control method, and program
US20060218441A1 (en) Method for accessing shared memories and multiprocessor system using the method
JP2000071570A (en) Method and apparatus for printing control and recording medium
JPH11196097A (en) Data communication control device and method therefor
JPH09240076A (en) Printer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010904

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

Free format text: PAYMENT UNTIL: 20071005

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081005

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091005

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees