JPH06209319A - Network connection device - Google Patents

Network connection device

Info

Publication number
JPH06209319A
JPH06209319A JP5002857A JP285793A JPH06209319A JP H06209319 A JPH06209319 A JP H06209319A JP 5002857 A JP5002857 A JP 5002857A JP 285793 A JP285793 A JP 285793A JP H06209319 A JPH06209319 A JP H06209319A
Authority
JP
Japan
Prior art keywords
address
data
memory
conversion
input
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
JP5002857A
Other languages
Japanese (ja)
Inventor
Katsuichi Ishikawa
勝一 石川
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5002857A priority Critical patent/JPH06209319A/en
Publication of JPH06209319A publication Critical patent/JPH06209319A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To improve the conversion processing efficiency of the address bit sending order by writing an address in a storage means as address data which is converted to the bit sending order of a network of the conversion destination. CONSTITUTION:A CPU 41 instructs an access control part 42 to select a port P2 or set a memory 34 to the writable state. As the result, the output enable signal from the access control part 42 is inputted to only the port P2, and the write signal from the access control part 42 is inputted to the memory 34, and the CPU 41 writes address data in a register A in the memory 34. At this time, address data of the bit sending order of D7 to D0 which is made opposite to the bit sending order of D0 to D7 of inputted address data by conversion is outputted from the port P2. As the result, address data according with the bit sending order of LAN-B is written in the memory 34.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、アドレスのビット送
出順序が異なる複数のネットワークと接続されるネット
ワーク接続装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network connection device connected to a plurality of networks having different bit transmission order of addresses.

【0002】[0002]

【従来の技術】従来、ローカルエリアネットワーク(以
下、LANという)には、アクセス制御方式によりアド
レスのビット送出順序が異なるものがある。例えば、I
EEE802.3標準のCSMA/CD方式では、アド
レスをLSBから送出するようにし、IEEE802.
5標準のトークンリング方式では、アドレスをMSBか
ら送出するようにしている。
2. Description of the Related Art Conventionally, in some local area networks (hereinafter referred to as LAN), the bit transmission order of addresses differs depending on the access control method. For example, I
In the CSMA / CD system of the IEEE802.3 standard, the address is transmitted from the LSB, and the IEEE802.
In the standard 5 token ring system, the address is transmitted from the MSB.

【0003】このようなアドレスのビット送出順序が異
なるLANを接続するためには、各LAN間にネットワ
ーク接続装置を設け、このネットワーク接続装置が、各
LANのアドレスのビット送出順序に合わせたアドレス
の変換を行うことにより、各LAN間の通信を可能にし
ている。このアドレスの変換方式としては、特開平3−
132233号公報に開示されたものが知られている。
In order to connect LANs in which the bit transmission order of the addresses is different from each other, a network connection device is provided between the LANs, and the network connection device has an address matching the bit transmission order of the addresses of each LAN. By performing the conversion, communication between each LAN is enabled. As the address conversion method, Japanese Patent Laid-Open No.
The one disclosed in Japanese Patent No. 132233 is known.

【0004】図3は従来のシステムの構成図を示してい
る。図3において、システムは、上記CSMA/CD方
式を採用しているLAN−Aには端末1が接続されてお
り、また上記トークンリング方式を採用しているLAN
−Bには端末2が接続されており、更にこれらのLAN
間にネットワーク接続装置3が介在している。
FIG. 3 shows a block diagram of a conventional system. In FIG. 3, in the system, the terminal 1 is connected to the LAN-A adopting the CSMA / CD method, and the LAN adopting the token ring method.
-A terminal 2 is connected to -B, and these LAN
The network connection device 3 is interposed therebetween.

【0005】ネットワーク接続装置3は、主に各LAN
との送受信を制御する接続制御部31、32と、各接続
制御部で取り出されたフレームのプロトコル変換を行う
プロトコル変換部33と、各接続制御部とプロトコル変
換部13との間でフレームを中継するメモリで34とか
ら構成されている。
The network connection device 3 is mainly used for each LAN.
Connection control units 31 and 32 for controlling transmission / reception to and from each other, a protocol conversion unit 33 that performs protocol conversion of the frame extracted by each connection control unit, and a frame relay between each connection control unit and protocol conversion unit 13. And a memory 34.

