JP2000222374A - Load distribution type packet parallel processor - Google Patents

Load distribution type packet parallel processor

Info

Publication number
JP2000222374A
JP2000222374A JP2722599A JP2722599A JP2000222374A JP 2000222374 A JP2000222374 A JP 2000222374A JP 2722599 A JP2722599 A JP 2722599A JP 2722599 A JP2722599 A JP 2722599A JP 2000222374 A JP2000222374 A JP 2000222374A
Authority
JP
Japan
Prior art keywords
packet
load level
processing
load
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2722599A
Other languages
Japanese (ja)
Inventor
Kenichi Nagatomo
健一 長友
Masaya Miyazaki
雅也 宮崎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2722599A priority Critical patent/JP2000222374A/en
Publication of JP2000222374A publication Critical patent/JP2000222374A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent processing from being concentrated on a specific packet processing part in a communication controller in a multi-processor constitution. SOLUTION: The load distribution type packet parallel processor having plural packet processors 31-35 is provided with a load level deciding part for deciding the load level of its own packet processor and a transmission and reception controlling part for operating response processing to a packet processing request according to the load level decided by the load level deciding part. Thus, the transmission and reception controlling part can operate the response processing according to the load level of its own packet processor so that the load can be prevented from being concentrated on the specific packet processor. As for the response processing to be operated by the transmission and reception controlling part, the response processing to the packet processing request is operated according to the load level decided by the load level deciding part equal to a prescribed threshold or more, or a responding time to the packet processing request is changed according to the load level.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、1つ以上の通信チ
ャネルから受信した制御パケットを処理するマルチプロ
セッサ構成の通信制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor communication control device for processing control packets received from one or more communication channels.

【0002】[0002]

【従来の技術】大量の制御パケットを高速処理する通信
制御装置では、処理能力を高めるためにマルチプロセッ
サ構成を採用することが従来から行われている。
2. Description of the Related Art In a communication control device for processing a large number of control packets at high speed, a multiprocessor configuration has conventionally been employed in order to increase the processing capability.

【0003】図3は、従来のマルチプロセッサ構成の通
信制御装置の一つに適用されている携帯電話システムの
基地局制御装置のブロック図である(「ディジタル自動
車・携帯電話システム用無線基地局装置」、FUJITSU.4
5.2、 p112 −p116)。
FIG. 3 is a block diagram of a base station controller of a mobile phone system applied to one of the conventional communication control devices having a multiprocessor configuration ("Radio base station apparatus for digital automobile / mobile phone system"). , FUJITSU.4
5.2, p112-p116).

【0004】通信チャネル1001〜100Nは、電子
交換機などを介して無線基地局や他の基地局制御装置な
どの対向装置と接続されている。対向装置から送出され
た制御パケット(各端末を接続するための、あるいは、
接続を終了するための各種の制御パケット)は、いずれ
かの通信チャネルを介してデータ中継手段1のデータ中
継バッファ2001〜200Nの中の通信チャネルに対
応するバッファに格納される。バスインターファイス2
は、I/Oバス4を介して上記データ中継手段1のデー
タ中継バッファ2001〜200Nを監視しており、デ
ータ中継バッファ2001〜200Nのいずれかが制御
パケットの受信を検出すると、共有バス5を介してパケ
ットプロセッサ31〜35にパケット処理要求信号を出
力する。
[0004] The communication channels 1001 to 100N are connected to opposing devices such as a radio base station and another base station control device via an electronic exchange or the like. Control packets sent from the other device (for connecting each terminal, or
Various control packets for terminating the connection) are stored in a buffer corresponding to the communication channel among the data relay buffers 2001 to 200N of the data relay unit 1 via any communication channel. Bus Interface 2
Monitors the data relay buffers 2001 to 200N of the data relay unit 1 via the I / O bus 4, and when any of the data relay buffers 2001 to 200N detects the reception of the control packet, the shared bus 5 A packet processing request signal is output to the packet processors 31 to 35 via the CPU.

【0005】パケット処理要求信号を受信したパケット
プロセッサ31〜35の送受信制御部301は、受信バ
ッファ302や送信バッファ303に滞留するパケット
の量、あるいは、パケット処理部303が実行中の処理
とは無関係にパケット処理応答信号を上記バスインター
フェース2に出力する。このように応答信号を受けたバ
スインターフェース2はパケット処理要求信号に応答し
たパケットプロセッサの中から、最も早くパケット処理
応答を出力したパケットプロセッサを選択し、そのパケ
ットプロセッサにパケット処理許可を与える。
[0005] The transmission / reception control unit 301 of the packet processors 31 to 35 that has received the packet processing request signal has no relation to the amount of packets staying in the reception buffer 302 or the transmission buffer 303 or the processing being executed by the packet processing unit 303. And outputs a packet processing response signal to the bus interface 2. The bus interface 2 that has received the response signal selects the packet processor that has output the packet processing response earliest from among the packet processors that have responded to the packet processing request signal, and gives the packet processing permission to the packet processor.

【0006】このようにパケット処理許可を与えられた
送受信制御部301は、共有バス5、バスインターフェ
ース2、I/Oバス4を介して制御パケットを受信した
データ中継バッファから制御パケットを読み出し、受信
バッファ302に格納する。パケット処理部304は、
受信バッファ302から制御パケットを読み出し、制御
パケットの内容を解析して必要な処理を行う。
The transmission / reception control unit 301 given the packet processing permission reads the control packet from the data relay buffer that has received the control packet via the shared bus 5, the bus interface 2, and the I / O bus 4, and receives the control packet. The data is stored in the buffer 302. The packet processing unit 304
The control packet is read from the reception buffer 302, the contents of the control packet are analyzed, and necessary processing is performed.

【0007】そして、多くの場合、処理結果に基づいた
新たな制御パケットを作成し、その制御パケットを送信
バッファ303に格納する。送受信制御部301は、送
信バッファ303から制御パケットを読み出し、共有バ
ス5、バスインターフェース2、I/Oバス4を介し
て、該当する通信チャネルに対して制御パケットを送信
する。
[0007] In many cases, a new control packet is created based on the processing result, and the control packet is stored in the transmission buffer 303. The transmission / reception control unit 301 reads a control packet from the transmission buffer 303, and transmits the control packet to a corresponding communication channel via the shared bus 5, the bus interface 2, and the I / O bus 4.

【0008】上記のように機能するマルチプロセッサ構
成のパケットプロセッサ31〜35は、他パケットプロ
セッサとの共有資源を使用する場合、共有資源の整合性
を保つため、他パケットプロセッサが共有資源を使用で
きないようにしてから共有資源を使用する。すなわち、
パケットプロセッサ31〜35のいずれかが共有資源を
占有して使用するには、共有資源と関連付けた排他フラ
グを設置し、排他フラグを取得できれば共有資源の使用
が可能であり、排他フラグを取得できなければ共有資源
の使用が不可能であるというような排他的な制御方法を
用いる。
When the packet processors 31 to 35 having the multiprocessor structure functioning as described above use the shared resources with other packet processors, the other packet processors cannot use the shared resources in order to maintain consistency of the shared resources. Then use shared resources. That is,
In order for any one of the packet processors 31 to 35 to occupy and use the shared resource, an exclusive flag associated with the shared resource is provided. If the exclusive flag can be acquired, the shared resource can be used, and the exclusive flag can be acquired. Otherwise, an exclusive control method is used such that the use of shared resources is impossible.

【0009】例えば、共有バス5を介した共有メモリ6
の共有データへのアクセスにおいて、共有データへのア
クセスを制限する排他フラグを設置する。パケットプロ
セッサ31〜35は、制御パケットを処理中に共有メモ
リ6上の共有データへアクセスする必要がある場合、ま
ず、排他フラグの取得を試みる。パケットプロセッサ3
1〜35は、排他フラグを取得できる場合、共有データ
へのアクセスが可能であり、共有データへアクセスし、
アクセスが終了した後、排他フラグを解放する。パケッ
トプロセッサ31〜35のいずれかのパケットプロセッ
サが排他フラグを取得した時点で他のパケットプロセッ
サは排他フラグを取得できなくなり、共有データへのア
クセスが不可能となる。このように共有データへのアク
セスができないパケットプロセッサは、現在処理中のパ
ケットの処理を継続することが不可能となる。
For example, a shared memory 6 via a shared bus 5
In the access to the shared data, an exclusive flag is set to restrict the access to the shared data. When it is necessary to access the shared data on the shared memory 6 while processing the control packet, the packet processors 31 to 35 first try to acquire an exclusive flag. Packet processor 3
When the exclusive flag can be acquired, the access to the shared data is possible.
After the access is completed, the exclusive flag is released. When one of the packet processors 31 to 35 acquires the exclusion flag, the other packet processors cannot acquire the exclusion flag, and cannot access the shared data. Thus, the packet processor that cannot access the shared data cannot continue the processing of the packet currently being processed.

【0010】しかし、制御パケットが受信バッファ30
2に格納されている状態では、パケットプロセッサ31
〜35が排他フラグを取得できるまで待っていたのでは
パケットプロセッサに無駄なアイドル状態を生じるた
め、現在の処理を中断して、次の制御パケットを受信バ
ッファから読み出して処理をする。そして、中断した処
理は排他フラグが取得可能となった時点で再開する。
However, the control packet is transmitted to the reception buffer 30.
2 is stored in the packet processor 31.
Waiting until .about.35 can acquire the exclusive flag causes a useless idle state in the packet processor. Therefore, the current processing is interrupted, and the next control packet is read from the reception buffer and processed. Then, the interrupted process is restarted when the exclusive flag can be acquired.

【0011】[0011]

【発明が解決しようとする課題】上記のように、パケッ
ト分配制御部21が出力するパケット処理要求信号に最
も早く応答するパケットプロセッサにパケット処理許可
を与えると、各パケットプロセッサは自パケットプロセ
ッサの状態や実行中の処理に関わらず制御パケットを受
信するため、特定のパケットプロセッサに負荷が集中す
る場合があるという課題がある。
As described above, when packet processing permission is given to a packet processor which responds to the packet processing request signal output from the packet distribution control unit 21 earliest, each of the packet processors becomes the state of its own packet processor. And control packets are received irrespective of the processing being executed, and the load may be concentrated on a specific packet processor.

