Ethernet switch and method of controlling the same
AssigneesHyundai Motor Company, Kia Motors Corporation
InventorHojin Jung
Life of this patent
Estimating the term…
Abstract
An Ethernet switch for a vehicle, a method of controlling the Ethernet switch are provided. The method includes detecting a first connection between a connector of the diagnostic device and a first port of the Ethernet switch and establishing a second connection with the diagnostic device by referring to a virtual local area network identifier (VLAN ID) table. A third connection is established between the controller and an electronic control unit (ECU) of the vehicle by referring to the VLAN ID table. A certificate-based secure access procedure is performed between the diagnostic device and the controller. A mode of the Ethernet switch is switched from a lock mode to an unlock mode and a fourth connection is established between the diagnostic device and the ECU by referring to the VLAN ID table.
Claims16
A method of controlling an Ethernet switch for a vehicle, comprising:
- detecting, by a controller, a first connection between a connector of a diagnostic device and a first port of the Ethernet switch;
- establishing, by the controller, a second connection with the diagnostic device by referring to a virtual local area network identifier (VLAN ID) table, and assigning a first VLAN ID to each of the first port to which the diagnostic device is connected and a second port to which the controller is connected;
- establishing, by the controller, a third connection between the controller and an electronic control unit (ECU) in the vehicle by referring to the VLAN ID table, and assigning a second VLAN ID to each of the second port to which the controller is connected and a third port to which the ECU is connected;
- performing, by the controller, a certificate-based secure access procedure between the diagnostic device and the controller;
- switching, by the controller, a mode of the Ethernet switch from a lock mode to an unlock mode after performing the certificate-based security access procedure;
- and
- establishing, by the controller, a fourth connection between the diagnostic device and the ECU by referring to the VLAN ID table, and assigning the first VLAN ID to the third port to which the ECU is connected after the mode of the Ethernet switch is switched to the unlock mode.
An Ethernet switch for a vehicle, comprising:
- a plurality of ports;
- and
- a controller including a memory and a processor having a virtual local area network identifier (VLAN ID) table,
- wherein the controller is configured to:
- detect a first connection between a connector of the diagnostic device and a first port of the Ethernet switch;
- establish a second connection with the diagnostic device by referring to the VLAN ID table, and assign a first VLAN ID to each of the first port to which the diagnostic device is connected and a second port to which the controller is connected;
- establish a third connection between the controller and an electronic control unit (ECU) in the vehicle by referring to the VLAN ID table, and assign a second VLAN ID to each of the second port to which the controller is connected and a third port to which the ECU is connected;
- perform a certificate-based secure access procedure between the diagnostic device and the controller;
- switch a mode of the Ethernet switch from a lock mode to an unlock mode;
- establish a fourth connection between the diagnostic device and the ECU by referring to the VLAN ID table, and assign the first VLAN ID to the third port to which the ECU is connected after the mode of the Ethernet switch is switched to the unlock mode.
A non-transitory computer-readable recording medium containing program instructions executed by a processor, the program instructions when executed configured to:
- detect a first connection between a connector of a diagnostic device and a first port of the Ethernet switch;
- establish a second connection with the diagnostic device by referring to a virtual local area network identifier (VLAN ID) table, and assign a first VLAN ID to each of the first port to which the diagnostic device is connected and a second port to which the controller is connected;
- establish a third connection between the controller and an electronic control unit (ECU) in the vehicle by referring to the VLAN ID table, and assign a second VLAN ID to each of the second port to which the controller is connected and a third port to which the ECU is connected;
- perform a certificate-based secure access procedure between the diagnostic device and the controller;
- switch a mode of the Ethernet switch from a lock mode to an unlock mode;
- and
- establish a fourth connection between the diagnostic device and the ECU by referring to the VLAN ID table, and assign the first VLAN ID to the third port to which the ECU is connected after the mode of the Ethernet switch is switched to the unlock mode.
Dependencies are inferred from the claim text.