WO2024029323A1 - 中継装置、スリープ制御方法およびスリープ制御プログラム - Google Patents

中継装置、スリープ制御方法およびスリープ制御プログラム Download PDF

Info

Publication number
WO2024029323A1
WO2024029323A1 PCT/JP2023/026255 JP2023026255W WO2024029323A1 WO 2024029323 A1 WO2024029323 A1 WO 2024029323A1 JP 2023026255 W JP2023026255 W JP 2023026255W WO 2024029323 A1 WO2024029323 A1 WO 2024029323A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
wake
state
relay device
sleep control
Prior art date
Application number
PCT/JP2023/026255
Other languages
English (en)
French (fr)
Inventor
大津智弘
浦山博史
呉ダルマワン
芦邉健太郎
川内偉博
石塚秀
黒谷佳伸
杉山和也
板津裕一郎
石井大悟
安藤博哉
Original Assignee
株式会社オートネットワーク技術研究所
住友電装株式会社
住友電気工業株式会社
トヨタ自動車株式会社
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 株式会社オートネットワーク技術研究所, 住友電装株式会社, 住友電気工業株式会社, トヨタ自動車株式会社 filed Critical 株式会社オートネットワーク技術研究所
Publication of WO2024029323A1 publication Critical patent/WO2024029323A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0833Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network energy consumption

Definitions

  • the present disclosure relates to a relay device, a sleep control method, and a sleep control program.
  • This application claims priority based on Japanese Patent Application No. 2022-125479 filed on August 5, 2022, and the entire disclosure thereof is incorporated herein.
  • Patent Document 1 Japanese Unexamined Patent Publication No. 2021-160472 discloses the following technology. That is, the in-vehicle device includes a communication unit that communicates with the in-vehicle device in the in-vehicle network, a detection unit that detects a new in-vehicle device that is an in-vehicle device newly added to the in-vehicle network, and a detection unit that detects the new in-vehicle device by the detection unit. and a sleep processing section that transmits a sleep request for transitioning to a sleep state to the new in-vehicle device via the communication section in synchronization with the in-vehicle device in the in-vehicle network in the detected detection state.
  • a relay device is a relay device used in an in-vehicle system including three or more in-vehicle devices, and receives a first wake-up request from a first in-vehicle device among the three or more in-vehicle devices.
  • a state transition unit that transitions the relay device in a sleep state to a wake-up state selects a second in-vehicle device from among the in-vehicle devices other than the first in-vehicle device, and and a sleep control unit that transmits a second wake-up request to the second vehicle-mounted device to cause the device to transition to the wake-up state.
  • One aspect of the present disclosure can be realized not only as a relay device including such a characteristic processing unit, but also as a semiconductor integrated circuit that realizes part or all of the relay device, or as a semiconductor integrated circuit that implements part or all of the relay device, It can be realized as a system.
  • FIG. 1 is a diagram illustrating an example of the configuration of an in-vehicle system according to an embodiment of the present disclosure.
  • FIG. 2 is a diagram illustrating an example of a configuration of a relay device according to an embodiment of the present disclosure.
  • FIG. 3 is a diagram illustrating an example of a frame transmitted in the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 4 is a diagram illustrating an example of an address table held by a relay device according to an embodiment of the present disclosure.
  • FIG. 5 is a diagram illustrating an example of a sleep processing sequence in the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 1 is a diagram illustrating an example of the configuration of an in-vehicle system according to an embodiment of the present disclosure.
  • FIG. 2 is a diagram illustrating an example of a configuration of a relay device according to an embodiment of the present disclosure.
  • FIG. 3 is a diagram illustrating an example of a frame transmitted in the in
  • FIG. 6 is a diagram illustrating an example of a sleep control sequence in an in-vehicle system according to a comparative example.
  • FIG. 7 is a diagram illustrating an example of a network table held by a relay device according to an embodiment of the present disclosure.
  • FIG. 8 is a diagram illustrating an example of a sleep control sequence in the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 9 is a diagram illustrating a configuration of modification example 1 of the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 10 is a diagram showing a network table held by the relay device of Modification 1 of the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 10 is a diagram showing a network table held by the relay device of Modification 1 of the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 11 is a diagram illustrating a configuration of a second modification of the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 12 is a diagram showing a network table held by the relay device of Modification 2 of the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 13 is a diagram illustrating a configuration of modification 3 of the in-vehicle system according to the embodiment of the present disclosure.
  • FIG. 14 is a diagram showing a network table held by the relay device of Modification 3 of the in-vehicle system according to the embodiment of the present disclosure.
  • the present disclosure has been made to solve the above-mentioned problems, and the purpose is to provide a relay device, a sleep control method, and a sleep control program that can improve the power saving function in an in-vehicle system. .
  • the power saving function of an in-vehicle system can be improved.
  • a relay device is a relay device used in an in-vehicle system including three or more in-vehicle devices, and in which a first in-vehicle device among the three or more in-vehicle devices a state transition unit that transitions the relay device in a sleep state to a wake-up state when a first wake-up request is received; and a sleep control unit configured to select a sleep state and transmit a second wake-up request to the second vehicle-mounted device to cause the second vehicle-mounted device to transition to the wake-up state.
  • the second vehicle-mounted device to which the wake-up request is sent is selected, and the second vehicle-mounted device that is in the sleep state is transitioned to the wake-up state.
  • the relay device further includes three or more communication ports to which the three or more in-vehicle devices are respectively connected, and a correspondence relationship between the communication ports and the network to which the in-vehicle devices belong. and a storage section that stores correspondence information indicating the correspondence information, and the sleep control section may select the second in-vehicle device based on the correspondence information.
  • the second vehicle-mounted device can be easily selected from among the vehicle-mounted devices other than the first vehicle-mounted device.
  • the correspondence information may indicate a correspondence relationship between the communication port and a VLAN (Virtual Local Area Network), and the sleep control section
  • the vehicle-mounted device belonging to the same VLAN as the VLAN corresponding to the communication port to which the first vehicle-mounted device is connected may be selected as the second vehicle-mounted device.
  • an in-vehicle device that belongs to the same network as the first in-vehicle device can be easily selected as the second in-vehicle device.
  • the correspondence information may indicate a correspondence relationship between the communication port and a PNC (Partial Network Cluster), and the sleep control unit is configured to
  • the vehicle-mounted device belonging to the same PNC as the PNC corresponding to the communication port to which the vehicle-mounted device is connected may be selected as the second vehicle-mounted device.
  • an in-vehicle device that belongs to the same network as the first in-vehicle device can be easily selected as the second in-vehicle device.
  • the correspondence information may indicate a correspondence relationship between the communication port, VLAN, and PNC
  • the sleep control unit is configured to control the communication port to which the first in-vehicle device is connected.
  • the in-vehicle device belonging to the same PNC as the PNC corresponding to the communication port to which the first in-vehicle device is connected is given priority as the second in-vehicle device over the in-vehicle device belonging to the same VLAN as the VLAN corresponding to the first in-vehicle device. may be selected.
  • the in-vehicle device belonging to the PNC which is a network with a high priority, can be selected as the second in-vehicle device.
  • a sleep control method is a sleep control method in a relay device used in an in-vehicle system including three or more in-vehicle devices, wherein If a first wake-up request is received from one vehicle-mounted device, the step of transitioning the relay device in a sleep state to a wake-up state; The method includes the step of selecting an in-vehicle device and transmitting a second wake-up request to the second in-vehicle device to cause the second in-vehicle device to transition to the wake-up state.
  • the second vehicle-mounted device to which the wake-up request is sent is selected, and the second vehicle-mounted device that is in the sleep state is transitioned to the wake-up state.
  • a sleep control program is a sleep control program used in a relay device used in an in-vehicle system including three or more in-vehicle devices, a state transition unit that transitions the relay device in a sleep state to a wake-up state when a first wake-up request is received from a first vehicle-mounted device among the devices; a sleep control unit that selects a second in-vehicle device from among the devices and transmits a second wake-up request to the second in-vehicle device for transitioning the second in-vehicle device to the wake-up state; This is a program to make it work.
  • the second vehicle-mounted device to which the wake-up request is sent is selected, and the second vehicle-mounted device that is in the sleep state is transitioned to the wake-up state.
  • FIG. 1 is a diagram illustrating an example of the configuration of an in-vehicle system according to an embodiment of the present disclosure.
  • in-vehicle system 301 includes, for example, one or more relay devices 101 and three or more in-vehicle ECUs 202.
  • the in-vehicle system 301 includes one relay device 101 and four in-vehicle ECUs 202A, 202B, 202C, and 202D.
  • Relay device 101 and in-vehicle ECU 202 constitute in-vehicle network 401 .
  • the in-vehicle system 301 is mounted on the vehicle 1.
  • In-vehicle ECU 202 is an example of an in-vehicle device.
  • the in-vehicle system 301 is not limited to a configuration including one relay device 101 but may be configured to include a plurality of relay devices 101. Furthermore, the in-vehicle system 301 is not limited to a configuration including four in-vehicle ECUs 202, but may be configured to include three in-vehicle ECUs 202 or five or more in-vehicle ECUs 202.
  • the in-vehicle ECU 202 is, for example, a TCU (Telematics Communication Unit), an automatic driving ECU, a face authentication ECU, a door lock ECU, a sensor, a navigation device, a human-machine interface, a camera, and the like.
  • TCU Transmission Control Unit
  • An automatic driving ECU a face authentication ECU
  • a door lock ECU a sensor
  • a navigation device a human-machine interface
  • a camera and the like.
  • in-vehicle ECUs 202A and 202B and in-vehicle ECUs 202C and 202D belong to different VLANs.
  • VLAN-ID The ID of the VLAN to which the in-vehicle ECUs 202A and 202B belong is "10", and the ID of the VLAN to which the in-vehicle ECUs 202C and 202D belong is "20”. Note that in the following description, the VLAN ID may be referred to as "VLAN-ID”.
  • the relay device 101 and the in-vehicle ECU 202 are devices that comply with a predetermined in-vehicle network management method. More specifically, the relay device 101 and the in-vehicle ECU 202 are devices compliant with AUTOSAR (AUTomotive Open System ARchicture) (registered trademark), which is an example of an in-vehicle network management system.
  • AUTOSAR AUTomotive Open System ARchicture
  • the in-vehicle ECU 202 is connected to the relay device 101 via, for example, an Ethernet (registered trademark) cable 11.
  • Ethernet registered trademark
  • Each in-vehicle ECU 202 is connected to other in-vehicle ECUs 202 via the Ethernet cable 11 and the relay device 101.
  • the relay device 101 is, for example, a gateway device.
  • Relay device 101 can perform relay processing according to layer 2 and layer 3, which is higher than layer 2, for example.
  • the relay device 101 relays Ethernet frames (hereinafter also simply referred to as "frames") exchanged between the in-vehicle ECUs 202 connected via the Ethernet cable 11, for example, in accordance with the Ethernet communication standard. conduct.
  • frames Ethernet frames
  • the relay device 101 and each in-vehicle ECU 202 generate frames including various information described below, and transmit them to other in-vehicle ECUs 202 or the relay device 101.
  • the in-vehicle system 301 is not limited to a configuration in which frame relay processing is performed according to the Ethernet communication standard, and includes, for example, CAN (Controller Area Network), CAN FD (CAN with Flexible Data Rate), FlexRay (registered trademark), M OST
  • the configuration may be such that frames are relayed according to communication standards such as Media Orient System Transport (registered trademark) and LIN (Local Interconnect Network).
  • FIG. 2 is a diagram illustrating an example of a configuration of a relay device according to an embodiment of the present disclosure.
  • relay device 101 includes a communication port 51, a switch section 52, a processing section 53, and a storage section 54.
  • the switch section 52 and the processing section 53 are realized by, for example, a processing circuit including one or more processors.
  • the storage unit 54 is, for example, a nonvolatile memory included in the processing circuit.
  • the processing section 53 includes a determination section 61, a state transition section 62, and a sleep control section 63.
  • the relay device 101 includes three or more communication ports 51 to which three or more in-vehicle ECUs 202 are respectively connected.
  • the communication port 51 is, for example, a terminal to which the Ethernet cable 11 can be connected.
  • the relay device 101 includes four communication ports 51A, 51B, 51C, and 51D, which are the communication ports 51.
  • on-vehicle ECUs 202A, 202B, 202C, and 202D are connected to communication ports 51A, 51B, 51C, and 51D via Ethernet cables 11, respectively.
  • the switch section 52 includes, for example, a plurality of terminals (not shown) each connected to a plurality of communication ports 51. Each terminal is assigned a unique port number.
  • the port numbers of the respective terminals connected to the communication ports 51A, 51B, 51C, and 51D are #1, #2, #3, and #4, respectively.
  • the switch unit 52 relays frames transmitted and received between the in-vehicle ECUs 202. More specifically, upon receiving a frame addressed to another in-vehicle ECU 202 from one in-vehicle ECU 202 via the communication port 51, the switch unit 52 transmits the received frame to the destination in-vehicle ECU 202.
  • the switch unit 52 upon receiving a frame destined for the relay device 101 from the in-vehicle ECU 202 via the communication port 51, the switch unit 52 outputs the received frame to the processing unit 53.
  • the switch section 52 transmits the frame received from the processing section 53 to the destination in-vehicle ECU 202 via the communication port 51.
  • FIG. 3 is a diagram illustrating an example of a frame transmitted in the in-vehicle system according to the embodiment of the present disclosure.
  • a frame has fields of address, tag, type, and payload.
  • the address field stores, for example, a destination MAC address and a source MAC address.
  • a VLAN-ID is stored in the tag field.
  • a destination IP address and various information are stored in the payload.
  • the MAC addresses of the in-vehicle ECUs 202A, 202B, 202C, and 202D are "MAC-A”, “MAC-B”, “MAC-C”, and “MAC-D”, respectively.
  • the storage unit 54 stores a MAC address table (hereinafter also referred to as "address table M") indicating the correspondence between the MAC address of the in-vehicle ECU 202 and the communication port 51.
  • address table M a MAC address table
  • FIG. 4 is a diagram illustrating an example of an address table held by a relay device according to an embodiment of the present disclosure.
  • MAC address "MAC-A” and port number "#1" of communication port 51A are associated with each other, and MAC address "MAC-B” and port number of communication port 51B are associated with each other.
  • "#2" is associated with the MAC address "MAC-C”
  • the port number "#3" of the communication port 51C is associated with the MAC address "MAC-D”
  • the port number "#3" of the communication port 51D is associated with the MAC address "MAC-D”.
  • 4" are associated with each other.
  • the relay device 101 and the in-vehicle ECU 202 transition from a wake-up state to a sleep state, and also transition from a sleep state to a wake-up state.
  • the relay device 101 and the vehicle-mounted ECU 202 communicate with other devices in the vehicle-mounted system 301 in the wake-up state, and stop communicating with other devices in the vehicle-mounted system 301 in the sleep state.
  • the sleep state is a state in which power consumption is lower than in the wake-up state due to stopping some functions of the device, stopping power supply to the device, or decreasing the clock frequency of the device.
  • a sleep condition that is a condition for transitioning to a sleep state and a wake-up condition that is a condition for transitioning to a wake-up state are set in advance.
  • the sleep conditions are that the ignition of the vehicle 1 is turned off, that the vehicle 1 is parked or stopped, and so on.
  • the wake-up conditions are that the ignition of the vehicle 1 is turned on, that the vehicle 1 starts running, and so on.
  • FIG. 5 is a diagram illustrating an example of a sleep processing sequence in the in-vehicle system according to the embodiment of the present disclosure.
  • “Device A” and “Device B” shown in FIG. 5 are the relay device 101 or the in-vehicle ECU 202.
  • step S51 and S52 device A and device B transmit a frame in which an NM (Network Management) message according to AUTOSAR is stored to each device in the in-vehicle system 301. . Specifically, device A and device B broadcast a frame in which the NM message is stored in the payload to each device for life monitoring (steps S53 and S54).
  • NM Network Management
  • step S55 when device A satisfies its own sleep condition in the wake-up state (step S55), device A stops transmitting the NM message (step S56).
  • step S57 when device B satisfies its own sleep condition in the wake-up state (step S57), device B stops transmitting the NM message (step S58).
  • Step S59 if devices A and B do not receive an NM message from other devices in the in-vehicle system 301 within a predetermined period of time after they stop transmitting the NM message, they transition to a sleep state.
  • step S59 if the device A and device B meet their own wake-up conditions, they transition to the wake-up state and start periodically transmitting NM messages. Further, when device A and device B receive a wake-up request from another device in the in-vehicle system 301 in the sleep state (step S59), they transition to the wake-up state.
  • determination unit 61 in relay device 101 determines whether the sleep condition of relay device 101 is satisfied or not, and whether the wake-up condition of relay device 101 is satisfied or not.
  • the determining unit 61 monitors the state of the vehicle 1 and performs a determination process to determine whether the sleep condition of the relay device 101 is satisfied or not and the wake-up condition of the relay device 101 is satisfied or not based on the monitoring result. .
  • the determination unit 61 periodically performs a determination process, for example, and notifies the state transition unit 62 of the determination result.
  • the state transition unit 62 causes the relay device 101 to transition to a sleep state. Further, the state transition unit 62 causes the relay device 101 to transition to a wake-up state.
  • the switch section 52 includes a plurality of communication circuits corresponding to the plurality of communication ports 51, respectively.
  • the relay device 101 When the relay device 101 is in the sleep state, all communication circuits in the switch unit 52 are inactive.
  • the relay device 101 is in the wake-up state, at least one communication circuit among the plurality of communication circuits of the switch unit 52 is operating.
  • the state in which the communication circuit of the switch unit 52 is inactive is also referred to as an "off state”
  • the state in which the communication circuit is in operation is also referred to as an "on state”.
  • the state transition unit 62 causes the relay device 101 to transition to the sleep state.
  • the state transition unit 62 transitions the relay device 101 to the wake-up state.
  • the state transition unit 62 when the state transition unit 62 receives a wake-up request from the in-vehicle ECU 202 via the communication port 51 and the switch unit 52, the state transition unit 62 transitions the relay device 101 from the sleep state to the wake-up state.
  • the wake-up request sent by the in-vehicle ECU 202 to the relay device 101 will also be referred to as a "wake-up request R1.”
  • Wakeup request R1 is an example of a first wakeup request. Note that the description "first" does not mean priority.
  • the in-vehicle ECU 202 transmits the wake-up request R1 to the directly connected relay device 101 via the Ethernet cable 11.
  • the wake-up request R1 is a high-level pulse signal.
  • the in-vehicle ECU 202 transmits the high-level pulse signal to the relay device 101, for example, in accordance with the OPEN Alliance standard.
  • the switch unit 52 When the switch unit 52 receives the wake-up request R1 from the in-vehicle ECU 202 via the communication port 51, the switch unit 52 sends a reception notification indicating that the wake-up request R1 has been received and the port number of the communication port 51 that received the wake-up request R1 to the state. It is output to the transition section 62 and sleep control section 63.
  • the state transition unit 62 receives the reception notification from the switch unit 52 and transitions the relay device 101 from the sleep state to the wake-up state. More specifically, the state transition unit 62 transitions the communication circuit corresponding to the communication port 51 that received the wake-up request R1 from the off state to the on state.
  • the relay device 101 and the in-vehicle ECU 202 establish a communication connection with each other by exchanging frames containing various information.
  • the sleep control unit 63 controls the in-vehicle ECU 202 to transition to a wake-up state.
  • the sleep control unit 63 sends a wake-up request such as a high-level pulse signal to the in-vehicle ECU 202 to be woken up via the switch unit 52 and the communication port 51. Send to.
  • a wake-up request such as a high-level pulse signal
  • the in-vehicle ECU 202 receives the wake-up request, it transitions to a wake-up state.
  • the wake-up request transmitted by the relay device 101 to the in-vehicle ECU 202 will also be referred to as a "wake-up request R2.”
  • Wakeup request R2 is an example of a second wakeup request. Note that the description of "second" does not mean priority.
  • the in-vehicle ECU 202A transitions to a wake-up state in order to communicate with the in-vehicle ECU 202B, and transmits a wake-up request R1 to the relay device 101.
  • the relay device 101 receives the wake-up request R1 and transitions to the wake-up state.
  • the wake-up request R1 is a high-level pulse signal, it does not include information indicating the communication partner of the in-vehicle ECU 202A. Therefore, even if the relay device 101 receives the wake-up request R1, it cannot determine which of the on-board ECUs 202B, 202C, and 202D other than the on-board ECU 202A should be transitioned to the wake-up state. . The details of such issues will be explained below.
  • FIG. 6 is a diagram illustrating an example of a sleep control sequence in an in-vehicle system according to a comparative example.
  • the in-vehicle system according to the comparative example described below is different from the in-vehicle system according to the embodiment of the present disclosure in that the above problem occurs in sleep control.
  • the vehicle, the in-vehicle system, and each device in the in-vehicle system are given the same reference numerals as in the embodiment of the present disclosure.
  • the in-vehicle system 301 is a system installed in the vehicle 1 that can unlock doors by face authentication
  • the in-vehicle ECU 202A is a face authentication ECU
  • the in-vehicle ECU 202B is a door lock ECU.
  • the relay device 101 and each in-vehicle ECU 202 are in a sleep state while the vehicle 1 is parked.
  • step S1 in a situation where relay device 101 and on-board ECUs 202A, 202B, 202C, and 202D are in a sleep state (step S1), on-board ECU 202A transitions to a wake-up state.
  • step S2 it is assumed that the in-vehicle ECU 202A transitions to the wake-up state due to successful face authentication and a need to request the in-vehicle ECU 202B to release the door lock.
  • the in-vehicle ECU 202A transmits a wake-up request R1 to the relay device 101 (step S3).
  • the relay device 101 receives the wake-up request R1 from the in-vehicle ECU 202A, and transitions to the wake-up state. More specifically, the state transition unit 62 in the relay device 101 transitions the communication circuit corresponding to the communication port 51A that received the wake-up request R1 from the off state to the on state (step S4).
  • the relay device 101 and the in-vehicle ECU 202A establish a communication connection with each other by exchanging various information (step S5).
  • the state transition unit 62 in the relay device 101 transitions the communication circuits corresponding to the communication ports 51B, 51C, and 51D other than the communication port 51A from the off state to the on state.
  • the relay device 101 in the in-vehicle system 301 according to the comparative example establishes a communication connection with the in-vehicle ECU 202A, the information indicating the communication partner of the in-vehicle ECU 202A is not included in the wake-up request R1. , the communication partner of the in-vehicle ECU 202A cannot be specified (step S6).
  • the relay device 101 transmits a wake-up request R2 to the in-vehicle ECUs 202B, 202C, and 202D (steps S7 and S8).
  • the in-vehicle ECUs 202B, 202C, and 202D receive the wake-up request R2 from the relay device 101, and transition to the wake-up state (steps S9 and S10).
  • the relay device 101 and the on-vehicle ECUs 202B, 202C, and 202D establish communication connections with each other by exchanging various information (step S11).
  • the in-vehicle ECUs 202A and 202B communicate with each other.
  • the relay device 101 receives a frame destined for the in-vehicle ECU 202B from the in-vehicle ECU 202A, it refers to the address table M and specifies "#2" as the port number corresponding to the frame. Then, the relay device 101 transmits the received frame to the destination in-vehicle ECU 202B from the communication port 51B corresponding to the specified port number "#2" (step S12).
  • the in-vehicle ECUs 202C and 202D which are not communication partners of the in-vehicle ECU 202A, stop transmitting NM messages when their own sleep conditions are satisfied, if they do not communicate with other in-vehicle ECUs 202. If the in-vehicle ECUs 202C and 202D do not receive an NM message from another device in the in-vehicle system 301 within a predetermined period of time after stopping transmission of the NM message, the in-vehicle ECUs 202C and 202D transition to a sleep state (step S13).
  • the relay device 101 upon receiving a wake-up request from the in-vehicle ECU 202A, the relay device 101 causes the other in-vehicle ECUs 202B, 202C, and 202D that are in the sleep state to transition to the wake-up state. Therefore, in the in-vehicle system 301 according to the comparative example, extra power is consumed when the in-vehicle ECUs 202C and 202D, which are not communication partners of the in-vehicle ECU 202A, transition to the wake-up state.
  • the relay device 101 according to the embodiment of the present disclosure solves this problem with the following configuration and operation.
  • storage unit 54 stores a table (hereinafter also referred to as "network table T") showing the correspondence between communication port 51 and the network to which in-vehicle ECU 202 belongs.
  • the network table T is an example of correspondence information.
  • FIG. 7 is a diagram illustrating an example of a network table held by a relay device according to an embodiment of the present disclosure.
  • network table T1 shows the correspondence between communication ports 51 and VLANs. More specifically, the network table T1 shows the correspondence between the port number of the communication port 51 and the VLAN-ID of the in-vehicle ECU 202.
  • VLAN-ID of the on-vehicle ECUs 202A and 202B is "10"
  • the VLAN-ID of the on-vehicle ECUs 202C and 202D is "20". Therefore, in network table T1, VLAN-ID "10” and port numbers “#1” and “#2” are associated with each other, and VLAN-ID "20” and port numbers “#3” and “#4" are associated with each other. are associated.
  • the in-vehicle ECU 202A is an example of a first in-vehicle device
  • the in-vehicle ECU 202B is an example of a second in-vehicle device.
  • sleep control unit 63 when sleep control unit 63 receives wake-up request R1 from in-vehicle ECU 202A and transitions its own relay device 101 to the wake-up state, sleep control unit 63 performs the following based on network table T1:
  • the destination of the wake-up request R2 is selected from among the in-vehicle ECUs 202B, 202C, and 202D other than the in-vehicle ECU 202A.
  • the sleep control unit 63 selects the in-vehicle ECU 202B that belongs to the same VLAN as the VLAN corresponding to the communication port 51A to which the in-vehicle ECU 202A is connected, based on the network table T1.
  • the sleep control unit 63 determines that the communication circuit corresponding to the communication port 51 having the port number indicated by the reception notification received from the switch unit 52 has transitioned from the off state to the on state.
  • the switch section 52 notifies the sleep control section 63 of the port number "#1" of the communication port 51A that received the wake-up request R1, and the sleep control section 63 turns on the communication circuit corresponding to the communication port 51A. It is determined that the state has transitioned.
  • the sleep control unit 63 refers to the network table T1, identifies “10” as the same VLAN-ID as the VLAN-ID corresponding to the port number “#1” notified from the switch unit 52, and sets the VLAN-ID “#2” is specified as another port number corresponding to “10”. Thereby, the sleep control unit 63 identifies the in-vehicle ECU 202B connected to the communication port 51B with the port number "#2" as the communication partner of the in-vehicle ECU 202A. That is, the sleep control unit 63 selects the vehicle ECU 202B from the vehicle ECUs 202B, 202C, and 202D as the destination of the wake-up request R2. The sleep control unit 63 then transitions the communication circuit corresponding to the communication port 51B from the off state to the on state.
  • the sleep control unit 63 transmits a wake-up request R2 to the vehicle-mounted ECU 202B to cause the vehicle-mounted ECU 202B to transition to the wake-up state.
  • the sleep control unit 63 transmits the wake-up request R2 to the in-vehicle ECU 202B via the switch unit 52 and the communication port 51B.
  • the in-vehicle ECU 202B receives the wake-up request R2 from the relay device 101 and transitions to the wake-up state.
  • the relay device 101 and the in-vehicle ECU 202B establish a communication connection with each other by exchanging various information.
  • the vehicle ECU 202A After establishing a communication connection between the relay device 101 and the vehicle ECU 202B, the vehicle ECU 202A periodically or irregularly transmits a frame addressed to the vehicle ECU 202B to the relay device 101.
  • the switch unit 52 in the relay device 101 receives a frame addressed to the in-vehicle ECU 202B, that is, a frame including the destination MAC address "MAC-B", the switch unit 52 refers to the address table M shown in FIG. Specify "#2" as the corresponding port number. Then, the relay device 101 transmits a frame addressed to the in-vehicle ECU 202B from the communication port 51B. Thereby, the in-vehicle ECU 202A can communicate with the in-vehicle ECU 202B via the relay device 101.
  • the relay device 101 holds a network table T1 created in advance in the storage unit 54.
  • the relay device 101 acquires the VLAN-ID stored in the tag field of the frame received from each in-vehicle ECU 202, and based on the acquired VLAN-ID and the port number of the communication port 51 that received the frame.
  • the network table T1 may be created.
  • the sleep control unit 63 is not limited to a configuration in which the on-vehicle ECU 202B, which is the destination of the wake-up request R2, is selected from among the on-vehicle ECUs 202B, 202C, and 202D other than the on-vehicle ECU 202A, based on the network table T1.
  • the sleep control unit 63 may select a plurality of in-vehicle ECUs 202 that are part of the in-vehicle ECUs 202B, 202C, and 202D other than the in-vehicle ECU 202A.
  • FIG. 8 is a diagram illustrating an example of a sleep control sequence in the in-vehicle system according to the embodiment of the present disclosure.
  • step S101 when relay device 101 and on-vehicle ECUs 202A, 202B, 202C, and 202D are in a sleep state (step S101), on-vehicle ECU 202A transitions to a wake-up state (step S102).
  • the in-vehicle ECU 202A transmits a wake-up request R1 to the relay device 101 (step S103).
  • the relay device 101 receives the wake-up request R1 from the in-vehicle ECU 202A, and transitions to the wake-up state. More specifically, the state transition unit 62 in the relay device 101 transitions the communication circuit corresponding to the communication port 51A that received the wake-up request R1 from the off state to the on state (step S104).
  • the relay device 101 and the in-vehicle ECU 202A establish a communication connection with each other by exchanging various information (step S105).
  • the relay device 101 refers to the network table T1 in the storage unit 54 and selects the in-vehicle ECU 202B from among the in-vehicle ECUs 202B, 202C, and 202D other than the in-vehicle ECU 202A as the destination of the wake-up request R2. Specifically, as described above, the sleep control unit 63 in the relay device 101 selects a VLAN corresponding to the communication port 51A to which the in-vehicle ECU 202A is connected, from among the in-vehicle ECUs 202B, 202C, and 202D, based on the network table T1. The in-vehicle ECU 202B belonging to the same VLAN is selected. Then, the sleep control unit 63 turns on the communication circuit corresponding to the communication port 51B to which the in-vehicle ECU 202B is connected (step S106).
  • the relay device 101 transmits a wake-up request R2 to the in-vehicle ECU 202B (step S107).
  • the in-vehicle ECU 202B receives the wake-up request R2 from the relay device 101, and transitions to the wake-up state (step S108).
  • the relay device 101 and the in-vehicle ECU 202B establish a communication connection with each other by exchanging various information (step S109).
  • the in-vehicle ECUs 202A and 202B communicate with each other.
  • the relay device 101 receives a frame destined for the in-vehicle ECU 202B from the in-vehicle ECU 202A, it refers to the address table M and specifies "#2" as the port number corresponding to the frame. Then, the relay device 101 transmits the received frame to the destination in-vehicle ECU 202B from the communication port 51B corresponding to the specified port number "#2" (step S110).
  • the relay device 101 does not cause the in-vehicle ECU 202 in the sleep state of the in-vehicle ECUs 202C and 202D to transition to the wake-up state, so that power consumption in the in-vehicle ECU 202 can be suppressed.
  • FIG. 9 is a diagram illustrating a configuration of modification example 1 of the in-vehicle system according to the embodiment of the present disclosure.
  • the VLAN-ID of each in-vehicle ECU 202 is "10". In this way, in the first modification, it is assumed that the VLAN-IDs of each in-vehicle ECU 202 are the same.
  • the in-vehicle ECU 202 constitutes a PN (Partial Network) defined by AUTOSAR.
  • the plurality of in-vehicle ECUs 202 form a PNC, which is an example of a network, according to AUTOSAR.
  • PNC Physical Network
  • in-vehicle ECUs 202A and 202B and in-vehicle ECUs 202C and 202D belong to different PNCs.
  • the in-vehicle ECU 202 selects a communication partner from among the in-vehicle ECUs 202 belonging to the same PNC.
  • the ID of the PNC to which the on-vehicle ECUs 202A and 202B belong that is, the PN information
  • the PN information of the on-vehicle ECUs 202C and 202D is "2”.
  • the PN information is stored in the NM message, for example.
  • FIG. 10 is a diagram showing a network table held by the relay device of Modification 1 of the in-vehicle system according to the embodiment of the present disclosure.
  • storage unit 54 stores a network table T2 indicating the correspondence between communication ports 51 and PNCs. More specifically, the network table T2 shows the correspondence between the port number of the communication port 51 and the PN information of the in-vehicle ECU 202.
  • PN information "1" is associated with port numbers “#1” and “#2”
  • PN information "2" is associated with port numbers "#3" and “#4". ing.
  • the network table T2 may show a VLAN-ID corresponding to each port number, that is, VLAN-ID "10".
  • the sleep control unit 63 selects the in-vehicle ECU 202B that belongs to the same PNC as the PNC corresponding to the communication port 51A to which the in-vehicle ECU 202A is connected from among the in-vehicle ECUs 202B, 202C, and 202D.
  • the sleep control unit 63 refers to the network table T2, specifies “1” as the same PN information as the PN information corresponding to the port number “#1” notified from the switch unit 52, and sets the PN information. "#2" is specified as another port number corresponding to "1". Thereby, the sleep control unit 63 identifies the in-vehicle ECU 202B connected to the communication port 51B with the port number "#2" as the communication partner of the in-vehicle ECU 202A. That is, the sleep control unit 63 selects the vehicle ECU 202B from the vehicle ECUs 202B, 202C, and 202D as the destination of the wake-up request R2.
  • the relay device 101 holds a network table T2 created in advance in the storage unit 54.
  • the relay device 101 acquires the PN information stored in the NM message received from each in-vehicle ECU 202, and creates the network table T2 based on the acquired PN information and the port number of the communication port 51 that received the NM message. may be created.
  • FIG. 11 is a diagram illustrating a configuration of a second modification of the in-vehicle system according to the embodiment of the present disclosure.
  • in-vehicle ECUs 202A and 202B and in-vehicle ECUs 202C and 202D belong to different VLANs. Furthermore, in the second modification, similarly to the first modification, the on-vehicle ECUs 202A and 202B and the on-vehicle ECUs 202C and 202D belong to different PNCs.
  • FIG. 12 is a diagram showing a network table held by the relay device of Modification 2 of the in-vehicle system according to the embodiment of the present disclosure.
  • the storage unit 54 stores a network table T3 indicating the correspondence between the communication ports 51, VLANs, and PNCs. More specifically, the network table T3 shows the correspondence between the port number of the communication port 51, the VLAN-ID of the in-vehicle ECU 202, and the PN information of the in-vehicle ECU 202. In the network table T3, the PN information of each in-vehicle ECU 202 belonging to the same VLAN is the same.
  • VLAN-ID "10” and PN information "1” are associated with port numbers “#1” and “#2”
  • VLAN-ID "20” and PN information "2" are associated with port numbers “#1” and “#2”.
  • are associated with port numbers “#3” and “#4”.
  • the sleep control unit 63 selects an in-vehicle ECU 202 that belongs to the same PNC as the PNC corresponding to the communication port 51A, rather than an in-vehicle ECU 202 that belongs to the same VLAN as the VLAN corresponding to the communication port 51A to which the in-vehicle ECU 202A is connected. be selected preferentially.
  • the sleep control unit 63 refers to the network table T3, specifies “1” as the same PN information as the PN information corresponding to the port number “#1” notified from the switch unit 52, and sets the PN information. "#2" is specified as another port number corresponding to "1". Thereby, the sleep control unit 63 identifies the in-vehicle ECU 202B connected to the communication port 51B with the port number "#2" as the communication partner of the in-vehicle ECU 202A. That is, the sleep control unit 63 selects the vehicle ECU 202B from the vehicle ECUs 202B, 202C, and 202D as the destination of the wake-up request R2.
  • FIG. 13 is a diagram illustrating a configuration of modification 3 of the in-vehicle system according to the embodiment of the present disclosure.
  • in-vehicle ECUs 202A and 202C and in-vehicle ECUs 202B and 202D belong to different VLANs.
  • the VLAN-IDs of the in-vehicle ECUs 202A and 202C are "10"
  • the VLAN-IDs of the in-vehicle ECUs 202B and 202D are "20”.
  • in Modification 3 similarly to Modifications 1 and 2, in-vehicle ECUs 202A and 202B and in-vehicle ECUs 202C and 202D belong to different PNCs.
  • FIG. 14 is a diagram showing a network table held by the relay device of Modification 3 of the in-vehicle system according to the embodiment of the present disclosure.
  • the storage unit 54 stores a network table T4 indicating the correspondence between the communication ports 51, VLANs, and PNCs. More specifically, the network table T4 shows the correspondence between the port number of the communication port 51, the VLAN-ID of the in-vehicle ECU 202, and the PN information of the in-vehicle ECU 202. In the network table T4, the PN information of each in-vehicle ECU 202 belonging to the same VLAN is different from each other.
  • VLAN-ID "10” and PN information "1” are associated with port number "#1”
  • VLAN-ID "20” and PN information "1” are associated with port number "#1”.
  • #2 VLAN-ID "10” and PN information "2” are associated with port number "#3”
  • VLAN-ID "20” and PN information "2” are associated with "#4". are associated.
  • the sleep control unit 63 selects an in-vehicle ECU 202C that belongs to the same PNC as the PNC corresponding to the communication port 51A, rather than an in-vehicle ECU 202B that belongs to the same VLAN as the VLAN corresponding to the communication port 51A to which the in-vehicle ECU 202A is connected. be selected preferentially.
  • the sleep control unit 63 refers to the network table T4 and identifies “10” as the same VLAN-ID as the VLAN-ID corresponding to the port number “#1” notified from the switch unit 52, “#2” is specified as another port number corresponding to VLAN-ID “10”. Further, the sleep control unit 63 refers to the network table T4, identifies “1” as the same PN information as the PN information corresponding to the port number “#1” notified from the switch unit 52, and sets the PN information “1” to the PN information “1”. ⁇ #3'' is specified as another port number corresponding to .
  • the sleep control unit 63 transmits the wake-up request R2 to the in-vehicle ECU 202B connected to the communication port 51C with the port number "#3" rather than the in-vehicle ECU 202B connected to the communication port 51B with the port number "#2".
  • the in-vehicle ECU 202C is selected preferentially.
  • the network table T is not limited to the network tables T1, T2, T3, and T4 described above.
  • the network table T may be a table showing the correspondence between the port number of the communication port 51, which is the port number of the physical port, and the number of the logical port.
  • the relay device 101 selects the on-board ECU 202B from the on-board ECUs 202B, 202C, and 202D other than the on-board ECU 202A as the destination of the wake-up request R2.
  • Each process (each function) of the above-described embodiment is realized by a processing circuit including one or more processors.
  • the processing circuit may include an integrated circuit or the like in which one or more memories, various analog circuits, and various digital circuits are combined.
  • 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 program 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. May be executed.
  • the above processors include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), and an FPGA (Field Programmer). various types that are compatible with computer control, such as mmable Gate Array) and ASIC (Application Specific Integrated Circuit). processor.
  • the plurality of physically separated processors may cooperate with each other to execute each of the above processes.
  • the processors installed in each of a plurality of physically separated computers cooperate with each other via networks such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet to perform each of the above processes. May be executed.
  • the above program may be installed in the above memory from an external server device etc.
  • CD-ROM Compact Disc Read Only Memory
  • DVD-ROM Digital Versatile Disk Read Only Memory
  • semiconductors It may be distributed in a state stored in a recording medium such as a memory, and installed into the memory from the recording medium.
  • a relay device used in an in-vehicle system comprising three or more in-vehicle devices, Equipped with a processing circuit,
  • the processing circuit includes: When a first wake-up request is received from a first in-vehicle device of the three or more in-vehicle devices, transitioning the relay device in a sleep state to a wake-up state; A second wake-up request for selecting a second vehicle-mounted device from among the vehicle-mounted devices other than the first vehicle-mounted device and transitioning the second vehicle-mounted device to the wake-up state is sent to the second vehicle-mounted device.

Landscapes

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

Abstract

中継装置は、3つ以上の車載装置を備える車載システムにおいて用いられる中継装置であって、前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させる状態遷移部と、前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するスリープ制御部とを備える。

Description

中継装置、スリープ制御方法およびスリープ制御プログラム
 本開示は、中継装置、スリープ制御方法およびスリープ制御プログラムに関する。
 この出願は、2022年8月5日に出願された日本出願特願2022-125479号を基礎とする優先権を主張し、その開示のすべてをここに取り込む。
 特許文献1(特開2021-160472号公報)には、以下のような技術が開示されている。すなわち、車載装置は、車載ネットワークにおける車載装置と通信する通信部と、前記車載ネットワークに新たに追加された車載装置である新規車載装置を検知する検知部と、前記検知部によって前記新規車載装置が検知された検知状態において、前記車載ネットワークにおける車載装置と同期してスリープ状態へ遷移するためのスリープ要求を前記通信部経由で前記新規車載装置へ送信するスリープ処理部とを備える。
特開2021-160472号公報
 本開示の中継装置は、3つ以上の車載装置を備える車載システムにおいて用いられる中継装置であって、前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させる状態遷移部と、前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するスリープ制御部とを備える。
 本開示の一態様は、このような特徴的な処理部を備える中継装置として実現され得るだけでなく、中継装置の一部または全部を実現する半導体集積回路として実現され得たり、中継装置を含むシステムとして実現され得る。
図1は、本開示の実施の形態に係る車載システムの構成の一例を示す図である。 図2は、本開示の実施の形態に係る中継装置の構成の一例を示す図である。 図3は、本開示の実施の形態に係る車載システムにおいて伝送されるフレームの一例を示す図である。 図4は、本開示の実施の形態に係る中継装置が保持するアドレステーブルの一例を示す図である。 図5は、本開示の実施の形態に係る車載システムにおけるスリープ処理のシーケンスの一例を示す図である。 図6は、比較例に係る車載システムにおけるスリープ制御のシーケンスの一例を示す図である。 図7は、本開示の実施の形態に係る中継装置が保持するネットワークテーブルの一例を示す図である。 図8は、本開示の実施の形態に係る車載システムにおけるスリープ制御のシーケンスの一例を示す図である。 図9は、本開示の実施の形態に係る車載システムの変形例1の構成を示す図である。 図10は、本開示の実施の形態に係る車載システムの変形例1の中継装置が保持するネットワークテーブルを示す図である。 図11は、本開示の実施の形態に係る車載システムの変形例2の構成を示す図である。 図12は、本開示の実施の形態に係る車載システムの変形例2の中継装置が保持するネットワークテーブルを示す図である。 図13は、本開示の実施の形態に係る車載システムの変形例3の構成を示す図である。 図14は、本開示の実施の形態に係る車載システムの変形例3の中継装置が保持するネットワークテーブルを示す図である。
 車載システムにおける車載装置をスリープ制御することにより、消費電力の低減を図る技術が開発されている。
 [本開示が解決しようとする課題]
 特許文献1に記載の技術を超えて、省電力機能を向上させることが可能な技術が望まれる。
 本開示は、上述の課題を解決するためになされたもので、その目的は、車載システムにおける省電力機能を向上させることが可能な中継装置、スリープ制御方法およびスリープ制御プログラムを提供することである。
 [本開示の効果]
 本開示によれば、車載システムにおける省電力機能を向上させることができる。
 [本開示の実施形態の説明]
 最初に、本開示の実施形態の内容を列記して説明する。
 (1)本開示の実施の形態に係る中継装置は、3つ以上の車載装置を備える車載システムにおいて用いられる中継装置であって、前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させる状態遷移部と、前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するスリープ制御部とを備える。
 このように、第1の車載装置からウェイクアップ要求を受信した場合にウェイクアップ要求の送信先となる第2の車載装置を選択し、スリープ状態である第2の車載装置をウェイクアップ状態へ遷移させる構成により、第1の車載装置の通信相手でない他の車載装置のスリープ状態を維持することができるため、当該他の車載装置における電力消費を抑制することができる。したがって、車載システムにおける省電力機能を向上させることができる。
 (2)上記(1)において、前記中継装置は、さらに、前記3つ以上の車載装置がそれぞれ接続される3つ以上の通信ポートと、前記通信ポートと前記車載装置が属するネットワークとの対応関係を示す対応情報を記憶する記憶部とを備えてもよく、前記スリープ制御部は、前記対応情報に基づいて前記第2の車載装置を選択してもよい。
 このような構成により、第1の車載装置以外の車載装置の中から第2の車載装置を簡単に選択することができる。
 (3)上記(2)において、前記対応情報は、前記通信ポートとVLAN(Virtual Local Area Network)との対応関係を示してもよく、前記スリープ制御部は、前記対応情報に基づいて、前記第1の車載装置が接続される前記通信ポートに対応するVLANと同じVLANに属する前記車載装置を前記第2の車載装置として選択してもよい。
 このような構成により、第1の車載装置が属するネットワークと同じネットワークに属する車載装置を第2の車載装置として簡単に選択することができる。
 (4)上記(2)において、前記対応情報は、前記通信ポートとPNC(Partial Network Cluster)との対応関係を示してもよく、前記スリープ制御部は、前記対応情報に基づいて、前記第1の車載装置が接続される前記通信ポートに対応するPNCと同じPNCに属する前記車載装置を前記第2の車載装置として選択してもよい。
 このような構成により、第1の車載装置が属するネットワークと同じネットワークに属する車載装置を第2の車載装置として簡単に選択することができる。
 (5)上記(2)において、前記対応情報は、前記通信ポートとVLANとPNCとの対応関係を示してもよく、前記スリープ制御部は、前記第1の車載装置が接続される前記通信ポートに対応するVLANと同じVLANに属する前記車載装置よりも、前記第1の車載装置が接続される前記通信ポートに対応するPNCと同じPNCに属する前記車載装置を前記第2の車載装置として優先的に選択してもよい。
 このような構成により、第1の車載装置が複数種類のネットワークに属している場合において、優先度の高いネットワークとしてPNCに属する車載装置を第2の車載装置として選択することができる。
 (6)本開示の実施の形態に係るスリープ制御方法は、3つ以上の車載装置を備える車載システムにおいて用いられる中継装置におけるスリープ制御方法であって、前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させるステップと、前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するステップとを含む。
 このように、第1の車載装置からウェイクアップ要求を受信した場合にウェイクアップ要求の送信先となる第2の車載装置を選択し、スリープ状態である第2の車載装置をウェイクアップ状態へ遷移させる構成により、第1の車載装置の通信相手でない他の車載装置のスリープ状態を維持することができるため、当該他の車載装置における電力消費を抑制することができる。したがって、車載システムにおける省電力機能を向上させることができる。
 (7)本開示の実施の形態に係るスリープ制御プログラムは、3つ以上の車載装置を備える車載システムにおいて用いられる中継装置において用いられるスリープ制御プログラムであって、コンピュータを、前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させる状態遷移部と、前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するスリープ制御部、として機能させるためのプログラムである。
 このように、第1の車載装置からウェイクアップ要求を受信した場合にウェイクアップ要求の送信先となる第2の車載装置を選択し、スリープ状態である第2の車載装置をウェイクアップ状態へ遷移させる構成により、第1の車載装置の通信相手でない他の車載装置のスリープ状態を維持することができるため、当該他の車載装置における電力消費を抑制することができる。したがって、車載システムにおける省電力機能を向上させることができる。
 以下、本開示の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。
 [車載システム]
 図1は、本開示の実施の形態に係る車載システムの構成の一例を示す図である。
 図1を参照して、車載システム301は、たとえば、1または複数の中継装置101と、3つ以上の車載ECU202とを備える。
 図1に示す例では、車載システム301は、1つの中継装置101と、4つの車載ECU202A,202B,202C,202Dとを備える。中継装置101および車載ECU202は、車載ネットワーク401を構成する。車載システム301は、車両1に搭載される。車載ECU202は、車載装置の一例である。
 なお、車載システム301は、1つの中継装置101を備える構成に限らず、複数の中継装置101を備える構成であってもよい。また、車載システム301は、4つの車載ECU202を備える構成に限らず、3つの車載ECU202または5つ以上の車載ECU202を備える構成であってもよい。
 車載ECU202は、たとえば、TCU(Telematics Communication Unit)、自動運転ECU、顔認証用ECU、ドアロック用ECU、センサ、ナビゲーション装置、ヒューマンマシンインターフェース、およびカメラ等である。
 車載ネットワーク401において、たとえば、車載ECU202A,202Bと、車載ECU202C,202Dとは、互いに異なるVLANに属する。
 車載ECU202A,202Bの属するVLANのIDは「10」であり、車載ECU202C,202Dの属するVLANのIDは「20」である。なお、以下の説明において、VLANのIDを「VLAN-ID」と称する場合がある。
 中継装置101および車載ECU202は、所定の車載ネットワークマネジメント方式に準拠した装置である。より詳細には、中継装置101および車載ECU202は、車載ネットワークマネジメント方式の一例であるAUTOSAR(AUTomotive Open System ARchitecture)(登録商標)に準拠した装置である。
 車載ネットワーク401において、車載ECU202は、たとえばイーサネット(登録商標)ケーブル11を介して中継装置101に接続される。各車載ECU202は、イーサネットケーブル11および中継装置101を介して他の車載ECU202に接続される。
 中継装置101は、たとえばゲートウェイ装置である。中継装置101は、たとえば、レイヤ2、およびレイヤ2よりも上位のレイヤ3に従って中継処理を行うことが可能である。
 より詳細には、中継装置101は、たとえばイーサネットの通信規格に従って、イーサネットケーブル11を介して接続された車載ECU202間でやり取りされるイーサネットフレーム(以下、単に「フレーム」とも称する。)の中継処理を行う。
 中継装置101および各車載ECU202は、後述する各種情報を含むフレームを生成し、他の車載ECU202または中継装置101へ送信する。
 なお、車載システム301では、イーサネットの通信規格に従ってフレームの中継処理が行われる構成に限らず、たとえば、CAN(Controller Area Network)、CAN FD(CAN with Flexible Data Rate)、FlexRay(登録商標)、MOST(Media Oritend System Transport)(登録商標)およびLIN(Local Interconnect Network)等の通信規格に従ってフレームの中継が行われる構成であってもよい。
 [中継装置]
 図2は、本開示の実施の形態に係る中継装置の構成の一例を示す図である。
 図2を参照して、中継装置101は、通信ポート51と、スイッチ部52と、処理部53と、記憶部54とを備える。
 スイッチ部52および処理部53の一方または両方は、たとえば、1または複数のプロセッサを含む処理回路(Circuitry)により実現される。記憶部54は、たとえば上記処理回路に含まれる不揮発性メモリである。処理部53は、判断部61と、状態遷移部62と、スリープ制御部63とを含む。
 より詳細には、中継装置101は、3つ以上の車載ECU202がそれぞれ接続される3つ以上の通信ポート51を備える。通信ポート51は、たとえば、イーサネットケーブル11を接続可能な端子である。
 図2に示す例では、中継装置101は、通信ポート51である4つの通信ポート51A,51B,51C,51Dを備える。中継装置101において、通信ポート51A,51B,51C,51Dには、車載ECU202A,202B,202C,202Dがイーサネットケーブル11を介してそれぞれ接続されている。
 スイッチ部52は、たとえば、複数の通信ポート51にそれぞれ接続される図示しない複数の端子を含む。各端子には、固有のポート番号が割り当てられている。
 ここでは、通信ポート51A,51B,51C,51Dに接続された各端子のポート番号は、それぞれ#1,#2,#3,#4である。
 スイッチ部52は、車載ECU202間で送受信されるフレームを中継する。より詳細には、スイッチ部52は、ある車載ECU202から他の車載ECU202を宛先とするフレームを通信ポート51経由で受信すると、受信したフレームを宛先の車載ECU202へ送信する。
 また、スイッチ部52は、車載ECU202から中継装置101を宛先とするフレームを通信ポート51経由で受信すると、受信したフレームを処理部53へ出力する。
 また、スイッチ部52は、処理部53から受けたフレームを通信ポート51経由で宛先の車載ECU202へ送信する。
 図3は、本開示の実施の形態に係る車載システムにおいて伝送されるフレームの一例を示す図である。
 図3を参照して、フレームは、アドレス、タグ、タイプおよびペイロードのフィールドを有する。
 アドレスのフィールドには、たとえば、宛先MACアドレスと、送信元MACアドレスとが格納される。タグのフィールドには、たとえば、VLAN-IDが格納される。ペイロードには、宛先IPアドレスおよび各種情報が格納される。
 ここでは、車載ECU202A,202B,202C,202DのMACアドレスは、それぞれ「MAC-A」,「MAC-B」,「MAC-C」,「MAC-D」である。
 再び図2を参照して、記憶部54は、車載ECU202のMACアドレスと通信ポート51との対応関係を示すMACアドレステーブル(以下、「アドレステーブルM」とも称する。)を記憶する。
 図4は、本開示の実施の形態に係る中継装置が保持するアドレステーブルの一例を示す図である。
 図4を参照して、アドレステーブルMでは、MACアドレス「MAC-A」と通信ポート51Aのポート番号「#1」とが対応付けられ、MACアドレス「MAC-B」と通信ポート51Bのポート番号「#2」とが対応付けられ、MACアドレス「MAC-C」と通信ポート51Cのポート番号「#3」とが対応付けられ、MACアドレス「MAC-D」と通信ポート51Dのポート番号「#4」とが対応付けられている。
 (スリープ状態およびウェイクアップ状態)
 中継装置101および車載ECU202は、ウェイクアップ状態からスリープ状態へ遷移し、また、スリープ状態からウェイクアップ状態へ遷移する。中継装置101および車載ECU202は、ウェイクアップ状態において、車載システム301における他の装置と通信を行い、スリープ状態において、車載システム301における他の装置との通信を停止する。ここで、スリープ状態とは、装置の一部の機能の停止、装置への電力供給の停止、または装置におけるクロック周波数の低下等により、ウェイクアップ状態よりも消費電力が小さい状態である。
 たとえば、中継装置101および車載ECU202の各々において、スリープ状態へ遷移するための条件であるスリープ条件と、ウェイクアップ状態へ遷移するための条件であるウェイクアップ条件とが予め設定されている。
 たとえば、スリープ条件は、車両1がイグニッションオフになること、および車両1が駐停車すること等である。また、たとえば、ウェイクアップ条件は、車両1がイグニッションオンになること、および車両1が走行を開始すること等である。
 図5は、本開示の実施の形態に係る車載システムにおけるスリープ処理のシーケンスの一例を示す図である。図5に示す「装置A」および「装置B」は、中継装置101または車載ECU202である。
 図5を参照して、まず、装置Aおよび装置Bは、ウェイクアップ状態において(ステップS51およびS52)、AUTOSARに従うNM(Network Management)メッセージが格納されたフレームを車載システム301における各装置へ送信する。具体的には、装置Aおよび装置Bは、死活監視のために、NMメッセージがペイロードに格納されたフレームを各装置へブロードキャストする(ステップS53およびS54)。
 次に、装置Aは、ウェイクアップ状態において自己のスリープ条件が成立した場合(ステップS55)、NMメッセージの送信を停止する(ステップS56)。
 また、装置Bは、ウェイクアップ状態において自己のスリープ条件が成立した場合(ステップS57)、NMメッセージの送信を停止する(ステップS58)。
 次に、装置Aおよび装置Bは、NMメッセージの送信を停止してから所定時間が経過するまでの間に車載システム301における他の装置からNMメッセージを受信しなかった場合、スリープ状態へ遷移する(ステップS59)。
 このように、NMメッセージを用いて装置Aおよび装置Bの状態をウェイクアップ状態からスリープ状態へ切り替えることにより、装置Aおよび装置Bの消費電力を低減することができる。
 なお、装置Aおよび装置Bは、スリープ状態において(ステップS59)、自己のウェイクアップ条件が成立した場合、ウェイクアップ状態へ遷移し、NMメッセージの定期的な送信を開始する。また、装置Aおよび装置Bは、スリープ状態において(ステップS59)、車載システム301における他の装置からウェイクアップ要求を受信した場合、ウェイクアップ状態へ遷移する。
 (判断部)
 再び図2を参照して、中継装置101における判断部61は、中継装置101のスリープ条件の成否、および中継装置101のウェイクアップ条件の成否を判断する。
 より詳細には、判断部61は、車両1の状態を監視し、監視結果に基づいて、中継装置101のスリープ条件の成否、および中継装置101のウェイクアップ条件の成否を判断する判断処理を行う。判断部61は、たとえば定期的に判断処理を行い、判断結果を状態遷移部62に通知する。
 (状態遷移部)
 状態遷移部62は、中継装置101をスリープ状態へ遷移させる。また、状態遷移部62は、中継装置101をウェイクアップ状態へ遷移させる。
 ここで、スイッチ部52は、複数の通信ポート51にそれぞれ対応する複数の通信回路を含む。中継装置101がスリープ状態である場合、スイッチ部52におけるすべての通信回路は動作を停止している。中継装置101がウェイクアップ状態である場合、スイッチ部52の複数の通信回路のうち少なくとも1つの通信回路は動作している。以下、スイッチ部52の通信回路が動作を停止している状態を「オフ状態」、当該通信回路が動作している状態を「オン状態」とも称する。
 より詳細には、状態遷移部62は、中継装置101がウェイクアップ状態であり、かつ判断部61からスリープ条件が成立した旨の通知を受けた場合、中継装置101をスリープ状態へ遷移させる。
 状態遷移部62は、中継装置101がスリープ状態であり、かつ判断部61からウェイクアップ条件が成立した旨の通知を受けた場合、中継装置101をウェイクアップ状態へ遷移させる。
 また、状態遷移部62は、車載ECU202からウェイクアップ要求を通信ポート51およびスイッチ部52経由で受信した場合、スリープ状態である中継装置101をウェイクアップ状態へ遷移させる。以下、車載ECU202が中継装置101へ送信するウェイクアップ要求を、「ウェイクアップ要求R1」とも称する。ウェイクアップ要求R1は、第1のウェイクアップ要求の一例である。なお、「第1の」の記載は、優先順位を意味するものではない。
 より詳細には、車載ECU202は、ウェイクアップ要求R1を、イーサネットケーブル11を介して直接接続された中継装置101へ送信する。一例として、ウェイクアップ要求R1は、ハイレベルのパルス信号である。車載ECU202は、たとえば、OPEN Allianceの規格に従って、当該ハイレベルのパルス信号を中継装置101へ送信する。
 スイッチ部52は、車載ECU202からウェイクアップ要求R1を通信ポート51経由で受信すると、ウェイクアップ要求R1を受信した旨およびウェイクアップ要求R1を受信した通信ポート51のポート番号を示す受信通知を、状態遷移部62およびスリープ制御部63へ出力する。
 状態遷移部62は、スイッチ部52から受信通知を受けて、中継装置101をスリープ状態からウェイクアップ状態へ遷移させる。より詳細には、状態遷移部62は、ウェイクアップ要求R1を受信した通信ポート51に対応する通信回路をオフ状態からオン状態へ遷移させる。
 そして、中継装置101および車載ECU202は、各種情報を含むフレームをやり取りすることにより互いの通信接続を確立する。
 (スリープ制御部)
 スリープ制御部63は、車載ECU202をウェイクアップ状態へ遷移させる制御を行う。
 より詳細には、たとえば、スリープ制御部63は、車載ECU202がスリープ状態である場合、ハイレベルのパルス信号等であるウェイクアップ要求をスイッチ部52および通信ポート51経由でウェイクアップ対象の当該車載ECU202へ送信する。車載ECU202は、ウェイクアップ要求を受信すると、ウェイクアップ状態へ遷移する。以下、中継装置101が車載ECU202へ送信するウェイクアップ要求を、「ウェイクアップ要求R2」とも称する。ウェイクアップ要求R2は、第2のウェイクアップ要求の一例である。なお、「第2の」の記載は、優先順位を意味するものではない。
 [課題の説明]
 ところで、中継装置101と3つ以上の車載ECU202とを備える車載システム301において、中継装置101および各車載ECU202がスリープ状態である場合が考えられる。この場合、ある車載ECU202が、他の車載ECU202と通信を行う必要が生じたことによりウェイクアップ状態へ遷移すると、ウェイクアップ要求R1を中継装置101へ送信する。ここでは、車載ECU202Aが、車載ECU202Bと通信を行うためにウェイクアップ状態へ遷移し、ウェイクアップ要求R1を中継装置101へ送信する例を説明する。
 中継装置101は、ウェイクアップ要求R1を受信して、ウェイクアップ状態へ遷移する。しかしながら、ウェイクアップ要求R1は、ハイレベルのパルス信号であることから、車載ECU202Aの通信相手を示す情報を含んでいない。このため、中継装置101は、ウェイクアップ要求R1を受信しても、車載ECU202A以外の車載ECU202B,202C,202Dのうちのいずれの車載ECU202をウェイクアップ状態へ遷移させるべきかを判断することができない。以下、このような課題の詳細について説明する。
 図6は、比較例に係る車載システムにおけるスリープ制御のシーケンスの一例を示す図である。以下に説明する比較例に係る車載システムは、スリープ制御において上記課題が生じる点で本開示の実施の形態に係る車載システムと相違する。なお、以下に説明する比較例において、車両、車載システムおよび車載システムにおける各装置には、本開示の実施の形態と同一符号が付される。
 ここでは、比較例に係る車載システム301が、顔認証によってドアロックの解除が可能な車両1に搭載されるシステムであり、車載ECU202Aが顔認証用ECUであり、車載ECU202Bがドアロック用ECUであり、車両1の駐車中において、中継装置101および各車載ECU202はスリープ状態である例を想定する。
 図6を参照して、まず、中継装置101および車載ECU202A,202B,202C,202Dがスリープ状態である状況において(ステップS1)、車載ECU202Aが、ウェイクアップ状態へ遷移したものとする。ここでは、車載ECU202Aは、顔認証に成功し、ドアロックの解除を車載ECU202Bへ要求する必要が生じたことにより、ウェイクアップ状態へ遷移したものとする(ステップS2)。
 次に、車載ECU202Aは、ウェイクアップ要求R1を中継装置101へ送信する(ステップS3)。
 次に、中継装置101は、車載ECU202Aからウェイクアップ要求R1を受信して、ウェイクアップ状態へ遷移する。より詳細には、中継装置101における状態遷移部62は、ウェイクアップ要求R1を受信した通信ポート51Aに対応する通信回路をオフ状態からオン状態へ遷移させる(ステップS4)。
 次に、中継装置101および車載ECU202Aは、各種情報をやり取りすることにより互いに通信接続を確立する(ステップS5)。
 次に、中継装置101における状態遷移部62は、通信ポート51A以外の他の通信ポート51B,51C,51Dにそれぞれ対応する通信回路をオフ状態からオン状態へ遷移させる。このように、比較例に係る車載システム301における中継装置101は、車載ECU202Aとの間で通信接続を確立しても、車載ECU202Aの通信相手を示す情報がウェイクアップ要求R1に含まれていないため、車載ECU202Aの通信相手を特定することができない(ステップS6)。
 次に、中継装置101は、ウェイクアップ要求R2を車載ECU202B,202C,202Dへ送信する(ステップS7およびS8)。
 次に、車載ECU202B,202C,202Dは、中継装置101からウェイクアップ要求R2を受信して、ウェイクアップ状態へ遷移する(ステップS9およびS10)。
 次に、中継装置101と車載ECU202B,202C,202Dとは、それぞれ、各種情報をやり取りすることにより互いに通信接続を確立する(ステップS11)。
 次に、車載ECU202Aおよび202Bは、互いに通信を行う。たとえば、中継装置101は、車載ECU202Aから車載ECU202Bを宛先とするフレームを受信すると、アドレステーブルMを参照し、当該フレームに対応するポート番号として「#2」を特定する。そして、中継装置101は、受信したフレームを、特定したポート番号「#2」に対応する通信ポート51Bから宛先の車載ECU202Bへ送信する(ステップS12)。
 また、車載ECU202Aの通信相手でない車載ECU202C,202Dは、ウェイクアップ状態への遷移後(ステップS10)、他の車載ECU202と通信しない場合、自己のスリープ条件が成立するとNMメッセージの送信を停止する。そして、車載ECU202C,202Dは、NMメッセージの送信を停止してから所定時間が経過するまでの間に車載システム301における他の装置からNMメッセージを受信しなかった場合、スリープ状態へ遷移する(ステップS13)。
 このように、比較例に係る車載システム301において、中継装置101は、車載ECU202Aからウェイクアップ要求を受信すると、スリープ状態である他の車載ECU202B,202C,202Dをウェイクアップ状態へ遷移させる。そのため、比較例に係る車載システム301では、車載ECU202Aの通信相手でない車載ECU202C,202Dがウェイクアップ状態へ遷移することにより、余分な電力が消費される。
 これに対して、本開示の実施の形態に係る中継装置101は、以下のような構成および動作により、このような課題を解決する。
 [中継装置]
 再び図2を参照して、記憶部54は、通信ポート51と車載ECU202が属するネットワークとの対応関係を示すテーブル(以下、「ネットワークテーブルT」とも称する。)を記憶する。ネットワークテーブルTは、対応情報の一例である。
 図7は、本開示の実施の形態に係る中継装置が保持するネットワークテーブルの一例を示す図である。
 図7を参照して、ネットワークテーブルT1は、通信ポート51とVLANとの対応関係を示す。より詳細には、ネットワークテーブルT1は、通信ポート51のポート番号と車載ECU202のVLAN-IDとの対応関係を示す。
 上述したように、図1に示す例では、車載ECU202A,202BのVLAN-IDは「10」であり、車載ECU202C,202DのVLAN-IDは「20」である。そのため、ネットワークテーブルT1では、VLAN-ID「10」とポート番号「#1」,「#2」とが対応付けられ、VLAN-ID「20」とポート番号「#3」,「#4」とが対応付けられている。
 以下、車載ECU202Aが車載ECU202Bと通信を行うためにウェイクアップ状態へ遷移した場合に、中継装置101が車載ECU202Bのみをウェイクアップ状態へ遷移させる処理について説明する。車載ECU202Aは第1の車載装置の一例であり、車載ECU202Bは第2の車載装置の一例である。
 図1、図2および図7を参照して、スリープ制御部63は、車載ECU202Aからウェイクアップ要求R1を受けて自己の中継装置101がウェイクアップ状態へ遷移した場合、ネットワークテーブルT1に基づいて、車載ECU202A以外の車載ECU202B,202C,202Dの中からウェイクアップ要求R2の送信先を選択する。
 ここでは、スリープ制御部63は、ネットワークテーブルT1に基づいて、車載ECU202Aが接続される通信ポート51Aに対応するVLANと同じVLANに属する車載ECU202Bを選択する。
 より詳細には、スリープ制御部63は、スイッチ部52から受けた受信通知の示すポート番号の通信ポート51に対応する通信回路がオフ状態からオン状態へ遷移したと判断する。ここでは、スイッチ部52は、ウェイクアップ要求R1を受信した通信ポート51Aのポート番号「#1」をスリープ制御部63へ通知し、スリープ制御部63は、通信ポート51Aに対応する通信回路がオン状態へ遷移したと判断する。
 そして、スリープ制御部63は、ネットワークテーブルT1を参照し、スイッチ部52から通知されたポート番号「#1」に対応するVLAN-IDと同じVLAN-IDとして「10」を特定し、VLAN-ID「10」に対応する他のポート番号として「#2」を特定する。これにより、スリープ制御部63は、ポート番号「#2」の通信ポート51Bに接続された車載ECU202Bを、車載ECU202Aの通信相手として特定する。すなわち、スリープ制御部63は、ウェイクアップ要求R2の送信先として、車載ECU202B,202C,202Dの中から車載ECU202Bを選択する。そして、スリープ制御部63は、通信ポート51Bに対応する通信回路をオフ状態からオン状態へ遷移させる。
 スリープ制御部63は、車載ECU202Bをウェイクアップ状態へ遷移させるためのウェイクアップ要求R2を車載ECU202Bへ送信する。
 より詳細には、スリープ制御部63は、ウェイクアップ要求R2をスイッチ部52および通信ポート51B経由で車載ECU202Bへ送信する。
 車載ECU202Bは、中継装置101からウェイクアップ要求R2を受信して、ウェイクアップ状態へ遷移する。
 車載ECU202Bがウェイクアップ状態へ遷移すると、中継装置101および車載ECU202Bは、各種情報をやり取りすることにより互いに通信接続を確立する。
 車載ECU202Aは、中継装置101と車載ECU202Bとの通信接続の確立後、定期的または不定期に、車載ECU202B宛てのフレームを中継装置101へ送信する。
 中継装置101におけるスイッチ部52は、車載ECU202B宛てのフレーム、すなわち宛先MACアドレス「MAC-B」を含むフレームを受信すると、図4に示すアドレステーブルMを参照し、MACアドレス「MAC-B」に対応するポート番号として「#2」を特定する。そして、中継装置101は、車載ECU202B宛てのフレームを通信ポート51Bから送信する。これにより、車載ECU202Aは、中継装置101を介して車載ECU202Bと通信を行うことができる。
 たとえば、車載ネットワーク401における中継装置101と各車載ECU202の接続関係が固定されている場合、中継装置101は、予め作成されたネットワークテーブルT1を記憶部54に保持している。なお、中継装置101は、各車載ECU202から受信したフレームのタグのフィールドに格納されているVLAN-IDを取得し、取得したVLAN-IDと当該フレームを受信した通信ポート51のポート番号とに基づいて、ネットワークテーブルT1を作成してもよい。
 また、スリープ制御部63は、ネットワークテーブルT1に基づいて、車載ECU202A以外の車載ECU202B,202C,202Dの中からウェイクアップ要求R2の送信先となる車載ECU202Bを選択する構成に限定されない。スリープ制御部63は、車載ECU202A以外の車載ECU202B,202C,202Dの一部である複数の車載ECU202を選択してもよい。
 [動作の流れ]
 図8は、本開示の実施の形態に係る車載システムにおけるスリープ制御のシーケンスの一例を示す図である。
 図8を参照して、まず、中継装置101および車載ECU202A,202B,202C,202Dがスリープ状態である場合において(ステップS101)、車載ECU202Aが、ウェイクアップ状態へ遷移したとする(ステップS102)。
 次に、車載ECU202Aは、ウェイクアップ要求R1を中継装置101へ送信する(ステップS103)。
 次に、中継装置101は、車載ECU202Aからウェイクアップ要求R1を受信して、ウェイクアップ状態へ遷移する。より詳細には、中継装置101における状態遷移部62は、ウェイクアップ要求R1を受信した通信ポート51Aに対応する通信回路をオフ状態からオン状態へ遷移させる(ステップS104)。
 次に、中継装置101および車載ECU202Aは、各種情報をやり取りすることにより互いに通信接続を確立する(ステップS105)。
 次に、中継装置101は、記憶部54におけるネットワークテーブルT1を参照し、ウェイクアップ要求R2の送信先として、車載ECU202A以外の車載ECU202B,202C,202Dの中から車載ECU202Bを選択する。具体的には、中継装置101におけるスリープ制御部63は、上述したように、ネットワークテーブルT1に基づいて、車載ECU202B,202C,202Dの中から、車載ECU202Aが接続される通信ポート51Aに対応するVLANと同じVLANに属する車載ECU202Bを選択する。そして、スリープ制御部63は、車載ECU202Bが接続された通信ポート51Bに対応する通信回路をオン状態へ遷移させる(ステップS106)。
 次に、中継装置101は、ウェイクアップ要求R2を車載ECU202Bへ送信する(ステップS107)。
 次に、車載ECU202Bは、中継装置101からウェイクアップ要求R2を受信して、ウェイクアップ状態へ遷移する(ステップS108)。
 次に、中継装置101および車載ECU202Bは、各種情報をやり取りすることにより互いに通信接続を確立する(ステップS109)。
 次に、車載ECU202Aおよび202Bは、互いに通信を行う。たとえば、中継装置101は、車載ECU202Aから車載ECU202Bを宛先とするフレームを受信すると、アドレステーブルMを参照し、当該フレームに対応するポート番号として「#2」を特定する。そして、中継装置101は、受信したフレームを、特定したポート番号「#2」に対応する通信ポート51Bから宛先の車載ECU202Bへ送信する(ステップS110)。
 なお、図8において、車載ECU202Aがウェイクアップ状態へ遷移した場合、車載ECU202C,202Dの一方はスリープ状態であって、他方はウェイクアップ状態であってもよい。この場合でも、中継装置101は、車載ECU202C,202Dのうちのスリープ状態である車載ECU202をウェイクアップ状態へ遷移させないため、当該車載ECU202における電力消費を抑制することができる。
 <変形例1>
 図9は、本開示の実施の形態に係る車載システムの変形例1の構成を示す図である。
 図9を参照して、変形例1では、各車載ECU202のVLAN-IDは「10」である。このように、変形例1では、各車載ECU202のVLAN-IDは同じであるとする。
 変形例1では、車載ECU202は、AUTOSARに規定されたPN(Partial Network)を構成する。具体的には、複数の車載ECU202は、AUTOSARに従ってネットワークの一例であるPNCを形成する。図9に示す例では、車載ECU202A,202Bと、車載ECU202C,202Dとは、互いに異なるPNCに属する。車載ECU202は、同じPNCに属する車載ECU202の中から通信相手を選択する。
 以下の説明において、車載ECU202A,202Bが属するPNCのID、すなわちPN情報は「1」であり、車載ECU202C,202DのPN情報は「2」である。PN情報は、たとえば、NMメッセージに格納されている。
 図10は、本開示の実施の形態に係る車載システムの変形例1の中継装置が保持するネットワークテーブルを示す図である。
 図2および図10を参照して、記憶部54は、通信ポート51とPNCとの対応関係を示すネットワークテーブルT2を記憶する。より詳細には、ネットワークテーブルT2は、通信ポート51のポート番号と車載ECU202のPN情報との対応関係を示す。
 ネットワークテーブルT2では、PN情報「1」とポート番号「#1」,「#2」とが対応付けられ、PN情報「2」とポート番号「#3」,「#4」とが対応付けられている。なお、ネットワークテーブルT2には、各ポート番号に対応するVLAN-ID、すなわちVLAN-ID「10」が示されてもよい。
 スリープ制御部63は、ネットワークテーブルT2に基づいて、車載ECU202B,202C,202Dの中から車載ECU202Aが接続される通信ポート51Aに対応するPNCと同じPNCに属する車載ECU202Bを選択する。
 より詳細には、スリープ制御部63は、ネットワークテーブルT2を参照し、スイッチ部52から通知されたポート番号「#1」に対応するPN情報と同じPN情報として「1」を特定し、PN情報「1」に対応する他のポート番号として「#2」を特定する。これにより、スリープ制御部63は、ポート番号「#2」の通信ポート51Bに接続された車載ECU202Bを、車載ECU202Aの通信相手として特定する。すなわち、スリープ制御部63は、ウェイクアップ要求R2の送信先として、車載ECU202B,202C,202Dの中から車載ECU202Bを選択する。
 たとえば、車載ネットワーク401における中継装置101と各車載ECU202の接続関係が固定されている場合、中継装置101は、予め作成されたネットワークテーブルT2を記憶部54に保持している。なお、中継装置101は、各車載ECU202から受信したNMメッセージに格納されたPN情報を取得し、取得したPN情報と当該NMメッセージを受信した通信ポート51のポート番号とに基づいて、ネットワークテーブルT2を作成してもよい。
 <変形例2>
 図11は、本開示の実施の形態に係る車載システムの変形例2の構成を示す図である。
 図11を参照して、変形例2では、図1に示す車載システム301と同様に、車載ECU202A,202Bと、車載ECU202C,202Dとは、互いに異なるVLANに属する。また、変形例2では、変形例1と同様に、車載ECU202A,202Bと、車載ECU202C,202Dとは、互いに異なるPNCに属する。
 図12は、本開示の実施の形態に係る車載システムの変形例2の中継装置が保持するネットワークテーブルを示す図である。
 図2および図12を参照して、記憶部54は、通信ポート51とVLANとPNCとの対応関係を示すネットワークテーブルT3を記憶する。より詳細には、ネットワークテーブルT3は、通信ポート51のポート番号と車載ECU202のVLAN-IDと車載ECU202のPN情報との対応関係を示す。ネットワークテーブルT3では、同じVLANに属する各車載ECU202のPN情報は同じである。
 より詳細には、ネットワークテーブルT3では、VLAN-ID「10」およびPN情報「1」がポート番号「#1」,「#2」に対応付けられ、VLAN-ID「20」およびPN情報「2」がポート番号「#3」,「#4」に対応付けられている。
 スリープ制御部63は、ネットワークテーブルT3に基づいて、車載ECU202Aが接続される通信ポート51Aに対応するVLANと同じVLANに属する車載ECU202よりも、通信ポート51Aに対応するPNCと同じPNCに属する車載ECU202を優先的に選択する。
 より詳細には、スリープ制御部63は、ネットワークテーブルT3を参照し、スイッチ部52から通知されたポート番号「#1」に対応するPN情報と同じPN情報として「1」を特定し、PN情報「1」に対応する他のポート番号として「#2」を特定する。これにより、スリープ制御部63は、ポート番号「#2」の通信ポート51Bに接続された車載ECU202Bを、車載ECU202Aの通信相手として特定する。すなわち、スリープ制御部63は、ウェイクアップ要求R2の送信先として、車載ECU202B,202C,202Dの中から車載ECU202Bを選択する。
 <変形例3>
 図13は、本開示の実施の形態に係る車載システムの変形例3の構成を示す図である。
 図13を参照して、変形例3では、車載ECU202A,202Cと、車載ECU202B,202Dとは、互いに異なるVLANに属する。図13に示す例では、車載ECU202A,202CのVLAN-IDは「10」であり、車載ECU202B,202DのVLAN-IDは「20」である。また、変形例3では、変形例1および2と同様に、車載ECU202A,202Bと、車載ECU202C,202Dとは、互いに異なるPNCに属する。
 図14は、本開示の実施の形態に係る車載システムの変形例3の中継装置が保持するネットワークテーブルを示す図である。
 図2および図14を参照して、記憶部54は、通信ポート51とVLANとPNCとの対応関係を示すネットワークテーブルT4を記憶する。より詳細には、ネットワークテーブルT4は、通信ポート51のポート番号と車載ECU202のVLAN-IDと車載ECU202のPN情報との対応関係を示す。ネットワークテーブルT4では、同じVLANに属する各車載ECU202のPN情報は互いに異なる。
 より詳細には、ネットワークテーブルT4では、VLAN-ID「10」およびPN情報「1」がポート番号「#1」に対応付けられ、VLAN-ID「20」およびPN情報「1」がポート番号「#2」に対応付けられ、VLAN-ID「10」およびPN情報「2」がポート番号「#3」に対応付けられ、VLAN-ID「20」およびPN情報「2」が「#4」に対応付けられている。
 スリープ制御部63は、ネットワークテーブルT4に基づいて、車載ECU202Aが接続される通信ポート51Aに対応するVLANと同じVLANに属する車載ECU202Bよりも、通信ポート51Aに対応するPNCと同じPNCに属する車載ECU202Cを優先的に選択する。
 より詳細には、スリープ制御部63は、ネットワークテーブルT4を参照し、スイッチ部52から通知されたポート番号「#1」に対応するVLAN-IDと同じVLAN-IDとして「10」を特定し、VLAN-ID「10」に対応する他のポート番号として「#2」を特定する。また、スリープ制御部63は、ネットワークテーブルT4を参照し、スイッチ部52から通知されたポート番号「#1」に対応するPN情報と同じPN情報として「1」を特定し、PN情報「1」に対応する他のポート番号として「#3」を特定する。
 そして、スリープ制御部63は、ウェイクアップ要求R2の送信先として、ポート番号「#2」の通信ポート51Bに接続された車載ECU202Bよりも、ポート番号「#3」の通信ポート51Cに接続された車載ECU202Cを優先的に選択する。
 なお、ネットワークテーブルTは、上述したネットワークテーブルT1,T2,T3,T4に限定されない。ネットワークテーブルTは、物理ポートのポート番号である通信ポート51のポート番号と、論理ポートの番号との対応関係を示すテーブルであってもよい。
 たとえば、車載ECU202Aが接続される通信ポート51Aおよび車載ECU202Bが接続される通信ポート51Bに同じ論理ポートが割り当てられており、車載ECU202Aからウェイクアップ要求R1を中継装置101へ送信した場合、中継装置101におけるスリープ制御部63は、ウェイクアップ要求R2の送信先として、車載ECU202A以外の車載ECU202B,202C,202Dの中から車載ECU202Bを選択する。
 上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 上述の実施形態の各処理(各機能)は、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)、および半導体メモリ等の記録媒体に格納された状態で流通し、上記記録媒体から上記メモリにインストールされても構わない。
 以上の説明は、以下に付記する特徴を含む。
 [付記1]
 3つ以上の車載装置を備える車載システムにおいて用いられる中継装置であって、
 処理回路を備え、
 前記処理回路は、
 前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させ、
 前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信する、中継装置。
 1 車両
 11 イーサネットケーブル
 51,51A,51B,51C,51D 通信ポート
 52 スイッチ部
 53 処理部
 54 記憶部
 61 判断部
 62 状態遷移部
 63 スリープ制御部
 101 中継装置
 202,202A,202B,202C,202D 車載ECU
 301 車載システム
 401 車載ネットワーク

Claims (7)

  1.  3つ以上の車載装置を備える車載システムにおいて用いられる中継装置であって、
     前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させる状態遷移部と、
     前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するスリープ制御部とを備える、中継装置。
  2.  前記中継装置は、さらに、
     前記3つ以上の車載装置がそれぞれ接続される3つ以上の通信ポートと、
     前記通信ポートと前記車載装置が属するネットワークとの対応関係を示す対応情報を記憶する記憶部とを備え、
     前記スリープ制御部は、前記対応情報に基づいて前記第2の車載装置を選択する、請求項1に記載の中継装置。
  3.  前記対応情報は、前記通信ポートとVLAN(Virtual Local Area Network)との対応関係を示し、
     前記スリープ制御部は、前記対応情報に基づいて、前記第1の車載装置が接続される前記通信ポートに対応するVLANと同じVLANに属する前記車載装置を前記第2の車載装置として選択する、請求項2に記載の中継装置。
  4.  前記対応情報は、前記通信ポートとPNC(Partial Network Cluster)との対応関係を示し、
     前記スリープ制御部は、前記対応情報に基づいて、前記第1の車載装置が接続される前記通信ポートに対応するPNCと同じPNCに属する前記車載装置を前記第2の車載装置として選択する、請求項2に記載の中継装置。
  5.  前記対応情報は、前記通信ポートとVLANとPNCとの対応関係を示し、
     前記スリープ制御部は、前記第1の車載装置が接続される前記通信ポートに対応するVLANと同じVLANに属する前記車載装置よりも、前記第1の車載装置が接続される前記通信ポートに対応するPNCと同じPNCに属する前記車載装置を前記第2の車載装置として優先的に選択する、請求項2に記載の中継装置。
  6.  3つ以上の車載装置を備える車載システムにおいて用いられる中継装置におけるスリープ制御方法であって、
     前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させるステップと、
     前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するステップとを含む、スリープ制御方法。
  7.  3つ以上の車載装置を備える車載システムにおいて用いられる中継装置において用いられるスリープ制御プログラムであって、
     コンピュータを、
     前記3つ以上の車載装置のうちの第1の車載装置から第1のウェイクアップ要求を受信した場合、スリープ状態である前記中継装置をウェイクアップ状態へ遷移させる状態遷移部と、
     前記第1の車載装置以外の前記車載装置の中から第2の車載装置を選択し、前記第2の車載装置を前記ウェイクアップ状態へ遷移させるための第2のウェイクアップ要求を前記第2の車載装置へ送信するスリープ制御部、
    として機能させるための、スリープ制御プログラム。
PCT/JP2023/026255 2022-08-05 2023-07-18 中継装置、スリープ制御方法およびスリープ制御プログラム WO2024029323A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022125479A JP2024022118A (ja) 2022-08-05 2022-08-05 中継装置、スリープ制御方法およびスリープ制御プログラム
JP2022-125479 2022-08-05

Publications (1)

Publication Number Publication Date
WO2024029323A1 true WO2024029323A1 (ja) 2024-02-08

Family

ID=89848874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/026255 WO2024029323A1 (ja) 2022-08-05 2023-07-18 中継装置、スリープ制御方法およびスリープ制御プログラム

Country Status (2)

Country Link
JP (1) JP2024022118A (ja)
WO (1) WO2024029323A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180103121A1 (en) * 2016-10-07 2018-04-12 Hyundai Motor Company Operation method of communication node for selective wake-up in vehicle network
WO2022102309A1 (ja) * 2020-11-10 2022-05-19 株式会社デンソー 通信装置
JP7108064B1 (ja) * 2021-02-02 2022-07-27 本田技研工業株式会社 車両制御システム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180103121A1 (en) * 2016-10-07 2018-04-12 Hyundai Motor Company Operation method of communication node for selective wake-up in vehicle network
WO2022102309A1 (ja) * 2020-11-10 2022-05-19 株式会社デンソー 通信装置
JP7108064B1 (ja) * 2021-02-02 2022-07-27 本田技研工業株式会社 車両制御システム

Also Published As

Publication number Publication date
JP2024022118A (ja) 2024-02-16

Similar Documents

Publication Publication Date Title
US10969850B2 (en) Method for transmitting and receiving wake-up signal in vehicle network
CN110535667B (zh) 用于选择性唤醒车辆网络中的通信节点的方法和装置
KR102299941B1 (ko) 오디오 비디오 브리징 네트워크의 림프-홈 작동
US9270482B2 (en) Method for activating a network component of a vehicle network system
CN105388858B (zh) 网络中通信节点的操作方法
US8650416B2 (en) Communications network with nodes having power control capability
US20030223436A1 (en) System for managing networks
CN112075063B (zh) 用于车辆中的数据通信的网关
US11616843B2 (en) Method and apparatus for operating communication node using network management function in vehicle network
CN112005588A (zh) 交通工具无线局域网
JP2013530595A (ja) 少なくとも1つの装置の駆動状態を遷移させる方法
US20240146604A1 (en) Relay device, vehicle communication system, vehicle, communication method, and communication program
JP2024075747A (ja) 中継装置、通信方法および通信プログラム
JP2024080708A (ja) 管理装置、車載システム、通信管理方法および通信管理プログラム
WO2024029323A1 (ja) 中継装置、スリープ制御方法およびスリープ制御プログラム
US11337184B2 (en) Method and apparatus for transmitting and receiving data stream performed in vehicle network
JP2022066959A (ja) 通信システムおよび電子制御装置
US11126240B2 (en) Communication node in vehicle network and operation method of the communication node
WO2020090361A1 (ja) 車両用中継装置
WO2024090260A1 (ja) 車載中継装置、スリープ制御方法およびスリープ制御プログラム
JP2007336179A (ja) 車載データベースシステム
WO2024075553A1 (ja) 車載装置、接続先通知方法および接続先通知プログラム
WO2024029195A1 (ja) 中継装置、通信制御方法および通信制御プログラム
WO2024014191A1 (ja) 管理装置、車両通信管理方法および車両通信管理プログラム
WO2024101115A1 (ja) 車載装置、機能制御方法および機能制御プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23849881

Country of ref document: EP

Kind code of ref document: A1