【0012】例えば、パケットプロセッサ31〜35の
送受信制御部301は、同一の構成を持っているが、製
造上のばらつき等により応答速度にわずかな違いが生じ
る可能性が高い。そのような場合、パケット分配制御部
21が出力するパケット処理要求信号に、わずかに早く
パケット処理応答信号を出力するパケットプロセッサ
と、わずかに遅くパケット処理応答信号を出力するパケ
ットプロセッサが生じる。このように、パケットプロセ
ッサ31〜35の送受信制御部301の応答時間の違い
が発生すると、早く応答する傾向が強い送受信制御部3
01は、パケット分配制御部21からパケット処理許可
を得る頻度が大きくなり、遅く応答する傾向が強い送受
信制御部301はパケット処理許可を得る頻度が小さく
なる。
For example, the transmission / reception control units 301 of the packet processors 31 to 35 have the same configuration, but there is a high possibility that a slight difference occurs in the response speed due to manufacturing variations. In such a case, there are a packet processor that outputs a packet processing response signal slightly earlier and a packet processor that outputs a packet processing response signal slightly later in the packet processing request signal output by the packet distribution control unit 21. As described above, when a difference in response time of the transmission / reception control unit 301 of the packet processors 31 to 35 occurs, the transmission / reception control unit 3 that tends to respond quickly
01, the frequency of obtaining the packet processing permission from the packet distribution control unit 21 increases, and the frequency of obtaining the packet processing permission of the transmission / reception control unit 301, which tends to respond slowly, decreases.

【0013】その結果、パケットを集中的に受信したパ
ケットプロセッサの受信バッファ302には多くの制御
パケットが滞留し、パケット処理部304に処理される
までの間に大きな遅延が発生するという課題がある。こ
のような受信バッファ302に多くの制御パケットを保
持しているパケットプロセッサがさらに制御パケットを
受信すると、処理遅延はさらに大きくなるため、新たに
到着した制御パケットは受信バッファ302に保持して
いる制御パケットの量が少ないパケットプロセッサに分
配すべきである。
As a result, there is a problem that many control packets stay in the reception buffer 302 of the packet processor that receives the packets intensively, and a large delay occurs before the packets are processed by the packet processing unit 304. . If a packet processor holding many control packets in such a reception buffer 302 receives more control packets, the processing delay is further increased, so that newly arrived control packets are stored in the control buffer held in the reception buffer 302. It should be distributed to packet processors with a small amount of packets.

【0014】また、仮に、製造上のばらつきが小さく、
制御パケットがパケットプロセッサ31〜35の受信バ
ッファ302に均等に分配されたとしても、制御パケッ
トの種別により、パケット処理部304の処理時間には
ばらつきが生じる。その結果、処理時間が大きい制御パ
ケットを多く受け取ったパケットプロセッサの受信バッ
ファ302には、やはり多くの制御パケットが滞留し、
同様に大きな遅延が発生するという課題がある。
Further, if manufacturing variations are small,
Even if the control packets are evenly distributed to the reception buffers 302 of the packet processors 31 to 35, the processing time of the packet processing unit 304 varies depending on the type of the control packets. As a result, many control packets also remain in the reception buffer 302 of the packet processor that has received many control packets with a long processing time,
Similarly, there is a problem that a large delay occurs.

【0015】また、特定の対向装置の制御パケット受信
能力が限界に達すると、送信バッファ303から対向装
置への制御パケットの送信速度が遅くなり、送信バッフ
ァ303に制御パケットが滞留する。このような場合、
制御パケットは送信バッファ303に格納された順に送
信されるため、受信能力が限界に達した対向装置への制
御パケットだけでなく、他の対向装置への制御パケット
の送信にも大きな遅延が発生するという課題がある。こ
のような送信バッファ303に多くの制御パケットを保
持している状態でさらに制御パケットを受信すると、送
信バッファ304に滞留する制御パケットの数が増加
し、制御パケットの送信完了までの時間がさらに大きく
なるため、新たに到着した制御パケットは送信バッファ
303に制御パケットが多く滞留していないパケットプ
ロセッサに分配すべきである。
When the control packet receiving capability of a specific opposing device reaches the limit, the transmission speed of control packets from the transmission buffer 303 to the opposing device becomes slow, and the control packets stay in the transmission buffer 303. In such a case,
Since the control packets are transmitted in the order in which they are stored in the transmission buffer 303, a large delay occurs not only in the control packet to the opposite device whose reception capability has reached the limit but also in the transmission of the control packet to another opposite device. There is a problem that. If control packets are received while a large number of control packets are held in the transmission buffer 303, the number of control packets staying in the transmission buffer 304 increases, and the time until the completion of transmission of the control packets further increases. Therefore, newly arrived control packets should be distributed to packet processors in which many control packets do not stay in the transmission buffer 303.

【0016】また、パケットプロセッサ31〜35の受
信バッファ302と送信バッファ303に滞留する制御
パケットの量のみが、パケットプロセッサ31〜35の
制御パケットの処理時間に影響を与えるわけではない。
すなわち、パケット処理部304は、受信バッファ30
2から制御パケットを読み出したにも関わらず、共有資
源へのアクセスができないなどの理由で処理を中断し、
次の制御パケットを読み出して処理する場合がある。パ
ケット処理部304に中断中の処理が増加すると、制御
パケットの処理が完了するまでに大きな遅延が発生する
という課題がある。このようにパケット処理部304に
処理中断中の制御パケットが多く存在する状態でさらに
新たな制御パケットを受信して処理すると、中断中の処
理再開が遅くなったり、中断中の制御パケットの数が増
加したりし、制御パケットの処理完了までの時間がさら
に大きくなるため、新たに到着した制御パケットは中断
中の処理を多く持たないパケットプロセッサに分配すべ
きである。
Further, only the amount of control packets staying in the reception buffers 302 and the transmission buffers 303 of the packet processors 31 to 35 does not affect the processing time of the control packets of the packet processors 31 to 35.
That is, the packet processing unit 304
Although the control packet has been read from step 2, the processing is interrupted because access to the shared resource is not possible,
The next control packet may be read and processed. When the number of interrupted processes increases in the packet processing unit 304, there is a problem that a large delay occurs until the processing of the control packet is completed. As described above, when a new control packet is received and processed in a state where many control packets are being interrupted in the packet processing unit 304, the resumption of the interrupted process is delayed or the number of interrupted control packets is reduced. Since the number of control packets increases or the time until the completion of the processing of the control packet becomes longer, the newly arrived control packet should be distributed to a packet processor which does not have a lot of suspended processing.

【0017】また、パケット処理部304は、重要か
つ、緊急度の高い処理を行っている場合がある。例え
ば、ハードウェアの障害を検知し、予備のハードウェア
に切り替えるための処理や、定期的に共有メモリ6上の
管理データの整合性を検査する処理などがある。共有メ
モリ6上の管理データに不整合が発生した場合、その不
整合を放置したままでは、システムの一部は正常に動作
することができなくなり、その結果、サービスの一部を
正常に運営することができない。
In some cases, the packet processing unit 304 performs an important and highly urgent process. For example, there are processing for detecting a hardware failure and switching to spare hardware, and processing for periodically checking the consistency of management data on the shared memory 6. If the management data on the shared memory 6 becomes inconsistent, a part of the system cannot operate normally if the inconsistency is left as it is, and as a result, a part of the service operates normally. Can not do.

【0018】これに対応するために、共有メモリ6上の
管理データに不整合を発見した場合、不整合を発見した
パケットプロセッサは、不整合を復旧するための処理を
起動する。このような不整合復旧処理は、優先度、およ
び緊急度が高いため、パケットプロセッサが新たに制御
パケットを受信しても、その制御パケットの処理は、不
整合復旧のための処理の終了後に行われるため、制御パ
ケットの処理遅延が非常に大きくなるという課題があ
る。したがって、新たに到着した制御パケットは、この
ような優先度、および緊急度の高い処理を行っているパ
ケットプロセッサには分配すべきではない。
To cope with this, if an inconsistency is found in the management data on the shared memory 6, the packet processor that has found the inconsistency starts a process for recovering the inconsistency. Such inconsistency recovery processing has high priority and urgency, so even if the packet processor newly receives a control packet, the control packet processing is performed after the processing for inconsistency recovery ends. Therefore, there is a problem that the processing delay of the control packet becomes very large. Therefore, a newly arrived control packet should not be distributed to a packet processor performing such a high priority and urgent processing.

【0019】本発明は、上記のような点を鑑みて、マル
チプロセッサ構成におけるプロセッサの負荷が特定のパ
ケットプロセッサに偏ることなく、均等に分散し、その
結果、制御パケットの処理時間にも大きなばらつきの生
じない負荷分散型パケット並列処理装置を提供すること
を目的としている。
In view of the above points, the present invention distributes the load of the processors in a multiprocessor configuration evenly without being biased to a specific packet processor, and as a result, the processing time of control packets varies greatly. It is an object of the present invention to provide a load distribution type packet parallel processing device which does not cause the problem.

【0020】[0020]

【課題を解決するための手段】本発明は上記の目的を達
成するために、以下の手段を採用ている。まず、本発明
は、1つ以上の通信チャネルと、前記通信チャネルから
受信した制御パケットを処理する複数のパケットプロセ
ッサと、前記通信チャネルから受信する制御パケットを
前記複数のパケットプロセッサへ分配するパケット分配
制御部とを備え、前記通信チャネルに新たに制御パケッ
トが到着すると、前記パケット分配制御部は前記複数の
パケットプロセッサにパケット処理要求を出力し、前記
パケット処理要求に最も早く応答したパケットプロセッ
サに処理許可を与える負荷分散型パケット並列処理装置
を前提としている。
The present invention employs the following means to achieve the above object. First, the present invention provides one or more communication channels, a plurality of packet processors for processing control packets received from the communication channel, and a packet distribution for distributing control packets received from the communication channel to the plurality of packet processors. Control unit, when a new control packet arrives at the communication channel, the packet distribution control unit outputs a packet processing request to the plurality of packet processors, and processes the packet processing request to the packet processor that responded to the packet processing request earliest. It is premised on a load-distributed packet parallel processing device that gives permission.

【0021】上記負荷分散型パケット並列処理装置にお
いて、上記各パケットプロセッサに、自パケットプロセ
ッサの負荷レベルを決定する負荷レベル決定部と、上記
負荷レベル決定部が決定した負荷レベルに応じて、前記
パケット処理要求への応答処理する送受信制御部とを備
える構成とする。
In the above-mentioned load-distributed packet parallel processing apparatus, each of the packet processors is provided with a load level determining unit for determining a load level of its own packet processor, and the packet processor according to the load level determined by the load level determining unit. A transmission / reception control unit that performs a response process to a processing request is provided.

【0022】これによって、送受信制御部は自パケット
プロセッサの負荷レベルに応じた応答処理をすることに
なるので、負荷が特定の自パケットプロセッサに集中す
ることはなくなる。
Accordingly, the transmission / reception control unit performs a response process according to the load level of the own packet processor, so that the load does not concentrate on a specific own packet processor.

【0023】上記送受信制御部の上記応答処理として、
負荷レベル決定部が決定した負荷レベルの所定のしきい
値に応じて、前記パケット処理要求への応答をする場
合、あるいは、上記負荷レベルに応じて、上記パケット
処理要求に応答する時間を変化させる場合が考えられ
る。
As the response process of the transmission / reception control unit,
When responding to the packet processing request according to a predetermined threshold of the load level determined by the load level determining unit, or changing the time for responding to the packet processing request according to the load level. The case is conceivable.

