JP7331989B2 - Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software - Google Patents

Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software Download PDF

Info

Publication number
JP7331989B2
JP7331989B2 JP2022084024A JP2022084024A JP7331989B2 JP 7331989 B2 JP7331989 B2 JP 7331989B2 JP 2022084024 A JP2022084024 A JP 2022084024A JP 2022084024 A JP2022084024 A JP 2022084024A JP 7331989 B2 JP7331989 B2 JP 7331989B2
Authority
JP
Japan
Prior art keywords
software
vehicle
unit
switching
versions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022084024A
Other languages
Japanese (ja)
Other versions
JP2022103451A (en
Inventor
優樹 三宅
哲平 福澤
修治 松野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2018040981A external-priority patent/JP7081223B2/en
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2022084024A priority Critical patent/JP7331989B2/en
Publication of JP2022103451A publication Critical patent/JP2022103451A/en
Priority to JP2023130341A priority patent/JP2023138759A/en
Application granted granted Critical
Publication of JP7331989B2 publication Critical patent/JP7331989B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、車載機のソフトウェアの整合性を確認できる装置及びこれを備えた車両、並びに、ソフトウェアの整合性を確認する方法及びプログラムに関する。 TECHNICAL FIELD The present invention relates to a device capable of confirming compatibility of software in a vehicle-mounted device, a vehicle equipped with the same, and a method and program for confirming software compatibility.

特許文献1には、ECUのプログラムを、サーバから送信されたバージョンアッププログラムで更新するシステムが記載されている。特許文献1のシステムでは、ECUのプログラム同士のバージョンの不整合に起因する動作不良の発生を防止するため、プログラムの更新前に、プログラム更新対象のECUのバージョンアッププログラムと他のECUのプログラムとの依存関係情報を参照して、プログラムの更新可否を決定している。 Patent Literature 1 describes a system for updating an ECU program with a version upgrade program transmitted from a server. In the system of Patent Literature 1, in order to prevent the occurrence of malfunction due to version mismatch between the programs of the ECUs, before the program is updated, the version upgrade program of the ECU to be updated and the programs of other ECUs are updated. Dependency information is referenced to determine whether the program can be updated.

特開2009-53920号公報Japanese Patent Application Laid-Open No. 2009-53920

複数の車載機のプログラムにバージョンの不整合がある場合、予期しない車両制御が行われる可能性がある。特許文献1のシステムでは、プログラムの更新時に他のプログラムとの依存関係を確認しているが、プログラムの更新時に依存関係を確認するだけでは、予期しない車両制御を十分に排除できない可能性がある。 Unexpected vehicle control may occur if there is a version inconsistency in the programs of multiple in-vehicle devices. In the system of Patent Document 1, dependencies with other programs are checked when a program is updated, but there is a possibility that unexpected vehicle control cannot be sufficiently eliminated simply by checking dependencies when a program is updated. .

それ故に、本発明は、複数の車載機のソフトウェアのバージョン不整合に起因して予期しない車両制御が行われる可能性をより低減することができる装置等を提供することを目的とする。 SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an apparatus and the like that can further reduce the possibility of unexpected vehicle control being performed due to version mismatch of software of a plurality of vehicle-mounted devices.

本発明の一実施態様に係る装置は、複数の車載機のソフトウェアの切替指示を行う第1の指示部と、切替指示に応じた複数の車載機の切替後のソフトウェアのバージョン情報を取得する取得部と、取得部により取得されたバージョン情報に基づき、複数の車載機のソフトウェアのバージョンに整合性があることを確認する確認部と、複数の車載機のソフトウェアのバージョンに整合性がないと確認されたことに基づいて、複数の車載機に対して、切替後のソフトウェアから切替前のソフトウェアに戻すよう指示する第2の指示部とを備える。 An apparatus according to an embodiment of the present invention includes: a first instruction unit for instructing switching of software of a plurality of vehicle-mounted devices; a confirmation unit that confirms that the versions of the software of the multiple on-board devices are consistent based on the version information acquired by the acquisition unit; a second instruction unit that instructs the plurality of vehicle-mounted devices to return from the software after the switching to the software before the switching based on the switching.

本発明によれば、複数の車載機のソフトウェアのバージョン不整合に起因して予期しない車両制御が行われる可能性をより低減することが可能となる。 Advantageous Effects of Invention According to the present invention, it is possible to further reduce the possibility that unexpected vehicle control is performed due to version mismatch of software of a plurality of vehicle-mounted devices.

第1の実施形態に係る車両制御システムの概略構成を示すブロック図1 is a block diagram showing a schematic configuration of a vehicle control system according to a first embodiment; FIG. 図1に示した車両制御システムの機能ブロック図Functional block diagram of the vehicle control system shown in FIG. 図2に示した整合情報記憶部に記憶される整合テーブルの一例を示す図3 is a diagram showing an example of a matching table stored in the matching information storage unit shown in FIG. 2; FIG. 第1の実施形態に係る車両制御システムにおいて、代表車載機が実行する整合性確認処理の一例を示すフローチャート3 is a flowchart showing an example of consistency confirmation processing executed by a representative vehicle-mounted device in the vehicle control system according to the first embodiment; 第2の実施形態に係る車両制御システムの機能ブロック図Functional block diagram of a vehicle control system according to a second embodiment 第2の実施形態に係る車両制御システムにおいて、代表車載機が実行する整合性確認処理の一例を示すフローチャート10 is a flowchart showing an example of consistency confirmation processing executed by a representative vehicle-mounted device in a vehicle control system according to a second embodiment; 第3の実施形態に係る車両制御システムの背景を説明するための模式図Schematic diagram for explaining the background of the vehicle control system according to the third embodiment 第3の実施形態に係る車両制御システムの機能ブロック図Functional block diagram of a vehicle control system according to a third embodiment 第3の実施形態に係る車両制御システムにおいて、代表車載機が実行するソフトウェア取得処理の一例を示すフローチャート10 is a flowchart showing an example of software acquisition processing executed by a representative vehicle-mounted device in a vehicle control system according to a third embodiment; 第3の実施形態に係る車両制御システムにおいて、代表車載機が実行する整合性確認処理の一例を示すフローチャート10 is a flowchart showing an example of consistency confirmation processing executed by a representative vehicle-mounted device in a vehicle control system according to a third embodiment;

(概要)
本発明に係る車両制御システムでは、車両の電源がオンされるたびに、車両制御システムを構成する複数の車載機の1つがソフトウェアのバージョンの整合性を確認することにより、ソフトウェアのバージョン不整合に起因する予期しない車両制御が行われる可能性を低減する。
(overview)
In the vehicle control system according to the present invention, each time the vehicle is powered on, one of the plurality of in-vehicle devices constituting the vehicle control system confirms the consistency of the software version, thereby preventing software version mismatch. reduce the possibility of unexpected vehicle control caused by

(第1の実施形態)
<構成>
図1は、第1の実施形態に係る車両制御システムの概略構成を示すブロック図である。
(First embodiment)
<Configuration>
FIG. 1 is a block diagram showing a schematic configuration of a vehicle control system according to the first embodiment.

車両制御システム100は、相互に通信可能な車載機A~Dから構成され、車載機A~Dのそれぞれの機能を組み合わせることにより、所定の車両制御を実現するシステムである。図1の例では、車両制御システム100が4つの車載機A~Dで構成されているが、車両制御システム100を構成する車載機の数は4つに限定されない。車両制御システム100が実現する所定の車両制御としては、例えば自動運転を挙げることができる。車載機A~Dは、加速、減速、操舵など車両走行を制御するECUや、これらの車両走行を制御するECUを組み合わせて走行支援を行うECUに相当する。また、車載機A~Dは、無線通信機1を介して外部サーバ2と通信可能である。尚、以下の説明においては、車両制御システムを構成する複数の車載機A~Dのうちの1つである特定の車載機Aを「代表車載機A」という。 The vehicle control system 100 is a system that is composed of vehicle-mounted devices A to D that can communicate with each other, and realizes predetermined vehicle control by combining the respective functions of the vehicle-mounted devices A to D. In the example of FIG. 1, the vehicle control system 100 is composed of four vehicle-mounted devices A to D, but the number of vehicle-mounted devices constituting the vehicle control system 100 is not limited to four. Examples of predetermined vehicle control realized by the vehicle control system 100 include automatic driving. The in-vehicle units A to D correspond to an ECU that controls vehicle travel such as acceleration, deceleration, and steering, and an ECU that provides travel assistance by combining these ECUs that control vehicle travel. Further, the vehicle-mounted devices A to D can communicate with the external server 2 via the wireless communication device 1 . In the following description, a specific vehicle-mounted device A, which is one of the plurality of vehicle-mounted devices A to D constituting the vehicle control system, is referred to as a "representative vehicle-mounted device A."

図2は、図1に示した車両制御システムの機能ブロック図であり、図3は、図2に示した整合情報記憶部に記憶される整合テーブルの一例を示す図である。 FIG. 2 is a functional block diagram of the vehicle control system shown in FIG. 1, and FIG. 3 is a diagram showing an example of a matching table stored in the matching information storage section shown in FIG.

[代表車載機A]
代表車載機Aは、車両制御システム100の制御機能を提供する車載機の1つであるが、車載機A~Dのソフトウェアのバージョンの整合性確認処理においては、マスターデバイスとして機能する。代表車載機Aは、車両の電源がオンされたことを契機として、車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンの整合性を確認する。代表車載機Aは、ソフトウェア記憶部10と、整合情報記憶部11と、バージョン取得部12と、判定部13と、送信部14と、受信部15と、整合情報更新部16と、更新指示部17とを備える。
[Representative in-vehicle unit A]
The representative vehicle-mounted device A is one of the vehicle-mounted devices that provide the control function of the vehicle control system 100, and functions as a master device in the consistency confirmation process of the software versions of the vehicle-mounted devices AD. The representative vehicle-mounted device A confirms the consistency of the software versions of all the vehicle-mounted devices AD constituting the vehicle control system 100 when the power of the vehicle is turned on. The representative vehicle-mounted device A includes a software storage unit 10, a compatibility information storage unit 11, a version acquisition unit 12, a determination unit 13, a transmission unit 14, a reception unit 15, a compatibility information update unit 16, and an update instruction unit. 17.

ソフトウェア記憶部10は、代表車載機Aを動作させるためのソフトウェアを記憶する。代表車載機Aは、ソフトウェア記憶部10に記憶されたソフトウェアを実行することにより、車両の動作を制御するための所定の機能を実現する。 The software storage unit 10 stores software for operating the representative vehicle-mounted device A. FIG. The representative vehicle-mounted device A implements a predetermined function for controlling the operation of the vehicle by executing software stored in the software storage unit 10 .

整合情報記憶部11は、車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンの組み合わせを定義した整合テーブルを予め記憶する。整合テーブルに定義される車載機A~Dのソフトウェアのバージョンの組み合わせは、車両制御システム100が正常に動作することが確認されており、同時に実行することが許可されたバージョンの組み合わせである。例えば、整合テーブルは、図3に示すように、車両制御システム100を特定するシステム番号と、車載機A~Dのそれぞれのソフトウェアのバージョンとを含むことができる。システム番号としては、車両制御システム100を特定するための識別子を用いても良いし、車両制御システム100のバージョンを用いても良い。また、図3の整合テーブルの例では、各車載機のバージョンとして単一のバージョンが定義されているが、組み合わせ可能な各車載機のバージョンの範囲を定義しても良い。また、整合テーブルには、同時に実行することが許可されるバージョン(またはバージョンの範囲)の組み合わせを複数セット定義しても良い。1つの車載機が複数のソフトウェアを保持している場合、整合テーブルには、複数のソフトウェアのそれぞれの許可されたバージョンが定義される。整合テーブルは、後述する判定部13が車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定するための整合情報(第1の整合情報)として使用される。 The matching information storage unit 11 stores in advance a matching table that defines combinations of software versions of all the vehicle-mounted devices A to D constituting the vehicle control system 100 . The combination of versions of the software of the vehicle-mounted devices A to D defined in the matching table is a combination of versions for which it has been confirmed that the vehicle control system 100 operates normally, and simultaneous execution is permitted. For example, as shown in FIG. 3, the matching table can include the system number specifying the vehicle control system 100 and the software version of each of the vehicle-mounted devices AD. As the system number, an identifier for specifying the vehicle control system 100 may be used, or the version of the vehicle control system 100 may be used. In addition, in the example of the matching table in FIG. 3, a single version is defined as the version of each vehicle-mounted device, but a range of versions of each vehicle-mounted device that can be combined may be defined. In addition, multiple sets of combinations of versions (or ranges of versions) that are allowed to be executed simultaneously may be defined in the consistency table. When one vehicle-mounted device holds a plurality of pieces of software, the matching table defines permitted versions of each of the plurality of pieces of software. The matching table is used as matching information (first matching information) for determining whether or not the versions of the software of the vehicle-mounted devices A to D are compatible with each other.

バージョン取得部12は、車両の電源がオンされるたびに、通信により他の車載機B~Dのそれぞれのソフトウェアのバージョンを取得する。車載機B~Dの中に複数のソフトウェアを保持している車載機がある場合、バージョン取得部12は、車載機が保持する全てのソフトウェアのバージョンを取得する。 The version acquiring unit 12 acquires the software version of each of the other vehicle-mounted devices B to D through communication each time the power of the vehicle is turned on. If there is an on-vehicle device holding a plurality of pieces of software among the on-board devices B to D, the version acquiring unit 12 acquires the versions of all the software held by the on-board device.

判定部13は、バージョン取得部12によって他の車載機B~Dからソフトウェアのバージョンが取得されるたびに、車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。この判定は、判定部13が、代表車載機Aのソフトウェア記憶部10に記憶されソフトウェアのバージョンと、バージョン取得部12が他の車載機B~Dから取得したソフトウェアのバージョンとを、整合情報記憶部11に記憶される整合情報と照合することにより行う。判定部13は、整合情報記憶部11に記憶される整合テーブルに基づいて、車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンに整合性があると判定した場合は、車載機A~Dの機能を組み合わせにより実現される所定の車両制御の実行を許可する。 Each time the version acquisition unit 12 acquires the software versions from the other vehicle units B to D, the determination unit 13 determines whether the versions of the software of all the vehicle units A to D constituting the vehicle control system 100 are consistent. Determine whether or not there is This judgment is performed by the judging section 13 storing the version of the software stored in the software storage section 10 of the representative vehicle-mounted device A and the version of the software acquired from the other vehicle-mounted devices B to D by the version acquisition unit 12 as matching information. This is done by matching with matching information stored in the unit 11 . Based on the matching table stored in the matching information storage unit 11, the determining unit 13 determines that the versions of the software of all the onboard units A to D constituting the vehicle control system 100 are consistent. Execution of predetermined vehicle control realized by combining the functions of machines A to D is permitted.

送信部14は、判定部13により車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンに整合性がないと判定された場合に、車載機A~Dのソフトウェアのバージョンを含むバージョン情報を外部サーバ2へと送信する。送信部14によって送信されたバージョン情報は、外部サーバ2において、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを再度確認するために用いられる。 If the determination unit 13 determines that the software versions of all the vehicle units A to D constituting the vehicle control system 100 do not match, the transmission unit 14 includes the software versions of the vehicle units A to D. Send the version information to the external server 2 . The version information transmitted by the transmission unit 14 is used by the external server 2 to reconfirm whether or not the software versions of the vehicle-mounted devices A to D are consistent.

受信部15は、外部サーバ2から送信された各種情報を受信する。受信部15が外部サーバ2から受信する情報の1つとして判定結果情報がある。判定結果情報は、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを表す情報であり、外部サーバ2が送信部14から受信したバージョン情報に基づいて判定を行うことにより得ることができる。 The receiving unit 15 receives various information transmitted from the external server 2 . One of the information that the receiving unit 15 receives from the external server 2 is determination result information. The judgment result information is information indicating whether or not the versions of the software of the vehicle-mounted devices A to D are compatible, and is obtained by the external server 2 making a judgment based on the version information received from the transmission unit 14. can be done.

尚、送信部14及び受信部15は、図1に示した無線通信機1を介して外部サーバ2との通信を行う。 The transmitting unit 14 and the receiving unit 15 communicate with the external server 2 via the wireless communication device 1 shown in FIG.

整合情報更新部16は、受信部15が受信した判定結果情報が、車載機A~Dのソフトウェアのバージョンに整合性があることを示す場合、整合情報記憶部11に記憶される整合情報を更新する。整合情報の更新は、整合情報更新部16が、整合情報記憶部11に記憶される整合テーブル(第1の整合情報)に含まれるソフトウェアのバージョンの組み合わせを、現在の車載機A~Dのソフトウェアのバージョンの組み合わせで置き換えたり、整合情報記憶部11に記憶される整合テーブルに、現在の車載機A~Dのソフトウェアのバージョンの組み合わせを追加したりすることによって行うことができる。整合情報更新部16は、更新された整合テーブルを外部サーバ2から取得し、整合情報記憶部11に記憶される整合テーブルを外部サーバ2から取得した整合テーブルで置き換えることによって行っても良い。 The consistency information update unit 16 updates the consistency information stored in the consistency information storage unit 11 when the determination result information received by the reception unit 15 indicates that the versions of the software of the vehicle-mounted devices A to D are consistent. do. When updating the matching information, the matching information update unit 16 updates the combination of software versions included in the matching table (first matching information) stored in the matching information storage unit 11 to the current software of the onboard units A to D. or by adding the combination of the current software versions of the vehicle-mounted devices A to D to the matching table stored in the matching information storage unit 11 . The matching information updating unit 16 may acquire the updated matching table from the external server 2 and replace the matching table stored in the matching information storage unit 11 with the matching table acquired from the external server 2 .

更新指示部17は、受信部15が受信した判定結果情報が、車載機A~Dのソフトウェアのバージョンに整合性がないことを示す場合、許可されたバージョンの組み合わせに整合していないソフトウェアを保持する車載機に対して、ソフトウェアの更新を指示する。 When the determination result information received by the receiving unit 15 indicates that the versions of the software of the vehicle-mounted devices A to D are not compatible, the update instruction unit 17 holds the software that is not compatible with the permitted version combination. Instructs the onboard device to update the software.

[車載機B~D]
車載機B~Dは、ソフトウェア記憶部20と、送信部21と、受信部22とを備える。
[In-vehicle device B to D]
Vehicle-mounted devices B to D include a software storage unit 20 , a transmission unit 21 and a reception unit 22 .

ソフトウェア記憶部20は、車載機B~Dのそれぞれを動作させるためのソフトウェアを記憶する。車載機B~Dは、ソフトウェア記憶部10に記憶されたソフトウェアを実行することにより、それぞれ、車両の動作を制御するための所定の機能を実現する。 The software storage unit 20 stores software for operating each of the vehicle-mounted devices BD. By executing the software stored in the software storage unit 10, the vehicle-mounted devices B to D each realize a predetermined function for controlling the operation of the vehicle.

送信部21は、ソフトウェア記憶部20に記憶されているソフトウェアのバージョンを代表車載機Aに送信する。送信部21は、車両の電源がオンされたことを契機としてソフトウェアのバージョンを代表車載機Aに送信しても良いし、車両の電源がオンされたことを契機として送信された代表車載機Aからの要求に応答して、ソフトウェアのバージョンを代表車載機Aに送信しても良い。 The transmission unit 21 transmits the version of the software stored in the software storage unit 20 to the representative vehicle-mounted device A. FIG. The transmission unit 21 may transmit the version of the software to the representative vehicle-mounted device A when the power of the vehicle is turned on. The version of the software may be transmitted to the representative vehicle-mounted device A in response to the request from the representative vehicle-mounted device A.

受信部22は、代表車載機Aまたは外部サーバ2から送信された各種情報を受信する。 The receiving unit 22 receives various information transmitted from the representative vehicle-mounted device A or the external server 2 .

[外部サーバ2]
外部サーバ2は、整合情報記憶部30と、判定部31と、送信部32と、受信部33とを備える。
[External server 2]
The external server 2 includes a matching information storage unit 30 , a determination unit 31 , a transmission unit 32 and a reception unit 33 .

整合情報記憶部30は、車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンの組み合わせを定義した整合テーブルを予め記憶する。整合テーブルに定義される車載機A~Dのソフトウェアのバージョンの組み合わせは、車両制御システム100が正常に動作することが確認されており、同時に実行することが許可された組み合わせである。整合情報記憶部30に記憶する整合テーブルには、図3に例示したものと同様に、車両制御システム100を特定するシステム番号と、車載機A~Dのそれぞれのソフトウェアのバージョンとを含めることができる。整合テーブルは、後述する判定部31が車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定するための整合情報(第2の整合情報)として使用される。 The matching information storage unit 30 stores in advance a matching table that defines combinations of software versions of all the vehicle-mounted devices A to D constituting the vehicle control system 100 . A combination of versions of the onboard units A to D defined in the matching table is a combination that has been confirmed to allow the vehicle control system 100 to operate normally and that is permitted to be executed simultaneously. The matching table stored in the matching information storage unit 30 may include the system number specifying the vehicle control system 100 and the software version of each of the vehicle-mounted devices A to D in the same manner as shown in FIG. can. The matching table is used as matching information (second matching information) for determining whether or not the versions of the software of the vehicle-mounted devices A to D are compatible with each other by the determination unit 31, which will be described later.

判定部31は、車両制御システム100を構成する全ての車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。この判定は、判定部31が、代表車載機Aから受信したバージョン情報に含まれる車載機A~Dのソフトウェアのバージョンを、整合情報記憶部30に記憶される整合テーブルと照合することにより行う。外部サーバ2では、車載機A~Dの全てのバージョンのソフトウェアを管理することができる。したがって、整合情報記憶部30に記憶される整合テーブルには、代表車載機Aの整合情報記憶部11に記憶される整合テーブルと比べて、車載機A~Dのソフトウェアのバージョンの許可された組み合わせをより多く定義可能である。したがって、代表車載機Aにおいてソフトウェアのバージョンの整合性確認ができなかった場合でも、外部サーバ2で再度判定を行うことにより、車載機A~Dのソフトウェアのバージョンの整合性を精度良く判定することができる。 The determination unit 31 determines whether or not the software versions of all the vehicle-mounted devices A to D constituting the vehicle control system 100 are consistent. This determination is made by the determination unit 31 checking the versions of the software of the vehicle units A to D included in the version information received from the representative vehicle unit A with the matching table stored in the matching information storage unit 30 . The external server 2 can manage software of all versions of the in-vehicle units AD. Therefore, compared to the matching table stored in the matching information storage unit 11 of the representative vehicle unit A, the matching table stored in the matching information storage unit 30 has more permitted combinations of software versions of the vehicle units A to D than the matching table stored in the matching information storage unit 11. can be defined more. Therefore, even if the consistency of the software version cannot be confirmed in the representative vehicle-mounted device A, the compatibility of the software versions of the vehicle-mounted devices A to D can be accurately determined by performing the determination again in the external server 2. can be done.

送信部32は、判定部31の判定結果である、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを表す判定結果情報を代表車載機Aに送信する。 The transmitting unit 32 transmits, to the representative vehicle unit A, determination result information indicating whether or not the versions of the software of the vehicle units A to D are compatible, which is the determination result of the determination unit 31 .

受信部33は、代表車載機Aから送信された各種情報を受信する The receiving unit 33 receives various information transmitted from the representative vehicle-mounted device A.

<制御処理>
以下、図2及び図4を併せて参照しながら、代表車載機Aが実行する制御処理を説明する。
<Control processing>
Hereinafter, control processing executed by the representative vehicle-mounted device A will be described with reference to FIGS. 2 and 4. FIG.

図4は、第1の実施形態に係る車両制御システムにおいて、代表車載機が実行する整合性確認処理の一例を示すフローチャートである。図4に示す制御処理は、車両の電源がオンされたことを契機として実行される。 FIG. 4 is a flowchart showing an example of consistency confirmation processing executed by the representative vehicle-mounted device in the vehicle control system according to the first embodiment. The control process shown in FIG. 4 is executed when the power of the vehicle is turned on.

ステップS1:バージョン取得部12は、他の車載機B~Dのソフトウェアのバージョンを取得する。その後、処理はステップS2に移る。 Step S1: The version acquisition section 12 acquires the software versions of the other vehicle-mounted devices B to D. After that, the process moves to step S2.

ステップS2:判定部13は、代表車載機Aのソフトウェアのバージョンと、他の車載機B~Dから取得したソフトウェアのバージョンとを、整合情報記憶部11に記憶される整合テーブルと照合し、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。ステップS2の判定がYESの場合、処理はステップS3に移り、それ以外の場合、処理はステップS4に移る。 Step S2: The determination unit 13 collates the software version of the representative vehicle unit A and the software versions acquired from the other vehicle units B to D with the matching table stored in the matching information storage unit 11. It is determined whether or not the software versions of the machines A to D are consistent. If the determination in step S2 is YES, the process moves to step S3, otherwise the process moves to step S4.

ステップS3:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を許可する。その後、処理を終了する。 Step S3: The determination unit 13 permits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process ends.

ステップS4:送信部14は、代表車載機Aのソフトウェアのバージョンと、他の車載機B~Dから取得したソフトウェアのバージョンとを含むバージョン情報を外部サーバ2に送信する。その後、処理はステップS5に移る。 Step S4: The transmitting unit 14 transmits to the external server 2 version information including the software version of the representative vehicle-mounted device A and the software versions obtained from the other vehicle-mounted devices BD. After that, the process moves to step S5.

ステップS5:受信部15は、外部サーバ2から判定結果情報を受信したか否かを判定する。ステップS5の判定がYESの場合、処理はステップS6に移り、それ以外の場合、所定時間待機してから再度ステップS5の判定を行う。尚、ステップS5において、受信部15が外部サーバ2から判定結果情報を受信できない状態が予め定められた時間(タイムアウト時間)継続した場合、受信部15は、タイムアウトと判定してステップS5の処理を終了し、処理はステップS6に進む。 Step S<b>5 : The receiving unit 15 determines whether the determination result information has been received from the external server 2 . If the determination in step S5 is YES, the process proceeds to step S6. Otherwise, after waiting for a predetermined time, the determination in step S5 is performed again. In step S5, if the state in which the receiving unit 15 cannot receive the determination result information from the external server 2 continues for a predetermined time (timeout time), the receiving unit 15 determines that it is timed out and performs the process of step S5. Terminates and the process proceeds to step S6.

ステップS6:判定部13は、外部サーバ2から受信した判定結果情報に基づき、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。ステップS6の判定がYESの場合、処理はステップS7に移り、それ以外の場合、処理はステップS9に移る。尚、ステップS5において、受信部15がタイムアウトと判定した場合は、ステップS6において、車載機A~Dのソフトウェアのバージョンに整合性がないと判定する。 Step S6: Based on the determination result information received from the external server 2, the determination unit 13 determines whether or not the software versions of the vehicle-mounted devices A to D are consistent. If the determination in step S6 is YES, the process moves to step S7, otherwise the process moves to step S9. If the receiving unit 15 determines in step S5 that a timeout has occurred, then in step S6 it determines that the software versions of the vehicle-mounted devices A to D do not match.

ステップS7:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を許可する。その後、処理はステップS8に移る。 Step S7: The determination unit 13 permits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process moves to step S8.

ステップS8:整合情報更新部16は、整合情報記憶部11に記憶される整合テーブルを更新する。上述した通り、整合テーブルは、ステップS2の判定に用いたソフトウェアのバージョンを用いて更新しても良いし、受信部15を介して外部サーバ2から取得した整合テーブルを用いて更新しても良い。その後、処理を終了する。 Step S8: The matching information updating unit 16 updates the matching table stored in the matching information storage unit 11. FIG. As described above, the matching table may be updated using the software version used for the determination in step S2, or may be updated using the matching table obtained from the external server 2 via the receiving unit 15. . After that, the process ends.

ステップS9:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を禁止する。その後、処理はステップS10に移る。 Step S9: The determination unit 13 prohibits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process moves to step S10.

ステップS10:更新指示部17は、整合情報記憶部11に記憶される整合テーブルと整合しないバージョンのソフトウェアを保持する車載機に対して、ソフトウェアの更新を指示する。その後、処理を終了する。 Step S<b>10 : The update instruction unit 17 instructs the vehicle-mounted device holding the version of the software that does not match the matching table stored in the matching information storage unit 11 to update the software. After that, the process ends.

尚、更新指示部17がソフトウェアの更新を指示した場合、更新対象の車載機がサーバ2から更新されたソフトウェアの受信を完了した時点で、実行対象とするソフトウェアを現在のバージョンのソフトウェアから更新されたソフトウェアに切り替えるために、車両の電源を一旦オフした後、再度電源をオンするように、ユーザに促しても良い。 When the update instruction unit 17 instructs to update the software, the software to be executed is updated from the current version of the software when the on-vehicle device to be updated completes receiving the updated software from the server 2. In order to switch to the new software, the user may be prompted to turn the vehicle power off and then on again.

また、ステップS10の更新指示に基づいていずれかの車載機のソフトウェアが更新された場合、整合情報更新部16は、必要に応じて整合情報記憶部11に記憶される整合テーブルを更新しても良い。 Further, when the software of any vehicle-mounted device is updated based on the update instruction in step S10, the matching information updating unit 16 updates the matching table stored in the matching information storage unit 11 as necessary. good.

<効果等>
本実施形態に係る車両制御システム100では、車両の電源がオンされたことを契機として、代表車載機Aが車載機B~Dのソフトウェアのバージョンを取得し、予め用意された整合テーブルに基づいて、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。車両の電源がオンされるたびにソフトウェアのバージョンの整合性が確認されるため、車載機A~Dのソフトウェアのバージョンに不整合があることに起因して予期しない車両制御が実行される可能性をより低減することができる。
<Effects, etc.>
In the vehicle control system 100 according to the present embodiment, when the power of the vehicle is turned on, the representative vehicle-mounted device A acquires the software versions of the vehicle-mounted devices B to D, and based on a matching table prepared in advance, , whether or not the software versions of the in-vehicle units A to D are consistent. Since the consistency of the software version is checked every time the vehicle is turned on, there is a possibility that unexpected vehicle control will be executed due to the version mismatch of the onboard units A to D. can be further reduced.

また、本実施形態に係る車両制御システム100では、代表車載機Aによるソフトウェアのバージョンの整合性チェック(一次チェック)で整合性がないと判定された場合には、車載機A~Dのソフトウェアのバージョンを外部サーバ2に送信し、外部サーバ2が保持する整合テーブルを用いて、ソフトウェアのバージョンの整合性チェックを再度行う(二次チェック)。代表車載機Aが保持する情報で整合性を確認できなかった場合でも、外部サーバ2が保持する情報を利用して再度の整合性チェックを行うことにより、車載機A~Dのソフトウェアのバージョンに整合性があるか否かをより精度良く判定することができる。 Further, in the vehicle control system 100 according to the present embodiment, when it is determined that there is no consistency in the consistency check (primary check) of the software version by the representative vehicle device A, the software of the vehicle devices A to D The version is sent to the external server 2, and the consistency check of the software version is performed again using the consistency table held by the external server 2 (secondary check). Even if the consistency cannot be confirmed with the information held by the representative onboard device A, the information held by the external server 2 can be used to check the consistency again, so that the version of the software of the onboard devices A to D can be checked. Whether or not there is consistency can be determined with higher accuracy.

また、本実施形態に係る車両制御システム100では、車載機A~Dのソフトウェアのバージョンに整合性があるか否かの判定を、予め用意された整合テーブルとの照合により行うため、照合の結果、どの車載機のソフトウェアのバージョンが整合テーブルと不整合であるかを特定することができる。整合テーブルと不整合である車載機を特定した情報は、ソフトウェアの更新や車載機の修理等に利用することができるので、ソフトウェアのバージョンに整合性がない状態を早期に改善することが可能となる。 In addition, in the vehicle control system 100 according to the present embodiment, whether or not the software versions of the vehicle-mounted devices A to D are compatible is determined by matching with a matching table prepared in advance. , it is possible to identify which on-vehicle device software version is inconsistent with the matching table. Information that identifies inconsistent in-vehicle units with the matching table can be used for software updates and in-vehicle unit repairs. Become.

また、本実施形態に係る車両制御システム100では、代表車載機Aにより車載機A~Dのソフトウェアのバージョンに整合性がないと判定された後、外部サーバ2により車載機A~Dのソフトウェアのバージョンに整合性があると判定された場合には、代表車載機Aの整合情報記憶部11に記憶される整合テーブルを更新することが可能である。整合情報記憶部11に記憶される整合テーブルを更新しておけば、車載機A~Dのソフトウェアが変更されない限り、次に車両の電源がオンされた際に代表車載機Aだけでソフトウェアのバージョンの整合性を確認することができるので、整合性の確認に要する時間を短縮することができる。 Further, in the vehicle control system 100 according to the present embodiment, after the representative vehicle device A determines that the versions of the software of the vehicle devices A to D are inconsistent, the external server 2 updates the software of the vehicle devices A to D. When it is determined that the versions are consistent, the consistency table stored in the consistency information storage unit 11 of the representative vehicle-mounted device A can be updated. If the matching table stored in the matching information storage unit 11 is updated, the software version will be updated only by the representative vehicle unit A the next time the vehicle is turned on unless the software of the vehicle units A to D is changed. can be checked for consistency, it is possible to shorten the time required for checking the consistency.

尚、図2に示した代表車載機Aの機能ブロックのうち、ソフトウェア記憶部10と、整合情報記憶部11と、バージョン取得部12と、判定部13のみで代表車載機Aを構成し、車両の電源がオンされたことを契機として、車載機A~Dのソフトウェアのバージョンの整合性のみを判定可能なシンプルな車両制御システムを構成することも可能である。この構成に更に、送信部14及び受信部15を追加し、代表車載機Aにおける一次チェックと外部サーバ2における二次チェックが可能な車両制御システムを構成しても良い。また、図2に示した代表車載機Aの機能ブロックのうち、整合情報更新部16または更新指示部17を省略した車両制御システムを構成しても良い。 Of the functional blocks of the representative vehicle-mounted device A shown in FIG. It is also possible to configure a simple vehicle control system that can judge only the consistency of the software versions of the vehicle-mounted units A to D when the power of the vehicle-mounted units A to D is turned on. Further, the transmitting unit 14 and the receiving unit 15 may be added to this configuration to configure a vehicle control system in which the primary check in the representative vehicle-mounted device A and the secondary check in the external server 2 are possible. Further, the vehicle control system may be constructed by omitting the matching information updating unit 16 or the update instructing unit 17 from among the functional blocks of the representative vehicle-mounted device A shown in FIG.

(第2の実施形態)
<構成>
図5は、第2の実施形態に係る車両制御システムの機能ブロック図である。
(Second embodiment)
<Configuration>
FIG. 5 is a functional block diagram of a vehicle control system according to the second embodiment.

第2の実施形態に係る車両制御システム200は、代表車載機Aによって車載機A~Dのソフトウェアのバージョンに整合性がないと判定された後、代表車載機Aと外部サーバ2とが通信できない状態にある場合でも、車載機A~Dのソフトウェアのバージョンの整合性を確保できる点に特徴を有する。以下では、本実施形態と第1の実施形態との相異点を中心に説明する。 In the vehicle control system 200 according to the second embodiment, after the representative vehicle-mounted device A determines that the versions of the software of the vehicle-mounted devices A to D are inconsistent, the representative vehicle-mounted device A cannot communicate with the external server 2. It is characterized in that the consistency of the software versions of the on-vehicle units A to D can be ensured even when in the state. The following description focuses on differences between the present embodiment and the first embodiment.

[代表車載機A]
代表車載機Aのソフトウェア記憶部10には、代表車載機Aを動作させるためのソフトウェアとして、現在のバージョンのソフトウェアSa_curと、旧バージョンのソフトウェアSa_oldとが記憶されている。現在のバージョンのソフトウェアSa_cur及び旧バージョンのソフトウェアSa_oldは、ソフトウェア記憶部10の異なる記憶領域に記憶されており、ソフトウェアの更新時には、旧バージョンのソフトウェアSa_oldが削除され、現在のバージョンのソフトウェアが旧バージョンのソフトウェアとして保持され、更新されたソフトウェアが現在のバージョンのソフトウェアとして新たに記憶される。
[Representative in-vehicle unit A]
The software storage unit 10 of the representative vehicle-mounted device A stores a current version of software Sa_cur and an old version of software Sa_old as software for operating the representative vehicle-mounted device A. FIG. The current version of the software Sa_cur and the old version of the software Sa_old are stored in different storage areas of the software storage unit 10. When updating the software, the old version of the software Sa_old is deleted and the current version of the software is replaced with the old version. and the updated software is newly stored as the current version of the software.

整合情報記憶部11には、整合情報として、現在のバージョンの整合テーブルT_curと、旧バージョンの整合テーブルT_oldとが記憶されている。整合情報の更新時には、旧バージョンの整合テーブルT_oldが削除され、現在のバージョンの整合テーブルが旧バージョンの整合テーブルとして保持され、更新された整合テーブルが現在のバージョンの整合テーブルとして新たに記憶される。 The consistency information storage unit 11 stores a current version consistency table T_cur and an old version consistency table T_old as consistency information. When updating the consistency information, the old version consistency table T_old is deleted, the current version consistency table is retained as the old version consistency table, and the updated consistency table is newly stored as the current version consistency table. .

代表車載機Aは、切替指示部18とソフトウェア切替部19とを更に備える。 The representative vehicle-mounted device A further includes a switching instruction unit 18 and a software switching unit 19 .

切替指示部18は、判定部13によって車載機A~Dのソフトウェアのバージョンに整合性がないと判定され、かつ、代表車載機Aが外部サーバ2とが通信できない状態にある場合に、車載機A~Dのそれぞれに対し、実行対象とするソフトウェアを現在のバージョンのソフトウェアから旧バージョンのソフトウェアに切り替えるよう指示する。切替指示部18が車載機A~Dに対してソフトウェアの切り替えを指示した場合、表示部への表示や音声により、ソフトウェアを旧バージョンのバージョンに切り替える旨をユーザに通知しても良い。 When the determination unit 13 determines that the versions of the software of the vehicle units A to D are inconsistent and the representative vehicle unit A is in a state where communication with the external server 2 is not possible, the switching instruction unit 18 switches the vehicle unit. Each of A to D is instructed to switch the software to be executed from the current version software to the old version software. When the switching instruction unit 18 instructs the vehicle-mounted devices A to D to switch the software, the user may be notified that the software is to be switched to the old version by display on the display unit or by voice.

ソフトウェア切替部19は、切替指示部18によってソフトウェアの切替指示が行われた場合、実行対象とするソフトウェアを現在のバージョンのソフトウェアSa_curから旧バージョンのソフトウェアSa_oldに切り替えると共に、判定部13が使用する整合情報を現在のバージョンの整合テーブルT_curから旧バージョンの整合テーブルT_oldへと切り替える。ソフトウェア切替部19によるソフトウェアの切り替えは、次に車両の電源がオンされたことを契機として、車載機A~Dのソフトウェアのバージョンの整合性を確認する処理の前に実行する。 When the switching instruction unit 18 issues a software switching instruction, the software switching unit 19 switches the software to be executed from the current version of the software Sa_cur to the old version of the software Sa_old. Switch the information from the current version of the reconciliation table T_cur to the old version reconciliation table T_old. The switching of the software by the software switching unit 19 is executed before the process of confirming the consistency of the software versions of the vehicle-mounted devices A to D when the power of the vehicle is next turned on.

尚、切替指示部18によりソフトウェアの切り替え指示が行われた場合、次に車両の電源がオンされたことを契機として、バージョン取得部12及び判定部13により、車載機A~Dのソフトウェアのバージョンの整合性が確認される。バージョン取得部12及び判定部13が実行する処理は、電源がオンされた場合の通常時の処理と同じであるが、結果として、バージョン取得部12は、他の車載機B~Dから切り替え後のソフトウェアのバージョンを取得し、判定部13は、代表車載機Aの切り替え後のソフトウェアのバージョンと、他の車載機B~Dから取得した切り替え後のソフトウェアのバージョンとを、旧バージョンの整合テーブルと照合することにより、ソフトウェアのバージョンの整合性が確認される。 When the switching instruction unit 18 issues a software switching instruction, the version acquisition unit 12 and the determination unit 13 determine the software versions of the on-vehicle units A to D when the vehicle is turned on next time. are checked for consistency. The processing executed by the version acquisition unit 12 and the determination unit 13 is the same as the processing during normal operation when the power is turned on. , and the determination unit 13 compares the version of the software after switching of the representative vehicle-mounted device A and the version of the software after switching acquired from the other vehicle-mounted devices B to D to a matching table of old versions. , the consistency of the software versions is confirmed.

[車載機B~D]
車載機B、C及びDのソフトウェア記憶部20には、車載機B、C及びDを動作させるためのソフトウェアとして、現在のバージョンのソフトウェアSb_cur、Sc_cur及びSd_curと、旧バージョンのソフトウェアSb_old、Sc_old及びSd_oldとがそれぞれが記憶されている。車載機B~Dにおいても、現在のバージョンのソフトウェア及び旧バージョンのソフトウェアは、ソフトウェア記憶部20の異なる記憶領域に記憶されており、ソフトウェアの更新時には、旧バージョンのソフトウェアが削除され、更新されたソフトウェアが現在のバージョンのソフトウェアとして新たに記憶され、現在のバージョンのソフトウェアが旧バージョンのソフトウェアとして保持される。旧バージョンのソフトウェアSa_old~Sd_oldは、現在のバージョンのソフトウェアSa_cur~Sa_curの前に使用されていたソフトウェアの組み合わせであって、バージョンの整合性が取れているソフトウェアの組み合わせである。
[In-vehicle device B to D]
In the software storage unit 20 of the vehicle-mounted devices B, C and D, current version software Sb_cur, Sc_cur and Sd_cur and old-version software Sb_old, Sc_old and Sd_old are stored respectively. In the in-vehicle units B to D, the current version software and the old version software are stored in different storage areas of the software storage unit 20, and when the software is updated, the old version software is deleted and updated. The software is newly stored as the current version of the software, and the current version of the software is retained as the old version of the software. The old versions of the software Sa_old to Sd_old are combinations of software that were used before the current versions of the software Sa_cur to Sa_cur, and are versions compatible.

また、車載機B~Dの各々は、ソフトウェア切替部23を更に備える。ソフトウェア切替部23は、切替指示部18によってソフトウェアの切替指示が行われた場合、実行対象とするソフトウェアを現在のバージョンのソフトウェアSb_cur、Sc_cur及びSd_curから、旧バージョンのソフトウェアSb_old、Sc_old及びSd_oldにそれぞれ切り替える。ソフトウェア切替部23によるソフトウェアの切り替えも、次に車両の電源がオンされたことを契機として、車載機A~Dのソフトウェアのバージョンの整合性を確認する処理の前に実行する。 Further, each of the vehicle-mounted devices B to D further includes a software switching unit 23 . When the switching instruction unit 18 issues a software switching instruction, the software switching unit 23 changes the software to be executed from the current version software Sb_cur, Sc_cur, and Sd_cur to the old version software Sb_old, Sc_old, and Sd_old, respectively. switch. The switching of the software by the software switching unit 23 is also performed before the process of confirming the consistency of the software versions of the vehicle-mounted devices A to D when the power of the vehicle is next turned on.

<制御処理>
以下、図5及び図6を併せて参照しながら、代表車載機Aが実行する制御処理を説明する。
<Control processing>
Hereinafter, the control processing executed by the representative vehicle-mounted device A will be described with reference to FIGS. 5 and 6. FIG.

図6は、第2の実施形態に係る車両制御システムにおいて、代表車載機が実行する整合性確認処理の一例を示すフローチャートである。図6に示す制御処理は、車両の電源がオンされたことを契機として実行される。 FIG. 6 is a flowchart showing an example of consistency confirmation processing executed by the representative vehicle-mounted device in the vehicle control system according to the second embodiment. The control process shown in FIG. 6 is executed when the power of the vehicle is turned on.

ステップS21:ソフトウェア切替部19は、車両の電源がオンされる前に、ソフトウェアの切替指示が行われていたか否かを判定する。このステップS21は、後述するステップS28において、車載機A~Dの現在のバージョンのソフトウェアを旧バージョンのソフトウェアに切り替える指示が行われた場合に、当該指示がおこなわれた後の、最初の電源オンを契機としてソフトウェアの切り替えを行うために必要な判定である。車両の電源がオンされる前にソフトウェアの切替指示が行われたことは、不揮発性の記憶領域に立てられたフラグ等により判定することができる。ステップS21の判定がYESの場合、処理はステップS22に移り、それ以外の場合、処理はステップS23に移る。 Step S21: The software switching unit 19 determines whether or not an instruction to switch software has been issued before the power of the vehicle is turned on. This step S21 is the first power-on after the instruction to switch the current version of the software of the vehicle-mounted devices A to D to the old version is given in step S28, which will be described later. This determination is necessary to switch the software with the . It can be determined by a flag or the like set in a non-volatile storage area that a software switching instruction has been issued before the power of the vehicle is turned on. If the determination in step S21 is YES, the process moves to step S22, otherwise the process moves to step S23.

ステップS22:ソフトウェア切替部19は、ステップS21でソフトウェアの切替指示があると判定された場合、実行対象とするソフトウェアを現在のバージョンのソフトウェアSa_curから旧バージョンのソフトウェアSa_oldに切り替える。また、ソフトウェア切替部19は、判定部13が使用する整合情報を現在の整合テーブルT_curから旧バージョンの整合テーブルT_oldへと切り替える。 Step S22: When it is determined in step S21 that there is a software switching instruction, the software switching unit 19 switches the software to be executed from the current version of the software Sa_cur to the old version of the software Sa_old. The software switching unit 19 also switches the matching information used by the determination unit 13 from the current matching table T_cur to the old version matching table T_old.

尚、図示を省略しているが、ソフトウェアの切替を指示された他の車載機においても、代表車載機Aにおいてソフトウェアが切り替えられるのと同じタイミングで並行して、ソフトウェア切替部23が実行対象とするソフトウェアを現在のバージョンのソフトウェアから、旧バージョンのソフトウェアに切り替える。 Although illustration is omitted, in the other vehicle-mounted devices instructed to switch the software, the software switching unit 23 is executed at the same timing as the software switching in the representative vehicle-mounted device A. switch from the current version of the software to the previous version of the software.

ステップS23:バージョン取得部12は、他の車載機B~Dのソフトウェアのバージョンを取得する。その後、処理はステップS24に移る。 Step S23: The version acquisition section 12 acquires the software versions of the other vehicle-mounted devices BD. After that, the process moves to step S24.

ステップS24:判定部13は、代表車載機Aのソフトウェアのバージョンと、他の車載機B~Dから取得したソフトウェアのバージョンとを、整合情報記憶部11に記憶される整合テーブルと照合し、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。ステップS24の判定がYESの場合、処理はステップS25に移り、それ以外の場合、処理はステップS26に移る。 Step S24: The determination unit 13 collates the software version of the representative vehicle unit A and the software versions acquired from the other vehicle units B to D with the matching table stored in the matching information storage unit 11. It is determined whether or not the software versions of the machines A to D are consistent. If the determination in step S24 is YES, the process moves to step S25; otherwise, the process moves to step S26.

ステップS25:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を許可する。その後、処理を終了する。 Step S25: The determination unit 13 permits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process ends.

ステップS26:送信部14は、外部サーバ2と通信可能であるか否かを判定する。外部サーバ2と通信可能であるか否かは、例えば、受信部15が受信している無線信号の信号強度に基づいて判定することができる。ステップS26の判定がYESの場合、処理はステップS29に移り、それ以外の場合、処理はステップS27に移る。 Step S26: The transmission unit 14 determines whether communication with the external server 2 is possible. Whether communication with the external server 2 is possible can be determined, for example, based on the signal strength of the radio signal received by the receiving unit 15 . If the determination in step S26 is YES, the process moves to step S29; otherwise, the process moves to step S27.

ステップS27:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を禁止する。その後、処理はステップS28に移る。 Step S27: The determination unit 13 prohibits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process moves to step S28.

ステップS28:切替指示部18は、現在のバージョンのソフトウェアから旧バージョンのソフトウェアへの切り替えが必要な車載機に対して、現在のバージョンのソフトウェアを旧バージョンのソフトウェアに切り替えるよう指示する。その後、処理を終了する。 Step S28: The switching instruction unit 18 instructs the vehicle-mounted device that needs to switch from the current version of the software to the old version of the software to switch the current version of the software to the old version of the software. After that, the process ends.

尚、切替指示部18が車載機A~Dに対してソフトウェアに切り替えを指示した場合、代表車載機Aは、ソフトウェアの切り替えを行う旨をユーザに通知しても良い。また、代表車載機Aは、ソフトウェアの切替処理の準備が完了した時点で、車両の電源を一旦オフした後、再度オンするように、ユーザに促しても良い。 When the switching instruction unit 18 instructs the onboard devices A to D to switch the software, the representative onboard device A may notify the user that the software will be switched. Further, the representative vehicle-mounted device A may urge the user to turn off the power of the vehicle once and then turn it on again when the preparation for the software switching process is completed.

ステップS29:送信部14は、代表車載機Aのソフトウェアのバージョンと、他の車載機B~Dから取得したソフトウェアのバージョンとを含むバージョン情報を外部サーバ2に送信する。その後、処理はステップS30に移る。 Step S29: The transmitting unit 14 transmits to the external server 2 version information including the software version of the representative vehicle-mounted device A and the software versions acquired from the other vehicle-mounted devices BD. After that, the process moves to step S30.

ステップS30:受信部15は、外部サーバ2から判定結果情報を受信したか否かを判定する。ステップS30の判定がYESの場合、処理はステップS31に移り、それ以外の場合、所定時間待機してから再度ステップS30の判定を行う。尚、ステップS30において、受信部15が外部サーバ2から判定結果情報を受信できない状態が予め定められた時間(タイムアウト時間)継続した場合、受信部15は、タイムアウトと判定してステップS30の処理を終了し、処理はステップS31に進む。 Step S<b>30 : The receiving unit 15 determines whether or not the determination result information has been received from the external server 2 . If the determination in step S30 is YES, the process proceeds to step S31. Otherwise, after waiting for a predetermined time, the determination in step S30 is performed again. In step S30, if the state in which the reception unit 15 cannot receive the determination result information from the external server 2 continues for a predetermined time (timeout time), the reception unit 15 determines that the timeout has occurred, and performs the processing of step S30. Terminates and the process proceeds to step S31.

ステップS31:判定部13は、外部サーバ2から受信した判定結果情報に基づき、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。ステップS31の判定がYESの場合、処理はステップS32に移り、それ以外の場合、処理はステップS34に移る。尚、ステップS30において、受信部15がタイムアウトと判定した場合は、ステップS31において、車載機A~Dのソフトウェアのバージョンに整合性がないと判定する。 Step S31: Based on the determination result information received from the external server 2, the determination unit 13 determines whether or not the software versions of the vehicle-mounted devices A to D are consistent. If the determination in step S31 is YES, the process proceeds to step S32; otherwise, the process proceeds to step S34. If the receiving unit 15 determines in step S30 that a timeout has occurred, it determines in step S31 that the software versions of the vehicle-mounted devices A to D do not match.

ステップS32:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を許可する。その後、処理はステップS33に移る。 Step S32: The determination unit 13 permits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process moves to step S33.

ステップS33:整合情報更新部16は、整合情報記憶部11に記憶される整合情報を更新する。その後、処理を終了する。 Step S<b>33 : The matching information updating unit 16 updates the matching information stored in the matching information storage unit 11 . After that, the process ends.

ステップS34:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を禁止する。その後、処理はステップS35に移る。 Step S34: The determination unit 13 prohibits execution of vehicle control using a combination of the vehicle-mounted devices A to D. After that, the process moves to step S35.

ステップS35:更新指示部17は、整合情報記憶部11に記憶される整合テーブルと整合しないバージョンのソフトウェアを保持する車載機に対して、ソフトウェアの更新を指示する。その後、処理を終了する。 Step S<b>35 : The update instruction unit 17 instructs the vehicle-mounted device holding the version of the software that does not match the matching table stored in the matching information storage unit 11 to update the software. After that, the process ends.

尚、更新指示部17がソフトウェアの更新を指示した場合、更新対象の車載機がサーバ2から更新されたソフトウェアの受信を完了した時点で、実行対象とするソフトウェアを現在のバージョンのソフトウェアから更新されたソフトウェアに切り替えるために、車両の電源を一旦オフした後、再度電源をオンするように、ユーザに促しても良い。 When the update instruction unit 17 instructs to update the software, the software to be executed is updated from the current version of the software when the on-vehicle device to be updated completes receiving the updated software from the server 2. In order to switch to the new software, the user may be prompted to turn the vehicle power off and then on again.

<効果等>
本実施形態に係る車両制御システム200では、第1の実施形態と同様に、車両の電源がオンされたことを契機として車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定するため、車載機A~Dのソフトウェアのバージョン不整合により、予期しない車両制御が実行される可能性をより低減することができる。
<Effects, etc.>
In the vehicle control system 200 according to the present embodiment, as in the first embodiment, when the power of the vehicle is turned on, it is determined whether or not the software versions of the onboard units A to D are consistent. Therefore, it is possible to further reduce the possibility that unexpected vehicle control is executed due to version mismatch of the software of the vehicle-mounted devices A to D.

これに加えて、本実施形態に係る車両制御システム200では、各車載機が旧バージョンのソフトウェアを保持すると共に、代表車載機Aが旧バージョンの整合テーブルを保持している。したがって、代表車載機Aによって車載機A~Dのソフトウェアのバージョンに整合性がないと判定されたが、代表車載機Aと外部サーバ2とが通信できない状態にある場合には、旧バージョンのソフトウェアに切り替えることができる。この構成によれば、最新のソフトウェアのバージョンに整合性がなく、代表車載機Aが外部サーバと通信できない場合でも、車載機A~Dのソフトウェアのバージョンに整合性を確保することが可能となる。 In addition to this, in the vehicle control system 200 according to the present embodiment, each vehicle-mounted device holds the software of the old version, and the representative vehicle-mounted device A holds the matching table of the old version. Therefore, if the representative onboard unit A determines that the software versions of the onboard units A to D are inconsistent, but communication between the representative onboard unit A and the external server 2 is not possible, the old version of the software can be switched to According to this configuration, even if the latest software version is inconsistent and the representative vehicle-mounted device A cannot communicate with the external server, it is possible to ensure the consistency of the software versions of the vehicle-mounted devices A to D. .

尚、図5に示した代表車載機Aの機能ブロックのうち、整合情報更新部16または更新指示部17を省略した車両制御システムを構成しても良い。 Note that the vehicle control system may be constructed by omitting the matching information updating unit 16 or the update instructing unit 17 from among the functional blocks of the representative vehicle-mounted device A shown in FIG.

(第3の実施形態)
<構成>
図7は、第3の実施形態に係る車両制御システムの背景を説明するための模式図である。
(Third embodiment)
<Configuration>
FIG. 7 is a schematic diagram for explaining the background of the vehicle control system according to the third embodiment.

車両制御システム300を構成する車載機A~DのソフトウェアのバージョンSa~Sdは、車両の出荷時には整合が取れた状態となっている(図7の左欄)。車載機A~Dのソフトウェアのバージョンの整合性が崩れる原因として、車載機A~Dの交換や、車載機A~Dに含まれる基板等の部品の交換によるバージョンずれが考えられる。例えば、車載機Cが故障し(図7の中央欄)、故障した車載機Cを新しい物と交換した結果、新しい車載機CのソフトウェアSc’のバージョンが、交換前のソフトウェアScのバージョンから変わってしまう場合がある(図7の右欄)。この場合、新しい車載機CのソフトウェアのバージョンSc’は、必ずしも車載機A、B及びDのソフトウェアのバージョンと整合しているとは限らず、また、ソフトウェアSc’のバージョンによっては、代表車載機Aによる整合性確認処理だけ車載機A~Dのソフトウェアの整合性を確認できないことも考えられる。地下や山間部等の無線通信環境が整っていない場所で車両が使用される場合には、外部サーバとの通信により整合性確認を行うことができないため、車載機A~Dの組み合わせで実現される車両制御機能が制限されたり、ソフトウェアの更新に時間を要したりすることが想定され、ユーザの利便性が低下する可能性がある。 Versions Sa to Sd of the software of vehicle-mounted devices A to D constituting vehicle control system 300 are matched at the time of shipment of the vehicle (left column in FIG. 7). As a cause of the collapse of the consistency of the software versions of the onboard units A to D, it is possible that the onboard units A to D are replaced, or the versions are shifted due to the replacement of parts such as substrates included in the onboard units A to D. For example, the vehicle-mounted device C breaks down (the middle column in FIG. 7), and as a result of replacing the failed vehicle-mounted device C with a new one, the version of the software Sc' of the new vehicle-mounted device C changes from the version of the software Sc before the replacement. (right column in Fig. 7). In this case, the new software version Sc' of the vehicle-mounted device C does not necessarily match the software versions of the vehicle-mounted devices A, B, and D. It is conceivable that the compatibility of the software of the vehicle-mounted devices A to D cannot be confirmed only by the consistency confirmation processing by A. When the vehicle is used in places where the wireless communication environment is not well established, such as underground or mountainous areas, it is not possible to check consistency by communicating with an external server. It is assumed that the vehicle control functions that can be used by the user will be limited, and it will take time to update the software, which may reduce user convenience.

このような問題を想定し、第3の実施形態に係る車両制御システムでは、車載機A~Dの修理や交換が必要となった場合でも速やかに車載機A~Dのソフトウェアのバージョンの整合性を確保できる点に特徴を有する。以下、本実施形態と第1の実施形態との相異点を中心に説明する。 Assuming such a problem, in the vehicle control system according to the third embodiment, even if the onboard units A to D need to be repaired or replaced, the consistency of the software versions of the onboard units A to D can be quickly verified. It is characterized in that it can ensure The following description focuses on differences between the present embodiment and the first embodiment.

図8は、第3の実施形態に係る車両制御システムの機能ブロック図である。 FIG. 8 is a functional block diagram of a vehicle control system according to the third embodiment.

[代表車載機A]
代表車載機Aは、第1の実施形態で説明したソフトウェア記憶部10と、整合情報記憶部11と、バージョン取得部12と、判定部13と、送信部14と、受信部15とに加えて、ソフトウェア取得部40と、ソフトウェア更新部41とを備える。
[Representative in-vehicle unit A]
In addition to the software storage unit 10, the compatibility information storage unit 11, the version acquisition unit 12, the determination unit 13, the transmission unit 14, and the reception unit 15, the representative vehicle-mounted device A has , a software acquisition unit 40 and a software update unit 41 .

ソフトウェア取得部40は、他の車載機B~Dのいずれかが故障して交換または修理が必要となった場合に、外部サーバ2と通信が可能である間に、外部サーバ2から故障した車載機の現在のバージョンのソフトウェアを受信して記憶する。ソフトウェア取得部40は、車載機B~Dのいずれかに故障が発生したことを、故障した車載機から出力される故障通知により検出することができる。図7及び図8では、車載機Cが故障した例を示しているが、ソフトウェア取得部40は、車載機A、B及びDのソフトウェアSa、Sb及びSdのバージョンと整合していた、車載機CのソフトウェアScを外部サーバ2から取得して記憶している。ソフトウェア取得部40が外部サーバ2から取得するソフトウェアのバージョンは、故障した車載機Cから通信により取得しても良いし、整合情報記憶部11に記憶されている整合テーブルから取得しても良い。 If any one of the other on-vehicle devices B to D breaks down and needs to be replaced or repaired, the software acquisition unit 40 receives the failed on-vehicle information from the external server 2 while communication with the external server 2 is possible. Receive and store the current version of software on the machine. The software acquisition unit 40 can detect that a failure has occurred in any one of the on-vehicle devices BD from a failure notification output from the failed on-board device. 7 and 8 show an example in which the in-vehicle device C has failed. The software Sc of C is acquired from the external server 2 and stored. The software version that the software acquisition unit 40 acquires from the external server 2 may be acquired from the failed vehicle-mounted device C through communication, or may be acquired from the matching table stored in the matching information storage unit 11 .

ソフトウェア更新部41は、故障した車載機の交換または修理後に、判定部13によって、車載機A~Dのソフトウェアのバージョンに整合性がないと判定され、かつ、整合テーブルに整合していないと判定されたバージョンのソフトウェアを保持する車載機が、交換または修理された車載機であると判定された場合に、交換または修理された車載機のソフトウェア記憶部20に、ソフトウェア取得部40によって記憶されるソフトウェアを書き込む。その後、ソフトウェア更新部41は、交換または修理された車載機に対して、ソフトウェアの切り替えを指示する。 After replacement or repair of the failed vehicle-mounted device, the software update unit 41 determines that the versions of the software of the vehicle-mounted devices A to D are inconsistent by the determination unit 13 and that they are not consistent with the matching table. When the vehicle-mounted device holding the updated version of the software is determined to be the replaced or repaired vehicle-mounted device, the software acquisition unit 40 stores the software in the software storage unit 20 of the replaced or repaired vehicle-mounted device. write software. After that, the software update unit 41 instructs the replaced or repaired vehicle-mounted device to switch the software.

尚、ソフトウェア更新部41によりソフトウェアの切り替え指示が行われた場合、次に車両の電源がオンされたことを契機として、バージョン取得部12及び判定部13により、車載機A~Dのソフトウェアのバージョンの整合性が確認される。バージョン取得部12及び判定部13が実行する処理は、電源がオンされた場合の通常時の処理と同じである。 When the software update unit 41 issues a software switching instruction, the version acquisition unit 12 and the determination unit 13 determine the software versions of the on-vehicle units A to D when the vehicle is turned on next time. are checked for consistency. The processing executed by the version acquiring unit 12 and the determining unit 13 is the same as the normal processing when the power is turned on.

[車載機B~D]
また、車載機B~Dの各々は、第2の実施形態で説明したものと同様の、ソフトウェア切替部23を更に備える。ソフトウェア切替部23は、ソフトウェア更新部41によってソフトウェアの切替指示が行われた場合、実行対象とするソフトウェアを現在のバージョンのソフトウェアから、ソフトウェア更新部41によって書き込まれたソフトウェアに切り替える。ソフトウェア切替部23によるソフトウェアの切り替えは、次に車両の電源がオンされたことを契機として、車載機A~Dのソフトウェアのバージョンの整合性を確認する処理の前に実行する。
[In-vehicle device B to D]
Further, each of the vehicle-mounted devices B to D further includes a software switching unit 23 similar to that described in the second embodiment. When the software updater 41 issues a software switching instruction, the software switching unit 23 switches the software to be executed from the current version of the software to the software written by the software updater 41 . The switching of the software by the software switching unit 23 is executed before the process of confirming the consistency of the software versions of the vehicle-mounted devices A to D when the power of the vehicle is next turned on.

<制御処理>
以下、図8~図10を併せて参照しながら、代表車載機Aが実行する制御処理を説明する。
<Control processing>
Hereinafter, control processing executed by the representative vehicle-mounted device A will be described with reference to FIGS. 8 to 10 as well.

図9は、第3の実施形態に係る車両制御システムにおいて、代表車載機が実行するソフトウェア取得処理の一例を示すフローチャートである。 FIG. 9 is a flowchart showing an example of software acquisition processing executed by the representative vehicle-mounted device in the vehicle control system according to the third embodiment.

ステップS41:受信部15は、他の車載機B~Dから故障通知を受信したか否かを判定する。ステップS41の判定がYESの場合、処理はステップS42に移り、それ以外の場合は処理を終了する。 Step S41: The receiving unit 15 determines whether or not a failure notification has been received from another vehicle-mounted device BD. If the determination in step S41 is YES, the process proceeds to step S42, otherwise the process ends.

ステップS42:ソフトウェア取得部40は、故障した車載機の現在のバージョンのソフトウェアを外部サーバ2から取得して記憶する。その後、処理を終了する。 Step S42: The software acquisition unit 40 acquires the current version of the software of the failed vehicle-mounted device from the external server 2 and stores it. After that, the process ends.

図10は、第3の実施形態に係る車両制御システムにおいて、代表車載機が実行する整合性確認処理の一例を示すフローチャートである。図10に示す制御処理は、車両の電源がオンされたことを契機として実行される。 FIG. 10 is a flowchart showing an example of consistency confirmation processing executed by the representative vehicle-mounted device in the vehicle control system according to the third embodiment. The control process shown in FIG. 10 is executed when the power of the vehicle is turned on.

ステップS51:バージョン取得部12は、他の車載機B~Dのソフトウェアのバージョンを取得する。その後、処理はステップS52に移る。 Step S51: The version acquisition section 12 acquires the software versions of the other vehicle-mounted devices B to D. After that, the process moves to step S52.

ステップS52:判定部13は、代表車載機Aのソフトウェアのバージョンと、他の車載機B~Dから取得したソフトウェアのバージョンとを、整合情報記憶部11に記憶される整合テーブルと照合し、車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定する。ステップS52の判定がYESの場合、処理はステップS54に移り、それ以外の場合、処理はステップS53に移る。 Step S52: The determination unit 13 collates the software version of the representative vehicle unit A and the software versions acquired from the other vehicle units B to D with the matching table stored in the matching information storage unit 11, It is determined whether or not the software versions of the machines A to D are consistent. If the determination in step S52 is YES, the process proceeds to step S54; otherwise, the process proceeds to step S53.

ステップS53:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を許可する。その後、処理を終了する。 Step S53: The determination unit 13 permits execution of vehicle control using a combination of the onboard units A to D. After that, the process ends.

ステップS54:判定部13は、整合テーブルと整合していないバージョンのソフトウェアを有する車載機が、交換または修理された車載機であるか否かを判定する。車載機が交換または修理されたか否かは、図9のステップS41で受信した故障通知に基づいて特定することができる。ステップS54の判定がYESの場合、処理はステップS55に移り、それ以外の場合、処理はステップS56に移る。 Step S54: The determination unit 13 determines whether or not the vehicle-mounted device having the version of the software that does not match the matching table is the vehicle-mounted device that has been replaced or repaired. Whether or not the vehicle-mounted device has been replaced or repaired can be specified based on the failure notification received in step S41 of FIG. If the determination in step S54 is YES, the process moves to step S55; otherwise, the process moves to step S56.

ステップS55:ソフトウェア更新部41は、交換または修理された車載機のソフトウェア記憶部20の所定の領域に、ソフトウェア取得部40に記憶されるソフトウェアを書き込む。そして、ソフトウェア更新部41は、交換または修理された車載機に対して、ソフトウェアの切り替えを指示する。その後、処理を終了する。 Step S55: The software update section 41 writes the software stored in the software acquisition section 40 to a predetermined area of the software storage section 20 of the replaced or repaired vehicle-mounted device. Then, the software update unit 41 instructs the replaced or repaired vehicle-mounted device to switch the software. After that, the process ends.

ステップS56:判定部13は、車載機A~Dを組み合わせて用いた車両制御の実行を禁止する。その後、処理を終了する。 Step S56: The determination unit 13 prohibits execution of vehicle control using a combination of the onboard units A to D. After that, the process ends.

尚、ソフトウェア更新部41がソフトウェアの切り替えを指示した場合、交換または修理された車載機が実行対象とするソフトウェアを現在のバージョンのソフトウェアから更新されたソフトウェアに切り替えるために、車両の電源を一旦オフした後、再度をオンするように、ユーザに促しても良い。また、代表車載機Aは、ソフトウェア更新部41がソフトウェアの切り替えを指示した車載機の電源を一旦オフにした後、再度オンしても良い。ソフトウェア更新部41によって、ソフトウェアの切り替えを指示された車載機は、次に電源がオンされたときに、ソフトウェア切替部23が、実行対象とするソフトウェアを、ソフトウェア更新部41によってソフトウェア記憶部20に書き込まれたソフトウェアに切り替える。 When the software update unit 41 instructs to switch the software, the power of the vehicle is temporarily turned off in order to switch the software to be executed by the replaced or repaired vehicle-mounted device from the current version of the software to the updated software. After that, the user may be prompted to turn it on again. Further, the representative vehicle-mounted device A may once turn off the power of the vehicle-mounted device for which the software update unit 41 has instructed to switch the software, and then turn it on again. When the vehicle-mounted device instructed to switch the software by the software updating unit 41 is turned on next time, the software switching unit 23 causes the software to be executed to be stored in the software storage unit 20 by the software updating unit 41. Switch to written software.

<効果等>
本実施形態に係る車両制御システム300では、第1の実施形態と同様に、車両の電源がオンされたことを契機として車載機A~Dのソフトウェアのバージョンに整合性があるか否かを判定するため、車載機A~Dのソフトウェアのバージョン不整合により、予期しない車両制御が実行される可能性をより低減することができる。
<Effects, etc.>
In the vehicle control system 300 according to the present embodiment, as in the first embodiment, when the vehicle is powered on, it is determined whether or not the software versions of the onboard units A to D are compatible. Therefore, it is possible to further reduce the possibility that unexpected vehicle control is executed due to version mismatch of the software of the vehicle-mounted devices A to D.

これに加えて、本実施形態に係る車両制御システム300では、故障により車載機B~Dの交換または修理が必要となった場合には、事前に整合性が確認されている、故障した車載機のソフトウェアを代表車載機Aが外部サーバ2から予め取得する。そして、故障した車載機の交換または修理の後に、交換または修理された車載機のソフトウェアのバージョンが整合テーブルと整合しない場合には、代表車載機Aが外部サーバ2から予め取得しておいたソフトウェアへの切り替えを行う。したがって、車載機の交換や修理に起因して車載機A~Dのソフトウェアのバージョンの整合が取れなくなり、かつ、車両の無線通信環境が整っていない場合でも、速やかに車載機A~Dの整合性がとれた状態に復帰させることができる。この結果、車載機A~Dの組み合わせにより実現される車両制御機能の制限を早期に解消でき、ユーザの利便性を向上できる。 In addition to this, in the vehicle control system 300 according to the present embodiment, when replacement or repair of the on-vehicle units B to D becomes necessary due to a failure, the failed on-board unit whose compatibility has been confirmed in advance software from the external server 2 in advance by the representative vehicle-mounted device A. Then, after replacing or repairing the failed vehicle-mounted device, if the version of the software of the replaced or repaired vehicle-mounted device does not match the matching table, the representative vehicle-mounted device A pre-obtained software from the external server 2. switch to Therefore, even if the software versions of the onboard units A to D cannot be matched due to the replacement or repair of the onboard units and the wireless communication environment of the vehicle is not ready, the onboard units A to D can be quickly matched. It can be restored to a healthy state. As a result, the restrictions on the vehicle control functions realized by the combination of the on-vehicle units A to D can be quickly eliminated, and the user's convenience can be improved.

尚、第3の実施形態に係るソフトウェアの整合性確認方法は、第1の実施形態に係る車両制御システム100または第2の実施形態に係る車両制御システム200と組み合わせても良い。具体的には、第1の実施形態に係る車両制御システム100または第2の実施形態に係る車両制御システム200に、ソフトウェア取得部40と、ソフトウェア更新部41を更に設け、図9に示したステップS41及びS42の処理と、図10に示したステップS54及びS55の処理とを実行可能となるように代表車載機Aを構成すれば良い。図10に示したステップS54及びS55の処理は、判定部13による一次チェックでソフトウェアのバージョンに整合性がないと判定されてから外部サーバ2での二次チェックを実行する前に実行することが好ましい。このように構成すれば、代表車載機Aが保持する情報を用いた整合性の判定を優先的に実行し、代表車載機Aだけで判定ができない場合に外部サーバ2での二次チェックを行うため、通信を行うことなく、ソフトウェアの整合性の判定処理を効率的に行うことができる。車両と外部サーバ2との通信可否を判定するステップ(図6のS26)がある場合は、車両が外部サーバ2と通信できない場合に、図10のステップS54及びS55の処理を実行すれば良い。 The software consistency confirmation method according to the third embodiment may be combined with the vehicle control system 100 according to the first embodiment or the vehicle control system 200 according to the second embodiment. Specifically, the vehicle control system 100 according to the first embodiment or the vehicle control system 200 according to the second embodiment is further provided with a software acquisition unit 40 and a software update unit 41, and the steps shown in FIG. The representative vehicle-mounted device A may be configured so as to be able to execute the processing of S41 and S42 and the processing of steps S54 and S55 shown in FIG. The processing of steps S54 and S55 shown in FIG. 10 can be executed after the primary check by the determination unit 13 determines that the software versions are not consistent and before the external server 2 executes the secondary check. preferable. With this configuration, the consistency determination using the information held by the representative vehicle-mounted device A is preferentially executed, and if the determination cannot be made only by the representative vehicle-mounted device A, the external server 2 performs a secondary check. Therefore, it is possible to efficiently perform software consistency determination processing without communication. If there is a step of determining whether communication between the vehicle and the external server 2 is possible (S26 in FIG. 6), the processing of steps S54 and S55 in FIG. 10 may be executed when the vehicle cannot communicate with the external server 2.

(その他の変形例等)
尚、上述した図4、図6、図9及び図10の制御処理は、専用の回路によって実現しても良いし、例えば、プロセッサ、ROM、RAM、ハードディスク等を有するECU等のコンピュータに、各ステップの処理を実行させることにより実現しても良い。図4、図6、図9及び図10の制御処理をECU等のコンピュータに実行させる場合、これらの制御処理を実行可能に記述したプログラムを予めROMやハーディスク等の記憶装置に格納しておき、コンピュータが備えるプロセッサに記憶装置からプログラムを読み出させて実行させれば良い。
(Other modifications, etc.)
4, 6, 9 and 10 described above may be realized by a dedicated circuit. It may be realized by executing the processing of the steps. 4, 6, 9 and 10 are executed by a computer such as an ECU, a program in which these control processes can be executed is stored in advance in a storage device such as a ROM or hard disk. , the processor of the computer may be caused to read the program from the storage device and execute it.

また、上記の各実施形態では、車両制御システムの制御機能を提供する車載機の1つが代表車載機としてソフトウェアのバージョンの整合性を確認する例を説明したが、ソフトウェアのバージョンの整合性を確認するための専用の車載機により、上記の制御処理を実行しても良い。 Further, in each of the above embodiments, an example in which one of the vehicle-mounted devices that provide the control function of the vehicle control system confirms the consistency of the software version as the representative vehicle-mounted device has been described. The above control processing may be executed by a dedicated vehicle-mounted device for the purpose.

本発明は、複数の車載機の組み合わせにより所定の車両制御機能を実現する車両制御システムに利用できる。 INDUSTRIAL APPLICABILITY The present invention can be used for a vehicle control system that realizes a predetermined vehicle control function by combining a plurality of vehicle-mounted devices.

2 外部サーバ
10 ソフトウェア記憶部
11 整合情報記憶部
12 バージョン取得部
13 判定部
14 送信部
15 受信部
16 整合情報更新部
17 更新指示部
18 切替指示部
19 ソフトウェア切替部
20 ソフトウェア記憶部
30 整合情報記憶部
31 判定部
32 送信部
33 受信部
40 ソフトウェア取得部
41 ソフトウェア更新部
100、200、300 車両制御システム
A 代表車載機
B~D 車載機
2 External server 10 Software storage unit 11 Consistency information storage unit 12 Version acquisition unit 13 Judgment unit 14 Transmission unit 15 Reception unit 16 Consistency information update unit 17 Update instruction unit 18 Switching instruction unit 19 Software switching unit 20 Software storage unit 30 Consistency information storage Unit 31 Determination unit 32 Transmission unit 33 Reception unit 40 Software acquisition unit 41 Software update units 100, 200, 300 Vehicle control system A Representative vehicle-mounted devices B to D Vehicle-mounted devices

Claims (8)

車両に搭載される装置であって、
複数の車載機のソフトウェアの切替指示を行う第1の指示部と、
前記切替指示に応じた前記複数の車載機の切替後のソフトウェアのバージョン情報を取得する取得部と、
前記取得部により取得された前記バージョン情報に基づき、前記複数の車載機のソフトウェアのバージョンに整合性があることを確認する確認部と、
前記複数の車載機のソフトウェアのバージョンに整合性がないと確認されたことに基づいて、前記複数の車載機に対して、切替後のソフトウェアから切替前のソフトウェアに戻すよう指示する第2の指示部と
を備える、装置。
A device mounted on a vehicle,
a first instruction unit that instructs switching of software of a plurality of in-vehicle devices;
an acquisition unit that acquires version information of software after switching of the plurality of in-vehicle devices according to the switching instruction;
a confirmation unit that confirms that versions of the software of the plurality of vehicle-mounted devices are consistent based on the version information acquired by the acquisition unit;
A second instruction for instructing the plurality of vehicle-mounted devices to return from the post-switching software to the pre-switching software based on confirmation that the versions of the software of the plurality of vehicle-mounted devices are inconsistent. A device comprising:
前記切替前のソフトウェアのバージョンの許可された組み合わせと、前記切替後のソフトウェアのバージョンの許可された組み合わせとを記憶する記憶部を備え、
前記第2の指示部によるソフトウェアの切り替え指示の後に、
前記取得部は、前記複数の車載機のソフトウェアのバージョン情報を取得し、
前記確認部は、前記取得部により取得されたソフトウェアのバージョン情報と、前記切替前のソフトウェアのバージョンの許可された組み合わせとを照合することにより、前記複数の車載機のソフトウェアのバージョンに整合性があるか否かを確認する、請求項1に記載の装置。
a storage unit that stores an allowed combination of software versions before switching and an allowed combination of software versions after switching;
After the software switching instruction by the second instruction unit,
The acquisition unit acquires version information of software of the plurality of in-vehicle devices,
The confirmation unit checks the version information of the software acquired by the acquisition unit against the permitted combination of versions of the pre-switching software to confirm that the versions of the software of the plurality of vehicle-mounted devices are consistent. 11. The device of claim 1, for checking if there is.
前記取得部によって取得された前記バージョン情報を外部サーバに送信可能な送信部を備え、
前記複数の車載機の切替後のソフトウェアのバージョンに整合性がないと確認され、更に、前記送信部が前記外部サーバと通信できない場合、前記第2の指示部が、前記複数の車載機に対して、切替後のソフトウェアから切替前のソフトウェアに戻すよう指示する、請求項1に記載の装置。
a transmission unit capable of transmitting the version information acquired by the acquisition unit to an external server;
If it is confirmed that the versions of the software after the switching of the plurality of vehicle-mounted devices are inconsistent and the transmission unit cannot communicate with the external server, the second instruction unit instructs the plurality of vehicle-mounted devices to 2. The device according to claim 1, wherein the software after the switching is instructed to return to the software before the switching.
前記送信部によって送信された前記バージョン情報に基づいて前記外部サーバによって確認された確認結果情報であって、前記複数の車載機のソフトウェアのバージョンに整合性があるか否かを示す確認結果情報を、前記外部サーバから受信可能な受信部を備え、
前記複数の車載機の切替後のソフトウェアのバージョンに整合性がないと確認され、前記送信部が前記外部サーバと通信可能である場合、
前記送信部は、前記取得部によって取得された前記バージョン情報を前記外部サーバに送信し、
前記受信部は、前記外部サーバから前記確認結果情報を受信し、
前記確認部は、前記受信部により受信された前記確認結果情報に基づいて、前記複数の車載機のソフトウェアのバージョンに整合性があることを確認する、請求項3に記載の装置。
confirmation result information confirmed by the external server based on the version information transmitted by the transmission unit, the confirmation result information indicating whether or not the versions of the software of the plurality of vehicle-mounted devices are consistent; , a receiving unit capable of receiving from the external server,
When it is confirmed that the versions of the software after switching of the plurality of vehicle-mounted devices are inconsistent, and the transmission unit can communicate with the external server,
The transmission unit transmits the version information acquired by the acquisition unit to the external server,
The receiving unit receives the confirmation result information from the external server,
4. The device according to claim 3, wherein said confirmation unit confirms that versions of software of said plurality of vehicle-mounted devices are consistent based on said confirmation result information received by said reception unit.
前記確認部は、前記複数の車載機のソフトウェアのバージョンに整合性があることを確認した場合、前記複数の車載機により実現される所定の車両制御の実行を許可する、請求項1~4のいずれかに記載の装置。 5. The method of claims 1 to 4, wherein the confirmation unit permits execution of predetermined vehicle control implemented by the plurality of vehicle-mounted devices when it is confirmed that the versions of the software of the plurality of vehicle-mounted devices are compatible. A device according to any one of the preceding claims. 請求項1に記載の装置を備える、車両。 A vehicle comprising the apparatus of claim 1 . 車両に搭載される装置が有するコンピュータが実行する方法であって、
複数の車載機のソフトウェアの切替指示を行うステップと、
前記切替指示に応じた前記複数の車載機の切替後のソフトウェアのバージョン情報を取得するステップと、
取得された前記バージョン情報に基づき、前記複数の車載機のソフトウェアのバージョンに整合性があることを確認するステップと、
前記複数の車載機のソフトウェアのバージョンに整合性がないと確認されたことに基づいて、前記複数の車載機に対して、切替後のソフトウェアから切替前のソフトウェアに戻すよう指示するステップとを含む、方法。
A method executed by a computer of a device mounted on a vehicle, comprising:
a step of instructing switching of software of a plurality of in-vehicle devices;
a step of acquiring version information of software after switching of the plurality of vehicle-mounted devices according to the switching instruction;
confirming that the software versions of the plurality of vehicle-mounted devices are consistent based on the acquired version information;
and instructing the plurality of vehicle-mounted devices to return from the post-switching software to the pre-switching software based on confirmation that the versions of the software of the plurality of vehicle-mounted devices are inconsistent. ,Method.
車両に搭載される装置が有するコンピュータが実行する方法であって、前記コンピュータに
複数の車載機のソフトウェアの切替指示を行うステップと、
前記切替指示に応じた前記複数の車載機の切替後のソフトウェアのバージョン情報を取得するステップと、
取得された前記バージョン情報に基づき、前記複数の車載機のソフトウェアのバージョンに整合性があることを確認するステップと、
前記複数の車載機のソフトウェアのバージョンに整合性がないと確認されたことに基づいて、前記複数の車載機に対して、切替後のソフトウェアから切替前のソフトウェアに戻すよう指示するステップとを実行させる、プログラム。
A method executed by a computer of a device mounted on a vehicle, comprising the step of instructing the computer to switch software of a plurality of onboard devices;
a step of acquiring version information of software after switching of the plurality of vehicle-mounted devices according to the switching instruction;
confirming that the software versions of the plurality of vehicle-mounted devices are consistent based on the acquired version information;
and instructing the plurality of vehicle-mounted devices to return from the post-switching software to the pre-switching software based on confirmation that the versions of the software of the plurality of vehicle-mounted devices are inconsistent. program.
JP2022084024A 2018-03-07 2022-05-23 Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software Active JP7331989B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022084024A JP7331989B2 (en) 2018-03-07 2022-05-23 Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software
JP2023130341A JP2023138759A (en) 2018-03-07 2023-08-09 Apparatus for confirming compatibility of software and vehicle equipped therewith, method and program for confirming compatibility of software

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018040981A JP7081223B2 (en) 2018-03-07 2018-03-07 Master device, master, method and program for checking the integrity of software, vehicle
JP2022084024A JP7331989B2 (en) 2018-03-07 2022-05-23 Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018040981A Division JP7081223B2 (en) 2018-03-07 2018-03-07 Master device, master, method and program for checking the integrity of software, vehicle

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023130341A Division JP2023138759A (en) 2018-03-07 2023-08-09 Apparatus for confirming compatibility of software and vehicle equipped therewith, method and program for confirming compatibility of software

Publications (2)

Publication Number Publication Date
JP2022103451A JP2022103451A (en) 2022-07-07
JP7331989B2 true JP7331989B2 (en) 2023-08-23

Family

ID=87576936

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2022084024A Active JP7331989B2 (en) 2018-03-07 2022-05-23 Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software
JP2023130341A Pending JP2023138759A (en) 2018-03-07 2023-08-09 Apparatus for confirming compatibility of software and vehicle equipped therewith, method and program for confirming compatibility of software

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023130341A Pending JP2023138759A (en) 2018-03-07 2023-08-09 Apparatus for confirming compatibility of software and vehicle equipped therewith, method and program for confirming compatibility of software

Country Status (1)

Country Link
JP (2) JP7331989B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7366223B1 (en) 2022-10-28 2023-10-20 株式会社Cygames SYSTEMS, METHODS AND PROGRAMS FOR TESTING GAMES

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008290667A (en) 2007-05-28 2008-12-04 Denso Corp Control system, control device, and program
JP2009053920A (en) 2007-08-27 2009-03-12 Auto Network Gijutsu Kenkyusho:Kk Program management system for on-vehicle electronic control unit
JP2017059210A (en) 2015-09-14 2017-03-23 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America GATEWAY DEVICE, Firmware Update Method, and Control Program
WO2017149825A1 (en) 2016-03-02 2017-09-08 住友電気工業株式会社 Program update system, program update method, and computer program
WO2017150242A1 (en) 2016-03-01 2017-09-08 ヤンマー株式会社 Terminal device and software rewrite program
JP2019144670A (en) 2018-02-16 2019-08-29 トヨタ自動車株式会社 Vehicle electronic control unit, program update check method and update check program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008290667A (en) 2007-05-28 2008-12-04 Denso Corp Control system, control device, and program
JP2009053920A (en) 2007-08-27 2009-03-12 Auto Network Gijutsu Kenkyusho:Kk Program management system for on-vehicle electronic control unit
JP2017059210A (en) 2015-09-14 2017-03-23 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America GATEWAY DEVICE, Firmware Update Method, and Control Program
WO2017150242A1 (en) 2016-03-01 2017-09-08 ヤンマー株式会社 Terminal device and software rewrite program
WO2017149825A1 (en) 2016-03-02 2017-09-08 住友電気工業株式会社 Program update system, program update method, and computer program
JP2019144670A (en) 2018-02-16 2019-08-29 トヨタ自動車株式会社 Vehicle electronic control unit, program update check method and update check program

Also Published As

Publication number Publication date
JP2023138759A (en) 2023-10-02
JP2022103451A (en) 2022-07-07

Similar Documents

Publication Publication Date Title
JP7081223B2 (en) Master device, master, method and program for checking the integrity of software, vehicle
JP2019159399A5 (en)
CN110244959B (en) Vehicle control system and software compatibility checking method
WO2018139296A1 (en) Vehicle control device and program updating system
JP5178962B1 (en) Train information management apparatus and control software selection method thereof
JP2009053920A (en) Program management system for on-vehicle electronic control unit
US11392368B2 (en) Electronic control system for updating circuit
JP7331989B2 (en) Apparatus for verifying consistency of software, vehicle equipped with the same, method and program for verifying consistency of software
US11126422B2 (en) Program update system, control system, mobile body, program update method, recording medium
US20230359454A1 (en) Software update device, update control method, and non-transitory storage medium
JP2021105923A (en) Vehicle, software update system and software update method
US20220276851A1 (en) Vehicle controller, updated program, program updating system, and writing device
CN113613954A (en) Electronic control device and method for setting control data
CN110377305B (en) Application software upgrading method, terminal and system
KR101744717B1 (en) Method of re-programming for plural vehicles
JP2020126452A (en) Electronic control device and application method for nonvolatile memory
US20220391194A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
US11853742B2 (en) Server, software update system, distribution method, and non-transitory storage medium
JP6528700B2 (en) In-vehicle control device and in-vehicle network including in-vehicle control device
US20220309843A1 (en) Program update management system, moving body fault diagnosis device, and program update management method
US20220276853A1 (en) Ota master, center, system, update method, and vehicle
KR102334678B1 (en) Human machine interface device
JP2022154449A (en) OTA master, update control method, and update control program
KR20110053056A (en) Self-updating method of audio-video system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230711

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230724

R151 Written notification of patent or utility model registration

Ref document number: 7331989

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151