Communication system for vehicle and method for routing management thereof
Patent Information
- Application Number
- KR1020200170372
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-08
- Publication Date
- 2026-08-05
- Estimated Expiration
- 2040-12-08
Smart Images

Figure 112020132874269-PAT00001_ABST
Abstract
Description
Technology Field
[0001] The present invention relates to a communication system for vehicles and a routing management method thereof. Background Technology
[0002] Recently, research on the implementation of autonomous driving and parking functions to assist driver convenience and safety has been active. To implement these autonomous driving and parking functions, it is necessary to transmit and receive cooperative control signals and sensing data within the vehicle at high speed and in large capacity. To this end, communication technologies such as Ethernet, as well as CAN (controller area network) and CANFD (controller area network flexible data-rate) communication which were previously used in vehicles, are being introduced into the vehicle's internal network.
[0003] Therefore, there is a need for ideas to efficiently route vehicle information and control signals configured for CAN / CANFD communication channels to be transmitted to Ethernet communication channels. The problem to be solved
[0004] The problem to be solved through the embodiments of the present invention is to provide a vehicle communication system for efficient routing between heterogeneous communication channels and a routing management method thereof. means of solving the problem
[0005] A vehicle communication system according to an embodiment of the present invention for solving the above problem may include a transmitting node that transmits a message through a first CAN / CANFD channel, a receiving node that receives the message through an Ethernet channel, and a gateway that routes the message received from the transmitting node through the first CAN / CANFD channel to the receiving node through the Ethernet channel. Here, the receiving node receives the message transmitted from the transmitting node through a second CAN / CANFD channel and can determine whether to change the routing period of the message at the gateway based on a data value change pattern of the message.
[0006] When the receiving node determines that the routing period of the message is changed, it transmits a request to change the routing period of the message to the gateway, and the gateway may, in response to the request to change the routing period, increase or decrease the routing period of the message or convert the message into an event message.
[0007] When the receiving node determines that the routing period of the message is changed, it transmits a request to change the routing period of the message to the DHCP server, the DHCP server sets the VLAN ID of the message based on the request to change the routing period, and the gateway may adjust the routing period of the message based on the VLAN ID of the message.
[0008] When a change in the routing period of the message is determined, the receiving node transmits a request to change the routing period of the message to an OTA (over the air) server, and the OTA server generates update information to update the routing policy of the message based on the request to change the routing period, and the gateway downloads the update information from the OTA server, updates the routing policy based on the update information, and may adjust the routing period of the message based on the updated routing policy.
[0009] The receiving node can increase a counter value by a first value if the data value of the message received through the second CAN / CANFD channel is the same as the data value of the message previously received, decrease the counter value by a second value if the data value of the message received through the second CAN / CANFD channel is different from the data value of the message previously received, and determine to increase the routing period of the message if the counter value is greater than or equal to a first threshold.
[0010] The receiving node can determine the event message conversion of the message if the counter value is greater than or equal to a second threshold that is greater than the first threshold.
[0011] The receiving node may decide to decrease the routing period of the message or return the routing period to its initial value when the counter value becomes less than 0.
[0012] Additionally, a routing management method for a vehicle communication system according to an embodiment of the present invention, comprising a transmitting node that transmits a message through a first CAN / CANFD channel, a receiving node that receives the message through an Ethernet channel, and a gateway that routes the message received from the transmitting node through the first CAN / CANFD channel to the receiving node through the Ethernet channel, may include the step of the receiving node receiving the message transmitted from the transmitting node through a second CAN / CANFD channel, and the step of determining whether to change the routing period of the message at the gateway based on a data value change pattern of the message.
[0013] The above routing management method may further include the step of the receiving node transmitting a request to change the routing period of the message to the gateway when a change in the routing period of the message is determined, and the step of the gateway increasing or decreasing the routing period of the message or converting the message into an event message in response to the request to change the routing period.
[0014] The above routing management method may further include the steps of: the receiving node transmitting a request to change the routing period of the message to a DHCP server when a change in the routing period of the message is determined; the DHCP server setting a VLAN ID of the message based on the request to change the routing period; and the gateway adjusting the routing period of the message based on the VLAN ID of the message.
[0015] The above routing management method is,
[0016] The method may further include the steps of: the receiving node transmitting a request to change the routing period of the message to an OTA server when a change in the routing period of the message is determined; the gateway downloading update information to update the routing policy of the message generated in response to the request to change the routing period from the OTA server; the gateway updating the routing policy based on the update information; and adjusting the routing period of the message based on the updated routing policy. Effects of the invention
[0017] According to embodiments of the present invention, unnecessary routing of the gateway can be reduced, thereby reducing the performance load of the gateway, and the problem of using a high-spec processor due to the load caused by receiving unnecessary Ethernet messages at the receiving node can be resolved. Brief explanation of the drawing
[0018] FIG. 1 schematically illustrates a vehicle communication system according to a first embodiment of the present invention. FIG. 2 illustrates a routing management method for a vehicle communication system according to a first embodiment of the present invention. FIG. 3 schematically illustrates a vehicle communication system according to a second embodiment of the present invention. FIG. 4 illustrates a routing management method for a vehicle communication system according to a second embodiment of the present invention. FIG. 5 schematically illustrates a vehicle communication system according to a third embodiment of the present invention. FIG. 6 illustrates a routing management method for a vehicle communication system according to a third embodiment of the present invention. Specific details for implementing the invention
[0019] Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present invention. The present invention may be embodied in various different forms and is not limited to the embodiments described herein.
[0020] To clearly explain the embodiments of the present invention, parts unrelated to the description have been omitted, and the same reference numerals are used for identical or similar components throughout the specification.
[0021] Throughout the specification, when a part is described as being "connected" to another part, this includes not only cases where they are "directly connected," but also cases where they are "electrically connected" with other components interposed between them. Furthermore, when a part is described as "including" a certain component, this means that, unless specifically stated otherwise, it does not exclude other components but may include additional components.
[0022] In conventional automotive communication systems that support both CAN (controller area network) / CANFD (controller area network flexible data-rate) communication and Ethernet communication, when a gateway routes messages received through a CAN / CANFD communication channel to an Ethernet communication channel, the transmission cycle of the message in the CAN / CANFD channel is used as the routing cycle. As a result, the receiving device receiving the message through the Ethernet channel must receive and process messages with relatively high signal processing complexity compared to messages transmitted through the CAN / CANFD channel at the same reception cycle as the message transmission cycle in the CAN / CANFD channel. Consequently, the load on the processor (CPU (central processing unit), MCU (micro controller unit), ECU (electronic control unit), etc.) increases, making it inevitable to use a high-spec processor.
[0023] In addition, in gateways that route messages received via CAN / CANFD communication channels into Ethernet messages, the performance load increases due to the increased routing frequency, which leads to communication delays and degraded driving performance.
[0024] Accordingly, in the embodiments of the present invention, to solve this problem, a receiving node monitors a message transmitted by a transmitting node through a CAN / CANFD channel, and through monitoring, statistically analyzes the pattern of the transmitting node transmitting the message to set the routing cycle at the gateway.
[0025] Hereinafter, a vehicle communication system and a routing management method according to embodiments of the present invention will be described in detail with reference to the necessary drawings.
[0026] In the following description of the embodiments, the first device (refer to reference numeral '10' in FIGS. 1, 3, and 5) operates as a transmitting node that transmits data through a CAN / CANFD channel (41), and the second device (refer to reference numeral '20' in FIGS. 1, 3, and 5) operates as a receiving node that receives data through an Ethernet communication channel (refer to reference numeral '41' in FIGS. 1, 3, and 5). However, the first device (10) may also operate as a receiving node that receives data through a CAN / CANFD channel (refer to reference numeral '41' in FIGS. 1, 3, and 5) or an Ethernet channel (not shown), and the second device (20) may also operate as a transmitting node that transmits data through a CAN / CANFD channel (not shown) or an Ethernet channel (42).
[0027] In addition, in the following description of the embodiments, the vehicle communication system is described by example as including one device connected to a gateway (refer to reference numeral '30' in FIG. 1, 3, and 5) via a CAN / CANFD channel and one device connected to the gateway (30) via an Ethernet channel, but this is for convenience of explanation and the embodiments of the present invention are not limited thereto. The vehicle communication system may include one or more devices connected to the gateway (30) via a CAN / CANFD channel and one or more devices connected to the gateway (30) via an Ethernet channel.
[0028] FIG. 1 schematically illustrates a vehicle communication system according to a first embodiment of the present invention.
[0029] Referring to FIG. 1, a first device (10) of a vehicle communication system (1A) transmits a message to a second device (20) via a CAN / CANFD channel (41). The message transmitted from the first device (10) via the CAN / CANFD channel (41) is received by a gateway (30) of the vehicle communication system (1A), and the gateway (30) converts it into an Ethernet message in accordance with the Ethernet communication protocol and then routes it to the second device (20) via an Ethernet channel (42). For example, in a vehicle system equipped with the vehicle communication system (1A), conversion (routing) between heterogeneous communication channels (CAN / CANFD channel <-> Ethernet channel) can be performed as described above to transmit and receive in-vehicle cooperative control signals and vehicle information (e.g., sensing data) for the implementation of autonomous driving / parking functions.
[0030] The CAN / CANFD communication method is a broadcast method in which, when a transmitting node sends a message through a CAN / CANFD channel, the message is delivered to all nodes connected to the transmitting node via the CAN / CANFD channel, and the nodes that receive the message check the received message and selectively receive the message.
[0031] Accordingly, when the first device (10) and the second device (20) of the vehicle communication system (1A) are connected via CAN / CANFD channels (41, 42), the message transmitted by the first device (10) through the CAN / CANFD channel (41) can be delivered to the second device (20) as well as the gateway (30).
[0032] The second device (20) includes a routing cycle setting module (21), and can monitor messages transmitted by the first device (10) through the CAN / CANFD channel (41) via the routing cycle setting module (21).
[0033] When the first device (10) transmits a message through the CAN / CANFD channel (41), the routing cycle setting module (21) receives it through the CAN / CANFD channel (43) and can statistically analyze the pattern of change in the data value included in the message. At this time, when the routing cycle setting module (21) receives a message transmitted from the first device (10) through the CAN / CANFD channel (43), it distinguishes the message according to the type of control signal or information conveyed by the message, and for each message, it can monitor the pattern of change in the data value over time by comparing the data value of the previously received message with the data value of the currently received message. For example, the routing cycle setting module (21) can set a counter for each message and increase or decrease the counter value according to the change in the data value of each message, thereby monitoring the pattern of change in the data value of each message through the counter of each message. Here, a counter set for each message can be operated such that, after being reset when the vehicle is turned on (Ignition On), if the data value of the corresponding message is the same as the previously received value, the counter value is increased by a first value (e.g., '1'), and if the data value of the corresponding message is different from the previously received value, the counter value is decreased by a second value (e.g., '2').
[0034] The routing cycle setting module (21) can determine the routing cycle change for the corresponding message or the transition to an event message based on the data value change pattern over time identified for each message.
[0035] For example, as described above, if a counter is set for each message and the pattern of change in the data value of each message is monitored through this, the routing setting module (21) may decide to relax, i.e., decrease, the routing cycle for messages where the value of the corresponding counter is greater than or equal to a first threshold (e.g., 10). Additionally, the routing setting module (21) may decide to strengthen, i.e. increase, the routing cycle for messages where the value of the corresponding counter becomes less than 0, or decide to return the routing cycle to an initial value. In this case, the counter of the message for which the strengthening of the routing cycle or return to the initial value is decided may be reset. Additionally, the routing setting module (21) may decide the routing method as an event message method for messages where the value of the corresponding counter is greater than or equal to a second threshold (e.g., 100). In this case, the counter of the message for which the routing method is decided as an event message method may be reset. When the routing method is set to an event message, the corresponding message may be routed only when a specific event occurs and the data value transmitted through the message changes.
[0036] As described above, when a change in the routing cycle (easing, tightening, etc.) or a transition to an event message is determined, the routing cycle setting module (21) may request the gateway (30) to change the routing policy of the corresponding message based on this. When the routing cycle setting module (21) transmits a request to change the routing policy of a specific message to the gateway (30), it may include the identification information of the message and the degree of change (degree of easing / tightening, whether to transition to an event message, etc.) together in the transmission.
[0037] The gateway (30) can manage the routing of messages transmitted and received between the devices (10, 20).
[0038] The gateway (30) can convert a message received from the first device (10) through the CAN / CANFD channel (41) into an Ethernet message in accordance with the Ethernet communication protocol, and then route it to the second device (20) through the Ethernet channel (42). The gateway (30) can also convert a message received from the second device (20) through the Ethernet channel (42) into a CAN / CANFD message in accordance with the CAN / CANFD communication protocol, and then route it to the first device (10) through the CAN / CANFD channel (41).
[0039] The gateway (30) may include a routing policy management module (31). When a routing policy management module (31) receives a request from the routing cycle setting module (21) to change the routing cycle of a specific message, the routing policy management module (31) can change the routing policy of the corresponding message based on this request. That is, based on the routing cycle change request received from the routing cycle setting module (21), the routing policy management module (31) can relax or strengthen the routing cycle of the corresponding message, or set the corresponding message as an event message.
[0040] Accordingly, when the gateway (30) subsequently routes the message from the CAN / CANFD channel (41) to the Ethernet channel (42), it can change the routing cycle, that is, the cycle of converting the message into an Ethernet message and transmitting it to the Ethernet channel (42), according to the changed routing policy.
[0041] FIG. 2 illustrates a routing management method for a vehicle communication system according to a first embodiment of the present invention. The routing management method of FIG. 2 can be performed by the vehicle communication system (1A) described above with reference to FIG. 1.
[0042] Referring to FIG. 2, in a vehicle communication system (1A), a routing cycle setting module (21) monitors the data value change pattern for each message routed from the CAN / CANFD channel (41) to the Ethernet channel (42) (S10). That is, when the first device (10) transmits a message through the CAN / CANFD channel (41), the routing cycle setting module (21) included in the second device (20) receives it through the CAN / CANFD channel (43) and can statistically analyze the pattern of the data value included in the message changing.
[0043] In the above S10 step, when the routing cycle setting module (21) receives a message transmitted from the first device (10) through the CAN / CANFD channel (43), it distinguishes the message according to the type of control signal or information conveyed by the message, and for each message, it can monitor the pattern of change in data values over time by comparing the data values of the previously received message and the currently received message.
[0044] The routing period setting module (21) determines the routing period of each message according to the pattern of change in the data value of each message monitored through the above S10 step (S11).
[0045] For example, in step S10, the routing cycle setting module (21) can identify whether the data value has changed by comparing each message with the same message previously received, and increase or decrease the value of the counter according to whether the data value has changed. Additionally, the routing cycle setting module (21) can determine whether to maintain, relax, or strengthen the routing cycle corresponding to each message, or to convert each message into an event message, by comparing the counter value of each message increased or decreased in this manner with preset thresholds.
[0046] When the routing cycle setting module (21) determines that a change in the routing cycle of a specific message is made through steps S10 and S11 (S12), it transmits a change request (easing, tightening, conversion to an event message, etc.) to the routing policy management module (31) within the gateway (30). Accordingly, the routing policy management module (31), upon receiving the request to change the routing cycle, changes the routing policy, i.e., the routing cycle, of the corresponding message in response to the request to change the routing cycle received from the routing cycle setting module (21) (S13). Accordingly, when the gateway (30) subsequently routes the message from the CAN / CANFD channel (41) to the Ethernet channel (42), it changes the routing cycle, i.e., the cycle of converting the message into an Ethernet message and transmitting it to the Ethernet channel (42), according to the changed routing policy (S14).
[0047] Meanwhile, in the embodiment described with reference to FIGS. 1 and 2, the case where the gateway (30) directly changes the routing policy was illustrated as an example, but the embodiment of the present invention is not limited thereto. In another embodiment of the present invention, the routing policy may be changed by a DHCP (Dynamic Host Configuration Protocol) server dynamically assigning a VLAN (virtual local area network) ID to each message.
[0048] FIG. 3 schematically illustrates a vehicle communication system according to a second embodiment of the present invention.
[0049] Referring to FIG. 3, when the first device (10) of the vehicle communication system (1B) transmits a message to the second device (20) through the CAN / CANFD channel (41), the gateway (30) converts it into an Ethernet message in accordance with the Ethernet communication protocol and then routes it to the second device (20) through the Ethernet channel (42).
[0050] Additionally, the second device (20) receives messages transmitted by the first device (10) to the CAN / CANFD channel (41) via the CAN / CANFD channel (43), and can statistically analyze the pattern of change in the data values included in the received messages through the routing cycle setting module (21). Additionally, based on the results of this analysis, the second device (20) can determine a change in the routing cycle for the corresponding message or a conversion to an event message through the routing cycle setting module (21). Here, the routing cycle setting module (21) of the vehicle communication system (1B) of FIG. 3 performs the same operation as the routing cycle setting module (21) of the vehicle communication system (1A) described above with reference to FIG. 1, so a detailed description is omitted below.
[0051] As described above, when a change in the routing cycle (relaxation, tightening, etc.) or a transition to an event message is determined, the routing cycle setting module (21) can transmit to the gateway (30) to change the routing policy of the corresponding message based on this.
[0052] The gateway (30) can manage the routing of messages transmitted and received between the devices (10, 20). For example, the gateway (30) can convert a message received from the first device (10) through the CAN / CANFD channel (41) into an Ethernet message in accordance with the Ethernet communication protocol, and then route it to the second device (20) through the Ethernet channel (42).
[0053] When the gateway (30) receives a request to change the routing cycle for a specific message from the routing cycle setting module (21), it may forward it to the DHCP server (50).
[0054] The DHCP server (50) can perform the function of dynamically changing the settings of an Ethernet switch (not shown) in a vehicle communication system (1B). For example, the DHCP server (50) can automatically assign an IP address to each device (e.g., a second device (20)) connected to the switch via an Ethernet channel.
[0055] The DHCP server (50) may include a routing policy management module (51). When a routing policy management module (51) requests a change in the routing cycle for a specific message through the gateway (30), it may set the VLAN ID of the corresponding message based on this. For example, the routing policy management module (51) may maintain the VLAN ID as '0x81' for messages maintaining the initially set routing cycle, assign the VLAN ID as '0x82' for messages where the routing cycle has been relaxed to twice the initially set routing cycle, assign the VLAN ID as '0x83' for messages where the routing cycle has been relaxed to ten times the initially set routing cycle, and assign the VLAN ID as '0x84' for messages where the routing attribute has been changed to an event message.
[0056] Accordingly, when the gateway (30) transmits a message received from the first device (10) through the CAN / CANFD channel (41) to the second device (20) through the Ethernet channel (42), it establishes a routing path based on the IP dynamically assigned to the second device (20) by the DHCP server (50), and can control the routing cycle based on the VLAN ID assigned to the message by the DHCP server (50).
[0057] FIG. 4 illustrates a routing management method for a vehicle communication system according to a second embodiment of the present invention. The routing management method of FIG. 4 can be performed by the vehicle communication system (1B) described above with reference to FIG. 3.
[0058] Referring to FIG. 4, in a vehicle communication system (1B), a routing cycle setting module (21) monitors the data value change pattern for each message routed from the CAN / CANFD channel (41) to the Ethernet channel (42) (S20). That is, when the first device (10) transmits a message through the CAN / CANFD channel (41), the routing cycle setting module (21) included in the second device (20) receives it through the CAN / CANFD channel (43) and can statistically analyze the pattern of change in the data value included in the message.
[0059] In the above S20 step, when the routing cycle setting module (21) receives a message transmitted from the first device (10) through the CAN / CANFD channel (43), it distinguishes the message according to the type of control signal or information conveyed by the message, and for each message, it can monitor the pattern of data value change over time by comparing the data value of the previously received message and the currently received message.
[0060] The routing period setting module (21) determines the routing period of each message according to the pattern of change in the data value of each message monitored through the above S20 step (S21).
[0061] For example, in step S20, the routing cycle setting module (21) can identify whether the data value has changed by comparing each message with the same message previously received, and increase or decrease the value of the counter according to whether the data value has changed. Additionally, the routing cycle setting module (21) can determine whether to maintain, relax, or strengthen the routing cycle corresponding to each message, or to convert each message into an event message, by comparing the counter value of each message increased or decreased in this manner with preset thresholds.
[0062] When the routing cycle setting module (21) determines that a change in the routing cycle of a specific message is determined through steps S20 and S21 (S22), it sends a request to change the routing cycle (e.g., relaxation, strengthening, conversion to an event message) to the DHCP server (50) through the gateway (30) (S23).
[0063] Accordingly, the DHCP server (50) that receives a request to change the routing cycle changes the routing policy by changing the VLAN ID of the corresponding message in response to the routing cycle change request received from the routing cycle setting module (21) through the routing policy management module (51) (S24). Accordingly, when the gateway (30) subsequently routes the message from the CAN / CANFD channel (41) to the Ethernet channel (42), it changes the routing cycle, that is, the cycle of converting the message into an Ethernet message and transmitting it to the Ethernet channel (42), by referring to the changed VLAN ID (S25).
[0064] Meanwhile, in the above-described embodiments, the means for setting the routing policy of each message is described as being located within the vehicle communication system (1A, 1B), such as a gateway (30) or a DHCP server (50), but the embodiments of the present invention are not limited thereto. In another embodiment of the present invention, the routing policy update is determined by an external server, and the gateway (30) may dynamically change the routing policy by downloading information necessary for updating the routing policy from the external server and applying it to its own routing policy.
[0065] FIG. 5 schematically illustrates a vehicle communication system according to a third embodiment of the present invention.
[0066] Referring to FIG. 5, when the first device (10) of the vehicle communication system (1C) transmits a message to the second device (20) through the CAN / CANFD channel (41), the gateway (30) converts it into an Ethernet message in accordance with the Ethernet communication protocol and then routes it to the second device (20) through the Ethernet channel (42).
[0067] Additionally, the second device (20) receives messages transmitted by the first device (10) to the CAN / CANFD channel (41) via the CAN / CANFD channel (43), and can statistically analyze the pattern of change in the data values included in the received messages through the routing cycle setting module (21). Additionally, based on the results of this analysis, the second device (20) can determine a change in the routing cycle for the corresponding message or a conversion to an event message through the routing cycle setting module (21). Here, the routing cycle setting module (21) of the vehicle communication system (1C) of FIG. 5 performs the same operation as the routing cycle setting module (21) of the vehicle communication system (1A, 1B) described above with reference to FIG. 1 or FIG. 3, so a detailed description is omitted below.
[0068] As described above, when a change in the routing cycle (relaxation, tightening, etc.) or a transition to an event message is determined, the routing cycle setting module (21) can transmit to the gateway (30) to change the routing policy of the corresponding message based on this.
[0069] The gateway (30) can manage the routing of messages transmitted and received between the devices (10, 20). For example, the gateway (30) can convert a message received from the first device (10) through the CAN / CANFD channel (41) into an Ethernet message in accordance with the Ethernet communication protocol, and then route it to the second device (20) through the Ethernet channel (42).
[0070] When the vehicle is turned on, the gateway (30) checks the software version of each device in the vehicle through diagnostic communication and may transmit vehicle status information including the software version information of each device and vehicle identification information (VIN (vehicle identification number)) to the OTA (over the air) server (60).
[0071] The OTA server (60) communicates with the vehicle communication system (1C) via a wireless network and can manage software updates for each device within the vehicle system. The OTA server (60), having received vehicle status information from the gateway (30) of the vehicle communication system (1C), can determine whether each device needs an update by checking the software version of each device within the vehicle system based on the received vehicle status information. Additionally, if the OTA server (60) determines that an update is needed for a specific device within the vehicle system, it can transmit information necessary for updating the device to the gateway (30) within the vehicle communication system (1C).
[0072] Accordingly, the gateway (30) can download information necessary for updating devices within the vehicle system from the OTA server (60) and transmit the downloaded information to the device to be updated so that the software update can be performed by the device.
[0073] When the gateway (30) receives a request to change the routing cycle for a specific message from the routing cycle setting module (21), it may forward it to the update server, the OTA server (60). That is, when the gateway (30) forwards vehicle status information to the OTA server (60), it may also forward the routing change request received from the routing cycle setting module (21).
[0074] The OTA server (60), upon receiving a routing change request from the gateway (30), can generate information to update the routing policy of the routing policy management module (31) within the gateway (30) based on this request and transmit it to the gateway (30). At this time, when generating the routing policy update information, the OTA server (60) may generate the routing policy update information by referring to the hardware specifications of each device, the configuration of the vehicle network, the number of routing messages through the verification of the relationship database (RDB), and the driving performance calibration value of the vehicle system.
[0075] The gateway (30) can check the routing policy update information of the routing policy management module (31) during the process of checking the update information downloaded from the OTA server (60), and can dynamically adjust the routing policy of the routing policy management module (31) based on the checked routing policy update information.
[0076] Additionally, when the gateway (30) subsequently transmits a message received from the first device (10) through the CAN / CANFD channel (41) to the second device (20) through the Ethernet channel (42), it can control the routing cycle of the message based on the updated routing policy.
[0077] FIG. 6 illustrates a routing management method for a vehicle communication system according to a third embodiment of the present invention. The routing management method of FIG. 6 can be performed by the vehicle communication system (1C) described above with reference to FIG. 5.
[0078] Referring to FIG. 6, in a vehicle communication system (1C), a routing cycle setting module (21) monitors the data value change pattern for each message routed from the CAN / CANFD channel (41) to the Ethernet channel (42) (S30). That is, when the first device (10) transmits a message through the CAN / CANFD channel (41), the routing cycle setting module (21) included in the second device (20) receives it through the CAN / CANFD channel (43) and can statistically analyze the pattern of the data value included in the message changing.
[0079] In the above S30 step, when the routing cycle setting module (21) receives a message transmitted from the first device (10) through the CAN / CANFD channel (43), it distinguishes the message according to the type of control signal or information conveyed by the message, and for each message, it can monitor the pattern of change in data values over time by comparing the data values of the previously received message and the currently received message.
[0080] The routing period setting module (21) determines the routing period of each message according to the pattern of data value change of each message monitored through step S30 (S31).
[0081] For example, in step S30, the routing cycle setting module (21) can identify whether there is a change in the data value by comparing each message with the same message previously received, and increase or decrease the value of the counter depending on whether there is a change in the data value. Additionally, the routing cycle setting module (21) can determine whether to maintain, relax, or strengthen the routing cycle corresponding to each message, or to convert each message into an event message, by comparing the counter value of each message increased or decreased in this manner with preset thresholds.
[0082] When the routing cycle setting module (21) determines that a change in the routing cycle of a specific message is determined through steps S30 and S31 (S32), it transmits a request for a change in the routing cycle (mitigation, strengthening, conversion to an event message, etc.) to the OTA server (60) through the gateway (30) (S33).
[0083] Accordingly, the OTA server (60) that receives a request to change the routing cycle generates update information to change the routing policy in response to the received request to change the routing cycle and transmits it to the gateway (30) of the vehicle communication system (1C).
[0084] When the gateway (30) receives routing policy update information from the OTA server (60), it changes the routing policy of the routing policy management module (31) based on the received update information (S34). Subsequently, when the routing policy management module (31) routes a message from the CAN / CANFD channel (41) to the Ethernet channel (42), it controls the routing cycle according to the changed routing policy (S35).
[0086] According to the above-described embodiments, in a vehicle communication system (1A, 1B, 1C), the receiving node (second device (20)) can directly statistically analyze the data value change pattern of a message transmitted by the transmitting node (first device (10)) through the CAN / CANFD channel (41) to dynamically change the routing cycle. Accordingly, unnecessary routing by the gateway (30) can be reduced, thereby reducing the performance load of the gateway (30), and the problem of using a high-spec processor due to the load caused by receiving unnecessary Ethernet messages at the receiving node can be resolved. In addition, in the process of implementing this, the increase in the load of the receiving node can be minimized by using relatively low-speed and low-capacity CAN / CANFD messages for statistical analysis.
[0088] A routing management method for a vehicle communication system according to an embodiment of the present invention can be executed via software. When executed via software, the constituent means of the present invention are code segments that perform necessary tasks. Programs or code segments may be stored on a processor readable medium or transmitted via a computer data signal combined with a carrier wave on a transmission medium or communication network.
[0089] Computer-readable recording media include all types of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, DVD-ROM, DVD-RAM, magnetic tape, floppy disk, hard disk, and optical data storage device. Additionally, computer-readable recording media can be distributed across networked computer devices, allowing computer-readable code to be stored and executed in a distributed manner.
[0090] The drawings and the detailed description of the invention referenced so far are merely exemplary of the invention and are used only for the purpose of explaining the invention, not to limit the meaning or the scope of the invention as defined in the claims. Therefore, those skilled in the art can easily select and substitute from them. Furthermore, those skilled in the art may omit some of the components described in this specification without degrading performance or may add components to improve performance. In addition, those skilled in the art may change the order of the method steps described in this specification depending on the process environment or equipment. Accordingly, the scope of the invention should be determined by the claims and their equivalents, rather than by the described embodiments. Explanation of the symbols
[0091] 10: First device 20: Second device 21: Routing Cycle Configuration Module 30: Gateway 31, 51: Routing policy management module 41, 43: CAN / CANFD channels 42: Ethernet Channel 50: DHCP Server 60: OTA server
Claims
Claim 1 A vehicle communication system comprising: a transmitting node; a receiving node that receives a message transmitted from the transmitting node through an Ethernet channel and a first CAN (controller area network) / CANFD (controller area network flexible data-rate) channel, respectively; and a gateway that receives the message from the transmitting node through a second CAN / CANFD channel and routes the received message to the receiving node through the Ethernet channel, wherein the receiving node determines whether to change the routing period of the message at the gateway based on a data value change pattern of the message received from the transmitting node through the first CAN / CANFD channel. Claim 2 A vehicle communication system according to claim 1, wherein the receiving node transmits a request to change the routing period of the message to the gateway when a change in the routing period of the message is determined, and the gateway responds to the request to change the routing period by increasing or decreasing the routing period of the message or converting the message into an event message. Claim 3 A vehicle communication system according to claim 1, wherein the receiving node transmits a request to change the routing period of the message to a DHCP (Dynamic Host Configuration Protocol) server when a change in the routing period of the message is determined, the DHCP server sets the VLAN (virtual local area network) ID of the message based on the request to change the routing period, and the gateway adjusts the routing period of the message based on the VLAN ID of the message. Claim 4 A vehicle communication system according to claim 1, wherein the receiving node transmits a request to change the routing period of the message to an OTA (over the air) server when a change in the routing period of the message is determined, the OTA server generates update information to update the routing policy of the message based on the request to change the routing period, and the gateway downloads the update information from the OTA server, updates the routing policy based on the update information, and adjusts the routing period of the message based on the updated routing policy. Claim 5 A vehicle communication system according to claim 1, wherein the receiving node increases a counter value by a first value if the data value of the message received through the first CAN / CANFD channel is the same as the data value of the message previously received from the transmitting node through the first CAN / CANFD channel, decreases the counter value by a second value if the data value of the message received through the first CAN / CANFD channel is different from the data value of the message previously received from the transmitting node through the first CAN / CANFD channel, and determines an increase in the routing period of the message if the counter value is greater than or equal to a first threshold. Claim 6 A vehicle communication system according to claim 5, wherein the receiving node determines the event message conversion of the message if the counter value is greater than or equal to a second threshold that is greater than the first threshold. Claim 7 A vehicle communication system according to claim 5, wherein the receiving node determines to decrease the routing period of the message or return the routing period to its initial value when the counter value becomes less than 0. Claim 8 A routing management method for a vehicle communication system comprising: a transmitting node; a receiving node receiving a message transmitted from the transmitting node through an Ethernet channel and a first CAN / CANFD channel, respectively; and a gateway receiving the message from the transmitting node through a second CAN / CANFD channel and routing the received message to the receiving node through the Ethernet channel, the routing management method comprising the step of the receiving node receiving the message transmitted from the transmitting node through the first CAN / CANFD channel; and the step of the receiving node determining whether to change the routing period of the message at the gateway based on a data value change pattern of the message received through the first CAN / CANFD channel. Claim 9 A routing management method according to claim 8, further comprising the steps of: the receiving node transmitting a request to change the routing period of the message to the gateway when a change in the routing period of the message is determined; and the gateway responding to the request to change the routing period by increasing or decreasing the routing period of the message or converting the message into an event message. Claim 10 A routing management method according to claim 8, further comprising the steps of: the receiving node transmitting a request to change the routing period of the message to a DHCP server when a change in the routing period of the message is determined; the DHCP server setting a VLAN ID of the message based on the request to change the routing period; and the gateway adjusting the routing period of the message based on the VLAN ID of the message. Claim 11 A routing management method according to claim 8, further comprising the steps of: the receiving node transmitting a request to change the routing period of the message to an OTA server when a change in the routing period of the message is determined; the gateway downloading update information generated in response to the request to change the routing period from the OTA server; the gateway updating the routing policy of the message based on the update information; and the gateway adjusting the routing period of the message based on the updated routing policy.
Citation Information
Patent Citations
Content managing device and content managing method
CN102498479A
Controller area network communications using ethernet
CN103580973A
Peer to Peer Vehicle Ad Hoc Network with Bandwidth Bonding, Seamless Mobility, and Flow-based Routing
KR1020160048802A
Method of operating a network
US7978615B2