Communication control device, vehicle, communication control method, and communication control program
By implementing automatic detection of network setting changes and an external information request mechanism in the communication control device, communication problems caused by unknown changes in the SDN network are solved, ensuring communication stability and vehicle safety.
Patent Information
- Application Number
- CN202380017240.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-20
- Filing Date
- 2023-01-05
- Publication Date
- 2024-10-18
AI Technical Summary
In SDN networks, when SDN controllers and switches do not know the new network settings required with external system changes, it may cause communication problems, especially in the case of software activation, plug-and-play or external system changes. Down.
A communication control device is designed, which is capable of accepting notifications of network setting changes, determining whether necessary setting information is stored, and requesting setting information from an external device if no setting information is stored, thereby ensuring communication control. Goes smoothly.
Even if the communication control device and the switching control unit do not know the required new network settings, the problem of communication failure after the network settings are changed can be reduced and the driving safety of the vehicle can be ensured.
Smart Images

Figure CN118805364A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a communication control device, a vehicle, a communication control method, and a program that control communication on a network. Background Art
[0002] Japanese Patent Application Publication No. 2017-169044 discloses an SDN (Software Defined Networking) technology that can change the communication settings in the network (hereinafter also referred to as "network settings"). The SDN network includes an SDN controller and multiple SDN switches. The SDN controller distributes the network settings to the SDN switches, so that the SDN switches can control the network.
[0003] In the prior art, when SDN controllers and SDN switches are unaware of new network settings required for software activation based on distributed data packets (OTA: Over The Air) and plug-and-play additions accompanying changes in external systems, there is a concern that communication will not be smooth after the network settings are changed, causing problems. Summary of the invention
[0004] The present disclosure has been completed in consideration of the above-mentioned facts, and its purpose is to provide a communication control device, a vehicle, a communication control method and a communication control program that can reduce the possibility of problems caused by poor communication after the network setting is changed even when the communication control device and the switching control unit connected to the communication control device are unaware of the new network setting required accompanying the change of the network communication setting.
[0005] The communication control device of the first mode is a communication control device that controls the communication of a network, wherein the communication control device comprises: an accepting unit that accepts a change notification involving a change in the communication setting of the network; a determining unit that determines whether at least one of the communication control device and the switching control unit connected to the communication control device stores new setting information of the network required along with the change notification; and a requesting unit that requests the setting information from an external device outside the network when the determining unit determines that neither the communication control device nor the switching control unit stores the setting information.
[0006] In the communication control device of the first aspect, the communication control device controls the communication of the network, the receiving unit receives a change notification related to the change of the communication setting of the network, the determination unit determines whether at least one of the communication control device and the switching control unit connected to the communication control device stores the new setting information of the network required in conjunction with the change notification, and when it is determined that neither the communication control device nor the switching control unit stores the setting information, the request unit requests the setting information from an external device outside the network. Therefore, according to the communication control device, even if the communication control device and the switching control unit are not aware of the new network setting required in conjunction with the change of the communication setting of the network, the possibility of a problem caused by communication failure after the change of the network setting can be reduced.
[0007] The communication control device of the second mode is proposed based on the communication control device of the first mode, wherein the above-mentioned change notification is a notification related to the update of software in the device connected to the above-mentioned network, and the above-mentioned determination unit determines whether the above-mentioned setting information is stored based on the information of the above-mentioned software to be updated.
[0008] According to the communication control device of the second aspect, it is possible to determine whether or not the setting information is stored based on the information of the software to be updated.
[0009] A communication control device according to a third aspect is the communication control device according to the first aspect or the second aspect, wherein the receiving unit receives the change notification from the external device.
[0010] According to the communication control device of the third aspect, it is possible to accept a change notification from a device outside the network.
[0011] A communication control device according to a fourth aspect is the communication control device according to any one of the first to third aspects, wherein the receiving unit receives an update of software executed in the control device on the network and the change notification.
[0012] According to the communication control device of the fourth aspect, it is possible to receive a change notification together with a software update.
[0013] A communication control device according to a fifth aspect is the communication control device according to any one of the first to fourth aspects, wherein when a new control device is connected to the network, the accepting unit accepts the change notification.
[0014] According to the communication control device of the fifth aspect, it is possible to accept a change notification when a new control device is connected to the network.
[0015] A communication control device according to a sixth aspect is the communication control device according to any one of the first to third aspects, wherein when the network is attacked from the outside and becomes a security failure state, the acceptance unit accepts the change notification.
[0016] According to the communication control device of the sixth aspect, it is possible to accept a change notification when the network is attacked from the outside.
[0017] A vehicle according to a seventh aspect includes the communication control device according to any one of the first to sixth aspects, one or more of the switching control units, and a control device connected to the switching control unit.
[0018] According to the vehicle of the seventh aspect, even if the communication control device and the switching control unit are not aware of the new network settings required by the change of the network communication settings, the possibility of problems caused by communication failure after the network settings are changed can be reduced. Thus, the driving safety of the vehicle can be ensured.
[0019] The communication control method of the eighth mode is a communication control method for controlling the communication of a network, wherein the communication control method causes a computer to perform the following processing: accepting a change notification involving a change in the communication setting of the network, determining whether at least one of a communication control device and a switching control unit connected to the communication control device stores new setting information of the network required along with the change notification, and when it is determined that neither the communication control device nor the switching control unit stores the setting information, requesting the setting information from an external device outside the network.
[0020] The communication control method of the eighth aspect is a communication control method for controlling communication of a network, wherein a computer receives a change notification related to a change in communication settings of the network, determines whether at least one of a communication control device and a switching control unit connected to the communication control device stores new setting information of the network required in conjunction with the change notification, and requests the setting information from an external device outside the network when it is determined that neither the communication control device nor the switching control unit stores the setting information. Therefore, according to the communication control method, even when neither the communication control device nor the switching control unit knows the new network settings required in conjunction with the change in communication settings of the network, the possibility of problems caused by communication failure after the change in network settings can be reduced.
[0021] The communication control program of the 9th mode is a communication control program for controlling the communication of a network, wherein the communication control program causes a computer to perform the following processing: accepting a change notification involving a change in the communication setting of the network, determining whether at least one of a communication control device and a switching control unit connected to the communication control device stores new setting information of the network required along with the change notification, and when it is determined that neither the communication control device nor the switching control unit stores the setting information, requesting the setting information from an external device outside the network.
[0022] The communication control program of the ninth mode is a communication control program for controlling the communication of a network, and causes a computer to execute the following processing. That is, the computer receives a change notification related to the change of the communication setting of the above-mentioned network, determines whether at least one of the communication control device and the switching control unit connected to the above-mentioned communication control device stores the new setting information of the above-mentioned network required in conjunction with the above-mentioned change notification, and requests the above-mentioned setting information from an external device outside the above-mentioned network when it is determined that neither the above-mentioned communication control device nor the above-mentioned switching control unit stores the above-mentioned setting information. Therefore, according to this program, even if the communication control device and the switching control unit are not aware of the new network setting required in conjunction with the change of the communication setting of the network, the possibility of problems caused by communication failure after the change of the network setting can be reduced.
[0023] According to the present disclosure, even if the communication control device and the switching control unit connected to the communication control device are not aware of the new network settings required accompanying the change of network communication settings, the possibility of problems caused by communication failure after the network settings are changed can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a diagram showing a schematic configuration of a communication control system according to the first embodiment.
[0025] Figure 2 This is a block diagram showing the hardware configuration of the ECU in the vehicle according to the first embodiment.
[0026] Figure 3 This is a block diagram showing the functional configuration of the communication control system according to the first embodiment.
[0027] Figure 4 This is a sequence diagram showing the flow of OTA processing in the communication control system according to the first embodiment.
[0028] Figure 5 This is a sequence diagram showing the flow of OTA processing in the communication control system according to the first embodiment.
[0029] Figure 6 This is a sequence diagram showing the flow of OTA processing in the communication control system according to the first embodiment.
[0030] Figure 7 This is a flowchart showing the flow of inquiry processing executed by the central ECU according to the first embodiment.
[0031] Figure 8 This is a front view showing an example of a display provided to the user in the first embodiment.
[0032] Fig. 9 This is a sequence diagram showing the flow of plug-and-play processing in the communication control system according to the first embodiment.
[0033] Fig.10 This is a sequence diagram showing the flow of plug-and-play processing in the communication control system according to the first embodiment.
[0034] Fig.11 This is a block diagram showing the hardware configuration of an ECU in a vehicle according to the second embodiment.
[0035] Fig.12 This is a block diagram showing the hardware configuration of an ECU in a vehicle according to the third embodiment.
[0036] Fig.13 This is a block diagram showing the functional configuration of the communication control system according to the third embodiment. DETAILED DESCRIPTION
[0037] A communication control system including a communication control device of the present disclosure will be described. The communication control system is a system for performing communication in a vehicle, supports SDN (Software Defined Networking), and is configured to acquire setting information related to communication settings from a server outside the vehicle as needed.
[0038] [First embodiment]
[0039] (Overall composition)
[0040] like Figure 1 As shown, the communication control system 10 of the first embodiment includes a vehicle 12 and a center server 40 as an external device. The center server 40 is installed in an office that manages and operates the communication control system 10, such as a manufacturer of the vehicle 12. The vehicle 12 and the center server 40 are connected to each other via a public network N.
[0041] (vehicle)
[0042] In the vehicle 12 of the present embodiment, an in-vehicle network 14 including a plurality of ECUs 20, a plurality of Ethernet switches 30, and a DCM (Data Communication Module) 32 is formed. The in-vehicle network 14 is an example of a network. In addition, the ECU 20 includes a central ECU 22 that coordinates the control of the vehicle 12, and an ECU 24 whose communication is controlled by the central ECU 22. Examples of the ECU 24 include an ADAS (Advanced Driver Assistance System) ECU, a steering ECU, a body ECU, and an information system ECU. The ECU 24 is an example of a control device.
[0043] like Figure 2 As shown, the ECU 20 includes at least a control unit 21 that functions as an SDN controller, and is configured to include an Ethernet switch 30 as needed. The control unit 21 is configured to include a CPU (Central Processing Unit) 20A, a ROM (Read Only Memory) 20B, a RAM (Random Access Memory) 20C, an in-vehicle communication I / F (Interface) 20D, and an input / output I / F 20E. The CPU 20A, the ROM 20B, the RAM 20C, the in-vehicle communication I / F 20D, and the input / output I / F 20E are connected to each other in a communicable manner via an internal bus 20G.
[0044] The CPU 20A is a central processing unit, and executes various programs and controls various components. Specifically, the CPU 20A reads a program from the ROM 20B and executes the program using the RAM 20C as a work area.
[0045] ROM 20B stores various programs and various data. In the present embodiment, ROM 20B stores a control program 100 for controlling ECU 20 including communication. In addition, ROM 20B stores an application program 110 for realizing applications by ECU 20. Control program 100 is an example of a communication control program.
[0046] The RAM 20C is used as a work area to temporarily store programs or data.
[0047] The in-vehicle communication I / F 20D is an interface for connecting to each ECU 20. This interface can use a communication standard based on Ethernet (registered trademark). The in-vehicle communication I / F 20D is connected to the external bus 20H (see Figure 1 ).
[0048] The input / output I / F 20E is an interface for connecting the control unit 21 to other devices constituting the ECU 20. For example, an Ethernet switch 30 is connected to the input / output I / F 20E of the central ECU 22.
[0049] The Ethernet switch 30 is a relay device that performs communication based on Ethernet (registered trademark), and the Ethernet switch 30 of this embodiment functions as an SDN switch. The Ethernet switch 30 performs communication between the ECUs 20 based on the communication information related to the communication setting of the in-vehicle network 14. In addition, the Ethernet switch 30 is configured to be able to obtain communication information from the control unit 21 or other Ethernet switches 30. The Ethernet switch 30 is an example of a switching control unit.
[0050] DCM32 is a module that communicates according to communication standards such as 5G, 4G, and LTE. DCM32 is connected to the public network N (refer to Figure 1 ) In the vehicle 12 , the DCM 32 is connected to the control unit 21 of the central ECU 22 , but the present invention is not limited thereto and the DCM 32 may be built in the central ECU 22 or another ECU 24 .
[0051] (Central ECU)
[0052] The central ECU 22 is an ECU 20 equipped with a control unit 21 and an Ethernet switch 30. In the central ECU 22 of the present embodiment, the CPU 20A executes the control program 100 as Figure 3 The integrated control unit 50 and the communication control unit 52 shown in the figure function. The central ECU 22 is an example of a communication control device.
[0053] The integrated control unit 50 controls downloading of software such as the application program 110 and execution of plug-and-play when connecting a new ECU 20 to the in-vehicle network 14. The integrated control unit 50 includes a receiving unit 200, an inquiry unit 210, and an execution unit 220.
[0054] The receiving unit 200 has a function of receiving downloading of the application 110 and detecting plug-and-play of the ECU 20. In addition, the receiving unit 200 of the present embodiment receives a change notification regarding a change in the communication settings of the in-vehicle network 14.
[0055] The inquiry unit 210 has a function of inquiring the user of the vehicle 12 whether to change the setting of the in-vehicle network 14 .
[0056] The execution unit 220 as a reflection unit has a function of executing a setting change of the in-vehicle network 14 in conjunction with software download or plug-and-play execution. When updating the software, the execution unit 220 of this embodiment reflects the setting information to the communication control unit 52 and the Ethernet switch 30 when the download of the application 110 is completed. In addition, when plug-and-play is executed, the execution unit 220 reflects the setting information to the communication control unit 52 and the Ethernet switch 30 when the vehicle 12 is restarted (i.e., the ignition is turned from off to on).
[0057] The communication control unit 52 functions as an SDN controller and includes a determination unit 250 , a notification unit 260 , and a request unit 270 .
[0058] The determination unit 250 has a function of determining whether the communication control unit 52 and the Ethernet switch 30 have appropriate setting information when downloading software or plug-and-playing.
[0059] The notification unit 260 has a function of notifying the integrated control unit 50 of the status of the communication control unit 52 and the Ethernet switch 30. When a failure occurs in the in-vehicle network 14, the notification unit 260 of this embodiment sends a diagnostic code to the integrated control unit 50. Thus, the center server 40 or the like that has obtained the diagnostic code through the integrated control unit 50 can understand the cause of the failure.
[0060] The request unit 270 has a function of requesting appropriate setting information when the communication control unit 52 and the Ethernet switch 30 do not have appropriate setting information. In this case, the request unit 270 of this embodiment requests the integrated control unit 50 or the center server 40 for setting information.
[0061] (Control Process)
[0062] use Figures 4 to 6 Timing diagram of Figure 7 Flowchart of Figure 8 The display screen and Fig. 9 and Fig.10 The flow of processing executed in the communication control system 10 of the present embodiment will be described with reference to a timing chart of FIG. The processing in the central ECU 22 is executed by the CPU 20A functioning as the integrated control unit 50 and the communication control unit 52 .
[0063] First, the flow of the overall system processing in the center server 40, the control unit 21 of the central ECU 22, the Ethernet switch 30, and the ECU 24 will be described. In each sequence diagram, only one Ethernet switch 30 and ECU 24 are shown, but the present invention is not limited to this, and the Ethernet switch 30 and ECU 24 on the in-vehicle network 14 are also included.
[0064] exist Figure 4 In step S10, the center server 40 transmits a package program to the integrated control unit 50 of the control unit 21. The package program includes the application program 110 and setting information of the in-vehicle network 14.
[0065] In step S11 , the integrated control unit 50 of the control unit 21 transmits setting information to the communication control unit 52 .
[0066] In step S12 , the communication control unit 52 of the control unit 21 transmits the setting information to the Ethernet switch 30 .
[0067] In step S13, the communication control unit 52 of the control unit 21 performs verification processing. Specifically, the communication control unit 52 of the control unit 21 verifies whether appropriate setting information is stored. Here, appropriate setting information refers to setting information that enables the application 110 downloaded in step S10 to operate in the in-vehicle network 14.
[0068] In step S14, the communication control unit 52 of the control unit 21 issues a verification request to the Ethernet switch 30. Specifically, the communication control unit 52 requests the Ethernet switch 30 to transmit a verification result of whether the Ethernet switch 30 stores appropriate setting information.
[0069] In step S15, the Ethernet switch 30 performs a verification process. Specifically, the Ethernet switch 30 verifies whether appropriate setting information is stored.
[0070] In step S16, the Ethernet switch 30 transmits the verification result to the communication control unit 52 of the control unit 21. Specifically, the Ethernet switch 30 transmits the verification result to the communication control unit 52, indicating whether the Ethernet switch 30 stores the setting information.
[0071] In step S17, the communication control unit 52 of the control unit 21 executes a determination process. Specifically, the communication control unit 52 determines whether the communication control unit 52 and the Ethernet switch 30 have appropriate setting information.
[0072] In step S18 , the communication control unit 52 of the control unit 21 transmits the determination result of the determination process executed in step S17 to the integrated control unit 50 .
[0073] In step S19, the integrated control unit 50 of the control unit 21 determines whether at least one of the communication control unit 52 and the Ethernet switch 30 stores appropriate setting information, that is, whether the communication control unit 52 and the Ethernet switch 30 can operate according to the setting information. If the integrated control unit 50 determines that the communication control unit 52 and the Ethernet switch 30 can operate (step S19: Yes), the process moves to step S40. On the other hand, if the integrated control unit 50 determines that the communication control unit 52 and the Ethernet switch 30 cannot operate (step S19: No), the process moves to step S30.
[0074] Next, the flow of overall system processing in the center server 40 , the control unit 21 , the Ethernet switch 30 , and the ECU 24 when the integrated control unit 50 of the control unit 21 determines that the communication control unit 52 and the Ethernet switch 30 are inoperable will be described.
[0075] exist Figure 5 In step S30, the integrated control unit 50 of the control unit 21 requests the central server 40 for setting information that the Ethernet switch 30 can operate. Here, when it is determined in step S19 that the communication control unit 52 and the Ethernet switch 30 cannot operate, the integrated control unit 50 generates a diagnostic code indicating the fact that they cannot operate and the reason for the inoperability. In addition, the integrated control unit 50 sends the diagnostic code indicating the fact that the ECU 20 and the Ethernet switch 30 cannot operate in the in-vehicle network 14 and the reason for the inoperability together with the command for requesting the setting information.
[0076] In step S31 , the center server 40 transmits setting information for enabling the application 110 to operate in the in-vehicle network 14 to the integrated control unit 50 of the control unit 21 .
[0077] Furthermore, the center server 40, the control unit 21, the Ethernet switch 30, and the ECU 24 execute the Figure 4 The processes from step S11 to step S18 shown are the same processes.
[0078] Next, the flow of overall system processing in the center server 40 , the control unit 21 , the Ethernet switch 30 , and the ECU 24 when the integrated control unit 50 of the control unit 21 determines that the communication control unit 52 and the Ethernet switch 30 are operable will be described.
[0079] exist Figure 6 In step S40, the integrated control unit 50 of the control unit 21 executes an inquiry process. The details of the inquiry process will be described later.
[0080] In step S41, the integrated control unit 50 of the control unit 21 determines whether the setting information can be reflected based on the processing result of step S40. When the integrated control unit 50 determines that the setting information can be reflected (step S41: Yes), the process moves to step S42. On the other hand, when the integrated control unit 50 determines that the setting information cannot be reflected (step S41: No), the process ends.
[0081] In step S42 , the integrated control unit 50 of the control unit 21 transmits the application program 110 to the ECU 24 on which the application program 110 is to be installed.
[0082] In step S43 , the ECU 24 notifies the integrated control unit 50 of the control unit 21 that the download of the application 110 has been completed.
[0083] In step S44, the integrated control unit 50 of the control unit 21 requests activation to the communication control unit 52. Specifically, the integrated control unit 50 requests the communication control unit 52 to reflect the setting information.
[0084] In step S45, the communication control unit 52 of the control unit 21 requests activation to the Ethernet switch 30. Specifically, the communication control unit 52 requests that the setting information be reflected in the Ethernet switch 30.
[0085] In step S46, the communication control unit 52 of the control unit 21 executes a reflection process. Specifically, the communication control unit 52 reflects the setting information in the communication control unit 52.
[0086] In step S47, the Ethernet switch 30 performs a reflection process. Specifically, the Ethernet switch 30 reflects the setting information in the Ethernet switch 30.
[0087] In step S48, the ECU 24 executes a reflection process. Specifically, the ECU 24 reflects the installed application 110 and setting information.
[0088] In step S49 , the Ethernet switch 30 notifies the communication control unit 52 of the control unit 21 that the setting information is reflected in the Ethernet switch 30 .
[0089] In step S50 , the communication control unit 52 of the control unit 21 notifies the integrated control unit 50 of the control unit 21 that the setting information is reflected in the Ethernet switch 30 and the communication control unit 52 .
[0090] In step S51 , the ECU 24 notifies the integrated control unit 50 of the control unit 21 that the installed application 110 and the setting information are reflected in the ECU 24 .
[0091] In step S52 , the control unit 21 , the Ethernet switch 30 , and the ECU 24 start communication accompanying the execution of the application program 110 installed in the ECU 24 .
[0092] Next, Figure 7 The query processing of is described below.
[0093] exist Figure 7 In step S100, the integrated control unit 50 causes a monitor such as a dashboard or an instrument panel of the vehicle 12 to display the inquiry content. Figure 8 As shown, in order to reflect the software as the application 110, it is displayed that the update of the communication settings is required, and that the vehicle 12 cannot be restarted for a certain period of time during the update of the communication settings. When the reflection of the software including the update of the communication settings is executed, the user of the vehicle 12 selects the button 80 displayed as "Yes". On the other hand, when the reflection of the software including the update of the communication settings is not executed, the user of the vehicle 12 selects the button 82 displayed as "No".
[0094] In step S101, the integrated control unit 50 determines whether the timer time is within (for example, 1 minute from the start of the display of the inquiry content). If it is within the timer time (step S101: Yes), the integrated control unit 50 moves to step S102. On the other hand, if the timer time has passed (step S101: No), the integrated control unit 50 moves to step S105.
[0095] In step S102, the integrated control unit 50 determines whether a selection of whether to update the communication settings is accepted. If a selection of whether to update the communication settings is accepted (step S102: Yes), the integrated control unit 50 moves to step S103. On the other hand, if a selection of whether to update the communication settings is not accepted (step S102: No), the integrated control unit 50 returns to step S100.
[0096] In step S103, the integrated control unit 50 determines whether the communication settings can be updated. Specifically, the integrated control unit 50 determines whether the button 80 is selected. If the communication settings can be updated (step S103: Yes), the integrated control unit 50 moves to step S104. On the other hand, if the communication settings cannot be updated (step S103: No), the integrated control unit 50 moves to step S105.
[0097] In step S104 , the integrated control unit 50 determines to update the communication setting.
[0098] In step S105 , the integrated control unit 50 interrupts the updating of the communication settings.
[0099] In step S106, the integrated control unit 50 outputs the selection result of the user of the vehicle 12. Specifically, the integrated control unit 50 outputs the selection result of the user whether to update the communication settings received during the determination of step S102. Then, the integrated control unit 50 ends the inquiry process and returns to Figure 6 Step S40.
[0100] Next, use Fig. 9 and Fig.10 The flow of the plug-and-play process when a new ECU 24 is connected to the in-vehicle network 14 will be described.
[0101] exist Figure 4 The process flow in the communication control system 10 shown in FIG. Fig. 9 The process flow in the communication control system 10 shown in the figure is different in that the process of step S60 is applied instead of the process of step S10, and in that the process moves to step S70 when an affirmative determination is made in step S19. The setting information verified at the time of plug-and-play is setting information that enables the newly connected ECU 24 to operate in the in-vehicle network 14.
[0102] For execution and Figure 4 The steps of the processes in the communication control system 10 shown in the figure are marked with the same Figure 4 The same steps are numbered and their descriptions are omitted.
[0103] exist Fig. 9 In step S60 , the ECU 24 transmits setting information to the integrated control unit 50 of the control unit 21 .
[0104] Next, the flow of the processing of the entire system in the center server 40 , the control unit 21 , the Ethernet switch 30 , and the ECU 24 when an affirmative determination is made in step S19 will be described.
[0105] exist Fig.10 In step S70, the integrated control unit 50 of the control unit 21 executes the inquiry process. Figure 7 The process flow shown is the same.
[0106] In step S71, the integrated control unit 50 of the control unit 21 determines whether the setting information can be reflected based on the processing result of step S70. When it is determined that the setting information can be reflected (step S71: Yes), the integrated control unit 50 moves to step S72. On the other hand, when it is determined that the setting information cannot be reflected (step S71: No), the integrated control unit 50 ends the processing.
[0107] In step S72, the vehicle 12 is restarted. Specifically, the vehicle 12 is controlled so that the ignition is temporarily turned off and then turned on again.
[0108] In step S73, the integrated control unit 50 of the control unit 21 requests activation to the communication control unit 52. Specifically, the integrated control unit 50 requests the communication control unit 52 to reflect the setting information.
[0109] In step S74, the communication control unit 52 of the control unit 21 requests activation to the Ethernet switch 30. Specifically, the communication control unit 52 requests that the setting information be reflected in the Ethernet switch 30.
[0110] In step S75, the integrated control unit 50 of the control unit 21 requests activation to the ECU 24. Specifically, the integrated control unit 50 requests the ECU 24 to reflect setting information.
[0111] In step S76, the communication control unit 52 of the control unit 21 executes a reflection process. Specifically, the communication control unit 52 reflects the setting information in the communication control unit 52.
[0112] In step S77, the Ethernet switch 30 performs a reflection process. Specifically, the Ethernet switch 30 reflects the setting information in the Ethernet switch 30.
[0113] In step S78 , the ECU 24 executes a reflection process. Specifically, the ECU 24 reflects the setting information in the ECU 24 .
[0114] In step S79 , the Ethernet switch 30 notifies the communication control unit 52 of the control unit 21 that the setting information is reflected in the Ethernet switch 30 .
[0115] In step S80 , the communication control unit 52 of the control unit 21 notifies the integrated control unit 50 of the control unit 21 that the setting information is reflected in the Ethernet switch 30 and the communication control unit 52 .
[0116] In step S81 , the ECU 24 notifies the integrated control unit 50 of the control unit 21 that the setting information is reflected in the ECU 24 .
[0117] In step S82 , the control unit 21 , the Ethernet switch 30 , and the ECU 24 start communication.
[0118] (Summarize)
[0119] In the central ECU 22 of the present embodiment, when the communication control unit 52 determines that the Ethernet switch 30 is inoperable based on the setting information, it notifies the user of the vehicle 12 of the inoperability of the Ethernet switch 30 and the diagnostic code based on the setting information. Therefore, the user can understand the inoperability of the Ethernet switch 30 and the reason for the inoperability based on the setting information.
[0120] In addition, in the central ECU 22 of the present embodiment, when the communication control unit 52 determines that the Ethernet switch 30 is inoperable based on the setting information, it requests the central server 40 for the setting information that enables the Ethernet switch 30 to operate. Therefore, even if the Ethernet switch 30 is inoperable based on the setting information, the setting information that enables the Ethernet switch 30 to operate can be obtained.
[0121] In the central ECU 22 of the present embodiment, the integrated control unit 50 receives update and change notifications of the application 110 to be executed in the control device on the vehicle network by the ECU 24. Therefore, the change notification can be received together with the update of the application 110.
[0122] In the central ECU 22 of the present embodiment, the integrated control unit 50 accepts a change notification when a new ECU 24 is connected. Therefore, when a new ECU 24 is connected, the change notification can be accepted.
[0123] The change notification of this embodiment is a notification related to the update of the application 110. In the central ECU 22, the communication control unit 52 determines whether the setting information is stored based on the application 110 to be updated. Therefore, it is possible to determine whether the setting information is stored based on the information of the application 110.
[0124] In the central ECU 22 of the present embodiment, the integrated control unit 50 receives a change notification from the center server 40. Therefore, a change notification can be received from a device outside the in-vehicle network 14.
[0125] Furthermore, when the communication setting of the in-vehicle network 14 is changed, the central ECU 22 of the present embodiment, after receiving a change notification regarding the change of the communication setting, reflects the new setting information in the communication control unit 52 and the Ethernet switch 30 at a predetermined timing. Therefore, according to the present embodiment, since the communication setting of the communication control unit 52 and the Ethernet switch 30 in the in-vehicle network 14 is reflected at a predetermined timing, communication failure when the network setting is changed can be suppressed.
[0126] In particular, according to this embodiment, communication malfunctions when communication settings are changed when downloading software via OTA can be suppressed. In addition, according to this embodiment, communication malfunctions when communication settings are changed during plug-and-play with connection to a new ECU 24 can be suppressed.
[0127] In addition, the vehicle 12 of the present embodiment includes the central ECU 22, one or more Ethernet switches 30, and the ECU 24. According to the vehicle 12 of the present embodiment, as described above, even when the communication control unit 52 and the Ethernet switch 30 do not know the setting information, the possibility of a problem caused by communication failure after the network setting is changed can be reduced. As a result, the driving safety of the vehicle 12 can be ensured.
[0128] [Second embodiment]
[0129] The second embodiment is different from the first embodiment in that the Ethernet switch 30 and the central ECU 22 are configured independently. The differences from the first embodiment will be described below.
[0130] like Fig.11 As shown, the central ECU 22 is configured to include only the control unit 21 and not the Ethernet switch 30. That is, the Ethernet switch 30 is configured independently from the central ECU 22.
[0131] As described above, in the present embodiment, the Ethernet switch 30 is configured independently of the central ECU 22. Therefore, according to the present embodiment, even when the central ECU 22 does not include the Ethernet switch 30, when the communication setting of the network is changed without the user's awareness, it is possible to suppress the subsequent switching control unit from being able to operate according to the new network setting from becoming noticeable.
[0132] [Third embodiment]
[0133] The third embodiment is different from the first embodiment in that the integrated control unit 50 of the control unit 21 functions by an ECU 20 different from the central ECU 22. The differences from the first embodiment will be described below.
[0134] like Fig.12 As shown, in the vehicle 12 of this embodiment, the in-vehicle network 14 is constituted including a plurality of ECUs 20, a plurality of Ethernet switches 30, and a DCM 32. The ECU 20 includes a central ECU 22, an ECU 24, and a management ECU 26. The DCM 32 is connected to the public network N via the management ECU 26.
[0135] The central ECU 22 performs the following operations by executing the control program 100 through the CPU 20A: Fig.13 The communication control unit 52 shown in FIG. 1 functions. On the other hand, the management ECU 26 operates as a control program 100 executed by the CPU 20A. Fig.13 The integrated control unit 50 shown in the figure functions. That is, in the vehicle 12 of the present embodiment, the processing of the communication control unit 52 and the integrated control unit 50 related to the change of the network setting is realized by the plurality of CPUs 20A.
[0136] As described above, in the present embodiment, the integrated control unit 50 of the control unit 21 functions by an ECU 20 different from the central ECU 22. Therefore, according to the present embodiment, even if the integrated control unit 50 of the control unit 21 functions by an ECU 20 different from the central ECU 22, when the communication setting of the network is changed without the user's awareness, it is possible to suppress the situation where the switching control unit cannot operate according to the new network setting from becoming noticeable.
[0137] [Remark]
[0138] In addition, the processing involved in the change of the network settings in the above-mentioned embodiments is exemplified as processing in the case of downloading the application 110 as software and processing in the case of plug-and-play when the ECU 24 is added to the in-vehicle network 14. However, the case where the processing involved in the change of the network settings of the present embodiment is applied is not limited to this, and it can also be applied to the case of constructing the configuration of the in-vehicle network 14 when the vehicle 12 is manufactured, or the case where the in-vehicle network 14 is attacked from the outside and becomes a security failure state.
[0139] The various processes in which the CPU 20A reads and executes the software (program) in the above-mentioned embodiment may also be executed by various processors other than the CPU. As the processor in this case, FPGA (Field-Programmable Gate Array) and other PLD (Programmable Logic Device) whose circuit configuration can be changed after manufacturing, and ASIC (Application Specific Integrated Circuit) and other processors having a circuit configuration specially designed for executing specific processes, i.e., dedicated electronic circuits, etc. may be exemplified. In addition, each of the above-mentioned processes may be executed by one of these various processors, or by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, and a combination of a CPU and an FPGA, etc.). In addition, the hardware structure of these various processors is more specifically an electronic circuit that combines circuit elements such as semiconductor elements.
[0140] In addition, in the above-mentioned embodiment, the description is made in the manner that each program is pre-stored (installed) in a non-temporary recording medium that can be read by a computer. For example, the control program 100 in the ECU 20 is pre-stored in the ROM 20B. However, it is not limited to this, and each program can also be provided in the manner of being recorded in a non-temporary recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), and a USB (Universal Serial Bus) memory. In addition, the program can also be downloaded from an external device via a network.
[0141] The processing flow described in the above embodiment is an example, and unnecessary steps may be deleted, new steps may be added, or the processing order may be changed without departing from the scope of the invention.
[0142] (Note 1)
[0143] A communication control device has a processor and controls the communication of a network, wherein:
[0144] The above processor is composed of:
[0145] Accepting notification of changes related to changes in the communication settings of the above network,
[0146] determining whether at least one of the communication control device and a switching control unit connected to the communication control device stores new setting information of the network required in conjunction with the change notification,
[0147] When it is determined that neither the communication control device nor the switching control unit stores the setting information, a request is made to an external device outside the network for the setting information.
[0148] (Note 2)
[0149] The communication control device according to claim 1, wherein:
[0150] The above-mentioned change notification is a notification related to the update of software in the device connected to the above-mentioned network.
[0151] The processor determines whether the setting information is stored based on information of the software to be updated.
[0152] (Note 3)
[0153] The communication control device according to claim 1 or 2, wherein:
[0154] The processor receives the change notification from the external device.
[0155] (Note 4)
[0156] A communication control device according to any one of appended claims 1 to 3, wherein:
[0157] The processor receives an update of software executed in the control device on the network and the change notification.
[0158] (Note 5)
[0159] The communication control device according to any one of appended claims 1 to 4, wherein:
[0160] When a new control device is connected to the network, the processor receives the change notification.
[0161] (Note 6)
[0162] A communication control device according to any one of appended claims 1 to 3, wherein:
[0163] When the network is attacked from the outside and becomes a fail-safe state, the processor receives the change notification.
[0164] The disclosure of Japanese Patent Application No. 2022-007382 is incorporated herein by reference in its entirety.
[0165] All documents, patent applications, and technical standards described in this specification are incorporated herein by reference to the same extent as if each individual document, patent application, and technical standard was specifically and individually described as being incorporated by reference.
Claims
1. A communication control device for controlling the communication of a network, wherein: The communication control device comprises: an accepting unit for accepting a change notification related to a change in communication settings of the network; a determination unit for determining whether at least one of the communication control device and a switching control unit connected to the communication control device stores new setting information of the network required in conjunction with the change notification; as well as The request unit requests the setting information from an external device outside the network when the determination unit determines that neither the communication control device nor the switching control unit stores the setting information.
2. The communication control device according to claim 1, wherein: The change notification is a notification related to an update of software in a device connected to the network, The determination section determines whether the setting information is stored based on information of the software to be updated.
3. The communication control device according to claim 1 or 2, wherein: The receiving unit receives the change notification from the external device.
4. The communication control device according to any one of claims 1 to 3, wherein: The receiving unit receives an update of software executed in the control device on the network and the change notification.
5. The communication control device according to any one of claims 1 to 4, wherein: The receiving unit receives the change notification when a new control device is connected to the network.
6. The communication control device according to any one of claims 1 to 3, wherein: The accepting unit accepts the change notification when the network is attacked from the outside and becomes a security failure state.
7. A vehicle, wherein: have: The communication control device according to any one of claims 1 to 6; one or more of the switching control units; and A control device connected to the switching control unit.
8. A communication control method for controlling the communication of a network, wherein: The communication control method executes the following processing by a computer: receiving a change notification regarding a change in communication settings of the network, determining whether at least one of a communication control device and a switching control unit connected to the communication control device stores new setting information of the network required in conjunction with the change notification, When it is determined that neither the communication control device nor the switching control unit stores the setting information, a request is made to an external device outside the network for the setting information.
9. A communication control program for controlling the communication of a network, wherein: The communication control program causes the computer to execute the following processing: receiving a change notification regarding a change in communication settings of the network, determining whether at least one of a communication control device and a switching control unit connected to the communication control device stores new setting information of the network required in conjunction with the change notification, When it is determined that neither the communication control device nor the switching control unit stores the setting information, a request is made to an external device outside the network for the setting information.
