[go: up one dir, main page]

JP5267199B2 - Relay system and relay method - Google Patents

Relay system and relay method Download PDF

Info

Publication number
JP5267199B2
JP5267199B2 JP2009038902A JP2009038902A JP5267199B2 JP 5267199 B2 JP5267199 B2 JP 5267199B2 JP 2009038902 A JP2009038902 A JP 2009038902A JP 2009038902 A JP2009038902 A JP 2009038902A JP 5267199 B2 JP5267199 B2 JP 5267199B2
Authority
JP
Japan
Prior art keywords
relay
information
communication line
relay device
frame
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.)
Expired - Fee Related
Application number
JP2009038902A
Other languages
Japanese (ja)
Other versions
JP2010199662A (en
Inventor
信之 中川
博哉 安藤
健吾 林崎
典男 安部
雄介 佐藤
克友 笹倉
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2009038902A priority Critical patent/JP5267199B2/en
Publication of JP2010199662A publication Critical patent/JP2010199662A/en
Application granted granted Critical
Publication of JP5267199B2 publication Critical patent/JP5267199B2/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 prevent the same data from being doubly relayed over a network of a relay destination. <P>SOLUTION: A second relay device determines that an abnormality occurs on a first relay device of at least either a first communication line or a second communication line, and relaying becomes impossible, and then starts substitutive relaying to relay the relay information of the first relay device. Upon receiving relay information from a second communication line of the relay destination after starting the substitutive relaying, the second relay device determines that the first relay device has been restored and is relaying the relay information, and stops the substitutive relaying. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、中継システムに関し、より特定的には、一方の通信線から他方の通信線へデータを中継する中継システムに関する。   The present invention relates to a relay system, and more particularly to a relay system that relays data from one communication line to another communication line.

近年、自動車などの移動体は、エンジンECU(Electric Control Unit)、ボデーECU、及びスマートエントリーシステムECUなど、1つの通信線を介して互いにデータを送受信する複数のECUで構成されるネットワークを複数備えている。そして、移動体の中でネットワークを構成するECUの中には、一方のネットワークから他方のネットワークへデータを中継する中継装置も含まれる。このように構成されるネットワークでは、通信線の断線などによる伝送経路の遮断や中継装置の故障などの異常が生じると、当該ネットワークを流れるデータの内、予め定められた重要データをECUで受信できなくなり、データ通信を正常にできなくなる場合がある。そして、伝送経路の遮断や中継装置の故障などの異常が生じることによって、データ通信を正常にできなくなることを防ぐための技術の一例として、特許文献1に記載の車両用通信システム(以下、従来技術と称する)が挙げられる。   2. Description of the Related Art In recent years, a moving body such as an automobile includes a plurality of networks including a plurality of ECUs that transmit and receive data to and from each other via one communication line, such as an engine ECU (Electric Control Unit), a body ECU, and a smart entry system ECU. ing. In addition, a relay device that relays data from one network to the other network is also included in the ECU constituting the network in the mobile body. In such a network, when an abnormality such as a transmission path interruption or a failure of a relay device occurs due to a disconnection of a communication line, predetermined important data can be received by the ECU among data flowing through the network. In some cases, data communication cannot be performed normally. And as an example of a technique for preventing data communication from becoming impossible due to abnormalities such as interruption of a transmission path or failure of a relay device, a communication system for vehicles described in Patent Document 1 (hereinafter, conventionally, Technology).

従来技術は、全てのネットワークに接続され、それぞれのネットワークを流れるデータの中継、及び監視をする中継装置としてマネージャECUを備えている。また、従来技術は、全てのネットワーク、又は2つのネットワークを中継する中継装置も備えている。従来技術における全ての中継装置は、ネットワークに接続されたECUがそれぞれのネットワークに送信するデータの伝送経路を示すゲートウェイデータリストを記憶している。従来技術における中継装置は、受信したデータの中継先のネットワークを、それぞれ記憶しているゲートウェイデータリストに基づいて判断して、受信したデータを中継する。   The prior art includes a manager ECU as a relay device that is connected to all networks and relays and monitors data flowing through each network. The prior art also includes a relay device that relays all networks or two networks. All relay apparatuses in the prior art store a gateway data list indicating transmission paths of data transmitted from the ECU connected to the network to each network. The relay device in the prior art determines the relay destination network of the received data based on the stored gateway data list, and relays the received data.

従来技術におけるマネージャECUは、それぞれのネットワークに接続されたECUが送信するデータの内、予め定められた重要データの伝送経路を示すルーティングテーブルを記憶している。従来技術では、マネージャECUで、それぞれのネットワークに流れるデータを監視した結果に基づき、重要データを伝送する伝送経路の遮断や、重要データを中継する中継装置の故障などのネットワークに生じた異常を検出する。マネージャECUは伝送経路の遮断を検出すると、検出した遮断箇所を特定し、特定した遮断箇所を通過するようにルーティングテーブルで設定されている重要データの迂回経路を演算する。マネージャECUは、演算した迂回経路を重要データが通過するように、ルーティングテーブル、及びそれぞれの中継装置のゲートウェイデータリストを更新する。   The manager ECU in the prior art stores a routing table indicating a predetermined important data transmission path among data transmitted by ECUs connected to respective networks. In the conventional technology, the manager ECU detects abnormalities that occur in the network, such as interruption of the transmission path for transmitting important data or failure of a relay device that relays important data, based on the result of monitoring the data flowing in each network. To do. When the manager ECU detects the blocking of the transmission path, the manager ECU identifies the detected blocking point and calculates a bypass path of important data set in the routing table so as to pass the specified blocking point. The manager ECU updates the routing table and the gateway data list of each relay device so that the important data passes through the calculated detour route.

特開2004−64626号公報JP 2004-64626 A

しかしながら、上記従来技術では、以下に示すような課題を有する。すなわち、上記従来技術において生じる異常には、マネージャECUと、重要データを中継するそれぞれの中継装置とを接続するいずれかの通信線の断線、或いは当該中継装置のいずれかの故障などの異常がある。このような異常が生じると、マネージャECUは、断線していない通信線に接続されている中継装置、或いは異常の生じていない中継装置のゲートウェイデータリストを更新することができるが、断線した通信線に接続されている中継装置、或いは故障の生じている中継装置の中には、マネージャECUがゲートウェイデータリストを更新できない中継装置が存在する場合がある。   However, the above prior art has the following problems. That is, the abnormality that occurs in the above-described prior art includes an abnormality such as a disconnection of any communication line connecting the manager ECU and each relay device that relays important data, or a failure of any of the relay devices. . When such an abnormality occurs, the manager ECU can update the gateway data list of the relay device connected to the communication line that is not disconnected, or the relay device that is not abnormal, but the disconnected communication line In some relay devices connected to the relay device or in which a failure has occurred, there is a relay device in which the manager ECU cannot update the gateway data list.

ゲートウェイデータリストが更新されていない中継装置が存在する場合に、既に生じた異常が一時的に生じた異常であり、一時的に生じた異常が解消されると、ゲートウェイデータリストが更新されていない中継装置と、更新された中継装置とが、互いに同じ重要データを同じ中継先のネットワークに中継してしまい、中継先のネットワークにおいて同じデータが重複してしまう。   When there is a relay device for which the gateway data list has not been updated, the abnormality that has already occurred is an abnormality that has temporarily occurred. When the abnormality that has temporarily occurred is resolved, the gateway data list has not been updated. The relay device and the updated relay device relay the same important data to the same relay destination network, and the same data is duplicated in the relay destination network.

それ故に、本発明は、中継先のネットワークにおいて同じデータが中継されて重複することを防げる中継システムを提供することを目的とする。   Therefore, an object of the present invention is to provide a relay system that can prevent the same data from being relayed and duplicated in a relay destination network.

本発明は、上記目的を達成するために以下に述べるような特徴を有する。
第1の発明は、第1の通信線に流れる通信情報を第2の通信線に中継する中継システムであって、第1の通信線から受信する通信情報の中で予め定められた種別の通信情報を中継情報として第2の通信線に送信して中継する第1の中継装置と、第1の中継装置の代わりに中継情報を中継する代替中継をしているときにおいて、第1の中継装置から送信される予め定められた送信情報を少なくとも第2の通信線から受信したとき、代替中継を停止する第2の中継装置とを備える。
The present invention has the following features in order to achieve the above object.
1st invention is a relay system which relays the communication information which flows into a 1st communication line to a 2nd communication line, Comprising: Communication of a predetermined type in the communication information received from a 1st communication line When the first relay device that transmits information to the second communication line as the relay information and relays, and the alternative relay that relays the relay information instead of the first relay device, the first relay device And a second relay device that stops the alternative relay when at least the predetermined transmission information transmitted from is received from the second communication line.

第2の発明は、上記第1の発明に従属する発明であって、第2の中継装置は、代替中継をしているときにおいて、送信情報として中継情報を第2の通信線から受信したとき、代替中継を停止する停止手段とを含む。   The second invention is an invention subordinate to the first invention, wherein the second relay device receives the relay information from the second communication line as transmission information when performing the alternative relay. And stopping means for stopping the alternative relay.

第3の発明は、上記第1の発明に従属する発明であって、第2の中継装置は、送信情報を少なくとも第2の通信線から受信できないとき、代替中継を開始する。   A third invention is an invention subordinate to the first invention, and the second relay device starts alternative relay when transmission information cannot be received at least from the second communication line.

第4の発明は、上記第3の発明に従属する発明であって、第1の中継装置は、第1の中継装置が動作しているとき、送信情報を第1の通信線、及び第2の通信線の少なくともいずれか一方に送信する送信情報送信手段と、第1の中継装置に対して中継を許可する許可情報を受信したとき、通信情報の中継を再開する中継再開手段とを含み、第2の中継装置は、代替中継をしているときに、第1の通信線、及び第2の通信線の少なくともいずれか一方から送信情報を受信したとき、許可情報を第1の通信線、及び第2の通信線の少なくともいずれか一方に送信する許可情報送信手段と、代替中継をしているときに、第1の通信線、及び第2の通信線の少なくともいずれか一方から送信情報を受信したとき、代替中継を停止する停止手段とを含む。   A fourth invention is an invention dependent on the third invention, wherein the first relay device transmits transmission information to the first communication line and the second when the first relay device is operating. Transmission information transmitting means for transmitting to at least one of the communication lines, and relay resuming means for resuming relay of communication information when permission information permitting relay to the first relay device is received, When the second relay device receives the transmission information from at least one of the first communication line and the second communication line while performing the alternative relay, the permission information is transmitted to the first communication line, And the permission information transmitting means for transmitting to at least one of the second communication line and the transmission information from at least one of the first communication line and the second communication line when performing alternate relaying And stop means for stopping the alternative relay when received

第5の発明は、上記第4の発明に従属する発明であって、送信情報送信手段は、第2の中継装置によって代替中継が開始された後、中継情報を第2の通信線から受信したとき、第1の中継装置が復帰したことを示す復帰情報を送信情報として、第1の通信線、及び第2の通信線の少なくともいずれか一方に送信する。   The fifth invention is an invention dependent on the fourth invention, wherein the transmission information transmitting means receives the relay information from the second communication line after the alternative relay is started by the second relay device. At this time, return information indicating that the first relay device has returned is transmitted as transmission information to at least one of the first communication line and the second communication line.

第6の発明は、上記第4の発明に従属する発明であって、送信情報送信手段は、第1の中継装置が動作している期間を通じて、当該第1の中継装置が動作していることを示す動作情報を送信情報として第1の通信線、及び第2の通信線にそれぞれ送信し、許可情報送信手段は、代替中継をしているときに、第1の通信線、及び第2の通信線からそれぞれ動作情報を受信したとき、許可情報を送信し、停止手段は、代替中継をしているときに、第1の通信線、及び第2の通信線からそれぞれ動作情報を受信したとき、代替中継を停止する。   The sixth invention is an invention subordinate to the fourth invention, wherein the transmission information transmitting means is such that the first relay device is operating during a period during which the first relay device is operating. The transmission information is transmitted as transmission information to the first communication line and the second communication line, respectively, and the permission information transmitting means performs the first communication line and the second communication line when performing the alternate relay. When the operation information is received from each communication line, permission information is transmitted, and when the stop means receives the operation information from each of the first communication line and the second communication line when performing the alternate relay. , Stop alternate relay.

第7の発明は、上記第1の発明に従属する発明であって、第2の中継装置は、第1の通信線、及び第2の通信線からそれぞれ予め定められた互いに同じ種別の同一情報を受信できないとき、代替中継を開始する。   A seventh invention is an invention subordinate to the first invention, wherein the second relay device is configured to receive the same information of the same type determined in advance from the first communication line and the second communication line, respectively. When it cannot receive, alternate relay is started.

第8の発明は、第1の通信線に流れる通信情報を第2の通信線に中継する中継システムにおいて用いられる中継方法であって、第1の通信線から受信する通信情報の中で予め定められた種別の通信情報を中継情報として第1の中継装置で第2の通信線に送信して中継する中継ステップと、第1の中継装置の代わりに中継情報を第2の中継装置によって中継する代替中継をしているときにおいて、第1の中継装置から送信される予め定められた情報を少なくとも第2の通信線から受信したとき、第2の中継装置による代替中継を停止する停止ステップとを備える。   An eighth invention is a relay method used in a relay system that relays communication information flowing in a first communication line to a second communication line, and is predetermined in communication information received from the first communication line. A relay step in which the first type of communication information is relayed to the second communication line by the first relay device as relay information, and relay information is relayed by the second relay device instead of the first relay device. A stop step of stopping the alternative relay by the second relay device when receiving the predetermined information transmitted from the first relay device from at least the second communication line when performing the alternative relay; Prepare.

上記第1の発明によれば、第1の中継装置の代わりに代替中継をしている第2の中継装置が、第1の中継装置によって第2の通信線に送信された送信情報を少なくとも第2の通信線から受信したときに、代替中継を停止するので、第2の通信線、すなわち、中継先のネットワークにおいて、第1の中継装置、及び第2の中継装置のそれぞれによって同一の通信情報が中継されて重複するのを防げる。   According to the first aspect of the invention, the second relay device that performs an alternative relay instead of the first relay device receives at least the transmission information transmitted to the second communication line by the first relay device. Since the alternative relay is stopped when received from the second communication line, the same communication information is used by each of the first relay device and the second relay device in the second communication line, that is, the relay destination network. Can be prevented from being duplicated.

上記第2の発明によれば、第2の中継装置は、第1の通信線に流れる通信情報の中から第1の中継装置で中継するように予め定められた中継情報を、少なくとも第2の通信線から受信したとき、代替中継を停止できる。   According to the second invention, the second relay device receives at least the second relay information predetermined to be relayed by the first relay device from the communication information flowing through the first communication line. When receiving from the communication line, the alternative relay can be stopped.

上記第3の発明によれば、第1の中継装置から第2の通信線に送信される送信情報を第2の通信線から受信できないとき、すなわち、第1の中継装置で異常が生じているときに、第2の中継装置で代替中継を開始した後、異常が生じた第1の中継装置の代わりに開始した代替中継を停止できる。   According to the third aspect, when transmission information transmitted from the first relay device to the second communication line cannot be received from the second communication line, that is, an abnormality has occurred in the first relay device. Sometimes, after the alternative relay is started by the second relay device, the alternative relay started in place of the first relay device in which an abnormality has occurred can be stopped.

上記第4の発明によれば、第1の中継装置が動作しているときには、確実に代替中継を停止できる。   According to the fourth aspect, when the first relay device is operating, the alternative relay can be reliably stopped.

上記第5の発明によれば、第1の中継装置が、第2の中継装置によって代替中継が開始された後、中継情報を第2の通信線から受信したとき、すなわち、第1の中継装置に異常が生じた後に復帰して第2の通信線から中継情報を中継できるようになったとき、第1の中継装置が復帰したことを示す復帰情報を第2の中継装置に送信するので、第2の中継装置は第1の中継装置が復帰したことを確実に判断できる。   According to the fifth aspect, when the first relay device receives the relay information from the second communication line after the second relay device starts the alternative relay, that is, the first relay device. When the relay information can be relayed from the second communication line after the abnormality occurs, the return information indicating that the first relay device has returned is transmitted to the second relay device. The second relay device can reliably determine that the first relay device has returned.

上記第6の発明によれば、第1の中継装置が動作しているときは、第2の中継装置による代替中継を確実に停止できる。   According to the sixth aspect, when the first relay device is operating, the alternative relay by the second relay device can be reliably stopped.

上記第7の発明によれば、第1の通信線と第2の通信線とから予め定められた互いに同じ種類の通信情報を受信できないときに、第1の中継装置に異常が生じたと判断して、代替中継を開始できる。   According to the seventh aspect, when it is not possible to receive predetermined communication information of the same type from the first communication line and the second communication line, it is determined that an abnormality has occurred in the first relay device. Alternative relay can be started.

また、本発明に係る中継方法によれば、上述した中継システムと同様の効果を得ることができる。   Further, according to the relay method according to the present invention, the same effect as that of the relay system described above can be obtained.

第1の実施形態に係る中継システムの概略構成を示すブロック図1 is a block diagram showing a schematic configuration of a relay system according to a first embodiment 第1の実施形態における通信情報のフレームを示す図The figure which shows the frame of the communication information in 1st Embodiment 第1の実施形態における特定情報のフレームを示す図The figure which shows the flame | frame of the specific information in 1st Embodiment 第1の実施形態に係る第2の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 2nd relay apparatus which concerns on 1st Embodiment. 第1の実施形態の変形例に係る中継システムの概略構成を示すブロック図The block diagram which shows schematic structure of the relay system which concerns on the modification of 1st Embodiment. 第1の実施形態の変形例に係る第1の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 1st relay apparatus which concerns on the modification of 1st Embodiment. 第1の実施形態の変形例における動作情報のフレームを示す図The figure which shows the flame | frame of the operation information in the modification of 1st Embodiment. 第1の実施形態の変形例に係る第2の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 2nd relay apparatus which concerns on the modification of 1st Embodiment. 第2の実施形態に係る中継システムの概略構成を示すブロック図The block diagram which shows schematic structure of the relay system which concerns on 2nd Embodiment. 第2の実施形態における通信情報のフレームを示す図The figure which shows the frame of the communication information in 2nd Embodiment 第2の実施形態における中継情報のフレームを示す図The figure which shows the frame of the relay information in 2nd Embodiment 第2の実施形態に係る第2の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 2nd relay apparatus which concerns on 2nd Embodiment. 第2の実施形態の変形例に係る中継システムの概略構成を示すブロック図The block diagram which shows schematic structure of the relay system which concerns on the modification of 2nd Embodiment. 第2の実施形態の変形例に係る第1の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 1st relay apparatus which concerns on the modification of 2nd Embodiment. 第2の実施形態の変形例に係る第2の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 2nd relay apparatus which concerns on the modification of 2nd Embodiment. 第3の実施形態に係る中継システムの概略構成を示すブロック図The block diagram which shows schematic structure of the relay system which concerns on 3rd Embodiment. 第3の実施形態に係る第2の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 2nd relay apparatus which concerns on 3rd Embodiment. 第4の実施形態に係る中継システムの概略構成を示すブロック図The block diagram which shows schematic structure of the relay system which concerns on 4th Embodiment 第4の実施形態に係る第2の中継装置の処理を示すフローチャートThe flowchart which shows the process of the 2nd relay apparatus which concerns on 4th Embodiment. 第5の実施形態に係る中継システムの概略構成を示すブロック図The block diagram which shows schematic structure of the relay system which concerns on 5th Embodiment 第5の実施形態に係る第1の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 1st relay apparatus which concerns on 5th Embodiment. 第5の実施形態に係る第2の中継装置のより詳細な構成を示すブロック図The block diagram which shows the more detailed structure of the 2nd relay apparatus which concerns on 5th Embodiment. 第5の実施形態に係る第1の中継装置の処理を示すフローチャートThe flowchart which shows the process of the 1st relay apparatus which concerns on 5th Embodiment. 第5の実施形態に係る第2の中継装置の処理を示すフローチャートThe flowchart which shows the process of the 2nd relay apparatus which concerns on 5th Embodiment.

(第1の実施形態)
図1は、本発明の第1の実施形態に係る中継システム1の概略構成を示すブロック図である。本実施形態に係る中継システム1は、第1の端末10と、第1の中継装置20と、第2の中継装置30と、第2の端末40とを備える。
(First embodiment)
FIG. 1 is a block diagram showing a schematic configuration of a relay system 1 according to the first embodiment of the present invention. The relay system 1 according to the present embodiment includes a first terminal 10, a first relay device 20, a second relay device 30, and a second terminal 40.

第1の端末10は、第1の通信線Aに接続されており、中継システム1で中継する通信情報Tjのフレームf1を第1の通信線Aを介して接続されている第1の中継装置20、及び第2の中継装置30にそれぞれ送信する。このとき、第1の端末10から送信されるフレームf1の送信先は第2の端末40であるものとする。また、第1の端末10は、中継システム1で中継する通信情報Tjの内、予め定められた種類の通信情報Tjのフレームf1を特定情報Ttのフレームf1として第1の通信線Aを介して接続されている第1の中継装置20、及び第2の中継装置30にそれぞれ送信する。本実施形態では特定情報Ttの送信先も通信情報Tjと同じ第2の端末40であるものとする。尚、第1の端末10が第1の通信線Aを介して通信情報Tj、又は特定情報Ttのフレームf1を送信する対象は、第1の中継装置20、及び第2の中継装置30に限られなくてもよい。   The first terminal 10 is connected to the first communication line A, and the first relay device is connected to the frame f1 of the communication information Tj relayed by the relay system 1 via the first communication line A. 20 and the second relay device 30 respectively. At this time, it is assumed that the transmission destination of the frame f1 transmitted from the first terminal 10 is the second terminal 40. Further, the first terminal 10 uses the first communication line A as the frame f1 of the specific information Tt as the frame f1 of the specific information Tt among the communication information Tj relayed by the relay system 1. It transmits to the connected first relay device 20 and second relay device 30 respectively. In the present embodiment, it is assumed that the transmission destination of the specific information Tt is the same second terminal 40 as the communication information Tj. Note that the first terminal 10 transmits the communication information Tj or the frame f1 of the specific information Tt via the first communication line A to the first relay device 20 and the second relay device 30 only. It does not have to be done.

尚、図1には、中継システム1の構成の一例として、第1の通信線Aに第1の端末10を1つだけ接続している構成を示しているが、他の一実施形態では、第1の通信線Aに接続される端末が複数であってもよい。また、第1の通信線Aに複数の端末が接続されている中継システム1の他の一実施形態において、それぞれの端末に互いに異なる通信情報Tjを特定情報Ttとして予め定めておいてもよい。これは、後述する第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例についてもそれぞれ同様である。   FIG. 1 shows a configuration in which only one first terminal 10 is connected to the first communication line A as an example of the configuration of the relay system 1, but in another embodiment, There may be a plurality of terminals connected to the first communication line A. Further, in another embodiment of the relay system 1 in which a plurality of terminals are connected to the first communication line A, different communication information Tj may be predetermined as specific information Tt for each terminal. The same applies to first to third embodiments to be described later, and modifications of the first embodiment to modifications of the second embodiment.

図2Aは、本実施形態に係る第1の端末10によって第1の通信線Aを介して送信される通信情報Tjのフレームf1の一例を示す図である。また、図2Bは、本実施形態に係る第1の端末10によって第1の通信線Aを介して送信される特定情報Ttのフレームf1の一例を示す図である。図2A、及び図2Bに示すように本実施形態に係る第1の端末10は、一例として、複数のパケットからなるフレームを通信情報Tj、或いは特定情報Ttとして送信する。   FIG. 2A is a diagram illustrating an example of a frame f1 of communication information Tj transmitted via the first communication line A by the first terminal 10 according to the present embodiment. FIG. 2B is a diagram illustrating an example of the frame f1 of the specific information Tt transmitted via the first communication line A by the first terminal 10 according to the present embodiment. As shown in FIGS. 2A and 2B, the first terminal 10 according to the present embodiment transmits, as an example, a frame composed of a plurality of packets as communication information Tj or specific information Tt.

図2A、及び図2Bにそれぞれ示すように、本実施形態における通信情報Tj、及び特定情報Ttのフレームf1は、少なくとも、当該フレームf1の送信先を示す送信先パケットP1と、中継情報パケットP2と、送信先に送信する情報を示すデータパケットP3とを含むフレームとして第1の端末10から第1の通信線Aを介して送信される。   As shown in FIGS. 2A and 2B, the communication information Tj and the frame f1 of the specific information Tt in this embodiment include at least a transmission destination packet P1 indicating the transmission destination of the frame f1, and a relay information packet P2. A frame including a data packet P3 indicating information to be transmitted to the transmission destination is transmitted from the first terminal 10 via the first communication line A.

図2Aから明らかなように、本実施形態における通信情報Tjのフレームf1は、後述するように、第1の中継装置20に異常が生じているときに第2の中継装置30に対して当該通信情報Tjの中継を指示しない中継情報(指示無)を示す中継情報パケットP2を含む。一方、図2Bに示すように本実施形態における特定情報Tjは、後述するように、第1の中継装置20に異常が生じているときに第2の中継装置30に対して当該特定情報Ttの中継を指示する中継情報(指示有)を示す中継情報パケットP2を含む。   As is apparent from FIG. 2A, the frame f1 of the communication information Tj in the present embodiment communicates with the second relay device 30 when an abnormality occurs in the first relay device 20, as will be described later. It includes a relay information packet P2 indicating relay information (no instruction) that does not instruct to relay information Tj. On the other hand, as shown in FIG. 2B, the specific information Tj in the present embodiment is, as will be described later, the second relay device 30 with the specific information Tt when an abnormality occurs in the first relay device 20. It includes a relay information packet P2 indicating relay information (instructed) indicating relay.

すなわち、本実施形態における特定情報Ttとは、通信情報Tjとして送信されるフレームf1の内、第1の中継装置20に異常が生じているときに第2の中継装置30に中継を指示する中継情報(指示有)を示す中継情報パケットP2を含むフレームf1のことである。尚、本実施形態に係る第1の端末10は、予め定められた送信先毎に中継を指示する中継情報(指示有)を示す中継情報パケットP2をフレームf1に含ませて特定情報Ttのフレームf1を生成してもよいし、データパケットP3によって示される情報の種別に応じて、中継を指示する中継情報(指示有)を示す中継情報パケットP2をフレームf1に含ませて特定情報Ttのフレームf1を生成してもよい。   In other words, the specific information Tt in the present embodiment is a relay that instructs the second relay device 30 to relay when an abnormality occurs in the first relay device 20 in the frame f1 transmitted as the communication information Tj. This is a frame f1 including a relay information packet P2 indicating information (with instruction). Note that the first terminal 10 according to the present embodiment includes a relay information packet P2 indicating relay information (instructed) for instructing relaying for each predetermined transmission destination in the frame f1, and includes the frame of the specific information Tt. f1 may be generated, or in accordance with the type of information indicated by the data packet P3, a relay information packet P2 indicating relay information (with an instruction) indicating relay is included in the frame f1, and the frame of the specific information Tt f1 may be generated.

第1の中継装置20は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末10から第1の通信線Aを介して通信情報Tj、又は特定情報Ttのフレームf1が送信されたとき、送信された通信情報Tj、又は特定情報Ttのフレームf1を受信する。フレームf1を受信すると第1の中継装置20は、当該フレームf1に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf1の送信先に第2の通信線Bを介して当該フレームf1を送信して中継する。   The first relay device 20 is connected to each of the first communication line A and the second communication line B, and the communication information Tj from the first terminal 10 via the first communication line A or specific When the frame f1 of the information Tt is transmitted, the transmitted communication information Tj or the frame f1 of the specific information Tt is received. When receiving the frame f1, the first relay device 20 refers to the transmission destination indicated by the transmission destination packet P1 included in the frame f1, and transmits the frame f1 to the transmission destination via the second communication line B. The frame f1 is transmitted and relayed.

第2の中継装置30は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末10から第1の通信線Aを介して通信情報Tj、又は特定情報Ttのフレームf1が送信されたとき、送信された通信情報Tj、又は特定情報Ttのフレームf1を受信する。第2の中継装置30は、後述するように、第1の中継装置20に異常が生じていると判断したとき、第1の通信線Aを介して第1の端末10から受信する通常情報Tj、及び特定情報Ttのフレームf1の内、特定情報Ttのフレームf1を当該フレームf1に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf1の送信先に第2の通信線Bを介して送信して中継する。   The second relay device 30 is connected to each of the first communication line A and the second communication line B, and the communication information Tj from the first terminal 10 via the first communication line A or specific When the frame f1 of the information Tt is transmitted, the transmitted communication information Tj or the frame f1 of the specific information Tt is received. As described later, the second relay device 30 receives normal information Tj received from the first terminal 10 via the first communication line A when it is determined that an abnormality has occurred in the first relay device 20. , And the frame f1 of the specific information Tt, the frame f1 of the specific information Tt is referred to the transmission destination indicated by the transmission destination packet P1 included in the frame f1, and the second communication line is connected to the transmission destination of the frame f1. Send via B and relay.

第2の端末40は、第2の通信線Bに接続されており、第1の中継装置20によって当該第2の端末40を送信先とする通信情報Tj、又は特定情報Ttのフレームf1が第2の通信線Bを介して送信されたとき、送信された通信情報Tj、又は特定情報Ttのフレームf1を受信する。また、第2の端末40は、第2の中継装置30によって第1の中継装置20に異常が生じていると判断され、特定情報Ttのフレームf1が中継されたとき、第2の中継装置30によって中継された特定情報Ttのフレームf1も受信する。   The second terminal 40 is connected to the second communication line B, and the first relay device 20 transmits the communication information Tj whose destination is the second terminal 40 or the frame f1 of the specific information Tt to the first. When it is transmitted via the second communication line B, the transmitted communication information Tj or the frame f1 of the specific information Tt is received. In addition, when the second relay device 30 determines that the second relay device 30 has an abnormality in the first relay device 20 and the frame f1 of the specific information Tt is relayed, the second relay device 30 The frame f1 of the specific information Tt relayed by is also received.

尚、図1には、中継システム1の構成の一例として、第2の通信線Bに第2の端末40を1つだけ接続している構成を示しているが、他の一実施形態では、第2の通信線Bに接続される端末が複数であってもよい。また、第2の通信線Bに複数の端末が接続されている中継システム1の他の一実施形態において、第1の通信線Aに接続される端末(本実施形態では、第1の端末10)は、第2の通信線Bに接続されている任意の端末を送信先として通信情報Tj、及び特定情報Ttのフレームf1をそれぞれ送信してもよい。これは、後述する第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例についてもそれぞれ同様である。   FIG. 1 shows a configuration in which only one second terminal 40 is connected to the second communication line B as an example of the configuration of the relay system 1, but in another embodiment, There may be a plurality of terminals connected to the second communication line B. In another embodiment of the relay system 1 in which a plurality of terminals are connected to the second communication line B, a terminal connected to the first communication line A (in this embodiment, the first terminal 10). ) May transmit the communication information Tj and the frame f1 of the specific information Tt, respectively, using an arbitrary terminal connected to the second communication line B as a transmission destination. The same applies to first to third embodiments to be described later, and modifications of the first embodiment to modifications of the second embodiment.

