Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4957569B2 - Data transfer system - Google Patents
[go: Go Back, main page]

JP4957569B2 - Data transfer system - Google Patents

Data transfer system Download PDF

Info

Publication number
JP4957569B2
JP4957569B2 JP2008015284A JP2008015284A JP4957569B2 JP 4957569 B2 JP4957569 B2 JP 4957569B2 JP 2008015284 A JP2008015284 A JP 2008015284A JP 2008015284 A JP2008015284 A JP 2008015284A JP 4957569 B2 JP4957569 B2 JP 4957569B2
Authority
JP
Japan
Prior art keywords
frame data
time
data
network
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008015284A
Other languages
Japanese (ja)
Other versions
JP2009177614A (en
Inventor
一浩 上原
友久 岸上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2008015284A priority Critical patent/JP4957569B2/en
Publication of JP2009177614A publication Critical patent/JP2009177614A/en
Application granted granted Critical
Publication of JP4957569B2 publication Critical patent/JP4957569B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

本発明は、データを転送するシステムに関する。   The present invention relates to a system for transferring data.

従来、データ転送システムを構成するデータ転送装置としては、イベント・ドリブン型およびタイム・トリガ型など、異なる通信プロトコルによるネットワーク同士を中継し、一方のネットワークから他方のネットワークへデータを転送する際に、通信プロトコルに合わせてデータを変換するものが知られている。   Conventionally, as a data transfer device constituting a data transfer system, when relaying networks between different communication protocols such as an event driven type and a time trigger type, and transferring data from one network to the other network, A device that converts data in accordance with a communication protocol is known.

この種のデータ転送装置では、データ変換がCPU、メモリ、バッファ等の負担になるという問題がある。その問題の解決を目指した従来発明としては、データ変換を効率よく行うように構成されたデータ転送装置が知られている(例えば、特許文献1、2参照)。   In this type of data transfer apparatus, there is a problem that data conversion is a burden on the CPU, memory, buffer, and the like. As a conventional invention aiming at solving the problem, a data transfer device configured to perform data conversion efficiently is known (for example, see Patent Documents 1 and 2).

ここで、イベント・ドリブン型およびタイム・トリガ型の通信プロトコルについて簡単に説明しておく。イベント・ドリブン(事象駆動)型の通信プロトコルは、CAN(Controller Area Network)に代表され、何らかのイベントが生じることでメッセージを送信するプロトコルである。一方、タイム・トリガ型の通信プロトコルはFlexRayに代表され、送信するメッセージについて、送信するスケジュールが予め定められたものである。
特開2005−328119号公報 特開2007−174053号公報
Here, the event-driven and time-triggered communication protocols will be briefly described. An event-driven (event-driven) type communication protocol is represented by a CAN (Controller Area Network), and is a protocol that transmits a message when some event occurs. On the other hand, a time-triggered communication protocol is represented by FlexRay, and a message transmission schedule is determined in advance.
JP 2005-328119 A JP 2007-174053 A

しかしながら、上述した技術では、メモリやバッファの負荷を軽減しきれず、依然として大容量のメモリやバッファが必要であるという問題があった。特に、この問題は、イベント・ドリブン型のネットワークからタイム・トリガ型のネットワークへデータを転送する場合に、顕著に現れる。なぜなら、イベント・ドリブン型のネットワークを構成するノードは、タイム・トリガ型の通信プロトコルが参照するスケジュールとは無関係のタイミングで、データを送信してしまうからである。   However, the above-described technique has a problem in that the load on the memory and buffer cannot be reduced, and a large-capacity memory and buffer are still necessary. In particular, this problem becomes prominent when data is transferred from an event-driven network to a time-triggered network. This is because the nodes constituting the event-driven network transmit data at a timing unrelated to the schedule referred to by the time-triggered communication protocol.

即ち、データ転送装置は、イベント・ドリブン型のネットワークから転送対象のデータを受信してから、タイム・トリガ型のネットワークへの送信がスケジュールによって許可されるまでの間、その転送対象のデータをメモリやバッファに記憶しなければならない。このため、従来技術では、どれだけ効率よくデータを変換しても、大容量のメモリやバッファが必要になるといった問題があった。   That is, the data transfer device stores the transfer target data from the event-driven network until the transmission to the time-triggered network is permitted by the schedule. And must be stored in a buffer. For this reason, the conventional technique has a problem that a large capacity memory or buffer is required no matter how efficiently data is converted.

本発明は、上述した問題に鑑みなされたもので、イベント・ドリブン型のネットワークからタイム・トリガ型のネットワークへデータを転送する際に大容量のメモリを必要としない、データ転送システムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and provides a data transfer system that does not require a large-capacity memory when transferring data from an event-driven network to a time-triggered network. With the goal.

かかる目的を達成するためになされた請求項1のデータ転送システムは、データ転送装置と、第一のネットワークに設けられたノードとからなる。データ転送装置は、イベント・ドリブン型の通信プロトコルによってフレームデータが送受信される第一ネットワーク、及び、タイム・トリガ型の通信プロトコルによってフレームデータが送受信される第二ネットワークに接続されており、予め定められた転送対象のフレームデータを、第一ネットワークから第二ネットワークへ転送する。   The data transfer system according to claim 1 made to achieve this object comprises a data transfer apparatus and a node provided in the first network. The data transfer device is connected to a first network through which frame data is transmitted / received through an event-driven communication protocol and a second network through which frame data is transmitted / received through a time-triggered communication protocol. The transfer target frame data is transferred from the first network to the second network.

尚、上記タイム・トリガ型の通信プロトコルは、予め定められたスケジュールに従い、各フレームデータを規定の時刻に、第二ネットワークへ送信するように定められた通信プロトコルである。また、第一のネットワークに設けられたノードは、上記イベント・ドリブン型の通信プロトコルに従い、フレームデータの送受信を実行する。   The time-triggered communication protocol is a communication protocol determined to transmit each frame data to the second network at a specified time according to a predetermined schedule. In addition, a node provided in the first network executes transmission / reception of frame data according to the event-driven communication protocol.

一方、データ転送装置は、第一通信手段と、第二通信手段と、判断手段と、要求手段と、を備える。第一通信手段は、第一ネットワークに対してフレームデータの送受信が可能な構成にされ、第二通信手段は、第二ネットワークに対してフレームデータの送信が可能な構成にされている。   On the other hand, the data transfer device includes a first communication unit, a second communication unit, a determination unit, and a request unit. The first communication means is configured to transmit and receive frame data to the first network, and the second communication means is configured to transmit frame data to the second network.

また、判断手段は、第二ネットワークを伝送しているフレームデータが、スケジュールに予め定められたフレームデータの内の何れのフレームデータであるかの情報を取得可能に構成されている。即ち、判断手段は、上記取得した情報とスケジュールとを照合することで、現在時刻が、転送対象のフレームデータに対してタイム・トリガ型の通信プロトコルにより定められた送信開始時刻の所定時間前の時刻であるか否かを判断する。   Further, the determination means is configured to be able to acquire information as to which frame data is the frame data transmitted through the second network among the frame data predetermined in the schedule. That is, the judging means collates the acquired information with the schedule so that the current time is a predetermined time before the transmission start time determined by the time-triggered communication protocol for the frame data to be transferred. It is determined whether it is time.

そして、要求手段は、判断手段によって、現在時刻が、転送対象のフレームデータに対してタイム・トリガ型の通信プロトコルにより定められた送信開始時刻の所定時間前の時刻であると判断されると、以下の動作を実行する。その動作とは、当該転送対象のフレームデータを要求するための要求フレームデータを生成すると共に、上記転送対象のフレームデータを当該データ転送装置に対して送信可能な第一ネットワーク内のノードに向けて、生成した要求フレームデータを、第一通信手段に送信させることである。   When the requesting unit determines that the current time is a predetermined time before the transmission start time determined by the time-triggered communication protocol for the frame data to be transferred by the determining unit, The following operations are performed. The operation is to generate request frame data for requesting the frame data to be transferred and to the node in the first network capable of transmitting the frame data to be transferred to the data transfer apparatus. The generated request frame data is transmitted to the first communication means.

また、第一ネットワークに設けられた当該データ転送システムを構成するノードは、要求フレームデータを受信すると、要求フレームデータの要求内容に従って、転送対象のフレームデータを、第一ネットワークを介して、データ転送装置に向けて送信する。   In addition, when a node constituting the data transfer system provided in the first network receives the request frame data, the frame data to be transferred is transferred via the first network according to the request frame data request content. Send to device.

そして、第二通信手段は、第一通信手段が第一ネットワークを通じて受信した転送対象のフレームデータを、スケジュールに従って、規定の時刻に第二ネットワークに送信する。   Then, the second communication means transmits the frame data to be transferred received by the first communication means through the first network to the second network at a specified time according to the schedule.

つまり、このデータ転送システムは、タイム・トリガ型の通信プロトコルのスケジュールに合わせて、イベント・ドリブン型の通信プロトコルによって通信するノードに、転送対象のフレームデータの送信を要求するように構成されている。   In other words, this data transfer system is configured to request transmission of frame data to be transferred from a node that communicates using an event-driven communication protocol in accordance with the schedule of the time-triggered communication protocol. .

従って、従来技術では、転送対象のフレームデータを第一ネットワークから受信してから第二ネットワークへ送信するまでの時間がランダムであったのに対して、本発明では、それを制御することができる。   Therefore, in the prior art, the time from when the frame data to be transferred is received from the first network to when it is transmitted to the second network is random, but in the present invention, it can be controlled. .

よって、本発明によれば、当然に、転送対象のフレームデータを記憶するための記憶媒体の容量を小さくできる。
また、請求項1のデータ転送システムは、請求項2に記載のように構成されるとよい。請求項2におけるデータ転送装置は、判断手段および要求手段が繰り返し動作するように構成されると共に、禁止手段を備える。
Therefore, according to the present invention, naturally, the capacity of the storage medium for storing the frame data to be transferred can be reduced.
The data transfer system according to claim 1 may be configured as described in claim 2. The data transfer apparatus according to the second aspect is configured such that the determination unit and the request unit repeatedly operate, and includes a prohibition unit.

この禁止手段は、要求フレームデータを送信してから予め定められた時間内に、要求フレームデータにより要求した転送対象のフレームデータを、第一通信手段が受信しなかった場合、第一通信手段が受信しなかった転送対象のフレームデータを要求する要求フレームデータの次回以降の生成を、要求手段に対して禁止させることが可能に構成されている。   If the first communication means does not receive the frame data to be transferred requested by the request frame data within a predetermined time after transmitting the request frame data, the prohibition means It is configured to be able to prohibit the requesting means from generating the next requested frame data for requesting the frame data to be transferred that has not been received.

つまり、このデータ転送システムは、要求フレームデータを送信しても返ってこないとき、要求フレームデータを送信するのを、次から禁止する。従って、本発明によれば、要求先のノードが停止している場合などに、データ転送装置の処理能力を無駄に使用することを防ぐことができる。   That is, this data transfer system prohibits transmission of request frame data from the next when it does not return even if request frame data is transmitted. Therefore, according to the present invention, it is possible to prevent wasteful use of the processing capacity of the data transfer apparatus when the requested node is stopped.

また、請求項1又は請求項2に記載のデータ転送システムは、請求項3に記載のように構成されるとよい。請求項3におけるデータ転送システムにおいて、要求手段は、生成する要求フレームデータに待機時間の情報を格納する。そして、ノードは、待機時間の情報が格納された要求フレームデータを受信すると、当該要求フレームデータを受信した時点から、当該要求フレームデータが示す待機時間の経過後に、当該要求フレームデータにより要求された転送対象のフレームデータを、データ転送装置に向けて送信する。   The data transfer system according to claim 1 or 2 may be configured as described in claim 3. In the data transfer system according to claim 3, the requesting unit stores the waiting time information in the request frame data to be generated. When the node receives the request frame data in which the waiting time information is stored, the node is requested by the request frame data after the waiting time indicated by the request frame data has elapsed from the time when the request frame data is received. The frame data to be transferred is transmitted to the data transfer device.

つまり、本発明のデータ転送システムによれば、要求フレームデータを受信したノードに、待機時間の情報が示す時間、転送対象のフレームデータの送信を待機させることができる。従って、データ転送装置の処理負荷が小さいときに要求フレームデータを送信して、転送対象のフレームデータの送信をノードに対して予約できるので、当該データ転送装置の処理負荷の平準化を図ることができる。   That is, according to the data transfer system of the present invention, it is possible to cause the node that has received the requested frame data to wait for transmission of the frame data to be transferred for the time indicated by the waiting time information. Accordingly, since the request frame data can be transmitted when the processing load of the data transfer apparatus is small and transmission of the frame data to be transferred can be reserved for the node, the processing load of the data transfer apparatus can be leveled. it can.

また、請求項1から請求項3までの何れかに記載のデータ転送システムは、請求項4に記載のように構成されるとよい。請求項4におけるデータ転送装置は、予測手段を備える。   The data transfer system according to any one of claims 1 to 3 may be configured as described in claim 4. According to a fourth aspect of the present invention, there is provided a data transfer device comprising a prediction means.

この予測手段は、要求フレームデータ生成手段が要求フレームデータを生成してから、第二通信手段が転送対象のフレームデータを第二ネットワークに送信可能になるまでの時間である遅延時間を予測する。そして、判断手段は、所定時間を、予測手段によって予測された上記遅延時間とする。   The prediction means predicts a delay time which is a time from when the request frame data generation means generates the request frame data until the second communication means can transmit the frame data to be transferred to the second network. Then, the determination unit sets the predetermined time as the delay time predicted by the prediction unit.

つまり、このデータ転送システムによれば、要求フレームデータを送信する時刻を、遅延時間に基づいて変更することができる。従って、この発明によれば、遅延時間を予め長めに設定しておく必要がなく、転送対象のフレームデータを、第一通信手段を通じて受信してから、直ぐに、第二通信手段を通じて送信することができ、記憶媒体の容量をさらに小さくできる。   That is, according to this data transfer system, the time for transmitting the request frame data can be changed based on the delay time. Therefore, according to the present invention, there is no need to set a long delay time in advance, and the frame data to be transferred can be transmitted through the second communication unit immediately after being received through the first communication unit. The capacity of the storage medium can be further reduced.

尚、請求項4に記載の予測手段は、具体的に、請求項5に記載のように構成されるとよい。請求項5記載のデータ転送システムにおける予測手段は、第一ネットワークの負荷を測定するネットワーク負荷測定手段を備え、ネットワーク負荷測定手段の測定結果に基づいて、遅延時間を予測する。   Note that the predicting means described in claim 4 may be specifically configured as described in claim 5. The predicting means in the data transfer system according to claim 5 comprises network load measuring means for measuring the load of the first network, and predicts the delay time based on the measurement result of the network load measuring means.

つまり、本発明のデータ転送システムでは、遅延時間がネットワーク負荷に依存することを利用して、ネットワーク負荷を測定すると共に、この測定結果を、遅延時間の予測に役立てる。従って、確からしい遅延時間に基づいて要求フレームデータを送信でき、記憶媒体の容量をさらに小さくできる。   That is, in the data transfer system of the present invention, the network load is measured by utilizing the fact that the delay time depends on the network load, and the measurement result is used for prediction of the delay time. Therefore, the request frame data can be transmitted based on the probable delay time, and the capacity of the storage medium can be further reduced.

また、請求項4又は請求項5に記載のデータ転送システムは、具体的に、請求項6のように構成されてもよい。請求項6におけるデータ転送装置は、CPU及びCPUにより実行されるプログラムを記憶するプログラム記憶手段(メモリ等)を備える。そして、このCPUは、プログラム記憶手段に記憶されたプログラムを実行することにより、判断手段、要求手段および予測手段としての機能を実現する。また、このプログラムは、予測手段に対応する処理として、CPUの処理負荷を測定し、処理負荷の測定結果に基づき、遅延時間を予測する処理を、CPUが実行可能なように構成されている。   The data transfer system according to claim 4 or claim 5 may be specifically configured as in claim 6. A data transfer apparatus according to a sixth aspect includes a CPU and a program storage unit (memory or the like) for storing a program executed by the CPU. And this CPU implement | achieves the function as a judgment means, a request means, and a prediction means by running the program memorize | stored in the program memory means. Further, this program is configured so that the CPU can execute a process of measuring the processing load of the CPU as a process corresponding to the predicting unit and predicting the delay time based on the measurement result of the processing load.

データ転送装置の全部または一部の手段をソフトウェアで実現するときに、遅延時間は、CPUの処理負荷に依存する。従って、本発明では、これを利用して、CPUの処理負荷を測定し、遅延時間の予測に役立てるようにしている。従って、このデータ転送システムによれば、遅延時間の確からしい予想に基づいて、要求フレームデータの送信時刻を決定でき、記憶媒体の容量をさらに小さくできる。   When all or part of the means of the data transfer apparatus is realized by software, the delay time depends on the processing load of the CPU. Therefore, in the present invention, this is used to measure the processing load on the CPU and to help estimate the delay time. Therefore, according to this data transfer system, the transmission time of the requested frame data can be determined based on a probable prediction of the delay time, and the capacity of the storage medium can be further reduced.

以下、本発明の実施例について、図面と共に説明する。図1は、本発明が適用されたデータ転送システム1の構成を表すブロック図である。このデータ転送システム1は、複数のノード(ノード111、113、115、…、121、123、125、…、211、213、215、…、221、223、225、…)と、データ転送装置2と、複数のバス(バスB11、B12、B21、B22…)と、からなる。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a data transfer system 1 to which the present invention is applied. The data transfer system 1 includes a plurality of nodes (nodes 111, 113, 115, ..., 121, 123, 125, ..., 211, 213, 215, ..., 221, 223, 225, ...) and a data transfer device 2. And a plurality of buses (buses B11, B12, B21, B22...).

詳述すると、これら複数のノードは、二種類に分類される。一つ目は、イベント・ドリブン型の通信プロトコルであるCANによって通信するように構成されたノードであり、第一ネットワークに属するもの(ノード111、113、115、…、121、123、125、…)である。二つ目は、タイム・トリガ型の通信プロトコルであるFlexRayによって通信するように構成されたノードであり、第二ネットワークに属するもの(ノード211、213、215、…、221、223、225、…)である。   More specifically, the plurality of nodes are classified into two types. The first is a node configured to communicate by CAN, which is an event-driven communication protocol, and belongs to the first network (nodes 111, 113, 115, ..., 121, 123, 125, ...). ). The second is a node configured to communicate by FlexRay, which is a time-triggered communication protocol, and belongs to the second network (nodes 211, 213, 215, ..., 221, 223, 225, ...). ).

これら各ノード(ノード111、113、115、…、121、123、125、…、211、213、215、…、221、223、225、…)は、何れかのバス(バスB11、B12、B21、B22…)に接続され、そのバスを介して他のノードとフレームデータの送受信を行う構成にされている。   Each of these nodes (nodes 111, 113, 115, ..., 121, 123, 125, ..., 211, 213, 215, ..., 221, 223, 225, ...) is one of the buses (buses B11, B12, B21). , B22..., And is configured to transmit / receive frame data to / from other nodes via the bus.

尚、以下においては、上述したバスのうち、第一ネットワークに属するものの集合を第一バス群B1と呼び、第二ネットワークに属するものの集合を第二バス群B2と呼ぶことにする。   In the following, among the buses described above, a set belonging to the first network is referred to as a first bus group B1, and a set belonging to the second network is referred to as a second bus group B2.

また、データ転送装置2は、制御部3と複数の通信部(通信部11、12、…、21、22、…)とから構成されている。具体的には、制御部3は、CPU5、ROM7、RAM8及びNVRAM9を備える周知のマイクロコンピュータである。   The data transfer apparatus 2 includes a control unit 3 and a plurality of communication units (communication units 11, 12,..., 21, 22,...). Specifically, the control unit 3 is a known microcomputer including a CPU 5, a ROM 7, a RAM 8, and an NVRAM 9.

また、各通信部(通信部11、12、…、21、22、…)は、バス(バスB11、B12、…、B21、B22…)の何れかと制御部3とを連結する、周知のハードウェア(通信インタフェース)によって構成されている。そして、これら各通信部は、以下の機能を有する。その機能とは、自身に接続されたバスを伝送するフレームデータを抽出して制御部3に送ったり、制御部3からフレームデータを受け取り、それを連結された上記バスに出力したり、そのバスにどのフレームデータが伝送しているかを監視したりする機能である。   Each communication unit (communication unit 11, 12,..., 21, 22,...) Is a well-known hardware that connects any of the buses (buses B11, B12,..., B21, B22...) And the control unit 3. Hardware (communication interface). Each of these communication units has the following functions. The function is to extract the frame data transmitted on the bus connected to itself and send it to the control unit 3, receive the frame data from the control unit 3, and output it to the connected bus, This is a function for monitoring which frame data is being transmitted.

各通信部は、さらに、バス負荷測定部(バス負荷測定部110、120、…、210、220…)を備える。このバス負荷測定部は、自身が属する通信部に接続されたバスのバス負荷を監視し、その情報を制御部3に送る機能を有する。   Each communication unit further includes a bus load measurement unit (bus load measurement units 110, 120, ..., 210, 220 ...). The bus load measuring unit has a function of monitoring the bus load of the bus connected to the communication unit to which it belongs and sending the information to the control unit 3.

このような構成によって、データ転送装置2は、第一ネットワーク及び第二ネットワークに接続されると共に、第一ネットワークと第二ネットワークとの間で送受信されるフレームデータを転送するように構成されている。詳しくは後述する。   With such a configuration, the data transfer device 2 is connected to the first network and the second network, and is configured to transfer frame data transmitted and received between the first network and the second network. . Details will be described later.

次に、図2を用いてバスB11に接続されたノード111の構成を説明する。図2は、ノード111の構成を表した図である。ノード111は、制御部1113と通信部1110とから構成されている。制御部1113は、CPU1115、ROM1117及びRAM1118を備える周知のマイクロコンピュータである。そして、上述したように、CANによってフレームデータを送信するように構成されている。   Next, the configuration of the node 111 connected to the bus B11 will be described with reference to FIG. FIG. 2 is a diagram showing the configuration of the node 111. The node 111 includes a control unit 1113 and a communication unit 1110. The control unit 1113 is a known microcomputer including a CPU 1115, a ROM 1117, and a RAM 1118. As described above, frame data is transmitted by CAN.

また、通信部1110は、ハードウェア(CAN用の通信インタフェース)によって構成され、バスB11と制御部1113とを連結している。そして、CANプロトコルに従い、バスB11を伝送するフレームデータを抽出して制御部1113に送ったり、制御部1113からフレームデータを受け取り、バスB11に出力したりする。   The communication unit 1110 is configured by hardware (a CAN communication interface), and connects the bus B11 and the control unit 1113. Then, according to the CAN protocol, the frame data transmitted on the bus B11 is extracted and sent to the control unit 1113, or the frame data is received from the control unit 1113 and output to the bus B11.

因みに、第一バス群B1の何れかのバスに接続された、他の全てのノード(ノード111、113、115、…、121、123、125、…)の構成も、図2に示したものと同じである。但し、フレームデータの抽出・出力の対象のバスは、バスB11とは限らず、各ノードが接続するバス(バスB11、バスB12、…の何れか)である。   Incidentally, the configurations of all other nodes (nodes 111, 113, 115,..., 121, 123, 125,...) Connected to any one of the first bus group B1 are also shown in FIG. Is the same. However, the bus from which frame data is extracted and output is not limited to the bus B11, but is a bus (any one of the bus B11, the bus B12,...) Connected to each node.

尚、第二ネットワークに属するノードについては、本発明に係る特徴的なものではなく、従来技術によって、フレームデータを受信したり、FlexRayによってフレームデータを送信したりするものである。よって、ここでは、第二ネットワークに属するノードの構成については、簡単に説明する。   The nodes belonging to the second network are not characteristic according to the present invention, and receive frame data or transmit frame data using FlexRay according to the prior art. Therefore, here, the configuration of the nodes belonging to the second network will be briefly described.

周知のように、FlexRayは、タイム・トリガ型の通信プロトコルである。具体的には、通信サイクルを複数の時間枠(タイムスロット)に予め細分化しておく。そして、その細分化したタイムスロットを、ネットワークを構成する各ノードに対して割り当てる。このようにすれば、各ノードの送信時間が重複するのを避けることができる。即ち、第二ネットワークを構成する各ノードには、個別のタイムスロットが予め割り当てられている。また、データ転送装置2には、バス毎に、個別のタイムスロットが予め割り当てられている。   As is well known, FlexRay is a time-triggered communication protocol. Specifically, the communication cycle is subdivided into a plurality of time frames (time slots) in advance. Then, the subdivided time slot is allocated to each node constituting the network. In this way, it is possible to avoid overlapping transmission times of the nodes. That is, individual time slots are allocated in advance to each node constituting the second network. In the data transfer device 2, individual time slots are assigned in advance for each bus.

そして、第二ネットワークを構成する各ノード及びデータ転送装置2は、自身に割り当てられたタイムスロットが到来すると、送信権が付与されたとして、そのタイムスロットにて送信すべきデータを、第二ネットワークに出力する構成にされている。このようにして、第二ネットワークを構成する各ノード及びデータ転送装置2は、予め定められたスケジュールに従い、規定の時刻にフレームデータを第二ネットワークへ送信して、通信の衝突が起こらないように動作する。   Each node and the data transfer device 2 constituting the second network, when a time slot assigned to itself arrives, determines that the right to transmit is given and transmits data to be transmitted in the time slot to the second network. Is configured to output. In this way, each node and the data transfer device 2 configuring the second network transmit frame data to the second network at a specified time according to a predetermined schedule so that no communication collision occurs. Operate.

次に、図3を用いて要求処理の説明をする。この要求処理は、データ転送装置2が備えるCPU5が主体となって繰り返し実行する処理である。初めに、要求処理の概要を説明する。   Next, the request process will be described with reference to FIG. This request process is a process repeatedly executed mainly by the CPU 5 included in the data transfer apparatus 2. First, an outline of request processing will be described.

本実施例においては、第一バス群B1の何れかのバス(バスB11、バスB12、…の何れか)からバスB21に、転送対象のフレームデータ(以下、転送フレームデータと言う)をCPU5の処理により転送するときには、以下の動作をする必要がある。   In this embodiment, frame data to be transferred (hereinafter referred to as transfer frame data) is transferred from one of the first bus group B1 (any of bus B11, bus B12,...) To bus B21. When transferring by processing, it is necessary to perform the following operations.

その動作とは、第一バス群B1の何れかのバス(バスB11、バスB12、…の何れか)から、そのバスと接続された通信部(通信部11、12、…の何れか)を介して転送フレームデータを受け取ってから、この転送フレームデータを、通信部21を介してバスB21に送信するまでの間、その転送フレームデータを、RAM8に記憶することである。   The operation refers to a communication unit (any of communication units 11, 12,...) Connected to the bus from any one of the first bus group B1 (any of bus B11, bus B12,...). The transfer frame data is stored in the RAM 8 until the transfer frame data is transmitted to the bus B 21 via the communication unit 21 after the transfer frame data is received.

ちなみに、本実施例において、転送フレームデータは、設計段階で設計者により予め定められているものとする。尚、設計段階で定められた転送フレームデータの情報は、後述するスケジュールテーブルに記述される。   Incidentally, in this embodiment, it is assumed that the transfer frame data is predetermined by the designer at the design stage. Information on transfer frame data determined at the design stage is described in a schedule table to be described later.

従来技術では、このような転送フレームデータをRAM8に記憶する時間が制御されておらずランダムであったので、RAM等の記憶媒体を大容量にする必要があった。そこで、本実施例では、その時間を制御することを目的として、次のような処理手順で要求処理を実行するようにした。本実施例では、これによって、転送対象のフレームデータの転送元ノードに対する要求タイミングを制御するようにしている。   In the prior art, since the time for storing such transfer frame data in the RAM 8 is random without being controlled, it is necessary to increase the capacity of a storage medium such as a RAM. Therefore, in this embodiment, for the purpose of controlling the time, the request process is executed by the following processing procedure. In the present embodiment, this controls the request timing for the transfer source node of the frame data to be transferred.

また、以下の説明においては、第二バス群B2を構成するバスの内、バスB21に対して第一ネットワークから転送対象のフレームデータを転送するために、要求フレームデータを送信する例を説明する。   In the following description, an example in which request frame data is transmitted to transfer frame data to be transferred from the first network to the bus B21 among the buses constituting the second bus group B2 will be described. .

この要求処理について詳述する。まず、CPU5は、第一バス群B1の各バス(バスB11、B12、…)に接続された各通信部(通信部11、12、…)から、各バス(バスB11、B12、…)のバス負荷の情報を取得する(S303)。ここでいうバス負荷とは、バスが単位時間当たりに伝送可能なフレームデータ数に対して、そのバスに実際どれだけの数のフレームデータが単位時間当たりに伝送しているかを示す値である。   This request processing will be described in detail. First, the CPU 5 connects each bus (bus B11, B12,...) From each communication unit (communication units 11, 12,...) Connected to each bus (buses B11, B12,...) Of the first bus group B1. Information on the bus load is acquired (S303). The bus load here is a value indicating how many frame data are actually transmitted per unit time to the bus with respect to the number of frame data that the bus can transmit per unit time.

次に、CPU5自身の処理負荷を計算する(S307)。そして、S303で取得したバス負荷の情報及びS307で算出したCPU処理負荷の情報を基に、各バス(バスB11、B12、…)について遅延時間を推定する(S310)。   Next, the processing load of the CPU 5 itself is calculated (S307). Then, based on the bus load information acquired in S303 and the CPU processing load information calculated in S307, the delay time is estimated for each bus (buses B11, B12,...) (S310).

尚、ここでいう遅延時間とは、S350で、通信部(通信部11、12、…の何れか)を介して要求フレームデータを送信した時刻から、後で説明する転送処理において、その要求フレームデータが要求した転送フレームデータを、通信部(通信部21、22、…の何れか)を介して第二ネットワークに転送可能となる時刻までの所要時間である。この遅延時間は、要求フレームデータの宛先のノードが接続されたバスのバス負荷の値と、CPU5自身の処理負荷の値とに影響を受ける。そこで、本実施例では、この二つの値を基にして、遅延時間を推定する。   Note that the delay time here refers to the request frame in the transfer process described later from the time when the request frame data is transmitted via the communication unit (any of the communication units 11, 12,...) In S350. This is the time required until the transfer frame data requested by the data can be transferred to the second network via the communication unit (any one of the communication units 21, 22,...). This delay time is affected by the bus load value of the bus to which the destination frame data destination node is connected and the processing load value of the CPU 5 itself. Therefore, in this embodiment, the delay time is estimated based on these two values.

遅延時間の推定方法の具体例を以下に述べる。遅延時間、並びに、バス負荷および自身の処理負荷の関係を、実験によって予め求めておき、三次元マップとして、ROM7に記憶させておく。即ち、実験により、遅延時間、バス負荷、CPU処理負荷、の夫々を軸(パラメータ)とした三次元マップを生成し、これを、予めROM7に記憶させておく。そして、S310では、ROM7に記憶された三次元マップから、現在のバス負荷及びCPU処理負荷に対応する遅延時間を割り出すことにより、その遅延時間を推定する。   A specific example of the delay time estimation method will be described below. The relationship between the delay time and the bus load and its own processing load is obtained in advance by experiments and stored in the ROM 7 as a three-dimensional map. That is, through experiments, a three-dimensional map with axes of delay time, bus load, and CPU processing load as parameters (parameters) is generated and stored in the ROM 7 in advance. In S310, the delay time is estimated by determining the delay time corresponding to the current bus load and CPU processing load from the three-dimensional map stored in the ROM 7.

次に、監視情報を通信部21から取得すると共に、その監視情報をスケジュールデータに当てはめて、スケジュール上の現在時刻を求める(S320)。監視情報とは、スケジュールに定められたどのフレームデータがバスB21を伝送しているかの情報、及び、そのフレームデータの送信開始時刻からの経過時間の情報である。   Next, the monitoring information is acquired from the communication unit 21, and the monitoring information is applied to the schedule data to obtain the current time on the schedule (S320). The monitoring information is information indicating which frame data defined in the schedule is transmitted on the bus B21 and information on the elapsed time from the transmission start time of the frame data.

図4は、FlexRayで用いられるスケジュールデータの具体例である。これは、バスB21に接続されたノード(ノード211、213、215…)が備える制御部および制御部3のみが使用するものである。尚、本実施例では、第二バス群B2の各バス(バスB21、バスB22、…)において、独自のスケジュールデータが用いられるものとする。   FIG. 4 is a specific example of schedule data used in FlexRay. This is used only by the control unit and the control unit 3 included in the nodes (nodes 211, 213, 215,...) Connected to the bus B21. In this embodiment, it is assumed that unique schedule data is used in each bus (bus B21, bus B22,...) Of the second bus group B2.

このスケジュールデータは、バスB21に接続された各ノード(ノード211、213、215、…)が備える記憶媒体(メモリ等)および制御部3が備えるNVRAM9によって、同じものが記憶されている。但し、バスB21に接続された各ノード(ノード211、213、215、…)においては、後述する転送元情報及び転送要否情報が不要であるため、これら各ノード(ノード211、213、215、…)が備える記憶媒体は、転送元情報及び転送要否情報を記憶していない。そして、バスB21に対するフレームデータの送信は、このスケジュールデータに従って行われる。   The same schedule data is stored in the storage medium (memory or the like) provided in each node (nodes 211, 213, 215,...) Connected to the bus B21 and the NVRAM 9 provided in the control unit 3. However, since each node (nodes 211, 213, 215,...) Connected to the bus B21 does not need transfer source information and transfer necessity information described later, these nodes (nodes 211, 213, 215,. ...) does not store transfer source information and transfer necessity information. Then, transmission of frame data to the bus B21 is performed according to this schedule data.

このスケジュールデータについて詳述すると、スケジュールデータは、バスB21を流れるフレームデータ毎に、送信順序情報、フレームデータ名、メッセージスロット長、転送元情報及び送信要否情報を有する。送信順序情報は、対応するフレームデータのバスB21における送信順序を表す情報であり、フレームデータ名は、当該バスB21にて用いられるフレームデータの識別情報である。また、メッセージスロット長は、対応するフレームデータの送信に割り当てられた時間を表す。   The schedule data will be described in detail. The schedule data has transmission order information, a frame data name, a message slot length, transfer source information, and transmission necessity information for each frame data flowing through the bus B21. The transmission order information is information indicating the transmission order of the corresponding frame data in the bus B21, and the frame data name is identification information of the frame data used in the bus B21. The message slot length represents the time allocated for transmission of the corresponding frame data.

また、転送元情報は、フレームデータ名で特定されるフレームデータの転送元ノードが属するバスの識別コードを示すものである。この情報は、後述する要求フレームデータを送信すべきバスを特定するのに用いられる。尚、転送元情報が空情報であるフレームデータについては、そのフレームデータが転送フレームデータでないことを示す。   The transfer source information indicates the identification code of the bus to which the transfer source node of the frame data specified by the frame data name belongs. This information is used to specify a bus to which request frame data described later is to be transmitted. For frame data whose transfer source information is empty information, this indicates that the frame data is not transfer frame data.

また、送信要否情報は、フレームデータ名で特定されるフレームデータの転送元ノードに対して、このフレームデータを要求する要求フレームデータの送信が必要か否かを表す情報である。そして、この送信要否情報は、「要」又は「不要」に対応する値を示す。尚、送信要否情報が示す値は、後で説明する転送処理のS590で、CPU5の動作により、「要」又は「不要」に切り替えられる。   The transmission necessity information is information indicating whether or not it is necessary to transmit the requested frame data for requesting the frame data to the transfer source node of the frame data specified by the frame data name. The transmission necessity information indicates a value corresponding to “necessary” or “unnecessary”. Note that the value indicated by the transmission necessity information is switched to “necessary” or “unnecessary” by the operation of the CPU 5 in S590 of the transfer process described later.

そして、バスB21に接続された各ノード(ノード211、213、215、…)が備える記憶媒体及びデータ転送装置2が備えるNVRAM9は、どのフレームデータの送信が自身に割り当てられているかをCPU5が判別できるように、割当情報がNVRAM9等に記憶されている。   Then, the storage medium included in each node (nodes 211, 213, 215,...) Connected to the bus B21 and the NVRAM 9 included in the data transfer device 2 determine which frame data transmission is allocated to itself by the CPU 5. Allocation information is stored in the NVRAM 9 or the like so that it can be performed.

次に、S320で求める「スケジュール上の現在時刻」について説明する。この時刻は、送信順序1のフレームデータの送信開始時刻を零秒とするものであり、送信順序が一巡するたびに零に戻る。具体例で説明すると、伝送しているのがフレームデータBであり、フレームデータBの送信開始から8ms経過していたとする。このとき、フレームデータAのメッセージスロット長の10msに8msを足した18msが現在時刻になる。本実施例では、このような時間軸を定め、スケジュール上の現在時刻を求める。   Next, the “current time on the schedule” obtained in S320 will be described. This time is set so that the transmission start time of the frame data of the transmission order 1 is zero seconds, and returns to zero every time the transmission order is completed. As a specific example, it is assumed that frame data B is being transmitted, and 8 ms has elapsed since the start of transmission of frame data B. At this time, the current time is 18 ms obtained by adding 8 ms to the message slot length of 10 ms of the frame data A. In this embodiment, such a time axis is determined, and the current time on the schedule is obtained.

要求処理の説明に戻る。上述のようにして、S320での処理を終えると、CPU5は、スケジュールデータに登録されている転送フレームデータの夫々について、S320で推定した現在時刻に、S310で求めたその転送フレームデータの転送元ノードが接続されたバスの遅延時間を足した時刻が、その転送フレームデータの送信開始時刻であるかを判断する(S330)。   Return to the explanation of request processing. When the processing in S320 is completed as described above, the CPU 5 transfers the transfer frame data obtained in S310 at the current time estimated in S320 for each of the transfer frame data registered in the schedule data. It is determined whether the time obtained by adding the delay time of the bus to which the node is connected is the transmission start time of the transfer frame data (S330).

この判断は、例えば次のような手順で実行できる。まず、スケジュールデータに登録されている転送フレームデータのなかで、送信順序が最も早い転送フレームデータAを対象にする。スケジュールデータによれば、転送フレームデータAの転送元ノードが接続されたバスは、バスB11である。   This determination can be performed by the following procedure, for example. First, transfer frame data A having the earliest transmission order among transfer frame data registered in schedule data is targeted. According to the schedule data, the bus to which the transfer source node of the transfer frame data A is connected is the bus B11.

従って、次には、現在時刻にバスB11の遅延時間を足した時刻を求める。そして、この時刻と、スケジュールデータから特定される転送フレームデータAの送信開始時刻が一致するかを判断する。そして、この判断を、スケジュールデータに含まれる全ての転送フレームデータについて送信順序が早い順に行い、一致するものがあるかどうかを判断する。   Therefore, next, a time obtained by adding the delay time of the bus B11 to the current time is obtained. Then, it is determined whether this time coincides with the transmission start time of the transfer frame data A specified from the schedule data. Then, this determination is performed in the order of transmission order for all transfer frame data included in the schedule data, and it is determined whether there is a match.

但し、スケジュールデータの要求フレームデータ送信要否情報が、「不要」に設定されている転送フレームデータについては、S330の処理の対象から除外する。
このようにして、CPU5は、S330の処理を実行する。但し、比較対象の二つの時刻が完全一致するためには、要求処理を十分に早く繰り返す必要がある。ところが、要求処理を高速に繰返し実行すると、CPU5に大きな処理負荷が掛かってしまう。従って、本実施例では、遅延時間に公差を含ませて、二つの時刻が一致するかの判断基準を緩くしてもよい。つまり、現在時刻に遅延時間を足した時刻に幅を持たせて、S330では、その時間帯に送信開始時刻が含まれるか否かを判断することで、現在時刻に遅延時間を足した時刻が、転送フレームデータの送信開始時刻であるかを判断するようにしてもよい。
However, transfer frame data in which the request frame data transmission necessity information of the schedule data is set to “unnecessary” is excluded from the processing target of S330.
In this way, the CPU 5 executes the process of S330. However, it is necessary to repeat the request process sufficiently early in order for the two times to be compared to completely match. However, if request processing is repeatedly executed at high speed, a large processing load is applied to the CPU 5. Therefore, in the present embodiment, a tolerance may be included in the delay time, and the criteria for determining whether the two times match may be relaxed. In other words, the time obtained by adding the delay time to the current time is widened, and in S330, it is determined whether or not the transmission start time is included in the time zone, so that the time obtained by adding the delay time to the current time is determined. It may be determined whether it is the transmission start time of the transfer frame data.

この場合に注意が必要なのは、遅延時間の公差を両振りにすると、転送フレームデータを受信した時には、その転送フレームデータの送信開始時刻が過ぎてしまう危険性がある。なぜなら、負の公差があれば、実際の遅延時間よりも短い時間によって、S330において一致の判断がなされる可能性があるからである。   In this case, it should be noted that if the tolerance of the delay time is reversed, when the transfer frame data is received, the transmission start time of the transfer frame data may pass. This is because if there is a negative tolerance, there is a possibility that a match is determined in S330 based on a time shorter than the actual delay time.

その場合は、スケジュールデータが示す通信サイクルのほぼ一周期分の時間、転送フレームデータをRAM8に記憶する必要があり、本発明の目的を達成できない。従って、遅延時間の公差は、正のみの片振りにして、なおかつ、S330で確実に一致の判断がなされるような大きさに設定されると良い。   In that case, it is necessary to store the transfer frame data in the RAM 8 for a time corresponding to approximately one communication cycle indicated by the schedule data, and the object of the present invention cannot be achieved. Therefore, the delay time tolerance is preferably set to such a size that only positive swinging can be performed and that a coincidence can be reliably determined in S330.

要求処理の説明に戻って、どの転送フレームデータについても、現在時刻に遅延時間を足した時刻が、その転送フレームデータの送信開始時刻でないと判断すると(S330:No)、CPU5は、自身のCPU処理負荷が所定の閾値以下であるかを判断する(S335)。そして、CPU処理負荷が所定の閾値以下でないと判断すると(S335:No)、S310に戻る。つまり、S330又はS335でYesと判断されるまで、S310からS335までの処理を繰り返す。   Returning to the description of the request processing, if any transfer frame data is determined that the time obtained by adding the delay time to the current time is not the transmission start time of the transfer frame data (S330: No), the CPU 5 determines its own CPU. It is determined whether the processing load is equal to or less than a predetermined threshold (S335). If it is determined that the CPU processing load is not equal to or less than the predetermined threshold (S335: No), the process returns to S310. That is, the processes from S310 to S335 are repeated until it is determined Yes in S330 or S335.

そして、ある転送フレームデータについて、現在時刻に遅延時間を足した時刻が、その転送フレームデータの送信開始時刻であると判断すると(S330:Yes)、その転送フレームデータを要求する要求フレームデータを生成し(S340)、S350に進む。この要求フレームデータは、転送フレームデータ識別情報を含む。この転送フレームデータ識別情報は、送信開始時刻の所定時間前の時刻であると判断された転送フレームデータを識別するための情報であり、この要求フレームデータを受信したノードに対して、その転送フレームデータを、そのノードが接続されたバスに送信することを要求する情報である。   Then, when it is determined that the time obtained by adding the delay time to the current time for a certain transfer frame data is the transmission start time of the transfer frame data (S330: Yes), request frame data for requesting the transfer frame data is generated. Then (S340), the process proceeds to S350. This request frame data includes transfer frame data identification information. This transfer frame data identification information is information for identifying transfer frame data that is determined to be a time before the transmission start time. The transfer frame data identification information is transmitted to the node that has received this request frame data. Information requesting that data be transmitted to the bus to which the node is connected.

一方、CPU処理負荷が所定の閾値以下であると判断すると(S335:Yes)、CPU5は、待機時間が最も短い転送フレームデータを対象に、待機時間の情報を含んだ要求フレームデータを生成し(S345)、S350に進む。この要求フレームデータは、転送フレームデータ識別情報に加え、待機時間の情報を含むものである。この待機時間の情報は、ノードが要求フレームデータを受信してから、要求に応じて転送フレームデータを出力するまでの間に、所定の時間、そのノードに転送フレームデータの出力を待機するように指示する情報であり、その待機時間を表すものである。   On the other hand, when determining that the CPU processing load is equal to or less than the predetermined threshold (S335: Yes), the CPU 5 generates request frame data including information on the waiting time for the transfer frame data having the shortest waiting time ( S345), the process proceeds to S350. This request frame data includes waiting time information in addition to transfer frame data identification information. The waiting time information is set so that the node waits for the output of the transfer frame data for a predetermined time after the node receives the request frame data and outputs the transfer frame data in response to the request. This is information to be indicated and represents the waiting time.

尚、待機時間は、各転送フレームデータについて、次のようにして計算される。すなわち、待機時間は、スケジュールデータにて規定される転送フレームデータの送信開始時刻から、現在時刻を引いて、更に、その転送フレームデータについての遅延時間を引いた時間として計算される。   The waiting time is calculated for each transfer frame data as follows. That is, the waiting time is calculated as a time obtained by subtracting the current time from the transmission start time of the transfer frame data specified by the schedule data and further subtracting the delay time for the transfer frame data.

S345で、このようにして、待機時間が最も短い転送フレームデータについての要求フレームデータを生成する理由を以下に述べる。その理由は、仮にS330及びS335でNoが繰り返されたときに、その転送フレームデータが、S330で最も早くYesと判断される対象の転送フレームデータになる確率が最も大きいからである。   The reason for generating the request frame data for the transfer frame data with the shortest waiting time in this way in S345 will be described below. The reason is that, when No is repeated in S330 and S335, the transfer frame data is most likely to be the transfer frame data to be determined as Yes earliest in S330.

また、S335及びS345の処理の目的は、CPU5の処理負荷の平準化にある。即ち、S330でYesと判断したときには、CPU5の処理負荷が高くなっているかも知れない。そこで、現在における処理負荷が低いのであれば、S330でYesになるまで待たずに、次に送信することになる転送フレームデータを要求する要求フレームデータを、その時点で送信する。そうすれば、CPU5の処理負荷が高いときに要求フレームデータを生成・送信せずに済み、更にCPU5の処理負荷が上がるのを防止することができる。   The purpose of the processes of S335 and S345 is to level the processing load of the CPU 5. That is, when it is determined Yes in S330, the processing load on the CPU 5 may be high. Therefore, if the current processing load is low, the request frame data requesting the transfer frame data to be transmitted next is transmitted at that time without waiting for Yes in S330. By doing so, it is not necessary to generate / transmit requested frame data when the processing load on the CPU 5 is high, and it is possible to prevent the processing load on the CPU 5 from further increasing.

このような理由から、本実施例では、CPU処理負荷が小さいとき、現在からS330でYesと判断されるまでに必要な時間を計算して、その時間を待機時間の情報として要求フレームデータに格納するようにしている。   For this reason, in this embodiment, when the CPU processing load is small, the time required from the current time until it is determined Yes in S330 is calculated, and the time is stored in the request frame data as waiting time information. Like to do.

そしてS350に進むと、CPU5は、S340又はS345で生成した要求フレームデータを、通信部を通じて、所定のバスに出力する。所定のバスとは、スケジュールデータの転送元情報が示すバス、換言すれば、その要求フレームデータに応答可能なノード(ノード111、113、115、…、121、123、125、…の何れか)が接続されたバス(バスB11、B12、…の何れか)である。   In S350, the CPU 5 outputs the request frame data generated in S340 or S345 to a predetermined bus through the communication unit. The predetermined bus is a bus indicated by schedule data transfer source information, in other words, a node that can respond to the requested frame data (any of nodes 111, 113, 115,..., 121, 123, 125,...). Is a connected bus (any of buses B11, B12,...).

即ち、ここでは、スケジュールデータの転送元情報が示すバスに接続された通信部(通信部11、12、…の何れか)に、上記要求フレームデータを、出力させる。その後、要求処理を終える。   That is, here, the request frame data is output to a communication unit (any one of the communication units 11, 12,...) Connected to the bus indicated by the schedule data transfer source information. Thereafter, the request processing is finished.

例えば、転送フレームデータA(図4参照)については、転送元ノードがバスB11に接続されていることが、スケジュールデータの転送元情報から分かる。従って、転送フレームデータAを要求する要求フレームデータを出力する場合には、この要求フレームデータを、通信部11を通じてバスB11に出力する。   For example, for the transfer frame data A (see FIG. 4), it can be seen from the transfer source information of the schedule data that the transfer source node is connected to the bus B11. Therefore, when request frame data requesting the transfer frame data A is output, the request frame data is output to the bus B 11 through the communication unit 11.

以上に説明した要求処理は、上述したように、第二バス群B2に属するバスのうちの、バスB21だけを対象にして、バスB21に転送すべき転送フレームデータの要求フレームデータを、バスB21のスケジュールに合わせて、転送元ノードに送信するものである。   As described above, the request processing described above is performed on the request frame data of the transfer frame data to be transferred to the bus B21 only for the bus B21 among the buses belonging to the second bus group B2. In accordance with the schedule, the data is transmitted to the transfer source node.

本実施例の制御部3は、CPU5にて、このような要求処理を実行すると共に、第二バス群B2の他のバスについても、同様の要求処理を実行する。こうすることで、各バスB21、B22、…に転送すべき転送フレームデータの要求フレームデータを、バスB21、B22、…のスケジュールに合わせて、転送元ノードに送信する。   The control unit 3 according to the present embodiment executes such request processing by the CPU 5 and also executes similar request processing for the other buses of the second bus group B2. In this way, request frame data of transfer frame data to be transferred to each of the buses B21, B22,... Is transmitted to the transfer source node in accordance with the schedule of the buses B21, B22,.

続いて、図5を用いて、ノード111が備えるCPU1113が主体となって繰り返し実行する応答処理を説明する。CPU1113は、この応答処理の実行により、上述した要求処理によってデータ転送装置2から送信されてくる要求フレームデータを受信すると共に、それに応答して転送フレームデータを返信する。   Next, a response process repeatedly executed mainly by the CPU 1113 included in the node 111 will be described with reference to FIG. By executing the response process, the CPU 1113 receives the request frame data transmitted from the data transfer apparatus 2 by the request process described above, and returns the transfer frame data in response thereto.

まず、CPU1113は、通信部1110を介して、バスB11を伝送するフレームデータを取得する(S410)まで待機する。そして、何れかのフレームデータを取得すると、そのフレームデータが自身宛の要求フレームデータであるか否かを判断する(S420)。具体的には、取得したフレームデータが要求フレームデータであるか否かを判断すると共に、取得したフレームデータが要求フレームデータである場合には、その要求フレームデータに含まれるフレームデータ識別情報によって特定される転送フレームデータを、自身が生成可能か否かを判断する。   First, the CPU 1113 waits until it acquires frame data transmitted on the bus B11 via the communication unit 1110 (S410). Then, when any frame data is acquired, it is determined whether or not the frame data is request frame data addressed to itself (S420). Specifically, it is determined whether or not the acquired frame data is request frame data. If the acquired frame data is request frame data, the frame data identification information included in the request frame data is used. It is determined whether or not the transfer frame data to be generated can be generated by itself.

そして、取得したフレームデータが要求フレームデータであると共に、その要求フレームデータに含まれるフレームデータ識別情報によって特定される転送フレームデータを、自身が生成可能である場合に限って、取得したフレームデータが自身宛の要求フレームデータであると判断する。   The acquired frame data is the request frame data, and the acquired frame data is only obtained when the transfer frame data specified by the frame data identification information included in the request frame data can be generated by itself. It is determined that the request frame data is addressed to itself.

ここで、取得したフレームデータが自身宛の要求フレームデータではないと判断すると(S420:No)、CPU1113は、応答処理を終える。
一方、取得したフレームデータが自身宛の要求フレームデータであると判断すると(S420:Yes)、CPU1113は、その転送フレームデータ識別情報に基づいて、要求フレームデータにより要求された転送フレームデータを生成する(S450)。
If it is determined that the acquired frame data is not the requested frame data addressed to itself (S420: No), the CPU 1113 ends the response process.
On the other hand, when determining that the acquired frame data is the requested frame data addressed to itself (S420: Yes), the CPU 1113 generates the transfer frame data requested by the request frame data based on the transfer frame data identification information. (S450).

次に、CPU1113は、取得した要求フレームデータに、待機時間の情報が含まれているか否かを判断する(S460)。そして、要求フレームデータに、待機時間の情報が含まれていると判断すると(S460:Yes)、待機時間の情報が示す時間、待機する(S470)。そして、待機時間の経過後、その生成した転送フレームデータを、通信部1110を介して、通信部1110が接続されたバスB11に出力する(S480)。   Next, the CPU 1113 determines whether or not standby time information is included in the acquired request frame data (S460). If it is determined that the request frame data includes the waiting time information (S460: Yes), the request frame data waits for the time indicated by the waiting time information (S470). Then, after the waiting time has elapsed, the generated transfer frame data is output to the bus B11 to which the communication unit 1110 is connected via the communication unit 1110 (S480).

一方、要求フレームデータに、待機時間の情報が含まれていないと判断すると(S460:No)、CPU1113は、生成した転送フレームデータを、生成後、直ぐに、通信部1110を介してバスB11に出力し(S480)、応答処理を終える。   On the other hand, if it is determined that the request frame data does not include the waiting time information (S460: No), the CPU 1113 outputs the generated transfer frame data to the bus B11 via the communication unit 1110 immediately after the generation. (S480), and the response process ends.

本実施例のCPU1110は、このような手順で応答処理を実行することにより、要求処理によってデータ転送装置2から送信されてくる要求フレームデータを受信すると共に、それに応答して転送フレームデータを返信する。   The CPU 1110 of this embodiment receives the request frame data transmitted from the data transfer apparatus 2 by the request process by executing the response process in such a procedure, and returns the transfer frame data in response thereto. .

尚、本実施例において、第一バス群B1の何れかのバス(バスB11、B12、…の何れか)に接続された第一ネットワークに属するノードであって、転送フレームデータを生成・出力可能な全てのノードは、上述したCPU1110が実行する応答処理と同様の応答処理を、実行可能に構成されているものとする。但し、S410及びS480に対応する記載については、「バスB11」を、各ノードが接続しているバスに読み替えるものとする。   In this embodiment, it is a node belonging to the first network connected to any bus (any one of the buses B11, B12,...) Of the first bus group B1, and can generate and output transfer frame data. It is assumed that all the nodes are configured to be able to execute a response process similar to the response process executed by the CPU 1110 described above. However, in the description corresponding to S410 and S480, “bus B11” is replaced with the bus to which each node is connected.

次には、図6を用いて、転送処理を説明する。この転送処理は、データ転送装置2のCPU5が主体となって繰り返し実行する処理である。本実施例のデータ転送装置2は、CPU5にて、この転送処理を実行することにより、第一バス群B1の何れかのバス(バスB11、B12…)から受信した転送フレームデータを、第二バス群B2の何れかのバス(バスB21、B22…)へ転送する。   Next, the transfer process will be described with reference to FIG. This transfer process is a process repeatedly executed mainly by the CPU 5 of the data transfer apparatus 2. In the data transfer apparatus 2 of the present embodiment, the CPU 5 executes this transfer process, whereby the transfer frame data received from any of the buses of the first bus group B1 (buses B11, B12...) The data is transferred to one of the bus groups B2 (buses B21, B22,...).

この転送処理を開始すると、CPU5は、まず、第一バス群B1の何れかのバス(バスB11、B12…)から、そのバスに接続された通信部(通信部11、12、…の何れか)を介して、転送フレームデータを受信したかを判断する(S510)。   When this transfer process is started, the CPU 5 firstly selects any of the communication units (communication units 11, 12,...) Connected to the bus from any bus (bus B11, B12...) Of the first bus group B1. ) To determine whether transfer frame data has been received (S510).

そして、第一バス群B1の何れかのバス(バスB11、B12…)から、そのバスに接続された通信部(通信部11、12、…の何れか)を介して、転送フレームデータを受信したと判断すると(S510:Yes)、その転送フレームデータのフォーマットを、CANのフォーマットからFlexRayのフォーマットに変換して、第二ネットワーク出力用の転送フレームデータを生成すると共に、生成した転送フレームデータをRAM8に記憶させる(S520)。   Then, transfer frame data is received from any of the buses of the first bus group B1 (buses B11, B12,...) Via a communication unit (any of the communication units 11, 12,...) Connected to the bus. If it is determined (S510: Yes), the transfer frame data format is converted from the CAN format to the FlexRay format to generate transfer frame data for second network output, and the generated transfer frame data is The data is stored in the RAM 8 (S520).

一方、第一バス群B1の何れのバス(バスB11、B12…)からも、通信部(通信部11、12、…)を介して、転送フレームデータを受信しなかったと判断すると(S510:No)、S520の処理はせず、S530に進む。   On the other hand, when it is determined that no transfer frame data has been received from any bus (bus B11, B12...) Of the first bus group B1 via the communication unit (communication units 11, 12,...) (S510: No). ), The process of S520 is not performed, and the process proceeds to S530.

S530では、RAM8に転送フレームデータが記憶されているかを判断する。ちなみに、この転送処理は繰り返し行われているので、直前のS510でNoと判断されても、RAM8に転送フレームデータが記憶されている可能性はある。   In S530, it is determined whether transfer frame data is stored in the RAM 8. Incidentally, since this transfer process is repeatedly performed, there is a possibility that the transfer frame data is stored in the RAM 8 even if it is determined No in the immediately preceding S510.

そして、RAM8に転送フレームデータが記憶されていないと判断すると(S530:No)、S580に進む。一方、RAM8に転送フレームデータが記憶されていると判断すると(S530:Yes)、記憶されている各転送フレームデータが、第二バス群B2に属するバスのうちの、どのバスに送信するものであるかを、各バスのスケジュールデータに基づいて特定する(S540)。   If it is determined that the transfer frame data is not stored in the RAM 8 (S530: No), the process proceeds to S580. On the other hand, if it is determined that the transfer frame data is stored in the RAM 8 (S530: Yes), the stored transfer frame data is transmitted to any of the buses belonging to the second bus group B2. It is specified based on the schedule data of each bus (S540).

そして、S540で特定した全てのバスについて、S320と同様な手法で、そのバスに接続された通信部(通信部21、22、…の何れか)から、バスを伝送するフレームデータの監視情報を取得し、その監視情報をスケジュールデータに当てはめて、スケジュールデータ上の現在時刻を求める(S550)。   Then, for all the buses identified in S540, monitoring information of frame data transmitted through the bus is transmitted from the communication unit (any of the communication units 21, 22,...) Connected to the bus in the same manner as in S320. Obtaining and applying the monitoring information to the schedule data, the current time on the schedule data is obtained (S550).

そして、S550で求めた現在時刻の情報に基づき、現在時刻が、RAM8に記憶されている何れかの転送フレームデータについての送信開始時刻であるか否かを判断する(S560)。そして、現在時刻が、RAM8に記憶されている何れかの転送フレームデータについての送信開始時刻であると判断すると(S560:Yes)、送信開始時刻であると判断した対象の転送フレームデータについて、S540で特定した出力対象のバスに、その転送フレームデータを、そのバスに対応する通信部を介して出力すると共に、RAM8からその転送フレームデータの情報を破棄し(S570)、S580に進む。一方、現在時刻が、何れの転送フレームデータの送信開始時刻でもないと判断すると(S560:No)、S570の処理はせずに、S580に進む。   Then, based on the current time information obtained in S550, it is determined whether or not the current time is a transmission start time for any transfer frame data stored in the RAM 8 (S560). If it is determined that the current time is the transmission start time for any transfer frame data stored in the RAM 8 (S560: Yes), the transfer frame data that is determined to be the transmission start time is S540. The transfer frame data is output to the output target bus specified in step 1 via the communication unit corresponding to the bus, and the information of the transfer frame data is discarded from the RAM 8 (S570), and the process proceeds to S580. On the other hand, if it is determined that the current time is not the transmission start time of any transfer frame data (S560: No), the process proceeds to S580 without performing the process of S570.

S580に進むと、CPU5は、スケジュールデータに登録されている各転送フレームデータについて、送信開始時刻までに受信できなかった転送フレームデータがあるか否かを判断する。尚、S580の処理は、次で述べる前提に立っている。その前提とは、データ転送システム1が正常に動作していれば、常に、データ転送装置2は、送信開始時刻までには、第一ネットワークから、各転送フレームデータを受信する、ということである。なぜなら、全ての転送フレームデータをスケジュールデータに定められた順序通りに送信できるように、要求フレームデータを要求処理で送信しているからである。即ち、S580では、このような正常な動作が、データ転送システム1で行われているか否かを、上記判断により、間接的に判断する。   In step S580, the CPU 5 determines whether there is transfer frame data that could not be received by the transmission start time for each transfer frame data registered in the schedule data. Note that the processing of S580 is based on the premise described below. The premise is that, if the data transfer system 1 is operating normally, the data transfer device 2 always receives each transfer frame data from the first network by the transmission start time. . This is because the request frame data is transmitted in the request process so that all transfer frame data can be transmitted in the order determined in the schedule data. That is, in S580, whether or not such a normal operation is performed in the data transfer system 1 is indirectly determined based on the above determination.

そして、送信開始時刻までに受信できなかった転送フレームデータがないと判断すると(S580:No)、転送処理を終える。一方、送信開始時刻までに受信できなかった転送フレームデータがあると判断すると(S580:Yes)、送信開始時刻までに受信できなかった転送フレームデータに対応した、スケジュールデータの送信要否情報を、「要」から「不要」を示す値に変更し(S590)、転送処理を終える。因みに、S590で、送信要否情報が既に「不要」との値であったならば、ここでは、何もしない。   When it is determined that there is no transfer frame data that could not be received by the transmission start time (S580: No), the transfer process is terminated. On the other hand, if it is determined that there is transfer frame data that could not be received by the transmission start time (S580: Yes), the schedule data transmission necessity information corresponding to the transfer frame data that could not be received by the transmission start time is The value is changed from “required” to a value indicating “unnecessary” (S590), and the transfer process is completed. Incidentally, if the transmission necessity information is already “unnecessary” in S590, nothing is done here.

尚、S590の処理を行う理由は、要求フレームデータを無駄に送信するのを抑制して、CPU5の処理負荷を下げることにある。ただし、転送フレームデータが送信されてこないのは、一時的な故障が原因である可能性がある。従って、データ転送装置2は、「不要」に設定した送信要否情報を、一定時間経過後、「要」に設定し直して、要求フレームデータの送信を再開する構成にされるとよい。また、一度の受信失敗で変更せず、所定回数、連続して失敗したら、送信要否情報を「要」から「不要」に変更するようにしてもよい。   The reason for performing the process of S590 is to reduce the processing load on the CPU 5 by suppressing the unnecessary transmission of the requested frame data. However, the transfer frame data may not be transmitted due to a temporary failure. Therefore, the data transfer apparatus 2 may be configured to restart the transmission of the requested frame data by resetting the transmission necessity information set to “unnecessary” to “necessary” after a predetermined time has elapsed. Further, the transmission necessity information may be changed from “required” to “unnecessary” when the reception has failed continuously for a predetermined number of times without being changed due to a single reception failure.

以上に説明したように、本実施例においては、データ転送装置2のCPU5が実行する要求処理及び転送処理、並びに、第一ネットワークを構成するノードのCPUが実行する応答処理によって、上述した目的を達することができる。なぜなら、データ転送装置2が、第一ネットワークに属するノードに対して、いつ転送フレームデータを送信するのかを制御するからである。   As described above, in the present embodiment, the above-described object is achieved by the request processing and transfer processing executed by the CPU 5 of the data transfer device 2 and the response processing executed by the CPU of the node constituting the first network. Can reach. This is because the data transfer device 2 controls when the transfer frame data is transmitted to the nodes belonging to the first network.

言い換えると、データ転送装置2は、要求フレームデータによって、転送フレームデータを送信するノードに、スケジュールデータの情報を伝達する。故に、第一ネットワークに属するノードは、CANによって通信しながらも、FlexRayが使用するスケジュールデータに即して、転送フレームデータを送信できる。従って、CANからFlexRayへ転送フレームデータを転送するに際して、制御部3は、転送フレームデータの記憶時間を短くできる。その結果、RAM8の容量を小さくすることができる。   In other words, the data transfer device 2 transmits the schedule data information to the node that transmits the transfer frame data by the request frame data. Therefore, the node belonging to the first network can transmit the transfer frame data according to the schedule data used by the FlexRay while communicating by the CAN. Therefore, when transferring the transfer frame data from the CAN to the FlexRay, the control unit 3 can shorten the storage time of the transfer frame data. As a result, the capacity of the RAM 8 can be reduced.

また、本実施例の他の効果としては、第一バス群B1のバス負荷の低減を挙げることができる。従来技術では、直ぐには転送されることのない転送フレームデータが大量に、転送元のノードから送信されることもあり、過剰にバス負荷が上がってしまう可能性があった。これに対し、本実施例では、転送フレームデータは、スケジュールデータに即して定期的に、転送される量だけ転送元のノードから送信されるので、従来技術のように、バス負荷が過剰に上がることが無くなる。   Another effect of the present embodiment is a reduction in the bus load of the first bus group B1. In the prior art, a large amount of transfer frame data that is not immediately transferred may be transmitted from the transfer source node, which may increase the bus load excessively. On the other hand, in this embodiment, the transfer frame data is periodically transmitted according to the schedule data from the transfer source node in an amount to be transferred, so that the bus load is excessive as in the prior art. There is no going up.

尚、本発明の実施形態は、本実施例に限定されない。通信プロトコルは、CANの代わりに、他のイベント・ドリブン型のものを使用してもよい。また、FlexRayの代わりに、他のタイム・トリガ型のものを使用してもよい。また、要求処理、応答処理または転送処理の各ステップを、ハードウェアによって実現するように、データ転送装置2や各ノードが構成されてもよい。この場合は、各ステップを速く処理できる。   The embodiment of the present invention is not limited to this example. The communication protocol may be another event-driven type instead of CAN. Further, instead of FlexRay, another time trigger type may be used. Further, the data transfer device 2 and each node may be configured so that each step of request processing, response processing, or transfer processing is realized by hardware. In this case, each step can be processed quickly.

最後に、請求項に記載された各手段と実施例との対応関係を説明する。但し、自明のものについては説明を省略する。判断手段は、要求処理のS320及びS330によって実現され、要求手段は、要求処理のS340、S345、によって実現される。また、禁止手段は、転送処理のS590、予測手段は、要求処理のS303、S307及びS310、によってそれぞれ実現される。   Finally, the correspondence between each means described in the claims and the embodiment will be described. However, the description of the obvious ones is omitted. The determining means is realized by S320 and S330 of request processing, and the requesting means is realized by S340 and S345 of request processing. The prohibiting means is realized by S590 of the transfer process, and the predicting means is realized by S303, S307, and S310 of the request processes.

本発明が適用されたデータ転送システム1の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a data transfer system 1 to which the present invention is applied. 第一ネットワークに属するノードの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the node which belongs to a 1st network. データ転送装置2のCPU5が実行する要求処理を表すフローチャートである。4 is a flowchart showing a request process executed by a CPU 5 of the data transfer apparatus 2. スケジュールデータを表す図である。It is a figure showing schedule data. 第一ネットワークを構成するノードのCPUが実行する応答処理を表すフローチャートである。It is a flowchart showing the response process which CPU of the node which comprises a 1st network performs. データ転送装置2のCPU5が実行する転送処理を表すフローチャートである。4 is a flowchart showing a transfer process executed by a CPU 5 of the data transfer apparatus 2.

符号の説明Explanation of symbols

1…データ転送システム、2…データ転送装置、3,1113…制御部、5,1115…CPU、7,1117…ROM、8,1118…RAM、9…NVRAM、11,12,21,22,1110…通信部、111,113,115,121,123,125,211,213,215,221,223,225…ノード、110,120,210,220…バス負荷測定部、B1…第一バス群、B2…第二バス群、B11,B12,B21,B22…バス DESCRIPTION OF SYMBOLS 1 ... Data transfer system, 2 ... Data transfer apparatus, 3, 1113 ... Control part, 5, 1115 ... CPU, 7, 1117 ... ROM, 8, 1118 ... RAM, 9 ... NVRAM, 11, 12, 21, 22, 1110 ... Communication unit, 111, 113, 115, 121, 123, 125, 211, 213, 215, 221, 223, 225 ... node, 110, 120, 210, 220 ... bus load measurement unit, B1 ... first bus group, B2 ... second bus group, B11, B12, B21, B22 ... bus

Claims (6)

イベント・ドリブン型の通信プロトコルによってフレームデータが送受信される第一ネットワーク、及び、タイム・トリガ型の通信プロトコルによってフレームデータが送受信される第二ネットワークに接続され、予め定められた転送対象のフレームデータを、前記第一ネットワークから前記第二ネットワークへ転送するデータ転送装置と、
前記第一ネットワークに設けられて、前記イベント・ドリブン型の通信プロトコルに従い、フレームデータの送受信を実行するノードと、
からなるデータ転送システムであって、
前記タイム・トリガ型の通信プロトコルは、予め定められたスケジュールに従い、各フレームデータを規定の時刻に、前記第二ネットワークへ送信するように定められた通信プロトコルであり、
前記データ転送装置は、
前記第一ネットワークに対してフレームデータの送受信が可能な第一通信手段と、
前記第二ネットワークに対してフレームデータの送信が可能な第二通信手段と、
前記第二ネットワークを伝送しているフレームデータが、前記スケジュールに予め定められたフレームデータの内の何れのフレームデータであるかの情報を取得し、前記取得した情報と前記スケジュールとを照合することで、現在時刻が、前記転送対象のフレームデータに対して前記タイム・トリガ型の通信プロトコルにより定められた送信開始時刻の所定時間前の時刻であるか否かを判断する判断手段と、
前記判断手段によって、現在時刻が、前記転送対象のフレームデータに対して前記タイム・トリガ型の通信プロトコルにより定められた送信開始時刻の所定時間前の時刻であると判断されると、当該転送対象のフレームデータを要求するための要求フレームデータを生成すると共に、当該転送対象のフレームデータを当該データ転送装置に対して送信可能な前記第一ネットワーク内のノードに向けて、前記生成した要求フレームデータを、前記第一通信手段に送信させる要求手段と、
を備え、
前記ノードは、前記要求フレームデータを受信すると、前記要求フレームデータの要求内容に従って、前記転送対象のフレームデータを前記第一ネットワークを介して前記データ転送装置に向けて送信する構成にされ、
前記第二通信手段は、前記第一通信手段が前記第一ネットワークを通じて受信した前記転送対象のフレームデータを、前記スケジュールに従って、規定の時刻に前記第二ネットワークに送信する
ことを特徴とするデータ転送システム。
Predetermined transfer target frame data connected to a first network that transmits and receives frame data using an event-driven communication protocol and a second network that transmits and receives frame data using a time-triggered communication protocol A data transfer device for transferring from the first network to the second network;
A node that is provided in the first network and executes transmission / reception of frame data according to the event-driven communication protocol;
A data transfer system comprising:
The time-triggered communication protocol is a communication protocol determined to transmit each frame data to the second network at a specified time according to a predetermined schedule,
The data transfer device
First communication means capable of transmitting and receiving frame data to and from the first network;
Second communication means capable of transmitting frame data to the second network;
Obtaining information as to which frame data of the frame data predetermined in the schedule is transmitted through the second network, and collating the obtained information with the schedule Determining means for determining whether or not the current time is a time before a transmission start time determined by the time-triggered communication protocol with respect to the frame data to be transferred;
When the determination unit determines that the current time is a time before a transmission start time determined by the time-triggered communication protocol with respect to the frame data to be transferred, the transfer target Request frame data for requesting the frame data, and the generated request frame data toward the node in the first network that can transmit the frame data to be transferred to the data transfer apparatus. Request means for causing the first communication means to transmit,
With
When receiving the request frame data, the node is configured to transmit the frame data to be transferred to the data transfer device via the first network in accordance with the request content of the request frame data.
The second communication means transmits the frame data to be transferred received by the first communication means through the first network to the second network at a specified time according to the schedule. system.
前記判断手段および前記要求手段は、繰り返し動作するように構成され、
前記データ転送装置は、
前記要求フレームデータを送信してから予め定められた時間内に、当該要求フレームデータにより要求した前記転送対象のフレームデータを、前記第一通信手段が受信しなかった場合、前記第一通信手段が受信しなかった前記転送対象のフレームデータを要求する前記要求フレームデータの次回以降の生成を、前記要求手段に禁止させることが可能な禁止手段
を備える
ことを特徴とする請求項1に記載のデータ転送システム。
The determination means and the request means are configured to repeatedly operate,
The data transfer device
If the first communication means does not receive the frame data to be transferred requested by the request frame data within a predetermined time after transmitting the request frame data, the first communication means 2. The data according to claim 1, further comprising prohibiting means capable of causing the requesting means to prohibit generation of the request frame data for requesting the frame data to be transferred that has not been received. Transfer system.
前記要求手段は、前記生成する要求フレームデータに待機時間の情報を格納し、
前記ノードは、前記待機時間の情報が格納された要求フレームデータを受信すると、当該要求フレームデータを受信した時点から、当該要求フレームデータが示す前記待機時間の経過後に、当該要求フレームデータにより要求された前記転送対象のフレームデータを、前記データ転送装置に向けて送信する
ことを特徴とする請求項1又は請求項2に記載のデータ転送システム。
The requesting means stores waiting time information in the request frame data to be generated,
When the node receives the request frame data in which the waiting time information is stored, the node is requested by the request frame data after the waiting time indicated by the request frame data from the time when the request frame data is received. The data transfer system according to claim 1 or 2, wherein the frame data to be transferred is transmitted to the data transfer device.
前記データ転送装置は、
前記要求手段により前記要求フレームデータを送信してから、前記第二通信手段が、前記要求フレームデータに対応する転送対象のフレームデータを、前記第二ネットワークに送信可能となるまでの時間である遅延時間を予測する予測手段
を備え、
前記判断手段は、前記所定時間を、前記予測手段によって予測された遅延時間に設定して、現在時刻が、前記送信開始時刻の所定時間前の時刻であるか否かを判断する構成にされている
ことを特徴とする請求項1から請求項3までの何れかに記載のデータ転送システム。
The data transfer device
A delay that is a time from when the request means transmits the request frame data to when the second communication means can transmit the frame data to be transferred corresponding to the request frame data to the second network. With a prediction means to predict time,
The determination unit is configured to set the predetermined time to the delay time predicted by the prediction unit and to determine whether or not the current time is a time that is a predetermined time before the transmission start time. The data transfer system according to any one of claims 1 to 3, wherein:
前記予測手段は、前記第一ネットワークの負荷を測定するネットワーク負荷測定手段を備え、前記ネットワーク負荷測定手段の測定結果に基づいて、前記遅延時間を予測する
ことを特徴とする請求項4に記載のデータ転送システム。
The said prediction means is provided with the network load measurement means which measures the load of said 1st network, and predicts the said delay time based on the measurement result of the said network load measurement means. Data transfer system.
前記データ転送装置は、CPU及び前記CPUにより実行されるプログラムを記憶するプログラム記憶手段を備え、
前記CPUは、前記プログラム記憶手段に記憶されたプログラムを実行することにより、前記判断手段、前記要求手段および前記予測手段としての機能を実現し、
前記プログラムは、前記CPUの処理負荷を測定し、前記処理負荷の測定結果に基づいて、前記遅延時間を予測する処理を、前記CPUが実行可能なように構成されている
ことを特徴とする請求項4又は請求項5に記載のデータ転送システム。
The data transfer device includes a CPU and a program storage unit that stores a program executed by the CPU.
The CPU realizes functions as the determination unit, the request unit, and the prediction unit by executing a program stored in the program storage unit,
The said program is comprised so that the said CPU can perform the process which measures the processing load of the said CPU and estimates the said delay time based on the measurement result of the said processing load. The data transfer system according to claim 4 or 5.
JP2008015284A 2008-01-25 2008-01-25 Data transfer system Expired - Fee Related JP4957569B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008015284A JP4957569B2 (en) 2008-01-25 2008-01-25 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008015284A JP4957569B2 (en) 2008-01-25 2008-01-25 Data transfer system

Publications (2)

Publication Number Publication Date
JP2009177614A JP2009177614A (en) 2009-08-06
JP4957569B2 true JP4957569B2 (en) 2012-06-20

Family

ID=41032224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008015284A Expired - Fee Related JP4957569B2 (en) 2008-01-25 2008-01-25 Data transfer system

Country Status (1)

Country Link
JP (1) JP4957569B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0548610A (en) * 1991-08-14 1993-02-26 Tokyo Electric Co Ltd Radio communication system
JP4732632B2 (en) * 2001-08-06 2011-07-27 株式会社フジクラ Communications system
JP2007067654A (en) * 2005-08-30 2007-03-15 Denso Corp Communication system and communication apparatus

Also Published As

Publication number Publication date
JP2009177614A (en) 2009-08-06

Similar Documents

Publication Publication Date Title
JP5111613B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JP5709055B2 (en) Electronic control device for vehicle
JP6172090B2 (en) Relay device
JP5382472B2 (en) Data relay apparatus and data relay method used in the apparatus
US10153825B2 (en) Vehicle-mounted control device
CN106533805B (en) Micro-service request processing method, micro-service controller and micro-service architecture
JP5050653B2 (en) Electronic control device
CN103378919B (en) A method and device for transmitting FI messages
CN106411443A (en) Message transmission method, in-vehicle network system and vehicle
KR101295871B1 (en) Data transmission method in sensor network
JP2022072317A (en) Relay device
CN104753749A (en) Multi-host communication method and multi-host communication system
KR101135117B1 (en) METHOD AND APPARATUS OF COMPENSATING DELAY OF MESSAGE TRANSMISSION USING PROCESS PRIORITY ADJUSTMENT IN heterogeneous COMMUNICATION
JP2023005936A (en) Relay device, relay system, relay method, and computer program
CN114793344A (en) Power failure warning method and related equipment
JP4957569B2 (en) Data transfer system
CN104618123B (en) A kind of method of supplying power to and device
JP2015053568A (en) Communication controller
CN115460037A (en) CAN network management method, device, management equipment, vehicle and storage medium
JP4917557B2 (en) In-vehicle relay connection unit
CN109039934B (en) Space DTN network congestion control method and system
KR102073847B1 (en) Control network system, node device
CN107508755B (en) Network communication method and device for avoiding data conflict
CN117014248A (en) A multi-device communication method for RS485 bus used in electric vehicles
JP7285388B1 (en) Control device, control method and control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120209

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: 20120221

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120305

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

Free format text: PAYMENT UNTIL: 20150330

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4957569

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees