JPH06276229A - Packet data repeater system - Google Patents

Packet data repeater system

Info

Publication number
JPH06276229A
JPH06276229A JP4143393A JP4143393A JPH06276229A JP H06276229 A JPH06276229 A JP H06276229A JP 4143393 A JP4143393 A JP 4143393A JP 4143393 A JP4143393 A JP 4143393A JP H06276229 A JPH06276229 A JP H06276229A
Authority
JP
Japan
Prior art keywords
packet data
relay
relay processing
processing
transfer
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
JP4143393A
Other languages
Japanese (ja)
Inventor
Yasuhiro Yamaguchi
山口  泰弘
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP4143393A priority Critical patent/JPH06276229A/en
Publication of JPH06276229A publication Critical patent/JPH06276229A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently and exactly attain the repetition of packet data. CONSTITUTION:The packet data received by a receiving part 11 are stored in a storage part 12. In response to the reception of the packet data, the reception information is applied to a repetition processing requesting part 51. The repetition processing requesting part 51 reads the managing part of the packet data from the storage part 12, and applies a repetition processing request and the read managing part of the packet data to a repetition processing part group 13. The repetition processing part group 13 is equipped with plural repetition processing parts I1, I2,...In which can operate the repetition processing in parallel. When the repetition processing is ended, it is communicated to a transfer requesting part 52. The transfer requesting part 52 rewrites the managing part of the packet data based on the result of the repetition processing, and applies a transfer request to a transferring part 14. The transferring part 14 transfers the packet data which are not transferred to the destination of repetition decided by the repetition processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、パケットデータの交換
に用いられるパケットデータ中継装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet data relay device used for exchanging packet data.

【0002】[0002]

【従来の技術】パケットデータとは、一定長に区切られ
たデータに宛先情報や制御情報を付加して組み立てたも
のである。すなわち、パケットデータは、制御情報など
を含む管理部分と転送すべきデータを含む本体部分とか
らなる。パケット交換網には、パケットデータを適切な
宛先に転送するための中継装置が備えられている。中継
装置は、パケットデータの管理部分の宛先符号を中継先
の情報として用いて、その中継先にパケットデータを中
継する。
2. Description of the Related Art Packet data is data that is divided into fixed lengths and is assembled by adding destination information and control information. That is, the packet data is composed of a management part including control information and the like and a main part including data to be transferred. The packet switching network is equipped with a relay device for transferring packet data to an appropriate destination. The relay device relays the packet data to the relay destination by using the destination code of the management part of the packet data as the information of the relay destination.

【0003】図2は従来から用いられているパケットデ
ータ中継装置の構成を示すブロック図である。メディア
からのデータは、受信部1によってパケット単位で受信
される。受信されたパケットデータは、記憶部2に記憶
される。記憶部2には複数個のパケットデータD1,D
2,D3,・・・・を蓄積することができる。各パケットデ
ータD1,D2,D3,・・・・は、それぞれ、管理部分D
1a,D2a,D3a,・・・・と本体部分D1b,D2
b,D3b,・・・・とを有している。
FIG. 2 is a block diagram showing the configuration of a packet data relay device which has been conventionally used. Data from the medium is received by the receiving unit 1 in packet units. The received packet data is stored in the storage unit 2. The storage unit 2 stores a plurality of packet data D1, D
2, D3, ... Can be stored. The packet data D1, D2, D3, ...
1a, D2a, D3a, ... and body parts D1b, D2
b, D3b, ... And.

【0004】記憶部2に格納されたパケットデータD
1,D2,D3,・・・・は、受信順に中継処理が行われ
る。すなわち、CPU(中央処理装置)などを含む中継
処理部3は、任意のタイミングで記憶部2にアクセス
し、記憶部2に格納されている未処理のパケットデータ
のうちで最先に受信されたものの管理部分を読み込む。
そして、その管理部分を解析して、中継先および中継方
法を決定し、宛先アドレスを中継先のアドレスに書き換
え(書換え前は当該中継装置のアドレスになってい
る。)、その中継先にパケットデータを転送するように
転送部4に転送要求を与える。
Packet data D stored in the storage unit 2
1, D2, D3, ... Are relayed in the order of reception. That is, the relay processing unit 3 including a CPU (Central Processing Unit) or the like accesses the storage unit 2 at an arbitrary timing and is received first among the unprocessed packet data stored in the storage unit 2. Read the management part of things.
Then, the management part is analyzed, the relay destination and the relay method are determined, the destination address is rewritten to the address of the relay destination (the address of the relay device before rewriting), and the packet data to the relay destination. A transfer request is given to the transfer unit 4 so as to transfer.

【0005】転送要求が与えられた転送部4は、その転
送要求に対応するパケットデータを記憶部2から読出し
て中継先に対応したメディアに送出する。
The transfer unit 4 to which the transfer request is given reads the packet data corresponding to the transfer request from the storage unit 2 and sends it to the medium corresponding to the relay destination.

【0006】[0006]

【発明が解決しようとする課題】上述のパケットデータ
中継装置では、中継処理部3は、記憶部2内のパケット
データを受信順に1個ずつ読み出して処理している。そ
のため、中継処理速度は中継処理部3の処理能力によっ
て制限されてしまい、必ずしも効率的にパケットデータ
を中継することができなかった。
In the above-mentioned packet data relay device, the relay processing unit 3 reads and processes the packet data in the storage unit 2 one by one in the order of reception. Therefore, the relay processing speed is limited by the processing capacity of the relay processing unit 3, and it is not always possible to efficiently relay the packet data.

【0007】この問題を解決するために、複数のパケッ
トデータを並列に処理することが考えられる。上述の従
来技術では、個々のパケットデータに対して受信処理、
中継処理および転送処理を順に施すようにしており、各
処理間の従属関係が強いため、複数のパケットデータに
対する並列処理には適していない。すなわち、複数のパ
ケットデータに対する並列処理を可能にするためには、
各処理毎の独立性を高める必要がある。
In order to solve this problem, it is possible to process a plurality of packet data in parallel. In the above-mentioned conventional technique, reception processing is performed on individual packet data,
Since the relay process and the transfer process are performed in order and the dependency relation between the processes is strong, it is not suitable for parallel processing for a plurality of packet data. That is, in order to enable parallel processing for a plurality of packet data,
It is necessary to increase the independence of each process.

【0008】しかし、各処理の独立性を高めると、パケ
ットデータの中継処理やパケットデータの転送処理が受
信順に行われる保証がない。そのため、パケットデータ
の受信順とその転送順序が異なってしまうおそれがあ
り、パケットデータの中継を正しく行えなくなる可能性
がある。しかも、上記の各処理の独立性を高めると、各
処理の間のインタフェースが増えることになるから、処
理の複雑化を招き、処理効率が悪くなる。
However, if the independence of each process is enhanced, there is no guarantee that the packet data relay process and the packet data transfer process will be performed in the order of reception. Therefore, there is a possibility that the packet data reception order and the packet data transfer order may be different, and the packet data may not be correctly relayed. Moreover, if the independence of each process is increased, the number of interfaces between the processes will increase, resulting in complication of the process and deterioration of the process efficiency.

【0009】そこで、本発明の目的は、上述の技術的課
題を解決し、パケットデータの中継処理を効率的にかつ
正確に行うことができ、したがって、中継能力を格段に
向上することができるパケットデータ中継装置を提供す
ることである。
Therefore, an object of the present invention is to solve the above-mentioned technical problems and to efficiently and accurately perform the packet data relay processing, and thus to significantly improve the relay capability. A data relay device is provided.

【0010】[0010]

【課題を解決するための手段および作用】上記の目的を
達成するための請求項1記載のパケットデータ中継装置
は、転送すべきデータを格納した本体部分と中継先およ
び中継方法を決定するための中継処理に必要な情報を格
納した管理部分とを有するパケットデータを中継する装
置であって、メディアからパケット単位でデータを受信
する受信手段と、受信したパケットデータを記憶する記
憶手段と、上記受信手段がパケットデータを受信したこ
とに応答して受信通知を発生する手段と、上記受信通知
に応答して、上記記憶手段内のパケットデータに対して
中継処理を施すべきことを要求するための中継処理要求
を発生する手段と、上記受信通知に応答して、中継処理
が行われていないパケットデータの上記管理部分を上記
記憶手段から読み出す手段と、中継処理を複数個のパケ
ットデータに対して並列的に行うことができ、上記中継
処理要求に応答して動作して、上記読み出されたパケッ
トデータの上記管理部分の内容に基づき、そのパケット
データの中継先および中継方法を決定する中継処理を行
う中継処理手段と、この中継処理手段による中継処理が
終了したパケットデータを上記決定された中継先に転送
する転送手段とを含むことを特徴とする。
In order to achieve the above object, a packet data relay device according to claim 1 is for determining a main body part storing data to be transferred, a relay destination and a relay method. An apparatus for relaying packet data having a management part storing information necessary for relay processing, the receiving means receiving data from a medium in packet units, a storage means for storing the received packet data, and the receiving means. Means for generating a reception notification in response to the reception of the packet data by the means, and a relay for requesting that the packet data in the storage means be relayed in response to the reception notification. A means for generating a processing request and, in response to the reception notification, read the management part of the packet data which is not relayed from the storage means. And a relay process can be performed in parallel on a plurality of packet data, operating in response to the relay process request, and based on the contents of the management part of the read packet data. A relay processing means for performing a relay processing for determining a relay destination and a relay method of the packet data, and a transfer means for transferring the packet data for which the relay processing by the relay processing means is completed to the determined relay destination. Is characterized by.

【0011】上記の構成によれば、受信手段でパケット
データが受信されると、受信通知が発生される。この受
信通知に応答して、中継処理手段に、中継処理要求と未
処理のパケットデータの管理部分とが与えられる。これ
により、中継処理手段は、パケットデータの中継先およ
び中継方法を決定するための中継処理を行う。中継処理
手段は、複数個のパケットデータに対して並列的に中継
処理を行うことができるもので、或るパケットデータに
対する中継処理中に次のパケットデータが受信された場
合でも、そのパケットデータに対する中継処理も速やか
に行われる。中継処理が施されたパケットデータは、中
継処理によって決定された中継先に転送される。
According to the above arrangement, when the receiving means receives the packet data, the reception notification is issued. In response to this reception notification, the relay processing request and the management portion of the unprocessed packet data are given to the relay processing means. Thereby, the relay processing means performs the relay processing for determining the relay destination and the relay method of the packet data. The relay processing means is capable of performing relay processing on a plurality of packet data in parallel, and even when the next packet data is received during the relay processing for a certain packet data, Relay processing is also performed promptly. The packet data subjected to the relay processing is transferred to the relay destination determined by the relay processing.

【0012】このように、中継処理を並列的に行えるの
で、中継処理の処理効率が格段に向上する。しかも、パ
ケットデータが受信されたことに応答して受信通知が発
生され、それに応答して中継処理が行われるから、中継
処理を受信順に行わせることができる。その結果、受信
順と同じ順序でパケットデータを中継先に転送すること
ができる。また、受信通知や中継処理要求を発生し、こ
れらに基づいて中継処理などが行われるようにしている
から、中継処理手段などを任意のタイミングで動作させ
るような場合に比較して、処理を効率的に行わせること
ができる。
As described above, since the relay processing can be performed in parallel, the processing efficiency of the relay processing is significantly improved. Moreover, since the reception notification is generated in response to the reception of the packet data and the relay processing is performed in response to the reception notification, the relay processing can be performed in the order of reception. As a result, the packet data can be transferred to the relay destination in the same order as the reception order. In addition, the reception processing and the relay processing request are generated, and the relay processing is performed based on these, so that the processing efficiency can be improved as compared with the case where the relay processing means is operated at an arbitrary timing. Can be done automatically.

【0013】請求項2記載のパケットデータ中継装置
は、上記中継処理手段における各パケットデータに対す
る中継処理が終了したことに応答して、上記記憶手段内
のパケットデータを中継先へ転送すべきことを要求する
ための転送要求を発生する手段と、上記中継処理手段に
おける各パケットデータに対する中継処理が終了したこ
とに応答して、上記中継処理が完了しており、かつ、中
継先への転送が未了のパケットデータを、上記記憶手段
から読み出す手段とをさらに含み、上記転送手段は、上
記転送要求に応答して動作し、上記読み出されたパケッ
トデータを上記中継処理手段によって決定された中継先
に転送するものであることを特徴とする。
According to another aspect of the packet data relay device of the present invention, the packet data in the storage means should be transferred to the relay destination in response to the completion of the relay processing for each packet data in the relay processing means. In response to the means for generating a transfer request for requesting and the completion of the relay processing for each packet data in the relay processing means, the relay processing is completed and the transfer to the relay destination is not completed. Means for reading the end packet data from the storage means, wherein the transfer means operates in response to the transfer request, and transfers the read packet data to the relay destination determined by the relay processing means. It is characterized by being transferred to.

【0014】上記の構成によれば、中継処理が終了する
と転送要求が発生され、それに応答して未転送のパケッ
トデータが転送手段から中継先に転送される。したがっ
て、転送手段は、中継処理が終了した順序でパケットデ
ータを転送することができるので、結局、パケットデー
タの転送を受信順に行える。しかも、転送手段を転送要
求に基づいて動作させるようにしているから、この転送
手段を任意のタイミングで動作させるような場合に比較
して、格段に処理効率を向上できる。
According to the above configuration, when the relay process is completed, a transfer request is generated, and in response to this, the untransferred packet data is transferred from the transfer means to the relay destination. Therefore, the transfer means can transfer the packet data in the order in which the relay process is completed, and consequently the packet data can be transferred in the order of reception. Moreover, since the transfer means is operated based on the transfer request, the processing efficiency can be significantly improved as compared with the case where the transfer means is operated at an arbitrary timing.

【0015】[0015]

【実施例】以下では、本発明の実施例を、添付図面を参
照して詳細に説明する。図1は本発明の一実施例のパケ
ットデータ中継装置の基本的な構成を示すブロック図で
ある。このパケットデータ中継装置は、メディアから受
信されるパケットデータの管理部分を参照して適切な中
継先および中継方法を決定し、決定された中継先にその
パケットデータを転送するためのものであり、メディア
からのデータをパケット単位で受信する受信部11と、
受信したパケットデータを記憶する記憶部12と、記憶
部12に記憶されたパケットデータに対して中継方法お
よび中継先を決定するための中継処理を施す中継処理部
群13と、中継処理によって決定された中継先にパケッ
トデータを転送するための転送部14とを備えている。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing the basic configuration of a packet data relay device according to an embodiment of the present invention. This packet data relay device is for determining an appropriate relay destination and relay method by referring to a management portion of packet data received from a medium, and transferring the packet data to the determined relay destination. A receiving unit 11 for receiving data from the medium in packet units,
A storage unit 12 that stores the received packet data, a relay processing unit group 13 that performs a relay process on the packet data stored in the storage unit 12 to determine a relay method and a relay destination, and a relay process. And a transfer unit 14 for transferring the packet data to the relay destination.

【0016】中継処理部群13は、上記の中継処理をそ
れぞれ独立して行うことができる複数個の中継処理部I
1,I2,・・・・,In(nは2以上の自然数である。)
を備えている。中継処理部群13には、パケットデータ
管理部15が接続されている。このパケットデータ管理
部15は、記憶部12内に記憶されているパケットデー
タのうちで中継処理が行われていないパケットデータを
中継処理部群13に与える中継処理要求部51と、記憶
部12内に記憶されているパケットデータのうちで未転
送のパケットデータの転送を転送部14に要求する転送
要求部52とを有している。
The relay processing unit group 13 includes a plurality of relay processing units I capable of independently performing the above-mentioned relay processing.
1, I2, ..., In (n is a natural number of 2 or more.)
Is equipped with. A packet data management unit 15 is connected to the relay processing unit group 13. The packet data management unit 15 includes a relay processing request unit 51 that provides the relay processing unit group 13 with packet data that has not been relayed among the packet data stored in the storage unit 12, and the storage unit 12. The transfer request unit 52 for requesting the transfer unit 14 to transfer the untransferred packet data among the packet data stored in.

【0017】記憶部12は、複数個のパケットデータを
記憶することができる記憶領域を有しており、その記憶
領域には、各パケットデータの管理部分を記憶する管理
部分記憶領域と、各パケットデータの本体部分を記憶す
る本体部分記憶領域とが設けられている。図2は、記憶
部12に格納されたときのパケットデータの形式を示す
図である。パケットデータPDi (i=1,2,3,・・
・・)は、中継処理などのために用いられる情報が格納さ
れた管理部分Mi と、転送すべきデータが格納された本
体部分Bi とからなる。管理部分Mi には、中継処理を
行うために必要な情報Dと、中継処理が行われたかどう
かを表す中継処理依頼フラグFAと、パケットデータP
i が中継先に転送されたかどうかを表す転送要求フラ
グFBとが格納されている。
The storage unit 12 has a storage area capable of storing a plurality of packet data. In the storage area, a management portion storage area for storing a management portion of each packet data and each packet data are stored. A main body portion storage area for storing a main body portion of data is provided. FIG. 2 is a diagram showing a format of packet data when stored in the storage unit 12. Packet data PD i (i = 1, 2, 3, ...
..) is composed of a management portion M i in which information used for relay processing and the like is stored, and a main body portion B i in which data to be transferred is stored. The management part M i includes information D necessary for performing the relay process, a relay process request flag FA indicating whether the relay process has been performed, and packet data P.
A transfer request flag FB indicating whether or not D i has been transferred to the relay destination is stored.

【0018】図3はデータ受信部11および中継処理要
求部51の動作を説明するためのフローチャートであ
る。ステップS31では初期化処理が行われ、受信部1
1は中継処理依頼フラグFAおよび転送要求フラグFB
をリセットする。受信部11がメディアからパケットデ
ータを受信すると(ステップS32)、ステップS33
において、受信部11は受信したパケットデータを記憶
部12に格納する。このとき、受信部11は、そのパケ
ットデータの中継処理依頼フラグFAをセットする。
FIG. 3 is a flow chart for explaining the operations of the data receiving unit 11 and the relay processing requesting unit 51. In step S31, initialization processing is performed, and the receiving unit 1
1 is a relay processing request flag FA and a transfer request flag FB
To reset. When the receiving unit 11 receives the packet data from the medium (step S32), step S33.
In, the receiving unit 11 stores the received packet data in the storage unit 12. At this time, the receiver 11 sets the relay processing request flag FA of the packet data.

【0019】ステップS34では、受信部11は、パケ
ットデータを受信したことを表す受信通知を中継処理要
求部51に与える。これに応答して、ステップS35で
は、中継処理要求部51は、記憶部12内のパケットデ
ータPDi の管理部分Mi を検索し、中継処理依頼フラ
グFAがセットされているパケットデータを見つけ出
す。この場合には、受信部11からの受信通知後速やか
に記憶部12の内容が検索されるから、中継処理要求部
15は、受信直後のパケットデータを中継処理依頼フラ
グFAがセットされているパケットデータとして見出す
ことになる。
In step S34, the receiving section 11 gives a reception notification indicating that the packet data has been received to the relay processing requesting section 51. In response to this, in step S35, the relay processing request unit 51 searches the management portion M i of the packet data PD i in the storage unit 12 and finds the packet data in which the relay processing request flag FA is set. In this case, since the contents of the storage unit 12 are searched immediately after the reception notification from the reception unit 11, the relay processing request unit 15 sets the packet data immediately after reception to the packet for which the relay processing request flag FA is set. It will be found as data.

【0020】そして、ステップS36で、中継処理要求
部15は、そのパケットの中継処理依頼フラグFAをリ
セットし、中継処理部群13に対して中継処理要求を与
える。さらに中継処理要求部15は、中継処理依頼フラ
グFAがセットされているパケットデータの管理部分を
記憶部12から読み出して中継処理部群13に与える。
Then, in step S36, the relay processing request unit 15 resets the relay processing request flag FA of the packet and gives a relay processing request to the relay processing unit group 13. Further, the relay processing requesting unit 15 reads the management portion of the packet data in which the relay processing request flag FA is set from the storage unit 12 and gives it to the relay processing unit group 13.

【0021】その後は、再びステップS35に戻る。す
なわち、中継処理要求やパケットデータの管理部分を中
継処理部群13に与える処理が行われている期間内に、
さらに新たなパケットデータが受信されていれば、ステ
ップS36の処理が繰り返し行われることになる。ただ
し、中継処理要求部15の処理速度は充分に速く、記憶
部12内に記憶された2個以上のパケットデータの中継
処理依頼フラグFAが同時にセットされることはない。
したがって、複数のパケットデータが相次いで受信され
たときには、受信された複数のパケットデータの各管理
部分は、受信順に中継処理部群13に与えられることに
なる。
After that, the process returns to step S35 again. That is, within the period in which the process of giving the relay processing request and the management part of the packet data to the relay processing unit group 13 is being performed,
If new packet data has been received, the process of step S36 is repeated. However, the processing speed of the relay processing requesting unit 15 is sufficiently high so that the relay processing request flags FA of two or more packet data stored in the storage unit 12 are not set at the same time.
Therefore, when a plurality of packet data are received one after another, the respective management parts of the received plurality of packet data are given to the relay processing unit group 13 in the order of reception.

【0022】ステップS36で、中継処理依頼フラグF
Aがセットされているパケットデータが記憶部12内に
存在しないと判断されると、ステップS32に移り、受
信待ち状態となる。図4は中継処理部群13の動作を説
明するためのフローチャートである。中継処理要求を受
けると(ステップS41)、この中継処理要求とともに
与えられるパケットデータの管理部分は、処理を行って
いないいずれかの中継処理部Ik(k=1,2,3,・・
・・,n)に与えられる。そして、ステップS42では、
その中継処理部Ikは中継処理を行う。すなわち、中継
先と中継方法(たとえばブリッジングやルーティング)
とが決定される。さらに、ステップS43では、その中
継処理部Ikは、中継処理が完了したことを表す中継処
理完了通知を、中継処理結果の情報とともに、転送要求
部52に与える。その後は、ステップS41に戻り、中
継処理要求が待機される。
In step S36, the relay processing request flag F
If it is determined that the packet data for which A is set does not exist in the storage unit 12, the process proceeds to step S32, and the reception waiting state is set. FIG. 4 is a flow chart for explaining the operation of the relay processing unit group 13. When the relay processing request is received (step S41), the management part of the packet data given together with this relay processing request causes any of the relay processing units Ik (k = 1, 2, 3, ...
.., n). Then, in step S42,
The relay processing unit Ik performs relay processing. That is, the relay destination and relay method (for example, bridging or routing)
Is decided. Further, in step S43, the relay processing unit Ik gives the transfer requesting unit 52 a relay processing completion notification indicating that the relay processing is completed, together with the relay processing result information. After that, the process returns to step S41 to wait for the relay processing request.

【0023】いずれかの中継処理部Ikで中継処理が行
われている期間に中継処理要求が与えられたときには、
別の中継処理部Ij(j=1,2,3,・・・・,n、j≠
k)で同様な処理が行われる。すなわち、中継処理部群
13では、複数個のパケットデータに対する中継処理が
並列に行われることになる。ただし、上述のように中継
処理要求部51は、各パケットデータに対応した中継処
理要求および管理部分を受信順に中継処理部群13に与
えるから、中継処理部群13における複数のパケットデ
ータに対する中継処理は受信順に行われる。したがっ
て、中継処理完了通知および中継処理結果は、パケット
データの受信順に転送要求部52に与えられることにな
る。
When a relay processing request is given during a period in which the relay processing is being performed by any of the relay processing units Ik,
Another relay processing unit Ij (j = 1, 2, 3, ..., N, j ≠
Similar processing is performed in k). That is, in the relay processing unit group 13, relay processing for a plurality of packet data is performed in parallel. However, as described above, the relay processing requesting unit 51 gives the relay processing request and the management portion corresponding to each packet data to the relay processing unit group 13 in the order of reception, so that the relay processing request for the plurality of packet data in the relay processing unit group 13 is performed. Are performed in the order of reception. Therefore, the relay processing completion notification and the relay processing result are given to the transfer request unit 52 in the order of receiving the packet data.

【0024】図5は転送要求部52の動作を説明するた
めのフローチャートである。中継処理部群13から中継
処理完了通知が与えられると(ステップS51)、ステ
ップS52において、転送要求部52は、中継処理結果
に基づき、対応するパケットデータの管理部分の書換え
を行う。このとき、転送要求部52は、転送要求フラグ
FBをセットする。この後、転送要求部52は、転送部
14に対して転送要求を与えた後(ステップS53)、
中継処理完了通知待ち状態(ステップS51)となる。
転送要求部52は、中継処理完了通知が与えられると速
やかに上記の処理を行うので、結局、転送要求部52は
複数のパケットデータに対する処理を受信順に行うこと
になる。
FIG. 5 is a flow chart for explaining the operation of the transfer request unit 52. When a relay processing completion notification is given from the relay processing unit group 13 (step S51), the transfer requesting unit 52 rewrites the management portion of the corresponding packet data based on the relay processing result in step S52. At this time, the transfer request unit 52 sets the transfer request flag FB. After that, the transfer request unit 52 gives a transfer request to the transfer unit 14 (step S53), and then
The relay process completion notification wait state (step S51) is entered.
The transfer request unit 52 performs the above processing promptly when the relay processing completion notification is given, and thus the transfer request unit 52 eventually performs the processing on the plurality of packet data in the order of reception.

【0025】図6は転送部14の動作を説明するための
フローチャートである。転送要求部25からの転送要求
が与えられると(ステップS61)、ステップS62に
おいて、記憶部12内のパケットデータの管理部分を参
照して、転送要求フラグFBがセットされているパケッ
トデータがあるかどうかを判断する。そして、転送要求
フラグFBがセットされているパケットデータがあれ
ば、ステップS63において、そのパケットデータの転
送要求フラグFBをリセットするとともに、そのパケッ
トデータを記憶部12から読み出し、その管理部分に記
録されている中継先に対応したメディアに送出する。こ
れにより、パケットデータの転送が達成される。
FIG. 6 is a flow chart for explaining the operation of the transfer unit 14. When a transfer request is given from the transfer request unit 25 (step S61), in step S62, there is packet data with the transfer request flag FB set by referring to the packet data management part in the storage unit 12. Determine whether Then, if there is packet data for which the transfer request flag FB is set, the transfer request flag FB of the packet data is reset and the packet data is read from the storage unit 12 and recorded in its management portion in step S63. It is sent to the media corresponding to the relay destination. This achieves the transfer of packet data.

【0026】その後は、再びステップS62に戻る。す
なわち、転送要求フラグFBのリセット処理などが行わ
れている期間内に、さらに新たなパケットデータの中継
処理が終了していれば、ステップS63の処理が繰り返
し行われることになる。ただし、転送部14の処理速度
は充分に速く、記憶部12内に記憶された2個以上のパ
ケットデータの転送要求フラグFBが同時にセットされ
ることはない。
After that, the process returns to step S62 again. That is, if the relay process of the new packet data is completed within the period in which the transfer request flag FB is reset, the process of step S63 is repeated. However, the processing speed of the transfer unit 14 is sufficiently high that the transfer request flags FB of two or more packet data stored in the storage unit 12 are not set at the same time.

【0027】ステップS62で、転送要求フラグFBが
セットされているパケットデータが記憶部12内に存在
しないと判断されたときには、ステップS61に移り、
次の転送要求が待機される。このような処理によって、
転送部14は、結局、複数のパケットデータを受信順に
転送することになる。
If it is determined in step S62 that the packet data for which the transfer request flag FB is set does not exist in the storage unit 12, the process proceeds to step S61.
The next transfer request is awaited. By such processing,
After all, the transfer unit 14 transfers a plurality of packet data in the order of reception.

【0028】以上のように本実施例によれば、パケット
データ管理部15が備える中継処理要求部51は、受信
部11からの受信通知に応答して、受信されたパケット
データの管理部分の情報とともに中継処理要求を中継処
理部群13に与える。中継処理部群13には、複数のパ
ケットデータに対する中継処理を並列的に行うことがで
きる複数個の中継処理部I1,I2,・・・・,Inが備え
られており、次々と受信されたパケットデータに対する
中継処理は、以前に受信されたパケットデータに対する
中継処理を待つことなく速やかに行われる。しかも、中
継処理要求とパケットデータの管理部分とは中継処理部
群13に対して受信順に与えられるから、この中継処理
部群13での中継処理は受信順に進行する。
As described above, according to the present embodiment, the relay process requesting unit 51 included in the packet data managing unit 15 responds to the reception notification from the receiving unit 11 and receives information about the management part of the received packet data. At the same time, the relay processing request is given to the relay processing unit group 13. The relay processing unit group 13 is provided with a plurality of relay processing units I1, I2, ..., In capable of performing relay processing on a plurality of packet data in parallel, and received one after another. The relay processing for packet data is performed promptly without waiting for the relay processing for previously received packet data. Moreover, since the relay processing request and the packet data management portion are given to the relay processing unit group 13 in the order of reception, the relay processing in this relay processing unit group 13 proceeds in the order of reception.

【0029】中継処理が終了すると、次に、パケットデ
ータ管理部15に備えられた転送要求部52が転送部1
4に転送要求を与え、これに応答して転送部14は中継
処理が終了したパケットデータを中継先に転送すること
になる。この場合に、中継処理部群13における処理は
受信順に行われており、しかも、転送要求部52は各パ
ケットデータの中継処理が終了したことに応答して転送
要求を発生するので、結局、パケットデータの転送も受
信順に行われることになる。
When the relay process is completed, the transfer request unit 52 provided in the packet data management unit 15 is then transferred to the transfer unit 1.
4 to the transfer request, and in response to this, the transfer unit 14 transfers the packet data for which the relay processing has been completed to the relay destination. In this case, the processing in the relay processing unit group 13 is performed in the order of reception, and the transfer requesting unit 52 generates the transfer request in response to the completion of the relay processing of each packet data. Data transfer is also performed in the order of reception.

【0030】このようにして、本実施例では、複数個の
中継処理部I1,I2,・・・・,Inにおいて並列的に中
継処理を行う一方で、パケットデータ管理部15から中
継処理要求および転送要求を発生させることにより、パ
ケットデータの中継を受信順に行うための順序制御を行
っている。これにより、パケットデータの中継を極めて
効率的に、かつ、正確に行うことができる。
In this way, in this embodiment, while the relay processing is performed in parallel by the plurality of relay processing units I1, I2, ..., In, the relay processing request from the packet data management unit 15 and By generating a transfer request, sequence control is performed for relaying packet data in the order of reception. As a result, the packet data can be relayed extremely efficiently and accurately.

【0031】また、中継処理部群13や転送部14は任
意のタイミングで自発的に動作するのではなく、中継処
理要求や転送要求に基づいて動作する。そのため、中継
処理が必要な場合やパケットデータの転送が必要な場合
には、中継処理要求や転送要求を発生させることで、中
継処理部群13や転送部14を速やかに動作させること
ができる。これによって、中継装置の処理効率が格段に
向上される。
Further, the relay processing unit group 13 and the transfer unit 14 do not operate voluntarily at arbitrary timing, but operate based on the relay processing request and the transfer request. Therefore, when relay processing is required or packet data transfer is required, the relay processing unit group 13 and the transfer unit 14 can be promptly operated by generating a relay processing request or a transfer request. As a result, the processing efficiency of the relay device is significantly improved.

【0032】しかも、従来のパケットデータ中継装置で
は、任意のタイミングで記憶部内のパケットデータの管
理部分を検索し、未処理のパケットデータがある場合に
中継処理および転送処理を行う構成であるため、記憶部
に対するアクセスが無駄に行われる場合もある。それに
比較して、本実施例の構成では、中継処理や転送処理が
必要な場合に限って記憶部12に対するアクセスが行わ
れるから、記憶部12へのアクセス回数が低減し、パケ
ットデータ管理部15などを構成するCPUの負荷を低
減することができる。
Moreover, since the conventional packet data relay device is configured to search the management portion of the packet data in the storage unit at an arbitrary timing and perform the relay processing and the transfer processing when there is unprocessed packet data, In some cases, access to the storage unit is unnecessarily performed. On the other hand, in the configuration of this embodiment, since the storage unit 12 is accessed only when the relay process or the transfer process is required, the number of accesses to the storage unit 12 is reduced and the packet data management unit 15 is reduced. It is possible to reduce the load on the CPU configuring the above.

【0033】本発明の実施例の説明は以上のとおりであ
るが、本発明は上記の実施例に限定されるものではな
く、本発明の要旨を変更しない範囲で種々の設計変更を
施すことができる。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various design changes may be made without departing from the scope of the present invention. it can.

【0034】[0034]

【発明の効果】以上のように本発明のパケットデータ中
継装置によれば、中継処理を並列的に行えるので、中継
能力が格段に向上する。しかも、パケットデータが受信
されたことに応答して受信通知が発生され、それに基づ
いて中継処理が行われるから、中継処理を受信順に行わ
せることができ、結果として、受信順と同じ順序でパケ
ットデータを中継先に転送することができる。したがっ
て、パケットデータの中継を正確に行える。
As described above, according to the packet data relay device of the present invention, since the relay processing can be performed in parallel, the relay capability is significantly improved. Moreover, since the reception notification is generated in response to the reception of the packet data and the relay processing is performed based on the reception notification, the relay processing can be performed in the reception order. As a result, the packet processing is performed in the same order as the reception order. Data can be transferred to a relay destination. Therefore, the packet data can be relayed accurately.

【0035】また、受信通知や中継処理要求を発生し、
これらに基づいて中継処理などが行われるようにしてい
るから、パケットデータの受信処理、中継処理および転
送処理の独立性を高めながらも、処理を効率的に行わせ
ることができる。すなわち、各処理を任意のタイミング
で行わせる場合に比較して、格段に良好な処理効率を達
成できる。
Further, a reception notification or a relay processing request is generated,
Since the relay process and the like are performed based on these, the process can be efficiently performed while increasing the independence of the packet data reception process, the relay process, and the transfer process. That is, remarkably good processing efficiency can be achieved as compared with the case where each processing is performed at an arbitrary timing.

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

【図1】本発明の一実施例のパケットデータ中継装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a packet data relay device according to an embodiment of the present invention.

【図2】記憶部に記憶されたパケットデータの構成を示
す図である。
FIG. 2 is a diagram showing a configuration of packet data stored in a storage unit.

【図3】受信部および中継処理要求部の動作を説明する
ためのフローチャートである。
FIG. 3 is a flowchart for explaining operations of a reception unit and a relay processing request unit.

【図4】中継処理部群の動作を説明するためのフローチ
ャートである。
FIG. 4 is a flowchart for explaining an operation of a relay processing unit group.

【図5】転送要求部の動作を説明するためのフローチャ
ートである。
FIG. 5 is a flowchart for explaining the operation of a transfer request unit.

【図6】転送部の動作を説明するためのフローチャート
である。
FIG. 6 is a flowchart for explaining the operation of a transfer unit.

【図7】従来のパケットデータ中継装置の構成を示すブ
ロック図である。
FIG. 7 is a block diagram showing a configuration of a conventional packet data relay device.

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

11 受信部 12 記憶部 13 中継処理部群 I1,I2,・・・・,In 中継処理部 14 転送部 15 パケットデータ管理部 51 中継処理要求部 52 転送要求部 11 receiving unit 12 storage unit 13 relay processing unit group I1, I2, ..., In relay processing unit 14 transfer unit 15 packet data management unit 51 relay processing request unit 52 transfer request unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】転送すべきデータを格納した本体部分と中
継先および中継方法を決定するための中継処理に必要な
情報を格納した管理部分とを有するパケットデータを中
継する装置であって、 メディアからパケット単位でデータを受信する受信手段
と、 受信したパケットデータを記憶する記憶手段と、 上記受信手段がパケットデータを受信したことに応答し
て受信通知を発生する手段と、 上記受信通知に応答して、上記記憶手段内のパケットデ
ータに対して中継処理を施すべきことを要求するための
中継処理要求を発生する手段と、 上記受信通知に応答して、中継処理が行われていないパ
ケットデータの上記管理部分を上記記憶手段から読み出
す手段と、 中継処理を複数個のパケットデータに対して並列的に行
うことができ、上記中継処理要求に応答して動作して、
上記読み出されたパケットデータの上記管理部分の内容
に基づき、そのパケットデータの中継先および中継方法
を決定する中継処理を行う中継処理手段と、 この中継処理手段による中継処理が終了したパケットデ
ータを上記決定された中継先に転送する転送手段とを含
むことを特徴とするパケットデータ中継装置。
1. An apparatus for relaying packet data, comprising: a main body section for storing data to be transferred; and a management section for storing information necessary for relay processing for determining a relay destination and a relay method, the medium comprising: Receiving means for receiving data in packet units from the storage means, a storage means for storing the received packet data, a means for generating a reception notification in response to the reception of the packet data by the reception means, and a response for the reception notification. Then, means for generating a relay processing request for requesting that the packet data in the storage means be subjected to relay processing, and packet data for which relay processing has not been performed in response to the reception notification. Means for reading the management part of the storage means from the storage means, and relay processing can be performed in parallel for a plurality of packet data. It operates in response to a request,
A relay processing unit that performs a relay process for determining a relay destination and a relay method of the packet data based on the content of the management portion of the read packet data, and packet data for which the relay process by the relay processing unit is completed. A packet data relay device, comprising: transfer means for transferring to the determined relay destination.
【請求項2】上記中継処理手段における各パケットデー
タに対する中継処理が終了したことに応答して、上記記
憶手段内のパケットデータを中継先へ転送すべきことを
要求するための転送要求を発生する手段と、 上記中継処理手段における各パケットデータに対する中
継処理が終了したことに応答して、上記中継処理が完了
しており、かつ、中継先への転送が未了のパケットデー
タを、上記記憶手段から読み出す手段とをさらに含み、 上記転送手段は、上記転送要求に応答して動作し、上記
読み出されたパケットデータを上記中継処理手段によっ
て決定された中継先に転送するものであることを特徴と
するパケットデータ中継装置。
2. A transfer request for requesting that the packet data in the storage means be transferred to a relay destination in response to the completion of the relay processing for each packet data in the relay processing means. And a means for responding to the completion of the relay processing for each packet data in the relay processing means, storing the packet data for which the relay processing has been completed and which has not been transferred to the relay destination. And a means for reading the packet data to the relay destination determined by the relay processing means, the transfer means operating in response to the transfer request. Packet data relay device.
JP4143393A 1993-03-02 1993-03-02 Packet data repeater system Pending JPH06276229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4143393A JPH06276229A (en) 1993-03-02 1993-03-02 Packet data repeater system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4143393A JPH06276229A (en) 1993-03-02 1993-03-02 Packet data repeater system

Publications (1)

Publication Number Publication Date
JPH06276229A true JPH06276229A (en) 1994-09-30

Family

ID=12608241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4143393A Pending JPH06276229A (en) 1993-03-02 1993-03-02 Packet data repeater system

Country Status (1)

Country Link
JP (1) JPH06276229A (en)

Similar Documents

Publication Publication Date Title
JP2008117342A (en) Storage system, and controller for controlling remote copying
US5956488A (en) Multimedia server with efficient multimedia data access scheme
JP2006286013A (en) Object state transfer method, object state transfer device, object state transfer program, and recording medium for the same
JP2793517B2 (en) Data transfer control device
JP3153129B2 (en) Server selection method
JP2006302065A (en) File sharing system, file sharing program, management server and client terminal
JPH04220761A (en) Document controlling method
JPH06276229A (en) Packet data repeater system
JPS63289657A (en) Common file access system
JP3184121B2 (en) Command file sharing method
JPH07273787A (en) Routing information management system
JPH10116165A (en) Network print system
JP3307331B2 (en) Network file system data transfer method
JP3447820B2 (en) Bus controller
JP2853607B2 (en) Communication system between jobs
KR100800704B1 (en) Message preprocessing apparatus and control method for mobile station in wireless communication system
JP2941293B2 (en) High-speed still image transfer method
JP2000293454A (en) Equipment and method for data communication, and recording medium
JPH0721350A (en) Image processing system
JPH1049319A (en) Printer
JPH10320261A (en) File storage management system
JPH05191474A (en) Communication protocol processor
JPH10222440A (en) Data transmission/reception equipment
JPH05101020A (en) Automatic network setting device
JPH1125122A (en) Data base retrieving system