JP2007174180A - Gateway apparatus and data transmission reception control method - Google Patents

Gateway apparatus and data transmission reception control method Download PDF

Info

Publication number
JP2007174180A
JP2007174180A JP2005367919A JP2005367919A JP2007174180A JP 2007174180 A JP2007174180 A JP 2007174180A JP 2005367919 A JP2005367919 A JP 2005367919A JP 2005367919 A JP2005367919 A JP 2005367919A JP 2007174180 A JP2007174180 A JP 2007174180A
Authority
JP
Japan
Prior art keywords
data
transmission
temporary storage
transmitted
time
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.)
Granted
Application number
JP2005367919A
Other languages
Japanese (ja)
Other versions
JP4765611B2 (en
Inventor
Shiro Tsujioka
史郎 辻岡
Rie Kamiyoshi
理衣 神吉
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2005367919A priority Critical patent/JP4765611B2/en
Publication of JP2007174180A publication Critical patent/JP2007174180A/en
Application granted granted Critical
Publication of JP4765611B2 publication Critical patent/JP4765611B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gateway apparatus capable of efficiently transmitting data to be transmitted. <P>SOLUTION: When a transmission processing section 312 transmits transmission waiting data temporarily stored in a transmission waiting data temporary storage section 313 and the transmission is not finished until a transmission stop time set in a transmission timer 315 elapses, the transmission processing section 312 stops the transmission, stores again the data in the transmission waiting data temporary storage section 313 so as to attain the transmission of the data from a gateway apparatus 3 again. Further, a transmission priority determining processing section 314 determines the transmission priority of all the data stored in the transmission waiting data temporary storage section 313 together with the restored data, and the transmission processing section 312 transmits the data depending on the priority. When receiving data with higher priority than that of the data during the transmission, the transmission priority determining processing section 314 updates the transmission stop time to "0". Further, the data stored in the transmission waiting data temporary storage section 313 are discarded when a data discard time elapses. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ゲートウェイ装置およびデータ送受信制御方法に関し、特に、車両内通信ネットワークにおいて異なる通信ネットワークとの間で効率的なデータの送信制御を実現するゲートウェイ装置およびデータ送受信制御方法に関する。   The present invention relates to a gateway device and a data transmission / reception control method, and more particularly, to a gateway device and a data transmission / reception control method for realizing efficient data transmission control between different communication networks in an in-vehicle communication network.

車両内通信ネットワークにおいて異なる通信ネットワークに接続している車載装置間でデータのやり取りを行う従来のゲートウェイ装置においては、特許文献1の特開2005−79888号公報「ゲートウェイ装置」に示すように、ゲートウェイ装置から送信先の通信ネットワークに対して、データをあらかじめ定めた所定時間以内に送信できなかった場合、送信を中止するとともに、送信できなかったデータを破棄し、送信処理中(すなわち所定時間の計測中)に、新たに受信していたデータを取り込んで順次送信するように構成されている。
特開2005−79888号公報
In a conventional gateway device for exchanging data between in-vehicle devices connected to different communication networks in the in-vehicle communication network, as shown in Japanese Patent Application Laid-Open No. 2005-79888 “Gateway Device” If the data cannot be transmitted from the device to the destination communication network within a predetermined time, the transmission is stopped, the data that could not be transmitted is discarded, and the transmission process is in progress (that is, the predetermined time is measured). Middle), the newly received data is taken in and transmitted sequentially.
JP-A-2005-79888

車両内通信ネットワークにおける従来のゲートウェイ装置では、前述したように、送信先の通信ネットワークが、例えば一時的な輻輳状態に陥って、送信不可の状態が、あらかじめ定めた所定時間を越えて、継続するような事態が発生した場合には、送信しようとしている送信データを、一義的に、破棄してしまう構成となっていた。このため、送信不可状態に遭遇して、破棄されてしまったデータは、二度と送信することができなくなり、データの受信側では、当該データを受信することができないために、システムとして誤動作が生じる可能性があるという問題点があった。   In the conventional gateway device in the in-vehicle communication network, as described above, the destination communication network falls into a temporary congestion state, for example, and the state incapable of transmission continues beyond a predetermined time. When such a situation occurs, the transmission data to be transmitted is uniquely discarded. For this reason, data that has been discarded due to a transmission impossible state can no longer be transmitted, and the data receiving side cannot receive the data, so that the system may malfunction. There was a problem that there was.

車両内通信ネットワークにおけるゲートウェイ装置において、例えば、ゲートウェイ装置で破棄されたデータが、車両の前照灯の点灯を指示するライトオン情報であった場合に、受信側の前照灯のスイッチ部には、ライトオン情報が届かなくなるために、前照灯がいつまでも点灯しない可能性がある。   In the gateway device in the in-vehicle communication network, for example, when the data discarded by the gateway device is light-on information instructing lighting of the headlamp of the vehicle, the switch unit of the headlamp on the receiving side Because the light-on information does not reach, the headlamp may not turn on indefinitely.

一方、あらかじめ定めた時間間隔で周期的に送信するような周期送信データの場合、次のデータがゲートウェイ装置に送信されてくるまでの時間間隔、すなわち、ゲートウェイ装置における受信周期よりも短い時間であれば、ゲートウェイ装置からのデータ送信時間の遅延が許容されている可能性が高い。しかし、従来の技術では、このような受信周期が示す時間間隔の間、再送動作を繰り返すリトライ処理を行うこともなく破棄されてしまい、データ送信効率を大きく低下させてしまっているという問題が存在している。   On the other hand, in the case of periodic transmission data that is transmitted periodically at a predetermined time interval, it may be a time interval until the next data is transmitted to the gateway device, that is, a time shorter than the reception cycle in the gateway device. For example, there is a high possibility that a delay in data transmission time from the gateway device is allowed. However, in the conventional technique, there is a problem that the data transmission efficiency is greatly reduced during the time interval indicated by such a reception cycle without being subjected to retry processing that repeats the retransmission operation. is doing.

本発明は、かかる問題に鑑みてなされたものであり、送信すべきデータを送信中止時間として予め定めた時間内に送信することができなかった場合には、データを破棄しないで、送信待ちとして再度保存し直し、送信動作を再度行うことを可能とするゲートウェイ装置およびそのデータ送受信方法を提供することを、その目的としている。   The present invention has been made in view of such a problem, and when data to be transmitted cannot be transmitted within a predetermined time as a transmission stop time, the data is not discarded and is awaiting transmission. It is an object of the present invention to provide a gateway device and a data transmission / reception method thereof that can be stored again and a transmission operation can be performed again.

本発明は、前述の課題を解決するために、送信すべきデータを送信中止時間として予め定めた時間内に送信することができなかった場合に、データを破棄しないで、受信したデータを送信するまで一時保存する送信データ一時保存手段に送信待ちとして保存し直し、再度送信することを可能とすることを特徴としている。   In order to solve the above-described problem, the present invention transmits received data without discarding the data when the data to be transmitted cannot be transmitted within a predetermined time as the transmission suspension time. The transmission data is temporarily stored in the transmission data temporarily storing means until it is temporarily stored until it is waiting for transmission, and can be transmitted again.

本発明のゲートウェイ装置およびデータ送受信制御方法によれば、送信すべきデータを送信中止時間として予め定めた時間内に送信することができなかった場合に、データを破棄しないで、保存し直すことを可能としているので、送信先の通信ネットワークに一時的な輻輳状態が発生してデータを送信できない状況が発生したとしても、ゲートウェイ装置内に送信待ちとして保存し直したデータを、再送する動作を行うことが可能であり、エンド・ツー・エンドの再送制御に頼ることなく、効率良く、データを送信することが可能であるという効果を奏することができる。   According to the gateway device and the data transmission / reception control method of the present invention, when the data to be transmitted cannot be transmitted within a predetermined time as the transmission suspension time, the data is not discarded but is stored again. Even if there is a situation in which data cannot be transmitted due to a temporary congestion in the destination communication network, the data that has been re-saved as waiting for transmission in the gateway device is retransmitted. Therefore, the data can be transmitted efficiently without relying on end-to-end retransmission control.

以下に、本発明によるゲートウェイ装置およびデータ送受信制御方法の最良の実施形態について、図面を参照しながら詳細に説明する。   The best mode for carrying out a gateway device and a data transmission / reception control method according to the present invention will be described below in detail with reference to the drawings.

(第1の実施形態)
まず、本発明によるゲートウェイ装置の第1の実施形態について説明する。
(First embodiment)
First, a first embodiment of the gateway device according to the present invention will be described.

図1は、本発明によるゲートウェイ装置を適用するネットワーク構成の一例を示すネットワーク構成図である。図1に示すように、本発明によるゲートウェイ装置3は、車両内通信ネットワークが、複数の通信ネットワークから構成されている場合、異なる通信ネットワークに接続されているノード間でデータのやり取りを行う際に、通信ネットワーク間のデータの転送動作を仲介する機能を果たすものである。   FIG. 1 is a network configuration diagram showing an example of a network configuration to which a gateway device according to the present invention is applied. As shown in FIG. 1, when the in-vehicle communication network is composed of a plurality of communication networks, the gateway device 3 according to the present invention performs data exchange between nodes connected to different communication networks. The function of mediating the data transfer operation between the communication networks is achieved.

図1の示す構成例においては、異なる通信ネットワークとして、第1の通信ネットワーク1と、第2の通信ネットワーク2との2つの通信ネットワークが、ゲートウェイ装置3に接続されている例を示している。しかし、本発明によるゲートウェイ装置3は、2つの通信ネットワークのみならず、2つ以上の複数の通信ネットワークを接続することも可能である。以下の説明においては、第1の通信ネットワーク1と、第2の通信ネットワーク2との2つの通信ネットワーク間のデータ送受信動作を例にとって説明する。   In the configuration example illustrated in FIG. 1, two communication networks of a first communication network 1 and a second communication network 2 are connected to the gateway device 3 as different communication networks. However, the gateway device 3 according to the present invention can connect not only two communication networks but also two or more communication networks. In the following description, the data transmission / reception operation between the two communication networks of the first communication network 1 and the second communication network 2 will be described as an example.

図1に示すように、第1の通信ネットワーク1には、データの送受信を行うノード(例えば、処理装置、駆動部、センサなどからなる車載端末や車載機器)として、ノード11とノード12とが接続されており、一方、第2の通信ネットワーク2には、データの送受信を行うノード(例えば、処理装置、駆動部、センサなどからなる車載端末や車載機器)として、ノード21とノード22とが接続されている。例えば、第1の通信ネットワーク1に接続されているノード11が、第2の通信ネットワーク2に接続されているノード21との間でデータの送受信を行う場合のように、異なる通信ネットワークをまたいでデータの送受信を行うような場合は、両者の通信ネットワークの間に介在しているゲートウェイ装置3を中継してデータの送受信が行われる。   As shown in FIG. 1, the first communication network 1 includes a node 11 and a node 12 as nodes (for example, an in-vehicle terminal or an in-vehicle device including a processing device, a drive unit, and a sensor) that perform data transmission and reception. On the other hand, the second communication network 2 includes nodes 21 and 22 as nodes for transmitting and receiving data (for example, in-vehicle terminals and in-vehicle devices including processing devices, drive units, sensors, and the like). It is connected. For example, when the node 11 connected to the first communication network 1 transmits / receives data to / from the node 21 connected to the second communication network 2, it crosses over different communication networks. When data transmission / reception is performed, data transmission / reception is performed via the gateway device 3 interposed between the two communication networks.

次に、本発明の一例を示すゲートウェイ装置3の内部のブロック構成について、図2を用いて説明する。図2は、本発明の第1の実施形態におけるゲートウェイ装置3内部のブロック構成の一例を示すブロック構成図である。図2に示すように、ゲートウェイ装置3は、第1の通信ネットワーク1から受信したデータを第2の通信ネットワークへ送信する第1の送受信制御部31と、逆に、第2の通信ネットワーク2から受信したデータを第1の通信ネットワーク1に送信する第2の送受信制御部32とを備えており、第1の送受信制御部31、第2の送受信制御部32それぞれの内部構成は、データの送受信方向を逆にしただけで、全く同じ構成要素からなっている。   Next, an internal block configuration of the gateway apparatus 3 showing an example of the present invention will be described with reference to FIG. FIG. 2 is a block configuration diagram illustrating an example of a block configuration inside the gateway device 3 according to the first embodiment of the present invention. As shown in FIG. 2, the gateway device 3 includes a first transmission / reception control unit 31 that transmits data received from the first communication network 1 to the second communication network, and conversely, from the second communication network 2. And a second transmission / reception control unit 32 for transmitting the received data to the first communication network 1. The internal configuration of each of the first transmission / reception control unit 31 and the second transmission / reception control unit 32 is data transmission / reception. It consists of exactly the same components just by reversing the direction.

すなわち、第1の送受信制御部31は、受信処理部311、送信処理部312、送信待ちデータ一時保存部313、送信優先順位決定処理部314、送信タイマ315を少なくとも備えており、一方、第2の送受信制御部32も、受信処理部321、送信処理部322、送信待ちデータ一時保存部323、送信優先順位決定処理部324、送信タイマ325を少なくとも備えている。   That is, the first transmission / reception control unit 31 includes at least a reception processing unit 311, a transmission processing unit 312, a transmission waiting data temporary storage unit 313, a transmission priority order determination processing unit 314, and a transmission timer 315. The transmission / reception control unit 32 includes at least a reception processing unit 321, a transmission processing unit 322, a transmission waiting data temporary storage unit 323, a transmission priority order determination processing unit 324, and a transmission timer 325.