【0024】更に、上記負荷レベル決定部での負荷レベ
ルは、上記パケットプロセッサに備える受信バッファに
保持された制御パケットの量に応じて決定される場合、
送信バッファに保持された制御パケットの量に応じて決
定される場合、上記パケットプロセッサに備えるパケッ
ト処理部での処理中断中の制御パケットの量に応じて、
上記パケットプロセッサに備える上記負荷レベルを決定
する場合、上記パケットプロセッサに備えるパケット処
理部での処理の種類に応じて決定する場合が考えられ
る。
Further, when the load level in the load level determining section is determined according to the amount of control packets held in a receiving buffer provided in the packet processor,
When determined according to the amount of control packets held in the transmission buffer, according to the amount of control packets that are being interrupted by the packet processing unit provided in the packet processor,
When determining the load level included in the packet processor, the load level may be determined according to the type of processing in a packet processing unit included in the packet processor.

【0025】[0025]

【発明の実施の形態】(実施の形態1)図1は、本実施
の形態1による負荷分散型パケット並列処理装置の構成
を示すブロック図であり、図2は上記装置を構成するパ
ケットプロセッサ31〜35の詳細を示すブロック図で
ある。以下、その構成を動作とともに説明する。まず、
この実施の形態では、送受信制御部がしきい値を越える
負荷レベルに基づいて処理応答信号を出すようにしてい
る点に特徴があるので、該送受信制御部の参照符合とし
て3011を用いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (Embodiment 1) FIG. 1 is a block diagram showing the configuration of a load balancing packet parallel processing apparatus according to Embodiment 1 of the present invention, and FIG. It is a block diagram which shows the detail of -35. Hereinafter, the configuration and the operation will be described. First,
This embodiment is characterized in that the transmission / reception control unit outputs a processing response signal based on a load level exceeding a threshold value, so that reference numeral 3011 is used as the reference numeral of the transmission / reception control unit.

【0026】パケットプロセッサ31〜35の状態を以
下の表1のように仮定する。
The states of the packet processors 31 to 35 are assumed as shown in Table 1 below.

【0027】[0027]

【表1】 [Table 1]

【0028】このような状態の時、通信チャネル100
2から制御パケットがデータ中継手段1に到着したと仮
定する。到着した制御パケットは、まず、データ中継バ
ッファ2002に格納される。次にデータ中継バッファ
2001〜200Nを一定周期で順に監視しているパケ
ット分配制御部21が、上記データ中継バッファ200
2に制御パケットが格納されたことを検出する。そし
て、パケット処理要求信号を共有バス5を介してパケッ
トプロセッサ31〜35に出力する。
In such a state, the communication channel 100
It is assumed that the control packet has arrived at the data relay unit 1 from 2. The arrived control packet is first stored in the data relay buffer 2002. Next, the packet distribution control unit 21 that monitors the data relay buffers 2001 to 200N in order at a fixed period,
2 that the control packet is stored. Then, it outputs a packet processing request signal to the packet processors 31 to 35 via the shared bus 5.

【0029】パケット処理要求信号を受け取ったパケッ
トプロセッサ31〜35上の送受信制御部3011は自
パケットプロセッサの負荷レベルを通知するように負荷
レベル決定部305に要求する。要求を受け取った負荷
レベル決定部305は以下の実施の形態3〜6に説明す
る種々の方法で、自パケットプロセッサの負荷レベルを
決定し、送受信制御部3011に返答する。
Upon receiving the packet processing request signal, the transmission / reception control unit 3011 on each of the packet processors 31 to 35 requests the load level determination unit 305 to notify the load level of its own packet processor. The load level determination unit 305 that has received the request determines the load level of its own packet processor by various methods described in the following third to sixth embodiments, and replies to the transmission / reception control unit 3011.

【0030】このようにして自パケットプロセッサの負
荷レベルを受け取った送受信制御部3011は、負荷レ
ベルが予め決められたしきい値(ここでは該しきい値を
負荷レベル中とする)を超えていなければ、パケット処
理応答信号をパケット分配制御部21に出力する。上記
表1の状態ではパケットプロセッサ32〜35はしきい
値の<負荷レベル中>を超えていないので、送受信制御
部3011はパケット処理応答信号をパケット分配制御
部21に出力する。一方、パケットプロセッサ31のよ
うに負荷レベルが高であるパケットプロセッサ31の場
合は、しきい値の<負荷レベル中>を超えているので、
パケット処理応答信号をパケット分配制御部21に出力
しないようになっている。尚、上記ではしきい値を超え
ない場合にパケット処理応答信号を出力するようになっ
ているが、しきい値の定義によってはしきい値を超えた
ときにパケット処理応答信号を出力する場合もあり得る
ことになる。
The transmission / reception control unit 3011 that has received the load level of its own packet processor in this way must make sure that the load level does not exceed a predetermined threshold value (here, the threshold value is assumed to be in the load level). For example, a packet processing response signal is output to the packet distribution control unit 21. Since the packet processors 32 to 35 do not exceed the threshold value “during load level” in the state shown in Table 1, the transmission / reception control unit 3011 outputs a packet processing response signal to the packet distribution control unit 21. On the other hand, in the case of the packet processor 31 having a high load level, such as the packet processor 31, the threshold value has exceeded the “medium load level”.
The packet processing response signal is not output to the packet distribution control unit 21. In the above description, the packet processing response signal is output when the threshold value is not exceeded. However, depending on the definition of the threshold value, the packet processing response signal may be output when the threshold value is exceeded. It is possible.

【0031】パケット分配制御部21は最も早くパケッ
ト処理応答信号を出力したパケットプロセッサに、パケ
ット処理許可を与える。パケットプロセッサ32〜35
はパケット処理応答信号を出力し、パケットプロセッサ
31はパケット処理応答信号を出力しない。これによっ
て、パケット分配制御部21はパケット処理許可をパケ
ットプロセッサ32〜35の内のいずれか最も早くパケ
ット処理応答信号を出力したパケットプロセッサ(ここ
ではパケットプロセッサ32と仮定する)に与え、パケ
ットプロセッサ31にはパケット処理許可を与えないた
め、パケットプロセッサ31の負荷は増大することはな
い。
The packet distribution control unit 21 gives a packet processing permission to the packet processor which outputs the packet processing response signal earliest. Packet processors 32-35
Outputs a packet processing response signal, and the packet processor 31 does not output a packet processing response signal. As a result, the packet distribution control unit 21 gives the packet processing permission to one of the packet processors 32 to 35 that has output the packet processing response signal earliest (here, the packet processor 32), and the packet processor 31 Since no packet processing permission is given to, the load on the packet processor 31 does not increase.

【0032】上記の仮定されたパケットプロセッサ32
は共有バス5、バスインターフェース2、I/Oバス4
を介して、データ中継バッファ2002から制御パケッ
トを読込み、受信バッファ302に格納する。次いで、
パケット処理部304は受信バッファ302から制御パ
ケットを読み出し、パケットの内容を解析し必要な処理
を行い、送信する制御パケットを送信バッファ303に
書き込む。このように送信バッファ303に書き込まれ
た制御パケットを、送受信制御部3011が、上記送信
バッファ303から読み出し、共有バス5、バスインタ
ーフェース2、I/Oバス4を介して、データ中継手段
1に送信し、更に、当該制御パケットは該当する通信チ
ャネル1002を介して対向装置へ到達する。
The above assumed packet processor 32
Are shared bus 5, bus interface 2, I / O bus 4
, The control packet is read from the data relay buffer 2002 and stored in the reception buffer 302. Then
The packet processing unit 304 reads the control packet from the reception buffer 302, analyzes the contents of the packet, performs necessary processing, and writes the control packet to be transmitted to the transmission buffer 303. The transmission / reception control unit 3011 reads the control packet written in the transmission buffer 303 from the transmission buffer 303 and transmits the control packet to the data relay unit 1 via the shared bus 5, the bus interface 2, and the I / O bus 4. Then, the control packet reaches the opposite device via the corresponding communication channel 1002.

【0033】以上のようにして、通信チャネルから受信
した新たな制御パケットを一定レベルより負荷の高いパ
ケットプロセッサが読込まないようにすることで、制御
パケットは負荷のレベルの低いパケットプロセッサに分
配され、時間の経過とともに各パケットプロセッサの負
荷が平均化する。その結果、特定のパケットプロセッサ
が制御パケットを集中的に受信してパケットプロセッサ
の負荷が著しく増大し、受信バッファ302に多くの制
御パケットが滞留することによる処理遅延を抑制するこ
とができる。 (実施の形態2)上記実施の形態1では、全てのパケッ
トプロセッサの負荷レベルが予め決められたしきい値よ
りも大きい場合、全てのパケットプロセッサは、新たな
制御パケットの受信を拒否し、パケット分配制御部21
は、新たな制御パケットを分配することができない。ま
た、パケットプロセッサの負荷レベルが予め決められた
値よりも小さいパケットプロセッサが新たな制御パケッ
トを受信することができるが、受信可能なパケットプロ
セッサの中で、より負荷レベルの小さいパケットプロセ
ッサを選択することができない。そこで、以下のように
負荷レベルに応じて送受信制御部の応答を遅延させると
この点が改善される。
As described above, a new control packet received from the communication channel is prevented from being read by a packet processor having a higher load than a certain level, whereby the control packet is distributed to a packet processor having a lower load level. The load of each packet processor averages over time. As a result, a specific packet processor receives control packets in a concentrated manner, and the load on the packet processor is significantly increased, and processing delay due to a large number of control packets remaining in the reception buffer 302 can be suppressed. (Embodiment 2) In Embodiment 1, when the load levels of all the packet processors are larger than a predetermined threshold, all the packet processors refuse to receive a new control packet, and Distribution control unit 21
Cannot distribute new control packets. Also, a packet processor whose load level is smaller than a predetermined value can receive a new control packet, but among the receivable packet processors, a packet processor having a lower load level is selected. Can not do. Therefore, if the response of the transmission / reception control unit is delayed according to the load level as described below, this point is improved.

【0034】本実施の形態2による負荷分散型パケット
並列処理装置の全体構成は実施の形態1の負荷分散型パ
ケット並列処理装置の構成(図1)と同じである。また
プロセッサーカード31〜35の構成も上記実施の形態
1と同じであるので、図2を用いて以下の説明をする。
但し、送受信制御部の動作手順が実施の形態1とは異な
るので、ここでは送受信制御部の参照符号として301
2を用いる。
The overall configuration of the load-balanced packet parallel processing device according to the second embodiment is the same as that of the load-balanced packet parallel processing device of the first embodiment (FIG. 1). The configuration of the processor cards 31 to 35 is the same as that of the first embodiment, and the following description will be made with reference to FIG.
However, since the operation procedure of the transmission / reception control unit is different from that of the first embodiment, reference numeral 301 of the transmission / reception control unit is used here.
2 is used.

【0035】すなわち、本実施の形態2では、負荷レベ
ル決定部305が決定する負荷レベルに応じて、パケッ
ト分配制御部21のパケット処理要求信号に応答する時
間を変化させるようになっている。
That is, in the second embodiment, the time for responding to the packet processing request signal of the packet distribution control unit 21 is changed according to the load level determined by the load level determining unit 305.

【0036】以下、更に詳しい説明をする。まず、パケ
ットプロセッサ31〜35の状態は、実施の形態1の場
合と同じと仮定する。
The following is a more detailed description. First, it is assumed that the states of the packet processors 31 to 35 are the same as in the first embodiment.

【0037】この場合、パケット分配制御部21が通信
チャネル1002から制御パケットを検出し、パケット
処理要求信号を共有バス5を介してパケットプロセッサ
31〜35に入力する。該パケット処理要求信号を受け
取った各パケットプロセッサの送受信制御部3012は
自パケットプロセッサの負荷レベルを負荷レベル決定部
305に要求し、この要求を受け取った上記負荷レベル
決定部305は負荷レベルを決定(下記の実施の形態7
〜10参照)し、該負荷レベルを送受信制御部3012
に通知する。以上の手順は上記実施の形態と全く同様で
ある。
In this case, the packet distribution control unit 21 detects a control packet from the communication channel 1002 and inputs a packet processing request signal to the packet processors 31 to 35 via the shared bus 5. The transmission / reception control unit 3012 of each packet processor receiving the packet processing request signal requests the load level of its own packet processor from the load level determination unit 305, and the load level determination unit 305 receiving this request determines the load level ( Embodiment 7 below
-10), and transmits and receives the load level.
Notify. The above procedure is exactly the same as in the above embodiment.

【0038】上記のように負荷レベル決定部305より
負荷レベルを受け取ったパケット送受信御部3012
は、負荷レベルに応じて、パケット分配制御部21にパ
ケット処理応答信号を出力する時の遅延時間を決定し、
該遅延時間分だけ時間を遅らせてパケット分配制御部2
1にパケット処理応答信号を出力する。負荷レベルに応
じた遅延時間は、例えば、以下の表2に示すように仮定
される。
As described above, the packet transmission / reception control unit 3012 receiving the load level from the load level determination unit 305
Determines a delay time for outputting a packet processing response signal to the packet distribution control unit 21 according to the load level,
The packet distribution control unit 2 delays the time by the delay time.
1 to output a packet processing response signal. The delay time according to the load level is assumed, for example, as shown in Table 2 below.

【0039】[0039]

【表2】 [Table 2]

【0040】ここで、各パケットプロセッサ31〜35
の負荷状態は表1に示す状態と同じとすると、パケット
プロセッサ31〜35の送受信制御部3012からパケ
ット分配制御部21へのパケット処理応答信号通知時間
は以下の表3のようになる。
Here, each of the packet processors 31 to 35
Is the same as the state shown in Table 1, the packet processing response signal notification time from the transmission / reception control unit 3012 of the packet processors 31 to 35 to the packet distribution control unit 21 is as shown in Table 3 below.

【0041】[0041]

【表3】 [Table 3]

【0042】上記のように、送受信制御部3012は、
負荷レベルに応じて遅延時間を決定し、パケット分配制
御部21へパケット処理応答信号を遅延時間分だけ遅ら
せて出力するようになっているので、負荷レベルの最も
小さいパケットプロセッサ32またはパケットプロセッ
サ35のパケット処理応答信号が最も早くパケット分配
制御部21に到達する。
As described above, the transmission / reception control unit 3012
The delay time is determined in accordance with the load level, and the packet processing response signal is output to the packet distribution control unit 21 with a delay corresponding to the delay time. The packet processing response signal reaches the packet distribution control unit 21 earliest.

【0043】この時、パケットプロセッサ32とパケッ
トプロセッサ35のいずれの応答信号が早くパケット分
配制御部21に到達するかは、ハードウェアの特性等に
依存するが、遅延時間が1単位、または2単位のパケッ
トプロセッサ31、パケットプロセッサ33、パケット
プロセッサ34のパケット処理応答信号が遅延時間が0
単位のパケットプロセッサ32、パケットプロセッサ3
5のパケット処理応答信号より早く到達することはない
ことになる。以後の処理は実施の形態1と同じであるの
で説明を省略する。
At this time, which of the response signals of the packet processor 32 and the packet processor 35 arrives at the packet distribution control unit 21 earlier depends on the characteristics of the hardware and the like, but the delay time is one unit or two units. Packet processing response signals of the packet processors 31, 33, and 34 of the
Packet processor 32, packet processor 3 in units
5 will not arrive earlier than the packet processing response signal. Subsequent processing is the same as in the first embodiment, and a description thereof will not be repeated.

【0044】以上のように、送受信制御部3012は、
パケットプロセッサの負荷レベルに応じて、パケット分
配制御部21のパケット処理要求信号に応答する遅延時
間を与えることにより、パケット分配制御部21は、負
荷レベルの最も小さいグループのパケットプロセッサに
パケット処理許可を与えることが可能となる。
As described above, the transmission / reception control unit 3012
By giving a delay time in response to the packet processing request signal of the packet distribution control unit 21 in accordance with the load level of the packet processor, the packet distribution control unit 21 allows the packet processor of the group with the smallest load level to perform packet processing. It is possible to give.

【0045】上記実施の形態1とは異なって、本実施の
形態2では、全てのパケットプロセッサが受信を拒絶す
る場合はなく、全てのパケットプロセッサの負荷レベル
が高くても、パケット分配制御部21は、いずれかのパ
ケットプロセッサからパケット処理応答信号を受信し、
制御パケットを分配することができる。また、負荷レベ
ルの小さいパケットプロセッサは、より早くパケット分
配制御部21にパケット処理応答信号を出力するため、
より細かく制御パケットの分配を制御することができ、
より均等に負荷を分散させることができる。 (実施の形態3)本実施の形態3による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態1の負荷分散
型パケット並列処理装置の構成(図1)と同じである。
また、パケットプロセッサの構成も図2に示す構成と同
じであり、また、送受信制御部の動作手順は上記実施の
形態1に記載する内容と同じであるので、該送受信制御
部の参照符号は3011を用いる。また、ここでは負荷
レベルを受信バッファに蓄積されているパケット量に応
じて決定している点に特徴があるので、負荷レベル決定
部として3051の参照符号を用いて以下の説明をす
る。
Unlike the first embodiment, in the second embodiment, there is no case where all the packet processors refuse to receive, and even if the load level of all the packet processors is high, the packet distribution control unit 21 Receives a packet processing response signal from any of the packet processors,
Control packets can be distributed. In addition, the packet processor with a small load level outputs a packet processing response signal to the packet distribution control unit 21 earlier.
The distribution of control packets can be controlled more finely,
The load can be more evenly distributed. (Embodiment 3) The overall configuration of a load balancing packet parallel processing device according to the third embodiment is the same as the configuration of the load balancing packet parallel processing device of the first embodiment (FIG. 1).
Also, the configuration of the packet processor is the same as that shown in FIG. 2, and the operation procedure of the transmission / reception control unit is the same as that described in the first embodiment. Is used. In addition, since the feature is that the load level is determined according to the amount of packets stored in the reception buffer, the following description will be made using the reference numeral 3051 as the load level determination unit.

【0046】まず、パケットプロセッサ31〜35の状
態を下記表4のように仮定する。通信チャネル1002
から制御パケットが中継カード1に到着したとする仮定
は、実施の形態1と同じであり、通信チャネル1002
から制御パケットが中継カード1に到着してから、送受
信制御部3011が負荷レベル決定部3051に負荷レ
ベルを要求するまでの動作も実施の形態1と同じであ
る。
First, the states of the packet processors 31 to 35 are assumed as shown in Table 4 below. Communication channel 1002
Is assumed to have arrived at the relay card 1 from the communication channel 1002.
From when the control packet arrives at the relay card 1 to when the transmission / reception control unit 3011 requests the load level from the load level determination unit 3051 is the same as in the first embodiment.

【0047】[0047]

【表4】 [Table 4]

【0048】負荷レベル決定部3051は、送受信制御
部3011からの負荷レベルの要求を受け取り、受信バ
ッファ302内に保持されている制御パケット数を検出
する。各パケットプロセッサは表4に掲げた状態となっ
ており、この状態で、受信バッファ302内に保持され
ている制御パケット数は表4の負荷の欄に記述された数
である。
The load level determination unit 3051 receives a request for a load level from the transmission / reception control unit 3011 and detects the number of control packets held in the reception buffer 302. Each packet processor is in the state shown in Table 4, and in this state, the number of control packets held in the reception buffer 302 is the number described in the load column of Table 4.

【0049】ここで、本実施の形態3における受信バッ
ファ302内に保持されている制御パケットと負荷レベ
ルの関係を以下のように定義する。
Here, the relationship between the control packet held in the reception buffer 302 and the load level in the third embodiment is defined as follows.

【0050】 制御パケット数:0 => 負荷レベル低 制御パケット数:1〜5 => 負荷レベル中 制御パケット数:6以上 => 負荷レベル高 したがって、パケットプロセッサ31〜35の負荷レベ
ルは以下のようになる。
Number of control packets: 0 => Low load level Number of control packets: 1 to 5 => Medium load level Number of control packets: 6 or more => High load level Accordingly, the load levels of the packet processors 31 to 35 are as follows. become.

【0051】 パケットプロセッサ31:負荷レベル高 パケットプロセッサ32:負荷レベル低 パケットプロセッサ33:負荷レベル中 パケットプロセッサ34:負荷レベル中 パケットプロセッサ35:負荷レベル低 上記のように、負荷レベル決定部3051は、受信バッ
ファ302内に保持されている制御パケットの量に応じ
て、負荷レベルを決定し送受信制御部3011に通知す
る。送受信制御部3011が負荷レベルを受け取った後
の処理は実施の形態1の場合と同じであるので説明を省
略する。
Packet processor 31: High load level Packet processor 32: Low load level Packet processor 33: Medium load level Packet processor 34: Medium load level Packet processor 35: Low load level As described above, the load level determination unit 3051 The load level is determined according to the amount of control packets held in the reception buffer 302, and the load level is notified to the transmission / reception control unit 3011. The processing after the transmission / reception control unit 3011 receives the load level is the same as that in the first embodiment, and thus the description is omitted.

【0052】以上のように、負荷レベル決定部3051
は、パケットプロセッサの受信バッファ302内に保持
されている制御パケットの量に応じて、負荷レベルを決
定し、送受信制御部3011は、負荷レベル決定部30
51が決定した負荷レベルに応じて、パケット分配制御
部21のパケット処理要求信号に応答するかどうかを決
定する。
As described above, the load level determining unit 3051
Determines the load level according to the amount of control packets held in the reception buffer 302 of the packet processor, and the transmission / reception control unit 3011
According to the load level determined by 51, it is determined whether or not to respond to the packet processing request signal of the packet distribution control unit 21.

