JP2912225B2 - Communication processing system - Google Patents

Communication processing system

Info

Publication number
JP2912225B2
JP2912225B2 JP8096643A JP9664396A JP2912225B2 JP 2912225 B2 JP2912225 B2 JP 2912225B2 JP 8096643 A JP8096643 A JP 8096643A JP 9664396 A JP9664396 A JP 9664396A JP 2912225 B2 JP2912225 B2 JP 2912225B2
Authority
JP
Japan
Prior art keywords
distribution
transaction
server
communication processing
distribution destination
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
JP8096643A
Other languages
Japanese (ja)
Other versions
JPH09282287A (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.)
SHIKOKU NIPPON DENKI SOFUTOEA KK
NEC Corp
Original Assignee
SHIKOKU NIPPON DENKI SOFUTOEA KK
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHIKOKU NIPPON DENKI SOFUTOEA KK, Nippon Electric Co Ltd filed Critical SHIKOKU NIPPON DENKI SOFUTOEA KK
Priority to JP8096643A priority Critical patent/JP2912225B2/en
Publication of JPH09282287A publication Critical patent/JPH09282287A/en
Application granted granted Critical
Publication of JP2912225B2 publication Critical patent/JP2912225B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の端末からト
ランザクションを受信して、複数の並列処理サーバにト
ランザクションを分配する通信処理装置を有する通信処
理システムに関し、特に、効率的な負荷分散を行う通信
処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication processing system having a communication processing device that receives a transaction from a plurality of terminals and distributes the transaction to a plurality of parallel processing servers, and in particular, performs efficient load distribution. It relates to a communication processing system.

【0002】[0002]

【従来の技術】複数の端末からトランザクションを受信
して、複数の並列処理サーバにトランザクションを分配
する通信処理装置を有する通信処理システムにおいて、
従来は、(1)通信処理装置が、トランザクションの発
信元の端末ごとにトランザクションを通知するサーバを
固定的に決定する方法や、(2)通信処理装置が受信す
るトランザクションの順番で通知するサーバを決定する
方法がとられている。
2. Description of the Related Art In a communication processing system having a communication processing device that receives a transaction from a plurality of terminals and distributes the transaction to a plurality of parallel processing servers,
Conventionally, (1) a method in which the communication processing device fixedly determines a server to which a transaction is notified for each terminal of a transaction source, and (2) a server in which the communication processing device notifies a server in the order of transactions received. The way to decide is taken.

【0003】また、たとえば、従来技術として(3)
「特開昭63−318662号公報」記載の「トランザ
クション処理の負荷分散方式」がある。この技術につい
て、トランザクション処理の負荷分散システムのブロッ
ク図である図3を参照して説明する。
[0003] For example, (3)
There is a "transaction processing load distribution method" described in "JP-A-63-318662". This technique will be described with reference to FIG. 3, which is a block diagram of a transaction processing load distribution system.

【0004】各CPU1、2、3の共用メモリ装置4内
に入力トランザクション処理キュー5と各CPU1、
2、3に対応した出力メッセージキュー6、7、8を設
けられる。
In the shared memory device 4 of each of the CPUs 1, 2, and 3, an input transaction processing queue 5 and
Output message queues 6, 7, 8 corresponding to 2, 3 are provided.

【0005】各CPU1、2、3への入力トランザクシ
ョンは全て入力トランザクションキュー5に登録され、
各CPU1、2、3はひとつのトランザクション処理が
終わる毎に入力トランザクション処理キュー5から次の
トランザクションを取り出して処理を行い、この結果生
じた出力メッセージを該当CPU対応の出力メッセージ
キュー6、7、8に登録する。
All input transactions to each of the CPUs 1, 2, and 3 are registered in an input transaction queue 5.
Each of the CPUs 1, 2, and 3 takes out the next transaction from the input transaction processing queue 5 every time one transaction processing is completed and performs processing. The resulting output message is output message queues 6, 7, and 8 corresponding to the CPU. Register with.

【0006】各CPUは、ひとつの処理が終わる毎に次
のトランザクションを取り出すので、各CPUのトラン
ザクション処理の所要時間にばらつきがあっても負荷は
均等に分散される。
Each CPU takes out the next transaction every time one process is completed. Therefore, even if the time required for the transaction processing of each CPU varies, the load is evenly distributed.

【0007】また、通信処理装置であるCCP9、1
0、11は、それぞれ、CPU1、2、3に接続され異
なる端末とのプロトコルを制御している。
Further, the communication processing devices CCP9, CCP9,
Reference numerals 0 and 11 are connected to the CPUs 1, 2, and 3, respectively, and control protocols with different terminals.