ここで、受信処理部311,321は、それぞれ、第1の通信ネットワーク1,第2のネットワーク2からのデータを受信する処理を司るものであり、送信処理部312,322は、それぞれ、第2の通信ネットワーク2,第1のネットワーク1へデータを送信する処理を司るものである。   Here, the reception processing units 311 and 321 are responsible for processing to receive data from the first communication network 1 and the second network 2, respectively, and the transmission processing units 312 and 322 are respectively second processing units. The communication network 2 and the first network 1 are in charge of data transmission processing.

送信待ちデータ一時保存部313,323は、それぞれ、送信処理部312,322がデータの送信中にある場合に、受信処理部311,321が受信したデータを一時保存する送信待ちデータ一時保存手段を提供する記憶部である。また、送信開始後、あらかじめ定めた所定時間(すなわち、送信中止時間)が経過するまでに、送信動作を終了しなかった場合の送信データも、再度、送信待ちデータ一時保存部313,323に保存し直すことが可能である。   The transmission-waiting data temporary storage units 313 and 323 respectively include transmission-waiting data temporary storage means for temporarily storing the data received by the reception processing units 311 and 321 when the transmission processing units 312 and 322 are transmitting data. A storage unit to be provided. In addition, after the start of transmission, transmission data when the transmission operation is not finished before a predetermined time (that is, transmission stop time) elapses is also stored in the transmission waiting data temporary storage units 313 and 323 again. It is possible to redo.

送信優先順位決定処理部314,324は、それぞれ、送信処理部312,322が送信中のデータを含め、送信待ちデータ一時保存部313,323に一時保存されている送信待ちのデータのうち、どのデータを優先して送信するかという送信優先順序を決定する送信優先順位決定処理手段を提供するものである。この送信優先順序を決定する送信優先順位付けのロジックとしては、例えば、次のようないずれかのロジックを主に用いる。   The transmission priority order determination processing units 314 and 324 include any of the data waiting for transmission temporarily stored in the transmission waiting data temporary storage units 313 and 323, including the data being transmitted by the transmission processing units 312 and 322, respectively. The present invention provides a transmission priority order determination processing means for determining a transmission priority order for determining whether to transmit data with priority. For example, one of the following logics is mainly used as the transmission priority ordering logic for determining the transmission priority order.

(1)FIFO(First In First Out):受信した順番に送信する。すなわち、送信待ちデータ一時保存部313,323に先に保存したデータを(すなわち、第1、第2の通信ネットワーク1,2や送信処理部312,322から先に受け取ったデータ)を先に送信するように優先順位を決定する。なお、このようなFIFO方式を適用する場合、送信待ちデータ一時保存部313,323として、プッシュダウン形式のスタックを用意すれば良く、送信優先順位決定処理部314,324を別個に設置することは必ずしも必要ではない。   (1) FIFO (First In First Out): Transmit in the order of reception. That is, the data previously stored in the transmission-waiting data temporary storage units 313 and 323 (that is, the data received first from the first and second communication networks 1 and 2 and the transmission processing units 312 and 322) is transmitted first. Determine the priority order. When such a FIFO method is applied, a push-down stack may be prepared as the transmission-waiting data temporary storage units 313 and 323, and the transmission priority order determination processing units 314 and 324 may be separately installed. It is not always necessary.

(2)データ属性:データの保存順序とは関係なく、各データの属性を示すデータ属性ごとに割り付けられている識別番号(ID番号)についてあらかじめ定めた順番に、例えば、若番順(ID=001,002,003,…)に、優先して送信するように優先順位を決定する。すなわち、識別番号(ID番号)は、データ属性に応じてあらかじめ定められている。   (2) Data attribute: Regardless of the data storage order, the identification number (ID number) assigned to each data attribute indicating the attribute of each data is set in a predetermined order, for example, in ascending order (ID = 001, 002, 003, ...), the priority order is determined so as to be preferentially transmitted. That is, the identification number (ID number) is determined in advance according to the data attribute.

なお、データ属性としては、例えば、送信元のノードごとに(あるいは、該ノード内のアプリケーションや処理種別ごとに)、あるいは、データの送受信ノードの組み合わせごとに、あるいは、転送されるデータの種類や周期性やリアルタイム性などの時間的属性ごとに、あるいは、1つのデータフレームを複数のデータに分解した場合、分解前のデータフレームごとに、割り付けられる。例えば、あらかじめ定めた時間間隔で周期的に送信される周期送信データの場合、この周期送信データの種類ごとに、異なるデータ属性すなわちID番号が割り付けられる。   As the data attribute, for example, for each transmission source node (or for each application or processing type in the node), for each combination of data transmission / reception nodes, or for the type of data to be transferred, Allocation is performed for each temporal attribute such as periodicity or real-time property, or when one data frame is decomposed into a plurality of data, for each data frame before decomposition. For example, in the case of periodic transmission data that is periodically transmitted at a predetermined time interval, a different data attribute, that is, an ID number is assigned to each type of periodic transmission data.

送信タイマ315,325は、送信処理部312,322にデータの送信をセットして送信動作を開始してから、データの送信が終了するまでに許容される時限すなわち送信中止時間の時限監視を行うためのタイマである。すなわち、送信タイマ315,325には、データの送信セット後送信完了までの許容時限としてあらかじめ定められたタイムアウト値を示す送信中止時間が設定され、該送信中止時間を経過した場合は、データの送信動作を中止して、送信を中止したデータは、再び、送信待ちデータ一時保存部313,323に保存し直される動作が実行される。   The transmission timers 315 and 325 monitor the time limit that is allowed from the time when data transmission is set to the transmission processing units 312 and 322 and the transmission operation is started until the data transmission is completed, that is, the transmission stop time. It is a timer for. That is, in the transmission timers 315 and 325, a transmission stop time indicating a timeout value set in advance as an allowable time until the completion of transmission after data transmission is set is set. The operation is stopped, and the data whose transmission is stopped is again stored in the transmission-waiting data temporary storage units 313 and 323.

次に、図2のゲートウェイ装置3の各ブロックの動作の一例について、第1の送受信制御部31側を例にして説明する。第2の送受信制御部32側の各ブロックの動作についても、送受信する通信ネットワークが第1の送受信制御部31側と異なるだけであって、各ブロックの動作は全く同様である。   Next, an example of the operation of each block of the gateway device 3 in FIG. 2 will be described by taking the first transmission / reception control unit 31 side as an example. Regarding the operation of each block on the second transmission / reception control unit 32 side, only the communication network for transmission / reception differs from that on the first transmission / reception control unit 31 side, and the operation of each block is exactly the same.

例えば、図1に示すノード11からノード21に対するデータが、第1の通信ネットワーク1に対して送信されると、第1の通信ネットワーク1は、当該データの宛先が自通信ネットワーク1内には存在していないので、ゲートウェイ装置3に対して、ノード11からのデータを送信する。第1の通信ネットワーク1から送信されてきたノード21宛てのデータは、ゲートウェイ装置3の受信処理部311にて受信されて、第1の通信ネットワーク1における通信プロトコルに応じた通信制御を行うことにより、受信処理を完了し、受信したデータを送信待ちデータ一時保存部313に保存する。   For example, when data from the node 11 to the node 21 shown in FIG. 1 is transmitted to the first communication network 1, the first communication network 1 has the destination of the data in the own communication network 1. Therefore, the data from the node 11 is transmitted to the gateway device 3. The data addressed to the node 21 transmitted from the first communication network 1 is received by the reception processing unit 311 of the gateway device 3 and communication control according to the communication protocol in the first communication network 1 is performed. The reception processing is completed, and the received data is stored in the transmission-waiting data temporary storage unit 313.

送信待ちデータ一時保存部313に保存されたデータは、送信優先順位決定処理部314によって送信の優先順位付けがなされる。例えば、先着順すなわちFIFO(First In First Out)順やデータ属性を示すID番号順に、優先順位付けがなされる。送信待ちデータ一時保存部313に保存されたデータの送信順番に達すると、送信待ちデータ一時保存部313から送信処理部312にデータがセットされて、データの宛先のノード21が接続されている第2の通信ネットワーク2に対する送信要求を行う。   The data stored in the transmission waiting data temporary storage unit 313 is prioritized for transmission by the transmission priority order determination processing unit 314. For example, prioritization is performed in the order of arrival, that is, FIFO (First In First Out) order or ID number order indicating data attributes. When the transmission order of the data stored in the transmission-waiting data temporary storage unit 313 is reached, the data is set from the transmission-waiting data temporary storage unit 313 to the transmission processing unit 312 and the data destination node 21 is connected. A transmission request is made to the second communication network 2.

送信要求を受け取った送信処理部312は、送信データを第2の通信ネットワーク2の通信プロトコルに応じた通信制御を行うことにより第2の通信ネットワーク2に対して送信開始すると同時に、送信タイマ315に送信中止時間をセットして送信時限の監視動作を起動する。送信処理部312は、第2の通信ネットワーク2への送信が完了すると、起動した送信タイマ315をリセットして停止させる。一方、第2の通信ネットワーク2では、ゲートウェイ装置3からデータの受信が成功裏に完了すると、データの宛先が示すノード21に対して、受信したデータを配信する。   Upon receiving the transmission request, the transmission processing unit 312 starts transmission of the transmission data to the second communication network 2 by performing communication control according to the communication protocol of the second communication network 2, and at the same time, sets the transmission timer 315 to the transmission timer 315. Set the transmission stop time and start the monitoring operation for the transmission time limit. When the transmission to the second communication network 2 is completed, the transmission processing unit 312 resets the started transmission timer 315 to stop it. On the other hand, in the second communication network 2, when the data reception from the gateway device 3 is successfully completed, the received data is distributed to the node 21 indicated by the data destination.

また、第2の通信ネットワーク2が輻輳している状態にあるなど、何らかの原因のために、送信処理部312が、送信タイマ315にセットされた送信中止時間に達するまでに、第2の通信ネットワーク2へのデータ送信を完了することができなかった場合は、送信動作を中止して、送信しようとしていたデータを送信待ちデータ一時保存部313に、再度、保存し直す。   In addition, for some reason, such as when the second communication network 2 is congested, the second communication network 312 reaches the transmission stop time set in the transmission timer 315 for some reason. If the data transmission to 2 could not be completed, the transmission operation is stopped and the data to be transmitted is stored again in the transmission waiting data temporary storage unit 313.

次に、図2の送信待ちデータ一時保存部313に入力/出力されるデータの流れの一例について、前述した、ID番号が示すデータ属性により送信優先順位が決定される場合を例にとって、図3を用いて説明する。ここに、図3は、送信待ちデータ一時保存部313に入出力されるデータの流れの一例を説明するための説明図であり、第1の送受信制御部31のデータ一時保存部313を例にして示している。図3(A)は、受信処理部311から、送信待ちデータ一時保存部313に保存されるデータの流れを示し、一方、図3(B)は、送信待ちデータ一時保存部313に保存されたデータが、送信処理部312に出力される流れを示している。   Next, with respect to an example of the flow of data input / output to / from the transmission-waiting data temporary storage unit 313 of FIG. Will be described. FIG. 3 is an explanatory diagram for explaining an example of the flow of data input to and output from the transmission-waiting data temporary storage unit 313. The data temporary storage unit 313 of the first transmission / reception control unit 31 is taken as an example. It shows. FIG. 3A shows the flow of data stored in the transmission waiting data temporary storage unit 313 from the reception processing unit 311, while FIG. 3B shows the flow of data stored in the transmission waiting data temporary storage unit 313. The flow of data output to the transmission processing unit 312 is shown.

図3(A)に示すように、送信待ちデータ一時保存部313には、既に、データC1(ID=029)、データC2(ID=058)が一時保存されている状態にあるが、さらに、受信処理部311で順次受信されたデータA1(ID=002)、データA2(ID=036)が保存されるようになる。また、送信処理部312で送信しようとしていたデータB1(ID=010)が何らかの原因で送信タイムアウトした場合、送信タイムアウトしたデータB1(ID=010)も、再び、一時保存される。   As shown in FIG. 3A, the data C1 (ID = 029) and the data C2 (ID = 058) are already temporarily stored in the transmission-waiting data temporary storage unit 313. Data A1 (ID = 002) and data A2 (ID = 036) sequentially received by the reception processing unit 311 are stored. In addition, when data B1 (ID = 010) to be transmitted by the transmission processing unit 312 times out for some reason, the data B1 (ID = 010) that has timed out transmission is temporarily stored again.

図3(A)のような送信待ちデータ一時保存部313のデータの保存状態において、図3(B)に示すように、優先順位決定処理314は、送信待ちデータ一時保存部313に保存されているデータの送信優先順位を決定する処理を、データ属性を示すID番号に基づいて行い、ID番号が最も若番側のデータA1(ID=002)を最優先の送信順位であるとして抽出する。抽出されたA1(ID=002)は送信処理部312に出力されて、第2の通信ネットワーク2に送信することが指示される。   In the data storage state of the transmission waiting data temporary storage unit 313 as shown in FIG. 3A, the priority order determination process 314 is stored in the transmission waiting data temporary storage unit 313 as shown in FIG. The process of determining the transmission priority order of the existing data is performed based on the ID number indicating the data attribute, and the data A1 (ID = 002) with the lowest ID number is extracted as having the highest priority transmission order. The extracted A1 (ID = 002) is output to the transmission processing unit 312 and instructed to be transmitted to the second communication network 2.

次に、図2に示したゲートウェイ装置3のデータ送信処理について、第1の送受信制御部31側の動作を例にとって、図4に示すフローチャートを用いてさらに説明する。図4は、本発明の第1の実施形態におけるゲートウェイ装置3のデータ送信処理の一例を説明するためのフローチャートであり、ゲートウェイ装置3における本発明のデータ送受信制御方法の一例を示している。   Next, the data transmission processing of the gateway device 3 shown in FIG. 2 will be further described with reference to the flowchart shown in FIG. 4 taking the operation on the first transmission / reception control unit 31 side as an example. FIG. 4 is a flowchart for explaining an example of the data transmission process of the gateway device 3 in the first embodiment of the present invention, and shows an example of the data transmission / reception control method of the present invention in the gateway device 3.

図4のフローチャートにおいて、まず、送信処理部312は、第2の通信ネットワーク2に対するデータの送信を完了したか否かを判定する(ステップS01)。データ送信が完了している場合は(ステップS01のYES)、ステップS05に移行するが、データ送信が完了していない場合は(ステップS01のNO)、ステップS02に移行して、タイマ計数ステップによって計数されている送信タイマ315に送信タイムアウトが発生したか否か、すなわち、データ送信開始後、あらかじめ設定されている送信中止時間の時間が経過したか否か、を判定する(ステップS02)。   In the flowchart of FIG. 4, first, the transmission processing unit 312 determines whether transmission of data to the second communication network 2 has been completed (step S01). If the data transmission has been completed (YES in step S01), the process proceeds to step S05. If the data transmission has not been completed (NO in step S01), the process proceeds to step S02, and the timer count step is performed. It is determined whether or not a transmission timeout has occurred in the counted transmission timer 315, that is, whether or not a preset transmission suspension time has elapsed after the start of data transmission (step S02).

送信タイムアウトが発生している場合は(ステップS02のYES)、あらかじめ設定されている送信中止時間が経過している場合であり、送信処理部312が、第2の通信ネットワーク2に対して、送信データに関する再送処理を継続して実施しているにも関わらず、送信中止時間で与えられる所定時限以内には、データを送信することができなかったものとして、ステップS03に移行して、当該送信データの送信を中止する(ステップS03)。その後、送信を中止したデータを、再度、送信待ちデータ一時保存部313に保存する(ステップS04)。なお、送信待ちデータ一時保存部313にデータを保存する動作は、図4には明示していないが、「一時保存ステップ」の実行によって行われる。   If a transmission timeout has occurred (YES in step S02), a preset transmission suspension time has elapsed, and the transmission processing unit 312 transmits to the second communication network 2. It is assumed that the data could not be transmitted within the predetermined time period given by the transmission stop time even though the retransmission processing regarding the data is being continued, and the process proceeds to step S03 and the transmission is performed. Data transmission is stopped (step S03). Thereafter, the data whose transmission has been canceled is stored again in the transmission-waiting data temporary storage unit 313 (step S04). The operation of storing data in the transmission-waiting data temporary storage unit 313 is performed by executing the “temporary storage step”, although not explicitly shown in FIG.

一方、送信タイムアウトが発生していない場合は(ステップS02のNO)、今回のデータ送信周期では、まだ送信動作を完了することができず、引き続き、再送処理を継続して実施している場合であるが、まだ、最初の送信開始時点からの経過時間が送信中止時間に満たない場合であり、送信処理部312は、継続して再送処理を行うことが可能なものとして、処理を終了する。   On the other hand, if the transmission timeout has not occurred (NO in step S02), the transmission operation cannot be completed yet in the current data transmission cycle, and the retransmission process is continuously performed. However, there is still a case where the elapsed time from the first transmission start time is less than the transmission stop time, and the transmission processing unit 312 ends the processing assuming that the retransmission processing can be continuously performed.

ステップS01の判定結果、データ送信が完了している場合は(ステップS01のYES)、ステップS05に移行して、まず、送信タイマ315をリセットして、送信中止時間までの時限監視動作を終了させる(ステップS05)。その後、第2の通信ネットワーク2に次に送信すべきデータが、送信待ちデータ一時保存部313に保存されているか否かを判定する(ステップS06)。   If the data transmission is completed as a result of the determination in step S01 (YES in step S01), the process proceeds to step S05, where the transmission timer 315 is first reset to end the time monitoring operation until the transmission stop time. (Step S05). Thereafter, it is determined whether or not the data to be transmitted next to the second communication network 2 is stored in the transmission-waiting data temporary storage unit 313 (step S06).