【0053】従って、パケット分配制御部21は、受信
バッファ302内に保持される制御パケットの量が予め
決められた値より小さいパケットプロセッサにのみ、パ
ケット処理許可を与えることが可能であり、各パケット
プロセッサの受信バッファ302に保持する制御パケッ
トの量を平均化することができる。その結果、特定のパ
ケットプロセッサの受信バッファ302に多くの制御パ
ケットが滞留することによる処理の遅延を抑制すること
ができる。 (実施の形態4)本実施の形態4による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態1による負荷
分散型パケット並列処理装置の構成(図1)と同じであ
る。また、パケットプロセッサの構成も図2に示す構成
と同じであり、また、送受信制御部の動作手順は上記実
施の形態1に記載する内容と同じであるので、参照符号
として3011を用いる。更に、ここでは、送信バッフ
ァ303に保持する制御パケットの量に応じて負荷レベ
ルを決定している点に特徴があるので、負荷レベル決定
部の参照符号として3052を用いて以下の説明をす
る。
Therefore, the packet distribution control unit 21 can give packet processing permission only to a packet processor in which the amount of control packets held in the reception buffer 302 is smaller than a predetermined value. The amount of control packets held in the reception buffer 302 of the processor can be averaged. As a result, it is possible to suppress a processing delay caused by a large number of control packets remaining in the reception buffer 302 of a specific packet processor. (Embodiment 4) The overall configuration of a load balancing packet parallel processing device according to the fourth embodiment is the same as the configuration of the load balancing packet parallel processing device according to the first embodiment (FIG. 1). Also, the configuration of the packet processor is the same as the configuration shown in FIG. 2, and the operation procedure of the transmission / reception control unit is the same as that described in the first embodiment, and thus reference numeral 3011 is used. Furthermore, since the feature here is that the load level is determined according to the amount of control packets held in the transmission buffer 303, the following description will be made using 3052 as a reference numeral of the load level determination unit.

【0054】まずパケットプロセッサ31〜35の状態
を表5に示す状態とする。
First, the states of the packet processors 31 to 35 are set to the states shown in Table 5.

【0055】通信チャネル1002から制御パケットが
中継カード1に到着したとする仮定は、実施の形態1と
同じであり、通信チャネル1002から制御パケットが
中継カード1に到着してから、送受信制御部301が負
荷レベル決定部3052に負荷レベルを要求するまでの
動作も実施の形態1と同じである。
The assumption that the control packet arrives at the relay card 1 from the communication channel 1002 is the same as that of the first embodiment. After the control packet arrives at the relay card 1 from the communication channel 1002, the transmission / reception control unit 301 Is the same as that of the first embodiment until the request is made to the load level determining unit 3052 for the load level.

【0056】[0056]

【表5】 [Table 5]

【0057】負荷レベル決定部3052は、送受信制御
部301からの負荷レベルの要求を受け取り、送信バッ
ファ303内に保持されている制御パケット数を検出す
るようになっている。ここで、送信バッファ303内に
保持されている制御パケットと負荷レベルの関係を以下
のように定義する。
The load level determining unit 3052 receives a request for a load level from the transmission / reception control unit 301, and detects the number of control packets held in the transmission buffer 303. Here, the relationship between the control packet held in the transmission buffer 303 and the load level is defined as follows.

【0058】 制御パケット数:0 => 負荷レベル低 制御パケット数:1〜5 => 負荷レベル中 制御パケット数:6以上 => 負荷レベル高 したがって、パケットプロセッサ31〜35の負荷レベ
ルは以下のようになる。
Number of control packets: 0 => Low load level Number of control packets: 1 to 5 => Medium load level Number of control packets: 6 or more => High load level Accordingly, the load levels of the packet processors 31 to 35 are as follows. become.

【0059】 パケットプロセッサ31:負荷レベル高 パケットプロセッサ32:負荷レベル低 パケットプロセッサ33:負荷レベル中 パケットプロセッサ34:負荷レベル中 パケットプロセッサ35:負荷レベル低 上記のように、負荷レベル決定部3052は、送信バッ
ファ303内に保持されている制御パケットの量に応じ
て、負荷レベルを決定し、送受信制御部3011は、パ
ケットプロセッサの負荷レベルを受け取る。以後の処理
は、実施の形態3の場合と同じである。
Packet processor 31: High load level Packet processor 32: Low load level Packet processor 33: Medium load level Packet processor 34: Medium load level Packet processor 35: Low load level As described above, the load level determination unit 3052 The load level is determined according to the amount of control packets held in the transmission buffer 303, and the transmission / reception control unit 3011 receives the load level of the packet processor. Subsequent processing is the same as in the third embodiment.

【0060】以上のように、負荷レベル決定部3052
は、パケットプロセッサの送信バッファ303内に保持
されている制御パケットの量に応じて、負荷レベルを決
定し、送受信制御部3011は、負荷レベル決定部30
52が決定した負荷レベルに応じて、パケット分配制御
部21のパケット処理要求信号に応答するかどうかを決
定することにより、パケット分配制御部21は、送信バ
ッファ303内に保持される制御パケットの量が予め決
められた値より小さいパケットプロセッサにのみ、制御
パケットを分配することが可能であり、各パケットプロ
セッサの送信バッファ303に保持する制御パケットの
量を平均化することができる。その結果、特定のパケッ
トプロセッサの送信バッファ303に多くの制御パケッ
トが滞留することによる処理の遅延を抑制することがで
きる。 (実施の形態5)本実施の形態5による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態1による負荷
分散型パケット並列処理装置の構成(図1)と同じであ
る。また、パケットプロセッサの構成も図2に示す構成
と同じであり、また、送受信制御部の動作手順は上記実
施の形態1に記載する内容と同じであるので、該送受信
制御部の参照符号として3011を用いる。
As described above, the load level determining unit 3052
Determines the load level in accordance with the amount of control packets held in the transmission buffer 303 of the packet processor, and the transmission / reception control unit 3011
By determining whether to respond to the packet processing request signal of the packet distribution control unit 21 according to the load level determined by the packet distribution control unit 52, the packet distribution control unit 21 determines the amount of control packets held in the transmission buffer 303. It is possible to distribute control packets only to packet processors having a value smaller than a predetermined value, and it is possible to average the amount of control packets held in the transmission buffer 303 of each packet processor. As a result, it is possible to suppress a processing delay caused by a large number of control packets remaining in the transmission buffer 303 of a specific packet processor. (Embodiment 5) The overall configuration of a load balancing packet parallel processing device according to the fifth embodiment is the same as the configuration of the load balancing packet parallel processing device according to the first embodiment (FIG. 1). Also, the configuration of the packet processor is the same as that shown in FIG. 2, and the operation procedure of the transmission / reception control unit is the same as that described in the first embodiment. Is used.

【0061】更に、ここでは、パケット処理部304で
の処理中断中の制御パケットの量に応じて自パケットプ
ロセッサの負荷レベルを決定する点に特徴があるので、
負荷レベル決定部の参照符号として3053を用いて以
下の説明をする。
Further, the present embodiment is characterized in that the load level of its own packet processor is determined according to the amount of control packets during which the processing by the packet processing unit 304 is suspended.
The following description is made using 3053 as a reference numeral of the load level determination unit.

【0062】まずパケットプロセッサ31〜35の状態
を表6に示すように仮定する。表6の右端欄は、パケッ
ト処理部304が中断中の処理数である。通信チャネル
1002から制御パケットが中継カード1に到着したと
する仮定は、実施の形態1と同じであり、通信チャネル
1002から制御パケットが中継カード1に到着してか
ら、送受信制御部3011が負荷レベル決定部3053
に負荷レベルを要求するまでの動作も実施の形態1と同
じである。
First, the states of the packet processors 31 to 35 are assumed as shown in Table 6. The rightmost column of Table 6 indicates the number of processes that the packet processing unit 304 is interrupting. The assumption that the control packet arrives at the relay card 1 from the communication channel 1002 is the same as in the first embodiment, and after the control packet arrives at the relay card 1 from the communication channel 1002, the transmission / reception control unit 3011 sets the load level. Deciding part 3053
The operation up to requesting the load level is the same as in the first embodiment.

【0063】[0063]

【表6】 [Table 6]

【0064】負荷レベル決定部3053は、送受信制御
部3011からの負荷レベルの要求を受け取り、パケッ
ト処理部304で中断中の処理数を検出する。ここで、
本実施の形態5におけるパケット処理部304の処理中
断中の制御パケット数と負荷レベルの関係は以下のよう
に定義する。
The load level determining unit 3053 receives the request of the load level from the transmission / reception control unit 3011 and detects the number of processes suspended by the packet processing unit 304. here,
The relationship between the number of control packets and the load level during the interruption of the processing by the packet processing unit 304 in the fifth embodiment is defined as follows.

【0065】 制御パケット数:0 => 負荷レベル低 制御パケット数:1〜5 => 負荷レベル中 制御パケット数:6以上 => 負荷レベル高 したがって、パケットプロセッサ31〜35の負荷レベ
ルは以下のようになる。
Number of control packets: 0 => Low load level Number of control packets: 1 to 5 => Medium load level Number of control packets: 6 or more => High load level Accordingly, the load levels of the packet processors 31 to 35 are as follows. become.

【0066】 パケットプロセッサ31:負荷レベル高 パケットプロセッサ32:負荷レベル低 パケットプロセッサ33:負荷レベル中 パケットプロセッサ34:負荷レベル中 パケットプロセッサ35:負荷レベル低 上記のように、負荷レベル決定部3053は、パケット
処理部304の中断中の処理の量に応じて、負荷レベル
を決定し、送受信制御部3011は、パケットプロセッ
サの負荷レベルを受け取る。以後の処理は、実施の形態
3の場合と同じである。
Packet processor 31: High load level Packet processor 32: Low load level Packet processor 33: Medium load level Packet processor 34: Medium load level Packet processor 35: Low load level As described above, the load level determination unit 3053 The load level is determined according to the amount of processing during which the packet processing unit 304 is suspended, and the transmission / reception control unit 3011 receives the load level of the packet processor. Subsequent processing is the same as in the third embodiment.

【0067】以上のように、負荷レベル決定部3053
は、パケットプロセッサのパケット処理部304の処理
中断中の制御パケットの量に応じて、負荷レベルを決定
し、送受信制御部3011は、負荷レベル決定部305
3が決定した負荷レベルに応じて、パケット分配制御部
21のパケット処理要求信号に応答するかどうかを決定
することにより、パケット分配制御部21は、パケット
処理部304の処理中断中の制御パケットの量が予め決
められた値より小さいパケットプロセッサにのみ、制御
パケットを分配することが可能であり、各パケットプロ
セッサのパケット処理部304の処理中断中の制御パケ
ットの量を平均化することができる。その結果、特定の
パケットプロセッサのパケット処理部304が多くの処
理中断中の制御パケットを保持することによる処理の遅
延を抑制することができる。 (実施の形態6)本実施の形態6による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態1による負荷
分散型パケット並列処理装置の構成(図1)と同じであ
る。また、パケットプロセッサの構成も図2に示す構成
と同じであり、また、送受信制御部の動作手順は上記実
施の形態1に記載する内容と同じであるので、該送受信
制御部の参照符号として3011を用いる。
As described above, the load level determining unit 3053
Determines the load level in accordance with the amount of control packets during which the processing of the packet processing unit 304 of the packet processor is suspended, and the transmission / reception control unit 3011
3 determines whether or not to respond to the packet processing request signal of the packet distribution control unit 21 in accordance with the load level determined by the packet distribution control unit 3, so that the packet distribution control unit 21 Control packets can be distributed only to packet processors whose amount is smaller than a predetermined value, and the amount of control packets during which the processing of the packet processing unit 304 of each packet processor is suspended can be averaged. As a result, it is possible to suppress a processing delay caused by the packet processing unit 304 of the specific packet processor holding a large number of interrupted control packets. (Embodiment 6) The overall configuration of a load balancing packet parallel processing device according to the sixth embodiment is the same as the configuration of the load balancing packet parallel processing device according to the first embodiment (FIG. 1). Also, the configuration of the packet processor is the same as that shown in FIG. 2, and the operation procedure of the transmission / reception control unit is the same as that described in the first embodiment. Is used.

【0068】更に、ここでは、パケット処理部304が
実行している処理の種別に応じて負荷レベルを決定する
点に特徴があるので、負荷レベル決定部の参照符号とし
て3054を用いて以下の説明をする。
Further, the feature here is that the load level is determined in accordance with the type of processing executed by the packet processing unit 304. Therefore, the following description will be made using 3054 as a reference numeral of the load level determination unit. do.

【0069】以下、動作の説明をする。まずパケットプ
ロセッサ31〜35の状態を表7に示すように仮定す
る。通信チャネル1002から制御パケットが中継カー
ド1に到着したとする仮定は、実施の形態1と同じであ
り、通信チャネル1002から制御パケットが中継カー
ド1に到着してから、送受信制御部3011が負荷レベ
ル決定部3054に負荷レベルを要求するまでの動作も
実施の形態1と同じである。
Hereinafter, the operation will be described. First, the states of the packet processors 31 to 35 are assumed as shown in Table 7. The assumption that the control packet arrives at the relay card 1 from the communication channel 1002 is the same as in the first embodiment, and after the control packet arrives at the relay card 1 from the communication channel 1002, the transmission / reception control unit 3011 sets the load level. The operation up to requesting the load level from the determination unit 3054 is also the same as in the first embodiment.

【0070】[0070]

【表7】 [Table 7]

【0071】負荷レベル決定部3054は、送受信制御
部3011からの負荷レベルの要求を受け取り、パケッ
ト処理部304が行っている処理の種別を解析する。こ
こで、本実施の形態6におけるパケット処理部304が
行っている処理と負荷レベルの関係を以下のように定義
する。
The load level determination unit 3054 receives a request for a load level from the transmission / reception control unit 3011 and analyzes the type of processing performed by the packet processing unit 304. Here, the relationship between the processing performed by the packet processing unit 304 and the load level in the sixth embodiment is defined as follows.

【0072】処理:通常の制御パケット処理、アイドル
状態=>負荷レベル低 処理:共有メモリ6の整合性検査を実行中=>負荷レベ
ル中 処理:共有メモリ6上の管理テーブルの整合性復旧を処
理中=>負荷レベル高 したがって、パケットプロセッサ31〜35の負荷レベ
ルは以下のようになる。
Processing: normal control packet processing, idle state => low load level Processing: executing consistency check of shared memory 6 => during load level Processing: processing consistency recovery of management table on shared memory 6 Medium => high load level Accordingly, the load levels of the packet processors 31 to 35 are as follows.

【0073】 パケットプロセッサ31:負荷レベル低 パケットプロセッサ32:負荷レベル低 パケットプロセッサ33:負荷レベル高 パケットプロセッサ34:負荷レベル中 パケットプロセッサ35:負荷レベル低 上記のように、負荷レベル決定部3054は、パケット
処理部304が行っている処理の種別に応じて、負荷レ
ベルを決定し、送受信制御部3011は、パケットプロ
セッサの負荷レベルを受け取る。以後の処理は、実施の
形態3の場合と同じである。
Packet processor 31: Low load level Packet processor 32: Low load level Packet processor 33: High load level Packet processor 34: Medium load level Packet processor 35: Low load level As described above, the load level determining unit 3054 The load level is determined in accordance with the type of processing performed by the packet processing unit 304, and the transmission / reception control unit 3011 receives the load level of the packet processor. Subsequent processing is the same as in the third embodiment.

【0074】以上のように、負荷レベル決定部3054
は、パケットプロセッサのパケット処理部304が行っ
ている処理の種別に応じて、負荷レベルを決定し、送受
信制御部301は、負荷レベル決定部3051が決定し
た負荷レベルに応じて、パケット分配制御部21のパケ
ット処理要求信号に応答するかどうかを決定することに
より、パケット分配制御部21は、パケット処理部30
4が行っている処理の種別に応じて、制御パケットを分
配することが可能であり、緊急度の高い処理を行ってい
るパケットプロセッサに新たな制御パケットを分配しな
いようにすることができる。その結果、パケットプロセ
ッサのパケット処理部304は、共有メモリ6上の管理
データの不整合復旧処理を専念してできるようになり、
早急にシステムを正常状態に回復することができる。ま
た、不整合復旧処理中のパケットプロセッサの受信バッ
ファ302が多くの制御パケットを保持することによる
処理の遅延を抑制することができる。 (実施の形態7)本実施の形態7による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態1による負荷
分散型パケット並列処理装置の構成(図1)と同じであ
る。また、パケットプロセッサの構成も図2に示す構成
と同じであり、また、送受信制御部は、負荷レベルに応
じて遅延時間を決定する上記実施の形態2に記載する内
容と同じであるので、該送受信制御部の参照符号として
3012を用いる。
As described above, the load level determining unit 3054
Determines the load level according to the type of processing performed by the packet processing unit 304 of the packet processor, and the transmission / reception control unit 301 determines the load level according to the load level determined by the load level determination unit 3051. The packet distribution control unit 21 determines whether or not to respond to the packet processing request signal of the packet processing unit 30.
The control packets can be distributed in accordance with the type of the processing performed by the control unit 4 and a new control packet can be prevented from being distributed to the packet processor performing the processing with high urgency. As a result, the packet processing unit 304 of the packet processor can concentrate on the management data inconsistency recovery processing on the shared memory 6 and perform the processing.
The system can be quickly restored to the normal state. In addition, it is possible to suppress the processing delay caused by the reception buffer 302 of the packet processor holding many control packets during the mismatch recovery processing. (Embodiment 7) The overall configuration of a load balancing packet parallel processing device according to the seventh embodiment is the same as that of the load balancing packet parallel processing device according to the first embodiment (FIG. 1). Also, the configuration of the packet processor is the same as the configuration shown in FIG. 2, and the transmission / reception control unit is the same as the content described in the second embodiment for determining the delay time according to the load level. 3012 is used as a reference numeral of the transmission / reception control unit.

【0075】更に、ここでは、実施の形態3と同様、受
信バッファ302内に保持されている制御パケットの量
に応じて負荷レベルを決定する点に特徴があるので、負
荷レベル決定部の参照符号として3051を用いて以下
の説明をする。
Further, as in the third embodiment, the feature is that the load level is determined according to the amount of control packets held in the reception buffer 302. The following description will be made using 3051 as an example.

【0076】すなわち、負荷レベル決定部3051で負
荷レベルを決定するまでの手順は上記実施の形態3と同
様であり、このように決定された負荷レベルに従ってパ
ケット送受信部3012が遅延時間を決定する手順は上
記実施の形態2に記述した通りである。そして、負荷レ
ベル決定部3051による負荷レベルの決定以後の動作
は実施の形態2と同様である。
That is, the procedure up to the determination of the load level by the load level determination section 3051 is the same as that of the third embodiment, and the procedure by which the packet transmission / reception section 3012 determines the delay time according to the load level determined in this way. Is as described in the second embodiment. The operation after the load level is determined by the load level determining unit 3051 is the same as that of the second embodiment.

【0077】これによって、新たな制御パケットを受信
するパケットプロセッサは、遅延時間が0単位であるパ
ケットプロセッサ32かパケットプロセッサ35の内
の、早くパケット処理応答信号がパケット分配制御部2
1に到達したパケットプロセッサとなり、受信バッファ
302が保持する制御パケットの量の少ないパケットプ
ロセッサにパケットを分配する。
As a result, the packet processor that receives the new control packet can quickly send the packet processing response signal to the packet distribution control unit 2 of the packet processor 32 or the packet processor 35 whose delay time is 0 unit.
The packet processor reaches the packet processor 1 and distributes the packet to a packet processor having a small amount of control packets held by the reception buffer 302.

【0078】以上のように、負荷レベル決定部3051
は、パケットプロセッサの受信バッファ302内に保持
されている制御パケットの量に応じて、負荷レベルを決
定し、送受信制御部3012は、負荷レベル決定部30
51が決定した負荷レベルに応じて、パケット分配制御
部21のパケット処理要求信号に応答する時間を変化さ
せ、パケット分配制御部21は、受信バッファ302内
に保持される制御パケットの量の少ないパケットプロセ
ッサに、パケット処理許可を与える。
As described above, the load level determining unit 3051
Determines the load level in accordance with the amount of control packets held in the reception buffer 302 of the packet processor.
In response to the load level determined by 51, the time for responding to the packet processing request signal of the packet distribution control unit 21 is changed, and the packet distribution control unit 21 determines whether the amount of control packets held in the reception buffer 302 is small. The packet processing permission is given to the processor.

【0079】その結果、実施の形態3よりも、パケット
分配制御部21は、受信バッファ内に保持される制御パ
ケットの量に応じて、より細かく制御パケットを分配す
るパケットプロセッサを決定することができ、各パケッ
トプロセッサの受信バッファ302に保持する制御パケ
ットの量をより平均化することができる。そして、受信
バッファ302に多くの制御パケットが滞留することに
よる処理の遅延を抑制することができる。 (実施の形態8)本実施の形態8による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態2による負荷
分散型パケット並列処理装置の構成(図1)と同じであ
る。各パケットプロセッサの基本的な構成も図2示す構
成と同じであるが、ここでは実施の形態2と同様の方法
を採用しているのでパケット送受信部の参照符合として
3012を用いる。また、負荷レベルは実施の形態4と
同様の方法で決定しているので、負荷レベル決定部の参
照符合として3052を用いる。
As a result, the packet distribution control unit 21 can determine a packet processor that distributes control packets more finely in accordance with the amount of control packets held in the reception buffer than in the third embodiment. Thus, the amount of control packets held in the reception buffer 302 of each packet processor can be further averaged. Then, it is possible to suppress a processing delay due to a large number of control packets remaining in the reception buffer 302. (Embodiment 8) The overall configuration of a load balancing packet parallel processing device according to the eighth embodiment is the same as the configuration of the load balancing packet parallel processing device according to the second embodiment (FIG. 1). Although the basic configuration of each packet processor is the same as the configuration shown in FIG. 2, here, since the same method as in the second embodiment is adopted, reference numeral 3012 is used as the reference numeral of the packet transmission / reception unit. Since the load level is determined in the same manner as in the fourth embodiment, reference numeral 3052 is used as a reference for the load level determination unit.