以上が、本実施形態に係る中継システム1の概略構成の説明である。次に、本実施形態に係る第2の中継装置30のより詳細な構成について説明する。図3は、本実施形態に係る第2の中継装置30のより詳細な構成を示すブロック図である。第2の中継装置30は、受信部301と、異常判断部302と、中継部303とを含む。   The above is the description of the schematic configuration of the relay system 1 according to the present embodiment. Next, a more detailed configuration of the second relay device 30 according to the present embodiment will be described. FIG. 3 is a block diagram showing a more detailed configuration of the second relay device 30 according to the present embodiment. Second relay device 30 includes a reception unit 301, an abnormality determination unit 302, and a relay unit 303.

受信部301は、典型的には、通信線を介して送信される情報を受信するインターフェース回路であって、第1の通信線Aを介して第1の端末10から上述で説明したフレームf1が送信されたとき、送信されたフレームf1を受信する。また、受信部301は、第1の中継装置20によってフレームf1が中継されたとき、中継されたフレームf1を第2の通信線Bを介して受信する。受信部301は、第1の通信線A、又は第2の通信線Bを介してそれぞれフレームf1を受信したとき、受信したフレームf1を、いずれの通信線から受信したかを示す通信線情報Tsを付加して、異常判断部302へ転送する。   The receiving unit 301 is typically an interface circuit that receives information transmitted via a communication line, and the frame f1 described above is transmitted from the first terminal 10 via the first communication line A. When transmitted, the transmitted frame f1 is received. In addition, when the frame f1 is relayed by the first relay device 20, the reception unit 301 receives the relayed frame f1 via the second communication line B. When the reception unit 301 receives the frame f1 via the first communication line A or the second communication line B, the communication line information Ts indicating from which communication line the received frame f1 is received. Is transferred to the abnormality determination unit 302.

異常判断部302は、典型的には、主にCPU(Central Processing Unit)などの集積回路などで構成される演算回路であって、受信部301からフレームf1が転送されたとき、転送されたフレームf1を取得する。異常判断部302は、取得したフレームf1に基づき、後述で説明する手法で、第1の中継装置20に異常が生じているか否かを判断する。異常判断部302は、第1の中継装置20に異常が生じていると判断した後に受信部301から転送されるフレームf1の内、第1の通信線Aを介して受信したことを示す前述の通信線情報Tsが付加された特定情報Ttのフレームf1を中継部303へ転送する。   The abnormality determination unit 302 is typically an arithmetic circuit mainly composed of an integrated circuit such as a CPU (Central Processing Unit). When the frame f1 is transferred from the reception unit 301, the transferred frame Get f1. The abnormality determination unit 302 determines whether an abnormality has occurred in the first relay device 20 based on the acquired frame f1 by a method described later. The abnormality determining unit 302 indicates that the first relay device 20 has received the signal via the first communication line A in the frame f1 transferred from the receiving unit 301 after determining that the abnormality has occurred. The frame f1 of the specific information Tt to which the communication line information Ts is added is transferred to the relay unit 303.

中継部303は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部302によって第1の中継装置20に異常が生じていると判断された後に特定情報Ttのフレームf1が転送されたとき、転送された特定情報Ttのフレームf1を取得する。転送された特定情報Ttのフレームf1を取得すると、中継部303は、取得したフレームf1に付加されている前述の通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf1に含まれる送信先パケットP1によって示される送信先へ当該フレームf1を送信して中継する。   The relay unit 303 is typically an interface circuit that transmits transferred information via a communication line, and after the abnormality determination unit 302 determines that an abnormality has occurred in the first relay device 20. When the frame f1 of the specific information Tt is transferred, the frame f1 of the transferred specific information Tt is acquired. When acquiring the frame f1 of the transferred specific information Tt, the relay unit 303 removes the communication line information Ts added to the acquired frame f1, and then transmits the frame f1 via the second communication line B. The frame f1 is transmitted and relayed to the transmission destination indicated by the transmission destination packet P1 included in.

以上が、本実施形態に係る第2の中継装置30のより詳細な構成の説明である。次に、本実施形態に係る異常判断部302が第1の中継装置20に異常が生じているか否かを判断する手法について説明する。   The above is description of the more detailed structure of the 2nd relay apparatus 30 which concerns on this embodiment. Next, a method for determining whether or not the abnormality determination unit 302 according to the present embodiment has an abnormality in the first relay device 20 will be described.

本実施形態に係る異常判断部302は、受信部301で第1の通信線Aを介して通信情報Tj、又は特定情報Ttのフレームf1を第1の端末10から受信したときに、第1の通信線Aを介して受信したフレームf1と同一のフレームf1を第2の通信線Bを介して受信したか否かを判断する。   When the reception unit 301 receives the communication information Tj or the frame f1 of the specific information Tt from the first terminal 10 via the first communication line A, the abnormality determination unit 302 according to the present embodiment It is determined whether or not the same frame f1 as the frame f1 received via the communication line A is received via the second communication line B.

より具体的には、異常判断部302は、受信部301によって第1の通信線Aを介して受信したことを示す前述の通信線情報Tsが付加されたフレームf1を受信部301から転送されると共に、当該フレームf1と同一であって、受信部301によって第2の通信線Bを介して受信したことを示す前述の通信線情報Tsが付加されたフレームf1を受信部301から転送されたか否かを判断する。   More specifically, the abnormality determination unit 302 transfers the frame f1 to which the communication line information Ts indicating that the reception unit 301 has received the first communication line A is added from the reception unit 301. In addition, whether or not the frame f1 which is the same as the frame f1 and is added with the communication line information Ts indicating that the reception unit 301 has received it via the second communication line B is transferred from the reception unit 301. Determine whether.

第1の通信線Aを介して第1の端末10から送信されたフレームf1は、第2の中継装置30の受信部301で受信されると共に、第1の中継装置20でも受信される。ここで、第1の中継装置20に故障などの異常が生じていない場合、第1の中継装置20は第1の通信線Aを介して受信したフレームf1を上述で説明したように第2の通信線Bを介して送信して中継できる。一方、第1の中継装置20に異常が生じている場合、第1の中継装置20は第1の通信線Aを介して第1の端末10から送信されたフレームf1を正常に受信できない、或いは受信できたとしても第2の通信線Bを介して送信できない。   The frame f1 transmitted from the first terminal 10 via the first communication line A is received by the receiving unit 301 of the second relay device 30 and also received by the first relay device 20. Here, if no abnormality such as a failure has occurred in the first relay device 20, the first relay device 20 receives the frame f1 received via the first communication line A as described above. It can be transmitted and relayed via the communication line B. On the other hand, if an abnormality has occurred in the first relay device 20, the first relay device 20 cannot normally receive the frame f1 transmitted from the first terminal 10 via the first communication line A, or Even if it can be received, it cannot be transmitted via the second communication line B.

このとき、第2の中継装置30は、受信部301で第1の通信線Aを介して第1の端末10からフレームf1を受信できたとしても、第1の中継装置20によって第2の通信線Bを介して送信されるはずの当該フレームf1と同一のフレームf1を受信部301で受信することができない。   At this time, even if the second relay device 30 can receive the frame f1 from the first terminal 10 via the first communication line A by the receiving unit 301, the second relay device 30 performs the second communication by the first relay device 20. The receiving unit 301 cannot receive the same frame f1 as the frame f1 that should be transmitted via the line B.

したがって、本実施形態に係る異常判断部302は、受信部301で第1の通信線Aを介して第1の端末10からフレームf1を受信すると共に、当該フレームf1と同一のフレームf1を受信部301で第2の通信線Bを介して受信できないときに、第1の中継装置20に異常が生じていると判断できる。   Therefore, the abnormality determination unit 302 according to the present embodiment receives the frame f1 from the first terminal 10 via the first communication line A by the receiving unit 301 and receives the same frame f1 as the frame f1. When the signal cannot be received via the second communication line B at 301, it can be determined that an abnormality has occurred in the first relay device 20.

より具体的には、異常判断部302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から取得すると共に、当該通信情報Tj、又は当該特定情報Ttのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から取得できないときに、第1の中継装置20に異常が生じていると判断できる。   More specifically, the abnormality determination unit 302 receives from the reception unit 301 the communication information Tj to which the communication line information Ts indicating that it has been received via the first communication line A is added, or the frame f1 of the specific information Tt. The communication information Tj that is acquired and is the same as the communication information Tj or the frame f1 of the specific information Tt, and is added with the communication line information Ts indicating that it is received via the second communication line B, or When the frame f1 of the specific information Tt cannot be acquired from the receiving unit 301, it can be determined that an abnormality has occurred in the first relay device 20.

以上が、本実施形態に係る異常判断部302が第1の中継装置20に異常が生じているか否かを判断する手法の説明である。   The above is the description of the method by which the abnormality determination unit 302 according to the present embodiment determines whether an abnormality has occurred in the first relay device 20.

尚、本実施形態に係る異常判断部302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1が受信部301から転送されるのと略同時に、当該通信情報Tj、又は当該特定情報Ttのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1が受信部301から転送されないときに、第1の中継装置20に異常が生じていると判断してもよい。   The abnormality determination unit 302 according to the present embodiment receives the communication information Tj to which the communication line information Ts indicating that it has been received via the first communication line A is added, or the frame f1 of the specific information Tt is the reception unit 301. The communication line information Ts that is the same as the communication information Tj or the frame f1 of the specific information Tt and that is received via the second communication line B is added substantially simultaneously with the transmission from When the frame f1 of the communication information Tj or the specific information Tt is not transferred from the receiving unit 301, it may be determined that an abnormality has occurred in the first relay device 20.

また、他の一実施形態に係る異常判断部302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から転送されてから、予め定められた許容期間以内に、当該通信情報Tj、又は当該特定情報Ttのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から転送されないときに、第1の中継装置20に異常が生じていると判断してもよい。   In addition, the abnormality determination unit 302 according to another embodiment receives the communication information Tj to which the communication line information Ts indicating reception via the first communication line A is added or the frame f1 of the specific information Tt. It is the same as the frame f1 of the communication information Tj or the specific information Tt within the predetermined allowable period after being transferred from the unit 301, and indicates that it has been received via the second communication line B When the communication information Tj to which the communication line information Ts is added or the frame f1 of the specific information Tt is not transferred from the receiving unit 301, it may be determined that an abnormality has occurred in the first relay device 20.

本実施形態に係る中継システム1によれば、異常判断部302が第1の通信線A、及び第2の通信線Bの両方を介して同一の通信情報Tj、又は特定情報Ttをフレームf1として受信できないとき、第1の中継装置20に異常が生じたと判断して、第1の端末10から送信される通信情報Tjのフレームf1の内、第2の中継装置30に中継を指示する中継情報(指示有り)を示す中継情報パケットP2を第2の中継装置30で第1の中継装置20の代わりに代替中継することができる。つまり、本実施形態に係る中継システム1によれば、2本の通信線を介して同一の情報を受信できないときに、第1の中継装置20の代わりに第2の中継装置30で代替中継するため、より簡単な構成で、データ通信を正常にできなくなることを防げるという効果を得られる。   According to the relay system 1 according to the present embodiment, the abnormality determination unit 302 uses the same communication information Tj or specific information Tt as the frame f1 via both the first communication line A and the second communication line B. When reception is not possible, it is determined that an abnormality has occurred in the first relay device 20, and relay information instructing the second relay device 30 to relay within the frame f1 of the communication information Tj transmitted from the first terminal 10 The relay information packet P2 indicating (with instruction) can be relayed instead of the first relay device 20 by the second relay device 30. That is, according to the relay system 1 according to the present embodiment, when the same information cannot be received via two communication lines, the second relay device 30 substitutes for the first relay device 20 instead of the first information. For this reason, it is possible to obtain an effect of preventing data communication from being performed normally with a simpler configuration.

また、本実施形態に係る中継システム1によれば、第2の中継装置30で代替中継を指示するか否かを示す中継情報パケットP2をフレームf1に含めて第1の端末10から第1の通信線Aを介して送信する。そして、第2の中継装置30は、第1の中継装置20に異常が生じていると判断したときに、第1の端末10から送信されたフレームf1の内、中継を指示する中継情報パケットP2を含むフレームf1を特定情報Ttのフレームf1として代替中継する。したがって、本実施形態に係る中継システム1によれば、中継するべき通信情報Tjのフレームf1を第2の中継装置30に予め記憶させなくても、第1の中継装置20に異常が生じたときに、予め定められた特定情報Ttのフレームf1を第2の中継装置30で代替中継できるという効果を得られる。   Also, according to the relay system 1 according to the present embodiment, the first relay terminal 30 includes the relay information packet P2 indicating whether or not the second relay device 30 instructs the alternative relay in the frame f1, and the first terminal 10 Transmit via communication line A. Then, when the second relay device 30 determines that an abnormality has occurred in the first relay device 20, the relay information packet P2 instructing relaying in the frame f1 transmitted from the first terminal 10 The frame f1 including is relayed as a frame f1 of the specific information Tt. Therefore, according to the relay system 1 according to the present embodiment, even when the first relay device 20 is abnormal even if the frame f1 of the communication information Tj to be relayed is not stored in the second relay device 30 in advance. In addition, it is possible to obtain an effect that the second relay device 30 can substitute and relay the frame f1 of the specific information Tt determined in advance.

また、本実施形態に係る中継システム1によれば、第1の中継装置20から当該第1の中継装置20が動作していることを示す情報を生成するための構成を新たに第1の中継装置20に追加することなく、第2の中継装置30で第1の中継装置20に異常が生じていることを判断できるという効果を得られる。   Further, according to the relay system 1 according to the present embodiment, a configuration for newly generating information indicating that the first relay device 20 is operating from the first relay device 20 is newly provided as the first relay. It is possible to obtain an effect that the second relay device 30 can determine that an abnormality has occurred in the first relay device 20 without adding to the device 20.

また、本実施形態に係る中継システム1において、上述で説明したように、許容期間以内に、第1の通信線Aを介して受信した通信情報Tj、又は特定情報Ttのフレームf1と同一のフレームf1が受信部301から転送されないときに第1の中継装置20に異常が生じていると判断するようにすれば、第1の中継装置20によって中継されたフレームf1が第2の中継装置30によって受信されるまでの遅延時間が、通信量の一時的な増大などの原因で増加することを考慮して異常判断部302で第1の中継装置20に異常が生じているか否かを判断できるという効果をさらに得られる。   In the relay system 1 according to the present embodiment, as described above, the same frame as the frame f1 of the communication information Tj or the specific information Tt received via the first communication line A within the allowable period. If it is determined that an abnormality has occurred in the first relay device 20 when f1 is not transferred from the receiving unit 301, the frame f1 relayed by the first relay device 20 is transmitted by the second relay device 30. The abnormality determination unit 302 can determine whether or not an abnormality has occurred in the first relay device 20 in consideration of an increase in delay time until reception due to a temporary increase in the amount of communication. Further effects can be obtained.

(第1の実施形態の変形例)
図4は、本発明の第1の実施形態の変形例に係る中継システム2の概略構成を示すブロック図である。図4に示す中継システム2は、第1の実施形態に係る中継システム1と比較して、第1の中継装置20、及び第2の中継装置30に代えて、それぞれ第1の中継装置50、及び第2の中継装置60を備える点が相違する。したがって、図4に示す第1の実施形態の変形例に係る中継システム2の構成の内、第1の実施形態に係る中継システム1と同一の構成については、同一の参照符号を付し、説明を省略する。
(Modification of the first embodiment)
FIG. 4 is a block diagram showing a schematic configuration of the relay system 2 according to a modification of the first embodiment of the present invention. Compared with the relay system 1 according to the first embodiment, the relay system 2 illustrated in FIG. 4 replaces the first relay device 20 and the second relay device 30 with the first relay device 50, respectively. And the point provided with the 2nd relay apparatus 60 is different. Therefore, among the configurations of the relay system 2 according to the modification of the first embodiment shown in FIG. 4, the same configurations as those of the relay system 1 according to the first embodiment are denoted by the same reference numerals and described. Is omitted.

図5は、第1の中継装置50のより詳細な構成を示すブロック図である。本変形例に係る第1の中継装置50は、中継部501と、動作報告部502とを含む。中継部501は、典型的には、第1の通信線Aを介して受信した情報を第2の通信線Bを介して当該情報の送信先へ送信するインターフェース回路であり、第1の通信線A、及び第2の通信線Bにそれぞれ接続され、第1の端末10から第1の通信線Aを介して通信情報Tj、又は特定情報Ttのフレームf1が送信されたとき、送信されたフレームf1を受信する。フレームf1を受信すると中継部501は、当該フレームf1に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf1の送信先に第2の通信線Bを介して当該フレームf1を送信して中継する。   FIG. 5 is a block diagram showing a more detailed configuration of the first relay device 50. The first relay device 50 according to this modification includes a relay unit 501 and an operation report unit 502. The relay unit 501 is typically an interface circuit that transmits information received via the first communication line A to the transmission destination of the information via the second communication line B. The first communication line A frame that is connected to A and the second communication line B, and is transmitted when the communication information Tj or the frame f1 of the specific information Tt is transmitted from the first terminal 10 via the first communication line A. f1 is received. When receiving the frame f1, the relay unit 501 refers to the transmission destination indicated by the transmission destination packet P1 included in the frame f1, and transmits the frame f1 to the transmission destination of the frame f1 via the second communication line B. Send and relay.

動作報告部502は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の中継装置50が動作している期間を通じて、当該第1の中継装置50が動作をしていることを示す動作情報Djのフレームf2を第1の通信線A、及び第2の通信線Bを介して第2の中継装置60にそれぞれ送信する。   The operation report unit 502 is connected to each of the first communication line A and the second communication line B, and the first relay device 50 operates during the period in which the first relay device 50 is operating. The frame f2 of the operation information Dj indicating that the communication is being performed is transmitted to the second relay device 60 via the first communication line A and the second communication line B, respectively.

尚、動作報告部502から送信される動作情報Djのフレームf2の送信先は、第2の中継装置60に限られなくてもよい。また、動作報告部502は、動作情報Djのフレームf2を予め定められた任意のタイミングで第1の通信線A、及び第2の通信線Bを介してそれぞれ送信するものとする。   The transmission destination of the frame f2 of the operation information Dj transmitted from the operation report unit 502 may not be limited to the second relay device 60. In addition, the operation report unit 502 transmits the frame f2 of the operation information Dj via the first communication line A and the second communication line B, respectively, at a predetermined arbitrary timing.

図6は、本変形例に係る動作情報Djのフレームf2の一例を示す図である。図6に示すように本変形例に係る動作情報Djのフレームf2は、少なくとも、第1の中継装置50が動作していることを示す情報を含む動作情報パケットP4を含むフレームf2として、動作報告部502から第1の通信線A、及び第2の通信線Bをそれぞれ介して第2の中継装置60に送信される。   FIG. 6 is a diagram illustrating an example of the frame f2 of the operation information Dj according to the present modification. As shown in FIG. 6, the frame f2 of the operation information Dj according to this modification is an operation report as a frame f2 including at least an operation information packet P4 including information indicating that the first relay device 50 is operating. The data is transmitted from the unit 502 to the second relay device 60 via the first communication line A and the second communication line B, respectively.

尚、図6には動作情報パケットP4のみを含む動作情報Djのフレームf2を示しているが、他の一実施形態における動作情報Djのフレームf2は、任意の端末、或いは中継装置に動作情報Djを送信するために第1の実施形態で説明した送信先パケットP1をさらに含んでいてもよい。また、他の一実施形態における動作情報Djのフレームf2は、動作情報パケットP4を含んでいれば、他のどのような情報をパケットとしてさらに含んでいてもよい。   Although FIG. 6 shows the frame f2 of the operation information Dj including only the operation information packet P4, the frame f2 of the operation information Dj in another embodiment is not limited to the operation information Dj. May be further included in the destination packet P1 described in the first embodiment. In addition, the frame f2 of the operation information Dj in another embodiment may further include any other information as a packet as long as it includes the operation information packet P4.

図7は、本変形例に係る第2の中継装置60のより詳細な構成を示すブロック図である。本変形例に係る第2の中継装置60は、受信部601と、異常判断部602と、中継部603とを含む。   FIG. 7 is a block diagram showing a more detailed configuration of the second relay device 60 according to the present modification. The second relay device 60 according to this modification includes a reception unit 601, an abnormality determination unit 602, and a relay unit 603.

受信部601は、典型的には、通信線を介して送信される情報を受信するインターフェース回路であって、第1の実施形態に係る受信部301と同様に、第1の通信線Aを介して第1の端末10から上述で説明したフレームf1が送信されたとき、送信されたフレームf1を受信する。また、受信部601は、第1の中継装置20によってフレームf1が中継されたとき、中継されたフレームf1を第2の通信線Bを介して受信する。さらに、本変形例に係る受信部601は、第1の中継装置50の動作報告部502から第1の通信線A、及び第2の通信線Bを介してそれぞれ前述の動作報告Djのフレームf2が送信されたとき、送信された動作報告Djのフレームf2を受信する。   The receiving unit 601 is typically an interface circuit that receives information transmitted via a communication line, and is similar to the receiving unit 301 according to the first embodiment via the first communication line A. When the frame f1 described above is transmitted from the first terminal 10, the transmitted frame f1 is received. In addition, when the frame f1 is relayed by the first relay device 20, the reception unit 601 receives the relayed frame f1 via the second communication line B. Furthermore, the receiving unit 601 according to this modification example includes the frame f2 of the above-described operation report Dj from the operation report unit 502 of the first relay device 50 via the first communication line A and the second communication line B, respectively. Is transmitted, the frame f2 of the transmitted operation report Dj is received.

受信部601は、第1の通信線A、及び第2の通信線Bを介してそれぞれフレームf1、又はフレームf2を受信したとき、受信したフレームf1、又はフレームf2に第1の実施形態で説明した通信線情報Tsを付加して、異常判断部602へ転送する。   When the receiving unit 601 receives the frame f1 or the frame f2 via the first communication line A and the second communication line B, respectively, the received frame f1 or the frame f2 is described in the first embodiment. The communication line information Ts thus added is added and transferred to the abnormality determination unit 602.

異常判断部602は、典型的には、主にCPUなどの集積回路などで構成される演算回路であって、受信部601からフレームf1、又はフレームf2が転送されたとき、転送されたフレームf1、又はフレームf2を取得する。本変形例に係る異常判断部602は、取得したフレームf2に基づき、後述で説明する手法で、第1の中継装置50に異常が生じているか否かを判断する。異常判断部602は、第1の中継装置50に異常が生じていると判断した後に受信部601から転送されるフレームf1の内、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加されたフレームf1に含まれる中継情報パケットP2を参照して、中継を指示する中継情報(指示有)を示す中継情報パケットP2を含む特定情報Ttのフレームf1を中継部603へ転送する。   The abnormality determination unit 602 is typically an arithmetic circuit mainly composed of an integrated circuit such as a CPU. When the frame f1 or the frame f2 is transferred from the receiving unit 601, the transferred frame f1 is transmitted. Or frame f2. The abnormality determination unit 602 according to the present modification determines whether an abnormality has occurred in the first relay device 50 by a method described later based on the acquired frame f2. The abnormality determination unit 602 indicates that the first relay device 50 has received an error through the first communication line A in the frame f1 transferred from the reception unit 601 after determining that an abnormality has occurred. With reference to the relay information packet P2 included in the frame f1 to which the information Ts is added, the frame f1 of the specific information Tt including the relay information packet P2 indicating the relay information (instructed) indicating the relay is transferred to the relay unit 603 To do.

中継部603は、異常判断部602によって第1の中継装置50に異常が生じていると判断された後に特定情報Ttのフレームf1が転送されたとき、転送された特定情報Ttのフレームf1を取得する。転送された特定情報Ttのフレームf1を取得すると、中継部603は、取得したフレームf1に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf1に含まれる送信先パケットP1によって示される送信先へ当該フレームf1を送信して中継する。   The relay unit 603 obtains the transferred frame f1 of the specific information Tt when the abnormality determination unit 602 determines that an abnormality has occurred in the first relay device 50 and transfers the frame f1 of the specific information Tt. To do. When acquiring the frame f1 of the transferred specific information Tt, the relay unit 603 removes the communication line information Ts added to the acquired frame f1, and then includes the frame f1 via the second communication line B. The frame f1 is transmitted to the transmission destination indicated by the transmission destination packet P1 and relayed.

以上が、本変形例に係る第2の中継装置60のより詳細な構成の説明である。次に、本変形例に係る異常判断部602が第1の中継装置50に異常が生じているか否かを判断する手法について説明する。   The above is description of the more detailed structure of the 2nd relay apparatus 60 which concerns on this modification. Next, a method for determining whether or not the abnormality determination unit 602 according to this modification has an abnormality in the first relay device 50 will be described.

本変形例に係る異常判断部602は、第1の中継装置50に異常が生じているか否かを判断するとき、第1の通信線A、及び第2の通信線Bの両方を介して動作報告部502から動作情報Djのフレームf2を受信できるか否かを判断する。   The abnormality determining unit 602 according to the present modification operates via both the first communication line A and the second communication line B when determining whether or not an abnormality has occurred in the first relay device 50. It is determined whether or not the frame f2 of the operation information Dj can be received from the report unit 502.

より具体的には、異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得すると共に、当該動作情報Djのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得したか否かを判断する。   More specifically, the abnormality determination unit 602 acquires the frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via the first communication line A is added from the reception unit 601, and Whether or not the frame f2 of the operation information Dj, which is the same as the frame f1 of the operation information Dj and to which the communication line information Ts indicating reception through the second communication line B is added, is acquired from the receiving unit 601. Judging.

上述で説明したように、動作報告部502は、第1の中継装置50が動作している期間を通じて、第1の通信線A、及び第2の通信線Bを介してそれぞれ動作情報Djのフレームf2を送信する。したがって、受信部601で第1の通信線A、及び第2の通信線Bの両方を介して動作情報Djのフレームf2を受信できないときは、第1の中継装置50に故障が生じて動作を停止したとき、或いは、第1の中継装置50と第2の端末40との間の第2の通信線Bに断線が生じたときなど、第1の中継装置50から第2の通信線Bにフレームを送信できないときである。   As described above, the operation report unit 502 transmits frames of the operation information Dj through the first communication line A and the second communication line B through the period in which the first relay device 50 is operating. Send f2. Therefore, when the reception unit 601 cannot receive the frame f2 of the operation information Dj via both the first communication line A and the second communication line B, the first relay device 50 has failed and operates. When the operation stops or when the second communication line B between the first relay device 50 and the second terminal 40 is disconnected, the first relay device 50 changes to the second communication line B. This is when the frame cannot be sent.

したがって、本変形例に係る異常判断部602は、第1の通信線A、及び第2の通信線Bの両方を介して動作報告部502から送信される動作情報Djのフレームf2を受信部601で受信できないときに、第1の中継装置50に異常が生じていると判断できる。   Therefore, the abnormality determination unit 602 according to this modification example receives the frame f2 of the operation information Dj transmitted from the operation report unit 502 via both the first communication line A and the second communication line B. It is possible to determine that an abnormality has occurred in the first relay device 50 when it cannot be received.

より具体的には、異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得すると共に、当該動作情報Djのフレームf2と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得できないときに、第1の中継装置50に異常が生じていると判断できる。   More specifically, the abnormality determination unit 602 acquires the frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via the first communication line A is added from the reception unit 601, and When the frame f2 of the operation information Dj, which is the same as the frame f2 of the operation information Dj and is added with the communication line information Ts indicating that it has been received via the second communication line B, cannot be acquired from the reception unit 601. It can be determined that an abnormality has occurred in the first relay device 50.

以上が、本変形例に係る異常判断部602が第1の中継装置50に異常が生じていることを判断する手法の説明である。   The above is the description of the method by which the abnormality determination unit 602 according to this modification determines that an abnormality has occurred in the first relay device 50.

尚、本変形例に係る異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2と、当該動作情報Djのフレームf2と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2との両方を受信部601から略同時に取得できないときに、第1の中継装置50に異常が生じていると判断してもよい。   Note that the abnormality determination unit 602 according to the present modification includes the frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via the first communication line A is added, and the frame f2 of the operation information Dj. When both of the frames f2 of the operation information Dj to which the communication line information Ts indicating reception via the second communication line B is added cannot be acquired from the receiving unit 601 substantially simultaneously, It may be determined that an abnormality has occurred in one relay device 50.

また、他の一変形例に係る動作報告部502は、予め定められた報告期間が経過する度に、動作情報Djのフレームf2を第1の通信線A、及び第2の通信線Bをそれぞれ介して第2の中継装置60に送信してもよい。この場合、異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2と、当該動作情報Djのフレームf2と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2との両方を受信部601から取得した後、前述の報告期間が経過するまでに、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2と、当該動作情報Djのフレームf2と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2との少なくともいずれか一方を受信部601から取得できないときに、第1の中継装置50に異常が生じていると判断してもよい。   In addition, the operation report unit 502 according to another modified example uses the first communication line A and the second communication line B for the frame f2 of the operation information Dj each time a predetermined report period elapses. Via the second relay device 60. In this case, the abnormality determination unit 602 is identical to the frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via the first communication line A is added, and the frame f2 of the operation information Dj. Then, after obtaining both the frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via the second communication line B is added from the reception unit 601, until the above-described reporting period elapses. The frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via the first communication line A is added to the frame f2 of the operation information Dj, and the second communication line When at least one of the frame f2 of the operation information Dj to which the communication line information Ts indicating that it has been received via B is added cannot be acquired from the receiving unit 601, an abnormality has occurred in the first relay device 50 It may be determined that.

本変形例に係る中継システム2によれば、第1の実施形態に係る中継システム1と同様に、2本の通信線を介して同一の情報を受信できないときに、第1の中継装置50の代わりに第2の中継装置60で代替中継するため、より簡単な構成で、データ通信を正常にできなくなることを防げるという効果を得られる。   According to the relay system 2 according to the present modification, as in the relay system 1 according to the first embodiment, when the same information cannot be received via two communication lines, the first relay device 50 Instead, since the second relay device 60 performs the alternate relay, it is possible to obtain an effect that the data communication cannot be normally prevented with a simpler configuration.

また、本変形例に係る中継システム2によれば、第1の実施形態に係る中継システム1と同様に、第2の中継装置60に中継するべき通信情報Tjのフレームf1を予め記憶させなくても、第1の中継装置50に異常が生じたときに、予め定められた特定情報Ttのフレームf1を第2の中継装置60で代替中継できるという効果を得られる。   Further, according to the relay system 2 according to the present modification, the frame f1 of the communication information Tj to be relayed to the second relay device 60 is not stored in advance as in the relay system 1 according to the first embodiment. In addition, it is possible to obtain an effect that the second relay device 60 can substitute the frame f1 of the predetermined specific information Tt when an abnormality occurs in the first relay device 50.

また、本変形例に係る中継システム2によれば、第1の中継装置50が動作していることを示す動作情報Djのフレームf2を第1の通信線A、及び第2の通信線Bを介してそれぞれ送信し、第2の中継装置60で第1の通信線A、及び第2の通信線Bの両方を介して同一の動作情報Djのフレームf2を受信できないときに、第1の中継装置50に異常が生じていると判断することができるという効果を得られる。   Further, according to the relay system 2 according to this modification, the frame f2 of the operation information Dj indicating that the first relay device 50 is operating is transmitted to the first communication line A and the second communication line B. The first relay when the second relay device 60 cannot receive the frame f2 of the same operation information Dj through both the first communication line A and the second communication line B. The effect that it can be determined that an abnormality has occurred in the device 50 can be obtained.

また、本変形例に係る中継システム2において、上述で説明したように、動作報告部502から予め定められた報告期間が経過する度に動作情報Djのフレームf2を送信させれば、第2の中継装置30では第1の通信線A、及び第2の通信線Bの両方を介して同一の動作情報Djのフレームf2を1度受信してから、当該報告期間が経過するときまでに第1の中継装置50に異常が生じているか否かを判断することができ、異常が生じていると判断するまでの時間に遅れが生じることを防げるという効果をさらに得られる。   Further, in the relay system 2 according to the present modification, as described above, if the frame f2 of the operation information Dj is transmitted from the operation report unit 502 every time a predetermined report period elapses, the second The relay device 30 receives the frame f2 of the same operation information Dj once through both the first communication line A and the second communication line B, and the first time until the reporting period elapses. It is possible to determine whether or not an abnormality has occurred in the relay device 50, and it is possible to further obtain an effect of preventing a delay in the time until it is determined that an abnormality has occurred.

(第2の実施形態)
図8は、本発明の第2の実施形態に係る中継システム3の概略構成を示すブロック図である。図8に示す中継システム3は、第1の実施形態に係る中継システム1と比較して、第1の端末10、及び第1の中継装置20に代えて、第1の端末70、及び第2の中継装置80をそれぞれ備える点が相違する。したがって、図8に示す第2の実施形態に係る中継システム3の構成の内、第1の実施形態に係る中継システム1と同一の構成については、同一の参照符号を付し、説明を省略する。
(Second Embodiment)
FIG. 8 is a block diagram showing a schematic configuration of the relay system 3 according to the second embodiment of the present invention. Compared with the relay system 1 according to the first embodiment, the relay system 3 illustrated in FIG. 8 replaces the first terminal 10 and the first relay device 20 with a first terminal 70 and a second terminal. The difference is that each of the relay devices 80 is provided. Therefore, in the configuration of the relay system 3 according to the second embodiment shown in FIG. 8, the same configuration as the relay system 1 according to the first embodiment is denoted by the same reference numeral, and the description thereof is omitted. .

第1の端末70は、第1の通信線Aに接続されており、中継システム3で中継する通信情報Tjのフレームf3を第1の通信線Aを介して接続されている第1の中継装置20、及び第2の中継装置80にそれぞれ送信する。このとき、第1の端末70から送信されるフレームf3の送信先は第2の端末40であるものとする。尚、第1の端末70が第1の通信線Aを介して通信情報Tjのフレームf3を送信する対象は、第1の中継装置20、及び第2の中継装置80に限られなくてもよい。   The first terminal 70 is connected to the first communication line A, and the first relay device is connected to the frame f3 of the communication information Tj relayed by the relay system 3 via the first communication line A. 20 and the second relay device 80 respectively. At this time, it is assumed that the transmission destination of the frame f3 transmitted from the first terminal 70 is the second terminal 40. Note that the target to which the first terminal 70 transmits the frame f3 of the communication information Tj via the first communication line A is not limited to the first relay device 20 and the second relay device 80. .

また、第1の端末70は、中継システム3で中継する通信情報Tjのフレームf3に含まれるパケットデータP3の内、予め定められた種類の情報を示すパケットデータP3を含む通信情報Tjのフレームf3を特定情報Ttのフレームf3として示す中継情報Cj1のフレームf4も、第1の通信線Aを介して接続される第1の中継装置20、及び第2の中継装置80にそれぞれ送信する。尚、第1の端末70が、第1の通信線Aを介して中継情報Cj1のフレームf4を送信する対象は、第1の中継装置20、及び第2の中継装置80に限られなくてもよい。   In addition, the first terminal 70 transmits the frame f3 of the communication information Tj including the packet data P3 indicating information of a predetermined type among the packet data P3 included in the frame f3 of the communication information Tj relayed by the relay system 3. Is also transmitted to the first relay device 20 and the second relay device 80 connected via the first communication line A, respectively. Note that the target to which the first terminal 70 transmits the frame f4 of the relay information Cj1 via the first communication line A is not limited to the first relay device 20 and the second relay device 80. Good.

上述から明らかなように、本実施形態では、第1の端末70から送信される通信情報Tjの内、中継情報Cj1によって示される通信情報Tjが第1の端末70から送信される特定情報Ttとなる。   As is clear from the above, in this embodiment, the communication information Tj indicated by the relay information Cj1 among the communication information Tj transmitted from the first terminal 70 is the specific information Tt transmitted from the first terminal 70. Become.

図9Aは、本実施形態に係る第1の端末70によって第1の通信線Aを介して送信される通信情報Tjのフレームf3の一例を示す図である。また、図9Bは、本実施形態に係る第1の端末70によって第1の通信線Aを介して送信される中継情報Cj1のフレームf4の一例を示す図である。図9A、及び図9Bに示すように本実施形態に係る第1の端末70は、一例として、複数のパケットからなるフレームを通信情報Tj、或いは中継情報Cj1として送信する。   FIG. 9A is a diagram illustrating an example of the frame f3 of the communication information Tj transmitted via the first communication line A by the first terminal 70 according to the present embodiment. FIG. 9B is a diagram illustrating an example of the frame f4 of the relay information Cj1 transmitted via the first communication line A by the first terminal 70 according to the present embodiment. As illustrated in FIG. 9A and FIG. 9B, the first terminal 70 according to the present embodiment transmits, as an example, a frame composed of a plurality of packets as communication information Tj or relay information Cj1.

図9Aから明らかなように、本実施形態における通信情報Tjのフレームf3は、第1の実施形態で説明した通信情報Tjのフレームf1と比較して、中継情報パケットP2を含まない点で相違する。図9Aに示す送信先パケットP1、及びデータパケットP3は、第1の実施形態で説明したパケットと同一のパケットであるため、説明を省略する。   As apparent from FIG. 9A, the frame f3 of the communication information Tj in this embodiment is different from the frame f1 of the communication information Tj described in the first embodiment in that it does not include the relay information packet P2. . The transmission destination packet P1 and the data packet P3 illustrated in FIG. 9A are the same packets as those described in the first embodiment, and thus description thereof is omitted.

一方、図9Bに示すように本実施形態における中継情報Cj1のフレームf4は、少なくとも、第1の端末70から送信される通信情報Tjのフレームf3に含まれるデータパケットP3の内、予め定められた種類の情報を示すデータパケットP3を含む通信情報Tjのフレームf3を特定情報Ttのフレームf3として示す中継情報パケットP5を含む。   On the other hand, as shown in FIG. 9B, the frame f4 of the relay information Cj1 in this embodiment is determined in advance among the data packets P3 included in at least the frame f3 of the communication information Tj transmitted from the first terminal 70. It includes a relay information packet P5 indicating the frame f3 of the communication information Tj including the data packet P3 indicating the type information as the frame f3 of the specific information Tt.

尚、図9Bには中継情報パケットP5のみを含む中継情報Cj1のフレームf4を示しているが、他の一実施形態における中継情報Cj1のフレームf4は、任意の端末、或いは中継装置に中継情報Cj1を送信するために第1の実施形態で説明した送信先パケットP1を含んでいてもよい。また、他の一実施形態における中継情報Cj1のフレームf4は、中継情報パケットP5を含んでいれば、他にどのような情報をパケットとして含んでいてもよい。   Although FIG. 9B shows the frame f4 of the relay information Cj1 including only the relay information packet P5, the frame f4 of the relay information Cj1 in another embodiment can be transmitted to any terminal or relay device by the relay information Cj1. May be included in the destination packet P1 described in the first embodiment. In addition, the frame f4 of the relay information Cj1 in another embodiment may include any other information as a packet as long as it includes the relay information packet P5.

第1の中継装置20は、第1の実施形態と同様に、フレームf3を中継する。   The first relay device 20 relays the frame f3 as in the first embodiment.

図10は、本実施形態に係る第2の中継装置80のより詳細な構成を示すブロック図である。本実施形態に係る第2の中継装置80は、受信部801、異常判断部802、中継部803、及び記憶部804を含む。   FIG. 10 is a block diagram showing a more detailed configuration of the second relay device 80 according to the present embodiment. The second relay device 80 according to the present embodiment includes a reception unit 801, an abnormality determination unit 802, a relay unit 803, and a storage unit 804.

受信部801は、典型的には、通信線を介して送信される情報を受信するインターフェース回路であって、第1の実施形態に係る受信部301と同様に、第1の通信線Aを介して第1の端末70から上述で説明したフレームf3が送信されたとき、送信されたフレームf3を受信する。また、受信部801は、第1の中継装置20によってフレームf3が中継されたとき、中継されたフレームf3を第2の通信線Bを介して受信する。さらに、本実施形態に係る受信部801は、第1の端末70から第1の通信線Aを介して前述の中継情報Cj1のフレームf4が送信されたとき、送信された中継情報Cj1のフレームf4を受信する。   The receiving unit 801 is typically an interface circuit that receives information transmitted via a communication line, and is similar to the receiving unit 301 according to the first embodiment via the first communication line A. When the frame f3 described above is transmitted from the first terminal 70, the transmitted frame f3 is received. In addition, when the frame f3 is relayed by the first relay device 20, the receiving unit 801 receives the relayed frame f3 via the second communication line B. Furthermore, when the frame f4 of the relay information Cj1 is transmitted from the first terminal 70 via the first communication line A, the reception unit 801 according to the present embodiment transmits the frame f4 of the relay information Cj1 transmitted. Receive.

受信部801は、第1の通信線A、及び第2の通信線Bを介してそれぞれフレームf3を受信したとき、受信したフレームf3に第1の実施形態で説明した通信線情報Tsを付加して、異常判断部802へ転送する。さらに、本実施形態に係る受信部801は、第1の通信線Aを介してフレームf4を受信したとき、受信したフレームf4に含まれる中継情報パケットP5によって示されるデータパケットP3によって示される情報の種類を記憶部804に転送して、予め記憶させる。   When receiving the frame f3 via the first communication line A and the second communication line B, the receiving unit 801 adds the communication line information Ts described in the first embodiment to the received frame f3. To the abnormality determination unit 802. Furthermore, when the reception unit 801 according to the present embodiment receives the frame f4 via the first communication line A, the reception unit 801 stores the information indicated by the data packet P3 indicated by the relay information packet P5 included in the received frame f4. The type is transferred to the storage unit 804 and stored in advance.

異常判断部802は、典型的には、主にCPUなどの集積回路などで構成される演算回路であって、受信部801からフレームf3が転送されたとき、転送されたフレームf3を取得する。本実施形態に係る異常判断部802は、取得したフレームf3に基づき、第1の実施形態に係る異常判断部302と同様の手法で第1の中継装置20に異常が生じているか否かを判断する。   The abnormality determining unit 802 is typically an arithmetic circuit mainly composed of an integrated circuit such as a CPU, and acquires the transferred frame f3 when the frame f3 is transferred from the receiving unit 801. The abnormality determination unit 802 according to the present embodiment determines whether an abnormality has occurred in the first relay device 20 by using the same method as the abnormality determination unit 302 according to the first embodiment, based on the acquired frame f3. To do.

すなわち、本実施形態に係る異常判断部802は、受信部801で第1の通信線Aを介してフレームf3を第1の端末70から受信したときに、第1の通信線Aを介して受信したフレームf3と同一のフレームf3を第2の通信線Bを介して受信したか否かを判断する。そして、本実施形態に係る異常判断部802は、受信部801で第1の通信線Aを介して第1の端末70からフレームf3を受信すると共に、当該フレームf3と同一のフレームf3を受信部801で第2の通信線Bを介して受信できないときに、第1の中継装置20に異常が生じていると判断できる。   That is, the abnormality determination unit 802 according to the present embodiment receives the first communication line A via the first communication line A when the reception unit 801 receives the frame f3 from the first terminal 70 via the first communication line A. It is determined whether or not the same frame f3 as the received frame f3 is received via the second communication line B. Then, the abnormality determination unit 802 according to the present embodiment receives the frame f3 from the first terminal 70 via the first communication line A by the receiving unit 801, and receives the same frame f3 as the frame f3. When reception is not possible via the second communication line B in 801, it can be determined that an abnormality has occurred in the first relay device 20.

異常判断部802は、第1の中継装置20に異常が生じていると判断した後、受信部801からフレームf3を転送されたとき、図示しない記憶部804に予め記憶されている情報の種類を参照する。異常判断部802は、受信部801から転送されたフレームf1に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部804に記憶されているとき、当該フレームf3を特定情報Ttのフレームf3として中継部803へ転送する。   The abnormality determination unit 802 determines the type of information stored in advance in the storage unit 804 (not shown) when the frame f3 is transferred from the reception unit 801 after determining that an abnormality has occurred in the first relay device 20. refer. When the type of information that matches the type of information indicated by the data packet P3 included in the frame f1 transferred from the reception unit 801 is stored in the storage unit 804, the abnormality determination unit 802 identifies the frame f3 as specific information. The frame is transferred to the relay unit 803 as a frame f3 of Tt.

中継部803は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部802によって第1の中継装置20に異常が生じていると判断された後に特定情報Ttのフレームf3が転送されたとき、転送された特定情報Ttのフレームf3を取得する。転送された特定情報Ttのフレームf3を取得すると、中継部803は、取得したフレームf3に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf3に含まれる送信先パケットP1によって示される送信先へ当該フレームf3を送信して中継する。   The relay unit 803 is typically an interface circuit that transmits transferred information via a communication line, and after the abnormality determination unit 802 determines that an abnormality has occurred in the first relay device 20. When the frame f3 of the specific information Tt is transferred, the frame f3 of the transferred specific information Tt is acquired. When acquiring the frame f3 of the transferred specific information Tt, the relay unit 803 removes the communication line information Ts added to the acquired frame f3, and then includes the frame f3 via the second communication line B. The frame f3 is transmitted to the transmission destination indicated by the transmission destination packet P1 and relayed.

記憶部804は、典型的には、RAM(Random Access Memory)などの記憶素子であって、受信部801によって第1の通信線Aを介して中継情報Cj1のフレームf4が受信されたときに、当該フレームf4に含まれる中継情報パケットP5によって示されるデータパケットP3の情報の種類を受信部801から転送され、転送された情報の種類を予め記憶する。   The storage unit 804 is typically a storage element such as a RAM (Random Access Memory), and when the reception unit 801 receives the frame f4 of the relay information Cj1 via the first communication line A, The type of information of the data packet P3 indicated by the relay information packet P5 included in the frame f4 is transferred from the receiving unit 801, and the type of transferred information is stored in advance.

以上が、本実施形態に係る第2の中継装置30のより詳細な構成の説明である。次に、第1の端末70が中継情報Cj1のフレームf4を送信するタイミングについて説明する。   The above is description of the more detailed structure of the 2nd relay apparatus 30 which concerns on this embodiment. Next, the timing at which the first terminal 70 transmits the frame f4 of the relay information Cj1 will be described.

本実施形態に係る第1の端末70が中継情報Cj1のフレームf4を送信するタイミングは、異常判断部802が第1の中継装置20に異常が生じていると判断した後に受信部801から転送されるフレームf3の内、当該フレームf3に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部804に記憶されているか否かを判断できるように、中継情報Cj1のフレームf4を受信部801で受信して、受信したフレームf4に含まれる中継情報パケットP5によって示される情報の種類を予め記憶部804に転送して記憶させられるのであれば、どのようなタイミングであってもよい。   The timing at which the first terminal 70 according to the present embodiment transmits the frame f4 of the relay information Cj1 is transferred from the receiving unit 801 after the abnormality determining unit 802 determines that an abnormality has occurred in the first relay device 20. The frame f4 of the relay information Cj1 so that it can be determined whether or not the type of information that matches the type of information indicated by the data packet P3 included in the frame f3 is stored in the storage unit 804. Can be received at the reception unit 801 and the type of information indicated by the relay information packet P5 included in the received frame f4 can be transferred to the storage unit 804 and stored in advance at any timing. Good.

例えば、本実施形態に係る第1の端末70は、データパケットP3によって示される情報の種類を1つだけ示す中継情報Cj1のフレームf4を送信するときは、中継情報パケットP5によって示される種類の情報を示すデータパケットP3を含む通信情報Tjのフレームf3(特定情報Ttのフレームf3)を送信する直前に送信してもよい。   For example, when the first terminal 70 according to the present embodiment transmits the frame f4 of the relay information Cj1 indicating only one type of information indicated by the data packet P3, the type of information indicated by the relay information packet P5 May be transmitted immediately before transmitting the frame f3 of the communication information Tj including the data packet P3 indicating (frame f3 of the specific information Tt).

また、他の一実施形態において、第1の端末70が、データパケットP3によって示される情報の種類を複数示す中継情報パケットP5を含む中継情報Cj1のフレームf4を送信するときは、予め定められた送信期間が経過する度に中継情報Cj1のフレームf4を繰り返し送信するようにしてもよい。   In another embodiment, when the first terminal 70 transmits the frame f4 of the relay information Cj1 including the relay information packet P5 indicating a plurality of types of information indicated by the data packet P3, it is determined in advance. The frame f4 of the relay information Cj1 may be repeatedly transmitted every time the transmission period elapses.

また、受信部801が、中継情報Cj1のフレームf4を受信して当該フレームf4に含まれる中継情報によって示される情報の種類を記憶部804に転送して記憶させた後、再び、中継情報Cj1のフレームf4を受信したとき、受信部801は、再び受信した中継情報Cj1のフレームf4に含まれる中継情報によって示される情報の種類を記憶部804に転送して、既に記憶部804に記憶されている情報の種類を上書きして更新してもよいし、上書きせずにさらに追加して記憶させてもよい。   In addition, the receiving unit 801 receives the frame f4 of the relay information Cj1, transfers the type of information indicated by the relay information included in the frame f4 to the storage unit 804, and then stores the information again. When receiving the frame f4, the reception unit 801 transfers the type of information indicated by the relay information included in the frame f4 of the relay information Cj1 received again to the storage unit 804 and is already stored in the storage unit 804. The type of information may be overwritten and updated, or may be additionally stored without being overwritten.

本実施形態に係る中継システム3によれば、第1の実施形態に係る中継システム1と同様に、2本の通信線を介して同一の情報を受信できないときに、第1の中継装置20の代わりに第2の中継装置80で代替中継するため、より簡単な構成で、データ通信を正常にできなくなることを防げるという効果を得られる。   According to the relay system 3 according to the present embodiment, as in the relay system 1 according to the first embodiment, when the same information cannot be received via two communication lines, the first relay device 20 Instead, since the second relay device 80 performs the alternate relay, it is possible to obtain an effect that the data communication can be prevented from being normally performed with a simpler configuration.

また、本実施形態に係る中継システム3によれば、第1の実施形態に係る中継システム1と同様に、第2の中継装置80に中継するべき通信情報Tjのフレームf3を予め記憶させなくても、第1の中継装置20に異常が生じたときに、予め定められた特定情報Ttのフレームf1を第2の中継装置30で代替中継できるという効果を得られる。   Further, according to the relay system 3 according to the present embodiment, the frame f3 of the communication information Tj to be relayed to the second relay device 80 is not stored in advance, as in the relay system 1 according to the first embodiment. In addition, when an abnormality occurs in the first relay device 20, it is possible to obtain an effect that the second relay device 30 can substitute the frame f <b> 1 of the predetermined specific information Tt.

また、本実施形態に係る中継システム3によれば、第1の実施形態に係る中継システム1と同様に、第1の中継装置20から当該第1の中継装置20が動作していることを示す情報を生成するための構成を新たに第1の中継装置20に追加することなく、第2の中継装置80で第1の中継装置20に異常が生じていることを判断できるという効果を得られる。   In addition, according to the relay system 3 according to the present embodiment, the first relay device 20 is operating from the first relay device 20 as in the relay system 1 according to the first embodiment. It is possible to obtain an effect that the second relay device 80 can determine that an abnormality has occurred in the first relay device 20 without adding a new configuration for generating information to the first relay device 20. .

また、本実施形態に係る中継システム3によれば、第1の実施形態に係る中継システム1と同様に、第1の中継装置20から当該第1の中継装置20が動作していることを示す情報を生成するための構成を新たに第1の中継装置20に追加することなく、第2の中継装置80で第1の中継装置20に異常が生じていることを判断できるという効果を得られる。   In addition, according to the relay system 3 according to the present embodiment, the first relay device 20 is operating from the first relay device 20 as in the relay system 1 according to the first embodiment. It is possible to obtain an effect that the second relay device 80 can determine that an abnormality has occurred in the first relay device 20 without adding a new configuration for generating information to the first relay device 20. .

また、本実施形態に係る中継システム3において、第1の実施形態で説明したように、許容期間以内に、第1の通信線Aを介して受信した通信情報Tj、又は特定情報Ttのフレームf3と同一のフレームf3が受信部801から転送されないときに第1の中継装置20に異常が生じていると判断するようにすれば、第1の中継装置20によって中継されたフレームf3が第2の中継装置30によって受信されるまでの遅延時間が、通信量の一時的な増大などの原因で増加することを考慮して異常判断部802で第1の中継装置20に異常が生じているか否かを判断することができるという効果をさらに得ることができる。   In the relay system 3 according to this embodiment, as described in the first embodiment, the communication information Tj received via the first communication line A or the frame f3 of the specific information Tt within the allowable period. If it is determined that an abnormality has occurred in the first relay device 20 when the same frame f3 is not transferred from the receiving unit 801, the frame f3 relayed by the first relay device 20 is Whether or not there is an abnormality in the first relay apparatus 20 in the abnormality determination unit 802 in consideration of an increase in the delay time until reception by the relay apparatus 30 due to a temporary increase in the amount of communication. The effect that can be determined can be further obtained.

(第2の実施形態の変形例)
図11は、本発明の第2の実施形態の変形例に係る中継システム4の概略構成を示すブロック図である。図11に示す中継システム4は、第2の実施形態に係る中継システム3と比較して、第1の中継装置20、及び第2の中継装置80に代えて、それぞれ第1の中継装置90、及び第2の中継装置100を備える点が相違する。したがって、図11に示す第2の実施形態の変形例に係る中継システム4の構成の内、第2の実施形態に係る中継システム3と同一の構成については、同一の参照符号を付し、説明を省略する。
(Modification of the second embodiment)
FIG. 11 is a block diagram showing a schematic configuration of the relay system 4 according to a modification of the second embodiment of the present invention. Compared with the relay system 3 according to the second embodiment, the relay system 4 illustrated in FIG. 11 replaces the first relay device 20 and the second relay device 80 with the first relay device 90, respectively. And the point provided with the 2nd relay apparatus 100 is different. Therefore, among the configurations of the relay system 4 according to the modification of the second embodiment shown in FIG. 11, the same configurations as those of the relay system 3 according to the second embodiment are denoted by the same reference numerals and described. Is omitted.

図12は、第1の中継装置90のより詳細な構成を示すブロック図である。本変形例に係る第1の中継装置90は、中継部901と、動作報告部502とを含む。中継部901は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末70から第1の通信線Aを介して通信情報Tjのフレームf3が送信されたとき、送信された通信情報Tjのフレームf3を受信する。フレームf3を受信すると中継部901は、当該フレームf3に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf3の送信先に第2の通信線Bを介して当該フレームf3を送信して中継する。動作報告部502については、第1の実施形態の変形例において説明したため、説明を省略する。   FIG. 12 is a block diagram showing a more detailed configuration of the first relay device 90. The first relay device 90 according to this modification includes a relay unit 901 and an operation report unit 502. The relay unit 901 is connected to each of the first communication line A and the second communication line B, and the frame f3 of the communication information Tj is transmitted from the first terminal 70 via the first communication line A. The frame f3 of the transmitted communication information Tj is received. When receiving the frame f3, the relay unit 901 refers to the transmission destination indicated by the transmission destination packet P1 included in the frame f3, and transmits the frame f3 to the transmission destination of the frame f3 via the second communication line B. Send and relay. Since the operation report unit 502 has been described in the modification of the first embodiment, the description thereof is omitted.

図13は、本変形例に係る第2の中継装置100のより詳細な構成を示すブロック図である。本変形例に係る第2の中継装置100は、受信部1001と、異常判定部1002と、中継部1003と、記憶部1004とを含む。   FIG. 13 is a block diagram showing a more detailed configuration of the second relay device 100 according to the present modification. The second relay device 100 according to this modification includes a receiving unit 1001, an abnormality determining unit 1002, a relay unit 1003, and a storage unit 1004.

受信部1001は、典型的には、通信線を介して送信される情報を受信するインターフェース回路であって、第2の実施形態に係る受信部801と同様に、第1の通信線Aを介して第1の端末70から上述で説明したフレームf3が送信されたとき、送信されたフレームf3を受信する。また、受信部1001は、第1の中継装置90によってフレームf3が中継されたとき、中継されたフレームf3を第2の通信線Bを介して受信する。また、本変形例に係る受信部1001は第1の通信線Aを介して第1の端末70から中継情報Cj1のフレームf4を受信したとき、受信したフレームf4に含まれる中継情報パケットP5によって示されるデータパケットP3によって示される情報の種類を記憶部1004に転送する。また、受信部1001は、第1の中継装置90の動作報告部502から第1の通信線A、及び第2の通信線Bを介してそれぞれ動作情報Djのフレームf2が送信されたとき、送信された動作報告Djのフレームf2を受信する。   The receiving unit 1001 is typically an interface circuit that receives information transmitted via a communication line, and is similar to the receiving unit 801 according to the second embodiment via the first communication line A. When the frame f3 described above is transmitted from the first terminal 70, the transmitted frame f3 is received. In addition, when the frame f3 is relayed by the first relay device 90, the receiving unit 1001 receives the relayed frame f3 via the second communication line B. In addition, when the reception unit 1001 according to the present modification receives the frame f4 of the relay information Cj1 from the first terminal 70 via the first communication line A, the reception unit 1001 is indicated by the relay information packet P5 included in the received frame f4. The type of information indicated by the data packet P3 to be transferred is transferred to the storage unit 1004. The receiving unit 1001 transmits a frame f2 of the operation information Dj from the operation reporting unit 502 of the first relay device 90 via the first communication line A and the second communication line B, respectively. The received operation report Dj frame f2 is received.

受信部601は、第1の通信線A、又は第2の通信線Bを介してフレームf2、又はフレームf3を受信したとき、受信したフレームf2、又はフレームf3に第1の実施形態で説明した通信線情報Tsを付加して、異常判断部1002へ転送する。   When the reception unit 601 receives the frame f2 or the frame f3 via the first communication line A or the second communication line B, the reception unit 601 described the received frame f2 or the frame f3 in the first embodiment. The communication line information Ts is added and transferred to the abnormality determination unit 1002.

異常判断部1002は、典型的には、主にCPUなどの集積回路などで構成される演算回路であって、受信部1001からフレームf2、又はフレームf3が転送されたとき、転送されたフレームf2、又はフレームf3を取得する。本変形例に係る異常判断部1002は、取得したフレームf2に基づき、第1の実施形態の変形例に係る異常判断部602と同様の異常判断の手法で第1の中継装置90に異常が生じているか否かを判断する。異常判断部1002は、第1の中継装置90に異常が生じていると判断した後、受信部1001からフレームf3を転送されたとき、図示しない記憶部1004に予め記憶されている情報の種類を参照する。異常判断部1002は、受信部1001から転送されたフレームf3に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部1004に記憶されているとき、当該フレームf3を特定情報Ttのフレームf3として中継部1003へ転送する。   The abnormality determination unit 1002 is typically an arithmetic circuit mainly composed of an integrated circuit such as a CPU. When the frame f2 or the frame f3 is transferred from the receiving unit 1001, the transferred frame f2 is transferred. Or the frame f3 is acquired. Based on the acquired frame f2, the abnormality determination unit 1002 according to the present modification generates an abnormality in the first relay device 90 using the same abnormality determination method as the abnormality determination unit 602 according to the modification of the first embodiment. Judge whether or not. The abnormality determining unit 1002 determines the type of information stored in advance in the storage unit 1004 (not shown) when the frame f3 is transferred from the receiving unit 1001 after determining that an abnormality has occurred in the first relay device 90. refer. When the type of information that matches the type of information indicated by the data packet P3 included in the frame f3 transferred from the receiving unit 1001 is stored in the storage unit 1004, the abnormality determining unit 1002 identifies the frame f3 as specific information. The frame is transferred to the relay unit 1003 as a frame f3 of Tt.

中継部1003は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部1002によって第1の中継装置90に異常が生じていると判断された後に特定情報Ttのフレームf3が転送されたとき、転送された特定情報Ttのフレームf3を取得する。転送された特定情報Ttのフレームf3を取得すると、中継部1003は、取得したフレームf3に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf3に含まれる送信先パケットP1によって示される送信先へ当該フレームf3を送信して中継する。   The relay unit 1003 is typically an interface circuit that transmits transferred information via a communication line, and after the abnormality determination unit 1002 determines that an abnormality has occurred in the first relay device 90. When the frame f3 of the specific information Tt is transferred, the frame f3 of the transferred specific information Tt is acquired. When acquiring the frame f3 of the transferred specific information Tt, the relay unit 1003 removes the communication line information Ts added to the acquired frame f3 and then includes the frame f3 via the second communication line B. The frame f3 is transmitted to the transmission destination indicated by the transmission destination packet P1 and relayed.

記憶部1004は、典型的には、RAM(Random Access Memory)などの記憶素子であって、受信部1001によって第1の通信線Aを介して中継情報Cj1のフレームf4が受信されたときに、当該フレームf4に含まれる中継情報パケットP5によって示されるデータパケットP3の情報の種類を受信部1001から転送され、転送された情報の種類を予め記憶する。   The storage unit 1004 is typically a storage element such as a RAM (Random Access Memory), and when the frame f4 of the relay information Cj1 is received by the reception unit 1001 via the first communication line A, The type of information of the data packet P3 indicated by the relay information packet P5 included in the frame f4 is transferred from the receiving unit 1001, and the type of transferred information is stored in advance.

以上が、本変形例に係る第2の中継装置100のより詳細な構成の説明である。尚、本変形例に係る第1の端末70が中継情報Cj1のフレームf4を送信するタイミングは、第2の実施形態で説明したタイミングと同様であってよい。   The above is description of the more detailed structure of the 2nd relay apparatus 100 which concerns on this modification. Note that the timing at which the first terminal 70 according to this modification transmits the frame f4 of the relay information Cj1 may be the same as the timing described in the second embodiment.

本変形例に係る中継システム4によれば、第2の実施形態に係る中継システム3と同様に、2本の通信線を介して同一の情報を受信できないときに、第1の中継装置90の代わりに第2の中継装置100で代替中継するため、より簡単な構成で、データ通信を正常にできなくなることを防げるという効果を得られる。   According to the relay system 4 according to this modification, the same as the relay system 3 according to the second embodiment, when the same information cannot be received via two communication lines, the first relay device 90 Instead, since the second relay device 100 performs the alternate relay, it is possible to obtain an effect that the data communication can be prevented from being normally performed with a simpler configuration.

また、本変形例に係る中継システム4によれば、第2の実施形態に係る中継システム3と同様に、第2の中継装置100に中継するべき通信情報Tjのフレームf1を予め記憶させなくても、第1の中継装置90に異常が生じたときに、予め定められた特定情報Ttのフレームf1を第2の中継装置100で代替中継できるという効果を得られる。   In addition, according to the relay system 4 according to the present modification, the frame f1 of the communication information Tj to be relayed to the second relay device 100 is not stored in advance as in the relay system 3 according to the second embodiment. In addition, when an abnormality occurs in the first relay device 90, an effect is obtained in which the second relay device 100 can substitute relay the frame f1 of the specific information Tt determined in advance.

また、本変形例に係る中継システム4によれば、第1の実施形態の変形例に係る中継システム2と同様に、第1の中継装置90が動作していることを示す動作情報Djのフレームf2を第1の通信線A、及び第2の通信線Bを介してそれぞれ送信し、第2の中継装置100で第1の通信線A、及び第2の通信線Bの両方を介して同一の動作情報Djのフレームf2を受信できないときに、第1の中継装置90に異常が生じていると判断することができるという効果を得られる。   Further, according to the relay system 4 according to the present modification, as in the relay system 2 according to the modification of the first embodiment, the frame of the operation information Dj indicating that the first relay device 90 is operating. f2 is transmitted via the first communication line A and the second communication line B, respectively, and the second relay device 100 is the same via both the first communication line A and the second communication line B. When the frame f2 of the operation information Dj cannot be received, it is possible to determine that an abnormality has occurred in the first relay device 90.

また、本変形例に係る中継システム4において、第1の実施形態の変形例で説明したように、動作報告部502から予め定められた報告期間が経過する度に動作情報Djのフレームf2を送信させるようにすれば、第2の中継装置100は第1の通信線A、及び第2の通信線Bの両方を介して同一の動作情報Djのフレームf2を1度受信してから、当該報告期間が経過するときまでに第1の中継装置90に異常が生じているか否かを判断することができ、異常が生じていると判断するまでの時間が増大することを防げるという効果をさらに得ることができる。   Further, in the relay system 4 according to this modification, as described in the modification of the first embodiment, the operation report unit 502 transmits the frame f2 of the operation information Dj every time a predetermined report period elapses. By doing so, the second relay device 100 receives the frame f2 of the same operation information Dj once through both the first communication line A and the second communication line B, and then reports the report. It is possible to determine whether or not an abnormality has occurred in the first relay device 90 by the time the period elapses, and further obtain an effect of preventing an increase in time until it is determined that an abnormality has occurred. be able to.

(第3の実施形態)
図14は、本発明の第3の実施形態に係る中継システム5の概略構成を示すブロック図である。本実施形態に係る中継システム5は、第1の端末110と、第1の中継装置120と、第2の中継装置130と、第2の端末40とを備える。
(Third embodiment)
FIG. 14 is a block diagram showing a schematic configuration of the relay system 5 according to the third embodiment of the present invention. The relay system 5 according to the present embodiment includes a first terminal 110, a first relay device 120, a second relay device 130, and a second terminal 40.

第1の端末110は、第1の通信線Aに接続されており、中継システム5で中継する通信情報Tjのフレームf3を第1の通信線Aを介して接続されている第1の中継装置120、及び第2の中継装置130にそれぞれ送信する。このとき、第1の端末110から送信されるフレームf3の送信先は第2の端末40であるものとする。尚、本実施形態に係る第1の端末110によって送信される通信情報Tjのフレームf3は、第2の実施形態で説明した通信情報Tjのフレームf3と同一のフレームである。尚、第1の端末110が第1の通信線Aを介して通信情報Tjのフレームf1を送信する対象は、第1の中継装置120、及び第2の中継装置130に限られなくてもよい。   The first terminal 110 is connected to the first communication line A, and the first relay device is connected to the frame f3 of the communication information Tj relayed by the relay system 5 via the first communication line A. 120 and the second relay device 130 respectively. At this time, it is assumed that the transmission destination of the frame f3 transmitted from the first terminal 110 is the second terminal 40. Note that the frame f3 of the communication information Tj transmitted by the first terminal 110 according to the present embodiment is the same frame as the frame f3 of the communication information Tj described in the second embodiment. Note that the target to which the first terminal 110 transmits the frame f1 of the communication information Tj via the first communication line A is not limited to the first relay device 120 and the second relay device 130. .

第1の中継装置120は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末110から第1の通信線Aを介して通信情報Tjのフレームf3が送信されたとき、送信された通信情報Tjのフレームf3を受信する。フレームf3を受信すると第1の中継装置120は、当該フレームf3に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf3の送信先に第2の通信線Bを介して送信して中継する。   The first relay device 120 is connected to each of the first communication line A and the second communication line B, and the frame f3 of the communication information Tj from the first terminal 110 via the first communication line A. Is transmitted, the frame f3 of the transmitted communication information Tj is received. When receiving the frame f3, the first relay device 120 refers to the transmission destination indicated by the transmission destination packet P1 included in the frame f3 and transmits it to the transmission destination of the frame f3 via the second communication line B. And relay.

第2の中継装置130は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末110から第1の通信線Aを介して通信情報Tjのフレームf3が送信されたとき、送信された通信情報Tjのフレームf3を受信する。第2の中継装置130は、後述するように、第1の中継装置120に異常が生じていると判断したとき、第1の通信線Aを介して第1の端末110から受信した通常情報Tjのフレームf3の内、後述する特定情報Ttのフレームf3を当該フレームf3に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf3の送信先に第2の通信線Bを介して送信して中継する。   The second relay device 130 is connected to each of the first communication line A and the second communication line B, and the frame f3 of the communication information Tj from the first terminal 110 via the first communication line A. Is transmitted, the frame f3 of the transmitted communication information Tj is received. As described later, when the second relay device 130 determines that an abnormality has occurred in the first relay device 120, the normal information Tj received from the first terminal 110 via the first communication line A is used. The frame f3 of the specific information Tt to be described later is referred to the transmission destination indicated by the transmission destination packet P1 included in the frame f3, and the transmission destination of the frame f3 is connected to the transmission destination of the frame f3 via the second communication line B. To send and relay.

第2の端末40は、第1の実施形態と同様に、第2の通信線Bに接続されており、第1の中継装置120によって当該第2の端末40を送信先とする通信情報Tjのフレームf3が第2の通信線Bを介して送信されたとき、送信された通信情報のフレームf3を受信する。また、第2の端末40は、第2の中継装置130によって第1の中継装置120に異常が生じていると判断されたときに中継された特定情報Ttのフレームf3も受信する。   Similarly to the first embodiment, the second terminal 40 is connected to the second communication line B, and the first relay device 120 transmits the communication information Tj having the second terminal 40 as a transmission destination. When the frame f3 is transmitted via the second communication line B, the frame f3 of the transmitted communication information is received. The second terminal 40 also receives the frame f3 of the specific information Tt relayed when the second relay device 130 determines that the first relay device 120 has an abnormality.

図15は、本実施形態に係る第2の中継装置130のより詳細な構成を示すブロック図である。本実施形態に係る第2の中継装置130は、受信部1301、異常判断部1302、中継部1303、及び記憶部1304を含む。   FIG. 15 is a block diagram showing a more detailed configuration of the second relay device 130 according to the present embodiment. The second relay device 130 according to the present embodiment includes a reception unit 1301, an abnormality determination unit 1302, a relay unit 1303, and a storage unit 1304.

受信部1301は、典型的には、通信線を介して送信される情報を受信するインターフェース回路であって、第1の通信線Aを介して第1の端末110から上述で説明したフレームf3が送信されたとき、送信されたフレームf3を受信する。また、受信部1301は、第1の中継装置120によってフレームf3が中継されたとき、中継されたフレームf3を第2の通信線Bを介して受信する。受信部1301は、第1の通信線A、及び第2の通信線Bを介してそれぞれフレームf3を受信したとき、受信したフレームf3に第1の実施形態で説明した通信線情報Tsを付加して、異常判断部1302へ転送する。   The receiving unit 1301 is typically an interface circuit that receives information transmitted via a communication line, and the frame f3 described above is transmitted from the first terminal 110 via the first communication line A. When transmitted, the transmitted frame f3 is received. Further, the reception unit 1301 receives the relayed frame f3 via the second communication line B when the frame f3 is relayed by the first relay device 120. When receiving the frame f3 via the first communication line A and the second communication line B, the receiving unit 1301 adds the communication line information Ts described in the first embodiment to the received frame f3. To the abnormality determination unit 1302.

異常判断部1302は、典型的には、主にCPUなどの集積回路などで構成される演算回路であって、受信部1301からフレームf3が転送されたとき、転送されたフレームf3を取得する。本実施形態に係る異常判断部1302は、取得したフレームf3に基づき、第1の実施形態に係る異常判断部302と同様の手法で第1の中継装置120に異常が生じているか否かを判断する。   The abnormality determining unit 1302 is typically an arithmetic circuit mainly composed of an integrated circuit such as a CPU, and acquires the transferred frame f3 when the frame f3 is transferred from the receiving unit 1301. The abnormality determination unit 1302 according to the present embodiment determines whether an abnormality has occurred in the first relay device 120 by using the same method as the abnormality determination unit 302 according to the first embodiment, based on the acquired frame f3. To do.

すなわち、本実施形態に係る異常判断部1302は、受信部1301で第1の通信線Aを介してフレームf3を第1の端末110から受信したときに、第1の通信線Aを介して受信したフレームf3と同一のフレームf3を第2の通信線Bを介して受信したか否かを判断する。そして、本実施形態に係る異常判断部1302は、受信部1301で第1の通信線Aを介して第1の端末110からフレームf3を受信すると共に、当該フレームf3と同一のフレームf3を受信部1301で第2の通信線Bを介して受信できないときに、第1の中継装置120に異常が生じていると判断できる。   That is, the abnormality determining unit 1302 according to the present embodiment receives the first communication line A via the first communication line A when the receiving unit 1301 receives the frame f3 from the first terminal 110 via the first communication line A. It is determined whether or not the same frame f3 as the received frame f3 is received via the second communication line B. Then, the abnormality determination unit 1302 according to the present embodiment receives the frame f3 from the first terminal 110 via the first communication line A by the reception unit 1301, and receives the same frame f3 as the frame f3. When reception is not possible via the second communication line B in 1301, it can be determined that an abnormality has occurred in the first relay device 120.

異常判断部1302は、第1の中継装置120に異常が生じていると判断した後、受信部1301からフレームf3を転送されたとき、後述で説明するように図示しない記憶部1304に予め記憶されている情報の種類を参照する。異常判断部1302は、受信部1301から転送されたフレームf3に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部1304に記憶されているとき、当該フレームf3を特定情報Ttのフレームf3として中継部1303へ転送する。   After determining that an abnormality has occurred in the first relay device 120 and then transferring the frame f3 from the reception unit 1301, the abnormality determination unit 1302 is stored in advance in a storage unit 1304 (not shown) as will be described later. Browse the type of information you have. When the type of information that matches the type of information indicated by the data packet P3 included in the frame f3 transferred from the receiving unit 1301 is stored in the storage unit 1304, the abnormality determining unit 1302 identifies the frame f3 as specific information. The frame is transferred to the relay unit 1303 as a frame f3 of Tt.

中継部1303は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部1302によって第1の中継装置120に異常が生じていると判断された後に特定情報Ttのフレームf3が転送されたとき、転送された特定情報Ttのフレームf3を取得する。転送された特定情報Ttのフレームf3を取得すると、中継部1303は、取得したフレームf3に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf3に含まれる送信先パケットP1によって示される送信先へ当該フレームf3を送信して中継する。   The relay unit 1303 is typically an interface circuit that transmits transferred information via a communication line, and after the abnormality determination unit 1302 determines that an abnormality has occurred in the first relay device 120. When the frame f3 of the specific information Tt is transferred, the frame f3 of the transferred specific information Tt is acquired. When acquiring the frame f3 of the transferred specific information Tt, the relay unit 1303 removes the communication line information Ts added to the acquired frame f3 and then includes the frame f3 via the second communication line B. The frame f3 is transmitted to the transmission destination indicated by the transmission destination packet P1 and relayed.

記憶部1304は、典型的には、RAM(Random Access Memory)、或いはROM(Read Only Memory)などの記憶素子であって、第1の端末110によって送信される通信情報Tjのフレームf3の内、第2の中継装置130で特定情報Ttとして送信するフレームf3に含まれるデータパケットP3によって示される情報の種類を予め記憶している。   The storage unit 1304 is typically a storage element such as a RAM (Random Access Memory) or a ROM (Read Only Memory), and includes the frame f3 of the communication information Tj transmitted by the first terminal 110. The type of information indicated by the data packet P3 included in the frame f3 transmitted as the specific information Tt by the second relay device 130 is stored in advance.

つまり、本実施形態に係る中継システム5では、第1の端末110から送信される通信情報Tjのフレームf3の内、記憶部1304に予め記憶されている種類の情報を示すデータパケットP3を含むフレームf3が、特定情報Ttのフレームf3となる。   That is, in the relay system 5 according to the present embodiment, the frame including the data packet P3 indicating the type of information stored in advance in the storage unit 1304 in the frame f3 of the communication information Tj transmitted from the first terminal 110. f3 becomes the frame f3 of the specific information Tt.

以上が、本実施形態に係る中継システム5の説明である。   The above is the description of the relay system 5 according to the present embodiment.

尚、本実施形態に係る異常判断部1302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3が受信部1301から転送されるのと略同時に、当該通信情報Tj、又は当該特定情報Ttのフレームf3と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3が受信部1301から転送されないときに、第1の中継装置120に異常が生じていると判断してもよい。   Note that the abnormality determining unit 1302 according to the present embodiment receives the communication information Tj to which the communication line information Ts indicating that it has been received via the first communication line A is added, or the frame f3 of the specific information Tt is the receiving unit 1301. At the same time as the transfer from, the communication line information Ts that is the same as the communication information Tj or the frame f3 of the specific information Tt and that is received via the second communication line B is added. When the frame f3 of the communication information Tj or the specific information Tt is not transferred from the receiving unit 1301, it may be determined that an abnormality has occurred in the first relay device 120.

また、他の一実施形態に係る異常判断部1302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3を受信部1301から転送されてから、予め定められた許容期間以内に、当該通信情報Tj、又は当該特定情報Ttのフレームf3と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3を受信部1301から転送されないときに、第1の中継装置120に異常が生じていると判断してもよい。   In addition, the abnormality determination unit 1302 according to another embodiment receives the communication information Tj to which the communication line information Ts indicating that it has been received via the first communication line A is added, or the frame f3 of the specific information Tt. It is the same as the frame f3 of the communication information Tj or the specific information Tt and is received via the second communication line B within a predetermined allowable period after being transferred from the unit 1301. When the communication information Tj to which the communication line information Ts is added or the frame f3 of the specific information Tt is not transferred from the receiving unit 1301, it may be determined that an abnormality has occurred in the first relay device 120.

本実施形態に係る中継システム5によれば、第1の実施形態に係る中継システム1と同様に、2本の通信線を介して同一の情報を受信できないときに、第1の中継装置120の代わりに第2の中継装置130で代替中継するため、より簡単な構成で、データ通信を正常にできなくなることを防げるという効果を得られる。   According to the relay system 5 according to the present embodiment, when the same information cannot be received via two communication lines, similarly to the relay system 1 according to the first embodiment, the first relay device 120 Instead, since the second relay device 130 performs the alternate relay, it is possible to obtain an effect that the data communication can be prevented from being normally performed with a simpler configuration.

また、本実施形態に係る中継システム5によれば、第1の実施形態に係る中継システム1と同様に、第1の中継装置120から当該第1の中継装置120が動作していることを示す情報を生成するための構成を新たに第1の中継装置120に追加することなく、第2の中継装置130で第1の中継装置120に異常が生じていることを判断できるという効果を得られる。   Further, according to the relay system 5 according to the present embodiment, it is indicated that the first relay device 120 is operating from the first relay device 120 as in the relay system 1 according to the first embodiment. It is possible to obtain an effect that the second relay device 130 can determine that an abnormality has occurred in the first relay device 120 without adding a new configuration for generating information to the first relay device 120. .

また、本実施形態に係る中継システム5によれば、第2の中継装置130で特定情報Ttとして送信するフレームf3に含まれるデータパケットP3によって示される情報の種類を記憶部1304に予め記憶させるため、第1の端末110から中継情報を含むフレームを送信させることなく、第1の中継装置120に異常が生じていると判断したときに、特定情報Ttのフレームf3を中継できるという効果を得られる。   Also, according to the relay system 5 according to the present embodiment, the storage unit 1304 stores in advance the type of information indicated by the data packet P3 included in the frame f3 transmitted as the specific information Tt by the second relay device 130. Thus, it is possible to relay the frame f3 of the specific information Tt when it is determined that an abnormality has occurred in the first relay device 120 without transmitting a frame including relay information from the first terminal 110. .

また、本実施形態に係る中継システム5において、第1の実施形態で説明したように、許容期間以内に、第1の通信線Aを介して受信した通信情報Tj、又は特定情報Ttのフレームf3と同一のフレームf3が受信部1301から転送されないときに第1の中継装置120に異常が生じていると判断するようにすれば、第1の中継装置120によって中継されたフレームf3が第2の中継装置130によって受信されるまでの遅延時間が、通信量の一時的な増大などの原因で増加することを考慮して異常判断部1302で第1の中継装置120に異常が生じているか否かを判断することができるという効果をさらに得ることができる。   In the relay system 5 according to the present embodiment, as described in the first embodiment, the communication information Tj received via the first communication line A or the frame f3 of the specific information Tt within the allowable period. If it is determined that there is an abnormality in the first relay device 120 when the same frame f3 is not transferred from the receiving unit 1301, the frame f3 relayed by the first relay device 120 is Whether or not there is an abnormality in the first relay apparatus 120 in the abnormality determination unit 1302 in consideration of an increase in the delay time until reception by the relay apparatus 130 due to a temporary increase in communication amount or the like. The effect that can be determined can be further obtained.