次に送信すべきデータが、送信待ちデータ一時保存部313に保存されていない場合は(ステップS06のNO)、処理を終了するが、送信待ちデータ一時保存部313に保存されている場合は(ステップS06のYES)、ステップS07に移行して、送信待ちデータ一時保存部313に保存されているデータの送信順序を決定するために、送信優先順位決定処理部314により、送信待ちデータ一時保存部313に保存されているデータについて、例えば、データ属性を示すID番号に基づく送信の優先順位によるソーティング処理を行う(ステップS07)。   If the data to be transmitted next is not stored in the transmission-waiting data temporary storage unit 313 (NO in step S06), the process ends, but if the data to be transmitted is stored in the transmission-waiting data temporary storage unit 313 ( In step S06, the process proceeds to step S07, and the transmission priority order determination processing unit 314 determines the transmission order of the data stored in the transmission waiting data temporary storage unit 313 by the transmission priority data temporary storage unit. For the data stored in 313, for example, a sorting process based on the transmission priority based on the ID number indicating the data attribute is performed (step S07).

次いで、送信待ちデータ一時保存部313に保存されているデータのうち、最も優先順位が高いデータを取り出して、送信処理部312にセットして、第2の通信ネットワーク2への送信要求を行うと同時に(ステップS08)、送信タイマ315に、あらかじめ定められている送信中止時間を設定して、タイマを起動し(ステップS09)、しかる後、送信処理を終了する。   Next, when the data with the highest priority is extracted from the data stored in the transmission waiting data temporary storage unit 313 and set in the transmission processing unit 312, a transmission request to the second communication network 2 is performed. At the same time (step S08), a predetermined transmission stop time is set in the transmission timer 315, the timer is started (step S09), and then the transmission process is terminated.

したがって、送信を中止するまでの間に、あるいは、ゲートウェイ装置3が次のデータ送信周期に達するまでの間に、第1の通信ネットワーク1から新たに受信されて、送信待ちデータ一時保存部313に保存されたデータや、送信の中止によって送信待ちデータ一時保存部313に保存し直されたデータも含めて、送信優先順位決定処理部314により、送信の優先順位付けがなされることにより、送信中止されたデータについても、優先順位に応じて、再度、送信することができる機会が与えられる。   Therefore, the data is newly received from the first communication network 1 until the transmission is stopped or until the gateway device 3 reaches the next data transmission cycle, and is sent to the transmission-waiting data temporary storage unit 313. The transmission priority is determined by the transmission priority determination processing unit 314 including the saved data and the data re-saved in the transmission waiting data temporary storage unit 313 due to the cancellation of transmission. The data that has been sent can also be given an opportunity to be transmitted again according to the priority.

次に、かかる送信動作について、図5の説明図を用いてさらに説明する。   Next, the transmission operation will be further described with reference to the explanatory diagram of FIG.

ここに、図5は、本発明の第1の実施形態におけるゲートウェイ装置3のデータ送信動作の一例を説明するための説明図であり、第1の通信ネットワーク1に接続されているノード11,12から、それぞれ、第2の通信ネットワーク2に接続されているノード21,22に対して、ゲートウェイ装置3を介して、データを送信している様子を示している。   FIG. 5 is an explanatory diagram for explaining an example of the data transmission operation of the gateway device 3 in the first embodiment of the present invention, and the nodes 11 and 12 connected to the first communication network 1. In the figure, data is transmitted to the nodes 21 and 22 connected to the second communication network 2 via the gateway device 3, respectively.

なお、図5(A)、(B)それぞれには、第1の通信ネットワーク1からゲートウェイ装置3に送信されてきたデータの順序、ゲートウェイ装置3内の送信処理部312にデータをセットする様子、および、ゲートウェイ装置3から第2の通信ネットワーク2に送信されるデータの順序を示している。   5A and 5B, the order of data transmitted from the first communication network 1 to the gateway device 3, the state of setting data in the transmission processing unit 312 in the gateway device 3, And the order of the data transmitted from the gateway apparatus 3 to the 2nd communication network 2 is shown.

また、図5においては、ノード11は、送信間隔Aの時間間隔で、ノード21に対して、データA1、A2を送信しようとしており、ノード12は、送信間隔Aよりも短い送信間隔Bの時間間隔で、ノード22に対して、データB1、B2を送信しようとしているものとし、図5(A)は、ノード11の送信データよりも、ノード12の送信データの方が、ゲートウェイ装置3における第2の通信ネットワーク2に対するデータの送信優先順位が高い場合を示し、図5(B)は、逆に、ノード11の送信データよりも、ノード12の送信データの方が、ゲートウェイ装置3における第2の通信ネットワーク2に対するデータの送信優先順位が低い場合を示している。   In FIG. 5, the node 11 tries to transmit data A1 and A2 to the node 21 at the time interval of the transmission interval A, and the node 12 has a transmission interval B time shorter than the transmission interval A. It is assumed that data B1 and B2 are to be transmitted to the node 22 at intervals, and FIG. 5A shows that the transmission data of the node 12 is more in the gateway device 3 than the transmission data of the node 11. 2B shows a case where the transmission priority of data to the communication network 2 of FIG. 2 is high. FIG. 5B shows that the transmission data of the node 12 is the second transmission data in the gateway device 3 rather than the transmission data of the node 11. The case where the transmission priority of data with respect to the communication network 2 is low is shown.

また、図5(A)、(B)のいずれも、ゲートウェイ装置3において、第2の通信ネットワーク2に対するノード11からの送信データA1が、何らかの原因で、あらかじめ設定されている送信中止時間内に、第2の通信ネットワーク2に送信することができなくなって、送信を中止して、送信待ちデータ一時保存部313に再度保存し直した場合を示している。   5A and 5B, in the gateway device 3, the transmission data A1 from the node 11 for the second communication network 2 is within the preset transmission suspension time for some reason. This shows a case where transmission to the second communication network 2 becomes impossible, the transmission is stopped, and the transmission waiting data temporary storage unit 313 stores the data again.

図5(A)に示すように、データA1の送信が、何らかの原因で、再送を繰り返したものの、送信を完了させることができず、遂に、送信中止時間が経過してしまった場合、データA1の送信を中止して、送信待ちデータ一時保存部313に再度保存し直すことになる。この時点では、すでに、第1の通信ネットワーク1からノード12の送信データB1を送信待ちデータ一時保存部313に保存している状態にある。   As shown in FIG. 5A, when the transmission of the data A1 is repeated for some reason, the transmission cannot be completed and finally the transmission stop time has passed. Transmission is canceled and stored again in the transmission waiting data temporary storage unit 313. At this time, the transmission data B1 of the node 12 from the first communication network 1 is already stored in the transmission waiting data temporary storage unit 313.

ここで、送信優先順位決定処理部314により、送信待ちデータ一時保存部313に保存されているデータB1と、送信処理部312から再度保存し直すことになったノード11の送信データA1と、の優先順位を(例えば、データ属性を示すID番号に基づいて)判定して、ノード12のデータB1が優先して送信されるものであると決定して、まず、データB1を送信処理部312にセットして送信要求を行う。ノード12のデータB1の送信動作が完了すると、次に、送信待ちデータ一時保存部313に保存し直していたノード11のデータA1を送信処理部312に再びセットして送信要求を行う。   Here, the transmission priority order determination processing unit 314 causes the data B1 stored in the transmission waiting data temporary storage unit 313 and the transmission data A1 of the node 11 to be stored again from the transmission processing unit 312. The priority order is determined (for example, based on the ID number indicating the data attribute), the data B1 of the node 12 is determined to be preferentially transmitted, and the data B1 is first sent to the transmission processing unit 312. Set and send request. When the transmission operation of the data B1 of the node 12 is completed, the data A1 of the node 11 that has been stored in the transmission waiting data temporary storage unit 313 is set again in the transmission processing unit 312 and a transmission request is made.

一方、図5(B)に示す例においては、データA1を送信中止時間の間に、送信することができなかった場合、図5(A)の場合と同様に、データA1の送信を中止して、送信待ちデータ一時保存部313に再度保存し直すことになるが、この時点では、すでに、第1の通信ネットワーク1からノード12の送信データB1を送信待ちデータ一時保存部313に保存している状態にある。   On the other hand, in the example shown in FIG. 5B, when the data A1 cannot be transmitted during the transmission suspension time, the transmission of the data A1 is suspended as in the case of FIG. In this case, the transmission waiting data temporary storage unit 313 is stored again. At this time, the transmission data B1 of the node 12 from the first communication network 1 is already stored in the transmission waiting data temporary storage unit 313. Is in a state of being.

ここで、送信優先順位決定処理部314により、送信待ちデータ一時保存部313に保存されているデータB1と、送信処理部312から再度保存し直すことになったノード11の送信データA1と、の優先順位を(例えば、データ属性を示すID番号に基づいて)判定して、送信待ちデータ一時保存部313に保存し直したノード11のデータA1が優先して送信されるものであると決定して、データA1を、再度、送信処理部312にセットして送信要求を行う。今度は、ノード12のデータA1の送信動作が成功裏に完了すると、次に、送信待ちデータ一時保存部313に保存していたノード12のデータB1を送信処理部312にセットして送信要求を行う。   Here, the transmission priority order determination processing unit 314 causes the data B1 stored in the transmission waiting data temporary storage unit 313 and the transmission data A1 of the node 11 to be stored again from the transmission processing unit 312. The priority order is determined (for example, based on the ID number indicating the data attribute), and it is determined that the data A1 of the node 11 restored in the transmission-waiting data temporary storage unit 313 is to be transmitted with priority. Then, the data A1 is set again in the transmission processing unit 312 and a transmission request is made. Next, when the transmission operation of the data A1 of the node 12 is successfully completed, the data B1 of the node 12 stored in the transmission waiting data temporary storage unit 313 is set in the transmission processing unit 312 and a transmission request is made. Do.

以上に説明したように、ゲートウェイ装置3は、何らかの原因で、送信中止時間内に、第2の通信ネットワーク2へのデータ送信を完了させることができなかった場合、従来の技術のように、送信しようとしているデータを破棄してしまうのではなく、送信待ちデータ一時保存部313に保存し直し、再度送信を繰り返すことを可能としている。さらに、データを破棄しないで、送信待ちとして保存し直した際に、送信待ちデータ一時保存部313に保存されている1ないし複数のデータが保存される状態になった場合には、送信待ちデータ一時保存部313に保存されている送信待ちのデータの中から送信優先順位にしたがって再度送信することを可能としている。   As described above, when the gateway device 3 cannot complete the data transmission to the second communication network 2 within the transmission suspension time for some reason, the transmission is performed as in the conventional technique. Instead of discarding the data that is about to be saved, it is possible to re-save the data in the transmission-waiting data temporary storage unit 313 and repeat the transmission again. Further, when one or a plurality of data stored in the transmission-waiting data temporary storage unit 313 is stored when the data is re-saved as transmission-waiting without discarding the data, the transmission-waiting data It is possible to transmit again in accordance with the transmission priority from the data waiting for transmission stored in the temporary storage unit 313.

而して、たとえ、送信相手の第2の通信ネットワーク2における通信負荷が一時的に重い状態にあるような場合であって、ゲートウェイ装置3からのデータ送信が一時的に不可能な状態が発生したとしても、ゲートウェイ装置3に送信しようとしているデータを保存し直すことによって、再度、送信動作を行うことにより、効率良く、データを送信することが可能となるし、さらに、ゲートウェイ装置3から優先順位が高いデータから始めて順次送信することにより、その時点で最も優先順位が高いデータを効率良く送信することが可能となる。   Thus, even if the communication load in the second communication network 2 of the transmission partner is temporarily heavy, a state in which data transmission from the gateway device 3 is temporarily impossible occurs. Even if it does, it will become possible to transmit data efficiently by re-sending the data which it is going to transmit to the gateway apparatus 3, and performing a transmission operation again, and also it is given priority from the gateway apparatus 3. By sequentially transmitting data starting with data having a higher order, it becomes possible to efficiently transmit data having the highest priority at that time.

この結果、ノード間でエンド・ツー・エンドの再送制御動作を行わなくても、目的のデータを、通信相手のノードに効率良く送達することができる可能性を向上させることができる。特に、あらかじめ定められた時間間隔で、周期的に送信されてくるような周期送信データの場合でも、各データの送信周期を確保しつつ、送信先の通信ネットワークに対する送信チャンスを最大限に与えることが可能であり、周期送信データを通信相手先のノードに対して、定められた周期内に、より確実に送達することができる。
(第2の実施形態)
次に、本発明によるゲートウェイ装置の第2の実施形態について説明する。
As a result, it is possible to improve the possibility that target data can be efficiently delivered to a communication partner node without performing an end-to-end retransmission control operation between the nodes. In particular, even in the case of periodic transmission data that is transmitted periodically at a predetermined time interval, it is possible to maximize the transmission opportunity to the destination communication network while ensuring the transmission period of each data. The periodic transmission data can be more reliably delivered to the communication partner node within a predetermined period.
(Second Embodiment)
Next, a second embodiment of the gateway device according to the present invention will be described.

本実施形態においても、ネットワーク構成は、第1の実施形態で示した図1のネットワーク構成図と同様であり、第1の通信ネットワーク1と第2の通信ネットワーク2とが、本実施形態のゲートウェイ装置3Aに接続されており、第1の通信ネットワーク1には、ノード11とノード12とが接続され、一方、第2の通信ネットワーク2には、ノード21とノード22とが接続されている。   Also in this embodiment, the network configuration is the same as the network configuration diagram of FIG. 1 shown in the first embodiment, and the first communication network 1 and the second communication network 2 are the gateway of this embodiment. The node 11 and the node 12 are connected to the first communication network 1, while the node 21 and the node 22 are connected to the second communication network 2.

次に、本実施形態におけるゲートウェイ装置3Aの内部のブロック構成について、図6を用いて説明する。図6は、本発明の第2の実施形態におけるゲートウェイ装置3A内部のブロック構成の一例を示すブロック構成図である。図6に示すように、本実施形態におけるゲートウェイ装置3Aのブロック構成は、第1の実施形態において例示した図2のゲートウェイ装置3と同様に、第1の通信ネットワーク1から受信したデータを第2の通信ネットワークへ送信する第1の送受信制御部31Aと、逆に、第2の通信ネットワーク2から受信したデータを第1の通信ネットワーク1に送信する第2の送受信制御部32Aとを備えており、第1の送受信制御部31A、第2の送受信制御部32Aそれぞれの内部構成は、データの送受信方向を逆にしただけで、全く同じ構成要素からなっている。   Next, an internal block configuration of the gateway device 3A in the present embodiment will be described with reference to FIG. FIG. 6 is a block configuration diagram illustrating an example of a block configuration inside the gateway device 3A according to the second exemplary embodiment of the present invention. As shown in FIG. 6, the block configuration of the gateway device 3A in the present embodiment is the same as the gateway device 3 in FIG. 2 illustrated in the first embodiment, except that the data received from the first communication network 1 is second. A first transmission / reception control unit 31A for transmitting to the first communication network, and conversely, a second transmission / reception control unit 32A for transmitting data received from the second communication network 2 to the first communication network 1. The internal configuration of each of the first transmission / reception control unit 31A and the second transmission / reception control unit 32A is composed of exactly the same components only by reversing the data transmission / reception direction.

また、第1の送受信制御部31A、第2の送受信制御部32Aそれぞれは、図2に例示した第1の実施形態の第1の送受信制御部31、第2の送受信制御部32と同様に、受信処理部311,321、送信処理部312,322、送信待ちデータ一時保存部313,323、送信優先順位決定処理部314,324、送信タイマ315,325を少なくとも備えているが、さらに、図2の第1の送受信制御部31、第2の送受信制御部32に対して、新たに、比較処理部316,326を追加して構成されている。   Further, each of the first transmission / reception control unit 31A and the second transmission / reception control unit 32A is similar to the first transmission / reception control unit 31 and the second transmission / reception control unit 32 of the first embodiment illustrated in FIG. The reception processing units 311 and 321, the transmission processing units 312 and 322, the transmission waiting data temporary storage units 313 and 323, the transmission priority order determination processing units 314 and 324, and the transmission timers 315 and 325 are provided. The comparison processing units 316 and 326 are newly added to the first transmission / reception control unit 31 and the second transmission / reception control unit 32.

新たに追加した比較処理部316,326は、それぞれ、第1の通信ネットワーク1、第2の通信ネットワーク2から受信した受信データと、当該ゲートウェイ装置3Aから、それぞれ、第2の通信ネットワーク2、第1の通信ネットワーク1に対して送信中の送信データとを比較して、比較結果に応じて、送信タイマ315,325に対して、送信中の送信データに設定されている送信中止時間の設定値を更新する更新指示を送出するものであり、送信中止時間を更新後の値に変更して設定可能とするものである。   The newly added comparison processing units 316 and 326 respectively receive the received data received from the first communication network 1 and the second communication network 2 and the second communication network 2 and the second data from the gateway device 3A, respectively. 1 is compared with the transmission data being transmitted to one communication network 1, and the set value of the transmission stop time set in the transmission data being transmitted to the transmission timers 315 and 325 according to the comparison result An update instruction for updating the transmission is sent, and the transmission stop time can be changed to the updated value and set.

次に、図6のゲートウェイ装置3Aの各ブロックの動作の一例について、第1の送受信制御部31A側を例にして説明するが、第1の実施形態における第1の送受信制御部31の動作と略同様の動作を行っている。第2の送受信制御部32A側の各ブロックの動作についても、送受信する通信ネットワークが第1の送受信制御部31A側と異なるだけであって、各ブロックの動作は全く同様である。   Next, an example of the operation of each block of the gateway device 3A in FIG. 6 will be described by taking the first transmission / reception control unit 31A side as an example, and the operation of the first transmission / reception control unit 31 in the first embodiment will be described. A substantially similar operation is performed. Regarding the operation of each block on the second transmission / reception control unit 32A side, only the communication network for transmission / reception differs from that on the first transmission / reception control unit 31A side, and the operation of each block is exactly the same.

例えば、図1に示す第1の通信ネットワーク1に接続されているノード11から第2の通信ネットワーク2に接続されているノード21に対するデータが、第1の通信ネットワーク1に対して送信されると、第1の通信ネットワーク1は、ゲートウェイ装置3Aに対して、ノード11からのデータを送信する。第1の通信ネットワーク1から送信されてきたノード21宛てのデータは、ゲートウェイ装置3Aの受信処理部311にて受信されて、送信待ちデータ一時保存部313に保存される。   For example, when data from the node 11 connected to the first communication network 1 shown in FIG. 1 to the node 21 connected to the second communication network 2 is transmitted to the first communication network 1. The first communication network 1 transmits data from the node 11 to the gateway device 3A. Data addressed to the node 21 transmitted from the first communication network 1 is received by the reception processing unit 311 of the gateway device 3A and stored in the transmission waiting data temporary storage unit 313.

さらに、本実施形態においては、第1の実施形態の場合とは異なり、新たなデータがゲートウェイ装置3Aの受信処理部311にて受信されて、送信待ちデータ一時保存部313に保存されようとした時点で、送信処理部312から第2の通信ネットワーク2に対して送信中のデータが存在していた場合、比較処理部316にて新たに受信したデータと送信中のデータとの送信優先順位の比較を行い、その結果如何によって、送信中のデータに設定されていた送信中止時間を更新して設定し直す。例えば、新たに受信したデータが、送信中のデータよりも優先順位が高い場合は、送信中のデータの送信を迅速に中止させるために、送信中止時間を短縮した値(例えば、直ちに打ち切る指示をする場合は“0”)に変更するように、送信タイマ315の送信中止時間の設定を更新させる。   Furthermore, in this embodiment, unlike the case of the first embodiment, new data is received by the reception processing unit 311 of the gateway device 3A and is stored in the transmission-waiting data temporary storage unit 313. If there is data being transmitted from the transmission processing unit 312 to the second communication network 2 at the time, the comparison of the transmission priority between the data newly received by the comparison processing unit 316 and the data being transmitted. The comparison is performed, and as a result, the transmission stop time set in the data being transmitted is updated and set again. For example, when newly received data has a higher priority than data being transmitted, a value obtained by shortening the transmission suspension time (for example, an instruction to immediately terminate the transmission) in order to quickly stop transmission of the data being transmitted. If so, the transmission stop time setting of the transmission timer 315 is updated so as to be changed to “0”.

また、送信待ちデータ一時保存部313に保存されたデータは、第1の実施形態の場合と同様に、送信優先順位決定処理部314によって送信の優先順位付けがなされる。送信待ちデータ一時保存部313に保存されたデータの送信順番に達すると、送信待ちデータ一時保存部313から送信処理部312にデータがセットされて、データの宛先のノード21が接続されている第2の通信ネットワーク2に対する送信要求を行う。   The data stored in the transmission waiting data temporary storage unit 313 is prioritized for transmission by the transmission priority order determination processing unit 314 as in the case of the first embodiment. When the transmission order of the data stored in the transmission-waiting data temporary storage unit 313 is reached, the data is set from the transmission-waiting data temporary storage unit 313 to the transmission processing unit 312 and the data destination node 21 is connected. A transmission request is made to the second communication network 2.

送信要求を受け取った送信処理部312は、送信データを第2の通信ネットワーク2に対して送信開始すると同時に、送信タイマ315に送信中止時間をセットして送信時限の監視動作を起動する。送信処理部312は、第2の通信ネットワーク2への送信が完了すると、起動した送信タイマ315をリセットして停止させるが、何らかの原因で、送信タイマ315にセットされた送信中止時間に達するまでに、第2の通信ネットワーク2へのデータ送信を完了することができなかった場合は、送信動作を中止して、再度、送信しようとしていたデータを送信待ちデータ一時保存部313に一時保存する。   Upon receiving the transmission request, the transmission processing unit 312 starts transmission of transmission data to the second communication network 2 and simultaneously sets a transmission stop time in the transmission timer 315 and starts a transmission time monitoring operation. When the transmission to the second communication network 2 is completed, the transmission processing unit 312 resets and stops the transmission timer 315 that has been started, but for some reason, the transmission processing unit 312 reaches the transmission stop time set in the transmission timer 315. If the data transmission to the second communication network 2 cannot be completed, the transmission operation is stopped and the data to be transmitted is temporarily stored in the transmission waiting data temporary storage unit 313 again.

次に、本実施形態で新たに追加したゲートウェイ装置3Aの比較処理部316,326のデータ比較動作について、第1の送受信制御部31A側の動作を例にとって、図7に示すフローチャートを用いてさらに説明する。図7は、本発明の一例である図6に示すゲートウェイ装置3Aの比較処理部316における比較動作の一例を説明するためのフローチャートであり、ゲートウェイ装置3Aにおける本発明のデータ送受信制御方法の一例を示している。なお、第1の通信ネットワーク1から受信したデータを第2の通信ネットワーク2に対して送信する動作については、比較処理部316における比較処理を除いて、第1の実施形態にて詳述した場合と全く同様であり、ここでの重複した説明は省略する。   Next, regarding the data comparison operation of the comparison processing units 316 and 326 of the gateway device 3A newly added in the present embodiment, the operation on the first transmission / reception control unit 31A side is taken as an example and further illustrated using the flowchart shown in FIG. explain. FIG. 7 is a flowchart for explaining an example of the comparison operation in the comparison processing unit 316 of the gateway apparatus 3A shown in FIG. 6 as an example of the present invention, and an example of the data transmission / reception control method of the present invention in the gateway apparatus 3A. Show. Note that the operation of transmitting data received from the first communication network 1 to the second communication network 2 is detailed in the first embodiment except for the comparison processing in the comparison processing unit 316. The description is not repeated here.

図7のフローチャートにおいて、まず、受信処理部311において、第1の通信ネットワーク1から新たなデータが受信されたか否かを判定する(ステップS11)。新たな受信データがない場合は(ステップS11のNO)、比較処理部316における比較処理を終了するが、新たな受信データがあった場合は(ステップS11のYES)、ステップS12に移行して、次に、送信処理部312から第2の通信ネットワーク2に対してデータを送信中か否かを判定する(ステップS12)。   In the flowchart of FIG. 7, first, the reception processing unit 311 determines whether new data is received from the first communication network 1 (step S11). If there is no new received data (NO in step S11), the comparison process in the comparison processing unit 316 is terminated. If there is new received data (YES in step S11), the process proceeds to step S12. Next, it is determined whether or not data is being transmitted from the transmission processing unit 312 to the second communication network 2 (step S12).

第2の通信ネットワーク2に対してデータを送信中ではなかった場合は(ステップS12のNO)、比較処理部316における比較処理を終了するが、データを送信中であった場合は(ステップS12のYES)、ステップS13に移行して、次に、新たに受信したデータと送信中のデータとの送信優先順位の比較を行う(ステップS13)。   When data is not being transmitted to the second communication network 2 (NO in step S12), the comparison processing in the comparison processing unit 316 is terminated, but when data is being transmitted (in step S12). (YES), the process proceeds to step S13, and then the transmission priority order of the newly received data and the data being transmitted is compared (step S13).

比較結果、新たに受信したデータの優先順位の方が、送信中のデータよりも低い優先順位であった場合は(ステップS14のNO)、比較処理部316における比較処理を終了するが、逆に、新たに受信したデータの優先順位の方が、送信中のデータよりも高い優先順位であった場合は(ステップS14のYES)、送信タイマ315に設定されている送信中止時間を短縮する更新指示を、例えば、送信中止時間を“0”に設定する更新指示を、送信タイマ315に対して送出して、送信タイマ315の送信中止時間を更新させる(ステップS15)。   As a result of the comparison, when the priority of the newly received data is lower than that of the data being transmitted (NO in step S14), the comparison processing in the comparison processing unit 316 is terminated. If the priority of the newly received data is higher than the data being transmitted (YES in step S14), an update instruction to shorten the transmission stop time set in the transmission timer 315 For example, an update instruction for setting the transmission suspension time to “0” is sent to the transmission timer 315 to update the transmission suspension time of the transmission timer 315 (step S15).

この結果、ゲートウェイ装置3Aでは、送信優先順位が高いデータが新たに受信された場合、たとえ、現在、優先順位が低いデータを送信中の状態にあったとしても、送信中止時間を例えば“0”に短縮することによって、送信中のデータの送信動作を迅速に打ち切って、送信待ちデータ一時保存部313に保存し直すことができる。   As a result, in the gateway device 3A, when data with a high transmission priority is newly received, even if the data with a low priority is currently being transmitted, the transmission suspension time is set to “0”, for example. By shortening to, the transmission operation of the data being transmitted can be quickly terminated and stored again in the transmission waiting data temporary storage unit 313.

而して、ゲートウェイ装置3Aでは、送信優先順位決定処理部314により、送信待ちデータ一時保存部313に保存されているデータのうち最も優先順位が高いデータとして新たに受信されたデータが選択されて、送信処理部312にセットされることになり、第1の実施形態のゲートウェイ装置3における効果に加えて、さらに、優先順位が高いデータほど、優先して、迅速かつ効率的に、第2の通信ネットワーク2に対して送信することが可能になる。特に、あらかじめ定められた時間間隔で、周期的に送信されてくるような周期送信データの場合、各データの送信周期を確保しつつ、送信相手の通信ネットワークに対する送信チャンスを、より効率的に確保して、周期送信データを通信相手先のノードに対して、定められた周期内に、より確実に送達することができる。
(第3の実施形態)
次に、本発明によるゲートウェイ装置の第3の実施形態について説明する。
Thus, in the gateway device 3A, the transmission priority determination processing unit 314 selects the data newly received as the highest priority data among the data stored in the transmission waiting data temporary storage unit 313. In addition to the effects of the gateway device 3 of the first embodiment, the data with higher priority is given priority and more quickly and efficiently. Transmission to the communication network 2 becomes possible. In particular, in the case of periodic transmission data that is transmitted periodically at a predetermined time interval, a transmission opportunity for the communication network of the transmission partner is more efficiently secured while ensuring the transmission period of each data. Thus, the periodic transmission data can be more reliably delivered to the communication partner node within a predetermined period.
(Third embodiment)
Next, a third embodiment of the gateway device according to the present invention will be described.

本実施形態においても、ネットワーク構成は、第1の実施形態で示した図1のネットワーク構成図と同様であり、第1の通信ネットワーク1と第2の通信ネットワーク2とが、本実施形態のゲートウェイ装置3Bに接続されており、第1の通信ネットワーク1には、ノード11とノード12とが接続され、一方、第2の通信ネットワーク2には、ノード21とノード22とが接続されている。   Also in this embodiment, the network configuration is the same as the network configuration diagram of FIG. 1 shown in the first embodiment, and the first communication network 1 and the second communication network 2 are the gateway of this embodiment. A node 11 and a node 12 are connected to the first communication network 1, while a node 21 and a node 22 are connected to the second communication network 2.

次に、本実施形態におけるゲートウェイ装置3Bの内部のブロック構成について、図8を用いて説明する。図8は、本発明の第3の実施形態におけるゲートウェイ装置3B内部のブロック構成の一例を示すブロック構成図である。図8に示すように、本実施形態におけるゲートウェイ装置3Bのブロック構成は、第1の実施形態において例示した図2のゲートウェイ装置3と同様に、第1の通信ネットワーク1から受信したデータを第2の通信ネットワークへ送信する第1の送受信制御部31Bと、逆に、第2の通信ネットワーク2から受信したデータを第1の通信ネットワーク1に送信する第2の送受信制御部32Bとを備えており、第1の送受信制御部31B、第2の送受信制御部32Bそれぞれの内部構成は、データの送受信方向を逆にしただけで、全く同じ構成要素からなっている。   Next, an internal block configuration of the gateway device 3B in the present embodiment will be described with reference to FIG. FIG. 8 is a block configuration diagram showing an example of a block configuration inside the gateway device 3B in the third embodiment of the present invention. As shown in FIG. 8, the block configuration of the gateway device 3 </ b> B in the present embodiment is the same as the gateway device 3 in FIG. 2 illustrated in the first embodiment, except that the data received from the first communication network 1 is the second. A first transmission / reception control unit 31B that transmits to the first communication network, and conversely, a second transmission / reception control unit 32B that transmits data received from the second communication network 2 to the first communication network 1. The internal configuration of each of the first transmission / reception control unit 31B and the second transmission / reception control unit 32B is composed of exactly the same components only by reversing the data transmission / reception direction.

また、第1の送受信制御部31B、第2の送受信制御部32Bそれぞれは、図2に例示した第1の実施形態の第1の送受信制御部31、第2の送受信制御部32と同様に、受信処理部311,321、送信処理部312B,322B、送信待ちデータ一時保存部313,323、送信優先順位決定処理部314,324、送信タイマ315,325を少なくとも備えているが、さらに、送信処理部312B,322Bは、図2の送信処理部312,322と異なり、それぞれの内部に、新たに、送信データ破棄タイマ317a,327aをそれぞれ内蔵した送信データ破棄処理部317,327を備えて構成されている。なお、本実施形態においては、第1の送受信制御部31B、第2の送受信制御部32Bそれぞれが、第1の実施形態における図2の第1の送受信制御部31、第2の送受信制御部32ではなく、第2の実施形態における図6の第1の送受信制御部31A、第2の送受信制御部32Aのような比較処理部316,326を備えている構成であっても構わない。   Further, each of the first transmission / reception control unit 31B and the second transmission / reception control unit 32B is similar to the first transmission / reception control unit 31 and the second transmission / reception control unit 32 of the first embodiment illustrated in FIG. It includes at least reception processing units 311 and 321, transmission processing units 312B and 322B, transmission waiting data temporary storage units 313 and 323, transmission priority order determination processing units 314 and 324, and transmission timers 315 and 325. The units 312B and 322B are different from the transmission processing units 312 and 322 in FIG. 2 and are configured to include transmission data discard processing units 317 and 327 that newly include transmission data discard timers 317a and 327a, respectively. ing. In the present embodiment, the first transmission / reception control unit 31B and the second transmission / reception control unit 32B are respectively the first transmission / reception control unit 31 and the second transmission / reception control unit 32 of FIG. 2 in the first embodiment. Instead, the configuration may be such that comparison processing units 316 and 326 such as the first transmission / reception control unit 31A and the second transmission / reception control unit 32A of FIG. 6 in the second embodiment are provided.

第1の送受信制御部31B、第2の送受信制御部32Bの送信処理部312B,322Bとして、新たに追加した送信データ破棄処理部317,327は、それぞれ、当該ゲートウェイ装置3Bから、第2の通信ネットワーク2、第1の通信ネットワーク1に対して送信するデータが、当該データの破棄すべきデータ破棄時間を超えて遅れてしまった場合に、送信待ちデータ一時保存部313に保存し直すことなく、当該データを破棄して、送信動作を終了させるものである。   As the transmission processing units 312B and 322B of the first transmission / reception control unit 31B and the second transmission / reception control unit 32B, newly added transmission data discarding processing units 317 and 327 are respectively connected to the second communication from the gateway device 3B. If the data to be transmitted to the network 2 and the first communication network 1 is delayed beyond the data discarding time to be discarded, the data is not stored in the transmission waiting data temporary storage unit 313 again. The data is discarded and the transmission operation is terminated.

ここで、データ破棄時間としては、例えば同じノード11から送信されてくるデータなど、同一データ属性を有するデータについて、次のデータが受信されるまでの時間間隔と一致する時間とすることも可能である。この結果、同一データ属性のデータを2つ以上送信待ちデータ一時保存部313に保存することを防止することができる。   Here, as the data discarding time, for data having the same data attribute, for example, data transmitted from the same node 11, it is possible to set a time that coincides with a time interval until the next data is received. is there. As a result, it is possible to prevent two or more pieces of data having the same data attribute from being stored in the transmission waiting data temporary storage unit 313.

また、周期的に受信して、周期的に送信する必要がある周期性を有するデータの場合、リアルタイム性を伴う特性を有している可能性が高く、ある周期で受信したデータは、その周期内においてのみ有効であり、次の周期では、意味がなくなるかあるいは意味が薄れるという特性を有している可能性が高い。したがって、このような周期性を有するデータを扱う場合は、データ破棄時間を、ゲートウェイ装置3Bにおけるデータ受信周期(言い換えれば、宛先が属する通信ネットワークへのデータ送信周期と考えても良い)と一致させるようにしても良い。このような周期性を有するデータの扱いについて、さらに次に説明する。   In addition, in the case of data having periodicity that needs to be periodically received and periodically transmitted, there is a high possibility that the data has characteristics with real-time properties. It is effective only within the period, and in the next cycle, there is a high possibility that the meaning will be lost or the meaning will be weakened. Therefore, when handling data having such periodicity, the data discarding time is made to coincide with the data reception period (in other words, the data transmission period to the communication network to which the destination belongs) in the gateway device 3B. You may do it. The handling of data having such periodicity will be further described below.

第1の送受信制御部31B、第2の送受信制御部32Bの受信処理部311,321それぞれにおいて第1の通信ネットワーク1、第2の通信ネットワーク2から受信されるデータのデータ属性が示す受信周期(言い換えると、第1の通信ネットワーク1、第2の通信ネットワーク2からゲートウェイ装置3Bに対してデータを送信してくる送信周期、さらに言えば、ゲートウェイ装置3Bが受信したデータを第2の通信ネットワーク2、第1の通信ネットワーク1に対して送信すべき時間間隔を示す送信周期)を超えてしまった場合に、当該データと同じ属性に関する次の周期のデータが受信処理部311,321に到着する時間に達しているので、現在送信中のデータは破棄して、次のデータを送信するように制御することを可能とするものである。   Receiving periods indicated by data attributes of data received from the first communication network 1 and the second communication network 2 in the reception processing units 311 and 321 of the first transmission / reception control unit 31B and the second transmission / reception control unit 32B, respectively ( In other words, the transmission cycle in which data is transmitted from the first communication network 1 and the second communication network 2 to the gateway device 3B, that is, the data received by the gateway device 3B is transferred to the second communication network 2. , When the data of the next period related to the same attribute as the data arrives at the reception processing units 311 and 321 when the transmission period exceeds the transmission period indicating the time interval to be transmitted to the first communication network 1 Therefore, it is possible to control to discard the currently transmitted data and transmit the next data. It is.

このため、ゲートウェイ装置3Bに受信されるデータのデータ属性が示す受信周期に相当する周期を、当該データをゲートウェイ装置3Bから送信すべき限界の時限とみなして、当該受信周期に相当する時間を、データ破棄時間として、送信データ破棄処理部317,327にそれぞれ内蔵される送信データ破棄タイマ317a,327aに設定することにし、設定されたデータ破棄時間に到達した場合には、送信動作を中止して、送信待ちデータ一時保存部313に保存し直すことなく、データを破棄し、送信動作を終了させる。   For this reason, the period corresponding to the reception period indicated by the data attribute of the data received by the gateway apparatus 3B is regarded as the limit time limit for transmitting the data from the gateway apparatus 3B, and the time corresponding to the reception period is The data discarding time is set in the transmission data discarding timers 317a and 327a built in the transmission data discarding processing units 317 and 327, respectively. When the set data discarding time is reached, the transmission operation is stopped. The data is discarded without being stored again in the transmission waiting data temporary storage unit 313, and the transmission operation is terminated.

次に、図8のゲートウェイ装置3Bの各ブロックの動作の一例について、第1の送受信制御部31B側を例にして説明するが、第1の実施形態における第1の送受信制御部31や第2の実施形態における第1の送受信制御部31Aの動作と略同様の動作を行っている。第2の送受信制御部32B側の各ブロックの動作についても、送受信する通信ネットワークが第1の送受信制御部31B側と異なるだけであって、各ブロックの動作は全く同様である。以下には、第1の送受信制御部31Bの動作について、周期性を有するデータを送受信する場合を例にとって説明する。   Next, an example of the operation of each block of the gateway device 3B in FIG. 8 will be described by taking the first transmission / reception control unit 31B side as an example. However, the first transmission / reception control unit 31 and the second transmission unit in the first embodiment An operation substantially similar to the operation of the first transmission / reception control unit 31A in the embodiment is performed. The operation of each block on the second transmission / reception control unit 32B side is also the same as that of each block except that the communication network to be transmitted / received is different from that on the first transmission / reception control unit 31B side. Hereinafter, the operation of the first transmission / reception control unit 31B will be described taking as an example the case of transmitting / receiving data having periodicity.

例えば、図1に示す第1の通信ネットワーク1に接続されているノード11から第2の通信ネットワーク2に接続されているノード21に対するデータが、第1の通信ネットワーク1に対して送信されると、第1の通信ネットワーク1は、ゲートウェイ装置3Bに対して、ノード11からのデータを送信する。第1の通信ネットワーク1から送信されてきたノード21宛てのデータは、ゲートウェイ装置3Bの受信処理部311にて受信されて、送信待ちデータ一時保存部313に保存される。   For example, when data from the node 11 connected to the first communication network 1 shown in FIG. 1 to the node 21 connected to the second communication network 2 is transmitted to the first communication network 1. The first communication network 1 transmits data from the node 11 to the gateway device 3B. The data addressed to the node 21 transmitted from the first communication network 1 is received by the reception processing unit 311 of the gateway device 3B and stored in the transmission waiting data temporary storage unit 313.

送信待ちデータ一時保存部313に保存されたデータは、送信優先順位決定処理部314によって送信の優先順位付けがなされる。送信待ちデータ一時保存部313に保存されたデータの送信順番に達すると、送信待ちデータ一時保存部313から送信処理部312Bに最優先のデータがセットされて、データの宛先のノード21が接続されている第2の通信ネットワーク2に対する送信要求を行う。   The data stored in the transmission waiting data temporary storage unit 313 is prioritized for transmission by the transmission priority order determination processing unit 314. When the transmission order of the data stored in the transmission waiting data temporary storage unit 313 is reached, the highest priority data is set from the transmission waiting data temporary storage unit 313 to the transmission processing unit 312B, and the destination node 21 of the data is connected. The transmission request to the second communication network 2 is made.

送信要求を受け取った送信処理部312Bは、第1の実施形態の動作とは異なり、当該データのデータ属性が示す受信周期(送信周期)と一致する時間を、データ破棄時間として送信データ破棄タイマ317aにセットして、データ破棄時限の監視動作を起動した後、送信データを第2の通信ネットワーク2に対して送信開始する。送信処理部312Bは、第2の通信ネットワーク2への送信が完了すると、起動した送信タイマ315をリセットして停止させるが、何らかの原因で、送信タイマ315にセットされた送信中止時間に達するまでに、第2の通信ネットワーク2へのデータ送信を完了することができなかった場合は、送信動作を中止するとともに、送信しようとしていたデータを送信待ちデータ一時保存部313に、再度、保存し直して、送信動作を終了する。   Unlike the operation of the first embodiment, the transmission processing unit 312B that has received the transmission request uses the transmission data discard timer 317a as a data discard time, which is a time that matches the reception cycle (transmission cycle) indicated by the data attribute of the data. Then, after starting the monitoring operation of the data discard time limit, transmission of the transmission data to the second communication network 2 is started. When transmission to the second communication network 2 is completed, the transmission processing unit 312B resets and stops the transmission timer 315 that has been started, but for some reason, until the transmission stop time set in the transmission timer 315 is reached. When the data transmission to the second communication network 2 cannot be completed, the transmission operation is stopped and the data to be transmitted is stored again in the transmission waiting data temporary storage unit 313. The transmission operation is terminated.

一方、最優先のデータとして送信処理部312Bにセットされるデータが、送信データ破棄タイマ317aにセットされていたデータ破棄時間に達しているデータであった場合は、送信動作を中止するとともに、次の周期の送信データを受信する時間に達しているので、当該データを送信待ちデータ一時保存部313に保存することなく、破棄して、送信動作を終了させる。   On the other hand, if the data set in the transmission processing unit 312B as the highest priority data is data that has reached the data discard time set in the transmission data discard timer 317a, the transmission operation is stopped and the next Since the time for receiving transmission data of the period is reached, the data is discarded without being stored in the transmission waiting data temporary storage unit 313, and the transmission operation is terminated.

次に、図8に示したゲートウェイ装置3Bのデータ送信処理について、第1の送受信制御部31B側の動作を例にとって、図9に示すフローチャートを用いてさらに説明する。図9は、本発明の第3の実施形態におけるゲートウェイ装置3Bのデータ送信処理の一例を説明するためのフローチャートであり、ゲートウェイ装置3Bにおける本発明のデータ送受信制御方法の一例を示している。   Next, the data transmission processing of the gateway device 3B shown in FIG. 8 will be further described with reference to the flowchart shown in FIG. 9, taking the operation on the first transmission / reception control unit 31B side as an example. FIG. 9 is a flowchart for explaining an example of the data transmission process of the gateway device 3B in the third embodiment of the present invention, and shows an example of the data transmission / reception control method of the present invention in the gateway device 3B.

図9のフローチャートにおいて、ステップS21からS27までの各ステップは、実施形態1における図4のステップS01からS07までの各ステップと全く同様の処理である。すなわち、まず、送信処理部312は、第2の通信ネットワーク2に対するデータの送信を完了したか否かを判定し(ステップS21)、データ送信が完了していない場合は(ステップS21のNO)、送信タイムアウトが発生したか否かを判定する(ステップS22)。   In the flowchart of FIG. 9, each step from step S21 to S27 is exactly the same process as each step from step S01 to S07 in FIG. That is, first, the transmission processing unit 312 determines whether or not the transmission of data to the second communication network 2 has been completed (step S21). If the data transmission has not been completed (NO in step S21), It is determined whether or not a transmission timeout has occurred (step S22).

送信タイムアウトが発生していない場合は(ステップS22のNO)、処理を終了するが、送信タイムアウトが発生している場合は(ステップS22のYES)、当該送信データの送信を中止して(ステップS23)、送信を中止したデータを、再度、送信待ちデータ一時保存部313に保存する(ステップS24)。   If a transmission timeout has not occurred (NO in step S22), the process ends. If a transmission timeout has occurred (YES in step S22), transmission of the transmission data is stopped (step S23). ), The data whose transmission has been canceled is stored again in the transmission waiting data temporary storage unit 313 (step S24).

一方、データ送信が完了している場合は(ステップS21のYES)、送信タイマ315をリセットして、送信中止時間までの時限監視動作を終了させた後(ステップS25)、第2の通信ネットワーク2に次に送信すべきデータが、送信待ちデータ一時保存部313に保存されているか否かを判定する(ステップS26)。   On the other hand, if the data transmission is completed (YES in step S21), the transmission timer 315 is reset and the time monitoring operation until the transmission stop time is terminated (step S25), and then the second communication network 2 Next, it is determined whether or not the data to be transmitted next is stored in the transmission waiting data temporary storage unit 313 (step S26).

次に送信すべきデータが送信待ちデータ一時保存部313に保存されていない場合は(ステップS26のNO)、処理を終了するが、送信待ちデータ一時保存部313に保存されている場合は(ステップS26のYES)、送信優先順位決定処理部314により、送信待ちデータ一時保存部313に保存されているデータについて、例えば、データ属性を示すID番号に基づく送信の優先順位によるソーティング処理を行う(ステップS27)。   If the data to be transmitted next is not stored in the transmission-waiting data temporary storage unit 313 (NO in step S26), the process ends, but if it is stored in the transmission-waiting data temporary storage unit 313 (step S26). In step S26, the transmission priority determination processing unit 314 performs a sorting process on the data stored in the transmission waiting data temporary storage unit 313 according to the transmission priority based on the ID number indicating the data attribute, for example (step S26). S27).

本実施形態の場合、ソーティング処理によって得られた最優先のデータを、送信処理部312Bに設定する際のステップS28以降の動作が、第1の実施形態に示した図4のステップ08以降の動作と異なる。まず、データ破棄時間を設定済みのデータであるか否かを判定する(ステップS28)。データ破棄時間を設定済みのデータであった場合(ステップS28のYES)、ステップS29へ移行し、データの破棄時間が経過したか否かを判定する(ステップS29)。   In the case of this embodiment, the operation after step S28 when setting the highest priority data obtained by the sorting process in the transmission processing unit 312B is the operation after step 08 of FIG. 4 shown in the first embodiment. And different. First, it is determined whether the data discard time is already set (step S28). If the data discard time has been set (YES in step S28), the process proceeds to step S29, and it is determined whether the data discard time has elapsed (step S29).

データ破棄時間が経過して、タイムアウトしていた場合は(ステップS29のYES)、当該データと同一属性に属する次のデータが受信される時間に達しているので、当該データの送信動作を中止して、当該データを送信待ちデータ一時保存部313に保存し直すことなく、破棄し、送信を完了する(ステップS30)。   If the data discard time has elapsed and timed out (YES in step S29), the time for receiving the next data belonging to the same attribute as that data has been reached, so the data transmission operation is stopped. Then, the data is discarded without being stored in the transmission-waiting data temporary storage unit 313, and the transmission is completed (step S30).