【0080】まず、パケットプロセッサ31〜35の状
態は、実施の形態4の場合と同じとし、通信チャネル1
002から制御パケットが中継カード1に到着したと仮
定する。通信チャネル1002から制御パケットが中継
カード1に到着してから、送受信制御部3012が負荷
レベル決定部3052に負荷レベルを要求し、負荷レベ
ル決定部3052が送信バッファ303内に保持されて
いる制御パケットの量に応じて負荷レベルを決定し、送
受信制御部3012が負荷レベル決定部3052から負
荷レベルを受け取るまでの動作と負荷レベル決定部30
52が決定する負荷レベルの値は、実施の形態4と同じ
である。また、送受信制御部3012が負荷レベル決定
部3052から負荷レベルを受け取ってから、パケット
処理応答信号を出力し、いずれかのパケットプロセッサ
にパケット処理許可が与えられるまでの動作は、実施の
形態2と同じである。
First, the states of the packet processors 31 to 35 are the same as those in the fourth embodiment, and the communication channel 1
Assume that the control packet has arrived at the relay card 1 from 002. After the control packet arrives at the relay card 1 from the communication channel 1002, the transmission / reception control unit 3012 requests the load level from the load level determination unit 3052, and the load level determination unit 3052 transmits the control packet stored in the transmission buffer 303. The load level is determined according to the amount of the load level, the operation until the transmission / reception control unit 3012 receives the load level from the load level determination unit 3052, and the load level determination unit 30
The value of the load level determined by 52 is the same as in the fourth embodiment. Further, the operation from the reception of the transmission / reception control unit 3012 from the load level from the load level determination unit 3052 to the output of the packet processing response signal until the packet processing permission is given to any of the packet processors is the same as that of the second embodiment. Is the same.

【0081】以上のように、負荷レベル決定部3052
は、パケットプロセッサの送信バッファ303内に保持
されている制御パケットの量に応じて、負荷レベルを決
定し、送受信制御部3012は、負荷レベル決定部30
52が決定した負荷レベルに応じて、パケット分配制御
部21のパケット処理要求信号に応答する時間を変化さ
せ、パケット分配制御部21は、送信バッファ303内
に保持される制御パケットの量の少ないパケットプロセ
ッサに、パケット処理許可を与える。その結果、実施の
形態4よりも、パケット分配制御部21は、送信バッフ
ァ303内に保持される制御パケットの量に応じて、よ
り細かく制御パケットを分配するパケットプロセッサを
決定することができ、各パケットプロセッサの送信バッ
ファ303に保持する制御パケットの量をより平均化す
ることができる。そして、送信バッファ303に多くの
制御パケットが滞留することによる処理の遅延を抑制す
ることができる。 (実施の形態9)本実施の形態9による負荷分散型パケ
ット並列処理装置の全体構成は実施の形態1による負荷
分散型パケット並列処理装置の構成(図1)と同じであ
る。送受信制御部の動作手順は実施の形態2と同じであ
るので、該送受信制御部の参照符合として3012を用
いる。更に、負荷レベルの決定方法は上記実施の形態5
と同じであるので、負荷レベル決定部の参照符合として
3053を用いる。
As described above, the load level determining unit 3052
Determines the load level in accordance with the amount of control packets held in the transmission buffer 303 of the packet processor.
The time for responding to the packet processing request signal of the packet distribution control unit 21 is changed according to the load level determined by the packet distribution control unit 52, and the packet distribution control unit 21 The packet processing permission is given to the processor. As a result, the packet distribution control unit 21 can determine a packet processor that distributes control packets more finely in accordance with the amount of control packets held in the transmission buffer 303 than in Embodiment 4. The amount of control packets held in the transmission buffer 303 of the packet processor can be further averaged. Then, it is possible to suppress a processing delay caused by a large number of control packets remaining in the transmission buffer 303. (Embodiment 9) The overall configuration of a load balancing packet parallel processing device according to the ninth embodiment is the same as the configuration of the load balancing packet parallel processing device according to the first embodiment (FIG. 1). Since the operation procedure of the transmission / reception control unit is the same as that in the second embodiment, reference numeral 3012 is used as the reference numeral of the transmission / reception control unit. Further, the method for determining the load level is the same as in the fifth embodiment.
Therefore, 3053 is used as a reference for the load level determination unit.

【0082】まず、パケットプロセッサ31〜35の状
態は、実施の形態5の場合と同じとし、通信チャネル1
002から制御パケットが中継カード1に到着したと仮
定する。通信チャネル1002から制御パケットが中継
カード1に到着してから、送受信制御部3012が負荷
レベル決定部3053に負荷レベルを要求し、負荷レベ
ル決定部3053が送信バッファ303内に保持されて
いる制御パケットの量に応じて負荷レベルを決定し、送
受信制御部3012が負荷レベル決定部3053から負
荷レベルを受け取るまでの動作と負荷レベル決定部30
53が決定する負荷レベルの値は、実施の形態5と同じ
である。また、送受信制御部3012が負荷レベル決定
部3053から負荷レベルを受け取ってから、パケット
処理応答信号を出力し、いずれかのパケットプロセッサ
にパケット処理許可が与えられるまでの動作は、実施の
形態7と同じである。
First, the states of the packet processors 31 to 35 are the same as those in the fifth embodiment, and the communication channel 1
Assume that the control packet has arrived at the relay card 1 from 002. After the control packet arrives at the relay card 1 from the communication channel 1002, the transmission / reception control unit 3012 requests the load level from the load level determination unit 3053, and the load level determination unit 3053 transmits the control packet stored in the transmission buffer 303. The load level is determined according to the amount of the load level, the operation until the transmission / reception control unit 3012 receives the load level from the load level determination unit 3053, and the load level determination unit 30
The value of the load level determined by 53 is the same as in the fifth embodiment. Also, the operation from the transmission / reception control unit 3012 receiving the load level from the load level determination unit 3053 to outputting the packet processing response signal until packet processing permission is given to any packet processor is the same as that of the seventh embodiment. Is the same.

【0083】以上のように、負荷レベル決定部3053
は、パケットプロセッサのパケット処理部304の処理
中断中の制御パケットの量に応じて、負荷レベルを決定
し、送受信制御部3012は、負荷レベル決定部305
3が決定した負荷レベルに応じて、パケット分配制御部
21のパケット処理要求信号に応答する時間を変化さ
せ、パケット分配制御部21は、パケット処理部304
の処理中断中の制御パケットの量の少ないパケットプロ
セッサに、パケット処理許可を与える。その結果、実施
の形態5よりも、パケット分配制御部21は、パケット
処理部304の処理中断中の制御パケットの量に応じ
て、より細かく制御パケットを分配するパケットプロセ
ッサを決定することができ、各パケットプロセッサのパ
ケット処理部304の処理中断中の制御パケットの量を
より平均化することができる。そして、パケット処理部
304が多くの処理中断中の制御パケットを保持するこ
とによる処理の遅延を抑制することができる。 (実施の形態10)本実施の形態10による負荷分散型
パケット並列処理装置の全体構成は実施の形態2による
負荷分散型パケット並列処理装置の構成(図1)と同じ
である。また、送受信制御部の動作手順は実施の形態2
と同じであるので、参照符合として3012を用いる。
更に、負荷レベル決定部の動作手順は上記実施の形態5
と同じであるので、参照符合として3054を用いる。
As described above, the load level determining unit 3053
Determines the load level according to the amount of control packets during which the processing of the packet processor 304 of the packet processor is suspended.
3 responds to the packet processing request signal of the packet distribution control unit 21 in accordance with the determined load level, and the packet distribution control unit 21
The packet processing permission is given to the packet processor with a small amount of control packets during the interruption of the processing. As a result, the packet distribution control unit 21 can determine a packet processor that distributes control packets more finely according to the amount of control packets during which the processing of the packet processing unit 304 is interrupted than in the fifth embodiment. The amount of control packets during which the processing of the packet processing unit 304 of each packet processor is interrupted can be further averaged. Then, it is possible to suppress the processing delay caused by the packet processing unit 304 holding a large number of control packets that are being interrupted. (Embodiment 10) The overall configuration of a load-balanced packet parallel processing apparatus according to the tenth embodiment is the same as the configuration of the load-balanced packet parallel processing apparatus according to the second embodiment (FIG. 1). Also, the operation procedure of the transmission / reception control unit is described in
Therefore, reference numeral 3012 is used.
Further, the operation procedure of the load level determination unit is the same as that of the fifth embodiment
Therefore, the reference numeral 3054 is used.

【0084】まず、パケットプロセッサ31〜35の状
態は、実施の形態6の場合と同じとし、通信チャネル1
002から制御パケットが中継カード1に到着したと仮
定する。通信チャネル1002から制御パケットが中継
カード1に到着してから、送受信制御部301が負荷レ
ベル決定部3054に負荷レベルを要求し、負荷レベル
決定部3054がパケット処理部304の行っている処
理の種別に応じて負荷レベルを決定し、送受信制御部3
01が負荷レベル決定部3054から負荷レベルを受け
取るまでの動作と負荷レベル決定部3054が決定する
負荷レベルの値は、実施の形態6と同じである。また、
パケット送受信制御部3012が負荷レベル決定部30
54から負荷レベルを受け取ってから、パケット処理応
答信号を出力し、いずれかのパケットプロセッサにパケ
ット処理許可が与えられるまでの動作は、実施の形態7
と同じである。
First, the states of the packet processors 31 to 35 are the same as in the case of the sixth embodiment.
Assume that the control packet has arrived at the relay card 1 from 002. After the control packet arrives at the relay card 1 from the communication channel 1002, the transmission / reception control unit 301 requests a load level from the load level determination unit 3054, and the load level determination unit 3054 determines the type of the processing performed by the packet processing unit 304. The load level is determined according to the
The operation until 01 receives the load level from the load level determining unit 3054 and the value of the load level determined by the load level determining unit 3054 are the same as those in the sixth embodiment. Also,
The packet transmission / reception control unit 3012
The operation from receiving the load level from 54 to outputting a packet processing response signal until packet processing permission is given to one of the packet processors is described in the seventh embodiment.
Is the same as

