Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7525571B2 - Vehicle-mounted relay device, sleep control method, and sleep control program - Google Patents
[go: Go Back, main page]

JP7525571B2 - Vehicle-mounted relay device, sleep control method, and sleep control program - Google Patents

Vehicle-mounted relay device, sleep control method, and sleep control program Download PDF

Info

Publication number
JP7525571B2
JP7525571B2 JP2022172049A JP2022172049A JP7525571B2 JP 7525571 B2 JP7525571 B2 JP 7525571B2 JP 2022172049 A JP2022172049 A JP 2022172049A JP 2022172049 A JP2022172049 A JP 2022172049A JP 7525571 B2 JP7525571 B2 JP 7525571B2
Authority
JP
Japan
Prior art keywords
vehicle
unit
communication
information
sleep mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022172049A
Other languages
Japanese (ja)
Other versions
JP2024063883A (en
Inventor
健太郎 芦邉
ダルマワン 呉
智弘 大津
博史 浦山
秀 石塚
佳伸 黒谷
和也 杉山
裕一郎 板津
大悟 石井
博哉 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Toyota Motor Corp
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd, Toyota Motor Corp filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2022172049A priority Critical patent/JP7525571B2/en
Priority to PCT/JP2023/037346 priority patent/WO2024090260A1/en
Priority to CN202380071606.1A priority patent/CN119948812A/en
Publication of JP2024063883A publication Critical patent/JP2024063883A/en
Application granted granted Critical
Publication of JP7525571B2 publication Critical patent/JP7525571B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

本開示は、車載中継装置、スリープ制御方法およびスリープ制御プログラムに関する。 This disclosure relates to an in-vehicle relay device, a sleep control method, and a sleep control program.

車載中継装置において、通信ポートに対応して設けられた通信回路をスリープ制御することにより、消費電力の低減を図る技術が開発されている。たとえば、特許文献1(特開2018-074243号公報)には、以下のような技術が開示されている。すなわち、中継装置(11)は、フレームが送受信される複数のポート(P1~P5)と、前記複数のポートの何れかを介して受信したフレームである受信フレームの宛先に基づき、前記複数のポートの何れかを前記受信フレームの中継先として選択し、選択された前記ポートから、前記受信フレームを送信する中継処理を実行する中継実行部を有し、前記中継実行部が前記中継処理を実行可能な状態である第一起動状態と前記中継実行部が前記中継処理を実行不可能な状態である第一休止状態とで切り替え可能なスイッチ部(31)と、前記ポートから入力される通信信号を受信データに変換して前記スイッチ部に出力する受信機能と前記スイッチ部から送信されたデータを通信線上で伝送される通信信号に変換して前記ポートへ出力する送信機能とを実行する通信実行部を有し、前記通信実行部が前記受信機能と前記送信機能とを実行可能な状態である第二起動状態と前記通信実行部が前記受信機能と前記送信機能とを実行不可能な状態である第二休止状態とで切り替え可能なPHY部であって、前記複数のポートのそれぞれに対応して設定される複数のPHY部(Y1~Y5)と、前記スイッチ部が前記第一休止状態にあり且つ前記複数のPHY部のそれぞれが前記第二休止状態にある場合に、前記フレームが検出された前記ポートに対応する前記PHY部を前記第二休止状態から前記第二起動状態へ移行させる第一制御部(37)と、前記スイッチ部が前記第一休止状態にあり且つ前記複数のPHY部のそれぞれが前記第二休止状態にある場合に、前記複数のPHY部の何れかが前記第二休止状態から前記第二起動状態に移行すると、前記スイッチ部を前記第一休止状態から前記第一起動状態に移行させる第二制御部(38)と、を備える。 A technology has been developed for reducing power consumption by controlling the sleep state of a communication circuit provided corresponding to a communication port in an in-vehicle relay device. For example, Patent Document 1 (JP Patent Publication No. 2018-074243) discloses the following technology. That is, the relay device (11) has a relay execution unit that executes relay processing by selecting one of a plurality of ports (P1 to P5) through which frames are transmitted and received, and a relay execution unit that executes relay processing by selecting one of the plurality of ports as a relay destination of the received frame based on the destination of the received frame, which is a frame received through one of the plurality of ports, and transmitting the received frame from the selected port, a switch unit (31) that can be switched between a first activation state in which the relay execution unit is in a state in which the relay execution unit can execute the relay processing and a first pause state in which the relay execution unit cannot execute the relay processing, and a communication execution unit that executes a reception function of converting a communication signal input from the port into reception data and outputting it to the switch unit, and a transmission function of converting data transmitted from the switch unit into a communication signal transmitted on a communication line and outputting it to the port, and the communication execution unit executes the reception function and the transmission function. The PHY unit is switchable between a second active state in which the communication execution unit can execute the reception function and the transmission function and a second idle state in which the communication execution unit cannot execute the reception function and the transmission function, and includes a plurality of PHY units (Y1 to Y5) that are set corresponding to the plurality of ports, a first control unit (37) that transitions the PHY unit corresponding to the port in which the frame is detected from the second idle state to the second active state when the switch unit is in the first idle state and each of the plurality of PHY units is in the second idle state, and a second control unit (38) that transitions the switch unit from the first idle state to the first active state when any of the plurality of PHY units transitions from the second idle state to the second active state when the switch unit is in the first idle state and each of the plurality of PHY units is in the second idle state.

特開2018-074243号公報JP 2018-074243 A

車載ネットワークにおいて、ユーザのニーズに応じてECU等の車載機能部を追加する場合がある。ここで、たとえば、新規の車載機能部が接続された車載中継装置の通信ポートに対応する通信回路がスリープモードからウェイクアップモードへ遷移するまでに要する時間が、新規の車載機能部に搭載されたアプリケーションが起動するまでの許容時間を超えた場合、新たな構成の車載ネットワークにおける動作が不安定になる可能性がある。 In an in-vehicle network, in-vehicle functional units such as ECUs may be added in response to user needs. Here, for example, if the time required for the communication circuit corresponding to the communication port of the in-vehicle relay device to which the new in-vehicle functional unit is connected to transition from sleep mode to wake-up mode exceeds the allowable time for an application installed in the new in-vehicle functional unit to start up, the operation of the newly configured in-vehicle network may become unstable.

本開示は、上述の課題を解決するためになされたもので、その目的は、新たな構成の車載ネットワークにおける安定した動作を実現することが可能な車載中継装置、スリープ制御方法およびスリープ制御プログラムを提供することである。 The present disclosure has been made to solve the above-mentioned problems, and its purpose is to provide an in-vehicle relay device, a sleep control method, and a sleep control program that can achieve stable operation in a newly configured in-vehicle network.

本開示の車載中継装置は、複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路と、1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得する取得部と、前記取得部によって取得された前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うスリープ制御部とを備える。 The in-vehicle relay device disclosed herein includes a plurality of communication ports that can be respectively connected to a plurality of in-vehicle functional units, a plurality of communication circuits that are provided corresponding to the plurality of communication ports and can communicate with the in-vehicle functional units via the corresponding communication ports, an acquisition unit that acquires functional unit information of the new functional unit that is the in-vehicle functional unit detected to be added when the addition of the in-vehicle functional unit to an in-vehicle network including one or more existing functional units that are the in-vehicle functional units is detected, and a sleep control unit that performs a selection process to select from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new functional unit is connected and the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the functional unit information of the new functional unit acquired by the acquisition unit.

本開示の一態様は、このような特徴的な処理部を備える車載中継装置として実現され得るだけでなく、車載中継装置の一部または全部を実現する半導体集積回路として実現され得たり、車載中継装置を含むシステムとして実現され得る。 One aspect of the present disclosure can be realized not only as an in-vehicle relay device equipped with such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the in-vehicle relay device, or as a system that includes the in-vehicle relay device.

本開示によれば、新たな構成の車載ネットワークにおける安定した動作を実現することができる。 This disclosure makes it possible to achieve stable operation in a newly configured in-vehicle network.

図1は、本開示の実施の形態に係る車載通信システムの構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a configuration of an in-vehicle communication system according to an embodiment of the present disclosure. 図2は、本開示の実施の形態に係る車載中継装置の構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a configuration of an in-vehicle relay device according to an embodiment of the present disclosure. 図3は、本開示の実施の形態に係る車載通信システムにおけるスリープ処理のシーケンスの一例を示す図である。FIG. 3 is a diagram illustrating an example of a sequence of a sleep process in the in-vehicle communication system according to the embodiment of the present disclosure. 図4は、本開示の実施の形態に係る車載中継装置が保存する通信回路テーブルの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication circuit table stored in the vehicle-mounted relay device according to the embodiment of the present disclosure. 図5は、本開示の実施の形態に係る車載通信システムにおける各アプリケーションのウェイクアップ許容時間の一例を示す図である。FIG. 5 is a diagram illustrating an example of the allowable wake-up time of each application in the in-vehicle communication system according to the embodiment of the present disclosure. 図6は、本開示の実施の形態に係る車載中継装置による更新処理後の通信回路テーブルの一例を示す図である。FIG. 6 is a diagram illustrating an example of a communication circuit table after an update process is performed by the vehicle-mounted relay device according to the embodiment of the present disclosure. 図7は、本開示の実施の形態に係る車載中継装置が保存する条件テーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of a condition table stored in the vehicle-mounted relay device according to the embodiment of the present disclosure. 図8は、本開示の実施の形態に係る車載中継装置による選択処理の動作手順を定めたフローチャートである。FIG. 8 is a flowchart defining an operation procedure of a selection process by the vehicle-mounted relay device according to the embodiment of the present disclosure. 図9は、本開示の実施の形態に係る車載中継装置におけるスリープ制御の動作手順を定めたフローチャートである。FIG. 9 is a flowchart defining an operation procedure of the sleep control in the vehicle-mounted relay device according to the embodiment of the present disclosure. 図10は、本開示の実施の形態に係る車載通信システムにおけるスリープ制御のシーケンスの一例を示す図である。FIG. 10 is a diagram illustrating an example of a sequence of sleep control in the in-vehicle communication system according to the embodiment of the present disclosure. 図11は、本開示の実施の形態に係る車載通信システムの変形例の構成を示す図である。FIG. 11 is a diagram illustrating a configuration of a modified example of an in-vehicle communication system according to an embodiment of the present disclosure. 図12は、本開示の実施の形態に係る車載中継装置の変形例が保存する通信回路テーブルを示す図である。FIG. 12 is a diagram showing a communication circuit table stored in a modified example of the vehicle-mounted relay device according to the embodiment of the present disclosure. 図13は、本開示の実施の形態に係る車載中継装置の変形例による更新処理後の通信回路テーブルを示す図である。FIG. 13 is a diagram showing a communication circuit table after update processing according to a modified example of the vehicle-mounted relay device according to the embodiment of the present disclosure.

最初に、本開示の実施形態の内容を列記して説明する。
(1)本開示の実施の形態に係る車載中継装置は、複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路と、1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得する取得部と、前記取得部によって取得された前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うスリープ制御部とを備える。
First, the contents of the embodiments of the present disclosure will be listed and described.
(1) An in-vehicle relay device according to an embodiment of the present disclosure includes a plurality of communication ports that can be respectively connected to a plurality of in-vehicle function units, a plurality of communication circuits that correspond to the plurality of communication ports and can communicate with the in-vehicle function units via the corresponding communication ports, an acquisition unit that, when the addition of an in-vehicle function unit to an in-vehicle network including one or more existing function units that are the in-vehicle function units, acquires function unit information of a new function unit that is the in-vehicle function unit whose addition has been detected, and a sleep control unit that performs a selection process to select from a plurality of types of sleep modes a type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new function unit is connected and the communication circuit corresponding to the communication port to which the existing function unit is connected, based on the function unit information of the new function unit acquired by the acquisition unit.

このように、新規機能部の機能部情報に基づいて、新規機能部および既存機能部に対応する通信回路にそれぞれ適用するスリープモードの種類を選択する構成により、車載中継装置のスリープ条件が成立した場合、新規機能部および既存機能部に対応する通信回路をそれぞれ、新規機能部の機能部情報に応じた適切なスリープモードへ遷移させることができる。そのため、車載中継装置のウェイクアップ条件が成立した場合、新規機能部および既存機能部に対応する通信回路のウェイクアップモードへの遷移の遅れを抑制することができる。したがって、新たな構成の車載ネットワークにおける安定した動作を実現することができる。 In this manner, by selecting the type of sleep mode to be applied to the communication circuits corresponding to the new functional unit and the existing functional unit based on the functional unit information of the new functional unit, when the sleep conditions of the in-vehicle relay device are met, the communication circuits corresponding to the new functional unit and the existing functional unit can each be transitioned to an appropriate sleep mode according to the functional unit information of the new functional unit. Therefore, when the wake-up conditions of the in-vehicle relay device are met, delays in transitioning to the wake-up mode of the communication circuits corresponding to the new functional unit and the existing functional unit can be suppressed. Therefore, stable operation can be achieved in the newly configured in-vehicle network.

(2)上記(1)において、前記機能部情報は、前記新規機能部に搭載されたアプリケーションに関するアプリケーション情報を含んでもよく、前記スリープ制御部は、前記取得部によって取得された前記新規機能部のアプリケーション情報に基づいて、前記選択処理を行ってもよい。 (2) In the above (1), the functional unit information may include application information regarding an application installed in the new functional unit, and the sleep control unit may perform the selection process based on the application information of the new functional unit acquired by the acquisition unit.

このような構成により、新規機能部および既存機能部に対応する通信回路にそれぞれ適用するスリープモードの種類として、新規機能部のアプリケーション情報に応じたスリープモードを選択することができる。 With this configuration, a sleep mode corresponding to the application information of the new functional unit can be selected as the type of sleep mode to be applied to the communication circuits corresponding to the new functional unit and the existing functional unit.

(3)上記(2)において、前記アプリケーション情報は、前記アプリケーションの種類に関する情報を含んでもよい。 (3) In (2) above, the application information may include information regarding the type of the application.

このような構成により、新規機能部のアプリケーションの種類に応じた適切なスリープモードを使用することができる。 This configuration allows the appropriate sleep mode to be used depending on the type of application of the new functional section.

(4)上記(2)または(3)において、前記アプリケーション情報は、前記アプリケーションが起動するまでの許容時間に関する情報を含んでもよい。 (4) In (2) or (3) above, the application information may include information regarding the time allowed until the application is started.

このような構成により、新規機能部に搭載されたアプリケーションが起動するまでの許容時間に応じた適切なスリープモードを使用することができる。 This configuration allows the appropriate sleep mode to be used depending on the allowable time until the application installed in the new functional unit starts up.

(5)上記(1)から(4)のいずれかにおいて、前記取得部は、さらに、前記既存機能部の機能部情報を取得してもよく、前記スリープ制御部は、前記取得部によって取得された前記新規機能部の機能部情報および前記既存機能部の機能部情報に基づいて、前記選択処理を行ってもよい。 (5) In any of (1) to (4) above, the acquisition unit may further acquire functional unit information of the existing functional unit, and the sleep control unit may perform the selection process based on the functional unit information of the new functional unit and the functional unit information of the existing functional unit acquired by the acquisition unit.

このような構成により、選択処理において、新規機能部の機能部情報に加えて既存機能部の機能部情報の内容を反映したより適切なスリープモードを選択することができる。 With this configuration, the selection process can select a more appropriate sleep mode that reflects the contents of the functional unit information of the existing functional units in addition to the functional unit information of the new functional units.

(6)上記(1)から(5)のいずれかにおいて、前記車載中継装置は、さらに、前記既存機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部の機能部情報との対応関係を示す機能対応情報を記憶する記憶部を備えてもよく、前記取得部は、前記新規機能部の機能部情報を取得した場合、前記記憶部における前記機能対応情報に、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記新規機能部の機能部情報との対応関係を登録する更新処理を行ってもよく、前記スリープ制御部は、前記更新処理後の前記機能対応情報に基づいて、前記選択処理を行ってもよい。 (6) In any of (1) to (5) above, the vehicle-mounted relay device may further include a storage unit that stores function correspondence information indicating the correspondence between the communication circuit corresponding to the communication port to which the existing function unit is connected and the function unit information of the existing function unit, and when the acquisition unit acquires the function unit information of the new function unit, the acquisition unit may perform an update process to register the correspondence between the communication circuit corresponding to the communication port to which the new function unit is connected and the function unit information of the new function unit in the function correspondence information in the storage unit, and the sleep control unit may perform the selection process based on the function correspondence information after the update process.

このような構成により、たとえば、更新処理後の機能対応情報を用いて、簡易な処理で選択処理を行うことができる。 With this configuration, for example, selection processing can be performed with simple processing using function support information after the update processing.

(7)上記(1)から(6)のいずれかにおいて、前記車載中継装置は、さらに、前記複数の通信回路にそれぞれ適用する前記スリープモードを示すスリープモード対応情報を記憶する記憶部を備えてもよく、前記取得部は、前記車載ネットワークに他の前記新規機能部が追加された場合、前記他の新規機能部の機能部情報を取得してもよく、前記スリープ制御部は、前記取得部によって取得された前記他の新規機能部の機能部情報および前記記憶部における前記スリープモード対応情報に基づいて、前記選択処理を行ってもよい。 (7) In any of (1) to (6) above, the vehicle-mounted relay device may further include a memory unit that stores sleep mode compatibility information indicating the sleep mode to be applied to each of the multiple communication circuits, and the acquisition unit may acquire function unit information of the other new function units when the other new function units are added to the vehicle-mounted network, and the sleep control unit may perform the selection process based on the function unit information of the other new function units acquired by the acquisition unit and the sleep mode compatibility information in the memory unit.

このような構成により、他の新規機能部の機能部情報を用いて選択処理を行うにあたって、記憶部におけるスリープモード対応情報を参照し、直近の選択処理において各通信回路に適用されたスリープモードを簡単に確認することができる。 With this configuration, when performing a selection process using the functional unit information of other new functional units, the sleep mode support information in the memory unit can be referenced, and the sleep mode applied to each communication circuit in the most recent selection process can be easily confirmed.

(8)上記(1)から(7)のいずれかにおいて、前記複数の種類のスリープモードは、第1のスリープモードと、前記第1のスリープモードよりも前記通信回路における消費電力が小さい第2のスリープモードとを含んでもよく、前記スリープ制御部は、所定の複数の前記通信回路に適用する前記スリープモードとして前記第2のスリープモードを選択している状態において、前記所定の複数の通信回路のうちの少なくともいずれか1つの前記通信回路に対応する前記通信ポートに前記新規機能部が接続され、かつ前記新規機能部が接続された前記通信ポートに対応する前記通信回路に適用する前記スリープモードとして前記第1のスリープモードを選択した場合、前記所定の複数の通信回路のうちの残りのすべての前記通信回路に適用する前記スリープモードを前記第2のスリープモードから前記第1のスリープモードに変更してもよい。 (8) In any of (1) to (7) above, the multiple types of sleep modes may include a first sleep mode and a second sleep mode that consumes less power in the communication circuit than the first sleep mode, and when the sleep control unit has selected the second sleep mode as the sleep mode to be applied to a predetermined number of the communication circuits, and when the new function unit is connected to the communication port corresponding to at least one of the communication circuits among the predetermined number of communication circuits and the sleep control unit has selected the first sleep mode as the sleep mode to be applied to the communication circuit corresponding to the communication port to which the new function unit is connected, the sleep control unit may change the sleep mode to be applied to all remaining communication circuits among the predetermined number of communication circuits from the second sleep mode to the first sleep mode.

このような構成により、たとえば車載中継装置のハードウェア等の仕様の制約によって複数の通信回路を個別にスリープ制御できない場合、当該複数の通信回路に適用するスリープモードの種類を正しく選択し、スリープ制御をより安定させることができる。 With this configuration, for example, when multiple communication circuits cannot be individually put into sleep mode due to constraints on the specifications of the hardware of the vehicle-mounted repeater, the type of sleep mode to be applied to the multiple communication circuits can be correctly selected, making the sleep control more stable.

(9)本開示の実施の形態に係るスリープ制御方法は、複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路とを備える車載中継装置において用いられるスリープ制御方法であって、1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得するステップと、取得した前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うステップとを含む。 (9) A sleep control method according to an embodiment of the present disclosure is a sleep control method used in an in-vehicle relay device having a plurality of communication ports that can be respectively connected to a plurality of in-vehicle functional units, and a plurality of communication circuits that are provided corresponding to the plurality of communication ports and can communicate with the in-vehicle functional units via the corresponding communication ports, and includes the steps of: when an addition of an in-vehicle functional unit to an in-vehicle network including one or more existing functional units that are the in-vehicle functional units is detected, acquiring functional unit information of the new functional unit that is the in-vehicle functional unit whose addition was detected; and performing a selection process to select from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new functional unit is connected and the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the acquired functional unit information of the new functional unit.

このように、新規機能部の機能部情報に基づいて、新規機能部および既存機能部に対応する通信回路にそれぞれ適用するスリープモードの種類を選択する構成により、車載中継装置のスリープ条件が成立した場合、新規機能部および既存機能部に対応する通信回路をそれぞれ、新規機能部の機能部情報に応じた適切なスリープモードへ遷移させることができる。そのため、車載中継装置のウェイクアップ条件が成立した場合、新規機能部および既存機能部に対応する通信回路のウェイクアップモードへの遷移の遅れを抑制することができる。したがって、新たな構成の車載ネットワークにおける安定した動作を実現することができる。 In this manner, by selecting the type of sleep mode to be applied to the communication circuits corresponding to the new functional unit and the existing functional unit based on the functional unit information of the new functional unit, when the sleep conditions of the in-vehicle relay device are met, the communication circuits corresponding to the new functional unit and the existing functional unit can each be transitioned to an appropriate sleep mode according to the functional unit information of the new functional unit. Therefore, when the wake-up conditions of the in-vehicle relay device are met, delays in transitioning to the wake-up mode of the communication circuits corresponding to the new functional unit and the existing functional unit can be suppressed. Therefore, stable operation can be achieved in the newly configured in-vehicle network.

(10)本開示の実施の形態に係るスリープ制御プログラムは、複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路とを備える車載中継装置において用いられるスリープ制御プログラムであって、コンピュータを、1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得する取得部と、前記取得部によって取得された前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うスリープ制御部、として機能させるためのプログラムである。 (10) A sleep control program according to an embodiment of the present disclosure is a sleep control program used in an in-vehicle relay device having a plurality of communication ports that can be respectively connected to a plurality of in-vehicle functional units, and a plurality of communication circuits that are provided corresponding to the plurality of communication ports and can communicate with the in-vehicle functional units via the corresponding communication ports, and causes a computer to function as an acquisition unit that, when the addition of an in-vehicle functional unit to an in-vehicle network including one or more existing functional units that are the in-vehicle functional units is detected, acquires functional unit information of the new functional unit that is the in-vehicle functional unit whose addition has been detected, and a sleep control unit that performs a selection process that selects from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new functional unit is connected and the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the functional unit information of the new functional unit acquired by the acquisition unit.

このように、新規機能部の機能部情報に基づいて、新規機能部および既存機能部に対応する通信回路にそれぞれ適用するスリープモードの種類を選択する構成により、車載中継装置のスリープ条件が成立した場合、新規機能部および既存機能部に対応する通信回路をそれぞれ、新規機能部の機能部情報に応じた適切なスリープモードへ遷移させることができる。そのため、車載中継装置のウェイクアップ条件が成立した場合、新規機能部および既存機能部に対応する通信回路のウェイクアップモードへの遷移の遅れを抑制することができる。したがって、新たな構成の車載ネットワークにおける安定した動作を実現することができる。 In this manner, by selecting the type of sleep mode to be applied to the communication circuits corresponding to the new functional unit and the existing functional unit based on the functional unit information of the new functional unit, when the sleep conditions of the in-vehicle relay device are met, the communication circuits corresponding to the new functional unit and the existing functional unit can each be transitioned to an appropriate sleep mode according to the functional unit information of the new functional unit. Therefore, when the wake-up conditions of the in-vehicle relay device are met, delays in transitioning to the wake-up mode of the communication circuits corresponding to the new functional unit and the existing functional unit can be suppressed. Therefore, stable operation can be achieved in the newly configured in-vehicle network.

以下、本開示の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。 The following describes embodiments of the present disclosure with reference to the drawings. Note that the same or corresponding parts in the drawings are given the same reference numerals and their description will not be repeated. In addition, at least some of the embodiments described below may be combined in any manner.

[車載通信システム]
図1は、本開示の実施の形態に係る車載通信システムの構成の一例を示す図である。図1を参照して、車載通信システム301は、車載中継装置101と、複数の車載ECU(Electronic Control Unit)201とを備える。車載通信システム301は、車両501に搭載される。車載ECU201は、車両501に搭載される車載機能部の一例である。
[In-vehicle communication system]
Fig. 1 is a diagram showing an example of a configuration of an in-vehicle communication system according to an embodiment of the present disclosure. Referring to Fig. 1, the in-vehicle communication system 301 includes an in-vehicle relay device 101 and a plurality of in-vehicle ECUs (Electronic Control Units) 201. The in-vehicle communication system 301 is mounted on a vehicle 501. The in-vehicle ECU 201 is an example of an in-vehicle function unit mounted on the vehicle 501.

車載ECU201は、たとえば、自動運転ECU、エンジンECU、ドアロック用ECU、およびTCU(Telematics Communication Unit)等である。なお、車載機能部は、車載ECU201に限らず、センサ、ナビゲーション装置、ヒューマンマシンインターフェース、およびカメラ等であってもよい。 The in-vehicle ECU 201 may be, for example, an autonomous driving ECU, an engine ECU, a door lock ECU, a TCU (Telematics Communication Unit), etc. Note that the in-vehicle functional unit is not limited to the in-vehicle ECU 201, but may also be a sensor, a navigation device, a human-machine interface, a camera, etc.

図1に示す例では、車載通信システム301は、複数の車載ECU201として、車載ECU201A,201B,201Cを備える。 In the example shown in FIG. 1, the in-vehicle communication system 301 includes multiple in-vehicle ECUs 201A, 201B, and 201C.

なお、車載通信システム301は、3つの車載ECU201を備える構成に限らず、2つ以上の車載ECU201を備える構成であればよい。 Note that the in-vehicle communication system 301 is not limited to a configuration having three in-vehicle ECUs 201, but may be a configuration having two or more in-vehicle ECUs 201.

車載中継装置101および複数の車載ECU201は、車載ネットワーク401を構成する。 The in-vehicle relay device 101 and the multiple in-vehicle ECUs 201 form an in-vehicle network 401.

以下、車載ネットワーク401に新たに追加される車載機能部を新規機能部とも称する。また、新規機能部を含む車載ネットワーク401を新規ネットワークとも称し、新規機能部が追加される前の車載ネットワーク401を既存ネットワークとも称する。また、既存ネットワークに含まれる車載機能部を既存機能部とも称する。 Hereinafter, the in-vehicle function unit newly added to the in-vehicle network 401 is also referred to as a new function unit. The in-vehicle network 401 including the new function unit is also referred to as a new network, and the in-vehicle network 401 before the new function unit is added is also referred to as an existing network. The in-vehicle function unit included in the existing network is also referred to as an existing function unit.

図1に示す例では、車載ECU201Bは新規機能部の一例であり、車載ECU201A,201Cは既存機能部の一例である。また、図1において、破線の両端矢印は、車載ECU201Bと車載中継装置101とが接続されていない状態であることを示す。 In the example shown in FIG. 1, the in-vehicle ECU 201B is an example of a new functional unit, and the in-vehicle ECUs 201A and 201C are examples of existing functional units. Also, in FIG. 1, the double-ended dashed arrow indicates that the in-vehicle ECU 201B and the in-vehicle relay device 101 are not connected.

車載ECU201A,201B,201Cには、アプリケーション202が搭載されている。より詳細には、アプリケーション202として、車載ECU201Aにはアプリケーション202Aが搭載され、車載ECU201Bにはアプリケーション202A,202Bが搭載され、車載ECU201Cにはアプリケーション202Cが搭載されている。 Application 202 is installed on on-board ECUs 201A, 201B, and 201C. More specifically, as application 202, application 202A is installed on on-board ECU 201A, applications 202A and 202B are installed on on-board ECU 201B, and application 202C is installed on on-board ECU 201C.

車載ネットワーク401において、車載ECU201は、たとえばイーサネット(登録商標)ケーブル11を介して車載中継装置101に接続される。各車載ECU201は、イーサネットケーブル11および車載中継装置101を介して他の車載ECU201に接続される。 In the in-vehicle network 401, the in-vehicle ECU 201 is connected to the in-vehicle relay device 101 via, for example, an Ethernet (registered trademark) cable 11. Each in-vehicle ECU 201 is connected to other in-vehicle ECUs 201 via the Ethernet cable 11 and the in-vehicle relay device 101.

車載中継装置101は、たとえばスイッチ装置であり、自己に接続される複数の車載ECU201間のデータを中継する中継処理を行う。 The in-vehicle relay device 101 is, for example, a switch device, and performs relay processing to relay data between multiple in-vehicle ECUs 201 connected to it.

より詳細には、車載中継装置101は、たとえばイーサネットの通信規格に従って、イーサネットケーブル11を介して接続された車載ECU201間でやり取りされるイーサネットフレーム(以下、単に「フレーム」とも称する。)の中継処理を行う。 More specifically, the in-vehicle relay device 101 performs relay processing of Ethernet frames (hereinafter also simply referred to as "frames") exchanged between in-vehicle ECUs 201 connected via an Ethernet cable 11, for example, in accordance with the Ethernet communication standard.

なお、車載通信システム301では、イーサネットの通信規格に従ってフレームの中継処理が行われる構成に限らず、たとえば、CAN(Controller Area Network)(登録商標)、CAN FD(CAN with Flexible Data Rate)、FlexRay(登録商標)、MOST(Media Oritend System Transport)(登録商標)およびLIN(Local Interconnect Network)等の通信規格に従ってフレームの中継が行われる構成であってもよい。 Note that the in-vehicle communication system 301 is not limited to a configuration in which frame relay processing is performed according to the Ethernet communication standard, but may be a configuration in which frame relay is performed according to a communication standard such as CAN (Controller Area Network) (registered trademark), CAN FD (CAN with Flexible Data Rate), FlexRay (registered trademark), MOST (Media Oriented System Transport) (registered trademark), and LIN (Local Interconnect Network).

[車載中継装置]
図2は、本開示の実施の形態に係る車載中継装置の構成の一例を示す図である。図1および図2を参照して、車載中継装置101は、複数の通信ポート51と、複数の通信回路52と、スイッチIC(Integrated Circuit)53と、処理部54と、記憶部55とを備える。
[In-vehicle relay device]
2 is a diagram showing an example of a configuration of an in-vehicle relay device according to an embodiment of the present disclosure. With reference to FIG. 1 and FIG. 2, the in-vehicle relay device 101 includes a plurality of communication ports 51, a plurality of communication circuits 52, a switch IC (Integrated Circuit) 53, a processing unit 54, and a storage unit 55.

処理部54は、判断部71と、スリープ制御部72と、検知部73と、取得部74とを含む。処理部54は、たとえば、1または複数のプロセッサを含む処理回路(Circuitry)により実現される。記憶部55は、たとえば上記処理回路に含まれる不揮発性メモリである。 The processing unit 54 includes a determination unit 71, a sleep control unit 72, a detection unit 73, and an acquisition unit 74. The processing unit 54 is realized, for example, by a processing circuit including one or more processors. The storage unit 55 is, for example, a non-volatile memory included in the processing circuit.

複数の通信ポート51は、複数の車載ECU201をそれぞれ接続可能である。通信ポート51は、たとえば、イーサネットケーブル11を接続可能な端子である。 The multiple communication ports 51 can respectively connect to multiple in-vehicle ECUs 201. The communication ports 51 are terminals to which, for example, Ethernet cables 11 can be connected.

より詳細には、車載中継装置101は、複数の通信ポート51として、4つの通信ポート51A,51B,51C,51Dを備える。車載中継装置101において、通信ポート51A,51B,51Cには、車載ECU201A,201B,201Cがイーサネットケーブル11を介してそれぞれ接続される。 More specifically, the vehicle-mounted relay device 101 has four communication ports 51A, 51B, 51C, and 51D as the multiple communication ports 51. In the vehicle-mounted relay device 101, the vehicle-mounted ECUs 201A, 201B, and 201C are connected to the communication ports 51A, 51B, and 51C, respectively, via the Ethernet cables 11.

複数の通信回路52は、複数の通信ポート51にそれぞれ対応して設けられる。より詳細には、車載中継装置101は、複数の通信回路52として、4つの通信回路52A,52B,52C,52Dを備える。通信回路52A,52B,52C,52Dは、通信ポート51A,51B,51C,51Dにそれぞれ対応して設けられる。 The multiple communication circuits 52 are provided corresponding to the multiple communication ports 51, respectively. More specifically, the vehicle-mounted relay device 101 has four communication circuits 52A, 52B, 52C, and 52D as the multiple communication circuits 52. The communication circuits 52A, 52B, 52C, and 52D are provided corresponding to the communication ports 51A, 51B, 51C, and 51D, respectively.

通信回路52は、対応する通信ポート51を介して車載ECU201と通信可能である。より詳細には、通信回路52Aは、通信ポート51Aを介して車載ECU201Aと通信可能であり、通信回路52Bは、通信ポート51Bを介して車載ECU201Bと通信可能であり、通信回路52Cは、通信ポート51Cを介して車載ECU201Cと通信可能である。 The communication circuits 52 can communicate with the on-board ECU 201 via the corresponding communication ports 51. More specifically, the communication circuit 52A can communicate with the on-board ECU 201A via the communication port 51A, the communication circuit 52B can communicate with the on-board ECU 201B via the communication port 51B, and the communication circuit 52C can communicate with the on-board ECU 201C via the communication port 51C.

図2に示す例では、車載中継装置101は、スイッチIC53を備える。スイッチIC53は、通信回路52A,52Bと、スイッチ部61とを含む。 In the example shown in FIG. 2, the vehicle relay device 101 includes a switch IC 53. The switch IC 53 includes communication circuits 52A and 52B and a switch unit 61.

このように、通信回路52A,52Bは、スイッチIC53の内部に設けられている。すなわち、通信回路52A,52Bは、スイッチIC53に内蔵されている。一方、通信回路52Cは、スイッチIC53の外部に設けられている。すなわち、通信回路52Cは、スイッチIC53に外付けされている。 In this way, the communication circuits 52A and 52B are provided inside the switch IC 53. That is, the communication circuits 52A and 52B are built into the switch IC 53. On the other hand, the communication circuit 52C is provided outside the switch IC 53. That is, the communication circuit 52C is external to the switch IC 53.

なお、通信回路52A,52Bは、スイッチIC53に内蔵される構成に限らず、スイッチIC53に外付けされてもよい。また、通信回路52C,52Dは、スイッチIC53に外付けされる構成に限らず、スイッチIC53に内蔵されてもよい。 The communication circuits 52A and 52B are not limited to being built into the switch IC 53, but may be externally attached to the switch IC 53. The communication circuits 52C and 52D are not limited to being externally attached to the switch IC 53, but may be built into the switch IC 53.

また、スイッチIC53に内蔵される通信回路52は、2つの通信回路52A,52Bである構成に限らず、1つまたは3つ以上の通信回路52がスイッチIC53に内蔵されてもよい。また、スイッチIC53に外付けされる通信回路52は、2つの通信回路52C,52Dである構成に限らず、1つまたは3つ以上の通信回路52がスイッチIC53に外付けされてもよい。 The communication circuit 52 built into the switch IC 53 is not limited to the two communication circuits 52A and 52B, and one or three or more communication circuits 52 may be built into the switch IC 53. The communication circuit 52 attached externally to the switch IC 53 is not limited to the two communication circuits 52C and 52D, and one or three or more communication circuits 52 may be attached externally to the switch IC 53.

スイッチIC53は、たとえばL2スイッチとして動作する。スイッチIC53におけるスイッチ部61は、車載ECU201間で送受信されるフレームを中継する。 The switch IC 53 operates, for example, as an L2 switch. The switch unit 61 in the switch IC 53 relays frames transmitted and received between the in-vehicle ECUs 201.

より詳細には、通信回路52は、対応する通信ポート51に接続された車載ECU201から他の車載ECU201を宛先とするフレームを受信すると、受信したフレームをスイッチ部61へ出力する。 More specifically, when the communication circuit 52 receives a frame addressed to another vehicle ECU 201 from an vehicle ECU 201 connected to the corresponding communication port 51, the communication circuit 52 outputs the received frame to the switch unit 61.

記憶部55には、宛先MAC(Media Access Control)アドレスと通信ポート51との対応関係を示すアドレステーブルが保存されている。 The memory unit 55 stores an address table that shows the correspondence between destination MAC (Media Access Control) addresses and communication ports 51.

スイッチ部61は、通信回路52から車載ECU201を宛先とするフレームを受けると、記憶部55におけるアドレステーブルを参照し、当該フレームに含まれる宛先MACアドレスに対応する通信ポート51を特定する。そして、スイッチ部61は、通信回路52から受けたフレームを、特定した通信ポート51に対応する通信回路52および当該通信ポート51経由で宛先の車載ECU201へ送信する。 When the switch unit 61 receives a frame addressed to the vehicle-mounted ECU 201 from the communication circuit 52, it refers to the address table in the memory unit 55 and identifies the communication port 51 that corresponds to the destination MAC address included in the frame. The switch unit 61 then transmits the frame received from the communication circuit 52 to the destination vehicle-mounted ECU 201 via the communication circuit 52 that corresponds to the identified communication port 51 and the communication port 51.

通信回路52は、対応する通信ポート51を介して接続された車載ECU201から、車載中継装置101を宛先とするフレームを受信すると、受信したフレームをスイッチ部61へ出力する。スイッチ部61は、通信回路52から受けたフレームを処理部54へ出力する。 When the communication circuit 52 receives a frame addressed to the vehicle relay device 101 from the vehicle ECU 201 connected via the corresponding communication port 51, the communication circuit 52 outputs the received frame to the switch unit 61. The switch unit 61 outputs the frame received from the communication circuit 52 to the processing unit 54.

処理部54は、車載ECU201を宛先とするフレームを作成し、作成したフレームをスイッチ部61へ出力する。スイッチ部61は、処理部54からフレームを受けると、記憶部55に保存されているアドレステーブルを参照し、当該フレームに含まれる宛先MACアドレスに対応する通信ポート51を特定する。そして、スイッチ部61は、処理部54から受けたフレームを、特定した通信ポート51に対応する通信回路52および当該通信ポート51経由で宛先の車載ECU201へ送信する。 The processing unit 54 creates a frame addressed to the in-vehicle ECU 201 and outputs the created frame to the switch unit 61. When the switch unit 61 receives a frame from the processing unit 54, it refers to the address table stored in the memory unit 55 and identifies the communication port 51 that corresponds to the destination MAC address included in the frame. The switch unit 61 then transmits the frame received from the processing unit 54 to the destination in-vehicle ECU 201 via the communication circuit 52 that corresponds to the identified communication port 51 and the communication port 51.

スイッチ部61は、たとえば、複数の通信回路52にそれぞれ接続される図示しない複数の端子を含む。各端子には、固有のポート番号が割り当てられている。 The switch unit 61 includes, for example, multiple terminals (not shown) that are respectively connected to multiple communication circuits 52. Each terminal is assigned a unique port number.

(スリープモードおよびウェイクアップモード)
車載中継装置101および車載ECU201は、ウェイクアップモードからスリープモードへ遷移し、また、スリープモードからウェイクアップモードへ遷移する。車載中継装置101および車載ECU201は、ウェイクアップモードにおいて、車載通信システム301における他の装置と通信を行い、スリープモードにおいて、車載通信システム301における他の装置との通信を停止する。ここで、スリープモードとは、装置の一部の機能の停止、装置への電力供給の停止、または装置におけるクロック周波数の低下等により、ウェイクアップモードよりも消費電力が小さいモードである。
(Sleep and wake-up modes)
The vehicle-mounted relay device 101 and the vehicle-mounted ECU 201 transition from a wake-up mode to a sleep mode, and also transition from the sleep mode to the wake-up mode. In the wake-up mode, the vehicle-mounted relay device 101 and the vehicle-mounted ECU 201 communicate with other devices in the vehicle-mounted communication system 301, and in the sleep mode, they stop communicating with other devices in the vehicle-mounted communication system 301. Here, the sleep mode is a mode that consumes less power than the wake-up mode due to the stopping of some functions of the device, the stopping of the power supply to the device, or a decrease in the clock frequency in the device, etc.

たとえば、車載中継装置101および車載ECU201の各々において、スリープモードへ遷移するための条件であるスリープ条件と、ウェイクアップモードへ遷移するための条件であるウェイクアップ条件とが予め設定されている。 For example, in each of the in-vehicle relay device 101 and the in-vehicle ECU 201, a sleep condition, which is a condition for transitioning to a sleep mode, and a wake-up condition, which is a condition for transitioning to a wake-up mode, are set in advance.

たとえば、スリープ条件は、車両501がイグニッションオフになること、および車両501が駐停車すること等である。また、たとえば、ウェイクアップ条件は、車両501がイグニッションオンになること、および車両501が走行を開始すること等である。 For example, the sleep condition is that the ignition of the vehicle 501 is turned off, that the vehicle 501 is parked, etc. Also, for example, the wake-up condition is that the ignition of the vehicle 501 is turned on, that the vehicle 501 starts moving, etc.

図3は、本開示の実施の形態に係る車載通信システムにおけるスリープ処理のシーケンスの一例を示す図である。図3に示す「装置A」および「装置B」は、車載中継装置101または車載ECU201である。 Figure 3 is a diagram showing an example of a sleep processing sequence in an in-vehicle communication system according to an embodiment of the present disclosure. "Device A" and "Device B" shown in Figure 3 are the in-vehicle relay device 101 and the in-vehicle ECU 201.

図3を参照して、まず、装置Aおよび装置Bは、ウェイクアップモードにおいて(ステップS11およびS12)、たとえば、AUTOSAR(AUTomotive Open System ARchitecture)(登録商標)に従うNM(Network Management)メッセージが格納されたフレームを車載通信システム301における各装置へ送信する。具体的には、装置Aおよび装置Bは、死活監視のために、NMメッセージが格納されたフレームを各装置へブロードキャストする(ステップS13およびS14)。 Referring to FIG. 3, first, in the wake-up mode (steps S11 and S12), device A and device B transmit a frame containing an NM (Network Management) message conforming to, for example, AUTOSAR (AUTOmotive Open System ARCHitecture) (registered trademark) to each device in the in-vehicle communication system 301. Specifically, device A and device B broadcast a frame containing an NM message to each device for alive monitoring (steps S13 and S14).

次に、装置Aは、ウェイクアップモードにおいて自己のスリープ条件が成立した場合(ステップS15)、NMメッセージの送信を停止する(ステップS16)。 Next, when device A's sleep conditions are met in wake-up mode (step S15), it stops sending NM messages (step S16).

また、装置Bは、ウェイクアップモードにおいて自己のスリープ条件が成立した場合(ステップS17)、NMメッセージの送信を停止する(ステップS18)。 In addition, when device B is in wake-up mode and its sleep conditions are met (step S17), it stops sending NM messages (step S18).

次に、装置Aおよび装置Bは、NMメッセージの送信を停止してから所定時間が経過するまでの間に車載通信システム301における他の装置からNMメッセージを受信しなかった場合、スリープモードへ遷移する(ステップS19)。 Next, if device A and device B do not receive an NM message from another device in the in-vehicle communication system 301 within a predetermined time period after stopping the transmission of the NM message, they transition to sleep mode (step S19).

このように、NMメッセージを用いて装置Aおよび装置Bの状態をウェイクアップモードからスリープモードへ切り替えることにより、装置Aおよび装置Bの消費電力を低減することができる。 In this way, by using NM messages to switch the states of device A and device B from wake-up mode to sleep mode, the power consumption of device A and device B can be reduced.

なお、装置Aおよび装置Bは、スリープモードにおいて(ステップS19)、自己のウェイクアップ条件が成立した場合、ウェイクアップモードへ遷移し、NMメッセージの定期的な送信を開始する。また、装置Aおよび装置Bは、スリープモードにおいて(ステップS19)、車載通信システム301における他の装置からウェイクアップ要求を受信した場合、ウェイクアップモードへ遷移する。 When device A and device B are in the sleep mode (step S19) and their own wake-up conditions are met, they transition to the wake-up mode and start periodically sending NM messages. When device A and device B are in the sleep mode (step S19) and receive a wake-up request from another device in the in-vehicle communication system 301, they transition to the wake-up mode.

(判断部)
再び図2を参照して、車載中継装置101における判断部71は、通信回路52のスリープ条件の成否、および通信回路52のウェイクアップ条件の成否を判断する。
(Judgment Department)
2 again, the determination unit 71 in the vehicle-mounted relay device 101 determines whether the sleep condition of the communication circuit 52 is met and whether the wake-up condition of the communication circuit 52 is met.

より詳細には、判断部71は、車両501の状態を監視し、監視結果に基づいて、通信回路52のスリープ条件の成否、および通信回路52のウェイクアップ条件の成否を判断する判断処理を行う。判断部71は、たとえば定期的に判断処理を行い、判断結果をスリープ制御部72に通知する。 More specifically, the judgment unit 71 monitors the state of the vehicle 501, and performs a judgment process to judge whether the sleep conditions of the communication circuit 52 are met and whether the wake-up conditions of the communication circuit 52 are met based on the monitoring results. The judgment unit 71 performs the judgment process periodically, for example, and notifies the sleep control unit 72 of the judgment results.

(スリープ制御部)
スリープ制御部72は、通信回路52をスリープモードへ遷移させる。また、スリープ制御部72は、通信回路52をウェイクアップモードへ遷移させる。
(Sleep control unit)
The sleep control unit 72 transitions the communication circuit 52 to a sleep mode, and also transitions the communication circuit 52 to a wake-up mode.

より詳細には、スリープ制御部72は、通信回路52の動作モードがウェイクアップモードであり、かつ判断部71からスリープ条件が成立した旨の通知を受けた場合、通信回路52をスリープモードへ遷移させる。 More specifically, when the operation mode of the communication circuit 52 is the wake-up mode and the sleep control unit 72 receives a notification from the judgment unit 71 that the sleep conditions have been met, the sleep control unit 72 transitions the communication circuit 52 to the sleep mode.

スリープ制御部72は、通信回路52の動作モードがスリープモードであり、かつ判断部71からウェイクアップ条件が成立した旨の通知を受けた場合、通信回路52をウェイクアップモードへ遷移させる。 When the operation mode of the communication circuit 52 is the sleep mode and the sleep control unit 72 receives a notification from the judgment unit 71 that the wake-up condition has been met, the sleep control unit 72 transitions the communication circuit 52 to the wake-up mode.

また、スリープ制御部72は、車載ECU201からウェイクアップ要求を通信ポート51、通信回路52およびスイッチ部61経由で受信した場合、スリープモードで動作する通信回路52をウェイクアップモードへ遷移させる。以下、車載ECU201が車載中継装置101へ送信するウェイクアップ要求を、「ウェイクアップ要求W1」とも称する。 When the sleep control unit 72 receives a wake-up request from the in-vehicle ECU 201 via the communication port 51, the communication circuit 52, and the switch unit 61, the sleep control unit 72 transitions the communication circuit 52, which is operating in the sleep mode, to the wake-up mode. Hereinafter, the wake-up request that the in-vehicle ECU 201 sends to the in-vehicle relay device 101 is also referred to as the "wake-up request W1."

そして、車載中継装置101および車載ECU201は、各種情報を含むフレームをやり取りすることにより、互いの通信接続を確立する。 The vehicle relay device 101 and the vehicle ECU 201 then establish a communication connection between each other by exchanging frames containing various information.

また、スリープ制御部72は、車載ECU201をウェイクアップモードへ遷移させる制御を行う。より詳細には、たとえば、スリープ制御部72は、スリープモードで動作する車載ECU201がウェイクアップ対象の車載ECU201である場合、ウェイクアップ要求をスイッチIC53および通信ポート51経由で当該車載ECU201へ送信する。以下、車載中継装置101が車載ECU201へ送信するウェイクアップ要求を、「ウェイクアップ要求W2」とも称する。 The sleep control unit 72 also controls the in-vehicle ECU 201 to transition to the wake-up mode. More specifically, for example, when the in-vehicle ECU 201 operating in the sleep mode is the in-vehicle ECU 201 to be woken up, the sleep control unit 72 transmits a wake-up request to the in-vehicle ECU 201 via the switch IC 53 and the communication port 51. Hereinafter, the wake-up request transmitted by the in-vehicle relay device 101 to the in-vehicle ECU 201 is also referred to as a "wake-up request W2."

車載ECU201は、車載中継装置101からウェイクアップ要求W2を受信すると、ウェイクアップモードへ遷移する。 When the in-vehicle ECU 201 receives a wake-up request W2 from the in-vehicle relay device 101, it transitions to the wake-up mode.

車載ECU201に搭載されているすべてのアプリケーション202は、当該車載ECU201の動作モードがスリープモードである場合、動作を停止している。車載ECU201は、車載通信システム301における他の装置からアプリケーション202の起動要求を受信した場合、自己に搭載されているアプリケーション202のうち、起動要求において指定されているアプリケーション202を起動させる。 When the operation mode of the in-vehicle ECU 201 is the sleep mode, all applications 202 installed in the in-vehicle ECU 201 are stopped. When the in-vehicle ECU 201 receives a request to start an application 202 from another device in the in-vehicle communication system 301, the in-vehicle ECU 201 starts the application 202 specified in the start request from among the applications 202 installed in the in-vehicle ECU 201.

(ライトスリープモードおよびディープスリープモード)
スリープ制御部72は、通信回路52をライトスリープモードまたはディープスリープモードに遷移させる。ライトスリープモードは第1のスリープモードの一例であり、ディープスリープモードは第2のスリープモードの一例である。なお、「第1の」および「第2の」の記載は、優先順位を意味するものではない。
(Light sleep mode and deep sleep mode)
The sleep control unit 72 transitions the communication circuit 52 to a light sleep mode or a deep sleep mode. The light sleep mode is an example of a first sleep mode, and the deep sleep mode is an example of a second sleep mode. Note that the descriptions "first" and "second" do not imply a priority order.

より詳細には、車載中継装置101は、通信回路52に電力を供給可能な図示しない複数の電力供給ラインを含む。たとえば、車載中継装置101は、電圧が12Vである電力供給ラインと、電圧が3Vである電力供給ラインとを含む。 More specifically, the vehicle-mounted relay device 101 includes multiple power supply lines (not shown) that can supply power to the communication circuit 52. For example, the vehicle-mounted relay device 101 includes a power supply line with a voltage of 12 V and a power supply line with a voltage of 3 V.

たとえば、通信回路52の動作モードがライトスリープモードである場合、複数の電力供給ラインのすべてが通信回路52に接続されており、通信回路52の動作モードがディープスリープモードである場合、複数の電力供給ラインのうちのいずれか1つの電力供給ラインは通信回路52と遮断されている。すなわち、ディープスリープモードは、ライトスリープモードよりも通信回路52における消費電力が小さいスリープモードである。 For example, when the operation mode of the communication circuit 52 is the light sleep mode, all of the multiple power supply lines are connected to the communication circuit 52, and when the operation mode of the communication circuit 52 is the deep sleep mode, one of the multiple power supply lines is disconnected from the communication circuit 52. In other words, the deep sleep mode is a sleep mode in which the power consumption of the communication circuit 52 is smaller than that of the light sleep mode.

また、たとえば、通信回路52は、自己の動作モードがライトスリープモードで場合、対応する通信ポート51を介して接続された車載ECU201とのデータの送受信を停止する。あるいは、処理部54は、通信回路52の動作モードがライトスリープモードで場合、通信回路52の図示しないレジスタの値をリードする等の一部の処理を行うことは可能である一方で、通信回路52との間で他の処理を行うことはできない。 For example, when the operation mode of the communication circuit 52 is the light sleep mode, the communication circuit 52 stops sending and receiving data to and from the in-vehicle ECU 201 connected via the corresponding communication port 51. Alternatively, when the operation mode of the communication circuit 52 is the light sleep mode, the processing unit 54 can perform some processing, such as reading the values of a register (not shown) of the communication circuit 52, but cannot perform other processing with the communication circuit 52.

ここで、記憶部55は、複数の通信回路52にそれぞれ適用するスリープモードを示すスリープモード対応情報を記憶する。より詳細には、記憶部55は、スリープモード対応情報を含む通信回路テーブルTb1を記憶する。 Here, the memory unit 55 stores sleep mode compatibility information that indicates the sleep mode to be applied to each of the multiple communication circuits 52. More specifically, the memory unit 55 stores a communication circuit table Tb1 that includes the sleep mode compatibility information.

スリープ制御部72は、通信回路52の動作モードがウェイクアップモードであり、かつ判断部71からスリープ条件が成立した旨の通知を受けた場合、記憶部55における通信回路テーブルTb1を参照し、通信回路52に適用するスリープモードを決定する。そして、スリープ制御部72は、決定したスリープモードへ通信回路52を遷移させる。 When the operation mode of the communication circuit 52 is the wake-up mode and the sleep control unit 72 receives a notification from the judgment unit 71 that the sleep conditions are met, the sleep control unit 72 refers to the communication circuit table Tb1 in the storage unit 55 and determines the sleep mode to be applied to the communication circuit 52. Then, the sleep control unit 72 transitions the communication circuit 52 to the determined sleep mode.

図4は、本開示の実施の形態に係る車載中継装置が保存する通信回路テーブルの一例を示す図である。 Figure 4 shows an example of a communication circuit table stored by an in-vehicle relay device according to an embodiment of the present disclosure.

図4は、既存ネットワークにおける車載中継装置101の記憶部55に保存されている通信回路テーブルTb1の一例を示している。図4に示す例では、通信回路テーブルTb1において、通信回路52A,52Cに適用するスリープモードの種類として、ディープスリープモードが登録されている。 Figure 4 shows an example of a communication circuit table Tb1 stored in the memory unit 55 of the vehicle-mounted relay device 101 in an existing network. In the example shown in Figure 4, deep sleep mode is registered in the communication circuit table Tb1 as the type of sleep mode to be applied to the communication circuits 52A and 52C.

そのため、既存ネットワークにおいて、スリープ制御部72は、通信回路52A,52Cの動作モードがウェイクアップモードであり、かつ判断部71からスリープ条件が成立した旨の通知を受けた場合、通信回路52A,52Cをディープスリープモードへ遷移させる。 Therefore, in an existing network, when the operation mode of the communication circuits 52A and 52C is the wake-up mode and the sleep control unit 72 receives a notification from the judgment unit 71 that the sleep conditions have been met, the sleep control unit 72 transitions the communication circuits 52A and 52C to the deep sleep mode.

また、図4に示す例では、通信回路テーブルTb1において、車載ECU201が接続されていない通信ポート51B,51Dにそれぞれ対応する通信回路52B,52Dに適用するスリープモードの種類として、ディープスリープモードが初期値として登録されている。なお、図4に示す「車載ECUのID」および「機能部情報」については、後述する。 In the example shown in FIG. 4, the deep sleep mode is registered as the initial value in the communication circuit table Tb1 as the type of sleep mode to be applied to the communication circuits 52B, 52D corresponding to the communication ports 51B, 51D to which the in-vehicle ECU 201 is not connected. The "ID of the in-vehicle ECU" and "functional unit information" shown in FIG. 4 will be described later.

(検知部)
検知部73は、車載ネットワーク401への新規機能部の追加を検知する。ここでは、検知部73は、ユーザにより通信ポート51Bに接続された車載ECU201Bを検知する。
(Detection unit)
The detection unit 73 detects the addition of a new functional unit to the in-vehicle network 401. Here, the detection unit 73 detects the in-vehicle ECU 201B that has been connected to the communication port 51B by the user.

より詳細には、たとえば、車載ECU201Bは、通信ポート51Bに接続されると、車載ネットワーク401における通信接続を要求するための接続要求情報を車載中継装置101へ送信する。 More specifically, for example, when the in-vehicle ECU 201B is connected to the communication port 51B, it transmits connection request information to the in-vehicle relay device 101 to request a communication connection in the in-vehicle network 401.

検知部73は、車載ECU201Bから接続要求情報をスイッチIC53経由で受信すると、当該接続要求情報に含まれるIDおよび認証用パスワードを用いて、当該車載ECU201Bの認証処理を行う。 When the detection unit 73 receives connection request information from the in-vehicle ECU 201B via the switch IC 53, it performs authentication processing of the in-vehicle ECU 201B using the ID and authentication password included in the connection request information.

検知部73は、車載ECU201Bの認証に成功すると、認証が成功した旨を示す認証成功情報を含むフレームをスイッチIC53経由で車載ECU201Bへ送信する。 When the detection unit 73 successfully authenticates the in-vehicle ECU 201B, it transmits a frame including authentication success information indicating that the authentication was successful to the in-vehicle ECU 201B via the switch IC 53.

検知部73は、上記のように新規機能部の認証に成功すると、たとえば新規機能部のIDおよび新規機能部に対応するポート番号等を示す検知情報を取得部74へ出力する。 When the detection unit 73 succeeds in authenticating the new functional unit as described above, it outputs detection information indicating, for example, the ID of the new functional unit and the port number corresponding to the new functional unit to the acquisition unit 74.

車載中継装置101および新規機能部は、検知部73による車載ECU201Bの認証処理が成功すると、たとえば定期的にNMメッセージの送受信を行う。 When the detection unit 73 successfully authenticates the in-vehicle ECU 201B, the in-vehicle relay device 101 and the new function unit transmit and receive NM messages, for example, periodically.

なお、検知部73は、たとえば定期的に、新規機能部を検知するための探索メッセージをスイッチIC53経由でブロードキャストする構成であってもよい。この場合、新規機能部は、当該探索メッセージを受信し、受信した探索メッセージに対する応答として接続要求情報を送信する。 The detection unit 73 may be configured to periodically broadcast a search message to detect the new function unit via the switch IC 53. In this case, the new function unit receives the search message and transmits connection request information in response to the received search message.

[課題の説明]
ディープスリープモードは、電力供給ラインの遮断を伴うことから、ライトスリープモードと比べてウェイクアップモードへ遷移するまでに要する時間が長い。
[Problem Description]
The deep sleep mode involves cutting off the power supply line, and therefore takes a longer time to transition to the wake-up mode than the light sleep mode.

車載通信システム301では、各アプリケーション202が起動するまでの許容時間(以下、「ウェイクアップ許容時間」とも称する。)が設定されている。 In the in-vehicle communication system 301, the allowable time until each application 202 starts (hereinafter also referred to as the "wake-up allowable time") is set.

図5は、本開示の実施の形態に係る車載通信システムにおける各アプリケーションのウェイクアップ許容時間の一例を示す図である。 Figure 5 shows an example of the allowable wake-up time for each application in an in-vehicle communication system according to an embodiment of the present disclosure.

図5に示す例では、アプリケーション202Aのウェイクアップ許容時間は「100ms」であり、アプリケーション202Bのウェイクアップ許容時間は「10ms」であり、アプリケーション202Cのウェイクアップ許容時間は「100ms」である。すなわち、図5に示す例では、アプリケーション202A,202Cのウェイクアップ許容時間は、アプリケーション202Bのウェイクアップ許容時間よりも長い。 In the example shown in FIG. 5, the allowable wake-up time for application 202A is "100 ms", the allowable wake-up time for application 202B is "10 ms", and the allowable wake-up time for application 202C is "100 ms". In other words, in the example shown in FIG. 5, the allowable wake-up time for applications 202A and 202C is longer than the allowable wake-up time for application 202B.

ウェイクアップ許容時間の長いアプリケーション202Aが搭載された車載ECU201A,201Bは、通信回路52A,52Bとそれぞれ通信する。また、ウェイクアップ許容時間の長いアプリケーション202Cが搭載された車載ECU201Cは、通信回路52Cと通信する。そのため、通信回路52A,52B,52Cには、ディープスリープモードを適用することが考えられる。 On-board ECUs 201A and 201B equipped with application 202A having a long allowable wake-up time communicate with communication circuits 52A and 52B, respectively. On-board ECU 201C equipped with application 202C having a long allowable wake-up time communicates with communication circuit 52C. For this reason, it is considered to apply a deep sleep mode to communication circuits 52A, 52B, and 52C.

しかしながら、図1および図2に示す例では、車載ECU201Bには、アプリケーション202Bが搭載されている。アプリケーション202Bのウェイクアップ許容時間は、アプリケーション202Aのウェイクアップ許容時間よりも短い。ここで、スリープ制御部72が、ディープスリープモードで動作する通信回路52Bをウェイクアップモードへ遷移させる場合を考える。この場合、通信回路52Bがウェイクアップモードへ遷移するまでに要する時間が、アプリケーション202Aのウェイクアップ許容時間を超えない場合でも、アプリケーション202Bのウェイクアップ許容時間「10ms」を超える場合、新規ネットワークにおける動作が不安定になる。具体的には、車載ECU201Bは、自己に搭載されたアプリケーション202Bの起動要求を送信した他の車載ECU201と車載中継装置101を介して通信できない可能性がある。 However, in the example shown in FIG. 1 and FIG. 2, the in-vehicle ECU 201B is equipped with the application 202B. The wake-up allowable time of the application 202B is shorter than the wake-up allowable time of the application 202A. Now consider a case where the sleep control unit 72 transitions the communication circuit 52B operating in the deep sleep mode to the wake-up mode. In this case, even if the time required for the communication circuit 52B to transition to the wake-up mode does not exceed the wake-up allowable time of the application 202A, if the wake-up allowable time of the application 202B exceeds "10 ms", the operation in the new network becomes unstable. Specifically, the in-vehicle ECU 201B may not be able to communicate with another in-vehicle ECU 201 that has transmitted a request to start the application 202B equipped in the in-vehicle ECU 201B via the in-vehicle relay device 101.

また、スリープ制御部72は、たとえば、車載中継装置101のハードウェア等の仕様の制約によって、スイッチIC53に内蔵される通信回路52A,52Bを個別にスリープ制御することができない。すなわち、車載中継装置101において、通信回路52A,52Bに共通のスリープモードを適用する必要がある。 In addition, due to constraints on the specifications of the hardware of the in-vehicle relay device 101, the sleep control unit 72 cannot individually control the sleep states of the communication circuits 52A and 52B built into the switch IC 53. In other words, in the in-vehicle relay device 101, it is necessary to apply a common sleep mode to the communication circuits 52A and 52B.

図1に示す例では、既存ネットワークにおいて、通信回路52Aに対応する通信ポート51Aには、ウェイクアップ許容時間の長いアプリケーション202Aが搭載された車載ECU201Aが接続されている一方で、通信回路52Bに対応する通信ポート51Bには、車載ECU201Bが接続されていない。そのため、図4に示す例では、スリープ制御部72は、既存ネットワークにおいて、通信回路52A,52Bに適用する共通のスリープモードとして、ディープスリープモードを選択している。 In the example shown in FIG. 1, in the existing network, the communication port 51A corresponding to the communication circuit 52A is connected to the in-vehicle ECU 201A equipped with the application 202A with a long wake-up allowable time, while the communication port 51B corresponding to the communication circuit 52B is not connected to the in-vehicle ECU 201B. Therefore, in the example shown in FIG. 4, the sleep control unit 72 selects the deep sleep mode as the common sleep mode to be applied to the communication circuits 52A and 52B in the existing network.

しかしながら、新規ネットワークにおいて、車載ECU201Bには、アプリケーション202Aに加えて、アプリケーション202Aよりもウェイクアップ許容時間の短いアプリケーション202Bが搭載されている。そのため、スリープ制御部72が、ディープスリープモードで動作する通信回路52Bをウェイクアップモードへ遷移させる場合、上述したように、通信回路52Bがウェイクアップモードへ遷移するまでに要する時間が、アプリケーション202Aのウェイクアップ許容時間を超えない場合でも、アプリケーション202Bのウェイクアップ許容時間を超える場合、新規ネットワークにおける動作が不安定になる。 However, in the new network, in addition to application 202A, application 202B, which has a shorter wake-up allowable time than application 202A, is mounted on in-vehicle ECU 201B. Therefore, when sleep control unit 72 transitions communication circuit 52B, which operates in deep sleep mode, to wake-up mode, as described above, even if the time required for communication circuit 52B to transition to the wake-up mode does not exceed the wake-up allowable time of application 202A, if it exceeds the wake-up allowable time of application 202B, operation in the new network becomes unstable.

これに対して、本開示の実施の形態に係る車載中継装置101は、以下のような構成および動作により、このような課題を解決する。 In response to this, the vehicle-mounted relay device 101 according to the embodiment of the present disclosure solves this problem through the following configuration and operation.

(取得部)
再び図1および図2を参照して、取得部74は、既存機能部の識別情報を取得する。以下では、既存機能部の識別情報として、車載ECU201A,201B,201CのIDがそれぞれ「ID1-A」,「ID1-B」,「ID1-C」であるものとする。
(Acquisition Department)
1 and 2 again, the acquisition unit 74 acquires the identification information of the existing functional units. In the following, it is assumed that the IDs of the in-vehicle ECUs 201A, 201B, and 201C are “ID1-A”, “ID1-B”, and “ID1-C”, respectively, as the identification information of the existing functional units.

より詳細には、取得部74は、たとえば、定期的または不定期に、既存機能部の識別情報を要求するための情報要求通知をスイッチIC53経由で既存機能部へ送信する。既存機能部は、車載中継装置101から受信した情報要求通知に対する応答として、自己のIDを車載中継装置101へ送信する。 More specifically, the acquisition unit 74, for example, periodically or irregularly transmits an information request notification to the existing functional unit via the switch IC 53 to request identification information of the existing functional unit. The existing functional unit transmits its own ID to the in-vehicle relay device 101 in response to the information request notification received from the in-vehicle relay device 101.

取得部74は、既存機能部の識別情報をスイッチIC53経由で受信すると、記憶部55に保存されている通信回路テーブルTb1において、識別情報を受信した通信ポート51に対応する通信回路52に既存機能部の識別情報を対応付けて登録する。 When the acquisition unit 74 receives the identification information of the existing functional unit via the switch IC 53, it registers the identification information of the existing functional unit in the communication circuit table Tb1 stored in the memory unit 55, by associating the identification information with the communication circuit 52 corresponding to the communication port 51 that received the identification information.

再び図4を参照して、通信回路52Aと通信する車載ECU201のIDは、「ID1-A」であり、通信回路52Cと通信する車載ECU201のIDは、「ID1-C」である。 Referring again to FIG. 4, the ID of the in-vehicle ECU 201 that communicates with the communication circuit 52A is "ID1-A," and the ID of the in-vehicle ECU 201 that communicates with the communication circuit 52C is "ID1-C."

取得部74は、既存機能部の機能部情報を取得する。より詳細には、たとえば、取得部74は、定期的または不定期に、既存機能部の機能部情報を要求するための情報要求通知をスイッチIC53経由で既存機能部へ送信する。既存機能部は、車載中継装置101から受信した情報要求通知に対する応答として、自己の機能部情報を車載中継装置101へ送信する。 The acquisition unit 74 acquires functional part information of the existing functional part. More specifically, for example, the acquisition unit 74 periodically or irregularly transmits an information request notification to the existing functional part via the switch IC 53 to request the functional part information of the existing functional part. The existing functional part transmits its own functional part information to the vehicle-mounted relay device 101 in response to the information request notification received from the vehicle-mounted relay device 101.

取得部74は、既存機能部の機能部情報をスイッチIC53経由で受信すると、記憶部55に保存されている通信回路テーブルTb1において、既存機能部が接続された通信ポート51に対応する通信回路52に既存機能部の機能部情報を対応付けて登録する。このように、記憶部55は、既存機能部が接続された通信ポート51に対応する通信回路52と既存機能部の機能部情報との対応関係を示す機能対応情報を記憶する。言い換えれば、通信回路テーブルTb1は、機能対応情報を含む。 When the acquisition unit 74 receives the function part information of the existing functional unit via the switch IC 53, it registers the function part information of the existing functional unit in association with the communication circuit 52 corresponding to the communication port 51 to which the existing functional unit is connected in the communication circuit table Tb1 stored in the storage unit 55. In this way, the storage unit 55 stores function correspondence information indicating the correspondence relationship between the communication circuit 52 corresponding to the communication port 51 to which the existing functional unit is connected and the function part information of the existing functional unit. In other words, the communication circuit table Tb1 includes function correspondence information.

既存機能部の機能部情報は、既存機能部に搭載されたアプリケーションに関するアプリケーション情報を含む。具体的には、アプリケーション情報は、アプリケーション202の種類に関する情報と、ウェイクアップ許容時間に関する情報とを含む。アプリケーション202の種類に関する情報は、たとえばアプリケーション202のID(以下、「アプリケーションID」とも称する。)を含む。 The functional unit information of the existing functional unit includes application information related to the application installed in the existing functional unit. Specifically, the application information includes information related to the type of application 202 and information related to the allowable wake-up time. The information related to the type of application 202 includes, for example, the ID of application 202 (hereinafter also referred to as "application ID").

以下では、アプリケーション202A,202B,202CのIDがそれぞれ「ID2-A」,「ID2-B」,「ID2-C」であるものとする。 In the following, the IDs of applications 202A, 202B, and 202C are assumed to be "ID2-A", "ID2-B", and "ID2-C", respectively.

図4に示す例では、車載ECU201Aの機能部情報が通信回路52Aに対応付けられている。具体的には、通信回路52Aと通信する車載ECU201のアプリケーションIDが「ID2-A」であり、ウェイクアップ許容時間が「100ms」である。車載ECU201Cの機能部情報が通信回路52Cに対応付けられている。具体的には、通信回路52Cと通信する車載ECU201のアプリケーションIDが「ID2-C」であり、ウェイクアップ許容時間が「100ms」である。 In the example shown in FIG. 4, the functional unit information of the in-vehicle ECU 201A is associated with the communication circuit 52A. Specifically, the application ID of the in-vehicle ECU 201 that communicates with the communication circuit 52A is "ID2-A", and the wake-up allowable time is "100 ms". The functional unit information of the in-vehicle ECU 201C is associated with the communication circuit 52C. Specifically, the application ID of the in-vehicle ECU 201 that communicates with the communication circuit 52C is "ID2-C", and the wake-up allowable time is "100 ms".

なお、取得部74は、既存機能部の識別情報および機能部情報が記憶部55に予め保存されている場合、記憶部55から既存機能部の識別情報および機能部情報を取得してもよい。 In addition, if the identification information and functional unit information of the existing functional unit are stored in advance in the storage unit 55, the acquisition unit 74 may acquire the identification information and functional unit information of the existing functional unit from the storage unit 55.

取得部74は、既存機能部を含む車載ネットワーク401、すなわち既存ネットワークへの車載ECU201の追加が検知された場合、追加を検知された新規機能部の機能部情報を取得する。 When the addition of the in-vehicle ECU 201 to the in-vehicle network 401 including the existing functional unit, i.e., the existing network, is detected, the acquisition unit 74 acquires functional unit information of the new functional unit whose addition is detected.

たとえば、取得部74は、検知部73から検知情報を受けると、検知情報に含まれるポート番号を参照し、新規機能部が接続された通信ポート51を特定する。そして、取得部74は、新規機能部の機能部情報を要求するための情報要求通知をスイッチIC53および特定した通信ポート51経由で新規機能部へ送信する。新規機能部は、車載中継装置101から受信した当該情報要求通知に対する応答として、自己の機能部情報を車載中継装置101へ送信する。 For example, when the acquisition unit 74 receives detection information from the detection unit 73, it references the port number included in the detection information and identifies the communication port 51 to which the new functional unit is connected. The acquisition unit 74 then transmits an information request notification to the new functional unit via the switch IC 53 and the identified communication port 51 to request functional unit information of the new functional unit. The new functional unit transmits its own functional unit information to the vehicle-mounted relay device 101 in response to the information request notification received from the vehicle-mounted relay device 101.

新規機能部の機能部情報は、新規機能部に搭載されたアプリケーションに関するアプリケーション情報を含む。新規機能部は、自己に1つのアプリケーション202が搭載されている場合、アプリケーション情報として、当該アプリケーション202のIDを含む情報とウェイクアップ許容時間に関する情報とを車載中継装置101へ送信する。 The functional unit information of the new functional unit includes application information related to the application installed in the new functional unit. If the new functional unit is equipped with one application 202, the new functional unit transmits, as application information, information including the ID of the application 202 and information related to the allowable wake-up time to the vehicle relay device 101.

一方、新規機能部は、自己に複数のアプリケーション202が搭載されている場合、アプリケーション情報として、各アプリケーション202のIDを含む情報を車載中継装置101へ送信する。また、新規機能部は、自己に複数のアプリケーション202が搭載されている場合、アプリケーション情報として、値が最も小さいウェイクアップ許容時間に関する情報を車載中継装置101へ送信する。 On the other hand, if the new function unit is equipped with multiple applications 202, it transmits information including the ID of each application 202 as application information to the in-vehicle relay device 101. Also, if the new function unit is equipped with multiple applications 202, it transmits information regarding the smallest value of the wake-up allowable time as application information to the in-vehicle relay device 101.

取得部74は、新規機能部の機能部情報を取得した場合、記憶部55における機能対応情報に、新規機能部が接続された通信ポート51に対応する通信回路52と新規機能部の機能部情報との対応関係を登録する更新処理を行う。 When the acquisition unit 74 acquires the function part information of the new function part, it performs an update process to register the correspondence relationship between the communication circuit 52 corresponding to the communication port 51 to which the new function part is connected and the function part information of the new function part in the function correspondence information in the storage unit 55.

より詳細には、取得部74は、車載ECU201Bの機能部情報を取得した場合、記憶部55に保存されている通信回路テーブルTb1において、通信回路52Bに車載ECU201Bの機能部情報を対応付けて登録する。取得部74は、更新処理を完了した場合、更新処理を完了した旨を示す更新完了通知をスリープ制御部72へ出力する。 More specifically, when the acquisition unit 74 acquires the functional part information of the in-vehicle ECU 201B, the acquisition unit 74 registers the functional part information of the in-vehicle ECU 201B in association with the communication circuit 52B in the communication circuit table Tb1 stored in the storage unit 55. When the acquisition unit 74 completes the update process, it outputs an update completion notification indicating that the update process has been completed to the sleep control unit 72.

図6は、本開示の実施の形態に係る車載中継装置による更新処理後の通信回路テーブルの一例を示す図である。 Figure 6 shows an example of a communication circuit table after update processing by an in-vehicle relay device according to an embodiment of the present disclosure.

図6を参照して、通信回路52Bと通信する車載ECU201のアプリケーションIDが「ID2-A,ID2-B」であり、ウェイクアップ許容時間が「10ms」である。 Referring to FIG. 6, the application ID of the in-vehicle ECU 201 that communicates with the communication circuit 52B is "ID2-A, ID2-B" and the wake-up allowable time is "10 ms."

また、取得部74は、検知部73から検知情報を受けると、当該検知情報に含まれる新規機能部のIDを通信回路テーブルTb1に登録する。 In addition, when the acquisition unit 74 receives detection information from the detection unit 73, it registers the ID of the new function unit contained in the detection information in the communication circuit table Tb1.

より詳細には、取得部74は、検知部73から検知情報を受けると、検知情報に含まれるポート番号を参照し、新規機能部と通信する通信回路52を特定する。そして、取得部74は、記憶部55に保存されている通信回路テーブルTb1において、特定した通信回路52に新規機能部のIDを対応付けて登録する。 More specifically, when the acquisition unit 74 receives detection information from the detection unit 73, the acquisition unit 74 refers to the port number included in the detection information and identifies the communication circuit 52 that communicates with the new function unit. Then, the acquisition unit 74 registers the ID of the new function unit in association with the identified communication circuit 52 in the communication circuit table Tb1 stored in the storage unit 55.

図6に示す例では、通信回路52Bと通信する車載ECU201のIDは、「ID1-B」である。 In the example shown in FIG. 6, the ID of the in-vehicle ECU 201 that communicates with the communication circuit 52B is "ID1-B."

(スリープモードの選択)
再び図1および図2を参照して、スリープ制御部72は、取得部74によって取得された新規機能部の機能部情報に基づいて、新規機能部が接続された通信ポート51に対応する通信回路52と既存機能部が接続された通信ポート51に対応する通信回路52とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行う。
(Sleep mode selection)
Referring again to Figures 1 and 2, the sleep control unit 72 performs a selection process to select from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit 52 corresponding to the communication port 51 to which the new functional unit is connected and the communication circuit 52 corresponding to the communication port 51 to which the existing functional unit is connected, based on the functional unit information of the new functional unit acquired by the acquisition unit 74.

より詳細には、記憶部55には、条件テーブルTb2が保存されている。条件テーブルTb2は、スリープ制御部72が、通信回路52に適用するスリープモードの種類としてディープスリープモードを選択するか否かを判定するためのテーブルである。 More specifically, the memory unit 55 stores a condition table Tb2. The condition table Tb2 is a table for the sleep control unit 72 to determine whether or not to select the deep sleep mode as the type of sleep mode to be applied to the communication circuit 52.

スリープ制御部72は、取得部74から更新完了通知を受けると、記憶部55における更新処理後の通信回路テーブルTb1に基づいて、選択処理を行う。 When the sleep control unit 72 receives an update completion notification from the acquisition unit 74, it performs a selection process based on the communication circuit table Tb1 after the update process in the memory unit 55.

図7は、本開示の実施の形態に係る車載中継装置が保存する条件テーブルの一例を示す図である。 Figure 7 shows an example of a condition table stored by an in-vehicle relay device according to an embodiment of the present disclosure.

図7を参照して、条件テーブルTb2には、たとえば、アプリケーション202の種類および数に関する条件である「条件1」と、ウェイクアップ許容時間に関する条件である「条件2」とが登録されている。条件1は、スイッチIC53に内蔵される通信回路52A,52Bに適用するスリープモードの種類としてディープスリープモードを選択するか否かを判定するための条件である。条件2は、通信回路52A,52B,52C,52Dに適用するスリープモードの種類としてディープスリープモードを選択するか否かを判定するための条件である。 Referring to FIG. 7, condition table Tb2 stores, for example, "Condition 1," which is a condition related to the type and number of applications 202, and "Condition 2," which is a condition related to the wake-up allowable time. Condition 1 is a condition for determining whether to select deep sleep mode as the type of sleep mode to be applied to communication circuits 52A and 52B built into switch IC 53. Condition 2 is a condition for determining whether to select deep sleep mode as the type of sleep mode to be applied to communication circuits 52A, 52B, 52C, and 52D.

スリープ制御部72は、条件1または条件2を用いて選択処理を行う。以下、スリープ制御部72が選択処理において用いる判定条件を、「ディープスリープ適用条件」とも称する。 The sleep control unit 72 performs the selection process using condition 1 or condition 2. Hereinafter, the judgment condition used by the sleep control unit 72 in the selection process is also referred to as the "deep sleep application condition."

たとえば、スリープ制御部72は、条件1を用いた選択処理において、既存機能部に搭載されるアプリケーション202の種類と新規機能部に搭載されるアプリケーション202の種類とが一致し、かつ既存機能部に搭載されるアプリケーション202の数と新規機能部に搭載されるアプリケーション202の数とが一致する場合、通信回路52A,52Bに適用するスリープモードの種類としてディープスリープモードを選択する。 For example, in the selection process using condition 1, if the type of application 202 installed in the existing functional unit matches the type of application 202 installed in the new functional unit, and the number of applications 202 installed in the existing functional unit matches the number of applications 202 installed in the new functional unit, the sleep control unit 72 selects the deep sleep mode as the type of sleep mode to be applied to the communication circuits 52A and 52B.

図7に示す例では、条件1として、「対応するアプリケーションIDが同じであれば、ディープスリープモードを選択」が登録されている。スリープ制御部72は、通信回路52Aと通信する車載ECU201AのアプリケーションIDと、通信回路52Bと通信する車載ECU201BのアプリケーションIDとが一致する場合、通信回路52A,52Bに適用するスリープモードの種類としてディープスリープモードを選択する。 In the example shown in FIG. 7, "If the corresponding application IDs are the same, select deep sleep mode" is registered as condition 1. If the application ID of the in-vehicle ECU 201A that communicates with the communication circuit 52A matches the application ID of the in-vehicle ECU 201B that communicates with the communication circuit 52B, the sleep control unit 72 selects deep sleep mode as the type of sleep mode to be applied to the communication circuits 52A and 52B.

一方、スリープ制御部72は、通信回路52Aと通信する車載ECU201AのアプリケーションIDと、通信回路52Bと通信する車載ECU201BのアプリケーションIDとが一致しない場合、通信回路52A,52Bに適用するスリープモードの種類としてライトスリープモードを選択する。 On the other hand, if the application ID of the in-vehicle ECU 201A that communicates with the communication circuit 52A does not match the application ID of the in-vehicle ECU 201B that communicates with the communication circuit 52B, the sleep control unit 72 selects the light sleep mode as the type of sleep mode to be applied to the communication circuits 52A and 52B.

図7に示す例では、通信回路52Aと通信する車載ECU201AのアプリケーションIDは「ID-A」である一方で、通信回路52Bと通信する車載ECU201BのアプリケーションIDは「ID-A,ID-B」である。すなわち、車載ECU201Aに搭載されるアプリケーション202の数と車載ECU201Bに搭載されるアプリケーション202の数とが一致しない。そのため、スリープ制御部72は、通信回路52A,52Bに適用するスリープモードの種類としてライトスリープモードを選択する。 In the example shown in FIG. 7, the application ID of the in-vehicle ECU 201A that communicates with the communication circuit 52A is "ID-A", while the application ID of the in-vehicle ECU 201B that communicates with the communication circuit 52B is "ID-A, ID-B". In other words, the number of applications 202 mounted on the in-vehicle ECU 201A does not match the number of applications 202 mounted on the in-vehicle ECU 201B. Therefore, the sleep control unit 72 selects the light sleep mode as the type of sleep mode to be applied to the communication circuits 52A and 52B.

より詳細には、スリープ制御部72は、通信回路テーブルTb1において、「通信回路52A」および「通信回路52B」に適用するスリープモードの種類を「ディープスリープモード」から「ライトスリープモード」に変更する。 More specifically, the sleep control unit 72 changes the type of sleep mode applied to "communication circuit 52A" and "communication circuit 52B" in the communication circuit table Tb1 from "deep sleep mode" to "light sleep mode."

スリープ制御部72は、条件2を用いた選択処理において、通信回路52と通信する車載ECU201のウェイクアップ許容時間が所定の閾値以上である場合、当該通信回路に適用するスリープモードの種類としてディープスリープモードを選択する。 In the selection process using condition 2, if the wake-up allowable time of the in-vehicle ECU 201 communicating with the communication circuit 52 is equal to or greater than a predetermined threshold, the sleep control unit 72 selects the deep sleep mode as the type of sleep mode to be applied to the communication circuit.

図7に示す例では、条件2として、「対応するウェイクアップ許容時間が100ms以上であれば、ディープスリープモードを選択」が登録されている。具体的には、スリープ制御部72は、通信回路52と通信する車載ECU201のウェイクアップ許容時間が100ms以上である場合、通信回路52に適用するスリープモードの種類としてディープスリープモードを選択する。 In the example shown in FIG. 7, "If the corresponding wake-up allowable time is 100 ms or more, select deep sleep mode" is registered as condition 2. Specifically, if the wake-up allowable time of the in-vehicle ECU 201 that communicates with the communication circuit 52 is 100 ms or more, the sleep control unit 72 selects deep sleep mode as the type of sleep mode to be applied to the communication circuit 52.

図7に示す例では、通信回路52Bと通信する車載ECU201Bのウェイクアップ許容時間「10ms」は、100msよりも短い。そのため、スリープ制御部72は、通信回路52Bに適用するスリープモードの種類としてライトスリープモードを選択する。 In the example shown in FIG. 7, the wake-up allowable time of "10 ms" of the in-vehicle ECU 201B that communicates with the communication circuit 52B is shorter than 100 ms. Therefore, the sleep control unit 72 selects the light sleep mode as the type of sleep mode to be applied to the communication circuit 52B.

上述したように、たとえば、スリープ制御部72は、既存ネットワークにおいて、スイッチIC53に内蔵される通信回路52A,52Bに適用するスリープモードの種類として、ディープスリープモードを登録している状態(以下、「モード初期状態」とも称する。)である。 As described above, for example, the sleep control unit 72 is in a state in which the deep sleep mode is registered as the type of sleep mode to be applied to the communication circuits 52A and 52B built into the switch IC 53 in the existing network (hereinafter also referred to as the "mode initial state").

図6および図7に示す例では、上述したように、スリープ制御部72は、モード初期状態において、スイッチIC53に内蔵される複数の通信回路52のうちの少なくともいずれか1つの通信回路52、すなわち通信回路52Bに対応する通信ポート51Bに新規機能部が接続された場合、通信回路52Bに適用するスリープモードの種類としてライトスリープモードを選択する。この場合、スリープ制御部は、スイッチIC53に内蔵される残りのすべての通信回路52、すなわち通信回路52Aに適用するスリープモードの種類をディープスリープモードからライトスリープモードに変更する。 In the examples shown in Figures 6 and 7, as described above, in the initial mode state, when a new function unit is connected to at least one of the multiple communication circuits 52 built into the switch IC 53, i.e., the communication port 51B corresponding to the communication circuit 52B, the sleep control unit 72 selects the light sleep mode as the type of sleep mode to be applied to the communication circuit 52B. In this case, the sleep control unit changes the type of sleep mode to be applied to all remaining communication circuits 52 built into the switch IC 53, i.e., the communication circuit 52A, from the deep sleep mode to the light sleep mode.

具体的には、スリープ制御部72は、通信回路テーブルTb1において、「通信回路52A」および「通信回路52B」に適用するスリープモードの種類を「ディープスリープモード」から「ライトスリープモード」に変更する。 Specifically, the sleep control unit 72 changes the type of sleep mode applied to "communication circuit 52A" and "communication circuit 52B" in the communication circuit table Tb1 from "deep sleep mode" to "light sleep mode."

<動作の流れ>
図8は、本開示の実施の形態に係る車載中継装置による選択処理の動作手順を定めたフローチャートである。
<Operation flow>
FIG. 8 is a flowchart defining an operation procedure of a selection process by the vehicle-mounted relay device according to the embodiment of the present disclosure.

図8を参照して、まず、車載中継装置101は、既存機能部が複数の通信ポート51のうちの一部に接続されている状態において、スリープモード対応情報を通信回路テーブルTb11に登録する。ここでは、既存機能部は、通信ポート51A,51Cに接続されているものとする。また、通信回路テーブルTb11において、通信回路52A,52B,52C,52Dに適用するスリープモードの種類として、ディープスリープモードが登録されているものとする(ステップS101)。 Referring to FIG. 8, first, the vehicle relay device 101 registers sleep mode support information in the communication circuit table Tb11 when the existing functional unit is connected to one of the multiple communication ports 51. Here, it is assumed that the existing functional unit is connected to communication ports 51A and 51C. It is also assumed that deep sleep mode is registered in the communication circuit table Tb11 as the type of sleep mode to be applied to communication circuits 52A, 52B, 52C, and 52D (step S101).

次に、車載中継装置101は、車載ネットワーク401への新規機能部の追加を待ち受け(ステップS102においてNO)、新規機能部の追加を検知すると(ステップS102においてYES)、検知した新規機能部の機能部情報を取得する(ステップS103)。 Next, the in-vehicle relay device 101 waits for the addition of a new functional unit to the in-vehicle network 401 (NO in step S102), and when it detects the addition of a new functional unit (YES in step S102), it acquires the functional unit information of the detected new functional unit (step S103).

次に、車載中継装置101は、機能対応情報を更新する。たとえば、上述したように、車載中継装置101は、新規機能部の機能部情報を取得すると、記憶部55に保存されている通信回路テーブルTb1において、新規機能部が接続された通信ポート51に新規機能部の機能部情報を対応付けて登録する(ステップS104)。 Next, the in-vehicle relay device 101 updates the function correspondence information. For example, as described above, when the in-vehicle relay device 101 acquires the function part information of the new function part, it registers the function part information of the new function part in the communication circuit table Tb1 stored in the memory unit 55 in association with the communication port 51 to which the new function part is connected (step S104).

次に、車載中継装置101は、記憶部55における通信回路テーブルTb1および条件テーブルTb2を参照し、ディープスリープ適用条件を満たす場合(ステップS105においてYES)、新規機能部が接続された通信ポート51に対応する通信回路52と既存機能部が接続された通信ポート51に対応する通信回路とにそれぞれ適用するスリープモードの種類としてディープスリープモードを選択する(ステップS106)。 Next, the vehicle relay device 101 refers to the communication circuit table Tb1 and the condition table Tb2 in the memory unit 55, and if the deep sleep application conditions are met (YES in step S105), it selects the deep sleep mode as the type of sleep mode to be applied to the communication circuit 52 corresponding to the communication port 51 to which the new functional unit is connected and the communication circuit corresponding to the communication port 51 to which the existing functional unit is connected (step S106).

一方、車載中継装置101は、ディープスリープ適用条件を満たさない場合(ステップS105においてNO)、新規機能部が接続された通信ポート51に対応する通信回路52と既存機能部が接続された通信ポート51に対応する通信回路52とにそれぞれ適用するスリープモードの種類としてライトスリープモードを選択する(ステップS107)。 On the other hand, if the deep sleep application conditions are not met (NO in step S105), the in-vehicle relay device 101 selects the light sleep mode as the type of sleep mode to be applied to the communication circuit 52 corresponding to the communication port 51 to which the new functional unit is connected and the communication circuit 52 corresponding to the communication port 51 to which the existing functional unit is connected (step S107).

次に、車載中継装置101は、通信回路テーブルTb1に含まれるスリープモード対応情報を変更する。たとえば、上述したように、車載中継装置101は、各通信回路52に適用するスリープモードの種類としてライトスリープモードを選択した場合、通信回路テーブルTb1において、「通信回路52A」および「通信回路52B」に適用するスリープモードの種類を「ディープスリープモード」から「ライトスリープモード」に変更する(ステップS108)。 Next, the vehicle-mounted repeater 101 changes the sleep mode support information contained in the communication circuit table Tb1. For example, as described above, when the vehicle-mounted repeater 101 selects the light sleep mode as the type of sleep mode to be applied to each communication circuit 52, the vehicle-mounted repeater 101 changes the type of sleep mode to be applied to "communication circuit 52A" and "communication circuit 52B" in the communication circuit table Tb1 from "deep sleep mode" to "light sleep mode" (step S108).

また、車載中継装置101は、選択処理後において、車載ネットワーク401における他の新規機能部の追加を検知した場合、選択処理を新たに行う。 In addition, if the in-vehicle relay device 101 detects the addition of another new functional unit to the in-vehicle network 401 after the selection process, it performs a new selection process.

より詳細には、図1および図2を参照して、取得部74は、車載ネットワーク401に他の新規機能部が追加された場合、他の新規機能部の機能部情報を取得する。スリープ制御部72は、取得部74によって取得された他の新規機能部の機能部情報および記憶部55における通信回路テーブルTb1に含まれるスリープ対応情報に基づいて、選択処理を行う。 More specifically, referring to FIG. 1 and FIG. 2, when another new functional unit is added to the in-vehicle network 401, the acquisition unit 74 acquires functional unit information of the other new functional unit. The sleep control unit 72 performs a selection process based on the functional unit information of the other new functional unit acquired by the acquisition unit 74 and the sleep support information included in the communication circuit table Tb1 in the storage unit 55.

具体的には、取得部74は、通信ポート51Dに接続された車載ECU201の検知情報を検知部73から受信すると、当該車載ECU201の機能部情報を取得する。 Specifically, when the acquisition unit 74 receives detection information of the in-vehicle ECU 201 connected to the communication port 51D from the detection unit 73, it acquires functional part information of the in-vehicle ECU 201.

取得部74は、通信ポート51Dに接続された車載ECU201の機能部情報を取得すると、記憶部55に保存されている通信回路テーブルTb1において、通信ポート51Dに対応する通信回路52に当該車載ECU201の機能部情報を対応付けて登録する。そして、スリープ制御部72は、記憶部55における通信回路テーブルTb1および条件テーブルTb2を用いて選択処理を新たに行う。 When the acquisition unit 74 acquires the functional part information of the in-vehicle ECU 201 connected to the communication port 51D, the acquisition unit 74 registers the functional part information of the in-vehicle ECU 201 in association with the communication circuit 52 corresponding to the communication port 51D in the communication circuit table Tb1 stored in the memory unit 55. The sleep control unit 72 then performs a new selection process using the communication circuit table Tb1 and the condition table Tb2 in the memory unit 55.

図9は、本開示の実施の形態に係る車載中継装置におけるスリープ制御の動作手順を定めたフローチャートである。 Figure 9 is a flowchart that defines the operation procedure of sleep control in an in-vehicle relay device according to an embodiment of the present disclosure.

図9を参照して、まず、車載中継装置101は、自己のスリープ条件が成立するまで(ステップS202においてNO)、ウェイクアップモードで動作する(ステップS201)。 Referring to FIG. 9, first, the vehicle relay device 101 operates in wake-up mode (step S201) until its sleep condition is met (NO in step S202).

次に、車載中継装置101は、自己のスリープ条件が成立すると(ステップS202においてYES)、記憶部55における通信回路テーブルTb1を参照し、各通信回路52に適用するスリープモードを決定する(ステップS203)。 Next, when the vehicle relay device 101's own sleep condition is met (YES in step S202), it refers to the communication circuit table Tb1 in the memory unit 55 and determines the sleep mode to be applied to each communication circuit 52 (step S203).

次に、車載中継装置101は、決定したスリープモードへ各通信回路52を遷移させ、自己のウェイクアップ条件が成立するまで(ステップS205においてNO)、スリープモードを維持する(ステップS204)。 Next, the vehicle relay device 101 transitions each communication circuit 52 to the determined sleep mode and maintains the sleep mode (step S204) until its own wake-up condition is met (NO in step S205).

次に、車載中継装置101は、自己のウェイクアップ条件が成立すると(ステップS205においてYES)、各通信回路52をウェイクアップモードへ遷移させる(ステップS201)。 Next, when the vehicle relay device 101's own wake-up condition is met (YES in step S205), it transitions each communication circuit 52 to the wake-up mode (step S201).

図10は、本開示の実施の形態に係る車載通信システムにおけるスリープ制御のシーケンスの一例を示す図である。以下、車載中継装置101において、既存機能部が通信ポート51A,51Cに接続されている場合におけるスリープ制御の例について説明する。 Figure 10 is a diagram showing an example of a sequence of sleep control in an in-vehicle communication system according to an embodiment of the present disclosure. Below, an example of sleep control in the in-vehicle relay device 101 when existing functional units are connected to communication ports 51A and 51C is described.

図10を参照して、まず、車載中継装置101は、既存機能部が通信ポート51A,51Cに接続されている状態において、スリープモード対応情報を通信回路テーブルTb1に登録する。ここでは、通信回路テーブルTb1において、通信回路52A,52B,52C,52Dに適用するスリープモードの種類としてディープスリープモードが登録されているものとする(ステップS301)。 Referring to FIG. 10, first, the vehicle relay device 101 registers sleep mode support information in the communication circuit table Tb1 when the existing functional units are connected to the communication ports 51A and 51C. Here, it is assumed that the deep sleep mode is registered in the communication circuit table Tb1 as the type of sleep mode to be applied to the communication circuits 52A, 52B, 52C, and 52D (step S301).

次に、車載ネットワーク401に追加された新規機能部は、接続要求情報を車載中継装置101へ送信する。ここでは、新規機能部は、通信ポート51Bに接続されたものとする(ステップS302)。 Next, the new functional unit added to the in-vehicle network 401 transmits connection request information to the in-vehicle relay device 101. Here, it is assumed that the new functional unit is connected to the communication port 51B (step S302).

次に、車載中継装置101は、新規機能部から接続要求情報を受信すると、新規機能部を検知し、当該新規機能部の認証処理を行う(ステップS303)。 Next, when the in-vehicle relay device 101 receives connection request information from the new function unit, it detects the new function unit and performs authentication processing for the new function unit (step S303).

次に、車載中継装置101は、新規機能部の認証に成功すると、認証成功情報を新規機能部へ送信する(ステップS304)。 Next, if the in-vehicle relay device 101 successfully authenticates the new function unit, it transmits authentication success information to the new function unit (step S304).

次に、車載中継装置101は、新規機能部の機能部情報を要求するための情報要求通知を新規機能部へ送信する(ステップS305)。 Next, the in-vehicle relay device 101 sends an information request notification to the new functional unit to request functional unit information about the new functional unit (step S305).

次に、新規機能部は、情報要求通知に対する応答として、新規機能部の機能部情報を車載中継装置101へ送信する(ステップS306)。 Next, the new functional unit transmits the functional unit information of the new functional unit to the vehicle relay device 101 in response to the information request notification (step S306).

次に、車載中継装置101は、新規機能部の機能部情報を取得すると、機能対応情報を更新する更新処理を行う。たとえば、上述したように、車載中継装置101は、記憶部55における通信回路テーブルTb1において、新規機能部が接続された通信ポート51に対応する通信回路52に新規機能部の機能部情報を対応付けて登録する(ステップS307)。 Next, when the in-vehicle relay device 101 acquires the function part information of the new function part, it performs an update process to update the function correspondence information. For example, as described above, the in-vehicle relay device 101 registers the function part information of the new function part in the communication circuit table Tb1 in the memory unit 55 by associating it with the communication circuit 52 corresponding to the communication port 51 to which the new function part is connected (step S307).

次に、車載中継装置101は、更新処理後の機能対応情報に基づいて、新規機能部が接続された通信ポート51に対応する通信回路52と既存機能部が接続された通信ポート51に対応する通信回路52とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行う。ここでは、車載中継装置101は、通信回路52A,52Bに適用するスリープモードの種類をディープスリープモードからライトスリープモードに変更し、通信回路52C,52Dに適用するスリープモードの種類としてディープスリープモードを維持したものとする(ステップS308)。 Next, based on the function support information after the update process, the vehicle-mounted repeater 101 performs a selection process to select from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit 52 corresponding to the communication port 51 to which the new functional unit is connected and the communication circuit 52 corresponding to the communication port 51 to which the existing functional unit is connected. Here, the vehicle-mounted repeater 101 changes the type of sleep mode to be applied to the communication circuits 52A and 52B from deep sleep mode to light sleep mode, and maintains the deep sleep mode as the type of sleep mode to be applied to the communication circuits 52C and 52D (step S308).

次に、既存機能部、車載中継装置101および新規機能部のスリープ条件が成立すると(ステップS309)、既存機能部は、スリープモードへ遷移する(ステップS310)。 Next, when the sleep conditions of the existing functional unit, the vehicle relay device 101, and the new functional unit are met (step S309), the existing functional unit transitions to sleep mode (step S310).

また、車載中継装置101は、選択処理によって選択したスリープモードへ各通信回路52を遷移させる。より詳細には、車載中継装置101は、通信回路52A,52Bをライトスリープモードへ遷移させ、通信回路52C,52Dをディープモードへ遷移させる(ステップS311)。また、新規機能部は、スリープモードへ遷移する(ステップS312)。 The vehicle-mounted relay device 101 also transitions each communication circuit 52 to the sleep mode selected by the selection process. More specifically, the vehicle-mounted relay device 101 transitions the communication circuits 52A and 52B to the light sleep mode and transitions the communication circuits 52C and 52D to the deep mode (step S311). The new function unit also transitions to the sleep mode (step S312).

次に、新規機能部は、自己のウェイクアップ条件が成立して、ウェイクアップモードへ遷移すると(ステップS313)、ウェイクアップ要求W1を車載中継装置101へ送信する(ステップS314)。 Next, when the new function unit's wake-up condition is met and the unit transitions to the wake-up mode (step S313), the new function unit transmits a wake-up request W1 to the vehicle relay device 101 (step S314).

次に、車載中継装置101は、新規機能部からウェイクアップ要求W1を受信すると、新規機能部に対応する通信回路52をウェイクアップモードへ遷移させる。ここでは、車載中継装置101におけるスリープ制御部72は、通信回路52Bをウェイクアップモードへ遷移させる(ステップS315)。 Next, when the in-vehicle relay device 101 receives a wake-up request W1 from the new function unit, it transitions the communication circuit 52 corresponding to the new function unit to the wake-up mode. Here, the sleep control unit 72 in the in-vehicle relay device 101 transitions the communication circuit 52B to the wake-up mode (step S315).

次に、車載中継装置101は、ウェイクアップ要求W2を既存機能部へ送信する(ステップS316)。 Next, the in-vehicle relay device 101 sends a wake-up request W2 to the existing functional unit (step S316).

次に、既存機能部は、車載中継装置101からウェイクアップ要求W2を受信すると、ウェイクアップモードへ遷移する(ステップS317)。 Next, when the existing functional unit receives a wake-up request W2 from the vehicle relay device 101, it transitions to the wake-up mode (step S317).

次に、新規機能部および既存機能部は、互いに通信を行う。たとえば、車載中継装置101における通信回路52は、対応する通信ポート51を介して新規機能部から既存機能部を宛先とするフレームを受信すると、受信したフレームをスイッチ部61へ出力する。スイッチ部61は、通信回路52から受けたフレームを宛先の既存機能部へ送信する(ステップS318)。 The new functional unit and the existing functional unit then communicate with each other. For example, when the communication circuit 52 in the in-vehicle relay device 101 receives a frame addressed to the existing functional unit from the new functional unit via the corresponding communication port 51, it outputs the received frame to the switch unit 61. The switch unit 61 transmits the frame received from the communication circuit 52 to the addressed existing functional unit (step S318).

なお、本開示の実施の形態に係る車載中継装置101において、スリープ制御部72は、選択処理において、新規機能部および既存機能部に対応する通信回路52にそれぞれ適用するスリープモードの種類を2つのスリープモードの中から選択する構成であるとしたが、これに限定するものではない。スリープ制御部72は、選択処理において、新規機能部および既存機能部に対応する通信回路52にそれぞれ適用するスリープモードの種類を3つ以上のスリープモードの中から選択する構成であってもよい。 In the vehicle relay device 101 according to the embodiment of the present disclosure, the sleep control unit 72 is configured to select from two sleep modes as the type of sleep mode to be applied to the communication circuits 52 corresponding to the new functional unit and the existing functional unit, respectively, in the selection process, but this is not limited to this. The sleep control unit 72 may be configured to select from three or more sleep modes as the type of sleep mode to be applied to the communication circuits 52 corresponding to the new functional unit and the existing functional unit, respectively, in the selection process.

なお、本開示の実施の形態に係る車載中継装置101において、取得部74は、新規機能部の機能部情報として、新規機能部のアプリケーション情報を取得する構成であるとしたが、これに限定するものではない。たとえば、取得部74は、新規機能部の機能部情報として、新規機能部のハードウェア情報を取得してもよい。 In the vehicle-mounted relay device 101 according to the embodiment of the present disclosure, the acquisition unit 74 is configured to acquire application information of the new functional unit as the functional unit information of the new functional unit, but this is not limited to this. For example, the acquisition unit 74 may acquire hardware information of the new functional unit as the functional unit information of the new functional unit.

また、本開示の実施の形態に係る車載中継装置101において、取得部74は、アプリケーション情報として、アプリケーション202の種類に関する情報およびウェイクアップ許容時間に関する情報を取得する構成であるとしたが、これに限定するものではない。たとえば、取得部74は、アプリケーション情報として、アプリケーション202のハードウェア的な制約に関する情報を取得してもよい。 In addition, in the in-vehicle relay device 101 according to the embodiment of the present disclosure, the acquisition unit 74 is configured to acquire information regarding the type of application 202 and information regarding the allowable wake-up time as the application information, but this is not limited to this. For example, the acquisition unit 74 may acquire information regarding hardware constraints of the application 202 as the application information.

また、本開示の実施の形態に係る車載中継装置101において、取得部74は、既存機能部の機能部情報および新機機能部の機能部情報を取得する構成であるとしたが、これに限定するものではない。取得部74は、たとえば、既存機能部の機能部情報を取得しない構成であってもよい。 In addition, in the vehicle relay device 101 according to the embodiment of the present disclosure, the acquisition unit 74 is configured to acquire function unit information of existing function units and function unit information of new function units, but this is not limited to this. The acquisition unit 74 may be configured not to acquire function unit information of existing function units, for example.

また、本開示の実施の形態に係る車載中継装置101において、記憶部55は、機能対応情報とスリープ対応情報とを含む通信回路テーブルTb1を記憶する構成であるとしたが、これに限定するものではない。記憶部55は、たとえば機能対応情報を含むテーブルおよびスリープ対応情報を含むテーブルを別個に記憶してもよい。 In addition, in the vehicle relay device 101 according to the embodiment of the present disclosure, the memory unit 55 is configured to store the communication circuit table Tb1 including function support information and sleep support information, but this is not limited to this. The memory unit 55 may, for example, separately store a table including function support information and a table including sleep support information.

[変形例]
本開示の実施の形態に係る車載中継装置101において、スリープ制御部72は、スイッチIC53に内蔵される通信回路52A,52Bに適用するスリープモードの種類を複数の種類のスリープモードの中から選択する構成であるとしたが、これに限定するものではない。スリープ制御部72は、スイッチIC53に外付けされる通信回路52に適用するスリープモードの種類を複数の種類のスリープモードの中から選択する構成であってもよい。
[Modification]
In the in-vehicle relay device 101 according to the embodiment of the present disclosure, the sleep control unit 72 is configured to select the type of sleep mode to be applied to the communication circuits 52A and 52B built into the switch IC 53 from among a plurality of types of sleep modes, but this is not limited to this. The sleep control unit 72 may be configured to select the type of sleep mode to be applied to the communication circuit 52 externally attached to the switch IC 53 from among a plurality of types of sleep modes.

図11は、本開示の実施の形態に係る車載通信システムの変形例の構成を示す図である。 Figure 11 is a diagram showing the configuration of a modified example of an in-vehicle communication system according to an embodiment of the present disclosure.

図11を参照して、変形例では、車載ECU201A,201Bが既存機能部の一例であり、車載ECU201Dが新規機能部の一例である。また、図11において、破線の両端矢印は、車載ECU201Dと車載中継装置101とが接続されていない状態であることを示す。 Referring to FIG. 11, in the modified example, the in-vehicle ECUs 201A and 201B are an example of an existing functional unit, and the in-vehicle ECU 201D is an example of a new functional unit. Also, in FIG. 11, the double-ended dashed arrow indicates that the in-vehicle ECU 201D and the in-vehicle relay device 101 are not connected.

変形例では、車載ECU201Dには、アプリケーション202B,202Cが搭載されている。 In a modified example, applications 202B and 202C are installed on the in-vehicle ECU 201D.

図12は、本開示の実施の形態に係る車載中継装置の変形例が保存する通信回路テーブルを示す図である。 Figure 12 shows a communication circuit table stored in a modified example of an in-vehicle relay device according to an embodiment of the present disclosure.

図12は、既存ネットワークにおける車載中継装置101の変形例の記憶部55に保存されている通信回路テーブルTb11の一例を示している。図12に示す例では、通信回路テーブルTb11において、通信回路52A,52Bに適用するスリープモードの種類としてライトスリープモードが登録されている。 Figure 12 shows an example of a communication circuit table Tb11 stored in the memory unit 55 of a modified example of the vehicle-mounted relay device 101 in an existing network. In the example shown in Figure 12, the light sleep mode is registered in the communication circuit table Tb11 as the type of sleep mode to be applied to the communication circuits 52A and 52B.

また、図12に示す例では、通信回路テーブルTb11において、車載ECU201が接続されていない通信ポート51C,51Dにそれぞれ対応する通信回路52C,52Dに適用するスリープモードの種類として、ディープスリープモードが初期値として登録されている。 In the example shown in FIG. 12, the deep sleep mode is registered as the initial value in the communication circuit table Tb11 as the type of sleep mode to be applied to the communication circuits 52C and 52D corresponding to the communication ports 51C and 51D to which the in-vehicle ECU 201 is not connected.

取得部74は、既存ネットワークへの車載ECU201Dの追加が検知された場合、車載ECU201Dの機能部情報を要求するための情報要求通知をスイッチIC53経由で車載ECU201Dへ送信する。車載ECU201Dは、車載中継装置101から受信した当該情報要求通知に対する応答として、自己の機能部情報を車載中継装置101へ送信する。ここでは、車載ECU201Dは、ユーザにより通信ポート51Cに接続されたものとする。 When the acquisition unit 74 detects the addition of the in-vehicle ECU 201D to the existing network, it transmits an information request notification to the in-vehicle ECU 201D via the switch IC 53 to request functional part information of the in-vehicle ECU 201D. In response to the information request notification received from the in-vehicle relay device 101, the in-vehicle ECU 201D transmits its own functional part information to the in-vehicle relay device 101. Here, it is assumed that the in-vehicle ECU 201D has been connected to the communication port 51C by the user.

取得部74は、車載ECU201Dの機能部情報を取得した場合、記憶部55に保存されている通信回路テーブルTb11において、車載ECU201Dが接続された通信ポート51Cに対応する通信回路52Cに車載ECU201Dの機能部情報を対応付けて登録する。 When the acquisition unit 74 acquires the functional part information of the on-board ECU 201D, the acquisition unit 74 registers the functional part information of the on-board ECU 201D in the communication circuit table Tb11 stored in the memory unit 55 in association with the communication circuit 52C corresponding to the communication port 51C to which the on-board ECU 201D is connected.

図13は、本開示の実施の形態に係る車載中継装置の変形例による更新処理後の通信回路テーブルを示す図である。 Figure 13 shows a communication circuit table after update processing in a modified example of an in-vehicle relay device according to an embodiment of the present disclosure.

図13を参照して、通信回路52Cと通信する車載ECU201DのアプリケーションIDが「ID2-B,ID2-C」であり、ウェイクアップ許容時間が「10ms」である。また、通信回路52Cと通信する車載ECU201DのIDは、「ID1-D」である。 Referring to FIG. 13, the application ID of the in-vehicle ECU 201D that communicates with the communication circuit 52C is "ID2-B, ID2-C" and the wake-up allowable time is "10 ms." The ID of the in-vehicle ECU 201D that communicates with the communication circuit 52C is "ID1-D."

変形例では、スリープ制御部72は、取得部74から更新完了通知を受けると、記憶部55における更新処理後の通信回路テーブルTb11および条件テーブルTb2を参照する。そして、スリープ制御部72は、通信回路52Cと通信する車載ECU201Dのウェイクアップ許容時間が100msよりも短いと判断し、通信回路52Cに適用するスリープモードの種類としてライトスリープモードを選択する。 In the modified example, when the sleep control unit 72 receives an update completion notification from the acquisition unit 74, it refers to the communication circuit table Tb11 and the condition table Tb2 after the update process in the memory unit 55. Then, the sleep control unit 72 determines that the wake-up allowable time of the in-vehicle ECU 201D that communicates with the communication circuit 52C is shorter than 100 ms, and selects the light sleep mode as the type of sleep mode to be applied to the communication circuit 52C.

具体的には、スリープ制御部72は、通信回路テーブルTb11において、「通信回路52C」に適用するスリープモードの種類を「ディープスリープモード」から「ライトスリープモード」に変更する。 Specifically, the sleep control unit 72 changes the type of sleep mode applied to "communication circuit 52C" in the communication circuit table Tb11 from "deep sleep mode" to "light sleep mode."

また、変形例では、新規ネットワークにおいて、スリープ制御部72は、スイッチIC53に内蔵される通信回路52A,52Bに適用するスリープモードの種類を既存ネットワークにおいて適用したスリープモードに維持する。図13に示す例では、スリープ制御部72は、「通信回路52A」および「通信回路52B」にそれぞれ適用するスリープモードの種類を「ライトスリープモード」に維持する。 In addition, in the modified example, in the new network, the sleep control unit 72 maintains the type of sleep mode applied to the communication circuits 52A and 52B built into the switch IC 53 as the sleep mode applied in the existing network. In the example shown in FIG. 13, the sleep control unit 72 maintains the type of sleep mode applied to each of the "communication circuit 52A" and the "communication circuit 52B" as the "light sleep mode."

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

上述の実施形態の各処理(各機能)は、1または複数のプロセッサを含む処理回路により実現される。上記処理回路は、上記1または複数のプロセッサに加え、1または複数のメモリ、各種アナログ回路、各種デジタル回路が組み合わされた集積回路等で構成されてもよい。上記1または複数のメモリは、上記各処理を上記1または複数のプロセッサに実行させるプログラム(命令)を格納する。上記1または複数のプロセッサは、上記1または複数のメモリから読み出した上記プログラムに従い上記各処理を実行してもよいし、予め上記各処理を実行するように設計された論理回路に従って上記各処理を実行してもよい。上記プロセッサは、CPU(Central Processing Unit)、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)、およびASIC(Application Specific Integrated Circuit)等、コンピュータの制御に適合する種々のプロセッサであってよい。なお、物理的に分離した上記複数のプロセッサが互いに協働して上記各処理を実行してもよい。たとえば、物理的に分離した複数のコンピュータのそれぞれに搭載された上記プロセッサがLAN(Local Area Network)、WAN (Wide Area Network)、およびインターネット等のネットワークを介して互いに協働して上記各処理を実行してもよい。上記プログラムは、外部のサーバ装置等から上記ネットワークを介して上記メモリにインストールされても構わないし、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disk Read Only Memory)、および半導体メモリ等の記録媒体に格納された状態で流通し、上記記録媒体から上記メモリにインストールされても構わない。 Each process (each function) of the above-mentioned embodiments is realized by a processing circuit including one or more processors. The processing circuit may be composed of an integrated circuit or the like that combines one or more memories, various analog circuits, and various digital circuits in addition to the one or more processors. The one or more memories store programs (instructions) that cause the one or more processors to execute each of the above processes. The one or more processors may execute each of the above processes according to the programs read from the one or more memories, or may execute each of the above processes according to a logic circuit designed in advance to execute each of the above processes. The processor may be any of various processors suitable for computer control, such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), and an ASIC (Application Specific Integrated Circuit). The physically separated processors may cooperate with each other to execute the above processes. For example, the processors mounted on each of the physically separated computers may cooperate with each other via a network such as a LAN (Local Area Network), a WAN (Wide Area Network), or the Internet to execute the above processes. The above program may be installed into the memory from an external server device or the like via the network, or may be distributed in a state stored on a recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), or a semiconductor memory, and may be installed into the memory from the recording medium.

以上の説明は、以下に付記する特徴を含む。
[付記1]
複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、
前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路と、
処理回路とを備え、
前記処理回路は、
1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得し、
取得した前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行う、車載中継装置。
The above description includes the following additional features.
[Appendix 1]
A plurality of communication ports each connectable to a plurality of in-vehicle functional units;
a plurality of communication circuits provided corresponding to the plurality of communication ports, respectively, capable of communicating with the in-vehicle function unit via the corresponding communication ports;
a processing circuit;
The processing circuitry includes:
When an addition of an in-vehicle function unit to an in-vehicle network including one or more existing function units that are the in-vehicle function units is detected, acquiring function unit information of the new function unit that is the in-vehicle function unit whose addition has been detected;
An in-vehicle relay device performs a selection process to select from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new functional unit is connected and to the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the acquired functional unit information of the new functional unit.

11 イーサネットケーブル
51,51A,51B,51C,51D 通信ポート
52,52A,52B,52C,52D 通信回路
53 スイッチIC
54 処理部
55 記憶部
61 スイッチ部
71 判断部
72 スリープ制御部
73 検知部
74 取得部
101 車載中継装置
201,201A,201B,201C,201D 車載ECU
202,202A,202B,202C アプリケーション
301 車載通信システム
401 車載ネットワーク
501 車両
11 Ethernet cable 51, 51A, 51B, 51C, 51D Communication port 52, 52A, 52B, 52C, 52D Communication circuit 53 Switch IC
54 Processing unit 55 Memory unit 61 Switch unit 71 Determination unit 72 Sleep control unit 73 Detection unit 74 Acquisition unit 101 Vehicle-mounted relay device 201, 201A, 201B, 201C, 201D Vehicle-mounted ECU
202, 202A, 202B, 202C Application 301 Vehicle-mounted communication system 401 Vehicle-mounted network 501 Vehicle

Claims (10)

複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、
前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路と、
1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得する取得部と、
前記取得部によって取得された前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うスリープ制御部とを備える、車載中継装置。
A plurality of communication ports each connectable to a plurality of in-vehicle functional units;
a plurality of communication circuits provided corresponding to the plurality of communication ports, respectively, capable of communicating with the in-vehicle function unit via the corresponding communication ports;
an acquisition unit that acquires, when an addition of an in-vehicle function unit to an in-vehicle network including one or more existing function units that are the in-vehicle function units is detected, function unit information of a new function unit that is the in-vehicle function unit whose addition has been detected;
An in-vehicle relay device comprising: a sleep control unit that performs a selection process to select from a plurality of types of sleep modes the type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new functional unit is connected and to the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the functional unit information of the new functional unit acquired by the acquisition unit.
前記機能部情報は、前記新規機能部に搭載されたアプリケーションに関するアプリケーション情報を含み、
前記スリープ制御部は、前記取得部によって取得された前記新規機能部のアプリケーション情報に基づいて、前記選択処理を行う、請求項1に記載の車載中継装置。
the functional unit information includes application information related to an application installed in the new functional unit,
The vehicle-mounted relay device according to claim 1 , wherein the sleep control unit performs the selection process based on application information of the new function unit acquired by the acquisition unit.
前記アプリケーション情報は、前記アプリケーションの種類に関する情報を含む、請求項2に記載の車載中継装置。 The vehicle-mounted relay device according to claim 2, wherein the application information includes information regarding the type of the application. 前記アプリケーション情報は、前記アプリケーションが起動するまでの許容時間に関する情報を含む、請求項2または請求項3に記載の車載中継装置。 The vehicle-mounted relay device according to claim 2 or 3, wherein the application information includes information regarding the allowable time until the application is started. 前記取得部は、さらに、前記既存機能部の機能部情報を取得し、
前記スリープ制御部は、前記取得部によって取得された前記新規機能部の機能部情報および前記既存機能部の機能部情報に基づいて、前記選択処理を行う、請求項1または請求項2に記載の車載中継装置。
The acquisition unit further acquires functional unit information of the existing functional units,
The vehicle-mounted relay device according to claim 1 , wherein the sleep control unit performs the selection process based on the functional unit information of the new functional unit and the functional unit information of the existing functional unit acquired by the acquisition unit.
前記車載中継装置は、さらに、
前記既存機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部の機能部情報との対応関係を示す機能対応情報を記憶する記憶部を備え、
前記取得部は、前記新規機能部の機能部情報を取得した場合、前記記憶部における前記機能対応情報に、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記新規機能部の機能部情報との対応関係を登録する更新処理を行い、
前記スリープ制御部は、前記更新処理後の前記機能対応情報に基づいて、前記選択処理を行う、請求項1または請求項2に記載の車載中継装置。
The vehicle-mounted relay device further includes:
a storage unit configured to store function correspondence information indicating a correspondence relationship between the communication circuit corresponding to the communication port to which the existing function unit is connected and function unit information of the existing function unit;
when the acquisition unit acquires the function unit information of the new function unit, the acquisition unit performs an update process to register a correspondence relationship between the communication circuit corresponding to the communication port to which the new function unit is connected and the function unit information of the new function unit in the function correspondence information in the storage unit;
The vehicle-mounted relay device according to claim 1 , wherein the sleep control unit performs the selection process based on the function support information after the update process.
前記車載中継装置は、さらに、
前記複数の通信回路にそれぞれ適用する前記スリープモードを示すスリープモード対応情報を記憶する記憶部を備え、
前記取得部は、前記車載ネットワークに他の前記新規機能部が追加された場合、前記他の新規機能部の機能部情報を取得し、
前記スリープ制御部は、前記取得部によって取得された前記他の新規機能部の機能部情報および前記記憶部における前記スリープモード対応情報に基づいて、前記選択処理を行う、請求項1または請求項2に記載の車載中継装置。
The vehicle-mounted relay device further includes:
a storage unit that stores sleep mode support information indicating the sleep mode to be applied to each of the plurality of communication circuits;
When another new function unit is added to the in-vehicle network, the acquisition unit acquires function unit information of the other new function unit,
The vehicle-mounted relay device according to claim 1 or claim 2, wherein the sleep control unit performs the selection process based on the functional part information of the other new functional parts acquired by the acquisition unit and the sleep mode compatibility information in the memory unit.
前記複数の種類のスリープモードは、第1のスリープモードと、前記第1のスリープモードよりも前記通信回路における消費電力が小さい第2のスリープモードとを含み、
前記スリープ制御部は、所定の複数の前記通信回路に適用する前記スリープモードとして前記第2のスリープモードを選択している状態において、前記所定の複数の通信回路のうちの少なくともいずれか1つの前記通信回路に対応する前記通信ポートに前記新規機能部が接続され、かつ前記新規機能部が接続された前記通信ポートに対応する前記通信回路に適用する前記スリープモードとして前記第1のスリープモードを選択した場合、前記所定の複数の通信回路のうちの残りのすべての前記通信回路に適用する前記スリープモードを前記第2のスリープモードから前記第1のスリープモードに変更する、請求項1または請求項2に記載の車載中継装置。
the plurality of types of sleep modes include a first sleep mode and a second sleep mode in which power consumption in the communication circuit is smaller than that in the first sleep mode;
The in-vehicle relay device of claim 1 or claim 2, wherein, when the sleep control unit has selected the second sleep mode as the sleep mode to be applied to a predetermined number of communication circuits, when the new function unit is connected to the communication port corresponding to at least any one of the communication circuits among the predetermined number of communication circuits and the sleep control unit has selected the first sleep mode as the sleep mode to be applied to the communication circuit corresponding to the communication port to which the new function unit is connected, the sleep mode to be applied to all remaining communication circuits among the predetermined number of communication circuits is changed from the second sleep mode to the first sleep mode.
複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路とを備える車載中継装置において用いられるスリープ制御方法であって、
1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得するステップと、
取得した前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うステップとを含む、スリープ制御方法。
A sleep control method for use in an in-vehicle relay device including a plurality of communication ports that can be respectively connected to a plurality of in-vehicle function units, and a plurality of communication circuits that are provided corresponding to the plurality of communication ports and can communicate with the in-vehicle function units via the corresponding communication ports,
When an addition of an in-vehicle function unit to an in-vehicle network including one or more existing function units that are the in-vehicle function units is detected, acquiring function unit information of the new function unit that is the in-vehicle function unit whose addition has been detected;
A sleep control method comprising: a step of performing a selection process for selecting from a plurality of types of sleep modes the type of sleep mode to be applied to each of the communication circuit corresponding to the communication port to which the new functional unit is connected and the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the acquired functional unit information of the new functional unit.
複数の車載機能部にそれぞれ接続可能な複数の通信ポートと、前記複数の通信ポートにそれぞれ対応して設けられ、対応する前記通信ポートを介して前記車載機能部と通信可能な複数の通信回路とを備える車載中継装置において用いられるスリープ制御プログラムであって、
コンピュータを、
1または複数の前記車載機能部である既存機能部を含む車載ネットワークへの前記車載機能部の追加が検知された場合、追加を検知された前記車載機能部である新規機能部の機能部情報を取得する取得部と、
前記取得部によって取得された前記新規機能部の機能部情報に基づいて、前記新規機能部が接続された前記通信ポートに対応する前記通信回路と前記既存機能部が接続された前記通信ポートに対応する前記通信回路とにそれぞれ適用するスリープモードの種類を複数の種類のスリープモードの中から選択する選択処理を行うスリープ制御部、
として機能させるための、スリープ制御プログラム。
A sleep control program for use in an in-vehicle relay device including a plurality of communication ports connectable to a plurality of in-vehicle function units, respectively, and a plurality of communication circuits provided corresponding to the plurality of communication ports and capable of communicating with the in-vehicle function units via the corresponding communication ports,
Computer,
an acquisition unit that acquires, when an addition of an in-vehicle function unit to an in-vehicle network including one or more existing function units that are the in-vehicle function units is detected, function unit information of a new function unit that is the in-vehicle function unit whose addition has been detected;
a sleep control unit that performs a selection process to select, from a plurality of types of sleep modes, a type of sleep mode to be applied to the communication circuit corresponding to the communication port to which the new functional unit is connected and to the communication circuit corresponding to the communication port to which the existing functional unit is connected, based on the functional unit information of the new functional unit acquired by the acquisition unit;
A sleep control program to function as a
JP2022172049A 2022-10-27 2022-10-27 Vehicle-mounted relay device, sleep control method, and sleep control program Active JP7525571B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2022172049A JP7525571B2 (en) 2022-10-27 2022-10-27 Vehicle-mounted relay device, sleep control method, and sleep control program
PCT/JP2023/037346 WO2024090260A1 (en) 2022-10-27 2023-10-16 In-vehicle relay device, sleep control method, and sleep control program
CN202380071606.1A CN119948812A (en) 2022-10-27 2023-10-16 Vehicle-mounted relay device, sleep control method and sleep control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022172049A JP7525571B2 (en) 2022-10-27 2022-10-27 Vehicle-mounted relay device, sleep control method, and sleep control program

Publications (2)

Publication Number Publication Date
JP2024063883A JP2024063883A (en) 2024-05-14
JP7525571B2 true JP7525571B2 (en) 2024-07-30

Family

ID=90830648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022172049A Active JP7525571B2 (en) 2022-10-27 2022-10-27 Vehicle-mounted relay device, sleep control method, and sleep control program

Country Status (3)

Country Link
JP (1) JP7525571B2 (en)
CN (1) CN119948812A (en)
WO (1) WO2024090260A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119254594A (en) * 2024-09-30 2025-01-03 东风汽车集团股份有限公司 An improved network management method based on AUTOSAR

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016103704A (en) 2014-11-27 2016-06-02 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
JP2021160472A (en) 2020-03-31 2021-10-11 株式会社オートネットワーク技術研究所 In-vehicle device and sleep control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016103704A (en) 2014-11-27 2016-06-02 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
JP2021160472A (en) 2020-03-31 2021-10-11 株式会社オートネットワーク技術研究所 In-vehicle device and sleep control method

Also Published As

Publication number Publication date
JP2024063883A (en) 2024-05-14
CN119948812A (en) 2025-05-06
WO2024090260A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
US9450911B2 (en) System and method for managing ethernet communication network for use in vehicle
US11528163B2 (en) Communication system
JP5335663B2 (en) Message buffering method and unit for a receiving device on a communication bus
EP1845665B1 (en) Electronic control unit with a plurality of control circuits
US9081565B2 (en) Communication network system for detect and wake up a network node that does not properly recognize a wake up frame
JP7622797B2 (en) In-vehicle device and sleep control method
JP7525571B2 (en) Vehicle-mounted relay device, sleep control method, and sleep control program
JP7563309B2 (en) Vehicle-mounted relay device, vehicle-mounted device, and sleep notification method
JP2022072317A (en) Relay device
JP7463870B2 (en) On-board device, on-board communication system, and communication control method
JP7542042B2 (en) In-vehicle device, connection destination notification method, and connection destination notification program
US20260058841A1 (en) Relay device, sleep control method, and sleep control program
WO2024177007A1 (en) On-board control device, power feeding control method, and power feeding control program
US20260128925A1 (en) Vehicle-mounted device, connection destination notification method, and connection destination notification program
JP2016134855A (en) In-vehicle network system
US20070260900A1 (en) High-performance microprocessor with lower-performance microcontroller in a vehicle network
JP2012114724A (en) Electronic control device
JP7845250B2 (en) In-vehicle communication device and push server
JP3797049B2 (en) Communication device between control nodes
JP2022156328A (en) In-vehicle management device and management method
US20260082333A1 (en) In-vehicle apparatus, connection destination notification method, and connection destination notification program
JP2024151355A (en) Vehicle-mounted relay device, vehicle-mounted device, and vehicle-mounted system
JP7661926B2 (en) Vehicle communication device and push server
JP2024084244A (en) In-vehicle device, startup control method, and startup control program
CN119452617A (en) Management device, vehicle communication management method, and vehicle communication management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231106

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240625

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240718

R150 Certificate of patent or registration of utility model

Ref document number: 7525571

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150