JP6981114B2 - Vehicle network system - Google Patents

Vehicle network system Download PDF

Info

Publication number
JP6981114B2
JP6981114B2 JP2017171090A JP2017171090A JP6981114B2 JP 6981114 B2 JP6981114 B2 JP 6981114B2 JP 2017171090 A JP2017171090 A JP 2017171090A JP 2017171090 A JP2017171090 A JP 2017171090A JP 6981114 B2 JP6981114 B2 JP 6981114B2
Authority
JP
Japan
Prior art keywords
communication
control unit
state
ethernet
communication control
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.)
Active
Application number
JP2017171090A
Other languages
Japanese (ja)
Other versions
JP2019047413A (en
Inventor
弘二 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2017171090A priority Critical patent/JP6981114B2/en
Publication of JP2019047413A publication Critical patent/JP2019047413A/en
Application granted granted Critical
Publication of JP6981114B2 publication Critical patent/JP6981114B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本開示は、車両ネットワークシステムに関する。 The present disclosure relates to a vehicle network system.

車両に要求される機能が多彩化していくにつれ、車両内の機器の搭載位置に関する制約の廃止や、異常状態の発生に対する対応、新たな機器の追加に対する対応などが、要求されるようになると予想される。このような要求に対応するネットワークの仕組みとして、Software Defined Networkがある。そして、この仕組みを実現する手段として、特許文献1に記載の通信処理装置のように、オープンフロープロトコルを適用したオープンフローネットワークがある。 As the functions required of vehicles become more diverse, it is expected that restrictions on the mounting position of equipment in the vehicle will be abolished, measures will be taken to deal with the occurrence of abnormal conditions, and measures will be taken to deal with the addition of new equipment. Will be done. There is a Software Defined Network as a network mechanism that responds to such demands. As a means for realizing this mechanism, there is an open flow network to which an open flow protocol is applied, such as the communication processing device described in Patent Document 1.

特開2016−144117号公報Japanese Unexamined Patent Publication No. 2016-144117

オープンフロープロトコルは、コントローラと複数のスイッチのそれぞれとの間を、通常のメッセージを送信するためのEthernet(登録商標)信号線と、オープンフローメッセージを送信するためのEthernet信号線とで、別個に接続することを推奨している。しかしながら、Ethernetプロトコルに従った車両通信は、CAN(登録商標)プロトコルなどに従った他の車両通信と比べて技術的に成熟していないため、他の車両通信と比べてコストが増加する。そこで、車両ネットワークにオープンフロープロトコルを適用する場合、上述した二本のEthernet信号線のうちの一方をCAN信号線にすることが考えらえる。 The OpenFlow protocol is a separate Ethernet signal line for sending normal messages and an Ethernet signal line for sending OpenFlow messages between the controller and each of the switches. It is recommended to connect. However, vehicle communication according to the Ethernet protocol is not technically mature as compared with other vehicle communication according to the CAN (registered trademark) protocol and the like, so that the cost increases as compared with other vehicle communication. Therefore, when applying the OpenFlow protocol to the vehicle network, it is conceivable to use one of the above-mentioned two Ethernet signal lines as a CAN signal line.

そして、Ethernet信号線とCAN信号線とを用いて構成された車両ネットワークにおいては、車両制御用の制御メッセージ及びオープンフローメッセージの通信が行われる。ここで、オープンフローメッセージの種別や車両の電源状態など、オープンフローメッセージの通信に影響を与える要因が存在する。このような要因によっては、オープンフローメッセージを、二本の信号線のうちの一方で送信すると時間を要してリアルタイムで送信できなかったり、二本の信号線のうちの一方では送信できなかったりする。オープンフローメッセージがリアルタイムで送信されないと、制御メッセージをリアルタイムで送信することも困難になり得る。 Then, in the vehicle network configured by using the Ethernet signal line and the CAN signal line, the control message for vehicle control and the OpenFlow message are communicated. Here, there are factors that affect the communication of the OpenFlow message, such as the type of the OpenFlow message and the power state of the vehicle. Depending on these factors, it may take a long time to send an OpenFlow message on one of the two signal lines, and it may not be possible to send it in real time, or it may not be possible to send it on one of the two signal lines. do. If OpenFlow messages are not sent in real time, it can also be difficult to send control messages in real time.

本開示は、上記実情に鑑みてなされたものであり、コストを抑制しつつ、オープンフローメッセージの通信を適切に行うことができる車両ネットワークシステムを提供することを目的とする。 The present disclosure has been made in view of the above circumstances, and an object of the present disclosure is to provide a vehicle network system capable of appropriately communicating OpenFlow messages while controlling costs.

本開示は、車両に搭載された車両ネットワークシステム(100)であって、第1制御装置(A)と、複数の第2制御装置(B1〜B3)と、第1信号線(50)と、第2信号線(60)と、を備える。第1制御装置は、オープンフロープロトコルに従ってネットワークを制御するように構成されたオープンフロー制御部(10)を有する。複数の第2制御装置は、オープンフロー制御部からの指示を実行するように構成されたオープンフロー処理部(20)を有する。第1信号線は、第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、Ethernetフレームを送信するための信号線である。第2信号線は、第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、CANフレームまたはCAN−FDフレームを送信するための信号線である。さらに、第1制御装置及び複数の第2制御装置のそれぞれは、Ethernet通信制御部(11,21)と、CAN通信制御部(12,22)と、通信選択部(13,23)と、を備える。Ethernet通信制御部は、Ethernetプロトコルに従って通信を制御する。CAN通信制御部は、CANまたはCAN−FDプロトコルに従って通信を制御する。通信選択部は、オープンフローメッセージの通信に影響を与える要因に応じて、オープンフローメッセージを送信する際の通信制御部として、Ethernet通信制御部及びCAN通信制御部のいずれか一方を選択する。 The present disclosure is a vehicle network system (100) mounted on a vehicle, wherein a first control device (A), a plurality of second control devices (B1 to B3), a first signal line (50), and the like. A second signal line (60) is provided. The first control device has an OpenFlow control unit (10) configured to control the network according to the OpenFlow protocol. The plurality of second control devices have an open flow processing unit (20) configured to execute an instruction from the open flow control unit. The first signal line is a signal line connecting each of the first control device and the plurality of second control devices, and is a signal line for transmitting an Ethernet frame. The second signal line is a signal line connecting each of the first control device and the plurality of second control devices, and is a signal line for transmitting a CAN frame or a CAN-FD frame. Further, each of the first control device and the plurality of second control devices includes an Ethernet communication control unit (11, 21), a CAN communication control unit (12, 22), and a communication selection unit (13, 23). Be prepared. The Ethernet communication control unit controls communication according to the Ethernet protocol. The CAN communication control unit controls communication according to the CAN or CAN-FD protocol. The communication selection unit selects either the Ethernet communication control unit or the CAN communication control unit as the communication control unit when transmitting the OpenFlow message, depending on the factors affecting the communication of the OpenFlow message.

本開示によれば、第1制御装置と複数の第2制御装置のそれぞれとが、Ethernet通信用の第1信号線とCAN通信用の第2信号線とで接続されているため、2つの信号線の両方を、Ethernet通信用の信号線とする場合と比べて、コストを抑制できる。そして、オープンフローメッセージの送信方法が、オープンフローメッセージの通信に影響を与える要因に応じて選択される。したがって、第1制御装置及び複数の第2制御装置は、上記要因に応じて、オープンフローメッセージの通信を適切に行うことができる。ひいては、多様な上記要因が存在する場合でも、車両ネットワークシステムは、オープンフロープロトコル作動をさせることができる。 According to the present disclosure, since the first control device and each of the plurality of second control devices are connected by a first signal line for Ethernet communication and a second signal line for CAN communication, two signals are used. Compared with the case where both lines are signal lines for Ethernet communication, the cost can be suppressed. Then, the method of transmitting the OpenFlow message is selected according to the factors affecting the communication of the OpenFlow message. Therefore, the first control device and the plurality of second control devices can appropriately communicate the OpenFlow message according to the above factors. Thus, even in the presence of the various factors mentioned above, the vehicle network system can activate the OpenFlow protocol.

なお、この欄及び特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本開示の技術的範囲を限定するものではない。 In addition, the reference numerals in parentheses described in this column and the scope of claims indicate the correspondence with the specific means described in the embodiment described later as one embodiment, and the technical scope of the present disclosure is defined. It is not limited.

本実施形態の車両ネットワークシステムの構成を示す図である。It is a figure which shows the structure of the vehicle network system of this embodiment. オープンフロープロトコルの推奨通りに実装したネットワークシステムの構成を示す図である。It is a figure which shows the structure of the network system implemented as recommended by the OpenFlow protocol. 制御メッセージの通信とオープンフローメッセージの通信とでEthernet信号線を共用するネットワークシステムの構成を示す図である。It is a figure which shows the structure of the network system which shares the Ethernet signal line between the communication of a control message and the communication of an open flow message. オープンフローメッセージの送信処理の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the transmission processing of the OpenFlow message. 通信方法選択テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the communication method selection table. CAN通信による受信処理の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the reception processing by CAN communication. Ethernet通信による受信処理の処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure of the reception processing by Ethernet communication.

以下、図面を参照しながら、発明を実施するための形態を説明する。
<1.構成>
まず、本開示を適用したネットワークシステム100の構成について、図1を参照して説明する。ネットワークシステム100は、車両に搭載されたネットワークシステムであり、メインネットワーク30と、サブネットワーク40〜43と、を備える。車両は、エンジン自動車、電気自動車、ハイブリッド自動車など、どのような駆動源の車両でもよい。
Hereinafter, embodiments for carrying out the invention will be described with reference to the drawings.
<1. Configuration>
First, the configuration of the network system 100 to which the present disclosure is applied will be described with reference to FIG. The network system 100 is a network system mounted on a vehicle, and includes a main network 30 and sub-networks 40 to 43. The vehicle may be a vehicle of any drive source, such as an engine vehicle, an electric vehicle, or a hybrid vehicle.

メインネットワーク30は、コントローラAと、スイッチB1〜B3と、Ethernet(登録商標)信号線51〜55と、CAN(登録商標)信号線61〜65と、を備え、車両の制御用メッセージやオープンフローメッセージが通信されるネットワークである。 The main network 30 includes a controller A, switches B1 to B3, Ethernet (registered trademark) signal lines 51 to 55, and CAN (registered trademark) signal lines 61 to 65, and includes vehicle control messages and open flow. The network through which messages are communicated.

Ethernet信号線51〜55は、Ethernetプロトコルに従ったEthernetフレームを送信するための信号線である。その内のEthernet信号線51〜53は、それぞれ、コントローラAとスイッチB1〜B3のそれぞれとを1対1で接続する信号線である。残りのEthernet信号線54,55は、それぞれ、スイッチB1とスイッチB2、スイッチB2とスイッチB3を1対1で接続する信号線である。以下では、Ethernet信号線51〜55をまとめてEthernet信号線50と称する。Ethernet信号線50が、本開示の第1信号線に相当する。 The Ethernet signal lines 51 to 55 are signal lines for transmitting an Ethernet frame according to the Ethernet protocol. Among them, the Ethernet signal lines 51 to 53 are signal lines that connect the controller A and the switches B1 to B3 on a one-to-one basis, respectively. The remaining Ethernet signal lines 54 and 55 are signal lines that connect switch B1 and switch B2, and switch B2 and switch B3 on a one-to-one basis, respectively. Hereinafter, the Ethernet signal lines 51 to 55 are collectively referred to as an Ethernet signal line 50. The Ethernet signal line 50 corresponds to the first signal line of the present disclosure.

CAN信号線61〜65は、CANプロトコルに従ったCANフレームを送信するための信号線である。そのうちのCAN信号線61はメイン信号線である。残りのCAN信号線62〜65は、それぞれ、CAN信号線61とコントローラA及びスイッチB1〜B3のそれぞれとを接続するサブ信号線である。つまり、CAN信号線61〜65は、バス型ネットワークを構成している。以下では、CAN信号線61〜65をまとめてCAN信号線60と称する。CAN信号線60が、本開示の第2信号線に相当する。 The CAN signal lines 61 to 65 are signal lines for transmitting CAN frames according to the CAN protocol. The CAN signal line 61 is the main signal line. The remaining CAN signal lines 62 to 65 are sub signal lines connecting the CAN signal line 61 and each of the controllers A and switches B1 to B3, respectively. That is, the CAN signal lines 61 to 65 form a bus-type network. Hereinafter, the CAN signal lines 61 to 65 are collectively referred to as a CAN signal line 60. The CAN signal line 60 corresponds to the second signal line of the present disclosure.

ここで、オープンフロープロトコル通りに実装したメインネットワーク31を図2に示す。メインネットワーク31は、CAN信号線60を備える代わりに、コントローラAとスイッチB1〜B3のそれぞれとを1対1で接続するEthernet信号線500を備える点で、メインネットワーク30と異なる。つまり、メインネットワーク31は、二本の信号線がどちらもEthernet信号線で構成されている。そのため、コストが増大する。 Here, FIG. 2 shows a main network 31 implemented according to the OpenFlow protocol. The main network 31 differs from the main network 30 in that it includes an Ethernet signal line 500 that connects the controller A and the switches B1 to B3 on a one-to-one basis instead of the CAN signal line 60. That is, in the main network 31, both of the two signal lines are composed of Ethernet signal lines. Therefore, the cost increases.

また、信号線をEthernet信号線50の一本のみにしたメインネットワーク32を図3に示す。メインネットワーク32は、CAN信号線60を備えず、Ethernet信号線50のみを備える点で、メインネットワーク30と異なる。つまり、メインネットワーク32は、Ethernet信号線50でオープンフローメッセージと制御メッセージのすべてを送信する。そのため、コストの増大が抑制される。しかしながら、Ethernet信号線50ですべてのメッセージを送信する構成にすると、Ethernet信号線50の通信帯域が逼迫するおそれがある。また、Ethernet信号線50ですべてのメッセージを送信する構成にすると、Ethernet信号線50に異常が発生した場合に、コントローラAが異常検出のオープンフローメッセージを受信できない可能性がある。よって、異常が発生しても、フェールセーフ機能が実現されない可能性がある。 Further, FIG. 3 shows a main network 32 in which only one signal line is used as the Ethernet signal line 50. The main network 32 differs from the main network 30 in that it does not include the CAN signal line 60 but only the Ethernet signal line 50. That is, the main network 32 transmits all of the OpenFlow message and the control message on the Ethernet signal line 50. Therefore, the increase in cost is suppressed. However, if the Ethernet signal line 50 is configured to transmit all messages, the communication band of the Ethernet signal line 50 may become tight. Further, if all the messages are transmitted on the Ethernet signal line 50, the controller A may not be able to receive the OpenFlow message for detecting the abnormality when an abnormality occurs on the Ethernet signal line 50. Therefore, even if an abnormality occurs, the fail-safe function may not be realized.

上述した2つの例に対して、本実施形態に係るメインネットワーク30は、Ethernet信号線50とCAN信号線60とを備えている。そのため、コストの増大を抑制しつつ、異常が発生してもオープンフローネットワークのフェールセーフ機能を維持できる。 In contrast to the above two examples, the main network 30 according to the present embodiment includes an Ethernet signal line 50 and a CAN signal line 60. Therefore, the fail-safe function of the open flow network can be maintained even if an abnormality occurs while suppressing the increase in cost.

コントローラAは、CPU、ROM、RAM及びI/O等を備え、オープンフロープロトコルにおけるコントローラとして機能するECUである。コントローラAには、サブネットワーク40が接続されている。そして、コントローラAは、オープンフロー制御部10と、Ethernet通信制御部11と、CAN通信制御部12と、通信選択部13と、を備える。コントローラAの各機能は、ハードウェア及びソフトウェアの少なくとも一方により実現される。コントローラAが、本開示の第1制御装置に相当する。 The controller A is an ECU that includes a CPU, ROM, RAM, I / O, and the like, and functions as a controller in the OpenFlow protocol. A sub-network 40 is connected to the controller A. The controller A includes an open flow control unit 10, an Ethernet communication control unit 11, a CAN communication control unit 12, and a communication selection unit 13. Each function of the controller A is realized by at least one of hardware and software. The controller A corresponds to the first control device of the present disclosure.

スイッチB1〜B3は、CPU、ROM、RAM及びI/O等を備え、オープンフロープロトコルにおけるスイッチとして機能するECUである。スイッチB1〜B3のそれぞれには、サブネットワーク41〜43のそれぞれが接続されている。そして、コントローラA及びスイッチB1〜B3は、サブネットワーク40〜43の間での車両制御用の制御メッセージの送信を中継する。 The switches B1 to B3 are ECUs including a CPU, ROM, RAM, I / O, etc., and function as switches in the OpenFlow protocol. Subnetworks 41 to 43 are connected to each of the switches B1 to B3. Then, the controller A and the switches B1 to B3 relay the transmission of the control message for vehicle control between the subnets 40 to 43.

本実施形態では、スイッチB1〜B3は、同様の構成となっているため、代表してスイッチB1の構成について説明する。スイッチB1は、オープンフロー処理部20と、Ethernet通信制御部21と、CAN通信制御部22と、通信選択部23と、を備える。スイッチB1〜スイッチB3が、本開示の第2制御装置に相当する。 Since the switches B1 to B3 have the same configuration in the present embodiment, the configuration of the switch B1 will be described as a representative. The switch B1 includes an OpenFlow processing unit 20, an Ethernet communication control unit 21, a CAN communication control unit 22, and a communication selection unit 23. The switch B1 to the switch B3 correspond to the second control device of the present disclosure.

オープンフロー制御部10は、オープンフロープロトコルに従ってメインネットワーク30を制御する。詳しくは、オープンフロー制御部10は、オープンフロープロトコルに従ったオープンフローメッセージを、スイッチB1〜B3へ送信させる。オープンフローメッセージは、コントローラAとスイッチB1〜B3の間でやり取りするメッセージである。オープンフローメッセージには、スイッチB1〜B3の設定用のメッセージ、つまり、メインネットワーク30の通信ルール設定用のメッセージや、情報取得用のメッセージが含まれる。 The open flow control unit 10 controls the main network 30 according to the open flow protocol. Specifically, the OpenFlow control unit 10 causes switches B1 to B3 to transmit an OpenFlow message according to the OpenFlow protocol. The OpenFlow message is a message exchanged between the controller A and the switches B1 to B3. The OpenFlow message includes a message for setting the switches B1 to B3, that is, a message for setting a communication rule of the main network 30, and a message for acquiring information.

オープンフロー処理部20は、オープンフロー制御部10からのオープンフローメッセージに従い実行する。例えば、オープンフロー処理部20は、スイッチB1が通信ルール設定用のオープンフローメッセージを受信した場合に、オープンフローメッセージに応じてスイッチB1の通信ルールを設定する。 The open flow processing unit 20 executes according to the open flow message from the open flow control unit 10. For example, when the switch B1 receives the open flow message for setting the communication rule, the open flow processing unit 20 sets the communication rule of the switch B1 according to the open flow message.

また、オープンフロー処理部20は、スイッチB1が情報取得用のオープンフローメッセージを受信した場合に、要求に応じた情報をオープンフローメッセージでコントローラAへ送信させる。さらに、オープンフロー処理部20は、メインネットワーク30の負荷状態や異常状態、新しいネットワークノードを検出した場合の検出情報を、オープンフローメッセージでコントローラAへ送信させる。 Further, when the switch B1 receives the information acquisition open flow message, the open flow processing unit 20 causes the controller A to transmit the information according to the request by the open flow message. Further, the OpenFlow processing unit 20 causes the controller A to transmit the load state and the abnormal state of the main network 30 and the detection information when a new network node is detected by an OpenFlow message.

Ethernet通信制御部11,21は、Ethernetプロトコルに従って通信を制御する。つまり、Ethernet通信制御部11,21は、Ethernet信号線50を介したEthernetフレームの送信及び受信を行う。以下では、Ethernet通信制御部11,12によって行われる、Ethernet信号線50を介した通信を、Ethernet通信と称する。 The Ethernet communication control units 11 and 21 control communication according to the Ethernet protocol. That is, the Ethernet communication control units 11 and 21 transmit and receive the Ethernet frame via the Ethernet signal line 50. Hereinafter, the communication performed by the Ethernet communication control units 11 and 12 via the Ethernet signal line 50 is referred to as Ethernet communication.

CAN通信制御部12,22は、CANプロトコルに従って通信を制御する。つまり、CAN通信制御部12,22は、CAN信号線60を介したCANフレームの送信及び受信を行う。以下では、CAN通信制御部12,22によって行われる、CAN信号線60を介した通信を、CAN通信と称する。 The CAN communication control units 12 and 22 control communication according to the CAN protocol. That is, the CAN communication control units 12 and 22 transmit and receive the CAN frame via the CAN signal line 60. Hereinafter, the communication performed by the CAN communication control units 12 and 22 via the CAN signal line 60 is referred to as CAN communication.

通信選択部13,23は、オープンフローメッセージの通信に影響を与える要因に応じて、オープンフローメッセージを送信する際の通信制御部として、Ethernet通信制御部11,21及びCAN通信制御部12,22のいずれか一方を選択する。つまり、通信選択部13,23は、オープンフローメッセージを、Ethernet通信とCAN通信のどちらで送信するか選択し、選択した方の通信方法でオープンフローメッセージを送信させる。オープンフローメッセージの通信に影響を与える要因は、予め決められており、オープンフローメッセージの種別や、車両の電源状態を含む。 The communication selection units 13 and 23 are Ethernet communication control units 11 and 21 and CAN communication control units 12 and 22 as communication control units when transmitting an open flow message according to factors affecting the communication of the open flow message. Select one of them. That is, the communication selection units 13 and 23 select whether to transmit the OpenFlow message by Ethernet communication or CAN communication, and cause the OpenFlow message to be transmitted by the selected communication method. Factors that affect the communication of the OpenFlow message are predetermined and include the type of the OpenFlow message and the power state of the vehicle.

サブネットワーク40〜43は、それぞれ、CAN信号線70〜73に複数のECU等の通信装置が接続されて構成されている。CAN信号線70〜73は、CANプロトコルに従ってCANフレームを通信するための信号線である。車両に搭載されたECU等の通信装置は、車両の搭載位置や機能などに応じて分類されて、サブネットワークを構成している。なお、CAN信号線70〜73は、CANプロトコル以外のプロトコルに従ってフレームを送信するための信号線であってもよい。 The subnets 40 to 43 are configured by connecting a plurality of communication devices such as ECUs to the CAN signal lines 70 to 73, respectively. CAN signal lines 70 to 73 are signal lines for communicating CAN frames according to the CAN protocol. Communication devices such as ECUs mounted on a vehicle are classified according to the mounting position and function of the vehicle, and form a sub-network. The CAN signal lines 70 to 73 may be signal lines for transmitting a frame according to a protocol other than the CAN protocol.

本実施形態では、メインネットワーク30において、制御メッセージとオープンフローメッセージの通信が行われ、サブネットワーク40〜43において、制御メッセージの通信が行われる。制御メッセージは、車両を制御するためのメッセージで、所定のECUへの指令等である。例えば、サブネットワーク41に接続されたノードC11から、サブネットワーク42に接続されたノードC21への制御メッセージは、スイッチB1,B2により中継され、Ethernet信号線54を介して送信される。 In the present embodiment, the control message and the open flow message are communicated in the main network 30, and the control message is communicated in the subnets 40 to 43. The control message is a message for controlling the vehicle, and is a command to a predetermined ECU or the like. For example, the control message from the node C11 connected to the subnetwork 41 to the node C21 connected to the subnetwork 42 is relayed by the switches B1 and B2 and transmitted via the Ethernet signal line 54.

そして、メインネットワーク30において、制御メッセージの通信には、基本的に、CAN通信よりも通信速度が速いEthernet通信が用いられる。ただし、Ethernetフレームは、CANフレームよりも転送できるデータサイズが大きい。よって、コントローラA及びスイッチB1〜B3は、メインネットワーク30において、サブネットワーク40〜43のノードから受信した複数のCANフレームを1つのEthernetフレームにまとめて送信する。例えば、コントローラAが、サブネットワーク40のノードC01,02,03から、サブネットワーク41のノードC11,12,13宛ての3つのCANフレームを受信した場合には、3つのCANフレームをまとめて1つのEthernetフレームにする。そして、コントローラAは、そのEthernetフレームをスイッチB1へ送信する。スイッチB1は、受信したEthernetフレームを3つのCANフレームに分けて、ノードC11,12,13へ送信する。 Then, in the main network 30, Ethernet communication, which has a faster communication speed than CAN communication, is basically used for communication of control messages. However, the Ethernet frame has a larger data size that can be transferred than the CAN frame. Therefore, the controllers A and the switches B1 to B3 collectively transmit a plurality of CAN frames received from the nodes of the subnets 40 to 43 in the main network 30 into one Ethernet frame. For example, when the controller A receives three CAN frames addressed to the nodes C11, 12, 13 of the subnetwork 41 from the nodes C01, 02, 03 of the subnetwork 40, the three CAN frames are collectively combined into one. Make it an Ethernet frame. Then, the controller A transmits the Ethernet frame to the switch B1. The switch B1 divides the received Ethernet frame into three CAN frames and transmits the received Ethernet frames to the nodes C11, 12, and 13.

一方、メインネットワーク30において、オープンフローメッセージの通信には、上述したように、通信選択部13,23により選択された通信方法が用いられる。オープンフローメッセージは、その種別によって、メッセージ長や通信頻度、通信タイミングが異なる。メッセージ長の長いオープンフローメッセージの通信を、CAN通信によって行うと、通信に時間がかかり、リアルタイムで通信を行うことが困難な場合が生じる。その結果、制御メッセージの通信をリアルタイムで行うことが困難になったり、Ethernet通信の通信帯域を逼迫させたりする可能性がある。また、通信頻度が高いオープンフローメッセージの通信を、Ethernet通信によって行うと、Ethernet信号線50の通信帯域を逼迫させる可能性がある。よって、コントローラA及びスイッチB1〜B3は、オープンフローメッセージを、オープンフローメッセージの種別に応じて選択された通信方法によって送信する。 On the other hand, in the main network 30, the communication method selected by the communication selection units 13 and 23 is used for the communication of the OpenFlow message, as described above. The message length, communication frequency, and communication timing of OpenFlow messages differ depending on the type. When the communication of the OpenFlow message having a long message length is performed by CAN communication, the communication takes time and it may be difficult to perform the communication in real time. As a result, it may be difficult to perform control message communication in real time, or the communication band of Ethernet communication may be tight. Further, if the communication of the OpenFlow message having a high communication frequency is performed by the Ethernet communication, the communication band of the Ethernet signal line 50 may be tight. Therefore, the controller A and the switches B1 to B3 transmit the OpenFlow message by the communication method selected according to the type of the OpenFlow message.

また、車両の電源状態は、バッテリーオン状態、アクセサリーオン状態及びイグニッションオン状態の3つの状態を含む。イグニッションオン状態は、車両がエンジン自動車の場合には、エンジンが作動している状態であり、車両が電気自動車及びハイブリッド自動車の場合には、走行用モータに電力が供給されて、走行用モータが動作可能になっている状態である。また、本実施形態において、コントローラA及びスイッチB1〜B3は、車両全体の消費電力を抑制するため、CAN通信線60に接続されているCAN通信制御部12,22、及びEthernet通信線50に接続されているEthernet通信制御部11,21を、車両の電源状態に応じて作動状態または非作動状態に切り替える。例えば、車両の電源状態がバッテリーオン状態では、CAN通信制御部12,22、及びEthernet通信制御部11,21は共に非作動状態となり、アクセサリーオン状態では、車両の構成により異なるが、CAN通信制御部12,22は作動状態、Ethernet通信制御部11,21は非作動状態となり、イグニッションオン状態では、CAN通信制御部12,22、及びEthernet通信制御部11,21は共に作動状態となる。なお、アクセサリーオン状態では、CAN通信制御部12,22及びEthernet通信制御部11,21の両方が作動状態となることもある。 The power state of the vehicle includes three states: a battery-on state, an accessory-on state, and an ignition-on state. The ignition on state is a state in which the engine is operating when the vehicle is an engine vehicle, and when the vehicle is an electric vehicle or a hybrid vehicle, power is supplied to the traveling motor to cause the traveling motor. It is in a state where it can be operated. Further, in the present embodiment, the controllers A and the switches B1 to B3 are connected to the CAN communication control units 12 and 22 and the Ethernet communication line 50 connected to the CAN communication line 60 in order to suppress the power consumption of the entire vehicle. The Ethernet communication control units 11 and 21 are switched to an operating state or a non-operating state according to the power state of the vehicle. For example, when the power state of the vehicle is the battery on state, the CAN communication control units 12 and 22 and the Ethernet communication control units 11 and 21 are both inactive, and when the accessory is on, the CAN communication control varies depending on the vehicle configuration. Units 12 and 22 are in the operating state, the Ethernet communication control units 11 and 21 are in the non-operating state, and in the ignition on state, the CAN communication control units 12 and 22 and the Ethernet communication control units 11 and 21 are both in the operating state. In the accessory-on state, both the CAN communication control units 12 and 22 and the Ethernet communication control units 11 and 21 may be in the operating state.

そのため、車両の電源状態によっては、Ethernet通信を用いてオープンフローメッセージを送信できない。よって、オープンフローメッセージは、車両の電源状態に応じて選択された通信方法によって送信される。 Therefore, depending on the power state of the vehicle, it is not possible to transmit an OpenFlow message using Ethernet communication. Therefore, the OpenFlow message is transmitted by the communication method selected according to the power state of the vehicle.

<2.送信処理>
次に、オープンフローメッセージを送信する処理手順について、図4のフローチャートを参照して説明する。本実施形態のオープンフローメッセージの送信処理は、通信選択部13,23が実行する処理の1つである。通信選択部13,23は、オープンフロー制御部10またはオープンフロー処理部20からオープンフローメッセージの送信要求を受ける度、本送信処理を実行する。
<2. Transmission process>
Next, the processing procedure for transmitting the OpenFlow message will be described with reference to the flowchart of FIG. The OpenFlow message transmission process of the present embodiment is one of the processes executed by the communication selection units 13 and 23. The communication selection units 13 and 23 execute this transmission process each time a transmission request for an open flow message is received from the open flow control unit 10 or the open flow processing unit 20.

まず、S10では、車両の電源状態を確認する。また、S15で、車両の電源状態に対応したEthernet通信制御部11,21の作動状態とCAN通信制御12,22の作動状態を確認する。S15において、CAN通信制御部12,22のみが作動状態である場合は、S70へ進み、CAN通信制御部12,22によってオープンフローメッセージを送信させる。 First, in S10, the power state of the vehicle is confirmed. Further, in S15, the operating state of the Ethernet communication control units 11 and 21 corresponding to the power supply state of the vehicle and the operating state of the CAN communication controls 12 and 22 are confirmed. In S15, when only the CAN communication control units 12 and 22 are in the operating state, the process proceeds to S70, and the CAN communication control units 12 and 22 transmit an OpenFlow message.

また、S10において、Ethernet通信制御部11,21のみが作動状態である場合は、S60へ進み、Ethernet通信制御部11,21によってオープンフローメッセージを送信させる。 Further, in S10, when only the Ethernet communication control units 11 and 21 are in the operating state, the process proceeds to S60, and the Ethernet communication control units 11 and 21 transmit an OpenFlow message.

また、S10において、Ethernet通信制御部11,21及びCAN通信制御部12,22の両方が非作動状態である場合は、本処理を終了する。
さらに、S15において、Ethernet通信制御部11,21及びCAN通信制御部12,22の両方が作動状態である場合は、S30へ進み、送信するオープンフローメッセージの種別を確認する。
Further, in S10, when both the Ethernet communication control units 11 and 21 and the CAN communication control units 12 and 22 are in the non-operating state, this process is terminated.
Further, in S15, when both the Ethernet communication control units 11 and 21 and the CAN communication control units 12 and 22 are in the operating state, the process proceeds to S30 to confirm the type of the OpenFlow message to be transmitted.

続いて、S40において、通信方法選択テーブルを参照して、S30で確認したオープンフローメッセージの種別に対応する通信方法を取得する。通信方法選択テーブルは、オープンフローメッセージの種別とそのオープンフローメッセージの通信方法が対応付けられたテーブルであり、コントローラA及びスイッチB1〜B3のメモリに予め記憶されている。図5に、通信方法選択テーブルの一例を示す。 Subsequently, in S40, the communication method corresponding to the type of the OpenFlow message confirmed in S30 is acquired by referring to the communication method selection table. The communication method selection table is a table in which the types of OpenFlow messages and the communication methods of the OpenFlow messages are associated with each other, and is stored in advance in the memories of the controllers A and switches B1 to B3. FIG. 5 shows an example of a communication method selection table.

オープンフローメッセージの種別としては、図5に示すように、Helloメッセージ、Echo Requestメッセージ、Echo Replyメッセージ、Errorメッセージ、Features Requestメッセージ、Features Replyメッセージ、Packet Outメッセージ、Status Requestメッセージ、Status Replyメッセージなどがある。 As shown in FIG. 5, the types of OpenFlow messages include Hello message, Echo Request message, Echo Reply message, Error message, Features Request message, Features Reply message, Packet Out message, Status Request message, Status Reply message, and the like. be.

Helloメッセージは、コントローラAとスイッチB1〜B3との接続開始時に用いられるメッセージである。Echo Requestメッセージは、コントローラAとスイッチB1〜B3との接続の死活監視に用いられるメッセージであり、Echo Replyは、それに対する返信メッセージである。Errorメッセージは、エラーを通知するためのメッセージである。Features Requestは、コントローラAがスイッチB1〜B3にスイッチ情報を要求するメッセージであり、Features Replyは、それに対してスイッチB1〜B3がスイッチ情報を返信するメッセージである。Packet Outは、コントローラAがスイッチB1〜B3から出力させるパケットを送るためのメッセージである。Status Requestは、コントローラAがスイッチB1〜B3に統計情報を要求するメッセージであり、Status Replyは、それに対してスイッチB1〜B3が統計情報を返信するメッセージである。 The Hello message is a message used at the start of connection between the controller A and the switches B1 to B3. The Echo Request message is a message used for alive monitoring of the connection between the controller A and the switches B1 to B3, and the Echo Reply is a reply message to the connection. The Error message is a message for notifying an error. The Features Request is a message in which the controller A requests the switches B1 to B3 for the switch information, and the Features Reply is a message in which the switches B1 to B3 return the switch information. Packet Out is a message for sending a packet to be output by the controller A from the switches B1 to B3. The Status Request is a message in which the controller A requests the switches B1 to B3 for statistical information, and the Status Reply is a message in which the switches B1 to B3 return the statistical information to the switches B1 to B3.

通信方法選択テーブルでは、メッセージ長が予め設定された長さ閾値よりも短いオープンフローメッセージには、CAN通信が対応付けられ、メッセージ長が長さ閾値よりも長いオープンフローメッセージには、Ethernet通信が対応付けられていてもよい。この場合に用いるオープンフローメッセージの種別はメッセージ長である。あるいは、通信方法選択テーブルでは、メッセージ長が長さ閾値よりも短く、かつ、通信頻度が予め設定された頻度閾値よりも高いオープンフローメッセージには、CAN通信が対応付けられていてもよい。そして、通信方法選択テーブルでは、メッセージ長が長さ閾値よりも長い、または、通信頻度が頻度閾値よりも低いオープンフローメッセージには、Ethernet通信が対応付けられていてもよい。この場合に用いるオープンフローメッセージの種別は、メッセージ長及び通信頻度である。 In the communication method selection table, CAN communication is associated with OpenFlow messages whose message length is shorter than the preset length threshold value, and Ethernet communication is associated with OpenFlow messages whose message length is longer than the length threshold value. It may be associated. The type of OpenFlow message used in this case is the message length. Alternatively, in the communication method selection table, CAN communication may be associated with the OpenFlow message whose message length is shorter than the length threshold value and whose communication frequency is higher than the preset frequency threshold value. Then, in the communication method selection table, Ethernet communication may be associated with the OpenFlow message whose message length is longer than the length threshold value or whose communication frequency is lower than the frequency threshold value. The types of OpenFlow messages used in this case are message length and communication frequency.

図5に示す通信方法選択テーブルでは、上の欄ほど、メッセージ長が短くかつ通信頻度が高いオープンフローメッセージを示し、下の欄ほど、メッセージ長が長いまたは通信頻度が低いオープンフローメッセージを示している。一般的に、メッセージ長の長いオープンフローメッセージは、通信ルール設定用のメッセージであり、コントローラA及びスイッチB1〜B3の起動時などに送信されるだけである。つまり、一般的に、メッセージ長の長いオープンフローメッセージは、制御メッセージの送信開始前に送信され、通信頻度も低い。そのため、メッセージ長の長いオープンフローメッセージをEthernet通信によって送信しても、Ethernet通信の通信帯域を逼迫させる可能性は低い。 In the communication method selection table shown in FIG. 5, the upper column indicates an OpenFlow message with a short message length and a high communication frequency, and the lower column indicates an OpenFlow message with a long message length or a low communication frequency. There is. Generally, an OpenFlow message having a long message length is a message for setting a communication rule, and is only transmitted when the controller A and the switches B1 to B3 are activated. That is, in general, an OpenFlow message having a long message length is transmitted before the start of transmission of the control message, and the communication frequency is low. Therefore, even if an OpenFlow message having a long message length is transmitted by Ethernet communication, it is unlikely that the communication band of Ethernet communication will be tight.

なお、コントローラAは、長さ閾値や頻度閾値を変更して、オープンフローメッセージの種別と通信方法との対応関係を変更し、自身の通信方法選択テーブルを変更するとともに、スイッチB1〜B3の通信方法選択テーブルを変更させてもよい。 The controller A changes the length threshold value and the frequency threshold value, changes the correspondence between the type of the OpenFlow message and the communication method, changes its own communication method selection table, and communicates with the switches B1 to B3. The method selection table may be changed.

続いて、S50において、S40で取得した通信方法を判定する。S50において、通信方法がEthernet通信であると判定した場合は、S60へ進み、Ethernet通信制御部11,21から、オープンフローメッセージを送信させる。一方、S50において、通信方法がCAN通信であると判定した場合は、S70へ進み、CAN通信制御部12,22から、オープンフローメッセージを送信させる。以上により、本処理を終了する。 Subsequently, in S50, the communication method acquired in S40 is determined. If it is determined in S50 that the communication method is Ethernet communication, the process proceeds to S60, and the Ethernet communication control units 11 and 21 transmit an OpenFlow message. On the other hand, if it is determined in S50 that the communication method is CAN communication, the process proceeds to S70, and the CAN communication control units 12 and 22 transmit an OpenFlow message. This completes this process.

<3.受信処理>
次に、CANフレームのメッセージを受信する処理手順について、図6のフローチャートを参照して説明する。本実施形態のCAN受信処理は、CAN通信制御部12,22が実行する処理の1つである。CAN通信制御部12,22は、CANフレームのメッセージを受信する度、本CAN受信処理を実行する。
<3. Reception processing>
Next, the processing procedure for receiving the CAN frame message will be described with reference to the flowchart of FIG. The CAN reception process of this embodiment is one of the processes executed by the CAN communication control units 12 and 22. The CAN communication control units 12 and 22 execute the CAN reception process each time a CAN frame message is received.

まず、S100では、受信したメッセージのCAN IDを確認する。ネットワークシステム100において、CAN IDのそれぞれには、オープンフローメッセージであるか否か及び送信先のECUが予め対応付けられている。 First, in S100, the CAN ID of the received message is confirmed. In the network system 100, each of the CAN IDs is associated with whether or not it is an OpenFlow message and the ECU of the transmission destination in advance.

続いて、S110では、S100において確認したCAN IDが、オープンフローメッセージ用のCAN IDであるか否か判定する。S100において確認したCAN IDが、オープンフローメッセージ用のCAN IDである場合、S120へ進む。S120では、受信したメッセージをオープンフローメッセージとして取得するとともに制御する。 Subsequently, in S110, it is determined whether or not the CAN ID confirmed in S100 is the CAN ID for the OpenFlow message. If the CAN ID confirmed in S100 is the CAN ID for the OpenFlow message, the process proceeds to S120. In S120, the received message is acquired and controlled as an OpenFlow message.

一方、S100において確認したCAN IDが、オープンフローメッセージ用のCAN IDではない場合、すなわち制御メッセージ用のCAN IDの場合には、S130へ進む。S130では、受信したメッセージを制御メッセージとして取得するとともに制御する。以上で本処理を終了する。 On the other hand, if the CAN ID confirmed in S100 is not the CAN ID for the OpenFlow message, that is, the CAN ID for the control message, the process proceeds to S130. In S130, the received message is acquired and controlled as a control message. This is the end of this process.

次に、Ethernetフレームのメッセージを受信する処理手順について、図7のフローチャートを参照して説明する。本実施形態のEthernet受信処理は、Ethernet通信制御部11,21が実行する処理の1つである。Ethernet通信制御部11,21は、Ethernetフレームのメッセージを受信する度、本Ethernet受信処理を実行する。 Next, the processing procedure for receiving the message of the Ethernet frame will be described with reference to the flowchart of FIG. 7. The Ethernet reception process of the present embodiment is one of the processes executed by the Ethernet communication control units 11 and 21. The Ethernet communication control units 11 and 21 execute this Ethernet reception process each time a message of an Ethernet frame is received.

まず、S200では、受信したメッセージを確認する。具体的には、受信したメッセージのOSI Layer2に設定されたVLAN、あるいは、OSI Layer4に設定された論理ポートを確認する。 First, in S200, the received message is confirmed. Specifically, the VLAN set in OSI Layer 2 of the received message or the logical port set in OSI Layer 4 is confirmed.

続いて、S210では、受信したメッセージがオープンフローメッセージか否か判定する。具体的には、受信したメッセージのOSI Layer2に設定されたVLANがオープンフロー用VLANの場合、または、OSI Layer4に設定された論理ポートがオープンフロー用ポートの場合に、受信したメッセージがオープンフローメッセージであると判定する。S210において、受信したメッセージがオープンフローメッセージであると判定した場合には、S220に進む。S220では、受信したメッセージをオープンフローメッセージとして取得するとともに制御する。 Subsequently, in S210, it is determined whether or not the received message is an OpenFlow message. Specifically, when the VLAN set in OSI Layer 2 of the received message is an OpenFlow VLAN, or when the logical port set in OSI Layer 4 is an OpenFlow port, the received message is an OpenFlow message. Is determined to be. If it is determined in S210 that the received message is an OpenFlow message, the process proceeds to S220. In S220, the received message is acquired and controlled as an OpenFlow message.

一方、S210において、受信したメッセージがオープンフローメッセージではないと判定した場合、つまり制御メッセージと判定した場合には、S230へ進む。S230では、受信したメッセージを制御メッセージとして取得するとともに制御する。以上で本処理を終了する。 On the other hand, if it is determined in S210 that the received message is not an OpenFlow message, that is, if it is determined to be a control message, the process proceeds to S230. In S230, the received message is acquired and controlled as a control message. This is the end of this process.

<5.効果>
以上説明した本実施形態によれば、以下の効果が得られる。
(1)コントローラAと複数のスイッチB1〜B3のそれぞれとが、Ethernet信号線50とCAN信号線60とで接続されているため、2つの信号線の両方を、Ethernet信号線とする場合と比べて、コストを抑制できる。そして、オープンフローメッセージの送信方法が、オープンフローメッセージの通信に影響を与える要因に応じて選択される。したがって、コントローラA及びスイッチB1〜B3は、上記要因に応じて、オープンフローメッセージの通信を適切に行うことができる。ひいては、多様な上記要因が存在する場合でも、車両ネットワークシステムは、オープンフロープロトコル作動させることができる。
<5. Effect>
According to the present embodiment described above, the following effects can be obtained.
(1) Since the controller A and each of the plurality of switches B1 to B3 are connected by the Ethernet signal line 50 and the CAN signal line 60, compared with the case where both of the two signal lines are used as Ethernet signal lines. Therefore, the cost can be suppressed. Then, the method of transmitting the OpenFlow message is selected according to the factors affecting the communication of the OpenFlow message. Therefore, the controller A and the switches B1 to B3 can appropriately communicate the OpenFlow message according to the above factors. Thus, even in the presence of the various factors mentioned above, the vehicle network system can operate the OpenFlow protocol.

(2)車両の電源状態に応じて、オープンフローメッセージの送信方法が選択される。よって、消費電力抑制のために、Ethernet通信制御部11,21が非作動状態になっている場合でも、コントローラA及びスイッチB1〜B3は、作動状態になっているCAN通信制御部12,22を用いて、オープンフローメッセージを送信することができる。 (2) The method of transmitting the OpenFlow message is selected according to the power state of the vehicle. Therefore, in order to suppress power consumption, even when the Ethernet communication control units 11 and 21 are in the non-operating state, the controllers A and the switches B1 to B3 keep the CAN communication control units 12 and 22 in the operating state. Can be used to send OpenFlow messages.

(3)Ethernet通信制御部11,21が作動状態になった以降においては、オープンフローメッセージの種別に応じて通信方法が選択される。そのため、制御メッセージの通信が始まり、Ethernet通信の通信負荷が高くなった場合でも、コントローラA及びスイッチB1〜B3は、Ethernet通信の通信帯域を逼迫させることを抑制しつつ、オープンフローメッセージを送信することができる。 (3) After the Ethernet communication control units 11 and 21 are in the operating state, the communication method is selected according to the type of the OpenFlow message. Therefore, even when the communication of the control message starts and the communication load of the Ethernet communication becomes high, the controllers A and the switches B1 to B3 transmit the OpenFlow message while suppressing the narrowing of the communication band of the Ethernet communication. be able to.

(4)1つのCANフレームにおけるプロトコル制御用の情報は、1つのEthernetフレームにおけるプロトコル制御用の情報よりも少ない。そのため、比較的短いメッセージ長のオープンフローメッセージは、CAN通信によって送信される。これにより、通信効率を上げることができる。また、コントローラA及びスイッチB1〜B3は、Ethernet通信を用いて、比較的長いメッセージ長のオープンフローメッセージを送信することで、Ethernet通信の通信帯域を逼迫させることを抑制しつつ、通信速度を上げることができる。 (4) The information for protocol control in one CAN frame is less than the information for protocol control in one Ethernet frame. Therefore, an OpenFlow message with a relatively short message length is transmitted by CAN communication. As a result, communication efficiency can be improved. Further, the controller A and the switches B1 to B3 use Ethernet communication to transmit an OpenFlow message having a relatively long message length, thereby increasing the communication speed while suppressing the tight communication band of the Ethernet communication. be able to.

(5)コントローラA及びスイッチB1〜B3は、メッセージ長に加えて通信頻度に応じて通信方法を選択することにより、Ethernet通信の通信帯域を逼迫させることをさらに抑制しつつ、オープンフローメッセージを送信することができる。 (5) The controller A and the switches B1 to B3 transmit an OpenFlow message while further suppressing the tightness of the communication band of Ethernet communication by selecting a communication method according to the communication frequency in addition to the message length. can do.

(他の実施形態)
以上、本開示を実施するための形態について説明したが、本開示は上述の実施形態に限定されることなく、種々変形して実施することができる。
(Other embodiments)
Although the embodiment for carrying out the present disclosure has been described above, the present disclosure is not limited to the above-described embodiment, and can be variously modified and carried out.

(a)上記実施形態では、コントローラA及びスイッチB1〜B3は、CAN通信制御部12,22及びEthernet通信制御部11,21の両方が作動状態の場合には、オープンフローメッセージの種別に応じて通信方法を選択したが、本開示はこれに限定されるものではない。コントローラA及びスイッチB1〜B3は、CAN通信制御部12,22及びEthernet通信制御部11,21の両方が作動状態の場合には、オープンフローメッセージの種別にかかわらず、Ethernet通信によってオープンフローメッセージを送信してもよい。このようにしても、コントローラA及びスイッチB1〜B3は、Ethernet通信が非作動状態になっている場合に、作動状態になっているCAN通信を用いて、オープンフローメッセージを送信することができる。 (A) In the above embodiment, when both the CAN communication control units 12 and 22 and the Ethernet communication control units 11 and 21 are in the operating state, the controller A and the switches B1 to B3 depend on the type of the OpenFlow message. The communication method has been selected, but the present disclosure is not limited to this. When both the CAN communication control units 12 and 22 and the Ethernet communication control units 11 and 21 are in operation, the controllers A and the switches B1 to B3 transmit an OpenFlow message by Ethernet communication regardless of the type of the OpenFlow message. You may send it. Even in this way, the controller A and the switches B1 to B3 can transmit the OpenFlow message by using the CAN communication in the operating state when the Ethernet communication is in the non-operating state.

(b)上記実施形態及びその変形例に係る図4のフローチャートにおいて、コントローラA及びスイッチB1〜B3は、S10,S15及びS20の処理は実行しなくてもよい。すなわち、コントローラA及びスイッチB1〜B3は、通信制御部の作動状態にかかわらず、オープンフローメッセージの種別のみに応じて、通信方法を選択してもよい。このようにしても、コントローラA及びスイッチB1〜B3は、車両の制御メッセージの通信帯域を逼迫させることなく、オープンフローメッセージの通信を行うことができる。ただし、この場合、通信が正しく行われない場合のフェールセーフ処理等が必要になる。 (B) In the flowchart of FIG. 4 according to the above embodiment and its modification, the controllers A and the switches B1 to B3 do not have to execute the processes of S10, S15 and S20. That is, the controller A and the switches B1 to B3 may select the communication method only according to the type of the OpenFlow message, regardless of the operating state of the communication control unit. Even in this way, the controller A and the switches B1 to B3 can communicate the OpenFlow message without tightening the communication band of the control message of the vehicle. However, in this case, fail-safe processing or the like is required when communication is not performed correctly.

(c)上記実施形態及びその変形例において、CAN信号線60は、CAN−FDプロトコルに従ってCAN−FDフレームを送信するための信号線であってもよい。この場合、CAN通信制御部12,22は、CAN−FDプロトコルに従って通信を制御する通信制御部として構成し、通信選択部13,23は、CAN通信の代わりに、CAN−FD通信を選択するように構成すればよい。 (C) In the above embodiment and its modifications, the CAN signal line 60 may be a signal line for transmitting a CAN-FD frame according to the CAN-FD protocol. In this case, the CAN communication control units 12 and 22 are configured as communication control units that control communication according to the CAN-FD protocol, and the communication selection units 13 and 23 select CAN-FD communication instead of CAN communication. It may be configured as.

(d)上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加または置換してもよい。なお、特許請求の範囲に記載した文言のみによって特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。 (D) A plurality of functions possessed by one component in the above embodiment may be realized by a plurality of components, or one function possessed by one component may be realized by a plurality of components. .. Further, a plurality of functions possessed by the plurality of components may be realized by one component, or one function realized by the plurality of components may be realized by one component. Further, a part of the configuration of the above embodiment may be omitted. Further, at least a part of the configuration of the above embodiment may be added or replaced with the configuration of the other above embodiment. It should be noted that all aspects included in the technical idea specified only by the wording described in the claims are embodiments of the present disclosure.

10…オープンフロー制御部、11,21…Ethernet通信制御部、12,22…CAN通信制御部、13,23…通信選択部、20…オープンフロー処理部、51〜55…Ethernet信号線、61〜65…CAN信号線、100…ネットワークシステム、A…コントローラ、B1〜B3…スイッチ。 10 ... Openflow control unit, 11,21 ... Ethernet communication control unit, 12,22 ... CAN communication control unit, 13,23 ... Communication selection unit, 20 ... Openflow processing unit, 51-55 ... Ethernet signal line, 611- 65 ... CAN signal line, 100 ... Network system, A ... Controller, B1 to B3 ... Switch.

Claims (7)

車両に搭載された車両ネットワークシステム(100)であって、
オープンフロープロトコルに従ってネットワークを制御するように構成されたオープンフロー制御部(10)を有する第1制御装置(A)と、
前記オープンフロー制御部からの指示を実行するように構成されたオープンフロー処理部(20)を有する複数の第2制御装置(B1〜B3)と、
前記第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、Ethernet(登録商標)フレームを送信するための第1信号線(51〜55)と、
前記第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、CAN(登録商標)フレームまたはCAN−FDフレームを送信するための第2信号線(61〜65)と、
を備え、
前記第1制御装置及び前記複数の第2制御装置のそれぞれは、
Ethernetプロトコルに従って通信を制御するように構成されたEthernet通信制御部(11,21)と、
CANまたはCAN−FDプロトコルに従って通信を制御するように構成されたCAN通信制御部(12,22)と、
オープンフローメッセージの通信に影響を与える要因に応じて、前記オープンフローメッセージを送信する際の通信制御部として、前記Ethernet通信制御部及び前記CAN通信制御部のいずれか一方を選択するように構成された通信選択部(13,23)と、
を備え、
前記要因は、オープンフローメッセージの種別を含み、
前記通信選択部は、前記オープンフローメッセージの種別に応じて、前記通信制御部を選択するように構成されている、
車両ネットワークシステム。
A vehicle network system (100) mounted on a vehicle.
A first control device (A) having an OpenFlow control unit (10) configured to control a network according to an OpenFlow protocol.
A plurality of second control devices (B1 to B3) having an open flow processing unit (20) configured to execute an instruction from the open flow control unit.
A signal line connecting the first control device and each of the plurality of second control devices, the first signal line (51 to 55) for transmitting an Ethernet® frame, and the like.
A signal line connecting each of the first control device and the plurality of second control devices, the second signal line (61 to 65) for transmitting a CAN (registered trademark) frame or a CAN-FD frame. When,
Equipped with
Each of the first control device and the plurality of second control devices
An Ethernet communication control unit (11, 21) configured to control communication according to the Ethernet protocol, and
A CAN communication control unit (12, 22) configured to control communication according to the CAN or CAN-FD protocol, and
It is configured to select either one of the Ethernet communication control unit and the CAN communication control unit as the communication control unit when transmitting the OpenFlow message, depending on the factors affecting the communication of the OpenFlow message. Communication selection unit (13, 23) and
Bei to give a,
The factors include the type of OpenFlow message.
The communication selection unit is configured to select the communication control unit according to the type of the OpenFlow message.
Vehicle network system.
車両に搭載された車両ネットワークシステム(100)であって、
オープンフロープロトコルに従ってネットワークを制御するように構成されたオープンフロー制御部(10)を有する第1制御装置(A)と、
前記オープンフロー制御部からの指示を実行するように構成されたオープンフロー処理部(20)を有する複数の第2制御装置(B1〜B3)と、
前記第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、Ethernet(登録商標)フレームを送信するための第1信号線(51〜55)と、
前記第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、CAN(登録商標)フレームまたはCAN−FDフレームを送信するための第2信号線(61〜65)と、
を備え、
前記第1制御装置及び前記複数の第2制御装置のそれぞれは、
Ethernetプロトコルに従って通信を制御するように構成されたEthernet通信制御部(11,21)と、
CANまたはCAN−FDプロトコルに従って通信を制御するように構成されたCAN通信制御部(12,22)と、
オープンフローメッセージの通信に影響を与える要因に応じて、前記オープンフローメッセージを送信する際の通信制御部として、前記Ethernet通信制御部及び前記CAN通信制御部のいずれか一方を選択するように構成された通信選択部(13,23)と、
を備え、
前記要因は、前記Ethernet通信制御部及びCAN通信制御部の作動状態を含み、
前記通信選択部は、前記Ethernet通信制御部及びCAN通信制御部の作動状態に応じて、前記通信制御部を選択し、
前記通信選択部は、
前記CAN通信制御部及び前記Ethernet通信制御部のうちの前記CAN通信制御部のみが作動状態の場合は、前記CAN通信制御部を選択し、
前記Ethernet通信制御部及び前記CAN通信制御部が両方作動状態の場合は、前記オープンフローメッセージの種別に応じて、前記通信制御部を選択するように構成されている、
車両ネットワークシステム。
A vehicle network system (100) mounted on a vehicle.
A first control device (A) having an OpenFlow control unit (10) configured to control a network according to an OpenFlow protocol.
A plurality of second control devices (B1 to B3) having an open flow processing unit (20) configured to execute an instruction from the open flow control unit, and
A signal line connecting the first control device and each of the plurality of second control devices, the first signal line (51 to 55) for transmitting an Ethernet® frame, and the like.
A signal line connecting each of the first control device and the plurality of second control devices, the second signal line (61 to 65) for transmitting a CAN (registered trademark) frame or a CAN-FD frame. When,
Equipped with
Each of the first control device and the plurality of second control devices
An Ethernet communication control unit (11, 21) configured to control communication according to the Ethernet protocol, and
A CAN communication control unit (12, 22) configured to control communication according to the CAN or CAN-FD protocol, and
It is configured to select either one of the Ethernet communication control unit and the CAN communication control unit as the communication control unit when transmitting the OpenFlow message, depending on the factors affecting the communication of the OpenFlow message. Communication selection unit (13, 23) and
Bei to give a,
The factor includes the operating state of the Ethernet communication control unit and the CAN communication control unit.
The communication selection unit selects the communication control unit according to the operating state of the Ethernet communication control unit and the CAN communication control unit.
The communication selection unit is
When only the CAN communication control unit of the CAN communication control unit and the Ethernet communication control unit is in the operating state, the CAN communication control unit is selected.
When both the Ethernet communication control unit and the CAN communication control unit are in the operating state, the communication control unit is configured to be selected according to the type of the OpenFlow message.
Vehicle network system.
車両に搭載された車両ネットワークシステム(100)であって、
オープンフロープロトコルに従ってネットワークを制御するように構成されたオープンフロー制御部(10)を有する第1制御装置(A)と、
前記オープンフロー制御部からの指示を実行するように構成されたオープンフロー処理部(20)を有する複数の第2制御装置(B1〜B3)と、
前記第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、Ethernet(登録商標)フレームを送信するための第1信号線(51〜55)と、
前記第1制御装置と前記複数の第2制御装置のそれぞれとを接続する信号線であって、CAN(登録商標)フレームまたはCAN−FDフレームを送信するための第2信号線(61〜65)と、
を備え、
前記第1制御装置及び前記複数の第2制御装置のそれぞれは、
Ethernetプロトコルに従って通信を制御するように構成されたEthernet通信制御部(11,21)と、
CANまたはCAN−FDプロトコルに従って通信を制御するように構成されたCAN通信制御部(12,22)と、
オープンフローメッセージの通信に影響を与える要因に応じて、前記オープンフローメッセージを送信する際の通信制御部として、前記Ethernet通信制御部及び前記CAN通信制御部のいずれか一方を選択するように構成された通信選択部(13,23)と、
を備え、
前記要因は、前記車両の電源状態を含み、
前記通信選択部は、前記車両の電源状態と、それに対応する前記Ethernet通信制御部及びCAN通信制御部の作動状態に応じて、前記通信制御部を選択する、
車両ネットワークシステム。
A vehicle network system (100) mounted on a vehicle.
A first control device (A) having an OpenFlow control unit (10) configured to control a network according to an OpenFlow protocol.
A plurality of second control devices (B1 to B3) having an open flow processing unit (20) configured to execute an instruction from the open flow control unit.
A signal line connecting the first control device and each of the plurality of second control devices, the first signal line (51 to 55) for transmitting an Ethernet® frame, and the like.
A signal line connecting each of the first control device and the plurality of second control devices, the second signal line (61 to 65) for transmitting a CAN (registered trademark) frame or a CAN-FD frame. When,
Equipped with
Each of the first control device and the plurality of second control devices
An Ethernet communication control unit (11, 21) configured to control communication according to the Ethernet protocol, and
A CAN communication control unit (12, 22) configured to control communication according to the CAN or CAN-FD protocol, and
It is configured to select either one of the Ethernet communication control unit and the CAN communication control unit as the communication control unit when transmitting the OpenFlow message, depending on the factors affecting the communication of the OpenFlow message. Communication selection unit (13, 23) and
Bei to give a,
The factors include the power state of the vehicle.
The communication selection unit selects the communication control unit according to the power supply state of the vehicle and the operating states of the Ethernet communication control unit and the CAN communication control unit corresponding thereto.
Vehicle network system.
前記電源状態は、バッテリーオン状態、アクセサリーオン状態、及びイグニッションオン状態の3つの状態を含み、
前記Ethernet通信制御部は、前記電源状態が前記バッテリーオン状態の場合に非作動状態であり、前記電源状態が前記アクセサリーオン状態及び前記イグニッションオン状態の場合に作動状態であり、
前記CAN通信制御部は、前記電源状態が前記バッテリーオン状態の場合に非作動状態であり、前記電源状態が前記アクセサリーオン状態及び前記イグニッションオン状態の場合に作動状態であり
前記通信選択部は、
前記電源状態が前記バッテリーオン状態の場合は、前記CAN通信制御部及び前記Ethernet通信制御部のいずれも選択せず、
前記電源状態が前記アクセサリーオン状態または前記イグニッションオン状態の場合は、前記Ethernet通信制御部を選択するように構成されている、
請求項に記載の車両ネットワークシステム。
The power state includes three states: a battery-on state, an accessory-on state, and an ignition-on state.
The Ethernet communication control unit is in a non-operating state when the power supply state is the battery on state, and is in the operating state when the power supply state is the accessory on state and the ignition on state.
The CAN communication control unit is in a non-operating state when the power supply state is the battery on state, and is in the operating state when the power supply state is the accessory on state and the ignition on state, and the communication selection unit is a communication selection unit.
When the power supply state is the battery-on state, neither the CAN communication control unit nor the Ethernet communication control unit is selected.
When the power supply state is the accessory-on state or the ignition-on state, the Ethernet communication control unit is configured to be selected.
The vehicle network system according to claim 3.
前記電源状態は、バッテリーオン状態、アクセサリーオン状態、及びイグニッションオン状態の3つの状態を含み、
前記Ethernet通信制御部は、前記電源状態が前記バッテリーオン状態及び前記アクセサリーオンの状態の場合に非作動状態であり、前記電源状態が前記イグニッションオン状態の場合に作動状態であり、
前記CAN通信制御部は、前記電源状態が前記バッテリーオン状態の場合に非作動状態であり、前記電源状態が前記アクセサリーオン状態及び前記イグニッションオン状態の場合に作動状態であり
前記通信選択部は、
前記電源状態が前記バッテリーオン状態の場合は、前記CAN通信制御部及び前記Ethernet通信制御部のいずれも選択せず、
前記電源状態が前記アクセサリーオン状態の場合は、前記CAN通信制御部を選択し、
前記電源状態が前記イグニッションオン状態の場合は、前記Ethernet通信制御部を選択するように構成されている、
請求項に記載の車両ネットワークシステム。
The power state includes three states: a battery-on state, an accessory-on state, and an ignition-on state.
The Ethernet communication control unit is in a non-operating state when the power supply state is the battery-on state and the accessory-on state, and is in the operating state when the power supply state is the ignition-on state.
The CAN communication control unit is in a non-operating state when the power supply state is the battery on state, and is in the operating state when the power supply state is the accessory on state and the ignition on state, and the communication selection unit is a communication selection unit.
When the power supply state is the battery-on state, neither the CAN communication control unit nor the Ethernet communication control unit is selected.
When the power supply state is the accessory on state, the CAN communication control unit is selected.
When the power supply state is the ignition on state, the Ethernet communication control unit is configured to be selected.
The vehicle network system according to claim 3.
前記オープンフローメッセージの種別は、メッセージ長を含み、
前記通信選択部は、
前記メッセージ長が設定された長さ閾値よりも短い場合は、前記CAN通信制御部を選択し、
前記メッセージ長が前記長さ閾値よりも長い場合は、前記Ethernet通信制御部を選択するように構成されている、
請求項又はに記載の車両ネットワークシステム。
The type of the OpenFlow message includes the message length and
The communication selection unit is
If the message length is shorter than the set length threshold value, select the CAN communication control unit and select the CAN communication control unit.
When the message length is longer than the length threshold value, the Ethernet communication control unit is configured to be selected.
The vehicle network system according to claim 1 or 2.
前記オープンフローメッセージの種別は、メッセージ長及び通信頻度を含み、
前記通信選択部は、
前記メッセージ長が設定された長さ閾値よりも短く、かつ前記通信頻度が設定された頻度閾値よりも高い場合は、前記CAN通信制御部を選択し、
前記メッセージ長が前記長さ閾値よりも長い場合、または、前記通信頻度が前記頻度閾値よりも低い場合は、前記Ethernet通信制御部を選択するように構成されている、
請求項1、2、6のいずれか1項に記載の車両ネットワークシステム。
The type of the OpenFlow message includes the message length and the communication frequency.
The communication selection unit is
When the message length is shorter than the set length threshold value and the communication frequency is higher than the set frequency threshold value, the CAN communication control unit is selected.
When the message length is longer than the length threshold value, or when the communication frequency is lower than the frequency threshold value, the Ethernet communication control unit is configured to be selected.
The vehicle network system according to any one of claims 1, 2 and 6.
JP2017171090A 2017-09-06 2017-09-06 Vehicle network system Active JP6981114B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017171090A JP6981114B2 (en) 2017-09-06 2017-09-06 Vehicle network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017171090A JP6981114B2 (en) 2017-09-06 2017-09-06 Vehicle network system

Publications (2)

Publication Number Publication Date
JP2019047413A JP2019047413A (en) 2019-03-22
JP6981114B2 true JP6981114B2 (en) 2021-12-15

Family

ID=65814863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017171090A Active JP6981114B2 (en) 2017-09-06 2017-09-06 Vehicle network system

Country Status (1)

Country Link
JP (1) JP6981114B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021240663A1 (en) * 2020-05-26 2021-12-02 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Communication log aggregation device and communication log aggregation method
KR20220045497A (en) 2020-10-05 2022-04-12 주식회사 엘지에너지솔루션 Apparatus and method for managing battery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017005617A (en) * 2015-06-15 2017-01-05 株式会社デンソー Relay device, electronic device, and communication system
TWI580227B (en) * 2015-06-17 2017-04-21 財團法人工業技術研究院 Routing gateway selecting method, controller and vehicles network system

Also Published As

Publication number Publication date
JP2019047413A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
US20160182341A1 (en) Switching over the Mode of a Control Unit Between a Diagnostic Bus and an External Ethernet Connection
KR102299941B1 (en) Limp-home operation of audio video bridging networks
US10992599B2 (en) Communication method of ethernet network for vehicle
WO2018061362A1 (en) Gateway, in-vehicle communication system, communication control method and communication control program
KR102300764B1 (en) Diagnostic methods and devices in vehicle network
WO2020039844A1 (en) In-vehicle communication device and in-vehicle system
KR20160096526A (en) Method for diagnosing network and apparatus for the same
JP7400820B2 (en) In-vehicle communication system, in-vehicle device and vehicle communication method
JP6981114B2 (en) Vehicle network system
US10070389B2 (en) Relay apparatus
JP2017188793A (en) Controller for communication control and system for communication control
KR101886076B1 (en) System and method for managing control device of network
KR20160146045A (en) Operating method of a communication node in automotive network
JP6569547B2 (en) Communication method
JP7001026B2 (en) Vehicle communication device
CN110071846B (en) Electronic control unit, monitoring method, and non-transitory computer readable medium
JP6428502B2 (en) Relay device
JP2004349961A (en) Repeating device and program
JP6593230B2 (en) Communications system
JP6919373B2 (en) Network system
JP2017114406A (en) Network system
JP2015177365A (en) Communication node, communication system and communication method
JP6946733B2 (en) Communication system, relay device and electronic control device
JP7226164B2 (en) In-vehicle communication relay device
JP7031568B2 (en) In-vehicle network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211019

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211101

R151 Written notification of patent or utility model registration

Ref document number: 6981114

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151