【0085】以上のように、負荷レベル決定部3054
は、パケットプロセッサのパケット処理部304の行っ
ている処理の種別に応じて、負荷レベルを決定し、送受
信制御部3012は、負荷レベル決定部3054が決定
した負荷レベルに応じて、パケット分配制御部21のパ
ケット処理要求信号に応答する時間を変化させ、パケッ
ト分配制御部21は、パケット処理部304の行ってい
る処理の種別に応じて、パケット処理許可をパケットプ
ロセッサに与える。その結果、実施の形態6よりも、パ
ケット分配制御部21は、より細かく制御パケットを分
配するパケットプロセッサを決定することができ、緊急
度の高い処理を行うパケットプロセッサに新たな制御パ
ケットを分配しないようにすることができる。そして、
パケットプロセッサのパケット処理部304は、共有メ
モリ6上の管理データの不整合復旧処理を専念してでき
るようになり、早急にシステムを正常状態に回復するこ
とができる。また、不整合復旧処理中のパケットプロセ
ッサの受信バッファ302が多くの制御パケットを保持
することによる処理の遅延を抑制することができる。
As described above, the load level determining unit 3054
Determines the load level according to the type of processing performed by the packet processing unit 304 of the packet processor, and the transmission / reception control unit 3012 determines the load level according to the load level determined by the load level determination unit 3054. The packet distribution control unit 21 changes the time for responding to the packet processing request signal of 21, and gives the packet processor permission to the packet processor according to the type of processing performed by the packet processing unit 304. As a result, the packet distribution control unit 21 can determine the packet processor that distributes the control packet more finely than in the sixth embodiment, and does not distribute the new control packet to the packet processor that performs the processing with high urgency. You can do so. And
The packet processing unit 304 of the packet processor can concentrate on the process of restoring the inconsistency of the management data on the shared memory 6, and can quickly recover the system to the normal state. In addition, it is possible to suppress the processing delay caused by the reception buffer 302 of the packet processor holding many control packets during the mismatch recovery processing.

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

【図1】本発明の負荷分散型パケット並列処理装置の構
成を示すブロック図。
FIG. 1 is a block diagram illustrating a configuration of a load balancing packet parallel processing device according to the present invention.

【図2】本発明の負荷分散型パケット並列処理装置のパ
ケットプロセッサの構成を示すブロック図。
FIG. 2 is a block diagram showing a configuration of a packet processor of the load balancing packet parallel processing device of the present invention.

【図3】従来のパケット並列処理装置の構成を示すブロ
ック図。
FIG. 3 is a block diagram showing a configuration of a conventional packet parallel processing device.

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

1 データ中継手段 2 バスインタフェース 4 I/Oバス 5 共有バス 6 共有メモリカード 21 パケット分配制御部 31〜35 パケットプロセッサ 302 受信バッファ 303 送信バッファ 304 パケット処理部 305 負荷レベル決定部 1001〜100N 通信チャネル 2001〜200N データ中継バッファ 3011〜3012 送受信制御部 3051〜3054 負荷レベル決定部 DESCRIPTION OF SYMBOLS 1 Data relay means 2 Bus interface 4 I / O bus 5 Shared bus 6 Shared memory card 21 Packet distribution control unit 31-35 Packet processor 302 Receive buffer 303 Transmission buffer 304 Packet processing unit 305 Load level determination unit 1001-100N Communication channel 2001 To 200N Data relay buffer 3011 to 3012 Transmission / reception control unit 3051 to 3054 Load level determination unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 1つ以上の通信チャネルと、前記通信チ
ャネルから受信した制御パケットを処理する複数のパケ
ットプロセッサと、前記通信チャネルから受信する制御
パケットを前記複数のパケットプロセッサへ分配するパ
ケット分配制御部とを備え、前記通信チャネルに新たに
制御パケットが到着すると、前記パケット分配制御部は
前記複数のパケットプロセッサにパケット処理要求を出
力し、前記パケット処理要求に最も早く応答したパケッ
トプロセッサに処理許可を与える負荷分散型パケット並
列処理装置において、 上記プロセッセサカードに:自パケットプロセッサの負
荷レベルを決定する負荷レベル決定部と、 上記負荷レベル決定部が決定した負荷レベルに応じて、
前記パケット処理要求への応答処理する送受信制御部と
を備えたことを特徴とする負荷分散型パケット並列処理
装置。
At least one communication channel, a plurality of packet processors for processing control packets received from the communication channel, and a packet distribution control for distributing control packets received from the communication channel to the plurality of packet processors. When a new control packet arrives at the communication channel, the packet distribution control unit outputs a packet processing request to the plurality of packet processors, and permits the packet processor which responded to the packet processing request earliest to process the packet processing request. In the load-distributed packet parallel processing apparatus, the processor card includes: a load level determining unit that determines a load level of the own packet processor; and a load level determined by the load level determining unit.
A load distribution type packet parallel processing device, comprising: a transmission / reception control unit for performing a response process to the packet processing request.
【請求項2】 上記送受信制御部は、上記負荷レベル決
定部が決定した所定のしきい値の負荷レベルに応じて、
前記パケット処理要求への応答をする請求項1に記載の
負荷分散型パケット並列処理装置。
2. The transmission / reception control section according to a load level of a predetermined threshold value determined by the load level determination section,
2. The load balancing packet parallel processing apparatus according to claim 1, which responds to the packet processing request.
【請求項3】 上記送受信制御部は、上記負荷レベル決
定部が決定した負荷レベルに応じて、上記パケット処理
要求に応答する時間を変化させる請求項1に記載の負荷
分散型パケット並列処理装置。
3. The load-distributed packet parallel processing device according to claim 1, wherein the transmission / reception control unit changes a time for responding to the packet processing request according to the load level determined by the load level determination unit.
【請求項4】 上記負荷レベル決定部は、上記パケット
プロセッサに備える受信バッファに保持された制御パケ
ットの量に応じて、上記負荷レベルを決定する請求項2
または3に記載の負荷分散型パケット並列処理装置。
4. The load level determination unit according to claim 2, wherein the load level determination unit determines the load level according to an amount of control packets held in a reception buffer provided in the packet processor.
Or the load balancing packet parallel processing device according to 3.
【請求項5】 上記負荷レベル決定部は、上記パケット
プロセッサに備える送信バッファに保持された制御パケ
ットの量に応じて、上記負荷レベルを決定する請求項2
または3に記載の負荷分散型パケット並列処理装置。
5. The load level determination unit according to claim 2, wherein the load level determination unit determines the load level according to an amount of control packets held in a transmission buffer provided in the packet processor.
Or the load balancing packet parallel processing device according to 3.
【請求項6】 上記負荷レベル決定部は、上記パケット
プロセッサに備えるパケット処理部での処理中断中の制
御パケットの数に応じて、上記負荷レベルを決定する請
求項2または3に記載の負荷分散型パケット並列処理装
置。
6. The load distribution according to claim 2, wherein the load level determination unit determines the load level in accordance with the number of control packets during which processing is suspended in a packet processing unit provided in the packet processor. Type packet parallel processing device.
【請求項7】 上記負荷レベル決定部は、上記パケット
プロセッサに備えるパケット処理部での処理の種類に応
じて、上記負荷レベルを決定する請求項2または3に記
載の負荷分散型パケット並列処理装置。
7. The load-distributed packet parallel processing apparatus according to claim 2, wherein the load level determination unit determines the load level according to a type of processing in a packet processing unit provided in the packet processor. .
JP2722599A 1999-02-04 1999-02-04 Load distribution type packet parallel processor Pending JP2000222374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2722599A JP2000222374A (en) 1999-02-04 1999-02-04 Load distribution type packet parallel processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2722599A JP2000222374A (en) 1999-02-04 1999-02-04 Load distribution type packet parallel processor

Publications (1)

Publication Number Publication Date
JP2000222374A true JP2000222374A (en) 2000-08-11

Family

ID=12215160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2722599A Pending JP2000222374A (en) 1999-02-04 1999-02-04 Load distribution type packet parallel processor

Country Status (1)

Country Link
JP (1) JP2000222374A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414365B1 (en) * 2001-08-31 2004-01-07 엘지전자 주식회사 Apparatus and method for controlling data transmission among processors
JP2008090607A (en) * 2006-10-02 2008-04-17 Japan Aerospace Exploration Agency Autonomous distributed control involving restriction of resources
JP2008097314A (en) * 2006-10-12 2008-04-24 Kddi Corp Temporarily connecting method which distributes access requests from terminal spatially and/or temporally, server and program
US7856634B2 (en) 2005-03-28 2010-12-21 Nec Corporation Load distribution system, and event processing distribution control apparatus, and an event processing distribution control program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414365B1 (en) * 2001-08-31 2004-01-07 엘지전자 주식회사 Apparatus and method for controlling data transmission among processors
US7856634B2 (en) 2005-03-28 2010-12-21 Nec Corporation Load distribution system, and event processing distribution control apparatus, and an event processing distribution control program
JP2008090607A (en) * 2006-10-02 2008-04-17 Japan Aerospace Exploration Agency Autonomous distributed control involving restriction of resources
US8347298B2 (en) 2006-10-02 2013-01-01 Japan Aerospace Exploration Agency Autonomous distributed control involving constraint on resources
JP2008097314A (en) * 2006-10-12 2008-04-24 Kddi Corp Temporarily connecting method which distributes access requests from terminal spatially and/or temporally, server and program

Similar Documents

Publication Publication Date Title
CN100504791C (en) Method and device for mutual repulsion access of multiple CPU to critical resources
CN116547958A (en) Method, system and computer readable medium for ranking process of network function selection
CN101013383A (en) System and method for implementing packet combined treatment by multi-core CPU
CN112769905B (en) NUMA (non uniform memory access) architecture based high-performance network card performance optimization method under Feiteng platform
US6580898B1 (en) Supervisory system and method
US7852865B2 (en) System and method for preferred service flow of high priority messages
JP2000222374A (en) Load distribution type packet parallel processor
WO2008013209A1 (en) Cpu connection circuit, data processing device, operation device, and mobile communication terminal and data transfer method using them
US8909873B2 (en) Traffic control method and apparatus of multiprocessor system
JP2011015024A (en) Communication control method, and communication system
CN114095907A (en) Bluetooth connection control method, device and equipment
CN113068161B (en) Bluetooth low-energy-consumption communication method, device and system and storage medium
JPH11234331A (en) Packet parallel processor
JPH11252035A (en) Band allocation method and transmission system
CN115514698A (en) Protocol calculation method, switch, cross-device link aggregation system and storage medium
JP2001092798A (en) Load distribution multi-processor system and method
US11765064B1 (en) Network repository function overload protection
JPH09149067A (en) Switching hub
JPH1188373A (en) Load distribution method by connection sorting
CN115002020B (en) OSPF-based data processing method and device
JP4220430B2 (en) Redundant network control system
CN115470014A (en) Method and device for acquiring task completion notification and method for directly accessing memory
JPH0697984A (en) Network communication method
JP2000285086A (en) Method and system for transferring data
CN111756650A (en) Data processing method and device, operation chip and storage medium