In-vehicle network system, control method for the in-vehicle network system, higher-level control device, and program

The in-vehicle network system simplifies power management by using relay circuits and virtual communication nodes to control power distribution based on network messages, addressing the complexity of separate signal control in existing systems.

JP2026185213APending Publication Date: 2026-11-27DENSO CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025082170
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing in-vehicle network systems require separate control signals for managing the power supply to individual ECUs, leading to complex and inefficient power management.

Method used

An in-vehicle network system with a higher-level control device that uses relay circuits and virtual communication nodes to manage power supply based on network management messages, allowing centralized control of power distribution to target devices.

Benefits of technology

Enables simplified and efficient power management by controlling power supply to target devices through network messages, reducing complexity and improving operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185213000001_ABST
    Figure 2026185213000001_ABST
Patent Text Reader

Abstract

This provides an in-vehicle network system that allows for simpler control of power supply to target devices. [Solution] The in-vehicle network systems 100 and 100A include higher-level control devices 10 and 20. The higher-level control devices control whether or not power is supplied to the target devices 50, 60, and 70. The higher-level control devices include relay control units 16 and 26 that turn on or off relay circuits 17, 27, and 28 provided on the power supply line 6 of the target devices, virtual communication node management units 15, 24, and 25 that manage virtual communication nodes corresponding to the relay circuits, and virtual relay units 14 and 23 that virtually relay NM messages to the virtual communication node management units. When the received NM message instructs the virtual communication node to start up, the virtual communication node management unit instructs the relay control units to turn on the relay circuits.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an in-vehicle network system having a plurality of control devices that are connected to a communication bus in a vehicle and can communicate with each other, and to a method for controlling the in-vehicle network system. The present disclosure also relates to a higher-level control device that is used in the in-vehicle network system and controls whether power is supplied to at least one target device. Furthermore, the present disclosure relates to a program that causes the higher-level control device to execute processing for controlling whether power is supplied to at least one target device.

Background Art

[0002] For example, Patent Document 1 discloses an in-vehicle device that can cut off power supply from a power supply device to an in-vehicle ECU that does not need to be activated. The in-vehicle device is communicably connected to a plurality of in-vehicle ECUs. The in-vehicle device acquires information about an in-vehicle ECU to be activated via an in-vehicle network. Then, the in-vehicle device supplies power to the in-vehicle ECU to be activated, and outputs an activation signal via the in-vehicle network in a state where power supply to the in-vehicle ECU that does not need to be activated is cut off. As a result, only the in-vehicle ECU to be activated is activated by the activation signal, and activation of the in-vehicle ECU that does not need to be activated is avoided.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] In Patent Document 1, each in-vehicle ECU is configured to transition to a wake-up state (start-up state) or a sleep state (stopped or standby state) upon receiving a wake-up signal or sleep signal transmitted from an in-vehicle device. Furthermore, in Patent Document 1, the in-vehicle device is configured to supply power to or cut off power to each in-vehicle ECU by performing or stopping the application of a gate voltage to the gate terminal of a semiconductor relay such as an FET.

[0005] Therefore, in Patent Document 1, the in-vehicle device needs to determine whether or not to output a signal for supplying power to each in-vehicle ECU (gate drive signal) and a signal for switching between the wake-up state and the sleep state of each in-vehicle ECU (wake-up signal or sleep signal). Furthermore, there is a problem that the in-vehicle device needs to output the gate drive signal and the wake-up signal or sleep signal separately based on the result of the determination.

[0006] This disclosure has been made in view of the above-mentioned points, and aims to provide an in-vehicle network system and a control method for an in-vehicle network system that can control the power supply to a target device in a simpler manner. Furthermore, this disclosure aims to provide a higher-level control device used in an in-vehicle network system for controlling the power supply to a target device. In addition, this disclosure aims to provide a program that causes the higher-level control device to execute a process for controlling the power supply to a target device. [Means for solving the problem]

[0007] To achieve the above objectives, the in-vehicle network system described herein is: An in-vehicle network system (100, 100A) having multiple control devices (10, 20, 30, 40, 50, 60, 70) capable of communicating with each other via a communication bus (12, 13, 22), Multiple control devices include at least one higher-level control device (10, 20), The higher-level control unit controls whether or not power is supplied to at least one target device (50, 60, 70), The higher-level control unit is, A relay control unit (16, 26) that turns on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, The virtual communication node management unit (15, 24, 25) manages the virtual communication nodes corresponding to the relay circuit, The upper-level control unit includes a virtual relay unit (14, 23) that virtually relays a network management message (hereinafter referred to as NM message) to the virtual communication node management unit when it receives it. The virtual communication node management unit instructs the relay control unit to turn on the relay circuit when the received NM message instructs the virtual communication node to start up.

[0008] The control method for an in-vehicle network system according to this disclosure is: A control method for an in-vehicle network system (100, 100A) having a plurality of control devices (10, 20, 30, 40, 50, 60, 70) capable of communicating with each other via a communication bus (12, 13, 22) in a vehicle, The multiple control devices include at least one higher-level control device (10, 20) that controls whether or not power is supplied to the target device by turning on or off relay circuits (17, 27, 28) provided on the power supply line (6) of at least one target device (50, 60, 70). The higher-level control unit is equipped with a virtual communication node management unit (15, 24, 25) that manages virtual communication nodes corresponding to relay circuits. When the upper-level control unit receives a network management message (hereinafter referred to as NM message), it virtually relays it to the virtual communication node management unit, and The virtual communication node management unit includes the function of instructing the relay circuit to be turned on when the received NM message instructs the virtual communication node to be started.

[0009] The higher-level control device described herein is In a vehicle, a vehicle-mounted network system (100, 100A) has a plurality of control devices (10, 20, 30, 40, 50, 60, 70) that can communicate with each other via a communication bus (12, 13, 22), and a higher-level control device (10, 20) controls whether or not power is supplied to at least one target device (50, 60, 70), A relay control unit (16, 26) that turns on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, The virtual communication node management unit (15, 24, 25) manages the virtual communication nodes corresponding to the relay circuit, The upper-level control unit includes a virtual relay unit (14, 23) that virtually relays a network management message (hereinafter referred to as NM message) to the virtual communication node management unit when it receives it. The virtual communication node management unit instructs the relay control unit to turn on the relay circuit when the received NM message instructs the virtual communication node to start up.

[0010] Furthermore, the program described in this disclosure is A program that causes a higher-level control unit (10, 20) used in an in-vehicle network system (100, 100A) having multiple control units (10, 20, 30, 40, 50, 60, 70) capable of communicating with each other via a communication bus (12, 13, 22) to execute a process to control whether or not power is supplied to at least one target device (50, 60, 70), in which the higher-level control unit (10, 20) is used, The higher-level control unit, Relay control units (16, 26) that turn on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, The virtual communication node management unit (15, 24, 25) manages the virtual communication nodes corresponding to the relay circuit, and When the upper-level control unit receives a network management message (hereinafter referred to as NM message), it functions as a virtual relay unit (14, 23) that virtually relays the message to the virtual communication node management unit. When the received NM message is an instruction to activate the virtual communication node, the virtual communication node management unit instructs the relay control unit to turn on the relay circuit.

[0011] The in-vehicle network system, the control method for an in-vehicle network system, the higher-level control device, and the program according to the present disclosure have the above-described configuration, so that the higher-level control device can supply power to the target device in accordance with the NM message instructing activation of the virtual communication node. Therefore, according to the in-vehicle network system, the control method for an in-vehicle network system, the higher-level control device, and the program according to the present disclosure, it is possible to easily control power supply to the target device.

[0012] The reference numerals in the parentheses above merely show an example of the correspondence relationship with specific configurations in the embodiments described later in order to facilitate understanding of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0013] In addition, technical features other than the above-described features of the present disclosure, which are described in the claims, will become apparent from the description of the embodiments and the accompanying drawings described later. [Brief Description of Drawings]

[0014] [Figure 1] FIG. 1 is a configuration diagram showing an example of the configuration of the in-vehicle network system according to the first embodiment. [Figure 2] FIG. 2 is a configuration diagram showing the configuration of a communication node in the in-vehicle network system of FIG. 1. [Figure 3] FIG. 3 is an explanatory diagram for explaining an example of the NM message, the PN request information, and the PNC setting information. [Figure 4] FIG. 4 is a flowchart showing an example of processing executed by the higher-level ECU and the first to third middle-level ECUs. [Figure 5] FIG. 5 is a flowchart showing an example of details of the virtual relay processing in step S160 of the flowchart of FIG. 4. [Figure 6]It is a flow chart which shows an example of processing executed in the first to third virtual communication node management units. [Figure 7] It is a block diagram showing an example of the configuration of the in-vehicle network system according to the second embodiment. [Figure 8] It is a flow chart showing an example of processing executed by the PNC setting information management unit. [Figure 9] It is a flow chart which shows an example of details of the PNC setting necessity determination processing in step S440 of the flow chart of FIG. 8. [Figure 10] It is a flow chart which shows an example of details of the setting state determination processing in step S650 of the flow chart of FIG. 9. [Figure 11] It is a sequence diagram showing an example of the flow of processing as a real communication node and a virtual communication node in the PNC setting information management unit and the host ECU when the setting state determination processing is executed. [Figure 12] It is a flow chart which shows an example of details of the PNC setting process in step S460 of the flow chart of FIG. 8. [Figure 13] It is a sequence diagram showing an example of the flow of processing as a real communication node and a virtual communication node in the PNC setting information management unit and the host ECU at the time of executing the PNC setting process. [Figure 14] It is a flow chart showing an example of processing executed by the host ECU and the first to third middle ECUs. [Figure 15] It is a flow chart which shows an example of details of the virtual relay processing in step S161 of the flow chart of FIG. 14. [Figure 16] It is a flow chart which shows an example of details of the PNC setting response processing in step S166 of the flow chart of FIG. 14. [Figure 17] It is a flow chart which shows an example of details of the setting state confirmation processing in step S167 of the flow chart of FIG. 14. [Figure 18] It is a flow chart which shows an example of processing executed in the first to third virtual communication node management units. [Modes for carrying out the invention]

[0015] The following describes embodiments of the in-vehicle network system, control method for the in-vehicle network system, higher-level control device, and program relating to this disclosure, with reference to the drawings. However, this disclosure is not limited to the embodiments described below, and various modifications described thereafter are also included within the technical scope of this disclosure. Embodiments and various modifications can be combined as appropriate to the extent that no technical inconsistencies arise. In the following description, identical or similar configurations may be omitted from description by assigning the same reference numeral to multiple drawings. Also, if only a part of a configuration is referred to, the description described elsewhere may apply to the other parts.

[0016] (First Embodiment) Figure 1 is a configuration diagram showing an example of the configuration of the in-vehicle network system 100 according to this embodiment. The in-vehicle network system 100 shown in Figure 1 comprises a higher-level ECU 10, first to third intermediate-level ECUs 20, 30, and 40, and first to third lower-level ECUs 50, 60, and 70. ECU is an abbreviation for Electronic Control Unit. In this embodiment, the higher-level ECU 10, first to third intermediate-level ECUs 20, 30, and 40, and first to third lower-level ECUs 50, 60, and 70 are each mounted on a vehicle. Vehicles include passenger cars, motorcycles, transport vehicles, construction vehicles, agricultural vehicles, etc.

[0017] The in-vehicle network system 100 operates on power supplied from a battery 2 mounted in the vehicle. More specifically, power from the battery 2 is supplied to the upper ECU 10, the first to third intermediate ECUs 20, 30, 40, and the first to third lower ECUs 50, 60, 70 of the in-vehicle network system 100 via a power supply circuit 4. The power supply circuit 4 can, if necessary, convert the power supply voltage of the battery 2 mounted in the vehicle to the operating voltage of the upper ECU 10, the first to third intermediate ECUs 20, 30, 40, and the first to third lower ECUs 50, 60, 70.

[0018] The power supply lines 6 of the first to third lower ECUs 50, 60, and 70 are provided with first to third relay circuits 17, 27, and 28. The first to third relay circuits 17, 27, and 28 are switched on and off by the first relay control unit 16 of the upper ECU 10 and the second relay control unit 26 of the first intermediate ECU 20, respectively. The upper ECU 10 and the first intermediate ECU 20 correspond to the upper-side control devices of this disclosure. The first to third lower ECUs 50, 60, and 70 correspond to the devices covered by this disclosure.

[0019] The first to third relay circuits 17, 27, and 28 can be composed of semiconductor switches such as MOSFETs and IGBTs. However, the first to third relay circuits 17, 27, and 28 may be composed of ordinary mechanical relays instead of semiconductor switches. Furthermore, the first to third relay circuits 17, 27, and 28 may be provided inside the upper ECU 10 and the first intermediate ECU 20, as shown in Figure 1, or they may be provided outside the upper ECU 10 and the first intermediate ECU 20.

[0020] Note that the configuration of the in-vehicle network system 100 is not limited to the example shown in Figure 1. For example, the number of higher-level ECUs 10 may be two or more, not just one. In this case, intermediate-level ECUs and lower-level ECUs may be placed under each higher-level ECU. Two or more higher-level ECUs may be connected to each other in a way that allows them to communicate with one another. Also, the higher-level ECU 10 may be omitted if any of the intermediate-level ECUs 20, 30, or 40 also perform the functions of the higher-level ECU 10. The number of intermediate-level ECUs 20, 30, or 40 placed under the higher-level ECU 10 may be two or fewer, or four or more, not just three. Regarding the lower-level ECUs 50, 60, and 70, multiple lower-level ECUs may be connected to a single relay circuit 17, 27, or 28. Also, the lower-level ECUs 50, 60, and 70 may include lower-level ECUs that are powered directly from the power supply circuit 4 without going through the relay circuits 17, 27, or 28. Furthermore, the target devices connected to relay circuits 17, 27, and 28 may be sensors or actuators, rather than lower-level ECUs.

[0021] The upper ECU 10, the first to third intermediate ECUs 20, 30, and 40, and the first to third lower ECUs 50, 60, and 70 may each be composed of a computer equipped with a processor, memory, and storage. The processor is, for example, a CPU (Central Processing Unit), MPU (Micro Processing Unit), GPU (Graphics Processing Unit), or DFP (Data Flow Processor) that executes predetermined processes according to a program. Memory is a volatile storage medium that temporarily stores the results of the processor's calculations, such as RAM (Random Access Memory). Storage is a non-volatile storage medium such as flash memory or ROM (Read Only Memory). Various programs and data executed by the processor are stored in the storage.

[0022] The upper ECU 10, the first to third intermediate ECUs 20, 30, 40, and the first to third lower ECUs 50, 60, 70 are equipped with communication interfaces (communication IFs) 11, 21, 31, 41, 51, 61, 71 for communicating with other ECUs via communication buses 12, 13, 22.

[0023] The communication interface 11 of the higher-level ECU 10 is connected to the communication interfaces 21, 31, and 41 of the first to third intermediate ECUs 20, 30, and 40 via the communication bus 12. The first to third intermediate ECUs 20, 30, and 40 can also communicate with each other via this communication bus 12. However, the communication bus connecting the higher-level ECU 10 to the first to third intermediate ECUs 20, 30, and 40 may be provided separately from the communication bus connecting the first to third intermediate ECUs 20, 30, and 40 with each other.

[0024] Furthermore, the communication IF11 of the upper ECU10 is connected to the communication IF51 of the first lower ECU50 via the communication bus 13. The communication IF21 of the first intermediate ECU20 is connected to the communication IF61 of the second lower ECU60 and the communication IF71 of the third lower ECU70 via the communication bus 22. Note that the communication IF61 of the second lower ECU60 and the communication IF71 of the third lower ECU70 may be connected to the communication IF21 of the first intermediate ECU20 via separate communication buses.

[0025] The in-vehicle network system 100 can use CAN (registered trademark, hereinafter the same) as a communication protocol for the communication IFs 11, 21, 31, 41, 51, 61, and 71 of the upper ECU 10, the first to third intermediate ECUs 20, 30, and 40, and the first to third lower ECUs 50, 60, and 70 to communicate with each other. CAN is an abbreviation for Controller Area Network. However, the communication protocol is not limited to CAN, and the in-vehicle network system 100 can employ a variety of communication protocols such as Ethernet (registered trademark), LIN (Local Interconnect Network), FlexRay (registered trademark), and CAN-FD (CAN with Flexible Data Rate). For example, different communication protocols may be adopted on different communication buses 12, 13, and 22.

[0026] The higher-level ECU 10 can function as a domain controller that oversees the control of, for example, the first to third intermediate ECUs 20, 30, and 40, and the first to third lower-level ECUs 50, 60, and 70. A domain refers to a functional unit when the functions of a vehicle are broadly divided into domains such as the vehicle's powertrain domain, chassis domain, advanced driver assistance domain, body domain, and cockpit domain. For example, if the domain controller for the powertrain domain is the higher-level ECU 10, then the first to third intermediate ECUs 20, 30, and 40, and the first to third lower-level ECUs 50, 60, and 70 include various ECUs for controlling the vehicle's powertrain, such as the engine ECU, motor (inverter) ECU, battery monitoring ECU, and transmission ECU. Furthermore, if the domain controller for the body domain is the higher-level ECU 10, the first to third intermediate ECUs 20, 30, 40 and the first to third lower-level ECUs 50, 60, 70 include various ECUs for controlling the vehicle body, such as a matching ECU, door ECU, window ECU, and camera ECU.

[0027] The above is just one example of domain division, and the domain division may differ from the example described above. Alternatively, the higher-level ECU 10 may function as an area controller that oversees the control of the first to third intermediate ECUs 20, 30, 40 and the first to third lower-level ECUs 50, 60, 70 located in each area of ​​the vehicle (for example, front, rear, right side, left side, etc.).

[0028] The higher-level ECU 10, for example, as a domain controller, determines whether the first to third intermediate ECUs 20, 30, and 40, and the first to third lower-level ECUs 50, 60, and 70 should be started and operating based on various information such as various sensor signals, switch signals, and signals obtained from other ECUs. When the higher-level ECU 10 determines that at least one of the ECUs 20, 30, 40, 50, 60, or 70 should be started and operating, it sends a network management (hereinafter referred to as NM) message to start the corresponding ECU 20, 30, 40, 50, 60, or 70 and put it into an operating state. The NM message will be explained in detail later.

[0029] Furthermore, the function of determining whether at least one of the first to third intermediate ECUs 20, 30, 40 and the first to third lower ECUs 50, 60, 70 should be activated and operating, and sending an NM message, may be provided by other ECUs such as the first to third intermediate ECUs 20, 30, 40, in addition to or instead of the upper ECU 10. Moreover, if a vehicle is equipped with multiple upper ECUs and at least one intermediate ECU under each upper ECU, the NM message to activate at least one of the first to third intermediate ECUs 20, 30, 40 and the first to third lower ECUs 50, 60, 70 may be sent from other upper ECUs or intermediate ECUs under other upper ECUs.

[0030] In the in-vehicle network system 100 according to this embodiment, as shown in Figure 1, the first to third relay circuits 17, 27, and 28 are provided in the power supply lines 6 of the first to third lower ECUs 50, 60, and 70, respectively. Therefore, in order to put the first to third lower ECUs 50, 60, and 70 into operation, it is necessary to turn on the corresponding first to third relay circuits 17, 27, and 28.

[0031] In this embodiment, in order to enable the on / off control of the first to third relay circuits 17, 27, and 28 by NM messages, a virtual communication node is defined corresponding to the first to third relay circuits 17, 27, and 28. A communication node refers to a communication entity that has the function of communicating with other communication nodes, such as the higher-level ECU 10 and the first to third intermediate ECUs 20, 30, and 40. For example, in the configuration shown in Figure 1, as shown in Figure 2, a first virtual communication node 10B is defined corresponding to the first relay circuit 17. In addition, a second virtual communication node 20B is defined corresponding to the second relay circuit 27, and a third virtual communication node 20C is defined corresponding to the third relay circuit 28. As a result, as shown in Figure 2, the higher-level ECU 10, in addition to being the actual communication node 10A itself, also includes the first virtual communication node 10B. Furthermore, the first intermediate ECU 20, in addition to being the actual communication node 20A itself, will also include the second and third virtual communication nodes 20B and 20C. The second and third intermediate ECUs 30 and 40 are the actual communication nodes 30A and 40A.

[0032] In this embodiment, the first to third virtual communication node management units 15, 24, and 25, which manage the first to third virtual communication nodes 10B, 20B, and 20C, are provided in the upper-level control unit, the upper-level ECU 10, and the first intermediate ECU 20. Specifically, the upper-level ECU 10 is provided with the first virtual communication node management unit 15, which manages the first virtual communication node 10B. The first intermediate ECU 20 is provided with the second virtual communication node management unit 24, which manages the second virtual communication node 20B. Furthermore, the first intermediate ECU 20 is provided with the third virtual communication node management unit 25, which manages the third virtual communication node 20C.

[0033] The upper ECU 10 and the first intermediate ECU 20 have virtual relay units 14 and 23 that virtually relay messages, such as NM messages, to the first to third virtual communication node management units 15, 24, and 25 upon receiving them. "Virtual relaying" means that the first and second virtual relay units 14 and 23 receive messages addressed to virtual communication nodes 10B, 20B, and 20C at the communication IF 11 of the upper ECU 10 and the communication IF 21 of the first intermediate ECU 20, and pass them on to the first to third virtual communication node management units 15, 24, and 25. Note that NM messages are received by all communication nodes, including virtual communication nodes 10B, 20B, and 20C. Furthermore, when the first to third virtual communication node management units 15, 24, and 25 transmit messages such as NM messages, the first and second virtual relay units 14 and 23 virtually relay the messages to the respective communication IFs 11 and 21 of the upper-level ECU 10 and the first intermediate ECU 20, respectively.

[0034] All communication nodes, including virtual communication nodes 10B, 20B, and 20C, store cluster configuration information (also referred to as PNC configuration information) that indicates the cluster to which they belong. For example, the PNC configuration information indicating the cluster to which virtual communication nodes 10B, 20B, and 20C belong is stored by the first to third virtual communication node management units 15, 24, and 25, respectively. The NM message contains startup cluster information (also referred to as PN request information) that specifies the startup cluster to be started.

[0035] As described above, the first to third virtual communication node management units 15, 24, and 25 receive NM messages virtually relayed by the first and second virtual relay units 14 and 23. If the startup cluster specified in the PN request information of the received NM message matches the cluster in the stored cluster setting information of the virtual communication nodes 10B, 20B, and 20C, the first to third virtual communication node management units 15, 24, and 25 consider that the NM message instructs the startup of the corresponding virtual communication nodes 10B, 20B, and 20C. Then, if the received NM message instructs the startup of the virtual communication nodes 10B, 20B, and 20C, the first to third virtual communication node management units 15, 24, and 25 instruct the first and second relay control units 16 and 26 to turn on the corresponding first to third relay circuits 17, 27, and 28, respectively. In this manner, in the in-vehicle network system 100 according to this embodiment, the on / off status of the first to third relay circuits 17, 27, and 28 is controlled by NM messages. Cluster setting information (PNC setting information) and startup cluster information (PN request information) will be described in detail later.

[0036] The PNC setting information stored by the first to third virtual communication node management units 15, 24, and 25 can be determined based on the PNC setting information of the first to third lower ECUs 50, 60, and 70 connected to the first to third relay circuits 17, 27, and 28. For example, as shown in Figure 1, if only one of the target devices, the first to third lower ECUs 50, 60, and 70, is connected to each of the first to third relay circuits 17, 27, and 28, the PNC setting information stored by the first to third virtual communication node management units 15, 24, and 25 can include the PNC setting information of the connected first to third lower ECUs 50, 60, and 70, respectively. In this case, the PNC setting information stored by the first to third virtual communication node management units 15, 24, and 25 may be the same as the PNC setting information of the connected first to third lower ECUs 50, 60, and 70, respectively. As a result, the first to third virtual communication node management units 15, 24, and 25 can turn on the corresponding first to third relay circuits 17, 27, and 28 in response to NM messages instructing the activation of the connected first to third lower ECUs 50, 60, and 70.

[0037] Furthermore, if multiple subordinate ECUs are connected to at least one of the first to third relay circuits 17, 27, and 28, the PNC setting information stored in the virtual communication node management unit corresponding to the relay circuit to which the multiple subordinate ECUs are connected may include PNC setting information equivalent to the logical OR of the cluster setting information of each of the multiple subordinate ECUs. In this case, the PNC setting information stored in the virtual communication node management unit may be the same as the PNC setting information equivalent to the logical OR of the cluster setting information of each of the multiple subordinate ECUs. This makes it possible to turn on the relay circuit to which the multiple subordinate ECUs are connected in response to an NM message instructing the activation of any of the multiple subordinate ECUs.

[0038] Furthermore, a sensor and / or actuator may be connected to at least one of the first to third relay circuits 17, 27, and 28 as the target device, instead of a lower-level ECU. This allows power to be supplied to the sensor and / or actuator only when it is necessary for them to operate. The sensor and / or actuator may be a smart sensor and / or smart actuator that has a communication function to communicate with other ECUs via communication buses 12, 13, and 22. If the sensor and / or actuator has a communication function, PNC setting information is defined for the sensor and / or actuator so that it can be activated by an NM message.

[0039] On the other hand, sensors and / or actuators may not have a communication function that communicates via communication buses 12, 13, and 22, and may only be connected to ECUs that input sensor signals and / or ECUs that output actuator drive signals. In this case, PNC setting information is not defined for the sensors and / or actuators. Therefore, the PNC setting information stored by the first to third virtual communication node management units 15, 24, and 25 cannot be determined based on the PNC setting information of the sensors and / or actuators connected to the first to third relay circuits 17, 27, and 28.

[0040] In such a situation, the PNC setting information stored in the first to third virtual communication node management units 15, 24, and 25 can be configured to be activated by an NM message when a situation arises where the sensor and / or actuator needs to operate. For example, the first to third virtual communication node management units 15, 24, and 25 may store PNC setting information including the PNC setting information of the ECU that inputs the sensor signal and / or the ECU that outputs the actuator drive signal. This makes it possible to turn on the relay circuit connected to the sensor and / or actuator and supply power to the sensor and / or actuator when the ECU that inputs the sensor signal and / or the ECU that outputs the actuator drive signal is activated by an NM message. Thus, according to this embodiment, even if the target device connected to the first to third relay circuits 17, 27, and 28 does not have PNC setting information, it is possible to supply power to the target device at the appropriate timing by turning on the relay circuit in accordance with the NM message.

[0041] As described above, the upper ECU 10 and the first intermediate ECU 20 each have a first relay control unit 16 and a second relay control unit 26, respectively, which function to control the on / off state of the first to third relay circuits 17, 27, and 28. The first relay control unit 16 turns the first relay circuit 17 on or off based on instructions from the first virtual communication node management unit 15. The second relay control unit 26 turns the second relay circuit 27 on or off based on instructions from the second virtual communication node management unit 24. Furthermore, the second relay control unit 26 turns the third relay circuit 28 on or off based on instructions from the third virtual communication node management unit 25.

[0042] Furthermore, the upper-level ECU 10 and the first intermediate-level ECU 20 have the function of turning the first to third relay circuits 17, 27, and 28 on and off, as well as the function of relay devices for enabling bidirectional communication between ECUs connected to different communication buses 12, 13, and 22. For example, the upper-level ECU 10 and the first intermediate-level ECU 20 gateway an NM message received from one communication bus 12, 13, or 22 to the other communication buses 12, 13, or 22. In this case, if the communication protocol differs between the communication bus that receives the NM message and the communication bus that sends the NM message, the upper-level ECU 10 and the first intermediate-level ECU 20 also perform protocol conversion. In the in-vehicle network system 100, for example, control messages, including control-related data, are exchanged between the first to third intermediate-level ECUs 20, 30, and 40, and between the first to third lower-level ECUs 50, 60, and 70, in addition to NM messages for realizing partial networking. The upper ECU 10 and the first intermediate ECU 20 also act as gateways for such control messages. This enables smooth coordinated control by multiple ECUs belonging to the same cluster.

[0043] The first to third intermediate ECUs 20, 30, 40 and the first to third lower ECUs 40, 50, 60 may, for example, be a control ECU that performs control processing to control a predetermined control object in a vehicle, a sensor ECU that calculates a predetermined physical quantity based on a detection signal detected by a sensor, or a drive ECU that outputs a drive signal to an actuator to drive the actuator. The first to third lower ECUs 50, 60, 70 are activated and enter an operating state when the corresponding first to third relay circuits 17, 27, 28 are turned on by the upper ECU 10 and the first intermediate ECU 20. Once in an operating state, the first to third lower ECUs 50, 60, 70 perform predetermined processing, such as control processing to control a control object, calculation processing to calculate a predetermined physical quantity based on a sensor detection signal, and drive processing to output a drive signal to drive an actuator.

[0044] The first to third intermediate ECUs 20, 30, and 40, and the first to third lower ECUs 40, 50, and 60, store PNC setting information indicating the cluster to which they belong within a group of divided clusters. For example, the PNC setting information is stored in the non-volatile storage medium of the first to third intermediate ECUs 20, 30, and 40, and the first to third lower ECUs 50, 60, and 70. While operating, the first to third intermediate ECUs 20, 30, and 40, and the first to third lower ECUs 40, 50, and 60 periodically send NM messages containing startup cluster information (referred to as PN request information) that designates the cluster to which they belong as the startup cluster, while they are performing predetermined control processing, calculation processing, or drive processing. The PN request information will be described in detail later. Then, upon completion of predetermined control processing, calculation processing, or drive processing, the first to third intermediate ECUs 20, 30, 40 and the first to third lower ECUs 40, 50, 60 stop transmitting NM messages. The first to third virtual communication node management units 15, 24, 25 may also periodically transmit NM messages containing PN request information designating the cluster to which they belong as the startup cluster, as needed, while the corresponding first to third relay circuits 17, 27, 28 are turned on.

[0045] The first to third intermediate ECUs 20, 30, 40 and the first to third lower ECUs 50, 60, 70 transition to a sleep state after completing the execution of predetermined control processing, calculation processing, or drive processing, and after a predetermined time has elapsed since they stopped receiving NM messages containing PN request information designating the cluster to which they belong as the startup cluster. The first to third virtual communication node management units 15, 24, 25 also turn off the corresponding first to third relay circuits 17, 27, 28 after a predetermined time has elapsed since they stopped receiving NM messages containing PN request information designating the cluster to which the virtual communication node belongs as the startup cluster. As a result, the first to third intermediate ECUs 20, 30, 40 and the first to third lower ECUs 50, 60, 70 belonging to the same cluster transition from the operating state to a sleep state or a power supply off state at approximately the same time. In sleep mode, the first to third intermediate ECUs 20, 30, and 40 are only capable of receiving NM messages and enter a low-power state with all other functions disabled.

[0046] In sleep mode, the first to third intermediate ECUs 20, 30, and 40 are equipped with communication IFs 21, 31, and 41 that support partial networking in order to receive NM messages. For example, the first to third intermediate ECUs 20, 30, and 40 set the information of the cluster to which the first to third intermediate ECUs 20, 30, and 40 belong as a wake condition in the communication IFs 21, 31, and 41, based on PNC setting information stored in a non-volatile storage medium. Therefore, each communication IF 21, 31, and 41 can determine whether the received NM message contains PN request information that matches the cluster to which the corresponding first to third intermediate ECUs 20, 30, and 40 belong.

[0047] Then, if each communication IF21, 31, and 41 determines that the received NM message contains PN request information that matches the cluster to which the corresponding first to third intermediate ECUs 20, 30, and 40 belong, it activates the corresponding first to third intermediate ECUs 20, 30, and 40 and puts them into an operational state. On the other hand, if each communication IF21, 31, and 41 determines that the received NM message does not contain PN request information that matches the cluster to which the corresponding first to third intermediate ECUs 20, 30, and 40 belong, it leaves the corresponding first to third intermediate ECUs 20, 30, and 40 in a sleep state.

[0048] However, the first to third intermediate ECUs 20, 30, and 40 do not need to be equipped with communication IFs 21, 31, and 41 that support partial networking. In this case, when each communication IF 21, 31, and 41 receives an NM message while the first to third intermediate ECUs 20, 30, and 40 are in sleep mode, it will first wake up the corresponding first to third intermediate ECUs 20, 30, and 40. The woken first to third intermediate ECUs 20, 30, and 40 may then determine whether the NM message contains PN request information that matches the cluster to which it belongs. If the first to third intermediate ECUs 20, 30, and 40 determine that the NM message contains PN request information that matches the cluster to which it belongs, they will maintain their operating state. On the other hand, if the first to third intermediate ECUs 20, 30, and 40 determine that the NM message does not contain PN request information that matches the cluster to which it belongs, they will return to sleep mode.

[0049] Next, we will explain NM messages, PNC configuration information, and PN request information. Figure 3 shows an example of an NM message. In the example shown in Figure 3, the NM message contains data from bytes 0 to 7. Byte 0 contains the Node ID (NID). The Node ID is a unique identifier for each communication node of the upper ECU 10, the first to third intermediate ECUs 20, 30, and 40, the first to third lower ECUs 50, 60, and 70, and the first to third virtual communication nodes 10B, 20B, and 20C. Each communication node uses its respective Node ID to send and receive messages, indicating the destination and source. For example, the upper ECU 10 is the physical communication node 10A, and this physical communication node 10A is assigned a 1st Node ID. The virtual communication node 10B implemented in the upper ECU 10 is assigned a 2nd Node ID, which is different from the 1st Node ID. The first node ID corresponds to the first node identifier in this disclosure, and the second node ID corresponds to the second node identifier in this disclosure. Byte 1 contains a control bit vector (CBV). The control bit vector contains data indicating whether or not partial networking is used. If the control bit vector indicates the use of partial networking, the user data area in bytes 2-7 contains PN request information indicating the cluster to be started.

[0050] In the example shown in Figure 3, the control bit vector indicates the use of partial networking, and PN request information is stored in bytes 6 and 7 of the user data area. The user data area from bytes 2 to 5 can be used to transmit any information, such as the ECU activation factor or information regarding normal or abnormal operation. Note that Figure 3 is merely one example of the format of an NM message, and NM messages may take other formats as long as they include PN request information. For example, the CBV may be omitted.

[0051] PN request information indicates which clusters should be started and which do not need to be started for each of the multiple divided clusters. More specifically, in the example shown in Figure 3, the clusters are pre-divided into 16. The PN request information contains 16 bits of data corresponding to the 16 divided clusters. That is, the 16 bits of data in the PN request information are pre-associated with the 16 divided clusters. When each of the 16 bits of data in the PN request information is "0", it indicates that the associated cluster does not need to be started. On the other hand, when each of the 16 bits of data in the PN request information is "1", it indicates that the associated cluster needs to be started. Note that the PN request information may also indicate only the clusters that should be started. Alternatively, the PN request information may also indicate only the clusters that do not need to be started.

[0052] Figure 3 also shows an example of PNC configuration information set for the first to third intermediate ECUs 20, 30, and 40, the first to third lower ECUs 50, 60, and 70, and the first to third virtual communication nodes 10B, 20B, and 20C. In the PNC configuration information shown in Figure 3, if the associated clusters are classified as A to P from left to right in the figure, the PNC configuration information in Figure 3 indicates that the ECUs, etc., to which this PNC configuration information is set belong to clusters D, H, and J. Since ECUs, etc., can perform various functions through program execution, ECUs, etc., can belong to one or more clusters.

[0053] The first to third intermediate ECUs 20, 30, 40, the first to third lower ECUs 50, 60, 70, and the first to third virtual communication nodes 10B, 20B, 20C can each receive NM messages containing PN request information. Upon receiving an NM message, the respective communication IFs 21, 31, 41, 51, 61, 71, and the first to third virtual communication node management units 15, 24, 25 determine whether the cluster requested to be activated by the PN request information in the NM message matches the cluster in the PNC configuration information set for each. For example, to determine if the clusters match, as shown in Figure 3, the PN request information in the NM message and the PNC configuration information are compared bit by bit, and a logical AND is calculated.

[0054] In the example shown in Figure 3, the clusters requested to be started by the PN request information are clusters D, G, I, M, N, and O. The clusters indicated by the PNC configuration information are clusters D, H, and J. In this case, in cluster D, the cluster requested to be started by the PN request information contained in the NM message matches the cluster indicated by the PNC configuration information. Therefore, as shown in Figure 3, the result of the logical AND is "1" in cluster D.

[0055] If, as a result of the logical AND, any bit becomes "1", the communication interface of the ECU with the PNC setting information shown in Figure 3, or the first to third virtual communication node management units 15, 24, and 25, determines that a startup is requested (instructed) by the NM message. Upon receiving this determination, the communication interface starts the corresponding ECU and puts it into operation, or the first to third virtual communication node management units 15, 24, and 25 turn on the corresponding first to third relay circuits 17, 27, and 28. If the ECU is already in operation, the ECU maintains its operation state, and if the first to third relay circuits 17, 27, and 28 are already on, they remain on.

[0056] On the other hand, if the result of the logical AND is that none of the bits are "1" and all are "0", the communication IF or the first to third virtual communication node management units 15, 24, and 25 determine that no startup is requested by the NM message. In this case, the communication IF does not start the corresponding ECU and keeps it in sleep mode. If the ECU is in operation, it continues to count the time for which it has not received an NM message requesting its startup. If the ECU has completed predetermined control processing and the time for which it has not received an NM message reaches a predetermined time, the ECU transitions from operation to sleep mode. Also, the first to third virtual communication node management units 15, 24, and 25 keep the corresponding first to third relay circuits 17, 27, and 28 turned off. If the corresponding first to third relay circuits 17, 27, and 28 are turned on, they continue to count the time for which it has not received an NM message requesting its startup. When the period of no NM message reception reaches a predetermined time, the first to third virtual communication node management units 15, 24, and 25 turn off the corresponding first to third relay circuits 17, 27, and 28. Alternatively, PNC setting information may be configured for the higher-level ECU 10 so that it switches between operating and sleep states based on NM messages.

[0057] Next, in the in-vehicle network system 100 according to this embodiment, the processes performed for on / off control of the first to third relay circuits 17, 27, and 28 by the first to third virtual communication nodes 10B, 20B, and 20C will be described with reference to the flowcharts in Figures 4 to 6. The execution of the processes shown in the flowcharts in Figures 4 to 6 corresponds to the execution of the control method of the in-vehicle network system of this disclosure. Figure 4 is a flowchart of an example of the processes performed by the higher-level ECU 10 and the first to third intermediate ECUs 20, 30, and 40. The processes shown in the flowchart in Figure 4 are started when the power is turned on. Below, an example in which the higher-level ECU 10 performs the processes shown in the flowchart in Figure 4 will be described.

[0058] In step S100, the higher-level ECU 10 performs initialization processing. Initialization processing includes, for example, initial hardware setup and operation checks of the storage medium. In step S110, the higher-level ECU 10 determines whether or not a wake-up trigger has occurred. For example, the higher-level ECU 10 can determine that a wake-up trigger has occurred if it receives a signal indicating that it should be woken up (trigger signal, switch signal, sensor signal, etc.), or if it receives an NM message containing PN request information designating the cluster to which the higher-level ECU 10 belongs as the startup cluster, or an NM message instructing all ECUs to wake up. If the higher-level ECU 10 determines in step S110 that no wake-up trigger has occurred, it proceeds to step S120 and enters sleep mode. On the other hand, if it determines that a wake-up trigger has occurred, the higher-level ECU 10 proceeds to step S130.

[0059] In step S130, the upper ECU 10 executes a startup process. The startup process includes, for example, reading software including the operating system (OS) and programs from storage and storing them in memory. In step S140, the upper ECU 10 determines, based on various information such as various sensor signals, switch signals, and signals obtained from other ECUs, that at least one of the first to third intermediate ECUs 20, 30, 40, the first to third lower ECUs 50, 60, 70, and the first to third virtual communication nodes 10B, 20B, 20C should be started up and operating. When the upper ECU 10 determines that at least one should be started up and operating, it generates and sends an NM message containing PN request information that designates the cluster to which the ECU and / or virtual communication node to be started belongs as the startup cluster. The upper ECU 10 also receives NM messages sent from other ECUs via the communication buses 12 and 13.

[0060] In step S150, the upper-level ECU 10 determines whether or not it has a virtual communication node. As shown in Figure 2, if the upper-level ECU 10 has the first virtual communication node 10B, a positive determination is made, and the upper-level ECU 10 proceeds to step S160. On the other hand, if the upper-level ECU 10 does not have a virtual communication node, a negative determination is made, and the upper-level ECU 10 proceeds to step S170.

[0061] An example of the details of the virtual relay processing in step S160 is shown in the flowchart of Figure 5. The virtual relay processing is mainly performed by the first virtual relay unit 14 of the higher-level ECU 10. As shown in the flowchart of Figure 5, in step S200, the first virtual relay unit 14 virtually relays the received NM message to the first virtual communication node 10B, that is, to the first virtual communication node management unit 15. In step S210, the first virtual relay unit 14 determines whether or not it is necessary to virtually relay the NM message from the first virtual communication node 10B. If it is determined that it is necessary to virtually relay the NM message, the first virtual relay unit 14 proceeds to step S220. On the other hand, if it is determined that it is not necessary to virtually relay the NM message, the first virtual relay unit 14 terminates the processing shown in the flowchart of Figure 5.

[0062] If the first lower ECU 50 is connected to the first relay circuit 17, the first lower ECU 50 can send NM messages itself. Therefore, if the first lower ECU 50 is connected to the first relay circuit 17, the first virtual relay unit 14 can determine in step S210 that, in principle, it is not necessary to virtually relay the NM message. On the other hand, if sensors and / or actuators that do not have communication functions are connected to the first relay circuit 17, and it is determined that these sensors and / or actuators need to operate, the first virtual communication node management unit 15 may send an NM message. In this case, the first virtual communication node management unit 15 uses the node ID of the virtual communication node 10B to create an NM message with the first virtual communication node 10B as the source. If the first virtual communication node management unit 15 creates an NM message, the first virtual relay unit 14 determines in step S210 that it is necessary to virtually relay the NM message from the first virtual communication node 10B.

[0063] In step S220, the first virtual relay unit 14 virtually relays the NM message created by the first virtual communication node management unit 15 to the communication IF 11 of the higher-level ECU 10. As a result, the NM message created by the first virtual communication node management unit 15 can be transmitted to other ECUs, etc., via the communication IF 11.

[0064] Let's return to the flowchart in Figure 4 and continue the explanation. In step S170, the higher-level ECU 10 determines whether the conditions for transitioning to sleep mode have been met. For example, the higher-level ECU 10 can determine that the conditions for transitioning to sleep mode have been met when a predetermined time has passed without receiving an NM message from another ECU. If it determines that the conditions for transitioning to sleep mode have been met, the higher-level ECU 10 proceeds to step S180. On the other hand, if it determines that the conditions for transitioning to sleep mode have not been met, the higher-level ECU 10 returns to the process in step S140.

[0065] In step S180, the higher-level ECU 10 determines whether the power has been turned off or not. If it determines that the power has been turned off, the higher-level ECU 10 terminates the process shown in the flowchart of Figure 4. On the other hand, if it determines that the power has not been turned off, the higher-level ECU 10 returns to the process in step S110.

[0066] Next, an example of processing performed in the first virtual communication node management unit 15 of the upper-level ECU 10 will be explained with reference to the flowchart in Figure 6. Note that the processing shown in the flowchart in Figure 6 is also performed in the second and third virtual communication node management units 24 and 25.

[0067] First, in step S300, the first virtual communication node management unit 15 determines whether or not it has virtually received the NM message that was virtually relayed. "Virtually received" means that the NM message that was virtually relayed by the first virtual relay unit 14 has been received by the first virtual communication node management unit 15. If it determines that the NM message has been virtually received, the first virtual communication node management unit 15 proceeds to step S310. On the other hand, if it determines that the NM message has not been virtually received, the first virtual communication node management unit 15 repeats the process in step S300 until it receives the NM message.

[0068] In step S310, the first virtual communication node management unit 15 determines whether the startup cluster specified in the PN request information of the virtual received NM message matches the cluster of the PNC configuration information of the virtual communication node 10B that it has stored. In step S320, the first virtual communication node management unit 15 determines whether the startup of the virtual communication node 10B is requested based on whether the startup cluster of the PN request information and the cluster of the PNC configuration information match in at least one cluster. If it determines that the startup of the virtual communication node 10B is not requested, the first virtual communication node management unit 15 proceeds to step S330. On the other hand, if it determines that the startup of the virtual communication node 10B is requested, the first virtual communication node management unit 15 proceeds to step S340.

[0069] In step S340, the first virtual communication node management unit 15 determines whether the sleep condition for the first virtual communication node 10B has been met. For example, the first virtual communication node management unit 15 can determine that the sleep state has been met if a predetermined amount of time has elapsed since it stopped receiving an NM message containing PN request information designating the cluster to which the first virtual communication node 10B belongs as the startup cluster. If it determines that the sleep condition has not been met, the first virtual communication node management unit 15 proceeds to step S340. On the other hand, if it determines that the sleep condition has been met, the first virtual communication node management unit 15 proceeds to step S370.

[0070] In step S340, the first virtual communication node management unit 15 instructs the first relay control unit 16 to turn on the first relay circuit 17. In this way, the first virtual communication node management unit 15 can turn on the first relay circuit 17 in response to the receipt of an NM message requesting the activation of the first virtual communication node 10B. On the other hand, in step S370, the first virtual communication node management unit 15 instructs the first relay control unit 16 to turn off the first relay circuit 17. In this way, the first virtual communication node management unit 15 can turn off the first relay circuit 17 in response to the fulfillment of the sleep condition for the first virtual communication node 10B.

[0071] In step S350, which is executed after the first relay circuit 17 is turned on in step S340, the first virtual communication node management unit 15 determines whether it is necessary to send an NM message from the first virtual communication node 10B. If it determines that it is necessary to send an NM message, the first virtual communication node management unit 15 proceeds to step S360. On the other hand, if it determines that it is not necessary to send an NM message, the first virtual communication node management unit 15 terminates the process shown in the flowchart of Figure 6. In step S360, the first virtual communication node management unit 15 creates an NM message with the first virtual communication node 10B as the source and virtually sends it to the first virtual relay unit 14.

[0072] (Second Embodiment) Next, an in-vehicle network system according to the second embodiment will be described. In the in-vehicle network system 100 according to the first embodiment described above, the PNC setting information assigned to the first to third intermediate ECUs 20, 30, 40, the first to third lower ECUs 50, 60, 70, and the first to third virtual communication nodes 10B, 20B, 20C, etc., was fixed. However, if, for example, the functionality of each ECU is expanded due to a program update or ECU replacement, or if an ECU, sensor, and / or actuator that performs an optional function is added, it may become necessary to change the timing of activating the first to third intermediate ECUs 20, 30, 40, the first to third lower ECUs 50, 60, 70, and the first to third virtual communication nodes 10B, 20B, 20C, etc.

[0073] Therefore, in the in-vehicle network system according to this embodiment, the PNC setting information of the first to third intermediate ECUs 20, 30, 40, the first to third lower ECUs 50, 60, 70, and the first to third virtual communication nodes 10B, 20B, 20C, etc., is configured to be changeable. An example of the configuration of the in-vehicle network system 100A according to this embodiment is shown in Figure 7. As shown in Figure 7, a PNC setting information management unit 18, which is responsible for managing the PNC setting information of all communication nodes, including changing the PNC setting information of all communication nodes, is provided in the upper-level ECU 10. The PNC setting information management unit 18 corresponds to the cluster setting information management unit in this disclosure. However, the PNC setting information management unit 18 may be provided in an ECU other than the upper-level ECU 10 or in an external server, as long as it can communicate with each ECU of the in-vehicle network system 100A. Furthermore, the configuration other than the PNC setting information management unit 18 is the same as the configuration of the in-vehicle network system 100 according to the first embodiment, so its description is omitted.

[0074] The PNC configuration information management unit 18 manages all communication nodes connected to the in-vehicle network that have PNC configuration information, by associating them with the respective PNC configuration information. For example, the PNC configuration information management unit 18 stores the PNC configuration information of each communication node, such as the first to third intermediate ECUs 20, 30, 40, the first to third lower ECUs 50, 60, 70, and the first to third virtual communication nodes 10B, 20B, 20C, by associating them with the respective PNC configuration information. As a result, the PNC configuration information management unit 18 can, for example, obtain PNC configuration information from each communication node and compare it with the PNC configuration information it stores, thereby determining whether appropriate PNC configuration information is stored at each communication node.

[0075] Furthermore, the PNC configuration information management unit 18 also has the function of changing the PNC configuration information of all communication nodes connected to the in-vehicle network that have PNC configuration information. Changing the PNC configuration information can also be described as (re)setting the PNC configuration information or updating the PNC configuration information. For example, if the PNC configuration information management unit 18 needs to change the startup conditions of at least one ECU, such as due to the addition or replacement of an ECU or the addition of an application to any ECU, it obtains new PNC configuration information corresponding to the new startup conditions from an external server or the like via wired or wireless communication. Then, the PNC configuration information management unit 18 updates the PNC configuration information of all communication nodes that have PNC configuration information based on the acquired PNC configuration information. In this case, the PNC configuration information management unit 18 may update the PNC configuration information only for the communication nodes whose PNC configuration information has been changed.

[0076] For example, suppose a vehicle is equipped with a camera, which is used for advanced driver assistance functions such as lane keeping assist and obstacle detection while the vehicle is in motion. Then, suppose the vehicle user downloads an application from an external server to enable monitoring of the vehicle's surroundings and their home while the vehicle is parked. In this case, the camera needs to operate not only when the vehicle is in motion but also when it is parked. The ECU controlling the camera also needs to be activated both when the vehicle is in motion and when it is parked. In such a case, for example, the external server could prepare PNC configuration information with an added cluster for the ECUs necessary to control the camera when the vehicle is parked.

[0077] Next, an example of the processing performed by the PNC setting information management unit 18 will be explained in more detail with reference to the flowchart in Figure 8. The flowchart in Figure 8 is executed by the PNC setting information management unit 18 implemented in the higher-level ECU 10. When power is turned on, the higher-level ECU 10 starts the processing shown in the flowchart in Figure 8. Note that the processing from steps S400 to S430 in the flowchart of Figure 8 is the same as the processing from steps S100 to S130 in the flowchart of Figure 4, so the explanation will be omitted.

[0078] In step S440, the PNC configuration information management unit 18 executes a PNC configuration necessity determination process to determine whether or not it is necessary to configure PNC configuration information on all communication nodes. The PNC configuration necessity determination process will be described in detail later.

[0079] In step S450, the PNC configuration information management unit 18 determines whether it is necessary to configure (update) the PNC configuration information for all communication nodes, based on the result of the PNC configuration necessity determination process in step S440, or more specifically, based on the value of the PNC configuration flag set in the PNC configuration necessity determination process. If it determines that PNC configuration information needs to be configured, the PNC configuration information management unit 18 proceeds to step S460. On the other hand, if it determines that PNC configuration information does not need to be configured, the PNC configuration information management unit 18 proceeds to step S500.

[0080] In step S460, the PNC configuration information management unit 18 executes a PNC configuration process to configure PNC configuration information for all communication nodes. The PNC configuration process will be described in detail later. In step S470, the PNC configuration information management unit 18 determines whether the PNC configuration process has been completed for all communication nodes that require PNC configuration information. In other words, the PNC configuration process is executed sequentially for each communication node. If it is determined that the PNC configuration process has not yet been completed for all communication nodes, the PNC configuration information management unit 18 proceeds to step S480 and switches the target communication node. Then, in step S160, the PNC configuration information management unit 18 executes the PNC configuration process for the switched target communication node. If it is determined that the PNC configuration process has been completed for all communication nodes, the PNC configuration information management unit 18 proceeds to step S490.

[0081] In step S490, the PNC configuration information management unit 18 executes the PNC configuration completion process because it has completed the PNC configuration process for all communication nodes. In the PNC configuration completion process, the PNC configuration information management unit 18 sets the PNC configuration flag, described later, to "0". In step S500, the PNC configuration information management unit 18 determines whether all communication nodes have entered sleep mode. This determination can be made by determining whether a predetermined amount of time has elapsed since the upper-level ECU 10 stopped receiving NM messages from all other communication nodes. If it is determined that all communication nodes have entered sleep mode, the PNC configuration information management unit 18 proceeds to step S510. On the other hand, if it is determined that all communication nodes have not entered sleep mode, the PNC configuration information management unit 18 returns to the process in step S440.

[0082] In step S510, the PNC setting information management unit 18 determines whether the power to the higher-level ECU 10 has been turned off. If it determines that the power has been turned off, the PNC setting information management unit 18 terminates the process shown in the flowchart of Figure 8. On the other hand, if it determines that the power has not been turned off, the PNC setting information management unit 18 returns to the process in step S410.

[0083] Next, the PNC setting necessity determination process in step S440 of the flowchart in Figure 8 will be explained in detail. Figure 9 is a flowchart showing an example of the details of the PNC setting necessity determination process. The PNC setting necessity determination process is mainly performed by the PNC setting information management unit 18.

[0084] In step S600, the PNC setting information management unit 18 determines whether the PNC setting flag is set to "1". The PNC setting flag is set to "1" in step S620, described later, when it is necessary to reset the PNC setting information for all communication nodes. If it is determined in step S600 that the PNC setting flag is "1", it is highly likely that the PNC setting process (step S460 in Figure 8) and / or the PNC setting completion process (step S490 in Figure 8) have not been completed successfully. Therefore, if it is determined in step S600 that the PNC setting flag is "1", the PNC setting information management unit 18 terminates the PNC setting necessity determination process shown in the flowchart of Figure 9 without changing the value of the PNC setting flag in order to execute the PNC setting process again. On the other hand, if it is determined that the PNC setting flag is not "1", the PNC setting information management unit 18 proceeds to step S610.

[0085] In step S610, the PNC configuration information management unit 18 determines whether or not it has received a PNC configuration request from an external server. For example, if the external server has downloaded updated PNC configuration information to the PNC configuration information management unit 18, it can send a PNC configuration request to the higher-level ECU 10. If it determines that it has received a PNC configuration request from an external server, the PNC configuration information management unit 18 proceeds to step S620 and sets the PNC configuration flag to "1". After that, the PNC configuration information management unit 18 terminates the PNC configuration necessity determination process shown in the flowchart of Figure 9. On the other hand, if it determines that it has not received a PNC configuration request from an external server, the PNC configuration information management unit 18 proceeds to step S630.

[0086] In step S630, the PNC configuration information management unit 18 determines whether it has received a PNC configuration request message from at least one communication node. Each communication node, as will be described in detail later, determines whether its own PNC configuration information is correct, and if it determines that it is incorrect, it can send a PNC configuration request message to the PNC configuration information management unit 18. If it determines that it has received a PNC configuration request message from at least one communication node, the PNC configuration information management unit 18 proceeds to step S620 and sets the PNC configuration flag to "1". After that, the PNC configuration information management unit 18 terminates the PNC configuration necessity determination process shown in the flowchart of Figure 9. On the other hand, if it determines that it has not received a PNC configuration request message from at least one communication node, the PNC configuration information management unit 18 proceeds to step S640.

[0087] In step S640, the PNC setting information management unit 18 determines whether a setting status determination request has occurred, which is a request to determine whether the PNC setting information for each communication node held by the PNC setting information management unit 18 matches the PNC setting information set in each communication node. The setting status determination can be enabled or disabled in advance by, for example, the producer, seller, or user of the in-vehicle network system 100A in the higher-level ECU 10. If the setting status determination is enabled, the PNC setting information management unit 18 can determine that a setting status determination request has occurred periodically or at predetermined intervals.

[0088] If it is determined in step S640 that a setting status determination request has occurred, the PNC setting information management unit 18 proceeds to step S650 and executes the setting status determination process. After that, the PNC setting information management unit 18 terminates the PNC setting necessity determination process shown in the flowchart of Figure 9. The setting status determination process will be explained in detail later. On the other hand, if it is determined in step S640 that no setting status determination request has occurred, the PNC setting information management unit 18 proceeds to step S660. In step S660, since there is no need to reset the PNC setting information, the PNC setting flag is set to "0". After that, the PNC setting information management unit 18 terminates the PNC setting necessity determination process shown in the flowchart of Figure 9.

[0089] Next, the setting state determination process in step S650 of the flowchart in Figure 9 will be explained in detail. Figure 10 is a flowchart showing an example of the details of the setting state determination process. Figure 11 is a sequence diagram showing an example of the flow of processing as a real device communication node and virtual communication node in the PNC setting information management unit 18 and the upper-level ECU 10 when the setting state determination process is executed. The setting state determination process is mainly performed by the PNC setting information management unit 18. Note that in Figure 11, the real device communication node 20A, the second virtual communication node 20B, and the third virtual communication node 20C in the first intermediate ECU 20 are omitted for illustrative purposes.

[0090] In the configuration state determination process, the PNC configuration information management unit 18 first sends N (where N is an integer of 2 or more) NM messages as a startup request in step S700, as shown in the sequence diagram in Figure 11, which are capable of putting all communication nodes into a startup state. For example, the PNC configuration information management unit 18 can send an NM message that includes PN request information, specifying the cluster to which each communication node belongs as the startup cluster, as an NM message capable of starting all communication nodes. Alternatively, the PNC configuration information management unit 18 may send an NM message instructing all communication nodes to start up. By sending such NM messages multiple times, the PNC configuration information management unit 18 can reliably start all communication nodes.

[0091] As shown in Figure 11, the NM message sent from the PNC configuration information management unit 18 to start all communication nodes is virtually relayed by the first virtual relay unit 14 to the first virtual communication node 10B (first virtual communication node management unit 15). As a result, the first virtual communication node 10B is also started by the NM message that starts all communication nodes. When the first virtual communication node 10B is started, the first virtual communication node management unit 15 turns on the relay circuit 17 through the first relay control unit 16.

[0092] In step S710, the PNC configuration information management unit 18 resets the receive timer. This receive timer measures the elapsed time since the PNC configuration information management unit 18 sent a message containing a PNC configuration information confirmation request command. Then, in step S720, as shown in the sequence diagram of Figure 11, the PNC configuration information management unit 18 sends a message containing a PNC configuration information confirmation request command to all communication nodes. At the same time, the PNC configuration information management unit 18 starts the receive timer. The message containing the PNC configuration information confirmation request command is sent using the node ID of each communication node as the destination. As shown in Figure 11, the first virtual relay unit 14 virtual relays a message containing a PNC configuration value confirmation request command, with the node ID of the first virtual communication node 10B as the destination, to the first virtual communication node 10B (first virtual communication node management unit 15). The PNC configuration information confirmation request command corresponds to one of the management commands of this disclosure.

[0093] In step S730, the PNC configuration information management unit 18 determines whether or not it has received a PNC configuration information acknowledgment from each communication node. The PNC configuration information acknowledgment includes a node ID indicating the source and PNC configuration information set for each communication node. The first virtual communication node 10B (first virtual communication node management unit 15) also sends back a PNC configuration information acknowledgment message containing the node ID and PNC configuration information in response to receiving a message containing a PNC configuration value confirmation request command. The PNC configuration information acknowledgment message sent back by the first virtual communication node 10B is virtually relayed by the first virtual relay unit 14, as shown in Figure 11, and received by the PNC configuration information management unit 18.

[0094] If the PNC configuration information management unit 18 determines in step S730 that it has received PNC configuration information acknowledgment messages from all communication nodes, including the virtual communication node, it proceeds to step S750. On the other hand, if it determines that it has not yet received PNC configuration information acknowledgment messages from all communication nodes, the PNC configuration information management unit 18 proceeds to step S740. In step S740, the PNC configuration information management unit 18 determines whether the reception timeout period has elapsed based on the time measured by the reception timer. If it determines that the reception timeout period has elapsed, the PNC configuration information management unit 18 proceeds to step S770. On the other hand, if it determines that the reception timeout period has not yet elapsed, the PNC configuration information management unit 18 returns to the processing in step S730.

[0095] If all communication nodes start up successfully and can communicate with the PNC configuration information management unit 18 after N startup requests (NM messages) from the PNC configuration information management unit 18, then within a predetermined time from the time the PNC configuration information management unit 18 sends a message containing a PNC configuration information confirmation request command, all communication nodes should return a PNC configuration information confirmation response message containing the node ID and PNC configuration information. In other words, if there are still communication nodes that have not returned a PNC configuration information confirmation response message when the time measured by the receive timer reaches a predetermined time (corresponding to the receive timeout period) from the time the PNC configuration information management unit 18 sends a message containing a PNC configuration information confirmation request command, then it is possible that the communication node has a problem with its PNC configuration information and did not start up successfully. Therefore, in step S770, the PNC configuration information management unit 18 sets the PNC configuration flag to "1" in order to reset the PNC configuration information of all communication nodes.

[0096] In step S750, the PNC configuration information management unit 18 compares the PNC configuration information contained in the PNC configuration information confirmation response message received from each communication node with the PNC configuration information it stores, for each communication node. Then, in step S760, the PNC configuration information management unit 18 determines whether the comparison is OK or OK based on the comparison result in step S750. At this time, the PNC configuration information management unit 18 determines the comparison is OK if all PNC configuration information matches perfectly for all communication nodes. On the other hand, the PNC configuration information management unit 18 determines the comparison is NG if even one cluster of PNC configuration information differs for at least one communication node.

[0097] If the matching is determined to be NG in step S760, the PNC setting information management unit 18 proceeds to step S770 and sets the PNC setting flag to "1" in order to reset the PNC setting information for all communication nodes. On the other hand, if the matching is determined to be OK, the PNC setting information management unit 18 does not need to reset the PNC setting information and proceeds to step S780 and sets the PNC setting flag to "0".

[0098] The above-described setting status determination process ensures that even if the PNC setting information of each communication node becomes inconsistent with the PNC setting information stored in the PNC setting information management unit 18 for some reason, it is possible to update the PNC setting information of each communication node to match the PNC setting information stored in the PNC setting information management unit 18. This ensures that the PNC setting information of each communication node is properly maintained.

[0099] In the example described above, the PNC configuration information management unit 18 sent a message containing a PNC configuration information confirmation request command to all communication nodes simultaneously. However, the PNC configuration information management unit 18 may also send a message containing a PNC configuration information confirmation request command and receive a PNC configuration information confirmation response message to each communication node in a predetermined order.

[0100] Next, the PNC setting process at step S460 of the flowchart in Figure 8 will be explained in detail. Figure 12 is a flowchart showing an example of the details of the PNC setting process. Figure 13 is a sequence diagram showing an example of the flow of processing as a PNC setting information management unit 18, a real communication node and a virtual communication node in the upper-level ECU 10 during the execution of the PNC setting process. The PNC setting process is mainly executed by the PNC setting information management unit 18 implemented in the upper-level ECU 10. Note that in Figure 13, the real communication node 20A, the second virtual communication node 20B, and the third virtual communication node 20C in the first intermediate ECU 20 are omitted for illustrative purposes.

[0101] The PNC configuration process is executed sequentially for all communication nodes in a predetermined order. Therefore, each communication node must maintain its startup state until it is its turn for the PNC configuration process. For this reason, in step S800, the PNC configuration information management unit 18 determines whether a predetermined wake-up threshold time has elapsed since it last sent N (N is an integer of 2 or more) NM messages that can start all communication nodes, based on the timing of the wake-up (WA) timer. This WA timer measures the time elapsed since the PNC configuration information management unit 18 sent an NM message (start-up request) that can start all communication nodes. If it determines that the predetermined wake-up threshold time has elapsed, the PNC configuration information management unit 18 proceeds to step S810. On the other hand, if it determines that the predetermined wake-up threshold time has not elapsed, the PNC configuration information management unit 18 proceeds to step S830.

[0102] In step S810, the PNC configuration information management unit 18 resets the WA timer. Then, in step S820, the PNC configuration information management unit 18 sends N NM messages (start-up requests) that enable all communication nodes to start up. Simultaneously, the PNC configuration information management unit 18 starts the WA timer. Note that in the sequence diagram of Figure 13, the NM messages (start-up requests) from the second time onward are omitted.

[0103] Each communication node enters a sleep state after a predetermined sleep threshold time has elapsed since it stopped receiving an NM message containing PN request information designating its own cluster as the startup cluster. The predetermined wake-up threshold time is set to be shorter than the predetermined sleep threshold time for each communication node. Therefore, the PNC configuration information management unit 18 can send an NM message (start-up request) to all communication nodes in accordance with the elapsed wake-up threshold time, before the sleep threshold time has elapsed. As a result, it is possible to keep each communication node in the startup state until it is its turn for PNC configuration processing.

[0104] In step S830, the PNC configuration information management unit 18 resets the receive timer. This receive timer measures the elapsed time since the PNC configuration request command was sent from the PNC configuration information management unit 18. Then, in step S840, as shown in the sequence diagram of Figure 13, the PNC configuration information management unit 18 sends a message containing the PNC configuration request command to the communication node (target ECU) that is the target of the PNC configuration process, using the node ID as the destination. The communication node that is the target of the PNC configuration process includes virtual communication nodes. The message containing the PNC configuration request command contains updated PNC configuration information associated with the communication node that is the target of the PNC configuration process. The PNC configuration request command corresponds to one of the management commands in this disclosure. At the same time, the PNC configuration information management unit 18 starts the receive timer.

[0105] In step S850, the PNC configuration information management unit 18 increments a transmission count counter, which counts the number of times a message containing a PNC configuration request command has been sent, by 1. In step S860, the PNC configuration information management unit 18 determines whether or not it has received a PNC configuration response message from the communication node that is the target of the PNC configuration process. When the communication node that is the target of the PNC configuration process receives a message containing a PNC configuration request command from the PNC configuration information management unit 18 and saves the PNC configuration information to its volatile memory, it sends a PNC configuration response message. The PNC configuration response message includes the node ID of the communication node that is the target of the PNC configuration process as information indicating the source. This allows the PNC configuration information management unit 18 to determine whether or not it has received a PNC configuration response message from the communication node that is the target of the PNC configuration process. If the PNC configuration information management unit 18 determines that it has received a PNC configuration response message from the communication node that is the target of the PNC configuration process, it proceeds to step S900. On the other hand, if the PNC setting information management unit 18 determines that it has not received a PNC setting response message from the communication node targeted for PNC setting processing, it proceeds to step S870.

[0106] In step S870, the PNC configuration information management unit 18 determines whether the reception timeout period has elapsed based on the time measured by the reception timer. If it determines that the reception timeout period has elapsed, the PNC configuration information management unit 18 proceeds to step S880. On the other hand, if it determines that the reception timeout period has not yet elapsed, the PNC configuration information management unit 18 returns to the process in step S860. This ensures that even if the PNC configuration information management unit 18 is unable to receive a PNC configuration response message from the communication node targeted for PNC configuration processing due to some event, the PNC configuration information management unit 18 can continue the PNC configuration process.

[0107] In step S880, the PNC configuration information management unit 18 determines, based on the value of the transmission count counter, whether the number of times a message containing the PNC configuration request command has been sent is less than or equal to a predetermined number. The predetermined number can be set to any number of two or more. If the PNC configuration information management unit 18 determines that the number of times a message containing the PNC configuration request command has been sent is still less than or equal to the predetermined number, it returns to the process in step S830 and repeats the transmission of the message containing the PNC configuration request command. On the other hand, if the PNC configuration information management unit 18 determines that the number of times a message containing the PNC configuration request command has been sent exceeds the predetermined number, it proceeds to step S890. In this way, by the PNC configuration information management unit 18 repeatedly transmitting the message containing the PNC configuration request command multiple times, the probability that the communication node targeted for PNC configuration processing will receive the message containing the PNC configuration request command can be increased.

[0108] In step S890, the PNC setting information management unit 18 repeatedly sends messages containing PNC setting request commands, but fails to receive a PNC setting response message from the communication node targeted for PNC setting processing. Therefore, it records the PNC setting abnormality of the communication node targeted for PNC setting processing on a non-volatile recording medium.

[0109] In step S900, the PNC configuration information management unit 18 resets the transmission count counter in preparation for the next PNC configuration process for the target communication node. Then, in step S910, the PNC configuration information management unit 18 determines that the PNC configuration process for the target communication node is complete and returns to the process shown in the flowchart of Figure 8. The PNC configuration process shown in the flowchart of Figure 8 is repeatedly executed until the PNC configuration process is completed for all communication nodes, including virtual communication nodes.

[0110] Next, an example of processing performed by the upper-level ECU 10 and the first to third intermediate ECUs 20, 30, and 40 in the in-vehicle network system 100A according to this embodiment will be described with reference to the flowchart in Figure 14. In the following, an example in which the upper-level ECU 10 performs the processing shown in the flowchart of Figure 14 will be described. Note that the processing from steps S100 to S150 and from steps S170 to S180 in the flowchart of Figure 14 are the same as the processing from steps S100 to S150 and from steps S170 to S180 in the flowchart of Figure 4, so the explanation will be omitted.

[0111] In step S161, the higher-level ECU 10 performs virtual relay processing. An example of the details of the virtual relay processing in step S161 is shown in the flowchart of Figure 15. The virtual relay processing is mainly performed by the first virtual relay unit 14 of the higher-level ECU 10. Note that the processing from steps S200 to S220 in the flowchart of Figure 15 is the same as the processing from steps S200 to S220 in the flowchart of Figure 5, so the explanation is omitted.

[0112] In step S230, the first virtual relay unit 14 determines whether it has received a message containing commands addressed to the first virtual communication node 10B, based on the node ID indicating the destination included in the message containing commands sent from the PNC configuration information management unit 18. The commands include a PNC configuration information confirmation request command and a PNC configuration request command. If it determines that it has received a message containing commands addressed to the first virtual communication node 10B, the first virtual relay unit 14 proceeds to step S240. On the other hand, if it determines that it has not received a message containing commands addressed to the first virtual communication node 10B, the first virtual relay unit 14 terminates the process shown in the flowchart of Figure 15.

[0113] In step S240, the first virtual relay unit 14 virtually relays the message containing the received command to the first virtual communication node 10B. In step S250, the first virtual relay unit 14 virtually relays the response message to the command from the first virtual communication node 10B. As a result, the response message from the first virtual communication node 10B is sent to the PNC configuration information management unit 18.

[0114] Let's return to the flowchart in Figure 14 and continue the explanation. In step S162 of the flowchart in Figure 14, the higher-level ECU 10 determines whether or not it has received a message containing a command addressed to the actual device communication node 10A, based on the node ID indicating the destination included in the message sent from the PNC setting information management unit 18. If it determines that it has received a message containing a command addressed to the actual device communication node 10A, the higher-level ECU 10 proceeds to step S163. On the other hand, if it determines that it has not received a message containing a command addressed to the actual device communication node 10A, the higher-level ECU 10 proceeds to step S167.

[0115] In step S163, the higher-level ECU 10 determines whether the command in the received message is a PNC configuration information confirmation request command. If it is determined to be a PNC configuration information confirmation request command, the higher-level ECU 10 proceeds to step S164. On the other hand, if it is determined not to be a PNC configuration information confirmation request command, the higher-level ECU 10 proceeds to step S165.

[0116] In step S164, the higher-level ECU 10 performs PNC setting information confirmation response processing. Specifically, the higher-level ECU 10 generates a PNC setting information confirmation response message containing the PNC setting information set for itself and sends it back to the PNC setting information management unit 18. After that, the higher-level ECU 10 proceeds to step S167.

[0117] In step S165, the higher-level ECU 10 determines whether the command in the received message is a PNC setting request command. If it is determined to be a PNC setting request command, the higher-level ECU 10 proceeds to step S166. On the other hand, if it is determined not to be a PNC setting request command, the higher-level ECU 10 proceeds to step S167. In step S166, the higher-level ECU 10 performs PNC setting response processing. PNC setting response processing will be explained in detail later. After that, the higher-level ECU 10 proceeds to step S167.

[0118] In step S167, the higher-level ECU 10 performs a setting status check process to verify whether the PNC setting information set for itself is appropriate. This setting status check process will be described in detail later. Note that the setting status check process may be performed after the PNC setting information has been changed by the PNC setting information management unit 18. Alternatively, the setting status check process may be performed in response to the determination in step S170 that the conditions for transitioning to sleep state have been met.

[0119] Furthermore, in the first to third lower ECUs 50, 60, and 70, respectively, processes are executed that exclude steps S150 and S161 from the flowchart in Figure 14 in order to confirm or update the PNC setting information.

[0120] Next, we will explain in detail the PNC setting response processing at step S166 of the flowchart in Figure 14. Figure 16 is a flowchart showing an example of the details of the PNC setting response processing. In the following, we will explain an example in which the upper-level ECU 10 performs the processing shown in the flowchart of Figure 16.

[0121] In step S1000, the higher-level ECU 10 saves the PNC configuration information contained in the PNC configuration request command of the received message to the volatile memory in the temporary storage location. In step S1010, the higher-level ECU 10 sends a PNC configuration response message containing a node ID indicating the source to the PNC configuration information management unit 18. In step S1020, the higher-level ECU 10 sets the value of the configuration status flag to "1". A value of "1" for the configuration status flag means that the reception of the updated PNC configuration information has been completed and the PNC configuration information can be changed. The configuration status flag is set to "0", for example, when the higher-level ECU 10 receives a PNC configuration request command.

[0122] In step S1030, the higher-level ECU 10 determines whether or not PNC setting information verification is enabled. Regarding PNC setting information verification, for example, the producer, seller, or user of the in-vehicle network system 100A can pre-set whether to enable or disable it. If it is determined that PNC setting information verification is enabled, the higher-level ECU 10 proceeds to step S1040. On the other hand, if it is determined that PNC setting information verification is disabled, the higher-level ECU 10 proceeds to step S1060.

[0123] In step S1040, the higher-level ECU 10 checks whether the PNC setting information stored in the volatile memory (temporary storage location) and the current PNC setting information stored in the non-volatile memory are a perfect match. Then, in step S1050, the higher-level ECU 10 determines whether the comparison result is a perfect match between both sets of PNC setting information. If a perfect match is determined, the higher-level ECU 10 terminates the PNC setting response process shown in the flowchart of Figure 16. In other words, if there is a perfect match, the higher-level ECU 10 does not write the PNC setting information stored in the volatile memory to the non-volatile memory to update the PNC setting information. This reduces the number of times the non-volatile memory is rewritten. On the other hand, if a perfect match is determined, the higher-level ECU 10 proceeds to step S1060.

[0124] In step S1060, the higher-level ECU 10 updates the PNC setting information by writing (for example, overwriting) the PNC setting information temporarily stored in volatile memory to non-volatile memory. After that, the higher-level ECU 10 terminates the PNC response processing shown in the flowchart of Figure 16.

[0125] Next, we will explain in detail the setting status confirmation process in step S167 of the flowchart in Figure 14. Figure 17 is a flowchart showing an example of the details of the setting status confirmation process. In the following, we will explain an example in which the upper-level ECU 10 executes the process shown in the flowchart of Figure 17.

[0126] In step S1100, the higher-level ECU 10 refers to the value of the setting status flag. Then, in step S1110, the higher-level ECU 10 determines whether the value of the setting status flag is "0". As mentioned above, the setting status flag is set to "1" when the higher-level ECU 10 has finished receiving the updated PNC setting information and is ready to perform the change to the PNC setting information. Therefore, if the value of the setting status flag is "0", the higher-level ECU 10 can be considered to have not yet performed the PNC setting, and the PNC setting information of the higher-level ECU 10 is considered to be incorrect. For this reason, if the higher-level ECU 10 determines in step S1110 that the value of the setting status flag is "0", it proceeds to step S1140. On the other hand, if the higher-level ECU 10 determines that the value of the setting status flag is not "0", it proceeds to step S1120.

[0127] In step S1120, the higher-level ECU 10 refers to the PNC setting information set for itself. Then, in step S1130, the higher-level ECU 10 determines whether all the PNC setting values ​​included in the PNC setting information are "0". If all the PNC setting values ​​are "0", it means that it does not belong to any cluster. In this case, the higher-level ECU 10 cannot be started by an NM message containing PN request information that specifies the startup cluster. For this reason, PNC setting values ​​that are all "0" can be considered incorrect. Therefore, if the higher-level ECU 10 determines in step S1130 that all the PNC setting values ​​are "0", it proceeds to step S1140. On the other hand, if it determines that the PNC setting values ​​are not all "0", the higher-level ECU 10 terminates the setting status confirmation process shown in the flowchart of Figure 17 and returns to the process shown in the flowchart of Figure 14.

[0128] In step S1140, the higher-level ECU 10, for example, rewrites all PNC setting values ​​in its own PNC setting information to "1". That is, if the higher-level ECU 10 determines that its own PNC setting information is incorrect, it changes the PNC setting information so that it belongs to all clusters. This allows the startup conditions to be changed so that the higher-level ECU 10 is started by any NM message containing PN request information that specifies at least one cluster as the startup cluster. Therefore, at the very least, it is possible to prevent a situation in which the higher-level ECU 10 cannot be started by an NM message.

[0129] In step S1150, the higher-level ECU 10 sends a PNC setting request message to the PNC setting information management unit 18. As described above, if the higher-level ECU 10 changes the startup conditions, it will start up based on any NM message. In this case, the higher-level ECU 10 will start up even when it should not. By sending a PNC setting request message from the higher-level ECU 10, the PNC setting information management unit 18 can reset the PNC setting information of the higher-level ECU 10 to the correct PNC setting information. As a result, power consumption due to unnecessary startup of the higher-level ECU 10 can be suppressed.

[0130] Next, the processes executed in the first to third virtual communication nodes 10B, 20B, and 20C will be explained with reference to the flowchart in Figure 18. In the following, an example will be described in which the first virtual communication node management unit 15 of the first virtual communication node 10B executes the processes shown in the flowchart in Figure 18. Note that the processes from steps S300 to S360 in the flowchart of Figure 18 are the same as the processes from steps S300 to S360 in the flowchart of Figure 6, so the explanation will be omitted. However, in step S300 of the flowchart in Figure 18, if the first virtual communication node management unit 15 determines that it has not virtually received an NM message, it proceeds to step S362.

[0131] In step S362, the first virtual communication node management unit 15 determines whether or not it has received a message containing a command addressed to the first virtual communication node 10B, based on the node ID indicating the destination included in the message sent from the PNC configuration information management unit 18. If it determines that it has received a message containing a command addressed to the first virtual communication node 10B, the first virtual communication node management unit 15 proceeds to step S363. On the other hand, if it determines that it has not received a message containing a command addressed to the first virtual communication node 10B, the first virtual communication node management unit 15 proceeds to step S367.

[0132] In step S363, the first virtual communication node management unit 15 determines whether the command in the received message is a PNC configuration information confirmation request command. If it is determined to be a PNC configuration information confirmation request command, the first virtual communication node management unit 15 proceeds to step S364. On the other hand, if it is determined not to be a PNC configuration information confirmation request command, the first virtual communication node management unit 15 proceeds to step S365.

[0133] In step S364, the first virtual communication node management unit 15 executes PNC configuration information acknowledgment response processing. Specifically, the first virtual communication node management unit 15 generates a PNC configuration information acknowledgment response message containing the PNC configuration information set for itself and sends it back to the PNC configuration information management unit 18. After that, the first virtual communication node management unit 15 proceeds to step S367.

[0134] In step S365, the first virtual communication node management unit 15 determines whether the command in the received message is a PNC configuration request command. If it is determined to be a PNC configuration request command, the first virtual communication node management unit 15 proceeds to step S366. On the other hand, if it is determined not to be a PNC configuration request command, the first virtual communication node management unit 15 proceeds to step S367. In step S366, the first virtual communication node management unit 15 executes the PNC configuration response process. The PNC configuration response process is the same as the PNC configuration response process described with reference to the flowchart in Figure 16, so the explanation is omitted. After that, the first virtual communication node management unit 15 proceeds to step S367.

[0135] In step S367, the first virtual communication node management unit 15 performs a configuration status check process to verify whether the PNC configuration information set for itself is appropriate. This configuration status check process is the same as the configuration status check process described with reference to the flowchart in Figure 17, so its explanation is omitted. After that, the first virtual communication node management unit 15 completes the process shown in the flowchart in Figure 18.

[0136] (modified version) The systems and methods described in this disclosure may be implemented by a dedicated computer comprising a processor programmed to perform one or more functions embodied by a computer program. The systems and methods described in this disclosure may be implemented using dedicated hardware logic circuits. The systems and methods described in this disclosure may be implemented by one or more dedicated computers comprising a combination of a processor that executes a computer program and one or more hardware logic circuits. For example, some or all of the functions of the higher-level ECU 10 and the first to third intermediate ECUs 20, 30, 40 may be implemented as hardware. Embodiments of implementing a certain function as hardware include embodiments using one or more ICs. Some or all of the functions of the higher-level ECU 10 and the first to third intermediate ECUs 20, 30, 40 may be implemented using a system-on-a-chip (SoC), an integrated circuit (IC), or a field-programmable gate array (FPGA). The concept of an IC also includes an application-specific integrated circuit (ASIC). Furthermore, the computer program only needs to be stored on a computer-readable non-transitory tangible storage medium as instructions executed by the computer. The storage medium for the program can be an HDD (Hard-disk Drive), an SSD (Solid State Drive), flash memory, etc. The scope of this disclosure also includes programs for causing the computer to function as a higher-level ECU 10 or first to third intermediate ECUs 20, 30, and 40, as well as non-transitory physical storage media such as semiconductor memory on which these programs are stored.

[0137] (Disclosure of technical ideas) Finally, this specification discloses several technical concepts described in the following sections. Some sections may be written in a polynomial form, selectively referencing several preceding sections. Furthermore, some sections may be written in a multiple polynomial form, referencing several sections, including other sections in a polynomial form. These sections written in polynomial and multiple polynomial forms define several technical concepts. Furthermore, the several technical concepts described in the following sections also apply to control methods, higher-level control devices, and programs for in-vehicle network systems.

[0138] (Technical thought 1) An in-vehicle network system (100, 100A) having multiple control devices (10, 20, 30, 40, 50, 60, 70) capable of communicating with each other via a communication bus (12, 13, 22), The plurality of control devices include at least one higher-level control device (10, 20), The aforementioned higher-level control device controls whether or not power is supplied to at least one target device (50, 60, 70), The aforementioned higher-level control device is A relay control unit (16, 26) that turns on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, A virtual communication node management unit (15, 24, 25) manages the virtual communication nodes corresponding to the relay circuit, The above-level control device includes a virtual relay unit (14, 23) that virtually relays a network management message (hereinafter referred to as an NM message) to the virtual communication node management unit when it receives one. An in-vehicle network system in which the virtual communication node management unit instructs the relay control unit to turn on the relay circuit when the received NM message instructs the virtual communication node to start up.

[0139] (Technical thought 2) The virtual communication node management unit stores cluster configuration information indicating the cluster to which the virtual communication node belongs. The aforementioned NM message includes startup cluster information that specifies the startup cluster to be started. The in-vehicle network system according to Technical Concept 1, wherein the virtual communication node management unit considers that the NM message has instructed the virtual communication node to be started when the startup cluster specified in the startup cluster information of the NM message matches the cluster in the cluster configuration information of the virtual communication node.

[0140] (Technical Thought 3) One of the target devices is connected to the relay circuit. Each of the aforementioned target devices has cluster configuration information that indicates the cluster to which the target device belongs. The in-vehicle network system according to Technical Concept 2, wherein the cluster configuration information of the virtual communication node includes cluster configuration information of one of the target devices.

[0141] (Technical Thought 4) Multiple target devices are connected to the relay circuit. Each of the aforementioned target devices has cluster configuration information that indicates the cluster to which it belongs. The in-vehicle network system according to Technical Concept 2, wherein the cluster configuration information of the virtual communication node includes cluster configuration information corresponding to the logical OR of the respective cluster configuration information of a plurality of target devices.

[0142] (Technical Thought 5) The aforementioned upper-level control device, as a communication node, has a unique first node identifier to distinguish it from other communication nodes. The virtual communication node management unit has a second node identifier for the virtual communication node that is different from the first node identifier of the upper-level control device, The in-vehicle network system according to any one of technical concepts 2 to 4, wherein the virtual communication node management unit receives messages addressed to the virtual communication node and / or transmits messages from the virtual communication node using the second node identifier.

[0143] (Technical Thought 6) The control device further includes a cluster configuration information management unit (18) which is implemented in one of the multiple control devices and manages the cluster configuration information of at least the virtual communication node, The in-vehicle network system according to technical concept 5, wherein the cluster configuration information management unit uses the second node identifier to send and receive messages containing management commands for managing the cluster configuration information stored by the virtual communication node management unit to and from the virtual communication node management unit.

[0144] (Technical Thought 7) The cluster configuration information management unit uses the second node identifier to send a message containing the management command to the virtual communication node requesting the transmission of the virtual communication node's cluster configuration information. The virtual relay unit virtually relays a message containing the management command requesting the transmission of cluster configuration information to the virtual communication node to the virtual communication node management unit. The in-vehicle network system according to technical concept 6, wherein the virtual communication node management unit, in response to a message including the management command requesting the transmission of cluster configuration information to the received virtual communication node, sends a message to the cluster configuration information management unit, indicating the source by the second node identifier, and including the stored cluster configuration information of the virtual communication node.

[0145] (Technical Thought 8) The cluster configuration information management unit uses the second node identifier to send a message to the virtual communication node that includes the cluster configuration information to be stored by the virtual communication node management unit and the management command requesting an update to the cluster configuration information. The virtual relay unit virtually relays a message containing the management command, which includes the cluster configuration information of the virtual communication node, to the virtual communication node management unit, which is destined for the virtual communication node. The in-vehicle network system according to technical concept 6 or 7, wherein the virtual communication node management unit updates the stored cluster configuration information of the virtual communication nodes using the received cluster configuration information of the virtual communication nodes.

[0146] (Technical Thought 9) The in-vehicle network system according to any one of technical ideas 6 to 8, wherein the virtual communication node management unit determines whether the cluster configuration information of the virtual communication node stored in it is abnormal, and if it determines that it is abnormal, it sends a message to the cluster configuration information management unit, indicating the source using the second node identifier, which includes the management command requesting the virtual communication node's cluster configuration information to be reset. [Explanation of Symbols]

[0147] 2: Battery, 4: Power supply circuit, 6: Power supply line, 10: Higher-level ECU, 11: Communication IF, 14: First virtual relay unit, 15: First virtual communication node management unit, 16: First relay control unit, 17: First relay circuit, 18: PNC setting information management unit, 20: First intermediate-level ECU, 21: Communication IF, 23: Second virtual relay unit, 24: Second virtual communication node management unit, 25: Third virtual communication node management unit, 26: Second relay control unit, 27: Second relay circuit, 28: Third relay circuit, 30: Second intermediate-level ECU, 40: Third intermediate-level ECU, 50: First lower-level ECU, 60: Second lower-level ECU, 70: Third lower-level ECU, 100, 100A: In-vehicle network system

Claims

1. An in-vehicle network system (100, 100A) having a plurality of control devices (10, 20, 30, 40, 50, 60, 70) that can communicate with each other via a communication bus (12, 13, 22), The plurality of control devices include at least one higher-level control device (10, 20), The aforementioned higher-level control device controls whether or not power is supplied to at least one target device (50, 60, 70), The aforementioned higher-level control device is A relay control unit (16, 26) that turns on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, A virtual communication node management unit (15, 24, 25) manages the virtual communication nodes corresponding to the relay circuit, The aforementioned upper-level control device includes a virtual relay unit (14, 23) that virtually relays a network management message (hereinafter referred to as an NM message) to the virtual communication node management unit upon receiving it. An in-vehicle network system in which the virtual communication node management unit instructs the relay control unit to turn on the relay circuit when the received NM message instructs the virtual communication node to start up.

2. The virtual communication node management unit stores cluster configuration information indicating the cluster to which the virtual communication node belongs. The aforementioned NM message includes startup cluster information that specifies the startup cluster to be started. The in-vehicle network system according to claim 1, wherein the virtual communication node management unit determines that the NM message has instructed the virtual communication node to be started when the startup cluster specified in the startup cluster information of the NM message matches the cluster in the cluster configuration information of the virtual communication node.

3. One of the target devices is connected to the relay circuit. Each of the aforementioned target devices has cluster configuration information that indicates the cluster to which the target device belongs. The in-vehicle network system according to claim 2, wherein the cluster configuration information of the virtual communication node includes cluster configuration information of one of the target devices.

4. Multiple target devices are connected to the relay circuit. Each of the aforementioned target devices has cluster configuration information that indicates the cluster to which it belongs. The in-vehicle network system according to claim 2, wherein the cluster configuration information of the virtual communication node includes cluster configuration information corresponding to the logical OR of the respective cluster configuration information of the multiple target devices.

5. The aforementioned upper-level control device has a unique first node identifier to distinguish it from other communication nodes, as a communication node. The virtual communication node management unit has a second node identifier for the virtual communication node that is different from the first node identifier of the upper-level control device, The in-vehicle network system according to any one of claims 2 to 4, wherein the virtual communication node management unit uses the second node identifier to receive messages addressed to the virtual communication node and / or transmit messages from the virtual communication node.

6. The control device further includes a cluster configuration information management unit (18) which is implemented in one of the multiple control devices and manages the cluster configuration information of at least the virtual communication node, The in-vehicle network system according to claim 5, wherein the cluster configuration information management unit uses the second node identifier to send and receive messages with the virtual communication node management unit that include management commands for managing the cluster configuration information stored by the virtual communication node management unit.

7. The cluster configuration information management unit uses the second node identifier to send a message containing the management command to the virtual communication node requesting the transmission of the virtual communication node's cluster configuration information. The virtual relay unit virtually relays a message containing the management command requesting the transmission of cluster configuration information to the virtual communication node to the virtual communication node management unit. The in-vehicle network system according to claim 6, wherein the virtual communication node management unit, in response to a message including the management command requesting the transmission of cluster configuration information to the received virtual communication node, transmits a message including the stored cluster configuration information of the virtual communication node to the cluster configuration information management unit, indicating the source by the second node identifier.

8. The cluster configuration information management unit uses the second node identifier to send a message to the virtual communication node that includes the cluster configuration information to be stored by the virtual communication node management unit and the management command requesting an update of the cluster configuration information. The virtual relay unit virtually relays a message containing the management command, which includes the cluster configuration information of the virtual communication node, to the virtual communication node management unit, which is destined for the virtual communication node. The in-vehicle network system according to claim 6, wherein the virtual communication node management unit updates the stored virtual communication node cluster configuration information using the received virtual communication node cluster configuration information.

9. The in-vehicle network system according to claim 6, wherein the virtual communication node management unit determines whether the cluster configuration information of the virtual communication node stored in it is abnormal, and if it determines that it is abnormal, it sends a message to the cluster configuration information management unit, indicating the source using the second node identifier, which includes the management command requesting the virtual communication node's cluster configuration information to be reset.

10. In a vehicle, a vehicle-mounted network system (100, 100A) has a plurality of control devices (10, 20, 30, 40, 50, 60, 70) that can communicate with each other via a communication bus (12, 13, 22), and a higher-level control device (10, 20) controls whether or not power is supplied to at least one target device (50, 60, 70), A relay control unit (16, 26) that turns on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, A virtual communication node management unit (15, 24, 25) manages the virtual communication nodes corresponding to the relay circuit, The aforementioned upper-level control device includes a virtual relay unit (14, 23) that virtually relays a network management message (hereinafter referred to as an NM message) to the virtual communication node management unit upon receiving it. The virtual communication node management unit is a higher-level control device that instructs the relay control unit to turn on the relay circuit when the received NM message instructs the virtual communication node to start up.

11. A program that causes a higher-level control unit (10, 20) used in an in-vehicle network system (100, 100A) having multiple control units (10, 20, 30, 40, 50, 60, 70) capable of communicating with each other via a communication bus (12, 13, 22) to execute a process to control whether or not power is supplied to at least one target device (50, 60, 70), in which the higher-level control unit (10, 20) is used, The aforementioned upper-level control device is Relay control units (16, 26) that turn on or off relay circuits (17, 27, 28) provided in the power supply line (6) of the target device, A virtual communication node management unit (15, 24, 25) manages the virtual communication node corresponding to the relay circuit, and When the aforementioned upper-level control device receives a network management message (hereinafter referred to as an NM message), it is configured to function as a virtual relay unit (14, 23) that virtually relays the message to the virtual communication node management unit. The virtual communication node management unit is a program that instructs the relay control unit to turn on the relay circuit when the received NM message instructs the virtual communication node to start up.

12. A control method for an in-vehicle network system (100, 100A) having a plurality of control devices (10, 20, 30, 40, 50, 60, 70) capable of communicating with each other via a communication bus (12, 13, 22) in a vehicle, The plurality of control devices include at least one higher-level control device (10, 20) that controls whether or not power is supplied to at least one target device (50, 60, 70) by turning on or off relay circuits (17, 27, 28) provided on the power supply line (6) of the target device. The above-level control device is provided with a virtual communication node management unit (15, 24, 25) that manages the virtual communication nodes corresponding to the relay circuit. When the aforementioned upper-level control unit receives a network management message (hereinafter referred to as an NM message), it virtually relays it to the virtual communication node management unit, and A control method for an in-vehicle network system, comprising: the virtual communication node management unit instructing the relay circuit to turn on when the received NM message instructs the virtual communication node to start up.

Citation Information

Patent Citations

  • On-vehicle device, information processing method and on-vehicle system

    JP2024021868A