COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM

The communication control device addresses abnormality detection in non-target devices by reverting network settings to their pre-change state upon receiving abnormality notifications, ensuring valid changes are recognized and minimizing rollback scope.

JP7589702B2Active Publication Date: 2024-11-26TOYOTA JIDOSHA KK
3 Cites 0 Cited by

Patent Information

Application Number
JP2022037511
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2024-11-26
Estimated Expiration
2042-03-10

AI Technical Summary

Technical Problem

Communication devices not targeted for network setting changes may detect communication abnormalities despite normal communication due to changes in network settings of other devices.

Method used

A communication control device that includes a setting unit to change network settings on target devices and a control unit to revert settings to the pre-change state upon receiving abnormality notifications from non-target devices, determining valid changes based on the absence of further abnormalities.

Benefits of technology

Prevents non-target communication devices from detecting abnormalities by reverting network settings to their pre-change state, ensuring valid changes are recognized and minimizing rollback scope.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007589702000001
    Figure 0007589702000001
  • Figure 0007589702000002
    Figure 0007589702000002
  • Figure 0007589702000003
    Figure 0007589702000003
Patent Text Reader

Abstract

To prevent a communication device that is not a target of change in network settings from detecting a communication error when the communication device that is not a target of change detects the communication error.SOLUTION: An ECU 10 includes a setting unit 102 that performs a process for changing network settings on a communication device that is a target of change, and a control unit 103 that performs a process on the communication device that is a target of change for returning the network settings to settings before the change when a communication error is received from a communication device that is not a target of change.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication control device, a communication control method, and a communication control program. [Background technology]

[0002] The use of SDN (Software Defined Networking), which changes the network configuration by setting it using software without changing the hardware configuration, is increasing. For example, Patent Document 1 discloses a setting device that contributes to updating the settings of communication devices that make up a network while the network is running. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-169044 A Summary of the Invention [Problem to be solved by the invention]

[0004] After changing the network settings, a communication device that is connected to the network and is not the target of the change in settings may detect a communication abnormality even though the communication is normal.

[0005] The present invention has been made in consideration of the above-mentioned points, and aims to provide a communication control device, a communication control method, and a communication control program that prevent a communication device that is not subject to network settings changes from detecting a communication abnormality when the communication device detects a communication abnormality. [Means for solving the problem]

[0006] A communication control device according to a first aspect of the present invention includes a setting unit that performs processing related to changing network settings on a communication device that is connected to the network and whose settings are to be changed, and a control unit that, when receiving a communication abnormality from a communication device that is connected to the network and whose settings are not to be changed, performs processing for the communication device that is to be changed to restore the network settings to a state before the settings were changed.

[0007] According to the first aspect of the present invention, when a communication abnormality occurs, the network settings are returned to the state before the change, so that communication devices that are not the target of the change do not detect the communication abnormality.

[0008] A communication control device according to a second aspect of the present invention is a communication control device according to the first aspect, wherein the control unit determines that the change in the network settings is valid when no communication abnormality is received from a communication device that is not the target of the change for a predetermined period of time after changing the network settings for the communication device that is the target of the change.

[0009] According to the second aspect of the present invention, if no communication abnormality is detected after the network settings are changed, it is possible to control the network by determining that the changes to the network settings are valid.

[0010] A communication control device according to a third aspect of the present invention is the communication control device according to the second aspect, wherein the control unit notifies an external device that a change in the setting of the network is valid.

[0011] According to the third aspect of the present invention, it is possible to cause an external device to recognize that a change in network settings is valid.

[0012] A communication control device according to a fourth aspect of the present invention is a communication control device according to any of the first to third aspects, wherein the control unit performs processing to restore the network settings of the communication device to the state before the settings were changed, the communication device being the target of the change having caused a communication abnormality from a communication device that is not the target of the change.

[0013] According to the fourth aspect of the present invention, it is possible to minimize the extent to which network settings are restored to their pre-change state.

[0014] A communication control device according to a fifth aspect of the present invention is a communication control device according to any one of the first to fourth aspects, wherein the communication abnormality is at least one of receiving unknown data addressed to the communication device that is not the target of change, unknown data flowing on the network, receiving data at a period different from the period understood by the communication device that is not the target of change, and receiving data on a port that is not open by the communication device that is not the target of change.

[0015] According to the fifth aspect of the present invention, reception of predetermined data can be determined as a communication abnormality.

[0016] A communication control device according to a sixth aspect of the present invention is a communication control device according to any of the first to fifth aspects, wherein the control unit requests a server that distributed software that caused a change in the network settings to restore the software to its pre-update state.

[0017] According to the sixth aspect of the present invention, it is possible to roll back the software to a state in which no communication abnormality occurs.

[0018] A communication control device according to a seventh aspect of the present invention is a communication control device according to any of the first to sixth aspects, and further includes a monitoring unit that periodically monitors whether or not a communication abnormality has been notified from a communication device connected to the network, and in response to detection of a communication abnormality notification by the monitoring unit, the control unit performs processing to restore the network settings of the communication device to be changed to the state before the settings were changed.

[0019] According to the seventh aspect of the present invention, the occurrence of a communication abnormality is monitored, and if a communication abnormality is detected as a result of the monitoring, the network settings can be returned to the state before they were changed.

[0020] A communication control device according to an eighth aspect of the present invention is the communication control device according to any one of the first to seventh aspects, wherein the network is an in-vehicle network established in a vehicle.

[0021] According to the eighth aspect of the present invention, when a communication abnormality occurs in a communication device connected to an in-vehicle network, the network settings can be restored to the state before they were changed.

[0022] A communication control method according to a ninth aspect of the present invention includes a processor performing processing related to changing network settings for a communication device connected to the network whose settings are to be changed, and when a communication abnormality is received from a communication device connected to the network that is not to be changed whose settings are to be changed, the processor performs processing for the communication device that is to be changed to restore the network settings to the state before the settings were changed.

[0023] According to the ninth aspect of the present invention, when a communication abnormality occurs, the network settings are returned to the state before the change, so that communication devices that are not the subject of the change do not detect the communication abnormality.

[0024] A communication control program according to a tenth aspect of the present invention causes a computer to perform processing related to changing network settings on a communication device connected to the network whose settings are to be changed, and when a communication abnormality is received from a communication device connected to the network that is not to be changed, to perform processing for the communication device that is to be changed to restore the network settings to the state before the settings were changed.

[0025] According to the tenth aspect of the present invention, when a communication abnormality occurs, the network settings are returned to the state before the change, so that communication devices that are not the target of the change do not detect the communication abnormality. Effect of the Invention

[0026] According to the present invention, when a communication device that is not the target of a network setting change detects a communication abnormality, the network settings of the device that is the target of the change can be restored to the settings before the change, thereby preventing the communication device that is not the target of the change from detecting the communication abnormality. [Brief description of the drawings]

[0027] [Figure 1] 1 is a diagram showing a schematic configuration of a communication system according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of an ECU. [Diagram 3] FIG. 2 is a block diagram showing an example of a functional configuration of an ECU. [Figure 4] FIG. 2 is a block diagram showing a hardware configuration of an ECU. [Diagram 5] FIG. 2 is a block diagram showing an example of a functional configuration of an ECU. [Figure 6] FIG. 2 is a sequence diagram illustrating the operation of each device in the communication system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensional ratios of the drawings are exaggerated for the convenience of explanation and may differ from the actual ratios.

[0029] FIG. 1 is a diagram showing a schematic configuration of a communication system according to the present embodiment. The communication system shown in FIG. 1 has a configuration in which a vehicle 1 and an OTA (Over The Air) server 20 are connected via a network 30. The vehicle 1 has an antenna 2, an in-vehicle network including ECUs (Electronic Control Units) 10, 200A, 200B, 200C, and 200D, and switches 210A and 210B, which is an example of a network of the present invention. The ECUs 10, 200A, 200B, 200C, and 200D are connected to the switches 210A and 210B by Ethernet (registered trademark). The number of ECUs and switches is not limited to the example shown in FIG. 1, and the connection form between the ECUs and the switches is not limited to the example shown in FIG. 1.

[0030] The ECU 10 is an ECU that controls the entire in-vehicle network. The ECU 10 communicates with the OTA server 20 via the antenna 2, and exchanges various data with the OTA server 20. The ECUs 200A, 200B, 200C, and 200D are ECUs for controlling each part of the vehicle 1. For example, the ECUs 200A, 200B, 200C, and 200D control the operation of devices mounted on the vehicle 1, such as an engine, a motor, a brake, a camera, and lights.

[0031] Furthermore, the ECU 10 does not change the hardware configuration of the in-vehicle network, but changes the configuration of the in-vehicle network by setting it using software that uses SDN technology. In other words, when changing the configuration of the in-vehicle network, the switches 210A and 210B are operated by software control using OpenFlow or the like, rather than by plugging and unplugging cables or setting each switch 210A and 210B individually. In detail, the ECU 10 sets the destination of a packet transmitted from each ECU to the switches 210A and 210B by software control. The switches 210A and 210B pass or discard the packet based on the contents set by the ECU 10.

[0032] The OTA server 20 is a server for updating software for each ECU of the vehicle 1. When an update occurs to the software stored in each ECU of the vehicle 1, the OTA server 20 transmits the updated software to the vehicle 1. When updating the software stored in each ECU of the vehicle 1, the OTA server 20 may automatically transmit the software to the vehicle 1, or the OTA server 20 may transmit the software to the vehicle 1 based on an instruction from a user who is in the vehicle 1.

[0033] When software of an ECU connected to the in-vehicle network is updated, the updated software may specify new communication with another ECU on the in-vehicle network. For example, as a result of updating software in the ECU 200A, the ECU 200A may start new communication with the ECU 200C via the switches 210A and 210B. When software of an ECU connected to the in-vehicle network is updated, the ECU 10 changes the communication settings of the switches 210A and 210B.

[0034] However, as a result of the software update, there is a possibility that an ECU may detect new communication as a communication abnormality such as a communication error or an external attack. For example, consider a case where ECU 200D is set to communicate only with ECU 10 and ECU 200C, and detects all data from other ECUs as abnormal and reports this to ECU 10. In this case, when data from ECU 200A reaches ECU 200D as a result of a change in the communication settings of switches 210A and 210B, ECU 200D detects the data transmitted from ECU 200A as abnormal and reports the abnormality to ECU 10.

[0035] Therefore, when the ECU 10 according to the present embodiment changes the communication settings of the switches 210A and 210B by software and receives a report of an abnormality from an ECU that is not the target of the change in communication settings, the ECU 10 returns the communication settings of the switches 210A and 210B to the state before the change. Then, the ECU 10 instructs the OTA server 20 to roll back the software. When the ECU 10 according to the present embodiment receives a report of an abnormality from an ECU connected to the in-vehicle network, the ECU 10 can stop the ECU from detecting an abnormality by returning the communication settings of the switches 210A and 210B to the state before the change.

[0036] Next, a description will be given of the hardware configuration of the ECU 10. FIG 2 is a block diagram showing the hardware configuration of the ECU 10.

[0037] 2, the ECU 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a storage 14, a first communication interface (I / F) 15, and a second communication interface 16. Each component is connected to each other via a bus 19 so as to be able to communicate with each other.

[0038] The CPU 11 is a central processing unit, and executes various programs and controls each part. That is, the CPU 11 reads a program from the ROM 12 or the storage 14, and executes the program using the RAM 13 as a working area. The CPU 11 controls each of the above components and performs various arithmetic processing according to the program recorded in the ROM 12 or the storage 14. In this embodiment, the ROM 12 or the storage 14 stores a communication control program that controls communication of the in-vehicle network of the vehicle 1.

[0039] The ROM 12 stores various programs and various data. The RAM 13 temporarily stores programs or data as a working area. The storage 14 is configured with a storage device such as a flash memory, and stores various programs including an operating system, and various data.

[0040] The first communication interface 15 is an interface for communicating with the OTA server 20, and uses a wireless communication standard such as 4G, 5G, or Wi-Fi (registered trademark). The second communication interface 16 is an interface for communicating with other devices such as the ECUs 200A to 200D, and uses a wired communication standard such as Ethernet (registered trademark).

[0041] When executing the above communication control program, the ECU 10 uses the above hardware resources to realize various functions. The functional configuration realized by the ECU 10 will be described.

[0042] FIG. 3 is a block diagram showing an example of a functional configuration of the ECU 10. As shown in FIG.

[0043] 3, the ECU 10 has, as its functional components, an acquisition unit 101, a setting unit 102, a control unit 103, a monitoring unit 104, an output unit 105, and a storage unit 106. Each functional component is realized by the CPU 11 reading and executing a communication control program stored in the ROM 12 or the storage 14. Note that the functions of the acquisition unit 101, the setting unit 102, the control unit 103, the monitoring unit 104, the output unit 105, and the storage unit 106 may be realized in multiple ECUs.

[0044] The acquisition unit 101 acquires data from the OTA server 20 and the ECUs 200A to 200D of the in-vehicle network. In particular, when the software executed in the ECUs 200A to 200D is updated, the acquisition unit 101 acquires new software from the OTA server 20. Furthermore, when necessary in response to the update of the software in the ECUs 200A to 200D, the acquisition unit 101 acquires data for changing the communication settings of the switches 210A and 210B.

[0045] The setting unit 102 performs communication settings of the in-vehicle network by software. For example, when necessary in response to software updates of the ECUs 200A to 200D, the setting unit 102 changes the communication settings of the switches 210A and 210B. That is, the setting unit 102 changes the configuration of the in-vehicle network by software settings. The changes in communication settings performed by the setting unit 102 include, for example, setting a route for communication with a communication partner of the ECU 200, setting opening or closing of a port, setting the priority of a packet to be passed, setting the size of a queue of packets, setting a bandwidth, setting packet filtering, and the like. For example, when the ECU 200D is newly added to the in-vehicle network, the setting unit 102 performs settings on the switches 210A and 210B for other ECUs 200A to 200C that communicate with the ECU 200D to enable communication with the ECU 200D.

[0046] The switches 210A and 210B hold communication settings in the form of, for example, a table. The switches 210A and 210B refer to the table to process frames or packets flowing through the in-vehicle network.

[0047] The control unit 103 controls the operation of the ECU 10 and the in-vehicle network. In particular, when an update occurs to the software executed in the ECUs 200A to 200D, the control unit 103 controls the output unit 105 to output the new software acquired by the acquisition unit 101. Furthermore, when necessary in response to the update of the software in the ECUs 200A to 200D, the control unit 103 controls the output unit 105 to output data required for the change processing of the communication settings in the setting unit 102 to the switches 210A and 210B.

[0048] The monitoring unit 104 monitors the communication status in the in-vehicle network. In detail, the monitoring unit 104 monitors whether or not a notification of detection of a communication abnormality has been received from each ECU connected to the in-vehicle network.

[0049] The output unit 105 outputs data to the OTA server 20 and each device in the in-vehicle network. The output of data from the output unit 105 is performed under the control of the control unit 103.

[0050] The storage unit 106 stores various information such as information referenced during operation of the ECU 10 and information used to control the in-vehicle network. In detail, the storage unit 106 stores the communication settings before the change in order to return the communication settings to the original state when a communication abnormality is detected in an ECU in the in-vehicle network after the communication settings of the switches 210A and 210B are changed.

[0051] After software is updated for at least one of the ECUs 200A to 200D and the communication settings of the switches 210A and 210B are changed, a communication abnormality may be detected in an ECU in the in-vehicle network. When the monitoring unit 104 confirms that the detection of the communication abnormality has been notified, it notifies the control unit 103 that an ECU 200 in which a communication abnormality has occurred exists in the in-vehicle network. When the control unit 103 confirms that an ECU 200 in which a communication abnormality has occurred exists in the in-vehicle network due to the software update and the change in the communication settings, it requests the OTA server 20 to perform a rollback to return the updated software to the software before the update. Then, when the control unit 103 receives a rollback instruction from the OTA server 20, it reads out the communication settings before the change stored in the storage unit 106 and performs control to return the communication settings of the switches 210A and 210B to their original states.

[0052] The control unit 103 may determine that the change in the in-vehicle network setting is valid when a notification of a communication abnormality is not received from the ECU 200 for a predetermined period of time after the change in the in-vehicle network setting for the switches 210A and 210B. Then, the control unit 103 may notify the OTA server 20 that the change in the in-vehicle network is valid. By receiving the notification from the vehicle 1 that the change in the in-vehicle network is valid, the OTA server 20 can know that the software update has been completed normally.

[0053] 3, when an ECU that is not the target of the network setting change detects a communication abnormality, the ECU 10 can restore the communication settings of the switches 210A and 210B that are the target of the network setting change to the communication settings before the change. By restoring the communication settings of the switches 210A and 210B to the communication settings before the change, the ECU 10 can prevent the ECU that is not the target of the network setting change from detecting a communication abnormality.

[0054] Next, a description will be given of the hardware configuration of the ECUs 200A to 200D. In the following, the ECUs 200A to 200D will be collectively referred to as ECU 200. FIG.

[0055] 4, the ECU 200 includes a CPU 201, a ROM 202, a RAM 203, a storage 204, and a communication interface (I / F) 205. Each component is connected via a bus 209 so as to be able to communicate with each other.

[0056] The CPU 201 is a central processing unit that executes various programs and controls each part. That is, the CPU 201 reads a program from the ROM 202 or the storage 204, and executes the program using the RAM 203 as a working area. The CPU 201 controls each of the above components and performs various calculation processes according to the program recorded in the ROM 202 or the storage 204.

[0057] The ROM 202 stores various programs and various data. The RAM 203 temporarily stores programs or data as a working area. The storage 204 is configured with a storage device such as a flash memory, and stores various programs including an operating system, and various data.

[0058] The communication interface 205 is an interface for communicating with other devices such as the ECU 10 and other ECUs 200, and uses a wired communication standard such as Ethernet (registered trademark), for example.

[0059] When executing the above communication control program, the ECU 200 uses the above hardware resources to realize various functions. The functional configuration realized by the ECU 200 will be described.

[0060] FIG. 5 is a block diagram showing an example of a functional configuration of the ECU 200. As shown in FIG.

[0061] 5, the ECU 200 has, as its functional components, an acquisition unit 211, a control unit 212, an output unit 213, and a storage unit 214. Each functional component is realized by the CPU 201 reading and executing a program stored in the ROM 202 or the storage 204.

[0062] The acquisition unit 211 acquires data from the ECU 10 in the in-vehicle network and other ECUs 200. In particular, the acquisition unit 211 acquires new software from the ECU 10 when software executed in the ECU 200 is updated.

[0063] The control unit 212 controls the operation of the ECU 200. In particular, when an update occurs to the software executed by the ECU 200, the control unit 212 performs a process of updating the software of the own device with the new software acquired by the acquisition unit 211. Furthermore, when data is received from the ECU 200 that is not permitted by the own device or is not expected by the own device, the control unit 212 detects a communication abnormality and notifies the ECU 10 of the detection of the communication abnormality.

[0064] The output unit 213 outputs data to the ECU 10 of the in-vehicle network and other ECUs 200. The output of data from the output unit 213 is performed under the control of the control unit 212.

[0065] The storage unit 214 stores various information such as information referred to during operation of the ECU 10, information used to control the in-vehicle network, etc. In particular, the storage unit 214 stores software executed by the ECU 200 and data referenced by the software.

[0066] Next, the operation of the communication system will be described.

[0067] 6 is a sequence diagram illustrating the operation of each device in the communication system. In the ECU 10, the CPU 11 reads out a communication control program from the ROM 12 or the storage 14, loads it into the RAM 13, and executes it to perform communication control processing.

[0068] The sequence diagram shown in Fig. 6 illustrates the operation of each device when software executed in ECU 200 of the in-vehicle network is updated and the communication settings of switches 210A and 210B are changed in response to the software update. Fig. 6 is a sequence diagram assuming a case in which communication between ECU 200A and ECU 200C was blocked by the communication settings of switches 210A and 210B before the software update, but communication between ECU 200A and ECU 200C is started as a result of the software update.

[0069] When updating software executed in the ECU 200 of the in-vehicle network, the OTA server 20 first transmits software data to the vehicle 1 in step S101. The software data transmitted from the OTA server 20 is first acquired by the ECU 10. The ECU 10 outputs the software data acquired from the OTA server 20 to the ECU 200 to be updated. Here, it is assumed that the ECUs 200A and 200C are software update targets. The ECU 10 outputs software data to the ECUs 200A and 200C to be updated in steps S102 and S104. The ECU 200A updates its software using the software data transmitted from the ECU 10 in step S103. Similarly, the ECU 200C updates its software using the software data transmitted from the ECU 10 in step S105.

[0070] Furthermore, in order to update the communication settings of the switches 210A and 210B in response to the software update, the ECU 10 outputs new communication setting information in step S106. In step S107, the switches 210A and 210B reflect the communication settings using the communication setting information sent from the ECU 10. For example, the ECU 10 updates the communication settings of the switches 210A and 210B by updating the software of the ECUs 200A and 200C so as to enable communication between the ECUs 200A and 200C.

[0071] By updating the communication settings of the switches 210A and 210B, communication between the ECU 200A and the ECU 200C becomes possible. Meanwhile, in addition to the ECU 200C, the ECU 200D is also connected to the switch 210B. The ECU 200D assumes communication between the ECU 10 and the ECU 200C connected to the same switch 210B, but does not assume communication between the ECUs 200A and 200B connected to the switch 210A. When the ECU 200A transmits data by broadcast communication that does not specify a destination, the data reaches not only the ECU 200C but also the ECU 200D. Since the ECU 200D does not assume that data is transmitted from the ECU 200A, the ECU 200D detects a communication abnormality and notifies the ECU 10 of the detection of the communication abnormality in step S108.

[0072] When the ECU 10 acquires the detection of the communication abnormality sent from the ECU 200D, in step S109, the ECU 10 updates the software for the ECUs 200A and 200C, and transmits to the OTA server 20 a notification that the communication abnormality has occurred as a result of changing the communication settings of the switches 210A and 210B. When transmitting the notification of the communication abnormality to the OTA server 20, the ECU 10 also transmits a reason code, which is information on the cause of the communication abnormality. The reason code information is information indicating what type of communication abnormality has occurred and from which ECU. In detail, the content of the communication abnormality may be, for example, receiving unknown data addressed to the device itself, detecting that unknown data is flowing on the in-vehicle network, receiving data at a cycle different from the cycle that the device itself recognizes, receiving data on a port that the device itself has not opened, etc.

[0073] In step S110, the OTA server 20, which has received the information that the communication abnormality has occurred, transmits a rollback instruction to the vehicle 1. Rollback refers to returning the software to the state before the update. When a rollback instruction is transmitted from the OTA server 20, the ECUs 200A and 200C use the data of the software before the update that they have stored to return the software to the state before the update.

[0074] When the ECU 10 receives the rollback instruction from the OTA server 20, it outputs the rollback instruction to the ECU 200 to be rolled back. Here, the ECUs 200A and 200C are the targets of software rollback. The ECU 10 outputs the rollback instruction to the ECUs 200A and 200C to be rolled back in steps S111 and S113. The ECU 200A rolls back the software based on the instruction from the ECU 10 in step S112. Similarly, the ECU 200C rolls back the software based on the instruction from the ECU 10 in step S114. In addition to the software rollback, the ECU 10 also instructs the switches 210A and 210B to return the communication settings to the state before they were changed in step S115. The switches 210A and 210B return the communication settings to the state before they were changed in step S116.

[0075] When the OTA server 20 receives the occurrence of the communication abnormality and the reason code from the ECU 10, the OTA server 20 transmits to the vehicle 1 software that has been modified so that the communication abnormality does not occur based on the content of the reason code. Here, the distribution target of the modified software is not limited to the ECUs 200A and 200C, but may also include the ECU 200D that notified the occurrence of the communication abnormality. The flow from the transmission of the software from the OTA server 20 to the software update in the ECU 200 is the same as the above-mentioned steps S101 to S105, and therefore a detailed description will be omitted. Furthermore, the ECU 10 executes a process for updating the communication settings of the switches 210A and 210B in response to the software update.

[0076] As described above, according to the embodiment of the present invention, when an ECU that is not a target for network setting change detects a communication abnormality, the communication settings of the switch that is a target for network setting change can be restored to the state before the change. By restoring the communication settings of the switch that is a target for network setting change to the state before the change, the ECU 10 can prevent the ECU that is not a target for software update from detecting the communication abnormality.

[0077] In the above embodiment, the case where the OTA server 20 distributes software is shown, but if the OTA server 20 does not distribute software, when the ECU 10 obtains detection of a communication abnormality by the ECU 200, the ECU 10 executes a process of returning the communication settings of the switches 210A and 210B to the state before the change.

[0078] The present invention can also be applied to changing communication settings when a new ECU is connected to an in-vehicle network, so that the newly connected ECU can communicate with other ECUs. In the above embodiment, an example is shown regarding changing communication settings in an in-vehicle network that is a network built in a vehicle, but the present invention is not limited to this example. The present invention can be applied to any network whose configuration is changed by software settings.

[0079] In addition, the communication control process executed by the CPU by reading the software (program) in each of the above embodiments may be executed by various processors other than the CPU. In this case, examples of the processor include a PLD (Programmable Logic Device) such as an FPGA (Field-Programmable Gate Array) whose circuit configuration can be changed after manufacture, and a dedicated electric circuit such as an ASIC (Application Specific Integrated Circuit) which is a processor having a circuit configuration designed exclusively for executing a specific process. In addition, the communication control process may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, a combination of a CPU and an FPGA, etc.). In addition, the hardware structure of these various processors is, more specifically, an electric circuit that combines circuit elements such as semiconductor elements.

[0080] In addition, in each of the above embodiments, the communication control processing program is prestored (installed) in a ROM or storage, but the present invention is not limited to this. The program may be provided in a form recorded on a non-transitory recording medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory. The program may also be downloaded from an external device via a network. [Explanation of symbols]

[0081] 1 vehicle 2 Antennas 10 ECU 20 OTA Server 30 Network 200A, 200B, 200C, 200D ECU 210A, 210B Switch

Claims

1. a setting unit that performs processing related to changing network settings on a communication device that is connected to the network and is a target for changing settings; a control unit, when receiving a communication abnormality from a communication device that is connected to the network and is not a target for changing settings, performing processing for the target communication device to return the network settings to a state before the settings were changed; A communication control device comprising:

2. 2. The communication control device according to claim 1, wherein the control unit determines that the change in the network settings is valid when no communication abnormality is received from a communication device that is not the target of the change for a predetermined period of time after the change in the network settings for the communication device that is the target of the change.

3. The communication control device according to claim 2 , wherein the control unit notifies an external device that the change in the network setting is valid.

4. The control unit performs processing to restore the network settings for the communication device to be changed that caused a communication abnormality from a communication device that is not the target of the change to a state before the change.

5. The communication control device according to any one of claims 1 to 4, wherein the communication abnormality is at least one of the following: receiving unknown data addressed to the communication device not to be changed, unknown data flowing on the network, receiving data at a period different from the period understood by the communication device not to be changed, and receiving data on a port that is not open by the communication device not to be changed.

6. The communication control device according to any one of claims 1 to 5, wherein the control unit requests a server that distributed software that caused a change in the network settings to restore the software to a state before the update.

7. a monitoring unit that periodically monitors whether or not a communication abnormality has been notified from a communication device connected to the network; The communication control device according to any one of claims 1 to 6, wherein the control unit performs processing to restore the network settings of the communication device to a state before the settings were changed in response to detection of a notification of a communication abnormality by the monitoring unit.

8. The communication control device according to any one of claims 1 to 7, wherein the network is an in-vehicle network.

9. The processor: performing a process related to changing the network settings on a communication device that is connected to the network and is a target for changing the settings; When a communication abnormality is received from a communication device that is connected to the network and is not a target for changing settings, a process is performed for the target communication device to return the network settings to a state before the settings were changed. A communication control method for executing a process.

10. On the computer, performing a process related to changing the network settings on a communication device that is connected to the network and is a target for changing the settings; When a communication abnormality is received from a communication device that is connected to the network and is not a target for changing settings, a process is performed for the target communication device to return the network settings to a state before the settings were changed. A communication control program that executes processing.

Citation Information

Patent Citations

  • Network system, network control method, and control device

    JP2016192661A

  • Setting device, communication system, method for setting update of communication device, and program

    JP2017169044A

  • On-vehicle update device, update processing program, and method of updating program

    JP2020152154A