【0006】このような従来のシステムの通信について
簡単に説明する。最初に、端末1が端末2に対してデー
タ(フレーム)を送出すると、このフレームは、アドレ
スのビット送出順序がLSBから送出されるように、L
AN−A、接続制御部31を経た後、プロトコル変換部
33の命令に応答した接続制御部31によってメモリ3
4に格納される。すると、プロトコル変換部33は、メ
モリ34に格納されたフレームのアドレスを、LAN−
Bにおいて伝送可能なアドレスのビット送出順序(この
場合はアドレスがMSBから送出される)で送出される
ように、ビット送出順を変換する(書き換える)。そし
て、プロトコル変換部33が接続制御部32に読み出し
可能である旨の命令を与えると、接続制御部32は、メ
モリ34から、アドレス変換されたフレームを読み出し
てLAN−Bへ送出する。この結果として、アドレス変
換されたフレームが端末2に入力されることとなる。一
方、端末2から端末1へデータ(フレーム)が送出され
た場合においても、上記同様な処理が行われる。
Communication in such a conventional system will be briefly described. First, when the terminal 1 sends data (frame) to the terminal 2, this frame has L bits so that the bit sending order of the address is sent from the LSB.
After passing through the AN-A and the connection control unit 31, the connection control unit 31 responds to the command from the protocol conversion unit 33, and then the memory 3
Stored in 4. Then, the protocol conversion unit 33 sets the address of the frame stored in the memory 34 to the LAN-
The bit transmission order is converted (rewritten) so that the data can be transmitted in the bit transmission order of the address that can be transmitted in B (in this case, the address is transmitted from the MSB). Then, when the protocol conversion unit 33 gives a command to the connection control unit 32 that it can be read, the connection control unit 32 reads the address-converted frame from the memory 34 and sends it to the LAN-B. As a result, the address-converted frame is input to the terminal 2. On the other hand, when data (frame) is sent from the terminal 2 to the terminal 1, the same processing as above is performed.

【0007】なお従来においては、プロトコル変換部3
3において実行されるアドレスのビット送出順序変換全
てを、ソフトウェア的に行っていた。
Incidentally, in the past, the protocol conversion unit 3
All the bit transmission order conversion of the address executed in No. 3 was performed by software.

【0008】ここでプロトコル変換部33の更に詳細な
構成を図4に示す。図4において、プロトコル変換部3
3は、メモリ34に対するアクセスを行うCPU41、
CPU41の制御に従ってメモリ34に対してアドレス
・制御信号を送出するとともに、上記各接続制御部に対
して制御信号を送出するアクセス制御部42を備えてい
る。またCPU41には、アドレスを一時的に記憶する
図示しないレジスタA、レジスタBが設けられている。
Here, a more detailed structure of the protocol conversion unit 33 is shown in FIG. In FIG. 4, the protocol conversion unit 3
3 is a CPU 41 for accessing the memory 34,
An access control unit 42 is provided which sends an address / control signal to the memory 34 under the control of the CPU 41 and sends a control signal to each of the connection control units. Further, the CPU 41 is provided with registers A and B (not shown) for temporarily storing addresses.

【0009】次に、アドレス変換処理について図5を参
照して説明する。
Next, the address conversion process will be described with reference to FIG.

【0010】接続制御部31が、LAN−Aを経て入力
されたフレームをメモリ34に記憶するとともに、メモ
リ34にLAN−Aからのフレームデータを書き込んだ
旨をプロトコル制御部33へ通知すると、プロトコル制
御部33においては、CPU41は、アクセス制御部4
2に対して上記データの読み出しを指示する。
When the connection control unit 31 stores the frame input via the LAN-A in the memory 34 and notifies the protocol control unit 33 that the frame data from the LAN-A has been written in the memory 34, the protocol is notified. In the control unit 33, the CPU 41 controls the access control unit 4
2 is instructed to read the above data.

【0011】この結果メモリ34にはアクセス制御部4
2からのリード信号が入力されることになるので、CP
U41は、n=8と定義し、メモリ34から8ビットの
アドレスデータ(例えば11001111)を読み込ん
で、自己内に設けられているレジスタA(図示しない)
に保持する(ステップ51)。次にCPU41は、この
レジスタA内のアドレスについて、右ローテート(最下
位ビットから最上位ビットへ)順に従ったビット位置の
ビットデータを自己内に設けられている図示しないバッ
ファCに書き込む(キャリービットフラグにセットす
る)と共に(ステップ52)、この値を、自己内に設け
られているレジスタB(図示しない)に左ローテート
(最上位ビットから最下位ビットへ)順に従ったビット
位置に書き込む(ステップ53)。更にn=n−1を演
算して(ステップ54)、n=0であるか否かを判断し
(ステップ55)、n≠0の場合は、上記ステップ52
に戻り、n=0に達するまで、ステップ52〜ステップ
55を繰り返す。そして、ステップ55においてn=0
の場合は、レジスタB内のアドレスデータ(この例では
11110011)をメモリ34に書き込む(ステップ
56)。
As a result, the access control unit 4 is stored in the memory 34.
Since the read signal from 2 is input, CP
U41 defines n = 8, reads 8-bit address data (for example, 11001111) from the memory 34, and registers in its own register A (not shown).
(Step 51). Next, the CPU 41 writes the bit data of the bit position of the address in the register A according to the right rotate (from the least significant bit to the most significant bit) order to the buffer C (not shown) provided in itself (carry bit). (Set to flag) (step 52), and this value is written to a register B (not shown) provided in the self at a bit position according to the left rotate (most significant bit to least significant bit) order (step 52). 53). Further, n = n-1 is calculated (step 54), and it is determined whether or not n = 0 (step 55). If n ≠ 0, the above step 52 is performed.
And step 52 to step 55 are repeated until n = 0 is reached. Then, in step 55, n = 0
In the case of, the address data (11110011 in this example) in the register B is written in the memory 34 (step 56).

【0012】このようにしてアドレスの送出順序が変換
されたアドレスデータを含むLAN−Aからのフレーム
データは、CPU41の指示に従った接続制御部32に
よって読み出され、LAN−Bへ送出されることにな
る。
The frame data from the LAN-A including the address data whose address transmission order has been converted in this way is read by the connection control unit 32 according to the instruction of the CPU 41 and is transmitted to the LAN-B. It will be.

【0013】なおLAN−BからLAN−Aへのフレー
ムの送出に際しても、上記同様の変換処理が施されるこ
とになる。
When transmitting a frame from LAN-B to LAN-A, the same conversion process as described above is performed.

【0014】この様にビット順序変換をソフトウェア的
に行うのに対し、特開平3−268132号公報に開示
されている様に、ビット順序変換処理をハードウェア的
に実現することによって、処理時間を短縮させるように
したものも知られている。
As described above, while the bit order conversion is performed by software, the bit order conversion processing is realized by hardware as disclosed in Japanese Patent Laid-Open No. 3-268132, thereby reducing the processing time. It is also known to shorten the length.

【0015】更に、上述したようなソフトウェア的な処
理及びハードウェア的な処理を組み合わせてビット順序
変換を行うようにした、図6に示されるハードウェアも
可能である。図6に示す例は、図4の示す例の構成にお
いて、アドレス変換レジスタ60を追加した構成になっ
ている。なおアドレス変換レジスタ60においては、上
述したLAN−A及びLAN−Bのビット送出順序に適
合するように設定されている。
Furthermore, the hardware shown in FIG. 6 in which the bit order conversion is performed by combining the above-described software processing and hardware processing is also possible. The example shown in FIG. 6 has a configuration in which an address conversion register 60 is added to the configuration of the example shown in FIG. The address conversion register 60 is set so as to match the bit transmission order of LAN-A and LAN-B described above.

【0016】次にアドレス変換処理について図7を参照
して説明する。
Next, the address conversion process will be described with reference to FIG.

【0017】CPU41は、接続制御部31から、上記
同様にLAN−Aからのフレームをメモリ34に書き込
んだ旨を受け取ると、アクセス制御部42に対して、メ
モリ34を読み出し可能状態とするように、またアドレ
ス変換レジスタ60を書き込み可能状態とするように指
示する。するとメモリ34にはアクセス制御部42から
のリード信号が入力され、またアドレス変換レジスタ6
0にはアクセス制御部42からのライト信号が入力され
るので、CPU41は、データバス1を介してメモリ3
4から8ビットのアドレスデータ(例えば110011
11)を読み込んで、自己内に設けられているレジスタ
A(図示しない)に書き込むと共に(ステップ71)、
このレジスタA内のアドレスデータを、データバス1、
データバス2を介してアドレス変換レジスタ60に書き
込む(ステップ72)。
When the CPU 41 receives from the connection control unit 31 that the frame from LAN-A has been written in the memory 34 in the same manner as described above, the CPU 41 causes the access control unit 42 to make the memory 34 readable. , And instructing the address conversion register 60 to be in a writable state. Then, the read signal from the access control unit 42 is input to the memory 34, and the address conversion register 6
Since a write signal from the access control unit 42 is input to 0, the CPU 41 controls the memory 3 via the data bus 1.
Address data of 4 to 8 bits (for example, 110011)
11) is read and written in the register A (not shown) provided in itself (step 71),
The address data in the register A is transferred to the data bus 1,
The data is written in the address conversion register 60 via the data bus 2 (step 72).

【0018】次にCPU41は、アクセス制御部42に
対して、メモリ34を書き込み可能状態とするように、
またアドレス変換レジスタ60を読み出し可能状態とす
るように指示する。するとメモリ34にはアクセス制御
部42からのライト信号が入力され、またアドレス変換
レジスタ60にはアクセス制御部42からのリード信号
が入力されることになので、CPU41は、データバス
3、データバス1を介してアドレス変換レジスタ60か
らアドレスデータを読み込んで、自己内のレジスタAに
書き込む(この場合は11110011)と共に(ステ
ップ73)、このレジスタA内のアドレスをデータバス
1を介してメモリ34に書き込む(ステップ74)。
Next, the CPU 41 makes the memory 34 writable by the access control unit 42.
It also instructs the address conversion register 60 to be in a readable state. Then, since the write signal from the access control unit 42 is input to the memory 34 and the read signal from the access control unit 42 is input to the address conversion register 60, the CPU 41 causes the data bus 3 and the data bus 1 to operate. The address data is read from the address conversion register 60 via the memory and written to the register A in the self (in this case, 11110011) (step 73), and the address in the register A is written to the memory 34 via the data bus 1. (Step 74).

【0019】このようにしてアドレスの送出順序が変換
されたアドレスデータを含むLAN−Aからのフレーム
データは、CPU41の指示に従った接続制御部32に
よって読み出され、LAN−Bへ送出されることにな
る。
The frame data from the LAN-A including the address data whose address transmission order has been converted in this way is read by the connection control unit 32 according to the instruction of the CPU 41 and is transmitted to the LAN-B. It will be.

【0020】なおLAN−BからLAN−Aへのフレー
ムの送出に際しても、上記同様の変換処理が施されるこ
とになる。
When transmitting a frame from LAN-B to LAN-A, the same conversion process as described above is performed.

