JP7704020B2 - Repeater - Google Patents
Repeater Download PDFInfo
- Publication number
- JP7704020B2 JP7704020B2 JP2021193137A JP2021193137A JP7704020B2 JP 7704020 B2 JP7704020 B2 JP 7704020B2 JP 2021193137 A JP2021193137 A JP 2021193137A JP 2021193137 A JP2021193137 A JP 2021193137A JP 7704020 B2 JP7704020 B2 JP 7704020B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- reply
- relay device
- time
- relay
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、リクエスト-リプライ型情報取得通信を行う複数の接続ノード間における通信を中継する中継装置に関する。 The present invention relates to a relay device that relays communication between multiple connection nodes that perform request-reply type information acquisition communication.
従来、例えば自動車などの車両に搭載される電子制御装置は、同じく車両に搭載される他の電子制御装置との間で通信を行うとともに、車両の外部に設けられるデータセンターなどとの間で通信を行うようになっている。なお、本明細書では、電子制御装置のことを、その略称であるECUと称することがある。上記した通信のうち、ECUとデータセンターなどとの間の通信は、例えば車両においてクラウドアプリケーションを利用する際に行われるものであるため、ECUとクラウドアプリケーションとの間の通信と言い換えることができる。 Conventionally, an electronic control device mounted on a vehicle such as an automobile communicates with other electronic control devices also mounted on the vehicle, and also communicates with a data center or the like provided outside the vehicle. In this specification, the electronic control device may be referred to as an ECU, which is an abbreviation for the electronic control device. Of the above-mentioned communications, the communication between the ECU and a data center or the like is performed when using a cloud application in the vehicle, and therefore can be rephrased as communication between the ECU and a cloud application.
特許文献1に開示されるように、このような通信のシステムにおいて、複数のECU間の通信およびECUとクラウドアプリケーションとの間の通信を中継する中継装置として機能するECUが設けられる場合がある。このような中継装置が設けられる通信システムにおいて、ECUおよびクラウドアプリケーションは、中継装置に接続されるノードである。そこで、本明細書では、ECUおよびクラウドアプリケーションのことを接続ノードと総称することがある。
As disclosed in
従来の中継装置では、接続ノードの数が増えることにより通信量が増加すると、中継装置と接続ノードとの間の通信バス負荷が増大し、通信の品質が低下するといった問題が生じるおそれがある。また、従来の中継装置では、通信量が増加すると、接続ノードにおける計算リソースの多くが通信に使われるようになり、肝心の制御処理に割り当てられる計算リソースが少なくなるといった問題が生じるおそれがある。 In conventional relay devices, when the number of connection nodes increases and communication volume increases, the communication bus load between the relay device and the connection nodes increases, which can cause problems such as a decrease in communication quality. In addition, in conventional relay devices, when communication volume increases, many of the computing resources in the connection nodes are used for communication, which can cause problems such as fewer computing resources being allocated to essential control processing.
車載の通信システムにおいては、接続ノード間の通信としてリクエスト-リプライ型情報取得通信が採用されることがある。このような通信が採用されることを想定した場合、従来の中継装置では次のような問題が生じる。すなわち、複数の接続ノードが1つの別の接続ノードに対して同一のリクエストを発行するようなケースが考えられるが、このようなケースでは、中継装置が同じ通信データを同じ送信先に対して複数回転送することになり、その結果、通信に無駄が生じ、通信バス負荷が増大するおそれがある。 In vehicle-mounted communication systems, request-reply type information acquisition communication may be adopted for communication between connection nodes. When this type of communication is adopted, the following problem occurs with conventional relay devices. That is, there may be cases where multiple connection nodes issue the same request to another connection node. In such cases, the relay device will forward the same communication data to the same destination multiple times, which may result in wasteful communication and increased load on the communication bus.
本発明は上記事情に鑑みてなされたものであり、その目的は、接続ノード間における通信負荷およびリクエスト先の接続ノードにおける処理負荷を軽減することができる中継装置を提供することにある。 The present invention has been made in consideration of the above circumstances, and its purpose is to provide a relay device that can reduce the communication load between connection nodes and the processing load at the connection node to which the request is sent.
請求項1に記載の中継装置は、リクエスト-リプライ型情報取得通信を行う複数の接続ノード(3~8)間における通信を中継する。ここで、情報取得を要求するためのリクエストを送信する接続ノードをリクエスト元ノードとし、リクエストを受信するとリクエスト元ノードが要求する情報を含むリプライをリクエスト元ノードに返送する接続ノードをリクエスト先ノードとしたとき、中継装置は、記憶部(11)、記憶処理部(14、23)、判断処理部(15)および中継処理部(16、24)を備える。
The relay device described in
記憶部は、リプライを記憶することができる。記憶処理部は、リクエスト先ノードからリクエスト元ノードへと返送されるリプライを中継すると、そのリプライを記憶部に記憶する記憶処理を実行する。判断処理部は、リクエスト元ノードからリクエスト先ノードへと送信されるリクエストを中継する際に記憶部に記憶されたリプライの中に中継する対象となるリクエストである中継対象リクエストに対応するリプライである対応リプライが存在するか否かを判断する判断処理を実行する。中継処理部は、対応リプライが存在する場合に中継対象リクエストをリクエスト先ノードに送信することなく、記憶部に記憶された対応リプライを中継対象リクエストに対するリプライとしてリクエスト元ノードに返送する返送処理を実行する。記憶処理部(23)は、記憶処理を実行する際、リプライを中継した時刻に対応する時刻であるリプライ時刻を前記リプライに付与して記憶するようになっている。中継処理部(24)は、対応リプライのリプライ時刻から現在時刻までの経過時間が、予め定められた経過許容時間以内の時間であるか否かに基づいて対応リプライが有効であるか否かを判断し、対応リプライの経過時間が経過許容時間以内の時間であり対応リプライが有効であると判断される場合には返送処理を実行し、対応リプライの経過時間が経過許容時間を超える時間であり対応リプライが有効ではないと判断される場合には中継対象リクエストをリクエスト先ノードに送信する中継処理を実行する。経過許容時間には、リクエスト先ノード毎に個別に設定された時間であるAT-Dと、リクエストにより要求される情報毎に個別に設定された時間であるAT-Sと、リクエスト元ノードが送信するリクエスト毎に個別に設定された時間であるAT-Cと、が含まれている。リクエスト元ノードは、リクエストを送信する際、そのリクエストにAT-Cを付与するようになっている。AT-D、AT-SおよびAT-Cについて、対応リプライが有効であるか否かの判断に使用する優先度が定められている。 The storage unit can store the reply. When the storage processing unit relays a reply returned from the request destination node to the request source node, it executes a storage process to store the reply in the storage unit. The determination processing unit executes a determination process to determine whether or not a corresponding reply, which is a reply corresponding to a relay target request, which is a request to be relayed, exists among the replies stored in the storage unit when relaying a request transmitted from the request source node to the request destination node. If a corresponding reply exists, the relay processing unit executes a return process to return the corresponding reply stored in the storage unit as a reply to the relay target request to the request source node without transmitting the relay target request to the request destination node. When executing the storage process, the storage processing unit (23) is configured to store the reply by adding a reply time, which is a time corresponding to the time when the reply was relayed, to the reply. The relay processing unit (24) judges whether the corresponding reply is valid based on whether the elapsed time from the reply time of the corresponding reply to the current time is within a predetermined elapsed time, and executes a return process if the elapsed time of the corresponding reply is within the elapsed time and the corresponding reply is judged to be valid, and executes a relay process to transmit the request to be relayed to the request destination node if the elapsed time of the corresponding reply exceeds the elapsed time and the corresponding reply is judged to be invalid. The elapsed time includes AT-D, which is a time individually set for each request destination node, AT-S, which is a time individually set for each piece of information requested by a request, and AT-C, which is a time individually set for each request transmitted by the request source node. When transmitting a request, the request source node assigns AT-C to the request. Priorities are set for AT-D, AT-S, and AT-C to be used in judging whether the corresponding reply is valid.
このような構成によれば、複数の接続ノードが1つの別の接続ノードに対して同一のリクエストを発行するようなケースにおいて、中継装置が同じ通信データを同じ送信先に対して複数回転送すること、具体的には中継装置が同じリクエストを同じリクエスト先ノードに対して複数回転送することが無くなり、その結果、中継装置とリクエスト先ノードとの間における通信が削減されるとともに、リクエスト先ノードにおける処理負荷が軽減される。したがって、上記構成によれば、接続ノード間における通信負荷およびリクエスト先の接続ノードにおける処理負荷を軽減することができるという優れた効果が得られる。 With this configuration, in cases where multiple connection nodes issue the same request to one other connection node, the relay device will not forward the same communication data to the same destination multiple times, specifically, the relay device will not forward the same request to the same request destination node multiple times, resulting in a reduction in communication between the relay device and the request destination node, and a reduction in the processing load on the request destination node. Therefore, with the above configuration, the excellent effect of reducing the communication load between connection nodes and the processing load on the request destination connection node can be obtained.
以下、本発明の複数の実施形態について図面を参照して説明する。なお、各実施形態において実質的に同一の構成には同一の符号を付して説明を省略する。
(第1実施形態)
以下、第1実施形態について図1~図8を参照して説明する。
Hereinafter, a number of embodiments of the present invention will be described with reference to the drawings. Note that in the respective embodiments, substantially the same configurations are given the same reference numerals and the description thereof will be omitted.
First Embodiment
Hereinafter, the first embodiment will be described with reference to FIGS.
図1に示すように、本実施形態の中継装置1は、例えば自動車などの車両2の通信システムに用いられるものであり、車両2に搭載される複数のECU3~7間における通信および複数のECU3~7と車両2の外部のクラウドアプリケーション8との間における通信を中継する。中継装置1は、車両2に搭載されるECUにより構成されている。中継装置1とECU3~7とは、車載の通信バス9を介して通信可能となっている。また、中継装置1とクラウドアプリケーション8とは、ネットワーク10を介して通信可能となっている。ネットワーク10としては、例えば、移動体通信網、無線LANなどを挙げることができる。
As shown in FIG. 1, the
ECU3~7は、いわゆるドメインECUと呼ばれるものである。ECU3は、先進運転支援システム全体を統合して制御するADASECUである。ECU4は、メータ表示全体を統合して制御するメータECUである。ECU5は、ナビゲーション機能全体を統合して制御するナビゲーションECUである。ECU6は、ボデー系の機器全体を統合して制御するボデーECUである。ECU7は、エンジンの駆動系を統合して制御するエンジンECUである。
なお、以下の説明および図1などの図面では、ECU3、4、5、6および7のことを、それぞれADASECU3、メータECU4、ナビゲーションECU5、ボデーECU6およびエンジンECU7と称することがある。また、図1では、車両2に搭載される一部のドメインECUであるECU3~7だけを図示しているが、実際には、これら以外にもドメインECUが存在している。図示しない他のドメインECUについても、ECU3~7と同様にして、中継装置1により通信が中継される。
In the following explanation and in the drawings such as FIG. 1,
クラウドアプリケーション8は、車両2の外部に設けられたデータセンターなどにより実現される各種のクラウドサービスに相当する。ECU3~7およびクラウドアプリケーション8は、いずれも中継装置1に接続されるノードであり、複数の接続ノードに相当する。これら複数の接続ノードに相当するECU3~7およびクラウドアプリケーション8は、リクエスト-リプライ型情報取得通信を行うようになっている。
Cloud application 8 corresponds to various cloud services implemented by a data center or the like provided outside
以下の説明では、情報取得を要求するためのリクエストを送信する接続ノードをリクエスト元ノードと称することがあるとともに、リクエストを受信するとリクエスト元ノードが要求する情報を含むリプライをリクエスト元ノードに返送する接続ノードをリクエスト先ノードと称することがある。中継装置1は、その基本動作として、次のような中継動作を実行する。すなわち、中継装置1は、リクエスト元ノードから送信されたリクエストを受信すると、そのリクエストをリクエスト先ノードへと中継し、リクエスト先ノードから返送されたリプライを受信すると、そのリプライをリクエスト元ノードへと中継する。
In the following description, a connection node that transmits a request to obtain information may be referred to as a requesting node, and a connection node that receives a request and returns a reply including the information requested by the requesting node to the requesting node may be referred to as a requested destination node. The
中継装置1は、記憶部11、通信部12および制御部13などを備えている。記憶部11は、例えばROM、RAMなど、各種の記憶装置により構成されており、リプライを記憶することができる。なお、記憶部11としては、リプライ以外の各種データを記憶するために別途設けられた記憶装置を利用することも可能である。記憶部11は、少なくともリプライを十分に記憶することができる程度に大きい記憶容量を有する大容量の記憶装置となっている。通信部12は、中継装置1に設けられたネットワークポートを介してECU3~7およびクラウドアプリケーション8との間で通信を行う通信インターフェースである。
The
制御部13は、例えばソフトウェア演算が可能なCPUを含む構成となっている。制御部13は、記憶処理部14、判断処理部15および中継処理部16といった機能ブロックを備えている。これら各機能ブロックは、制御部13が備えるCPUが非遷移的実体的記憶媒体に格納されているコンピュータプログラムを実行してコンピュータプログラムに対応する処理を実行することにより実現されている、つまりソフトウェアにより実現されている。なお、各機能ブロックのうち少なくとも一部をハードウェアにより実現する構成としてもよい。
The
記憶処理部14は、リクエスト先ノードからリクエスト元ノードへと返送されるリプライを中継すると、そのリプライを記憶部11に記憶する記憶処理を実行する。また、記憶処理部14は、記憶処理を実行する際、中継したリプライと同一のリクエストに対応するリプライが記憶部11に既に記憶されていた場合、その記憶されていたリプライを削除するようになっている。
When the
判断処理部15は、リクエスト元ノードからリクエスト先ノードへと送信されるリクエストを中継する際に記憶部11に記憶されたリプライの中に中継対象リクエストに対応する対応リプライが存在するか否かを判断する判断処理を実行する。なお、中継対象リクエストは、中継する対象となるリクエストであり、対応リプライは、中継リクエストに対応するリプライである。中継処理部16は、対応リプライが存在する場合に中継対象リクエストをリクエスト先ノードに送信することなく、記憶部11に記憶された対応リプライを中継対象リクエストに対するリプライとしてリクエスト元ノードに返送する返送処理を実行する。
The
上記構成において接続ノード間でやり取りされるとともに中継装置1が受け付けるリクエストは、例えば図2に示すようなデータ構造となっている。すなわち、リクエストは、リクエストキーを含む。リクエストキーは、リクエスト元ノードが要求する情報を表す文字列であり、取得したい情報に対して一意的に定められる。具体的には、リクエストキーは、例えばGPS位置情報、クラウドアプリステータス、トランクのドアロックステータス、ヘッドライトステータスなどである。
In the above configuration, the request exchanged between the connection nodes and accepted by the
この場合、リクエストキーの内容に応じて、そのリクエストキーの送信先となるリクエスト先ノードが一意に決まるようになっている。例えば、リクエストキーがクラウドアプリステータスである場合、そのリクエストキーを含むリクエストの送信先となるリクエスト先ノードは、クラウドアプリケーション8となる。また、例えば、リクエストキーがトランクのドアロックステータスである場合、そのリクエストキーを含むリクエストの送信先となるリクエスト先ノードは、ボデーECU6となる。 In this case, the request destination node to which the request key is sent is uniquely determined depending on the contents of the request key. For example, if the request key is cloud app status, the request destination node to which the request including the request key is sent is cloud application 8. Also, for example, if the request key is trunk door lock status, the request destination node to which the request including the request key is sent is body ECU 6.
上記構成において接続ノード間でやり取りされるとともに中継装置1が返送するリプライは、例えば図3に示すようなデータ構造となっている。すなわち、リプライは、リクエストキーおよびリプライデータを含む。リクエストキーは、リクエストのリクエストキーに対応する文字列であり、リクエスト先ノードが提供する情報に対して一意的に定められる。リプライデータは、リクエスト先が提供する情報であり、そのデータ形式としては、例えば文字列、数値、バイナリなど、様々な形式を採用することができる。例えば、リクエストキーが「トランクのドアロックステータス」であるときのリプライデータは、「Locked」または「Unlocked」といったデータとなる。
In the above configuration, the reply exchanged between connection nodes and returned by
上記構成において中継装置1が中継したリプライを記憶部11へ保存した保存データは、例えば図4に示すようなデータ構造となっている。すなわち、保存データは、リプライと同様、リクエストキーおよびリプライデータを含む。
In the above configuration, the reply relayed by the
図5に示すように、中継装置21は、ECU3~7およびクラウドアプリケーション8である接続ノードと通信し、次のようなデータの入出力を行う。すなわち、中継装置21は、中継時、リクエスト元ノードである接続ノードNaからリクエストが入力されるとともに、リクエスト先ノードである接続ノードNbへリクエストを出力する。また、中継装置21は、中継処理時、接続ノードNbからリプライが入力されるとともに、接続ノードNaへリプライを出力する。
As shown in FIG. 5, the
このとき、中継装置21は、接続ノードNbから入力されたリプライを記憶部11へ保存する。リプライの保存は、同一のリクエストキーを含む古い保存データに対して上書き保存される形となる。ただし、中継装置21がリクエストを中継せずに記憶部11から対応リプライである保存データを取り出す場合には、接続ノードNbに対する入出力は行われない。
At this time, the
次に、上記構成の中継装置1により実行される通信の中継に関連する処理の流れについて図6を参照して説明する。なお、中継装置1は、図6に示すような内容の処理、つまりリクエスト-リプライ中継処理を所定の周期で繰り返し実行するようになっている。まず、ステップS101では、中継装置1がリクエスト元ノードから送信されたリクエストを受信する。ステップS101の実行後、ステップS102に進む。
Next, the flow of processing related to relaying communication executed by the
ステップS102では、記憶部11に記憶された保存データの中に、受信したリクエストである中継対象リクエストに含まれるリクエストキーと一致するリクエストキーを含むリプライ、つまり対応リプライが存在するか否かが判断される。つまり、ステップS102は、前述した判断処理に対応する処理ステップである。ここで、記憶部11に対応リプライが存在しない場合、ステップS102で「NO」となり、ステップS103に進む。ステップS103では、中継対象リクエストがリクエスト先ノードへと送信される。つまり、ステップS103は、リクエストを中継する中継処理に対応する処理ステップである。
In step S102, it is determined whether or not a reply containing a request key that matches the request key contained in the received request to be relayed, that is, a corresponding reply, is present in the saved data stored in
ステップS103の実行後、ステップS104~S106がこの順に実行される。ステップS104では、中継装置1がリクエスト先ノードから返送されたリプライを受信する。ステップS105では、ステップS104で受信したリプライが保存データとして記憶部11に記憶される。つまり、ステップS105は、前述した記憶処理に対応する処理ステップである。ステップS106では、ステップS104で受信したリプライがリクエスト元ノードへと返送される。ステップS106の実行後、本処理が終了となる。
After step S103 is executed, steps S104 to S106 are executed in this order. In step S104, the
一方、記憶部11に対応リプライが存在する場合、ステップS102で「YES」となり、ステップS107に進む。ステップS107では、記憶部11から対応リプライに相当する保存データが取り出される。ステップS107の実行後、ステップS108に進む。ステップS108では、ステップS107で取り出された対応リプライに相当する保存データが中継対象リクエストに対応するリプライとしてリクエスト元ノードに返送される。ステップS108の実行後、本処理が終了となる。
On the other hand, if a corresponding reply exists in
次に、上記構成の接続ノード間で通信が行われる際における中継装置1による動作について、図7および図8に示す具体的な事例に沿って説明する。なお、図7および図8に示す具体的な事例は、メータECU4がボデーECU6からトランクのドアロックステータスを取得する場合の通信を表している。また、図7および図8などでは、動作説明に不要な構成要素についての図示を省略している。
Next, the operation of the
[1]中継装置が通信を中継してリプライを返送する場合
図7に示すように、中継装置1は、メータECU4から送信された「トランクのドアロックステータス」を表すリクエストキーを含むリクエストを受け取ると、記憶部11の保存データをリプライとして返送可能であるか否かを判断する、つまり前述した判断処理を実行する。この場合、記憶部11に対応リプライが存在しないものとする。そのため、中継装置1は、リクエストをそのままリクエスト先ノードであるボデーECU6に転送する。
[1] When the relay device relays communication and returns a reply As shown in Fig. 7, when the
その後、中継装置1は、リクエスト先ノードであるボデーECU6からリクエストキーに対応したリプライが返送されると、そのリプライをリクエスト元ノードであるメータECU4へ中継する。このとき、中継装置1は、中継したリプライを記憶部11に保存データとして記憶する、つまり前述した記憶処理を実行する。
After that, when the
[2]中継装置が通信を中継せずリプライを返送する場合
図8に示すように、中継装置1は、メータECU4から送信された「トランクのドアロックステータス」を表すリクエストキーを含むリクエストを受け取ると、記憶部11の保存データをリプライとして返送可能であるか否かを判断する、つまり前述した判断処理を実行する。この場合、記憶部11に対応リプライが存在するものとする。そのため、中継装置1は、記憶部11に記憶された保存データを取り出し、その保存データをリプライとしてリクエスト元ノードであるメータECU4へ転送する、つまり前述した返送処理を実行する。この場合、リクエスト先ノードであるボデーECU6は、通信に関連する動作を一切実行しない。
[2] When the relay device returns a reply without relaying communication As shown in Fig. 8, when the
以上説明した本実施形態によれば、次のような効果が得られる。
上記構成によれば、複数の接続ノードが1つの別の接続ノードに対して同一のリクエストを発行するようなケースにおいて、中継装置1が同じ通信データを同じ送信先に対して複数回転送すること、具体的には中継装置1が同じリクエストを同じリクエスト先ノードに対して複数回転送することが無くなり、その結果、中継装置1とリクエスト先ノードとの間における通信のトラフィックが削減されるとともに、リクエスト先ノードにおける処理負荷が軽減される。したがって、本実施形態によれば、接続ノード間における通信負荷およびリクエスト先の接続ノードにおける処理負荷を軽減することができるという優れた効果が得られる。
According to the present embodiment described above, the following effects can be obtained.
According to the above configuration, in a case where multiple connection nodes issue the same request to one other connection node, the
上記構成では、記憶処理部14は、記憶処理を実行する際、中継したリプライと同一のリクエストに対応するリプライが記憶部11に記憶されていた場合、その記憶されていたリプライを削除するようになっている。このようにすれば、中継装置1が同一のリクエストに対応するリプライを複数回中継した場合、それら複数のリプライのうち最も新しいデータだけが記憶部11に残ることになり、古いデータは削除されていくことになる。そのため、上記構成によれば、記憶部11の記憶容量を有効に活用することができ、その結果、記憶部11として、むやみに記憶容量が大きいものを用いる必要がなくなり、その分だけ中継装置1の製造コストを低減することができる。
In the above configuration, when the
(第2実施形態)
以下、第2実施形態について図9~図23を参照して説明する。
図9に示すように、本実施形態の中継装置21は、図1に示した第1実施形態の中継装置1に対し、制御部13に代えて制御部22を備えている点などが異なっている。制御部22は、制御部13に対し、記憶処理部14に代えて記憶処理部23を備えている点、中継処理部16に代えて中継処理部24を備えている点などが異なっている。
Second Embodiment
The second embodiment will be described below with reference to FIGS.
9,
記憶処理部23は、記憶処理を実行する際、リプライを中継した時刻、つまり中継装置1がリプライを受信した時刻に対応する時刻であるリプライ時刻をリプライに付与して記憶するようになっている。中継処理部24は、対応リプライのリプライ時刻から現在時刻までの経過時間が、予め定められた経過許容時間以内の時間である場合には返送処理を実行し、対応リプライの経過時間が経過許容時間を超える時間である場合には中継対応リクエストをリクエスト先ノードに送信する中継処理を実行するようになっている。なお、本明細書では、経過許容時間のことをATと称することがある。
When the
このように、中継装置21は、記憶部11に記憶されている保存データが有効であるか否かをATに基づいて判断する。ATに基づく判断により有効であると判断された保存データは、一定水準の新しさが保証されたデータであると言える。そして、中継装置21は、有効であると判断された保存データだけを対応リプライとしてリクエスト元ノードに返送することができるようになっている。
In this way, the
ATには、リクエスト時にリクエスト元ノードが指定する経過許容時間であるAT-Client、リクエスト先ノードが特定のリクエストに対して予め指定する経過許容時間であるAT-Serviceおよびリクエスト先ノードの規定の経過許容時間であるAT-Defaultがある。なお、以下の説明および図面では、AT-Client、AT-ServiceおよびAT-Defaultのことを、それぞれAT-C、AT-SおよびAT-Dと省略することがある。 The AT has AT-Client, which is the allowable elapsed time specified by the requesting node at the time of the request, AT-Service, which is the allowable elapsed time specified in advance by the request destination node for a particular request, and AT-Default, which is the allowable elapsed time prescribed by the request destination node. Note that in the following explanations and drawings, AT-Client, AT-Service, and AT-Default may be abbreviated as AT-C, AT-S, and AT-D, respectively.
AT-Cは、リクエスト元ノードが送信するリクエスト毎に個別に設定された時間となっている。リクエスト元ノードは、リクエストを送信する際、そのリクエストにAT-Cを付与するようになっている。AT-Sは、リクエストにより要求される情報毎に個別に設定された時間となっている。AT-Dは、リクエスト先ノード毎に個別に設定された時間となっている。 AT-C is a time that is set individually for each request sent by the requesting node. When sending a request, the requesting node assigns an AT-C to the request. AT-S is a time that is set individually for each piece of information requested by a request. AT-D is a time that is set individually for each request receiving node.
図10に示すように、中継装置21は、装置起動時に実行されるコンフィギュレーションなどにおいてAT-Dの設定パラメータが入力される。AT-Dは、接続ノード毎に定められたリプライデータの有効時間を表すものである。このようにして入力されたAT-Dの設定パラメータは、記憶部11に保存される。なお、AT-Dの設定パラメータは、対応リプライである保存データが記憶される記憶部11とは別の記憶装置に保存するようにしてもよい。
As shown in FIG. 10, the setting parameters of AT-D are input to the
AT-Dは、具体的には次のような考え方に基づいて設定されている。例えば、ボデーECU6が提供する情報、つまりリプライデータを中継装置21が10ms以内の精度で提供する必要がある場合、ボデーECU6に対応するAT-Dが10msに設定される。このようにすれば、例えばボデーECUなど要求されるリアルタイム性が比較的高い接続ノードが提供するリプライについては記憶部11に記憶された際の保存データが有効となる期間が短く設定される。また、このようにすれば、例えばクラウドアプリケーションなど要求されるリアルタイム性が比較的低い接続ノードが提供するリプライについては記憶部11に記憶された際の保存データが有効となる期間が長く設定される。
Specifically, the AT-D is set based on the following concept. For example, if the
図11に示すように、中継装置21は、ECU3~7およびクラウドアプリケーション8である接続ノードと通信し、中継装置1と同様のデータの入出力に加え、次のようなデータの入出力を行う。すなわち、中継装置21は、パラメータ設定処理時、リクエスト先ノードである接続ノードNbからAT-Sの設定パラメータが入力される。AT-Sは、リプライデータを返送するリクエスト先ノードが指定するリプライデータの有効時間を表すものである。このようにして入力されたAT-Sの設定パラメータは、記憶部11に保存される。なお、AT-Sの設定パラメータは、対応リプライである保存データが記憶される記憶部11とは別の記憶装置に保存するようにしてもよい。
As shown in FIG. 11,
AT-Sは、具体的には次のような考え方に基づいて設定されている。例えば、車両2のトランクのドアロックステータスを10ms以内の精度でリクエスト元ノードに提供する必要がある場合、トランクのドアロックステータスのAT-Sが10msに設定される。このようにすれば、例えばヘッドライトステータスなど要求されるリアルタイム性が比較的高いリクエストキーに対応するリプライについては記憶部11に記憶された際の保存データが有効となる期間が短く設定される。また、このようにすれば、例えばGPS位置情報など要求されるリアルタイム性が比較的低いリクエストキーに対応するリプライについては記憶部11に記憶された際の保存データが有効となる期間が長く設定される。
Specifically, the AT-S is set based on the following concept. For example, if the trunk door lock status of
上記構成においてコンフィギュレーション時に中継装置21に設定されるAT-Dの設定パラメータは、図12に示すようなデータ構造となっている。すなわち、AT-Dの設定パラメータは、接続ノードとAT-Dとが紐付けられたものとなっている。また、上記構成においてパラメータ設定処理時に中継装置21に通知されるAT-Sの設定パラメータは、図13に示すようなデータ構造となっている。すなわち、AT-Sの設定パラメータは、リクエストキーとAT-Sとが紐付けられたものとなっている。
In the above configuration, the setting parameters of the AT-D set in the
上記構成において接続ノード間でやり取りされるとともに中継装置21が受け付けるリクエストは、例えば図14に示すようなデータ構造となっている。すなわち、リクエストは、リクエストキーおよびAT-Cを含む。AT-Cは、リクエストを送信するリクエスト元ノードが指定するリプライデータの有効時間を表すものである。AT-Cは、具体的には次のような考え方に基づいて設定されている。例えば、リクエストを送信するメータECU4が10ms以内の精度で車両2のトランクのドアロックステータスを取得したい場合、そのリクエストにおけるAT-Cを10msに設定される。なお、リクエストにおけるAT-Cは省略可能である。
In the above configuration, the request exchanged between connection nodes and received by the
上記構成において中継装置21が中継したリプライを記憶部11へ保存した保存データは、例えば図15に示すようなデータ構造となっている。すなわち、保存データは、リクエストキー、リプライデータおよびリプライ時刻を含む。リプライ時刻は、リプライを中継した時刻、つまり中継装置21がリプライを受信した時刻に対応する時刻データである。
In the above configuration, the stored data, which is the reply relayed by the
上記構成において記憶部11に格納される管理テーブルは、例えば図16に示すようなデータとなっている。管理テーブルには、すなわち、AT-DおよびAT-Sが格納されている。前述したように、AT-Dはコンフィギュレーション時に設定されるものであり、AT-Sはパラメータ設定処理時に設定されるものである。接続ノードが通知してきたAT-Sの設定パラメータは動的にAT-Sとして管理テーブルに登録される。AT-Dの管理テーブルは、接続ノードとAT-Dの値とが紐付けられたものとなっている。
In the above configuration, the management table stored in the
具体的には、クラウドアプリケーション8のAT-Dの値は1000ms、ADASECU3、メータECU4およびナビゲーションECU5の各AT-Dの値は100ms、ボデーECU6のAT-Dの値は10msとなっている。AT-Sの管理テーブルは、リクエストキーとAT-Sの値とが紐付けられたものとなっている。具体的には、GPS位置情報のAT-Sの値は100ms、クラウドアプリステータスのAT-Sの値は1000ms、トランクのドアロックステータスのAT-Sの値は50ms、ヘッドライトステータスのAT-Sの値は20msとなっている。
Specifically, the AT-D value of the cloud application 8 is 1000 ms, the AT-D values of the
ECU3~7およびクラウドアプリケーション8である接続ノードは、中継装置21に対して、自身が提供するリプライに対応するAT-Sの設定パラメータを通知するようになっている。このような通知は任意のタイミングで送信可能となっている。中継装置21は、このような通知を受け取ると、受け取ったAT-Sの設定パラメータを前述した管理テーブルへ随時反映するようになっている。
The connection nodes, which are the
次に、上記構成の中継装置21により実行されるパラメータ設定処理について図17を参照して説明する。なお、中継装置21は、図17に示すような内容のパラメータ設定処理を所定の周期で繰り返し実行するようになっている。まず、ステップS201では、中継装置21が接続ノードから通知されたAT-Sの設定パラメータを受信する。ステップS201の実行後、ステップS202に進む。ステップS202では、ステップS201で受信したAT-Sの設定パラメータが管理テーブルに登録される。ステップS202の実行後、本処理が終了となる。
Next, the parameter setting process executed by the
次に、上記構成の中継装置21により実行される通信の中継に関連する処理の流れについて図17および図18を参照して説明する。なお、中継装置21は、図17に示すような内容の処理、つまりリクエスト-リプライ中継処理を所定の周期で繰り返し実行するようになっている。図17に示す本実施形態の中継処理は、図6に示した第1実施形態の中継処理に対し、ステップS201およびS202が追加されている点などが異なっている。
Next, the process flow related to the relay of communication executed by the
本実施形態の中継処理では、記憶部11に対応リプライが存在する場合、ステップS102で「YES」となり、ステップS201に進む。ステップS201では、AT設定処理が実行される。AT設定処理は、AT-D、AT-SおよびAT-Cの中からいずれか1つをステップS202の判断で用いるATとして設定するための処理であり、図18に示すような内容となっている。
In the relay process of this embodiment, if a corresponding reply exists in the
図18に示すように、AT設定処理が開始されると、まずステップS301が実行される。ステップS301では、受信したリクエストにAT-Cが付与されているか否かが判断される。ここで、受信したリクエストにAT-Cが付与されている場合、ステップS301で「YES」となり、ステップS302に進む。ステップS302では、ATとしてAT-Cが設定される。一方、受信したリクエストにAT-Cが付与されていない場合、ステップS301で「NO」となり、ステップS303に進む。 As shown in FIG. 18, when the AT setting process is started, step S301 is executed first. In step S301, it is determined whether or not an AT-C has been assigned to the received request. If an AT-C has been assigned to the received request, step S301 becomes "YES" and the process proceeds to step S302. In step S302, the AT-C is set as the AT. On the other hand, if an AT-C has not been assigned to the received request, step S301 becomes "NO" and the process proceeds to step S303.
ステップS303では、受信したリクエストにより要求される情報、つまり受信したリクエストに含まれるリクエストキーに対応するAT-Sが管理テーブルに存在するか否かが判断される。ここで、受信したリクエストに含まれるリクエストキーに対応するAT-Sが管理テーブルに存在する場合、ステップS303で「YES」となり、ステップS304に進む。ステップS304では、ATとしてAT-Sが設定される。一方、受信したリクエストに含まれるリクエストキーに対応するAT-Sが管理テーブルに存在しない場合、ステップS303で「NO」となり、ステップS305に進む。ステップS305では、ATとしてAT-Dが設定される。ステップS305の実行後、リターンとなる。 In step S303, it is determined whether or not an AT-S corresponding to the information requested by the received request, i.e., the request key included in the received request, exists in the management table. If an AT-S corresponding to the request key included in the received request exists in the management table, step S303 becomes "YES" and the process proceeds to step S304. In step S304, the AT-S is set as the AT. On the other hand, if an AT-S corresponding to the request key included in the received request does not exist in the management table, step S303 becomes "NO" and the process proceeds to step S305. In step S305, an AT-D is set as the AT. After step S305 is executed, the process returns.
AT設定処理からリターンすると、ステップS107に進み、記憶部11から対応リプライに相当する保存データが取り出される。ステップS107の実行後、ステップS202に進む。ステップS202では、ステップS201で設定されたATを用いて、ステップS107で取り出された保存データが有効であるか否かが判断される。この判断は、下記(1)式を満たすか否かに基づいて行われる。ただし、保存データに含まれるリプライ時刻をTrとし、現在時刻をTcとする。
Tr<Tc-AT …(1)
When returning from the AT setting process, the process proceeds to step S107, where stored data corresponding to the corresponding reply is retrieved from the
Tr<Tc-AT...(1)
上記(1)式を満たす場合、保存データのリプライ時刻Trから現在時刻Tcまでの経過時間がAT以内の時間であるため、保存データが有効であると判断することができる。また、上記(1)式を満たさない場合、保存データのリプライ時刻Trから現在時刻Tcまでの経過時間がATを超える時間であるため、保存データが無効であると判断することができる。 If the above formula (1) is satisfied, the time that has elapsed from the reply time Tr of the stored data to the current time Tc is within the AT, and therefore the stored data can be determined to be valid. If the above formula (1) is not satisfied, the time that has elapsed from the reply time Tr of the stored data to the current time Tc exceeds the AT, and therefore the stored data can be determined to be invalid.
ここで、上記(1)を満たす場合、ステップS202で「YES」となり、ステップS108に進み、ステップS107で取り出された対応リプライに相当する保存データが中継対象リクエストに対応するリプライとしてリクエスト元ノードに返送される。一方、上記(1)を満たさない場合、ステップS202で「NO」となり、ステップS103に進み、中継対象リクエストがリクエスト先ノードへと送信される。ステップS103の実行後、ステップS104~S106が順次実行される。ステップS106またはS108の実行後、本処理が終了となる。 If the above (1) is satisfied, step S202 becomes "YES" and the process proceeds to step S108, where the stored data corresponding to the corresponding reply extracted in step S107 is returned to the request source node as a reply corresponding to the request to be relayed. On the other hand, if the above (1) is not satisfied, step S202 becomes "NO" and the process proceeds to step S103, where the request to be relayed is sent to the request destination node. After step S103 is executed, steps S104 to S106 are executed in sequence. After step S106 or S108 is executed, this process ends.
次に、上記構成の接続ノード間で通信が行われる際における中継装置21による動作について、図20~図23に示す具体的な事例に沿って説明する。なお、図20~図23に示す具体的な事例は、メータECU4がボデーECU6からトランクのドアロックステータスを取得する場合の通信を表している。
Next, the operation of the
[1]中継装置が通信を中継してリプライを返送する場合
図20に示すように、中継装置21は、メータECU4から送信された「トランクのドアロックステータス」を表すリクエストキーを含むリクエストを受け取ると、記憶部11の保存データをリプライとして返送可能であるか否かを判断する。この場合、記憶部11に有効な対応リプライが存在しないものとする。そのため、中継装置21は、リクエストをそのままリクエスト先ノードであるボデーECU6に転送する。
[1] When a relay device relays communication and returns a reply, as shown in Fig. 20, when the
その後、中継装置21は、リクエスト先ノードであるボデーECU6からリクエストキーに対応したリプライが返送されると、そのリプライをリクエスト元ノードであるメータECU4へ中継する。このとき、中継装置21は、中継したリプライをリプライ時刻を付与したうえで記憶部11に保存データとして記憶する、つまり前述した記憶処理を実行する。
After that, when the
[2]中継装置が通信を中継せずAT-Cを使用してリプライを返送する場合
図21に示すように、中継装置21は、メータECU4から送信された「トランクのドアロックステータス」を表すリクエストキーを含むリクエストを受け取ると、そのリクエストにAT-Cが付与されているか否かを判断する。リクエストにAT-Cが付与されている場合、AT-Cを使用して記憶部11の保存データをリプライとして返送可能であるか否かを判断する。
[2] When the relay device does not relay communication and returns a reply using AT-C As shown in Fig. 21, when the
この場合、記憶部11に対応リプライが存在し且つ対応リプライのリプライ時刻から現在時刻までの経過時間がAT-Cの値以内の時間であるものとする。そのため、中継装置21は、記憶部11に記憶された保存データを取り出し、その保存データをリプライとしてリクエスト元ノードであるメータECU4へ転送する、つまり前述した返送処理を実行する。この場合、リクエスト先ノードであるボデーECU6は、通信に関連する動作を一切実行しない。
In this case, it is assumed that a corresponding reply exists in the
[3]中継装置が通信を中継せずAT-Sを使用してリプライを返送する場合
図22に示すように、中継装置21は、メータECU4から送信された「トランクのドアロックステータス」を表すリクエストキーを含むリクエストを受け取ると、そのリクエストにAT-Cが付与されているか否かを判断する。リクエストにAT-Cが付与されていない場合、中継装置21は、そのリクエストに含まれるリクエストキーに対応するAT-Sが管理テーブルに存在するか否かを判断する。
[3] When the relay device does not relay communication and returns a reply using AT-S As shown in Fig. 22, when the
リクエストキーに対応するAT-Sが管理テーブルに存在する場合、AT-Sを使用して記憶部11の保存データをリプライとして返送可能であるか否かを判断する。この場合、記憶部11に対応リプライが存在し且つ対応リプライのリプライ時刻から現在時刻までの経過時間がAT-Sの値以内の時間であるものとする。そのため、中継装置21は、記憶部11に記憶された保存データを取り出し、その保存データをリプライとしてリクエスト元ノードであるメータECU4へ転送する、つまり前述した返送処理を実行する。この場合、リクエスト先ノードであるボデーECU6は、通信に関連する動作を一切実行しない。
If an AT-S corresponding to the request key exists in the management table, it is determined whether the data stored in the
[4]中継装置が通信を中継せずAT-Dを使用してリプライを返送する場合
図23に示すように、中継装置21は、メータECU4から送信された「トランクのドアロックステータス」を表すリクエストキーを含むリクエストを受け取ると、そのリクエストにAT-Cが付与されているか否かを判断する。リクエストにAT-Cが付与されていない場合、中継装置21は、そのリクエストに含まれるリクエストキーに対応するAT-Sが管理テーブルに存在するか否かを判断する。リクエストキーに対応するAT-Sが管理テーブルに存在しない場合、AT-Dを使用して記憶部11の保存データをリプライとして返送可能であるか否かを判断する。
[4] Case where the relay device does not relay communication and uses AT-D to return a reply As shown in Fig. 23, when the
なお、管理テーブルに存在する複数のAT-Dのうちどの値を用いるのかは、リクエスト先ノードに応じて定まることになる。この場合、リクエスト先ノードはボデーECU6であるため、ボデーECU6に対応するAT-Dが用いられる。そして、この場合、記憶部11に対応リプライが存在し且つ対応リプライのリプライ時刻から現在時刻までの経過時間がAT-Dの値以内の時間であるものとする。そのため、中継装置21は、記憶部11に記憶された保存データを取り出し、その保存データをリプライとしてリクエスト元ノードであるメータECU4へ転送する、つまり前述した返送処理を実行する。この場合、リクエスト先ノードであるボデーECU6は、通信に関連する動作を一切実行しない。
Which of the multiple AT-D values in the management table is used depends on the request destination node. In this case, the request destination node is the body ECU 6, so the AT-D corresponding to the body ECU 6 is used. In this case, it is assumed that a corresponding reply exists in the
以上説明した本実施形態によれば、第1実施形態と同様の効果に加え、次のような効果が得られる。
上記構成では、記憶処理部23は、記憶処理を実行する際、リプライ時刻をリプライに付与して記憶するようになっており、中継処理部24は、対応リプライのリプライ時刻から現在時刻までの経過時間が予め定められたAT以内の時間である場合には返送処理を実行し、対応リプライの経過時間がATを超える時間である場合には中継対応リクエストをリクエスト先ノードに送信する中継処理を実行するようになっている。つまり、上記構成では、中継処理部24は、ATを用いて対応リプライが有効であるか否かを判断し、対応リプライが有効である場合には返送処理を実行し、対応リプライが無効である場合には中継処理を実行するようになっている。
According to the present embodiment described above, in addition to the same effects as those of the first embodiment, the following effects can be obtained.
In the above configuration, when the
このようにすれば、中継装置21が通信を中継せずに記憶部11に記憶された対応リプライに相当する保存データをリクエスト元ノードへと返送する際、その対応リプライについて一定の水準で新しさを保証することができる。すなわち、上記構成によれば、中継装置21が通信を中継せずに記憶部11に記憶された対応リプライに相当する保存データをリクエスト元ノードへと返送する際、その対応リプライのリアルタイム性を所望する水準で確保することができる。
In this way, when the
ATには、リクエスト先ノード毎に個別に設定された時間であるAT-D、リクエストにより要求される情報毎に個別に設定された時間であるAT-Sおよびリクエスト元ノードが送信するリクエスト毎に個別に設定された時間であるAT-Cが含まれている。中継装置21がAT-Dを用いて対応リプライの有効性を判断する場合、リクエスト元ノードへと返送される対応リプライについて接続ノード毎に予め定められた水準のリアルタイム性を保証することができる。
The AT includes AT-D, which is a time set individually for each request destination node, AT-S, which is a time set individually for each piece of information requested by a request, and AT-C, which is a time set individually for each request sent by the requesting node. When the
また、中継装置21がAT-Sを用いて対応リプライの有効性を判断する場合、リクエスト元ノードへと返送される対応リプライについて保証するリアルタイム性の水準をリクエスト先ノードが指定することが可能となる。また、中継装置21がAT-Cを用いて対応リプライの有効性を判断する場合、リクエスト元ノードへと返送される対応リプライについて保証するリアルタイム性の水準をリクエスト元ノードがリクエストを送信する毎に指定することが可能となる。
In addition, when
AT-D、AT-SおよびAT-Cのうち、AT-Cはリクエストにより要求される情報毎に最も詳細に定められた時間となり、それに次いでAT-Sが詳細に定められた時間となり、AT-Dは最も大まかに定められた時間となる。そこで、この場合、AT-D、AT-SおよびAT-Cについて、有効性の判断に使用する優先度は、AT-Cが最も高く、AT-Sが2番目に高く、AT-Dが最も低くなっている。このようにすれば、各ATのうちリクエストにより要求される情報毎に詳細に定められたATを優先的に用いて対応リプライの有効性を判断することが可能となるため、対応リプライのリアルタイム性について所望する水準をより確実に保証することができる。 Of AT-D, AT-S and AT-C, AT-C is the time that is most specifically defined for each piece of information requested by the request, followed by AT-S as the most specifically defined time, and AT-D as the most roughly defined time. In this case, the priority used to determine validity for AT-D, AT-S and AT-C is AT-C with the highest priority, AT-S with the second highest, and AT-D with the lowest. In this way, it is possible to determine the validity of the corresponding reply by preferentially using the AT that is specifically defined for each piece of information requested by the request, and therefore it is possible to more reliably guarantee the desired level of real-timeness of the corresponding reply.
(その他の実施形態)
なお、本発明は上記し且つ図面に記載した各実施形態に限定されるものではなく、その要旨を逸脱しない範囲で任意に変形、組み合わせ、あるいは拡張することができる。
上記各実施形態で示した数値などは例示であり、それに限定されるものではない。
本発明は、車両2の通信システムに用いられる中継装置1、21に限らず、リクエスト-リプライ型情報取得通信を行う複数の接続ノード間における通信を中継する中継装置全般に適用することができる。
Other Embodiments
The present invention is not limited to the embodiments described above and shown in the drawings, and can be modified, combined, or expanded as desired without departing from the spirit and scope of the present invention.
The numerical values and the like shown in the above embodiments are merely examples and are not intended to be limiting.
The present invention is not limited to the
本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範疇や思想範囲に入るものである。 Although the present disclosure has been described with reference to the embodiment, it is understood that the present disclosure is not limited to the embodiment or structure. The present disclosure also encompasses various modifications and modifications within the scope of equivalents. In addition, various combinations and forms, as well as other combinations and forms including only one element, more than one element, or less than one element, are also within the scope and concept of the present disclosure.
本開示に記載の制御部及びその手法は、コンピュータプログラムにより具体化された一つ乃至は複数の機能を実行するようにプログラムされたプロセッサ及びメモリーを構成することによって提供された専用コンピュータにより、実現されてもよい。あるいは、本開示に記載の制御部及びその手法は、一つ以上の専用ハードウェア論理回路によってプロセッサを構成することによって提供された専用コンピュータにより、実現されてもよい。もしくは、本開示に記載の制御部及びその手法は、一つ乃至は複数の機能を実行するようにプログラムされたプロセッサ及びメモリーと一つ以上のハードウェア論理回路によって構成されたプロセッサとの組み合わせにより構成された一つ以上の専用コンピュータにより、実現されてもよい。また、コンピュータプログラムは、コンピュータにより実行されるインストラクションとして、コンピュータ読み取り可能な非遷移有形記録媒体に記憶されていてもよい。 The control unit and the method described in the present disclosure may be realized by a dedicated computer provided by configuring a processor and a memory programmed to execute one or more functions embodied in a computer program. Alternatively, the control unit and the method described in the present disclosure may be realized by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the control unit and the method described in the present disclosure may be realized by one or more dedicated computers configured by combining a processor and a memory programmed to execute one or more functions with a processor configured with one or more hardware logic circuits. In addition, the computer program may be stored in a computer-readable non-transient tangible recording medium as instructions executed by the computer.
1、21…中継装置、3~7…ECU、8…クラウドアプリケーション、11…記憶部、14、23…記憶処理部、15…判断処理部、16、24…中継処理部。 1, 21... relay device, 3-7... ECU, 8... cloud application, 11... storage unit, 14, 23... storage processing unit, 15... judgment processing unit, 16, 24... relay processing unit.
Claims (2)
情報取得を要求するためのリクエストを送信する前記接続ノードをリクエスト元ノードとし、前記リクエストを受信すると前記リクエスト元ノードが要求する情報を含むリプライを前記リクエスト元ノードに返送する前記接続ノードをリクエスト先ノードとしたとき、
前記リプライを記憶することができる記憶部(11)と、
前記リクエスト先ノードから前記リクエスト元ノードへと返送される前記リプライを中継すると、そのリプライを前記記憶部に記憶する記憶処理を実行する記憶処理部(14、23)と、
前記リクエスト元ノードから前記リクエスト先ノードへと送信される前記リクエストを中継する際に前記記憶部に記憶された前記リプライの中に中継する対象となる前記リクエストである中継対象リクエストに対応する前記リプライである対応リプライが存在するか否かを判断する判断処理を実行する判断処理部(15)と、
前記対応リプライが存在する場合に前記中継対象リクエストを前記リクエスト先ノードに送信することなく、前記記憶部に記憶された前記対応リプライを前記中継対象リクエストに対する前記リプライとして前記リクエスト元ノードに返送する返送処理を実行する中継処理部(16、24)と、
を備え、
前記記憶処理部(23)は、前記記憶処理を実行する際、前記リプライを中継した時刻に対応する時刻であるリプライ時刻を前記リプライに付与して記憶するようになっており、
前記中継処理部(24)は、
前記対応リプライの前記リプライ時刻から現在時刻までの経過時間が、予め定められた経過許容時間以内の時間であるか否かに基づいて前記対応リプライが有効であるか否かを判断し、
前記対応リプライの前記経過時間が前記経過許容時間以内の時間であり前記対応リプライが有効であると判断される場合には前記返送処理を実行し、
前記対応リプライの前記経過時間が前記経過許容時間を超える時間であり前記対応リプライが有効ではないと判断される場合には前記中継対象リクエストを前記リクエスト先ノードに送信する中継処理を実行し、
前記経過許容時間には、前記リクエスト先ノード毎に個別に設定された時間であるAT-Dと、前記リクエストにより要求される前記情報毎に個別に設定された時間であるAT-Sと、前記リクエスト元ノードが送信する前記リクエスト毎に個別に設定された時間であるAT-Cと、が含まれており、
前記リクエスト元ノードは、前記リクエストを送信する際、そのリクエストに前記AT-Cを付与するようになっており、
前記AT-D、前記AT-Sおよび前記AT-Cについて、前記対応リプライが有効であるか否かの判断に使用する優先度が定められている中継装置。 A relay device that relays communication between a plurality of connection nodes (3 to 8) that perform request-reply type information acquisition communication,
The connection node that transmits a request for requesting information acquisition is defined as a request source node, and the connection node that receives the request and returns a reply including the information requested by the request source node to the request source node is defined as a request destination node.
A memory unit (11) capable of storing the reply;
a storage processing unit (14, 23) that executes a storage process for storing the reply in the storage unit when the reply is relayed from the request destination node to the request source node;
a determination processing unit (15) that executes a determination process to determine whether or not a corresponding reply, which is the reply corresponding to a relay target request, which is the request to be relayed, exists among the replies stored in the storage unit when relaying the request transmitted from the request source node to the request destination node;
a relay processing unit (16, 24) that executes a return process of returning the corresponding reply stored in the storage unit to the request source node as the reply to the relay target request without transmitting the relay target request to the request destination node when the corresponding reply exists;
Equipped with
When executing the storage process, the storage processing unit (23) is configured to add a reply time, which is a time corresponding to a time when the reply was relayed, to the reply and store the reply,
The relay processing unit (24)
determining whether the corresponding reply is valid based on whether an elapsed time from the reply time of the corresponding reply to a current time is within a predetermined elapsed allowable time;
If the elapsed time of the corresponding reply is within the elapsed time limit and the corresponding reply is determined to be valid, the return process is executed;
If the elapsed time of the corresponding reply exceeds the permitted elapsed time and the corresponding reply is determined to be invalid, a relay process is executed to transmit the request to be relayed to the request destination node;
The allowable elapsed time includes AT-D, which is a time individually set for each of the request destination nodes, AT-S, which is a time individually set for each of the information requested by the request, and AT-C, which is a time individually set for each of the requests transmitted by the request source node,
the request source node is adapted to attach the AT-C to the request when transmitting the request,
A relay device in which priorities are determined for the AT-D, the AT-S, and the AT-C to be used in determining whether the corresponding reply is valid .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021193137A JP7704020B2 (en) | 2021-11-29 | 2021-11-29 | Repeater |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021193137A JP7704020B2 (en) | 2021-11-29 | 2021-11-29 | Repeater |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023079600A JP2023079600A (en) | 2023-06-08 |
| JP7704020B2 true JP7704020B2 (en) | 2025-07-08 |
Family
ID=86647166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021193137A Active JP7704020B2 (en) | 2021-11-29 | 2021-11-29 | Repeater |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7704020B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011186903A (en) | 2010-03-10 | 2011-09-22 | Fuji Electric Co Ltd | Remote monitoring device and data access method in the device |
| JP2013203236A (en) | 2012-03-28 | 2013-10-07 | Denso Corp | Data output device for vehicle |
| JP2017182665A (en) | 2016-03-31 | 2017-10-05 | 富士通株式会社 | Information processing device, data providing system, data providing method, and data providing program |
| JP2019003463A (en) | 2017-06-16 | 2019-01-10 | パナソニック株式会社 | Node device and cache management method in node device |
-
2021
- 2021-11-29 JP JP2021193137A patent/JP7704020B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011186903A (en) | 2010-03-10 | 2011-09-22 | Fuji Electric Co Ltd | Remote monitoring device and data access method in the device |
| JP2013203236A (en) | 2012-03-28 | 2013-10-07 | Denso Corp | Data output device for vehicle |
| JP2017182665A (en) | 2016-03-31 | 2017-10-05 | 富士通株式会社 | Information processing device, data providing system, data providing method, and data providing program |
| JP2019003463A (en) | 2017-06-16 | 2019-01-10 | パナソニック株式会社 | Node device and cache management method in node device |
Non-Patent Citations (1)
| Title |
|---|
| ボスワーシック デビッド David Boswarthick,M2M基本技術書 第1版 ETSI標準の理論と体系、[原題] M2M Communications、,第1版,株式会社リックテレコム 新関 卓哉,2013年12月26日,P.72-73, 115-132 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023079600A (en) | 2023-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6060782B2 (en) | Relay device | |
| US20120185876A1 (en) | Control device, control method, and computer readable medium | |
| CN118312196A (en) | Gateway device, vehicle network system and firmware update method | |
| US11947824B2 (en) | Electronic control unit, method, and program | |
| US11803364B2 (en) | Server, software updating device, vehicle, software updating system, control method, and non-transitory storage medium | |
| KR20230161889A (en) | Electronic control unit, vehicle information providing method and continuous computer reading storage medium | |
| US20100281010A1 (en) | Relay device, communication system and communication method | |
| CN106973031B (en) | Resource access control method, device and system | |
| CN110574015A (en) | Vehicle-mounted relay device, control program and memory sharing method | |
| CN113810270A (en) | Method and device for realizing SOA (service oriented architecture) of local area network of vehicle-mounted controller | |
| US20190171585A1 (en) | Information processing device, information processing method, and computer program product | |
| JP7124660B2 (en) | In-vehicle system | |
| JP7704020B2 (en) | Repeater | |
| EP3961380A1 (en) | Onboard device, information generating method, non-transitory storage medium, and vehicle | |
| JP7359061B2 (en) | relay device | |
| US8605744B2 (en) | Semiconductor integrated circuit device | |
| US11977503B2 (en) | Control device, onboard system, control method, and non-transitory computer-readable recording medium | |
| CN117215803B (en) | Process communication method and device, electronic equipment and readable storage medium | |
| JP7828268B2 (en) | Network system and network management method | |
| EP4521234A1 (en) | Vehicle control method and device, and vehicle | |
| US12219015B2 (en) | Method and system for data communication network in a vehicle | |
| US20260030339A1 (en) | Communication method, apparatus, and system, and mobile carrier | |
| KR20230004153A (en) | Routing device and method | |
| JP2025128720A (en) | Communication device | |
| WO2020195034A1 (en) | Vehicle-mounted update device, update processing system, update processing method, and processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240409 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241226 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250114 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250219 |
|
| 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: 20250527 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250609 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7704020 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |