JP2018046515A - Relay device, communication system, transmission method, and computer program - Google Patents
Relay device, communication system, transmission method, and computer program Download PDFInfo
- Publication number
- JP2018046515A JP2018046515A JP2016182030A JP2016182030A JP2018046515A JP 2018046515 A JP2018046515 A JP 2018046515A JP 2016182030 A JP2016182030 A JP 2016182030A JP 2016182030 A JP2016182030 A JP 2016182030A JP 2018046515 A JP2018046515 A JP 2018046515A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transmission
- unit
- ecu
- communication
- 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.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/44—Star or tree networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Mechanical Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Small-Scale Networks (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、複数の通信線に接続され、該複数の通信線中の2つの通信線夫々に接続されている2つの通信装置間の通信を中継する中継装置と、該中継装置を備える通信システムと、コンピュータプログラムを更新するための更新データを送信する送信方法と、該更新データを送信するためのコンピュータプログラムとに関する。 The present invention relates to a relay device that is connected to a plurality of communication lines and relays communication between two communication devices connected to each of the two communication lines in the plurality of communication lines, and a communication system including the relay device. And a transmission method for transmitting update data for updating the computer program, and a computer program for transmitting the update data.
車両に搭載される通信システムとして、複数の通信線に接続され、複数の通信線中の2つの通信線夫々に接続されている2つの通信装置間の通信を中継する中継装置を備える通信システム(例えば、特許文献1を参照)がある。 As a communication system mounted on a vehicle, a communication system including a relay device that is connected to a plurality of communication lines and relays communication between two communication devices connected to two communication lines in the plurality of communication lines ( For example, see Patent Document 1).
特許文献1に記載の通信システムでは、通信装置は、ECU(Electronic Control Unit:電子制御装置)であり、通信装置にはコンピュータプログラムが記憶されている。通信装置はCPU(Central Processing Unit)を有し、このCPUは、通信装置に記憶されているコンピュータプログラムを実行することによって、種々の処理を実行する。
In the communication system described in
特許文献1に記載の通信システムでは、中継装置は、コンピュータプログラムを更新するための更新データを、前述した複数の通信線中の1つである送信線を介して通信装置に送信する。中継装置は、更新データを送信する場合、送信線について、通信負荷が高いか否かを判定する。
In the communication system described in
中継装置は、例えば、送信線を介してデータが送信されている送信時間が単位時間当たりに占める占有率が高いため、送信線の通信負荷が高いと判定した場合、送信線に接続されている全ての通信装置に制御指令を送信する。これにより、これらの通信装置は送信線を介して単位時間当たりに送信するデータの送信量を低下させるので、送信線の通信負荷は低下する。中継装置は、送信線の通信負荷を低下させた後、送信線を介して、コンピュータプログラムの更新対象である通信装置に更新データを送信する。 A relay device is connected to a transmission line when, for example, it is determined that the communication load of the transmission line is high because the occupancy rate of the transmission time during which data is transmitted via the transmission line is high per unit time. A control command is transmitted to all communication devices. Thereby, since these communication apparatuses reduce the transmission amount of the data transmitted per unit time via the transmission line, the communication load of the transmission line decreases. After reducing the communication load of the transmission line, the relay apparatus transmits the update data to the communication apparatus that is the update target of the computer program via the transmission line.
特許文献1に記載の通信システムでは、中継装置が、更新データを、送信線を介して通信装置に送信する場合において、送信線の通信負荷が高いとき、更新データを除く他のデータの単位時間当たりの送信量を低下させる。
In the communication system described in
送信線を介して送受信されるデータには、車両の運転に関するデータが含まれていると考えられる。車両の運転に関するデータの送受信が遅れた場合、車両内で行われる一部の制御が遅れる可能性がある。このため、更新データを除く他のデータの単位時間当たりの送信量を低下させることは好ましくない。また、更新データの送信は、通常、更新データの一部分である部分データを繰り返し送信することによって実現される。この場合においては、部分データを除く他のデータの単位時間当たりの送信量を低下させることは好ましくない。 The data transmitted / received via the transmission line is considered to include data relating to vehicle operation. When transmission / reception of data relating to driving of a vehicle is delayed, some control performed in the vehicle may be delayed. For this reason, it is not preferable to reduce the transmission amount per unit time of other data excluding update data. In addition, transmission of update data is usually realized by repeatedly transmitting partial data that is a part of update data. In this case, it is not preferable to reduce the transmission amount per unit time of other data excluding partial data.
本発明は斯かる事情に鑑みてなされたものであり、その目的とするところは、コンピュータプログラムの更新データの一部分である部分データを除く他のデータの単位時間当たりの送信量を低下させることなく、更新データを送信することができる中継装置、送信方法及びコンピュータプログラムと、該中継装置を備える通信システムとを提供することにある。 The present invention has been made in view of such circumstances, and the object of the present invention is to reduce the transmission amount per unit time of other data excluding partial data which is a part of update data of a computer program. Another object of the present invention is to provide a relay device, a transmission method and a computer program capable of transmitting update data, and a communication system including the relay device.
本発明に係る中継装置は、複数の通信線に接続され、該複数の通信線中の2つの通信線夫々に接続されている2つの通信装置間の通信を中継する中継装置において、前記複数の通信線中の1つである第1通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出する算出部と、該算出部が算出した占有率に基づいて、コンピュータプログラムを更新するための更新データの一部分である部分データの単位時間当たりの送信量を決定する決定部と、該決定部が決定した単位時間当たりの送信量で、前記部分データを、前記第1通信線を介して繰り返し送信する送信部とを備えることを特徴とする。 A relay device according to the present invention is a relay device that is connected to a plurality of communication lines and relays communication between two communication devices connected to two communication lines of the plurality of communication lines. A calculation unit that calculates an occupancy ratio of a transmission time during which data is transmitted per unit time for a first communication line that is one of the communication lines, and a computer based on the occupancy ratio calculated by the calculation unit A determination unit that determines a transmission amount per unit time of partial data that is a part of update data for updating a program, and the partial data with the transmission amount per unit time determined by the determination unit. And a transmission unit that repeatedly transmits via a communication line.
本発明に係る中継装置は、第2通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出する第2の算出部と、該第2の算出部が算出した占有率に基づいて、前記部分データの単位時間当たりの送信量を決定する第2の決定部と、該第2の決定部が決定した単位時間当たりの送信量を示す送信量データを、前記第2通信線を介して送信する第2の送信部と、前記第2通信線を介して前記部分データを受信する受信部とを備えることを特徴とする。 The relay apparatus according to the present invention includes a second calculation unit that calculates an occupancy ratio of a transmission time during which data is transmitted per unit time for the second communication line, and an occupancy calculated by the second calculation unit. A second determination unit that determines a transmission amount per unit time of the partial data based on the rate; and transmission amount data indicating the transmission amount per unit time determined by the second determination unit, A second transmission unit that transmits via a communication line and a reception unit that receives the partial data via the second communication line.
本発明に係る中継装置は、前記決定部は、前記部分データの送信間隔を決定することによって、前記部分データの単位時間当たりの送信量を決定し、前記送信部は、該決定部が決定した送信間隔で、前記部分データを、前記第1通信線を介して繰り返し送信することを特徴とする。 In the relay device according to the present invention, the determination unit determines a transmission amount per unit time of the partial data by determining a transmission interval of the partial data, and the transmission unit is determined by the determination unit. The partial data is repeatedly transmitted via the first communication line at a transmission interval.
本発明に係る中継装置は、前記算出部の算出及び前記決定部の決定は、該送信部が前記部分データを繰り返し送信している間に行われることを特徴とする。 The relay apparatus according to the present invention is characterized in that the calculation by the calculation unit and the determination by the determination unit are performed while the transmission unit repeatedly transmits the partial data.
本発明に係る中継装置は、前記送信部は、前記算出部が算出した占有率が所定率以上である間、前記部分データの送信を停止していることを特徴とする。 The relay apparatus according to the present invention is characterized in that the transmission unit stops transmission of the partial data while the occupation ratio calculated by the calculation unit is equal to or greater than a predetermined rate.
本発明に係る通信システムは、前述した中継装置と、前記2つの通信装置とを備えることを特徴とする。 A communication system according to the present invention includes the relay device described above and the two communication devices.
本発明に係る送信方法は、通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出し、算出した占有率に基づいて、コンピュータプログラムを更新するための更新データの一部分である部分データの単位時間当たりの送信量を決定し、決定した単位時間当たりの送信量で、前記部分データを、前記通信線を介して繰り返し送信することを特徴とする。 The transmission method according to the present invention calculates an occupancy ratio of transmission time during which data is transmitted per unit time for a communication line, and updates data for updating a computer program based on the calculated occupancy ratio A transmission amount per unit time of partial data which is a part is determined, and the partial data is repeatedly transmitted via the communication line with the determined transmission amount per unit time.
本発明に係るコンピュータプログラムは、通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出し、算出した占有率に基づいて、コンピュータプログラムを更新するための更新データの一部分である部分データの単位時間当たりの送信量を決定し、決定した単位時間当たりの送信量で、前記部分データが、前記通信線を介して繰り返し送信されるようにデータの送信を指示する処理をコンピュータに実行させることを特徴とする。 A computer program according to the present invention calculates an occupancy ratio of a transmission time during which data is transmitted per unit time for a communication line, and updates data for updating the computer program based on the calculated occupancy ratio Processing for determining a transmission amount per unit time of partial data as a part and instructing data transmission so that the partial data is repeatedly transmitted via the communication line with the determined transmission amount per unit time Is executed by a computer.
本発明に係る中継装置、送信方法及びコンピュータプログラムにあっては、コンピュータプログラムの更新データの一部分である部分データを、通信線(第1通信線)を介して繰り返し送信する場合、この通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出し、算出した占有率に基づいて、部分データの単位時間当たりの送信量を決定する。その後、決定した単位時間当たりの送信量で部分データが送信される。 In the relay apparatus, the transmission method, and the computer program according to the present invention, when the partial data that is a part of the update data of the computer program is repeatedly transmitted via the communication line (first communication line), the communication line The occupancy rate that the transmission time during which data is transmitted occupies per unit time is calculated, and the transmission amount per unit time of the partial data is determined based on the calculated occupancy rate. Thereafter, the partial data is transmitted with the determined transmission amount per unit time.
以上のように、通信線に係る占有率に基づいて、部分データの単位時間当たりの送信量を変更し、部分データを除く他のデータの単位時間当たりの送信量を変更することはない。このため、部分データを除く他のデータの単位時間当たりの送信量を低下させることなく、更新データが送信される。 As described above, the transmission amount per unit time of partial data is changed based on the occupation rate related to the communication line, and the transmission amount per unit time of other data excluding the partial data is not changed. For this reason, the update data is transmitted without reducing the transmission amount per unit time of other data excluding the partial data.
本発明に係る中継装置にあっては、第2通信線を介して更新データを受信する場合、第2通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出し、算出した占有率に基づいて、部分データの単位時間当たりの送信量を決定する。その後、決定した単位時間当たりの送信量を示す速度データを、第2通信線を介して送信し、部分データを、第2通信線を介して受信する。 In the relay apparatus according to the present invention, when the update data is received via the second communication line, the occupancy ratio of the transmission time during which data is transmitted per unit time is calculated for the second communication line. The transmission amount per unit time of the partial data is determined based on the calculated occupation rate. Thereafter, speed data indicating the determined transmission amount per unit time is transmitted via the second communication line, and partial data is received via the second communication line.
以上のように、第2通信線に係る占有率に基づいて、部分データの単位時間当たりの送信量を変更し、部分データを除く他のデータの単位時間当たりの送信量を変更することはない。このため、部分データを除く他のデータの単位時間当たりの送信量を低下させることなく、部分データを、第2通信線を介して受信する。 As described above, the transmission amount per unit time of partial data is changed based on the occupation rate related to the second communication line, and the transmission amount per unit time of other data excluding partial data is not changed. . Therefore, the partial data is received via the second communication line without reducing the transmission amount per unit time of other data excluding the partial data.
本発明に係る中継装置にあっては、繰り返し送信される部分データの送信間隔を決定することによって、部分データの単位時間当たりの送信量の決定を実現する。 In the relay apparatus according to the present invention, the transmission amount of partial data per unit time is determined by determining the transmission interval of repeatedly transmitted partial data.
本発明に係る中継装置にあっては、部分データを繰り返し送信している間も、占有率の算出と、送信間隔の決定とを行う。これにより、部分データが繰り返し送信されている間も部分データの単位時間当たりの送信量が変更される。部分データを繰り返し送信している間に、通信線に係る占有率が変化した場合も、部分データの単位時間当たりの送信量は、変化した占有率に応じて変更される。 In the relay device according to the present invention, the occupation rate is calculated and the transmission interval is determined even while the partial data is repeatedly transmitted. Thereby, the transmission amount per unit time of the partial data is changed even while the partial data is repeatedly transmitted. Even when the occupation rate related to the communication line changes while the partial data is repeatedly transmitted, the transmission amount of the partial data per unit time is changed according to the changed occupation rate.
本発明に係る中継装置にあっては、第1通信線に係る占有率が所定率以上である間、部分データの送信を停止しているので、部分データを除く他のデータの送信に悪影響を与える確率は低い。 In the relay device according to the present invention, since the transmission of partial data is stopped while the occupation rate of the first communication line is equal to or higher than the predetermined rate, the transmission of other data excluding the partial data is adversely affected. The probability of giving is low.
本発明に係る通信システムにあっては、中継装置は、複数の通信線中の2つの通信線夫々に接続されている2つの通信装置間の通信を中継する。中継装置は、複数の通信線中の1つである第1通信線を介して更新データを送信する。 In the communication system according to the present invention, the relay device relays communication between two communication devices connected to two communication lines in the plurality of communication lines. The relay device transmits update data via a first communication line that is one of a plurality of communication lines.
本発明によれば、コンピュータプログラムの更新データの一部分である部分データを除く他のデータの単位時間当たりの送信量を低下させることなく、更新データを送信することができる。 According to the present invention, update data can be transmitted without reducing the transmission amount per unit time of other data excluding partial data that is a part of update data of a computer program.
以下、本発明をその実施の形態を示す図面に基づいて詳述する。
図1は、本実施の形態における通信システム1の要部構成を示すブロック図である。通信システム1は、中継装置10、4つのECU11a,11b,12a,12b、無線器13、2つのECUバス14a,14b、無線器バス15及びサーバ16を備える。中継装置10、ECU11a,11b,12a,12b、無線器13、ECUバス14a,14b及び無線器バス15は車両100に搭載されている。
Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof.
FIG. 1 is a block diagram showing a main configuration of a
中継装置10には、2つのECUバス14a,14b及び無線器バス15が各別に接続されている。ECUバス14aには、ECU11a,12aが更に接続されている。ECUバス14bには、ECU11b,12bが更に接続されている。無線器バス15には、無線器13が更に接続されている。サーバ16は、車両100の外側に設置されており、外部のネットワークN1に接続されている。
Two
ECU11a,11b,12a,12b夫々には、図示しない電気機器が接続されている。ECU11a,11b,12a,12b夫々は、自装置に接続されている電気機器に制御データを出力することによって、この電気機器の動作を制御する。
An electric device (not shown) is connected to each of the
ECU11a,11b,12a,12b夫々は、通信装置として機能し、相互に有線で通信する。中継装置10は、ECUバス14aに接続されているECU、即ち、ECU11a,12a中の1つと、ECUバス14bに接続されているECU、即ち、ECU11b,12b中の1つとの間の通信を中継する。
Each of the
例えば、ECU12aは、車両100のドアのロック又はアンロックの指示を使用者から受け付け、受け付けた指示を示す指示データを、中継装置10に送信する。中継装置10は、受信した指示データを、車両100のドアのロック及びアンロックを行うドアモータに接続されているECU11bに送信する。また、例えば、ECU11aは、車両100の加速度を検出する加速度センサを有し、加速度センサが検出した加速度を示す加速度データを、中継装置10に送信する。中継装置10は、受信した加速度データを、車両100のエアバッグの動作を制御するECU12bに送信する。
For example, the
ECU11a,11b,12a,12b夫々は、無線器13と有線で通信する。中継装置10は、ECUバス14aに接続されているECU、即ち、ECU11a,12a中の1つと、無線器バス15に接続されている無線器13との間の通信を中継する。また、中継装置10は、ECUバス14bに接続されているECU、即ち、ECU11b,12b中の1つと、無線器バス15に接続されている無線器13との間の通信を中継する。無線器13は、ネットワークN1を介してサーバ16と無線で通信する。
Each of the
例えば、ECU11aは、車両の走行に関する速度又は加速度等の値を検出するセンサを有し、センサが検出した検出値を示す検出データを中継装置10に送信する。中継装置10は、受信した検出データを無線器13に送信し、無線器13は、受信した検出データをサーバ16に送信する。また、例えば、ECU11a,11b,12a,12b夫々は、自装置、又は、自装置に接続されている電気機器の故障に関する診断結果を示す診断データを中継装置10に送信する。中継装置10は、受信した診断データを無線器13に送信し、無線器13は、受信した診断データをサーバ16に送信する。更に、例えば、無線器13は、サーバ16から車両100周辺の交通状況を示す交通データを受信し、受信した交通データを中継装置10に送信する。中継装置10は、受信した交通データを、ECU11a,12a又はECU11b,12bに送信する。
For example, the
以上のように、ECU11a,11b,12a,12b及び無線器13は相互に通信するため、ECUバス14a,14b及び無線器バス15夫々を介して、種々のデータが送信されている。
ECUバス14a,14b夫々は第1通信線として機能し、無線器バス15は第2通信線として機能する。
As described above, since the
Each of the
ECU11a,11b,12a,12b夫々には、制御プログラムが記憶されている(図14を参照)。ECU11a,11b,12a,12b夫々において、制御プログラムが実行されることによって、電気機器を制御するための処理が実行される。
A control program is stored in each of the
無線器13は、ECU11a,11b,12a,12b中の1つに記憶されている制御プログラムを更新するための更新データをサーバ16から受信する。無線器13は、サーバ16から受信した更新データの一部分である部分データを、無線器バス15を介して中継装置10に繰り返し送信する。これにより、中継装置10は更新データを受信する。中継装置10は、無線器13から受信した更新データの一部分である部分データを、ECUバス14a,14b中の1つを介して繰り返し送信する。これにより、ECU11a,12a又はECU11b,12bは更新データを受信する。ECU11a,11b,12a,12b夫々は、中継装置10から受信した更新データに基づいて、自装置に記憶されている制御プログラムを更新する。
The
ECUバス14a,14b及び無線器バス15夫々を介した通信は、CAN(Controller Area Network)プロトコル、又は、CAN−FD(Controller Area Network with Flexible Data Rate)プロトコルに従って行われる。これらのプロトコルでは、データを含むデータフレームを送信することによって、データの送信を実現する。ECUバス14a,14b及び無線器バス15夫々はツイストペア線によって構成されている。
Communication via each of the
図2はデータフレームの説明図である。データフレームは、SOF(Start Of Frame)、アービトレーションフィールド、コントロールフィールド、データフィールド、CRC(Cyclic Redundancy Check)フィールド、ACK(Acknowledge)及びEOF(End Of Frame)によって構成される。 FIG. 2 is an explanatory diagram of a data frame. The data frame includes an SOF (Start Of Frame), an arbitration field, a control field, a data field, a CRC (Cyclic Redundancy Check) field, an ACK (Acknowledge), and an EOF (End Of Frame).
SOFにはメッセージの開始を示す情報が含まれている。アービトレーションフィールドには、識別を行うための識別情報と、RTR(Remote Transmission Request)ビットとが含まれる。 The SOF includes information indicating the start of the message. The arbitration field includes identification information for identifying and an RTR (Remote Transmission Request) bit.
コントロールフィールドには、データフィールドに含まれているデータの長さ(以下、データ長という)を示す情報が含まれている。データ長の単位はバイトである。データフィールドには、通知されるべき内容を示すデータが含まれている。前述した指示データ、加速度データ、検出データ、交通データ及び部分データ夫々は、データフィールドに含まれるデータである。データフィールドに含まれるデータのデータ長について上限値が設けられている。データ長の上限値は、例えば8バイトである。従って、部分データのデータ長について上限値が設けられており、この上限値は、データフィールドに含まれるデータの上限値である。 The control field includes information indicating the length of data included in the data field (hereinafter referred to as data length). The unit of data length is byte. The data field includes data indicating the contents to be notified. Each of the instruction data, acceleration data, detection data, traffic data, and partial data described above is data included in the data field. An upper limit is set for the data length of the data included in the data field. The upper limit value of the data length is, for example, 8 bytes. Therefore, an upper limit is provided for the data length of the partial data, and this upper limit is the upper limit of the data included in the data field.
CRCフィールドには、コード及びCRC境界を示す情報が含まれている。ACKはメッセージが正しく受信されたか否かの確認に用いられる。EOFにはメッセージの終了を示す情報が含まれている。 The CRC field includes information indicating a code and a CRC boundary. The ACK is used to confirm whether the message has been correctly received. The EOF includes information indicating the end of the message.
ECUバス14aに接続されている1つの装置がECUバス14aを介して送信したデータは、ECUバス14aに接続されている他の装置の全てによって受信される。同様に、ECUバス14bに接続されている1つの装置がECUバス14bを介して送信したデータは、ECUバス14bに接続されている他の装置の全てによって受信される。また、無線器バス15に接続されている1つの装置が無線器バス15を介して送信したデータは、無線器バス15に接続されている他の装置の全てによって受信される。
Data transmitted from one device connected to the
前述したように、データフレームには識別情報が含まれている。ECUバス14a,14b及び無線器バス15夫々において、複数のデータが同時に送信された場合、これらのデータに係る複数のデータフレーム夫々のアービトレーションフィールドに含まれる識別情報データに基づいて、アービトレーション(調停)が行われる。アービトレーションでは、同時に送信された複数のデータフレーム中の1つの送信元のみが送信を継続し、他のデータフレームの送信元は送信を停止する。
As described above, identification information is included in the data frame. When a plurality of data is transmitted simultaneously in each of the
また、中継装置10、ECU11a,11b,12a,12b及び無線器13夫々は、有線でデータを受信した場合、このデータに係るデータフレームに含まれている識別情報に基づいて、受信したデータを破棄すべきか否かを判定する。中継装置10、ECU11a,11b,12a,12b及び無線器13夫々は、データを破棄すべきと判定した場合、受信したデータを破棄し、データを破棄すべきではないと判定した場合、受信したデータに係る処理を行う。
Further, when each of the
ECU11a,11b,12a,12b夫々は、部分データを受信した場合、受信した部分データを破棄すべきか否かを判定する。そして、ECU11a,11b,12a,12b夫々は、受信した部分データを破棄すべきではないと判定した場合、受信した部分データを記憶する。ECU11a,11b,12a,12b夫々は、全ての部分データ、即ち、更新データを記憶した場合、この更新データに基づいて、制御プログラムを更新する。
Each of the
図3は、無線器13の要部構成を示すブロック図である。無線器13は、無線通信部20、有線通信部21、タイマ22、記憶部23及び制御部24を有する。これらはバス25に各別に接続されている。有線通信部21は、更に、無線器バス15に接続されている。
FIG. 3 is a block diagram illustrating a configuration of a main part of the
無線通信部20は、サーバ16からネットワークN1を介して、データを無線で受信する。更新データは、無線通信部20が受信するデータの1つである。無線通信部20は、制御部24の指示に従って、データを無線でサーバ16に送信する。
The
有線通信部21は、中継装置10から無線器バス15を介して、データを受信する。有線通信部21は、制御部24の指示に従って、データを中継装置10に送信する。更新データの一部分である部分データは、有線通信部21が送信するデータの1つである。
タイマ22は、制御部24の指示に従って、計時の開始及び終了を行う。タイマ22が計時している計時時間は制御部24によって読み出される。
The
The
記憶部23は例えば不揮発性メモリである。記憶部23には、制御プログラムP1が記憶されている。
制御部24は図示しないCPUを有する。制御部24のCPUは、制御プログラムP1を実行することによって、データ送信処理、無線送信処理及び更新データ送信処理等を実行する。制御プログラムP1は、制御部24のCPUにデータ送信処理、無線送信処理及び更新データ処理を実行させるためのコンピュータプログラムである。
The
The
なお、制御プログラムP1は、コンピュータが読み取り可能に、記憶媒体A1に記憶されていてもよい。この場合、図示しない読み出し装置によって記憶媒体A1から読み出された制御プログラムP1が記憶部23に記憶される。記憶媒体A1は、光ディスク、フレキシブルディスク、磁気ディスク、磁気光ディスク又は半導体メモリ等である。光ディスクは、CD(Compact Disc)−ROM(Read Only Memory)、DVD(Digital Versatile Disc)−ROM、又は、BD(Blu-ray(登録商標) Disc)等である。磁気ディスクは、例えばハードディスクである。また、図示しない通信網に接続されている図示しない外部装置から制御プログラムP1をダウンロードし、ダウンロードした制御プログラムP1を記憶部23に記憶してもよい。
The control program P1 may be stored in the storage medium A1 so that the computer can read it. In this case, the control program P1 read from the storage medium A1 by a reading device (not shown) is stored in the
制御部24は、データ送信処理、無線送信処理及び更新データ送信処理を、時分割方式で実行する。従って、制御部24は、1つの処理で待機している間、他の処理を実行する。例えば、制御部24は、更新データ送信処理で待機している間、データ送信処理を実行する。
The
データ送信処理は、更新データの一部分である部分データを除く他のデータを、無線器バス15を介して送信するための処理である。制御部24は、部分データを除く他のデータを無線通信部20が受信した場合にデータ送信処理を実行する。データ送信処理では、制御部24は、有線通信部21に指示して、無線通信部20が受信したデータを中継装置10に送信させる。その後、制御部24はデータ送信処理を終了する。
The data transmission process is a process for transmitting data other than the partial data that is a part of the update data via the
無線送信処理は、データを無線でサーバ16に送信するための処理である。制御部24は、有線通信部21がデータを受信した場合、無線送信処理を実行する。無線送信処理では、制御部24は、有線通信部21が受信したデータのデータフレームに含まれている識別情報に基づいて、有線通信部21が受信したデータを破棄すべきか否かを判定する。制御部24は、有線通信部21が受信したデータを破棄すべきと判定した場合、このデータを破棄し、無線送信処理を終了する。制御部24は、有線通信部21が受信したデータを破棄すべきではないと判定した場合、無線通信部20に指示して、このデータをサーバ16に無線で送信させ、無線送信処理を終了する。
更新データ送信処理は、更新データを、無線器バス15を介して送信するための処理である。
The wireless transmission process is a process for transmitting data to the
The update data transmission process is a process for transmitting update data via the
図4は、無線器13の更新データ送信処理の手順を示すフローチャートである。制御部24は、無線通信部20が更新データを受信した場合に更新データ送信処理を実行する。記憶部23には、有線通信部21が部分データを送信する時間間隔である無線器送信間隔と、部分データが送信された回数である無線器送信回数と、無線器送信回数に係る第1閾値とが記憶されている。第1閾値は、一定値であり、自然数である。
FIG. 4 is a flowchart showing a procedure of update data transmission processing of the
更新データ送信処理では、制御部24は、有線通信部21に、無線器送信間隔の通知を要求する要求データの送信を指示する(ステップS1)。これにより、有線通信部21は要求データを中継装置10に送信する。中継装置10は、有線通信部21から要求データを受信した場合、無線器送信間隔、又は、更新データの送信不可を示す応答データを送信する。
In the update data transmission process, the
制御部24は、ステップS1を実行した後、有線通信部21が中継装置10から応答データを受信したか否かを判定する(ステップS2)。制御部24は、有線通信部21が応答データを受信していないと判定した場合(S2:NO)、ステップS2を再び実行し、有線通信部21が応答データを受信するまで待機する。
After executing Step S1, the
制御部24は、有線通信部21が応答データを受信したと判定した場合(S2:YES)、有線通信部21が受信した応答データが送信不可を示すか否かを判定する(ステップS3)。制御部24は、応答データが送信不可を示すと判定した場合(S3:YES)、ステップS1を実行する。ここで、制御部24は、応答データが送信不可を示すと判定してから一定時間が経過した後にステップS1を実行する。制御部24は、有線通信部21が、送信不可を示さない応答データ、即ち、無線器送信間隔を示す応答データを受信するまで要求データを繰り返し送信する。
When it is determined that the
制御部24は、応答データが送信不可を示していないと判定した場合(S3:NO)、記憶部23に記憶されている無線器送信間隔を、有線通信部21が受信した応答データが示す無線器送信間隔に変更し(ステップS4)、記憶部23に記憶されている無線器送信回数をゼロに設定する(ステップS5)。
When the
次に、制御部24は、タイマ22に指示して計時を開始させ(ステップS6)、有線通信部21に部分データの送信を指示する(ステップS7)。これにより、有線通信部21は、部分データを、無線器バス15を介して、中継装置10に送信する。
Next, the
次に、制御部24は、記憶部23に記憶されている無線器送信回数を1だけインクリメントし(ステップS8)、更新データ、即ち、全ての部分データの送信が完了したか否かを判定する(ステップS9)。制御部24は、更新データの送信が完了していないと判定した場合(S9:NO)、タイマ22が計時している計時時間が、記憶部23に記憶されている無線器送信間隔、即ち、有線通信部21が受信した応答データが示す無線器送信間隔以上であるか否かを判定する(ステップS10)。
Next, the
制御部24は、計時時間が無線器送信間隔未満であると判定した場合(S10:NO)、ステップS10を再び実行し、計時時間が無線器送信間隔以上となるまで待機する。制御部24は、計時時間が無線器送信間隔以上であると判定した場合(S10:YES)、タイマ22に指示して計時を終了させ(ステップS11)、記憶部23に記憶されている無線器送信回数が第1閾値であるか否かを判定する(ステップS12)。
When it is determined that the timed time is less than the wireless device transmission interval (S10: NO), the
制御部24は、無線器送信回数が第1閾値ではない、即ち、無線器送信回数が第1閾値未満であると判定した場合(S12:NO)、ステップS6を実行する。制御部24は、更新データの送信が完了するか、又は、無線器送信回数が第1閾値に到達するまで、有線通信部21に指示して、無線器送信間隔で部分データを繰り返し送信させる。
制御部24は、無線器送信回数が第1閾値であると判定した場合(S12:YES)、ステップS1を再び実行する。有線通信部21は、再び、要求データを中継装置10に送信し、中継装置10から無線器送信間隔を示す応答データを受信する。有線通信部21は、新たに受信した応答データが示す無線器送信間隔で部分データを繰り返し送信する。
When it is determined that the wireless device transmission count is not the first threshold value, that is, the wireless device transmission count is less than the first threshold value (S12: NO), the
When it is determined that the wireless device transmission count is the first threshold value (S12: YES), the
制御部24は、更新データの送信が完了したと判定した場合(S9:YES)、タイマ22に指示して計時を終了させ(ステップS13)、有線通信部21に、更新データの送信が完了したことを示す完了データの送信を指示する(ステップS14)。これにより、有線通信部21は、完了データを、無線器バス15を介して中継装置10に送信し、中継装置10に更新データの送信完了を通知する。
制御部24は、ステップS14を実行した後、更新データ送信処理を終了する。
When it is determined that the transmission of the update data has been completed (S9: YES), the
After executing Step S14, the
図5は、無線器13から中継装置10への更新データの送信の説明図である。ここでは、第1閾値が3である場合における更新データの送信の一例が示されている。図5に示すように、無線器13の有線通信部21は、中継装置10への更新データの送信を開始する場合、要求データを中継装置10に送信し、無線器送信回数をゼロに設定する。有線通信部21は、応答データを中継装置10から受信し、受信した応答データが示す無線器送信間隔で部分データを繰り返し送信する。
FIG. 5 is an explanatory diagram of transmission of update data from the
制御部24は、部分データが送信される都度、無線器送信回数を1だけインクリメントする。有線通信部21は、無線器送信回数が第1閾値、即ち、3となった場合、再び要求データを送信し、応答データを中継装置10から受信する。このとき、制御部24は無線器送信回数をゼロに設定する。有線通信部21は、中継装置10から新たに受信した応答データが示す無線器送信間隔で部分データを中継装置10に繰り返し送信する。
The
以上のように、無線器送信回数が第1閾値となる都度、有線通信部21は、応答データを中継装置10から新たに受信し、新たに受信した応答データが示す無線器送信間隔で部分データを繰り返し送信する。前述したように、部分データのデータ長について上限値が設けられている。更新データを構成する全ての部分データの中で最後に送信される部分データを除く他の部分データのデータ長は、上限値であり、一定である。
有線通信部21は、更新データの送信が完了した場合、完了データを中継装置10に送信し、更新データの送信完了を中継装置10に通知する。
無線器送信間隔については後述する。
As described above, each time the wireless device transmission count becomes the first threshold, the wired
When the transmission of the update data is completed, the wired
The radio transmission interval will be described later.
図6は、中継装置10の要部構成を示すブロック図である。中継装置10は、第1タイマ30、2つの第2タイマ31a,31b、2つの送信タイマ32a,32b、第1通信部33、2つの第2通信部34a,34b、記憶部35及び制御部36を有する。これらは、バス37に各別に接続されている。第1通信部33は、更に無線器バス15に接続されている。第2通信部34aは、更に、ECUバス14aに接続されている。第2通信部34bは、更に、ECUバス14bに接続されている。
FIG. 6 is a block diagram illustrating a main configuration of the
第1タイマ30、第2タイマ31a,31b及び送信タイマ32a,32b夫々は、制御部36の指示に従って、計時の開始及び終了を行う。第1タイマ30、第2タイマ31a,31b及び送信タイマ32a,32b夫々が計時した計時時間は制御部36によって読み出される。
The
第1通信部33は、無線器13の有線通信部21から、無線器バス15を介してデータを受信する。更新データの一部分である部分データは、第1通信部33が受信するデータの1つである。第1通信部33は、制御部36の指示に従って、無線器バス15を介してデータを無線器13の有線通信部21に送信する。第1通信部33は受信部として機能する。
The
第2通信部34aは、ECU11a,12a夫々がECUバス14aを介して送信したデータを受信する。第2通信部34aは、制御部36の指示に従って、ECUバス14aを介してデータをECU11a,12aに送信する。部分データは、第2通信部34aが送信するデータの1つである。
同様に、第2通信部34bは、ECU11b,12b夫々がECUバス14bを介して送信したデータを受信する。第2通信部34bは、制御部36の指示に従って、ECUバス14bを介してデータをECU11b,12bに送信する。部分データは、第2通信部34bが送信するデータの1つである。
The
Similarly, the
記憶部35は例えば不揮発性メモリである。記憶部35には、制御プログラムP2が記憶されている。
制御部36は図示しないCPUを有する。制御部36は、記憶部35に記憶されている制御プログラムP2を実行することによって、中継処理、無線器バス占有率の算出処理、ECUバス14a,14b夫々に係るECUバス占有率の算出処理、要求データに対する応答処理、及び、ECUバス14a,14b夫々を介して更新データを送信するための更新データ送信処理を実行する。
The
The
ここで、無線器バス占有率は、無線器バス15について、送信が行われている送信時間が単位時間当たりに占める占有率である。ECUバス14aに係るECUバス占有率は、ECUバス14aについて、送信が行われている送信時間が単位時間当たりに占める占有率である。同様に、ECUバス14bに係るECUバス占有率は、ECUバス14bについて、送信が行われている送信時間が単位時間当たりに示す占有率である。これらの占有率の単位はパーセント(%)である。
Here, the wireless device bus occupancy rate is an occupancy rate that the transmission time during which transmission is performed for the
制御プログラムP2は、制御部36のCPUに、中継処理、無線器バス占有率の算出処理、ECUバス14a,14b夫々に係るECUバス占有率の算出処理、要求データに対する応答処理、及び、ECUバス14a,14b夫々を介して更新データを送信するための更新データ送信処理を実行させるためのコンピュータプログラムである。
なお、制御プログラムP2は、コンピュータが読み取り可能に、記憶媒体A2に記憶されていてもよい。この場合、図示しない読み出し装置によって記憶媒体A2から読み出された制御プログラムP2が記憶部35に記憶される。記憶媒体A2は、光ディスク、フレキシブルディスク、磁気ディスク、磁気光ディスク又は半導体メモリ等である。また、図示しない通信網に接続されている図示しない外部装置から制御プログラムP2をダウンロードし、ダウンロードした制御プログラムP2を記憶部35に記憶してもよい。
The control program P2 is connected to the CPU of the
The control program P2 may be stored in the storage medium A2 so that the computer can read it. In this case, the control program P2 read from the storage medium A2 by a reading device (not shown) is stored in the
制御部36は、中継処理、無線器バス占有率の算出処理、ECUバス14a,14b夫々に係るECUバス占有率の算出処理、応答処理及び更新データ送信処理を、時分割方式で実行する。従って、制御部36は、1つの処理で待機している間、他の処理を実行する。
The
中継処理は、ECU11a,12a中の1つと、ECU11b,12b中の1つとの間の通信、ECU11a,12a中の1つと無線器13との間の通信、及び、ECU11b,12b中の1つと無線器13との間の通信を中継するための処理である。制御部36は、第1通信部33が部分データを除く他のデータを受信した場合、又は、第2通信部34a,34bの一方がデータを受信した場合に中継処理を実行する。
The relay processing includes communication between one of the
第1通信部33が、無線器13から、部分データを除く他のデータを受信した場合、中継処理では、制御部36は、第1通信部33が受信したデータのデータフレームに含まれる識別情報に基づいて、第1通信部33が受信したデータを破棄すべきか否かを判定する。制御部36は、第1通信部33が受信したデータを破棄すべきと判定した場合、このデータを破棄し、中継処理を終了する。制御部36は、第1通信部33が受信したデータを破棄すべきではないと判定した場合、このデータのデータフレームに含まれている識別情報に基づいて、第2通信部34a,34b中の一方又は両方を選択し、選択した通信部に指示して、第1通信部33が受信したデータを送信させる。
When the
第2通信部34aが、ECU11a,12a中の1つから、部分データを除く他のデータを受信した場合、中継処理では、制御部36は、第2通信部34aが受信したデータのデータフレームに含まれる識別情報に基づいて、第2通信部34aが受信したデータを破棄すべきか否かを判定する。制御部36は、第2通信部34aが受信したデータを破棄すべきと判定した場合、このデータを破棄し、中継処理を終了する。制御部36は、第2通信部34aが受信したデータを破棄すべきではないと判定した場合、このデータのデータフレームに含まれている識別情報に基づいて、第1通信部33及び第2通信部34b中の一方又は両方を選択し、選択した通信部に指示して、第2通信部34aが受信したデータを送信させる。
When the
同様に、第2通信部34bが、ECU11b,12b中の1つから、部分データを除く他のデータを受信した場合、中継処理では、制御部36は、第2通信部34bが受信したデータのデータフレームに含まれる識別情報に基づいて、第2通信部34bが受信したデータを破棄すべきか否かを判定する。制御部36は、第2通信部34bが受信したデータを破棄すべきと判定した場合、このデータを破棄し、中継処理を終了する。制御部36は、第2通信部34bが受信したデータを破棄すべきではないと判定した場合、このデータのデータフレームに含まれている識別情報に基づいて、第1通信部33及び第2通信部34a中の一方又は両方を選択し、選択した通信部に指示して、第2通信部34bが受信したデータを送信させる。
Similarly, when the
図7は、無線器バス占有率の算出処理の手順を示すフローチャートである。制御部36は無線器バス占有率の算出処理を周期的に実行する。記憶部35には、無線器バス占有率と、無線器バス15について、データが送信されている送信時間を示す無線器送信時間とが記憶されている。
FIG. 7 is a flowchart showing the procedure of the wireless device bus occupation rate calculation process. The
無線器バス占有率の算出処理では、制御部36は、記憶部35に記憶されている無線器送信時間をゼロに設定し(ステップS21)、第1タイマ30に指示して計時を開始させる(ステップS22)。次に、制御部36は、第1通信部33によって、データの送信又は受信が実行されたか否かを判定する(ステップS23)。制御部36は、データの送信又は受信が実行されたと判定した場合(S23:YES)、データの送信又は受信で用いられたデータフレームのコントロールフィールドに含まれている情報からデータ長を読み出し(ステップS24)、読み出したデータ長に対応するデータフレームのフレーム長を記憶部35から読み出す(ステップS25)。
なお、ステップS25では、ステップS24で読み出したデータ長を演算式に代入することによってフレーム長を算出してもよい。
In the wireless device bus occupancy rate calculation process, the
In step S25, the frame length may be calculated by substituting the data length read in step S24 into an arithmetic expression.
図8はデータ長とフレーム長との関係を示す図表である。記憶部35には、図8に示すようなデータ長とフレーム長との関係が記憶されている。データ長の単位は前述したようにバイトである。フレーム長の単位は秒である。図8の例では、データ長がゼロバイトであるデータフレームのフレーム長はT0であり、データ長が1バイトであるデータフレームのフレーム長はT1であり、データ長が2バイトであるデータフレームのフレーム長はT2である。ステップS25では、制御部36は、ステップS24で読み出したデータ長に対応するフレーム長を読み出す。当然のことながら、データ長が大きい程、フレーム長は長い。このため、フレーム長T0が最も短く、フレーム長は、T0,T1,T2,・・・の順に長い。
FIG. 8 is a chart showing the relationship between the data length and the frame length. The
次に、制御部36は、記憶部35に記憶されている無線器送信時間を、現在に記憶されている無線器送信時間にステップS25で読み出したフレーム長を加算することによって算出される無線器送信時間に変更する(ステップS26)。制御部36は、データの送信及び受信が実行されていないと判定した場合(S23:NO)、又は、ステップS26を実行した後、第1タイマ30が計時している計時時間が基準時間以上であるか否かを判定する(ステップS27)。基準時間は、一定値であり、予め記憶部35に記憶されている。
Next, the
制御部36は、計時時間が基準時間未満であると判定した場合(S27:NO)、ステップS23を実行する。制御部36は、第1タイマ30の計時時間が基準時間となるまでに、第1通信部33が送受信した全てのデータフレームのフレーム長を加算することによって無線器送信時間を算出する。前述したように、無線器バス15に接続されている1つの装置が送信したデータは、無線器バス15に接続されている他の装置の全てによって受信される。従って、第1通信部33が送受信した全てのデータフレームのフレーム長を加算することによって無線器送信時間を算出することができる。
When it is determined that the timekeeping time is less than the reference time (S27: NO), the
制御部36は、計時時間が基準時間以上であると判定した場合(S27:YES)、第1タイマ30に指示して計時を終了させ(ステップS28)、記憶部35に記憶されている無線器送信時間と100との積を基準時間で除算することによって無線器バス占有率を算出する(ステップS29)。次に、制御部36は、記憶部35に記憶されている無線器バス占有率を、ステップS29で算出した無線器バス占有率に変更し(ステップS30)、無線器バス占有率の算出処理を終了する。
When it is determined that the measured time is equal to or greater than the reference time (S27: YES), the
制御部36は、ECUバス14a,14b夫々に係るECUバス占有率の算出処理を、無線器バス占有率の算出処理と同様に実行する。記憶部35には、ECUバス14a,14b夫々に係るECUバス占有率と、ECUバス14a,14b夫々について、データが送信されている送信時間を示すECU送信時間とが記憶されている。
The
無線器バス占有率の算出処理の説明において、無線器バス15、第1タイマ30、第1通信部33、無線器送信時間及び無線器バス占有率夫々を、ECUバス14a、第2タイマ31a、第2通信部34a、ECUバス14aに係るECU送信時間、及び、ECUバス14aに係るECUバス占有率に置き換える。これにより、ECUバス14aに係るECUバス占有率の算出処理を説明することができる。
In the description of the calculation process of the radio equipment bus occupancy rate, the
同様に、無線器バス占有率の算出処理の説明において、無線器バス15、第1タイマ30、第1通信部33、無線器送信時間及び無線器バス占有率夫々を、ECUバス14b、第2タイマ31b、第2通信部34b、ECUバス14bに係るECU送信時間、及び、ECUバス14bに係るECUバス占有率に置き換える。これにより、ECUバス14bに係るECUバス占有率の算出処理を説明することができる。
Similarly, in the description of the wireless device bus occupancy rate calculation process, the
ECUバス14a,14b夫々に係るECUバス占有率の算出処理は、無線器バス占有率の算出処理と同様に周期的に実行される。このため、記憶部35に記憶されている無線器バス占有率、及び、2つのECUバス占有率は、経時的に変更される。
制御部36は、算出部及び第2の算出部として機能する。
The ECU bus occupancy rate calculation process related to each of the
The
図9は応答処理の手順を示すフローチャートである。制御部36は、第1通信部33が無線器13の有線通信部21から要求データを受信した場合に応答処理を実行する。応答処理では、制御部36は、記憶部35に記憶されている無線器バス占有率を読み出し(ステップS31)、読み出した無線器バス占有率が第1基準率、例えば50%未満であるか否かを判定する(ステップS32)。第1基準率は、一定値であり、記憶部35に予め記憶されている。
FIG. 9 is a flowchart showing the procedure of response processing. The
制御部36は、無線器バス占有率が第1基準率未満であると判定した場合(S32:YES)、ステップS31で読み出した無線器バス占有率に基づいて無線器送信間隔を決定する(ステップS33)。前述したように、更新データを構成する全ての部分データの中で最後に送信される部分データを除く他の部分データのデータ長は、上限値であり、一定である。従って、無線器送信間隔が短い程、無線器13の有線通信部21が送信する部分データの単位時間当たりの送信量は大きい。このため、ステップS33で無線器送信間隔を決定することによって、部分データの単位時間当たりの送信量が決定される。制御部36は第2の決定部としても機能する。
When it is determined that the wireless device bus occupancy is less than the first reference rate (S32: YES), the
図10は、無線器バス占有率と送信間隔との関係を示す図表である。記憶部35には、図10に示すような無線器バス占有率と送信間隔との関係が記憶されている。図10の例では、0%以上かつ10%未満である無線器バス占有率には送信間隔E0が対応する。10%以上かつ20%未満である無線器バス占有率には、送信間隔E0よりも長い送信間隔E1が対応する。20%以上かつ30%未満である無線器バス占有率には、送信間隔E1よりも長い送信間隔E2が対応する。30%以上かつ40%未満である無線器バス占有率には、送信間隔E2よりも長い送信間隔E3が対応する。40%以上かつ50%未満である無線器バス占有率には、送信間隔E3よりも長い送信間隔E4が対応する。図10の例では第1基準率は50%である。
FIG. 10 is a chart showing the relationship between the wireless device bus occupation ratio and the transmission interval. The
ステップS33では、制御部36は、無線器送信間隔を、ステップS31で読み出した無線器バス占有率に対応する送信間隔に決定する。図10の例では、ステップS31で読み出された無線器バス占有率が15%である場合、ステップS33では、無線器送信間隔は、送信間隔E1に決定される。
なお、ステップS33では、制御部36は、ステップS31で読み出した無線器バス占有率を演算式に代入することによって送信間隔を算出し、無線器送信間隔を、算出した送信間隔に決定してもよい。
In step S33, the
In step S33, the
次に、制御部36は、ステップS33で決定した無線器送信間隔を示す応答データの送信を第1通信部33に指示する(ステップS34)。これにより、第1通信部33は、制御部36がステップS33で決定した無線器送信間隔を示す応答データを無線器13の有線通信部21に送信する。
前述したように、無線器送信間隔を決定することによって、部分データの単位時間当たりの送信量が決定される。このため、制御部36がステップS33で決定した無線器送信間隔を示す応答データを送信することは、制御部36がステップS33で決定した単位時間当たりの送信量を示す応答データを送信することに相当する。
第1通信部33は第2の送信部としても機能する。無線器送信間隔を示す応答データは送信量データに相当する。
Next, the
As described above, the transmission amount per unit time of the partial data is determined by determining the radio transmission interval. For this reason, transmitting the response data indicating the radio transmission interval determined in step S33 by the
The
制御部36は、無線器バス占有率が第1基準率以上であると判定した場合(S32:NO)、送信不可を示す応答データの送信を有線通信部21に指示する。これにより、有線通信部21は、送信不可を示す応答データを無線器13に送信する。
制御部36は、ステップS34,S35の一方を実行した後、応答処理を終了する。
When it is determined that the wireless device bus occupation rate is equal to or higher than the first reference rate (S32: NO), the
After executing one of steps S34 and S35, the
以上のように、第1通信部33が無線器13の有線通信部21から要求データを受信した場合において、無線器バス占有率が第1基準率未満であるとき、第1通信部33は無線器送信間隔を示す応答データを送信する。無線器送信間隔は無線器バス占有率が小さい程短い。このため、図5に示すように、無線器バス占有率が小さい場合、無線器13の有線通信部21は短い無線器送信間隔で部分データを繰り返し送信し、無線器バス占有率が大きい場合、有線通信部21は長い無線器送信間隔で部分データを繰り返し送信する。前述したように、無線器バス占有率の算出処理と応答処理とは、時分割方式で行われる。
As described above, when the
従って、無線器バス占有率の算出と、無線器送信間隔の決定とは、無線器13の有線通信部21が部分データの送信を開始する前だけではなく、有線通信部21が部分データを繰り返し送信している間も行われる。結果、無線器13の有線通信部21が部分データを繰り返し送信している間に、無線器バス占有率が変化した場合も、無線器送信間隔、即ち、部分データの単位時間当たりの送信量は、変化した無線器バス占有率に応じて変更される。
Therefore, the calculation of the wireless device bus occupancy rate and the determination of the wireless device transmission interval are not only performed before the
無線器バス占有率に基づいて、無線器送信間隔、即ち、部分データの単位時間当たりの送信量が変更され、無線器バス15では部分データを除く他のデータの単位時間当たりの送信量を変更することはない。このため、部分データを除く他のデータの単位時間当たりの送信量を低下させることなく、中継装置10の第1通信部33は部分データを受信することができる。
Based on the radio bus occupation ratio, the radio transmission interval, that is, the transmission amount per unit time of partial data is changed, and the
通信システム1では、車両100が停止しているために、部分データを除く他のデータの単位時間当たりの送信量が低下した場合には、部分データが短い送信間隔で送信され、車両100が走行しているために、部分データを除く他のデータの単位時間当たりの送信量が増加した場合には、部分データが長い送信間隔で送信される。
In the
無線器バス占有率が第1基準率以上である間、中継装置10の第1通信部33から無線器13の有線通信部21に送信不可の応答データが送信されるので、有線通信部21は部分データの送信を停止している。このため、無線器バス15において、部分データを除く他のデータの送信に悪影響を与える確率は低い。
While the wireless device bus occupancy is equal to or higher than the first reference rate, response data that cannot be transmitted is transmitted from the
図11は、中継装置10の更新データ送信処理の手順を示すフローチャートである。図11には、ECUバス14aを介して更新データを送信するための更新データ送信処理が示されている。制御部36は、第1通信部33が、無線器13の有線通信部21から、ECU11a,12a中の1つの制御プログラムに係る更新データの一部分である部分データを受信した場合に更新データ送信処理を実行する。記憶部35には、第2通信部34aが部分データを送信する時間間隔であるECU送信間隔と、第2通信部34aが部分データを送信したECU送信回数と、第2通信部34aのECU送信回数に係る第2閾値とが記憶されている。第2閾値は、一定値であり、自然数である。
FIG. 11 is a flowchart illustrating a procedure of update data transmission processing of the
制御部36は、ECUバス14aに係るECUバス占有率を記憶部35から読み出し(ステップS41)、読み出したECUバス占有率が第2基準率、例えば40%未満であるか否かを判定する(ステップS42)。第2基準率は、一定値であり、予め記憶部35に記憶されている。制御部36は、ECUバス占有率が第2基準率以上であると判定した場合(S42:NO)、ステップS41を実行する。ここで、制御部36は、ECUバス占有率が第2基準率以上であると判定してから一定時間が経過した後にステップS41を実行する。制御部36は、ECUバス14aに係るECUバス占有率が第2基準率未満となるまで待機する。
The
制御部36は、ECUバス占有率が第2基準率未満であると判定した場合(S42:YES)、ステップS41で読み出したECUバス占有率に基づいて、第2通信部34aのECU送信間隔を決定する(ステップS43)。更新データを構成する全ての部分データの中で最後に送信される部分データを除く他の部分データのデータ長は、上限値であり、一定である。従って、第2通信部34aのECU送信間隔が短い程、第2通信部34aが送信する部分データの単位時間当たりの送信量は大きい。このため、ステップS43で第2通信部34aのECU送信間隔を決定することによって、部分データの単位時間当たりの送信量が決定される。制御部36は決定部としても機能する。
When it is determined that the ECU bus occupancy rate is less than the second reference rate (S42: YES), the
図12は、ECUバス占有率と送信間隔との関係を示す図表である。記憶部35には、図12に示すようなECUバス占有率と送信間隔との関係が記憶されている。図12の例では、0%以上かつ10%未満であるECUバス占有率には送信間隔G0が対応する。10%以上かつ20%未満であるECUバス占有率には、送信間隔G0よりも長い送信間隔G1が対応する。20%以上かつ30%未満であるECUバス占有率には、送信間隔G1よりも長い送信間隔G2が対応する。30%以上かつ40%未満であるECUバス占有率には、送信間隔G2よりも長い送信間隔G3が対応する。図12の例では第2基準率は40%である。
FIG. 12 is a chart showing the relationship between the ECU bus occupation ratio and the transmission interval. The
ステップS43では、制御部36は、ECU送信間隔を、ステップS41で読み出したECUバス占有率に対応する送信間隔に決定する。図12の例では、ステップS41で読み出されたECUバス占有率が25%である場合、ステップS43では、ECU送信間隔は送信間隔G2に決定される。
なお、ステップS43では、制御部36は、ステップS41で読み出したECUバス占有率を演算式に代入することによって送信間隔を算出し、第2通信部34aのECU送信間隔を、算出した送信間隔に決定してもよい。
In step S43, the
In step S43, the
次に、制御部36は、記憶部35に記憶されている第2通信部34aのECU送信間隔を、ステップS43で決定したECU送信間隔に変更する(ステップS44)。次に、制御部36は、第2通信部34aのECU送信回数をゼロに設定し(ステップS45)、送信タイマ32aに指示して計時を開始させ(ステップS46)、第2通信部34aに部分データの送信を指示する(ステップS47)。これにより、第2通信部34aは、部分データをECU11a,12aに送信する。ECU11a,12aの一方は、受信した部分データを破棄し、ECU11a,12aの他方は、受信した部分データを記憶する。
Next, the
次に、制御部36は、記憶部35に記憶されている第2通信部34aのECU送信回数を1だけインクリメントし(ステップS48)、更新データ、即ち、全ての部分データの送信が完了したか否かを判定する(ステップS49)。制御部36は、更新データの送信が完了していないと判定した場合(S49:NO)、送信タイマ32aが計時している計時時間が、記憶部35に記憶されているECU送信間隔、即ち、ステップS43で決定したECU送信間隔以上であるか否かを判定する(ステップS50)。
Next, the
制御部36は、計時時間がECU送信間隔未満であると判定した場合(S50:NO)、ステップS50を再び実行し、計時時間がECU送信間隔以上となるまで待機する。制御部36は、計時時間がECU送信間隔以上であると判定した場合(S50:YES)、送信タイマ32aに指示して計時を終了させ(ステップS51)、記憶部35に記憶されているECU送信回数が第2閾値であるか否かを判定する(ステップS52)。
When it is determined that the timed time is less than the ECU transmission interval (S50: NO), the
制御部36は、ECU送信回数が第2閾値ではない、即ち、ECU送信回数が第2閾値未満であると判定した場合(S52:NO)、ステップS46を実行する。制御部36は、更新データの送信が完了するか、又は、ECU送信回数が第2閾値に到達するまで、第2通信部34aに指示してECU送信回数で部分データを繰り返し送信させる。
制御部36は、ECU送信回数が第2閾値であると判定した場合(S52:YES)、ステップS41を再び実行する。第2通信部34aは、ECUバス14aに係るECUバス占有率が第2基準率未満である場合、再び、ステップS43を実行し、第2通信部34aはステップS43で新たに決定したECU送信間隔で部分データを繰り返し送信する。
When it is determined that the ECU transmission frequency is not the second threshold value, that is, the ECU transmission frequency is less than the second threshold value (S52: NO), the
When it is determined that the ECU transmission count is the second threshold (S52: YES), the
制御部36は、更新データの送信が完了したと判定した場合(S49:YES)、送信タイマ32aに指示して計時を終了させ(ステップS53)、第2通信部34aに、更新データの送信が完了したことを示す完了データの送信を指示する(ステップS54)。これにより、第2通信部34aは、完了データを、ECUバス14aを介してECU11a,12aに送信し、ECU11a,12aの中で部分データを記憶しているECUに更新データの送信完了を通知する。
制御部36は、ステップS54を実行した後、更新データ送信処理を終了する。
When it is determined that the transmission of the update data is completed (S49: YES), the
After executing step S54, the
制御部36は、ECUバス14bを介して更新データを送信するための更新データ送信処理を、ECUバス14aを介して更新データを送信するための更新データ送信処理と同様に実行する。
ECUバス14aを介して更新データを送信するための更新データ送信処理の説明において、ECU11a,12a、ECUバス14a、送信タイマ32a、第2通信部34a夫々を、ECU11b,12b、ECUバス14b、送信タイマ32b、第2通信部34bに置き換える。これにより、ECUバス14bを介して更新データを送信するための更新データ送信処理を説明することができる。
The
In the description of the update data transmission process for transmitting update data via the
図13は、中継装置10からECU11a,12aへの更新データの送信の説明図である。ここでは、第2通信部34aのECU送信回数に係る第2閾値が3である場合における更新データの送信の一例が示されている。
FIG. 13 is an explanatory diagram of transmission of update data from the
図13に示すように、制御部36は、第2通信部34aに更新データの送信を開始させる場合、第2通信部34aのECU送信間隔を、ECUバス14aに係るECUバス占有率に対応する送信間隔に決定する。第2通信部34aは、制御部36が決定したECU送信間隔、即ち、制御部36が決定した単位時間当たりの送信量で部分データを繰り返し送信する。制御部36は、決定したECU送信間隔で第2通信部34aが部分データを繰り返し送信するように、部分データの送信を指示している。第2通信部34aは送信部として機能する。
As illustrated in FIG. 13, when the
制御部36は、部分データが送信される都度、第2通信部34aのECU送信回数を1だけインクリメントする。制御部36は、ECU送信回数が第2閾値、即ち、3となった場合、再び、ECUバス14aに係るECUバス占有率に対応する第2通信部34aのECU送信間隔を読み出し、第2通信部34aのECU送信回数をゼロに設定する。第2通信部34aは、制御部36が新たに決定したECU送信間隔で部分データをECU11a,12aに繰り返し送信する。
The
以上のように、第2通信部34aのECU送信回数が、第2通信部34aのECU送信回数に係る第2閾値となる都度、制御部36は、ECUバス14aに係るECUバス占有率に対応する第2通信部34aのECU送信間隔を決定し、第2通信部34aは、制御部36が決定したECU送信間隔で部分データを繰り返し送信する。また、前述したように、ECUバス14aに係るECUバス占有率の算出処理と、ECUバス14aを介して更新データを送信するための更新データ送信処理とは、時分割方式で行われる。
As described above, whenever the ECU transmission count of the
従って、ECUバス14aに係るECUバス占有率の算出と、第2通信部34aが送信するECU送信間隔の決定とは、第2通信部34aが部分データの送信を開始する前だけではなく、第2通信部34aが部分データを繰り返し送信している間も行われる。結果、第2通信部34aが部分データを繰り返し送信している間に、ECUバス14aに係るECUバス占有率が変化した場合も、ECU送信間隔、即ち、部分データの単位時間当たりの送信量は、変化したECUバス占有率に応じて変更される。
Therefore, the calculation of the ECU bus occupancy ratio related to the
第2通信部34aは、更新データの送信が完了した場合、完了データをECU11a,12aに送信し、ECU11a,12aの中で部分データを記憶しているECUに更新データの送信完了を通知する。
When the transmission of the update data is completed, the
また、図13に示すように、ECUバス14aに係るECUバス占有率が小さい場合、第2通信部34aは短いECU送信間隔で部分データを繰り返し送信する。ECUバス14aに係るECUバス占有率が大きい場合、第2通信部34aは長いECU送信間隔で部分データを繰り返し送信する。
As shown in FIG. 13, when the ECU bus occupancy associated with the
以上のように、ECUバス14aに係るECUバス占有率に基づいて、第2通信部34aのECU送信間隔、即ち、部分データの単位時間当たりの送信量を変更し、ECUバス14aでは、部分データを除く他のデータの単位時間当たりの送信量を変更することはない。このため、部分データを除く他のデータの単位時間当たりの送信量を低下させることはなく、ECU11a,12aに更新データが送信される。
As described above, the ECU transmission interval of the
通信システム1では、車両100が停止しているために、部分データを除く他のデータの単位時間当たりの送信量が低下した場合には、部分データが短い送信間隔で送信され、車両100が走行しているために、部分データを除く他のデータの単位時間当たりの送信量が増加した場合には、部分データが長い送信間隔で送信される。
In the
ECUバス14aに係るECUバス占有率が第2基準率以上である間、第2通信部34aは部分データの送信を停止している。このため、ECUバス14aにおいて、部分データを除く他のデータの送信に悪影響を与える確率は低い。
中継装置10からECU11b,12bへの更新データも、中継装置10からECU11a,12aへの更新データと同様に送信される。従って、第2通信部34bも送信部として機能する。
While the ECU bus occupation rate related to the
Update data from the
図14はECU11aの要部構成を示すブロック図である。ECU11aは、出力部40、通信部41、記憶部42及び制御部43を有する。これらはバス44に各別に接続されている。出力部40は、更に、ECU11aに対応する電気機器に接続されている。通信部41は、更に、ECUバス14aに接続されている。
FIG. 14 is a block diagram showing a main configuration of the
出力部40は、制御部43の指示に従って、電気機器に制御データを出力する。電気機器は、通信部41から入力された制御データに応じた動作を行う。
通信部41は、ECUバス14aを介して、中継装置10の第2通信部34a及びECU12aからデータを受信する。部分データは、通信部41が第2通信部34aから受信するデータの1つである。通信部41は、制御部43の指示に従って、データを、中継装置10の第2通信部34a及びECU12aにデータを送信する。
The
The
記憶部42は例えば不揮発性メモリである。記憶部42には、制御プログラムP3及び更新プログラムP4が記憶されている。
制御部43は図示しないCPUを有する。制御部43のCPUは、制御プログラムP3を実行することによって、出力部40に接続されている電気機器の動作を制御する制御処理と、通信部41が受信した部分データを記憶部42に記憶する記憶処理とを実行する。制御プログラムP3は、制御部43のCPUに、制御処理及び記憶処理を実行させるためのコンピュータプログラムである。
The
The
制御部43は、通信部41が部分データを受信した場合に記憶処理を実行する。記憶処理では、制御部43は、通信部41が受信した部分データのデータフレームに含まれている識別情報に基づいて、通信部41が受信した部分データを破棄すべきか否かを判定する。制御部43は、通信部41が受信した部分データを破棄すべきと判定した場合、この部分データを破棄する。制御部43は、通信部41が受信した部分データを破棄すべきではないと判定した場合、この部分データを記憶部42に記憶する。
The
制御部43は、記憶部42に更新データ、即ち、全ての部分データが記憶されている場合に更新プログラムP4を実行し、制御プログラムP3の更新処理を実行する。更新プログラムP4は、制御部43のCPUに制御プログラムP3の更新処理を実行させるためのコンピュータプログラムである。更新処理では、制御部43は、記憶部42に記憶されている更新データに基づいて、制御プログラムP3を更新する。
The
ECU11b,12a,12b夫々はECU11aと同様に構成されている。ECU11aの構成の説明において、ECU11a,12a夫々をECU12a,11aに置き換えることによって、ECU12aの構成を説明することができる。また、ECU11aの構成の説明において、ECU11a,12a、ECUバス14a及び第2通信部34a夫々を、ECU11b,12b,ECUバス14b及び第2通信部34bに置き換えることによって、ECU11bの構成を説明することができる。更に、ECU11aの構成の説明において、ECU11a,12a、ECUバス14a及び第2通信部34a夫々を、ECU12b,11b,ECUバス14b及び第2通信部34bに置き換えることによって、ECU12bの構成を説明することができる。
Each of the
なお、ECUバス14a,14b夫々について、部分データの単位時間当たりの送信量を決定する構成は、ECU送信間隔を決定する構成に限定されない。直接に、部分データの単位時間当たりの送信量が決定されてもよい。同様に、無線器バス15についても、部分データの単位時間当たりの送信量を決定する構成は、無線器送信間隔を決定する構成に限定されない。直接に、部分データの単位時間当たりの送信量が決定されてもよい。
The configuration for determining the transmission amount of partial data per unit time for each of the
また、中継装置10の第2通信部34a,34b中の1つが部分データの送信を開始するタイミングは、第1通信部33が全ての部分データの受信を完了する前であってもよいし、第1通信部33が全ての部分データの受信を完了した後であってもよい。
更に、無線器13の無線通信部20がサーバ16から一度に受信する更新データの数は、1つに限定されず、2つ以上であってもよい。例えば、無線通信部20は、サーバ16からECU11a,11b夫々の制御プログラムP3を更新するための更新データを受信する構成であってもよい。
In addition, the timing at which one of the
Furthermore, the number of update data that the
また、無線器送信間隔は、無線器バス占有率だけではなく、車両100の速度、又は、車両100のシフトレバーの位置等の車両100の状態にも基づいて設定されてもよい。同様に、第2通信部34a,34b夫々に係るECU送信間隔は、ECUバス14a,14b夫々に係るECUバス占有率だけではなく、車両100の状態にも基づいて設定されてもよい。
Further, the wireless device transmission interval may be set based not only on the wireless device bus occupation rate but also on the state of the
また、中継装置10に接続されるECUバスの数は、2つに限定されず、3つ以上であってもよい。更に、中継装置10に接続される無線器バス15の数は、1つに限定されず、2つ以上であってもよい。また、ECUバスに接続されるECUの数は、2つに限定されず、1つ又は3つ以上であってもよい。各ECUバスに接続されるECUの数は同じでなくてもよい。また、無線器バスに無線器13以外に通信装置が接続されてもよい。
Further, the number of ECU buses connected to the
更に、ECUバス及び無線器バス夫々を介した通信のプロトコルは、CANプロトコル又はCAN−FDプロトコルに限定されず、例えば、イーサネット(登録商標)のプロトコルであってもよい。ECUバス及び無線器バス夫々を介した通信のプロトコルがCANプロトコル及びCAN−FDプロトコルのいずれとも異なる場合、ECUバス14a,14b及び無線器バス15夫々はツイストペア線に限定されない。
Furthermore, the communication protocol via the ECU bus and the radio device bus is not limited to the CAN protocol or the CAN-FD protocol, and may be, for example, an Ethernet (registered trademark) protocol. When the protocol of communication via the ECU bus and the wireless device bus is different from both the CAN protocol and the CAN-FD protocol, the
開示された本実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The disclosed embodiment is to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
1 通信システム
10 中継装置
11a,11b,12a,12b ECU(通信装置)
14a,14b ECUバス(第1通信線)
15 無線器バス(第2通信線)
33 第1通信部(第2の送信部、受信部)
34a,34b 第2通信部(送信部)
36 制御部(算出部、決定部、第2の算出部、第2の決定部)
P2,P3 制御プログラム(コンピュータプログラム)
DESCRIPTION OF
14a, 14b ECU bus (first communication line)
15 Radio bus (second communication line)
33 1st communication part (2nd transmission part, receiving part)
34a, 34b Second communication unit (transmission unit)
36 control unit (calculation unit, determination unit, second calculation unit, second determination unit)
P2, P3 control program (computer program)
Claims (8)
前記複数の通信線中の1つである第1通信線について、データが送信されている送信時間が単位時間当たりに占める占有率を算出する算出部と、
該算出部が算出した占有率に基づいて、コンピュータプログラムを更新するための更新データの一部分である部分データの単位時間当たりの送信量を決定する決定部と、
該決定部が決定した単位時間当たりの送信量で、前記部分データを、前記第1通信線を介して繰り返し送信する送信部と
を備えることを特徴とする中継装置。 In a relay device that is connected to a plurality of communication lines and relays communication between two communication devices connected to two communication lines in the plurality of communication lines,
A calculation unit that calculates an occupancy ratio of a transmission time during which data is transmitted per unit time for a first communication line that is one of the plurality of communication lines;
A determination unit that determines a transmission amount per unit time of partial data that is a part of update data for updating the computer program based on the occupation ratio calculated by the calculation unit;
A relay apparatus comprising: a transmission unit that repeatedly transmits the partial data via the first communication line at a transmission amount per unit time determined by the determination unit.
該第2の算出部が算出した占有率に基づいて、前記部分データの単位時間当たりの送信量を決定する第2の決定部と、
該第2の決定部が決定した単位時間当たりの送信量を示す送信量データを、前記第2通信線を介して送信する第2の送信部と、
前記第2通信線を介して前記部分データを受信する受信部と
を備えることを特徴とする請求項1に記載の中継装置。 For the second communication line, a second calculation unit that calculates an occupation ratio that the transmission time during which data is transmitted occupies per unit time;
A second determination unit that determines a transmission amount per unit time of the partial data based on the occupation ratio calculated by the second calculation unit;
A second transmission unit that transmits transmission amount data indicating the transmission amount per unit time determined by the second determination unit via the second communication line;
The relay apparatus according to claim 1, further comprising: a receiving unit that receives the partial data via the second communication line.
前記送信部は、該決定部が決定した送信間隔で、前記部分データを、前記第1通信線を介して繰り返し送信すること
を特徴とする請求項1又は請求項2に記載の中継装置。 The determining unit determines a transmission amount per unit time of the partial data by determining a transmission interval of the partial data;
The relay apparatus according to claim 1, wherein the transmission unit repeatedly transmits the partial data via the first communication line at a transmission interval determined by the determination unit.
を特徴とする請求項1から請求項3のいずれか1つに記載の中継装置。 The calculation by the calculation unit and the determination by the determination unit are performed while the transmission unit repeatedly transmits the partial data. Relay device.
を特徴とする請求項1から請求項4のいずれか1つに記載の中継装置。 5. The transmission unit according to claim 1, wherein the transmission unit stops transmission of the partial data while the occupation rate calculated by the calculation unit is equal to or greater than a predetermined rate. 6. Relay device.
前記2つの通信装置と
を備えることを特徴とする通信システム。 A relay device according to any one of claims 1 to 5,
A communication system comprising the two communication devices.
算出した占有率に基づいて、コンピュータプログラムを更新するための更新データの一部分である部分データの単位時間当たりの送信量を決定し、
決定した単位時間当たりの送信量で、前記部分データを、前記通信線を介して繰り返し送信すること
を特徴とする送信方法。 For the communication line, calculate the occupancy rate that the transmission time during which data is being transmitted occupies per unit time,
Based on the calculated occupancy rate, determine the transmission amount per unit time of partial data that is a part of update data for updating the computer program,
The transmission method characterized by repeatedly transmitting the partial data through the communication line with the determined transmission amount per unit time.
算出した占有率に基づいて、コンピュータプログラムを更新するための更新データの一部分である部分データの単位時間当たりの送信量を決定し、
決定した単位時間当たりの送信量で、前記部分データが、前記通信線を介して繰り返し送信されるようにデータの送信を指示する
処理をコンピュータに実行させることを特徴とするコンピュータプログラム。 For the communication line, calculate the occupancy rate that the transmission time during which data is being transmitted occupies per unit time,
Based on the calculated occupancy rate, determine the transmission amount per unit time of partial data that is a part of update data for updating the computer program,
A computer program that causes a computer to execute a process of instructing data transmission so that the partial data is repeatedly transmitted via the communication line at a determined transmission amount per unit time.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016182030A JP2018046515A (en) | 2016-09-16 | 2016-09-16 | Relay device, communication system, transmission method, and computer program |
PCT/JP2017/031826 WO2018051833A1 (en) | 2016-09-16 | 2017-09-04 | Relay device, communication system, transmission method and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016182030A JP2018046515A (en) | 2016-09-16 | 2016-09-16 | Relay device, communication system, transmission method, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018046515A true JP2018046515A (en) | 2018-03-22 |
Family
ID=61618713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016182030A Pending JP2018046515A (en) | 2016-09-16 | 2016-09-16 | Relay device, communication system, transmission method, and computer program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2018046515A (en) |
WO (1) | WO2018051833A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019216330A1 (en) * | 2018-05-11 | 2019-11-14 | 株式会社オートネットワーク技術研究所 | In-vehicle update device, update process method, and update process program |
JP2020174327A (en) * | 2019-04-12 | 2020-10-22 | 株式会社デンソー | Communication device |
JP2021039681A (en) * | 2019-09-05 | 2021-03-11 | トヨタ自動車株式会社 | On-vehicle communication device and communication method |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7131475B2 (en) * | 2018-05-15 | 2022-09-06 | 株式会社デンソー | Electronic controller, session establishment program and control program |
WO2019221118A1 (en) * | 2018-05-15 | 2019-11-21 | 株式会社デンソー | Electronic control unit and session establishment program |
CN112534184A (en) | 2018-07-24 | 2021-03-19 | 3M创新有限公司 | Patterning wavelength selective images |
JP7024765B2 (en) | 2018-08-10 | 2022-02-24 | 株式会社デンソー | Vehicle master device, update data distribution control method, and update data distribution control program |
WO2020032117A1 (en) * | 2018-08-10 | 2020-02-13 | 株式会社デンソー | Vehicle master device, update data delivery control method, update data delivery control program, and data structure of specifications data |
JP7046869B2 (en) * | 2019-06-12 | 2022-04-04 | 矢崎総業株式会社 | Occupancy rate calculation device and occupancy rate calculation method |
JP7484736B2 (en) | 2021-01-18 | 2024-05-16 | 株式会社オートネットワーク技術研究所 | In-vehicle device and update method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4974706B2 (en) * | 2007-02-27 | 2012-07-11 | 株式会社オートネットワーク技術研究所 | In-vehicle communication device and in-vehicle communication system |
JP5267598B2 (en) * | 2011-02-25 | 2013-08-21 | トヨタ自動車株式会社 | Data rewrite support system and data rewrite support method for vehicle control device |
JP5594255B2 (en) * | 2011-08-10 | 2014-09-24 | トヨタ自動車株式会社 | Vehicle network communication management device |
JP5987810B2 (en) * | 2013-10-15 | 2016-09-07 | 株式会社デンソー | In-vehicle diagnostic system |
-
2016
- 2016-09-16 JP JP2016182030A patent/JP2018046515A/en active Pending
-
2017
- 2017-09-04 WO PCT/JP2017/031826 patent/WO2018051833A1/en active Application Filing
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019216330A1 (en) * | 2018-05-11 | 2019-11-14 | 株式会社オートネットワーク技術研究所 | In-vehicle update device, update process method, and update process program |
JP2019196158A (en) * | 2018-05-11 | 2019-11-14 | 株式会社オートネットワーク技術研究所 | On-vehicle update device, update processing method, and update processing program |
US11354112B2 (en) | 2018-05-11 | 2022-06-07 | Autonetworks Technologies, Ltd. | On-board update device, update process method, and update process program |
JP2020174327A (en) * | 2019-04-12 | 2020-10-22 | 株式会社デンソー | Communication device |
JP7135985B2 (en) | 2019-04-12 | 2022-09-13 | 株式会社デンソー | Communication device |
JP2021039681A (en) * | 2019-09-05 | 2021-03-11 | トヨタ自動車株式会社 | On-vehicle communication device and communication method |
JP7147721B2 (en) | 2019-09-05 | 2022-10-05 | トヨタ自動車株式会社 | In-vehicle communication device and communication method |
Also Published As
Publication number | Publication date |
---|---|
WO2018051833A1 (en) | 2018-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018051833A1 (en) | Relay device, communication system, transmission method and computer program | |
US10986008B2 (en) | Abnormality detection in an on-board network system | |
US10931634B2 (en) | Security apparatus, attack detection method, and storage medium | |
US11296965B2 (en) | Abnormality detection in an on-board network system | |
JP5664799B2 (en) | Communication system and communication method | |
JP4327764B2 (en) | Data receiving apparatus, sync signal detecting method and program | |
JP6355863B1 (en) | Network system and communication method | |
CN105940751A (en) | Wireless communication system, wireless communication device, wireless communication method, and program | |
JP6455939B2 (en) | Communication method | |
JP2018088616A (en) | Attack detector, attack detection method, and attack detection program | |
JP5591419B1 (en) | Distance measuring device and distance measuring method | |
CN113545012B (en) | Communication device, communication system, and message arbitration method | |
JP2006253922A (en) | Gateway apparatus and data transfer method for the gateway apparatus | |
JP5892890B2 (en) | Communication control device | |
JP5376990B2 (en) | Relay device and relay method of relay device | |
JP2009089286A (en) | Relay connection unit | |
US11342960B2 (en) | Relay device, relay method, and computer program | |
JP7453061B2 (en) | Communication control system and communication control method | |
JP6183281B2 (en) | Communication system and electronic control device | |
JP6471613B2 (en) | Relay device and communication system | |
JP2019021130A (en) | Transmission device, transmission method, and computer program | |
JP2018056980A (en) | Attack detection device, attack detection method, and attack detection program | |
JP2016124456A (en) | Communication system | |
JP2010200091A (en) | Communication system and communication method | |
JP2022115669A (en) | Electronic control device |