【0021】[0021]

【発明が解決しようとする課題】しかしながら上記従来
においては、ソフトウェア的にビット順序の変換処理を
行うようにしたものにあっては、各ビット位置毎にアド
レス変換しなくてはならず、このため処理ステップ数が
多くなりビット送出順序処理効率を向上させることは難
しい。
However, in the above-mentioned prior art, in the case where the bit order conversion processing is performed by software, the address conversion must be performed for each bit position, and therefore, Since the number of processing steps increases, it is difficult to improve the processing efficiency of the bit sending order.

【0022】またソフトウェア的な処理及びハードウェ
ア的な処理を組み合わせてビット順序変換を行うように
したものにあっては、メモリとCPU内のレジスタ間で
のアドレスの読み書き、及びそのレジスタとアドレス変
換レジスタ間でのアドレスの読み書きを実行しなければ
ならず、必ずしもビット送出順序処理効率が良いとは言
い難い。
In the case where the bit order conversion is performed by combining software processing and hardware processing, reading and writing of an address between the memory and a register in the CPU, and the conversion of the register and the address are performed. Since it is necessary to read and write addresses between registers, it cannot be said that the bit transmission order processing efficiency is necessarily good.

【0023】この発明は、アドレスのビット送出順序の
変換処理効率を向上させることができるネットワーク接
続装置を提供することを目的とする。
It is an object of the present invention to provide a network connection device capable of improving the conversion processing efficiency of the bit transmission order of addresses.

【0024】[0024]

【課題を解決するための手段】この発明は、アドレスの
ビット送出順序が異なる複数のネットワークと接続され
るネットワーク接続装置において、前記複数のネットワ
ークとのデータの送受信を制御する複数の接続制御手段
と、該複数の接続制御手段の間でデータを中継する記憶
手段と、該記憶手段に対して前記複数のネットワークの
それぞれに対応するアドレスのビット送出順序に適合す
るアドレスデータを入出力する双方向の複数のポート
と、変換元のネットワークに対応するポートを介して前
記記憶手段から当該変換元のネットワークからのアドレ
スデータを読み出すと共に、この読み出したアドレスデ
ータを変換先のネットワークに対応するポートを介して
前記記憶手段に書き込むアクセス手段とを具備してい
る。
According to the present invention, in a network connection device connected to a plurality of networks having different address bit transmission orders, a plurality of connection control means for controlling transmission / reception of data to / from the plurality of networks are provided. A storage means for relaying data between the plurality of connection control means, and a bidirectional input / output for inputting / outputting address data matching the bit transmission order of addresses corresponding to each of the plurality of networks to / from the storage means. Address data from the conversion source network is read from the storage unit via a plurality of ports and a port corresponding to the conversion source network, and the read address data is read via a port corresponding to the conversion destination network. And an access unit for writing in the storage unit.

【0025】[0025]

【作用】この発明においては、アクセス手段によって、
記憶手段に記憶されている変換元(送信元)のネットワ
ークからのアドレスデータを、この変換元のネットワー
クに対応する双方向のポートを介して所定のビット送出
順序のアドレスデータとして読み出すと共に、このアド
レスデータを、変換先(送信先)のネットワークに対応
する双方向のポートを介して当該変換先のネットワーク
のビット送出順序に変換されたアドレスデータとして記
憶手段に書き込むようにしているので、アドレスのビッ
ト送出順序が異なる複数のネットワーク間においてデー
タの送受を実施することができる。
In the present invention, by the access means,
The address data from the conversion source (transmission source) network stored in the storage means is read out as address data in a predetermined bit transmission order through a bidirectional port corresponding to the conversion source network, and this address is also read. Since the data is written to the storage means as address data converted into the bit transmission order of the conversion destination network via the bidirectional port corresponding to the conversion destination (transmission destination) network, the address bit Data can be transmitted / received between a plurality of networks having different transmission orders.

【0026】[0026]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0027】図1は、本発明に係るネットワーク接続装
置の一実施例をブロック図で示したものである。このブ
ロック図は、図6に示した従来のブロック図においてア
ドレス変換レジスタ60を削除し、双方向のポートP
1、2を追加した構成になっている。なお図1におい
て、図6に示した構成要素と同様の機能を果たす部分に
は同一の符号を付している。
FIG. 1 is a block diagram showing an embodiment of a network connection device according to the present invention. In this block diagram, the address translation register 60 is deleted from the conventional block diagram shown in FIG.
It has a configuration in which 1 and 2 are added. Note that, in FIG. 1, portions that perform the same functions as the components shown in FIG. 6 are denoted by the same reference numerals.

【0028】ポートP1は、メモリデータバス1側のア
ドレスデータ入出力端子MD7、MD6、MD5、MD
4、MD3、MD2、MD1、MD0と、CPUデータ
バス2側のアドレスデータ入出力端子CD7、CD6、
CD5、CD4、CD3、CD2、CD1、CD0とが
それそれ対応している。
The port P1 is an address data input / output terminal MD7, MD6, MD5, MD on the memory data bus 1 side.
4, MD3, MD2, MD1, MD0, and address data input / output terminals CD7, CD6 on the CPU data bus 2 side.
CD5, CD4, CD3, CD2, CD1 and CD0 correspond to each other.

【0029】ポートP2は、メモリデータバス1側のア
ドレスデータ入出力端子MD0、MD1、MD2、MD
3、MD4、MD5、MD6、MD7と、CPUデータ
バス2側のアドレスデータ入出力端子CD7、CD6、
CD5、CD4、CD3、CD2、CD1、CD0とが
それぞれ対応している。
The port P2 is an address data input / output terminal MD0, MD1, MD2, MD on the memory data bus 1 side.
3, MD4, MD5, MD6, MD7 and address data input / output terminals CD7, CD6 on the CPU data bus 2 side.
CD5, CD4, CD3, CD2, CD1 and CD0 correspond to each other.

【0030】これらのポートにおいては、入出力端子M
D7から入出力される27 のビット位置のデータD7は
入出力端子CD7から入出力される。
In these ports, the input / output terminal M
Data D7 of 2 7 bit positions input / output from D7 is input / output from the input / output terminal CD7.

【0031】入出力端子MD6から入出力される26
ビット位置のデータD6が入出力端子CD6から入出力
される。
Data D6 of 2 6 bit positions input / output from the input / output terminal MD6 is input / output from the input / output terminal CD6.

【0032】入出力端子MD5から入出力される25
ビット位置のデータD5が入出力端子CD5から入出力
される。
Data D5 of 2 5 bit positions input / output from the input / output terminal MD5 is input / output from the input / output terminal CD5.

【0033】入出力端子MD4から入出力される24
ビット位置のデータD4が入出力端子CD4から入出力
される。
Data D4 of 2 4 bit positions input / output from the input / output terminal MD4 is input / output from the input / output terminal CD4.

【0034】入出力端子MD3から入出力される23
ビット位置のデータD3が入出力端子CD3から入出力
される。
Data D3 of 2 3 bit positions input / output from the input / output terminal MD3 is input / output from the input / output terminal CD3.

【0035】入出力端子MD2から入出力される22
ビット位置のデータD2が入出力端子CD2から入出力
される。
The data D2 of 2 2 bit positions input / output from the input / output terminal MD2 is input / output from the input / output terminal CD2.

【0036】入出力端子MD1から入出力される21
ビット位置のデータD1が入出力端子CD1から入出力
される。
Data D1 of 2 1 bit positions input / output from the input / output terminal MD1 is input / output from the input / output terminal CD1.

【0037】入出力端子MD0から入出力される20
ビット位置のデータD0が入出力端子CD0から入出力
される。
[0037] Data D0 bit position 2 0 which is output from the output terminal MD0 is output from the output terminal CD0.

【0038】したがって、D0、D1、D2、D3、D
4、D5、D6、D7のビット送出順序のアドレスデー
タがメモリデータバス1を経てポートP1に入力される
と、ポートP1からは、D0、D1、D2、D3、D
4、D5、D6、D7のビット送出順序のアドレスデー
タがCPUデータバス2に出力される。なおD0〜D7
のビット送出順序のアドレスデータがCPUデータバス
2を経てポートP1に入力された場合は、ポートP1か
らは、D0〜D7のビット送出順序のアドレスデータが
メモリデータバス1に出力されることになる。
Therefore, D0, D1, D2, D3, D
When the address data in the bit transmission order of 4, D5, D6, D7 is input to the port P1 via the memory data bus 1, the port P1 outputs D0, D1, D2, D3, D.
Address data in the bit transmission order of 4, D5, D6, and D7 is output to the CPU data bus 2. D0 to D7
When the address data of the bit transmission order of is input to the port P1 via the CPU data bus 2, the address data of the bit transmission order of D0 to D7 is output to the memory data bus 1 from the port P1. .

【0039】またD7、D6、D5、D4、D3、D
2、D1、D0のビット送出順序のアドレスデータがメ
モリデータバス1を経てポート2Pに入力されると、ポ
ートP2からは、D0、D1、D2、D3、D4、D
5、D6、D7のビット送出順序のアドレスデータがC
PUデータバス2に出力される。なおD0〜D7のビッ
ト送出順序のアドレスデータがポート2Pに入力される
と、ポート2Pからは、D7〜D0のビット送出順序の
アドレスデータがメモリデータバス2に出力されること
になる。
D7, D6, D5, D4, D3, D
When the address data in the bit transmission order of 2, D1 and D0 is input to the port 2P via the memory data bus 1, D0, D1, D2, D3, D4 and D are input from the port P2.
Address data in the bit transmission order of 5, D6, and D7 is C
It is output to the PU data bus 2. When the address data in the bit transmission order of D0 to D7 is input to the port 2P, the address data in the bit transmission order of D7 to D0 is output to the memory data bus 2 from the port 2P.

【0040】係る構成において、アドレス変換処理につ
いて図2を参照して説明する。
Address conversion processing in the above configuration will be described with reference to FIG.

