JP2005341492A - Gateway unit and method - Google Patents
Gateway unit and method Download PDFInfo
- Publication number
- JP2005341492A JP2005341492A JP2004161090A JP2004161090A JP2005341492A JP 2005341492 A JP2005341492 A JP 2005341492A JP 2004161090 A JP2004161090 A JP 2004161090A JP 2004161090 A JP2004161090 A JP 2004161090A JP 2005341492 A JP2005341492 A JP 2005341492A
- Authority
- JP
- Japan
- Prior art keywords
- data
- frame
- transmission
- bus
- memory
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、複数の通信ネットワーク間でデータ転送を行うゲートウェイ装置および方法に関する。 The present invention relates to a gateway apparatus and method for transferring data between a plurality of communication networks.
下記特許文献1には、制御データ、データを含むフレームデータを分割してパケットの通信を行う複数のネットワークにまたがる通信を行うゲートウェイが記載されている。このゲートウェイでは、パケットの送信元、送信先情報に基づいて、異なるネットワークにまたがって行われる通信を監視する監視部と、この監視部の監視結果に基づいて、異なるネットワークにまたがるパケットの通信がある場合に、複数のネットワークの送信先のフォーマットのフレームデータを発生し、フレームデータ中のデータの領域にパケットを乗せて、送信先のネットワークにおけるパケットの通信を可能とするデータ変換部とを備えている。
上記特許文献1では、データを送信する際のデータの送信順序については記載されていない。ゲートウェイを通過させるデータの伝送を一定送信周期内に必ず終える必要のあるサイクリック転送信号で、かつ、異なる周期のデータが複数混在する場合、メモリにストアされたデータが例えば受信順に送信されると、短い送信周期のデータが長い送信周期のデータの送信待ちにより一定送信周期内に転送できない場合がある問題があった。
本発明の目的は、データの転送が一定の送信周期内にできないことを防止できるゲートウェイ装置および方法を提供することにある。
In
An object of the present invention is to provide a gateway apparatus and method capable of preventing data transfer from being performed within a certain transmission cycle.
上記課題を解決するために、本発明は、第1の機器が接続された少なくとも2本の第1のバスと、第2の機器が接続され、第1のバスとは異なる少なくとも1本の第2のバスとの間でデータの転送を行うゲートウェイ装置において、第1のバスから入力されるデータを保持するデータ保持手段と、このデータ保持手段から出力されるデータを送信周期の短い順に並べ替えるデータ並べ替え手段と、このデータ並べ替え手段により並べ替えられた順序により第2のバスへデータを転送するデータ転送手段とを備えている。 In order to solve the above problems, the present invention provides at least two first buses to which a first device is connected, and at least one first bus that is connected to a second device and is different from the first bus. In the gateway device that transfers data to and from the second bus, the data holding unit that holds the data input from the first bus, and the data that is output from the data holding unit are rearranged in the order of short transmission cycle. Data rearranging means and data transfer means for transferring data to the second bus in the order rearranged by the data rearranging means are provided.
本発明によれば、データの転送が一定の送信周期内にできないことを防止し、送信効率を向上できる。 ADVANTAGE OF THE INVENTION According to this invention, it can prevent that the transfer of data cannot be performed within a fixed transmission period, and can improve transmission efficiency.
以下、図面を用いて本発明の実施の形態について詳細に説明する。なお、以下で説明する図面で、同一機能を有するものは同一符号を付け、その繰り返しの説明は省略する。
《実施の形態1》
〈構成〉
まず、本実施の形態1のゲートウェイ装置の全体構成について説明する。図1は、本発明の実施の形態1のゲートウェイ装置の構成を示す図である。図2は、図1の一部を描いた図である。
図1において、11は第1の通信バス、12は第2の通信バス、13は第3の通信バス、14は第4の通信バス、110、120、130、140は各通信バス11〜14に接続されたノード(ネットワーク上の各種機器)、1はゲートウェイ装置、1−1、1−2はデ−タ処理回路、21、22、23はフレーム受信処理回路、25はメモリ、26はメモリ制御回路、24はフレーム送信処理回路、27は送信セット可信号、28は送信フレーム準備完了信号である。
本実施の形態1は、各通信バス11〜14がいずれもパケット信号からなるフレームによりサイクリックな通信が行われており、一方の通信バス11〜13の一部のフレームをゲートウェイ装置1により他方の通信バス14に転送する例を示す。
ゲートウェイ装置1は、通信バス11〜13と通信バス14との間に接続されている。ゲートウェイ装置1はデータ処理回路1−1、1−2から構成されている。データ処理回路1−1は、フレーム受信処理回路21〜23、メモリ25、メモリ制御回路26、フレーム送信処理回路24から構成される。また、データ処理回路1−2もデータ処理回路1−1と全く同様の構成となっている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings described below, components having the same function are denoted by the same reference numerals, and repeated description thereof is omitted.
<Constitution>
First, the overall configuration of the gateway device according to the first embodiment will be described. FIG. 1 is a diagram showing a configuration of a gateway device according to the first embodiment of the present invention. FIG. 2 is a diagram depicting a part of FIG.
In FIG. 1, 11 is a first communication bus, 12 is a second communication bus, 13 is a third communication bus, 14 is a fourth communication bus, 110, 120, 130, and 140 are
In the first embodiment, each of the
The
図3は、通信バス11〜14上のフレームの構成を示す図である。
各通信バス11〜14上のフレーム2は、図3に示すようにヘッダ部分3とデータ部分4からなる。ヘッダ部分3は、フレーム2を識別するためと通信バス11〜14上での優先順位を決めるID部分31、送信周期情報部分32、必要な場合はその他の情報部分33からなる。
なお、例えばフレーム2内の送信周期情報部分32の位置を異ならせることもできる。つまり、ヘッダ部分3が、フレームを識別するためと通信バス11〜14上での優先順位を決めるID部分31、必要な場合はその他の情報部分33からなり、データ部分4が、送信周期情報部分32と実際のデータ部分からなる構成とすることも可能である。
FIG. 3 is a diagram illustrating a configuration of frames on the
The frame 2 on each of the
For example, the position of the transmission
図4は、図1のフレーム受信処理回路21〜23の内部構成を示す図である。51はフレーム2のIDをサンプリングするIDサンプリング回路、52は当該フレーム受信処理回路21〜23を通過させるべきIDが保持されているリファレンスIDメモリ、53はID比較回路、54はスイッチ部である。
IDサンプリング回路51は、通信バス11〜13から受信したフレーム2のID部分(図2の31)のIDをサンプリングする。IDサンプリング回路51によりサンプリングされたIDデータは、リファレンスIDメモリ52に保持されているリファレンスIDとID比較回路28により比較され、サンプリングされたIDとリファレンスIDとが一致していた場合、スイッチ部54をオンしてパケットデータを通過させるようになっている。
FIG. 4 is a diagram showing an internal configuration of the frame
The
図5は、図1のメモリ25内にフレームが蓄積された状態を示す図である。フレーム受信処理回路21〜23を通過したフレームは、図4に示すように受信順にメモリ25内に格納される。
図6は、図1のフレーム送信処理回路24の内部構成を示す図である。41はバスノットビジー検出回路、42はAND回路、43は送出カウンタ、44はパラレルシリアル変換回路、45はバスドライバ、46はシリアルデータである。バスノットビジー検出回路41は、通信バス14の状態を監視し、通信バス14がビジー状態にないことを検出する。バスノットビジー検出回路41の出力と、送信フレーム準備完了信号28の両方の信号がAND回路42を介してアクティブになると、送出カウンタ43はカウントを始め、パラレルシリアル変換回路44に対し、送出クロックを送る。パラレルシリアル変換回路44は、送出カウンタ43から送出クロックを受信すると、フレーム2をシリアルデータ46に変換してバスドライバ45に出力する。送出カウンタ43は、送出すべきビット数のカウントまでカウントすると停止し、それと同時に送信セット可信号27をメモリ制御回路26(図1)に送信する。
FIG. 5 is a diagram showing a state in which frames are accumulated in the
FIG. 6 is a diagram showing an internal configuration of the frame
〈動作〉
次に、ゲートウェイ装置1の各部の動作について説明する。
フレーム受信処理回路21〜23は、各通信バス11〜13から入力されるパケット信号のID部分(図2の31)を読み取り、通信バス14に転送すべきパケット信号かどうかを判定し、転送すべきIDであった場合はフレームをメモリ25に格納する。
フレーム送信処理回路24は、メモリ25内から読み出されたフレームを通信バス14へ送出するための回路である。フレーム送信処理回路24内のフレームの送信が完了し、フレーム送信処理回路24内に送出すべきフレームがなくなると、フレーム送信処理回路24から送信セット可信号27がメモリ制御回路26に送られる。
メモリ制御回路26は送信セット可信号27を受信すると、メモリ25に蓄積されている各受信フレームのヘッダ部分(図2の3)内にある送信周期情報部分(図2の32)を抽出し、抽出した送信周期情報を比較して最短の送信周期のフレームを選別し、フレーム送信処理回路24にセットする。
データ処理回路1−2もフレーム受信処理回路(21〜23)にて通過させるフレームの抽出を行う。データ処理回路1−1との違いは、通過させるフレーム(すなわち、リファレンスID)が異なる点である。それ以外はデータ処理回路1−1と同様の動作である。
なお、接続する通信バス(11〜14)の数と同数のフレーム受信処理回路(21〜23)、フレーム送信処理回路(24)を設けることにより、通信バス数によらず転送処理を同様に行うことが可能である。
<Operation>
Next, the operation of each part of the
The frame
The frame
When the
The data processing circuit 1-2 also extracts a frame to be passed by the frame reception processing circuit (21 to 23). The difference from the data processing circuit 1-1 is that a frame to be passed (that is, a reference ID) is different. The other operations are the same as those of the data processing circuit 1-1.
In addition, by providing the same number of frame reception processing circuits (21 to 23) and frame transmission processing circuits (24) as the number of communication buses (11 to 14) to be connected, transfer processing is similarly performed regardless of the number of communication buses. It is possible.
図7は、図1のメモリ制御回路26の処理フローを示す図である。
S1において、図1のメモリ制御回路26は、フレーム送信処理回路24から送信セット可信号27を受信すると、S2において、メモリ25内に蓄積された各フレームのヘッダから送信周期情報を抽出する。なお、メモリ制御回路26が送信セット可信号27を受信しない場合は、S1に戻る。次に、S3において、それらの送信周期情報の中から、最短の周期を選択し、該当フレームを抽出する。次に、S4において、該当フレームをフレーム送信処理回路24に転送し、それと同時に送信フレーム準備完了信号28をフレーム送信処理回路24に送信する。
FIG. 7 is a diagram showing a processing flow of the
1 receives the transmission set enable
次に、本実施の形態1の動作の詳細について説明する。図8、図9は本実施の形態1の動作の詳細を説明するための図である。図8と図9は同様の図であるが、図9はより詳細に示す図である。
本実施の形態1では、通信バスは、通信バス11〜14からなる。各通信バス11〜13にはそれぞれA、B、Cの3種類の周期を持つフレームが送信されている。周期A<周期B<周期Cであり、フレームA1、A2は周期Aを持つフレーム、フレームB1〜B6は周期Bを持つフレーム、フレームC1〜C9は周期Cを持つフレームである。これらのフレームは全てゲートウェイ装置1によって通信バス14に転送されるように設定されている。ゲートウェイ装置1は、受信したフレームを受信した順にメモリ25に格納する。通信バス14に送信する際に、メモリ25内に蓄積されているフレームの中で最短周期を持つフレームを送信する。フレームの受信順は、A1、A2、B1、C1、B2、C2、C3、B3、C4、B4、C5、C6、B5、C7、B6、A1、C8、A2、C9、…であるが、通信バス14への送信順は、A1、A2、B1、C1、B2、B3、B4、B5、A1、A2、B6、C2、C3、C4、C5、C6、C7、C8、C9、…である。
Next, details of the operation of the first embodiment will be described. 8 and 9 are diagrams for explaining the details of the operation of the first embodiment. 8 and 9 are similar, but FIG. 9 is a more detailed view.
In the first embodiment, the communication bus includes communication buses 11-14. Frames having three types of periods A, B, and C are transmitted to the
すなわち、本実施の形態1のゲートウェイ装置1は、ノード110、120、130がそれぞれ少なくとも1個接続された少なくとも2本の通信バス11、12、13と、ノード140が少なくとも1個接続され、通信バス11、12、13とは異なる少なくとも1本の通信バス14との間に設けられ、通信バス11〜13と通信バス14との間でデータの転送を行うゲートウェイ装置1において、通信バス11〜13から入力されるデータを保持するメモリ25と、メモリ25から出力されるデータを送信周期の短い順に並べ替えるメモリ制御回路26と、メモリ制御回路26により並べ替えられた順序によって通信バス14へデータの転送を行うフレーム送信処理回路24とを備えている。
また、本実施の形態1のゲートウェイ方法は、ノード110、120、130がそれぞれ少なくとも1個接続された少なくとも2本の通信バス11、12、13と、ノード140が少なくとも1個接続され、通信バス11、12、13とは異なる少なくとも1本の通信バス14との間でデータの転送を行うゲートウェイ方法において、通信バス11〜13から入力されるデータを保持するデータ保持工程と、該データ保持工程において保持されたデータを送信周期の短い順に並べ替えるデータ並べ替え工程と、該データ並べ替え工程において並べ替えられた順序によって通信バス14へデータの転送を行うデータ転送工程とを有している。
つまり、複数の通信ネットワーク間を接続し、それぞれの通信バス11〜14に接続された複数のノード110〜140間のデータ転送を行うゲートウェイ装置1において、通信バス11〜13上の送信側ノード110〜130から送信され、ゲートウェイ装置1が受信したフレームをメモリ25に格納し、他の通信バス14上の受信側ノード140に転送するフレームの転送順序を送信周期の短い順とするメモリ制御回路26を有する。
That is, the
In the gateway method of the first embodiment, at least two
That is, in the
このように受信したフレームを受信した順序ではなく、送信周期の短いフレームから先に送信する仕組みのため、短い送信周期のデータが長い送信周期のデータの送信待ちにより一定送信周期内に転送できないことが起きるのを防止できる。そして、最も送信周期の短いフレームA1、A2はゲートウェイ装置1内のメモリ25に受信したフレームが蓄積されていても、ほとんど待たされることなく送信できる。つまり、送信周期の短いフレームは早く、長いフレームは遅く送信するため、送信効率を向上することができる。
従来、ゲートウェイ装置を通過させるデータの伝送を一定送信周期内に必ず終える必要のあるサイクリック転送信号で、かつ、異なる周期のデータが複数混在する場合、メモリにストアされたデータが受信順に送信されると、短い送信周期のデータが長い送信周期のデータの送信待ちにより一定送信周期内に転送できない場合があるという問題があった。つまり、従来のゲートウェイ装置では、複数の受信側通信バスから受信したフレームは、受信した順序で送信側通信バスに送信する。フレームA1を受信する間隔はAであるにもかかわらず、送信側通信バス上に送信される際には、フレームA1〜フレームA1の間のA間にゲートウェイ装置が受信したフレーム(例えばB1〜B6、C1〜C8)を送信し終わるまでフレームA1を送出できない。図8において、フレームA1のメモリ25での受信間隔はA、フレームA1の通信バス14への送信間隔はA+(1)である。従来起こり得た(1)>Aとなる場合は、フレームA1の周期送信が成り立たなくなる。これに対して、本実施の形態1のように送信周期の短い順に送信することにより、図8に示したように送信周期の短い周期AのフレームA1、A2が優先的に送信されるため、周期内の転送が完了する((1)<A)。また、送信周期がAより長いフレームB1〜B6、C1〜C9は、送信周期の短いフレームA1、A2の受信により送信が待たされる場合があるが、待たされる時間は送信周期によるため、周期Bを持つフレームB1〜B6は、周期Cを持つフレームC1〜C9よりも先に送信されることにより、各々の周期内に転送が終了する可能性が高くなる。
Since the frames received in this way are not sent in the order received, but the frame with the short transmission cycle is transmitted first, the short transmission cycle data cannot be transferred within a certain transmission cycle due to the long transmission cycle data waiting to be transmitted. Can be prevented. The frames A1 and A2 having the shortest transmission cycle can be transmitted with almost no waiting even if the received frames are accumulated in the
Conventionally, when a cyclic transfer signal that requires transmission of data passing through a gateway device to be completed within a certain transmission cycle and a plurality of data with different cycles coexist, the data stored in the memory is transmitted in the order received. As a result, there is a problem that data having a short transmission cycle may not be transferred within a certain transmission cycle due to waiting for transmission of data having a long transmission cycle. That is, in the conventional gateway device, frames received from a plurality of reception side communication buses are transmitted to the transmission side communication bus in the order of reception. Although the interval for receiving the frame A1 is A, when it is transmitted on the transmission side communication bus, the frames received by the gateway device between A between the frames A1 and A1 (for example, B1 to B6) , C1 to C8) cannot be transmitted until frame A1 is transmitted. In FIG. 8, the reception interval of the frame A1 in the
なお、同じ送信周期のフレームが複数ある場合には、最短周期のフレームの中で受信した順序の早いフレームから送信する。すなわち、メモリ制御回路26により並び替えられたデータの中で、送信周期が同じデータが複数ある場合には、フレーム送信処理回路24は、該データをメモリ25における受信順に通信バス14へ転送するようになっている。これにより、送信周期が同じデータが複数ある場合でもデータの送信を効率よく行うことができる。
なお、ゲートウェイ装置1にとって受信側の通信バス(11〜13)の数のフレーム受信処理回路(21〜23)を準備し、送信側の通信バス(14)の数のフレーム送信処理回路(24)を準備することにより、複数の通信バス間のデータ転送処理を同様に行うことが可能である。
When there are a plurality of frames having the same transmission cycle, transmission is performed from the frame received in the earliest order in the frame having the shortest cycle. That is, in the data rearranged by the
For the
《実施の形態2》
本実施の形態2のゲートウェイ装置の全体構成は、図1に示した実施の形態1と同様であり、また、フレーム、フレーム受信処理回路、およびフレーム送信処理回路の構成も、図3、図4、図6に示した実施の形態1と同様であるので、説明を省略する。実施の形態1と違う点について以下説明する。実施の形態1と違う点は、実施の形態1においては、通信バス11〜13からのフレームをメモリ25に受信順に格納し、通信バス14に送出する際に、メモリ制御回路26によりフレームの送信周期情報に基づいて送信周期の短い順にフレーム送信処理回路24に送出するようになっている。これに対して、本実施の形態2においては、通信バス11〜13からのフレームを、メモリ制御回路26によりフレームの送信周期情報に基づいて送信周期の短い順にメモリ25に格納し、通信バス14に送出する際に、メモリ制御回路26によりメモリ25に格納された順にフレーム送信処理回路24に送出する点である。
<< Embodiment 2 >>
The overall configuration of the gateway device of the second embodiment is the same as that of the first embodiment shown in FIG. 1, and the configurations of the frame, the frame reception processing circuit, and the frame transmission processing circuit are also shown in FIGS. Since it is the same as that of
本実施の形態2の各部の動作について説明する。フレーム受信処理回路21〜23(図1参照。以下同様)は、各通信バス11〜13から入力されるフレームのID部分(図3の31)を読み取り、転送すべきフレームかどうかを判定し、転送すべきlDであった場合はメモリ制御回路26に送られる。
メモリ制御回路26では、受信したフレームの送信周期情報(図2の32)を、すでにメモリ25内に格納されているフレームの送信周期情報と比較し、メモリ25内のフレームが送信周期の短い順に並ぶように、新しく受信したフレームをメモリ25に格納する場所を決めて格納する。
フレーム送信処理回路24は、メモリ25内から読み出されたフレームを通信バス14へ送出するための回路である。フレーム送信処理回路24内のフレームの送信が完了し、フレーム送信処理回路24内に送出すべきフレームがなくなると、フレーム送信処理回路24から送信セット可信号27がメモリ制御回路26に送られる。
メモリ制御回路26は送信セット可信号27を受信すると、メモリ25に送信周期の短い順に並べて格納してあるフレームを、送信周期の短い順に取り出す。そして、取り出したフレームをフレーム送信処理回路24にセットする。
データ処理回路1−2もフレーム受信処理回路(21〜23)にて通過させるフレームの抽出を行う。データ処理回路1−1との違いは、通過させるフレーム(すなわち、リファレンスID)が異なる点である。それ以外はデータ処理回路1−1と同様の動作である。
なお、接続する通信バス(11〜14)の数と同数のフレーム受信処理回路(21〜23)、フレーム送信処理回路(24)を設けることにより、通信バス数によらず転送処理を同様に行うことが可能である。
The operation of each part of the second embodiment will be described. The frame
In the
The frame
When the
The data processing circuit 1-2 also extracts a frame to be passed by the frame reception processing circuit (21 to 23). The difference from the data processing circuit 1-1 is that a frame to be passed (that is, a reference ID) is different. The other operations are the same as those of the data processing circuit 1-1.
In addition, by providing the same number of frame reception processing circuits (21 to 23) and frame transmission processing circuits (24) as the number of communication buses (11 to 14) to be connected, transfer processing is similarly performed regardless of the number of communication buses. It is possible.
図10は、メモリ制御回路26の処理フローを示す図であり、(a)はフレームの受信時の処理、(b)は送信時の処理を示す。
(a)のS1において、フレーム受信時は、S2において、受信したフレームから送信周期情報を抽出し、S3において、メモリ25にすでに格納されているフレームの送信周期情報と比較して、送信周期の短い順にフレームを並べ替えて格納する。(b)の送信時は、S1において、フレーム送信処理回路24から送信セット可信号27を受信すると、S2において、メモリ25内に送信周期順に蓄積されたフレームがある場合は、S3において、送信周期の一番短いフレームをフレーム送信処理回路24に転送し、それと同時に送信フレーム準備完了信号28をフレーム送信処理回路24に送信する。
FIG. 10 is a diagram showing a processing flow of the
In S1 of (a), when a frame is received, the transmission cycle information is extracted from the received frame in S2, and compared with the transmission cycle information of the frame already stored in the
図11は、メモリ25内にフレームが蓄積された状態を示す図である。フレーム受信処理回路21〜23を通過したフレームは、メモリ制御回路26により、図11に示すように送信周期の短い順に並び替えられてメモリ25内に格納される。また、メモリ制御回路26により、送信周期の短いフレームから先に取り出される。
次に、本実施の形態2の動作の詳細について説明する。図12は本実施の形態2の動作の詳細を説明するための図である。
本実施の形態2では、通信バスは、通信バス11〜14からなる。各通信バス11〜13にはそれぞれA、B、Cの3種類の周期を持つフレームが送信されている。周期A<周期B<周期Cであり、フレームA1、A2は周期Aを持つフレーム、フレームB1〜B6は周期Bを持つフレーム、フレームC1〜C9は周期Cを持つフレームである。これらのフレームは全てゲートウェイ装置1によって通信バス14に転送されるように設定されている。各通信バス11〜13から受信したフレームは、メモリ制御回路26により受信毎に、送信周期がメモリ25内に格納されたフレームの送信周期と比較され、送信周期順にメモリ25内に並べ替えられて格納される(図11参照。本例では、送信周期はA〜C)。通信バス14に送信する際は、メモリ25内に並べ替えられて格納された送信周期の短いフレームから順に送信される。本実施の形態2においても、受信したフレームを受信した順序ではなく、送信周期の短いフレームから先に送信する仕組みのため、送信周期の短いフレームA1、A2は、ゲートウェイ装置1内のメモリ25に受信したフレームが蓄積されているにもかかわらず、ほとんど待たされることなく通信バス14へ送信することができる。つまり、送信周期の短いフレームは早く、長いフレームは遅く送信するため、送信効率を向上することができる。フレームの受信順は、A1、A2、B1、C1、B2、C2、C3、B3、C4、B4、C5、C6、B5、C7、B6、A1、C8、A2、C9、…であるが、通信バス14への送信順は、A1、A2、B1、C1、B2、B3、B4、B5、A1、A2、B6、C2、C3、C4、C5、C6、C7、C8、C9、…である。
なお、ゲートウェイ装置1にとって受信側の通信バス(11〜13)の数のフレーム受信処理回路(21〜23)を準備し、送信側の通信バス(14)の数のフレーム送信処理回路(24)を準備することにより、複数の通信バス間のデータ転送処理を同様に行うことが可能である。
FIG. 11 is a diagram showing a state in which frames are accumulated in the
Next, details of the operation of the second embodiment will be described. FIG. 12 is a diagram for explaining the details of the operation of the second embodiment.
In the second embodiment, the communication bus includes communication buses 11-14. Frames having three types of periods A, B, and C are transmitted to the
For the
すなわち、本実施の形態2のゲートウェイ装置1も、通信バス11、12、13と、通信バス14との間でデータの転送を行うゲートウェイ装置1において、通信バス11〜13から入力されるデータを保持するメモリ25と、メモリ25から出力されるデータを送信周期の短い順に並べ替えるメモリ制御回路26と、メモリ制御回路26により並べ替えられた順序によって通信バス14へデータの転送を行うフレーム送信処理回路24とを備えている。
なお、メモリ制御回路26により送信周期の短い順に並べ替える際、同じ送信周期のフレームが複数ある場合には、受信した順序の早いフレームから並べる。すなわち、メモリ制御回路26により並び替えるデータの中で、送信周期が同じデータが複数ある場合には、メモリ制御回路26は、該データをメモリ25における受信順に並び替えるようになっている。これにより、送信周期が同じデータが複数ある場合でもデータの送信を効率よく行うことができる。
なお、以上説明した実施の形態は、本発明の理解を容易にするために記載されたものであって、本発明を限定するために記載されたものではない。したがって、上記実施の形態に開示された各要素は、本発明の技術的範囲に属する全ての設計変更や均等物をも含む趣旨である。
That is, the
When the
The embodiment described above is described for facilitating the understanding of the present invention, and is not described for limiting the present invention. Therefore, each element disclosed in the above embodiment includes all design changes and equivalents belonging to the technical scope of the present invention.
また、ノード110、120、130が特許請求の範囲の第1の機器に、ノード140が第2の機器に、第1の通信バス11、第2の通信バス12、第3の通信バス13が第1のバスに、第4の通信バス14が第2のバスに、メモリ25がデータ保持手段に、メモリ制御回路26がデータ並べ替え手段に、フレーム送信処理回路24がデータ転送手段に相当する。
Further, the
1…ゲートウェイ装置 1−1、1−2…デ−タ処理回路
2…フレーム
3…ヘッダ部分 4…データ部分
11…第1の通信バス 12…第2の通信バス
13…第3の通信バス 14…第4の通信バス
21、22、23…フレーム受信処理回路
24…フレーム送信処理回路 25…メモリ
26…メモリ制御回路 27…送信セット可信号
28…送信フレーム準備完了信号
31…ID部分 32…送信周期情報部分
33…その他の情報部分
41…バスノットビジー検出回路 42…AND回路
43…送出カウンタ 44…パラレルシリアル変換回路
45…バスドライバ 46…シリアルデータ
51…IDサンプリング回路 52…リファレンスIDメモリ
53…ID比較回路 54…スイッチ部
110、120、130、140…ノード
DESCRIPTION OF
Claims (4)
前記第1のバスから入力されるデータを保持するデータ保持手段と、
前記データ保持手段から出力される前記データを送信周期の短い順に並べ替えるデータ並べ替え手段と、
前記データ並べ替え手段により並べ替えられた順序によって前記第2のバスへ前記データの転送を行うデータ転送手段と、
を備えたことを特徴とするゲートウェイ装置。 At least two first buses to which at least one first device is connected and at least one second bus to which at least one second device is connected and different from the first bus In the gateway device that is provided between and transfers data between the first bus and the second bus,
Data holding means for holding data input from the first bus;
Data rearranging means for rearranging the data output from the data holding means in the order of short transmission cycle;
Data transfer means for transferring the data to the second bus in the order rearranged by the data rearrangement means;
A gateway device comprising:
前記第1のバスから入力されるデータを保持するデータ保持工程と、
前記データ保持工程において保持された前記データを送信周期の短い順に並べ替えるデータ並べ替え工程と、
前記データ並べ替え工程において並べ替えられた順序によって前記第2のバスへ前記データの転送を行うデータ転送工程と、
を有することを特徴とするゲートウェイ方法。 At least two first buses to which at least one first device is connected and at least one second bus to which at least one second device is connected and different from the first bus In the gateway method of transferring data between
A data holding step for holding data input from the first bus;
A data rearrangement step of rearranging the data held in the data holding step in the order of short transmission cycle;
A data transfer step of transferring the data to the second bus in the order rearranged in the data rearrangement step;
A gateway method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004161090A JP2005341492A (en) | 2004-05-31 | 2004-05-31 | Gateway unit and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004161090A JP2005341492A (en) | 2004-05-31 | 2004-05-31 | Gateway unit and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005341492A true JP2005341492A (en) | 2005-12-08 |
Family
ID=35494500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004161090A Pending JP2005341492A (en) | 2004-05-31 | 2004-05-31 | Gateway unit and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005341492A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011239065A (en) * | 2010-05-07 | 2011-11-24 | Yokogawa Electric Corp | Repeating device |
-
2004
- 2004-05-31 JP JP2004161090A patent/JP2005341492A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011239065A (en) * | 2010-05-07 | 2011-11-24 | Yokogawa Electric Corp | Repeating device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4376862B2 (en) | Communication message conversion apparatus and communication message conversion method | |
EP0758824B1 (en) | Compact, adaptable, bridging/routing switch | |
JP3816530B2 (en) | Low latency, high clock frequency, pre-geo asynchronous packet-based crossbar switching chip system and method | |
CN102132535B (en) | Method for transferring data packets in communication network and switching device | |
EP1718008B1 (en) | Gateway apparatus and routing method | |
CN101385296B (en) | Gateway for the automatic routing of messages between buses | |
JPH0630514B2 (en) | Communication control method for communication ring system | |
JPS63196198A (en) | Information transmission and exchange | |
US8897308B2 (en) | Node, a monitoring management method used for a node, and a transfer system, an input circuit and an output circuit | |
CN101573913A (en) | Method and apparatus for improved multicast routing | |
CN111800226B (en) | Sideband management circuit and method based on hardware arbitration | |
JPH01202950A (en) | Token ring transmission system | |
US7251703B1 (en) | Method of time stamping to enable device bridging over dissimilar buses | |
US8705548B2 (en) | Method and apparatus for the transmission of data via a bus network using the broadcast principle | |
CN108599908B (en) | Communication system and semiconductor device | |
JP4994280B2 (en) | Route change type network device and system | |
JP2005341492A (en) | Gateway unit and method | |
RU175049U9 (en) | COMMUNICATION INTERFACE DEVICE SpaceWire | |
KR100609493B1 (en) | Method for transmitting multiple sensors data with a CAN message | |
JP2009239449A (en) | Precise synchronization type network device, network system, and frame transfer method | |
JP4630231B2 (en) | Packet processing system, packet processing method, and program | |
JP4669442B2 (en) | Packet processing system, packet processing method, and program | |
CN1697417B (en) | Signal transmission method and device based on RPR medium access control | |
EP3591535B1 (en) | Addressing mechanism | |
JP5113453B2 (en) | Serial communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070402 |
|
A977 | Report on retrieval |
Effective date: 20090427 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090609 |
|
A02 | Decision of refusal |
Effective date: 20091020 Free format text: JAPANESE INTERMEDIATE CODE: A02 |