JP5267199B2 - Relay system and relay method - Google Patents
Relay system and relay method Download PDFInfo
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
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.
しかしながら、上記従来技術では、以下に示すような課題を有する。すなわち、上記従来技術において生じる異常には、マネージャ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は、本発明の第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
第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
尚、図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
図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
図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
図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
すなわち、本実施形態における特定情報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
第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
第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
第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
尚、図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
以上が、本実施形態に係る中継システム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
受信部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
異常判断部302は、典型的には、主にCPU(Central Processing Unit)などの集積回路などで構成される演算回路であって、受信部301からフレームf1が転送されたとき、転送されたフレームf1を取得する。異常判断部302は、取得したフレームf1に基づき、後述で説明する手法で、第1の中継装置20に異常が生じているか否かを判断する。異常判断部302は、第1の中継装置20に異常が生じていると判断した後に受信部301から転送されるフレームf1の内、第1の通信線Aを介して受信したことを示す前述の通信線情報Tsが付加された特定情報Ttのフレームf1を中継部303へ転送する。
The
中継部303は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部302によって第1の中継装置20に異常が生じていると判断された後に特定情報Ttのフレームf1が転送されたとき、転送された特定情報Ttのフレームf1を取得する。転送された特定情報Ttのフレームf1を取得すると、中継部303は、取得したフレームf1に付加されている前述の通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf1に含まれる送信先パケットP1によって示される送信先へ当該フレームf1を送信して中継する。
The
以上が、本実施形態に係る第2の中継装置30のより詳細な構成の説明である。次に、本実施形態に係る異常判断部302が第1の中継装置20に異常が生じているか否かを判断する手法について説明する。
The above is description of the more detailed structure of the
本実施形態に係る異常判断部302は、受信部301で第1の通信線Aを介して通信情報Tj、又は特定情報Ttのフレームf1を第1の端末10から受信したときに、第1の通信線Aを介して受信したフレームf1と同一のフレームf1を第2の通信線Bを介して受信したか否かを判断する。
When the
より具体的には、異常判断部302は、受信部301によって第1の通信線Aを介して受信したことを示す前述の通信線情報Tsが付加されたフレームf1を受信部301から転送されると共に、当該フレームf1と同一であって、受信部301によって第2の通信線Bを介して受信したことを示す前述の通信線情報Tsが付加されたフレームf1を受信部301から転送されたか否かを判断する。
More specifically, the
第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
このとき、第2の中継装置30は、受信部301で第1の通信線Aを介して第1の端末10からフレームf1を受信できたとしても、第1の中継装置20によって第2の通信線Bを介して送信されるはずの当該フレームf1と同一のフレームf1を受信部301で受信することができない。
At this time, even if the
したがって、本実施形態に係る異常判断部302は、受信部301で第1の通信線Aを介して第1の端末10からフレームf1を受信すると共に、当該フレームf1と同一のフレームf1を受信部301で第2の通信線Bを介して受信できないときに、第1の中継装置20に異常が生じていると判断できる。
Therefore, the
より具体的には、異常判断部302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から取得すると共に、当該通信情報Tj、又は当該特定情報Ttのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から取得できないときに、第1の中継装置20に異常が生じていると判断できる。
More specifically, the
以上が、本実施形態に係る異常判断部302が第1の中継装置20に異常が生じているか否かを判断する手法の説明である。
The above is the description of the method by which the
尚、本実施形態に係る異常判断部302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1が受信部301から転送されるのと略同時に、当該通信情報Tj、又は当該特定情報Ttのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1が受信部301から転送されないときに、第1の中継装置20に異常が生じていると判断してもよい。
The
また、他の一実施形態に係る異常判断部302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から転送されてから、予め定められた許容期間以内に、当該通信情報Tj、又は当該特定情報Ttのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf1を受信部301から転送されないときに、第1の中継装置20に異常が生じていると判断してもよい。
In addition, the
本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
(第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
図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
動作報告部502は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の中継装置50が動作している期間を通じて、当該第1の中継装置50が動作をしていることを示す動作情報Djのフレームf2を第1の通信線A、及び第2の通信線Bを介して第2の中継装置60にそれぞれ送信する。
The
尚、動作報告部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
図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
尚、図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
受信部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
受信部601は、第1の通信線A、及び第2の通信線Bを介してそれぞれフレームf1、又はフレームf2を受信したとき、受信したフレームf1、又はフレームf2に第1の実施形態で説明した通信線情報Tsを付加して、異常判断部602へ転送する。
When the receiving
異常判断部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
中継部603は、異常判断部602によって第1の中継装置50に異常が生じていると判断された後に特定情報Ttのフレームf1が転送されたとき、転送された特定情報Ttのフレームf1を取得する。転送された特定情報Ttのフレームf1を取得すると、中継部603は、取得したフレームf1に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf1に含まれる送信先パケットP1によって示される送信先へ当該フレームf1を送信して中継する。
The
以上が、本変形例に係る第2の中継装置60のより詳細な構成の説明である。次に、本変形例に係る異常判断部602が第1の中継装置50に異常が生じているか否かを判断する手法について説明する。
The above is description of the more detailed structure of the
本変形例に係る異常判断部602は、第1の中継装置50に異常が生じているか否かを判断するとき、第1の通信線A、及び第2の通信線Bの両方を介して動作報告部502から動作情報Djのフレームf2を受信できるか否かを判断する。
The
より具体的には、異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得すると共に、当該動作情報Djのフレームf1と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得したか否かを判断する。
More specifically, the
上述で説明したように、動作報告部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
したがって、本変形例に係る異常判断部602は、第1の通信線A、及び第2の通信線Bの両方を介して動作報告部502から送信される動作情報Djのフレームf2を受信部601で受信できないときに、第1の中継装置50に異常が生じていると判断できる。
Therefore, the
より具体的には、異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得すると共に、当該動作情報Djのフレームf2と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2を受信部601から取得できないときに、第1の中継装置50に異常が生じていると判断できる。
More specifically, the
以上が、本変形例に係る異常判断部602が第1の中継装置50に異常が生じていることを判断する手法の説明である。
The above is the description of the method by which the
尚、本変形例に係る異常判断部602は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2と、当該動作情報Djのフレームf2と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された動作情報Djのフレームf2との両方を受信部601から略同時に取得できないときに、第1の中継装置50に異常が生じていると判断してもよい。
Note that the
また、他の一変形例に係る動作報告部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
本変形例に係る中継システム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
また、本変形例に係る中継システム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
また、本変形例に係る中継システム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
また、本変形例に係る中継システム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
(第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
第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
また、第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
上述から明らかなように、本実施形態では、第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
図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
図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
尚、図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
図10は、本実施形態に係る第2の中継装置80のより詳細な構成を示すブロック図である。本実施形態に係る第2の中継装置80は、受信部801、異常判断部802、中継部803、及び記憶部804を含む。
FIG. 10 is a block diagram showing a more detailed configuration of the
受信部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
受信部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
異常判断部802は、典型的には、主にCPUなどの集積回路などで構成される演算回路であって、受信部801からフレームf3が転送されたとき、転送されたフレームf3を取得する。本実施形態に係る異常判断部802は、取得したフレームf3に基づき、第1の実施形態に係る異常判断部302と同様の手法で第1の中継装置20に異常が生じているか否かを判断する。
The
すなわち、本実施形態に係る異常判断部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
異常判断部802は、第1の中継装置20に異常が生じていると判断した後、受信部801からフレームf3を転送されたとき、図示しない記憶部804に予め記憶されている情報の種類を参照する。異常判断部802は、受信部801から転送されたフレームf1に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部804に記憶されているとき、当該フレームf3を特定情報Ttのフレームf3として中継部803へ転送する。
The
中継部803は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部802によって第1の中継装置20に異常が生じていると判断された後に特定情報Ttのフレームf3が転送されたとき、転送された特定情報Ttのフレームf3を取得する。転送された特定情報Ttのフレームf3を取得すると、中継部803は、取得したフレームf3に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf3に含まれる送信先パケットP1によって示される送信先へ当該フレームf3を送信して中継する。
The
記憶部804は、典型的には、RAM(Random Access Memory)などの記憶素子であって、受信部801によって第1の通信線Aを介して中継情報Cj1のフレームf4が受信されたときに、当該フレームf4に含まれる中継情報パケットP5によって示されるデータパケットP3の情報の種類を受信部801から転送され、転送された情報の種類を予め記憶する。
The
以上が、本実施形態に係る第2の中継装置30のより詳細な構成の説明である。次に、第1の端末70が中継情報Cj1のフレームf4を送信するタイミングについて説明する。
The above is description of the more detailed structure of the
本実施形態に係る第1の端末70が中継情報Cj1のフレームf4を送信するタイミングは、異常判断部802が第1の中継装置20に異常が生じていると判断した後に受信部801から転送されるフレームf3の内、当該フレームf3に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部804に記憶されているか否かを判断できるように、中継情報Cj1のフレームf4を受信部801で受信して、受信したフレームf4に含まれる中継情報パケットP5によって示される情報の種類を予め記憶部804に転送して記憶させられるのであれば、どのようなタイミングであってもよい。
The timing at which the
例えば、本実施形態に係る第1の端末70は、データパケットP3によって示される情報の種類を1つだけ示す中継情報Cj1のフレームf4を送信するときは、中継情報パケットP5によって示される種類の情報を示すデータパケットP3を含む通信情報Tjのフレームf3(特定情報Ttのフレームf3)を送信する直前に送信してもよい。
For example, when the
また、他の一実施形態において、第1の端末70が、データパケットP3によって示される情報の種類を複数示す中継情報パケットP5を含む中継情報Cj1のフレームf4を送信するときは、予め定められた送信期間が経過する度に中継情報Cj1のフレームf4を繰り返し送信するようにしてもよい。
In another embodiment, when the
また、受信部801が、中継情報Cj1のフレームf4を受信して当該フレームf4に含まれる中継情報によって示される情報の種類を記憶部804に転送して記憶させた後、再び、中継情報Cj1のフレームf4を受信したとき、受信部801は、再び受信した中継情報Cj1のフレームf4に含まれる中継情報によって示される情報の種類を記憶部804に転送して、既に記憶部804に記憶されている情報の種類を上書きして更新してもよいし、上書きせずにさらに追加して記憶させてもよい。
In addition, the receiving
本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
(第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
図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
図13は、本変形例に係る第2の中継装置100のより詳細な構成を示すブロック図である。本変形例に係る第2の中継装置100は、受信部1001と、異常判定部1002と、中継部1003と、記憶部1004とを含む。
FIG. 13 is a block diagram showing a more detailed configuration of the
受信部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
受信部601は、第1の通信線A、又は第2の通信線Bを介してフレームf2、又はフレームf3を受信したとき、受信したフレームf2、又はフレームf3に第1の実施形態で説明した通信線情報Tsを付加して、異常判断部1002へ転送する。
When the
異常判断部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
中継部1003は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部1002によって第1の中継装置90に異常が生じていると判断された後に特定情報Ttのフレームf3が転送されたとき、転送された特定情報Ttのフレームf3を取得する。転送された特定情報Ttのフレームf3を取得すると、中継部1003は、取得したフレームf3に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf3に含まれる送信先パケットP1によって示される送信先へ当該フレームf3を送信して中継する。
The
記憶部1004は、典型的には、RAM(Random Access Memory)などの記憶素子であって、受信部1001によって第1の通信線Aを介して中継情報Cj1のフレームf4が受信されたときに、当該フレームf4に含まれる中継情報パケットP5によって示されるデータパケットP3の情報の種類を受信部1001から転送され、転送された情報の種類を予め記憶する。
The
以上が、本変形例に係る第2の中継装置100のより詳細な構成の説明である。尚、本変形例に係る第1の端末70が中継情報Cj1のフレームf4を送信するタイミングは、第2の実施形態で説明したタイミングと同様であってよい。
The above is description of the more detailed structure of the
本変形例に係る中継システム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
また、本変形例に係る中継システム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
また、本変形例に係る中継システム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
また、本変形例に係る中継システム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
(第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
第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
第1の中継装置120は、第1の通信線A、及び第2の通信線Bにそれぞれ接続されており、第1の端末110から第1の通信線Aを介して通信情報Tjのフレームf3が送信されたとき、送信された通信情報Tjのフレームf3を受信する。フレームf3を受信すると第1の中継装置120は、当該フレームf3に含まれる送信先パケットP1によって示される送信先を参照して、当該フレームf3の送信先に第2の通信線Bを介して送信して中継する。
The
第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
第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
図15は、本実施形態に係る第2の中継装置130のより詳細な構成を示すブロック図である。本実施形態に係る第2の中継装置130は、受信部1301、異常判断部1302、中継部1303、及び記憶部1304を含む。
FIG. 15 is a block diagram showing a more detailed configuration of the
受信部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
異常判断部1302は、典型的には、主にCPUなどの集積回路などで構成される演算回路であって、受信部1301からフレームf3が転送されたとき、転送されたフレームf3を取得する。本実施形態に係る異常判断部1302は、取得したフレームf3に基づき、第1の実施形態に係る異常判断部302と同様の手法で第1の中継装置120に異常が生じているか否かを判断する。
The
すなわち、本実施形態に係る異常判断部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
異常判断部1302は、第1の中継装置120に異常が生じていると判断した後、受信部1301からフレームf3を転送されたとき、後述で説明するように図示しない記憶部1304に予め記憶されている情報の種類を参照する。異常判断部1302は、受信部1301から転送されたフレームf3に含まれるデータパケットP3によって示される情報の種類と一致する情報の種類が記憶部1304に記憶されているとき、当該フレームf3を特定情報Ttのフレームf3として中継部1303へ転送する。
After determining that an abnormality has occurred in the
中継部1303は、典型的には、転送された情報を通信線を介して送信するインターフェース回路であって、異常判断部1302によって第1の中継装置120に異常が生じていると判断された後に特定情報Ttのフレームf3が転送されたとき、転送された特定情報Ttのフレームf3を取得する。転送された特定情報Ttのフレームf3を取得すると、中継部1303は、取得したフレームf3に付加されている通信線情報Tsを除去した後、第2の通信線Bを介して当該フレームf3に含まれる送信先パケットP1によって示される送信先へ当該フレームf3を送信して中継する。
The
記憶部1304は、典型的には、RAM(Random Access Memory)、或いはROM(Read Only Memory)などの記憶素子であって、第1の端末110によって送信される通信情報Tjのフレームf3の内、第2の中継装置130で特定情報Ttとして送信するフレームf3に含まれるデータパケットP3によって示される情報の種類を予め記憶している。
The
つまり、本実施形態に係る中継システム5では、第1の端末110から送信される通信情報Tjのフレームf3の内、記憶部1304に予め記憶されている種類の情報を示すデータパケットP3を含むフレームf3が、特定情報Ttのフレームf3となる。
That is, in the
以上が、本実施形態に係る中継システム5の説明である。
The above is the description of the
尚、本実施形態に係る異常判断部1302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3が受信部1301から転送されるのと略同時に、当該通信情報Tj、又は当該特定情報Ttのフレームf3と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3が受信部1301から転送されないときに、第1の中継装置120に異常が生じていると判断してもよい。
Note that the
また、他の一実施形態に係る異常判断部1302は、第1の通信線Aを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3を受信部1301から転送されてから、予め定められた許容期間以内に、当該通信情報Tj、又は当該特定情報Ttのフレームf3と同一であって、第2の通信線Bを介して受信したことを示す通信線情報Tsが付加された通信情報Tj、又は特定情報Ttのフレームf3を受信部1301から転送されないときに、第1の中継装置120に異常が生じていると判断してもよい。
In addition, the
本実施形態に係る中継システム5によれば、第1の実施形態に係る中継システム1と同様に、2本の通信線を介して同一の情報を受信できないときに、第1の中継装置120の代わりに第2の中継装置130で代替中継するため、より簡単な構成で、データ通信を正常にできなくなることを防げるという効果を得られる。
According to the
また、本実施形態に係る中継システム5によれば、第1の実施形態に係る中継システム1と同様に、第1の中継装置120から当該第1の中継装置120が動作していることを示す情報を生成するための構成を新たに第1の中継装置120に追加することなく、第2の中継装置130で第1の中継装置120に異常が生じていることを判断できるという効果を得られる。
Further, according to the
また、本実施形態に係る中継システム5によれば、第2の中継装置130で特定情報Ttとして送信するフレームf3に含まれるデータパケットP3によって示される情報の種類を記憶部1304に予め記憶させるため、第1の端末110から中継情報を含むフレームを送信させることなく、第1の中継装置120に異常が生じていると判断したときに、特定情報Ttのフレームf3を中継できるという効果を得られる。
Also, according to the
また、本実施形態に係る中継システム5において、第1の実施形態で説明したように、許容期間以内に、第1の通信線Aを介して受信した通信情報Tj、又は特定情報Ttのフレームf3と同一のフレームf3が受信部1301から転送されないときに第1の中継装置120に異常が生じていると判断するようにすれば、第1の中継装置120によって中継されたフレームf3が第2の中継装置130によって受信されるまでの遅延時間が、通信量の一時的な増大などの原因で増加することを考慮して異常判断部1302で第1の中継装置120に異常が生じているか否かを判断することができるという効果をさらに得ることができる。
In the
以上が、第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
また、第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
第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
また、本実施形態における通信情報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
第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
尚、第2の中継装置160が、第1の中継装置150に異常が生じて中継できなくなっていると判断する手法は、任意の公知の手法であってよい。また、第2の中継装置160が、第1の中継装置150に異常が生じて中継できなくなっていると判断する手法として、上述した第1の実施形態乃至第3の実施形態、及び第1の実施形態の変形例乃至第2の実施形態の変形例のいずれかで説明した手法を用いてもよい。
Note that the method in which the
また、第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
また、第2の中継装置160が、任意の公知の手法を用いて第1の中継装置150に異常が生じているか否かを判断する場合には、本実施形態に係る中継システム6が備える第1の端末140、第1の中継装置150、第2の中継装置160、及び第2の端末170のそれぞれは、用いる任意の公知の手法を実現するために必要な構成もさらに含み、用いる任意の公知の手法を実現するために必要な情報の送受信、及び処理などをすることは言うまでもない。
Further, when the
本実施形態に係る第2の中継装置160は、代替中継をしているときに、第2の通信線Bから受信する通信情報Tjの種別を監視する。第2の中継装置160は、第2の通信線Bから受信する通信情報Tjの種別を監視しながら、上述したように第2の中継装置160の図示しない記憶部に記憶されている種別の通信情報Tj、すなわち、中継情報Cj2を受信したと判断したとき、第1の中継装置150に生じていた異常が解消して中継情報Cj2を中継できるように復帰したと判断する。第2の中継装置160は、第1の中継装置150が復帰したと判断すると、代替中継を停止する。
The
第2の端末170は、第2の通信線Bに接続されており、第1の中継装置150によって第2の通信線Bに中継される中継情報Cj2の中から受信するように予め定められた種別の中継情報Cj2を受信する。また、第2の端末170は、第2の中継装置160が代替中継をしている期間を通じて、第2の中継装置160によって第2の通信線Bに中継される中継情報Cj2も同様に受信する。
The
尚、図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
以上が、本実施形態に係る中継システム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
ステップS101において、第2の中継装置160は、上述した任意の手法を用いて、第1の中継装置150に異常が生じているか否かを判断する。第2の中継装置160は、ステップS101において、第1の中継装置150に異常が生じていると判断したとき、ステップS102へ処理を進める。一方、第2の中継装置160は、ステップS101において、第1の中継装置150に異常が生じていないと判断したとき、ステップS101に処理を戻す。
In step S101, the
ステップS102において、第2の中継装置160は、上述した代替中継を開始する。尚、このとき開始された代替中継は、図17のフローチャートに示す処理と並行して行われるものとする。第2の中継装置160は、ステップS102の処理を完了すると、ステップS103へ処理を進める。
In step S102, the
ステップS103において、第2の中継装置160は、第2の通信線Bから通信情報Tjを受信する。第2の中継装置160は、ステップS103において、受信した通信情報Tjの種別と、上述したように図示しない記憶部に記憶している通信情報Tjの種別とを比較することによって、第2の通信線Bから受信する通信情報Tjの種別を監視する。
In step S103, the
ステップ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
ステップS105において、第2の中継装置160は、ステップS102の処理で開始した代替中継を停止する。第2の中継装置160は、ステップS105の処理を完了すると、ステップS101へ処理を戻す。
In step S105, the
以上が、本実施形態に係る中継システム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
また、本実施形態に係る中継システム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
(第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
第1の中継装置180は、当該第1の中継装置180が動作をしているとき、動作をしていることを示す送信情報を、第1の通信線A、及び第2の通信線Bの少なくともいずれか一方に送信する。また、第1の中継装置180は、後述するように第2の中継装置190から送信される許可情報を受信したとき、異常が生じて停止していた中継を再開する。
When the
第1の中継装置180についてより詳細に説明する。図19は、第1の中継装置180のより詳細な構成を示すブロック図である。本実施形態に係る第1の中継装置180は、中継部1801と、送信情報送信部1802とを含む。
The
中継部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
送信情報送信部1802は、第2の通信線Bから受信する通信情報Tjの種別を監視する。送信情報送信部1802は、第2の通信線Bから受信する通信情報Tjの種別を、中継部1801が第4の実施形態に係る第1の中継装置150と同様に図示しない記憶部に記憶している通信情報Tjの種別と比較することによって監視する。
The transmission
送信情報送信部1802は、第2の通信線Bから受信する通信情報Tjの種別と、中継部1801の図示しない記憶部に記憶されている通信情報Tjの種別とを比較して、一致すると判断したとき、送信情報送信部1802を含む第1の中継装置180に異常が生じて中継できなくなった後、第2の中継装置190によって代替中継された中継情報Cj2を受信したと判断する。
The transmission
第2の中継装置190が代替中継をしていると判断すると、送信情報送信部1802は、送信情報送信部1802を含む第1の中継装置180の異常が解消して中継できるように復帰して動作していることを示す復帰情報を前述の送信情報として第1の通信線A、及び第2の通信線Bの少なくともいずれか一方に送信する。尚、送信情報送信部1802が復帰情報を送信する通信線は、第1の通信線A、及び第2の通信線Bの中から少なくともいずれか一方を予め定めておいてよい。
If it is determined that the
第2の中継装置190は、第4の実施形態に係る第2の中継装置160と同様に、上述した任意の手法で第1の中継装置180に異常が生じて中継できなくなっていると判断したときに代替中継を開始する。そして、第2の中継装置190は、代替中継をしているときに、第1の通信線A、及び第2の通信線Bの内、上述したように送信情報送信部1802に予め定められた通信線から、前述の復帰情報を受信したとき、第1の中継装置180に含まれる中継部1801に対して中継を許可する許可情報を、第1の通信線A、及び第2の通信線Bの少なくともいずれか一方に送信する。
Similar to the
第2の中継装置190についてより詳細に説明する。図20は、第2の中継装置190のより詳細な構成を示すブロック図である。本実施形態に係る第2の中継装置190は、中継部1901と、許可情報送信部1902と、停止部1903とを含む。
The
中継部1901は、第4の実施形態に係る第2の中継装置160と同様に、第1の中継装置180に異常が生じている期間を通じて、第1の通信線Aから受信した通信情報Tjの内、図示しない記憶部に記憶されている種別の通信情報Tjを第1の中継装置180の代わりに第2の通信線Bに中継情報Cj2として送信して中継する代替中継をする。また、中継部1901は、後述するように停止部1903によって停止情報が生成されたとき、生成された停止情報を取得して、代替中継を停止する。尚、中継部1901が、第1の中継装置180に異常が生じていると判断する手法は、第4の実施形態で説明したように任意の手法を用いてよい。
Similar to the
許可情報送信部1902は、第1の通信線A、及び第2の通信線Bの内、送信情報送信部1802が復帰情報を送信するように予め定められた通信線から、復帰情報を受信したか否かを判断する。復帰情報を受信したと判断したとき、許可情報送信部1902は、第1の中継装置180が復帰したと判断して、第1の中継装置180の中継部1801に対して中継を許可する許可情報を、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に送信する。尚、許可情報送信部1902が復帰情報を送信する通信線は、第1の通信線A、及び第2の通信線Bの中から少なくともいずれか一方を予め定めておいてよい。
The permission
停止部1903は、第1の通信線A、及び第2の通信線Bの内、送信情報送信部1802が復帰情報を送信するように予め定められた通信線から、復帰情報を受信したか否かを判断する。復帰情報を受信したと判断したとき、停止部1903は、第1の中継装置180が復帰したと判断して、中継部1901の代替中継を停止させる指示を示す停止情報を生成する。
Whether
以上が、本実施形態に係る中継システム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
ステップ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,
ステップS202において、第1の中継装置180は、当該第1の中継装置180が復帰した後に第2の中継装置190が代替中継をしていると判断して、前述の復帰情報を、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に送信情報送信部1802から送信する。第1の中継装置180は、ステップS202の処理を完了すると、ステップS203へ処理を進める。
In step S202, the
ステップ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
ステップS204において、第1の中継装置180は、第2の中継装置190の中継部1901の代替中継が停止したと判断して、中継部1801の中継を再開する。第1の中継装置180は、ステップS204の処理を完了すると、ステップS201へ処理を戻す。
In step S204, the
以上が、本実施形態に係る中継システム7における第1の中継装置180の処理の説明である。次に、本実施形態に係る中継システム7における第2の中継装置190の処理を、図22に示すフローチャートを参照しながら説明する。尚、本実施形態に係る中継システム7における第2の中継装置190は、上述したように任意の手法で第1の中継装置180に異常が生じたことを判断して開始した代替中継のための処理をしながら、並行して図22のフローチャートに示す処理を開始するものとする。
The above is the description of the processing of the
ステップ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
ステップS302において、第2の中継装置190は、第1の中継装置180が復帰したと許可情報送信部1902で判断して、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に、許可情報送信部1902から許可情報を送信する。第2の中継装置190は、ステップS302の処理を完了すると、ステップS303へ処理を進める。
In step S <b> 302, the
ステップS303において、第2の中継装置190は、第1の中継装置180が復帰したと停止部1903で判断して停止情報を生成する。ステップS303において、第2の中継装置190は、停止部1903で停止情報を生成し、生成された停止情報を中継部1901で取得して代替中継を停止する。第2の中継装置190は、ステップS303の処理を完了すると、ステップS301へ処理を戻す。尚、ステップS302における許可情報の送信と、ステップS303における代替中継の停止とは、両方を完了した後ステップS301へ処理を戻せるのであれば、互いに順番を入れ替えてもよいし、互いに略同時にしてもよい。
In step S303, the
以上が、本実施形態に係る中継システム7における第1の中継装置180、及び第2の中継装置190の説明である。本実施形態に係る中継システム7によれば、第1の中継装置180に異常が生じた後に復帰したときに、送信情報送信部1802から復帰情報を送信して、第2の中継装置190に受信させることによって、復帰したことを第2の中継装置190に通知するので、第2の中継装置190は、第1の中継装置180が復帰したことを確実に判断できる。
The above is the description of the
さらに、本実施形態に係る中継システム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
(第5の実施形態の変形例)
上述した第1の中継装置180は、送信情報送信部1802として、第1の実施形態の変形例で説明した動作報告部502を含んでいてもよい。この場合、第1の中継装置180が動作している期間において、当該第1の中継装置180が動作していることを示す動作情報を、任意のタイミング、定期的、或いは当該第1の中継装置180が動作している期間を通じて、動作報告部502から、第1の通信線A、及び第2の通信線Bの内、予め定められた少なくともいずれか一方の通信線に送信情報として送信させる。
(Modification of the fifth embodiment)
The
そして、第2の中継装置190の許可情報送信部1902は、第1の通信線A、及び第2の通信線Bの内、動作報告部502に予め定められた通信線から動作情報を受信したとき、前述の許可情報を、第1の通信線A、及び第2の通信線Bの内、予め定められた通信線に送信し、停止部1903は停止情報を生成する。第1の中継装置180の中継部1801は、許可情報送信部1902から送信された許可情報を、許可情報送信部1902に予め定められた通信線から受信したときに、中継を再開する。
Then, the permission
このように、第1の中継装置180が動作している期間において、当該第1の中継装置180から動作情報を送信させることによっても、第5の実施形態に係る中継システム7と同様に、第2の中継装置190は、第1の中継装置180が復帰したことを確実に判断でき、さらに、第1の中継装置180が動作しているときには、確実に代替中継を停止できる。
As described above, even when the operation information is transmitted from the
また、第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
Claims (5)
前記第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 .
前記許可情報送信手段は、前記代替中継をしているときに、前記第1の通信線及び前記第2の通信線からそれぞれ前記動作情報を受信したとき、前記許可情報を送信し、
前記停止手段は、前記代替中継をしているときに、前記第1の通信線及び前記第2の通信線からそれぞれ前記動作情報を受信したとき、前記代替中継を停止する、請求項1に記載の中継システム。 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.
前記第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 .
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)
| 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)
| 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 |
-
2009
- 2009-02-23 JP JP2009038902A patent/JP5267199B2/en not_active Expired - Fee Related
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 |