【0008】[0008]

【発明が解決しようとする課題】上述した従来の
(1)、(2)の技術の問題点は、通信処理装置が、サ
ーバの処理能力や負荷状態に変動が生じてもサーバへの
トランザクションの負荷をすぐには調節できないことで
ある。その理由は、通信処理装置が、時系列での各サー
バの処理能力や負荷状態の変動を知る術がなかったの
で、各サーバの処理能力や負荷状態によらず均等に各サ
ーバにトランザクションを分配してしまい、効果的なト
ランザクションの負荷分散が望めないからである。
The problems of the above-mentioned prior arts (1) and (2) are that the communication processing device cannot transfer transactions to the server even if the processing capacity or load state of the server fluctuates. The load cannot be adjusted immediately. The reason is that there was no way for the communication processing device to know the fluctuations in the processing capacity and load status of each server in a time series, so transactions were distributed evenly to each server regardless of the processing capacity and load status of each server. This is because effective transaction load distribution cannot be expected.

【0009】また、上述した(3)の技術の問題点は、
通信制御装置CCPが各CPUに接続されているため、
CCP全体のハードウェア量が増大することである。
Further, the problem of the above-mentioned technique (3) is as follows.
Since the communication control device CCP is connected to each CPU,
This means that the hardware amount of the entire CCP increases.

【0010】本発明の目的は、複数の端末からトランザ
クションを受信して、複数の並列処理サーバにトランザ
クションを分配する通信処理装置を有する通信処理シス
テムにおいて、通信処理装置が、各サーバの処理能力や
負荷状態の変動を検知して各サーバへのトランザクショ
ンの分配比率を動的に変更させることにより、各サーバ
の処理能力や負荷状態に応じて、複数の端末から受信す
るトランザクションを効果的に各サーバへ分配すること
を少ないハードウェア量で実現することである。
[0010] An object of the present invention is to provide a communication processing system having a communication processing device for receiving a transaction from a plurality of terminals and distributing the transaction to a plurality of parallel processing servers. By detecting changes in the load status and dynamically changing the transaction distribution ratio to each server, transactions received from multiple terminals can be effectively processed by each server according to the processing capacity and load status of each server. Distribution to a small amount of hardware.

【0011】[0011]

【課題を解決するための手段】本発明の第1の通信処理
システムは、複数の端末からトランザクションを受信し
て、複数の並列処理サーバにトランザクションを分配す
る通信処理装置を有する通信処理システムであって、前
記通信処理装置が、各前記並列処理サーバのトランザク
ション処理能力に比例する前記並列処理サーバ毎の分配
比率を記憶する分配比率表と、各前記並列処理サーバに
トランザクション処理能力を一定時間ごとに問い合わせ
前記分配比率を決定し前記分配比率表に記憶・更新させ
る分配比率計算手段と、前記端末から受信されるトラン
ザクションが分配される各前記並列処理サーバを示すサ
ーバ識別情報を前記分配比率にしたがって各エントリに
記憶する分配先登録表と、乱数に基づく順序で前記分配
先登録表の各エントリを示すエントリ番号を保持するイ
ンデックス表と、前記分配比率表および前記インデック
ス表を参照し前記サーバ識別情報を前記分配先登録表に
記憶・更新させる分配先更新手段と、前記分配先登録表
のエントリ番号を保持しインクリメントされるカウンタ
と、前記カウンタの保持するエントリ番号で指し示され
る前記分配先登録表のエントリに記憶されている前記サ
ーバ識別情報に対応する各前記並列処理サーバに対して
前記端末から受信されるトランザクションを分配し前記
カウンタをインクリメントさせるトランザクション分配
手段と、を備える。
A first communication processing system according to the present invention is a communication processing system having a communication processing device that receives a transaction from a plurality of terminals and distributes the transaction to a plurality of parallel processing servers. And the communication processing device is configured to execute a transaction of each of the parallel processing servers.
Distribution for each parallel processing server proportional to the processing capacity
A distribution ratio table storing the ratio, and
Query transaction processing capacity at regular intervals
Determine the distribution ratio and store / update in the distribution ratio table
Distribution ratio calculating means, and a transaction received from the terminal.
A service indicating each of the parallel processing servers to which the transaction is distributed.
Server identification information in each entry according to the distribution ratio.
The distribution destination registration table to be stored and the distribution in the order based on random numbers
An entry holding an entry number indicating each entry in the destination registration table
Index table, the distribution ratio table and the index
The server identification information in the distribution destination registration table with reference to the
Distribution destination updating means for storing and updating, and the distribution destination registration table
Counter that holds the entry number of
And the entry number held by the counter
The service stored in the entry of the distribution destination registration table
For each of the parallel processing servers corresponding to the server identification information,
Distribute the transaction received from the terminal and
Transaction distribution that increments the counter
Means .

【0012】本発明の第2の通信処理システムは、第1
の通信処理システムであって、前記複数の並列処理サー
バと前記通信処理装置とをファイバ・ディストリビュー
デッド・データ・インタフェースで接続する。
A second communication processing system according to the present invention comprises:
Communication processing system, wherein the plurality of parallel processing servers and the communication processing device are connected by a fiber distributed data interface.

【0013】[0013]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0014】図1は、本発明の通信処理システムのブロ
ック図である。
FIG. 1 is a block diagram of a communication processing system according to the present invention.

【0015】図1を参照すると、本発明の通信処理シス
テムは、複数の端末30と、並列動作する複数のサーバ
10と、全端末30からトランザクションを受信して複
数のサーバ10に分配する通信処理装置20とから構成
される。
Referring to FIG. 1, a communication processing system according to the present invention includes a plurality of terminals 30, a plurality of servers 10 operating in parallel, and a communication processing for receiving transactions from all terminals 30 and distributing the transactions to the plurality of servers 10. And an apparatus 20.

【0016】また、通信処理装置20は、分配比率計算
手段201と、分配先更新手段202と、トランザクシ
ョン分配手段203と、分配比率表211と、インデッ
クス表212と、分配先登録表213と、カウンタ21
4とを有する。
The communication processing device 20 includes a distribution ratio calculation unit 201, a distribution destination updating unit 202, a transaction distribution unit 203, a distribution ratio table 211, an index table 212, a distribution destination registration table 213, a counter 21
And 4.

【0017】分配比率表211は、各サーバ毎のサーバ
識別情報と、そのサーバに分配するトランザクションの
分配比率とを記憶する。
The distribution ratio table 211 stores server identification information for each server and the distribution ratio of transactions distributed to the server.

【0018】インデックス表212は乱数を元に作成さ
れたものであり、各エントリに分配先登録表213のエ
ントリ番号を保持している。
The index table 212 is created based on random numbers, and each entry holds the entry number of the distribution destination registration table 213.

【0019】分配先登録表213は各エントリ毎にトラ
ンザクションを分配する各サーバ10のサーバ識別情報
を記憶する。
The distribution destination registration table 213 stores server identification information of each server 10 that distributes a transaction for each entry.

【0020】カウンタ214は、分配先登録表213の
エントリ番号を記憶する。
The counter 214 stores the entry number of the distribution destination registration table 213.

【0021】分配比率計算手段201は各サーバ10の
処理能力や負荷を検出して各サーバ10へのトランザク
ション分配比率を決定し分配比率表211を更新する。
このとき分配比率表211に登録される分配比率の合計
値は、インデックス表212及び分配先登録表213の
エントリ数に等しくする。
The distribution ratio calculating means 201 detects the processing capacity and load of each server 10, determines the transaction distribution ratio to each server 10, and updates the distribution ratio table 211.
At this time, the total value of the distribution ratios registered in the distribution ratio table 211 is equal to the number of entries in the index table 212 and the distribution destination registration table 213.

【0022】分配先更新手段202は、分配比率表21
1とインデックス表212を参照して分配先登録表21
3を更新する。
The distribution destination updating means 202 stores the distribution ratio table 21
1 and the index table 212, the distribution destination registration table 21
Update 3

【0023】トランザクション分配手段203は、カウ
ンタ214が指す分配先登録表213のエントリからサ
ーバ識別情報を求めて受信したトランザクションを、そ
のサーバ識別情報により指定されたサーバ10に分配
し、カウンタ214に1を加算する。
The transaction distribution means 203 distributes a transaction obtained by obtaining server identification information from the entry of the distribution destination registration table 213 indicated by the counter 214 to the server 10 specified by the server identification information. Is added.

【0024】また、図1の通信処理システムにおいて、
通信処理装置20と複数のサーバ10間の通信はファイ
バ・ディストリビューデッド・データ・インタフェース
(FDDI)を介して行い、通信処理装置20と複数の
端末30間の通信はLANを介して行う構成などが可能
である。
In the communication processing system shown in FIG.
Communication between the communication processing device 20 and the plurality of servers 10 is performed via a fiber distributed data interface (FDDI), and communication between the communication processing device 20 and the plurality of terminals 30 is performed via a LAN. It is possible.

【0025】図2は、トランザクション分配の動作を示
すブロック図である。
FIG. 2 is a block diagram showing the operation of transaction distribution.

【0026】次に、本発明の動作について図1、図2を
用いて詳細に説明する。
Next, the operation of the present invention will be described in detail with reference to FIGS.

【0027】通信処理装置内において、一定時間毎に以
下の(1)〜(7)の処理が繰り返えされる。
In the communication processing device, the following processes (1) to (7) are repeated at regular intervals.

【0028】(1)分配比率計算手段201は、サーバ
10へ処理能力を問い合わせ、各サーバは自分のCPU
の処理能力や負荷状態から処理能力を表す数値(以下、
処理能力値)を分配比率計算手段201に通知する。
(1) The distribution ratio calculating means 201 inquires of the server 10 about the processing capacity, and each server has its own CPU.
From the processing capacity and load state of the
(Processing capacity value) to the distribution ratio calculation means 201.

【0029】(2)分配比率計算手段201は、各サー
バの処理能力値の相対比から、各サーバ毎のトランザク
ション分配比率を、インデックス表212及び分配先登
録表213のエントリ数と、トランザクション分配比率
の合計が等しくなるように決定する。
(2) The distribution ratio calculating means 201 calculates the transaction distribution ratio of each server from the relative ratio of the processing capability values of each server, the number of entries in the index table 212 and the distribution destination registration table 213, and the transaction distribution ratio. Are determined to be equal.

【0030】以下にトランザクション分配比率の定義を
一般式を用いて表す。
The definition of the transaction distribution ratio will be described below using a general formula.

【0031】インデックス表212及び分配先登録表2
13のエントリ数をE、各サーバの処理能力値Gn(n
=0,1,,,)(G0から順に処理能力値の高い順に
設定する。)、Gnの総和をW、 mod(Gn*E,W)=Cn、 各サーバの分配比率をSn(n=0,1,,,)とす
る。
Index table 212 and distribution destination registration table 2
13, the number of entries is E, and the processing capacity value Gn (n
= 0, 1,...) (Set in the order of higher processing capability values from G0), the sum of Gn is W, mod (Gn * E, W) = Cn, and the distribution ratio of each server is Sn (n = 0,1 ,,,).

【0032】Cn=0のとき、各サーバのトランザクシ
ョン分配比率Snは以下の式で決定する。
When Cn = 0, the transaction distribution ratio Sn of each server is determined by the following equation.

【0033】 Sn=Gn*E/W ....(i) Cn=0でないとき(Gn*E/W)≧1ならば S’n=(Gn*E−Cn)/W ....(ii) (Gn*E/W)<1ならば S’n=1....(iii) Z=(S’nの総和) とおく。Sn = Gn * E / W. . . . (I) When Cn is not 0 and (Gn * E / W) ≧ 1, S'n = (Gn * E−Cn) / W. . . . (Ii) If (Gn * E / W) <1, S'n = 1. . . . (Iii) Z = (sum of S'n).

【0034】E≧Zのとき、 α) a=E−Zとしてa=0になるまで以下の(i
v),(v),(vi)を繰り返す。なお、nが全サー
バ数と一致したらn=0として繰り返しを続行する。
When E ≧ Z, α) as a = EZ, the following (i) until a = 0
v), (v) and (vi) are repeated. When n is equal to the total number of servers, n = 0 is set and the repetition is continued.

【0035】 S’n=S’n+1 ....(iv) a=a−1 ....(v) n=n+1 ....(vi) β) a=0となったとき、各サーバのトランザクショ
ン分配比率Snは以下の式で決定する。
S′n = S′n + 1. . . . (Iv) a = a-1. . . . (V) n = n + 1. . . . (Vi) β) When a = 0, the transaction distribution ratio Sn of each server is determined by the following equation.

【0036】Sn=S’n E<Zのとき γ) a=Z−Eとしてa=0となるまで以下の(vi
i),(viii)を繰り返す。
When Sn = S'n E <Z, γ) The following equation (vi) is used until a = 0 as a = ZE.
i) and (viii) are repeated.

【0037】なおS’n≦S’n+1かつS’n+1>
1ならばn=n+1として繰り返しを続行、S’n+1
=1またはnが全サーバ数と一致したらn=0として繰
り返しを続行する。
Note that S'n≤S'n + 1 and S'n + 1>
If 1, the repetition is continued with n = n + 1, and S'n + 1
If = 1 or n matches the total number of servers, n = 0 and the repetition is continued.

【0038】 S’n=S’n−1 ....(vii) a=a−1 ....(viii) δ) a=0となったとき、各サーバのトランザクショ
ン分配比率Snは以下の式で決定する。
S′n = S′n−1. . . . (Vii) a = a-1. . . . (Viii) δ) When a = 0, the transaction distribution ratio Sn of each server is determined by the following equation.

【0039】Sn=S’n (3)分配比率計算手段201は、各サーバ10の識別
情報とその識別情報に対応する(2)で決定したトラン
ザクション分配比率から分配比率表211を作成する。
Sn = S'n (3) The distribution ratio calculation means 201 creates the distribution ratio table 211 from the identification information of each server 10 and the transaction distribution ratio corresponding to the identification information determined in (2).

【0040】(4)分配先更新手段202は、(3)で
作成した分配比率表211からひとつのサーバのトラン
ザクション分配比率を得る。
(4) The distribution destination updating means 202 obtains the transaction distribution ratio of one server from the distribution ratio table 211 created in (3).

【0041】(5)分配先更新手段202は、インデッ
クス表212のエントリが指す分配先登録表213のエ
ントリのサーバ識別情報を更新する。
(5) The distribution destination updating means 202 updates the server identification information of the entry of the distribution destination registration table 213 indicated by the entry of the index table 212.

【0042】(6)分配先更新手段202は、(5)を
ひとつのサーバについて(4)で得たトランザクション
分配比率分繰り返す。
(6) The distribution destination update means 202 repeats (5) for one server by the transaction distribution ratio obtained in (4).

【0043】(7)分配先更新手段202は、(4)
(5)(6)を通信処理装置20に接続している全サー
バについて行い、分配先登録表213を完成させる。
(7) The distribution destination update means 202 executes (4)
(5) Perform (6) for all servers connected to the communication processing device 20 to complete the distribution destination registration table 213.

【0044】また、トランザクション分配手段203は
以下のN1〜N3の処理を端末30から通信処理装置2
0へのトランザクション入力発生毎に行う。
The transaction distribution means 203 executes the following processing from N1 to N3 from the terminal 30 to the communication processing device 2.
Performed every time a transaction input to 0 occurs.

【0045】(N1) カウンタ214が指す分配先登
録表213のエントリよりサーバ識別情報を求めて入力
されたトランザクションを該当するサーバへ分配する。
(N1) The server 214 obtains server identification information from the entry of the distribution destination registration table 213 indicated by the counter 214, and distributes the inputted transaction to the corresponding server.

【0046】(N2) カウンタ214を1カウントア
ップさせる。
(N2) The counter 214 is incremented by one.

【0047】(N3) カウンタ214が分配先登録表
213のエントリ数を越えたら0とする。
(N3) If the counter 214 exceeds the number of entries in the distribution destination registration table 213, it is set to 0.

【0048】次に、具体的な数値を与えて説明する。Next, explanation will be given by giving specific numerical values.

【0049】図1において、通信処理装置20に接続さ
れているサーバ10はサーバ(x)、サーバ(y)、サ
ーバ(z)の三台とし、インデックス表212及び分配
先登録表213のエントリ数を12とする。なお下記の
(1)〜(7)、N1〜N3は上記の(1)〜(7)、
N1〜N3の処理と対応している。
In FIG. 1, the server 10 connected to the communication processing device 20 is a server (x), a server (y), and a server (z), and the number of entries in the index table 212 and the distribution destination registration table 213 Is set to 12. The following (1) to (7) and N1 to N3 are the above (1) to (7),
This corresponds to the processing of N1 to N3.

【0050】(1)各サーバから処理能力として サーバ(x):3 サーバ(y):2 サーバ(z):1 の数値を得る。(1) A numerical value of server (x): 3 server (y): 2 server (z): 1 is obtained from each server as the processing capacity.

【0051】(2)サーバ(n)(n=x,y,z)の
トランザクション分配比率をSxとすると、各サーバ間
の処理能力の相対比より、 Sx:Sy:Sz=12*3/6:12*2/6:12*1/6 =6:4:2 となる。
(2) Assuming that the transaction distribution ratio of the server (n) (n = x, y, z) is Sx, from the relative ratio of the processing performance between the servers, Sx: Sy: Sz = 12 * 3/6 : 12 * 2/6: 12 * 1/6 = 6: 4: 2.

【0052】(3)(2)で求めたSxとサーバ(x)
の識別情報から分配比率表を作成する。
(3) Sx obtained in (2) and server (x)
A distribution ratio table is created from the identification information of.

【0053】(4)(3)で作成された分配比率表から
サーバ(x)のトランザクション分配比率Sx=6を得
る。
(4) The transaction distribution ratio Sx = 6 of the server (x) is obtained from the distribution ratio table created in (3).

【0054】(5)インデックス表のエントリEm(m
=0,1,,,11)が指す分配先登録表のエントリの
サーバ識別情報Fn(n=Em,n=0,1,,,1
1)とすると、Fnは分配比率表のサーバ識別情報の登
録順に更新される。
(5) Entry Em (m of index table)
= 0, 1,... 11), the server identification information Fn (n = Em, n = 0, 1,.
Assuming 1), Fn is updated in the order of registration of the server identification information in the distribution ratio table.

【0055】まずE0=2が指す分配先登録表のエント
リのサーバ識別情報F2=(x)と更新される。
First, the server identification information F2 = (x) of the entry of the distribution destination registration table indicated by E0 = 2 is updated.

【0056】(6)サーバ(x)についてはSx=6よ
り(5)の処理を0≦m≦5の範囲で繰り返す。
(6) For the server (x), the processing of (5) is repeated in the range of 0 ≦ m ≦ 5 from Sx = 6.

【0057】(7)サーバ(y)については(4)でS
y=4を得て(5)の処理を6≦m≦9の範囲で繰り返
し、サーバ(z)については(4)でSz=2を得て
(5)の処理を10≦m≦11の範囲で繰り返すことに
よって分配先登録表が作成される。
(7) For the server (y), S
When y = 4 is obtained, the processing of (5) is repeated in the range of 6 ≦ m ≦ 9. For the server (z), Sz = 2 is obtained in (4), and the processing of (5) is performed with 10 ≦ m ≦ 11. By repeating in the range, a distribution destination registration table is created.

【0058】また、トランザクション分配手段203は
以下のN1〜N3の処理を端末30から通信処理装置2
0へのトランザクション入力発生毎に行う。
The transaction distribution means 203 executes the following processing from N1 to N3 from the terminal 30 to the communication processing device 2.
Performed every time a transaction input to 0 occurs.

【0059】(N1) 端末からトランザクションの入
力が発生すると、カウンタCが指す分配先登録表のエン
トリに登録されているサーバ識別情報からサーバを識別
しトランザクションを送信する。
(N1) When a transaction is input from the terminal, the server is identified from the server identification information registered in the entry of the distribution destination registration table indicated by the counter C, and the transaction is transmitted.

【0060】(N2) カウンタ54を1カウントアッ
プして次の端末からの入力トランザクションが送信され
るべきサーバが決定される。
(N2) The counter 54 is counted up by one, and a server to which an input transaction from the next terminal is to be transmitted is determined.

【0061】(N3) (N2)のとき(カウンタの
値)>11になると、(カウンタの値)=0とする。
(N3) In the case of (N2) (counter value)> 11, (counter value) = 0.

【0062】[0062]

【発明の効果】以上説明したように、本発明の第1の効
果は、各サーバの処理能力の時間変動に応じた、各サー
バに任意で適切なトランザクションの負荷分散が可能と
いうことである。その理由は、通信処理装置に通知する
各サーバ任意の処理能力値によって通信処理装置が各サ
ーバに対するトランザクションの分配量を決定できるか
らである。
As described above, the first effect of the present invention is that it is possible to arbitrarily and appropriately distribute the transaction load to each server in accordance with the time variation of the processing capacity of each server. The reason is that the communication processing device can determine the distribution amount of the transaction to each server based on an arbitrary processing capacity value of each server notified to the communication processing device.

【0063】また、第2の効果は、インデックス表を用
いることにより、少ない計算量で分配先の変更ができる
ことである。その理由は、インデックス表が固定のため
各サーバの処理能力の変動時、及びトランザクションの
入力時毎の乱数計算が不必要であるからである。
The second effect is that the use of the index table allows the distribution destination to be changed with a small amount of calculation. The reason is that, since the index table is fixed, it is not necessary to calculate random numbers each time the processing capacity of each server changes and every time a transaction is input.

【0064】また、少ないハードウェアで上記効果が実
現できることである。その理由は、1つの通信処理で全
てのサーバと全ての端末を扱える構成をとるからであ
る。
Another advantage is that the above effects can be realized with a small amount of hardware. The reason is that a configuration is adopted in which all servers and all terminals can be handled by one communication process.

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

【図1】本発明の通信処理システムのブロック図であ
る。
FIG. 1 is a block diagram of a communication processing system according to the present invention.

【図2】図1の通信処理システムのトランザクション分
配を示すブロック図である。
FIG. 2 is a block diagram showing transaction distribution of the communication processing system of FIG. 1;

【図3】トランザクション処理の負荷分散の従来方式の
ブロック図である。
FIG. 3 is a block diagram of a conventional method of load distribution of transaction processing.

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

1、2、3 CPU 4 共有メモリ装置 5 トランザクション処理キュー 6、7、8 出力メッセージキュー 9、10、11 通信処理装置CCP 10 サーバ 20 通信処理装置 30 端末 201 分配比率計算手段 202 分配先更新手段 203 トランザクション分配手段 211 分配比率表 212 インデックス表 213 分配先登録表 214 カウンタ 1, 2, 3 CPU 4 Shared memory device 5 Transaction processing queue 6, 7, 8 Output message queue 9, 10, 11 Communication processing device CCP 10 Server 20 Communication processing device 30 Terminal 201 Distribution ratio calculating means 202 Distribution destination updating means 203 Transaction distribution means 211 Distribution ratio table 212 Index table 213 Distribution destination registration table 214 Counter

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−34640(JP,A) 特開 平6−348662(JP,A) 特開 平6−332782(JP,A) 特開 平6−19861(JP,A) 特開 平6−348663(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 15/177 674 EPAT(QUESTEL) INSPEC(DIALOG) JICSTファイル(JOIS) WPI(DIALOG)──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-4-34640 (JP, A) JP-A-6-348662 (JP, A) JP-A-6-3322782 (JP, A) JP-A-6-332278 19861 (JP, A) JP-A-6-34863 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 15/177 674 EPAT (QUESTEL) INSPEC (DIALOG) JICST file (JOIS ) WPI (DIALOG)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の端末からトランザクションを受信
して、複数の並列処理サーバにトランザクションを分配
する通信処理装置を有する通信処理システムにおいて、 前記通信処理装置が、各前記並列処理サーバのトランザクション処理能力に比
例する前記並列処理サーバ毎の分配比率を記憶する分配
比率表と、 各前記並列処理サーバにトランザクション処理能力を一
定時間ごとに問い合わせ前記分配比率を決定し前記分配
比率表に記憶・更新させる分配比率計算手段と、前記端
末から受信されるトランザクションが分配される各前記
並列処理サーバを示すサーバ識別情報を前記分配比率に
したがって各エントリに記憶する分配先登録表と、 乱数に基づく順序で前記分配先登録表の各エントリを示
すエントリ番号を保持するインデックス表と、 前記分配比率表および前記インデックス表を参照し前記
サーバ識別情報を前記分配先登録表に記憶・更新させる
分配先更新手段と、 前記分配先登録表のエントリ番号を保持しインクリメン
トされるカウンタと、 前記カウンタの保持するエントリ番号で指し示される前
記分配先登録表のエントリに記憶されている前記サーバ
識別情報に対応する各前記並列処理サーバに対して前記
端末から受信されるトランザクションを分配し前記カウ
ンタをインクリメントさせるトランザクション分配手段
と、 を有する ことを特徴とする通信処理システム。
1. A communication processing system having a communication processing device that receives a transaction from a plurality of terminals and distributes the transaction to a plurality of parallel processing servers, wherein the communication processing device has a transaction processing capability of each of the parallel processing servers. Compared to
Distribution that stores a distribution ratio for each of the parallel processing servers as an example
The ratio table and the transaction processing capacity of each parallel processing server
Determine the distribution ratio at regular intervals and determine the distribution
Distribution ratio calculating means for storing and updating the ratio table;
Each transaction to which transactions received from the end are distributed
The server identification information indicating the parallel processing server is added to the distribution ratio.
Accordingly, the distribution destination registration table stored in each entry and the entries of the distribution destination registration table in an order based on random numbers are shown.
An index table holding the entry numbers, and referring to the distribution ratio table and the index table,
Store and update server identification information in the distribution destination registration table
Distribution destination updating means for storing an entry number of the distribution destination registration table and incrementing
And counters bets, before being pointed to by entry number for holding the counter
The server stored in the entry of the distribution destination registration table
For each of the parallel processing servers corresponding to the identification information,
Distribute transactions received from the terminal and
Transaction distribution means for incrementing the counter
Communication processing system characterized by having a and.
【請求項2】 前記複数の並列処理サーバと前記通信処
理装置とをファイバ・ディストリビューデッド・データ
・インタフェースで接続することを特徴とする請求項1
記載の通信処理システム。
2. The communication system according to claim 1, wherein the plurality of parallel processing servers and the communication processing device are connected by a fiber distributed data interface.
The communication processing system as described.
JP8096643A 1996-04-18 1996-04-18 Communication processing system Expired - Fee Related JP2912225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8096643A JP2912225B2 (en) 1996-04-18 1996-04-18 Communication processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8096643A JP2912225B2 (en) 1996-04-18 1996-04-18 Communication processing system

Publications (2)

Publication Number Publication Date
JPH09282287A JPH09282287A (en) 1997-10-31
JP2912225B2 true JP2912225B2 (en) 1999-06-28

Family

ID=14170517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8096643A Expired - Fee Related JP2912225B2 (en) 1996-04-18 1996-04-18 Communication processing system

Country Status (1)

Country Link
JP (1) JP2912225B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005116832A1 (en) * 2004-05-31 2005-12-08 International Business Machines Corporation Computer system, method, and program for controlling execution of job in distributed processing environment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6310888B1 (en) 1997-12-30 2001-10-30 Iwork Software, Llc System and method for communicating data
US6499036B1 (en) * 1998-08-12 2002-12-24 Bank Of America Corporation Method and apparatus for data item movement between disparate sources and hierarchical, object-oriented representation
JP3270012B2 (en) 1998-09-08 2002-04-02 富士通株式会社 Network server load detecting device, allocating device and method
JP2001101149A (en) * 1999-09-30 2001-04-13 Nec Corp Distributed parallel data processor, recording medium recording distributed parallel data processing program and distributed parallel data processing system
US7712102B2 (en) 2004-07-30 2010-05-04 Hewlett-Packard Development Company, L.P. System and method for dynamically configuring a plurality of load balancers in response to the analyzed performance data
JP5043166B2 (en) 2010-09-10 2012-10-10 株式会社日立製作所 Computer system, data search method, and database management computer

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0434640A (en) * 1990-05-31 1992-02-05 Nec Corp Calculation server host selecting system
US5504894A (en) * 1992-04-30 1996-04-02 International Business Machines Corporation Workload manager for achieving transaction class response time goals in a multiprocessing system
JPH06332782A (en) * 1993-03-22 1994-12-02 Hitachi Ltd File server system and file access controlling method therefor
JPH06348662A (en) * 1993-06-14 1994-12-22 Fuji Xerox Co Ltd Server for network
JPH06348663A (en) * 1993-06-14 1994-12-22 Fuji Xerox Co Ltd Network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005116832A1 (en) * 2004-05-31 2005-12-08 International Business Machines Corporation Computer system, method, and program for controlling execution of job in distributed processing environment

Also Published As

Publication number Publication date
JPH09282287A (en) 1997-10-31

Similar Documents

Publication Publication Date Title
US7328228B2 (en) Mapping pseudo-random numbers to predefined number ranges
US5797005A (en) Shared queue structure for data integrity
US6381649B1 (en) Data flow monitoring at a network node using periodically incremented counters for comparison to predetermined data flow thresholds
US6578083B2 (en) Method for monitoring data flow at a node on a network facilitating data transfer on at least one link having at least one class of service
US20030037093A1 (en) Load balancing system and method in a multiprocessor system
JP2912225B2 (en) Communication processing system
CN111639965B (en) Integral updating method and device
CN112182374B (en) Inventory control method, apparatus, electronic device, and computer-readable medium
CN110213380A (en) A kind of information push method, device, computer equipment and storage medium
JPH06268660A (en) Method for converting polling frequency table to polling sequence table
CN109544347B (en) Tail difference distribution method, computer readable storage medium and tail difference distribution system
CN108845860B (en) Method and device for managing quota and electronic equipment
Konovalov et al. A Simple Dispatching Policy For Minimizing Mean Response Time In Non-Observable Queues With SRPT Policy Operating In Parallel.
US7660894B1 (en) Connection pacer and method for performing connection pacing in a network of servers and clients using FIFO buffers
Jacob Analysis of customer induced interruption in a retrial queuing system with classical retrial policy
US10324868B2 (en) Counter with reduced memory access
JPH07225746A (en) Dynamic load distributing method
CN118612154B (en) Distributed current limiting control method and system based on intelligent token recovery
Chang Sequential server queues for computer communication system analysis
CN113204392B (en) Message processing method, device and storage medium
US20240146664A1 (en) Efficient network device work queue
JP2003296289A (en) System, method, and program for load distribution
JP3136709B2 (en) Exponentiation unit
CN116126527A (en) Distribution method and device for server cluster data migration tasks
JPH09146882A (en) Login computer selection system

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: 19990316

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080409

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120409

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees