JP2024039972A - In-vehicle device, program and information processing method - Google Patents

In-vehicle device, program and information processing method Download PDF

Info

Publication number
JP2024039972A
JP2024039972A JP2022144751A JP2022144751A JP2024039972A JP 2024039972 A JP2024039972 A JP 2024039972A JP 2022144751 A JP2022144751 A JP 2022144751A JP 2022144751 A JP2022144751 A JP 2022144751A JP 2024039972 A JP2024039972 A JP 2024039972A
Authority
JP
Japan
Prior art keywords
microcomputer
microcomputers
vehicle
terminal
ecu
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
JP2022144751A
Other languages
Japanese (ja)
Inventor
岳晃 朝月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Wiring Systems Ltd
Original Assignee
Sumitomo Wiring Systems 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 filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2022144751A priority Critical patent/JP2024039972A/en
Publication of JP2024039972A publication Critical patent/JP2024039972A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

Figure 2024039972000001

【課題】搭載される複数のマイコン間の通信に関する処理を効率的に行う車載装置等を提供する。
【解決手段】車載装置は、車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続される車載装置であって、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備え、前記処理部は、前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、取得した前記通信経路情報を前記複数のマイコンに適用する。
【選択図】図1

Figure 2024039972000001

The present invention provides an on-vehicle device, etc. that efficiently performs processing related to communication between a plurality of mounted microcomputers.
[Solution] An on-vehicle device is an on-vehicle device that is mounted on a vehicle and is communicably connected to an external device located outside the vehicle, and is connected to an ECU terminal that is connected to an on-vehicle device mounted on the vehicle. , comprising a plurality of microcomputers that perform processing related to control of the on-vehicle equipment, and a processing unit that performs processing related to communication between the plurality of microcomputers, and the processing unit performs input/output with the on-board equipment connected to each of the ECU terminals. acquiring and acquiring communication path information generated by the external device based on ECU terminal information including information and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers; The communication path information thus obtained is applied to the plurality of microcomputers.
[Selection diagram] Figure 1

Description

本発明は、車載装置、プログラム及び情報処理方法に関する。 The present invention relates to an in-vehicle device, a program, and an information processing method.

車両に搭載され、複数のマイコンを備えつつ、通信バスの異常を検出できる電子制御装置が開示されている(例えば特許文献1)。特許文献1の電子制御装置は、通信バスに接続された複数のノードの一つであり、通信バスに流れている伝送信号を受信すると共に、通信バスに送信信号を送信する第1マイコンと第2マイコンを備え、通信バスに送信する送信信号が通信バスを介することなく各マイコンに送信され、各マイコンが送信信号を受信するように構成されている。 An electronic control device that is mounted on a vehicle, includes a plurality of microcomputers, and is capable of detecting abnormalities in a communication bus has been disclosed (for example, Patent Document 1). The electronic control device of Patent Document 1 is one of a plurality of nodes connected to a communication bus, and includes a first microcomputer and a second microcomputer that receive transmission signals flowing through the communication bus and transmit transmission signals to the communication bus. The device includes two microcomputers, and is configured such that a transmission signal to be transmitted to a communication bus is transmitted to each microcomputer without going through the communication bus, and each microcomputer receives the transmission signal.

特開2016-126716号公報Japanese Patent Application Publication No. 2016-126716

しかしながら、特許文献1の電子制御装置においては、当該電子制御装置に含まれる複数のマイコン間の通信に関する処理を効率的に行う点が考慮されていないという問題点がある。 However, the electronic control device of Patent Document 1 has a problem in that it does not take into account the efficient processing of communication between a plurality of microcomputers included in the electronic control device.

本開示は、搭載される複数のマイコン間の通信に関する処理を効率的に行うことができる車載装置等を提供することを目的とする。 An object of the present disclosure is to provide an in-vehicle device or the like that can efficiently perform processing related to communication between a plurality of mounted microcomputers.

本開示の一態様に係る車載装置は、車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続される車載装置であって、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備え、前記処理部は、前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、取得した前記通信経路情報を前記複数のマイコンに適用する。 An in-vehicle device according to an aspect of the present disclosure is an in-vehicle device that is mounted on a vehicle and communicably connected to an external device located outside the vehicle, and is connected to an in-vehicle device installed in the vehicle. An ECU terminal, a plurality of microcomputers that perform processing related to control of the in-vehicle equipment, and a processing unit that performs processing related to communication between the plurality of microcomputers, and the processing unit connects to the in-vehicle equipment connected to each of the ECU terminals. Acquire communication path information generated by the external device based on ECU terminal information including input/output information of the ECU terminal and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers. and applies the acquired communication path information to the plurality of microcomputers.

本開示の一態様によれば、搭載される複数のマイコン間の通信に関する処理を効率的に行う車載装置等を提供することできる。 According to one aspect of the present disclosure, it is possible to provide an in-vehicle device or the like that efficiently performs processing related to communication between a plurality of mounted microcomputers.

実施形態1に係る車載装置等を含む車載システムの構成を例示する模式図である。1 is a schematic diagram illustrating the configuration of an in-vehicle system including an in-vehicle device and the like according to a first embodiment; FIG. 車載装置等の内部構成を例示するブロック図である。FIG. 2 is a block diagram illustrating the internal configuration of an on-vehicle device and the like. 通信経路情報の生成過程等を模式的に示す説明図である。FIG. 2 is an explanatory diagram schematically showing a process of generating communication route information, etc. FIG. 車載装置の処理部等の処理を例示するフローチャートである。3 is a flowchart illustrating processing by a processing unit of an on-vehicle device, etc. 実施形態2に係る通信経路情報(統合テーブル)の一例を示す説明図である。FIG. 7 is an explanatory diagram showing an example of communication route information (integrated table) according to the second embodiment.

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

(1)本開示の一態様に係る車載装置は、車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続される車載装置であって、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備え、前記処理部は、前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、取得した前記通信経路情報を前記複数のマイコンに適用する。 (1) An in-vehicle device according to one aspect of the present disclosure is an in-vehicle device that is installed in a vehicle and is communicably connected to an external device located outside the vehicle, and is connected to an in-vehicle device installed in the vehicle. ECU terminals to be connected, a plurality of microcomputers that perform processing related to control of the in-vehicle equipment, and a processing section that performs processing related to communication between the plurality of microcomputers, and the processing section includes an ECU terminal that is connected to each of the ECU terminals. A communication route generated by the external device based on ECU terminal information including input/output information with in-vehicle equipment and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers. information is acquired, and the acquired communication path information is applied to the plurality of microcomputers.

本態様にあたっては、車載装置は、複数のマイコン及びマイコンの通信に関する処理を行う処理部を備え、各マイコンは複数のマイコン端子を含む。車載装置は、アクチュエータ又はセンサ等の車載機器に接続される複数のECU端子を備えている。当該ECU端子には、ワイヤーハーネス等が接続され、車載装置と車載機器とは、ワイヤーハーネス等により通信可能に接続されている。処理部は、複数のマイコンそれぞれに含まれるいずれかの制御部であってもよい。すなわち、いずれかのマイコンに含まれるCPU又はMPU等の制御部は、処理部として機能する。又は、処理部は、複数のマイコンそれぞれとは、別個に構成されたFPGA(Field Programmable Gate Array)等の演算回路又はソフトウェア処理部によるものであってもよい。外部装置は、端子連関情報とECU端子情報とに基づき、複数のマイコンが通信に用いる通信経路情報(ルーティングテーブル)を生成する。当該通信経路情報(ルーティングテーブル)は、例えば、HEX形式のファイル等、車載装置に適用するECUコンフィグレーションファイルとして生成されるものであってもよい。端子連関情報は、ECU端子とマイコン端子との接続情報(論理名称で紐づけた情報)を含むものであり、車載装置の製品仕様として決定されている。ECU端子情報は、ECU端子それぞれに接続される車載機器を示す接続情報を含むものであり、車載装置が搭載される車両の製造者等から提供される情報である。外部装置は、これら端子連関情報とECU端子情報をオンライン又はオフラインにて、車載装置及び車両の製造者等の情報処理装置から取得するものであってもよい。処理部は、外部装置が生成した通信経路情報(ECUコンフィグレーションファイル)を取得し、複数のマイコンそれぞれが備える記憶部に記憶することにより、当該通信経路情報を各マイコンに適用する。これにより、車両の製造者等は、車載装置における内部結線構造(ECU端子とマイコン端子との結線構造)を意識することなく、車載装置のECU端子に接続される車載機器の接続設定を行うことができる。又、車載装置が有するマイコンの個数、又はマイコン端子とECU端子との結線構造等のハードウェア構成が変更された場合や、ECUメーカによる仕様上差異を吸収することが可能となる。処理部は、外部装置が生成した通信経路情報(ECUコンフィグレーションファイル)を複数のマイコンそれぞれに適用することにより、当該通信経路情報を自動設定することができる。これにより、車載装置が搭載される個々の車両の車種に応じてマイコンの通信ソフトウェアを開発する場合と比較して、開発工数及び開発費用を低減することができる。このように構成された車載装置を用いることにより、複数の異なる車種への対応や、派生車種展開等を容易に行うことができる。 In this aspect, the in-vehicle device includes a plurality of microcomputers and a processing section that performs processing related to communication between the microcomputers, and each microcomputer includes a plurality of microcomputer terminals. The in-vehicle device includes a plurality of ECU terminals connected to in-vehicle equipment such as actuators or sensors. A wire harness or the like is connected to the ECU terminal, and the in-vehicle device and the in-vehicle equipment are communicably connected by the wire harness or the like. The processing section may be any control section included in each of the plurality of microcomputers. That is, a control unit such as a CPU or MPU included in any one of the microcomputers functions as a processing unit. Alternatively, the processing section may be an arithmetic circuit such as an FPGA (Field Programmable Gate Array) or a software processing section configured separately from each of the plurality of microcomputers. The external device generates communication path information (routing table) used by the plurality of microcomputers for communication based on the terminal association information and the ECU terminal information. The communication path information (routing table) may be generated as an ECU configuration file applied to the in-vehicle device, such as a HEX format file, for example. The terminal association information includes connection information (information associated with logical names) between the ECU terminal and the microcomputer terminal, and is determined as a product specification of the in-vehicle device. The ECU terminal information includes connection information indicating in-vehicle devices connected to each ECU terminal, and is information provided by the manufacturer of the vehicle in which the in-vehicle device is installed. The external device may acquire these terminal association information and ECU terminal information online or offline from an information processing device such as an on-vehicle device and a vehicle manufacturer. The processing unit applies the communication route information to each microcomputer by acquiring the communication route information (ECU configuration file) generated by the external device and storing it in the storage unit included in each of the plurality of microcomputers. This allows vehicle manufacturers to perform connection settings for in-vehicle devices connected to the ECU terminals of in-vehicle devices without being aware of the internal wiring structure of the in-vehicle devices (connection structure between ECU terminals and microcomputer terminals). I can do it. Furthermore, it is possible to absorb changes in the hardware configuration such as the number of microcomputers included in the in-vehicle device or the wiring structure between microcomputer terminals and ECU terminals, and differences in specifications between ECU manufacturers. The processing unit can automatically set the communication path information (ECU configuration file) generated by the external device by applying the communication path information (ECU configuration file) to each of the plurality of microcomputers. As a result, development man-hours and development costs can be reduced compared to the case where communication software for a microcomputer is developed according to the model of each vehicle in which an in-vehicle device is installed. By using the in-vehicle device configured in this manner, it is possible to easily support a plurality of different vehicle models, develop derivative vehicle models, and the like.

(2)本開示の一態様に係る車載装置は、前記外部装置が生成する前記通信経路情報は、前記複数のマイコンそれぞれが備える前記マイコン端子と、前記ECU端子を介して接続される前記車載機器との接続関係を示す第1通信経路情報と、前記複数のマイコン同士によるマイコン間通信に用いられる第2通信経路情報とを含む。 (2) In the in-vehicle device according to one aspect of the present disclosure, the communication path information generated by the external device is connected to the microcomputer terminal of each of the plurality of microcomputers and the in-vehicle device connected via the ECU terminal. and second communication path information used for inter-microcomputer communication between the plurality of microcomputers.

本態様にあたっては、外部装置が生成する通信経路情報(ECUコンフィグレーションファイル)は、複数のマイコンそれぞれが備えるマイコン端子と、ECU端子を介して接続される車載機器との接続関係を示す第1通信経路情報(ルーティングテーブル1)と、複数のマイコン同士によるマイコン間通信に用いられる第2通信経路情報(ルーティングテーブル2)とを含む。マイコンは、第1通信経路情報(ルーティングテーブル1)を参照することにより、当該マイコン自身が有するマイコン端子に接続される車載機器を認識することができる。更に、マイコンは、第2通信経路情報(ルーティングテーブル2)を参照することにより、他のマイコンが有するマイコン端子に接続される車載機器に対し信号を出力する際、中継先となる当該他のマイコンを特定することができる。 In this aspect, the communication path information (ECU configuration file) generated by the external device is the first communication path information that indicates the connection relationship between the microcomputer terminals of each of the plurality of microcomputers and the in-vehicle equipment connected via the ECU terminals. It includes route information (routing table 1) and second communication route information (routing table 2) used for inter-microcomputer communication between a plurality of microcomputers. By referring to the first communication path information (routing table 1), the microcomputer can recognize the in-vehicle equipment connected to the microcomputer terminal of the microcomputer itself. Furthermore, by referring to the second communication path information (routing table 2), the microcontroller can output a signal to the in-vehicle device connected to the microcontroller terminal of another microcontroller, by referring to the second communication path information (routing table 2). can be identified.

(3)本開示の一態様に係る車載装置は、前記外部装置が生成する前記通信経路情報は、前記複数のマイコンそれぞれに応じた前記第1通信経路情報それぞれと、前記複数のマイコンにて共通となる前記第2通信経路情報とを含み、前記処理部は、前記第1通信経路情報それぞれを、前記第1通信経路情報それぞれに対応する前記複数のマイコンそれぞれに対し個別に適用し、前記第2通信経路情報を、前記複数のマイコンに対し共通に適用する。 (3) In the in-vehicle device according to one aspect of the present disclosure, the communication route information generated by the external device is common to each of the first communication route information corresponding to each of the plurality of microcomputers and the plurality of microcomputers. the second communication path information, and the processing unit individually applies each of the first communication path information to each of the plurality of microcomputers corresponding to each of the first communication path information, and 2 communication path information is commonly applied to the plurality of microcomputers.

本態様にあたっては、外部装置は、第1通信経路情報(ルーティングテーブル1)を、複数のマイコンそれぞれに応じて生成する。これにより、第1通信経路情報(ルーティングテーブル1)は、各マイコンにおいて異なる情報となり、各マイコンそれぞれにおける入出力設定に相当する。外部装置は、第2通信経路情報(ルーティングテーブル2)を、複数のマイコンにおける共通な情報として生成するため、各マイコンは、共通となる第2通信経路情報(ルーティングテーブル2)に基づき、マイコン相互間の通信を効率的に行うことができる。各マイコンに応じた複数の第1通信経路情報と、全マイコンに対し共通化された第2通信経路情報とを含む通信経路情報が、例えば、HEX形式による単一ファイル(アーカイブファイル)として生成された場合であっても、処理部は、各マイコンそれぞれに対し、当該マイコンに対応する第1通信経路情報を個別に適用する。その上で、処理部は、各マイコンそれぞれに対し、全マイコンにて共通化された第2通信経路情報を適用するため、車載装置が備える全てのマイコンに対し、第1通信経路情報及び第2通信経路情報を適切に適用することができる。 In this aspect, the external device generates first communication route information (routing table 1) according to each of the plurality of microcomputers. As a result, the first communication path information (routing table 1) becomes different information for each microcomputer, and corresponds to input/output settings for each microcomputer. Since the external device generates the second communication route information (routing table 2) as common information for multiple microcomputers, each microcomputer can communicate with each other based on the common second communication route information (routing table 2). communication between the two can be performed efficiently. Communication route information including a plurality of first communication route information corresponding to each microcontroller and second communication route information common to all microcontrollers is generated as a single file (archive file) in HEX format, for example. Even in such a case, the processing unit individually applies the first communication path information corresponding to the microcomputer to each microcomputer. Then, in order to apply the second communication route information that is shared among all the microcomputers to each microcomputer, the processing unit applies the first communication route information and the second communication route information to all the microcomputers included in the in-vehicle device. Communication path information can be appropriately applied.

(4)本開示の一態様に係る車載装置は、前記複数のマイコンそれぞれは、CANバスにより通信可能に接続され、前記複数のマイコンのいずれかのマイコンは、他のマイコンの前記マイコン端子に接続されている前記ECU端子から信号を出力する場合、前記第2通信経路情報に基づき特定した前記他のマイコンに対し、前記CANバスを介して信号を送信し、前記他のマイコンは、前記いずれかのマイコンから受信した信号を、前記他のマイコンの前記マイコン端子から出力する。 (4) In the in-vehicle device according to one aspect of the present disclosure, each of the plurality of microcomputers is communicably connected via a CAN bus, and any one of the plurality of microcomputers is connected to the microcomputer terminal of another microcomputer. When outputting a signal from the ECU terminal, the signal is transmitted via the CAN bus to the other microcomputer identified based on the second communication path information, and the other microcomputer A signal received from the microcomputer is outputted from the microcomputer terminal of the other microcomputer.

本態様にあたっては、複数のマイコンそれぞれは、CAN(Controller Area Network)バスにより通信可能に接続されるため、CANバスをマイコン間通信における内部バスとして用いることができる。この場合、マイコン間の通信は、CANプロトコルを用いた行われるものなり、所定のメッセージIDを用いたマルチキャスト通信により、CANバスに接続される全てのマイコンに対し、メッセージを送信することができる。複数のマイコンのいずれかのマイコンは、他のマイコンのマイコン端子に接続されているECU端子から信号を出力する場合、第2通信経路情報に基づき特定した他のマイコンに対し、CANバスを介して信号を送信する。当該他のマイコンは、いずれかのマイコンから受信した信号を、自身(他のマイコン)のマイコン端子から出力する。このように第2通信経路情報を用いることによりマイコン間の中継処理を効率的に行うことができる。当該マイコン間の中継処理は、車載装置が車載機器に信号を送信する場合に限定されず、車載装置が車載機器から信号を受信する場合にも適用できる。すなわち、各マイコンは、当該マイコン自身が有するマイコン端子を介して取得した車載機器からの信号又はデータを、第2通信経路情報に基づき特定した他のマイコンに対し、CANバスを介して信号を送信するものであってもよい。 In this aspect, each of the plurality of microcomputers is communicably connected via a CAN (Controller Area Network) bus, so that the CAN bus can be used as an internal bus for communication between the microcomputers. In this case, communication between microcomputers is performed using the CAN protocol, and messages can be sent to all microcomputers connected to the CAN bus by multicast communication using a predetermined message ID. When one of the multiple microcontrollers outputs a signal from an ECU terminal connected to the microcontroller terminal of another microcontroller, it outputs a signal to the other microcontroller specified based on the second communication path information via the CAN bus. Send a signal. The other microcomputer outputs the signal received from one of the microcomputers from its own microcomputer terminal (the other microcomputer). By using the second communication path information in this manner, relay processing between microcomputers can be efficiently performed. The relay processing between the microcomputers is not limited to the case where an on-vehicle device transmits a signal to an on-vehicle device, but can also be applied when an on-vehicle device receives a signal from an on-vehicle device. That is, each microcomputer transmits the signal or data from the in-vehicle device acquired through the microcomputer terminal of the microcomputer itself to the other microcomputer specified based on the second communication path information via the CAN bus. It may be something that does.

(5)本開示の一態様に係るプログラムは、車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続され、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備えるコンピュータに、前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、取得した前記通信経路情報を前記複数のマイコンに適用する処理を実行させる。 (5) A program according to an aspect of the present disclosure includes an ECU terminal installed in a vehicle, communicably connected to an external device located outside the vehicle, and connected to in-vehicle equipment installed in the vehicle; A computer including a plurality of microcomputers that perform processes related to control of the in-vehicle devices and a processing unit that performs processes related to communication between the plurality of microcomputers, and an ECU that includes input/output information with the in-vehicle devices connected to each of the ECU terminals. Communication route information generated by the external device is acquired based on terminal information and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers, and the acquired communication route A process for applying the information to the plurality of microcomputers is executed.

本態様にあたっては、コンピュータを、搭載される複数のマイコン間の通信に関する処理を効率的に行う車載装置として動作させることができるプログラムを提供することできる。 In this aspect, it is possible to provide a program that allows a computer to operate as an in-vehicle device that efficiently performs processing related to communication between a plurality of mounted microcomputers.

(6)本開示の一態様に係る情報処理方法は、車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続され、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備えるコンピュータに、前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、取得した前記通信経路情報を前記複数のマイコンに適用する処理を実行させる。 (6) An information processing method according to an aspect of the present disclosure includes an ECU terminal installed in a vehicle, communicably connected to an external device located outside the vehicle, and connected to in-vehicle equipment installed in the vehicle. and input/output information with the in-vehicle devices connected to each of the ECU terminals to a computer including a plurality of microcomputers that perform processes related to control of the in-vehicle devices, and a processing section that performs processes related to communication between the plurality of microcomputers. Based on the included ECU terminal information and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers, the communication path information generated by the external device is acquired, and the acquired A process of applying the communication path information to the plurality of microcomputers is executed.

本態様にあたっては、コンピュータを、搭載される複数のマイコン間の通信に関する処理を効率的に行う車載装置として動作させることができる情報処理方法を提供することできる。 In this aspect, it is possible to provide an information processing method that allows a computer to operate as an on-vehicle device that efficiently performs processing related to communication between a plurality of mounted microcomputers.

[本開示の実施形態の詳細]
本開示をその実施の形態を示す図面に基づいて具体的に説明する。本開示の実施形態に係る車載システムSを、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。
[Details of embodiments of the present disclosure]
The present disclosure will be specifically described based on drawings showing embodiments thereof. An in-vehicle system S according to an embodiment of the present disclosure will be described below with reference to the drawings. Note that the present disclosure is not limited to these examples, but is indicated by the scope of the claims, and is intended to include all changes within the meaning and scope equivalent to the scope of the claims.

(実施形態1)
以下、実施の形態について図面に基づいて説明する。図1は、実施形態1に係る車載装置1等を含む車載システムSの構成を例示する模式図である。図2は、車載装置1等の内部構成を例示するブロック図である。車載システムSは、車両Cに搭載される車載装置1を主たる装置として構成され、当該車載装置1には、各種の車載機器3が、ワイヤーハーネス又はじか線(一つの信号のみを送信する導電ケーブル)等の信号線31により、通信可能に接続される。車載装置1は、CANバス又はイーサネット(登録商標)等の通信線にて構成される車載ネットワークを介して、他の車載ECU等と通信可能に接続されるものであってもよい。この場合、車載装置1は、CANトランシーバ又はイーサネットPHY等の車内通信部を備える。
(Embodiment 1)
Hereinafter, embodiments will be described based on the drawings. FIG. 1 is a schematic diagram illustrating the configuration of an in-vehicle system S including an in-vehicle device 1 and the like according to the first embodiment. FIG. 2 is a block diagram illustrating the internal configuration of the in-vehicle device 1 and the like. The in-vehicle system S is mainly configured with an in-vehicle device 1 mounted on a vehicle C, and various in-vehicle devices 3 are connected to the in-vehicle device 1 using wire harnesses or direct wires (conductive cables that transmit only one signal). ), etc., to enable communication. The in-vehicle device 1 may be communicably connected to other in-vehicle ECUs and the like via an in-vehicle network constituted by communication lines such as a CAN bus or Ethernet (registered trademark). In this case, the in-vehicle device 1 includes an in-vehicle communication unit such as a CAN transceiver or an Ethernet PHY.

車載装置1は、例えば、第1マイコン101及び第2マイコン102から成る複数のマイコンを備え、これら複数のマイコンが連携して、当該車載装置1に接続される各種の車載機器3に対する駆動制御に関する処理を行う。車載装置1は、例えば、UDS(Unified Diagnostic Service)等のECU診断通信プロトコルに対応したダイアグ処理(診断処理)に対応するものであってもよい。この場合、車載装置1は、当該UDSの通信プロトコルを用いて、車両Cの外部に位置する(外部から接続される)外部装置S1と通信し、当該外部装置S1から通信経路情報(ECUコンフィグレーションファイル)を取得(受信)する。通信経路情報(ECUコンフィグレーションファイル)の詳細については、後述する。 The in-vehicle device 1 includes a plurality of microcomputers including, for example, a first microcomputer 101 and a second microcomputer 102, and these microcomputers cooperate to perform drive control for various in-vehicle devices 3 connected to the in-vehicle device 1. Perform processing. The in-vehicle device 1 may be compatible with diagnostic processing (diagnosis processing) that is compatible with an ECU diagnostic communication protocol such as UDS (Unified Diagnostic Service), for example. In this case, the in-vehicle device 1 communicates with an external device S1 located outside the vehicle C (connected from the outside) using the communication protocol of the UDS, and receives communication route information (ECU configuration) from the external device S1. obtain (receive) a file). Details of the communication path information (ECU configuration file) will be described later.

車載装置1は、第1マイコン101及び第2マイコン102を備える。車載装置1が備えるマイコンの個数は2つに限定されず、車載装置1は、3つ以上のマイコンを備えるものであってもよい。車載装置1は、複数のECU端子2を備え、各ECU端子2それぞれには、車載機器3が接続される。 The in-vehicle device 1 includes a first microcomputer 101 and a second microcomputer 102. The number of microcomputers included in the in-vehicle device 1 is not limited to two, and the in-vehicle device 1 may include three or more microcomputers. The in-vehicle device 1 includes a plurality of ECU terminals 2, and an in-vehicle device 3 is connected to each ECU terminal 2.

車載機器3は、例えば、ドアロック、ドアミラ、イルミネーションランプ等の照明装置、ワイパー等のアクチュエータ、各種のセンサ機器、及び各種の操作スイッチを含み、ECU端子2それぞれは、これら車載機器3の入力側端子又は出力側端子に接続されるものであってもよい。すなわち、ECU端子2は、車載装置1における外部に対する入出力端子に相当する。これらECU端子2それぞれは、第1マイコン101又は第2マイコン102が有するいずれかのマイコン端子14と、端子間バス21によって接続(結線)されている。 The in-vehicle devices 3 include, for example, lighting devices such as door locks, door mirrors, and illumination lamps, actuators such as wipers, various sensor devices, and various operation switches, and each of the ECU terminals 2 is connected to the input side of these in-vehicle devices 3. It may be connected to a terminal or an output terminal. That is, the ECU terminal 2 corresponds to an external input/output terminal in the vehicle-mounted device 1. Each of these ECU terminals 2 is connected (wired) to one of the microcomputer terminals 14 of the first microcomputer 101 or the second microcomputer 102 by an inter-terminal bus 21.

第1マイコン101は、制御部11、記憶部12及び通信部13を備え、更にマイコン端子14を備える。制御部11は、例えば、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)等により構成してあり、記憶部12に予め記憶されたプログラムP(プログラム製品)及びデータを読み出して実行することにより、種々の制御処理及び演算処理等を行う。 The first microcomputer 101 includes a control section 11 , a storage section 12 , and a communication section 13 , and further includes a microcomputer terminal 14 . The control unit 11 is composed of, for example, a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), and reads and executes a program P (program product) and data stored in advance in the storage unit 12. , performs various control processing, calculation processing, etc.

記憶部12は、例えば、RAM(Random Access Memory)等の揮発性のメモリ素子又は、ROM(Read Only Memory)、EEPROM(Electrically Erasable Programmable ROM)若しくはフラッシュメモリ等の不揮発性のメモリ素子により構成してあり、プログラムP(プログラム製品)及び処理時に参照するデータが予め記憶してある。記憶部12に記憶されたプログラムP(プログラム製品)は、車載装置1が読み取り可能な記録媒体Mから読み出されたプログラムP(プログラム製品)を記憶したものであってもよい。また、図示しない通信網に接続されている図示しない外部コンピュータからプログラムP(プログラム製品)をダウンロードし、記憶部12に記憶させたものであってもよい。 The storage unit 12 is configured of, for example, a volatile memory element such as a RAM (Random Access Memory), or a nonvolatile memory element such as a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable ROM), or a flash memory. A program P (program product) and data to be referred to during processing are stored in advance. The program P (program product) stored in the storage unit 12 may be a program P (program product) read from a recording medium M readable by the in-vehicle device 1. Alternatively, the program P (program product) may be downloaded from an external computer (not shown) connected to a communication network (not shown) and stored in the storage unit 12.

通信部13は、例えばCANトランシーバにより構成され、CANの通信プロトコルを用いた入出力インターフェイスである。通信部13は、イーサネットPHYにより構成され、イーサネットの通信プロトコルを用いた入出力インターフェイスであってもよく、又はSPI(Serial Peripheral Interface)等のクロック同期方式を用いたものであってもよい。当該通信部13は、他のマイコンである第2マイコン102とのマイコン間通信に用いられるが、更に、外部装置S1又は他の車載ECUとの通信に用いられるものであってもよい。 The communication unit 13 is composed of, for example, a CAN transceiver, and is an input/output interface using a CAN communication protocol. The communication unit 13 may be configured with an Ethernet PHY, and may be an input/output interface using an Ethernet communication protocol, or may use a clock synchronization method such as SPI (Serial Peripheral Interface). The communication unit 13 is used for inter-microcomputer communication with the second microcomputer 102, which is another microcomputer, but may also be used for communication with the external device S1 or other in-vehicle ECU.

マイコン端子14は、第1マイコン101の制御部11による処理結果である信号又はデータを出力する出力端子と、制御部11が取得する信号又はデータが入力される入力端子とを含み、当該制御部11と内部バス又はランド等を介して接続されている。マイコン端子14それぞれには、端子番号が設定(付与)されており、制御部11は、当該端子番号を用いて、マイコン端子14を介した入出力処理を行う。 The microcomputer terminal 14 includes an output terminal that outputs a signal or data that is a processing result by the control unit 11 of the first microcomputer 101, and an input terminal that receives a signal or data that the control unit 11 acquires. 11 via an internal bus or land. A terminal number is set (given) to each of the microcomputer terminals 14, and the control unit 11 performs input/output processing via the microcomputer terminals 14 using the terminal numbers.

本実施形態においては、第1マイコン101は、マイコン端子14(a)及びマイコン端子14(b)から成る2つのマイコン端子14を備える。これらマイコン端子14それぞれは、対応するECU端子2それぞれに、端子間バス21にて接続される。本実施形態においては、マイコン端子14(a)は、ECU端子2(A)に接続される。
マイコン端子14(b)は、ECU端子2(B)に接続される。
In this embodiment, the first microcomputer 101 includes two microcomputer terminals 14, a microcomputer terminal 14(a) and a microcomputer terminal 14(b). Each of these microcomputer terminals 14 is connected to each of the corresponding ECU terminals 2 via an inter-terminal bus 21. In this embodiment, the microcomputer terminal 14(a) is connected to the ECU terminal 2(A).
The microcomputer terminal 14(b) is connected to the ECU terminal 2(B).

第2マイコン102は、第1マイコン101と同様に制御部11、記憶部12及び通信部13を備え、更にマイコン端子14を備える。第1マイコン101と第2マイコン102とは、それぞれの通信部13を介して、例えば、CANバスを用いた内部バス131により、通信可能に接続される。これにより、第1マイコン101及び第2マイコン102は、それぞれの制御部11にて実行しているプログラム間における通信(マイコン間通信)を行う。 The second microcomputer 102 includes a control section 11, a storage section 12, and a communication section 13 like the first microcomputer 101, and further includes a microcomputer terminal 14. The first microcomputer 101 and the second microcomputer 102 are communicably connected via their respective communication units 13, for example, by an internal bus 131 using a CAN bus. Thereby, the first microcomputer 101 and the second microcomputer 102 perform communication between the programs being executed in their respective control units 11 (inter-microcomputer communication).

本実施形態においては、第2マイコン102は、マイコン端子14(c)から成る1つのマイコン端子14を備える。本実施形態においては、マイコン端子14(c)は、ECU端子2(C)に接続される。詳細は後述するが、ECU端子2とマイコン端子14との接続形態は、車載装置1における内部結線構造に相当し、当該車載装置1の製品仕様として定義されている。 In this embodiment, the second microcomputer 102 includes one microcomputer terminal 14 consisting of a microcomputer terminal 14(c). In this embodiment, the microcomputer terminal 14(c) is connected to the ECU terminal 2(C). Although details will be described later, the connection form between the ECU terminal 2 and the microcomputer terminal 14 corresponds to the internal wiring structure in the vehicle-mounted device 1, and is defined as the product specifications of the vehicle-mounted device 1.

外部装置S1は、例えば、パソコン、タブレットコンピュータ、又はスマートホン等の携帯端末等、情報処理機能及び通信機能を有するコンピュータである。外部装置S1は、車載装置1と同様に、制御部S11、記憶部S12、及び通信部S13を備える。外部装置S1の記憶部S12には、通信経路情報(ECUコンフィグレーションファイル)を自動生成するためのプログラム(プログラム製品)が記憶されている。外部装置S1は、例えば車載ネットワークに外付けされ、車載装置1の診断処理を行うダイアグ装置であってもよい。車載装置1及び、外部装置S1は、例えばWiFi(登録商標)等の無線通信又は、CANバス又はシリアルケーブル等の有線通信を行う通信部S13を介して通信可能に接続される。 The external device S1 is, for example, a computer having an information processing function and a communication function, such as a personal computer, a tablet computer, or a mobile terminal such as a smart phone. The external device S1, like the in-vehicle device 1, includes a control section S11, a storage section S12, and a communication section S13. A program (program product) for automatically generating communication path information (ECU configuration file) is stored in the storage unit S12 of the external device S1. The external device S1 may be, for example, a diagnostic device that is externally attached to the in-vehicle network and performs diagnostic processing for the in-vehicle device 1. The in-vehicle device 1 and the external device S1 are communicably connected via a communication unit S13 that performs wireless communication such as WiFi (registered trademark) or wired communication such as a CAN bus or a serial cable.

図3は、通信経路情報の生成過程等を模式的に示す説明図である。本実施形態において、外部装置S1の制御部S11は、外部装置S1の記憶部S12に記憶されているプログラムを実行することにより、通信経路情報(ECUコンフィグレーションファイル、ルーティングテーブル)を生成する自動生成部として機能する。外部装置S1が車載装置1の診断処理を行うダイアグ装置として機能する場合、外部装置S1と車載装置1とは、例えばUDS(Unified Diagnostic Service)等のECU診断通信プロトコルを用いて通信するものであってもよい。又は、外部装置S1と車載装置1とは、車両外に位置するOTAサーバを介することにより、間接的に通信するものであってもよい。この場合、OTAサーバは、外部装置S1が生成した通信経路情報を取得及び保存した後、当該通信経路情報を車載装置1に送信(OTA(Over The Air)によるリプログラミング)するものであってもよい。車載装置1とOTAサーバとの通信は、例えば、車載ネットワークに接続される車外通信装置を介して行われるものであってもよい。このように外部装置S1と車載装置1とは、直接的な通信、又はOTAサーバ等を介した間接的な通信を行うものであってもよい。 FIG. 3 is an explanatory diagram schematically showing the process of generating communication route information. In this embodiment, the control unit S11 of the external device S1 automatically generates communication path information (ECU configuration file, routing table) by executing a program stored in the storage unit S12 of the external device S1. function as a department. When the external device S1 functions as a diagnostic device that performs diagnostic processing for the in-vehicle device 1, the external device S1 and the in-vehicle device 1 communicate using, for example, an ECU diagnostic communication protocol such as UDS (Unified Diagnostic Service). It's okay. Alternatively, the external device S1 and the in-vehicle device 1 may communicate indirectly through an OTA server located outside the vehicle. In this case, the OTA server acquires and stores the communication route information generated by the external device S1, and then transmits the communication route information to the in-vehicle device 1 (reprogramming by OTA (Over The Air)). good. Communication between the in-vehicle device 1 and the OTA server may be performed, for example, via an external communication device connected to an in-vehicle network. In this way, the external device S1 and the vehicle-mounted device 1 may communicate directly or indirectly via an OTA server or the like.

第1マイコン101又は第2マイコン102の制御部11は、記憶部12に記憶されているプログラムを実行することにより、外部装置S1から通信経路情報(ECUコンフィグレーションファイル)を取得し、各マイコンに適用する処理部として機能する。又は、処理部は、複数のマイコンそれぞれとは、別個に構成されたASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等の演算回路又はソフトウェア処理部によるものであってもよい。 The control unit 11 of the first microcomputer 101 or the second microcomputer 102 acquires communication path information (ECU configuration file) from the external device S1 by executing a program stored in the storage unit 12, and sends the information to each microcomputer. It functions as an application processing unit. Alternatively, the processing section may be an arithmetic circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array), or a software processing section configured separately from each of the plurality of microcomputers.

外部装置S1の制御部S11は、ECU端子情報及び端子連関情報を取得する。ECU端子情報は、ECU端子2それぞれに接続される車載機器3との入出力情報を含む。端子連関情報は、ECU端子2それぞれと、複数のマイコンそれぞれが備えるマイコン端子14それぞれとの連関情報(結線構造)を含む。端子連関情報におけるマイコン端子14に関する情報は、マイコン端子14の端子番号及び、各マイコン端子14(端子番号)が、どのマイコン(マイコンID)に設けられているかを示す情報を含む。 The control unit S11 of the external device S1 acquires ECU terminal information and terminal association information. The ECU terminal information includes input/output information with the in-vehicle equipment 3 connected to each of the ECU terminals 2. The terminal association information includes association information (wire connection structure) between each of the ECU terminals 2 and each of the microcomputer terminals 14 provided in each of the plurality of microcomputers. The information regarding the microcomputer terminals 14 in the terminal association information includes the terminal number of the microcomputer terminal 14 and information indicating which microcomputer (microcomputer ID) each microcomputer terminal 14 (terminal number) is provided.

外部装置S1の制御部S11は、取得したECU端子情報及び端子連関情報に基づき、通信経路情報(ECUコンフィグレーションファイル)を生成する。当該通信経路情報は、例えば、HEX形式によるファイル(アーカイブファイル)として生成されるものであってもよい。当該通信経路情報(ECUコンフィグレーションファイル)は、第1通信経路情報(ルーティングテーブル1)と、第2通信経路情報(ルーティングテーブル2)とを含む。第1通信経路情報(ルーティングテーブル1)は、車載装置1が含む各マイコンそれぞれに対し、生成されるものであり、各マイコンにおける入出力設定に相当する。 The control unit S11 of the external device S1 generates communication path information (ECU configuration file) based on the acquired ECU terminal information and terminal association information. The communication path information may be generated as a file (archive file) in HEX format, for example. The communication route information (ECU configuration file) includes first communication route information (routing table 1) and second communication route information (routing table 2). The first communication path information (routing table 1) is generated for each microcomputer included in the in-vehicle device 1, and corresponds to input/output settings in each microcomputer.

本実施形態においては、第1マイコン101用の第1通信経路情報(ルーティングテーブル1、入出力設定)と、第2マイコン102用の第1通信経路情報(ルーティングテーブル1、入出力設定)とが、生成される。第2通信経路情報(ルーティングテーブル2)は、車載装置1が含む各マイコンに対し、共通な情報として生成される。ECU端子情報及び端子連関情報それぞれには、ECU端子2に関する事項(ECU端子番号)が共通的なキー項目として含まれているため、外部装置S1の制御部S11は、ECU端子2(ECU端子番号)の項目を用いて、ECU端子情報及び端子連関情報に対する正規化処理等を行うことにより、第1通信経路情報及び第2通信経路情報を生成するものであってもよい。 In this embodiment, the first communication route information (routing table 1, input/output settings) for the first microcomputer 101 and the first communication route information (routing table 1, input/output settings) for the second microcomputer 102 are , generated. The second communication route information (routing table 2) is generated as common information for each microcomputer included in the in-vehicle device 1. Since the ECU terminal information and the terminal related information each include matters related to the ECU terminal 2 (ECU terminal number) as a common key item, the control unit S11 of the external device S1 controls the ECU terminal 2 (ECU terminal number). ) may be used to generate the first communication route information and the second communication route information by performing normalization processing on the ECU terminal information and the terminal association information.

第1通信経路情報(ルーティングテーブル1)は、各マイコンが備えるマイコン端子14に対し、どの車載機器3が接続されるかを示す情報が含まれる。従って、例えば、マイコン端子14(a,b)を備える第1マイコン101に対しては、マイコン端子14(a)及びマイコン端子14(b)に接続される車載装置1が、定義(端子a=前席ドア開閉、端子b=イルミSW)される。例えば、マイコン端子14(c)を備える第2マイコン102に対しては、マイコン端子14(c)に接続される車載装置1が、定義(端子c=イルミ出力)される。 The first communication path information (routing table 1) includes information indicating which in-vehicle device 3 is connected to the microcomputer terminal 14 provided in each microcomputer. Therefore, for example, for the first microcomputer 101 having the microcomputer terminals 14(a, b), the in-vehicle device 1 connected to the microcomputer terminals 14(a) and 14(b) has the definition (terminal a= Front seat door opens/closes, terminal b = illumination SW). For example, for the second microcomputer 102 including the microcomputer terminal 14(c), the in-vehicle device 1 connected to the microcomputer terminal 14(c) is defined (terminal c=illumination output).

第2通信経路情報(ルーティングテーブル2)は、各マイコン端子14それぞれの通信配置設定が、含まれる。当該通信配置設定は、マイコン端子14の端子番号と、当該マイコン端子14を備えるマイコンのマイコンIDとの関連を示す情報である。第2通信経路情報を参照することにより、第1マイコン101及び第2マイコン102等の各マイコンは、他のマイコンが備えるマイコン端子14の端子番号と、当該端子番号のマイコン端子14が、どのマイコン(マイコンID)に接続されているかを把握することができる。従って、第1マイコン101及び第2マイコン102等の各マイコンは、マイコン間にて共通的に定義された第2通信経路情報(ルーティングテーブル2)を参照し、マイコン間の中継処理を行うことができる。 The second communication path information (routing table 2) includes communication arrangement settings for each microcomputer terminal 14. The communication arrangement setting is information indicating the relationship between the terminal number of the microcomputer terminal 14 and the microcomputer ID of the microcomputer including the microcomputer terminal 14. By referring to the second communication path information, each microcomputer such as the first microcomputer 101 and the second microcomputer 102 can determine which microcomputer the terminal number of the microcomputer terminal 14 provided in the other microcomputer and which microcomputer terminal 14 with the terminal number is connected to. (Microcomputer ID). Therefore, each microcomputer such as the first microcomputer 101 and the second microcomputer 102 can refer to the second communication path information (routing table 2) commonly defined between the microcomputers and perform relay processing between the microcomputers. can.

外部装置S1の制御部S11は、生成した通信経路情報(ECUコンフィグレーションファイル)を車載装置1に出力する。車載装置1の処理部は、外部装置S1から出力された通信経路情報(ECUコンフィグレーションファイル)を取得する。又は、車載装置1の処理部は、外部装置S1が生成した通信経路情報(ECUコンフィグレーションファイル)を、OTAサーバ等を介して取得(リプログラミング)するものであってもよい。 The control unit S11 of the external device S1 outputs the generated communication path information (ECU configuration file) to the in-vehicle device 1. The processing unit of the in-vehicle device 1 acquires communication path information (ECU configuration file) output from the external device S1. Alternatively, the processing unit of the in-vehicle device 1 may acquire (reprogram) communication path information (ECU configuration file) generated by the external device S1 via an OTA server or the like.

車載装置1の処理部は、外部装置S1から直接的又は間接的に取得した通信経路情報(ECUコンフィグレーションファイル)から、各マイコンそれぞれに対応した第1通信経路情報それぞれと、第2通信経路情報とを抽出する。処理部は、抽出した第1マイコン101用の第1通信経路情報と、第2通信経路情報を、第1マイコン101の記憶部12に記憶する。処理部は、抽出した第2マイコン102用の第1通信経路情報と、第2通信経路情報を、第2マイコン102の記憶部12に記憶する。これにより、第1マイコン101及び第2マイコン102には、処理部によって抽出された通信経路情報(第1通信経路情報及び第2通信経路情報)が、個別に適用される。 The processing unit of the in-vehicle device 1 generates first communication path information and second communication path information corresponding to each microcomputer from the communication path information (ECU configuration file) directly or indirectly acquired from the external device S1. and extract. The processing unit stores the extracted first communication route information and second communication route information for the first microcomputer 101 in the storage unit 12 of the first microcomputer 101 . The processing unit stores the extracted first communication route information and second communication route information for the second microcomputer 102 in the storage unit 12 of the second microcomputer 102 . Thereby, the communication route information (first communication route information and second communication route information) extracted by the processing unit is applied to the first microcomputer 101 and the second microcomputer 102 individually.

図4は、車載装置1の処理部等の処理を例示するフローチャートである。車載装置1は、例えば車両Cが停止状態(IGスイッチがオフ)において、外部装置S1から出力された開始信号に基づき、以下の処理を行う。当該処理は、車両Cの製造段階で行われるものであってもよく、又は車両Cの生産及び出荷後にて、正規ディーラ等の工場にて行われるものであってもよい。又は、車載装置1は、外部装置S1が生成した通信経路情報(ECUコンフィグレーションファイル)を保存しているOTAサーバからのキャンペーン情報に応じてリプログラミングを行うことにより、当該通信経路情報を取得するものであってもよい。 FIG. 4 is a flowchart illustrating the processing of the processing unit of the in-vehicle device 1. The in-vehicle device 1 performs the following processing based on a start signal output from the external device S1, for example, when the vehicle C is in a stopped state (IG switch is off). The process may be performed at the manufacturing stage of the vehicle C, or may be performed at a factory such as an authorized dealer after the vehicle C is manufactured and shipped. Alternatively, the in-vehicle device 1 acquires the communication path information by performing reprogramming according to the campaign information from the OTA server that stores the communication path information (ECU configuration file) generated by the external device S1. It may be something.

本実施形態における処理は、外部装置S1と車載装置1とが連関して行われる。まずは、外部装置S1の制御部S11による処理を説明した後、車載装置1の処理部(第1マイコン101の制御部11)による処理を説明する。本実施形態において、外部装置S1から通信経路情報(ECUコンフィグレーションファイル)を取得する処理部は、第1マイコン101の制御部11であるとして説明する。処理部は、第1マイコン101の制御部11である場合に限定されず、第2マイコン102等、車載装置1に実装される他のマイコンの制御部11が、処理部として機能するものであってもよい。 The processing in this embodiment is performed in conjunction with the external device S1 and the vehicle-mounted device 1. First, the processing by the control section S11 of the external device S1 will be explained, and then the processing by the processing section (the control section 11 of the first microcomputer 101) of the in-vehicle device 1 will be explained. In this embodiment, the processing section that acquires the communication path information (ECU configuration file) from the external device S1 will be described as the control section 11 of the first microcomputer 101. The processing unit is not limited to the control unit 11 of the first microcomputer 101, and the control unit 11 of another microcomputer installed in the in-vehicle device 1, such as the second microcomputer 102, may function as the processing unit. It's okay.

外部装置S1の制御部S11は、ECU端子情報を取得する(S101)。外部装置S1の制御部S11は、例えば、ECU端子情報をオンライン又はオフラインにて、車両の製造者等の情報処理装置から取得する。 The control unit S11 of the external device S1 acquires ECU terminal information (S101). The control unit S11 of the external device S1 obtains ECU terminal information online or offline from an information processing device of a vehicle manufacturer or the like, for example.

ECU端子情報には、車載装置1が備えるECU端子2それぞれに接続される車載機器3を特定する情報が含まれている。すなわち、ECU端子情報は、車載装置1と、当該車載装置1に接続される車載機器3とにおける外部結線構造を示す情報である。車載機器3は、例えば、ドアロック、ドアミラ、イルミネーションランプ等の照明装置、ワイパー等のアクチュエータ、各種のセンサ機器、及び各種の操作スイッチを含む。ECU端子情報には、どのECU端子2が、どの車載機器3の入力側又は出力側に接続されるかが、例えばXML、TXT、CSV又はTSVによるリスト形式にて定義されている。当該ECU端子情報は、車両Cを製造する製造者が、車載装置1を車両Cに実装する際、実装仕様として定義する情報である。ECU端子情報によって、ECU端子2を一意に示すECU端子番号と、当該ECU端子番号に接続される車載機器3とが、関連付けられる。 The ECU terminal information includes information specifying the on-vehicle equipment 3 connected to each ECU terminal 2 included in the on-vehicle device 1. That is, the ECU terminal information is information indicating an external connection structure between the on-vehicle device 1 and the on-vehicle equipment 3 connected to the on-vehicle device 1. The in-vehicle equipment 3 includes, for example, a door lock, a door mirror, a lighting device such as an illumination lamp, an actuator such as a wiper, various sensor devices, and various operation switches. In the ECU terminal information, which ECU terminal 2 is connected to the input side or output side of which in-vehicle device 3 is defined in a list format using, for example, XML, TXT, CSV, or TSV. The ECU terminal information is information that is defined as a mounting specification when the manufacturer of the vehicle C mounts the in-vehicle device 1 on the vehicle C. The ECU terminal information associates an ECU terminal number that uniquely indicates the ECU terminal 2 with the in-vehicle device 3 connected to the ECU terminal number.

外部装置S1の制御部S11は、端子連関情報を取得する(S102)。外部装置S1の制御部S11は、例えば、端子連関情報をオンライン又はオフラインにて、車載装置1の製造者等の情報処理装置から取得する。 The control unit S11 of the external device S1 acquires terminal association information (S102). The control unit S11 of the external device S1 obtains the terminal association information online or offline from an information processing device such as a manufacturer of the in-vehicle device 1, for example.

端子連関情報は、ECU端子2それぞれと、マイコン端子14それぞれとの接続情報(論理名称で紐づけた情報)を含むものであり、車載装置1の製品仕様として決定されている。端子連関情報は、車載装置1における内部結線構造、すなわちECU端子2とマイコン端子14との結線構造を示す情報である。端子連関情報によって、ECU端子2を一意に示すECU端子番号と、当該ECU端子番号に接続されるマイコンの端子番号とが、関連付けられる。マイコンの端子番号は、マイコンを一意に示すマイコンIDと、端子番号との組み合わせによるものであってもよい。 The terminal association information includes connection information (information associated with logical names) between each of the ECU terminals 2 and each of the microcomputer terminals 14, and is determined as a product specification of the in-vehicle device 1. The terminal association information is information indicating the internal wiring structure in the in-vehicle device 1, that is, the wiring structure between the ECU terminal 2 and the microcomputer terminal 14. The terminal association information associates the ECU terminal number that uniquely indicates the ECU terminal 2 with the terminal number of the microcomputer connected to the ECU terminal number. The terminal number of the microcomputer may be a combination of a microcomputer ID that uniquely indicates the microcomputer and the terminal number.

外部装置S1の制御部S11は、取得したECU端子情報及び端子連関情報に基づき、通信経路情報を生成する(S103)。外部装置S1の制御部S11は、取得したECU端子情報及び端子連関情報において、これら情報に含まれるECU端子番号に基づき、通信経路情報(ECUコンフィグレーションファイル)を生成する。外部装置S1の制御部S11は、例えば、HEX形式による単一ファイル(アーカイブファイル)にて、通信経路情報を生成するものであってもよい。外部装置S1の制御部S11は、当該ECU端子番号を用いて正規化することにより、通信経路情報を生成するものであってもよい。外部装置S1の制御部S11は、第1通信経路情報(入出力設定、ルーティングテーブル1)及び第2通信経路情報(入出力設定、ルーティングテーブル2)を含む通信経路情報(ECUコンフィグレーションファイル)を生成(自動生成)する。 The control unit S11 of the external device S1 generates communication path information based on the acquired ECU terminal information and terminal association information (S103). The control unit S11 of the external device S1 generates communication path information (ECU configuration file) based on the ECU terminal number included in the acquired ECU terminal information and terminal association information. The control unit S11 of the external device S1 may generate the communication path information in a single file (archive file) in HEX format, for example. The control unit S11 of the external device S1 may generate communication route information by normalizing using the ECU terminal number. The control unit S11 of the external device S1 stores communication route information (ECU configuration file) including first communication route information (input/output settings, routing table 1) and second communication route information (input/output settings, routing table 2). Generate (automatically generate).

第1通信経路情報は、各マイコン毎に生成されるものであり、当該マイコンが備えるマイコン端子14に対し、どの車載機器3が接続されるかが、定義される。本実施形態のように車載装置1が、第1マイコン101及び第2マイコン102の2つのマイコンを含む場合、外部装置S1の制御部S11は、第1マイコン101用の第1通信経路情報と、第2マイコン102用の第1通信経路情報とを別個に生成する。 The first communication path information is generated for each microcomputer, and defines which in-vehicle device 3 is connected to the microcomputer terminal 14 of the microcomputer. When the in-vehicle device 1 includes two microcomputers, a first microcomputer 101 and a second microcomputer 102, as in this embodiment, the control unit S11 of the external device S1 receives first communication path information for the first microcomputer 101, The first communication path information for the second microcomputer 102 is generated separately.

第2通信経路情報は、全マイコンに対し共通化して生成されるものであり、どのマイコン端子14が、どのマイコンに備えられているかを示すマイコン端子14の通信配置設定が定義されている。すなわち、マイコン端子14の端子番号と、当該マイコン端子14を備えるマイコンのマイコンIDが関連付けられて、定義されている。なお、これらマイコン端子14の端子番号に対し、どの車載機器3が接続されているかを示す論理名が、更に関連付けられて定義されているものであってもよい。 The second communication path information is commonly generated for all microcomputers, and defines the communication arrangement settings of the microcomputer terminals 14 indicating which microcomputer terminals 14 are provided in which microcomputers. That is, the terminal number of the microcomputer terminal 14 and the microcomputer ID of the microcomputer including the microcomputer terminal 14 are defined in association with each other. Note that a logical name indicating which in-vehicle device 3 is connected to the terminal number of the microcomputer terminal 14 may be further defined in association with the terminal number.

外部装置S1の制御部S11は、生成した通信経路情報を出力する(S104)。外部装置S1の制御部S11は、有線通信又は無線通信を用いて車載装置1に対し、生成した通信経路情報を出力する。又は、外部装置S1の制御部S11は、生成した通信経路情報をOTAサーバに出力するものであってもよい。この場合、車載装置1は、OTAサーバを介して、通信経路情報を取得する。 The control unit S11 of the external device S1 outputs the generated communication route information (S104). The control unit S11 of the external device S1 outputs the generated communication route information to the in-vehicle device 1 using wired communication or wireless communication. Alternatively, the control unit S11 of the external device S1 may output the generated communication route information to the OTA server. In this case, the in-vehicle device 1 acquires communication route information via the OTA server.

第1マイコン101の制御部11(処理部)は、通信経路情報を取得する(T101)。第1マイコン101の制御部11は、例えばUDS(Unified Diagnostic Service)等のECU診断通信プロトコルを用いて車載装置1を通信することにより、当該車載装置1が生成した通信経路情報を取得する。又は、外部装置S1が通信経路情報をOTAサーバに出力した場合、第1マイコン101の制御部11は、OTAサーバによるリプログラミングの処理の一部として、当該OTAサーバから通信経路情報を取得するものであってもよい。 The control unit 11 (processing unit) of the first microcomputer 101 acquires communication path information (T101). The control unit 11 of the first microcomputer 101 acquires communication path information generated by the in-vehicle device 1 by communicating with the in-vehicle device 1 using an ECU diagnostic communication protocol such as UDS (Unified Diagnostic Service). Alternatively, when the external device S1 outputs communication path information to the OTA server, the control unit 11 of the first microcomputer 101 acquires the communication path information from the OTA server as part of the reprogramming process by the OTA server. It may be.

第1マイコン101の制御部11(処理部)は、取得した通信経路情報を適用する(T102)。通信経路情報(ECUコンフィグレーションファイル)が、例えばHEX形式の単一ファイルとして生成された場合、第1マイコン101の制御部11は、当該通信経路情報(HEXファイル)から、各マイコンそれぞれに対応する第1通信経路情報それぞれと、第2通信経路情報とを抽出する。第1マイコン101の制御部11は、抽出した第1通信経路情報それぞれと、第2通信経路情報とを第1マイコン101及び第2マイコン102のそれぞれの記憶部12に記憶する。第1マイコン101の記憶部12には、第1マイコン101用の第1通信経路情報と、第2通信経路情報とが記憶される。第2マイコン102の記憶部12には、第2マイコン102用の第1通信経路情報と、第2通信経路情報とが記憶される。これにより、第1マイコン101及び第2マイコン102において、通信経路情報が適用される。 The control unit 11 (processing unit) of the first microcomputer 101 applies the acquired communication path information (T102). When the communication route information (ECU configuration file) is generated as a single file in HEX format, for example, the control unit 11 of the first microcomputer 101 uses the communication route information (HEX file) to create a file that corresponds to each microcomputer. Each piece of first communication route information and second communication route information are extracted. The control unit 11 of the first microcomputer 101 stores each of the extracted first communication route information and the second communication route information in the respective storage units 12 of the first microcomputer 101 and the second microcomputer 102. The storage unit 12 of the first microcomputer 101 stores first communication route information and second communication route information for the first microcomputer 101. The storage unit 12 of the second microcomputer 102 stores first communication route information and second communication route information for the second microcomputer 102. As a result, the communication path information is applied to the first microcomputer 101 and the second microcomputer 102.

外部装置S1により自動生成された通信経路情報(第1通信経路情報、第2通信経路情報)が、処理部によって個々のマイコンに適用されることにより、搭載する複数のマイコンにおける効率的な通信を図ることができる。すなわち、当該通信経路情報の生成を効率的に行うことにより、ECU端子2とマイコン端子14との結線構造を意識することなく、複数の異なる車種への対応や、派生車種展開等を容易に行うことができる。 The communication route information (first communication route information, second communication route information) automatically generated by the external device S1 is applied to each microcomputer by the processing unit, thereby enabling efficient communication among the multiple microcomputers installed. can be achieved. That is, by efficiently generating the communication path information, it is possible to easily support multiple different vehicle models and develop derivative vehicle models without being aware of the connection structure between the ECU terminal 2 and the microcomputer terminal 14. be able to.

第1マイコン101及び第2マイコン102等、車載装置1に搭載される各マイコンは、適用された通信経路情報、すなわち第1通信経路情報(ルーティングテーブル1)及び第2通信経路情報(ルーティングテーブル2)を用いて、通信に関する処理を行う。第1マイコン101及び第2マイコン102は、第1通信経路情報(ルーティングテーブル1)を参照することにより、自身に接続されているマイコン端子14に、どの車載機器3が接続されているかを把握し、これに基づき、自身に接続されているマイコン端子14からの入出力処理(車載機器3との通信処理)を行うことができる。第1マイコン101及び第2マイコン102は、第2通信経路情報(ルーティングテーブル2)を参照することにより、自身に接続されていないマイコン端子14が、どのマイコンが備えているかを把握し、これに基づき、自身に接続されていないマイコン端子14を備えるマイコンに対する中継処理等を行うことができる。 Each microcomputer installed in the in-vehicle device 1, such as the first microcomputer 101 and the second microcomputer 102, uses applied communication route information, that is, first communication route information (routing table 1) and second communication route information (routing table 2). ) to perform communication-related processing. The first microcomputer 101 and the second microcomputer 102 grasp which in-vehicle device 3 is connected to the microcomputer terminal 14 connected to themselves by referring to the first communication path information (routing table 1). Based on this, input/output processing (communication processing with the on-vehicle equipment 3) from the microcomputer terminal 14 connected to itself can be performed. By referring to the second communication path information (routing table 2), the first microcomputer 101 and the second microcomputer 102 grasp which microcomputer has the microcomputer terminal 14 that is not connected to them, and Based on this, it is possible to perform relay processing and the like to a microcomputer having a microcomputer terminal 14 that is not connected to itself.

(実施形態2)
図5は、実施形態2に係る通信経路情報(統合テーブル)の一例を示す説明図である。実施形態1にて、第1マイコン101及び第2マイコン102等の各マイコンに対し、通信経路情報(ECUコンフィグレーションファイル)から抽出された第1通信経路情報(ルーティングテーブル1)と、第2通信経路情報(ルーティングテーブル2)とが、個別に適用されるとしたが、これに限定されない。第1マイコン101及び第2マイコン102等の各マイコンに対し適用される通信経路情報は、本実施形態における図示のように単一のテーブル(統合テーブル)により構成されるものであってもよい。統合テーブルは、管理項目(フィールド)として、例えば、ECU端子2のECU端子番号、ECU端子2に接続される車載装置1、マイコン端子14の端子番号、及びマイコンIDを含む。
(Embodiment 2)
FIG. 5 is an explanatory diagram showing an example of communication route information (integrated table) according to the second embodiment. In the first embodiment, for each microcomputer such as the first microcomputer 101 and the second microcomputer 102, the first communication route information (routing table 1) extracted from the communication route information (ECU configuration file) and the second communication Although the route information (routing table 2) is applied individually, the present invention is not limited thereto. The communication path information applied to each microcomputer such as the first microcomputer 101 and the second microcomputer 102 may be configured by a single table (integrated table) as illustrated in the present embodiment. The integrated table includes, as management items (fields), for example, the ECU terminal number of the ECU terminal 2, the in-vehicle device 1 connected to the ECU terminal 2, the terminal number of the microcomputer terminal 14, and the microcomputer ID.

ECU端子2の端子番号の(ECU端子番号)フィールドには、車載装置1に設けられるECU端子2の端子番号が格納される。当該端子番号は、端子のデバイス名等を示す物理名であってもよい。端子番号は、ECU端子2それぞれに接続される車載機器3との入出力情報を定義する、ECU端子情報に含まれる端子番号に対応している。 The (ECU terminal number) field of the terminal number of the ECU terminal 2 stores the terminal number of the ECU terminal 2 provided in the in-vehicle device 1. The terminal number may be a physical name indicating the device name of the terminal or the like. The terminal number corresponds to a terminal number included in ECU terminal information that defines input/output information with the in-vehicle device 3 connected to each ECU terminal 2.

ECU端子2に接続される車載装置1のフィールドには、ECU端子2それぞれに接続される車載機器3を示す名称が格納される。車載機器3を示す名称は、車載機器3に対する入出力情報(入力側又は出力側)を示す情報を含めた論理名にて定義されるものであってもよい。車載機器3を示す名称(論理名)は、ECU端子情報にて定義され、ECU端子2に接続される車載機器3を特定する情報に対応している。 In the field of the in-vehicle device 1 connected to the ECU terminal 2, names indicating the in-vehicle devices 3 connected to each of the ECU terminals 2 are stored. The name indicating the in-vehicle device 3 may be defined by a logical name including information indicating input/output information (input side or output side) for the in-vehicle device 3. The name (logical name) indicating the in-vehicle device 3 is defined in the ECU terminal information and corresponds to information specifying the in-vehicle device 3 connected to the ECU terminal 2.

マイコン端子14の端子番号のフィールドには、マイコンそれぞれに設けられるマイコン端子14の端子番号が格納される。マイコン端子14の端子番号のマイコンIDのフィールドには、対応するマイコン端子14(同一レコードに格納されるマイコン端子14)を有するマイコンを一意に示すマイコンIDが格納される。 The terminal number of the microcontroller terminal 14 provided on each microcontroller is stored in the field of the terminal number of the microcontroller terminal 14. The microcontroller ID field of the terminal number of the microcontroller terminal 14 stores a microcontroller ID that uniquely identifies the microcontroller having the corresponding microcontroller terminal 14 (the microcontroller terminal 14 stored in the same record).

第1マイコン101及び第2マイコン102等、車載装置1に実装される全てのマイコンは、本実施形態にて示される通信経路情報(統合テーブル)を参照することにより、どのマイコン端子14が、どの車載装置1に接続されているかを、把握することができる。又、第1マイコン101及び第2マイコン102等、車載装置1に実装される全てのマイコンは、各マイコン端子14が、どのマイコン(マイコンID)に備えられているかを、把握することができる。これにより、第1マイコン101及び第2マイコン102は、車載装置1に接続される各車載機器3とのデータ又は信号の入出力を行う際、自身が備えるマイコン端子14を用いるのか、又は、他のマイコンが備えるマイコン端子14を介する必要があるため当該他のマイコンとの中継処理を行うかを、効率的に判断することできる。通信経路情報(統合テーブル)は、第1マイコン101及び第2マイコン102等、車載装置1に実装される全てのマイコンの記憶部12それぞれに記憶されるものであってもよい。又は、車載装置1が、第1マイコン101及び第2マイコン102が共にアクセスできる共有メモリを備える場合、通信経路情報(統合テーブル)は、当該共有メモリに記憶されているものであってもよい。 All the microcomputers installed in the in-vehicle device 1, such as the first microcomputer 101 and the second microcomputer 102, can determine which microcomputer terminal 14 is connected to which one by referring to the communication path information (integrated table) shown in this embodiment. It is possible to know whether the device is connected to the on-vehicle device 1 or not. Furthermore, all the microcomputers mounted on the vehicle-mounted device 1, such as the first microcomputer 101 and the second microcomputer 102, can know which microcomputer (microcomputer ID) is equipped with each microcomputer terminal 14. As a result, when the first microcomputer 101 and the second microcomputer 102 perform input/output of data or signals with each in-vehicle device 3 connected to the in-vehicle device 1, do they use their own microcomputer terminals 14, or do they use other microcomputers? Since it is necessary to go through the microcomputer terminal 14 of the microcomputer, it is possible to efficiently determine whether to perform relay processing with the other microcomputer. The communication route information (integrated table) may be stored in each of the storage units 12 of all the microcomputers installed in the vehicle-mounted device 1, such as the first microcomputer 101 and the second microcomputer 102. Alternatively, if the in-vehicle device 1 includes a shared memory that can be accessed by both the first microcomputer 101 and the second microcomputer 102, the communication path information (integration table) may be stored in the shared memory.

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

特許請求の範囲に記載されている複数の請求項に関して、引用形式に関わらず、相互に組み合わせることが可能である。特許請求の範囲では、複数の請求項に従属する多項従属請求項が記載されている。特許請求の範囲では、多項従属請求項に従属する多項従属請求項は記載されていないが、多項従属請求項に従属する多項従属請求項を記載してもよい。 A plurality of claims described in the claims may be combined with each other regardless of the citation format. The claims contain multiple dependent claims that are dependent on several claims. In the claims, multiple dependent claims that are dependent on multiple dependent claims are not written, but multiple dependent claims that are dependent on multiple dependent claims may be written.

C 車両
S 車載システム
S1 外部装置
S11 制御部
S12 記憶部
S13 通信部
1 車載装置
101 第1マイコン
102 第2マイコン
11 制御部(処理部)
12 記憶部
M 記録媒体
P プログラム(プログラム製品)
13 通信部
131 内部バス
14 マイコン端子
2 ECU端子
21 端子間バス
3 車載機器
31 信号線
C Vehicle S In-vehicle system S1 External device S11 Control unit S12 Storage unit S13 Communication unit 1 In-vehicle device 101 First microcomputer 102 Second microcomputer 11 Control unit (processing unit)
12 Storage unit M Recording medium P Program (program product)
13 Communication section 131 Internal bus 14 Microcomputer terminal 2 ECU terminal 21 Inter-terminal bus 3 In-vehicle equipment 31 Signal line

Claims (6)

車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続される車載装置であって、
前記車両に搭載される車載機器に接続されるECU端子と、
前記車載機器の制御に関する処理を行う複数のマイコンと、
前記複数のマイコンの通信に関する処理を行う処理部を備え、
前記処理部は、
前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、
取得した前記通信経路情報を前記複数のマイコンに適用する
車載装置。
An in-vehicle device mounted on a vehicle and communicably connected to an external device located outside the vehicle,
an ECU terminal connected to in-vehicle equipment mounted on the vehicle;
a plurality of microcomputers that perform processing related to controlling the in-vehicle equipment;
comprising a processing unit that performs processing related to communication between the plurality of microcomputers,
The processing unit includes:
Based on ECU terminal information including input/output information with the in-vehicle equipment connected to each of the ECU terminals, and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers. , obtain communication path information generated by the external device,
An in-vehicle device that applies the acquired communication route information to the plurality of microcomputers.
前記外部装置が生成する前記通信経路情報は、
前記複数のマイコンそれぞれが備える前記マイコン端子と、前記ECU端子を介して接続される前記車載機器との接続関係を示す第1通信経路情報と、
前記複数のマイコン同士によるマイコン間通信に用いられる第2通信経路情報とを含む
請求項1に記載の車載装置。
The communication path information generated by the external device is
first communication path information indicating a connection relationship between the microcomputer terminal provided in each of the plurality of microcomputers and the in-vehicle device connected via the ECU terminal;
The in-vehicle device according to claim 1, further comprising second communication path information used for inter-microcomputer communication between the plurality of microcomputers.
前記外部装置が生成する前記通信経路情報は、
前記複数のマイコンそれぞれに応じた前記第1通信経路情報それぞれと、
前記複数のマイコンにて共通となる前記第2通信経路情報とを含み、
前記処理部は、
前記第1通信経路情報それぞれを、前記第1通信経路情報それぞれに対応する前記複数のマイコンそれぞれに対し個別に適用し、
前記第2通信経路情報を、前記複数のマイコンに対し共通に適用する
請求項2に記載の車載装置。
The communication path information generated by the external device is
each of the first communication path information corresponding to each of the plurality of microcomputers;
and the second communication path information common to the plurality of microcomputers,
The processing unit includes:
applying each of the first communication route information to each of the plurality of microcomputers corresponding to each of the first communication route information,
The in-vehicle device according to claim 2, wherein the second communication path information is commonly applied to the plurality of microcomputers.
前記複数のマイコンそれぞれは、CANバスにより通信可能に接続され、
前記複数のマイコンのいずれかのマイコンは、他のマイコンの前記マイコン端子に接続されている前記ECU端子から信号を出力する場合、前記第2通信経路情報に基づき特定した前記他のマイコンに対し、前記CANバスを介して信号を送信し、
前記他のマイコンは、前記いずれかのマイコンから受信した信号を、前記他のマイコンの前記マイコン端子から出力する
請求項2又は請求項3に記載の車載装置。
Each of the plurality of microcomputers is communicably connected via a CAN bus,
When one of the plurality of microcomputers outputs a signal from the ECU terminal connected to the microcomputer terminal of another microcomputer, the other microcomputer specified based on the second communication path information, transmitting a signal via the CAN bus;
The in-vehicle device according to claim 2 or 3, wherein the other microcomputer outputs the signal received from the one of the microcomputers from the microcomputer terminal of the other microcomputer.
車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続され、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備えるコンピュータに、
前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、
取得した前記通信経路情報を前記複数のマイコンに適用する
処理を実行させるプログラム。
an ECU terminal mounted on a vehicle, communicably connected to an external device located outside the vehicle, and connected to on-board equipment mounted on the vehicle; and a plurality of microcomputers that perform processing related to control of the on-board equipment. , a computer including a processing unit that performs processing related to communication between the plurality of microcomputers;
Based on ECU terminal information including input/output information with the in-vehicle equipment connected to each of the ECU terminals, and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers. , obtain communication path information generated by the external device,
A program that causes the plurality of microcomputers to execute a process of applying the acquired communication path information to the plurality of microcomputers.
車両に搭載され、前記車両の外部に位置する外部装置と通信可能に接続され、前記車両に搭載される車載機器に接続されるECU端子と、前記車載機器の制御に関する処理を行う複数のマイコンと、前記複数のマイコンの通信に関する処理を行う処理部を備えるコンピュータに、
前記ECU端子それぞれに接続される前記車載機器との入出力情報を含むECU端子情報と、前記ECU端子それぞれと前記複数のマイコンそれぞれが備えるマイコン端子それぞれとの連関情報を含む端子連関情報とに基づき、前記外部装置が生成する通信経路情報を取得し、
取得した前記通信経路情報を前記複数のマイコンに適用する
処理を実行させる情報処理方法。
an ECU terminal mounted on a vehicle, communicably connected to an external device located outside the vehicle, and connected to on-board equipment mounted on the vehicle; and a plurality of microcomputers that perform processing related to control of the on-board equipment. , a computer including a processing unit that performs processing related to communication between the plurality of microcomputers;
Based on ECU terminal information including input/output information with the in-vehicle equipment connected to each of the ECU terminals, and terminal association information including association information between each of the ECU terminals and each of the microcomputer terminals provided in each of the plurality of microcomputers. , obtain communication path information generated by the external device,
An information processing method that causes the plurality of microcomputers to execute a process of applying the acquired communication path information to the plurality of microcomputers.
JP2022144751A 2022-09-12 2022-09-12 In-vehicle device, program and information processing method Pending JP2024039972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022144751A JP2024039972A (en) 2022-09-12 2022-09-12 In-vehicle device, program and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022144751A JP2024039972A (en) 2022-09-12 2022-09-12 In-vehicle device, program and information processing method

Publications (1)

Publication Number Publication Date
JP2024039972A true JP2024039972A (en) 2024-03-25

Family

ID=90367160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022144751A Pending JP2024039972A (en) 2022-09-12 2022-09-12 In-vehicle device, program and information processing method

Country Status (1)

Country Link
JP (1) JP2024039972A (en)

Similar Documents

Publication Publication Date Title
JP4416649B2 (en) Method and apparatus for telematic services for vehicles
JP5884716B2 (en) In-vehicle system
US10887128B2 (en) In-vehicle network system
JP7192415B2 (en) Program update system and update processing program
US20110112718A1 (en) On-board network system of a motor vehicle and process for operating the on-board network system
US11282541B2 (en) Record control apparatus
CN107111536B (en) Diagnostic assistance method, device and system
US9633484B2 (en) Vehicle device installation system
US11697423B2 (en) In-vehicle communication system, in-vehicle relay apparatus, and in-vehicle control apparatus
CN111512613A (en) Method and control unit for facilitating diagnosis of a vehicle
JP7328928B2 (en) In-vehicle relay device, information processing method and program
JP2024039972A (en) In-vehicle device, program and information processing method
JP2024039971A (en) In-vehicle device, program and information processing method
JP2006023850A (en) Diagnostic system for vehicle and integral controller using the same
US20230195445A1 (en) On-board device, information processing method, and computer program
KR20150049876A (en) Apparatus and Method Diagnosing Controller for Vehicle
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
WO2024048328A1 (en) In-vehicle device, program, and, information processing method
JP2019200789A (en) Electronic controller and session establishing program
WO2023223819A1 (en) Information processing method, communication system, and information processing program
WO2023189468A1 (en) Vehicle-mounted device, information processing method, and information processing program
WO2021111925A1 (en) Vehicle-mounted system, vehicle-mounted information registration device, and information registration method
US20240004634A1 (en) Onboard apparatus and updating method
JP7434205B2 (en) Program update management system, mobile failure diagnosis device, program update management method
WO2023189469A1 (en) Information processing method, communication system, and information processing program