一方、データ破棄時間の時間まで経過していなく、タイムアウトしていなかった場合は(ステップS29のNO)、ステップS32に移行して、第1の実施形態に示した図4のステップ08以降の動作と同様に、送信処理部312Bに当該データをセットして、第2の通信ネットワーク2への送信要求を行うと同時に(ステップS32)、送信タイマ315に、あらかじめ定められている送信中止時間を設定して、タイマを起動し(ステップS33)、しかる後、送信処理を終了する。   On the other hand, if the data discard time has not elapsed and the timeout has not occurred (NO in step S29), the process proceeds to step S32, and the operations after step 08 in FIG. 4 shown in the first embodiment are performed. In the same manner as described above, the data is set in the transmission processing unit 312B and a transmission request to the second communication network 2 is made (step S32). At the same time, a predetermined transmission suspension time is set in the transmission timer 315. Then, a timer is started (step S33), and then the transmission process is terminated.

また、ステップS28において、データ破棄時間を設定済みのデータではなかった場合(ステップS28のNO)、ステップS31に移行して、当該データと同一データ属性を有する次のデータが受信されるまでの時間間隔、例えば、周期性を有するデータの場合は、当該データのデータ属性により与えられる第1の通信ネットワーク1からの受信周期(すなわち、第1の通信ネットワーク1からゲートウェイ装置3Bに対する送信周期、言い換えれば、ゲートウェイ装置3Bから第2の通信ネットワーク2に対して送信すべき送信周期)を、当該データを破棄するデータ破棄時間として、送信データ破棄タイマ317aに設定する(ステップS31)。しかる後、ステップS32に移行して、第1の実施形態に示した図4のステップ08以降の動作と同様に、送信処理部312Bに当該データをセットして、第2の通信ネットワーク2への送信要求を行うと同時に(ステップS32)、送信タイマ315に、あらかじめ定められている送信中止時間を設定して、タイマを起動し(ステップS33)、しかる後、送信処理を終了する。   If the data discard time is not already set in step S28 (NO in step S28), the process proceeds to step S31, and the time until the next data having the same data attribute as the data is received. In the case of data having an interval, for example, periodicity, the reception cycle from the first communication network 1 given by the data attribute of the data (that is, the transmission cycle from the first communication network 1 to the gateway device 3B, in other words, The transmission period to be transmitted from the gateway device 3B to the second communication network 2 is set in the transmission data discard timer 317a as the data discard time for discarding the data (step S31). Thereafter, the process proceeds to step S32, and the data is set in the transmission processing unit 312B in the same manner as the operation after step 08 of FIG. 4 shown in the first embodiment, and the data is transferred to the second communication network 2. Simultaneously with the transmission request (step S32), a predetermined transmission suspension time is set in the transmission timer 315, the timer is started (step S33), and then the transmission process is terminated.

なお、図8、図9に示す実施例においては、送信データ破棄処理部317、送信データ破棄タイマ317aを、送信処理部312B内に備えている場合を示したが、本実施形態は、かかる場合のみに限るものではなく、例えば、第1の送受信制御部31Aや第2の送受信制御部32A内における独立の回路ブロックとして配置しても良い。かかる配置の場合、ステップS31のように、データを送信しようとするタイミングで送信データ破棄タイマ317a,327aにデータ破棄時間を設定するのではなく、新たなデータを受信して、送信待ちデータ一時保存部313,323に保存する際に、送信データ破棄タイマ317a,327aにデータ破棄時間を設定して、送信データ破棄処理部317,327によって、当該データを保存してからデータ破棄時間まで経過したか否かを監視するようにしても良い。   8 and 9, the transmission data discard processing unit 317 and the transmission data discard timer 317a are provided in the transmission processing unit 312B. However, in the present embodiment, this is the case. For example, it may be arranged as an independent circuit block in the first transmission / reception control unit 31A or the second transmission / reception control unit 32A. In such an arrangement, as in step S31, instead of setting the data discard time in the transmission data discard timers 317a and 327a at the timing of transmitting data, new data is received and the transmission-waiting data is temporarily stored. Whether the data discarding time is set in the transmission data discard timers 317a and 327a when the data is stored in the units 313 and 323, and the data discarding unit 317 or 327 stores the data and the data discarding time has elapsed. You may make it monitor whether or not.

この結果、例えば、送信優先順位が低いデータが長時間に亘って送信待ちデータ一時保存部313,323に保存され続けてしまうことも防止することができる。   As a result, for example, it is possible to prevent data having a low transmission priority from being continuously stored in the transmission-waiting data temporary storage units 313 and 323 for a long time.

以上に説明したように、ゲートウェイ装置3Bでは、送信しようとしている送信データと同一データ属性を有する次のデータが送信されてくる時間に達しても、当該送信データをゲートウェイ装置3Bから第2の通信ネットワーク2に送信することができなかった場合、送信データ破棄処理部317により、送信しようとしている当該送信データを、送信待ちデータ一時保存部313に保存することなく、破棄して、送信動作を終了させるように動作することが可能である。   As described above, even if the gateway apparatus 3B reaches the time when the next data having the same data attribute as the transmission data to be transmitted is transmitted, the gateway apparatus 3B transmits the transmission data from the gateway apparatus 3B to the second communication. If transmission to the network 2 fails, the transmission data discard processing unit 317 discards the transmission data to be transmitted without storing it in the transmission-waiting data temporary storage unit 313, and ends the transmission operation. It is possible to operate.

さらには、周期性を有するデータ、すなわち、あらかじめ定められた時間間隔で、周期的に送信されてくるような周期送信データに関しても、ゲートウェイ装置3Bから送信しようとしている送信データと同じデータ属性の次の周期送信データが第1の通信ネットワーク1からゲートウェイ装置3Bに送信されてくる時間に達しても、当該送信データをゲートウェイ装置3Bから第2の通信ネットワーク2に送信することができなかった場合、送信データ破棄処理部317により、送信しようとしている当該送信データを、送信待ちデータ一時保存部313に保存することなく、破棄して、送信動作を終了させるように動作することが可能である。   Furthermore, for data having periodicity, that is, periodic transmission data that is periodically transmitted at a predetermined time interval, the next data attribute is the same as the transmission data to be transmitted from the gateway device 3B. When the periodical transmission data reaches the time when the periodic transmission data is transmitted from the first communication network 1 to the gateway device 3B, the transmission data cannot be transmitted from the gateway device 3B to the second communication network 2. The transmission data discarding processing unit 317 can operate to discard the transmission data to be transmitted without storing it in the transmission-waiting data temporary storage unit 313 and terminate the transmission operation.

而して、ゲートウェイ装置3Bでは、第1の実施形態のゲートウェイ装置3や第2の実施形態のゲートウェイ装置3Aにおける効果に加えて、ゲートウェイ装置3B内の送信待ちデータ一時保存部313のデータ保存量の増加を防止可能とするとともに、送信待ちデータ一時保存部313のオーバーフローを防止することができる。   Thus, in the gateway device 3B, in addition to the effects of the gateway device 3 of the first embodiment and the gateway device 3A of the second embodiment, the data storage amount of the transmission waiting data temporary storage unit 313 in the gateway device 3B Can be prevented, and the overflow of the transmission waiting data temporary storage unit 313 can be prevented.

本発明によるゲートウェイ装置を適用するネットワーク構成の一例を示すネットワーク構成図である。It is a network block diagram which shows an example of the network configuration to which the gateway apparatus by this invention is applied. 本発明の第1の実施形態におけるゲートウェイ装置内部のブロック構成の一例を示すブロック構成図である。It is a block block diagram which shows an example of the block structure inside the gateway apparatus in the 1st Embodiment of this invention. 送信待ちデータ一時保存部に入出力されるデータの流れの一例を説明するための説明図である。It is explanatory drawing for demonstrating an example of the flow of the data input / output to the transmission waiting data temporary storage part. 本発明の第1の実施形態におけるゲートウェイ装置のデータ送信処理の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the data transmission process of the gateway apparatus in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるゲートウェイ装置のデータ送信動作の一例を説明するための説明図である。It is explanatory drawing for demonstrating an example of the data transmission operation | movement of the gateway apparatus in the 1st Embodiment of this invention. 本発明の第2の実施形態におけるゲートウェイ装置内部のブロック構成の一例を示すブロック構成図である。It is a block block diagram which shows an example of the block configuration inside the gateway apparatus in the 2nd Embodiment of this invention. 本発明の第2の実施形態に示すゲートウェイ装置の比較処理部における比較動作の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the comparison operation | movement in the comparison process part of the gateway apparatus shown to the 2nd Embodiment of this invention. 本発明の第3の実施形態におけるゲートウェイ装置内部のブロック構成の一例を示すブロック構成図である。It is a block block diagram which shows an example of the block configuration inside a gateway apparatus in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるゲートウェイ装置のデータ送信処理の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the data transmission process of the gateway apparatus in the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

1…第1の通信ネットワーク、2…第2の通信ネットワーク、3,3A,3B…ゲートウェイ装置、11…ノード、21,22…ノード、31,31A,31B…第1の送受信制御部、32,32A,32B…第2の送受信制御部、311…受信処理部、312,312B…送信処理部、313…送信待ちデータ一時保存部、314…送信優先順位決定処理部、315…送信タイマ、316…比較処理部、317…送信データ破棄処理部、317a…送信データ破棄タイマ、321…受信処理部、322,322B…送信処理部、323…送信待ちデータ一時保存部、324…送信優先順位決定処理部、325…送信タイマ、326…比較処理部、327…送信データ破棄処理部、327a…送信データ破棄タイマ。 DESCRIPTION OF SYMBOLS 1 ... 1st communication network, 2 ... 2nd communication network, 3, 3A, 3B ... Gateway apparatus, 11 ... Node, 21, 22 ... Node, 31, 31A, 31B ... 1st transmission / reception control part, 32, 32A, 32B ... second transmission / reception control unit, 311 ... reception processing unit, 312,312B ... transmission processing unit, 313 ... transmission waiting data temporary storage unit, 314 ... transmission priority order determination processing unit, 315 ... transmission timer, 316 ... Comparison processing unit, 317 ... transmission data discard processing unit, 317a ... transmission data discard timer, 321 ... reception processing unit, 322, 322B ... transmission processing unit, 323 ... transmission waiting data temporary storage unit, 324 ... transmission priority order determination processing unit 325 ... Transmission timer, 326 ... Comparison processing unit, 327 ... Transmission data discard processing unit, 327a ... Transmission data discard timer.

Claims (18)

車両内通信ネットワークを構成する複数の通信ネットワーク間を接続し、異なる通信ネットワーク間のデータ転送を仲介するゲートウェイ装置において、一の通信ネットワークから受信して、他の通信ネットワークに送信すべきデータを、送信するまでの間、一時的に保存する送信待ちデータ一時保存手段と、送信するデータの送信開始から送信終了までの許容時限となる送信中止時間の時限監視を行う送信タイマとを備え、前記送信待ちデータ一時保存手段に保存されているデータの送信開始後、前記送信タイマに設定された前記送信中止時間が経過するまでに送信を終了することができなかった場合、送信動作を中止して、当該データを、再度、前記送信待ちデータ一時保存手段に保存し直すことを特徴とするゲートウェイ装置。   In a gateway device that connects between a plurality of communication networks constituting an in-vehicle communication network and mediates data transfer between different communication networks, data to be received from one communication network and transmitted to another communication network, A transmission waiting data temporarily storing means for temporarily storing until transmission, and a transmission timer for performing time monitoring of a transmission stop time which is an allowable time limit from transmission start to transmission end of data to be transmitted. After the transmission of the data stored in the waiting data temporary storage means, if the transmission could not be completed before the transmission suspension time set in the transmission timer elapses, the transmission operation is stopped, The gateway apparatus characterized in that the data is stored again in the transmission-waiting data temporary storage unit. 前記送信待ちデータ一時保存手段に保存されている1ないし複数のデータについて、データを送信する優先順位を決定する送信優先順位決定処理手段をさらに備え、前記送信優先順位決定処理手段は、前記送信待ちデータ一時保存手段に保存し直したデータも含めて、前記送信待ちデータ一時保存手段に保存されているすべてのデータについて送信する優先順位を決定することを特徴とする請求項1に記載のゲートウェイ装置。   Transmission priority determination processing means for determining the priority of data transmission with respect to one or a plurality of data stored in the transmission-waiting data temporary storage means, further comprising: the transmission priority determination processing means 2. The gateway apparatus according to claim 1, wherein a priority order of transmission is determined for all data stored in the transmission-waiting data temporary storage unit, including data re-stored in the data temporary storage unit. . 前記送信優先順位決定処理手段がデータを送信する優先順位を決定する送信優先順位付けとして、前記送信待ちデータ一時保存手段にデータが保存された順番に優先して送信するか、あるいは、データの属性を示すデータ属性ごとに割り付けられているID番号についてあらかじめ定めた順番に優先して送信するか、のいずれかの送信優先順位付けを少なくとも含むことを特徴とする請求項2に記載のゲートウェイ装置。   The transmission priority determination processing means prioritizes transmission in order of data transmission, or prioritizes the order in which data is stored in the transmission-waiting data temporary storage means, or data attributes The gateway apparatus according to claim 2, further comprising at least one of transmission prioritizations in which an ID number assigned for each data attribute indicating is preferentially transmitted in a predetermined order. 前記送信タイマに前記送信中止時間を設定して、データを送信中の状態にある場合に、新たなデータを受信した場合、新たに受信したデータと現在送信中のデータとの送信優先順位の比較結果に応じて、設定されている前記送信中止時間を更新して設定することが可能であることを特徴とする請求項1ないし3のいずれかに記載のゲートウェイ装置。   When the transmission stop time is set in the transmission timer and data is being transmitted, if new data is received, a comparison of the transmission priority between the newly received data and the data currently being transmitted The gateway device according to any one of claims 1 to 3, wherein the set transmission stop time can be updated and set according to a result. 新たに受信したデータと現在送信中のデータとの送信優先順位の比較結果として、新たに受信したデータの送信優先順位が高い場合、設定されている前記送信中止時間を“0”に更新して、送信中のデータの送信動作を中止させる時間を短縮させることを特徴とする請求項4に記載のゲートウェイ装置。   If the transmission priority of newly received data is high as a result of comparison of the transmission priority between the newly received data and the currently transmitted data, the set transmission stop time is updated to “0”. 5. The gateway device according to claim 4, wherein a time for stopping a transmission operation of data being transmitted is shortened. 前記送信待ちデータ一時保存手段に保存されているデータを破棄する送信データ破棄処理手段をさらに備え、データを送信しようとした際に、当該データの送信時間が、あらかじめ定めたデータ破棄時間に到達するまで経過していた場合、前記送信データ破棄処理手段により、当該データを破棄することを特徴とする請求項1ないし5のいずれかに記載のゲートウェイ装置。   It further includes a transmission data discarding processing unit that discards the data stored in the transmission-waiting data temporary storage unit, and when transmitting data, the transmission time of the data reaches a predetermined data discarding time 6. The gateway device according to claim 1, wherein when the data has elapsed, the data is discarded by the transmission data discard processing unit. 前記送信待ちデータ一時保存手段に保存されているデータを破棄する送信データ破棄処理手段をさらに備え、前記送信待ちデータ一時保存手段に保存されているデータの保存時間が、あらかじめ定めたデータ破棄時間に到達するまで経過した場合、前記送信データ破棄処理手段により、前記送信待ちデータ一時保存手段に保存されている当該データを破棄することを特徴とする請求項1ないし5のいずれかに記載のゲートウェイ装置。   A transmission data discarding processing unit for discarding the data stored in the transmission waiting data temporary storage unit is further provided, and the storage time of the data stored in the transmission waiting data temporary storage unit is set to a predetermined data discarding time. 6. The gateway device according to claim 1, wherein when the data has arrived, the transmission data discard processing unit discards the data stored in the transmission waiting data temporary storage unit. . 前記データ破棄時間が、同一データ属性を有する次のデータが受信されるまでの時間間隔と一致する時間であることを特徴とする請求項6または7に記載のゲートウェイ装置。   The gateway device according to claim 6 or 7, wherein the data discard time is a time that coincides with a time interval until the next data having the same data attribute is received. 当該ゲートウェイ装置で転送されるデータが、あらかじめ定めた周期で定期的に受信されて、該周期で送信される周期データであることを特徴とする請求項1ないし8のいずれかに記載のゲートウェイ装置。   9. The gateway device according to claim 1, wherein the data transferred by the gateway device is periodic data periodically received at a predetermined cycle and transmitted at the cycle. . 車両内通信ネットワークを構成する複数の通信ネットワーク間を接続し、異なる通信ネットワーク間のデータ転送を仲介するゲートウェイ装置におけるデータ送受信制御方法において、一の通信ネットワークから受信して、他の通信ネットワークに送信すべきデータを、送信するまでの間、一時的に保存するための送信待ちデータ一時保存手段に保存する一時保存ステップと、送信するデータの送信開始から送信終了までの許容時限となる送信中止時間の時限監視を行う送信タイマを計数するタイマ計数ステップとを有し、前記一時保存ステップにより前記送信待ちデータ一時保存手段に保存されているデータの送信動作の開始後、前記送信タイマに設定された前記送信中止時間が経過するまでに送信を終了することができなかった場合、送信動作を中止して、当該データを、再度、前記送信待ちデータ一時保存手段に保存し直すことを特徴とするデータ送受信制御方法。   In a data transmission / reception control method in a gateway device that connects a plurality of communication networks constituting an in-vehicle communication network and mediates data transfer between different communication networks, the data is received from one communication network and transmitted to another communication network Temporary storage step for temporarily storing data to be transmitted until it is transmitted, and a transmission suspension time that is an allowable time limit from transmission start to transmission end of data to be transmitted A timer counting step that counts a transmission timer that performs the time monitoring, and is set in the transmission timer after the start of the transmission operation of the data stored in the transmission waiting data temporary storage means by the temporary storage step If transmission cannot be completed before the transmission suspension time elapses, And discontinue operation, the data again, the data transmission and reception control method characterized by re-stored in the transmission waiting data temporary storage means. 前記送信待ちデータ一時保存手段に保存されている1ないし複数のデータについて、データを送信する優先順位を決定する送信優先順位決定処理ステップをさらに有し、前記送信優先順位決定処理ステップは、送信動作を中止して、再度、前記送信待ちデータ一時保存手段に保存し直したデータも含めて、保存されているすべてのデータについて送信する優先順位を決定することを特徴とする請求項10に記載のデータ送受信制御方法。   A transmission priority determining step for determining a priority for transmitting data for one or a plurality of data stored in the transmission-waiting data temporary storage unit, wherein the transmission priority determining step includes a transmission operation; 11. The priority order of transmission is determined for all the stored data including the data re-stored in the transmission-waiting data temporary storage means, and the transmission waiting data is temporarily stored. Data transmission / reception control method. 前記送信優先順位決定処理ステップがデータを送信する優先順位を決定する送信優先順位付けとして、前記送信待ちデータ一時保存手段にデータが保存された順番に優先して送信するか、あるいは、データの属性を示すデータ属性ごとに割り付けられているID番号についてあらかじめ定めた順番に優先して送信するか、のいずれかの送信優先順位付けを少なくとも含むことを特徴とする請求項11に記載のデータ送受信制御方法。   In the transmission priority order determination processing step, as a transmission priority order for determining the priority order for transmitting data, the transmission waiting data temporary storage means transmits data in priority in the order in which the data is stored, or the data attribute 12. The data transmission / reception control according to claim 11, further comprising at least one of transmission prioritization of whether or not the ID number assigned for each data attribute indicating is preferentially transmitted in a predetermined order. Method. 前記送信タイマに前記送信中止時間を設定して、データを送信中の状態にある場合に、新たなデータを受信した場合、新たに受信したデータと現在送信中のデータとの送信優先順位の比較結果に応じて、設定されている前記送信中止時間を更新して設定することが可能であることを特徴とする請求項10ないし12のいずれかに記載のデータ送受信制御方法。   When the transmission stop time is set in the transmission timer and data is being transmitted, if new data is received, a comparison of the transmission priority between the newly received data and the data currently being transmitted 13. The data transmission / reception control method according to claim 10, wherein the set transmission stop time can be updated and set according to a result. 新たに受信したデータと現在送信中のデータとの送信優先順位の比較結果として、新たに受信したデータの送信優先順位が高い場合、設定されている前記送信中止時間を“0”に更新して、送信中のデータの送信動作を中止させる時間を短縮させることを特徴とする請求項13に記載のデータ送受信制御方法。   If the transmission priority of newly received data is high as a result of comparison of the transmission priority between the newly received data and the currently transmitted data, the set transmission stop time is updated to “0”. 14. The data transmission / reception control method according to claim 13, wherein the time for stopping the transmission operation of data being transmitted is shortened. 前記送信待ちデータ一時保存手段に保存されているデータを破棄する送信データ破棄処理ステップをさらに有し、データを送信しようとした際に、当該データの送信時間が、あらかじめ定めたデータ破棄時間に到達するまで経過していた場合、前記送信データ破棄処理ステップにより、当該データを破棄することを特徴とする請求項10ないし14のいずれかに記載のデータ送受信制御方法。   A transmission data discard processing step for discarding data stored in the transmission-waiting data temporary storage means, and when the data is to be transmitted, the data transmission time reaches a predetermined data discard time; 15. The data transmission / reception control method according to claim 10, wherein when the data has elapsed, the data is discarded by the transmission data discarding processing step. 前記送信待ちデータ一時保存手段に保存されているデータを破棄する送信データ破棄処理ステップをさらに有し、前記送信待ちデータ一時保存手段に保存されているデータの保存時間が、あらかじめ定めたデータ破棄時間に到達するまで経過した場合、前記送信データ破棄処理ステップにより、前記送信待ちデータ一時保存手段に保存されている当該データを破棄することを特徴とする請求項10ないし14のいずれかに記載のデータ送受信制御方法。   It further includes a transmission data discarding process step for discarding data stored in the transmission waiting data temporary storage means, and the storage time of the data stored in the transmission waiting data temporary storage means is a predetermined data discarding time. 15. The data according to any one of claims 10 to 14, wherein when the data has arrived, the data stored in the transmission-waiting data temporary storage unit is discarded by the transmission data discarding processing step. Transmission / reception control method. 前記データ破棄時間が、同一データ属性を有する次のデータが受信されるまでの時間間隔と一致する時間であることを特徴とする請求項15または16に記載のデータ送受信制御方法。   17. The data transmission / reception control method according to claim 15 or 16, wherein the data discard time is a time that coincides with a time interval until the next data having the same data attribute is received. 当該ゲートウェイ装置で転送されるデータが、あらかじめ定めた周期で定期的に受信されて、該周期で送信される周期データであることを特徴とする請求項10ないし17のいずれかに記載のデータ送受信制御方法。   18. The data transmission / reception according to claim 10, wherein the data transferred by the gateway device is periodic data that is periodically received at a predetermined cycle and transmitted at the cycle. Control method.
JP2005367919A 2005-12-21 2005-12-21 Gateway device and data transmission / reception control method Expired - Fee Related JP4765611B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005367919A JP4765611B2 (en) 2005-12-21 2005-12-21 Gateway device and data transmission / reception control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005367919A JP4765611B2 (en) 2005-12-21 2005-12-21 Gateway device and data transmission / reception control method

Publications (2)

Publication Number Publication Date
JP2007174180A true JP2007174180A (en) 2007-07-05
JP4765611B2 JP4765611B2 (en) 2011-09-07

Family

ID=38300171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005367919A Expired - Fee Related JP4765611B2 (en) 2005-12-21 2005-12-21 Gateway device and data transmission / reception control method

Country Status (1)

Country Link
JP (1) JP4765611B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009027316A (en) * 2007-07-18 2009-02-05 Yokogawa Electric Corp Wireless control system
WO2009123201A1 (en) * 2008-04-02 2009-10-08 株式会社オートネットワーク技術研究所 Vehicle communication system
JP2009274568A (en) * 2008-05-14 2009-11-26 Toyota Motor Corp In-vehicle communication network system and its communication control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344451A (en) * 2001-05-16 2002-11-29 Yaskawa Electric Corp Data communication apparatus
JP2005159769A (en) * 2003-11-26 2005-06-16 Calsonic Kansei Corp Gateway apparatus
JP2005159568A (en) * 2003-11-21 2005-06-16 Calsonic Kansei Corp Gateway apparatus
JP2007036907A (en) * 2005-07-29 2007-02-08 Calsonic Kansei Corp Gateway apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344451A (en) * 2001-05-16 2002-11-29 Yaskawa Electric Corp Data communication apparatus
JP2005159568A (en) * 2003-11-21 2005-06-16 Calsonic Kansei Corp Gateway apparatus
JP2005159769A (en) * 2003-11-26 2005-06-16 Calsonic Kansei Corp Gateway apparatus
JP2007036907A (en) * 2005-07-29 2007-02-08 Calsonic Kansei Corp Gateway apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009027316A (en) * 2007-07-18 2009-02-05 Yokogawa Electric Corp Wireless control system
WO2009123201A1 (en) * 2008-04-02 2009-10-08 株式会社オートネットワーク技術研究所 Vehicle communication system
JPWO2009123201A1 (en) * 2008-04-02 2011-07-28 株式会社オートネットワーク技術研究所 Vehicle communication system
JP5006443B2 (en) * 2008-04-02 2012-08-22 株式会社オートネットワーク技術研究所 Vehicle communication system
US8874813B2 (en) 2008-04-02 2014-10-28 Autonetworks Technologies, Ltd. Vehicle communication system
JP2009274568A (en) * 2008-05-14 2009-11-26 Toyota Motor Corp In-vehicle communication network system and its communication control method

Also Published As

Publication number Publication date
JP4765611B2 (en) 2011-09-07

Similar Documents

Publication Publication Date Title
US11362957B2 (en) Jitter elimination and latency compensation at DetNet transport egress
EP2206265B1 (en) Data acknowledgment apparatus and method
JP5117352B2 (en) Wireless communication apparatus and wireless communication method
US10461886B2 (en) Transport layer identifying failure cause and mitigation for deterministic transport across multiple deterministic data links
US10439940B2 (en) Latency correction between transport layer host and deterministic interface circuit
EP3078174B1 (en) Sctp bundling
US11115343B2 (en) Transport layer providing deterministic transport across multiple deterministic data links
CN102132535A (en) Method for transferring data packets in a communication network and switching device
JP6265058B2 (en) Network transmission system, its master node, slave node
US7535896B2 (en) Routing control system, routing control device, and routing control method
JP2004080139A (en) Method for controlling sequence of packet in multi-link communication system
JP2009260594A (en) Data communication method
JP4765611B2 (en) Gateway device and data transmission / reception control method
JP2015188140A (en) Node device, gateway device, sensor network system and data transfer method
JP4900477B2 (en) Mobile communication system, network device, and packet order control method
JP5524889B2 (en) MONITORING SYSTEM, NETWORK DEVICE, AND COMMUNICATION CONTROL METHOD
JP4630231B2 (en) Packet processing system, packet processing method, and program
JP2018082354A (en) Communication terminal and communication system
JP6498257B2 (en) COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM
JP5182269B2 (en) Network system
JP4390812B2 (en) Route control system, route control device, and route control method
JP2004260562A (en) Method and device for transmitting and receiving packet
US10757038B2 (en) Reservation-based switching devices
JP2010141769A (en) Communication equipment
JP2004235883A (en) Handover method, radio communication system, and base station

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081028

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20101018

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20101028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110427

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110530

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140624

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees