JP2021077169A - On-vehicle system, repeating device, on-vehicle device and program replacement method - Google Patents
On-vehicle system, repeating device, on-vehicle device and program replacement method Download PDFInfo
- Publication number
- JP2021077169A JP2021077169A JP2019204179A JP2019204179A JP2021077169A JP 2021077169 A JP2021077169 A JP 2021077169A JP 2019204179 A JP2019204179 A JP 2019204179A JP 2019204179 A JP2019204179 A JP 2019204179A JP 2021077169 A JP2021077169 A JP 2021077169A
- Authority
- JP
- Japan
- Prior art keywords
- program
- application
- vehicle
- unit
- defect
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
-
- 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]
Abstract
Description
本開示は、不具合が検出されたプログラムを置き換える車載システム、中継装置、車載装置及びプログラム置換方法に関する。 The present disclosure relates to an in-vehicle system, a relay device, an in-vehicle device, and a program replacement method for replacing a program in which a defect is detected.
近年、車両の自動運転又は運転補助等の技術が研究開発されており、車両の高機能化が推し進められている。車両の高機能化に伴って、車両に搭載されるECU(Electronic Control Unit)などの情報処理装置においては、様々なアプリケーションプログラムが実行されている。車載の装置においてアプリケーションプログラムに不具合又は故障等が発生した場合、速やかに復旧が行われることが望まれる。 In recent years, technologies such as automatic driving or driving assistance of vehicles have been researched and developed, and the sophistication of vehicles is being promoted. With the increasing functionality of vehicles, various application programs are being executed in information processing devices such as ECUs (Electronic Control Units) mounted on vehicles. When a malfunction or failure occurs in the application program in the in-vehicle device, it is desired that the recovery be performed promptly.
特許文献1においては、車載装置及び携帯可能な端末装置の間の通信に異常が発生した場合に、異常発生前の動作状態に基づいて異常状態からの復旧を行う通信中継装置が提案されている。
車載装置のアプリケーションプログラムに不具合又は故障等が生じた場合、従来は以下の2つの方法でアプリケーションプログラムの復旧が行われていた。第1の方法は、例えば車外のサーバ装置からアプリケーションプログラムをダウンロードすることで、不具合が生じたアプリケーションプログラムを置き換える方法である。第2の方法は、車両のディーラに備えられたツールを用いてアプリケーションプログラムを置き換える方法である。しかしながら、これらの方法は車両の周辺環境等に応じて必ずしも実施できるとは限らず、アプリケーションプログラムの不具合からの復旧を早期に行うことは難しかった。特許文献1に記載の通信中継装置も、この問題を解決することはできない。
When a malfunction or failure occurs in the application program of the in-vehicle device, the application program has been restored by the following two methods in the past. The first method is a method of replacing a defective application program by, for example, downloading an application program from a server device outside the vehicle. The second method is to replace the application program with a tool provided in the vehicle dealer. However, these methods cannot always be implemented depending on the surrounding environment of the vehicle and the like, and it has been difficult to recover from a defect in the application program at an early stage. The communication relay device described in
本開示は、斯かる事情に鑑みてなされたものであって、その目的とするところは、車載装置のアプリケーションプログラムの不具合からの復旧が期待できる車載システム、中継装置、車載装置及びプログラム置換方法を提供することにある。 The present disclosure has been made in view of such circumstances, and an object of the present invention is to provide an in-vehicle system, a relay device, an in-vehicle device, and a program replacement method that can be expected to recover from a defect in an application program of the in-vehicle device. To provide.
本態様に係る車載システムは、複数の車載装置がネットワークを介して接続された車載システムであって、前記車載装置が実行するプログラムに係る不具合を検出する検出部と、前記検出部が不具合を検出したプログラムに代替可能なプログラムを有する他の車載装置を探索する探索部と、前記探索部が探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示する指示部とを備え、前記車載装置は、前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える。 The in-vehicle system according to this aspect is an in-vehicle system in which a plurality of in-vehicle devices are connected via a network, and a detection unit that detects a defect related to a program executed by the in-vehicle device and the detection unit detect a defect. It is provided with a search unit for searching for another in-vehicle device having a program that can be substituted for the program, and an instruction unit for instructing the other in-vehicle device searched by the search unit to transmit the substitutable program. The in-vehicle device receives the substitutable program transmitted by the other in-vehicle device in response to the instruction, and replaces the program in which the defect is detected with the substitutable program.
本願は、このような特徴的な処理部を備える中継装置又は車載装置等の装置として実現することができるだけでなく、かかる特徴的な処理をステップとするプログラム置換方法として実現したり、かかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現したりすることができる。これらの装置の一部又は全部を実現する半導体集積回路として実現したり、これらの装置を含むその他の装置又はシステムとして実現したりすることができる。 The present application can be realized not only as a device such as a relay device or an in-vehicle device provided with such a characteristic processing unit, but also as a program replacement method in which such a characteristic processing is a step, or such a step can be realized. It can be realized as a computer program to be executed by a computer. It can be realized as a semiconductor integrated circuit that realizes a part or all of these devices, or can be realized as another device or system including these devices.
上記によれば、車載装置のアプリケーションプログラムの不具合からの復旧が期待できる。 According to the above, recovery from a defect in the application program of the in-vehicle device can be expected.
[本開示の実施の形態の説明]
最初に本開示の実施態様を列記して説明する。以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
[Explanation of Embodiments of the present disclosure]
First, embodiments of the present disclosure will be listed and described. At least a part of the embodiments described below may be arbitrarily combined.
(1)本態様に係る車載システムは、複数の車載装置がネットワークを介して接続された車載システムであって、前記車載装置が実行するプログラムに係る不具合を検出する検出部と、前記検出部が不具合を検出したプログラムに代替可能なプログラムを有する他の車載装置を探索する探索部と、前記探索部が探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示する指示部とを備え、前記車載装置は、前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える。 (1) The in-vehicle system according to this embodiment is an in-vehicle system in which a plurality of in-vehicle devices are connected via a network, and a detection unit for detecting a defect related to a program executed by the in-vehicle device and the detection unit A search unit that searches for another in-vehicle device that has a program that can be substituted for the program that detected the defect, and an instruction unit that instructs the other in-vehicle device that the search unit has searched to transmit the substitutable program. The in-vehicle device receives the substitutable program transmitted by the other in-vehicle device in response to the instruction, and replaces the program in which the defect is detected with the substitutable program.
本態様にあっては、車載装置が実行するプログラムに係る不具合を検出し、不具合を検出したプログラムに代替可能なプログラムを有する他の車載装置を探索して、探索した他の装置に代替可能なプログラムの送信を指示する。プログラムの不具合が検出された車載装置は、他の車載装置が送信した代替可能なプログラムを受信して、不具合のあるプログラムを受信したプログラムに置き換える。これにより車載システムは、車両内に存在する複数の車載装置の間でプログラムの授受を行うことで、不具合のあるプログラムを置き換えることができ、不具合からの復旧が期待できる。 In this embodiment, it is possible to detect a defect related to a program executed by the in-vehicle device, search for another in-vehicle device having a program that can be substituted for the program that detected the defect, and substitute for the searched other device. Instruct to send the program. An in-vehicle device in which a program defect is detected receives an alternative program transmitted by another in-vehicle device and replaces the defective program with the received program. As a result, the in-vehicle system can replace the defective program by exchanging the program between a plurality of in-vehicle devices existing in the vehicle, and recovery from the defect can be expected.
(2)前記車載装置は、受信した前記代替可能なプログラムの動作を確認する動作確認部を有し、前記車載装置は、前記動作確認部により正常な動作が確認された場合に、プログラムの置き換えを行うことが好ましい。 (2) The in-vehicle device has an operation confirmation unit for confirming the operation of the received alternative program, and the in-vehicle device replaces the program when normal operation is confirmed by the operation confirmation unit. It is preferable to do.
本態様にあっては、代替可能なプログラムを受信した車載装置は、受信したプログラムの動作を確認した後で置き換えを行う。これにより、受信したプログラムを実行することによる新たな不具合の発生等を抑制することが期待できる。 In this embodiment, the in-vehicle device that has received the substitutable program replaces it after confirming the operation of the received program. As a result, it can be expected that the occurrence of new problems due to the execution of the received program can be suppressed.
(3)前記車載装置は、受信した前記代替可能なプログラムが使用するパラメータを調整する調整部を有し、前記動作確認部は、前記調整部が調整したパラメータにて前記代替可能なプログラムの動作を確認することが好ましい。 (3) The in-vehicle device has an adjusting unit for adjusting parameters used by the received substitutable program, and the operation checking unit operates the substitutable program with parameters adjusted by the adjusting unit. It is preferable to confirm.
本態様にあっては、代替可能なプログラムを受信した車載装置は、受信したプログラムが使用するパラメータの調整を行う。これにより、代替可能なプログラムを用いて自装置に適した処理を行わせることが可能となる。 In this aspect, the vehicle-mounted device that has received the substitutable program adjusts the parameters used by the received program. This makes it possible to perform processing suitable for the own device using a substitutable program.
(4)不具合が検出されたプログラムを有する前記車載装置は、前記プログラムの機能の一部を制限することが好ましい。 (4) It is preferable that the in-vehicle device having the program in which the defect is detected limits a part of the functions of the program.
本態様にあっては、プログラムに不具合が検出された車載装置は、このプログラムの機能の一部を制限して実行する。これにより、一の車載装置にてプログラムに生じた不具合が他の車載装置へ悪影響を及ぼすことを抑制できる。 In this embodiment, the in-vehicle device in which a defect is detected in the program executes the program by limiting a part of the functions of the program. As a result, it is possible to prevent a defect that occurs in the program in one in-vehicle device from adversely affecting another in-vehicle device.
(5)複数の車載装置間の通信を中継する中継装置を備え、前記中継装置は、前記検出部、前記探索部及び前記指示部を有することが好ましい。 (5) It is preferable that the relay device includes a relay device that relays communication between a plurality of in-vehicle devices, and the relay device has the detection unit, the search unit, and the instruction unit.
本態様にあっては、プログラムの不具合の検出、代替可能なプログラムを有する車載装置の探索及びこの車載装置に対する代替可能なプログラムの送信指示等の処理を、複数の車載装置の間の通信を中継する中継装置が行う。これにより、上記の処理を各車載装置が行う必要がないため、車載装置の処理負荷等を低減することができる。 In this embodiment, processing such as detection of a program defect, search for an in-vehicle device having an alternative program, and an instruction to transmit an alternative program to the in-vehicle device is relayed through communication between a plurality of in-vehicle devices. The relay device does. As a result, it is not necessary for each in-vehicle device to perform the above processing, so that the processing load of the in-vehicle device can be reduced.
(6)前記車載装置は、前記検出部、前記探索部及び前記指示部を有することが好ましい。 (6) The in-vehicle device preferably has the detection unit, the search unit, and the instruction unit.
本態様にあっては、プログラムの不具合の検出、代替可能なプログラムを有する車載装置の探索及びこの車載装置に対する代替可能なプログラムの送信指示等の処理を、各車載装置がそれぞれ行う。これにより、自身のプログラムの不具合を各車載装置が精度よく検出することができると共に、これらの処理の負荷が中継装置等の1つの装置に集中することを避けることができる。 In this embodiment, each in-vehicle device performs processing such as detection of a program defect, search for an in-vehicle device having a substitutable program, and an instruction to transmit an alternative program to the in-vehicle device. As a result, each in-vehicle device can accurately detect a defect in its own program, and it is possible to prevent the load of these processes from being concentrated on one device such as a relay device.
(7)本態様に係る中継装置は、複数の車載装置の間の通信を中継する中継装置であって、処理部を備え、前記処理部は、前記車載装置が実行するプログラムに係る不具合を検出し、不具合が検出されたプログラムに代替可能なプログラムを有する他の車載装置を探索し、探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示する。 (7) The relay device according to this aspect is a relay device that relays communication between a plurality of in-vehicle devices and includes a processing unit, and the processing unit detects a defect related to a program executed by the in-vehicle device. Then, another in-vehicle device having a program that can be substituted for the program in which the defect is detected is searched for, and the other in-vehicle device that has been searched is instructed to transmit the substitutable program.
本態様にあっては、態様(1)と同様に、不具合のあるプログラムを置き換えることができ、不具合からの復旧が期待できる。 In this aspect, as in the aspect (1), the defective program can be replaced, and recovery from the defect can be expected.
(8)本態様に係る車載装置は、ネットワークを介して他の車載装置に接続された車載装置であって、処理部を備え、前記処理部は、実行するプログラムに係る不具合を検出し、不具合が検出されたプログラムに代替可能なプログラムを有する他の車載装置を探索し、探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示し、前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える。 (8) The in-vehicle device according to the present embodiment is an in-vehicle device connected to another in-vehicle device via a network and includes a processing unit, which detects a defect related to a program to be executed and has a defect. Searches for another in-vehicle device having a program that can be substituted for the detected program, instructs the searched other in-vehicle device to transmit the substitutable program, and in response to the instruction, the other in-vehicle device. Upon receiving the substitutable program transmitted by the device, the program in which the defect is detected is replaced with the substitutable program.
本態様にあっては、態様(1)と同様に、不具合のあるプログラムを置き換えることができ、不具合からの復旧が期待できる。 In this aspect, as in the aspect (1), the defective program can be replaced, and recovery from the defect can be expected.
(8)本態様に係るプログラム置換方法は、車載装置が実行するプログラムに係る不具合を検出し、不具合が検出されたプログラムに代替可能なプログラムを有する他の車載装置を探索し、探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示し、前記車載装置が、前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える。 (8) The program replacement method according to this aspect detects a defect related to a program executed by the in-vehicle device, searches for another in-vehicle device having a program that can substitute for the program in which the defect is detected, and searches for the other in-vehicle device. The in-vehicle device is instructed to transmit the substitutable program, and the in-vehicle device receives the substitutable program transmitted by the other in-vehicle device in response to the instruction, and the defect is detected. The program is replaced with the alternative program.
本態様にあっては、態様(1)と同様に、不具合のあるプログラムを置き換えることができ、不具合からの復旧が期待できる。 In this aspect, as in the aspect (1), the defective program can be replaced, and recovery from the defect can be expected.
[本開示の実施形態の詳細]
本開示の実施形態に係る車載システムの具体例を、以下に図面を参照しつつ説明する。本開示はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
[Details of Embodiments of the present disclosure]
Specific examples of the in-vehicle system according to the embodiment of the present disclosure will be described below with reference to the drawings. The present disclosure is not limited to these examples, but is shown by the scope of claims and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.
<システム概要>
図1は、本実施の形態に係る車載システムの概要を説明するための模式図である。本実施の形態に係る車載システムは、車両1に搭載されたGW(ゲートウェイ)2及び複数のECU4A〜4Dが通信線1a,1bを介して通信を行うシステムである。図示の例では、車両1にバス型の2つの通信線1a,1bが設けられている。第1の通信線1aには、GW2及び2つのECU4A,4Bが接続されている。第2の通信線1bには、GW2及び2つのECU4C,4Dが接続されている。GW2は、2つの通信線1a,1bが共に接続され、この2つの通信線1a,1b間の通信を中継する処理を行う。これにより4つのECU4A〜4Cは、通信線1a,1b及びGW2を介して通信を行うことができる。
<System overview>
FIG. 1 is a schematic diagram for explaining an outline of an in-vehicle system according to the present embodiment. The in-vehicle system according to the present embodiment is a system in which the GW (gateway) 2 mounted on the
本実施の形態に係るECU4A〜4Dは、それぞれフラッシュメモリ等に記憶されたアプリ(アプリケーションプログラム)をCPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等のプロセッサが実行することにより、車両1の走行制御等の種々の処理を行っている。図示の例では、ECU4Bはアプリ101を実行し、ECU4Cはアプリ102を実行する。ECU4A及び4Dが実行するアプリについては、図示を省略する。
In the
ここで、ECU4Bのアプリ101に、何らかの不具合が発生したとする。不具合は、例えばプログラムコードの破損又は不正な書き換え等により引き起こされ得る。本実施の形態に係る車載システムでは、各ECU4A〜4Dが実行するアプリに関する不具合の検出が行われる。ECU4Bのアプリ101に不具合が検出された場合、本実施の形態に係る車載システムでは、このアプリ101について代替可能な他のアプリ102及びこのアプリを有する他のECU4Cが探索される。ECU4Cは、アプリ102をECU4Bへ送信する。ECU4Bは、ECU4Cから送信されるアプリ102を受信して、自身のアプリ101と置き換える。以後、ECU4Bが置き換えたアプリ102を実行することによって、車載システムの復旧がなされる。
Here, it is assumed that some kind of trouble occurs in the
例えば、車外を撮影するためのカメラが車両1に複数搭載されている場合、各カメラを制御するECUはカメラ制御のためのアプリを備える。これらの各ECUが備えるカメラ制御のアプリは、同じアプリ又は類似のアプリが用いられることが多く、いずれかのECUにてカメラ制御のアプリに不具合が発生した場合に、他のECUのアプリで置き換えることで不具合を解消することが期待できる。また例えば、車両周辺の障害物を検知するためのセンサが車両1に複数搭載されている場合も同様に、アプリの置き換えで不具合を解消することが期待できる。なおアプリの置き換えは、カメラ及びセンサ等を制御するECU間に限らない。車両1には、同じ又は類似の構成をなす装置が複数箇所に搭載されていることがあり、これらの装置間でアプリの置き換えが行われ得る。
For example, when a plurality of cameras for photographing the outside of the vehicle are mounted on the
本実施の形態に係る車載システムにおいて、アプリの不具合の検出及び代替可能なアプリの探索等の処理をいずれの装置が行うかについて、いくつかの構成が採用され得る。以下、実施の形態1においてはこれらの処理をGW2が行う構成について説明し、実施の形態2においてはこれらの処理を各ECU4A〜4Dが行う構成について説明する。
In the in-vehicle system according to the present embodiment, some configurations may be adopted as to which device performs processing such as detection of a defect of the application and search for a substitute application. Hereinafter, the configuration in which the GW2 performs these processes will be described in the first embodiment, and the configuration in which the
<実施の形態1>
図2は、実施の形態1に係るGW2の構成を示すブロック図である。本実施の形態に係るGW2は、処理部(プロセッサ)21、記憶部(ストレージ)22、及び、2つの通信部(トランシーバ)23等を備えて構成されている。処理部21は、例えばCPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等の演算処理装置を用いて構成されている。処理部21は、記憶部22に記憶されたプログラムを読み出して実行することにより、種々の処理を行うことができる。本実施の形態において処理部21は、記憶部22に記憶されたプログラム22aを読み出して実行することにより、通信線1a,1bの間のメッセージを中継する処理及び不具合が生じたECU4A〜4Dのプログラムを置き換える処理等の種々の処理を行う。
<
FIG. 2 is a block diagram showing a configuration of GW2 according to the first embodiment. The
記憶部22は、例えばフラッシュメモリ又はEEPROM(Electrically Erasable Programmable Read Only Memory)等の不揮発性のメモリ素子を用いて構成されている。記憶部22は、処理部21が実行する各種のプログラム、及び、処理部21の処理に必要な各種のデータを記憶する。本実施の形態において記憶部22は、処理部21が実行するプログラム22aと、不具合が生じたプログラムを置き換えることができるプログラム及びこれを有するECU4A〜4Dを探索するための置換テーブル22bとを記憶している。
The
なおプログラム22aは、例えばGW2の製造段階において記憶部22に書き込まれてもよく、また例えば遠隔のサーバ装置などが配信するものをGW2が通信にて取得してもよく、また例えばメモリカード又は光ディスク等の記録媒体99に記録されたプログラムをGW2が読み出して記憶部22に記憶してもよく、また例えば記録媒体99に記録されたものを書込装置が読み出してGW2の記憶部22に書き込んでもよい。プログラム22aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体99に記録された態様で提供されてもよい。
The
図3は、置換テーブル22bの一構成例を示す模式図である。本実施の形態に係る置換テーブル22bには、例えばECU4A〜4D及びこれが備えるアプリに関する情報と、このアプリに不具合が生じた場合に代替可能なアプリ及びこれを備えるECU4A〜4Dに関する情報とが対応付けて記憶されている。図示の例では、例えばECU4AはアプリA1及びA2を備えている。ECU4AのアプリA1は、ECU4Bが備えるアプリB1及びECU4Cが備えるアプリC1と代替可能である。ECU4AのアプリA2は、ECU4DのアプリD1と代替可能である。また例えばECU4Bは、アプリB1を備えている。ECU4BのアプリB1は、ECU4AのアプリA1及びECU4CのアプリC1と代替可能である。本実施の形態において置換テーブル22bは、車両1及び車載システムの設計段階又は製造段階等において予め記憶部22に記憶される。また製造後にECU4A〜4Dのアプリの更新又は変更等が行われた場合には、置換テーブル22bの情報が更新される。置換テーブル22bの更新は、例えばGW2が行ってもよく、また例えば外部の装置が送信する情報を受信することで行われてもよく、また例えば人手により情報の書換が行われてもよい。
FIG. 3 is a schematic view showing a configuration example of the replacement table 22b. In the replacement table 22b according to the present embodiment, for example, information about
2つの通信部23は、通信線1a又は1bが接続され、通信線1a,1bを介したECU4A〜4Dとの通信を行う。本実施の形態において通信部23は、例えばCAN(Controller Area Network)の通信規格に従うデータの送受信を行う。通信部23は、例えばCANコントローラのICを用いて構成され得る。ただし通信部23が用いる通信規格はCANに限らず、通信部23はCAN以外の通信規格、例えばイーサネット(登録商標)等の通信規格を用いて通信を行ってもよい。通信部23は、処理部21から与えられたデータを電気信号として通信線1a,1bへ出力することによりデータ送信を行う。また通信部23は、通信線1a,1bの電位をサンプリングして取得することにより、通信線1a,1b上の電気信号をデジタルデータに変換し、変換したデータを受信データとして処理部21へ与える。
The two
また本実施の形態にGW2は、記憶部22に記憶されたプログラム22aを処理部21が読み出して実行することにより、中継処理部21a、不具合検出部21b、置換探索部21c及び置換指示部21d等が処理部21にソフトウェア的な機能部として実現される。中継処理部11aは、2つの通信部23の一方にて受信したデータを、他方の通信部23から送信することで、通信線1a,1bの間でデータを中継する処理を行う。
Further, in the present embodiment, the
不具合検出部21bは、各ECU4A〜4Dが送信するデータを監視することによって、ECU4A〜4Dが備えるアプリに関する不具合を検出する処理を行う。例えば不具合検出部21bは、各ECU4A〜4Dの各アプリが周期的に送信するデータのID及び送信周期を記憶しておき、各アプリによるデータ送信の周期が定められた送信周期であるか否かに基づいて不具合の有無を判断する。また例えば不具合検出部21bは、各ECU4A〜4Dの各アプリが送信するデータに含まれるセンサの検出値又はアクチュエータの制御値等の情報の適正範囲を記憶しておき、各アプリが送信したデータに含まれる情報が適正範囲内であるか否かに基づいて不具合の有無を判断する。不具合検出部21bによるアプリの不具合の検出方法は、上記のものに限らず、どのような方法が採用されてもよい。
The
置換探索部21cは、不具合検出部21bにて不具合が検出されたアプリについて、置き換えることが可能なアプリを探索する処理を行う。置換探索部21cは、記憶部22に記憶された置換テーブル22bを参照することによって、不具合が検出されたアプリに置換可能なアプリの有無、及び、置換可能なアプリを有するECU4A〜4Dを探索する。
The
置換指示部21dは、置換探索部21cの探索結果に基づき、不具合が検出されたアプリを、置換可能なアプリで置換する指示を与える処理を行う。置換指示部21dは、置換可能なアプリを有するECU4A〜4Dに対して、アプリの不具合が検出されたECU4A〜4Dに置換可能なアプリを送信する指示を与える。これにより置換可能なアプリが不具合を有するECU4A〜4Dに対して送信され、これを受信したECU4A〜4Dは不具合が検出されたアプリを受信したアプリで置き換えることができる。
Based on the search result of the
図4は、本実施の形態に係るECU4の構成を示すブロック図である。なお以下においては、車載システムが備える複数のECUについて、これらを区別する必要がある場合にはECU4A〜4Dのように個別の符号を付し、これらに共通の機能の場合にはECU4の符号を付して説明を行う。本実施の形態に係るECU4は、処理部(プロセッサ)41、記憶部(ストレージ)42及び通信部(トランシーバ)43等を備えて構成されている。処理部41は、例えばCPU又はMPU等の演算処理装置を用いて構成されている。処理部41は、記憶部42に記憶されたプログラムを読み出して実行することにより、種々の処理を行うことができる。本実施の形態において処理部41は、記憶部42に記憶されたプログラム42a及びアプリ42bを読み出して実行することにより、車両1の走行に係る制御処理及び不具合が生じたアプリの置換処理等の種々の処理を行う。
FIG. 4 is a block diagram showing a configuration of the
記憶部42は、例えばフラッシュメモリ又はEEPROM等の不揮発性のメモリ素子を用いて構成されている。記憶部42は、処理部41が実行する各種のプログラム、及び、処理部41の処理に必要な各種のデータを記憶する。本実施の形態において記憶部42は、処理部41が実行するプログラム42a及びアプリ42bと、アプリ42bの実行に必要なパラメータ42cとを記憶している。
The
本実施の形態においてプログラム42aは、例えばオペレーティングシステム又はファームウェア等のように、アプリケーションプログラムよりも下位レベルでの処理を行うコンピュータプログラムである。プログラム42aは、ECU4のハードウェアとアプリ42bとの間に介在し、例えば他のECU4との通信等の処理を行うことによって、アプリ42bの実行環境を提供する。
In the present embodiment, the
アプリ42bは、車両1の走行制御又は車両1の乗員へのサービス提供等の処理を行うアプリケーションプログラムであり、プログラム42aよりも上位レベルでの処理を行うコンピュータプログラムである。図示の例では記憶部42にアプリ42bが1つ記憶されているが、ECU4の記憶部42には複数種類のアプリ42bが記憶されてよい。
The
パラメータ42cは、アプリ42bの実行において用いられるデータである。例えば車両1のカメラを制御するアプリ42bの場合、この車両1におけるカメラの搭載位置又はカメラの撮影方向等の情報がパラメータ42cとして記憶される。パラメータ42cは、車両1又はECU4の設計段階又は製造段階等において決定され、予め記憶部42に記憶される。
The
なおプログラム42a、アプリ42b及びパラメータ42cは、例えばECU4の製造段階において記憶部42に書き込まれてもよく、また例えば遠隔のサーバ装置などが配信するものをECU4が通信にて取得してもよく、また例えばメモリカード又は光ディスク等の記録媒体に記録されたプログラム42a、アプリ42b及びパラメータ42cをECU4が読み出して記憶部42に記憶してもよく、また例えば記録媒体に記録されたものを書込装置が読み出してECU4の記憶部42に書き込んでもよい。プログラム42a、アプリ42b及びパラメータ42cは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。
The
通信部43は、通信線1a又は1bが接続され、通信線1a,1bを介してGW2及び他のECU4との通信を行う。本実施の形態において通信部43は、例えばCANの通信規格に従うデータの送受信を行う。通信部43は、例えばCANコントローラのICを用いて構成され得る。ただし通信部43が用いる通信規格はCANに限らず、通信部43はCAN以外の通信規格、例えばイーサネット等の通信規格を用いて通信を行ってもよい。通信部43は、処理部41から与えられたデータを電気信号として通信線1a,1bへ出力することによりデータ送信を行う。また通信部43は、通信線1a,1bの電位をサンプリングして取得することにより、通信線1a,1b上の電気信号をデジタルデータに変換し、変換したデータを受信データとして処理部41へ与える。
The
また本実施の形態にECU4は、記憶部42に記憶されたプログラム42aを処理部41が読み出して実行することにより、アプリ実行部41a、アプリ送信部41b、アプリ受信部41c、パラメータ調整部41d、動作確認部41e及びモード切替部41f等が処理部41にソフトウェア的な機能部として実現される。アプリ実行部41aは、記憶部42に記憶したアプリ42bの実行に係る処理を行う。アプリ実行部41aは、例えばアプリ42bの起動及び停止等の処理、並びに、複数のアプリ42bの実行スケジュールの管理等を行う。
Further, in the present embodiment, the
アプリ送信部41bは、GW2から与えられる指示に応じて、記憶部42に記憶したアプリ42bを他のECU4へ送信する処理を行う。GW2は、例えば送信対象のアプリのID又は名称等、及び、送信先のECU4のID等の情報を含む送信指示をECU4へ与える。この指示を受信したECU4のアプリ送信部41bは、指定されたアプリ42bを記憶部42から読み出し、アプリ42bを適宜のデータサイズに分割して、指定されたECU4に対して順次送信する。
The
アプリ受信部41cは、自身のアプリ42bに不具合が生じた場合に、他のECU4から代替用として送信されたアプリを受信する処理を行う。アプリ受信部41cは、他のECU4が送信したアプリ42bの分割データを通信部43にて受信し、受信したデータを記憶部42の空き領域に記憶する。アプリ受信部41cは、分割された全データを受信して結合することにより、記憶部42に代替用のアプリを復元する。
The
パラメータ調整部41dは、アプリ受信部41cが受信した代替用のアプリにパラメータが付随している場合、記憶部42に記憶した自らのパラメータ42cとの置き換えを行うことにより、代替用のアプリのパラメータを調整する処理を行う。
When the parameter is attached to the alternative application received by the
動作確認部41eは、記憶部42に記憶した代替用のアプリを試験的に動作させることによって、代替用のアプリが正しく動作するか否かを確認する処理を行う。動作確認部41eは、例えば代替用のアプリに対する試験用の入力パターン及び出力パターンの期待値等を組み合わせた情報を記憶しており、代替用のアプリに所定の入力パターンを入力し、代替用のアプリが出力する出力パターンが期待値と一致するか否かに応じて、代替用のアプリが正しく動作するか否かを判断する。なお動作確認部41eが行う動作確認の方法は、上記の方法に限らず、どのような方法が採用されてもよい。
The
モード切替部41fは、ECU4の動作モードを切り替える処理を行う。本実施の形態においてECU4は、通常の動作を行う通常動作モードと、通常よりも機能を制限した縮退モードとを切り替えることが可能である。モード切替部41fは、例えばGW2から自身のアプリ42bについて不具合が検出された旨の通知を受信した場合、及び、自身で不具合を検出した場合等に、動作モードを通常動作モードから縮退モードへと切り替える。またモード切替部41fは、縮退モードから通常動作モードへの切り替えを、例えば車両1のディーラ又は整備工場等に備えられた端末装置からの指示に応じて、また例えば自身で不具合の解消を検出した場合等に行う。本実施の形態において縮退モードでは、ECU4は不具合が検出されたアプリ42bの機能の少なくとも一部を制限して実行する。
The
図5及び図6は、本実施の形態に係るGW2が行う処理の手順の一例を示すフローチャートである。本実施の形態に係るGW2の処理部21の不具合検出部21bは、通信部23にて受信したデータについて、送信周期及びデータの値等を調べることにより、ECU4のアプリ42bについての不具合を検出する処理を行う(ステップS1)。不具合検出部21bは、不具合検出処理によりECU4のアプリ42bに不具合があるか否かを判定する(ステップS2)。不具合がない場合(S2:NO)、不具合検出部21bは、ステップS1へ処理を戻し、不具合検出処理を継続して行う。
5 and 6 are flowcharts showing an example of the processing procedure performed by the
ECU4のアプリ42bに不具合があると判定した場合(S2:YES)、処理部21は、例えば車両1の運転席近傍に設けられたディスプレイにアプリの不具合に関するメッセージを表示することによって、不具合の発生をユーザに通知する。この通知に応じて車両1のユーザは車両1の走行を停止し、車両1の停止を確認したGW2の処理部21は、不具合が発生したECU4のアプリ42bの復旧処理を行う復旧準備状態へ、車載システムを移行させる(ステップS3)。処理部21は、アプリ42bの不具合が検出されたECU4に対して通知を行うことにより、ECU4を縮退モードに切り替えさせる(ステップS4)。
When it is determined that there is a problem in the
処理部21の置換探索部21cは、記憶部42の置換テーブル22bを参照して、不具合が検出されたアプリ42bについて置換可能なアプリ42bの探索処理を行う(ステップS5)。置換探索部21cは、探索処理により不具合が検出されたアプリ42bに置換可能なアプリ42bが存在するか否かを判定する(ステップS6)。置換可能なアプリ42bが存在しない場合(S6:NO)、処理部21は、アプリ42bの置き換えによる復旧を行うことができないため、ディーラ等での復旧又は車外のサーバ装置との通信を利用した復旧等の実施を待機する復旧待機状態へ、車載システムを移行させ(ステップS10)、処理を終了する。復旧待機状態においては、例えば不具合が検出されたECU4は縮退モードで動作するか又は動作が停止され、車両1の機能が一部制限された状態となる。
The
置換可能なアプリ42bが存在する場合(S6:YES)、処理部21の置換指示部21dは、不具合が検出されたアプリ42bを有するECU4との間で情報交換を行うことにより、このECU4の記憶部42の空き容量を確認する処理を行う(ステップS7)。置換指示部21dは、空き容量の確認処理の結果に基づいて、アプリ42bの置き換えを行うECU4の記憶部42に、置き換え用のアプリ42bを記憶する空き容量があるか否かを判定する(ステップS8)。十分な空き容量がない場合(S8:NO)、処理部21は、ディーラ等での復旧又は車外のサーバ装置との通信を利用した復旧等の実施を待機する復旧待機状態へ、車載システムを移行させ(ステップS10)、処理を終了する。
When there is a
不具合が検出されたECU4の記憶部42に十分な空き容量がある場合(S8:YES)、置換指示部21dは、置換可能なアプリ42bを有する別のECU4に対して、このアプリ42bを不具合が検出されたECU4へ送信する指示を与える(ステップS9)。これにより、正常なECU4から不具合が検出されたECU4へアプリ42bの送信が行われ、アプリ42bを受信したECU4にて不具合が検出されたアプリ42bを受信したアプリ42bで置き換える処理が行われる。ただしECU4では受信したアプリ42bの動作確認が行われ、動作確認により適性なアプリ42bと判断された場合に置き換えが行われ、適正なアプリ42bではないと判断された場合には置き換えが行われない。処理部21は、アプリ42bを受信したECU4にて置き換えが完了したか否かを判定する(ステップS11)。アプリ42bの置き換えが完了しなかった場合(S11:NO)、処理部21は、ステップS5へ処理を戻し、不具合が検出されたアプリ42bに対して置き換え可能な別のアプリ42bを探索する。
When the
ECU4にてアプリ42bの置き換えが完了した場合(S11:YES)、処理部21は、例えば車両1の運転席近傍に設けられたディスプレイにメッセージを表示することによって、アプリ42bの不具合が復旧したことをユーザへ通知すると共に、アプリ42bの不具合を復旧した状態であることを示す復旧状態へ車載システムを移行させ(ステップS12)、処理を終了する。なお処理部21は、ステップS12においてECU4を縮退モードから通常動作モードへ移行させてもよいが、縮退モードを維持させてもよい。復旧状態は、車両1にてアプリ42bの置き換えによる復旧処理がなされたことを示す情報を保持した状態であり、車両1の走行等に関しては通常の状態と同じであってよい。例えば、復旧状態となって以降に、ディーラ等で検査が行われた際に置き換えによる不具合がないことが確認された場合、ディーラ等の作業者の操作によって復旧状態が解除され、車載システムは通常の状態へ移行する。
When the replacement of the
図7は、実施の形態1に係るECU4が行うアプリ置換処理の手順の一例を示すフローチャートである。実施の形態1に係るECU4の処理部41のモード切替部41fは、GW2からアプリ42bの不具合が検出された旨の通知を受信することに応じて通常動作モードから縮退モードへの切り替えを行う(ステップS21)。処理部41のアプリ受信部41cは、不具合が検出されたアプリ42bに置き換え用のアプリ42bを他のECU4から受信したか否かを判定する(ステップS22)。アプリ42bを受信していない場合(S22:NO)、アプリ受信部41cは、置き換え用のアプリ42bを受信するまで待機する(ステップS22)。
FIG. 7 is a flowchart showing an example of the procedure of the application replacement process performed by the
置き換え用のアプリ42bを受信した場合(S22:YES)、アプリ受信部41cは、受信した置き換え用のアプリ42bを記憶部42の空き領域に記憶する(ステップS23)。処理部41のパラメータ調整部41dは、記憶部42に記憶されたパラメータ42cを受信したアプリ42bに適用するパラメータ調整を行う(ステップS24)。次いで処理部41の動作確認部41eは、パラメータの調整がなされた置き換え用のアプリ42bに対して、所定のテストパターンを用いた動作を行い、その動作結果と期待値とを比較する動作確認処理を行う(ステップS25)。動作確認部41eは、動作確認処理の結果に基づいて、置き換え用のアプリ42bの動作が正常であるか否かを判定する(ステップS26)。
When the
置き換え用のアプリ42bの動作が正常である場合(S26:YES)、処理部41は、不具合が検出されたアプリ42bを実行対象から外し、記憶部42の空き領域に記憶された置き換え用のアプリ42bを実行対象とすることによって、アプリ42bの置き換えを行う(ステップS27)。その後、処理部41は、アプリ42bの置き換えの完了をGW2へ通知し(ステップS28)、処理を終了する。
When the operation of the
置き換え用のアプリ42bの動作が正常でない場合(S26:NO)、処理部41は、記憶部42の空き領域に記憶した置き換え用のアプリ42bを消去する(ステップS29)。その後、処理部41は、アプリ42bの置き換えが正常に完了しなかったことをGW2へ通知することにより、置き換え用の別のアプリ42bの送信をGW2へ要求し(ステップS30)、ステップS22へ処理を戻し、別のアプリ42bの受信を待機する。
When the operation of the
図8は、実施の形態1に係るECU4が行うアプリ送信処理の手順の一例を示すフローチャートである。実施の形態1に係るECU4の処理部41のアプリ送信部41bは、GW2からアプリ42bの送信指示を受信したか否かを判定する(ステップS41)。送信指示を受信していない場合(S41:NO)、アプリ送信部41bは、送信指示を受信するまで待機する。送信指示を受信した場合(S41:YES)、アプリ送信部41bは、送信指示において指定されたアプリ42bを記憶部42から読み出す(ステップS42)。アプリ送信部41bは、送信指示において指定されたECU4へ記憶部42から読み出したアプリ42bを送信し(ステップS43)、処理を終了する。
FIG. 8 is a flowchart showing an example of the procedure of the application transmission processing performed by the
以上の構成の実施の形態1に係るGW2は、ECU4が実行するアプリ42bの不具合を検出し、検出したアプリ42bに代替可能なアプリ42bを有する他のECU4を探索し、探索した他のECU4に対して代替用のアプリ42bの送信を指示する。アプリ42bの不具合が検出されたECU4は、他のECU4が送信したアプリ42bを受信して、不具合のあるアプリ42bを受信したアプリ42bに置き換える。これにより車載システムは、車両1内に存在する複数のECU4の間でアプリ42bの授受を行うことで、不具合が検出されたアプリ42bを置き換えることができ、不具合からの復旧が期待できる。
The
また実施の形態1に係るECU4は、他のECU4から受信した置き換え用のアプリ42bの動作を確認した後で、アプリ42bの置き換えを行う。これにより受信したアプリ42bを実行することによる新たな不具合の発生等を抑制することが期待できる。
Further, the
また実施の形態1に係るECU4は、他のECU4から受信した置き換え用のアプリ42bに対して、自身の記憶部42に記憶されたパラメータ42cを適用するパラメータ調整処理を行う。これによりECU4は、他のECU4から受信したアプリ42bを用いて、自装置に適した処理を行わせることができる。
Further, the
また実施の形態1に係るECU4は、アプリ42bに不具合が検出された場合に縮退モードへの切り替えを行うことによって、不具合が検出されたアプリ42bの機能の少なくとも一部を制限する。これにより、一のECU4のアプリ42bにて生じた不具合が、他のECU4へ悪影響を及ぼすことを抑制できる。
Further, the
<実施の形態2>
実施の形態2に係る車載システムでは、アプリ42bの不具合の検出、置き換え用のアプリ42bを有する他のECU4の探索、及び、他のECU4に対する置き換え用のアプリ42bの送信指示等の処理を、GW2ではなく、各ECU4が行う構成である。実施の形態2に係るGW2は、不具合検出部21b、置換探索部21c及び置換指示部21dを備えず、記憶部22に置換テーブル22bを記憶していない。実施の形態2に係るGW2は、通信の中継処理を行う。
<
In the in-vehicle system according to the second embodiment, processing such as detection of a defect of the
図9は、実施の形態2に係るECU4の構成を示すブロック図である。実施の形態2に係るECU4は、処理部41が記憶部42に記憶されたプログラム42aを実行することによって、アプリ実行部41a〜モード切替部41fに加えて、不具合検出部41g、置換探索部41h及び置換指示部41i等がソフトウェア的な機能部として処理部41に設けられる。また実施の形態2に係るECU4の記憶部42には、置換テーブル42dが記憶されている。
FIG. 9 is a block diagram showing a configuration of the
不具合検出部41gは、アプリ実行部41aが実行するアプリ42bに関する不具合を検出する処理を行う。例えば不具合検出部41gは、アプリ42bへの入出力データを監視して、入力データに対して適正なデータをアプリ42bが出力しているか否かに応じて不具合の有無を判断する。また例えば不具合検出部41gは、アプリ42bが他のECU4へ周期的に送信するデータについて、その送信周期が定められた送信周期であるか否かに基づいて不具合の有無を判断する。また例えば不具合検出部41gは、アプリ42bが送信するデータに含まれるセンサの検出値又はアクチュエータの制御値等の情報が適正範囲内であるか否かに基づいて不具合の有無を判断する。不具合検出部41gによるアプリ42bの不具合の検出方法は、上記のものに限らず、どのような方法が採用されてもよい。
The defect detection unit 41g performs a process of detecting a defect related to the
置換探索部41hは、不具合検出部41gにて不具合が検出されたアプリ42bについて、置き換えることが可能なアプリ42bを有する他のECU4を探索する処理を行う。置換探索部41hは、記憶部42に記憶された置換テーブル42dを参照することによって、不具合が検出されたアプリ42bに置換可能なアプリの有無、及び、置換可能なアプリ42bを有する他のECU4を探索する。
The
図10は、実施の形態2に係る置換テーブル42dの一構成例を示す模式図である。図示の置換テーブル42dは、ECU4Aが記憶する置換テーブル42dであり、図3に示した置換テーブル22bからECU4Aに関する情報のみを抜き出したものに相当する。実施の形態2に係るECU4が記憶部42に記憶する置換テーブル42dは、自身が実行するアプリ42bについてのみ、置き換え可能なアプリ及びこれを有する他のECUの情報を代替情報として記憶したものである。
FIG. 10 is a schematic view showing a configuration example of the replacement table 42d according to the second embodiment. The illustrated replacement table 42d is a replacement table 42d stored in the
置換指示部41iは、置換探索部41hの探索結果に基づき、置換可能なアプリ42bを有する他のECU4に対して、不具合が検出されたアプリ42bに置換可能なアプリ42bを送信する指示を与える。この指示に応じて他のECU4は、自身が記憶部42に記憶している置換可能なアプリ42bを読み出して、指示元のECU4に対してアプリ42bを送信する。
Based on the search result of the
即ち、実施の形態2に係る車載システムでは、各ECU4が自身のアプリ42bの不具合を検出し、不具合が検出されたアプリ42bに置き換え可能なアプリ42bを有する他のECU4を探索し、他のECU4に対して置き換え用のアプリ42bの送信を指示する。この指示を受信した他のECU4は、自身が有する置き換え可能なアプリ42bを、支持元のECU4に対して送信する。置き換え可能なアプリ42bを受信したECU4は、記憶部42に記憶されたパラメータ42cに基づくパラメータ調整を行い、受信したアプリ42bの動作確認を行った後、不具合が検出されたアプリ42bとの置き換えを行う。
That is, in the in-vehicle system according to the second embodiment, each
実施の形態2に係る車載システムのその他の構成は、実施の形態1に係る車載システムと同様であるため、同様の箇所には同じ符号を付し、詳細な説明を省略する。 Since the other configurations of the vehicle-mounted system according to the second embodiment are the same as those of the vehicle-mounted system according to the first embodiment, the same reference numerals are given to the same parts, and detailed description thereof will be omitted.
(変形例)
アプリ42bの不具合の検出、置き換え用のアプリ42bを有する他のECU4の探索、及び、他のECU4に対する置き換え用のアプリ42bの送信指示等の処理を、実施の形態1に係る車載システムではGW2が行い、実施の形態2に係る車載システムでは各ECU4が行っている。これらの処理はGW2又はECU4のいずれか一方が行うのではなく、GW2及びECU4が協働して行ってもよい。
(Modification example)
In the in-vehicle system according to the first embodiment, the GW2 performs processing such as detection of a defect in the
変形例に係る車載システムでは、アプリ42bの不具合を検出する処理を各ECU4が行う。また変形例に係る車載システムでは、置き換え用のアプリ42bを有する他のECU4の探索、及び、他のECU4に対する置き換え用のアプリ42bの送信指示等の処理をGW2が行う。このため変形例に係るECU4は、例えば不具合検出部41gを有し、置換探索部41h、置換指示部41i及び置換テーブル42dを有していなくてよい。また変形例に係るGW2は、例えば置換探索部21c、置換指示部21d及び置換テーブル22bを有し、不具合検出部21bを有していなくてよい。
In the in-vehicle system according to the modified example, each
変形例に係る各ECU4は、自身が実行するアプリ42bの不具合を検出した場合、縮退モードへの切り替えを行うと共に、不具合を検出したアプリ42bに置換可能なアプリ42bの送信をGW2に要求する。この要求を受けた変形例に係るGW2は、不具合が検出されたアプリ42bに置き換え可能なアプリ42bを有する他のECU4を探索し、探索により見い出された他のECU4に対してアプリ42bの送信を指示する。他のECU4が送信するアプリ42bを受信した要求元のECU4は、受信したアプリ42bに対してパラメータ調整及び動作確認を行い、自身の記憶部42に記憶されている不具合が検出されたアプリ42bを他のECU4から受信したアプリ42bに置き換える。
When each
なお本実施の形態において図1に示したネットワーク構成及びECU4A〜4Dの搭載数、図3に示した置換テーブル22bの構成、図5〜図8に示した処理手順、並びに、図10に示した置換テーブル42dの構成等は、一例であってこれに限るものではない。
In this embodiment, the network configuration shown in FIG. 1, the number of
車載システムにおける各装置は、マイクロプロセッサ、ROM及びRAM等を含んで構成されるコンピュータを備える。マイクロプロセッサ等の演算処理部は、図5〜図8に示すような、シーケンス図又はフローチャートの各ステップの一部又は全部を含むコンピュータプログラムを、ROM、RAM等の記憶部からそれぞれ読み出して実行してよい。これら複数の装置のコンピュータプログラムは、それぞれ、外部のサーバ装置等からインストールすることができる。また、これら複数の装置のコンピュータプログラムは、それぞれ、CD−ROM、DVD−ROM、半導体メモリ等の記録媒体に格納された状態で流通する。 Each device in the in-vehicle system includes a computer including a microprocessor, ROM, RAM, and the like. An arithmetic processing unit such as a microprocessor reads a computer program including a part or all of each step of a sequence diagram or a flowchart as shown in FIGS. 5 to 8 from a storage unit such as a ROM or a RAM and executes the program. You can. The computer programs of these plurality of devices can be installed from an external server device or the like. Further, the computer programs of these plurality of devices are distributed in a state of being stored in a recording medium such as a CD-ROM, a DVD-ROM, or a semiconductor memory, respectively.
今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本開示の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time should be considered as exemplary in all respects and not restrictive. The scope of the present disclosure is indicated by the scope of claims, not the above-mentioned meaning, and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.
1 車両
1a,1b 通信線
2 GW
4,4A〜4D ECU
21 処理部
21a 中継処理部
21b 不具合検出部(検出部)
21c 置換探索部(探索部)
21d 置換指示部(指示部)
22 記憶部
22a プログラム
22b 置換テーブル
23 通信部
41 処理部(置換部)
41a アプリ実行部
41b アプリ送信部
41c アプリ受信部
41d パラメータ調整部(調整部)
41e 動作確認部
41f モード切替部
41g 不具合検出部
41h 置換探索部
41i 置換指示部
42 記憶部
42a プログラム
42b アプリ
42c パラメータ
43 通信部
99 記録媒体
1
4,4A-4D ECU
21
21c Substitution search unit (search unit)
21d Replacement indicator (indicator)
22
41a
41e
Claims (9)
前記車載装置が実行するプログラムに係る不具合を検出する検出部と、
前記検出部が不具合を検出したプログラムに代替可能なプログラムを有する他の車載装置を探索する探索部と、
前記探索部が探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示する指示部と
を備え、
前記車載装置は、前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える、
車載システム。 An in-vehicle system in which multiple in-vehicle devices are connected via a network.
A detection unit that detects a defect related to the program executed by the in-vehicle device, and
A search unit that searches for another in-vehicle device having a program that can be replaced by a program in which the detection unit detects a defect, and a search unit.
It is provided with an instruction unit that instructs the other in-vehicle device searched by the search unit to transmit the alternative program.
The in-vehicle device receives the substitutable program transmitted by the other in-vehicle device in response to the instruction, and replaces the program in which the defect is detected with the substitutable program.
In-vehicle system.
前記車載装置は、前記動作確認部により正常な動作が確認された場合に、プログラムの置き換えを行う、
請求項1に記載の車載システム。 The in-vehicle device has an operation confirmation unit for confirming the operation of the received alternative program.
The in-vehicle device replaces the program when normal operation is confirmed by the operation confirmation unit.
The in-vehicle system according to claim 1.
前記動作確認部は、前記調整部が調整したパラメータにて前記代替可能なプログラムの動作を確認する、
請求項2に記載の車載システム。 The in-vehicle device has an adjusting unit that adjusts parameters used by the received alternative program.
The operation confirmation unit confirms the operation of the substitutable program with the parameters adjusted by the adjustment unit.
The in-vehicle system according to claim 2.
前記中継装置は、前記検出部、前記探索部及び前記指示部を有する、
請求項1から請求項4までのいずれか1つに記載の車載システム。 Equipped with a relay device that relays communication between multiple in-vehicle devices
The relay device has the detection unit, the search unit, and the instruction unit.
The in-vehicle system according to any one of claims 1 to 4.
請求項1から請求項4までのいずれか1つに記載の車載システム。 The in-vehicle device has the detection unit, the search unit, and the instruction unit.
The in-vehicle system according to any one of claims 1 to 4.
処理部を備え、
前記処理部は、
前記車載装置が実行するプログラムに係る不具合を検出し、
不具合が検出されたプログラムに代替可能なプログラムを有する他の車載装置を探索し、
探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示する、
中継装置。 A relay device that relays communication between multiple in-vehicle devices.
Equipped with a processing unit
The processing unit
Detecting a defect related to the program executed by the in-vehicle device,
Search for other in-vehicle devices that have a program that can replace the program in which the defect was detected.
Instructing the searched other in-vehicle device to transmit the alternative program.
Relay device.
処理部を備え、
前記処理部は、
実行するプログラムに係る不具合を検出し、
不具合が検出されたプログラムに代替可能なプログラムを有する他の車載装置を探索し、
探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示し、
前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える、
車載装置。 An in-vehicle device connected to another in-vehicle device via a network.
Equipped with a processing unit
The processing unit
Detects a defect related to the program to be executed
Search for other in-vehicle devices that have a program that can replace the program in which the defect was detected.
Instructing the searched other in-vehicle device to transmit the alternative program,
Upon receiving the substitutable program transmitted by the other in-vehicle device in response to the instruction, the program in which the defect is detected is replaced with the substitutable program.
In-vehicle device.
不具合が検出されたプログラムに代替可能なプログラムを有する他の車載装置を探索し、
探索した前記他の車載装置に対して前記代替可能なプログラムの送信を指示し、
前記車載装置が、前記指示に応じて前記他の車載装置が送信する前記代替可能なプログラムを受信して、前記不具合が検出されたプログラムを前記代替可能なプログラムで置き換える、
プログラム置換方法。 Detects a defect related to the program executed by the in-vehicle device and detects it.
Search for other in-vehicle devices that have a program that can replace the program in which the defect was detected.
Instructing the searched other in-vehicle device to transmit the alternative program,
The in-vehicle device receives the substitutable program transmitted by the other in-vehicle device in response to the instruction, and replaces the program in which the defect is detected with the substitutable program.
Program replacement method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019204179A JP2021077169A (en) | 2019-11-11 | 2019-11-11 | On-vehicle system, repeating device, on-vehicle device and program replacement method |
PCT/JP2020/040074 WO2021095498A1 (en) | 2019-11-11 | 2020-10-26 | Onboard system, relay apparatus, onboard apparatus, and program replacing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019204179A JP2021077169A (en) | 2019-11-11 | 2019-11-11 | On-vehicle system, repeating device, on-vehicle device and program replacement method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021077169A true JP2021077169A (en) | 2021-05-20 |
Family
ID=75898047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019204179A Pending JP2021077169A (en) | 2019-11-11 | 2019-11-11 | On-vehicle system, repeating device, on-vehicle device and program replacement method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2021077169A (en) |
WO (1) | WO2021095498A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7392544B2 (en) * | 2020-03-26 | 2023-12-06 | 住友電装株式会社 | In-vehicle ECU, program and information processing method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001109635A (en) * | 1999-10-07 | 2001-04-20 | Mitsubishi Electric Corp | Method for dealing with fault and computer system readable recording medium |
JP2003256228A (en) * | 2002-02-28 | 2003-09-10 | Denso Corp | Program rewriting device |
JP4692231B2 (en) * | 2005-11-04 | 2011-06-01 | 株式会社デンソー | Electronic control device for vehicle |
JP2008168649A (en) * | 2007-01-05 | 2008-07-24 | Mazda Motor Corp | Vehicular control system |
JP6723829B2 (en) * | 2015-09-14 | 2020-07-15 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Gateway device, firmware updating method and control program |
JP7000895B2 (en) * | 2018-02-09 | 2022-01-19 | 株式会社デンソー | Distribution system of distribution target data and acquisition method of distribution target data |
-
2019
- 2019-11-11 JP JP2019204179A patent/JP2021077169A/en active Pending
-
2020
- 2020-10-26 WO PCT/JP2020/040074 patent/WO2021095498A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2021095498A1 (en) | 2021-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018025685A1 (en) | On-board update device, on-board update system, and communication device update method | |
JP7160111B2 (en) | Monitoring device, monitoring program and monitoring method | |
KR101638609B1 (en) | Update of Electronic control device system and there of method | |
WO2020080273A1 (en) | In-vehicle update device, update processing program, and program update method | |
US7054728B2 (en) | Rewrite control apparatus for onboard program | |
CN110709932B (en) | Recording control device | |
JP2010206697A (en) | Onboard communication network system and malfunction diagnostic method of the same | |
WO2018088505A1 (en) | In-vehicle update system, in-vehicle update apparatus, and gateway | |
WO2021095498A1 (en) | Onboard system, relay apparatus, onboard apparatus, and program replacing method | |
JP4487007B2 (en) | In-vehicle program rewrite control system | |
JP2011090457A (en) | Vehicle diagnostic device | |
JP2007028411A (en) | Network diagnosis apparatus and method | |
JP2017163252A (en) | Vehicle gateway device and program | |
JP2019177709A (en) | Failure diagnostic device | |
JP2019209945A (en) | On-vehicle control device, control program and control method | |
JP2006113668A (en) | Failure diagnosis device | |
JP7183884B2 (en) | electronic controller | |
JP4237167B2 (en) | Failure detection diagnosis countermeasure device, failure detection diagnosis countermeasure system, and failure detection diagnosis countermeasure method | |
JP4961814B2 (en) | Failure diagnosis apparatus and method | |
JP7167579B2 (en) | electronic controller | |
JP4414471B2 (en) | In-vehicle program rewrite control system | |
JP2004072573A (en) | Device and system for diagnosing apparatus and communication terminal apparatus | |
JP2020083138A (en) | Vehicle electronic control device and diagnostic system | |
JP7205245B2 (en) | electronic controller | |
JP2019192027A (en) | Vehicle software distribution system, vehicle software distribution device, distribution instruction device, on-vehicle communication equipment, vehicle software distribution method, and computer program |