【0041】アクセス制御部31が、LAN−A上の端
末1から送出されたLAB−B上の端末2へのフレーム
を受信し、このフレームをメモリ34に格納すると共
に、メモリ34にLAN−Aのフレームデータを書き込
んだ旨及び送信先情報をプロトコル制御部33へ通知す
ると、プロトコル制御部33においては、CPU41
は、アクセス制御部42に対して、ポートP1を選択す
るように、またメモリ34を読み出し可能状態にするよ
うに指示する。この結果、ポートP1のみにアクセス制
御部42からの出力イネーブル信号が入力され、またメ
モリ34にはアクセス制御部42からのリード信号が入
力される。
The access control unit 31 receives a frame sent from the terminal 1 on the LAN-A to the terminal 2 on the LAB-B, stores the frame in the memory 34, and stores the frame in the memory 34 in the LAN-A. When the protocol control unit 33 is notified of the fact that the frame data has been written and the destination information, the CPU 41
Instructs the access control unit 42 to select the port P1 and to put the memory 34 in a readable state. As a result, the output enable signal from the access control unit 42 is input only to the port P1, and the read signal from the access control unit 42 is input to the memory 34.

【0042】なおLAN−A、LAN−Bそれぞれのビ
ット送出順序は予め定義されているので、CPU41
は、フレームデータを書き込んだ旨及び送信先情報を通
知した接続制御部を知ることにより、変換元(送信元)
のネットワークに対応するポートを知ることができ、ま
た受け取った送信先情報に基づいて、変換先(送信先)
のネットワークに対応するポートを知ることができる。
Since the bit transmission order of each of LAN-A and LAN-B is defined in advance, the CPU 41
Knows the connection control unit that has notified that the frame data has been written and the destination information, so that the conversion source (source)
You can find out the port corresponding to the network, and based on the received destination information, the conversion destination (destination)
You can find out which port corresponds to your network.

【0043】ところでCPU41は、メモリ34が読み
出し可能となり、ポートP1が選択されると、メモリデ
ータバス1、ポートP1、CPUデータバス2を介して
メモリ34から上記フレームデータ内のアドレスデータ
を読み込んで、自己内に設けられているレジスタA(図
示しない)に書き込む(ステップ100)。
When the memory 34 becomes readable and the port P1 is selected, the CPU 41 reads the address data in the frame data from the memory 34 via the memory data bus 1, the port P1 and the CPU data bus 2. , Write to a register A (not shown) provided in itself (step 100).

【0044】このときポートP1からは、メモリデータ
バス1を経て入力されたD0、D1、D2、D3、D
4、D5、D6、D7のビット送出順序のアドレスデー
タが、同一のビット送出順序で出力される。ここでLA
N−Aからのフレームのアドレスデータが例えば“11
001111”であった場合は、上記レジスタAには
“11001111”のアドレスデータが書き込まれる
ことになる。
At this time, D0, D1, D2, D3, D input via the memory data bus 1 from the port P1.
Address data in the bit transmission order of 4, D5, D6, and D7 is output in the same bit transmission order. LA here
The address data of the frame from NA is, for example, “11”.
If it is 001111 ", the address data of" 11001111 "is written in the register A.

【0045】次にCPU41は、アクセス制御部42に
対して、ポートP2を選択するように、またメモリ34
を書き込み可能状態にするように指示する。この結果、
ポートP2のみにアクセス制御部42からの出力イネー
ブル信号が入力され、またメモリ34にはアクセス制御
部42からのライト信号が入力される。するとCPU4
1は、レジスタA内のアドレスデータを、CPUデータ
バス2、ポートP2、メモリデータバス1を介してメモ
リ34に書き込む(ステップ200)。
Next, the CPU 41 instructs the access control unit 42 to select the port P2, and the memory 34.
To write to. As a result,
The output enable signal from the access control unit 42 is input only to the port P2, and the write signal from the access control unit 42 is input to the memory 34. Then CPU4
1 writes the address data in the register A to the memory 34 via the CPU data bus 2, port P2, and memory data bus 1 (step 200).

【0046】このときポートP2からは、CPUデータ
バス2を経て入力されたD0、D1、D2、D3、D
4、D5、D6、D7のビット送出順序のアドレスデー
タが、このビット送出順序とは逆に変換された、D7、
D6、D5、D4、D3、D2、D1、D0のビット送
出順序のアドレスデータが出力される。この結果とし
て、メモリ34には、LAN−Bのビット送出順序に従
ったアドレスデータ(この例では“11110011”
のビット送出順序のデータ)が書き込まれることにな
る。
At this time, D0, D1, D2, D3, D input from the port P2 via the CPU data bus 2 is input.
The address data in the bit transmission order of 4, D5, D6, and D7 is converted in the reverse order of the bit transmission order, that is, D7,
Address data in the bit transmission order of D6, D5, D4, D3, D2, D1, and D0 is output. As a result, the memory 34 stores the address data (“11110011” in this example) according to the LAN-B bit transmission order.
Data of the bit transmission order of) will be written.

【0047】このようにしてアドレスの送出順序が変換
されたアドレスデータを含むLAN−Aからのフレーム
データは、CPU41の指示に従った接続制御部32に
よって読み出され、LAN−Bへ送出されることにな
る。
The frame data from the LAN-A including the address data whose address transmission order has been changed in this way is read by the connection control unit 32 according to the instruction of the CPU 41 and is transmitted to the LAN-B. It will be.

【0048】なおLAN−AからLAN−Bへのフレー
ムの送出に際しても、上記同様なアドレス変換処理が実
施されることになる。
When transmitting a frame from LAN-A to LAN-B, the address conversion processing similar to the above is carried out.

【0049】なお上述した実施例では、ビット送出順序
の異なる2つのLAN−A、LAN−Bに対応してポー
トP1、P2を設けているが、ビット送出順序の異なる
ネットワークが3つ以上の場合には、それぞれのネット
ワークに対応するポートを設け、上述したような変換処
理を実施することより、アドレス変換を迅速に行うこと
ができる。
In the above-described embodiment, the ports P1 and P2 are provided corresponding to the two LAN-A and LAN-B whose bit transmission order is different, but when there are three or more networks whose bit transmission order is different. By providing a port corresponding to each network and performing the conversion processing as described above, the address conversion can be performed quickly.

【0050】このとき、図1において、ネットワークに
対応するポートのメモリデータバス1側の入出力端子の
配列を、当該ネットワークのビット送出順序に従ったビ
ット配置になるように設定し、一方、CPUデータバス
2側の入出力端子の配列を、上述したポートP1、P2
のCPUデータバス2側のビット配置と同一になるよう
に設定すれば良い。
At this time, in FIG. 1, the arrangement of the input / output terminals on the memory data bus 1 side of the ports corresponding to the network is set so that the bit arrangement is in accordance with the bit transmission order of the network, while the CPU The arrangement of the input / output terminals on the data bus 2 side is the same as the above-mentioned ports P1 and P2.
It may be set so as to be the same as the bit arrangement on the CPU data bus 2 side.

【0051】以上説明したように本実施例によれば、プ
ロトコル変換部33によって、変換元(送信元)のネッ
トワークに対応するポートを介して、メモリ34に書き
込まれたアドレスデータを読み出すと共に、変換先(送
信先)のネットワークに対応するポートを介して、メモ
リ34へ書き込むことによって、アドレスのビット送出
順序の変換を行うことができることとなり、変換処理を
迅速に実施することができる。従ってフレームパケット
中継能力を向上させることができる。
As described above, according to this embodiment, the protocol conversion unit 33 reads out the address data written in the memory 34 through the port corresponding to the network of the conversion source (transmission source) and converts the address data. By writing to the memory 34 via the port corresponding to the destination (destination) network, the bit transmission order of the addresses can be converted, and the conversion processing can be performed quickly. Therefore, the frame packet relay capability can be improved.

【0052】なお図6に示した従来のプロトコル変換部
33においては、メモリ34内のアドレスデータをCP
U41内のレジスタAに一旦書き込んだ後、このアドレ
スデータをアドレス変換レジスタ60に書き込み、次に
アドレス変換レジスタ60内のアドレスデータをCPU
41内のレジスタAに一旦書き込んだ後、このアドレス
データをメモリ34に書き込まなければならず、このた
めアドレス変換処理に多くの時間を要していた。
In the conventional protocol conversion unit 33 shown in FIG. 6, the address data in the memory 34 is converted into CP.
After once writing to the register A in U41, this address data is written to the address conversion register 60, and then the address data in the address conversion register 60 is written to the CPU.
This address data must be written in the memory 34 once it has been written in the register A in 41, which requires a lot of time for the address conversion process.

【0053】[0053]

【発明の効果】以上説明したように本発明によれば、ア
クセス手段によって、記憶手段に記憶されている変換元
(送信元)のネットワークからのアドレスデータを、こ
の変換元のネットワークに対応する双方向のポートを介
して所定のビット送出順序のアドレスデータとして読み
出すと共に、このアドレスデータを、変換先(送信先)
のネットワークに対応する双方向のポートを介して当該
変換先のネットワークのビット送出順序に変換されたア
ドレスデータとして記憶手段に書き込むようにしている
ので、アドレスのビット送出順序が異なる複数のネット
ワーク間においてデータの送受を実施することができ
る。
As described above, according to the present invention, the address data from the network of the conversion source (transmission source) stored in the storage means is corresponded to the network of the conversion source by the access means. It is read out as address data in a predetermined bit transmission order via the port for the destination, and this address data is also converted (transmission destination).
Since the address data converted into the bit transmission order of the conversion destination network is written in the storage means via the bidirectional port corresponding to the network of the above, it is possible to transmit the data between a plurality of networks having different address bit transmission orders. Data can be sent and received.

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

【図1】本発明に係るネットワーク接続装置の一実施例
を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a network connection device according to the present invention.

【図2】本実施例のアドレスのビット送出順序の変換処
理動作を示すフローチャート。
FIG. 2 is a flowchart showing a conversion processing operation of an address bit transmission order according to the present embodiment.

【図3】アドレスのビット送出順序の異なるネットワー
クから構成される従来のシステムの構成を示すブロック
図。
FIG. 3 is a block diagram showing a configuration of a conventional system composed of networks having different bit transmission orders of addresses.

【図4】従来のプロトコル変換部の構成を示す図。FIG. 4 is a diagram showing a configuration of a conventional protocol conversion unit.

【図5】図4に示すプロトコル変換部の処理動作を示す
フローチャート。
5 is a flowchart showing a processing operation of a protocol conversion unit shown in FIG.

【図6】従来の他のプロトコル変換部の構成を示す図。FIG. 6 is a diagram showing the configuration of another conventional protocol conversion unit.

【図7】図6に示すプロトコル変換部の処理動作を示す
フローチャート。
7 is a flowchart showing the processing operation of the protocol conversion unit shown in FIG.

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

33…プロトコル変換部、34…メモリ、41…CP
U、42…アクセス制御部、P1、P2…ポート。
33 ... Protocol converter, 34 ... Memory, 41 ... CP
U, 42 ... Access control unit, P1, P2 ... Port.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アドレスのビット送出順序が異なる複数
のネットワークと接続されるネットワーク接続装置にお
いて、 前記複数のネットワークとのデータの送受信を制御する
複数の接続制御手段と、 前記複数の接続制御手段の間でデータを中継する記憶手
段と、 前記記憶手段に対して前記複数のネットワークのそれぞ
れに対応するアドレスのビット送出順序に適合するアド
レスデータを入出力する双方向の複数のポートと、 変換元のネットワークに対応するポートを介して前記記
憶手段から当該変換元のネットワークからのアドレスデ
ータを読み出すと共に、この読み出したアドレスデータ
を変換先のネットワークに対応するポートを介して前記
記憶手段に書き込むアクセス手段とを具備したことを特
徴とするネットワーク接続装置。
1. A network connection device connected to a plurality of networks having different bit transmission order of addresses, wherein a plurality of connection control means for controlling transmission and reception of data to and from the plurality of networks, and a plurality of the connection control means are provided. Storage means for relaying data between the storage means, a plurality of bidirectional ports for inputting and outputting address data matching the bit transmission order of addresses corresponding to each of the plurality of networks, to the storage means, Access means for reading address data from the conversion source network through the port corresponding to the network and writing the read address data in the storage means through the port corresponding to the conversion destination network; A network connection device comprising:
JP5002857A 1993-01-11 1993-01-11 Network connection device Pending JPH06209319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5002857A JPH06209319A (en) 1993-01-11 1993-01-11 Network connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5002857A JPH06209319A (en) 1993-01-11 1993-01-11 Network connection device

Publications (1)

Publication Number Publication Date
JPH06209319A true JPH06209319A (en) 1994-07-26

Family

ID=11541059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5002857A Pending JPH06209319A (en) 1993-01-11 1993-01-11 Network connection device

Country Status (1)

Country Link
JP (1) JPH06209319A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190708B1 (en) 1999-10-22 2012-05-29 Nomadix, Inc. Gateway device having an XML interface and associated method
US8713641B1 (en) 1998-12-08 2014-04-29 Nomadix, Inc. Systems and methods for authorizing, authenticating and accounting users having transparent computer access to a network using a gateway device
US9160672B2 (en) 1998-12-08 2015-10-13 Nomadix, Inc. Systems and methods for controlling user perceived connection speed

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8713641B1 (en) 1998-12-08 2014-04-29 Nomadix, Inc. Systems and methods for authorizing, authenticating and accounting users having transparent computer access to a network using a gateway device
US9160672B2 (en) 1998-12-08 2015-10-13 Nomadix, Inc. Systems and methods for controlling user perceived connection speed
US9548935B2 (en) 1998-12-08 2017-01-17 Nomadix, Inc. Systems and methods for providing content and services on a network system
US10110436B2 (en) 1998-12-08 2018-10-23 Nomadix, Inc. Systems and methods for providing content and services on a network system
US10341243B2 (en) 1998-12-08 2019-07-02 Nomadix, Inc. Systems and methods for providing content and services on a network system
US8190708B1 (en) 1999-10-22 2012-05-29 Nomadix, Inc. Gateway device having an XML interface and associated method

Similar Documents

Publication Publication Date Title
KR0137089B1 (en) Inter lan connection equipment
JP3397144B2 (en) Packet processing device, packet processing method, and packet switch
JPH0360244A (en) Method and apparatus of generating source transmission bridge
JPH04346151A (en) Data processor
JPH0634486B2 (en) Communication protocol controller
JPH06209319A (en) Network connection device
JP2001244986A (en) Network interconnection system
JP3412342B2 (en) Image drawing apparatus and data decompression method
WO2000033539A1 (en) Communication system
JP2829550B2 (en) Communication control LSI
JP2508920B2 (en) Configuration change method
JPH09237247A (en) Bus width converter and bus width conversion system device
JP3537576B2 (en) Switching hub
JP3159784B2 (en) Home automation system
JP2714249B2 (en) Communication control method
JP2830802B2 (en) ATM cross connect device
JP2833915B2 (en) Information transmission system
KR100414923B1 (en) Apparatus for communication matching between processors, and method therefor
JPS62232057A (en) Pseudo dma system
JP3202769B2 (en) Burst read processing device
JP3351581B2 (en) Data relay device
JPS6024745A (en) Method and device for signal transmission
JPS6271351A (en) Serial data transfer control system
JP3077992B2 (en) Data transmission equipment
JPS6326905B2 (en)