以上が、第1の実施形態乃至第3の実施形態、すなわち、本発明に係る中継システムの説明である。   The above is the description of the first to third embodiments, that is, the relay system according to the present invention.

次に、本発明において用いられる特定情報Ttについて説明する。本発明に係る中継システムは、一例として、自車両に搭載されてもよい。そして、本発明に係る中継システムを自車両に搭載する場合には、本発明に係る第1の端末(10、70、110、140)、及び第2の端末(40、170)のそれぞれを自車両に搭載されるスマートエントリーシステム、衝突予防システム(プリクラッシュセーフティシステム)、車線維持システム、車間距離維持システム、及びVSC(Vehicle Stability Control)システムなどをそれぞれ構成するECU(Electronic Control Unit)などに適用できる。そして、車両に搭載されるこれらのシステムを構成するそれぞれのECUは、互いのシステムが機能するために、例えば、自車両に搭載されているレーダーで測定した対象物(例えば、他車両、歩行者、及び路上障害物など)との相対距離、及び相対速度や、エンジンの回転数、及び車両のヨーレート(車両の重心を鉛直方向に通る軸廻りの回転角速度)などの情報を互いに送受信している。   Next, the specific information Tt used in the present invention will be described. The relay system according to the present invention may be mounted on the host vehicle as an example. When the relay system according to the present invention is mounted on the own vehicle, each of the first terminal (10, 70, 110, 140) and the second terminal (40, 170) according to the present invention is Applicable to ECUs (Electronic Control Units) and other components that make up smart entry systems, collision prevention systems (pre-crash safety systems), lane maintenance systems, inter-vehicle distance maintenance systems, and vehicle stability control (VSC) systems installed in vehicles it can. And each ECU which comprises these systems mounted in a vehicle, for each other's systems to function, for example, the object (for example, other vehicles, pedestrians) measured with the radar mounted in the own vehicle And other information such as relative distance and relative speed with respect to road obstacles, engine speed, and vehicle yaw rate (rotational angular velocity about the axis passing through the center of gravity of the vehicle in the vertical direction). .

これらの情報の中で、例えば、自車両のヨーレートなどは、車両の挙動が不安定になりスピンしたりするのを防ぐための上述したVSCシステムなどで、自車両の車輪の回転トルクなどを制御するために利用される。また、例えば、レーダーで測定した対象物との相対距離、及び相対速度などは、自車両と対象物とが衝突する可能性を予測する上述した衝突予防システムなどで、対象物の進行方向を示すベクトルを予測したり、対象物と衝突するまでの予測時間を算出したりするためなどに利用される。   Among these pieces of information, for example, the yaw rate of the own vehicle controls the rotational torque of the wheels of the own vehicle by the above-mentioned VSC system for preventing the vehicle behavior from becoming unstable and spinning. To be used. Further, for example, the relative distance and relative speed with the object measured by the radar indicate the traveling direction of the object in the above-described collision prevention system that predicts the possibility of collision between the host vehicle and the object. It is used for predicting a vector or calculating a prediction time until a collision with an object.

ここで、例えば、上述したVSCシステムで車両のヨーレートの情報を得られなくなると、車両の挙動が不安定になりスピンすることを予防できなくなる。また、上述した衝突予防システムなどで、レーダーで測定した対象物との相対距離、及び相対速度などの情報を得られなくなると、対象物と衝突するまでの予測時間の算出などができなくなり、対象物と車両との衝突を予防できなくなる。   Here, for example, if the information on the yaw rate of the vehicle cannot be obtained by the above-described VSC system, the behavior of the vehicle becomes unstable and it is impossible to prevent the spinning. In addition, if the information such as the relative distance to the object measured by the radar and the relative speed cannot be obtained with the above-described collision prevention system, it is impossible to calculate the predicted time until the object collides. It becomes impossible to prevent a collision between an object and a vehicle.

つまり、車両に搭載されるECUが互いに送受信する情報には、VSCシステムに用いられるヨーレート、衝突予防システムなどで用いられる対象物との相対距離、及び相対速度など、車両(自車両、及び他車両)の搭乗者、及び歩行者などの安全を確保するために重要な情報が含まれる。したがって、本発明に係る中継システムにおいて上述で説明した特定情報Ttとして、このような重要な情報を予め定めておくことにより、ある中継装置(本発明における第1の中継装置)が故障したとしても、代わりの中継装置(本発明における第2の中継装置)で代替中継できるため、重要な情報の通信が遮断されることなく、上述した車両の搭乗者や歩行者などの安全性を維持することができる。   That is, the information transmitted and received by ECUs mounted on the vehicle includes the vehicle (own vehicle and other vehicles) such as the yaw rate used in the VSC system, the relative distance to the object used in the collision prevention system, and the relative speed. ) And important information to ensure the safety of passengers and pedestrians. Therefore, even if a certain relay device (first relay device in the present invention) breaks down by setting such important information in advance as the specific information Tt described above in the relay system according to the present invention. Since the alternative relay device (second relay device according to the present invention) can be used as an alternative relay, the safety of passengers and pedestrians of the vehicle described above can be maintained without blocking important information communication. Can do.

より具体的には、第1の実施形態に係る中継システム1において、第1の端末10は、上述したヨーレート、対象物との相対距離、及び相対速度などの重要な情報を示すデータパケットP3を含むフレームf1に、中継を指示する中継情報(指示有)を示す中継情報パケットP2を含ませて、特定情報Ttのフレームf1として送信するとよい。第1の実施形態の変形例に係る第1の端末10についても同様である。また、第2の実施形態に係る中継システム3では、第1の端末70は、情報の種類として、上述したヨーレート、対象物との相対距離、及び相対速度などを示すパケットデータP3を含む通信情報Tjのフレームf3を特定情報Ttのフレームf3として示す中継情報Cj1のフレームf4を送信するとよい。第2の実施形態の変形例に係る第1の端末70についても同様である。また、第3の実施形態に係る中継システム5では、第2の中継装置130の記憶部1304に、情報の種類として、上述したヨーレート、対象物との相対距離、及び相対速度などを予め記憶させておくとよい。   More specifically, in the relay system 1 according to the first embodiment, the first terminal 10 receives a data packet P3 indicating important information such as the above-described yaw rate, relative distance to the object, and relative speed. The included frame f1 may include a relay information packet P2 indicating relay information (instructed) for instructing relaying and transmitted as the frame f1 of the specific information Tt. The same applies to the first terminal 10 according to the modification of the first embodiment. In the relay system 3 according to the second embodiment, the first terminal 70 includes communication information including packet data P3 indicating the above-described yaw rate, relative distance to the object, relative speed, and the like as information types. A frame f4 of the relay information Cj1 indicating the frame f3 of Tj as the frame f3 of the specific information Tt may be transmitted. The same applies to the first terminal 70 according to the modification of the second embodiment. Further, in the relay system 5 according to the third embodiment, the storage unit 1304 of the second relay device 130 stores in advance the yaw rate, the relative distance from the object, the relative speed, and the like as information types. It is good to keep.

また、第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例内次第2の実施形態の変形例に係る中継システムを自車両に搭載する場合は、自車両のイグニッションスイッチがオンにされたとき、或いは自車両の車載ネットワークにおいて予め定められた開始タイミングが到来したときなどに、本発明に係る中継システムが動作を開始するものとする。そして、本発明に係る中継システムは、動作を開始すると、異常判断部(302、602、802、1002、1302)は、上述したそれぞれの手法で第1の中継装置(20,50,90,120)に異常が生じているか否かを逐次判断し、異常が生じていると判断したときに上述したそれぞれの手法で特定情報Ttの代替中継を開始するものとする。   Further, when the relay system according to the first embodiment to the third embodiment and the modification of the first embodiment to the modification of the second embodiment is mounted on the own vehicle, the ignition switch of the own vehicle It is assumed that the relay system according to the present invention starts to operate when is turned on or when a predetermined start timing arrives in the in-vehicle network of the host vehicle. When the relay system according to the present invention starts operating, the abnormality determination unit (302, 602, 802, 1002, 1302) uses the first relay device (20, 50, 90, 120) by the above-described methods. ) Are sequentially determined, and when it is determined that an abnormality has occurred, alternative relay of the specific information Tt is started by the above-described methods.

(第4の実施形態)
第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例が、第1の中継装置に異常が生じたときに第2の中継装置で代替中継を開始するときに関して主に説明していたのに対し、以下に説明する第4の実施形態、第5の実施形態、及び第5の実施形態の変形例では、第1の中継装置に生じた異常が解消され、第2の中継装置の代替中継を停止するときに関して主に説明する。
(Fourth embodiment)
The first embodiment to the third embodiment, and the modification of the first embodiment to the modification of the second embodiment are the second relay device when an abnormality occurs in the first relay device. In the fourth embodiment, the fifth embodiment, and the modified example of the fifth embodiment described below, the first relay device is mainly described with respect to the case where the alternative relay is started. The case where the abnormality that has occurred is resolved and the alternative relay of the second relay device is stopped will be mainly described.

図16は、本発明の第4の実施形態に係る中継システム6の概略構成を示すブロック図である。本実施形態に係る中継システム6は、第1の端末140と、第1の中継装置150と、第2の中継装置160と、第2の端末170とを備える。   FIG. 16 is a block diagram showing a schematic configuration of the relay system 6 according to the fourth embodiment of the present invention. The relay system 6 according to the present embodiment includes a first terminal 140, a first relay device 150, a second relay device 160, and a second terminal 170.

第1の端末140は、第1の通信線Aに接続されており、通信情報Tjを第1の通信線Aに送信する。尚、図16には、中継システム6の構成の一例として、第1の通信線Aに第1の端末140を1つだけ接続している構成を示しているが、第1の通信線Aに接続される第1の端末140は複数であってもよい。また、第1の通信線Aに複数の第1の端末140が接続されている中継システム6において、それぞれの第1の端末140は、互いに異なる種別の通信情報Tjを送信してもよい。   The first terminal 140 is connected to the first communication line A and transmits communication information Tj to the first communication line A. FIG. 16 shows a configuration in which only one first terminal 140 is connected to the first communication line A as an example of the configuration of the relay system 6. There may be a plurality of first terminals 140 connected. In the relay system 6 in which a plurality of first terminals 140 are connected to the first communication line A, each first terminal 140 may transmit different types of communication information Tj.

また、本実施形態における通信情報Tjは、第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例のいずれかで説明したフレームであってもよいし、その他の形態の通信情報であってもよい。また、通信情報Tjの種別とは、例えば、通信情報Tjがフレームの形態であるときは、当該フレームに含まれるフレームID、又は後述するCAN−IDで区別される種別であってもよい。このことは、後述する第5の実施形態、及びその変形例においても同様である。   Further, the communication information Tj in the present embodiment is the frame described in any of the first to third embodiments and the modified examples of the first and second embodiments. It may also be other types of communication information. Further, the type of communication information Tj may be, for example, a type identified by a frame ID included in the frame or a CAN-ID described later when the communication information Tj is in the form of a frame. The same applies to a fifth embodiment described later and a modification thereof.

第1の中継装置150は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末140から第1の通信線Aに送信される通信情報Tjを受信する。第1の中継装置150は、第1の端末140から第1の通信線Aに送信される通信情報Tjの種別の中で、第2の通信線Bに中継する通信情報Tjの予め定められた種別を図示しない記憶部に記憶している。第1の中継装置150は、第1の通信線Aから受信した通信情報Tjの内、図示しない記憶部に記憶されている種別の通信情報Tjを中継情報Cj2として第2の通信線Bに送信して中継する。   The first relay device 150 is connected to each of the first communication line A and the second communication line B, and receives the communication information Tj transmitted from the first terminal 140 to the first communication line A. To do. The first relay device 150 has predetermined communication information Tj to be relayed to the second communication line B among the types of communication information Tj transmitted from the first terminal 140 to the first communication line A. The type is stored in a storage unit (not shown). The first relay device 150 transmits the communication information Tj of the type stored in the storage unit (not shown) from the communication information Tj received from the first communication line A to the second communication line B as the relay information Cj2. And relay.

第2の中継装置160は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末140から第1の通信線Aに送信された通信情報Tjを受信する。第2の中継装置160は、上述したように第1の中継装置150の図示しない記憶部に記憶されている通信情報Tjの種別と同じ種別を、第1の中継装置150と同じように図示しない記憶部に記憶している。第2の中継装置160は、第1の中継装置150に異常が生じて中継できない期間を通じて、第1の通信線Aから受信した通信情報Tjの内、図示しない記憶部に記憶されている種別の通信情報Tjを第1の中継装置150の代わりに第2の通信線Bに中継情報Cj2として送信して中継する代替中継をする。   The second relay device 160 is connected to each of the first communication line A and the second communication line B, and receives the communication information Tj transmitted from the first terminal 140 to the first communication line A. To do. As described above, the second relay device 160 does not show the same type as the type of the communication information Tj stored in the storage unit (not shown) of the first relay device 150 as described above. It is stored in the storage unit. The second relay device 160 is a type of communication information Tj received from the first communication line A of a type stored in a storage unit (not shown) during a period in which the first relay device 150 has an abnormality and cannot be relayed. Instead of the first relay device 150, the communication information Tj is transmitted as the relay information Cj2 to the second communication line B, and the relay is relayed.

尚、第2の中継装置160が、第1の中継装置150に異常が生じて中継できなくなっていると判断する手法は、任意の公知の手法であってよい。また、第2の中継装置160が、第1の中継装置150に異常が生じて中継できなくなっていると判断する手法として、上述した第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例のいずれかで説明した手法を用いてもよい。   Note that the method in which the second relay device 160 determines that the first relay device 150 has failed and cannot be relayed may be any known method. In addition, as a method for determining that the second relay device 160 is unable to relay due to an abnormality in the first relay device 150, the first to third embodiments and the first embodiment described above are used. You may use the method demonstrated in either the modification of embodiment or the modification of 2nd Embodiment.

また、第2の中継装置160が、上述した第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例のいずれかの実施形態で説明した手法を用いて第1の中継装置150に異常が生じているか否かを判断する場合には、中継システム6が備える第1の端末140、第1の中継装置150、第2の中継装置160、及び第2の端末170のそれぞれは、用いる手法の実施形態、或いは変形例に係る中継システムに備えられる第1の端末、第1の中継装置、第2の中継装置、及び第2の端末のそれぞれに含まれる構成もさらに含み、用いる手法の実施形態、或いは変形例で説明したのと同様に通信情報Tj、及び特定情報Ttも必要に応じて送受信、及び処理をすることは言うまでもない。   Further, the second relay device 160 is described in any one of the first to third embodiments described above and the modified examples of the first embodiment to the modified example of the second embodiment. When determining whether or not an abnormality has occurred in the first relay device 150 using the above-described method, the first terminal 140, the first relay device 150, and the second relay device 160 included in the relay system 6 are used. , And the second terminal 170 are respectively the first terminal, the first relay device, the second relay device, and the second terminal provided in the relay system according to the embodiment of the technique used or the modification. It goes without saying that the configuration included in each of them is further included, and the communication information Tj and the specific information Tt are transmitted / received and processed as necessary in the same manner as described in the embodiment of the technique used or the modification.

また、第2の中継装置160が、任意の公知の手法を用いて第1の中継装置150に異常が生じているか否かを判断する場合には、本実施形態に係る中継システム6が備える第1の端末140、第1の中継装置150、第2の中継装置160、及び第2の端末170のそれぞれは、用いる任意の公知の手法を実現するために必要な構成もさらに含み、用いる任意の公知の手法を実現するために必要な情報の送受信、及び処理などをすることは言うまでもない。   Further, when the second relay device 160 determines whether or not the first relay device 150 has an abnormality using any known method, the second relay device 160 provided in the relay system 6 according to the present embodiment. Each of the first terminal 140, the first relay device 150, the second relay device 160, and the second terminal 170 further includes a configuration necessary for realizing any known technique to be used. Needless to say, transmission / reception and processing of information necessary for realizing a known method is performed.

本実施形態に係る第2の中継装置160は、代替中継をしているときに、第2の通信線Bから受信する通信情報Tjの種別を監視する。第2の中継装置160は、第2の通信線Bから受信する通信情報Tjの種別を監視しながら、上述したように第2の中継装置160の図示しない記憶部に記憶されている種別の通信情報Tj、すなわち、中継情報Cj2を受信したと判断したとき、第1の中継装置150に生じていた異常が解消して中継情報Cj2を中継できるように復帰したと判断する。第2の中継装置160は、第1の中継装置150が復帰したと判断すると、代替中継を停止する。   The second relay device 160 according to the present embodiment monitors the type of communication information Tj received from the second communication line B when performing alternative relay. The second relay device 160 monitors the type of the communication information Tj received from the second communication line B and, as described above, the type of communication stored in the storage unit (not shown) of the second relay device 160. When it is determined that the information Tj, that is, the relay information Cj2 is received, it is determined that the abnormality that has occurred in the first relay device 150 is resolved and the relay information Cj2 is restored so that it can be relayed. If the second relay device 160 determines that the first relay device 150 has returned, the second relay device 160 stops the alternative relay.

第2の端末170は、第2の通信線Bに接続されており、第1の中継装置150によって第2の通信線Bに中継される中継情報Cj2の中から受信するように予め定められた種別の中継情報Cj2を受信する。また、第2の端末170は、第2の中継装置160が代替中継をしている期間を通じて、第2の中継装置160によって第2の通信線Bに中継される中継情報Cj2も同様に受信する。   The second terminal 170 is connected to the second communication line B and predetermined to receive from the relay information Cj2 relayed to the second communication line B by the first relay device 150. The type of relay information Cj2 is received. In addition, the second terminal 170 receives the relay information Cj2 relayed to the second communication line B by the second relay device 160 in the same manner throughout the period in which the second relay device 160 performs the alternate relay. .

尚、図16には、中継システム6の構成の一例として、第2の通信線Bに第2の端末170を1つだけ接続している構成を示しているが、第2の通信線Bに接続される第2の端末170が複数であってもよい。また、第2の通信線Bに複数の第2の端末170が接続されている中継システム6において、第1の通信線Aに接続される第1の端末140は、第2の通信線Bに接続されている任意の第2の端末170に中継情報Cj2として中継される通信情報Tjを送信してよい。   FIG. 16 shows a configuration in which only one second terminal 170 is connected to the second communication line B as an example of the configuration of the relay system 6. There may be a plurality of second terminals 170 connected. In the relay system 6 in which a plurality of second terminals 170 are connected to the second communication line B, the first terminal 140 connected to the first communication line A is connected to the second communication line B. Communication information Tj relayed as relay information Cj2 may be transmitted to any second terminal 170 connected thereto.

以上が、本実施形態に係る中継システム6の概略構成の説明である。次に、本実施形態に係る第2の中継装置160の処理を、図17に示すフローチャートを参照しながら説明する。   The above is the description of the schematic configuration of the relay system 6 according to the present embodiment. Next, the processing of the second relay device 160 according to the present embodiment will be described with reference to the flowchart shown in FIG.

ステップS101において、第2の中継装置160は、上述した任意の手法を用いて、第1の中継装置150に異常が生じているか否かを判断する。第2の中継装置160は、ステップS101において、第1の中継装置150に異常が生じていると判断したとき、ステップS102へ処理を進める。一方、第2の中継装置160は、ステップS101において、第1の中継装置150に異常が生じていないと判断したとき、ステップS101に処理を戻す。   In step S101, the second relay device 160 determines whether an abnormality has occurred in the first relay device 150 using the above-described arbitrary method. When the second relay device 160 determines in step S101 that an abnormality has occurred in the first relay device 150, the process proceeds to step S102. On the other hand, when the second relay device 160 determines in step S101 that no abnormality has occurred in the first relay device 150, the process returns to step S101.

ステップS102において、第2の中継装置160は、上述した代替中継を開始する。尚、このとき開始された代替中継は、図17のフローチャートに示す処理と並行して行われるものとする。第2の中継装置160は、ステップS102の処理を完了すると、ステップS103へ処理を進める。   In step S102, the second relay device 160 starts the alternative relay described above. It is assumed that the alternative relay started at this time is performed in parallel with the processing shown in the flowchart of FIG. When the second relay device 160 completes the process of step S102, the process proceeds to step S103.

ステップS103において、第2の中継装置160は、第2の通信線Bから通信情報Tjを受信する。第2の中継装置160は、ステップS103において、受信した通信情報Tjの種別と、上述したように図示しない記憶部に記憶している通信情報Tjの種別とを比較することによって、第2の通信線Bから受信する通信情報Tjの種別を監視する。   In step S103, the second relay device 160 receives the communication information Tj from the second communication line B. In step S103, the second relay device 160 compares the type of the received communication information Tj with the type of the communication information Tj stored in the storage unit (not shown) as described above, thereby The type of the communication information Tj received from the line B is monitored.

ステップS104において、第2の中継装置160は、ステップS103において受信した通信情報Tjの種別と、図示しない記憶部に記憶している通信情報Tjの種別とを比較し、一致するか否かを判断する。すなわち、ステップS104において、第2の中継装置160は、ステップS103で中継情報Cj2を受信したか否かを判断する。第2の中継装置160は、ステップS104において、一致すると判断したとき、すなわち、中継情報Cj2を受信したと判断したとき、第1の中継装置150が復帰したと判断して、ステップS105へ処理を進める。一方、第2の中継装置160は、ステップS105において、一致しないと判断したとき、すなわち、中継情報Cj2を受信していないと判断したとき、第1の中継装置150は復帰していないと判断して、ステップS103へ処理を戻す。   In step S104, the second relay device 160 compares the type of communication information Tj received in step S103 with the type of communication information Tj stored in a storage unit (not shown), and determines whether or not they match. To do. That is, in step S104, the second relay device 160 determines whether or not the relay information Cj2 has been received in step S103. The second relay device 160 determines that the first relay device 150 has returned when it is determined in step S104 that they match, that is, when it determines that the relay information Cj2 has been received, and the process proceeds to step S105. Proceed. On the other hand, when the second relay device 160 determines in step S105 that they do not match, that is, when it determines that the relay information Cj2 is not received, it determines that the first relay device 150 has not returned. Then, the process returns to step S103.

ステップS105において、第2の中継装置160は、ステップS102の処理で開始した代替中継を停止する。第2の中継装置160は、ステップS105の処理を完了すると、ステップS101へ処理を戻す。   In step S105, the second relay device 160 stops the alternative relay started in the process of step S102. When completing the process of step S105, the second relay device 160 returns the process to step S101.

以上が、本実施形態に係る中継システム6に備えられる第2の中継装置160の処理の説明である。本実施形態に係る中継システム6によれば、第2の中継装置160が、異常の生じた第1の中継装置150の代わりに通信情報Tjを中継する代替中継をしているときにおいて、第1の中継装置150によって中継される通信情報Tjと同じ種別の通信情報Tjを第2の通信線Bから受信したときに、第1の中継装置150が復帰したと判断できる。そして、本実施形態に係る中継システム6によれば、第2の中継装置160が、第1の中継装置150の復帰を判断したときに代替中継を停止するので、第1の中継装置150と第2の中継装置160との中継先の通信線である第2の通信線Bに、第1の中継装置150と第2の中継装置160とから、同一の種別の通信情報Tjが、それぞれ中継されて重複するのを防げる。   The above is description of the process of the 2nd relay apparatus 160 with which the relay system 6 which concerns on this embodiment is provided. According to the relay system 6 according to the present embodiment, when the second relay device 160 performs an alternate relay that relays the communication information Tj instead of the first relay device 150 in which an abnormality has occurred, When the communication information Tj of the same type as the communication information Tj relayed by the relay device 150 is received from the second communication line B, it can be determined that the first relay device 150 has returned. Then, according to the relay system 6 according to the present embodiment, the second relay device 160 stops the alternative relay when it determines the return of the first relay device 150, so the first relay device 150 and the first relay device 160 The same type of communication information Tj is relayed from the first relay device 150 and the second relay device 160 to the second communication line B, which is a communication line that is a relay destination to the second relay device 160, respectively. To prevent duplication.

また、本実施形態に係る中継システム6によれば、第1の端末140から第1の通信線Aに送信される通信情報Tjの種別の中で、第2の通信線Bに中継する通信情報Tjの種別を予め定め、第1の中継装置150、及び第2の中継装置160の両方の図示しない記憶部に予め定めた互いに同じ種別を記憶させるので、第2の中継装置160で第2の通信線Bから受信する通信情報Tjの種別と、図示しない記憶部に記憶している通信情報Tjの種別とを比較することにより、第1の中継装置150の復帰を判断できる。   Further, according to the relay system 6 according to the present embodiment, communication information relayed to the second communication line B among the types of communication information Tj transmitted from the first terminal 140 to the first communication line A. Since the type of Tj is determined in advance and the same type of the predetermined value is stored in the storage units (not shown) of both the first relay device 150 and the second relay device 160, the second relay device 160 stores the second type By comparing the type of the communication information Tj received from the communication line B with the type of the communication information Tj stored in the storage unit (not shown), it is possible to determine the return of the first relay device 150.

(第5の実施形態)
図18は、本発明の第6の実施形態に係る中継システム7の概略構成を示すブロック図である。図18に示す中継システム7は、第4の実施形態に係る中継システム6と比較して、第1の中継装置150、及び第2の中継装置160に代えて、第1の中継装置180、及び第2の中継装置190をそれぞれ備える点が相違する。したがって、図18に示す第5の実施形態に係る中継システム7の構成の内、第4の実施形態に係る中継システム6と同一の構成については、同一の参照符号を付し、説明を省略する。
(Fifth embodiment)
FIG. 18 is a block diagram showing a schematic configuration of the relay system 7 according to the sixth embodiment of the present invention. Compared with the relay system 6 according to the fourth embodiment, the relay system 7 illustrated in FIG. 18 replaces the first relay device 150 and the second relay device 160 with the first relay device 180 and The difference is that each of the second relay devices 190 is provided. Therefore, in the configuration of the relay system 7 according to the fifth embodiment illustrated in FIG. 18, the same configuration as the relay system 6 according to the fourth embodiment is denoted by the same reference numeral, and description thereof is omitted. .

第1の中継装置180は、当該第1の中継装置180が動作をしているとき、動作をしていることを示す送信情報を、第1の通信線A、及び第2の通信線Bの少なくともいずれか一方に送信する。また、第1の中継装置180は、後述するように第2の中継装置190から送信される許可情報を受信したとき、異常が生じて停止していた中継を再開する。   When the first relay device 180 is operating, the first relay device 180 transmits transmission information indicating that the first relay device 180 is operating to the first communication line A and the second communication line B. Send to at least one of them. In addition, when receiving the permission information transmitted from the second relay device 190 as described later, the first relay device 180 resumes the relay that has been stopped due to an abnormality.

第1の中継装置180についてより詳細に説明する。図19は、第1の中継装置180のより詳細な構成を示すブロック図である。本実施形態に係る第1の中継装置180は、中継部1801と、送信情報送信部1802とを含む。   The first relay device 180 will be described in more detail. FIG. 19 is a block diagram showing a more detailed configuration of the first relay device 180. The first relay device 180 according to the present embodiment includes a relay unit 1801 and a transmission information transmission unit 1802.

中継部1801は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第4の実施形態で説明した第1の中継装置150と同様に通信情報Tjを中継情報Cj2として中継する。すなわち、中継部1801は、第4の実施形態に係る第1の中継装置150と同様に図示しない記憶部に、第2の通信線Bに中継する通信情報Tjの予め定められた種別を記憶している。また、中継部1801は、後述するように、第1の通信線A、及び第2の通信線Bの内、第2の中継装置190の許可情報送信部1092に予め定められた通信線から後述する許可情報を受信したとき、異常が生じることによって停止していた中継を再開する。   The relay unit 1801 is connected to each of the first communication line A and the second communication line B, and the communication information Tj is transferred to the relay information Cj2 in the same manner as the first relay device 150 described in the fourth embodiment. Relay as. That is, the relay unit 1801 stores a predetermined type of communication information Tj to be relayed to the second communication line B in a storage unit (not shown) as in the first relay device 150 according to the fourth embodiment. ing. Also, as will be described later, the relay unit 1801 will be described later from a communication line predetermined in the permission information transmission unit 1092 of the second relay device 190 among the first communication line A and the second communication line B. When the permission information is received, the relay that has been stopped due to an abnormality is resumed.

送信情報送信部1802は、第2の通信線Bから受信する通信情報Tjの種別を監視する。送信情報送信部1802は、第2の通信線Bから受信する通信情報Tjの種別を、中継部1801が第4の実施形態に係る第1の中継装置150と同様に図示しない記憶部に記憶している通信情報Tjの種別と比較することによって監視する。   The transmission information transmission unit 1802 monitors the type of communication information Tj received from the second communication line B. The transmission information transmission unit 1802 stores the type of the communication information Tj received from the second communication line B in the storage unit (not shown) as in the first relay device 150 according to the fourth embodiment by the relay unit 1801. Monitoring is performed by comparing with the type of the communication information Tj being stored.

送信情報送信部1802は、第2の通信線Bから受信する通信情報Tjの種別と、中継部1801の図示しない記憶部に記憶されている通信情報Tjの種別とを比較して、一致すると判断したとき、送信情報送信部1802を含む第1の中継装置180に異常が生じて中継できなくなった後、第2の中継装置190によって代替中継された中継情報Cj2を受信したと判断する。   The transmission information transmission unit 1802 compares the type of communication information Tj received from the second communication line B with the type of communication information Tj stored in a storage unit (not shown) of the relay unit 1801 and determines that they match. Then, after the first relay device 180 including the transmission information transmission unit 1802 becomes abnormal and cannot be relayed, it is determined that the relay information Cj2 relayed by the second relay device 190 has been received.

第2の中継装置190が代替中継をしていると判断すると、送信情報送信部1802は、送信情報送信部1802を含む第1の中継装置180の異常が解消して中継できるように復帰して動作していることを示す復帰情報を前述の送信情報として第1の通信線A、及び第2の通信線Bの少なくともいずれか一方に送信する。尚、送信情報送信部1802が復帰情報を送信する通信線は、第1の通信線A、及び第2の通信線Bの中から少なくともいずれか一方を予め定めておいてよい。   If it is determined that the second relay device 190 is performing an alternative relay, the transmission information transmission unit 1802 returns to the state so that the abnormality of the first relay device 180 including the transmission information transmission unit 1802 can be resolved and relayed. The return information indicating that it is operating is transmitted as transmission information to at least one of the first communication line A and the second communication line B. Note that at least one of the first communication line A and the second communication line B may be determined in advance as the communication line through which the transmission information transmission unit 1802 transmits the return information.

第2の中継装置190は、第4の実施形態に係る第2の中継装置160と同様に、上述した任意の手法で第1の中継装置180に異常が生じて中継できなくなっていると判断したときに代替中継を開始する。そして、第2の中継装置190は、代替中継をしているときに、第1の通信線A、及び第2の通信線Bの内、上述したように送信情報送信部1802に予め定められた通信線から、前述の復帰情報を受信したとき、第1の中継装置180に含まれる中継部1801に対して中継を許可する許可情報を、第1の通信線A、及び第2の通信線Bの少なくともいずれか一方に送信する。   Similar to the second relay device 160 according to the fourth embodiment, the second relay device 190 determines that the first relay device 180 has failed and cannot be relayed by any method described above. Sometimes start alternate relay. Then, the second relay device 190 is predetermined by the transmission information transmission unit 1802 as described above, of the first communication line A and the second communication line B, when performing the alternate relay. When the above return information is received from the communication line, permission information for permitting relay to the relay unit 1801 included in the first relay device 180 is set as the first communication line A and the second communication line B. To at least one of these.

第2の中継装置190についてより詳細に説明する。図20は、第2の中継装置190のより詳細な構成を示すブロック図である。本実施形態に係る第2の中継装置190は、中継部1901と、許可情報送信部1902と、停止部1903とを含む。   The second relay device 190 will be described in more detail. FIG. 20 is a block diagram showing a more detailed configuration of the second relay device 190. The second relay device 190 according to the present embodiment includes a relay unit 1901, a permission information transmission unit 1902, and a stop unit 1903.

中継部1901は、第4の実施形態に係る第2の中継装置160と同様に、第1の中継装置180に異常が生じている期間を通じて、第1の通信線Aから受信した通信情報Tjの内、図示しない記憶部に記憶されている種別の通信情報Tjを第1の中継装置180の代わりに第2の通信線Bに中継情報Cj2として送信して中継する代替中継をする。また、中継部1901は、後述するように停止部1903によって停止情報が生成されたとき、生成された停止情報を取得して、代替中継を停止する。尚、中継部1901が、第1の中継装置180に異常が生じていると判断する手法は、第4の実施形態で説明したように任意の手法を用いてよい。   Similar to the second relay device 160 according to the fourth embodiment, the relay unit 1901 receives the communication information Tj received from the first communication line A during the period when the first relay device 180 is abnormal. Among them, the communication information Tj of the type stored in the storage unit (not shown) is transmitted to the second communication line B as the relay information Cj2 instead of the first relay device 180 and relayed for relay. Also, as described later, when the stop information is generated by the stop unit 1903, the relay unit 1901 acquires the generated stop information and stops the alternative relay. Note that, as described in the fourth embodiment, an arbitrary method may be used as the method by which the relay unit 1901 determines that an abnormality has occurred in the first relay device 180.

許可情報送信部1902は、第1の通信線A、及び第2の通信線Bの内、送信情報送信部1802が復帰情報を送信するように予め定められた通信線から、復帰情報を受信したか否かを判断する。復帰情報を受信したと判断したとき、許可情報送信部1902は、第1の中継装置180が復帰したと判断して、第1の中継装置180の中継部1801に対して中継を許可する許可情報を、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に送信する。尚、許可情報送信部1902が復帰情報を送信する通信線は、第1の通信線A、及び第2の通信線Bの中から少なくともいずれか一方を予め定めておいてよい。   The permission information transmission unit 1902 has received the return information from a communication line that is predetermined so that the transmission information transmission unit 1802 transmits the return information out of the first communication line A and the second communication line B. Determine whether or not. When it is determined that the return information has been received, the permission information transmission unit 1902 determines that the first relay device 180 has recovered and permits the relay unit 1801 of the first relay device 180 to permit relaying. Is transmitted to a predetermined communication line among the first communication line A and the second communication line B. Note that at least one of the first communication line A and the second communication line B may be determined in advance as the communication line through which the permission information transmission unit 1902 transmits the return information.

停止部1903は、第1の通信線A、及び第2の通信線Bの内、送信情報送信部1802が復帰情報を送信するように予め定められた通信線から、復帰情報を受信したか否かを判断する。復帰情報を受信したと判断したとき、停止部1903は、第1の中継装置180が復帰したと判断して、中継部1901の代替中継を停止させる指示を示す停止情報を生成する。   Whether stop unit 1903 has received return information from a communication line that is set in advance so that transmission information transmission unit 1802 transmits return information, among first communication line A and second communication line B. Determine whether. When determining that the return information has been received, the stopping unit 1903 determines that the first relay device 180 has returned, and generates stop information indicating an instruction to stop the alternative relay of the relay unit 1901.

以上が、本実施形態に係る中継システム7の概略構成の説明である。次に、本実施形態に係る中継システム7の処理を、図21、及び図22にそれぞれ示すフローチャートを参照しながら説明する。   The above is the description of the schematic configuration of the relay system 7 according to the present embodiment. Next, processing of the relay system 7 according to the present embodiment will be described with reference to the flowcharts shown in FIGS. 21 and 22, respectively.

図21は、本実施形態に係る第1の中継装置180の処理を示すフローチャートである。尚、図21に示す第1の中継装置180の処理は、第1の中継装置180に異常が生じて中継できなくなった後、異常が解消することによって再び中継できるようになったときに、開始されるものとする。また、図21に示す第1の中継装置180の処理を異常が解消することによって再び中継できるようになったときに開始するには、任意の公知の手法で復帰したことを判断したときに、図21のフローチャートに示す処理が開始されるようにしてもよい。また、第1の中継装置180に生じる異常が一時的な電源の遮断である場合には、第1の中継装置180に電源が投入されたときに図21に示す第1の中継装置180の処理が開始されるようにしてもよい。   FIG. 21 is a flowchart showing processing of the first relay device 180 according to the present embodiment. The processing of the first relay device 180 shown in FIG. 21 starts when the first relay device 180 becomes abnormal and becomes unable to relay, and then when the abnormality is resolved, the relay can be performed again. Shall be. Further, to start the process of the first relay device 180 shown in FIG. 21 when the abnormality can be solved again, when it is determined that the process has been restored by any known method, The processing shown in the flowchart of FIG. 21 may be started. If the abnormality that occurs in the first relay device 180 is a temporary power interruption, the processing of the first relay device 180 shown in FIG. 21 when the first relay device 180 is powered on. May be started.

ステップS201において、第1の中継装置180は、第2の通信線Bから受信する通信情報Tjの種別が、中継部1801の図示しない記憶部に記憶されている通信情報Tjの種別と一致するか否かを送信情報送信部1802で判断する。すなわち、第1の中継装置180は、ステップS201において、第2の通信線Bから中継情報Cj2を受信したか否かを判断する。第1の中継装置180は、ステップS201において、中継情報Cj2を受信したと送信情報送信部1802で判断したとき、ステップS202へ処理を進める。一方、第1の中継装置180は、ステップS201において、中継情報Cj2を受信していないと判断したとき、ステップS201の処理を繰り返す。   In step S201, first relay apparatus 180 determines whether the type of communication information Tj received from second communication line B matches the type of communication information Tj stored in a storage unit (not shown) of relay unit 1801. The transmission information transmission unit 1802 determines whether or not. That is, the first relay device 180 determines whether or not the relay information Cj2 is received from the second communication line B in step S201. When the transmission information transmission unit 1802 determines that the relay information Cj2 is received in step S201, the first relay device 180 advances the process to step S202. On the other hand, when determining that the relay information Cj2 is not received in step S201, the first relay device 180 repeats the process of step S201.

ステップS202において、第1の中継装置180は、当該第1の中継装置180が復帰した後に第2の中継装置190が代替中継をしていると判断して、前述の復帰情報を、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に送信情報送信部1802から送信する。第1の中継装置180は、ステップS202の処理を完了すると、ステップS203へ処理を進める。   In step S202, the first relay device 180 determines that the second relay device 190 is performing an alternative relay after the first relay device 180 has returned, and uses the return information described above as the first return information. Of the communication line A and the second communication line B, the transmission information is transmitted from a transmission information transmission unit 1802 to a predetermined communication line. When the first relay apparatus 180 completes the process of step S202, the process proceeds to step S203.

ステップS203において、第1の中継装置180は、第1の通信線A、及び第2の通信線Bの内、第2の中継装置190の許可情報送信部1902に予め定められた通信線から中継部1801で許可情報を受信したか否かを判断する。第1の中継装置180は、ステップS203において、許可情報を受信したと判断したとき、ステップS204へ処理を進める。一方、第1の中継装置180は、ステップS203において、許可情報を受信していないと判断したとき、ステップS203の処理を繰り返す。   In step S <b> 203, the first relay device 180 relays from a communication line predetermined in the permission information transmission unit 1902 of the second relay device 190 among the first communication line A and the second communication line B. Whether or not permission information is received by unit 1801 is determined. When the first relay device 180 determines in step S203 that the permission information has been received, the first relay device 180 proceeds to step S204. On the other hand, when determining that the permission information is not received in step S203, the first relay device 180 repeats the process of step S203.

ステップS204において、第1の中継装置180は、第2の中継装置190の中継部1901の代替中継が停止したと判断して、中継部1801の中継を再開する。第1の中継装置180は、ステップS204の処理を完了すると、ステップS201へ処理を戻す。   In step S204, the first relay device 180 determines that the alternative relay of the relay unit 1901 of the second relay device 190 has stopped, and restarts the relay of the relay unit 1801. When completing the process of step S204, the first relay device 180 returns the process to step S201.

以上が、本実施形態に係る中継システム7における第1の中継装置180の処理の説明である。次に、本実施形態に係る中継システム7における第2の中継装置190の処理を、図22に示すフローチャートを参照しながら説明する。尚、本実施形態に係る中継システム7における第2の中継装置190は、上述したように任意の手法で第1の中継装置180に異常が生じたことを判断して開始した代替中継のための処理をしながら、並行して図22のフローチャートに示す処理を開始するものとする。   The above is the description of the processing of the first relay device 180 in the relay system 7 according to the present embodiment. Next, the processing of the second relay device 190 in the relay system 7 according to the present embodiment will be described with reference to the flowchart shown in FIG. Note that the second relay device 190 in the relay system 7 according to the present embodiment is an alternative relay that is started by determining that an abnormality has occurred in the first relay device 180 by any method as described above. It is assumed that the processing shown in the flowchart of FIG. 22 is started in parallel with processing.

ステップS301において、第2の中継装置190は、第1の通信線A、及び第2の通信線Bの内、第1の中継装置180の送信情報送信部1802に予め定められた通信線から復帰情報を受信したか否かを、許可情報送信部1902、及び停止部1903でそれぞれ判断する。第2の中継装置190は、ステップS301において、復帰情報を受信したと判断したとき、ステップS302へ処理を進める。一方、第2の中継装置190は、ステップS301において、復帰情報を受信していないと判断したとき、ステップS301の処理を繰り返す。   In step S <b> 301, the second relay device 190 returns from the communication line predetermined in the transmission information transmitting unit 1802 of the first relay device 180 among the first communication line A and the second communication line B. Whether the information is received is determined by the permission information transmission unit 1902 and the stop unit 1903, respectively. When the second relay device 190 determines in step S301 that the return information has been received, the process proceeds to step S302. On the other hand, when determining that the return information is not received in step S301, the second relay device 190 repeats the process of step S301.

ステップS302において、第2の中継装置190は、第1の中継装置180が復帰したと許可情報送信部1902で判断して、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に、許可情報送信部1902から許可情報を送信する。第2の中継装置190は、ステップS302の処理を完了すると、ステップS303へ処理を進める。   In step S <b> 302, the second relay device 190 determines that the first relay device 180 has been restored by the permission information transmission unit 1902, and the first communication line A and the second communication line B are preliminarily determined. The permission information transmission unit 1902 transmits permission information to the determined communication line. When the second relay device 190 completes the process of step S302, the process proceeds to step S303.

ステップS303において、第2の中継装置190は、第1の中継装置180が復帰したと停止部1903で判断して停止情報を生成する。ステップS303において、第2の中継装置190は、停止部1903で停止情報を生成し、生成された停止情報を中継部1901で取得して代替中継を停止する。第2の中継装置190は、ステップS303の処理を完了すると、ステップS301へ処理を戻す。尚、ステップS302における許可情報の送信と、ステップS303における代替中継の停止とは、両方を完了した後ステップS301へ処理を戻せるのであれば、互いに順番を入れ替えてもよいし、互いに略同時にしてもよい。   In step S303, the second relay device 190 determines that the first relay device 180 has returned to the stop unit 1903, and generates stop information. In step S303, the second relay device 190 generates stop information by the stop unit 1903, acquires the generated stop information by the relay unit 1901, and stops the alternative relay. When completing the process in step S303, the second relay device 190 returns the process to step S301. The transmission of the permission information in step S302 and the stop of the alternative relay in step S303 may be interchanged with each other as long as the process can be returned to step S301 after completing both, or substantially simultaneously with each other. Also good.

以上が、本実施形態に係る中継システム7における第1の中継装置180、及び第2の中継装置190の説明である。本実施形態に係る中継システム7によれば、第1の中継装置180に異常が生じた後に復帰したときに、送信情報送信部1802から復帰情報を送信して、第2の中継装置190に受信させることによって、復帰したことを第2の中継装置190に通知するので、第2の中継装置190は、第1の中継装置180が復帰したことを確実に判断できる。   The above is the description of the first relay device 180 and the second relay device 190 in the relay system 7 according to the present embodiment. According to the relay system 7 according to the present embodiment, when the first relay device 180 returns after an abnormality has occurred, the return information is transmitted from the transmission information transmission unit 1802 and received by the second relay device 190. By doing so, the second relay device 190 is notified of the return, so that the second relay device 190 can reliably determine that the first relay device 180 has returned.

さらに、本実施形態に係る中継システム7によれば、第2の中継装置190は、復帰情報を受信して、第1の中継装置180が復帰したと判断したときに、第1の中継装置180に対して中継を許可する許可情報を送信して、代替中継を停止する。第2の中継装置190から送信された許可情報を受信すると、第1の中継装置180は、第2の中継装置190の代替中継が停止したと判断して、中継を再開する。したがって、本実施形態に係る中継システム7によれば、第1の中継装置180が動作しているときには、確実に代替中継を停止できる。   Furthermore, according to the relay system 7 according to the present embodiment, when the second relay device 190 receives the return information and determines that the first relay device 180 has returned, the first relay device 180. The permission information for permitting relay is transmitted to, and the alternative relay is stopped. When the permission information transmitted from the second relay device 190 is received, the first relay device 180 determines that the alternative relay of the second relay device 190 has stopped, and resumes the relay. Therefore, according to the relay system 7 according to the present embodiment, it is possible to reliably stop the alternative relay when the first relay device 180 is operating.

(第5の実施形態の変形例)
上述した第1の中継装置180は、送信情報送信部1802として、第1の実施形態の変形例で説明した動作報告部502を含んでいてもよい。この場合、第1の中継装置180が動作している期間において、当該第1の中継装置180が動作していることを示す動作情報を、任意のタイミング、定期的、或いは当該第1の中継装置180が動作している期間を通じて、動作報告部502から、第1の通信線A、及び第2の通信線Bの内、予め定められた少なくともいずれか一方の通信線に送信情報として送信させる。
(Modification of the fifth embodiment)
The first relay device 180 described above may include the operation report unit 502 described in the modification of the first embodiment as the transmission information transmission unit 1802. In this case, during the period in which the first relay device 180 is operating, the operation information indicating that the first relay device 180 is operating can be obtained at any timing, periodically, or the first relay device. Through the period during which 180 is operating, the operation report unit 502 transmits the transmission information to at least one of the first communication line A and the second communication line B as transmission information.

そして、第2の中継装置190の許可情報送信部1902は、第1の通信線A、及び第2の通信線Bの内、動作報告部502に予め定められた通信線から動作情報を受信したとき、前述の許可情報を、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に送信し、停止部1903は停止情報を生成する。第1の中継装置180の中継部1801は、許可情報送信部1902から送信された許可情報を、許可情報送信部1902に予め定められた通信線から受信したときに、中継を再開する。   Then, the permission information transmission unit 1902 of the second relay device 190 has received the operation information from the communication lines predetermined in the operation report unit 502 among the first communication line A and the second communication line B. At this time, the permission information described above is transmitted to a predetermined communication line among the first communication line A and the second communication line B, and the stop unit 1903 generates stop information. The relay unit 1801 of the first relay device 180 resumes relaying when the permission information transmitted from the permission information transmitting unit 1902 is received from a communication line predetermined by the permission information transmitting unit 1902.

このように、第1の中継装置180が動作している期間において、当該第1の中継装置180から動作情報を送信させることによっても、第5の実施形態に係る中継システム7と同様に、第2の中継装置190は、第1の中継装置180が復帰したことを確実に判断でき、さらに、第1の中継装置180が動作しているときには、確実に代替中継を停止できる。   As described above, even when the operation information is transmitted from the first relay device 180 during the period in which the first relay device 180 is operating, similarly to the relay system 7 according to the fifth embodiment, The second relay device 190 can reliably determine that the first relay device 180 has returned, and can reliably stop the alternative relay when the first relay device 180 is operating.

また、第4の実施形態、第5の実施形態、及び第5の実施形態の変形例において、第2の中継装置(160、190)が代替中継する情報は図示しない記憶部に記憶されている種別の通信情報Tjであってもよいし、第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例で説明した、いずれかの特定情報Ttであってもよい。第2の中継装置(160、190)が、第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例で説明した、いずれかの特定情報Ttの代替中継を停止する場合には、これらの実施形態、或いは変形例で説明した手法で第1の通信線A、及び第2の通信線Bに流れる情報の中から特定情報Ttを識別し、第1の中継装置(150、180)が復帰したと判断したときに代替中継を停止するようにするとよい。   In the fourth embodiment, the fifth embodiment, and the modification of the fifth embodiment, the information relayed by the second relay device (160, 190) is stored in a storage unit (not shown). It may be the type of communication information Tj, and any one of the identifications described in the first to third embodiments and the modification of the first embodiment to the modification of the second embodiment It may be information Tt. Any one of the second relay devices (160, 190) described in the first to third embodiments and the modified examples of the first embodiment to the modified example of the second embodiment When the alternative relay of the information Tt is stopped, the specific information Tt is identified from the information flowing in the first communication line A and the second communication line B by the method described in these embodiments or modifications. The alternative relay may be stopped when it is determined that the first relay device (150, 180) has returned.

また、第4の実施形態、第5の実施形態、及び第5の実施形態の変形例に係る中継システムのそれぞれにおける第1の中継装置(150,180)、及び第2の中継装置(160,190)のそれぞれは、典型的には、通信線との間で通信情報Tjを送受信する図示しない送受信回路と、LSI、CPU、或いはマイクロコンピュータなどの集積回路で主に構成される図示しない電子回路とで構成される。また、前述の送受信回路、及び電子回路のそれぞれは、自動車などの移動体に搭載されるECU(Electric Control Unit)の少なくとも一部、或いは全部を構成する回路であってもよい。   In addition, the first relay device (150, 180) and the second relay device (160, 180) in each of the relay system according to the fourth embodiment, the fifth embodiment, and the modified example of the fifth embodiment. 190) each typically includes a transmission / reception circuit (not shown) that transmits / receives communication information Tj to / from a communication line, and an electronic circuit (not shown) mainly composed of an integrated circuit such as an LSI, CPU, or microcomputer. It consists of. Further, each of the transmission / reception circuit and the electronic circuit described above may be a circuit that constitutes at least a part or all of an ECU (Electric Control Unit) mounted on a moving body such as an automobile.

そして、上述で説明した第1の中継装置(150,180)、及び第2の中継装置(160,190)の機能は、図示しない記憶装置(ROM、RAM、ハードディスクなど)に格納された上述した処理を実施可能な所定のプログラムデータを、上述した電子回路を構成する図示しないLSI、CPU或いはマイクロコンピュータなどによって解釈実行させて実現してもよい。また、この場合、プログラムデータは、記憶媒体を介して記憶装置内に導入されてもよいし、記憶媒体上から直接実行されてもよい。尚、記憶媒体とは、ROMやRAMやフラッシュメモリなどの半導体メモリ、フレキシブルディスクやハードディスクなどの磁気ディスクメモリ、CD−ROMやDVDやBDなどの光ディスクメモリ、及びメモリカードなどであってもよい。   The functions of the first relay device (150, 180) and the second relay device (160, 190) described above are stored in a storage device (ROM, RAM, hard disk, etc.) not shown above. Predetermined program data that can be processed may be realized by being interpreted and executed by an LSI (not shown), CPU, or microcomputer that constitutes the electronic circuit described above. In this case, the program data may be introduced into the storage device via the storage medium, or may be directly executed from the storage medium. The storage medium may be a semiconductor memory such as a ROM, a RAM, or a flash memory, a magnetic disk memory such as a flexible disk or a hard disk, an optical disk memory such as a CD-ROM, a DVD, or a BD, and a memory card.

また、第4の実施形態、第5の実施形態、及び第5の実施形態の変形例において、第1の中継装置(150,180)、及び第2の中継装置(160,190)は、中継情報Cj2として、上述したように、車両(自車両、及び他車両)の搭乗者、及び歩行者などの安全を確保するために重要な情報を中継してもよいことは言うまでもない。   In the fourth embodiment, the fifth embodiment, and the modification of the fifth embodiment, the first relay device (150, 180) and the second relay device (160, 190) are relays. Needless to say, as described above, information Cj2 may relay important information for ensuring the safety of passengers and pedestrians of vehicles (the host vehicle and other vehicles).

また、第4の実施形態、第5の実施形態、及び第5の実施形態の変形例に係る中継システムによれば、第1の中継装置(150,180)に異常が生じて、第2の中継装置(160,190)で代替中継を開始した後、第1の中継装置(150,180)が復帰したときには、第2の中継装置(160,190)の代替中継を停止する。このため、車両などの移動体に第4の実施形態、第5の実施形態、及び第5の実施形態の変形例のいずれかに係る中継システムを車両などの移動体に搭載した場合、車両の振動によりコネクタの嵌合が一時的に解消され第1の中継装置(150,180)の電源が一時的に遮断されて中継できなくなった場合などにも、当該第1の中継装置(150,180)が復帰したときに、第2の通信線に重複した中継情報Cj2が中継されるのを防げる。   In addition, according to the relay system according to the fourth embodiment, the fifth embodiment, and the modification of the fifth embodiment, the first relay device (150, 180) is abnormal, and the second When the first relay device (150, 180) returns after the alternative relay is started by the relay device (160, 190), the alternative relay of the second relay device (160, 190) is stopped. For this reason, when the relay system according to any of the fourth embodiment, the fifth embodiment, and the modified example of the fifth embodiment is mounted on a moving body such as a vehicle, Even when the connector is temporarily disengaged due to vibration and the power supply of the first relay device (150, 180) is temporarily cut off and cannot be relayed, the first relay device (150, 180) can be used. ) Is restored, the relay information Cj2 that is duplicated on the second communication line can be prevented from being relayed.

また、本発明に係る中継システムで中継する情報の通信プロトコルの一例として、CAN(Controller Area Network)プロトコルが挙げられる。本発明に係る中継システムでCANプロトコルにしたがって送受信される情報を中継する場合には、本発明で説明したフレームの送信先、或いは情報の種別などが、CANプロトコルにおける通信ノードの識別子として知られるCAN−IDに相当する。   An example of a communication protocol for information relayed by the relay system according to the present invention is a CAN (Controller Area Network) protocol. When relaying information transmitted / received according to the CAN protocol in the relay system according to the present invention, the transmission destination of the frame described in the present invention, the type of information, or the like is known as an identifier of a communication node in the CAN protocol. -Corresponds to ID.

また、第4の実施形態、第5の実施形態、及び第5の実施形態の変形例において、CANプロトコルにしたがって中継をする場合には、第1の中継装置、及び第2の中継装置から互いに同じCAN−IDのフレーム、すなわち、優先順位の同じフレームを重複して送信しようとして、CANプロトコルにおける調停処理に不都合が生じることを防げる。   Further, in the fourth embodiment, the fifth embodiment, and the modified example of the fifth embodiment, when relaying is performed according to the CAN protocol, the first relay device and the second relay device mutually communicate with each other. It is possible to prevent inconvenience in arbitration processing in the CAN protocol by attempting to transmit frames with the same CAN-ID, that is, frames with the same priority, in duplicate.

また、上述した全ての実施形態は、実施可能なようにそれぞれをどのように組み合わせてもよいことは言うまでもない。   In addition, it goes without saying that all the embodiments described above may be combined in any way so that they can be implemented.

以上、本発明を詳細に説明してきたが、上述の説明はあらゆる点において本発明の一例にすぎず、その範囲を限定しようとするものではない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。   Although the present invention has been described in detail above, the above description is merely an example of the present invention in all respects and is not intended to limit the scope thereof. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention.

本発明に係る中継システムは、中継先のネットワークにおいて同じデータが中継されて重複することを防ぐことができ、例えば、車両に搭載される中継システムなどに有用である。   The relay system according to the present invention can prevent the same data from being relayed and duplicated in a relay destination network, and is useful for a relay system mounted on a vehicle, for example.

1,2,3,4,5,6,7 中継システム
10,70,110,140 第1の端末
20,50,90,120,150,180 第1の中継装置
30,60,80,100,130,160,190 第2の中継装置
40,170 第2の端末
301,601,801,1001,1301 受信部
302,602,802,1002,1302 異常判断部
303,501,603,803,901,1003,1303,1801,1901 中継部
804,1004,1304 記憶部
502 動作報告部
1802 送信情報送信部
1902 許可情報送信部
1903 停止部
1, 2, 3, 4, 5, 6, 7 Relay system 10, 70, 110, 140 First terminal 20, 50, 90, 120, 150, 180 First relay device 30, 60, 80, 100, 130, 160, 190 Second relay device 40, 170 Second terminal 301, 601, 801, 1001, 1301 Reception unit 302, 602, 802, 1002, 1302 Abnormality determination unit 303, 501, 603, 803, 901 1003, 1303, 1801, 1901 Relay unit 804, 1004, 1304 Storage unit 502 Operation report unit 1802 Transmission information transmission unit 1902 Permission information transmission unit 1903 Stop unit

Claims (5)

第1の通信線に流れる通信情報を第2の通信線に中継する中継システムであって、
前記第1の通信線から受信する前記通信情報の中で予め定められた種別の前記通信情報を中継情報として前記第2の通信線に送信して中継する第1の中継装置と、
前記中継情報を前記第2の通信線から受信できないとき、前記第1の中継装置の代わりに前記中継情報を中継する代替中継を開始し、当該代替中継をしているときにおいて、前記第1の中継装置が中継できる状態に復帰したとき、または、中継を再開したときに、前記代替中継を停止する第2の中継装置とを備え、
前記第1の中継装置は、
当該第1の中継装置が中継できる状態に復帰したことを示す復帰情報を前記第1の通信線及び前記第2の通信線の少なくともいずれか一方に送信し、または、当該第1の中継装置が前記中継情報を前記第2の通信線に送信する送信情報送信手段と、
前記第1の中継装置に対して中継を許可する許可情報を受信したとき、前記通信情報の中継を再開する中継再開手段とを含み、
前記第2の中継装置は、
前記代替中継をしているときに、前記第1の通信線及び前記第2の通信線の少なくともいずれか一方から前記復帰情報を受信した場合、または、前記第2の通信線から前記中継情報を受信した場合、前記許可情報を前記第1の通信線及び前記第2の通信線の少なくともいずれか一方に送信する許可情報送信手段と、
前記代替中継をしているときに、前記第1の通信線及び前記第2の通信線の少なくともいずれか一方から前記復帰情報を受信した場合、または、前記第2の通信線から前記中継情報を受信した場合、前記代替中継を停止する停止手段とを含む、中継システム。
A relay system that relays communication information flowing through a first communication line to a second communication line,
A first relay device that transmits and relays the communication information of a predetermined type as the relay information to the second communication line among the communication information received from the first communication line;
When the relay information cannot be received from the second communication line, an alternative relay that relays the relay information is started instead of the first relay device. when the relay device is restored to a state that can be relayed, or, when it resumes relay, Bei example a second relay device for stopping the alternate relay,
The first relay device is
Return information indicating that the first relay device has returned to a state in which relaying is possible is transmitted to at least one of the first communication line and the second communication line, or the first relay device Transmission information transmitting means for transmitting the relay information to the second communication line;
Relay restarting means for restarting relaying of the communication information when receiving permission information permitting relaying to the first relay device;
The second relay device is
When performing the alternative relay, when the return information is received from at least one of the first communication line and the second communication line, or the relay information is received from the second communication line. If received, permission information transmitting means for transmitting the permission information to at least one of the first communication line and the second communication line;
When performing the alternative relay, when the return information is received from at least one of the first communication line and the second communication line, or the relay information is received from the second communication line. A relay system including stop means for stopping the alternative relay when received .
前記第2の中継装置は、前記代替中継をしているときにおいて、前記中継情報を前記第2の通信線から受信したとき、前記代替中継を停止する停止手段とを含む、請求項1に記載の中継システム。 Said second switching device, in case that the substitute relay, when the previous SL relay information received from the second communication line, and a stop means for stopping the alternate relay, to claim 1 The relay system described. 前記送信情報送信手段は、前記第1の中継装置が中継している期間を通じて、当該第1の中継装置が中継していることを示す動作情報を前記第1の通信線及び前記第2の通信線にそれぞれ送信し、
前記許可情報送信手段は、前記代替中継をしているときに、前記第1の通信線及び前記第2の通信線からそれぞれ前記動作情報を受信したとき、前記許可情報を送信し、
前記停止手段は、前記代替中継をしているときに、前記第1の通信線及び前記第2の通信線からそれぞれ前記動作情報を受信したとき、前記代替中継を停止する、請求項に記載の中継システム。
The transmission information transmitting means, through the period of the first switching device is a relay, the first relay device relays to operate information before Symbol first showing that are communicating Sen及 beauty the second To each communication line,
The permission information transmitting means, while the alternate relay, when receiving each said operation information from said first communication Sen及 beauty said second communication line, and sends the permission information,
It said stop means, while the alternate relay, when receiving each said operation information from said first communication Sen及 beauty said second communication line, stopping the alternate relay, to claim 1 The relay system described.
前記第2の中継装置は、前記第1の通信線及び前記第2の通信線からそれぞれ予め定められた互いに同じ種別の同一情報を受信できないとき、前記代替中継を開始する、請求項1に記載の中継システム。 The second relay device, when can not receive the same information from each other the same type predetermined from each of the first communication Sen及 beauty said second communication line, starts the alternative relay, to claim 1 The relay system described. 第1の通信線に流れる通信情報を第2の通信線に中継する中継システムにおいて用いられる中継方法であって、
前記第1の通信線から受信する前記通信情報の中で予め定められた種別の前記通信情報を中継情報として第1の中継装置で前記第2の通信線に送信して中継する中継ステップと、
前記第2の中継装置が前記中継情報を前記第2の通信線から受信できないとき、前記第1の中継装置の代わりに前記中継情報を第2の中継装置によって代替中継する代替中継ステップと、
前記代替中継中に、前記第1の中継装置によって、当該第1の中継装置が中継できる状態に復帰したことを示す復帰情報を前記第1の通信線及び前記第2の通信線の少なくともいずれか一方に送信し、または、当該第1の中継装置が前記中継情報を前記第2の通信線に送信する送信情報送信ステップと、
前記第1の中継装置に対して中継を許可する許可情報を受信したとき、当該第1の中継装置が前記通信情報の中継を再開する中継再開ステップと、
前記代替中継をしているときに、前記第2の中継装置が前記第1の通信線及び前記第2の通信線の少なくともいずれか一方から前記復帰情報を受信した場合、または、前記第2の中継装置が前記第2の通信線から前記中継情報を受信した場合、当該第2の中継装置が前記許可情報を前記第1の通信線及び前記第2の通信線の少なくともいずれか一方に送信する許可情報送信ステップと、
前記代替中継をしているときに、前記第2の中継装置が前記第1の通信線及び前記第2の通信線の少なくともいずれか一方から前記復帰情報を受信した場合、または、前記第2の中継装置が前記第2の通信線から前記中継情報を受信した場合、前記代替中継を停止する停止ステップとを備える、中継方法。
A relay method used in a relay system that relays communication information flowing in a first communication line to a second communication line,
A relay step in which the communication information of a predetermined type among the communication information received from the first communication line is relayed to the second communication line by the first relay device as relay information;
When said second switching device is unable to receive the relay information from the second communication line, alternate relay step of alternate relaying by the relay information to the second relay device instead of the first switching device When,
During the alternative relay, return information indicating that the first relay device has returned to a state in which the first relay device can relay is provided by at least one of the first communication line and the second communication line. A transmission information transmission step of transmitting to one side or the first relay device transmitting the relay information to the second communication line;
A relay restart step in which when the permission information permitting relay to the first relay device is received, the first relay device restarts relaying the communication information;
When the second relay device receives the return information from at least one of the first communication line and the second communication line when performing the alternative relay, or the second relay device When the relay device receives the relay information from the second communication line, the second relay device transmits the permission information to at least one of the first communication line and the second communication line. Permission information transmission step;
When the second relay device receives the return information from at least one of the first communication line and the second communication line when performing the alternative relay, or the second relay device And a stopping step of stopping the alternative relay when the relay device receives the relay information from the second communication line .
JP2009038902A 2009-02-23 2009-02-23 Relay system and relay method Expired - Fee Related JP5267199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009038902A JP5267199B2 (en) 2009-02-23 2009-02-23 Relay system and relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009038902A JP5267199B2 (en) 2009-02-23 2009-02-23 Relay system and relay method

Publications (2)

Publication Number Publication Date
JP2010199662A JP2010199662A (en) 2010-09-09
JP5267199B2 true JP5267199B2 (en) 2013-08-21

Family

ID=42823970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009038902A Expired - Fee Related JP5267199B2 (en) 2009-02-23 2009-02-23 Relay system and relay method

Country Status (1)

Country Link
JP (1) JP5267199B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6578224B2 (en) * 2016-02-22 2019-09-18 ルネサスエレクトロニクス株式会社 In-vehicle system, program and controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1141282A (en) * 1997-07-17 1999-02-12 Hitachi Ltd Redundant repeater
JP2002158665A (en) * 2000-11-16 2002-05-31 Nec Eng Ltd Terminal with communication routing function

Also Published As

Publication number Publication date
JP2010199662A (en) 2010-09-09

Similar Documents

Publication Publication Date Title
US12149379B2 (en) In-vehicle communications system, in-vehicle communication method, and device
JP6578224B2 (en) In-vehicle system, program and controller
US10498635B2 (en) On-board network system
JP2011131762A (en) Control device for data relay, and vehicle control system
JPWO2018225225A1 (en) Vehicle control device
US20060020717A1 (en) Vehicle active network and device
CN111343085B (en) Routing system and method for vehicle-mounted CAN bus gateway
CN112703706B (en) Relay device system and relay device
WO2017073415A1 (en) Vehicle control device and vehicle control system
US7415508B2 (en) Linked vehicle active networks
WO2003021894A1 (en) Vehicle active network with communication path redundancy
WO2003021893A1 (en) Vehicle active network with data redundancy
WO2003021879A1 (en) Vehicle active network topologies
WO2003021910A1 (en) Data packet for a vehicle active network
EP3651418B1 (en) Network system
JP2011213210A (en) Electronic control unit and control system
CN112217703B (en) Vehicle-mounted network system
CN112449321B (en) In-vehicle network system
JP5267199B2 (en) Relay system and relay method
JP7375597B2 (en) In-vehicle ECU, information processing method, and in-vehicle system
JP5120783B2 (en) Relay device, relay method executed by the device, and relay system comprising the device
CN112061182A (en) Train management method and device based on vehicle-vehicle communication
CN117480761A (en) Relay device, relay system, relay method and computer program
JP7031568B2 (en) In-vehicle network system
CN120567755A (en) Communication system and communication method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110901

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130422

R151 Written notification of patent or utility model registration

Ref document number: 5267199

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees