US20160308822A1 - Method and system for providing optimized ethernet communication for vehicle - Google Patents
Method and system for providing optimized ethernet communication for vehicle Download PDFInfo
- Publication number
- US20160308822A1 US20160308822A1 US14/820,227 US201514820227A US2016308822A1 US 20160308822 A1 US20160308822 A1 US 20160308822A1 US 201514820227 A US201514820227 A US 201514820227A US 2016308822 A1 US2016308822 A1 US 2016308822A1
- Authority
- US
- United States
- Prior art keywords
- address
- ecu
- domain
- gateway
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H04L61/2007—
-
- H04L61/2038—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5038—Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
-
- H04L61/6068—
-
- H04L65/4076—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/668—Internet protocol [IP] address subnets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Definitions
- the present disclosure relates to an in-vehicle Ethernet communication method, and more particularly, to a method and system for providing an optimized Ethernet communication method for a vehicle through which an in-vehicle Ethernet software stack architecture to provide Ethernet communication optimized for vehicle environments is provided, thereby achieving improvements in system processing speed and cost reduction.
- ECUs electronice control units
- ADASs advanced driver assistance systems
- Ethernet technology is used as a vehicle network, a high bandwidth may be provided and the number of ECUs and system complexity may be reduced.
- Ethernet is applied to a vehicle network
- a conventional heavy cable may be replaced with an Ethernet cable, thereby reducing vehicle weight and overall parts costs.
- an in-vehicle Ethernet software stack architecture defined in AUTOSAR has elements which are not adapted to vehicle environments.
- network processing speed may be lowered, and usage of a memory in an ECU is increased, thereby increasing overall system load and costs.
- the present disclosure is directed to methods and systems for providing an optimized Ethernet communication method for a vehicle that substantially addresses one or more problems due to limitations and disadvantages of the related art.
- An object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle.
- Another object of the present disclosure is to provide a software hierarchical structure for supporting Ethernet communication optimized for vehicle environments.
- Another object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which network management/control/diagnosis message transmission functions in a conventional Controller Area Network (CAN) may be provided to Ethernet environments.
- CAN Controller Area Network
- Another object of the present disclosure is to provide an Ethernet middleware structure adapted to vehicle environments.
- Another object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a network initialization speed may be improved by applying a static IP allocation policy to each ECU in the vehicle.
- Yet another object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a system processing speed and complexity may be improved by deleting and/or integrating unnecessary modules and functions in a conventional Ethernet software architecture.
- a method for allocating an address to an Electronic Control Unit (ECU) on an in-vehicle Ethernet network includes allocating a first address value to identify the in-vehicle Ethernet network, allocating a second address value to identify a domain corresponding to the ECU, allocating a third address value to identify a group of ECUs in the allocated domain, allocating a fourth address value to identify the ECU in the group, and generating an IP address including the allocated first to fourth address values, wherein the generated IP address is set as a fixed IP address of the ECU.
- An interconnection structure of at least one ECU included in the group may be identified using the fourth address value.
- IP address may have an Internet Protocol version 4 (IPv4) address scheme.
- IPv4 Internet Protocol version 4
- IP address may be allocated within the range of class A of private internet addresses defined in Request For Comment 1918 (RFC-1918).
- multicasting on the in-vehicle Ethernet network may be controlled using the first to fourth address values of an IP packet to be transmitted.
- Broadcasting in a gateway unit may be controlled using the first and second address values included in a destination IP address.
- broadcasting in a domain unit may be controlled using the first and third address values included in a destination IP address.
- broadcasting in a group unit may be controlled using the first and fourth address values included in a destination IP address.
- the group may include at least one ECU requiring the same security level.
- the domain may include at least one of a body domain, a powertrain domain, a multimedia domain and a chassis domain.
- a device for allocating an address to an Electronic Control Unit (ECU) connected to an in-vehicle Ethernet network includes a unit to receive first information to identify a domain connected to a gateway, a unit to receive second information to identify the ECU in the domain, a unit to generate an IP address corresponding to the first and second information with reference to a pre-defined IP address allocation rule, and a unit to allocate the generated IP address to the ECU.
- ECU Electronic Control Unit
- the domain may include at least one of a body domain, a powertrain domain, a multimedia domain and a chassis domain.
- the second information may include third information to identify a group in the domain and fourth information to identify an interconnection structure of ECUs in the group and an ECU type.
- the group may include at least one ECU requiring the same security level.
- the device may further include a unit to transmit the IP address allocated to the ECU to the gateway, and the gateway may set the allocated IP address as a fixed IP address of the ECU.
- the device may further include a unit to generate an in-vehicle Ethernet routing table in which IP addresses according to domains and groups are mapped and a unit to transmit the generated in-vehicle. Ethernet routing table to the gateway.
- a gateway for allocating an address to an Electronic Control Unit (ECU) connected to an in-vehicle Ethernet network by interworking with an external device includes a unit to receive an in-vehicle Ethernet routing table, in which IP addresses allocated to the ECU according to domains and groups of the in-vehicle Ethernet network are mapped, from the external device, a unit to set an IP address allocated to the ECU using the in-vehicle Ethernet routing table, and a unit to transmit the in-vehicle Ethernet routing table to the ECU using the set IP address, wherein the gateway and the ECU control transmission and reception of an IP packet using the in-vehicle Ethernet routing table.
- ECU Electronic Control Unit
- multicasting on the in-vehicle Ethernet network may be controlled using a destination IP address included in the IP packet and the in-vehicle Ethernet routing table.
- the IP address may include a first address value to identify the gateway, a second value to identify a domain connected to the gateway, a third value to identify a group in the domain, and a fourth value to identify an ECU type in the group.
- broadcasting in a gateway unit may be controlled using the first and second address values included in the destination IP address.
- broadcasting in a domain unit may be controlled using the first and third address values included in the destination IP address.
- broadcasting in a group unit may be controlled using the first and fourth address values included in the destination IP address.
- FIG. 1 is a block diagram illustrating a software hierarchical structure of an electronic control unit mounted in a vehicle
- FIG. 2 is a block diagram illustrating a protocol structure of IP middleware
- FIG. 3 is an in-vehicle Ethernet routing table illustrating an IP address allocation rule in in-vehicle Ethernet environments
- FIG. 4 is a block diagram illustrating a hierarchical structure of an in-vehicle Ethernet system
- FIG. 5 is a view illustrating a method for allocating an address based on interconnection relations among electronic control units in a group
- FIG. 6 is a view illustrating an address allocation method in an in-vehicle Ethernet network
- FIG. 7 is a flowchart illustrating an IP address allocation method in an address allocation device
- FIG. 8 is a flowchart illustrating an IP packet monitoring method in an OBD terminal connected to a gateway.
- FIG. 9 is a broadcast IP address table illustrating an IP address setting method for broadcasting.
- the described embodiments include all elements as being combined into one unit or operated as one unit, the present invention is not limited thereto. That is, all elements may be selectively combined into one or more units and thus operated within the scope of the present invention. Further, although all elements may be implemented as independent hardware components, some or all of the respective elements may be selectively combined and implemented as a computer program having a program module in which one or plural hardware components perform the functions of the combined elements. Codes and code segments of such a computer program may be easily deduced by those skilled in the art.
- the computer program may be recorded in computer readable media and read and executed by a computer.
- Computer readable storage media may include magnetic storage media, optical storage media, carrier wave media and the like.
- first, second, A, B, (a), (b), etc. may be used herein to describe various elements of the present invention. These terms are used only to discriminate one element from other elements, and the nature, order, or sequence of the corresponding element is not limited by these terms. If it is stated that an element is “connected to”, “combined with”, or “coupled with” another element, it will be understood that the former may be directly connected to or combined with the latter or other elements may be interposed between the two elements.
- FIG. 1 is a block diagram illustrating a software hierarchical structure of an electronic control unit mounted in a vehicle.
- a software hierarchical structure may include an application layer 10 , an application interface layer 20 , a middleware layer 30 , an Ethernet hardware abstraction layer 40 and an Ethernet hardware and baseband signal processing software layer 50 .
- the application layer 10 may include application software 11 , a talker 12 to transmit an audio video (AV) stream in an audio video bridging (AVB) protocol, and a listener 13 to receive the AV stream.
- AV audio video
- AVB audio video bridging
- the application interface layer 20 may provide control signals transmitted and received between the application layer 10 and the middleware layer 30 and subroutines or functions to process user data.
- the application interface layer 20 may include a service manager 21 providing an application program interface (API) to process control signals and data corresponding to various services related to corresponding application software and a media framework 22 providing real-time environments to control a container format, a transmission protocol and the like necessary for transmission and reception of the AV stream.
- the media framework 22 may be implemented as a thread separated from the application software 11 and provide environments in which multimedia data may be processed in real time.
- the application software 11 may include a media player, an audio/video editor, a navigation system and the like.
- the middleware layer 30 may include Internet protocol (IP) middleware 31 and audio video bridging (AVB) middleware 32 .
- IP Internet protocol
- AVB is a standard protocol established to improve a transmission quality of a service stream sensitive to time, such as audio/video, in in-vehicle Ethernet environments.
- the IP middleware 31 may perform a function of synchronizing and managing the overall in-vehicle Ethernet state through network management messages between nodes connected to an in-vehicle Ethernet network, hereinafter, referred to as NM messages, communication and a function of processing IP packets for controlling operations and states of the respective nodes, hereinafter, referred to as command and control (CC) messages.
- NM messages nodes connected to an in-vehicle Ethernet network
- CC command and control
- the IP middleware 31 may perform a function of diagnosing the states of the nodes through IP packet communication.
- the IP middleware 31 may perform a function of sensing and processing a transmission error of the IP packet on the in-vehicle Ethernet network, hereinafter, an Internet Control Message Protocol (ICMP).
- ICMP Internet Control Message Protocol
- an IP protocol provides an unreliable and connectionless datagram transmission service. Therefore, the IP middleware 31 may perform a function of generating a designated error reporting message and transmitting the error reporting message to a source when an error of the received IP packet is sensed, or generating a reply message corresponding to a query message and transmitting the reply message to an external terminal, for example, the terminal of a network manager, when the query message is received from the external terminal.
- the IP middleware 31 may provide Address Resolution Protocol (ARP) for acquiring a Media Access Control (MAC) address from an IP address.
- ARP Address Resolution Protocol
- MAC Media Access Control
- a node A may broadcast a designated ARP request message including the address of the node B to an in-vehicle Ethernet network.
- remaining nodes except for the node B ignore the received ARP request message and the node B transmits an ARP reply message including the MAC address thereof to the node A.
- the IP middleware 31 may provide Transmission Control Protocol (TCP) and User Data Protocol (UDP).
- TCP Transmission Control Protocol
- UDP User Data Protocol
- a TCP layer is a higher layer than an IP layer and may perform functions which are not provided by the IP layer, i.e., functions related to data correction, such as a data omission test, a packet reception order test and the like.
- a UDP layer is a higher layer than the IP layer but does not check a packet reception order, differently from the TCP layer.
- the AVB middleware 32 may provide a media streaming function according to IEEE 802.1AS generalized Precision Time protocol (gPTP) and IEEE 802.1AS in which a procedure to acquire more precise time information between nodes is defined.
- gPTP generalized Precision Time protocol
- IEEE 802.1AS IEEE 802.1AS in which a procedure to acquire more precise time information between nodes is defined.
- the Ethernet hardware abstraction layer 40 may perform a function of providing various functions, i.e., a Kernel Programming Interface (KPI), to the programmer of the middleware layer 30 so that an Ethernet hardware device may create an independent program, by providing a virtual hardware platform to the middleware layer 30 .
- KPI Kernel Programming Interface
- the Ethernet hardware and baseband signal processing software layer 50 may include an Ethernet MAC layer 51 and an Ethernet physical layer 52 .
- the Ethernet MAC layer 51 may include a MAC layer defined by IEEE 802.3 and a MAC layer defined by IEEE 802.1.
- the MAC, layer defined by IEEE 802.1 may include a time stamping function defined by IEEE 802.1AS and stream reservation protocol (SRP) and a traffic shaping function defined by IEEE 802.1Q.
- FIG. 2 is a block diagram illustrating a protocol structure of IP middleware.
- the IP middleware 31 may include a management layer including Diagnostic communication over Internet (DoIP) 210 , Ethernet Command and control (EthCC) 220 and Ethernet Network Management (EthNM) 230 , a transmission control layer providing communication using TCP 240 and UDP 250 , and a transmission layer providing IPv4 communication including Internet Control Message Protocol (ICMP) 261 and Address Resolution Protocol (ARP) 260 .
- DoIP Diagnostic communication over Internet
- EthCC Ethernet Command and control
- EtNM Ethernet Network Management
- a transmission control layer providing communication using TCP 240 and UDP 250
- IPv4 communication including Internet Control Message Protocol (ICMP) 261 and Address Resolution Protocol (ARP) 260 .
- ICMP Internet Control Message Protocol
- ARP Address Resolution Protocol
- IP addresses allocated to respective nodes in the in-vehicle Ethernet network depends on an IPv4 address scheme and IPv6 is not used. Further, the IP addresses allocated to respective nodes in accordance with one invention may be defined so that, among private Internet addresses defined in RFC-1918, only class A may be used.
- an IP address allocation rule corresponding to a domain and a group may be pre-defined, and a fixed IP address corresponding to a corresponding electronic control unit may be automatically allocated according to the pre-defined rule. Therefore, an in-vehicle Ethernet communication system does not require a separate server for dynamic address allocation.
- FIG. 3 is an in-vehicle Ethernet routing table 300 illustrating an IP address allocation rule in in-vehicle Ethernet environments.
- an IP address 350 may include first to fourth address values 310 to 340 depending on the IPv4 address scheme.
- the first address value 310 may be an address value to identify a corresponding IP address allocated to an electronic control unit connected to the in-vehicle Ethernet network.
- the first address value 310 to identify an in-vehicle Ethernet IP packet may be defined as 10, as exemplarily shown in the in-vehicle Ethernet routing table 300 .
- the first address value 310 may be an address value to identify a specific gateway included in a corresponding in-vehicle Ethernet network. For example, if there are two gateways in a specific in-vehicle Ethernet network, the first address values 310 to identify the respective gateways may be defined as 10 and 20.
- the second address value 320 may be an address value to identify a domain connected to the corresponding gateway, i.e., a Virtual Local Area Network (VLAN).
- the domain may be a powertrain domain, a multimedia domain, a body domain or a chassis domain, and domains may be added or deleted according to vehicle types and options.
- the third address value 330 may be an address value to identify a group of electronic control units included in the corresponding domain.
- the group may be defined based on the function of electronic control units in the corresponding domain, interconnection relations, a required security level and the like of the electronic control units.
- the fourth address value 340 may be information to peculiarly identify each electronic control unit in the corresponding group, i.e., ECU type identification information. Further, the fourth address value 340 may be defined such that interconnection structures among the electronic control units in the corresponding group may be identified.
- Ethernet network may be respectively defined as 10, 50, 100 and 20.
- a static IP address allocated to the corresponding engine ECU may be 10.50.100.20.
- FIG. 4 is a block diagram illustrating a hierarchical structure of an in-vehicle Ethernet system.
- the in-vehicle Ethernet system may have a hierarchical structure including a gateway 400 first to k th domains 410 to 440 connected to the gateway, first to n th ECU groups 431 to 435 included in each of the domains 410 to 440 , and at least one electronic control unit included in each of the ECU groups 431 to 435 .
- types and the number of domains connected to the gateway 400 according to vehicle types and options, types and the number of groups according to domains and types and the number of electronic control units according to groups may be different.
- an On-Board Diagnostics (OBD) terminal 450 may be connected to the gateway 400 through a designated connection terminal.
- the OBD terminal 450 may monitor an IP packet passing via the gateway 400 or diagnose various states of the electronic control unit connected to a corresponding in-vehicle Ethernet network through the gateway 400 .
- the OBD terminal 450 may monitor routing paths of all IP packets or a specific IP packet passing via the gateway 400 and output a result of monitoring through the screen of a display provided on the OBD terminal 450 or connected to the OBD terminal 450 .
- the result of monitoring may be mapped to an actual Ethernet connection arrangement plan of a corresponding vehicle and displayed on the screen of the display.
- the OBD terminal 450 may track IP packets in a domain unit, a group unit or an each ECU unit through IP address masking according to user menu selection by interworking with the gateway 400 .
- FIG. 5 is a view illustrating a method for allocating an address based on interconnection relations among electronic control units in a group.
- a first address value 310 corresponding to a gateway 510 is defined as 10 and a second address value 320 corresponding to a first domain 520 connected to the gateway 510 is defined as 150, 100, 110 and 120 may be allocated as third address values 330 to first to third groups 530 to 550 , respectively, included in the first domain 520 .
- an ECU #a 1 531 to an ECU #a 3 535 may have sequential connection relations in the form of a daisy chain.
- 000, 010 and 100 may be allocated as fourth address values 340 to the ECU #a 1 531 to the ECU #a 3 535 , respectively. That is, the fact that the IP packet routed to the first group 530 is transmitted to the ECU #a 3 535 sequentially via the ECU #a 1 531 and the ECU #a 2 533 may be confirmed through only an IP address.
- 000, 010 and 020 may be allocated as fourth address values 340 to the ECU #b 1 to the ECU #b 3 541 to 545 , respectively.
- an ECU #c 1 551 to an ECU #c 3 555 of the third group 550 are connected in parallel, 000, 001 and 002 may be allocated as fourth address values 340 to the ECU #c 1 551 to the ECU #c 3 555 , respectively.
- the OBD terminal 500 may confirm connection relations among ECUs within a corresponding group by analyzing fourth address values 340 included in the IP packet.
- FIG. 6 is a view illustrating an address allocation method in an in-vehicle Ethernet network.
- FIG. 6 illustrates an example of static IP address allocation of ECUs included in a multimedia domain 600 .
- the multimedia domain 600 may include at least one of a sound output controller 610 , a telematics unit 620 , an integrated antenna 630 , an integrated display 640 , a rear seat entertainment unit 650 , a camera controller 660 and an integrated media player 670 .
- the sound output controller 610 may control first to fourth speakers 611 to 614 and the camera controller 660 may control first to fourth cameras 661 to 664 . Further, the rear seat entertainment unit 650 may control first and second monitors 651 and 652 .
- IP addresses corresponding to the respective ECUs may be defined and allocated so as not only to identify domains and groups but also to identify connection structures among ECUs within the groups, i.e., hierarchical structures.
- FIG. 7 is a flowchart illustrating an IP address allocation method in an address allocation device.
- the address allocation device may be the OBD terminal 450 interlocking with the gateway 400 .
- the address allocation device may be a separate computer device or smartphone in which an address allocation program or application is loaded.
- the address allocation device may receive the domain or VLAN identification information and ECU identification information of an ECU, to which an IP address will be allocated, through a designated user interface screen (Operations S 701 and S 703 ).
- the ECU identification information may include ECU group identification information and each ECU type information.
- the address allocation device may generate an IP address corresponding to the input information with reference to a pre-defined address allocation rule (Operation S 705 ).
- the address allocation device may add the generated IP address to an in-vehicle Ethernet routing table (Operation S 707 ).
- the address allocation device may set the generated IP address of the corresponding ECU and then transmit the in-vehicle Ethernet routing table to the gateway (Operations S 709 to S 711 ).
- the gateway may broadcast the received in-vehicle Ethernet routing table to connected domains. Therefore, all nodes connected to the in-vehicle Ethernet network may synchronize and maintain the in-vehicle Ethernet routing table.
- FIG. 8 is a flowchart illustrating an IP packet monitoring method in an OBD terminal connected to a gateway.
- the OBD terminal may acquire an IP packet routed by the gateway and extract a source IP address and a destination IP address from the acquired IP packet (Operations S 801 and S 803 ).
- the OBD terminal may identify the domain, group and ECU type of an ECU corresponding to the extracted source IP address and destination IP address with reference to a pre-defined address allocation rule (Operation S 805 ).
- the OBD terminal may calculate a transmission path of the corresponding IP packet on an in-vehicle Ethernet network with reference to the identified domain/group/ECU type (Operation S 807 ).
- the OBD terminal may map the calculated transmission path to an in-vehicle Ethernet arrangement plan and display the calculated transmission path on the screen of a display (Operation S 809 ).
- the OBD terminal may transmit a designated IP packet masking request signal to control the kind of the IP packet, which is an object to be monitored, to the gateway prior to Operation S 801 .
- the IP packet masking request signal may include at least one of domain identification information, group identification information ECU type identification information to indicate an IP packet which will be masked by the gateway.
- the gateway may filter the IP packet which is transmitted from or received by all ECUs corresponding to the corresponding group identification information and transmit the filtered IP packet to the OBD terminal.
- FIG. 9 is a broadcast IP address table 900 illustrating an IP address setting method for broadcasting.
- a node connected to an in-vehicle Ethernet network in accordance with one embodiment of the present invention may control broadcasting in a gateway/domain/group unit with reference to the broadcast IP address table 900 . From a different standpoint, control of broadcasting in the gateway/domain/group unit on the in-vehicle Ethernet network may be interpreted as control of multicasting on the overall in-vehicle Ethernet system.
- the transmission node may set a first address value 910 of a destination IP address 950 corresponding to the corresponding gateway, set a designated address value indicating broadcasting, for example, 255, as a second address value 920 , and transmit an IP packet including the set destination IP address 950 .
- the transmission mode may set address values corresponding to a corresponding gateway and the corresponding domain as the first address value 910 and the second address value 920 of the destination IP address 950 , set a designated address value indicating broadcasting, for example, 255, as a third address value 930 , and transmit an IP packet including the set destination IP address 950 .
- the transmission mode may set address values corresponding to a corresponding gateway, a corresponding domain and the corresponding group as the first address value 910 , the second address value 920 and the third address value 930 of the destination IP address 950 , set a designated address value indicating broadcasting, for example, 255, as a fourth address value 940 , and transmit an IP packet including the set destination IP address 950 .
- Information included in the broadcast IP address table 900 may be included in an in-vehicle Ethernet routing table.
- respective nodes connected to the in-vehicle Ethernet network may perform multicasting and broadcasting in the gateway/domain/group unit with reference to the in-vehicle Ethernet routing table.
- At least one destination IP address may be included in one IP packet.
- the corresponding transmission node may transmit the corresponding IP packet including two destination IP addresses for broadcasting in the domain unit.
- the two destination IP addresses may be set to 10.50.255.0 and 10.100.255.0.
- the transmission node may perform multicasting by setting a plurality of destination IP addresses for broadcasting in the group unit.
- implementations of the present invention provide methods and systems for providing an optimized Ethernet communication method for a vehicle.
- implementations of the present invention provide a software architecture for providing Ethernet communication optimized for vehicle environments.
- implementations of the present invention provide an Ethernet middleware architecture adapted to vehicle environments.
- implementations of the present invention provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a network initialization speed may be improved by applying a static IP allocation policy to each ECU in the vehicle.
- implementations of the present invention provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a system processing speed and complexity may be improved by removing and/or integrating unnecessary modules and functions in a conventional Ethernet software architecture.
- implementations of the present invention provide in-vehicle Ethernet communication methods and systems which provide a simple and lightweight Ethernet software hierarchical structure and thus have high extensibility and portability.
- implementations of the present invention provide network management/control/diagnostic message transmission functions of a conventional in-vehicle Controller Area Network (CAN) to Ethernet environments.
- CAN Controller Area Network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
- This application claims the benefit of Korean Patent Application No. 10-2015-0053721, filed on Apr. 16, 2015, which is hereby incorporated by reference.
- The present disclosure relates to an in-vehicle Ethernet communication method, and more particularly, to a method and system for providing an optimized Ethernet communication method for a vehicle through which an in-vehicle Ethernet software stack architecture to provide Ethernet communication optimized for vehicle environments is provided, thereby achieving improvements in system processing speed and cost reduction.
- The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.
- In the automobile industry, research into applying conventional Ethernet technology to vehicles is underway.
- In current vehicle networks, the number of in-vehicle electronic control units (ECUs) and complexity of the ECUs are increasing and a high bandwidth and fusion are required due to a demand for advanced driver assistance systems (ADASs), infotainment and diagnostic devices.
- Therefore, vehicle manufacturers, in-vehicle part manufacturers and in-vehicle semiconductor companies propose requirements for new networks which may replace the conventional vehicle networks.
- Accordingly, research for applying Ethernet technology, which is widely used in data communication networks, to a vehicle network is underway.
- If Ethernet technology is used as a vehicle network, a high bandwidth may be provided and the number of ECUs and system complexity may be reduced.
- Further, if Ethernet is applied to a vehicle network, a conventional heavy cable may be replaced with an Ethernet cable, thereby reducing vehicle weight and overall parts costs.
- For these reasons, major international vehicle companies are recently carrying out research and development of commercial products by applying Ethernet technology to vehicles and standards organizations are actively working on Ethernet standards for in-vehicle networks.
- International standards organizations including OPENSOG and the like carry out standardization of in-vehicle Ethernet technology, particularly, physical layers, now, and vehicle manufacturers define software stack architectures for application of in-vehicle Ethernet on their own.
- However, conventionally used Ethernet technology and Ethernet technology which has been defined in AUTmotive Open System Architecture (AUTOSAR) are not optimized for vehicle environments.
- Particularly, an in-vehicle Ethernet software stack architecture defined in AUTOSAR has elements which are not adapted to vehicle environments. Thus network processing speed may be lowered, and usage of a memory in an ECU is increased, thereby increasing overall system load and costs.
- The present disclosure is directed to methods and systems for providing an optimized Ethernet communication method for a vehicle that substantially addresses one or more problems due to limitations and disadvantages of the related art.
- An object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle.
- Another object of the present disclosure is to provide a software hierarchical structure for supporting Ethernet communication optimized for vehicle environments.
- Another object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which network management/control/diagnosis message transmission functions in a conventional Controller Area Network (CAN) may be provided to Ethernet environments.
- Another object of the present disclosure is to provide an Ethernet middleware structure adapted to vehicle environments.
- Another object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a network initialization speed may be improved by applying a static IP allocation policy to each ECU in the vehicle.
- Yet another object of the present disclosure is to provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a system processing speed and complexity may be improved by deleting and/or integrating unnecessary modules and functions in a conventional Ethernet software architecture.
- Additional advantages, objects, and features will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
- To achieve these objects and other advantages, as embodied and broadly described herein, a method for allocating an address to an Electronic Control Unit (ECU) on an in-vehicle Ethernet network includes allocating a first address value to identify the in-vehicle Ethernet network, allocating a second address value to identify a domain corresponding to the ECU, allocating a third address value to identify a group of ECUs in the allocated domain, allocating a fourth address value to identify the ECU in the group, and generating an IP address including the allocated first to fourth address values, wherein the generated IP address is set as a fixed IP address of the ECU.
- An interconnection structure of at least one ECU included in the group may be identified using the fourth address value.
- Further, the IP address may have an Internet Protocol version 4 (IPv4) address scheme.
- Further, the IP address may be allocated within the range of class A of private internet addresses defined in Request For Comment 1918 (RFC-1918).
- Further, multicasting on the in-vehicle Ethernet network may be controlled using the first to fourth address values of an IP packet to be transmitted.
- Broadcasting in a gateway unit may be controlled using the first and second address values included in a destination IP address.
- Further, broadcasting in a domain unit may be controlled using the first and third address values included in a destination IP address.
- Further, broadcasting in a group unit may be controlled using the first and fourth address values included in a destination IP address.
- Further, the group may include at least one ECU requiring the same security level.
- Further, the domain may include at least one of a body domain, a powertrain domain, a multimedia domain and a chassis domain.
- In another aspect of the disclosure, a device for allocating an address to an Electronic Control Unit (ECU) connected to an in-vehicle Ethernet network includes a unit to receive first information to identify a domain connected to a gateway, a unit to receive second information to identify the ECU in the domain, a unit to generate an IP address corresponding to the first and second information with reference to a pre-defined IP address allocation rule, and a unit to allocate the generated IP address to the ECU.
- Here, the domain may include at least one of a body domain, a powertrain domain, a multimedia domain and a chassis domain.
- Further, the second information may include third information to identify a group in the domain and fourth information to identify an interconnection structure of ECUs in the group and an ECU type.
- Further, the group may include at least one ECU requiring the same security level.
- The device may further include a unit to transmit the IP address allocated to the ECU to the gateway, and the gateway may set the allocated IP address as a fixed IP address of the ECU.
- The device may further include a unit to generate an in-vehicle Ethernet routing table in which IP addresses according to domains and groups are mapped and a unit to transmit the generated in-vehicle. Ethernet routing table to the gateway.
- In yet another aspect of the present disclosure, a gateway for allocating an address to an Electronic Control Unit (ECU) connected to an in-vehicle Ethernet network by interworking with an external device includes a unit to receive an in-vehicle Ethernet routing table, in which IP addresses allocated to the ECU according to domains and groups of the in-vehicle Ethernet network are mapped, from the external device, a unit to set an IP address allocated to the ECU using the in-vehicle Ethernet routing table, and a unit to transmit the in-vehicle Ethernet routing table to the ECU using the set IP address, wherein the gateway and the ECU control transmission and reception of an IP packet using the in-vehicle Ethernet routing table.
- When the IP packet is received, multicasting on the in-vehicle Ethernet network may be controlled using a destination IP address included in the IP packet and the in-vehicle Ethernet routing table.
- Further, the IP address may include a first address value to identify the gateway, a second value to identify a domain connected to the gateway, a third value to identify a group in the domain, and a fourth value to identify an ECU type in the group.
- Further, broadcasting in a gateway unit may be controlled using the first and second address values included in the destination IP address.
- Further, broadcasting in a domain unit may be controlled using the first and third address values included in the destination IP address.
- Further, broadcasting in a group unit may be controlled using the first and fourth address values included in the destination IP address.
- Further areas of applicability will become apparent from the description provided herein. It should be understood that the description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
- In order that the disclosure may be well understood, there will now be described various forms thereof, given by way of example, reference being made to the accompanying drawings, in which:
-
FIG. 1 is a block diagram illustrating a software hierarchical structure of an electronic control unit mounted in a vehicle; -
FIG. 2 is a block diagram illustrating a protocol structure of IP middleware; -
FIG. 3 is an in-vehicle Ethernet routing table illustrating an IP address allocation rule in in-vehicle Ethernet environments; -
FIG. 4 is a block diagram illustrating a hierarchical structure of an in-vehicle Ethernet system; -
FIG. 5 is a view illustrating a method for allocating an address based on interconnection relations among electronic control units in a group; -
FIG. 6 is a view illustrating an address allocation method in an in-vehicle Ethernet network; -
FIG. 7 is a flowchart illustrating an IP address allocation method in an address allocation device; -
FIG. 8 is a flowchart illustrating an IP packet monitoring method in an OBD terminal connected to a gateway; and -
FIG. 9 is a broadcast IP address table illustrating an IP address setting method for broadcasting. - The drawings described herein are for illustration purposes only and are not intended to limit the scope of the present disclosure in any way.
- The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, or uses. It should be understood that throughout the drawings, corresponding reference numerals indicate like or corresponding parts and features.
- Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. The suffixes “module” and “unit” in elements used in the description below are given or used together only in consideration of ease in preparation of the specification and do not have distinctive meanings or functions.
- Although the described embodiments include all elements as being combined into one unit or operated as one unit, the present invention is not limited thereto. That is, all elements may be selectively combined into one or more units and thus operated within the scope of the present invention. Further, although all elements may be implemented as independent hardware components, some or all of the respective elements may be selectively combined and implemented as a computer program having a program module in which one or plural hardware components perform the functions of the combined elements. Codes and code segments of such a computer program may be easily deduced by those skilled in the art. The computer program may be recorded in computer readable media and read and executed by a computer. Computer readable storage media may include magnetic storage media, optical storage media, carrier wave media and the like.
- In the following description, it will be understood that the terms “including”, “comprising” and “having” mean presence of corresponding elements, unless there is an opposite statement, and does not exclude presence of one or more other elements. All terms including technical or scientific terms have the same meanings as those which are generally understood by those skilled in the art, unless they are defined as having different meanings. The terms which are generally used, such as terms defined in dictionaries, are interpreted as having the same meanings as contextual meanings in the related art and should not be interpreted as having ideally or excessively formal meanings, unless they are apparently defines in the description.
- Further, it will be understood that the terms first, second, A, B, (a), (b), etc. may be used herein to describe various elements of the present invention. These terms are used only to discriminate one element from other elements, and the nature, order, or sequence of the corresponding element is not limited by these terms. If it is stated that an element is “connected to”, “combined with”, or “coupled with” another element, it will be understood that the former may be directly connected to or combined with the latter or other elements may be interposed between the two elements.
-
FIG. 1 is a block diagram illustrating a software hierarchical structure of an electronic control unit mounted in a vehicle. - With reference to
FIG. 1 , a software hierarchical structure may include anapplication layer 10, anapplication interface layer 20, amiddleware layer 30, an Ethernethardware abstraction layer 40 and an Ethernet hardware and baseband signalprocessing software layer 50. - The
application layer 10 may includeapplication software 11, atalker 12 to transmit an audio video (AV) stream in an audio video bridging (AVB) protocol, and alistener 13 to receive the AV stream. - The
application interface layer 20 may provide control signals transmitted and received between theapplication layer 10 and themiddleware layer 30 and subroutines or functions to process user data. For example, theapplication interface layer 20 may include aservice manager 21 providing an application program interface (API) to process control signals and data corresponding to various services related to corresponding application software and amedia framework 22 providing real-time environments to control a container format, a transmission protocol and the like necessary for transmission and reception of the AV stream. Here, themedia framework 22 may be implemented as a thread separated from theapplication software 11 and provide environments in which multimedia data may be processed in real time. - Here, the
application software 11 may include a media player, an audio/video editor, a navigation system and the like. Themiddleware layer 30 may include Internet protocol (IP)middleware 31 and audio video bridging (AVB)middleware 32. Here, AVB is a standard protocol established to improve a transmission quality of a service stream sensitive to time, such as audio/video, in in-vehicle Ethernet environments. - The
IP middleware 31 may perform a function of synchronizing and managing the overall in-vehicle Ethernet state through network management messages between nodes connected to an in-vehicle Ethernet network, hereinafter, referred to as NM messages, communication and a function of processing IP packets for controlling operations and states of the respective nodes, hereinafter, referred to as command and control (CC) messages. - Further, the
IP middleware 31 may perform a function of diagnosing the states of the nodes through IP packet communication. - Further, the
IP middleware 31 may perform a function of sensing and processing a transmission error of the IP packet on the in-vehicle Ethernet network, hereinafter, an Internet Control Message Protocol (ICMP). In general, an IP protocol provides an unreliable and connectionless datagram transmission service. Therefore, theIP middleware 31 may perform a function of generating a designated error reporting message and transmitting the error reporting message to a source when an error of the received IP packet is sensed, or generating a reply message corresponding to a query message and transmitting the reply message to an external terminal, for example, the terminal of a network manager, when the query message is received from the external terminal. - Further, the
IP middleware 31 may provide Address Resolution Protocol (ARP) for acquiring a Media Access Control (MAC) address from an IP address. For example, in order to acquire the MAC address of a node B, a node A may broadcast a designated ARP request message including the address of the node B to an in-vehicle Ethernet network. Here, remaining nodes except for the node B ignore the received ARP request message and the node B transmits an ARP reply message including the MAC address thereof to the node A. - Further, the
IP middleware 31 may provide Transmission Control Protocol (TCP) and User Data Protocol (UDP). A TCP layer is a higher layer than an IP layer and may perform functions which are not provided by the IP layer, i.e., functions related to data correction, such as a data omission test, a packet reception order test and the like. On the other hand, a UDP layer is a higher layer than the IP layer but does not check a packet reception order, differently from the TCP layer. - The
AVB middleware 32 may provide a media streaming function according to IEEE 802.1AS generalized Precision Time protocol (gPTP) and IEEE 802.1AS in which a procedure to acquire more precise time information between nodes is defined. - The Ethernet
hardware abstraction layer 40 may perform a function of providing various functions, i.e., a Kernel Programming Interface (KPI), to the programmer of themiddleware layer 30 so that an Ethernet hardware device may create an independent program, by providing a virtual hardware platform to themiddleware layer 30. - The Ethernet hardware and baseband signal
processing software layer 50 may include anEthernet MAC layer 51 and an Ethernetphysical layer 52. - For example, the
Ethernet MAC layer 51 may include a MAC layer defined by IEEE 802.3 and a MAC layer defined by IEEE 802.1. The MAC, layer defined by IEEE 802.1 may include a time stamping function defined by IEEE 802.1AS and stream reservation protocol (SRP) and a traffic shaping function defined by IEEE 802.1Q. -
FIG. 2 is a block diagram illustrating a protocol structure of IP middleware. - With reference to
FIG. 2 , theIP middleware 31 may include a management layer including Diagnostic communication over Internet (DoIP) 210, Ethernet Command and control (EthCC) 220 and Ethernet Network Management (EthNM) 230, a transmission control layer providing communication using TCP 240 andUDP 250, and a transmission layer providing IPv4 communication including Internet Control Message Protocol (ICMP) 261 and Address Resolution Protocol (ARP) 260. - As exemplarily shown in
FIG. 2 , IP addresses allocated to respective nodes in the in-vehicle Ethernet network depends on an IPv4 address scheme and IPv6 is not used. Further, the IP addresses allocated to respective nodes in accordance with one invention may be defined so that, among private Internet addresses defined in RFC-1918, only class A may be used. - Further, in the IP addresses allocated to respective nodes, an IP address allocation rule corresponding to a domain and a group may be pre-defined, and a fixed IP address corresponding to a corresponding electronic control unit may be automatically allocated according to the pre-defined rule. Therefore, an in-vehicle Ethernet communication system does not require a separate server for dynamic address allocation.
- Further, since fixed IP addresses are allocated to respective electronic control units through static IP address allocation, an in-vehicle Ethernet network initialization time may be shortened.
-
FIG. 3 is an in-vehicle Ethernet routing table 300 illustrating an IP address allocation rule in in-vehicle Ethernet environments. - With reference to
FIG. 3 , anIP address 350 may include first to fourth address values 310 to 340 depending on the IPv4 address scheme. - The
first address value 310 may be an address value to identify a corresponding IP address allocated to an electronic control unit connected to the in-vehicle Ethernet network. As one example, thefirst address value 310 to identify an in-vehicle Ethernet IP packet may be defined as 10, as exemplarily shown in the in-vehicle Ethernet routing table 300. - As another example, the
first address value 310 may be an address value to identify a specific gateway included in a corresponding in-vehicle Ethernet network. For example, if there are two gateways in a specific in-vehicle Ethernet network, the first address values 310 to identify the respective gateways may be defined as 10 and 20. - The
second address value 320 may be an address value to identify a domain connected to the corresponding gateway, i.e., a Virtual Local Area Network (VLAN). Here, the domain may be a powertrain domain, a multimedia domain, a body domain or a chassis domain, and domains may be added or deleted according to vehicle types and options. - The
third address value 330 may be an address value to identify a group of electronic control units included in the corresponding domain. Here, the group may be defined based on the function of electronic control units in the corresponding domain, interconnection relations, a required security level and the like of the electronic control units. - The
fourth address value 340 may be information to peculiarly identify each electronic control unit in the corresponding group, i.e., ECU type identification information. Further, thefourth address value 340 may be defined such that interconnection structures among the electronic control units in the corresponding group may be identified. - For example, as exemplarily shown in
FIG. 3 , the first to fourth address values 310 to 340 corresponding to an engine ECU included in an engine group in a powertrain domain of the in-vehicle. Ethernet network may be respectively defined as 10, 50, 100 and 20. For example, a static IP address allocated to the corresponding engine ECU may be 10.50.100.20. -
FIG. 4 is a block diagram illustrating a hierarchical structure of an in-vehicle Ethernet system. - With reference to
FIG. 4 , the in-vehicle Ethernet system may have a hierarchical structure including agateway 400 first to kthdomains 410 to 440 connected to the gateway, first to nth ECU groups 431 to 435 included in each of thedomains 410 to 440, and at least one electronic control unit included in each of theECU groups 431 to 435. Here, types and the number of domains connected to thegateway 400 according to vehicle types and options, types and the number of groups according to domains and types and the number of electronic control units according to groups may be different. - Further, an On-Board Diagnostics (OBD) terminal 450 may be connected to the
gateway 400 through a designated connection terminal. In this case, theOBD terminal 450 may monitor an IP packet passing via thegateway 400 or diagnose various states of the electronic control unit connected to a corresponding in-vehicle Ethernet network through thegateway 400. For example, theOBD terminal 450 may monitor routing paths of all IP packets or a specific IP packet passing via thegateway 400 and output a result of monitoring through the screen of a display provided on theOBD terminal 450 or connected to theOBD terminal 450. Here, the result of monitoring may be mapped to an actual Ethernet connection arrangement plan of a corresponding vehicle and displayed on the screen of the display. - Further, the
OBD terminal 450 may track IP packets in a domain unit, a group unit or an each ECU unit through IP address masking according to user menu selection by interworking with thegateway 400. -
FIG. 5 is a view illustrating a method for allocating an address based on interconnection relations among electronic control units in a group. - With reference to
FIG. 5 , if afirst address value 310 corresponding to agateway 510 is defined as 10 and asecond address value 320 corresponding to afirst domain 520 connected to thegateway 510 is defined as 150, 100, 110 and 120 may be allocated as third address values 330 to first tothird groups 530 to 550, respectively, included in thefirst domain 520. - As exemplarily shown in
FIG. 5 , anECU #a1 531 to anECU #a3 535 may have sequential connection relations in the form of a daisy chain. - In this case, based on an ECU connection order, i.e., an order in routing an IP packet, 000, 010 and 100 may be allocated as fourth address values 340 to the
ECU #a1 531 to theECU #a3 535, respectively. That is, the fact that the IP packet routed to thefirst group 530 is transmitted to theECU #a3 535 sequentially via theECU #a1 531 and theECU #a2 533 may be confirmed through only an IP address. - As another example, if an
ECU #b1 543 and anECU #b2 545 are connected to anECU #b1 541 of thesecond group 540 in parallel, 000, 010 and 020 may be allocated as fourth address values 340 to the ECU #b1 to theECU #b3 541 to 545, respectively. - As yet another example, if an
ECU #c1 551 to an ECU #c3 555 of thethird group 550 are connected in parallel, 000, 001 and 002 may be allocated as fourth address values 340 to theECU #c1 551 to the ECU #c3 555, respectively. - Therefore, if the
OBD terminal 500 monitors an IP packet by interworking with thegateway 510, theOBD terminal 500 may confirm connection relations among ECUs within a corresponding group by analyzing fourth address values 340 included in the IP packet. -
FIG. 6 is a view illustrating an address allocation method in an in-vehicle Ethernet network. - In more detail,
FIG. 6 illustrates an example of static IP address allocation of ECUs included in amultimedia domain 600. - The
multimedia domain 600 may include at least one of asound output controller 610, atelematics unit 620, anintegrated antenna 630, anintegrated display 640, a rearseat entertainment unit 650, acamera controller 660 and anintegrated media player 670. - With reference to
FIG. 6 , thesound output controller 610 may control first tofourth speakers 611 to 614 and thecamera controller 660 may control first tofourth cameras 661 to 664. Further, the rearseat entertainment unit 650 may control first and 651 and 652.second monitors - As shown in
FIG. 6 , for example, IP addresses corresponding to the respective ECUs may be defined and allocated so as not only to identify domains and groups but also to identify connection structures among ECUs within the groups, i.e., hierarchical structures. -
FIG. 7 is a flowchart illustrating an IP address allocation method in an address allocation device. - As an example, the address allocation device may be the
OBD terminal 450 interlocking with thegateway 400. As another example, the address allocation device may be a separate computer device or smartphone in which an address allocation program or application is loaded. - With reference to
FIG. 7 , the address allocation device may receive the domain or VLAN identification information and ECU identification information of an ECU, to which an IP address will be allocated, through a designated user interface screen (Operations S701 and S703). Here, the ECU identification information may include ECU group identification information and each ECU type information. - Thereafter, the address allocation device may generate an IP address corresponding to the input information with reference to a pre-defined address allocation rule (Operation S705).
- The address allocation device may add the generated IP address to an in-vehicle Ethernet routing table (Operation S707).
- The address allocation device may set the generated IP address of the corresponding ECU and then transmit the in-vehicle Ethernet routing table to the gateway (Operations S709 to S711).
- Here, the gateway may broadcast the received in-vehicle Ethernet routing table to connected domains. Therefore, all nodes connected to the in-vehicle Ethernet network may synchronize and maintain the in-vehicle Ethernet routing table.
-
FIG. 8 is a flowchart illustrating an IP packet monitoring method in an OBD terminal connected to a gateway. - With reference to
FIG. 8 , the OBD terminal may acquire an IP packet routed by the gateway and extract a source IP address and a destination IP address from the acquired IP packet (Operations S801 and S803). - The OBD terminal may identify the domain, group and ECU type of an ECU corresponding to the extracted source IP address and destination IP address with reference to a pre-defined address allocation rule (Operation S805).
- The OBD terminal may calculate a transmission path of the corresponding IP packet on an in-vehicle Ethernet network with reference to the identified domain/group/ECU type (Operation S807).
- Thereafter, the OBD terminal may map the calculated transmission path to an in-vehicle Ethernet arrangement plan and display the calculated transmission path on the screen of a display (Operation S809).
- Further, the OBD terminal may transmit a designated IP packet masking request signal to control the kind of the IP packet, which is an object to be monitored, to the gateway prior to Operation S801. That is, the IP packet masking request signal may include at least one of domain identification information, group identification information ECU type identification information to indicate an IP packet which will be masked by the gateway. For example, if the IP packet masking request signal includes specific group identification information, the gateway may filter the IP packet which is transmitted from or received by all ECUs corresponding to the corresponding group identification information and transmit the filtered IP packet to the OBD terminal.
-
FIG. 9 is a broadcast IP address table 900 illustrating an IP address setting method for broadcasting. - A node connected to an in-vehicle Ethernet network in accordance with one embodiment of the present invention may control broadcasting in a gateway/domain/group unit with reference to the broadcast IP address table 900. From a different standpoint, control of broadcasting in the gateway/domain/group unit on the in-vehicle Ethernet network may be interpreted as control of multicasting on the overall in-vehicle Ethernet system.
- With reference to
FIG. 9 , if a transmission node desires to broadcast an IP packet to all domains connected to a specific gateway, the transmission node may set afirst address value 910 of adestination IP address 950 corresponding to the corresponding gateway, set a designated address value indicating broadcasting, for example, 255, as asecond address value 920, and transmit an IP packet including the setdestination IP address 950. - Further, if the transmission node desires to broadcast an IP packet to all groups included in a specific domain, the transmission mode may set address values corresponding to a corresponding gateway and the corresponding domain as the
first address value 910 and thesecond address value 920 of thedestination IP address 950, set a designated address value indicating broadcasting, for example, 255, as athird address value 930, and transmit an IP packet including the setdestination IP address 950. - Similarly, if the transmission node desires to broadcast an IP packet to all ECUs included in a specific group, the transmission mode may set address values corresponding to a corresponding gateway, a corresponding domain and the corresponding group as the
first address value 910, thesecond address value 920 and thethird address value 930 of thedestination IP address 950, set a designated address value indicating broadcasting, for example, 255, as afourth address value 940, and transmit an IP packet including the setdestination IP address 950. - Information included in the broadcast IP address table 900 may be included in an in-vehicle Ethernet routing table. In this case, respective nodes connected to the in-vehicle Ethernet network may perform multicasting and broadcasting in the gateway/domain/group unit with reference to the in-vehicle Ethernet routing table.
- In the operation of multicasting, at least one destination IP address may be included in one IP packet. For example, if a transmission node needs to transmit an IP packet to be multicast to a powertrain domain and a multimedia domain, as shown in
FIGS. 3 and 9 , the corresponding transmission node may transmit the corresponding IP packet including two destination IP addresses for broadcasting in the domain unit. In this case, the two destination IP addresses may be set to 10.50.255.0 and 10.100.255.0. - Similarly the above method, if an IP packet is multicast to a plurality of groups of the same domain or multicast to a plurality of groups included in different domains, the transmission node may perform multicasting by setting a plurality of destination IP addresses for broadcasting in the group unit.
- As apparent from the above description, effects of methods and systems in accordance with implementations of the present invention will be described as follows.
- First, implementations of the present invention provide methods and systems for providing an optimized Ethernet communication method for a vehicle.
- Second, implementations of the present invention provide a software architecture for providing Ethernet communication optimized for vehicle environments.
- Third, implementations of the present invention provide an Ethernet middleware architecture adapted to vehicle environments.
- Fourth, implementations of the present invention provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a network initialization speed may be improved by applying a static IP allocation policy to each ECU in the vehicle.
- Fifth, implementations of the present invention provide methods and systems for providing an optimized Ethernet communication method for a vehicle through which a system processing speed and complexity may be improved by removing and/or integrating unnecessary modules and functions in a conventional Ethernet software architecture.
- Sixth, implementations of the present invention provide in-vehicle Ethernet communication methods and systems which provide a simple and lightweight Ethernet software hierarchical structure and thus have high extensibility and portability.
- Seventh, implementations of the present invention provide network management/control/diagnostic message transmission functions of a conventional in-vehicle Controller Area Network (CAN) to Ethernet environments.
- The description of this disclosure is merely exemplary in nature and, thus, variations that do not depart from the substance of the disclosure are intended to be within the scope of the disclosure. Such variations are not to be regarded as a departure from the spirit and scope of the disclosure.
Claims (22)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2015-0053721 | 2015-04-16 | ||
| KR1020150053721A KR101630729B1 (en) | 2015-04-16 | 2015-04-16 | Method and System for Providing Optimized Ethernet Communication for vehicle |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20160308822A1 true US20160308822A1 (en) | 2016-10-20 |
| US9769114B2 US9769114B2 (en) | 2017-09-19 |
Family
ID=56343502
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/820,227 Expired - Fee Related US9769114B2 (en) | 2015-04-16 | 2015-08-06 | Method and system for providing optimized ethernet communication for vehicle |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US9769114B2 (en) |
| KR (1) | KR101630729B1 (en) |
| DE (1) | DE102015216190A1 (en) |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170155696A1 (en) * | 2015-12-01 | 2017-06-01 | International Business Machines Corporation | Vehicle domain multi-level parallel buffering and context-based streaming data pre-processing system |
| CN107765676A (en) * | 2017-11-01 | 2018-03-06 | 河北工业大学 | A kind of onboard diagnostic system and its method based on Ethernet |
| CN107864207A (en) * | 2017-11-14 | 2018-03-30 | 上海赫千电子科技有限公司 | A kind of ECU software upgrade method based on vehicle-mounted Ethernet |
| US10243915B2 (en) * | 2015-12-31 | 2019-03-26 | Dell Products L.P. | Method and system for managing flat and routed clients in a cluster using single type of VIPs |
| WO2019123447A1 (en) | 2017-12-24 | 2019-06-27 | Arilou Information Security Technologies Ltd. | System and method for tunnel-based malware detection |
| EP3557849A1 (en) * | 2018-04-18 | 2019-10-23 | Hitachi, Ltd. | Software management system, gateway device, maintenance device, server device, and control method for software management system |
| US10848378B2 (en) * | 2017-07-03 | 2020-11-24 | Yazaki Corporation | Setting device and computer |
| US20210126917A1 (en) * | 2019-04-23 | 2021-04-29 | Huawei Technologies Co., Ltd. | In-Vehicle Gateway Communication Method, In-Vehicle Gateway, and Intelligent Vehicle |
| CN113022662A (en) * | 2021-04-16 | 2021-06-25 | 湖南中车时代通信信号有限公司 | Vehicle-mounted ATC network system and rail transit system |
| CN113448304A (en) * | 2020-03-27 | 2021-09-28 | 广州汽车集团股份有限公司 | Vehicle ECU diagnostic method and system |
| US20220231997A1 (en) * | 2019-05-30 | 2022-07-21 | Sumitomo Electric Industries, Ltd. | Setting device, communication system, and vehicle communication management method |
| CN115129021A (en) * | 2021-03-29 | 2022-09-30 | 广州汽车集团股份有限公司 | A method and device for testing vehicle Ethernet |
| CN115437337A (en) * | 2021-12-27 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | Multi-ECU simulation test method, device, computer equipment and storage medium |
| JP2024539191A (en) * | 2021-10-21 | 2024-10-28 | 華為技術有限公司 | Mapping relationship generating method and device, and storage medium |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102320043B1 (en) | 2017-09-13 | 2021-11-01 | 현대자동차주식회사 | Failure diagnosis apparatus and method for in-vehicle control unit |
| JP7046699B2 (en) * | 2018-04-25 | 2022-04-04 | 矢崎総業株式会社 | Communications system |
| KR102486151B1 (en) | 2018-10-16 | 2023-01-10 | 현대자동차주식회사 | Communication Device, Vehicle having the same and method for controlling the same |
| KR102423886B1 (en) * | 2018-12-13 | 2022-07-22 | 한국전자통신연구원 | Appartus and method for detecting abnormal sign in vehicle ethernet network |
| KR102758454B1 (en) | 2019-12-11 | 2025-01-22 | 한국전자통신연구원 | Method for managing access control list based on vehicle ethernet and apparatus using the same |
| KR102172287B1 (en) * | 2020-04-22 | 2020-10-30 | 비테스코 테크놀로지스 게엠베하 | Vehicle communication network system and operating method of the same |
| CN119135748B (en) * | 2024-09-18 | 2025-09-26 | 蔚来汽车科技(安徽)有限公司 | Traffic redirection method and intelligent device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010051863A1 (en) * | 1999-06-14 | 2001-12-13 | Behfar Razavi | An intergrated sub-network for a vehicle |
| US6754183B1 (en) * | 1999-06-14 | 2004-06-22 | Sun Microsystems, Inc. | System and method for integrating a vehicle subnetwork into a primary network |
| US6975612B1 (en) * | 1999-06-14 | 2005-12-13 | Sun Microsystems, Inc. | System and method for providing software upgrades to a vehicle |
| US20110222433A1 (en) * | 2010-03-12 | 2011-09-15 | Gilbert Guy Jones | Automatic address configuration of vehicle network devices during installation |
| US20150074277A1 (en) * | 2012-04-02 | 2015-03-12 | Mitsubishi Electric Corporation | Train communication system |
| US9450911B2 (en) * | 2011-12-15 | 2016-09-20 | Hyundai Motor Company | System and method for managing ethernet communication network for use in vehicle |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100343738B1 (en) * | 2000-07-29 | 2002-07-20 | 엘지전자주식회사 | Communication method and system using vpdn of karaoke |
| KR101231803B1 (en) * | 2008-12-01 | 2013-02-08 | 한국전자통신연구원 | Combination gateway communication apparatus and its method |
| KR101325807B1 (en) * | 2009-12-17 | 2013-11-05 | 한국전자통신연구원 | APPARATUS AND METHOD FOR COMMUNICATION OF VEHICLE USING IPv6 NETWORK |
| JP5500153B2 (en) | 2011-11-09 | 2014-05-21 | 株式会社デンソー | Vehicle communication device and vehicle data communication system using the vehicle communication device |
| KR101380118B1 (en) | 2012-01-11 | 2014-04-01 | 한국과학기술원 | Ethernet network for vehicles and vehicles using the same |
| KR101855753B1 (en) | 2012-12-12 | 2018-05-09 | 현대자동차 주식회사 | Gateway apparatus for vehicles diagnosis and system having the same |
| US20150133122A1 (en) | 2013-11-08 | 2015-05-14 | Industrial Technology Research Institute | Method of Handling Radio Link Failure |
-
2015
- 2015-04-16 KR KR1020150053721A patent/KR101630729B1/en active Active
- 2015-08-06 US US14/820,227 patent/US9769114B2/en not_active Expired - Fee Related
- 2015-08-25 DE DE102015216190.0A patent/DE102015216190A1/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010051863A1 (en) * | 1999-06-14 | 2001-12-13 | Behfar Razavi | An intergrated sub-network for a vehicle |
| US6507810B2 (en) * | 1999-06-14 | 2003-01-14 | Sun Microsystems, Inc. | Integrated sub-network for a vehicle |
| US6754183B1 (en) * | 1999-06-14 | 2004-06-22 | Sun Microsystems, Inc. | System and method for integrating a vehicle subnetwork into a primary network |
| US6975612B1 (en) * | 1999-06-14 | 2005-12-13 | Sun Microsystems, Inc. | System and method for providing software upgrades to a vehicle |
| US20110222433A1 (en) * | 2010-03-12 | 2011-09-15 | Gilbert Guy Jones | Automatic address configuration of vehicle network devices during installation |
| US9450911B2 (en) * | 2011-12-15 | 2016-09-20 | Hyundai Motor Company | System and method for managing ethernet communication network for use in vehicle |
| US20150074277A1 (en) * | 2012-04-02 | 2015-03-12 | Mitsubishi Electric Corporation | Train communication system |
Cited By (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9723041B2 (en) * | 2015-12-01 | 2017-08-01 | International Business Machines Corporation | Vehicle domain multi-level parallel buffering and context-based streaming data pre-processing system |
| US20170155696A1 (en) * | 2015-12-01 | 2017-06-01 | International Business Machines Corporation | Vehicle domain multi-level parallel buffering and context-based streaming data pre-processing system |
| US10243915B2 (en) * | 2015-12-31 | 2019-03-26 | Dell Products L.P. | Method and system for managing flat and routed clients in a cluster using single type of VIPs |
| US10848378B2 (en) * | 2017-07-03 | 2020-11-24 | Yazaki Corporation | Setting device and computer |
| CN107765676A (en) * | 2017-11-01 | 2018-03-06 | 河北工业大学 | A kind of onboard diagnostic system and its method based on Ethernet |
| CN107864207A (en) * | 2017-11-14 | 2018-03-30 | 上海赫千电子科技有限公司 | A kind of ECU software upgrade method based on vehicle-mounted Ethernet |
| WO2019123447A1 (en) | 2017-12-24 | 2019-06-27 | Arilou Information Security Technologies Ltd. | System and method for tunnel-based malware detection |
| EP3557849A1 (en) * | 2018-04-18 | 2019-10-23 | Hitachi, Ltd. | Software management system, gateway device, maintenance device, server device, and control method for software management system |
| JP2019191619A (en) * | 2018-04-18 | 2019-10-31 | 株式会社日立製作所 | Software management system, gateway device, maintenance device, server device, and control method of software management system |
| US11164398B2 (en) | 2018-04-18 | 2021-11-02 | Hitachi, Ltd. | Software management system, gateway device, maintenance device, server device, and control method for software management system |
| JP7049900B2 (en) | 2018-04-18 | 2022-04-07 | 株式会社日立製作所 | Software management system, gateway device, maintenance device, server device, and software management system control method |
| US20210126917A1 (en) * | 2019-04-23 | 2021-04-29 | Huawei Technologies Co., Ltd. | In-Vehicle Gateway Communication Method, In-Vehicle Gateway, and Intelligent Vehicle |
| US12381864B2 (en) * | 2019-05-30 | 2025-08-05 | Sumitomo Electric Industries, Ltd. | Setting device, communication system, and vehicle communication management method |
| US20220231997A1 (en) * | 2019-05-30 | 2022-07-21 | Sumitomo Electric Industries, Ltd. | Setting device, communication system, and vehicle communication management method |
| CN113448304A (en) * | 2020-03-27 | 2021-09-28 | 广州汽车集团股份有限公司 | Vehicle ECU diagnostic method and system |
| CN115129021A (en) * | 2021-03-29 | 2022-09-30 | 广州汽车集团股份有限公司 | A method and device for testing vehicle Ethernet |
| CN113022662A (en) * | 2021-04-16 | 2021-06-25 | 湖南中车时代通信信号有限公司 | Vehicle-mounted ATC network system and rail transit system |
| JP2024539191A (en) * | 2021-10-21 | 2024-10-28 | 華為技術有限公司 | Mapping relationship generating method and device, and storage medium |
| JP7717977B2 (en) | 2021-10-21 | 2025-08-04 | 深▲ジェン▼引望智能技術有限公司 | Mapping relationship generating method and device, and storage medium |
| JP7717977B6 (en) | 2021-10-21 | 2025-08-21 | 深▲ジェン▼引望智能技術有限公司 | Mapping relationship generating method and device, and storage medium |
| CN115437337A (en) * | 2021-12-27 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | Multi-ECU simulation test method, device, computer equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| DE102015216190A1 (en) | 2016-10-20 |
| KR101630729B1 (en) | 2016-06-24 |
| US9769114B2 (en) | 2017-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9769114B2 (en) | Method and system for providing optimized ethernet communication for vehicle | |
| US9755968B2 (en) | Method and apparatus for processing a SOME/IP stream through interworking with AVB technology | |
| US9912531B2 (en) | Data logging or stimulation in automotive Ethernet networks using the vehicle infrastructure | |
| TWI746506B (en) | Method and device for network load balancing, control and network interaction | |
| US9674119B2 (en) | Method and apparatus for controlling audio/video bridging stream for in-vehicle ethernet | |
| US11637805B2 (en) | Systems and methods of installing and operating devices without explicit network addresses | |
| US11665055B2 (en) | Method and device for configuring identical network components, and transportation vehicle | |
| WO2021002261A1 (en) | Abnormality detection device and abnormality detection method | |
| US11822494B2 (en) | Network switch with DMA controller for independent direct memory access of host system | |
| US20170048158A1 (en) | Operation method of communication node in network | |
| US11025753B2 (en) | Method and device for inter-process communication in network | |
| CN113485920B (en) | Method and device for realizing DoIP entity, readable storage medium and electronic equipment | |
| US11470020B2 (en) | Automotive packet data switch with pipeline diversity | |
| KR20180074128A (en) | Diagnosis message routing system and method for gateway of vehicle | |
| KR101231803B1 (en) | Combination gateway communication apparatus and its method | |
| CN118784706B (en) | Communication method and communication device | |
| US20250047637A1 (en) | Address allocation method and apparatus | |
| CN112671547B (en) | Resource allocation method, device and system for service slices in vehicle | |
| US11951917B2 (en) | Onboard communication system, switching device, and control method | |
| US11917007B2 (en) | Method for operating a data network of a motor vehicle and motor vehicle comprising a data network which can be correspondingly operated | |
| CN116016634A (en) | Multi-device connection method, device, electronic device, and computer-readable storage medium | |
| CN116055253B (en) | Multi-network communication system | |
| US12261819B2 (en) | Bridging with web manager access | |
| CN120017697A (en) | Vehicle communication control method, device, apparatus and computer readable storage medium | |
| CN115665221A (en) | Communication method and device between vehicle-mounted containers, vehicle and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: HYUNDAI MOTOR COMPANY, KOREA, REPUBLIC OF Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHAE, JUN BYUNG;YUN, JIN HWA;SEO, KANG WOON;AND OTHERS;REEL/FRAME:036570/0065 Effective date: 20150713 |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
| FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
| FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20250919 |