JP2022114880A - On-vehicle device and change of state detection method - Google Patents

On-vehicle device and change of state detection method Download PDF

Info

Publication number
JP2022114880A
JP2022114880A JP2021011342A JP2021011342A JP2022114880A JP 2022114880 A JP2022114880 A JP 2022114880A JP 2021011342 A JP2021011342 A JP 2021011342A JP 2021011342 A JP2021011342 A JP 2021011342A JP 2022114880 A JP2022114880 A JP 2022114880A
Authority
JP
Japan
Prior art keywords
processing unit
message
unit
processing
communication line
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
Application number
JP2021011342A
Other languages
Japanese (ja)
Inventor
拓也 小林
Takuya Kobayashi
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2021011342A priority Critical patent/JP2022114880A/en
Priority to PCT/JP2022/001137 priority patent/WO2022163392A1/en
Publication of JP2022114880A publication Critical patent/JP2022114880A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric 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/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

To provide an on-vehicle device capable of detecting a change of state of a communication line.SOLUTION: An on-vehicle device is an on-vehicle device connected with an on-vehicle ECU, and transmitting and receiving a message to/from the on-vehicle ECU, the on-vehicle device comprising: a first processing part that performs a processing for transmitting and receiving the message; a second processing part that performs the processing for transmitting and receiving the message; a transmission and reception part for transmitting and receiving the message to/from the on-vehicle ECU; and a communication line connecting each of the first processing part and the second processing part with the on-vehicle ECU via the transmission and reception part. The communication line includes: a common communication line connected with the on-vehicle ECU; a first communication line connecting the common communication line with the first processing part; and a second communication line connecting the common communication line with the second processing part.SELECTED DRAWING: Figure 2

Description

本開示は、車載装置、及び状態変化検出方法に関する。 The present disclosure relates to an in-vehicle device and a state change detection method.

車両には、エンジン等の車載機器と、車載機器の制御を含む車両を制御するための処理を行う車載装置とが搭載されている(例えば特許文献1)。 Vehicles are equipped with in-vehicle equipment such as an engine, and an in-vehicle device that performs processing for controlling the vehicle including control of the in-vehicle equipment (for example, Patent Document 1).

特開2019-164680号公報JP 2019-164680 A

特許文献1の車載装置は、車両に搭載される複数の車載ECU(Electronic Control Unit)と接続され、当該車載ECUと通信を行う。上記の車載装置と車載ECUとの間の通信に用いられる通信ラインに例えば異常のような状態変化が発生した場合、その状態変化を早期に検出したい場合がある。 The in-vehicle device of Patent Document 1 is connected to a plurality of in-vehicle ECUs (Electronic Control Units) mounted in a vehicle, and communicates with the in-vehicle ECUs. When a state change such as an abnormality occurs in a communication line used for communication between the vehicle-mounted device and the vehicle-mounted ECU, it may be desired to detect the state change at an early stage.

本開示は斯かる事情に鑑みてなされたものであり、通信ラインの状態変化を検出することができる車載装置等を提供することを目的とする。 The present disclosure has been made in view of such circumstances, and an object of the present disclosure is to provide an in-vehicle device or the like capable of detecting a change in the state of a communication line.

本開示の一態様に係る車載装置は、車載ECUと接続され、前記車載ECUとメッセージを送受信する車載装置であって、前記メッセージを送受信するための処理を行う第1処理部と、前記メッセージを送受信するための処理を行う第2処理部と、前記車載ECUと前記メッセージを送受信するための送受信部と、該送受信部を介して、前記第1処理部及び前記第2処理部それぞれと前記車載ECUとを接続する通信ラインとを備え、前記通信ラインは、前記車載ECUと接続される共通通信ラインと、該共通通信ラインと前記第1処理部とを接続する第1通信ラインと、前記共通通信ラインと前記第2処理部とを接続する第2通信ラインとを含む。 An in-vehicle device according to an aspect of the present disclosure is an in-vehicle device that is connected to an in-vehicle ECU and transmits/receives a message to/from the in-vehicle ECU, comprising: a first processing unit that performs processing for transmitting/receiving the message; a second processing unit for performing processing for transmission and reception; a transmission/reception unit for transmitting/receiving the message to/from the in-vehicle ECU; a communication line connecting with an ECU, wherein the communication line includes a common communication line connected with the in-vehicle ECU; a first communication line connecting the common communication line and the first processing unit; A second communication line connecting the communication line and the second processing unit is included.

本開示の一態様によれば、通信ラインの状態変化を検出することができる。 According to one aspect of the present disclosure, a change in state of a communication line can be detected.

実施形態1に係る車載システムの構成を例示する模式図である。1 is a schematic diagram illustrating the configuration of an in-vehicle system according to Embodiment 1; FIG. 統合ECUの構成を例示するブロック図である。3 is a block diagram illustrating the configuration of an integrated ECU; FIG. 統合ECU及び個別ECUとの間において送受信されるメッセージの種別の一例を説明する説明図である。FIG. 4 is an explanatory diagram illustrating an example of types of messages transmitted and received between an integrated ECU and individual ECUs; 統合ECU及び個別ECUとの間において送受信されるメッセージの種別の一例を説明する説明図である。FIG. 4 is an explanatory diagram illustrating an example of types of messages transmitted and received between an integrated ECU and individual ECUs; 第1通信部の構成を例示するブロック図である。4 is a block diagram illustrating the configuration of a first communication unit; FIG. 第1テーブルの内容例を示す概念図である。4 is a conceptual diagram showing an example of contents of a first table; FIG. 異常時テーブルの内容例を示す概念図である。FIG. 4 is a conceptual diagram showing an example of contents of an abnormal table; 送信テーブルの内容例を示す概念図である。4 is a conceptual diagram showing an example of contents of a transmission table; FIG. 第2通信部の構成を例示するブロック図である。4 is a block diagram illustrating the configuration of a second communication unit; FIG. 第2テーブルの内容例を示す概念図である。FIG. 11 is a conceptual diagram showing an example of contents of a second table; 第1制御部が行う通信ラインの異常検出に係る処理を例示するフローチャートである。8 is a flowchart illustrating processing related to communication line abnormality detection performed by a first control unit; 第2制御部が行う制御処理に係る処理を例示するフローチャートである。9 is a flowchart illustrating processing related to control processing performed by a second control unit; 第1制御部が行う制御処理に係る処理を例示するフローチャートである。6 is a flowchart illustrating processing related to control processing performed by a first control unit; 実施形態2に係る統合ECUの構成を例示するブロック図である。FIG. 7 is a block diagram illustrating the configuration of an integrated ECU according to Embodiment 2; FIG. 実施形態3に係る統合ECUの構成を例示するブロック図である。FIG. 11 is a block diagram illustrating the configuration of an integrated ECU according to Embodiment 3; FIG.

[本開示の実施形態の説明]
最初に本開示の実施態様を列挙して説明する。また、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
[Description of Embodiments of the Present Disclosure]
First, embodiments of the present disclosure are enumerated and described. Moreover, at least part of the embodiments described below may be combined arbitrarily.

(1)本開示の一態様に係る車載装置は、車載ECUと接続され、前記車載ECUとメッセージを送受信する車載装置であって、前記メッセージを送受信するための処理を行う第1処理部と、前記メッセージを送受信するための処理を行う第2処理部と、前記車載ECUと前記メッセージを送受信するための送受信部と、該送受信部を介して、前記第1処理部及び前記第2処理部それぞれと前記車載ECUとを接続する通信ラインとを備え、前記通信ラインは、前記車載ECUと接続される共通通信ラインと、該共通通信ラインと前記第1処理部とを接続する第1通信ラインと、前記共通通信ラインと前記第2処理部とを接続する第2通信ラインとを含む。 (1) An in-vehicle device according to an aspect of the present disclosure is an in-vehicle device that is connected to an in-vehicle ECU and transmits/receives a message to/from the in-vehicle ECU, the first processing unit performing processing for transmitting/receiving the message; a second processing unit that performs processing for transmitting/receiving the message; a transmission/reception unit for transmitting/receiving the message to/from the in-vehicle ECU; and a communication line connecting the in-vehicle ECU, wherein the communication line includes a common communication line connected to the in-vehicle ECU, and a first communication line connecting the common communication line and the first processing unit. , a second communication line connecting the common communication line and the second processing unit.

本態様では状態変化の具体例として、異常の検出をする場合を例に説明する。また、本態様にあたっては、第1処理部は、第1通信ライン及び共通通信ラインを介して車載ECUとメッセージを送受信するので、第1通信ライン又は共通通信ラインの異常を検出することができる。第2処理部は、第2通信ライン及び共通通信ラインを介して車載ECUとメッセージを送受信するので、第2通信ライン又は共通通信ラインの異常を検出することができる。車載装置は通信ラインの異常を検出することができる。 In this embodiment, as a specific example of the state change, a case of detecting an abnormality will be described. Further, in this aspect, the first processing unit transmits and receives messages to and from the in-vehicle ECU via the first communication line and the common communication line, so an abnormality in the first communication line or the common communication line can be detected. Since the second processing unit transmits and receives messages to and from the in-vehicle ECU via the second communication line and the common communication line, it is possible to detect an abnormality in the second communication line or the common communication line. The in-vehicle device can detect abnormalities in the communication line.

(2)本開示の一態様に係る車載装置は、前記第1処理部及び前記第2処理部には、前記車載ECUによって出力される前記メッセージが前記通信ラインを介して入力され、前記第1処理部及び前記第2処理部は、互いに前記メッセージの入力状況を通知し、前記第1処理部及び前記第2処理部の少なくとも一方は、前記第1処理部及び前記第2処理部における前記メッセージの入力状況に基づき、前記通信ラインの状態変化を検出する。 (2) In the in-vehicle device according to an aspect of the present disclosure, the message output by the in-vehicle ECU is input to the first processing unit and the second processing unit via the communication line, and the first The processing unit and the second processing unit notify each other of the input status of the message, and at least one of the first processing unit and the second processing unit receives the message from the first processing unit and the second processing unit. to detect a change in the state of the communication line based on the input state of .

本態様にあたっては、第1処理部及び第2処理部には、車載ECUからメッセージが入力される。第1処理部及び第2処理部は通信し、互いにメッセージの入力状況を通知する。第1処理部におけるメッセージの入力状況は、第1処理部から第2処理部へ通知される。第2処理部におけるメッセージの入力状況は、第2処理部から第1処理部へ通知される。第1処理部及び第2処理部は第1処理部及び第2処理部におけるメッセージの入力状況を確認する。第1処理部及び第2処理部の少なくとも一方は、第1処理部及び第2処理部におけるメッセージの入力状況に基づき通信ラインの異常を検出する。車載装置は、第1処理部及び第2処理部の少なくとも一方と車載ECUとの間の通信における異常を検出することができる。 In this aspect, messages are input from the in-vehicle ECU to the first processing unit and the second processing unit. The first processing unit and the second processing unit communicate to notify each other of the message input status. The input state of the message in the first processing unit is notified from the first processing unit to the second processing unit. The input status of the message in the second processing unit is notified from the second processing unit to the first processing unit. The first processing unit and the second processing unit confirm the input state of the message in the first processing unit and the second processing unit. At least one of the first processing unit and the second processing unit detects an abnormality in the communication line based on the message input status in the first processing unit and the second processing unit. The in-vehicle device can detect an abnormality in communication between at least one of the first processing unit and the second processing unit and the in-vehicle ECU.

(3)本開示の一態様に係る車載装置は、前記第1処理部及び前記第2処理部の少なくとも一方は、前記メッセージが前記第1処理部及び前記第2処理部のうちの前記第1処理部のみに入力される場合に、前記第2通信ラインの状態変化を検出する。 (3) In the in-vehicle device according to an aspect of the present disclosure, at least one of the first processing unit and the second processing unit is configured such that the message is the first processing unit of the first processing unit and the second processing unit. A state change of the second communication line is detected when the signal is input only to the processing unit.

本態様にあたっては、メッセージが第1処理部及び第2処理部のうちの第1処理部のみに入力される場合、第2通信ラインの異常は検出される。車載装置は、第2処理部と車載ECUとの間の通信における異常を検出することができる。 In this aspect, when the message is input only to the first processing section of the first processing section and the second processing section, the abnormality of the second communication line is detected. The in-vehicle device can detect an abnormality in communication between the second processing unit and the in-vehicle ECU.

(4)本開示の一態様に係る車載装置は、前記第1処理部及び前記第2処理部の少なくとも一方は、前記メッセージが前記第1処理部及び前記第2処理部のうちの前記第2処理部のみに入力される場合に、前記第1通信ラインの状態変化を検出する。 (4) In the in-vehicle device according to an aspect of the present disclosure, at least one of the first processing unit and the second processing unit is configured such that the message is the second one of the first processing unit and the second processing unit. A state change of the first communication line is detected when the signal is input only to the processing unit.

本態様にあたっては、メッセージが第1処理部及び第2処理部のうちの第2処理部のみに入力される場合、第1通信ラインの異常は検出される。車載装置は、第1処理部と車載ECUとの間の通信における異常を検出することができる。 In this aspect, when the message is input only to the second processing section of the first processing section and the second processing section, the abnormality of the first communication line is detected. The in-vehicle device can detect an abnormality in communication between the first processing unit and the in-vehicle ECU.

(5)本開示の一態様に係る車載装置は、前記第1処理部及び前記第2処理部の少なくとも一方は、前記メッセージが前記第1処理部及び前記第2処理部のいずれにも入力されない場合、前記共通通信ラインの状態変化を検出する。 (5) In the in-vehicle device according to an aspect of the present disclosure, at least one of the first processing unit and the second processing unit is such that the message is input to neither the first processing unit nor the second processing unit. If so, a change in the state of the common communication line is detected.

本態様にあたっては、メッセージが第1処理部及び第2処理部のいずれにも入力されない場合、共通通信ラインの異常は検出される。車載装置は、第1処理部及び第2処理部と車載ECUとの間の通信における異常を検出することができる。 In this aspect, if the message is not input to either the first processing section or the second processing section, an abnormality in the common communication line is detected. The in-vehicle device can detect an abnormality in communication between the first processing unit and the second processing unit and the in-vehicle ECU.

(6)本開示の一態様に係る車載装置は、前記第1処理部における受信対象の前記メッセージの種別を示す情報を含む第1受信テーブルと、前記第2処理部における受信対象の前記メッセージの種別を示す情報を含む第2受信テーブルとを備え、前記第1処理部は、前記第1受信テーブルに基づき、入力される前記メッセージのうちの前記第1処理部における受信対象の前記メッセージを受信し、前記第2処理部は、前記第2受信テーブルに基づき、入力される前記メッセージのうちの前記第2処理部における受信対象の前記メッセージを受信する。 (6) An in-vehicle device according to an aspect of the present disclosure includes: a first reception table including information indicating the type of the message to be received by the first processing unit; and a second reception table including information indicating a type, and the first processing unit receives the message to be received by the first processing unit among the input messages based on the first reception table. The second processing unit receives the message to be received by the second processing unit among the input messages based on the second reception table.

本態様にあたっては、第1処理部は入力されたメッセージのうちの第1処理部における受信対象のメッセージを受信する。第2処理部は入力されたメッセージのうちの第2処理部における受信対象のメッセージを受信する。車載装置は、第1処理部及び第2処理部に分散させてメッセージを受信するので、効率よくメッセージを受信することができる。 In this aspect, the first processing unit receives a message to be received by the first processing unit among the input messages. The second processing unit receives a message to be received by the second processing unit among the input messages. Since the in-vehicle device receives the message distributed to the first processing unit and the second processing unit, the message can be received efficiently.

(7)本開示の一態様に係る車載装置は、前記第1受信テーブルは、前記第2処理部における受信対象の前記メッセージの種別を示す情報を含み、前記第2受信テーブルは、前記第1処理部における受信対象の前記メッセージの種別を示す情報を含み、前記第2通信ラインの状態変化が検出された場合に前記第1処理部は、前記第1受信テーブルに基づき、前記第1処理部における受信対象の前記メッセージと、前記第2処理部における受信対象の前記メッセージとを受信し、前記第1通信ラインの状態変化が検出された場合に前記第2処理部は、前記第2受信テーブルに基づき、前記第1処理部における受信対象の前記メッセージと、前記第2処理部における受信対象の前記メッセージとを受信する。 (7) In the in-vehicle device according to an aspect of the present disclosure, the first reception table includes information indicating the type of the message to be received by the second processing unit, and the second reception table includes the first including information indicating the type of the message to be received by the processing unit, and when a change in the state of the second communication line is detected, the first processing unit receives, based on the first reception table, the first processing unit and the message to be received by the second processing unit, and when a state change of the first communication line is detected, the second processing unit receives the second reception table , the message to be received by the first processing unit and the message to be received by the second processing unit are received.

本態様にあたっては、第2通信ラインの異常が検出された場合に第1処理部は、第1処理部における受信対象のメッセージと、第2処理部における受信対象のメッセージとの両方のメッセージを受信する。第2通信ラインの異常が検出された場合であっても車載装置は、上記の両方のメッセージを受信することができる。第1通信ラインの異常が検出された場合に第2処理部は、第1処理部における受信対象のメッセージと、第2処理部における受信対象のメッセージとの両方のメッセージを受信する。第1通信ラインの異常が検出された場合であっても車載装置は、上記の両方のメッセージを受信することができる。 In this aspect, when an abnormality in the second communication line is detected, the first processing unit receives both the message to be received by the first processing unit and the message to be received by the second processing unit. do. The in-vehicle device can receive both of the above messages even when an abnormality in the second communication line is detected. When an abnormality of the first communication line is detected, the second processing unit receives both the message to be received by the first processing unit and the message to be received by the second processing unit. The in-vehicle device can receive both of the above messages even when an abnormality in the first communication line is detected.

(8)本開示の一態様に係る状態変化検出方法は、車載ECUとメッセージを送受信するための処理を行う第1処理部及び第2処理部を備える車載装置が状態変化を検出する状態変化検出方法であって、前記車載ECUと前記メッセージを送受信するための送受信部を介して、前記第1処理部と、前記第2処理部と、前記車載ECUとを接続し、前記車載ECUと接続される共通通信ラインと、該共通通信ラインと前記第1処理部とを接続する第1通信ラインと、前記共通通信ラインと前記第1処理部とを接続する第2通信ラインとを含む通信ラインの状態変化を、前記第1処理部及び前記第2処理部における前記メッセージの入力状況に基づき検出する。 (8) A state change detection method according to an aspect of the present disclosure is state change detection in which an in-vehicle device including a first processing unit and a second processing unit that perform processing for transmitting and receiving messages to and from an in-vehicle ECU detects a state change. In the method, the first processing unit, the second processing unit, and the in-vehicle ECU are connected via a transmission/reception unit for transmitting/receiving the message to/from the in-vehicle ECU, and the method is connected to the in-vehicle ECU. a first communication line connecting the common communication line and the first processing unit; and a second communication line connecting the common communication line and the first processing unit. A state change is detected based on the input state of the message in the first processing unit and the second processing unit.

本態様にあたっては、態様(1)と同様に、通信ラインの異常を検出することができる。 In this aspect, an abnormality in the communication line can be detected in the same manner as in aspect (1).

[本開示の実施形態の詳細]
本開示をその実施形態を示す図面に基づいて具体的に説明する。本開示の実施形態に係る車載装置を、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
[Details of Embodiments of the Present Disclosure]
The present disclosure will be specifically described based on the drawings showing the embodiments thereof. An in-vehicle device according to an 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 indicated by the scope of the claims, and is intended to include all modifications within the scope and meaning equivalent to the scope of the claims.

(実施形態1)
以下、実施の形態について図面に基づいて説明する。図1は、実施形態1に係る車載システムの構成を例示する模式図である。車載システムは、車両Cに搭載される統合ECU6、複数の個別ECU2、及び当該個別ECU2に接続される車載機器3を含む。図1の車両Cには2つの個別ECU2が設けられているが、個別ECU2の個数は2つに限定されない。統合ECU6と各個別ECU2とは通信線7によって接続されている。
(Embodiment 1)
Embodiments will be described below with reference to the drawings. FIG. 1 is a schematic diagram illustrating the configuration of an in-vehicle system according to Embodiment 1. FIG. The in-vehicle system includes an integrated ECU 6 mounted in the vehicle C, a plurality of individual ECUs 2 , and an in-vehicle device 3 connected to the individual ECUs 2 . Although two individual ECUs 2 are provided in the vehicle C in FIG. 1, the number of individual ECUs 2 is not limited to two. The integrated ECU 6 and each individual ECU 2 are connected by a communication line 7 .

個別ECU2は、車両Cにおける各エリアに配置される。個別ECU2は、当該個別ECU2と接続される複数の車載機器3と信号又はデータを送受信する。また個別ECU2は統合ECU6と通信を行う。個別ECU2は車載ECUに相当する。 The individual ECU 2 is arranged in each area of the vehicle C. As shown in FIG. The individual ECU 2 transmits and receives signals or data to and from a plurality of in-vehicle devices 3 connected to the individual ECU 2 . Moreover, individual ECU2 communicates with integrated ECU6. The separate ECU 2 corresponds to an in-vehicle ECU.

車載機器3は、例えばLiDAR(Light Detection and Ranging)、ライトセンサ、CMOSカメラ、及び赤外線センサ等の各種センサ5と、ドア開閉装置、及びモータ装置等のアクチュエータ4とを含む。車載機器3は上記の例に限定されず、ドアSW(スイッチ)、及びランプSW等のスイッチでもよく、ランプでもよい。 The in-vehicle device 3 includes various sensors 5 such as a LiDAR (Light Detection and Ranging), a light sensor, a CMOS camera, and an infrared sensor, and an actuator 4 such as a door opening/closing device and a motor device. The in-vehicle device 3 is not limited to the above example, and may be a switch such as a door SW (switch) and a lamp SW, or may be a lamp.

統合ECU6は、例えばヴィークルコンピュータ等の中央制御装置である。統合ECU6は、複数の個別ECU2の間における通信を中継する。統合ECU6と各個別ECU2とは通信を行う。統合ECU6と個別ECU2との通信は、メッセージの送受信を含む。通信には例えばCAN(Controller Area Network)の通信プロトコルが用いられるが、通信に用いられる通信プロトコルはCANに限定されない。通信プロトコルは、例えばCAN-FD(Controller Are Network with Flexible Data rate)、LIN(Local Interconnect Network)、イーサネット(Ethernet/登録商標)又はFlexRayでもよい。統合ECU6は、複数の個別ECU2間の通信を中継するゲートウェイ又はイーサスイッチ等の中継装置として機能してもよい。統合ECU6は車載装置に相当する。 Integrated ECU6 is central control units, such as a vehicle computer, for example. The integrated ECU 6 relays communication between the multiple individual ECUs 2 . The integrated ECU 6 and each individual ECU 2 communicate with each other. Communication between the integrated ECU 6 and the individual ECUs 2 includes transmission and reception of messages. For example, a CAN (Controller Area Network) communication protocol is used for communication, but the communication protocol used for communication is not limited to CAN. The communication protocol may be CAN-FD (Controller Are Network with Flexible Data rate), LIN (Local Interconnect Network), Ethernet (registered trademark) or FlexRay, for example. Integrated ECU6 may function as relay devices, such as a gateway which relays the communication between several separate ECU2, or an Ethernet switch. The integrated ECU 6 corresponds to an in-vehicle device.

例えば統合ECU6及び個別ECU2は協同して、接続されたアクチュエータ4の駆動制御を行う。個別ECU2はセンサ5から出力された出力信号を取得し、取得した出力信号に基づき生成したメッセージを統合ECU6に送信する。当該メッセージは例えばセンサ5の検出値を含む。統合ECU6は個別ECU2から送信されたメッセージを取得し、センサ5の検出値に基づき生成した制御情報を含むメッセージを個別ECU2へ送信する。個別ECU2は、統合ECU6から送信された制御情報を含むメッセージに基づきアクチュエータ4の駆動制御を行う。 For example, the integrated ECU 6 and the individual ECUs 2 cooperate to drive and control the connected actuators 4 . Individual ECU2 acquires the output signal output from sensor 5, and transmits the message produced|generated based on the acquired output signal to integrated ECU6. The message includes, for example, the detected value of sensor 5 . Integrated ECU6 acquires the message transmitted from individual ECU2, and transmits the message containing the control information produced|generated based on the detection value of the sensor 5 to individual ECU2. Individual ECU2 performs drive control of the actuator 4 based on the message containing the control information transmitted from integrated ECU6.

図2は、統合ECU6の構成を例示するブロック図である。統合ECU6は、車載機器3の制御を含む車両Cを制御するための制御処理を行う第1処理部61及び第2処理部62と、個別ECU2とメッセージを送受信するための送受信部64とを備える。また統合ECU6は、第1処理部61及び第2処理部62と送受信部64とを接続する第1配線65、個別ECU2と接続された通信線7が接続されるコネクタ1、及び、コネクタ1と送受信部64とを接続する第2配線66を備える。 FIG. 2 is a block diagram illustrating the configuration of the integrated ECU 6. As shown in FIG. The integrated ECU 6 includes a first processing unit 61 and a second processing unit 62 that perform control processing for controlling the vehicle C including the control of the in-vehicle device 3, and a transmission/reception unit 64 for transmitting/receiving messages to/from the individual ECU 2. . The integrated ECU 6 also includes a first wiring 65 that connects the first processing unit 61 and the second processing unit 62 and the transmission/reception unit 64, a connector 1 to which the communication line 7 connected to the individual ECU 2 is connected, and the connector 1 and A second wiring 66 is provided to connect to the transmitter/receiver 64 .

送受信部64は、通信プロトコルに基づき決定される物理層I/Fである。例えば通信プロトコルがイーサネットである場合、送受信部64は、TCP/IP又はUDP/IP等のパケットに対応するイーサネットPHY部である。例えば統合ECU6は、個別ECU2の個数に応じた個数の送受信部64を備える。 The transmitting/receiving unit 64 is a physical layer I/F determined based on the communication protocol. For example, if the communication protocol is Ethernet, the transmission/reception unit 64 is an Ethernet PHY unit that supports packets such as TCP/IP or UDP/IP. For example, integrated ECU6 is provided with the transmission-and-reception part 64 of the number according to the number of individual ECU2.

本実施形態において統合ECU6には、2つの送受信部64と、2つの第1配線65と、2つの第2配線66と、2つのコネクタ1とが設けられている。一方の送受信部64は、一方の第2配線66によって一方のコネクタ1と接続されている。一方のコネクタ1は、一方の個別ECU2と接続された通信線7と接続されている。即ち一方の送受信部64は、第2配線66、コネクタ1及び通信線7を介して一方の個別ECU2と接続されている。一方の送受信部64は、一方の第1配線65によって第1処理部61及び第2処理部62と接続されている。 In this embodiment, the integrated ECU 6 is provided with two transmission/reception units 64 , two first wirings 65 , two second wirings 66 , and two connectors 1 . One transmitting/receiving section 64 is connected to one connector 1 by one second wiring 66 . One connector 1 is connected to a communication line 7 connected to one individual ECU 2 . That is, one transmission/reception unit 64 is connected to one individual ECU 2 via the second wiring 66 , the connector 1 and the communication line 7 . One transmission/reception unit 64 is connected to the first processing unit 61 and the second processing unit 62 by one first wiring 65 .

他方の送受信部64は、他方の第2配線66によって他方のコネクタ1と接続されている。他方のコネクタ1は、他方の個別ECU2と接続された通信線7と接続されている。即ち一方の送受信部64は、第2配線66、コネクタ1及び通信線7を介して他方の個別ECU2と接続されている。一方の個別ECU2と接続された通信線7と他方の個別ECU2と接続された通信線7とは異なる。他方の送受信部64は、他方の第1配線65によって第1処理部61及び第2処理部62と接続されている。なお送受信部64、第1配線65、第2配線66及び2つのコネクタ1の個数は2つに限定されない。各通信線7に複数の個別ECU2が接続されていてもよい。 The other transmitting/receiving section 64 is connected to the other connector 1 by the other second wiring 66 . The other connector 1 is connected to a communication line 7 connected to the other individual ECU 2 . That is, one transmitting/receiving unit 64 is connected to the other individual ECU 2 via the second wiring 66, the connector 1 and the communication line 7. As shown in FIG. The communication line 7 connected to one individual ECU 2 and the communication line 7 connected to the other individual ECU 2 are different. The other transmitting/receiving section 64 is connected to the first processing section 61 and the second processing section 62 by the other first wiring 65 . The numbers of the transmitter/receiver 64, the first wiring 65, the second wiring 66, and the two connectors 1 are not limited to two. A plurality of individual ECUs 2 may be connected to each communication line 7 .

第2配線66はコネクタ1及び通信線7を介して個別ECU2と接続されている。第1配線65は、送受信部64、第2配線66、コネクタ1及び通信線7を介して個別ECU2と接続されている。第1配線65は分岐している。第1配線65は、分岐部65d、分岐部65dと送受信部64との間の共通部分65a、分岐部65dと第1処理部61との間の第1部分65b、及び分岐部65dと第2処理部62との間の第2部分65cを含む。 The second wiring 66 is connected to the individual ECU 2 via the connector 1 and the communication line 7 . The first wiring 65 is connected to the individual ECU 2 via the transmitter/receiver 64 , the second wiring 66 , the connector 1 and the communication line 7 . The first wiring 65 is branched. The first wiring 65 includes a branch portion 65d, a common portion 65a between the branch portion 65d and the transmitting/receiving portion 64, a first portion 65b between the branch portion 65d and the first processing portion 61, and a branch portion 65d and the second wiring portion 65b. A second portion 65c between the processing section 62 is included.

第1処理部61及び第2処理部62は、個別のプロセッサである。本実施形態においては、第1処理部61及び第2処理部62が個別のマイクロコントローラ(以下、マイコン)である例を説明する。なお第1処理部61及び第2処理部62はマイコンに限定されない。第1処理部61及び第2処理部62は接続されており、第1処理部61が備える通信I/F(インターフェイス)613と第2処理部62が備える通信I/F623によって通信を行う。本実施形態において第1処理部61の性能は第2処理部62の性能よりも高い例を説明するが、第1処理部61及び第2処理部62の性能は同一でもよい。第1処理部61及び第2処理部62の性能は、処理能力及びメモリの容量を含む。 The first processing unit 61 and the second processing unit 62 are separate processors. In this embodiment, an example in which the first processing unit 61 and the second processing unit 62 are separate microcontrollers (hereinafter referred to as microcomputers) will be described. Note that the first processing unit 61 and the second processing unit 62 are not limited to microcomputers. The first processing unit 61 and the second processing unit 62 are connected, and communicate by a communication I/F (interface) 613 provided in the first processing unit 61 and a communication I/F 623 provided in the second processing unit 62 . In this embodiment, an example in which the performance of the first processing unit 61 is higher than that of the second processing unit 62 will be described, but the performances of the first processing unit 61 and the second processing unit 62 may be the same. The performance of the first processing unit 61 and the second processing unit 62 includes processing power and memory capacity.

第1処理部61は、第1配線65と接続される接続部616を備える。第2処理部62は、第1配線65と接続される接続部626を備える。上述のように第1処理部61及び第2処理部62と各送受信部64とは第1配線65によって接続されている。従って第1処理部61及び第2処理部62は、一方の第1配線65、一方の送受信部64、一方の第2配線66及び一方の通信線7を介して一方の個別ECU2と接続されている。また第1処理部61及び第2処理部62は、他方の第1配線65、他方の送受信部64、他方の第2配線66及び他方の通信線7を介して他方の個別ECU2と接続されている。言い換えると、第1処理部61及び第2処理部62の両方に、複数の個別ECU2それぞれが接続されている。第1処理部61及び第2処理部62の両方は、各個別ECU2とメッセージを送受信できる。 The first processing section 61 includes a connection section 616 connected to the first wiring 65 . The second processing section 62 includes a connection section 626 connected to the first wiring 65 . As described above, the first processing section 61 and the second processing section 62 and each transmission/reception section 64 are connected by the first wiring 65 . Therefore, the first processing unit 61 and the second processing unit 62 are connected to the individual ECU 2 via the first wiring 65 on one side, the transmitting/receiving unit 64 on one side, the second wiring 66 on one side, and the communication line 7 on one side. there is The first processing unit 61 and the second processing unit 62 are connected to the other individual ECU 2 via the other first wiring 65, the other transmitting/receiving unit 64, the other second wiring 66, and the other communication line 7. there is In other words, each of the plurality of individual ECUs 2 is connected to both the first processing section 61 and the second processing section 62 . Both the first processing unit 61 and the second processing unit 62 can transmit and receive messages to and from each individual ECU 2 .

第1処理部61は、第1配線65に含まれる第1部分65b及び共通部分65aと、送受信部64と、第2配線66と、通信線7とを介して個別ECU2とメッセージを送受信する。以下、第1配線65に含まれる第1部分65b及び共通部分65aと、送受信部64と、第2配線66と、通信線7とを介する個別ECU2及び第1処理部61の間の経路を第1経路とも称する。第2処理部62は、第1配線65に含まれる第2部分65c及び共通部分65aと、送受信部64と、第2配線66と、通信線7とを介して個別ECU2とメッセージを送受信する。以下、第1配線65に含まれる第2部分65c及び共通部分65aと、送受信部64と、第2配線66と、通信線7とを介する個別ECU2及び第2処理部62の間の経路を第2経路とも称する。 The first processing unit 61 transmits and receives messages to and from the individual ECU 2 via the first portion 65 b and the common portion 65 a included in the first wiring 65 , the transmitting/receiving portion 64 , the second wiring 66 and the communication line 7 . Hereinafter, a route between the individual ECU 2 and the first processing unit 61 via the first portion 65b and the common portion 65a included in the first wiring 65, the transmitting/receiving section 64, the second wiring 66, and the communication line 7 will be described as follows. Also called 1 route. The second processing unit 62 transmits and receives messages to and from the individual ECU 2 via the second portion 65 c and the common portion 65 a included in the first wiring 65 , the transmitting/receiving unit 64 , the second wiring 66 and the communication line 7 . Below, a route between the individual ECU 2 and the second processing unit 62 via the second portion 65c and the common portion 65a included in the first wiring 65, the transmitting/receiving unit 64, the second wiring 66, and the communication line 7 will be described as follows. Also referred to as 2-path.

個別ECU2から出力されるメッセージは、第1経路及び第2経路を介して第1処理部61及び第2処理部62の両方に入力される。メッセージは、メッセージID等の識別子と、センサ5の検出値等の情報とを含む。メッセージに含まれる情報は、アクチュエータ4に流れる電流の電流値を含んでもよい。詳細は後述するが第1処理部61は、入力されるメッセージのうちの一部のメッセージを受信する。第2処理部62は、入力されたメッセージのうち、第1処理部61によって受信されないメッセージを受信する。即ち第2処理部62は、入力されたメッセージのうちの残りのメッセージを受信する。以下、第1処理部61によって受信される一部のメッセージを、第1処理部61における受信対象のメッセージとも称する。第2処理部62によって受信される残りのメッセージを、第2処理部62における受信対象のメッセージとも称する。 A message output from the individual ECU 2 is input to both the first processing unit 61 and the second processing unit 62 via the first path and the second path. A message includes an identifier such as a message ID and information such as a detected value of the sensor 5 . Information included in the message may include the current value of the current flowing through the actuator 4 . Although the details will be described later, the first processing unit 61 receives a part of the input messages. The second processing unit 62 receives messages that are not received by the first processing unit 61 among the input messages. That is, the second processing unit 62 receives the rest of the input messages. Hereinafter, some messages received by the first processing unit 61 are also referred to as messages to be received by the first processing unit 61 . The remaining messages received by the second processing unit 62 are also referred to as messages to be received by the second processing unit 62 .

第2処理部62は、受信した第2処理部62における受信対象のメッセージに含まれる情報を取得する。例えば第2処理部62は、受信した第2処理部62における受信対象のメッセージから当該メッセージに含まれるセンサ5の検出値を、第2処理部62における受信対象のメッセージに含まれる情報として取り出す。第2処理部62は、取得した第2処理部62における受信対象のメッセージに含まれる情報を第1処理部61へ出力する。 The second processing unit 62 acquires information contained in the received message to be received by the second processing unit 62 . For example, the second processing unit 62 extracts the detection value of the sensor 5 included in the received message to be received by the second processing unit 62 as information included in the message to be received by the second processing unit 62 . The second processing unit 62 outputs to the first processing unit 61 information contained in the acquired message to be received by the second processing unit 62 .

第1処理部61は、第2処理部62から出力された上記の情報を取得し、取得した情報に基づき制御処理を行う。また第1処理部61は、受信した第1処理部61における受信対象のメッセージに含まれる情報、例えばセンサ5の検出値を取得する。第1処理部61は、取得した第1処理部61における受信対象のメッセージに含まれる情報に基づき制御処理を行う。例えば第1処理部61は制御処理によって、アクチュエータ4の駆動を制御するための制御情報を生成する。 The first processing unit 61 acquires the above information output from the second processing unit 62 and performs control processing based on the acquired information. The first processing unit 61 also acquires information included in the received message to be received by the first processing unit 61 , for example, the detection value of the sensor 5 . The first processing unit 61 performs control processing based on the information included in the acquired message to be received by the first processing unit 61 . For example, the first processing unit 61 generates control information for controlling driving of the actuator 4 through control processing.

第1処理部61は制御処理の処理結果、例えば制御情報を含むメッセージを個別ECU2へ第1経路を介して送信する。又は第1処理部61は、制御情報を含むメッセージを第2処理部62へ出力する。第2処理部62は、出力されたメッセージを個別ECU2へ第2経路を介して送信する。個別ECU2は、第1処理部61から送信されたメッセージを受信し、受信したメッセージに含まれる制御情報に基づき、アクチュエータ4の駆動を制御する。 The first processing unit 61 transmits a processing result of the control processing, for example, a message including control information to the individual ECU 2 via the first path. Alternatively, the first processing unit 61 outputs a message including control information to the second processing unit 62 . The second processing unit 62 transmits the output message to the individual ECU 2 via the second path. Individual ECU2 receives the message transmitted from the 1st process part 61, and controls the drive of the actuator 4 based on the control information contained in the received message.

第1処理部61は第2処理部62からの要求に応じて、第1処理部61における受信対象のメッセージと、第2処理部62における受信対象のメッセージとを受信し、受信したメッセージに含まれる情報に基づき制御処理を行う。第1処理部61は第1経路を介して処理結果を含むメッセージを個別ECU2へ送信する。 In response to a request from the second processing unit 62, the first processing unit 61 receives a message to be received by the first processing unit 61 and a message to be received by the second processing unit 62, and includes a message included in the received message. Control processing is performed based on the information received. The first processing unit 61 transmits a message including the processing result to the individual ECU 2 via the first route.

第2処理部62は第1処理部61からの要求に応じて、第1処理部61における受信対象のメッセージと、第2処理部62における受信対象のメッセージとを受信し、受信したメッセージに含まれる情報に基づき制御処理を行う。第2処理部62は第2経路を介して処理結果を含むメッセージを個別ECU2へ送信する。 In response to a request from the first processing unit 61, the second processing unit 62 receives a message to be received by the first processing unit 61 and a message to be received by the second processing unit 62, and includes a message included in the received message. Control processing is performed based on the information received. The second processing unit 62 transmits a message including the processing result to the individual ECU 2 via the second route.

第1処理部61における受信対象のメッセージと、第2処理部62における受信対象のメッセージとは、メッセージの種別に応じて予め設定されている。以下、メッセージの種別について説明する。図3及び図4は、統合ECU6及び個別ECU2との間において送受信されるメッセージの種別の一例を説明する説明図である。図3の説明図は、メッセージの種別に対する考え方を示す。統合ECU6と個別ECU2との間にて送受信されるメッセージは、車両Cの制御のための制御メッセージと、車載機器3の故障診断のための診断メッセージとの2種類のメッセージを含む。 The message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 are set in advance according to the message type. The types of messages will be described below. FIG.3 and FIG.4 is explanatory drawing explaining an example of the classification of the message transmitted/received between integrated ECU6 and individual ECU2. The explanatory diagram of FIG. 3 shows a concept for message types. Messages transmitted and received between the integrated ECU 6 and the individual ECUs 2 include two types of messages: control messages for controlling the vehicle C and diagnostic messages for diagnosing failures of the in-vehicle equipment 3 .

一般的にメッセージが取得された際、取得されたメッセージが正常であるか否かを確認するために当該メッセージに対してセキュリティに関する処理が行われる。例えばセキュリティに関する処理はメッセージIDの確認及び送信周期の確認を含む。メッセージに異常が検出された場合、当該異常に対する応答、例えばエンジンの動作を停止させるための処理、又はメッセージの異常を車両Cの外部に設けられた外部サーバに送信するための処理が行われる。 Generally, when a message is retrieved, security-related processing is performed on the message to confirm whether the retrieved message is normal. For example, security-related processing includes message ID confirmation and transmission cycle confirmation. When an abnormality is detected in the message, a response to the abnormality, for example, processing for stopping the operation of the engine, or processing for transmitting the abnormality in the message to an external server provided outside the vehicle C is performed.

制御メッセージはセキュリティに関する処理に対する応答性(以下、セキュリティ応答性)によって分けられる。詳しくは、制御メッセージは高いセキュリティ応答性のメッセージと、低いセキュリティ応答性のメッセージとを含む。高いセキュリティ応答性のメッセージは、メッセージの異常の検出及び当該異常に対する応答が一定時間以内に行わなければならないメッセージである。低いセキュリティ応答性のメッセージは、メッセージの異常の検出、及び当該異常に対する応答が一定時間以内に行われなくてもよいメッセージである。一定時間は任意に設定可能である。 Control messages are classified according to their responsiveness to security-related processing (hereafter referred to as security responsiveness). Specifically, the control messages include high security responsiveness messages and low security responsiveness messages. A message with high security responsiveness is a message for which detection of anomaly in the message and response to the anomaly must be performed within a certain period of time. A message with low security responsiveness is a message that does not require detection of anomaly in the message and response to the anomaly within a certain period of time. The fixed time can be set arbitrarily.

高いセキュリティ応答性のメッセージ及び低いセキュリティ応答性のメッセージそれぞれは、処理の優先度が高い高優先度メッセージと、処理の優先度が高優先度メッセージよりも低い低優先度メッセージとを含む。高優先度メッセージは、早い応答が必要なメッセージである。高優先度メッセージに対しては、通信遅延時間が小さいことが要求される。 Each of the high security responsiveness message and the low security responsiveness message includes a high priority message with a high priority of processing and a low priority message with a lower priority of processing than the high priority message. A high priority message is a message that requires an early response. A high-priority message requires a short communication delay time.

一般にメッセージは周期的に出力されるが、一部のメッセージは、周期的な出力に加えて、運転手による車両の操作又はセンサによる検出等のイベントに応じて突発的に出力される。以下、メッセージのうち、イベントに応じて出力されるメッセージをイベント有のメッセージとも称する。イベント有のメッセージは、いわゆるイベントメッセージである。なおイベント有のメッセージは、周期的に出力されず、突発的に出力されてもよい。以下、メッセージのうち、イベントによらずに出力されるメッセージをイベント無のメッセージとも称する。上記の高いセキュリティ応答性のメッセージに含まれる高優先度メッセージ及び低優先度メッセージそれぞれは、イベントに応じて出力されるか否かによって分けられる。即ち、上記の高いセキュリティ応答性のメッセージに含まれる高優先度メッセージ及び低優先度メッセージそれぞれは、イベントの有無によって分けられる。図3には各メッセージのイベントの有無が示してある。 In general, messages are output periodically, but some messages are output suddenly in response to events such as operation of the vehicle by the driver or detection by sensors in addition to the periodic output. Hereinafter, among messages, a message output in response to an event will also be referred to as a message with an event. A message with an event is a so-called event message. Note that the event presence message may not be output periodically, but may be output suddenly. Hereinafter, among messages, a message that is output regardless of an event is also referred to as a message without an event. Each of the high-priority messages and the low-priority messages included in the high-security responsive messages is divided according to whether they are output in response to an event. That is, each of the high-priority message and the low-priority message included in the high-security responsiveness message is divided according to the presence or absence of an event. FIG. 3 shows the presence or absence of an event for each message.

上記の高いセキュリティ応答性のメッセージに含まれる高優先度メッセージ及び低優先度メッセージそれぞれは、イベントの有無に加えて、送信周期によって分けられる。詳しくは、メッセージは、送信周期が所定周期よりも短いメッセージと、送信周期が所定周期以上のメッセージとを含む。メッセージはデータ量によっても分けられる。送信周期が所定周期よりも短いメッセージ及び送信周期が所定周期以上のメッセージそれぞれは、データ量が所定量よりも小さいメッセージと、データ量が所定量以上のメッセージを含む。 Each of the high-priority messages and the low-priority messages included in the high-security responsive message is divided by the transmission period in addition to the presence or absence of an event. Specifically, the messages include messages with a transmission cycle shorter than a predetermined cycle and messages with a transmission cycle greater than or equal to the predetermined cycle. Messages are also separated by data volume. Messages whose transmission cycle is shorter than the predetermined cycle and messages whose transmission cycle is greater than or equal to the predetermined cycle include messages whose data amount is smaller than the predetermined amount and messages whose data amount is greater than or equal to the predetermined amount.

上記の低いセキュリティ応答性のメッセージに含まれる高優先度メッセージ及び低優先度メッセージそれぞれも、イベントの有無、送信周期及びデータ量によって分けられる。 Each of the high-priority messages and low-priority messages included in the low-security responsiveness messages is also divided according to the presence/absence of an event, the transmission period, and the amount of data.

診断メッセージは、いわゆるダイアグメッセージである。一般に診断メッセージに対するセキュリティ応答性は低い。診断メッセージは、高優先度メッセージと、低優先度メッセージとを含む。 A diagnostic message is a so-called diagnostic message. Security responsiveness to diagnostic messages is generally low. Diagnostic messages include high priority messages and low priority messages.

上述の各メッセージは、個別ECU2と第1処理部61又は第2処理部62との間において送受信される。図3には、統合ECU6において第1処理部61及び第2処理部62のどちらが各メッセージを送受信するのかを示す送受信主体が示してある。送受信主体が第1処理部61であるメッセージの送受信は、第1経路を介して第1処理部61によって行われる。送受信主体が第2処理部62であるメッセージの送受信は、第2経路を介して第2処理部62によって行われる。例えば図3においてイベント有のメッセージの送受信主体は、第1処理部61である。イベント有のメッセージは、第1経路を介して第1処理部61によって送受信される。例えば、高いセキュリティ応答性のメッセージであって、所定周期よりも短い送信周期のメッセージは、第1経路を介して第1処理部61によって送受信される。所定量よりも小さいデータ量のメッセージであって、所定周期よりも短い送信周期のメッセージは、第1経路を介して第1処理部61によって送受信される。診断メッセージのうちの高優先度メッセージは、第1経路を介して第1処理部61によって送受信される。 Each message described above is transmitted and received between the individual ECU 2 and the first processing unit 61 or the second processing unit 62 . FIG. 3 shows a transmitting/receiving entity indicating which of the first processing unit 61 and the second processing unit 62 transmits/receives each message in the integrated ECU 6 . The transmission/reception of a message whose sender/receiver is the first processing unit 61 is performed by the first processing unit 61 via the first route. Transmission and reception of a message whose transmitting/receiving entity is the second processing unit 62 is performed by the second processing unit 62 via the second path. For example, in FIG. 3, the first processing unit 61 is the transmitting/receiving subject of the event-present message. A message with an event is transmitted and received by the first processing unit 61 via the first route. For example, a message with high security responsiveness and a transmission cycle shorter than a predetermined cycle is transmitted and received by the first processing unit 61 via the first route. A message having a data amount smaller than the predetermined amount and having a transmission cycle shorter than the predetermined cycle is transmitted and received by the first processing unit 61 via the first path. A high-priority message among diagnostic messages is transmitted and received by the first processing unit 61 via the first path.

図4の説明図は、メッセージの種別の具体例を示す。図4にはメッセージの種別と、メッセージの送受信主体とが示してある。メッセージの制御メッセージは、先進運転支援システム(ADAS/Advanced Driver-Assistance Systems)関連のメッセージと、エアバック関連のメッセージと、ボディ制御関連のメッセージと、ナビゲーションシステム関連のメッセージとを含む。更に制御メッセージは、走行関連のメッセージと、車両情報関連のメッセージとを含む。 The explanatory diagram of FIG. 4 shows specific examples of message types. FIG. 4 shows message types and message senders and receivers. The message control messages include Advanced Driver-Assistance Systems (ADAS) related messages, airbag related messages, body control related messages, and navigation system related messages. Furthermore, the control messages include travel-related messages and vehicle information-related messages.

先進運転支援システム関連のメッセージは、車間データのメッセージ、駆動力データのメッセージ及びメータ通知用データのメッセージを含む。車間データは、例えば車両Cと他の車両との距離を示す。車間データはクルーズコントロール車間データを含む。駆動力データは、エンジン駆動力に関する情報及びモータ駆動力に関する情報を含む。メータ通知用データは、表示用車速に関する情報と、警告灯及び表示灯に関する情報とを含む。車間データのメッセージ、及び駆動力データのメッセージは、第1経路を介して第1処理部61によって送受信される。メータ通知用データのメッセージは、第2経路を介して第2処理部62によって送受信される。 Advanced driver assistance system-related messages include inter-vehicle data messages, drive force data messages, and meter notification data messages. The inter-vehicle data indicates, for example, the distance between vehicle C and another vehicle. The inter-vehicle data includes cruise control inter-vehicle data. The driving force data includes information on engine driving force and information on motor driving force. The meter notification data includes information on vehicle speed for display and information on warning lights and indicator lights. The inter-vehicle data message and the driving force data message are transmitted and received by the first processing unit 61 via the first route. Messages of meter notification data are transmitted and received by the second processing unit 62 via the second path.

エアバック関連のメッセージは、衝突検出データのメッセージ、エアバック機能状態データのメッセージ及びメータ通知用データのメッセージを含む。衝突検出データは、車両Cが他の車両等の物体と衝突した旨を通知するためのデータである。エアバック機能状態データは、D席前突状態、P席前突状態及び前席LR状態に関する情報を含む。メータ通知用データは、表示用車速に関する情報と、警告灯及び表示灯に関する情報とを含む。衝突検出データのメッセージ及びエアバック機能状態データのメッセージは、第1処理部61によって送受信される。メータ通知用データのメッセージは、第2処理部62によって送受信される。 The airbag related messages include messages of collision detection data, messages of airbag function status data and messages of meter reporting data. The collision detection data is data for notifying that the vehicle C has collided with an object such as another vehicle. The airbag function state data includes information on the D seat front collision state, the P seat front collision state, and the front seat LR state. The meter notification data includes information on vehicle speed for display and information on warning lights and indicator lights. The collision detection data message and the airbag function status data message are transmitted and received by the first processing unit 61 . Messages of meter notification data are transmitted and received by the second processing unit 62 .

ボディ制御関連データは、カーテシSWデータのメッセージ、着座データのメッセージ、ランプ点灯データのメッセージ、ミラー関連データのメッセージ、及びパワースライドデータのメッセージを含む。カーテシSWデータは、車両Cにおけるドアの開閉状態を示す。着座データは、車両Cの各座席に人が着座しているか否かを示す。ランプ点灯データは、車両Cに搭載されたランプを点灯又は消灯するためのデータである。ミラー関連データは、ミラーの格納状態又は非格納状態に関する情報と、ミラーの角度データとを含む。パワースライドデータは、車両Cに設けられるパワースライドドアを開閉するためのデータである。カーテシSWデータのメッセージ、着座データのメッセージ、及びランプ点灯データのメッセージは、第1処理部61によって送受信される。ミラー関連データのメッセージ、及びパワースライドデータのメッセージは、第2処理部62によって送受信される。 The body control-related data includes a courtesy SW data message, a seating data message, a lamp lighting data message, a mirror-related data message, and a power slide data message. The courtesy SW data indicates the open/closed state of the doors of the vehicle C. FIG. The seating data indicates whether or not each seat of the vehicle C is occupied by a person. The lamp lighting data is data for turning on or off the lamps mounted on the vehicle C. FIG. The mirror-related data includes information about the retracted or non-retracted state of the mirror and angle data of the mirror. The power slide data is data for opening and closing a power slide door provided in the vehicle C. FIG. The courtesy switch data message, the seating data message, and the lamp lighting data message are transmitted and received by the first processing unit 61 . A message of mirror-related data and a message of power slide data are transmitted and received by the second processing unit 62 .

ナビゲーションシステム関連のメッセージは、ドライブレコーダ用データのメッセージ及びメータ通知用データのメッセージを含む。ドライブレコーダ用データのメッセージ及びメータ通知用データのメッセージは、第2処理部62によって送受信される。 Navigation system-related messages include drive recorder data messages and meter notification data messages. The drive recorder data message and the meter notification data message are transmitted and received by the second processing unit 62 .

走行関連のメッセージは、アクセル状態データのメッセージ、シフト状態データのメッセージ、及びブレーキ状態データのメッセージを含む。アクセル状態データは、運転手によるアクセルペダルの踏み込みの程度を示す。シフト状態データは、シフトレバーの状態を示す。ブレーキ状態データは、運転手によるブレーキペダルの踏み込みの程度を示す。アクセル状態データのメッセージ、シフト状態データのメッセージ、及びブレーキ状態データのメッセージは、第1処理部61によって送受信される。 Travel-related messages include accelerator state data messages, shift state data messages, and brake state data messages. The accelerator state data indicates the degree of depression of the accelerator pedal by the driver. The shift state data indicates the state of the shift lever. The brake state data indicates the degree of depression of the brake pedal by the driver. The accelerator state data message, the shift state data message, and the brake state data message are transmitted and received by the first processing unit 61 .

車両情報関連のメッセージは、車両コードデータのメッセージ、仕向けデータのメッセージ及び駆動方式データのメッセージを含む。車両コードデータは、車両Cに割り振られた車両識別番号を示す。仕向けデータは、輸出国及び輸出地域に関する情報を含む。駆動方式データは、エンジン駆動力に関する情報及びモータ駆動力に関する情報を含む。車両コードデータのメッセージ、仕向けデータのメッセージ及び駆動方式データのメッセージは、第2処理部62によって送受信される。 Vehicle information related messages include vehicle code data messages, destination data messages and drive system data messages. The vehicle code data indicates the vehicle identification number assigned to vehicle C. Destination data includes information about the exporting country and exporting region. The driving system data includes information on engine driving force and information on motor driving force. The vehicle code data message, the destination data message, and the driving system data message are transmitted and received by the second processing unit 62 .

診断メッセージは、法規対象データのメッセージ、非法規対象データのメッセージ、及びフリーズフレームデータのメッセージを含む。法規対象データのメッセージは第1処理部61によって送受信される。非法規対象データのメッセージ、及びフリーズフレームデータのメッセージは、第2処理部62によって送受信される。 Diagnostic messages include legal data messages, non-legal data messages, and freeze frame data messages. Messages of data subject to regulation are transmitted and received by the first processing unit 61 . The non-regulated data message and the freeze frame data message are transmitted and received by the second processing unit 62 .

図3及び図4において、送受信主体が第1処理部61であるメッセージは、第1処理部61における受信対象のメッセージに含まれる。第1処理部61における受信対象のメッセージには、高い応答性が要求されるメッセージが含まれる。送受信主体が第2処理部62であるメッセージは、第2処理部62における受信対象のメッセージに含まれる。 In FIGS. 3 and 4 , the message whose sender/receiver is the first processing unit 61 is included in the message to be received by the first processing unit 61 . Messages to be received by the first processing unit 61 include messages that require high responsiveness. A message whose sender/receiver is the second processing unit 62 is included in the messages to be received by the second processing unit 62 .

図2に示すように第1処理部61は、第1制御部611、第1記憶部612、通信I/F613、及び第1通信部614を備える。第1制御部611、第1記憶部612、通信I/F613、及び第1通信部614は接続されている。第1制御部611は、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)等の演算処理装置である。第1制御部611は、第1記憶部612に予め記憶された第1プログラム615及びデータを読み出して実行することにより、種々の制御処理及び演算処理等を行うようにしてある。例えば第1制御部611は、受信されたメッセージに対してセキュリティに関する処理を行う。 As shown in FIG. 2 , the first processing section 61 includes a first control section 611 , a first storage section 612 , a communication I/F 613 and a first communication section 614 . The 1st control part 611, the 1st memory|storage part 612, communication I/F613, and the 1st communication part 614 are connected. The first control unit 611 is an arithmetic processing device such as a CPU (Central Processing Unit) or MPU (Micro Processing Unit). The first control unit 611 reads out and executes a first program 615 and data stored in advance in the first storage unit 612, thereby performing various control processing, arithmetic processing, and the like. For example, the first control unit 611 performs security-related processing on the received message.

第1記憶部612は、RAM(Random Access Memory)等の揮発性のメモリ素子又は、ROM(Read Only Memory)、EEPROM(Electrically Erasable Programmable ROM)若しくはフラッシュメモリ等の不揮発性のメモリ素子により構成してある。第1記憶部612には、第1制御部611により実行される第1プログラム615、及び第1制御部611が処理時に参照するデータが予め記憶してある。第1記憶部612に記憶された第1プログラム615は、統合ECU6が読み取り可能な記録媒体63から読み出された第1プログラム615を記憶したものであってもよい。また、図示しない通信網に接続されている図示しない外部コンピュータから第1プログラム615をダウンロードし、第1記憶部612に記憶させたものであってもよい。 The first storage unit 612 is composed of a volatile memory element such as RAM (Random Access Memory) or a non-volatile memory element such as ROM (Read Only Memory), EEPROM (Electrically Erasable Programmable ROM), or flash memory. be. The first storage unit 612 stores in advance a first program 615 executed by the first control unit 611 and data that the first control unit 611 refers to during processing. The first program 615 stored in the first storage unit 612 may be the first program 615 read from the recording medium 63 readable by the integrated ECU 6 . Alternatively, the first program 615 may be downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the first storage unit 612 .

第1記憶部612には、複数のアプリケーション(以下、アプリ)が記憶されている。図2の第1記憶部612には、後述の異常が検出されていない場合に第1制御部611により実行される複数のアプリを含む第1アプリ群A1と、異常が検出されている場合に実行される複数のアプリを含む異常時アプリ群A3とが記憶されている。第1アプリ群A1及び異常時アプリ群A3は、第1プログラム615に含まれていてもよい。 A plurality of applications (hereinafter referred to as apps) are stored in the first storage unit 612 . In the first storage unit 612 of FIG. 2, a first application group A1 including a plurality of applications to be executed by the first control unit 611 when no abnormality is detected, which will be described later, and An abnormal application group A3 including a plurality of applications to be executed is stored. The first application group A<b>1 and the abnormal application group A<b>3 may be included in the first program 615 .

通信I/F613は、第2処理部62と通信する為の通信インターフェイスである。通信I/F613は、第2処理部62が備える通信I/F623と接続してある。 A communication I/F 613 is a communication interface for communicating with the second processing unit 62 . Communication I/F 613 is connected to communication I/F 623 provided in second processing unit 62 .

第1通信部614は、所定の通信プロトコルを用いた入出力インターフェイスである。例えば、所定の通信プロトコルがCANの通信プロトコルである場合、第1通信部614はCANコントローラ及びCANレシーバである。なお所定の通信プロトコルはCANの通信プロトコルに限定されない。第1通信部614は接続部616と接続されている。第1制御部611は、第1通信部614を介して各個別ECU2と相互に通信する。 The first communication unit 614 is an input/output interface using a predetermined communication protocol. For example, if the predetermined communication protocol is the CAN communication protocol, the first communication unit 614 is a CAN controller and a CAN receiver. Note that the predetermined communication protocol is not limited to the CAN communication protocol. The first communication section 614 is connected to the connection section 616 . The first control unit 611 communicates with each individual ECU 2 via the first communication unit 614 .

図5は、第1通信部614の構成を例示するブロック図である。第1通信部614は、入出力部617、受信バッファ618、送信キュー619、及び判定回路614aを備える。入出力部617は例えばマイコンのピンである。入出力部617は接続部616と接続されている。入出力部617は、接続部616、第1配線65、送受信部64、第2配線66及び通信線7を介して各個別ECU2と接続されており、個別ECU2へメッセージを出力する。また入出力部617には個別ECU2から出力されるメッセージが入力される。 FIG. 5 is a block diagram illustrating the configuration of the first communication unit 614. As illustrated in FIG. The first communication unit 614 includes an input/output unit 617, a reception buffer 618, a transmission queue 619, and a determination circuit 614a. The input/output unit 617 is, for example, pins of a microcomputer. The input/output section 617 is connected to the connection section 616 . The input/output unit 617 is connected to each individual ECU 2 via the connection unit 616 , the first wiring 65 , the transmission/reception unit 64 , the second wiring 66 and the communication line 7 , and outputs messages to the individual ECU 2 . Also, a message output from the individual ECU 2 is input to the input/output unit 617 .

受信バッファ618は、入出力部617及び判定回路614aと接続されている。受信バッファ618には、入出力部617に入力されたメッセージが保存される。 The reception buffer 618 is connected to the input/output unit 617 and the determination circuit 614a. A message input to the input/output unit 617 is stored in the receive buffer 618 .

送信キュー619は、入出力部617、判定回路614a及び第1制御部611と接続されている。送信キュー619は、送信されるメッセージを一時的に保存するメモリ(キュー)である。本実施の形態において送信キュー619は送信先に応じた複数のキューを有する。詳しくは、送信キュー619は一方の個別ECU2へメッセージを送信するためのキューと、他方の個別ECU2へメッセージを送信するためのキューとを有する。 The transmission queue 619 is connected to the input/output unit 617 , the determination circuit 614 a and the first control unit 611 . The transmission queue 619 is a memory (queue) that temporarily stores messages to be transmitted. In this embodiment, the transmission queue 619 has a plurality of queues corresponding to destinations. Specifically, the transmission queue 619 has a queue for transmitting messages to one individual ECU 2 and a queue for transmitting messages to the other individual ECU 2 .

判定回路614aは、第1制御部611と接続されている。判定回路614aは、第1テーブルT11及び異常時テーブルT12を含む第1受信テーブルT1を有する。第1テーブルT11は、第1処理部61における受信対象のメッセージの種別を示す情報を含む。異常時テーブルT12は、第1処理部61における受信対象のメッセージの種別を示す情報と、第2処理部62における受信対象のメッセージの種別を示す情報とを含む。本実施形態においてメッセージの種別を示す情報は、メッセージIDである。なおメッセージの種別を示す情報はメッセージIDに限定されない。 The determination circuit 614 a is connected to the first control section 611 . The determination circuit 614a has a first reception table T1 including a first table T11 and an abnormal table T12. The first table T11 includes information indicating the types of messages to be received by the first processing unit 61 . The abnormal table T12 includes information indicating the type of message to be received by the first processing unit 61 and information indicating the type of message to be received by the second processing unit 62 . Information indicating the type of message in this embodiment is a message ID. Information indicating the type of message is not limited to the message ID.

判定回路614aは、第1受信テーブルT1を参照し、第1テーブルT11又は異常時テーブルT12に基づき、受信バッファ618に保存されるメッセージを第1制御部611へ出力する。通常、例えば第1処理部61の起動後、判定回路614aは第1テーブルT11を参照する。第1制御部611の制御によって、判定回路614aが参照する第1受信テーブルT1は、第1テーブルT11から異常時テーブルT12へ切り替わる。第1制御部611の制御によって、判定回路614aが参照する第1受信テーブルT1は異常時テーブルT12から第1テーブルT11へ切り替わってもよい。 The determination circuit 614a refers to the first reception table T1 and outputs the message stored in the reception buffer 618 to the first control unit 611 based on the first table T11 or the abnormal table T12. Normally, for example, after starting the first processing unit 61, the determination circuit 614a refers to the first table T11. Under the control of the first control unit 611, the first reception table T1 referred to by the determination circuit 614a is switched from the first table T11 to the abnormal table T12. Under the control of the first control unit 611, the first reception table T1 referred to by the determination circuit 614a may be switched from the abnormal table T12 to the first table T11.

以下、判定回路614aが第1テーブルT11を参照する場合を説明する。図6は第1テーブルT11の内容例を示す概念図である。図6の第1テーブルT11は、メッセージID列、及び受信主体列を含む。第1テーブルT11には、個別ECU2から出力されるメッセージのうち、第1処理部61における受信対象のメッセージのメッセージIDと、当該メッセージの受信主体とが関連付けられて記憶されている。受信主体は、統合ECU6において第1処理部61及び第2処理部62のどちらがメッセージを受信するかを示す。 A case where the determination circuit 614a refers to the first table T11 will be described below. FIG. 6 is a conceptual diagram showing an example of contents of the first table T11. The first table T11 of FIG. 6 includes a message ID column and a recipient column. In the first table T11, among the messages output from the individual ECU 2, the message ID of the message to be received by the first processing unit 61 and the recipient of the message are stored in association with each other. The receiving subject indicates which of the first processing unit 61 and the second processing unit 62 receives the message in the integrated ECU 6 .

第1テーブルT11のメッセージID列には、第1処理部61における受信対象のメッセージのメッセージIDが記憶される。第1テーブルT11には第1処理部61における受信対象のメッセージのメッセージIDが記憶されるので、受信主体列には、受信主体として第1処理部61が記憶される。なお図6において受信主体列は説明のために示してあるので、第1テーブルT11は受信主体列を含まなくてもよい。 The message ID of the message to be received by the first processing unit 61 is stored in the message ID column of the first table T11. Since the message ID of the message to be received by the first processing unit 61 is stored in the first table T11, the first processing unit 61 is stored as the receiving entity in the receiving entity column. Note that the receiver string is shown in FIG. 6 for the sake of explanation, so the first table T11 may not include the receiver string.

判定回路614aは、受信バッファ618に保存されるメッセージのうち、第1テーブルT11に記憶されているメッセージIDのメッセージを第1制御部611へ出力する。即ち、判定回路614aは第1テーブルT11に基づき、第1通信部614に入力されるメッセージのうち、第1処理部における受信対象のメッセージを第1制御部611へ出力する。第1制御部611は、出力される第1処理部61における受信対象のメッセージを取得する。即ち、第1処理部61は、第1処理部61における受信対象のメッセージを受信する。 The determination circuit 614 a outputs to the first control unit 611 the message having the message ID stored in the first table T<b>11 among the messages stored in the reception buffer 618 . That is, based on the first table T11, the determination circuit 614a outputs to the first control unit 611, among the messages input to the first communication unit 614, the messages to be received by the first processing unit. The first control unit 611 acquires the message to be received by the output first processing unit 61 . That is, the first processing unit 61 receives the message to be received by the first processing unit 61 .

次に、判定回路614aが異常時テーブルT12を参照する場合を説明する。図7は異常時テーブルT12の内容例を示す概念図である。図7の異常時テーブルT12は、メッセージID列と、受信主体列を含む。異常時テーブルT12には、個別ECU2から出力されるメッセージのメッセージIDと、当該メッセージの受信主体とが関連付けられて記憶されている。詳しくは、異常時テーブルT12のメッセージID列に、第1処理部61における受信対象のメッセージのメッセージID及び第2処理部62における受信対象のメッセージのメッセージIDが記憶される。受信主体列には、受信主体として第1処理部61又は第2処理部62が記憶される。なお図7において受信主体列は説明のために示してあるので、異常時テーブルT12は受信主体列を含まなくてもよい。 Next, a case where the determination circuit 614a refers to the abnormality table T12 will be described. FIG. 7 is a conceptual diagram showing an example of the content of the abnormal table T12. The abnormal table T12 of FIG. 7 includes a message ID column and a recipient column. The message ID of the message output from the individual ECU 2 and the recipient of the message are associated and stored in the abnormality table T12. Specifically, the message ID of the message to be received by the first processing unit 61 and the message ID of the message to be received by the second processing unit 62 are stored in the message ID column of the abnormal table T12. The first processing unit 61 or the second processing unit 62 is stored in the receiving subject column as the receiving subject. Note that the receiver string is shown in FIG. 7 for explanation purposes, so the abnormal table T12 may not include the receiver string.

判定回路614aは、受信バッファ618に保存されるメッセージのうち、異常時テーブルT12に記憶されているメッセージIDのメッセージを第1制御部611へ出力する。即ち、判定回路614aは異常時テーブルT12に基づき、第1通信部614に入力されるメッセージのうち、第1処理部61における受信対象のメッセージ及び第2処理部62における受信対象のメッセージを第1制御部611へ出力する。第1制御部611は、出力される第1処理部61における受信対象のメッセージ及び第2処理部62における受信対象のメッセージを取得する。即ち、第1処理部61は、第1処理部61における受信対象のメッセージ及び第2処理部62における受信対象のメッセージを受信する。 The determination circuit 614 a outputs to the first control unit 611 the message having the message ID stored in the abnormal table T<b>12 among the messages stored in the reception buffer 618 . That is, based on the abnormality table T12, the determination circuit 614a selects the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 among the messages input to the first communication unit 614 as the first Output to control unit 611 . The first control unit 611 acquires the output message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 . That is, the first processing unit 61 receives a message to be received by the first processing unit 61 and a message to be received by the second processing unit 62 .

第1通信部614にメッセージが入力された際に判定回路614aは、メッセージの入力を示す信号を第1制御部611へ出力する。判定回路614aは、第1通信部614に特定のメッセージが入力された際に、特定のメッセージの入力を示す信号を第1制御部611へ出力してもよい。この場合、特定のメッセージのメッセージIDが第1通信部614に記憶されている。特定のメッセージは、例えば後述する異常検出のためのメッセージを含む。第1通信部614にメッセージが入力された際に、判定回路614a以外の第1通信部614の構成部が上記の信号を第1制御部611へ出力してもよい。 When a message is input to the first communication unit 614, the determination circuit 614a outputs to the first control unit 611 a signal indicating the input of the message. When a specific message is input to first communication section 614 , determination circuit 614 a may output a signal indicating the input of the specific message to first control section 611 . In this case, the message ID of the specific message is stored in first communication unit 614 . The specific message includes, for example, a message for abnormality detection, which will be described later. When a message is input to the first communication unit 614 , the components of the first communication unit 614 other than the determination circuit 614 a may output the above signal to the first control unit 611 .

上述のように判定回路614aは通常、第1テーブルT11を参照し、第1処理部61における受信対象のメッセージを第1制御部611へ出力する。第1制御部611は、出力される第1処理部61における受信対象のメッセージを受信する。第1制御部611は、受信した第1処理部61における受信対象のメッセージに含まれる情報を取得する。例えば第1制御部611は、受信した第1処理部61における受信対象のメッセージに含まれるセンサ5の検出値を、第1処理部61における受信対象のメッセージに含まれる情報として取得する。 As described above, the determination circuit 614 a normally refers to the first table T<b>11 and outputs the message to be received by the first processing unit 61 to the first control unit 611 . The first control unit 611 receives the message to be received by the output first processing unit 61 . The first control unit 611 acquires information contained in the received message to be received by the first processing unit 61 . For example, the first control unit 611 acquires the detection value of the sensor 5 included in the received message to be received by the first processing unit 61 as information included in the message to be received by the first processing unit 61 .

第1制御部611には、第2処理部62から第2処理部62における受信対象のメッセージに含まれる情報が出力される。例えば複数の情報がまとめられ、圧縮されて第2処理部62から出力される。第1制御部611は、第2処理部62から出力される上記の情報を取得する。第1制御部611は、圧縮された上記の情報を解凍し、第2処理部62における受信対象のメッセージに含まれる情報を複数取得する。 Information included in a message to be received by the second processing unit 62 is output from the second processing unit 62 to the first control unit 611 . For example, multiple pieces of information are put together, compressed, and output from the second processing unit 62 . The first control unit 611 acquires the above information output from the second processing unit 62 . The first control unit 611 decompresses the above-mentioned compressed information and acquires a plurality of pieces of information included in the message to be received by the second processing unit 62 .

第1制御部611は、第1アプリ群A1に含まれるアプリを用いて、取得した第1処理部61における受信対象のメッセージに含まれる情報に基づき制御処理を行う。また第1制御部611は、第1アプリ群A1に含まれるアプリを用いて、取得した第2処理部62における受信対象のメッセージに含まれる情報に基づき制御処理を行う。また第1制御部611は、第1アプリ群A1に含まれるアプリを用いて、第1処理部61における受信対象のメッセージに含まれる情報と、第2処理部62における受信対象のメッセージに含まれる情報とに基づき制御処理を行う。 The first control unit 611 performs control processing based on information included in the acquired message to be received by the first processing unit 61 using the applications included in the first application group A1. Further, the first control unit 611 performs control processing based on the information included in the acquired message to be received by the second processing unit 62 using the applications included in the first application group A1. In addition, first control unit 611 uses the applications included in first application group A1 to control the information included in the message to be received by first processing unit 61 and the information included in the message to be received by second processing unit 62. Control processing is performed based on the information.

第1アプリ群A1に含まれるアプリは、第1処理部61における受信対象のメッセージに含まれる情報が制御処理に用いられるアプリと、第2処理部62における受信対象のメッセージに含まれる情報が制御処理に用いられるアプリのうちの一部のアプリとを含む。また第1アプリ群A1に含まれるアプリは、第1処理部61における受信対象のメッセージに含まれる情報と第2処理部62における受信対象のメッセージに含まれる情報とが制御処理に用いられるアプリを含む。 The applications included in the first application group A1 are an application for which information included in a message to be received by the first processing unit 61 is used for control processing, and an application for which information included in a message to be received by the second processing unit 62 is used for control processing. Some of the applications used for processing are included. The applications included in the first application group A1 are applications in which the information included in the message to be received by the first processing unit 61 and the information included in the message to be received by the second processing unit 62 are used for control processing. include.

第1制御部611は制御処理の処理結果を含むメッセージを、当該メッセージの種別に応じて個別ECU2へ送信する。処理結果を含むメッセージの種別は、図3及び図4のように分類される。処理結果を含むメッセージの種別が、送受信対象が第1処理部61であるメッセージである場合、第1制御部611は第1通信部614を用いて、処理結果を含むメッセージを個別ECU2へ第1経路を介して送信する。詳しくは、第1制御部611は上記のメッセージを送信キュー619へ出力する。送信キュー619へ出力されたメッセージは、第1経路を介して送信キュー619から送信先の個別ECU2へ送信される。 The first control unit 611 transmits a message including the processing result of the control processing to the individual ECU 2 according to the type of the message. The types of messages containing processing results are classified as shown in FIGS. 3 and 4. FIG. When the type of the message including the processing result is a message whose transmission/reception target is the first processing unit 61, the first control unit 611 uses the first communication unit 614 to send the message including the processing result to the individual ECU 2 as the first processing unit. Send through route. Specifically, first control unit 611 outputs the above message to transmission queue 619 . The message output to the transmission queue 619 is transmitted from the transmission queue 619 to the destination individual ECU 2 via the first route.

処理結果を含むメッセージの種別が、送受信対象が第2処理部62であるメッセージである場合、第1制御部611は処理結果を含むメッセージを、通信I/Fを介して第2処理部62へ出力する。第2処理部62は、第1制御部611から出力されたメッセージを、第2経路を介して個別ECU2へ送信する。即ち第1制御部611は処理結果を含むメッセージを、第2処理部62及び第2経路を介して個別ECU2へ送信する。第1制御部611は処理結果を第2処理部62へ出力してもよい。第2処理部62は出力された処理結果を含むメッセージを、第2経路を介して個別ECU2へ送信する。 If the type of the message containing the processing result is a message whose transmission/reception target is the second processing unit 62, the first control unit 611 sends the message containing the processing result to the second processing unit 62 via the communication I/F. Output. The second processing unit 62 transmits the message output from the first control unit 611 to the individual ECU 2 via the second path. That is, the first control unit 611 transmits a message including the processing result to the individual ECU 2 via the second processing unit 62 and the second path. The first control unit 611 may output the processing result to the second processing unit 62 . The second processing unit 62 transmits a message including the output processing result to the individual ECU 2 via the second path.

例えば第1記憶部612には、処理結果を含むメッセージの送信経路が含まれる送信テーブルが記憶されている。図8は、送信テーブルの内容例を示す概念図である。送信テーブルには、メッセージの種別を示す情報、例えばメッセージIDと、当該メッセージの送信経路とが関連付けられて記憶されている。図8の送信テーブルは、メッセージID列と、送信経路列とを含む。 For example, the first storage unit 612 stores a transmission table including transmission routes of messages including processing results. FIG. 8 is a conceptual diagram showing an example of contents of a transmission table. Information indicating the type of message, such as a message ID, and the transmission path of the message are associated and stored in the transmission table. The transmission table of FIG. 8 includes a message ID column and a transmission route column.

送信テーブルには、処理結果を含むメッセージのメッセージIDと、当該メッセージの送信経路とが関連付けられて記憶されている。詳しくは送信テーブルのメッセージID列に、処理結果を含むメッセージのメッセージIDが記憶される。送信経路列には、第1経路と、第2処理部62及び第2経路とのいずれかが送信経路として記憶されている。第1制御部611は送信テーブルを参照し、処理結果を含むメッセージを個別ECU2へ第1経路を介して送信する、又は処理結果を含むメッセージを個別ECU2へ第2処理部62及び第2経路を介して送信する。以下、第1制御部611が処理結果を含むメッセージを個別ECU2へ送信することを、第1制御部611が処理結果を個別ECU2へ送信するとも称する。 The transmission table stores message IDs of messages including processing results in association with transmission routes of the messages. Specifically, the message ID of the message including the processing result is stored in the message ID column of the transmission table. Either the first route or the second processing unit 62 and the second route is stored as the transmission route in the transmission route column. The first control unit 611 refers to the transmission table and transmits a message including the processing result to the individual ECU 2 via the first route, or transmits a message including the processing result to the individual ECU 2 via the second processing unit 62 and the second route. Send via. Hereinafter, the transmission of the message including the processing result by the first control unit 611 to the individual ECU 2 is also referred to as the transmission of the processing result by the first control unit 611 to the individual ECU 2 .

第1制御部611は、第2処理部62から出力される要求信号を通信I/F613を介して取得する。要求信号は、第1受信テーブルT1又は後述の第2受信テーブルT2の切り替えを要求するための信号である。詳細は後述するが第2処理部62と個別ECU2との間の通信に異常がある場合に第2処理部62から要求信号が出力される。第1制御部611は要求信号を取得した場合、判定回路614aが参照する第1受信テーブルT1を第1テーブルT11から異常時テーブルT12へ切り替える。判定回路614aは異常時テーブルT12を参照し、第1処理部61における受信対象のメッセージ、及び第2処理部62における受信対象のメッセージを第1制御部611へ出力する。第1制御部611は、判定回路614aから出力されるメッセージを受信し、受信したメッセージに基づく情報を取得する。 The first control unit 611 acquires the request signal output from the second processing unit 62 via the communication I/F 613 . The request signal is a signal for requesting switching of the first reception table T1 or the second reception table T2, which will be described later. Although details will be described later, a request signal is output from the second processing unit 62 when there is an abnormality in communication between the second processing unit 62 and the individual ECU 2 . When the first control unit 611 acquires the request signal, it switches the first reception table T1 referred to by the determination circuit 614a from the first table T11 to the abnormal table T12. The determination circuit 614 a refers to the abnormal table T<b>12 and outputs the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 to the first control unit 611 . The first control unit 611 receives the message output from the determination circuit 614a and acquires information based on the received message.

第1制御部611は、異常時アプリ群A3に含まれるアプリを用いて、受信したメッセージに含まれる情報に基づき制御処理を行う。第1制御部611は、第1経路を介して当該制御処理の処理結果を含むメッセージを個別ECU2へ送信する。異常時アプリ群A3は、第1アプリ群A1に含まれるアプリと、後述の第2アプリ群A2に含まれるアプリとを含む。詳しくは、異常時アプリ群A3は第1処理部61における受信対象のメッセージに含まれる情報が制御処理に用いられるアプリと、第2処理部62における受信対象のメッセージに含まれる情報が制御処理に用いられるアプリとを含む。また異常時アプリ群A3は、第1処理部61における受信対象のメッセージに含まれる情報と第2処理部62における受信対象のメッセージに含まれる情報とが制御処理に用いられるアプリを含む。 The first control unit 611 performs control processing based on the information included in the received message using the applications included in the abnormal application group A3. The first control unit 611 transmits a message including the processing result of the control processing to the individual ECU 2 via the first path. The abnormal application group A3 includes the applications included in the first application group A1 and the applications included in the second application group A2, which will be described later. More specifically, the abnormal application group A3 includes applications for which information contained in a message to be received by the first processing unit 61 is used for control processing, and applications for which information contained in a message to be received by the second processing unit 62 is used for control processing. Including the app used. The abnormal application group A3 includes applications in which the information contained in the message to be received by the first processing unit 61 and the information contained in the message to be received by the second processing unit 62 are used for control processing.

詳細は後出するが第1制御部611は、第1配線65に含まれる第1部分65bの状態変化、例えば第1部分65bの異常を検出する。第1制御部611は、第1部分65bの異常を検出した場合に通信I/F613を介して第2処理部62へ要求信号を出力する。 Although the details will be described later, the first control unit 611 detects a change in the state of the first portion 65b included in the first wiring 65, for example, an abnormality of the first portion 65b. The first control unit 611 outputs a request signal to the second processing unit 62 via the communication I/F 613 when an abnormality of the first portion 65b is detected.

図2に示すように第2処理部62は、第1配線65と接続される接続部626を備える。更に第2処理部62は、第2制御部621、第2記憶部622、通信I/F623、及び第2通信部624を備える。第2制御部621、第2記憶部622、通信I/F623、及び第2通信部624は接続されている。第2制御部621は、CPU又はMPU等の演算処理装置により構成してあり、第2記憶部622に予め記憶された第2プログラム625及びデータを読み出して実行することにより、種々の制御処理及び演算処理等を行うようにしてある。例えば第2制御部621は受信されたメッセージに対して、セキュリティに関する処理を行う。 As shown in FIG. 2 , the second processing section 62 includes a connection section 626 connected to the first wiring 65 . Furthermore, the second processing section 62 includes a second control section 621 , a second storage section 622 , a communication I/F 623 and a second communication section 624 . The second control section 621, the second storage section 622, the communication I/F 623, and the second communication section 624 are connected. The second control unit 621 is composed of an arithmetic processing unit such as a CPU or MPU, and reads and executes a second program 625 and data stored in advance in the second storage unit 622 to perform various control processes and Arithmetic processing and the like are performed. For example, the second control unit 621 performs security-related processing on the received message.

第2記憶部622は、RAM等の揮発性のメモリ素子又は、ROM、EEPROM若しくはフラッシュメモリ等の不揮発性のメモリ素子により構成してある。第2記憶部622には、第2制御部621により実行される第2プログラム625、及び第2制御部621が処理時に参照するデータが予め記憶してある。第2記憶部622に記憶された第2プログラム625は、統合ECU6が読み取り可能な記録媒体63から読み出された第2プログラム625を記憶したものであってもよい。また、図示しない通信網に接続されている図示しない外部コンピュータから第2プログラム625をダウンロードし、第2記憶部622に記憶させたものであってもよい。 The second storage unit 622 is composed of a volatile memory element such as RAM, or a non-volatile memory element such as ROM, EEPROM, or flash memory. The second storage unit 622 stores in advance a second program 625 executed by the second control unit 621 and data that the second control unit 621 refers to during processing. The second program 625 stored in the second storage unit 622 may be the second program 625 read from the recording medium 63 readable by the integrated ECU 6 . Alternatively, the second program 625 may be downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the second storage unit 622 .

第2記憶部622には複数のアプリが記憶されている。図2の第2記憶部622には、異常が検出されていない場合に第2制御部621により実行される複数のアプリを含む第2アプリ群A2と、異常時アプリ群A3とを含む。第2アプリ群A2及び異常時アプリ群A3は第2プログラム625に含まれていてもよい。 A plurality of applications are stored in the second storage unit 622 . The second storage unit 622 of FIG. 2 includes a second application group A2 including a plurality of applications to be executed by the second control unit 621 when no abnormality is detected, and an abnormal application group A3. The second application group A2 and the abnormal application group A3 may be included in the second program 625 .

通信I/F623は、第1処理部61と通信する為の通信インターフェイスであり、通信I/F613と接続してある。第1制御部611及び第2制御部621は、通信I/F613及び通信I/F623を介して通信する。即ち第1処理部61及び第2処理部62は、通信I/F613及び通信I/F623を介して通信する。例えば第1処理部61及び第2処理部62はシリアル通信を行うが、第1処理部61及び第2処理部62の通信はシリアル通信に限定されない。 Communication I/F 623 is a communication interface for communicating with first processing unit 61 and is connected to communication I/F 613 . The 1st control part 611 and the 2nd control part 621 communicate via communication I/F613 and communication I/F623. That is, the 1st processing part 61 and the 2nd processing part 62 communicate via communication I/F613 and communication I/F623. For example, the first processing unit 61 and the second processing unit 62 perform serial communication, but the communication between the first processing unit 61 and the second processing unit 62 is not limited to serial communication.

第2通信部624は、所定の通信プロトコルを用いた入出力インターフェイスである。所定の通信プロトコルがCANである場合、第2通信部624は例えばCANコントローラ及びCANレシーバである。第2通信部624は接続部626と接続されている。第2制御部621は、第2通信部624を介して各個別ECU2と相互に通信する。 The second communication unit 624 is an input/output interface using a predetermined communication protocol. If the predetermined communication protocol is CAN, the second communication section 624 is, for example, a CAN controller and a CAN receiver. The second communication section 624 is connected to the connection section 626 . The second control section 621 communicates with each individual ECU 2 via the second communication section 624 .

図9は、第2通信部624の構成を例示するブロック図である。第2通信部624は、入出力部627、受信バッファ628、送信キュー629、及び判定回路624aを備える。入出力部627は、受信バッファ628及び送信キュー629と接続されている。入出力部627は例えばマイコンのピンである。入出力部627は、接続部626、第1配線65、送受信部64、第2配線66及び通信線7を介して各個別ECU2と接続されており、個別ECU2へメッセージを出力する。また入出力部627には個別ECU2から出力されるメッセージが入力される。 FIG. 9 is a block diagram illustrating the configuration of the second communication unit 624. As illustrated in FIG. The second communication unit 624 includes an input/output unit 627, a reception buffer 628, a transmission queue 629, and a determination circuit 624a. The input/output unit 627 is connected to a reception buffer 628 and a transmission queue 629 . The input/output unit 627 is, for example, pins of a microcomputer. The input/output unit 627 is connected to each individual ECU 2 via the connection unit 626 , the first wiring 65 , the transmission/reception unit 64 , the second wiring 66 and the communication line 7 , and outputs messages to the individual ECU 2 . Also, a message output from the individual ECU 2 is input to the input/output unit 627 .

受信バッファ628及び送信キュー629は判定回路624aと接続されている。受信バッファ628には、入出力部627に入力されたメッセージが保存される。送信キュー629は、第2制御部621と接続されている。送信キュー629は、中継するメッセージを一時的に保存するキューである。送信キュー629は送信キュー619と同様に、中継先に応じた複数のキューを有する。 The reception buffer 628 and transmission queue 629 are connected to the determination circuit 624a. The receive buffer 628 stores the message input to the input/output unit 627 . The transmission queue 629 is connected to the second control section 621 . The transmission queue 629 is a queue that temporarily stores messages to be relayed. Like the transmission queue 619, the transmission queue 629 has a plurality of queues corresponding to relay destinations.

判定回路624aは、第2制御部621と接続されている。判定回路624aは、第2テーブルT21及び異常時テーブルT22を含む第2受信テーブルT2を有する。第2テーブルT21は、第2処理部62における受信対象のメッセージのメッセージIDを含む。異常時テーブルT22は、第1処理部61における受信対象のメッセージのメッセージIDと、第2処理部62における受信対象のメッセージのメッセージIDとを含む。 The determination circuit 624 a is connected to the second control section 621 . The determination circuit 624a has a second reception table T2 including a second table T21 and an abnormal table T22. The second table T<b>21 includes message IDs of messages to be received by the second processing unit 62 . The abnormal table T<b>22 includes message IDs of messages to be received by the first processing unit 61 and message IDs of messages to be received by the second processing unit 62 .

判定回路624aは、第2受信テーブルT2を参照し、第2テーブルT21又は異常時テーブルT22に基づき、受信バッファ628に保存されるメッセージを第2制御部621へ出力する。通常、例えば第2処理部62の起動後、判定回路624aは第2テーブルT21を参照する。第2制御部621の制御によって、判定回路624aが参照する第2受信テーブルT2は、第2テーブルT21から異常時テーブルT22へ切り替わる。判定回路624aが参照する第2受信テーブルT2は、第2制御部621の制御によって異常時テーブルT22から第2テーブルT21へ切り替わってもよい。 The determination circuit 624a refers to the second reception table T2 and outputs the message stored in the reception buffer 628 to the second control unit 621 based on the second table T21 or the abnormal table T22. Normally, for example, after starting the second processing unit 62, the determination circuit 624a refers to the second table T21. Under the control of the second control unit 621, the second reception table T2 referred to by the determination circuit 624a is switched from the second table T21 to the abnormal table T22. The second reception table T2 referred to by the determination circuit 624a may be switched from the abnormal table T22 to the second table T21 under the control of the second control unit 621. FIG.

以下、判定回路624aが第2テーブルT21を参照する場合を説明する。図10は第2テーブルT21の内容例を示す概念図である。図10の第2テーブルT21は、メッセージID列、及び受信主体列を含む。第2テーブルT21には、個別ECU2から出力されるメッセージのうち、第2処理部62における受信対象のメッセージのメッセージIDと、当該メッセージの受信主体とが関連付けられて記憶されている。詳しくは、第2テーブルT21のメッセージID列に、第2処理部62における受信対象のメッセージのメッセージIDが記憶される。第2テーブルT21には第2処理部62における受信対象のメッセージのメッセージIDが記憶されるので、受信主体列には、受信主体として第2処理部62が記憶される。なお図10において受信主体列は説明のために示してあるので、第2テーブルT21はメッセージの受信主体列を含まなくてもよい。 A case where the determination circuit 624a refers to the second table T21 will be described below. FIG. 10 is a conceptual diagram showing an example of contents of the second table T21. The second table T21 of FIG. 10 includes a message ID column and a recipient column. In the second table T21, among the messages output from the individual ECU 2, the message ID of the message to be received by the second processing unit 62 and the recipient of the message are stored in association with each other. Specifically, the message ID of the message to be received by the second processing unit 62 is stored in the message ID column of the second table T21. Since the message ID of the message to be received by the second processing unit 62 is stored in the second table T21, the second processing unit 62 is stored as the receiving entity in the receiving entity column. In addition, since the recipient column is shown in FIG. 10 for explanation, the second table T21 may not include the message recipient column.

判定回路624aは、受信バッファ628に保存されるメッセージのうち、第2テーブルT21に記憶されているメッセージIDのメッセージを第2制御部621へ出力する。即ち、判定回路624aは第2テーブルT21に基づき、第2通信部624に入力されるメッセージのうち、第2処理部62における受信対象のメッセージを第2制御部621へ出力する。第2制御部621は、出力される第2処理部62における受信対象のメッセージを取得する。即ち、第2処理部62は、第2処理部62における受信対象のメッセージを受信する。 The determination circuit 624 a outputs to the second control section 621 the message having the message ID stored in the second table T 21 among the messages stored in the reception buffer 628 . That is, based on the second table T21, the determination circuit 624a outputs a message to be received by the second processing unit 62 among the messages input to the second communication unit 624 to the second control unit 621. FIG. The second control unit 621 acquires the message to be received by the second processing unit 62 to be output. That is, the second processing unit 62 receives the message to be received by the second processing unit 62 .

次に、判定回路624aが異常時テーブルT22を参照する場合を説明する。異常時テーブルT22は第1受信テーブルT1に含まれる異常時テーブルT12と同様であるので、異常時テーブルT22の詳細な説明は省略する。 Next, the case where the determination circuit 624a refers to the abnormality table T22 will be described. Since the abnormal table T22 is the same as the abnormal table T12 included in the first reception table T1, detailed description of the abnormal table T22 will be omitted.

判定回路624aは、受信バッファ628に保存されるメッセージのうち、異常時テーブルT22に記憶されているメッセージを第2制御部621へ出力する。即ち、判定回路624aは異常時テーブルT22に基づき、第2通信部624に入力されるメッセージのうち、第1処理部61における受信対象のメッセージ及び第2処理部62における受信対象のメッセージを第2制御部621へ出力する。第2制御部621は、出力される第1処理部61における受信対象のメッセージ及び第2処理部62における受信対象のメッセージを取得する。即ち、第2処理部62は、第1処理部61における受信対象のメッセージ及び第2処理部62における受信対象のメッセージを受信する。 The determination circuit 624 a outputs messages stored in the abnormal table T<b>22 among the messages stored in the reception buffer 628 to the second control unit 621 . That is, based on the abnormality table T22, the determination circuit 624a selects the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 among the messages input to the second communication unit 624 as the second Output to control unit 621 . The second control unit 621 acquires the output message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 . That is, the second processing unit 62 receives the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 .

第2通信部624にメッセージが入力された際に判定回路624aは、メッセージの入力を示す信号を第2制御部621へ出力する。判定回路624aは、第2通信部624に特定のメッセージが入力された際に、特定のメッセージの入力を示す信号を第2制御部621へ出力してもよい。この場合、当該メッセージのメッセージIDが第2通信部624に記憶されている。第2通信部624にメッセージが入力された際に、判定回路624a以外の第2通信部624の構成部が上記の信号を第2制御部621へ出力してもよい。 When a message is input to the second communication unit 624, the determination circuit 624a outputs to the second control unit 621 a signal indicating the input of the message. When a specific message is input to the second communication unit 624 , the determination circuit 624 a may output a signal indicating the input of the specific message to the second control unit 621 . In this case, the message ID of the message is stored in the second communication unit 624 . When a message is input to the second communication section 624 , the components of the second communication section 624 other than the determination circuit 624 a may output the above signal to the second control section 621 .

上述のように判定回路624aは通常、第2テーブルT21を参照し、第2処理部62における受信対象のメッセージを第2制御部621へ出力する。第2制御部621は、出力される第2処理部62における受信対象のメッセージを受信する。第2制御部621は、受信した第2処理部62における受信対象のメッセージに含まれる情報を取得する。例えば第2制御部621は、受信した第2処理部62における受信対象のメッセージに含まれるセンサ5の検出値を、第2処理部62における受信対象のメッセージに含まれる情報として取得する。 As described above, the determination circuit 624a normally refers to the second table T21 and outputs a message to be received by the second processing unit 62 to the second control unit 621. FIG. The second control unit 621 receives the message to be received by the second processing unit 62 that is output. The second control unit 621 acquires information contained in the received message to be received by the second processing unit 62 . For example, the second control unit 621 acquires the detection value of the sensor 5 included in the received message to be received by the second processing unit 62 as information included in the message to be received by the second processing unit 62 .

第2制御部621は通信I/F623を介して、第2処理部62における受信対象のメッセージに含まれる情報を第1制御部611へ出力する。例えば第2制御部621は、第2処理部62における受信対象のメッセージに含まれる情報を複数取得する。取得された上記の情報の個数が所定の個数になった場合に、第2制御部621は以下のようにして上記の複数の情報を第1制御部611へ出力する。第2制御部621は、上記の複数の情報を1つのデータにまとめ、まとめられた複数の情報を圧縮する。例えば圧縮にはLSB(Least Significant Bit)変換が用いられる。第2制御部621は圧縮した情報を第1制御部611へ出力する。なお第2制御部621は情報を圧縮せずに第1制御部611へ出力してもよい。第2制御部621は上記の複数の情報を1つずつ第1制御部611へ出力してもよい。 Second control unit 621 outputs information included in a message to be received by second processing unit 62 to first control unit 611 via communication I/F 623 . For example, the second control unit 621 acquires multiple pieces of information included in messages to be received by the second processing unit 62 . When the number of acquired pieces of information reaches a predetermined number, second control section 621 outputs the plurality of pieces of information to first control section 611 as follows. The second control unit 621 puts together the above multiple pieces of information into one piece of data, and compresses the put together pieces of information. For example, LSB (Least Significant Bit) conversion is used for compression. Second control unit 621 outputs the compressed information to first control unit 611 . Note that the second control unit 621 may output the information to the first control unit 611 without compressing it. The second control unit 621 may output the plurality of pieces of information to the first control unit 611 one by one.

第2制御部621は、通信I/F613及び通信I/F623を介する通信によって、上記の情報を第1制御部611へ出力する。通信I/F613及び通信I/F623を介する通信には、任意の通信プロトコルを用いることができる。 Second control unit 621 outputs the above information to first control unit 611 through communication I/F 613 and communication via communication I/F 623 . Arbitrary communication protocols can be used for communication via communication I/F613 and communication I/F623.

第2制御部621は、第1制御部611から出力される処理結果を含むメッセージを、通信I/F613及び通信I/F623を介して取得する。第2処理部62は、第1制御部611から取得したメッセージを個別ECU2へ第2経路を介して送信する。詳しくは、第2制御部621は上記のメッセージを送信キュー629へ出力する。送信キュー629へ出力されたメッセージは、第2経路を介して送信キュー629から送信先の個別ECU2へ送信される。 The second control unit 621 acquires a message including the processing result output from the first control unit 611 via the communication I/F 613 and the communication I/F 623 . The second processing unit 62 transmits the message acquired from the first control unit 611 to the individual ECU 2 via the second path. Specifically, the second control unit 621 outputs the above message to the transmission queue 629 . The message output to the transmission queue 629 is transmitted from the transmission queue 629 to the destination individual ECU 2 via the second route.

例えば第2制御部621は、第2記憶部622に予め記憶された所定のメッセージのメッセージIDを参照し、受信した第2処理部62における受信対象のメッセージが所定のメッセージであるか否かを判定する。第2制御部621によって受信されたメッセージが所定のメッセージである場合、第2制御部621は第2アプリ群A2に含まれるアプリを用いて、所定のメッセージに含まれる情報に基づき制御処理を行う。第2制御部621は、当該制御処理の処理結果を含むメッセージを個別ECU2へ第2経路を介して送信する。なお第2制御部621は処理結果を含むメッセージを第1制御部611へ出力してもよい。第1制御部611は、第2制御部621から出力された処理結果を含むメッセージを個別ECU2へ第1経路を介して送信する。 For example, the second control unit 621 refers to the message ID of a predetermined message stored in advance in the second storage unit 622, and determines whether the received message to be received by the second processing unit 62 is the predetermined message. judge. When the message received by the second control unit 621 is a predetermined message, the second control unit 621 uses an application included in the second application group A2 to perform control processing based on information included in the predetermined message. . The second control unit 621 transmits a message including the processing result of the control processing to the individual ECU 2 via the second path. Second control unit 621 may output a message including the processing result to first control unit 611 . The first control unit 611 transmits a message including the processing result output from the second control unit 621 to the individual ECU 2 via the first path.

第2アプリ群A2に含まれるアプリは、第2処理部62における受信対象のメッセージに含まれる情報が制御処理に用いられるアプリのうちの残りのアプリを含む。即ち、第2アプリ群A2に含まれるアプリは、第2処理部62における受信対象のメッセージに含まれる情報が制御処理に用いられるアプリのうち、第1アプリ群A1に含まれていないアプリを含む。第2アプリ群A2に含まれるアプリが用いられる制御処理には、上記の所定のメッセージに含まれる情報が用いられる。 The applications included in the second application group A2 include the remaining applications among the applications whose information included in the message to be received by the second processing unit 62 is used for control processing. That is, the applications included in the second application group A2 include applications that are not included in the first application group A1, among the applications for which the information included in the message to be received by the second processing unit 62 is used for control processing. . Information included in the predetermined message is used for the control process using the applications included in the second application group A2.

第2制御部621は、第1処理部61から出力される要求信号を通信I/F623を介して取得する。第2制御部621は要求信号を取得した場合、判定回路624aが参照する第2受信テーブルT2を第2テーブルT21から異常時テーブルT22へ切り替える。判定回路624aは異常時テーブルT22を参照し、第1処理部61における受信対象のメッセージ、及び第2処理部62における受信対象のメッセージを第2制御部621へ出力する。第2制御部621は、判定回路624aから出力されるメッセージを受信し、受信したメッセージに含まれる情報を取得する。 The second control section 621 acquires the request signal output from the first processing section 61 via the communication I/F 623 . When the second control unit 621 acquires the request signal, it switches the second reception table T2 referred to by the determination circuit 624a from the second table T21 to the abnormal table T22. The determination circuit 624 a refers to the abnormal table T<b>22 and outputs a message to be received by the first processing unit 61 and a message to be received by the second processing unit 62 to the second control unit 621 . The second control unit 621 receives the message output from the determination circuit 624a and acquires information contained in the received message.

第2制御部621は、異常時アプリ群A3に含まれるアプリを用いて、受信したメッセージに含まれる情報に基づき制御処理を行う。第2制御部621は、第2経路を介して当該制御処理の処理結果を含むメッセージを個別ECU2へ送信する。 The second control unit 621 performs control processing based on the information included in the received message using the applications included in the abnormal application group A3. The second control unit 621 transmits a message including the processing result of the control processing to the individual ECU 2 via the second path.

第2制御部621は、第1配線65に含まれる第2部分65cの状態変化、例えば第2部分65cの異常を検出する。第2制御部621は、第2部分65cの異常を検出した場合に通信I/F623を介して第1制御部611へ要求信号を出力する。例えば第1制御部611又は第2制御部621は、異常が検出された場合以外に要求信号を出力してもよい。要求信号は、例えば車両Cの整備を行う作業者による操作によって、第2制御部621から第1制御部611へ、又は第1制御部611から第2制御部621へ出力されてもよい。 The second control unit 621 detects a state change of the second portion 65c included in the first wiring 65, for example, an abnormality of the second portion 65c. The second control unit 621 outputs a request signal to the first control unit 611 via the communication I/F 623 when an abnormality of the second portion 65c is detected. For example, the first controller 611 or the second controller 621 may output the request signal except when an abnormality is detected. The request signal may be output from the second control unit 621 to the first control unit 611 or from the first control unit 611 to the second control unit 621, for example, by an operation by an operator who maintains the vehicle C.

以下、第1制御部611及び第2制御部621が、第1配線65、送受信部64、第2配線66、及び通信線7を含む通信ラインの異常を検出する方法の一例を説明する。本実施形態においては、一方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインと、他方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインとの2つの通信ラインが設けられている。なお通信ラインはコネクタ1を含んでもよい。 An example of how the first control unit 611 and the second control unit 621 detect an abnormality in the communication lines including the first wiring 65, the transmission/reception unit 64, the second wiring 66, and the communication line 7 will be described below. In the present embodiment, a communication line connecting one individual ECU 2 to the first processing unit 61 and the second processing unit 62 and a communication line connecting the other individual ECU 2 to the first processing unit 61 and the second processing unit 62 are connected. There are two communication lines with communication lines. Note that the communication line may include the connector 1 .

各通信ラインは分岐している。通信ラインは、個別ECU2と接続される共通通信ライン、共通通信ラインと第1処理部61とを接続する第1通信ライン、共通通信ラインと第2処理部62とを接続する第2通信ラインとを含む。本実施形態において、共通通信ラインは第1配線65の分岐部65d及び共通部分65aと、送受信部64と、第2配線66と、通信線7とを含む。また第1通信ラインは、第1配線65の第1部分65bを含む。また第2通信ラインは、第1配線65の第2部分65cを含む。 Each communication line branches. The communication lines include a common communication line connected to the individual ECU 2, a first communication line connecting the common communication line and the first processing unit 61, and a second communication line connecting the common communication line and the second processing unit 62. including. In this embodiment, the common communication line includes the branch portion 65 d and the common portion 65 a of the first wiring 65 , the transmitting/receiving section 64 , the second wiring 66 and the communication line 7 . The first communication line also includes the first portion 65 b of the first wiring 65 . The second communication line also includes the second portion 65 c of the first wiring 65 .

個別ECU2から出力されるメッセージは、上述のように第1処理部61の第1通信部614と第2処理部62の第2通信部624との両方に入力される。第1通信部614にメッセージが入力された際に第1通信部614の判定回路614aは、メッセージの入力を示す信号を第1制御部611へ出力する。第2通信部624にメッセージが入力された際に第2通信部624の判定回路624aは、メッセージの入力を示す信号を第2制御部621へ出力する。 A message output from the individual ECU 2 is input to both the first communication unit 614 of the first processing unit 61 and the second communication unit 624 of the second processing unit 62 as described above. When a message is input to the first communication unit 614, the determination circuit 614a of the first communication unit 614 outputs to the first control unit 611 a signal indicating the input of the message. When a message is input to the second communication unit 624, the determination circuit 624a of the second communication unit 624 outputs to the second control unit 621 a signal indicating the input of the message.

例えば、一方の個別ECU2から出力されるメッセージの入力を示す信号と、他方の個別ECU2から出力されるメッセージの入力を示す信号とは異なる。例えば判定回路614a及び判定回路624aには、メッセージIDと、当該メッセージを出力する個別ECU2の情報、例えば個別ECU2のIDナンバーとが関連付けて記憶されている。判定回路614a及び判定回路624aは、記憶されたメッセージID及びメッセージを出力する個別ECU2の情報に基づき、一方の個別ECU2から出力されるメッセージの入力を示す信号又は他方の個別ECU2から出力されるメッセージの入力を示す信号を出力する。 For example, a signal indicating a message input output from one individual ECU 2 is different from a signal indicating a message input output from the other individual ECU 2 . For example, the determination circuit 614a and the determination circuit 624a store the message ID and the information of the individual ECU 2 that outputs the message, such as the ID number of the individual ECU 2, in association with each other. The determination circuit 614a and the determination circuit 624a generate a signal indicating the input of a message output from one individual ECU 2 or a message output from the other individual ECU 2 based on the stored message ID and information on the individual ECU 2 that outputs the message. outputs a signal indicating the input of

第1制御部611及び第2制御部621が一方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインの異常を検出する場合を説明する。第1制御部611及び第2制御部621は、例えば周期的に通信I/F613及び通信I/F623を介して通信を行い、互いにメッセージの入力状況を通知する。詳しくは、第1制御部611は第1通信部614におけるメッセージの入力状況を第2制御部621へ通知する。第2制御部621は、第2通信部624におけるメッセージの入力状況を第1制御部611へ通知する。第1通信部614におけるメッセージの入力状況は、第1処理部61におけるメッセージの入力状況に相当する。第2通信部624におけるメッセージの入力状況は、第2処理部62におけるメッセージの入力状況に相当する。 A case will be described where the first control unit 611 and the second control unit 621 detect an abnormality in the communication line connecting one of the individual ECUs 2 and the first processing unit 61 and the second processing unit 62 . The first control unit 611 and the second control unit 621, for example, periodically communicate via the communication I/F 613 and the communication I/F 623 to notify each other of the message input status. Specifically, the first control unit 611 notifies the second control unit 621 of the message input status in the first communication unit 614 . The second control unit 621 notifies the first control unit 611 of the message input status in the second communication unit 624 . The message input state in the first communication unit 614 corresponds to the message input state in the first processing unit 61 . The input state of the message in the second communication unit 624 corresponds to the input state of the message in the second processing unit 62 .

第1制御部611及び第2制御部621は、第1通信部614及び第2通信部624におけるメッセージの入力状況を確認し、メッセージの入力状況に基づき異常を検出する。第1通信部614及び第2通信部624の両方に一方の個別ECU2から出力されるメッセージが入力されている場合、第1制御部611及び第2制御部621は、通信ラインに異常がないと判断する。通信ラインの異常は、第1配線65の断線、送受信部64における接触不良等の異常、第2配線66の断線、及び通信線7の断線を含む。なお第1制御部611及び第2制御部621の一方が、通信ラインに異常がないと判断してもよい。 The first control unit 611 and the second control unit 621 check the input state of the message in the first communication unit 614 and the second communication unit 624, and detect an abnormality based on the input state of the message. When messages output from one of the individual ECUs 2 are input to both the first communication unit 614 and the second communication unit 624, the first control unit 611 and the second control unit 621 determine that there is no abnormality in the communication line. to decide. The abnormality of the communication line includes disconnection of the first wiring 65 , abnormality such as poor contact in the transmitter/receiver 64 , disconnection of the second wiring 66 , and disconnection of the communication line 7 . One of the first control unit 611 and the second control unit 621 may determine that there is no abnormality in the communication line.

第1通信部614及び第2通信部624のうちの第1通信部614のみに一方の個別ECU2から出力されるメッセージが入力されている場合、第1制御部611及び第2制御部621は以下の処理を行う。第1制御部611は、第1配線65の第1部分65bに異常がないと判断する。また第1制御部611は、第1配線65の分岐部65d及び共通部分65aと、送受信部64と、第2配線66と、通信線7とに異常がないと判断する。即ち第1制御部611は、第1通信ライン及び共通通信ラインに異常がないと判断する。第2制御部621は、第1配線65の第2部分65cに断線等の異常があると判断する。即ち第2制御部621は、第2通信ラインに異常があると判断する。統合ECU6は、第2処理部62と一方の個別ECU2との間の通信における異常を検出することができる。第2制御部621は、第2通信ラインに異常があると判断した場合、通信I/F623を介して第1制御部611へ要求信号を出力する。第2制御部621は、車両Cの外部に設けられ、統合ECU6と通信可能な図示しない外部サーバへ第2通信ラインに異常がある旨を送信してもよい。また第2制御部621は図示しない通信装置を用いて、車両Cの運転手が所持するスマートホン等の端末へ第2通信ラインに異常がある旨を送信してもよい。なお第1制御部611が、第2通信ラインに異常があると判断してもよい。第2制御部621が、第1通信ライン及び共通通信ラインに異常がないと判断してもよい。 When a message output from one individual ECU 2 is input only to the first communication unit 614 out of the first communication unit 614 and the second communication unit 624, the first control unit 611 and the second control unit 621 are as follows. process. The first controller 611 determines that the first portion 65b of the first wiring 65 is normal. Also, the first control unit 611 determines that the branch portion 65d and the common portion 65a of the first wiring 65, the transmitting/receiving portion 64, the second wiring 66, and the communication line 7 are normal. That is, the first control unit 611 determines that there is no abnormality in the first communication line and the common communication line. The second controller 621 determines that the second portion 65c of the first wiring 65 has an abnormality such as disconnection. That is, the second control unit 621 determines that there is an abnormality in the second communication line. Integrated ECU6 can detect abnormality in the communication between the 2nd process part 62 and one separate ECU2. The second control unit 621 outputs a request signal to the first control unit 611 via the communication I/F 623 when determining that there is an abnormality in the second communication line. The second control unit 621 may be provided outside the vehicle C and may transmit information indicating that there is an abnormality in the second communication line to an external server (not shown) capable of communicating with the integrated ECU 6 . In addition, the second control unit 621 may use a communication device (not shown) to transmit a notification to a terminal such as a smart phone possessed by the driver of the vehicle C that there is an abnormality in the second communication line. Note that the first control unit 611 may determine that there is an abnormality in the second communication line. The second control section 621 may determine that there is no abnormality in the first communication line and the common communication line.

第1通信部614及び第2通信部624のうちの第2通信部624のみに一方の個別ECU2から出力されるメッセージが入力されている場合、第1制御部611及び第2制御部621は以下の処理を行う。第1制御部611は、第1通信ラインに異常があると判断する。第1制御部611は、第1通信ラインに異常があると判断した場合、通信I/F613を介して第2制御部621へ要求信号を出力する。第2制御部621は、第2通信ライン及び共通通信ラインに異常がないと判断する。統合ECU6は、第1処理部61と一方の個別ECU2との間の通信における異常を検出することができる。第1制御部611は、図示しない外部サーバ又は運転手が所持する端末へ第1通信ラインに異常がある旨を送信してもよい。なお第2制御部621が、第1部分65bに異常があると判断してもよい。第1制御部611が、第2通信ライン及び共通通信ラインに異常がないと判断してもよい。 When a message output from one individual ECU 2 is input only to the second communication unit 624 of the first communication unit 614 and the second communication unit 624, the first control unit 611 and the second control unit 621 are as follows. process. The first control unit 611 determines that there is an abnormality in the first communication line. When the first control unit 611 determines that there is an abnormality in the first communication line, it outputs a request signal to the second control unit 621 via the communication I/F 613 . The second control unit 621 determines that there is no abnormality in the second communication line and the common communication line. Integrated ECU6 can detect abnormality in communication between the 1st processing part 61 and one separate ECU2. The first control unit 611 may transmit to an external server (not shown) or a terminal owned by the driver that there is an abnormality in the first communication line. Note that the second control section 621 may determine that the first portion 65b is abnormal. The first control unit 611 may determine that there is no abnormality in the second communication line and the common communication line.

第1通信部614及び第2通信部624のいずれにも一方の個別ECU2から出力されるメッセージが入力されていない場合、第1制御部611及び第2制御部621は以下の処理を行う。第1通信ライン及び第2通信ラインの両方に異常が生じる可能性は低いので、第1制御部611及び第2制御部621は、共通通信ラインに異常があると判断する。第1制御部611及び第2制御部621は、第1通信ライン及び第2通信ラインに異常がないと判断してもよい。統合ECU6は、第1処理部61及び第2処理部62と一方の個別ECU2との間の通信における異常を検出することができる。第1制御部611又は第2制御部621は、図示しない外部サーバ又は運転手が所持する端末へ共通通信ラインに異常がある旨を送信してもよい。なお第1制御部611及び第2制御部621の一方が、共通通信ラインに異常があると判断してもよい。 When neither the first communication unit 614 nor the second communication unit 624 receives a message output from one of the individual ECUs 2, the first control unit 611 and the second control unit 621 perform the following processing. Since the possibility of an abnormality occurring in both the first communication line and the second communication line is low, the first control section 611 and the second control section 621 determine that there is an abnormality in the common communication line. The first control unit 611 and the second control unit 621 may determine that there is no abnormality in the first communication line and the second communication line. Integrated ECU6 can detect abnormality in communication between the 1st process part 61 and the 2nd process part 62, and one separate ECU2. The first control unit 611 or the second control unit 621 may transmit a notification that there is an abnormality in the common communication line to an external server (not shown) or a terminal owned by the driver. Note that one of the first control unit 611 and the second control unit 621 may determine that there is an abnormality in the common communication line.

第1通信部614及び第2通信部624のいずれにも一方の個別ECU2から出力されるメッセージが入力されていない場合に第1制御部611及び第2制御部621は、一方の個別ECU2と接続される第1配線65を介した通信が成功するか否かを判定してもよい。例えば第1制御部611は異常検出の為の任意のメッセージを、一方の個別ECU2と接続される第1配線65の第1部分65b及び第2部分65cを介して第2処理部62へ出力する。 When neither the first communication unit 614 nor the second communication unit 624 receives a message output from one individual ECU 2, the first control unit 611 and the second control unit 621 are connected to one individual ECU 2. It may be determined whether or not communication via the first wiring 65 to be connected is successful. For example, the first control unit 611 outputs an arbitrary message for abnormality detection to the second processing unit 62 via the first part 65b and the second part 65c of the first wiring 65 connected to one of the individual ECUs 2. .

第1制御部611から出力されたメッセージが第2処理部62に入力された場合、即ち第1配線65を介した通信が成功した場合、第2制御部621は、判定回路624aからメッセージの入力を示す信号を取得する。第2制御部621は、メッセージが入力された旨を示す信号を第1制御部611へ通信I/F613を介して出力する。第1制御部611は、第2制御部621から出力された上記の信号を取得する。第1制御部611及び第2制御部621は、第1通信ライン及び第2通信ラインに異常がないと判断する。また第1制御部611及び第2制御部621は、共通通信ラインに異常があると判断する。例えば第2制御部621は異常検出の為のメッセージを、一方の個別ECU2と接続される第1配線65の第1部分65b及び第2部分65cを介して第1処理部61へ出力してもよい。 When the message output from the first control unit 611 is input to the second processing unit 62, that is, when the communication via the first wiring 65 is successful, the second control unit 621 receives the message from the determination circuit 624a. Get a signal that indicates Second control unit 621 outputs a signal indicating that the message has been input to first control unit 611 via communication I/F 613 . The first controller 611 acquires the above signal output from the second controller 621 . The first control unit 611 and the second control unit 621 determine that there is no abnormality in the first communication line and the second communication line. Also, the first control unit 611 and the second control unit 621 determine that there is an abnormality in the common communication line. For example, the second control unit 621 may output a message for abnormality detection to the first processing unit 61 via the first portion 65b and the second portion 65c of the first wiring 65 connected to one of the individual ECUs 2. good.

第1通信部614及び第2通信部624のいずれにも一方の個別ECU2から出力されるメッセージが入力されていない場合に第1制御部611及び第2制御部621は、以下の処理を行ってもよい。第1制御部611及び第2制御部621は、第1通信部614及び第2通信部624のいずれにも一方の個別ECU2から出力されるメッセージが入力されていない時間が所定時間以上であるか否かを判定する。上記の時間が所定時間以上である場合、第1制御部611及び第2制御部621は、共通通信ラインに異常があると判断する。 When neither the first communication unit 614 nor the second communication unit 624 receives a message output from one of the individual ECUs 2, the first control unit 611 and the second control unit 621 perform the following processing. good too. The first control unit 611 and the second control unit 621 determine whether the time during which neither the first communication unit 614 nor the second communication unit 624 receives a message output from one of the individual ECUs 2 is longer than a predetermined time. determine whether or not If the above time is longer than or equal to the predetermined time, the first control section 611 and the second control section 621 determine that there is an abnormality in the common communication line.

なお第1制御部611は、メッセージの入力を示す信号を判定回路614aから取得した場合に、第1通信部614及び第2通信部624におけるメッセージの入力状況を確認してもよい。第2制御部621は、メッセージの入力を示す信号を判定回路624aから取得した場合に、第1通信部614及び第2通信部624におけるメッセージの入力状況を確認してもよい。 Note that the first control unit 611 may check the input state of the message in the first communication unit 614 and the second communication unit 624 when the signal indicating the input of the message is acquired from the determination circuit 614a. The second control unit 621 may check the input state of the message in the first communication unit 614 and the second communication unit 624 when the signal indicating the input of the message is acquired from the determination circuit 624a.

第1制御部611及び第2制御部621は、他方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインの異常についても同様に検出する。 The first control unit 611 and the second control unit 621 similarly detect abnormality in the communication line connecting the other individual ECU 2 and the first processing unit 61 and the second processing unit 62 .

図11は、第1制御部611が行う通信ラインの異常検出に係る処理を例示するフローチャートである。例えばIG(イグニッション)スイッチがオフからオンとなった際に第1制御部611は、以下の処理を行う。以下、ステップをSと省略する。 FIG. 11 is a flowchart exemplifying processing related to communication line abnormality detection performed by the first control unit 611 . For example, when an IG (ignition) switch is turned on from off, the first control unit 611 performs the following processing. Hereinafter, the step is abbreviated as S.

第1制御部611は、通信I/F613及び通信I/F623を介して第2制御部621と通信する(S11)。詳しくは、第1制御部611は第1通信部614におけるメッセージの入力状況を第2制御部621へ通知する。また第1制御部611は、第2制御部621から通知される第2通信部624におけるメッセージの入力状況を取得する。第1制御部611は、上述のようにいずれかの個別ECU2によって出力されるメッセージが第1通信部614及び第2通信部624の両方に入力されているか否かを判定する(S12)。 The 1st control part 611 communicates with the 2nd control part 621 via communication I/F613 and communication I/F623 (S11). Specifically, the first control unit 611 notifies the second control unit 621 of the message input status in the first communication unit 614 . The first control unit 611 also acquires the message input status in the second communication unit 624 notified from the second control unit 621 . The 1st control part 611 judges whether the message output by one of separate ECU2 as mentioned above is input into both the 1st communication part 614 and the 2nd communication part 624 (S12).

上記のメッセージが第1通信部614及び第2通信部624の両方に入力されている場合(S12:YES)、第1制御部611は通信ラインに異常がないと判断し(S13)、処理を終了する。第1制御部611は処理を終了する代わりにS11の処理を行ってもよい。 If the above message has been input to both the first communication unit 614 and the second communication unit 624 (S12: YES), the first control unit 611 determines that there is no abnormality in the communication line (S13), and executes the process. finish. The first control unit 611 may perform the process of S11 instead of ending the process.

上記のメッセージが第1通信部614及び第2通信部624の両方に入力されていない場合(S12:NO)、第1制御部611は、第1通信部614及び第2通信部624のうちの第1通信部614のみに上記のメッセージが入力されているか否かを判定する(S14)。第1通信部614のみに上記のメッセージが入力されている場合(S14:YES)、第1制御部611は、第1通信ライン及び共通通信ラインに異常がないと判断し(S15)、処理を終了する。第1制御部611は処理を終了する代わりにS11の処理を行ってもよい。 If the above message has not been input to both the first communication unit 614 and the second communication unit 624 (S12: NO), the first control unit 611 It is determined whether or not the above message is input only to the first communication unit 614 (S14). When the above message is input only to the first communication unit 614 (S14: YES), the first control unit 611 determines that there is no abnormality in the first communication line and the common communication line (S15), and executes the process. finish. The first control unit 611 may perform the process of S11 instead of ending the process.

第1通信部614のみに上記のメッセージが入力されていない場合(S14:NO)、第1制御部611は、第1通信部614及び第2通信部624のうちの第2通信部624のみに上記のメッセージが入力されているか否かを判定する(S16)。第2通信部624のみに上記のメッセージが入力されている場合(S16:YES)、第1制御部611は、第1通信ラインに異常があると判断し(S17)、第2制御部621へ要求信号を出力する(S18)。例えば第1制御部611は、第1通信部614からのメッセージの取得を中止する。第1制御部611は処理を終了する。 If the above message is not input only to the first communication unit 614 (S14: NO), the first control unit 611 sends only the second communication unit 624 out of the first communication unit 614 and the second communication unit 624 It is determined whether or not the above message has been input (S16). If the above message is input only to the second communication unit 624 (S16: YES), the first control unit 611 determines that there is an abnormality in the first communication line (S17). A request signal is output (S18). For example, the first control unit 611 stops acquiring messages from the first communication unit 614 . The first control unit 611 ends the processing.

第2通信部624のみに上記のメッセージが入力されていない場合(S16:NO)、即ち、上記のメッセージが第1通信部614及び第2通信部624のいずれにも入力されていない場合、第1制御部611は、共通通信ラインに異常があると判断する(S19)。第1制御部611は、共通通信ラインに異常があると判断した際、図示しない外部サーバ又は運転手が所持するスマートホン等の携帯端末へ共通ラインに異常がある旨を出力してもよい。第1制御部611は処理を終了する。 If the above message is not input only to the second communication unit 624 (S16: NO), that is, if the above message is not input to either the first communication unit 614 or the second communication unit 624, 1 control unit 611 determines that there is an abnormality in the common communication line (S19). When the first control unit 611 determines that there is an abnormality in the common communication line, it may output to an external server (not shown) or a portable terminal such as a smart phone possessed by the driver that there is an abnormality in the common line. The first control unit 611 ends the processing.

第2制御部621が行う通信ラインの異常検出に係る処理のフローチャートは、上述の第1制御部611の異常検出に係る処理のフローチャートを以下のように読み替えたものであるので、第2制御部621が行う通信ラインの異常検出に係る処理の詳細な説明は省略する。第1制御部611の異常検出に係る処理のフローチャートにおける第1制御部611、第1通信部614及び第1通信ラインは、第2制御部621の異常検出に係る処理のフローチャートにおいて第2制御部621、第2通信部624及び第2通信ラインに読み替えられる。第1制御部611の異常検出に係る処理のフローチャートにおける第2制御部621及び第2通信部624は、第2制御部621の異常検出に係る処理のフローチャートにおいて第1制御部611及び第1通信部614に読み替えられる。図11には、読み替えられた第2制御部621、第2通信部624、第2通信ライン、第1制御部611及び第1通信部614が括弧内に示してある。 The flowchart of the processing related to the abnormality detection of the communication line performed by the second control unit 621 is obtained by replacing the above-described flowchart of the processing related to the abnormality detection of the first control unit 611 as follows. A detailed description of the processing related to communication line abnormality detection performed by 621 will be omitted. The first control unit 611, the first communication unit 614, and the first communication line in the flowchart of the processing related to abnormality detection by the first control unit 611 correspond to the second control unit 611 in the flowchart of the processing related to abnormality detection by the second control unit 621. 621, the second communication unit 624, and the second communication line. The second control unit 621 and the second communication unit 624 in the flowchart of the processing related to the abnormality detection of the first control unit 611 correspond to the first control unit 611 and the first communication unit 624 in the flowchart of the processing related to the abnormality detection of the second control unit 621. 614. In FIG. 11, the second control unit 621, the second communication unit 624, the second communication line, the first control unit 611, and the first communication unit 614 are shown in parentheses.

図12は、第2制御部621が行う制御処理に係る処理を例示するフローチャートである。例えばIGスイッチがオフからオンとなった際に第2制御部621は、以下の処理を行う。 FIG. 12 is a flowchart illustrating processing related to control processing performed by the second control unit 621 . For example, when the IG switch is turned on from off, the second control section 621 performs the following processing.

第2制御部621は、第1制御部611から出力される要求信号を取得したか否かを判定する(S21)。第2制御部621は要求信号を取得しなかった場合(S21:NO)、第2通信部624から第2テーブルT21に基づくメッセージを取得する(S22)。即ち第2制御部621は、第2処理部62における受信対象のメッセージを第2通信部624から取得する。第2制御部621は取得したメッセージに含まれる情報を取得する(S23)。例えば第2制御部621は取得したメッセージに含まれるセンサ5の検出値を取り出す。 The second control unit 621 determines whether or not the request signal output from the first control unit 611 has been acquired (S21). When the second control unit 621 does not acquire the request signal (S21: NO), it acquires a message based on the second table T21 from the second communication unit 624 (S22). That is, the second control unit 621 acquires the message to be received by the second processing unit 62 from the second communication unit 624 . The second control unit 621 acquires information contained in the acquired message (S23). For example, the second control unit 621 extracts the detected value of the sensor 5 included in the acquired message.

第2制御部621は、第2テーブルT21に基づくメッセージの取得と当該メッセージに含まれる情報の取得とを繰り返し、複数の情報を取得する。第2制御部621は、取得した複数の情報を1つのデータとしてまとめ(S24)、まとめた情報を圧縮する(S25)。第2制御部621は圧縮した上記の情報を第1制御部611へ出力する(S26)。第2制御部621は処理を終了する。第2制御部621は処理を終了する代わりに、S21の処理を行ってもよい。 The second control unit 621 repeats acquisition of a message based on the second table T21 and acquisition of information included in the message, and acquires a plurality of pieces of information. The second control unit 621 puts together the acquired plural pieces of information as one piece of data (S24), and compresses the put together information (S25). The second control unit 621 outputs the compressed information to the first control unit 611 (S26). The second control unit 621 ends the processing. The second control unit 621 may perform the process of S21 instead of ending the process.

第2制御部621は、複数の情報を1つのデータとしてまとめずに第1制御部611へ出力してもよく、情報を圧縮せずに第1制御部611へ出力してもよい。例えば第2制御部621は、上記の情報を取得するごとに、当該情報を圧縮して、又は圧縮せずに第1制御部611へ出力してもよい。例えば第2制御部621は、まとめた情報を圧縮せずに第1制御部611へ出力してもよい。 Second control unit 621 may output a plurality of pieces of information to first control unit 611 without combining them into one piece of data, or may output the information to first control unit 611 without compressing the information. For example, the second control unit 621 may compress the information or output it to the first control unit 611 without compressing it every time it acquires the above information. For example, the second control unit 621 may output the collected information to the first control unit 611 without compressing it.

なお第2制御部621は上述のように、第2処理部62における受信対象のメッセージのうちの所定のメッセージを受信した際、第2アプリ群A2に含まれるアプリを用いて、所定のメッセージに基づく情報に基づき制御処理を行う。第2制御部621は制御処理の処理結果を含むメッセージを個別ECU2へ送信する。 Note that, as described above, when the second control unit 621 receives a predetermined message among messages to be received by the second processing unit 62, the second control unit 621 uses an application included in the second application group A2 to respond to the predetermined message. Control processing is performed based on the information based on The second control unit 621 transmits a message including the processing result of the control processing to the individual ECU 2 .

第2制御部621は要求信号を取得した場合(S21:YES)、判定回路624aによって参照される第2受信テーブルT2を、第2テーブルT21から異常時テーブルT22に切り替える(S27)。第2制御部621は、第2通信部624から異常時テーブルに基づくメッセージを取得する(S28)。即ち第2制御部621は、第1処理部61における受信対象のメッセージと第2処理部62における受信対象のメッセージとを取得する。 When the second control unit 621 acquires the request signal (S21: YES), the second reception table T2 referred to by the determination circuit 624a is switched from the second table T21 to the abnormal table T22 (S27). The second control unit 621 acquires a message based on the abnormal table from the second communication unit 624 (S28). That is, the second control unit 621 acquires the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 .

第2制御部621は取得したメッセージに含まれる情報を取得する(S29)。第2制御部621は取得した情報に基づき、異常時アプリ群A3に含まれるアプリを用いて制御処理を実行する(S30)。第2制御部621は、実行した制御処理の処理結果を個別ECU2へ第2経路を介して送信する(S31)。詳しくは、第2制御部621は上記の処理結果を含むフレームを個別ECU2へ第2経路を介して送信する。第2制御部621は処理を終了する。第2制御部621は処理を終了する代わりにS28の処理を行ってもよい。 The second control unit 621 acquires information contained in the acquired message (S29). Based on the acquired information, the second control unit 621 executes control processing using the applications included in the abnormal application group A3 (S30). The second control unit 621 transmits the processing result of the executed control processing to the individual ECU 2 via the second path (S31). Specifically, the second control unit 621 transmits a frame including the above processing result to the individual ECU 2 via the second path. The second control unit 621 ends the processing. The second control unit 621 may perform the process of S28 instead of ending the process.

図13は、第1制御部611が行う制御処理に係る処理を例示するフローチャートである。例えばIGスイッチがオフからオンとなった際に第1制御部611は、以下の処理を行う。 FIG. 13 is a flowchart illustrating processing related to control processing performed by the first control unit 611 . For example, when the IG switch is turned on from off, the first control section 611 performs the following processing.

第1制御部611は、第2制御部621から出力される要求信号を取得したか否かを判定する(S41)。第1制御部611は要求信号を取得しなかった場合(S41:NO)、第2制御部621から第2処理部62における受信対象のメッセージに含まれる情報を取得したか否かを判定する(S42)。 The first control unit 611 determines whether or not the request signal output from the second control unit 621 has been acquired (S41). If the first control unit 611 does not acquire the request signal (S41: NO), it determines whether or not the information included in the message to be received by the second processing unit 62 has been acquired from the second control unit 621 ( S42).

第1制御部611は、第2制御部621から上記の情報を取得していない場合(S42:NO)、第1通信部614から第1テーブルT11に基づくメッセージを取得する(S43)。即ち第1制御部611は、第1処理部61における受信対象のメッセージを第1通信部614から取得する。 If the above information has not been acquired from the second control unit 621 (S42: NO), the first control unit 611 acquires a message based on the first table T11 from the first communication unit 614 (S43). That is, the first control unit 611 acquires the message to be received by the first processing unit 61 from the first communication unit 614 .

上述のように第1制御部611は取得したメッセージに含まれる情報を取得する(S44)。例えば第1制御部611は取得したメッセージに含まれるセンサ5の値を取り出す。第1制御部611は取得した情報に基づき、第1アプリ群A1に含まれるアプリを用いて制御処理を実行する(S45)。 As described above, the first control unit 611 acquires information contained in the acquired message (S44). For example, the first control unit 611 extracts the value of the sensor 5 included in the acquired message. Based on the acquired information, the first control unit 611 executes control processing using the applications included in the first application group A1 (S45).

第1制御部611は制御処理の処理結果を個別ECU2へ送信し(S46)、処理を終了する。例えば第1制御部611は処理結果を含むメッセージを、上述の送信テーブルに基づき、第1経路を介して個別ECU2へ送信する、又は第2処理部62及び第2経路を介して個別ECU2へ送信する。第1制御部611は処理を終了する代わりにS41の処理を行ってもよい。 The first control unit 611 transmits the processing result of the control processing to the individual ECU 2 (S46), and ends the processing. For example, the first control unit 611 transmits a message including the processing result to the individual ECU 2 via the first path based on the transmission table described above, or transmits the message to the individual ECU 2 via the second processing unit 62 and the second path. do. The first control unit 611 may perform the process of S41 instead of ending the process.

第1制御部611は、第2制御部621から第2処理部62における受信対象のメッセージに含まれる情報を取得した場合(S42:YES)、S45の処理を行う。例えば第1制御部611は、上述のように1つのデータとしてまとめられ、圧縮された複数の情報を取得する。第1制御部611は、1つのデータとしてまとめられ、圧縮された上記の情報を解凍する。第1制御部611は、解凍された情報を取得する。第1制御部611は取得した情報に基づき、第1アプリ群A1に含まれるアプリを用いて制御処理を実行する。第1制御部611はS46の処理を行い、処理を終了する。第1制御部611は処理を終了する代わりにS41の処理を行ってもよい。 When the first control unit 611 acquires the information included in the message to be received by the second processing unit 62 from the second control unit 621 (S42: YES), the first control unit 611 performs the process of S45. For example, the first control unit 611 acquires a plurality of pieces of information that are collected and compressed as one piece of data as described above. The first control unit 611 decompresses the above-described information that has been collected and compressed as one piece of data. The first control unit 611 acquires the decompressed information. Based on the acquired information, the first control unit 611 executes control processing using the applications included in the first application group A1. The first control unit 611 performs the process of S46 and ends the process. The first control unit 611 may perform the process of S41 instead of ending the process.

第1制御部611は、第1通信部614から取得したメッセージに含まれる情報と第2制御部621から取得した情報とに基づき、第1アプリ群A1に含まれるアプリを用いて制御処理を実行してもよい。例えば第1制御部611は当該制御処理の処理結果を送信テーブルに基づき個別ECU2へ送信する。 Based on the information included in the message obtained from the first communication unit 614 and the information obtained from the second control unit 621, the first control unit 611 executes control processing using the apps included in the first application group A1. You may For example, the first control unit 611 transmits the processing result of the control processing to the individual ECU 2 based on the transmission table.

第1制御部611は要求信号を取得した場合(S41:YES)、判定回路614aによって参照される第1受信テーブルT1を、第1テーブルT11から異常時テーブルT12に切り替える(S47)。第1制御部611は、第1通信部614から異常時テーブルT12に基づくメッセージを取得する(S48)。即ち第1制御部611は、第1処理部61における受信対象のメッセージと第2処理部62における受信対象のメッセージとを取得する。 When the first control unit 611 acquires the request signal (S41: YES), the first reception table T1 referred to by the determination circuit 614a is switched from the first table T11 to the abnormal table T12 (S47). The first control unit 611 acquires a message based on the abnormal table T12 from the first communication unit 614 (S48). That is, the first control unit 611 acquires the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 .

第1制御部611は取得したメッセージに含まれる情報を取得する(S49)。第1制御部611は、取得した情報に基づき、異常時アプリ群A3に含まれるアプリを用いて制御処理を実行する(S50)。第1制御部611は、実行した制御処理の処理結果を個別ECU2へ第1経路を介して送信する(S51)。詳しくは、第1制御部611は上記の処理結果を含むフレームを個別ECU2へ第1経路を介して送信する。第1制御部611は処理を終了する。第1制御部611は処理を終了する代わりにS48の処理を行ってもよい。 The first control unit 611 acquires information contained in the acquired message (S49). Based on the acquired information, the first control unit 611 executes control processing using the applications included in the abnormal application group A3 (S50). The first control unit 611 transmits the processing result of the executed control processing to the individual ECU 2 via the first path (S51). Specifically, the first control unit 611 transmits a frame including the above processing result to the individual ECU 2 via the first path. The first control unit 611 ends the processing. The first control unit 611 may perform the process of S48 instead of ending the process.

本実施形態において、個別ECU2から出力されるメッセージは、第1処理部61の第1通信部614及び第2処理部62それぞれへ入力される。第2処理部62は第2テーブルT21に基づき、入力されるメッセージのうちの第2処理部62における受信対象のメッセージを受信し、当該メッセージに含まれる情報を取得する。第2処理部は取得した情報を第1処理部へ出力する。第1処理部61は、第2処理部62から出力された情報を取得し、取得した当該情報に基づき制御処理を行う。また第1処理部61は第1受信テーブルT1に基づき、入力されるメッセージのうちの第1処理部61における受信対象のメッセージを受信する。第1処理部は、受信したメッセージに含まれる情報を取得し、取得した当該情報に基づき制御処理を行う。個別ECU2から出力されるメッセージは、第1処理部61及び第2処理部62に分散されて受信される。第2処理部62における受信対象のメッセージに含まれる情報の取得において、第2処理部62の負荷は小さい。第2処理部62が受信したメッセージに含まれる情報を第1処理部61へ出力するので、第1処理部61は、第2処理部62における受信対象のメッセージに含まれる情報を当該メッセージから取り出す必要がない。第1処理部61が第2処理部62における受信対象のメッセージに含まれる情報を当該メッセージから取り出す場合に比べて、第1処理部61の負荷を小さくすることができる。第1処理部61及び第2処理部62が協同して処理を行うことによって、統合ECU6は効率よく制御処理を行うことができる。 In this embodiment, a message output from the individual ECU 2 is input to each of the first communication section 614 and the second processing section 62 of the first processing section 61 . Based on the second table T21, the second processing unit 62 receives messages to be received by the second processing unit 62 among the input messages, and acquires information contained in the messages. The second processing unit outputs the acquired information to the first processing unit. The first processing unit 61 acquires information output from the second processing unit 62 and performs control processing based on the acquired information. Also, the first processing unit 61 receives messages to be received by the first processing unit 61 among the input messages based on the first reception table T1. The first processing unit acquires information included in the received message and performs control processing based on the acquired information. A message output from the individual ECU 2 is distributed to and received by the first processing unit 61 and the second processing unit 62 . The load on the second processing unit 62 is small when acquiring information contained in the message to be received by the second processing unit 62 . Since the information contained in the message received by the second processing unit 62 is output to the first processing unit 61, the first processing unit 61 extracts the information contained in the message to be received by the second processing unit 62 from the message. No need. The load on the first processing unit 61 can be reduced compared to the case where the first processing unit 61 extracts the information contained in the message to be received by the second processing unit 62 from the message. The integrated ECU 6 can efficiently perform control processing by the cooperative processing of the first processing unit 61 and the second processing unit 62 .

第2処理部62は取得した情報に基づき、第2アプリ群A2のアプリを用いて制御処理を行う。統合ECU6は、第1処理部61及び第2処理部62に制御処理を分散させて行わせることができるので、より効率よく制御処理を行うことができる。 Based on the acquired information, the second processing unit 62 performs control processing using the applications of the second application group A2. Since the integrated ECU 6 can distribute the control processing to the first processing unit 61 and the second processing unit 62 and perform the control processing, the control processing can be performed more efficiently.

第2処理部62は受信したメッセージに含まれる情報を圧縮し、圧縮した情報を第1処理部61へ出力する。第2処理部62は受信したメッセージに含まれる情報を効率よく第1処理部61へ出力することができる。第2処理部62は受信したメッセージに含まれる情報を複数取得し、取得した複数の情報をまとめて第1処理部61へ出力する。第1処理部61及び第2処理部62の間における通信の頻度を少なくすることができるので、第1処理部61及び第2処理部62の負荷を小さくすることができる。 The second processing unit 62 compresses information included in the received message and outputs the compressed information to the first processing unit 61 . The second processing unit 62 can efficiently output information contained in the received message to the first processing unit 61 . The second processing unit 62 acquires a plurality of pieces of information included in the received message, and collectively outputs the acquired pieces of information to the first processing unit 61 . Since the frequency of communication between the first processing unit 61 and the second processing unit 62 can be reduced, the load on the first processing unit 61 and the second processing unit 62 can be reduced.

第1処理部61は、突発的に出力されるメッセージ、いわゆるイベントメッセージを受信し、当該メッセージに基づく情報に基づき制御処理を行う。突発的に出力されるメッセージに基づく制御処理は早く行われる必要がある。第1処理部61が受信したメッセージに含まれる情報に基づき制御処理を行う場合、個別ECU2からメッセージが出力された時点から制御処理が終了する時点までの時間は、第1処理部61が第2処理部62からメッセージに含まれる情報を取得する場合に比べて短い。第1処理部61が突発的に出力されるメッセージを受信するので、突発的に出力されるメッセージが出力された場合に、統合ECU6は制御処理を早く行うことができる。 The first processing unit 61 receives a message output suddenly, a so-called event message, and performs control processing based on information based on the message. Control processing based on messages that are suddenly output must be performed quickly. When the control processing is performed based on the information contained in the message received by the first processing unit 61, the time from when the message is output from the individual ECU 2 to when the control processing ends is determined by the first processing unit 61 as the second It is shorter than when the information included in the message is acquired from the processing unit 62 . Since the 1st process part 61 receives the message output suddenly, integrated ECU6 can perform control processing early, when the message output suddenly is output.

第1処理部61は、先進運転支援システム関連のメッセージのうちの車間データ又は駆動力データを含むメッセージを受信し、制御処理を行う。第1処理部61は上記のメッセージに基づく制御処理を早く行うことができるので、適切に車両Cの駆動を制御することができる。第1処理部61は第2処理部62からメータ通知用データを含むメッセージに含まれる情報を取得するので、第1処理部61の処理負荷の増加を抑制することができる。 The first processing unit 61 receives a message including inter-vehicle distance data or driving force data among messages related to the advanced driving support system, and performs control processing. Since the first processing unit 61 can quickly perform the control processing based on the message, the driving of the vehicle C can be appropriately controlled. Since the first processing unit 61 acquires the information contained in the message including the meter notification data from the second processing unit 62, an increase in the processing load on the first processing unit 61 can be suppressed.

第1処理部61はメッセージの種別に応じて、制御処理の処理結果を含むメッセージを、第2処理部62を介さずに又は第2処理部62を介して個別ECU2へ送信する。第1処理部61は第2処理部62を介さずに、高い応答性が要求される処理結果を含むメッセージを個別ECU2へ送信することによって、当該メッセージを早く個別ECU2へ送信することができる。統合ECU6はメッセージの送信において2つの経路を用いるので、メッセージを効率よく個別ECU2へ送信することができる。 The first processing unit 61 transmits a message including the processing result of the control processing to the individual ECU 2 via the second processing unit 62 or not via the second processing unit 62 according to the type of the message. The first processing unit 61 can transmit the message to the individual ECU 2 quickly by transmitting to the individual ECU 2 a message including a processing result requiring high responsiveness without going through the second processing unit 62 . Since the integrated ECU 6 uses two routes for message transmission, the message can be efficiently transmitted to the individual ECU 2 .

第1処理部61は第2処理部62からの要求に応じて、第1処理部61における受信対象のメッセージと、第2処理部62における受信対象のメッセージとを受信し、制御処理を行う。第2処理部62がメッセージを受信できない場合であっても、第1処理部61は制御処理を行うことができる。第2処理部62は第1処理部61からの要求に応じて、第1処理部61における受信対象のメッセージと、第2処理部62における受信対象のメッセージとを受信し、制御処理を行う。第1処理部61が制御処理を実行できない場合であっても、統合ECU6は第2処理部62に制御処理を実行させることができる。 In response to a request from the second processing unit 62, the first processing unit 61 receives a message to be received by the first processing unit 61 and a message to be received by the second processing unit 62, and performs control processing. Even if the second processing unit 62 cannot receive the message, the first processing unit 61 can perform control processing. In response to a request from the first processing unit 61, the second processing unit 62 receives a message to be received by the first processing unit 61 and a message to be received by the second processing unit 62, and performs control processing. Even if the first processing unit 61 cannot execute the control processing, the integrated ECU 6 can cause the second processing unit 62 to execute the control processing.

統合ECU6は通信ラインの異常を検出するので、統合ECU6と個別ECU2との間の通信における異常を検出することができる。統合ECU6は、第1処理部61と個別ECU2との間の通信における異常が検出された場合、第1処理部61及び第2処理部62のうちの第2処理部62にメッセージの受信と制御処理とを行わせる。統合ECU6は、第1処理部61と個別ECU2との間の通信における異常が検出された場合、第1処理部61及び第2処理部62のうちの第1処理部61にメッセージの受信と制御処理とを行わせる。第1処理部61及び第2処理部62の一方と個別ECU2との間の通信における異常が発生した場合であっても統合ECU6は、第1処理部61における受信対象のメッセージと、第2処理部62における受信対象のメッセージとを受信し、制御処理を行うことができる。 Since the integrated ECU 6 detects an abnormality in the communication line, it is possible to detect an abnormality in communication between the integrated ECU 6 and the individual ECUs 2 . When an abnormality in communication between the first processing unit 61 and the individual ECUs 2 is detected, the integrated ECU 6 sends a message to the second processing unit 62 out of the first processing unit 61 and the second processing unit 62 and controls the reception of the message. process. When an abnormality in communication between the first processing unit 61 and the individual ECU 2 is detected, the integrated ECU 6 sends a message to the first processing unit 61 out of the first processing unit 61 and the second processing unit 62 and controls the reception of the message. process. Even if an abnormality occurs in communication between one of the first processing unit 61 and the second processing unit 62 and the individual ECU 2, the integrated ECU 6 receives the message to be received by the first processing unit 61 and the second processing. It can receive messages to be received by the unit 62 and perform control processing.

なお統合ECU6は、異常が検出されていない場合に第2処理部62が第2アプリ群A2のアプリを用いて制御処理を行わない構成でもよい。この場合、第1アプリ群A1に第2アプリ群A2のアプリが含まれる。 The integrated ECU 6 may be configured such that the second processing unit 62 does not perform control processing using the applications of the second application group A2 when no abnormality is detected. In this case, the apps of the second app group A2 are included in the first app group A1.

統合ECU6には、個別のプロセッサによって構成される3つ以上の処理部が設けられていてもよい。例えば統合ECU6は、個別のプロセッサである第1処理部61、第2処理部62及び第3処理部を備えていてもよい。 The integrated ECU 6 may be provided with three or more processing units configured by individual processors. For example, the integrated ECU 6 may include a first processing section 61, a second processing section 62, and a third processing section, which are separate processors.

(実施形態2)
図14は、実施形態2に係る統合ECU6の構成を例示するブロック図である。実施形態2に係る構成の内、実施形態1と同様な構成部については同じ符号を付し、その詳細な説明を省略する。統合ECU6は、第1処理部61、第2処理部62、及び複数の送受信部64を備える。第1処理部61は2つの接続部616を備える。第2処理部62は2つの接続部626を備える。
(Embodiment 2)
FIG. 14 is a block diagram illustrating the configuration of the integrated ECU 6 according to the second embodiment. In the configuration according to the second embodiment, the same components as in the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted. The integrated ECU 6 includes a first processing section 61 , a second processing section 62 and a plurality of transmission/reception sections 64 . The first processing unit 61 has two connection units 616 . The second processing section 62 has two connection sections 626 .

図14の統合ECU6には、4つの送受信部64が設けられている。4つの送受信部64のうち、2つの送受信部64は異なる第1配線65を介して第1処理部61と接続されている。以下、第1処理部61と接続される送受信部64を、第1処理部61側の送受信部64とも称する。第1処理部61側の送受信部64の一方と接続された第1配線65は、一方の接続部616と接続されている。第1処理部61側の送受信部64の他方と接続された第1配線65は、他方の接続部616と接続されている。 The integrated ECU 6 of FIG. 14 is provided with four transmission/reception units 64 . Two of the four transmission/reception units 64 are connected to the first processing unit 61 via different first wirings 65 . Hereinafter, the transmitting/receiving unit 64 connected to the first processing unit 61 is also referred to as the transmitting/receiving unit 64 on the first processing unit 61 side. The first wiring 65 connected to one side of the transmission/reception section 64 on the first processing section 61 side is connected to one connection section 616 . The first wiring 65 connected to the other side of the transmission/reception section 64 on the first processing section 61 side is connected to the other connection section 616 .

4つの送受信部64のうち、残りの2つの送受信部64は異なる第1配線65を介して第2処理部62と接続されている。以下、第2処理部62と接続される送受信部64を、第2処理部62側の送受信部64とも称する。第2処理部62側の送受信部64の一方と接続された第1配線65は、一方の接続部626と接続されている。第2処理部62側の送受信部64の他方と接続された第1配線65は、他方の接続部626と接続されている。 The remaining two transmission/reception units 64 among the four transmission/reception units 64 are connected to the second processing unit 62 via different first wirings 65 . Hereinafter, the transmitting/receiving unit 64 connected to the second processing unit 62 is also referred to as the transmitting/receiving unit 64 on the second processing unit 62 side. The first wiring 65 connected to one of the transmission/reception units 64 on the second processing unit 62 side is connected to one connection unit 626 . The first wiring 65 connected to the other of the transmitting/receiving section 64 on the second processing section 62 side is connected to the other connecting section 626 .

統合ECU6は、各送受信部64に応じたコネクタ1を備える。詳しくは、統合ECU6は送受信部64の個数と同じ個数のコネクタ1を備える。第1処理部61側の送受信部64の一方と第1のコネクタ1とが第2配線66によって接続されている。第1処理部61側の送受信部64の他方と第2のコネクタ1とが第2配線66によって接続されている。第2処理部62側の送受信部64の一方と第3のコネクタ1とが第2配線66によって接続されている。第2処理部62側の送受信部64の他方と第4のコネクタ1とが第2配線66によって接続されている。 The integrated ECU 6 includes a connector 1 corresponding to each transmitter/receiver 64 . Specifically, the integrated ECU 6 includes the same number of connectors 1 as the number of the transmitting/receiving units 64 . One of the transmitting/receiving units 64 on the first processing unit 61 side and the first connector 1 are connected by a second wiring 66 . The other side of the transmitting/receiving section 64 on the first processing section 61 side and the second connector 1 are connected by a second wiring 66 . One of the transmission/reception units 64 on the second processing unit 62 side and the third connector 1 are connected by a second wiring 66 . The other side of the transmitting/receiving section 64 on the second processing section 62 side and the fourth connector 1 are connected by a second wiring 66 .

統合ECU6は2つの個別ECU2と接続されている。詳しくは、一方の個別ECU2は、第1処理部61側の送受信部64と接続されたコネクタ1の一方と、第2処理部62側の送受信部64と接続されたコネクタ1の一方と、通信線7によって接続されている。他方の個別ECU2は、第1処理部61側の送受信部64と接続されたコネクタ1の他方と、第2処理部62側の送受信部64と接続されたコネクタ1の他方と、通信線7によって接続されている。一方の個別ECU2に接続される通信線7と、他方の個別ECU2に接続される通信線7とは異なる。 Integrated ECU6 is connected with two individual ECU2. Specifically, one individual ECU 2 communicates with one of the connectors 1 connected to the transmitting/receiving section 64 on the first processing section 61 side and one of the connectors 1 connected to the transmitting/receiving section 64 on the second processing section 62 side. connected by line 7. The other individual ECU 2 communicates with the other connector 1 connected to the transmitter/receiver 64 on the first processing unit 61 side, the other connector 1 connected to the transmitter/receiver 64 on the second processing unit 62 side, and the communication line 7. It is connected. The communication line 7 connected to one individual ECU 2 is different from the communication line 7 connected to the other individual ECU 2 .

通信線7は分岐している。通信線7は、分岐部7d、及び分岐部7dと個別ECU2との間の共通部分7aを含む。また通信線7は、分岐部7dと第1処理部61側の送受信部64と接続されたコネクタ1との間の第1部分7bを含む。また通信線7は、分岐部7dと第2処理部62側の送受信部64と接続されたコネクタ1との間の第2部分7cを含む。 The communication line 7 is branched. The communication line 7 includes a branch portion 7 d and a common portion 7 a between the branch portion 7 d and the individual ECU 2 . The communication line 7 also includes a first portion 7b between the branch portion 7d and the connector 1 connected to the transmitting/receiving portion 64 on the first processing portion 61 side. The communication line 7 also includes a second portion 7c between the branch portion 7d and the connector 1 connected to the transmitting/receiving portion 64 on the second processing portion 62 side.

第1処理部61及び第2処理部62と個別ECU2とは、第1配線65、送受信部64、第2配線66、及び通信線7を介して通信する。個別ECU2によって出力されるメッセージは、第1処理部61の第1通信部614及び第2処理部62の第2通信部624に入力される。詳しくは、上記のメッセージは通信線7の共通部分7a及び第1部分7bと、第2配線66と、送受信部64と、第1配線65とを介して第1通信部614に入力される。通信線7の共通部分7a及び第1部分7bと、第2配線66と、送受信部64と、第1配線65とを介する経路は、実施形態2の第1経路である。上記のメッセージは通信線7の共通部分7a及び第2部分7cと、第2配線66と、送受信部64と、第1配線65とを介して第2通信部624に入力される。通信線7の共通部分7a及び第2部分7cと、第2配線66と、送受信部64と、第1配線65とを介する経路は、実施形態2の第2経路である。 The first processing unit 61 and the second processing unit 62 and the individual ECU 2 communicate with each other via the first wiring 65 , the transmission/reception unit 64 , the second wiring 66 and the communication line 7 . A message output by the individual ECU 2 is input to the first communication unit 614 of the first processing unit 61 and the second communication unit 624 of the second processing unit 62 . Specifically, the above message is input to the first communication section 614 via the common portion 7 a and the first portion 7 b of the communication line 7 , the second wiring 66 , the transmitting/receiving section 64 and the first wiring 65 . A route passing through the common portion 7a and the first portion 7b of the communication line 7, the second wiring 66, the transmitting/receiving section 64, and the first wiring 65 is the first route of the second embodiment. The above message is input to the second communication section 624 via the common portion 7a and the second portion 7c of the communication line 7, the second wiring 66, the transmitting/receiving section 64, and the first wiring 65. FIG. A route passing through the common portion 7a and the second portion 7c of the communication line 7, the second wiring 66, the transmitting/receiving section 64, and the first wiring 65 is the second route of the second embodiment.

実施形態1と同様に第2処理部62の第2制御部621は、第2通信部624から第2処理部における受信対象のメッセージを取得する。第2処理部62は受信したメッセージに含まれる情報を第1処理部61の第1制御部611へ出力する。また第2制御部は取得したメッセージに含まれる情報に基づき、第2アプリ群A2のアプリを用いて制御処理を行う。第2制御部621は制御処理の処理結果を含むメッセージを、第2経路を介して個別ECU2へ送信する。 As in the first embodiment, the second control unit 621 of the second processing unit 62 acquires a message to be received by the second processing unit from the second communication unit 624 . The second processing unit 62 outputs information included in the received message to the first control unit 611 of the first processing unit 61 . Also, the second control unit performs control processing using the applications of the second application group A2 based on the information included in the acquired message. The second control unit 621 transmits a message including the processing result of the control processing to the individual ECU 2 via the second path.

実施形態1と同様に第1制御部611は、第1通信部614から第1処理部61における受信対象のメッセージを取得する。また第1制御部611は、第2制御部621から第2処理部62における受信対象のメッセージに含まれる情報を取得する。第1制御部611は、取得したメッセージに含まれる情報及び第2制御部621から取得した情報の少なくとも一方に基づき、第1アプリ群A1のアプリを用いて制御処理を行う。第1制御部611は制御処理の処理結果を含むメッセージを、第1経路を介して個別ECU2へ送信する。又は、第1制御部611は処理結果を含むメッセージを、第2処理部62及び第2経路を介して個別ECU2へ送信する。 As in the first embodiment, the first control unit 611 acquires a message to be received by the first processing unit 61 from the first communication unit 614 . The first control unit 611 also acquires information included in a message to be received by the second processing unit 62 from the second control unit 621 . Based on at least one of the information included in the acquired message and the information acquired from the second control unit 621, the first control unit 611 performs control processing using the applications of the first application group A1. The first control unit 611 transmits a message including the processing result of the control processing to the individual ECU 2 via the first path. Alternatively, the first control unit 611 transmits a message including the processing result to the individual ECU 2 via the second processing unit 62 and the second path.

実施形態1と同様に第1制御部611及び第2制御部621は、第1配線65、送受信部64、第2配線66及び通信線7を含む通信ラインの異常を検出する。本実施形態においては、一方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインと、他方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインとの2つの通信ラインが設けられている。 As in the first embodiment, the first control unit 611 and the second control unit 621 detect an abnormality in communication lines including the first wiring 65 , the transmission/reception unit 64 , the second wiring 66 and the communication line 7 . In the present embodiment, a communication line connecting one individual ECU 2 to the first processing unit 61 and the second processing unit 62 and a communication line connecting the other individual ECU 2 to the first processing unit 61 and the second processing unit 62 are connected. There are two communication lines with communication lines.

通信ラインは、共通通信ライン、第1通信ライン及び第2通信ラインを含む。実施形態2の共通通信ラインは通信線7の共通部分7aを含む。実施形態2の第1通信ラインは、第1処理部61と接続された第1配線65、送受信部64及び第2配線66と、通信線7の第1部分7bとを含む。実施形態2の第2通信ラインは、第2処理部62と接続された第1配線65、送受信部64及び第2配線66と、通信線7の第2部分7cとを含む。 The communication lines include a common communication line, a first communication line and a second communication line. The common communication line of the second embodiment includes a common portion 7a of the communication line 7. FIG. The first communication line of the second embodiment includes a first wiring 65, a transmitting/receiving section 64, a second wiring 66 connected to the first processing section 61, and a first portion 7b of the communication line 7. FIG. The second communication line of the second embodiment includes a first wiring 65, a transmitting/receiving section 64 and a second wiring 66 connected to the second processing section 62, and the second portion 7c of the communication line 7. FIG.

第1制御部611及び第2制御部621は実施形態1と同様に、異常検出の際、第1通信部614及び第2通信部624におけるメッセージの入力状況を確認する。第1制御部611及び第2制御部621の少なくとも一方は実施形態1と同様に、メッセージの入力状況に応じて、共通通信ライン、第1通信ライン又は第2通信ラインの異常を検出する。第1制御部611及び第2制御部621の少なくとも一方は、異常を検出した場合に、図示しない外部サーバ又は運転手が所持する端末へ異常がある旨を送信してもよい。 As in the first embodiment, the first control unit 611 and the second control unit 621 confirm the input state of messages in the first communication unit 614 and the second communication unit 624 when detecting an abnormality. At least one of the first control unit 611 and the second control unit 621 detects an abnormality in the common communication line, the first communication line, or the second communication line according to the message input status, as in the first embodiment. When detecting an abnormality, at least one of the first control unit 611 and the second control unit 621 may transmit a notification to the effect that there is an abnormality to an external server (not shown) or a terminal owned by the driver.

例えば第2通信ラインの異常が検出された場合、第1制御部611は第2制御部621から出力される要求信号を取得する。第1制御部611は要求信号を取得した場合、実施形態1と同様に、第1通信部614から第1処理部61における受信対象のメッセージと第2処理部62における受信対象のメッセージとを受信し、制御処理を行う。例えば第1通信ラインの異常が検出された場合、第2制御部621は第1制御部611から出力される要求信号を取得する。第2制御部621は要求信号を取得した場合、実施形態1と同様に、第2通信部624から第1処理部61における受信対象のメッセージと第2処理部62における受信対象のメッセージとを受信し、制御処理を行う。 For example, when an abnormality in the second communication line is detected, the first controller 611 acquires a request signal output from the second controller 621 . When the first control unit 611 acquires the request signal, the first communication unit 614 receives the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62, as in the first embodiment. and perform control processing. For example, when an abnormality in the first communication line is detected, the second controller 621 acquires a request signal output from the first controller 611 . When the second control unit 621 acquires the request signal, it receives the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 from the second communication unit 624 in the same manner as in the first embodiment. and perform control processing.

本実施形態において、第1処理部61及び第2処理部62は異なる送受信部64を介して各個別ECU2と接続されている。統合ECU6はいずれかの送受信部64に異常がある場合でも各個別ECU2と通信することができる。なお個別ECU2の個数は2つに限定されない。送受信部64の個数は4つに限定されない。 In this embodiment, the first processing unit 61 and the second processing unit 62 are connected to each individual ECU 2 via different transmission/reception units 64 . The integrated ECU 6 can communicate with each individual ECU 2 even when one of the transmitting/receiving units 64 has an abnormality. Note that the number of individual ECUs 2 is not limited to two. The number of transmitting/receiving units 64 is not limited to four.

(実施形態3)
図15は、実施形態3に係る統合ECU6の構成を例示するブロック図である。実施形態3に係る構成の内、実施形態2と同様な構成部については同じ符号を付し、その詳細な説明を省略する。実施形態3の統合ECU6は4つの送受信部64を備える。実施形態2と同様に、4つの送受信部64のうち、2つの送受信部64は第1処理部61と第1配線65によって接続されている。4つの送受信部64のうち、残りの2つの送受信部64は第2処理部62と第1配線65によって接続されている。
(Embodiment 3)
FIG. 15 is a block diagram illustrating the configuration of the integrated ECU 6 according to the third embodiment. In the configuration according to Embodiment 3, the same components as those in Embodiment 2 are denoted by the same reference numerals, and detailed description thereof will be omitted. The integrated ECU 6 of the third embodiment has four transmitter/receiver units 64 . As in the second embodiment, two of the four transmission/reception units 64 are connected to the first processing unit 61 by the first wiring 65 . The remaining two transmission/reception units 64 among the four transmission/reception units 64 are connected to the second processing unit 62 by the first wiring 65 .

統合ECU6は2つのコネクタ1を備える。一方のコネクタ1は、第1処理部61側の送受信部64の一方と第2処理部62側の送受信部64の一方と、第2配線66を介して接続されている。他方のコネクタ1は、第1処理部61側の送受信部64の他方と第2処理部62側の送受信部64の他方と、第2配線66を介して接続されている。一方のコネクタ1に接続される第2配線66と他方のコネクタ1に接続される第2配線66とは異なる。 The integrated ECU 6 has two connectors 1 . One connector 1 is connected via a second wiring 66 to one of the transmitting/receiving units 64 on the first processing unit 61 side and one of the transmitting/receiving units 64 on the second processing unit 62 side. The other connector 1 is connected to the other of the transmitter/receiver 64 on the first processing unit 61 side and the other of the transmitter/receiver 64 on the second processing unit 62 side via a second wiring 66 . The second wiring 66 connected to one connector 1 is different from the second wiring 66 connected to the other connector 1 .

第2配線66は分岐している。第2配線66は、分岐部66d、及び分岐部66dとコネクタ1との間の共通部分66aを含む。また第2配線66は、分岐部66dと第1処理部61側の送受信部64との間の第1部分66bを含む。また第2配線66は、分岐部66dと第2処理部62側の送受信部64との間の第2部分66cを含む。 The second wiring 66 is branched. The second wiring 66 includes a branch portion 66 d and a common portion 66 a between the branch portion 66 d and the connector 1 . The second wiring 66 also includes a first portion 66b between the branch portion 66d and the transmission/reception portion 64 on the first processing portion 61 side. The second wiring 66 also includes a second portion 66c between the branch portion 66d and the transmitting/receiving portion 64 on the second processing portion 62 side.

一方のコネクタ1は、通信線7によって一方の個別ECU2と接続されている。他方のコネクタ1は、通信線7によって他方の個別ECU2と接続されている。一方の個別ECU2と接続される通信線7と他方の個別ECU2と接続される通信線7とは異なる。 One connector 1 is connected to one individual ECU 2 via a communication line 7 . The other connector 1 is connected to the other individual ECU 2 via a communication line 7 . The communication line 7 connected to one individual ECU 2 and the communication line 7 connected to the other individual ECU 2 are different.

第1処理部61及び第2処理部62と個別ECU2とは、第1配線65、送受信部64、第2配線66、及び通信線7を介して通信する。個別ECU2によって出力されるメッセージは、第1処理部61の第1通信部614及び第2処理部62の第2通信部624に入力される。詳しくは、上記のメッセージは通信線7と、第2配線66の共通部分66a及び第1部分66bと、送受信部64と、第1配線65とを介して第1通信部614に入力される。通信線7と、第2配線66の共通部分66a及び第1部分66bと、送受信部64と、第1配線65とを介する経路は、実施形態3の第1経路である。上記のメッセージは通信線7と、第2配線66の共通部分66a及び第2部分66cと、送受信部64と、第1配線65とを介して第2通信部624に入力される。通信線7と、第2配線66の共通部分66a及び第2部分66cと、送受信部64と、第1配線65とを介する経路は、実施形態3の第2経路である。 The first processing unit 61 and the second processing unit 62 and the individual ECU 2 communicate with each other via the first wiring 65 , the transmission/reception unit 64 , the second wiring 66 and the communication line 7 . A message output by the individual ECU 2 is input to the first communication unit 614 of the first processing unit 61 and the second communication unit 624 of the second processing unit 62 . Specifically, the above message is input to the first communication section 614 via the communication line 7 , the common portion 66 a and the first portion 66 b of the second wiring 66 , the transmitting/receiving section 64 and the first wiring 65 . A route passing through the communication line 7, the common portion 66a and the first portion 66b of the second wiring 66, the transmitting/receiving section 64, and the first wiring 65 is the first route of the third embodiment. The above message is input to the second communication section 624 via the communication line 7 , the common portion 66 a and the second portion 66 c of the second wiring 66 , the transmitting/receiving section 64 and the first wiring 65 . A route passing through the communication line 7, the common portion 66a and the second portion 66c of the second wiring 66, the transmitting/receiving section 64, and the first wiring 65 is the second route of the third embodiment.

実施形態1と同様に第2処理部62の第2制御部621は、第2通信部624から第2処理部における受信対象のメッセージを取得する。第2処理部62は取得したメッセージに含まれる情報を第1処理部61へ出力する。また第2制御部は取得したメッセージに含まれる情報に基づき、第2アプリ群A2のアプリを用いて制御処理を行う。第2制御部621は制御処理の処理結果を含むメッセージを、第2経路を介して個別ECU2へ送信する。 As in the first embodiment, the second control unit 621 of the second processing unit 62 acquires a message to be received by the second processing unit from the second communication unit 624 . The second processing unit 62 outputs information included in the acquired message to the first processing unit 61 . Also, the second control unit performs control processing using the applications of the second application group A2 based on the information included in the acquired message. The second control unit 621 transmits a message including the processing result of the control processing to the individual ECU 2 via the second path.

実施形態1と同様に第1処理部61の第1制御部611は、第1通信部614から第1処理部61における受信対象のメッセージを取得する。また第1制御部611は、第2制御部621から第2処理部62における受信対象のメッセージに含まれる情報を取得する。第1制御部611は、取得したメッセージに含まれる情報及び第2制御部621から取得した情報の少なくとも一方に基づき、第1アプリ群A1のアプリを用いて制御処理を行う。第1制御部611は制御処理の処理結果を含むメッセージを、第1経路を介して個別ECU2へ送信する。又は、第1制御部611は処理結果を含むメッセージを、第2処理部62及び第2経路を介して個別ECU2へ送信する。 As in the first embodiment, the first control unit 611 of the first processing unit 61 acquires a message to be received by the first processing unit 61 from the first communication unit 614 . The first control unit 611 also acquires information included in a message to be received by the second processing unit 62 from the second control unit 621 . Based on at least one of the information included in the acquired message and the information acquired from the second control unit 621, the first control unit 611 performs control processing using the applications of the first application group A1. The first control unit 611 transmits a message including the processing result of the control processing to the individual ECU 2 via the first path. Alternatively, the first control unit 611 transmits a message including the processing result to the individual ECU 2 via the second processing unit 62 and the second path.

実施形態1と同様に第1制御部611及び第2制御部621は、第1配線65、送受信部64、第2配線66及び通信線7を含む通信ラインの異常を検出する。本実施形態においては、一方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインと、他方の個別ECU2と第1処理部61及び第2処理部62とを接続する通信ラインとの2つの通信ラインが設けられている。 As in the first embodiment, the first control unit 611 and the second control unit 621 detect an abnormality in communication lines including the first wiring 65 , the transmission/reception unit 64 , the second wiring 66 and the communication line 7 . In the present embodiment, a communication line connecting one individual ECU 2 to the first processing unit 61 and the second processing unit 62 and a communication line connecting the other individual ECU 2 to the first processing unit 61 and the second processing unit 62 are connected. There are two communication lines with communication lines.

通信ラインは共通通信ライン、第1通信ライン及び第2通信ラインを含む。実施形態3の共通通信ラインは、第2配線66の共通部分66a及び通信線7を含む。実施形態3の第1通信ラインは、第1処理部61と接続された第1配線65及び送受信部64と、第2配線66の第1部分66bとを含む。実施形態3の第2通信ラインは、第2処理部62と接続された第1配線65及び送受信部64と、第2配線66の第2部分66cとを含む。 The communication lines include a common communication line, a first communication line and a second communication line. The common communication line of the third embodiment includes the common portion 66 a of the second wiring 66 and the communication line 7 . The first communication line of the third embodiment includes a first wiring 65 and a transmitting/receiving section 64 connected to the first processing section 61, and a first portion 66b of the second wiring 66. FIG. The second communication line of the third embodiment includes a first wiring 65 and a transmitter/receiver 64 connected to the second processing section 62, and a second portion 66c of the second wiring 66. FIG.

第1制御部611及び第2制御部621は実施形態1と同様に、異常検出の際、第1通信部614及び第2通信部624におけるメッセージの入力状況を確認する。第1制御部611及び第2制御部621の少なくとも一方は実施形態1と同様に、メッセージの入力状況に応じて、共通通信ライン、第1通信ライン又は第2通信ラインの異常を検出する。第1制御部611及び第2制御部621の少なくとも一方は、異常を検出した場合に、図示しない外部サーバ又は運転手が所持する端末へ異常がある旨を送信してもよい。 As in the first embodiment, the first control unit 611 and the second control unit 621 confirm the input state of messages in the first communication unit 614 and the second communication unit 624 when detecting an abnormality. At least one of the first control unit 611 and the second control unit 621 detects an abnormality in the common communication line, the first communication line, or the second communication line according to the message input status, as in the first embodiment. When detecting an abnormality, at least one of the first control unit 611 and the second control unit 621 may transmit a notification to the effect that there is an abnormality to an external server (not shown) or a terminal owned by the driver.

例えば第2通信ラインの異常が検出された場合、第1制御部611は第2制御部621から出力される要求信号を取得する。第1制御部611は要求信号を取得した場合、実施形態1と同様に、第1通信部614から第1処理部61における受信対象のメッセージと第2処理部62における受信対象のメッセージとを受信し、制御処理を行う。例えば第1通信ラインの異常が検出された場合、第2制御部621は第1制御部611から出力される要求信号を取得する。第2制御部621は要求信号を取得した場合、実施形態1と同様に、第2通信部624から第1処理部61における受信対象のメッセージと第2処理部62における受信対象のメッセージとを受信し、制御処理を行う。 For example, when an abnormality in the second communication line is detected, the first controller 611 acquires a request signal output from the second controller 621 . When the first control unit 611 acquires the request signal, the first communication unit 614 receives the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62, as in the first embodiment. and perform control processing. For example, when an abnormality in the first communication line is detected, the second controller 621 acquires a request signal output from the first controller 611 . When the second control unit 621 acquires the request signal, it receives the message to be received by the first processing unit 61 and the message to be received by the second processing unit 62 from the second communication unit 624 in the same manner as in the first embodiment. and perform control processing.

本実施形態において、第1処理部61及び第2処理部62は異なる送受信部64を介して各個別ECU2と接続されている。統合ECU6はいずれかの送受信部64に異常がある場合でも各個別ECU2と通信することができる。第2配線66が分岐しているので、実施形態2の統合ECU6に比べてコネクタ1の個数を少なくすることができる。なお個別ECU2の個数は2つに限定されない。送受信部64の個数は4つに限定されない。 In this embodiment, the first processing unit 61 and the second processing unit 62 are connected to each individual ECU 2 via different transmission/reception units 64 . The integrated ECU 6 can communicate with each individual ECU 2 even when one of the transmitting/receiving units 64 has an abnormality. Since the second wiring 66 is branched, the number of connectors 1 can be reduced compared to the integrated ECU 6 of the second embodiment. Note that the number of individual ECUs 2 is not limited to two. The number of transmitting/receiving units 64 is not limited to four.

今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本開示の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time are illustrative in all respects and should be considered not restrictive. The scope of the present disclosure is indicated by the scope of the claims rather than the meaning described above, and is intended to include all modifications within the scope and meaning equivalent to the scope of the claims.

A1 第1アプリ群
A2 第2アプリ群
A3 異常時アプリ群
C 車両
T1 第1受信テーブル
T11 第1テーブル
T12 異常時テーブル
T2 第2受信テーブル
T21 第2テーブル
T22 異常時テーブル
1 コネクタ
2 個別ECU(車載ECU)
3 車載機器
4 アクチュエータ
5 センサ
6 統合ECU(車載装置)
61 第1処理部
611 第1制御部
612 第1記憶部
613 通信I/F
614 第1通信部
614a 判定回路
615 第1プログラム
616 接続部
617 入出力部
618 受信バッファ
619 送信キュー
62 第2処理部
621 第2制御部
622 第2記憶部
623 通信I/F
624 第2通信部
624a 判定回路
625 第2プログラム
626 接続部
627 入出力部
628 受信バッファ
629 送信キュー
63 記録媒体
64 送受信部
65 第1配線
65a 共通部分
65b 第1部分
65c 第2部分
65d 分岐部
66 第2配線
66a 共通部分
66b 第1部分
66c 第2部分
66d 分岐部
7 通信線
7a 共通部分
7b 第1部分
7c 第2部分
7d 分岐部
A1 First application group A2 Second application group A3 Abnormal application group C Vehicle T1 First reception table T11 First table T12 Abnormal table T2 Second reception table T21 Second table T22 Abnormal table 1 Connector 2 Individual ECU (in-vehicle ECU)
3 in-vehicle device 4 actuator 5 sensor 6 integrated ECU (in-vehicle device)
61 first processing unit 611 first control unit 612 first storage unit 613 communication I/F
614 first communication unit 614a determination circuit 615 first program 616 connection unit 617 input/output unit 618 reception buffer 619 transmission queue 62 second processing unit 621 second control unit 622 second storage unit 623 communication I/F
624 second communication section 624a determination circuit 625 second program 626 connection section 627 input/output section 628 reception buffer 629 transmission queue 63 recording medium 64 transmission/reception section 65 first wiring 65a common section 65b first section 65c second section 65d branch section 66 Second wiring 66a Common portion 66b First portion 66c Second portion 66d Branch portion 7 Communication line 7a Common portion 7b First portion 7c Second portion 7d Branch portion

Claims (8)

車載ECUと接続され、前記車載ECUとメッセージを送受信する車載装置であって、
前記メッセージを送受信するための処理を行う第1処理部と、
前記メッセージを送受信するための処理を行う第2処理部と、
前記車載ECUと前記メッセージを送受信するための送受信部と、
該送受信部を介して、前記第1処理部及び前記第2処理部それぞれと前記車載ECUとを接続する通信ラインとを備え、
前記通信ラインは、前記車載ECUと接続される共通通信ラインと、
該共通通信ラインと前記第1処理部とを接続する第1通信ラインと、
前記共通通信ラインと前記第2処理部とを接続する第2通信ラインとを含む
車載装置。
An in-vehicle device that is connected to an in-vehicle ECU and that transmits and receives messages to and from the in-vehicle ECU,
a first processing unit that performs processing for transmitting and receiving the message;
a second processing unit that performs processing for transmitting and receiving the message;
a transmitting/receiving unit for transmitting/receiving the message to/from the in-vehicle ECU;
a communication line connecting each of the first processing unit and the second processing unit and the in-vehicle ECU via the transmitting/receiving unit;
The communication line includes a common communication line connected to the in-vehicle ECU;
a first communication line connecting the common communication line and the first processing unit;
An in-vehicle device including a second communication line that connects the common communication line and the second processing unit.
前記第1処理部及び前記第2処理部には、前記車載ECUによって出力される前記メッセージが前記通信ラインを介して入力され、
前記第1処理部及び前記第2処理部は、互いに前記メッセージの入力状況を通知し、
前記第1処理部及び前記第2処理部の少なくとも一方は、前記第1処理部及び前記第2処理部における前記メッセージの入力状況に基づき、前記通信ラインの状態変化を検出する
請求項1に記載の車載装置。
The message output by the in-vehicle ECU is input to the first processing unit and the second processing unit via the communication line,
The first processing unit and the second processing unit notify each other of the input status of the message;
2. The method according to claim 1, wherein at least one of the first processing unit and the second processing unit detects a change in the state of the communication line based on an input state of the message in the first processing unit and the second processing unit. in-vehicle equipment.
前記第1処理部及び前記第2処理部の少なくとも一方は、前記メッセージが前記第1処理部及び前記第2処理部のうちの前記第1処理部のみに入力される場合に、前記第2通信ラインの状態変化を検出する
請求項2に記載の車載装置。
At least one of the first processing unit and the second processing unit performs the second communication when the message is input only to the first processing unit out of the first processing unit and the second processing unit. The in-vehicle device according to claim 2, which detects a state change of the line.
前記第1処理部及び前記第2処理部の少なくとも一方は、前記メッセージが前記第1処理部及び前記第2処理部のうちの前記第2処理部のみに入力される場合に、前記第1通信ラインの状態変化を検出する
請求項2又は請求項3に記載の車載装置。
At least one of the first processing unit and the second processing unit performs the first communication when the message is input only to the second processing unit out of the first processing unit and the second processing unit. The in-vehicle device according to claim 2 or 3, which detects a state change of a line.
前記第1処理部及び前記第2処理部の少なくとも一方は、前記メッセージが前記第1処理部及び前記第2処理部のいずれにも入力されない場合、前記共通通信ラインの状態変化を検出する
請求項2から請求項4のいずれか1項に記載の車載装置。
At least one of the first processing unit and the second processing unit detects a state change of the common communication line when the message is input to neither the first processing unit nor the second processing unit. The in-vehicle device according to any one of claims 2 to 4.
前記第1処理部における受信対象の前記メッセージの種別を示す情報を含む第1受信テーブルと、
前記第2処理部における受信対象の前記メッセージの種別を示す情報を含む第2受信テーブルとを備え、
前記第1処理部は、前記第1受信テーブルに基づき、入力される前記メッセージのうちの前記第1処理部における受信対象の前記メッセージを受信し、
前記第2処理部は、前記第2受信テーブルに基づき、入力される前記メッセージのうちの前記第2処理部における受信対象の前記メッセージを受信する
請求項2から請求項5のいずれか1項に記載の車載装置。
a first reception table including information indicating the type of the message to be received by the first processing unit;
a second reception table containing information indicating the type of the message to be received by the second processing unit;
The first processing unit receives the message to be received by the first processing unit among the input messages based on the first reception table,
6. The second processing unit according to any one of claims 2 to 5, wherein the second processing unit receives the message to be received by the second processing unit among the input messages based on the second reception table. In-vehicle device as described.
前記第1受信テーブルは、前記第2処理部における受信対象の前記メッセージの種別を示す情報を含み、
前記第2受信テーブルは、前記第1処理部における受信対象の前記メッセージの種別を示す情報を含み、
前記第2通信ラインの状態変化が検出された場合に前記第1処理部は、前記第1受信テーブルに基づき、前記第1処理部における受信対象の前記メッセージと、前記第2処理部における受信対象の前記メッセージとを受信し、
前記第1通信ラインの状態変化が検出された場合に前記第2処理部は、前記第2受信テーブルに基づき、前記第1処理部における受信対象の前記メッセージと、前記第2処理部における受信対象の前記メッセージとを受信する
請求項6に記載の車載装置。
The first reception table includes information indicating the type of the message to be received by the second processing unit,
The second reception table includes information indicating the type of the message to be received by the first processing unit,
When a state change of the second communication line is detected, the first processing unit receives the message to be received by the first processing unit and the message to be received by the second processing unit based on the first reception table. and receiving said message of
When a state change of the first communication line is detected, the second processing unit receives the message to be received by the first processing unit and the message to be received by the second processing unit based on the second reception table. 7. The in-vehicle device of claim 6, receiving the message of
車載ECUとメッセージを送受信するための処理を行う第1処理部及び第2処理部を備える車載装置が状態変化を検出する状態変化検出方法であって、
前記車載ECUと前記メッセージを送受信するための送受信部を介して、前記第1処理部と、前記第2処理部と、前記車載ECUとを接続し、前記車載ECUと接続される共通通信ラインと、該共通通信ラインと前記第1処理部とを接続する第1通信ラインと、前記共通通信ラインと前記第1処理部とを接続する第2通信ラインとを含む通信ラインの状態変化を、前記第1処理部及び前記第2処理部における前記メッセージの入力状況に基づき検出する
状態変化検出方法。
A state change detection method for detecting a state change by an in-vehicle device including a first processing unit and a second processing unit that perform processing for transmitting and receiving messages to and from an in-vehicle ECU,
a common communication line that connects the first processing unit, the second processing unit, and the vehicle-mounted ECU via a transmission/reception unit for transmitting and receiving the message to and from the vehicle-mounted ECU, and is connected to the vehicle-mounted ECU; , a change in the state of a communication line including a first communication line connecting the common communication line and the first processing unit, and a second communication line connecting the common communication line and the first processing unit; A state change detection method for detecting based on input states of the message in the first processing unit and the second processing unit.
JP2021011342A 2021-01-27 2021-01-27 On-vehicle device and change of state detection method Pending JP2022114880A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021011342A JP2022114880A (en) 2021-01-27 2021-01-27 On-vehicle device and change of state detection method
PCT/JP2022/001137 WO2022163392A1 (en) 2021-01-27 2022-01-14 In-vehicle device, and method for detecting change in state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021011342A JP2022114880A (en) 2021-01-27 2021-01-27 On-vehicle device and change of state detection method

Publications (1)

Publication Number Publication Date
JP2022114880A true JP2022114880A (en) 2022-08-08

Family

ID=82654592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021011342A Pending JP2022114880A (en) 2021-01-27 2021-01-27 On-vehicle device and change of state detection method

Country Status (2)

Country Link
JP (1) JP2022114880A (en)
WO (1) WO2022163392A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5073358B2 (en) * 2007-04-27 2012-11-14 ヤマハ発動機株式会社 Ship control system and ship
JP6189004B1 (en) * 2017-01-24 2017-08-30 三菱電機株式会社 Shared backup unit and control system
JP6898807B2 (en) * 2017-08-23 2021-07-07 日立Astemo株式会社 Vehicle control device

Also Published As

Publication number Publication date
WO2022163392A1 (en) 2022-08-04

Similar Documents

Publication Publication Date Title
US7570597B2 (en) Discovery process in a vehicle network
US7733841B2 (en) Vehicle network with time slotted access and method
JP3994821B2 (en) Vehicle communication system
US7415508B2 (en) Linked vehicle active networks
JP2018078396A (en) On-vehicle network system
JP2012156803A (en) On-vehicle network system
KR101073291B1 (en) Network system of in-vehicle and control method thereof
JP2006253921A (en) Network system for vehicle
JP4808127B2 (en) In-vehicle communication method, in-vehicle communication system, relay device, and in-vehicle communication device
JP4432646B2 (en) Remote diagnosis system and integrated control device used therefor
JP6973120B2 (en) Spoofing detectors, detection methods, and computer programs
KR100708385B1 (en) Smart module for in-vehicle sensor network
WO2021100548A1 (en) Onboard relay device and relay method
WO2022163392A1 (en) In-vehicle device, and method for detecting change in state
WO2022163349A1 (en) In-vehicle device and information processing method
JP2019146145A (en) Communication device, communication method, and program
US11697423B2 (en) In-vehicle communication system, in-vehicle relay apparatus, and in-vehicle control apparatus
WO2023167280A1 (en) Vehicle control system, vehicle control method, and vehicle control program
JP7140011B2 (en) Gateway device
CN115668872A (en) In-vehicle device, in-vehicle communication system, and communication control method
WO2022163386A1 (en) Onboard device and relay method
WO2004112332A1 (en) Vehicle network and method of communicating data packets in a vehicle network
CN114503518A (en) Detection device, vehicle, detection method, and detection program
JP2022186222A (en) On-vehicle communication device, on-vehicle relay device, on-vehicle communication system, and communication method
JP2024018647A (en) vehicle control system