[go: up one dir, main page]

JP2004260484A - In-vehicle communication system and gateway device - Google Patents

In-vehicle communication system and gateway device Download PDF

Info

Publication number
JP2004260484A
JP2004260484A JP2003048121A JP2003048121A JP2004260484A JP 2004260484 A JP2004260484 A JP 2004260484A JP 2003048121 A JP2003048121 A JP 2003048121A JP 2003048121 A JP2003048121 A JP 2003048121A JP 2004260484 A JP2004260484 A JP 2004260484A
Authority
JP
Japan
Prior art keywords
communication
information
vehicle
log
communication log
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.)
Pending
Application number
JP2003048121A
Other languages
Japanese (ja)
Inventor
Yoshio Nakajima
芳夫 中島
Tsugufumi Fujimoto
嗣史 藤本
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2003048121A priority Critical patent/JP2004260484A/en
Publication of JP2004260484A publication Critical patent/JP2004260484A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an in-vehicle communication system for storing communication logs of communication between various on-vehicle devices provided in a plurality of networks connected by a gateway apparatus, and to provide the gateway apparatus. <P>SOLUTION: The gateway apparatus 1 acquires communication information which each of the in-vehicle devices constituting a control system LAN 102 has sent out to a network cable 102a, and a control unit of the gateway apparatus 1 determines whether or not the acquired communication information is a NACK signal. If the communication information is the NACK signal, a communication log concerning the NACK signal is transmitted to a navigation apparatus 2 of the information system LAN 102 via the network cable 102a, and the communication log is stored in the navigation apparatus 2. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、複数の車載機器を有する複数のネットワークをゲートウェイ装置で接続してあり、前記車載機器間で通信を行なう車両内通信システム及び前記ゲートウェイ装置に関するものである。
【0002】
【従来の技術】
車両に搭載される複数の機器を、相互に関連の強い機器毎にネットワーク化することで、車載ネットワークシステムを構築した車両が増加しており、このようなシステムにおいて、各ネットワークにおける機器間の通信処理の効率化を図ることができる。
このようなシステムにおいては、各機器が、自身において生じた故障(異常)を検出し、検出した故障の種類及び故障の発生時刻等を故障ログとして記憶しておく構成を備えている場合が多く、このような構成により、修理工場等で各機器に記憶された故障ログに基づき、故障の発生原因を解析することができる。
尚、車両に搭載される複数の機器により構成される車載ネットワークシステムには、以下の特許文献1で示すものがある。
【0003】
【特許文献1】
特開平10−32886号公報
【0004】
【発明が解決しようとする課題】
しかし、上述したシステムにおいては、各ネットワークにおける通信処理に基づき、各機器単体では生じ得なかった想定外の種類の故障が発生するおそれがあり、このような故障が発生した場合には、各機器は、自身に発生した故障を検出することができず、また、故障ログとして記憶することができない場合がある。
このような場合には、故障の発生原因を解析できないだけでなく、故障の症状等も把握できないおそれがあり、また、複数の機器の動作が原因となる故障においては、故障を解析するために長時間が必要となるという問題があった。
【0005】
また、ネットワークの種類によっては、記憶容量が大きなメモリを接続させることが困難なものもあり、このようなネットワークにおいては、上述したような故障ログを記憶する構成を備えることができないという問題があった。
【0006】
本発明は以上のような事情に鑑みてなされたものであり、ゲートウェイ装置で接続されるネットワークのうちの1つのネットワークに記憶装置を備え、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを前記記憶装置へ送信し、この記憶装置が、受信した通信ログを記憶することにより、各ネットワークにおける各車載機器間での通信処理に基づく故障や、各機器単体では発生しなかった想定外の故障が発生した場合における通信ログも記憶しておくことができる車両内通信システムを提供することを目的とする。
【0007】
本発明の他の目的は、ネットワークを構成する複数の車載機器間における通信に係る情報及び前記通信が行なわれた時刻を示す時刻情報からなる通信ログを記憶することにより、各車載機器間での通信処理に基づく故障や、各機器単体では発生しなかった想定外の故障が発生した場合であっても、通信ログに基づき故障の発生原因を解析することができる車両内通信システムを提供することにある。
【0008】
本発明の更に他の目的は、ゲートウェイ装置が、故障を示す通信異常情報を検出し、検出した通信異常情報に係る通信ログを記憶装置へ送信することにより、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶させることができる車両内通信システムを提供することにある。
【0009】
本発明の更に他の目的は、ゲートウェイ装置が、各情報の再送を示す再送情報を検出し、検出した再送情報に係る通信ログを記憶装置へ送信することにより、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶させることができる車両内通信システムを提供することにある。
【0010】
本発明の更に他の目的は、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを記憶し、記憶してある通信ログを記憶装置へ送信する構成を備えることにより、ゲートウェイ装置の通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができる車両内通信システムを提供することにある。
【0011】
本発明の更に他の目的は、ゲートウェイ装置が、故障を示す通信異常情報を検出し、検出した通信異常情報に係る通信ログを記憶しておくことにより、ゲートウェイ装置における通信ログのメモリ容量を削減でき、通信ログの記憶装置への送信処理によるネットワークへの負荷を軽減することができる車両内通信システムを提供することにある。
【0012】
本発明の更に他の目的は、ゲートウェイ装置が、各情報の再送を示す再送情報を検出し、検出した再送情報に係る通信ログを記憶装置へ送信することにより、ゲートウェイ装置における通信ログのメモリ容量を削減でき、通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができる車両内通信システムを提供することにある。
【0013】
本発明の更に他の目的は、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを予め設定された数だけ記憶した場合に、記憶手段に記憶してある各通信ログを記憶装置へ送信することにより、ゲートウェイ装置における通信ログのメモリ容量をより削減できる車両内通信システムを提供することにある。
【0014】
本発明の更に他の目的は、ゲートウェイ装置が、一のネットワークの通信周期にて、記憶手段に記憶してある各通信ログを記憶装置へ送信することにより、ゲートウェイ装置が通信ログを前記記憶装置へ送信する送信処理のために複雑な構成を必要とせず、効率よく通信情報の送信処理を行なう車両内通信システムを提供することにある。
【0015】
本発明の更に他の目的は、通信ログを記憶する記憶装置が、一のネットワークの少なくとも1つの車載機器に内蔵されていることにより、記憶装置を各車載機器とは別にネットワークに接続する必要がなく、より簡便な構成で、各機器間における通信ログを記憶することができる車両内通信システムを提供することにある。
【0016】
本発明の更に他の目的は、複数のネットワークを接続するゲートウェイ装置が、前記ネットワークにおける通信の通信ログを記憶することにより、各ネットワークにおける通信処理内容を把握することができるゲートウェイ装置を提供することにある。
【0017】
【課題を解決するための手段】
第1発明に係る車両内通信システムは、複数の車載機器を有する複数のネットワークをゲートウェイ装置で接続してあり、前記車載機器間で通信を行なう車両内通信システムにおいて、一のネットワークに記憶装置を備え、前記ゲートウェイ装置は、他のネットワークの各車載機器間における通信の通信ログを前記記憶装置へ送信する送信手段を備え、前記記憶装置は、前記ゲートウェイ装置から受信した通信ログを記憶するように構成してあることを特徴とする。
【0018】
第1発明による場合は、ゲートウェイ装置で接続されるネットワークのうちの1つのネットワークに記憶装置を備え、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを送信手段にて前記記憶装置へ送信し、この記憶装置が、受信した通信ログを記憶することにより、各ネットワークにおける各車載機器間での通信処理に基づく故障や、各機器単体では発生しなかった想定外の故障が発生した場合における通信ログも記憶しておくことができ、このような通信ログに基づき各車載機器に故障が発生した旨だけでなく、発生した故障の症状等も把握することができる。
【0019】
これにより、このような通信ログに基づき故障の発生原因となった車載機器の絞込みが可能となり、絞り込まれた車載機器の動作に基づき、故障の発生原因を解析することができる。
また、記憶容量の大きなメモリを接続することができないネットワークにおける通信ログについても、ゲートウェイ装置が、他のネットワークに備えた記憶装置へ送信することにより、前記記憶装置にて記憶しておくことができる。
【0020】
第2発明に係る車両内通信システムは、前記通信ログは、前記通信に係る情報及び前記通信が行なわれた時刻を示す時刻情報であることを特徴とする。
【0021】
第2発明による場合は、ネットワークを構成する複数の車載機器間における通信に係る情報及び前記通信が行なわれた時刻を示す時刻情報からなる通信ログを記憶することにより、各車載機器間での通信処理に基づく故障や、各機器単体では発生しなかった想定外の故障が発生した場合に、通信ログに基づき、故障の発生原因となった機器の絞込みがより容易に可能となり、絞り込まれた機器の動作に基づき、故障の発生原因を解析することができる。
【0022】
第3発明に係る車両内通信システムは、前記通信に係る情報は、故障を示す通信異常情報であり、前記ゲートウェイ装置は、前記通信異常情報を検出する異常検出手段を備え、前記送信手段は、前記異常検出手段が検出した通信異常情報に係る通信ログを前記記憶装置へ送信することを特徴とする。
【0023】
第3発明による場合は、通信ログの通信に係る情報の中には、故障を示す通信異常情報があり、ゲートウェイ装置が、前記通信異常情報を異常検出手段にて検出し、検出した通信異常情報に係る通信ログを前記記憶装置へ送信することにより、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶させることができ、記憶してある通信ログに基づき、各車載機器に発生した故障の原因を解析できるだけでなく、通信ログを記憶させる記憶装置のメモリ容量を削減することができる。
【0024】
第4発明に係る車両内通信システムは、前記通信に係る情報は、該情報の再送を示す再送情報であり、前記ゲートウェイ装置は、前記再送情報を検出する再送検出手段を備え、前記送信手段は、前記再送検出手段が検出した再送情報に係る通信ログを前記記憶装置へ送信することを特徴とする。
【0025】
第4発明による場合は、通信ログの通信に係る情報の中には、各情報の再送を示す再送情報があり、ゲートウェイ装置が、前記再送情報を再送検出手段にて検出し、検出した再送情報に係る通信ログを前記記憶装置へ送信することにより、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶させることができ、通信ログを記憶させる記憶装置のメモリ容量を削減することができる。
【0026】
第5発明に係る車両内通信システムは、前記ゲートウェイ装置は、前記他のネットワークの各車載機器間における通信の通信ログを記憶する記憶手段を備え、前記送信手段は、前記記憶手段に記憶してある通信ログを前記記憶装置へ送信することを特徴とする。
【0027】
第5発明による場合は、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを記憶する記憶手段を備え、記憶してある通信ログを前記記憶装置へ送信することにより、ゲートウェイ装置の通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができ、効率よく通信ログ送信することができる。
【0028】
第6発明に係る車両内通信システムは、前記通信に係る情報は、故障を示す通信異常情報であり、前記ゲートウェイ装置は、前記通信異常情報を検出する異常検出手段を備え、前記記憶手段は、前記異常検出手段が検出した通信異常情報に係る通信ログを記憶することを特徴とする。
【0029】
第6発明による場合は、通信ログの通信に係る情報の中には、故障を示す通信異常情報があり、ゲートウェイ装置が、前記通信異常情報を異常検出手段にて検出し、検出した通信異常情報に係る通信ログを記憶しておくことにより、ゲートウェイ装置における通信ログのメモリ容量を削減でき、通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができるとともに、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶するため、通信ログを記憶させる記憶装置のメモリ容量も削減することができる。
【0030】
第7発明に係る車両内通信システムは、前記通信に係る情報は、該情報の再送を示す再送情報であり、前記ゲートウェイ装置は、前記再送情報を検出する再送検出手段を備え、前記記憶手段は、前記再送検出手段が検出した再送情報に係る通信ログを記憶することを特徴とする。
【0031】
第7発明による場合は、通信ログの通信に係る情報の中には、各情報の再送を示す再送情報があり、ゲートウェイ装置が、前記再送情報を再送検出手段にて検出し、検出した再送情報に係る通信ログを前記記憶装置へ送信することにより、ゲートウェイ装置における通信ログのメモリ容量を削減でき、通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができるとともに、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶するため、通信ログを記憶させる記憶装置のメモリ容量も削減することができる。
【0032】
第8発明に係る車両内通信システムは、前記送信手段は、予め設定された数の通信ログが前記記憶手段に記憶された場合に、記憶してある通信ログを前記記憶装置へ送信することを特徴とする。
【0033】
第8発明による場合は、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを予め設定された数だけ記憶した場合に、記憶手段に記憶してある各通信ログを記憶装置へ送信することにより、ゲートウェイ装置における通信ログのメモリ容量をより削減でき、ゲートウェイ装置が通信情報を前記記憶装置へ送信する送信処理によるネットワークへの負荷をより軽減することができ、効率よく通信情報の送信処理を実現することができる。
【0034】
第9発明に係る車両内通信システムは、前記送信手段は、前記一のネットワークの通信周期にて、前記記憶手段に記憶してある通信ログを前記記憶装置へ送信することを特徴とする。
【0035】
第9発明による場合は、ゲートウェイ装置が、前記一のネットワークの通信周期にて、記憶手段に記憶してある各通信ログを記憶装置へ送信することにより、ゲートウェイ装置が通信ログを前記記憶装置へ送信する送信処理のために複雑な構成を必要とせず、ゲートウェイ装置が通信情報を前記記憶装置へ送信する送信処理によるネットワークへの負荷を軽減することができ、効率よく通信情報の送信処理を実現することができる。
【0036】
第10発明に係る車両内通信システムは、前記記憶装置は、前記一のネットワークの少なくとも1つの車載機器に内蔵されていることを特徴とする。
【0037】
第10発明による場合は、通信ログを記憶する記憶装置が、前記一のネットワークの少なくとも1つの車載機器に内蔵されていることにより、記憶装置を各車載機器とは別にネットワークに接続する必要がなく、より簡便な構成で、各車載機器間における通信ログを記憶することができる。
【0038】
第11発明に係るゲートウェイ装置は、複数のネットワークを接続するゲートウェイ装置において、前記ネットワークにおける通信の通信ログを記憶する記憶手段を備えることを特徴とする。
【0039】
第11発明による場合は、複数のネットワークを接続するゲートウェイ装置が、前記ネットワークにおける通信の通信ログを記憶することにより、各ネットワークにおける通信処理の内容を把握することができる。
【0040】
【発明の実施の形態】
以下に、本発明に係る車両内通信システムを、その実施の形態を示す図面に基づいて詳述する。
本実施の形態では、車両に搭載される各機器を相互に関連の強い機器毎にLANを構成し、例えば、車両の搭乗者に対するインタフェースに係る機器については、IEEE(Institute of Electrical and Electronic Engineers)1394に準拠した情報系LANを構成する。尚、情報系LANは、IEEE1394規格だけでなく、MOST(Media Oriented System Transport)規格によるシステムとして構成することもできる。
【0041】
また、車両の走行に係る制御系の機器については、CAN(Controller Area Network)、LIN(Local Interconnect Network)、TTP(Time−Triggered Protocol)、又はFlexRay等に準拠した制御系LANを構成しており、これらの情報系LAN及び制御系LANはゲートウェイ装置で接続されている。
【0042】
(実施の形態1)
図1は本発明に係る車両内通信システムの構成例を示すブロック図であり、図中100は本発明に係る車両内通信システムを示している。
本発明の車両内通信システム100は、車両の搭乗者に対するインタフェースに係る機器をネットワークケーブル101aで接続した情報系LAN101と、車両の走行に係る制御系の機器をネットワークケーブル102aで接続した制御系LAN102とをゲートウェイ装置1を介して接続することにより構成されている。
【0043】
本実施の形態では、情報系LAN101には、ナビゲーション装置2、CDプレイヤ41、MDプレイヤ42、カセットテーププレイヤ43、テレビ44、ディスプレイ装置45、ラジオ46、外部のネットワークと接続するための通信端末装置47等の機器が含まれており、制御系LAN102には、車両の走行に係る機器を制御するボディECU(Electronic Control Unit)31、エンジンに係る機器を制御するエンジンECU32、車両に設けられたドアの開閉を他の機器へ通知するためのドアECU33、インストゥルメントパネル(以下、インパネという)ECU34等の機器が含まれている。
【0044】
図2は本発明に係る車両内通信システムにおけるゲートウェイ装置1及びナビゲーション装置2の構成例を示すブロック図である。
ゲートウェイ装置1は、CPU(Central Processing Unit )又はMPU(Micro Processor Unit)等により構成された制御部10を制御中枢としてバス16を介して接続される以下のハードウェア各部の動作を制御する。
【0045】
バス16には、制御部10の制御手順を示すコンピュータプログラム等を記憶したROM11と、制御部10による制御動作中に発生する種々のデータを一時的に記憶するRAM12と、情報系LAN101のネットワークケーブル101aに接続するための情報系LANインタフェース13と、制御系LAN102のネットワークケーブル102aに接続するための制御系LANインタフェース14と、RAM等により構成され、制御系LAN102の各機器間における通信の通信ログを記憶する通信ログ記憶部15等とが接続されている。尚、通信ログ記憶部15は、RAMに限られず、ハードディスク等により構成してもよい。
制御部10は、時計手段(図示せず)を備えており、タイミングを計時しながら、ROM11に記憶してある通信制御処理プログラムをRAM12に読み出して順次実行することにより、情報系LAN101及び制御系LAN102が夫々用いる通信プロトコルを相互に変換する。
【0046】
ナビゲーション装置2は、制御中枢としての制御部20と、制御部20の制御手順を示すコンピュータプログラム等を記憶したHD21と、制御部20による制御動作中に発生する種々のデータを一時的に記憶するRAM22と、ユーザからの種々の指示を受け付けるためのキーを備えた操作部23と、情報系LAN101のネットワークケーブル101aに接続するための通信インタフェース24等とが接続されている。
【0047】
制御部20は、時計手段(図示せず)を備えており、タイミングを計時しながら、HD21に記憶してあるナビゲーション処理プログラムをRAM22に読み出して順次実行することにより、ナビゲーション装置2の動作を実現する。
また、HD21には、制御系LAN102における通信の通信ログを記憶する通信ログ記憶領域21aが設けてある。尚、この通信ログは、ゲートウェイ装置1から取得されるものである。
【0048】
上述したCDプレイヤ41、MDプレイヤ42、カセットテーププレイヤ43、テレビ44、ディスプレイ装置45、ラジオ46、通信端末装置47、ボディECU31、エンジンECU32、ドアECU33、インパネECU34等の機器においては、HDの代わりに、各機器の動作を実現するためのコンピュータプログラムを記憶したROM(図示せず)を備えている。
またその他の構成は、ナビゲーション装置2と同様の構成を有しており、夫々が備える制御部(図示せず)が、ROM(図示せず)に記憶してあるコンピュータプログラムを順次実行することにより、各機器としての動作を行なっている。
【0049】
本実施の形態において、制御系LAN102の各機器は夫々通信機能を備えており、通信を行なう相手先である他の機器宛の通信情報(通信に係る情報に相当)をネットワークケーブル102aへ送出する。
また、各機器は、ネットワークケーブル102aに送出された通信情報を順次取得し、取得した通信情報が自身宛の通信情報である場合には、対応する返信情報をネットワークケーブル102aへ送出することにより、相互の通信処理を行なっている。
【0050】
ここで、ゲートウェイ装置1の通信ログ記憶部15は、上述のようにネットワークケーブル102aへ送出された通信情報を受信し、受信した通信情報を、該通信情報を受信した時刻を示す時刻情報とともに通信ログとして記憶する記憶手段として動作する。また、ゲートウェイ装置1は、この通信ログ記憶部15に予め設定された数の通信ログが蓄積された場合、ネットワークケーブル101aを介して情報系LAN102のナビゲーション装置2に前記通信ログを送信し、この通信ログは、ナビゲーション装置2のHD21の通信ログ記憶領域21aに記憶される。
【0051】
尚、制御系LAN102の各機器は、所望の相手先への通信情報に対応する返信情報を受信し、相手先の機器との間における通信処理が正しく終了できた場合には、通信情報として、当該通信処理が正しく終了したことを示すACK(ACKnowledgement)信号をネットワークケーブル102aへ送出し、また、正しい返信情報を受信できない場合には、当該通信処理が正しく終了できず、故障等が発生したことを示すNACK(Negative ACKnowledgement)信号(通信異常情報に相当)を通信情報としてネットワークケーブル102aへ送出する。
【0052】
ここで、ゲートウェイ装置1において、制御部10は、ネットワークケーブル102aを介して順次受信する通信情報がNACK信号であるか否かを検出する異常検出手段として動作しており、NACK信号であると検出した場合に、検出したNACK信号に係る通信ログを通信ログ記憶部15に蓄積する。
また、通信ログ記憶部15に所定数の通信ログが蓄積された場合、制御部10は、これらの通信ログをネットワークケーブル101aを介して情報系LAN101のナビゲーション装置2へ送信し、ナビゲーション装置2において、受信した前記通信ログは、HD21の通信ログ記憶領域21aに記憶される。
【0053】
尚、ナビゲーション装置2の通信ログ記憶領域21aは、順次記憶される通信ログにより満たされた場合、通信ログ記憶領域21aの最初のアドレス位置から新たな通信ログが上書きされる。
【0054】
以下に、上述した構成の車両内通信システム100におけるナビゲーション装置2による通信ログ記憶処理について説明する。図3は実施の形態1に係る車両内通信システム100における通信ログ記憶処理手順を示すフローチャートである。
本実施の形態における車両内通信システム100を搭載した車両において、運転者が車両のイグニッションスイッチをオンすることによりエンジンを動作させた場合、情報系LAN101及び制御系LAN102夫々の各機器に電流が投入され、起動した各機器間において通信処理が順次行なわれ、各通信処理における通信情報が夫々のネットワークケーブル101a及び102aに送出される。
【0055】
ゲートウェイ装置1において、制御部10は、制御系LAN102のネットワークケーブル102aを介して通信情報を受信したか否かを判断しており(S1)、通信情報を受信した場合(S1:YES)、受信した通信情報を、受信した時刻を示す時刻情報とともに通信ログとして一旦RAM12に記憶する(S2)。
また、制御部10は、RAM12に記憶した通信ログに基づき、ACK信号を受信したか否かを判断しており(S3)、ACK信号を受信した場合(S3:YES)、当該通信ログに係る通信処理が正しく終了したとして、RAM12に記憶してある通信ログを削除する(S4)。
【0056】
一方、ACK信号を受信していない場合(S3:NO)、制御部10は、RAM12に記憶した通信ログに基づき、NACK信号を受信したか否かを判断しており(S5)、NACK信号を受信していない場合(S5:NO)、受信した通信情報が、自身のゲートウェイ装置1への通信情報であるか否かを判断し(S6)、自身への通信情報である場合(S6:YES)、受信した通信情報に対応する処理を実行する(S7)。
受信した通信情報に対応する処理を実行した制御部10は、対応する返信情報をネットワークケーブル102aへ送出して、ステップS1の処理に戻り、次の通信情報を受信し、順次受信する通信情報に上述した各処理を繰り返す。
【0057】
尚、受信した通信情報が自身への通信情報でない場合(S6:NO)、ステップS7の処理を行なわず、ステップS1の処理に戻る。
一方、受信した通信情報がNACK信号である場合(S5:YES)、制御部10は、当該通信ログに係る通信処理が正しく終了していないと判断し、RAM12に記憶してある通信ログを通信ログ記憶部15に蓄積し(S8)、通信ログ記憶部15に所定数の通信ログが蓄積されたか否かを判断する(S9)。
【0058】
ここで、制御部10は、通信ログ記憶部15に所定数の通信ログが蓄積されていない場合(S9:NO)、ステップS1の処理に戻り、所定数の通信ログが蓄積されるまで、上述した各処理を繰り返し、所定数の通信ログが蓄積された場合(S9:YES)、通信ログ記憶部15に蓄積した通信ログを情報系LAN101のナビゲーション装置2へ送信する(S10)。
またナビゲーション装置2は、受信した各通信ログをHD21の通信ログ記憶領域21aに記憶する(S11)。
【0059】
このように、制御系LAN102のネットワークケーブル102aに送出されたNACK信号が示す車載機器における故障に関する通信情報に係る通信ログのみを、ナビゲーション装置2の通信ログ記憶領域21aに記憶させることにより、通信ログを記憶するメモリ容量を削減することができる。
また、通信ログ記憶領域21aに記憶された通信ログに基づき、各車載機器に発生した故障の原因を解析することができる。
【0060】
上述した実施の形態では、ゲートウェイ装置1が、NACK信号に係る通信ログのみを、情報系LAN101のナビゲーション装置2のHD21に記憶させる構成としているが、制御系LAN102における全ての通信情報を通信ログとして記憶する構成としてもよい。尚、全ての通信情報を記憶する場合には、ゲートウェイ装置1が、受信した通信情報がNACK信号であるか否かを検出する手段を備える必要がない。
また、ナビゲーション装置2にHD21を備え、このHD21に制御系LAN102における通信ログを記憶する構成としているが、ナビゲーション装置2以外の各機器にHDを設け、このHDに前記通信ログを記憶させる構成としてもよい。
【0061】
上述した実施の形態では、制御系LAN102における通信ログを記憶するためにナビゲーション装置2がHD21を備える構成としているが、HDを使用する以外に、半導体メモリ、フラッシュメモリ、磁気ディスク、光ディスク等を用いてもよい。
また、制御系LAN102のネットワークケーブル102aに独立した記憶装置を接続し、この記憶装置に通信ログを記憶させる構成としてもよく、この場合には、記憶装置が、ネットワークケーブル102aに送出されたNACK信号を検出する構成を備える必要がある。尚、制御系LAN102の全ての通信ログを前記記憶装置に記憶させる場合には、NACK信号を検出する手段を備える必要はない。また、独立した記憶装置についても、HDだけでなく、半導体メモリ、フラッシュメモリ、磁気ディスク、光ディスク等を用いることができる。
【0062】
上述した実施の形態では、ナビゲーション装置2のみがHD21を備え、このHD21に通信ログ記憶領域21aを設けているが、情報系LAN101の複数の機器にHDを備え、各機器のHDにおいて通信ログを記憶する構成としてもよく、この場合には、制御系LAN102の各機器を、HDの数に分割してグループ化し、グループ毎に1つのHDに通信ログを記憶する構成とすることができ、また、制御系LAN102の各機器間の通信ログを1つのHDに順次記憶し、このHDが満たされた場合に、次のHDに記憶する構成とすることもできる。
尚、情報系LAN101に複数の記憶装置を接続することによっても、同様の構成とすることができる。
【0063】
また、ゲートウェイ装置1は、通信ログ記憶部15に所定数の通信ログが蓄積された時点で、情報系LAN101のナビゲーション装置2へ蓄積した通信ログを送信する構成としているが、所定の時間間隔で、蓄積した通信ログをナビゲーション装置2へ送信する構成としてもよく、通信ログ記憶部15を備えず、制御系LAN102における通信ログを受信した時点で、逐次ナビゲーション装置2へ送信する構成としてもよい。
【0064】
(実施の形態2)
以下に、実施の形態2における車両内通信システム100について説明する。尚、本実施の形態における車両内通信システム100の構成は、上述した実施の形態1の車両内通信システム100と同様であるため説明を省略する。
【0065】
本実施の形態では、制御系LAN102の各機器は、所望の相手先へ送信した通信情報に対応する返信情報を受信できず、相手先の機器からの応答がない場合、同一の通信情報を再送することを示す再送情報をネットワークケーブル102aへ送出する。
また、ゲートウェイ装置1の制御部10は、ネットワークケーブル102aを介して順次受信する通信情報が再送情報であるか否かを検出する再送検出手段として動作しており、再送情報であると検出した場合に、検出した再送情報に係る通信ログを通信ログ記憶部15に記憶する。
【0066】
更に、制御部10は、時計手段により情報系LAN101の各機器との通信処理における通信周期に対応する所定時間を計測しており、この所定時間間隔で通信ログ記憶部15に記憶してある通信ログをナビゲーション装置2へ送信し、ナビゲーション装置2において、前記通信ログは、HD21の通信ログ記憶領域21aに記憶される。
尚、ナビゲーション装置2の通信ログ記憶領域21aは、順次記憶される通信ログにより満たされた場合、通信ログ記憶領域21aの最初のアドレス位置から新たな通信ログが上書きされる。
【0067】
以下に、上述した構成の車両内通信システム100におけるナビゲーション装置2による通信ログ記憶処理について説明する。図4は実施の形態2に係る車両内通信システム100における通信ログ記憶処理手順を示すフローチャートである。
本実施の形態における車両内通信システム100を搭載した車両において、運転者が車両のイグニッションスイッチをオンすることによりエンジンを動作させた場合、情報系LAN101及び制御系LAN102夫々の各機器に電流が投入され、起動した各機器間において通信処理が順次行なわれ、各通信処理における通信情報が夫々のネットワークケーブル101a及び102aに送出される。
【0068】
ゲートウェイ装置1において、制御部10は、制御系LAN102のネットワークケーブル102aを介して通信情報を受信したか否かを判断しており(S21)、通信情報を受信した場合(S21:YES)、受信した通信情報を、受信した時刻を示す時刻情報とともに通信ログとして一旦RAM12に記憶する(S22)。
また、制御部10は、RAM12に記憶した通信ログに基づき、再送情報を受信したか否かを判断しており(S23)、再送情報を受信していない場合(S23:NO)、受信した通信情報が正しいものであるとし、受信した通信情報が自身のゲートウェイ装置1への通信情報であるか否かを判断する(S24)。
【0069】
ここで、受信した通信情報が自身への通信情報である場合(S24:YES)、制御部10は、受信した通信情報に対応する処理を実行し(S25)、対応する返信情報をネットワークケーブル102aへ送出する。
一方、ステップS23において、受信した通信情報が再送情報である場合(S23:YES)、制御部10は、受信した通信情報が正しくないと判断し、RAM12に記憶してある通信ログを通信ログ記憶部15に蓄積し(S26)、時計手段により、情報系LAN101の所定周期に基づく所定時間が経過したか否かを判断する(S27)。
【0070】
また、ステップS24において、受信した通信情報が自身への通信情報でない場合(S24:NO)、制御部10は、ステップS25の処理を行なわず、時計手段により前記所定時間が経過したか否かを判断する(S27)。
ここで、所定時間が経過していない場合(S27:NO)、制御部10は、所定時間が経過するまで上述したステップS21からS26までの各処理を繰り返し、所定時間が経過した場合(S27:YES)、その時点で通信ログ記憶部15に蓄積された通信ログを情報系LAN101のナビゲーション装置2へ送信し(S28)、ナビゲーション装置2は、受信した通信ログをHD21の通信ログ記憶領域21aに記憶する(S29)。
【0071】
上述したように、制御系LAN102のネットワークケーブル102aに送出された再送情報に係る通信ログのみを、ナビゲーション装置2の通信ログ記憶領域21aに記憶させることにより、通信ログを記憶するメモリ容量を削減することができる。
また、通信ログ記憶領域21aに記憶された通信ログに基づき、各車載機器に発生した故障の原因を解析することができる。
【0072】
尚、上述した実施の形態2における車両内通信システム100においても、上述の実施の形態1で説明した変形例と同様の変形例の適用が可能である。
また、上述した実施の形態1の車両内通信システム100では、ゲートウェイ装置1が、NACK信号に係る通信ログを記憶し、所定数の通信ログが通信ログ記憶部15に蓄積された場合に、ナビゲーション装置2へ送信する構成をなしており、実施の形態2の車両内通信システム100では、ゲートウェイ装置1が、再送情報に係る通信ログを記憶し、情報系LAN101の通信タイミングに従って、通信ログ記憶部15に蓄積された場合に、ナビゲーション装置2へ送信する構成をなしているが、これらを組み合わせた構成とすることもできる。
【0073】
また、ゲートウェイ装置1は、情報系LAN102における所定周期に基づき、通信ログ記憶部15に蓄積された通信ログをナビゲーション装置2へ送信する構成としているが、通信ログ記憶部15に所定数の通信ログが蓄積された時点でナビゲーション装置2へ送信する構成としてもよく、通信ログ記憶部15を備えず、制御系LAN102における通信ログを受信した時点で、逐次ナビゲーション装置2へ送信する構成としてもよい。
【0074】
【発明の効果】
第1発明による場合は、ゲートウェイ装置で接続されるネットワークのうちの1つのネットワークに記憶装置を備え、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを送信手段にて前記記憶装置へ送信し、この記憶装置が、受信した通信ログを記憶することにより、各ネットワークにおける各車載機器間での通信処理に基づく故障や、各機器単体では発生しなかった想定外の故障が発生した場合における通信ログも記憶しておくことができ、このような通信ログに基づき各車載機器に故障が発生した旨だけでなく、発生した故障の症状等も把握することができる。
【0075】
第2発明による場合は、ネットワークを構成する複数の車載機器間における通信に係る情報及び前記通信が行なわれた時刻を示す時刻情報からなる通信ログを記憶することにより、各車載機器間での通信処理に基づく故障や、各機器単体では発生しなかった想定外の故障が発生した場合に、通信ログに基づき、故障の発生原因となった機器の絞込みがより容易に可能となり、絞り込まれた機器の動作に基づき、故障の発生原因を解析することができる。
【0076】
第3発明による場合は、通信ログの通信に係る情報の中には、故障を示す通信異常情報があり、ゲートウェイ装置が、前記通信異常情報を異常検出手段にて検出し、検出した通信異常情報に係る通信ログを前記記憶装置へ送信することにより、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶させることができ、記憶してある通信ログに基づき、各車載機器に発生した故障の原因を解析できるだけでなく、通信ログを記憶させる記憶装置のメモリ容量を削減することができる。
【0077】
第4発明による場合は、通信ログの通信に係る情報の中には、各情報の再送を示す再送情報があり、ゲートウェイ装置が、前記再送情報を再送検出手段にて検出し、検出した再送情報に係る通信ログを前記記憶装置へ送信することにより、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶させることができ、通信ログを記憶させる記憶装置のメモリ容量を削減することができる。
【0078】
第5発明による場合は、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを記憶する記憶手段を備え、記憶してある通信ログを前記記憶装置へ送信することにより、ゲートウェイ装置の通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができ、効率よく通信ログ送信することができる。
【0079】
第6発明による場合は、通信ログの通信に係る情報の中には、故障を示す通信異常情報があり、ゲートウェイ装置が、前記通信異常情報を異常検出手段にて検出し、検出した通信異常情報に係る通信ログを記憶しておくことにより、ゲートウェイ装置における通信ログのメモリ容量を削減でき、通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができるとともに、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶するため、通信ログを記憶させる記憶装置のメモリ容量も削減することができる。
【0080】
第7発明による場合は、通信ログの通信に係る情報の中には、各情報の再送を示す再送情報があり、ゲートウェイ装置が、前記再送情報を再送検出手段にて検出し、検出した再送情報に係る通信ログを前記記憶装置へ送信することにより、ゲートウェイ装置における通信ログのメモリ容量を削減でき、通信ログの前記記憶装置への送信処理によるネットワークへの負荷を軽減することができるとともに、各ネットワークの車載機器間での通信処理における故障に関する通信ログのみを効率よく記憶装置に記憶するため、通信ログを記憶させる記憶装置のメモリ容量も削減することができる。
【0081】
第8発明による場合は、ゲートウェイ装置が、他のネットワークの各車載機器間における通信の通信ログを予め設定された数だけ記憶した場合に、記憶手段に記憶してある各通信ログを記憶装置へ送信することにより、ゲートウェイ装置における通信ログのメモリ容量をより削減でき、ゲートウェイ装置が通信情報を前記記憶装置へ送信する送信処理によるネットワークへの負荷をより軽減することができ、効率よく通信情報の送信処理を実現することができる。
【0082】
第9発明による場合は、ゲートウェイ装置が、前記一のネットワークの通信周期にて、記憶手段に記憶してある各通信ログを記憶装置へ送信することにより、ゲートウェイ装置が通信ログを前記記憶装置へ送信する送信処理のために複雑な構成を必要とせず、ゲートウェイ装置が通信情報を前記記憶装置へ送信する送信処理によるネットワークへの負荷を軽減することができ、効率よく通信情報の送信処理を実現することができる。
【0083】
第10発明による場合は、通信ログを記憶する記憶装置が、前記一のネットワークの少なくとも1つの車載機器に内蔵されていることにより、記憶装置を各車載機器とは別にネットワークに接続する必要がなく、より簡便な構成で、各車載機器間における通信ログを記憶することができる。
【0084】
第11発明による場合は、複数のネットワークを接続するゲートウェイ装置が、前記ネットワークにおける通信の通信ログを記憶することにより、各ネットワークにおける通信処理の内容を把握することができる。
【図面の簡単な説明】
【図1】本発明に係る車両内通信システムの構成例を示すブロック図である。
【図2】本発明に係る車両内通信システムにおけるゲートウェイ装置及びナビゲーション装置の構成例を示すブロック図である。
【図3】実施の形態1に係る車両内通信システムにおける通信ログ記憶処理手順を示すフローチャートである。
【図4】実施の形態2に係る車両内通信システムにおける通信ログ記憶処理手順を示すフローチャートである。
【符号の説明】
100 車両内通信システム
101 情報系LAN
102 制御系LAN
1 ゲートウェイ装置
10 制御部
11 ROM
15 通信ログ記憶部
2 ナビゲーション装置
21 HD
21a 通信ログ記憶領域
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an in-vehicle communication system in which a plurality of networks having a plurality of in-vehicle devices are connected by a gateway device and performs communication between the in-vehicle devices, and the gateway device.
[0002]
[Prior art]
The number of vehicles that have built an in-vehicle network system has been increasing by networking multiple devices mounted on the vehicle for each of the devices that have a strong relationship with each other. In such a system, communication between devices in each network has been increasing. Processing efficiency can be improved.
Such a system often has a configuration in which each device detects a failure (abnormality) that has occurred in itself and stores the type of the detected failure and the time of occurrence of the failure as a failure log. With this configuration, the cause of the failure can be analyzed based on the failure log stored in each device at a repair shop or the like.
An in-vehicle network system including a plurality of devices mounted on a vehicle is disclosed in Patent Document 1 below.
[0003]
[Patent Document 1]
JP-A-10-32886
[0004]
[Problems to be solved by the invention]
However, in the above-described system, unexpected types of failures that could not be caused by each device alone may occur based on communication processing in each network. May not be able to detect a fault that has occurred on itself and may not be able to store it as a fault log.
In such a case, not only the cause of the failure cannot be analyzed, but also the symptoms of the failure may not be grasped.In the case of a failure caused by the operation of a plurality of devices, it is necessary to analyze the failure. There was a problem that a long time was required.
[0005]
Also, depending on the type of network, it is difficult to connect a memory having a large storage capacity, and there is a problem that such a network cannot have a configuration for storing a failure log as described above. Was.
[0006]
The present invention has been made in view of the above circumstances, and includes a storage device in one of the networks connected by a gateway device, and the gateway device communicates with each vehicle-mounted device of another network. By transmitting the communication log to the storage device, and storing the received communication log, the storage device does not cause a failure based on the communication process between the in-vehicle devices in each network and does not occur in each device alone. It is an object of the present invention to provide an in-vehicle communication system capable of storing a communication log when an unexpected failure occurs.
[0007]
Another object of the present invention is to store a communication log including information related to communication between a plurality of in-vehicle devices constituting a network and time information indicating a time at which the communication was performed, thereby enabling communication between the in-vehicle devices. To provide an in-vehicle communication system that can analyze the cause of a failure based on a communication log even when a failure based on communication processing or an unexpected failure that has not occurred in each device alone has occurred. It is in.
[0008]
Still another object of the present invention is to provide a gateway device, which detects communication abnormality information indicating a failure and transmits a communication log relating to the detected communication abnormality information to a storage device, thereby enabling communication between in-vehicle devices of each network. An object of the present invention is to provide an in-vehicle communication system capable of efficiently storing only a communication log relating to a failure in processing in a storage device.
[0009]
Still another object of the present invention is to provide a gateway device that detects retransmission information indicating retransmission of each piece of information and transmits a communication log related to the detected retransmission information to a storage device, thereby enabling communication between the on-board devices of each network. It is an object of the present invention to provide an in-vehicle communication system capable of efficiently storing only a communication log relating to a failure in a communication process in a storage device.
[0010]
Still another object of the present invention is to provide a gateway device having a configuration in which a gateway device stores a communication log of communication between in-vehicle devices of another network and transmits the stored communication log to a storage device. Another object of the present invention is to provide an in-vehicle communication system capable of reducing a load on a network due to a process of transmitting a communication log to the storage device.
[0011]
Still another object of the present invention is to reduce the memory capacity of the communication log in the gateway device by detecting the communication error information indicating the failure and storing the communication log related to the detected communication error information. It is another object of the present invention to provide an in-vehicle communication system capable of reducing a load on a network due to transmission processing of a communication log to a storage device.
[0012]
Still another object of the present invention is to provide a gateway device that detects retransmission information indicating retransmission of each information, and transmits a communication log related to the detected retransmission information to a storage device, so that a memory capacity of a communication log in the gateway device is It is an object of the present invention to provide an in-vehicle communication system capable of reducing the load on a network due to transmission processing of a communication log to the storage device.
[0013]
Still another object of the present invention is to store each communication log stored in the storage means when the gateway device stores a predetermined number of communication logs of communication between the in-vehicle devices of other networks. An object of the present invention is to provide an in-vehicle communication system that can reduce the memory capacity of a communication log in a gateway device by transmitting the communication log to the device.
[0014]
Still another object of the present invention is to transmit each communication log stored in the storage means to the storage device in a communication cycle of one network, so that the gateway device stores the communication log in the storage device. An object of the present invention is to provide an in-vehicle communication system that efficiently performs a communication information transmission process without requiring a complicated configuration for a transmission process of transmitting communication information to a vehicle.
[0015]
Still another object of the present invention is that the storage device for storing the communication log is built in at least one vehicle-mounted device of one network, so that the storage device needs to be connected to the network separately from each vehicle-mounted device. Another object of the present invention is to provide an in-vehicle communication system capable of storing a communication log between devices with a simpler configuration.
[0016]
It is still another object of the present invention to provide a gateway device that connects a plurality of networks and stores a communication log of communication in the networks so that the content of communication processing in each network can be grasped. It is in.
[0017]
[Means for Solving the Problems]
An in-vehicle communication system according to a first aspect of the present invention is an in-vehicle communication system in which a plurality of networks having a plurality of in-vehicle devices are connected by a gateway device, and a communication device communicates between the in-vehicle devices. The gateway device includes a transmission unit that transmits a communication log of communication between the on-vehicle devices of another network to the storage device, and the storage device stores the communication log received from the gateway device. It is characterized by having been constituted.
[0018]
In the case of the first invention, a storage device is provided in one of the networks connected by the gateway device, and the gateway device stores the communication log of the communication between the in-vehicle devices of the other network by the transmission unit. By transmitting the data to the device and storing the received communication log, a failure based on the communication process between each vehicle-mounted device in each network and an unexpected failure that did not occur with each device alone occurred. In this case, a communication log can be stored, and based on such a communication log, not only the fact that a failure has occurred in each in-vehicle device but also the symptoms of the failure can be grasped.
[0019]
This makes it possible to narrow down the in-vehicle devices that have caused the failure based on the communication log, and it is possible to analyze the cause of the failure based on the narrowed operation of the in-vehicle devices.
Also, the communication log in the network to which a memory having a large storage capacity cannot be connected can be stored in the storage device by transmitting the communication log to the storage device provided in another network. .
[0020]
A communication system in a vehicle according to a second invention is characterized in that the communication log is information on the communication and time information indicating a time at which the communication was performed.
[0021]
In the case of the second invention, the communication between the in-vehicle devices is stored by storing a communication log including information relating to communication between the plurality of in-vehicle devices constituting the network and time information indicating the time at which the communication was performed. When a failure based on processing or an unexpected failure that did not occur with each device alone occurs, it becomes easier to narrow down the device that caused the failure based on the communication log, and the narrowed devices The cause of the failure can be analyzed based on the above operation.
[0022]
The in-vehicle communication system according to a third aspect, wherein the information related to the communication is communication abnormality information indicating a failure, the gateway device includes abnormality detection means for detecting the communication abnormality information, and the transmission means A communication log relating to the communication abnormality information detected by the abnormality detecting means is transmitted to the storage device.
[0023]
In the case of the third aspect, the information related to the communication of the communication log includes communication abnormality information indicating a failure, and the gateway device detects the communication abnormality information by abnormality detection means, and detects the detected communication abnormality information. By transmitting the communication log according to the above to the storage device, it is possible to efficiently store only the communication log relating to the failure in the communication processing between the in-vehicle devices of each network in the storage device, based on the stored communication log In addition, not only can the cause of the failure occurring in each vehicle-mounted device be analyzed, but also the memory capacity of the storage device for storing the communication log can be reduced.
[0024]
In the in-vehicle communication system according to a fourth aspect, the information related to the communication is retransmission information indicating retransmission of the information, the gateway device includes retransmission detection means for detecting the retransmission information, and the transmission means Transmitting a communication log relating to retransmission information detected by the retransmission detection unit to the storage device.
[0025]
In the case of the fourth invention, among the information related to the communication of the communication log, there is retransmission information indicating retransmission of each information, and the gateway device detects the retransmission information by retransmission detection means, and detects the detected retransmission information. By transmitting the communication log according to the above to the storage device, only the communication log relating to the failure in the communication processing between the in-vehicle devices of each network can be efficiently stored in the storage device, and the storage device for storing the communication log The memory capacity can be reduced.
[0026]
A communication system in a vehicle according to a fifth aspect of the present invention, wherein the gateway device includes a storage unit that stores a communication log of communication between the on-vehicle devices of the other network, and the transmission unit stores the communication log in the storage unit. A communication log is transmitted to the storage device.
[0027]
According to the fifth aspect, the gateway device includes a storage unit that stores a communication log of communication between the in-vehicle devices of the other network, and transmits the stored communication log to the storage device, whereby the gateway device The load on the network due to the process of transmitting the communication log to the storage device can be reduced, and the communication log can be transmitted efficiently.
[0028]
The in-vehicle communication system according to a sixth aspect, wherein the information related to the communication is communication abnormality information indicating a failure, the gateway device includes an abnormality detection unit that detects the communication abnormality information, and the storage unit includes: A communication log relating to communication abnormality information detected by the abnormality detecting means is stored.
[0029]
In the case according to the sixth invention, the information related to the communication of the communication log includes communication abnormality information indicating a failure, and the gateway device detects the communication abnormality information by the abnormality detecting means, and detects the detected communication abnormality information. , The memory capacity of the communication log in the gateway device can be reduced, and the load on the network due to the process of transmitting the communication log to the storage device can be reduced. Since only the communication log relating to the failure in the communication processing between the in-vehicle devices is efficiently stored in the storage device, the memory capacity of the storage device for storing the communication log can also be reduced.
[0030]
In the in-vehicle communication system according to a seventh aspect, the information related to the communication is retransmission information indicating retransmission of the information, the gateway device includes retransmission detection means for detecting the retransmission information, and the storage means And storing a communication log relating to the retransmission information detected by the retransmission detection means.
[0031]
In the case of the seventh aspect, the information related to the communication of the communication log includes retransmission information indicating retransmission of each piece of information, and the gateway device detects the retransmission information by retransmission detection means, and detects the detected retransmission information. By transmitting the communication log according to the above to the storage device, the memory capacity of the communication log in the gateway device can be reduced, and the load on the network due to the process of transmitting the communication log to the storage device can be reduced. Since only the communication log relating to the failure in the communication processing between the in-vehicle devices on the network is efficiently stored in the storage device, the memory capacity of the storage device for storing the communication log can also be reduced.
[0032]
In the in-vehicle communication system according to an eighth aspect, the transmitting unit transmits the stored communication log to the storage device when a predetermined number of communication logs are stored in the storage unit. Features.
[0033]
According to the eighth aspect, when the gateway device stores a predetermined number of communication logs of the communication between the in-vehicle devices of the other networks, the gateway device stores the communication logs stored in the storage means in the storage device. By transmitting, the memory capacity of the communication log in the gateway device can be further reduced, the load on the network due to the transmission process in which the gateway device transmits the communication information to the storage device can be further reduced, and the communication information can be efficiently stored. Transmission processing can be realized.
[0034]
The communication system in a vehicle according to a ninth invention is characterized in that the transmission means transmits a communication log stored in the storage means to the storage device in a communication cycle of the one network.
[0035]
In the case of the ninth invention, the gateway device transmits each communication log stored in the storage means to the storage device in the communication cycle of the one network, so that the gateway device transmits the communication log to the storage device. A complicated configuration is not required for the transmission process, and the load on the network due to the transmission process in which the gateway device transmits the communication information to the storage device can be reduced, and the communication information transmission process can be efficiently performed. can do.
[0036]
A communication system in a vehicle according to a tenth aspect is characterized in that the storage device is built in at least one on-vehicle device of the one network.
[0037]
In the case of the tenth aspect, since the storage device for storing the communication log is built in at least one vehicle-mounted device of the one network, it is not necessary to connect the storage device to the network separately from each vehicle-mounted device. With a simpler configuration, a communication log between each vehicle-mounted device can be stored.
[0038]
An gateway device according to an eleventh aspect of the present invention is the gateway device for connecting a plurality of networks, further comprising a storage unit for storing a communication log of communication in the networks.
[0039]
In the case of the eleventh aspect, the gateway device connecting the plurality of networks stores the communication log of the communication in the network, so that the content of the communication processing in each network can be grasped.
[0040]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the in-vehicle communication system according to the present invention will be described in detail with reference to the drawings showing the embodiments.
In the present embodiment, a LAN is configured for each device mounted on the vehicle for each device that is strongly related to each other. For example, for devices related to an interface for the occupant of the vehicle, IEEE (Institute of Electrical and Electronic Engineers) is used. An information LAN conforming to 1394 is constructed. The information LAN can be configured as a system based on the MOST (Media Oriented System Transport) standard as well as the IEEE 1394 standard.
[0041]
The control system devices related to the traveling of the vehicle constitute a control system LAN conforming to CAN (Controller Area Network), LIN (Local Interconnect Network), TTP (Time-Triggered Protocol), FlexRay, or the like. The information LAN and the control LAN are connected by a gateway device.
[0042]
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration example of an in-vehicle communication system according to the present invention. In the drawing, reference numeral 100 denotes an in-vehicle communication system according to the present invention.
An in-vehicle communication system 100 according to the present invention includes an information LAN 101 in which devices related to an interface for a vehicle occupant are connected by a network cable 101a, and a control LAN 102 in which control devices related to running of the vehicle are connected by a network cable 102a. Are connected via the gateway device 1.
[0043]
In this embodiment, the information LAN 101 includes a navigation device 2, a CD player 41, an MD player 42, a cassette tape player 43, a television 44, a display device 45, a radio 46, and a communication terminal device for connecting to an external network. The control system LAN 102 includes a body ECU (Electronic Control Unit) 31 that controls devices related to the traveling of the vehicle, an engine ECU 32 that controls devices related to the engine, and a door provided in the vehicle. A device such as a door ECU 33 for notifying other devices of the opening / closing of the device and an instrument panel (hereinafter referred to as an instrument panel) ECU 34 are included.
[0044]
FIG. 2 is a block diagram showing a configuration example of the gateway device 1 and the navigation device 2 in the in-vehicle communication system according to the present invention.
The gateway device 1 controls operations of the following hardware units connected via a bus 16 with a control unit 10 including a CPU (Central Processing Unit) or an MPU (Micro Processor Unit) as a control center.
[0045]
The bus 16 has a ROM 11 which stores a computer program or the like indicating a control procedure of the control unit 10, a RAM 12 which temporarily stores various data generated during the control operation by the control unit 10, and a network cable of the information LAN 101. A communication log of communication between the devices of the control LAN 102, which includes an information LAN interface 13 for connecting to the control system LAN 102, a control LAN interface 14 for connecting to the network cable 102a of the control LAN 102, and a RAM. Is connected to a communication log storage unit 15 and the like for storing the information. Note that the communication log storage unit 15 is not limited to the RAM, and may be configured by a hard disk or the like.
The control unit 10 includes a clock unit (not shown). The control unit 10 reads the communication control processing programs stored in the ROM 11 into the RAM 12 and sequentially executes the communication control processing programs while measuring the timing. The communication protocol used by the LAN 102 is mutually converted.
[0046]
The navigation device 2 temporarily stores a control unit 20 as a control center, an HD 21 storing a computer program or the like indicating a control procedure of the control unit 20, and various data generated during a control operation by the control unit 20. A RAM 22, an operation unit 23 having keys for receiving various instructions from a user, a communication interface 24 for connecting to a network cable 101 a of the information LAN 101, and the like are connected.
[0047]
The control unit 20 includes a clock unit (not shown), and implements the operation of the navigation device 2 by reading the navigation processing programs stored in the HD 21 into the RAM 22 and sequentially executing the navigation processing programs while measuring the timing. I do.
The HD 21 is provided with a communication log storage area 21a for storing a communication log of communication in the control LAN 102. This communication log is obtained from the gateway device 1.
[0048]
In the above-described devices such as the CD player 41, the MD player 42, the cassette tape player 43, the television 44, the display device 45, the radio 46, the communication terminal device 47, the body ECU 31, the engine ECU 32, the door ECU 33, and the instrument panel ECU 34, instead of the HD. And a ROM (not shown) storing a computer program for realizing the operation of each device.
Other configurations are the same as those of the navigation device 2, and the control units (not shown) of the navigation devices 2 sequentially execute computer programs stored in a ROM (not shown). , And operates as each device.
[0049]
In the present embodiment, each device of the control LAN 102 has a communication function, and sends out communication information (corresponding to information related to communication) addressed to another device with which communication is performed to the network cable 102a. .
In addition, each device sequentially obtains communication information transmitted to the network cable 102a, and when the obtained communication information is communication information addressed to itself, transmits corresponding reply information to the network cable 102a. Performs mutual communication processing.
[0050]
Here, the communication log storage unit 15 of the gateway device 1 receives the communication information sent to the network cable 102a as described above, and communicates the received communication information with time information indicating the time at which the communication information was received. It operates as storage means for storing as a log. When a predetermined number of communication logs are stored in the communication log storage unit 15, the gateway device 1 transmits the communication logs to the navigation device 2 of the information LAN 102 via the network cable 101a. The communication log is stored in the communication log storage area 21a of the HD 21 of the navigation device 2.
[0051]
Each device of the control system LAN 102 receives reply information corresponding to communication information to a desired destination, and when communication processing with the destination device can be correctly completed, as communication information, An ACK (ACKnowledgement) signal indicating that the communication processing has been correctly completed is transmitted to the network cable 102a. If correct reply information cannot be received, the communication processing cannot be correctly completed and a failure or the like has occurred. (Negative ACKnowledgement) signal (corresponding to communication abnormality information) indicating the above is transmitted to the network cable 102a as communication information.
[0052]
Here, in the gateway device 1, the control unit 10 operates as abnormality detection means for detecting whether communication information sequentially received via the network cable 102a is a NACK signal, and detects that the communication information is a NACK signal. In this case, the communication log related to the detected NACK signal is stored in the communication log storage unit 15.
When a predetermined number of communication logs are accumulated in the communication log storage unit 15, the control unit 10 transmits these communication logs to the navigation device 2 of the information LAN 101 via the network cable 101a. The received communication log is stored in the communication log storage area 21a of the HD 21.
[0053]
When the communication log storage area 21a of the navigation device 2 is filled with the communication logs sequentially stored, a new communication log is overwritten from the first address position of the communication log storage area 21a.
[0054]
Hereinafter, a communication log storage process by the navigation device 2 in the in-vehicle communication system 100 having the above-described configuration will be described. FIG. 3 is a flowchart showing a communication log storage procedure in the in-vehicle communication system 100 according to the first embodiment.
In a vehicle equipped with the in-vehicle communication system 100 according to the present embodiment, when a driver operates an engine by turning on an ignition switch of the vehicle, current is supplied to each device of the information LAN 101 and the control LAN 102. Then, communication processing is sequentially performed between the activated devices, and communication information in each communication processing is transmitted to the respective network cables 101a and 102a.
[0055]
In the gateway device 1, the control unit 10 determines whether or not communication information has been received via the network cable 102a of the control LAN 102 (S1). If the communication information has been received (S1: YES), the control unit 10 receives the communication information. The communication information thus obtained is temporarily stored in the RAM 12 as a communication log together with the time information indicating the time of reception (S2).
Further, the control unit 10 determines whether or not an ACK signal has been received based on the communication log stored in the RAM 12 (S3). When the ACK signal has been received (S3: YES), the control unit 10 determines whether the ACK signal has been received. Assuming that the communication processing has been correctly completed, the communication log stored in the RAM 12 is deleted (S4).
[0056]
On the other hand, if the ACK signal has not been received (S3: NO), the control unit 10 determines whether or not a NACK signal has been received based on the communication log stored in the RAM 12 (S5). If it has not been received (S5: NO), it is determined whether or not the received communication information is communication information to its own gateway device 1 (S6), and if it is communication information to itself (S6: YES). ), And executes a process corresponding to the received communication information (S7).
After executing the processing corresponding to the received communication information, the control unit 10 sends the corresponding reply information to the network cable 102a, returns to the processing of step S1, receives the next communication information, and returns to the communication information to be sequentially received. The above processes are repeated.
[0057]
If the received communication information is not the communication information for itself (S6: NO), the process returns to step S1 without performing the process in step S7.
On the other hand, if the received communication information is a NACK signal (S5: YES), the control unit 10 determines that the communication processing relating to the communication log has not been correctly completed, and transmits the communication log stored in the RAM 12 to the communication log. It is stored in the log storage unit 15 (S8), and it is determined whether a predetermined number of communication logs have been stored in the communication log storage unit 15 (S9).
[0058]
Here, when the predetermined number of communication logs are not stored in the communication log storage unit 15 (S9: NO), the control unit 10 returns to the process of step S1 and continues until the predetermined number of communication logs are stored. When the predetermined number of communication logs are accumulated (S9: YES), the communication logs accumulated in the communication log storage unit 15 are transmitted to the navigation device 2 of the information LAN 101 (S10).
The navigation device 2 stores the received communication logs in the communication log storage area 21a of the HD 21 (S11).
[0059]
In this way, by storing only the communication log relating to the communication information regarding the failure in the in-vehicle device indicated by the NACK signal transmitted to the network cable 102a of the control LAN 102 in the communication log storage area 21a of the navigation device 2, the communication log is stored. Can be reduced.
Further, based on the communication log stored in the communication log storage area 21a, it is possible to analyze the cause of the failure that has occurred in each vehicle-mounted device.
[0060]
In the above-described embodiment, the gateway device 1 stores only the communication log related to the NACK signal in the HD 21 of the navigation device 2 of the information LAN 101. However, all communication information in the control LAN 102 is used as the communication log. It is good also as a structure which memorizes. In the case where all communication information is stored, the gateway device 1 does not need to include a unit that detects whether the received communication information is a NACK signal.
Further, the navigation device 2 is provided with the HD 21 and the communication log in the control system LAN 102 is stored in the HD 21. However, each device other than the navigation device 2 is provided with the HD and the HD stores the communication log. Is also good.
[0061]
In the above-described embodiment, the navigation device 2 is provided with the HD 21 for storing the communication log in the control LAN 102. However, in addition to using the HD, a semiconductor memory, a flash memory, a magnetic disk, an optical disk, or the like is used. You may.
In addition, an independent storage device may be connected to the network cable 102a of the control LAN 102, and a communication log may be stored in the storage device. In this case, the storage device transmits the NACK signal transmitted to the network cable 102a. Must be provided. When all the communication logs of the control LAN 102 are stored in the storage device, it is not necessary to provide a means for detecting a NACK signal. Further, as the independent storage device, not only the HD but also a semiconductor memory, a flash memory, a magnetic disk, an optical disk, or the like can be used.
[0062]
In the above-described embodiment, only the navigation device 2 has the HD 21 and the HD 21 has the communication log storage area 21a. However, a plurality of devices of the information LAN 101 have HDs, and the communication log is stored in the HD of each device. In this case, each device of the control system LAN 102 may be divided into a number of HDs and grouped, and a communication log may be stored in one HD for each group. Alternatively, the communication log between the devices of the control LAN 102 may be sequentially stored in one HD, and when the HD is satisfied, the log may be stored in the next HD.
The same configuration can be obtained by connecting a plurality of storage devices to the information LAN 101.
[0063]
The gateway device 1 is configured to transmit the communication logs stored in the navigation device 2 of the information LAN 101 when a predetermined number of communication logs are stored in the communication log storage unit 15, but at predetermined time intervals. Alternatively, the configuration may be such that the accumulated communication log is transmitted to the navigation device 2, or the communication log storage unit 15 is not provided, and the communication log is sequentially transmitted to the navigation device 2 when the communication log in the control system LAN 102 is received.
[0064]
(Embodiment 2)
Hereinafter, the in-vehicle communication system 100 according to the second embodiment will be described. Note that the configuration of the in-vehicle communication system 100 according to the present embodiment is the same as that of the in-vehicle communication system 100 according to the first embodiment described above, and a description thereof will be omitted.
[0065]
In this embodiment, each device of the control LAN 102 cannot receive reply information corresponding to the communication information transmitted to the desired destination, and if there is no response from the destination device, retransmits the same communication information. Is transmitted to the network cable 102a.
The control unit 10 of the gateway device 1 operates as retransmission detection means for detecting whether or not communication information sequentially received via the network cable 102a is retransmission information. Next, the communication log relating to the detected retransmission information is stored in the communication log storage unit 15.
[0066]
Further, the control unit 10 measures a predetermined time corresponding to a communication cycle in a communication process with each device of the information LAN 101 by the clock means, and stores the communication time stored in the communication log storage unit 15 at the predetermined time interval. The log is transmitted to the navigation device 2, and the communication log is stored in the communication log storage area 21 a of the HD 21 in the navigation device 2.
When the communication log storage area 21a of the navigation device 2 is filled with the communication logs sequentially stored, a new communication log is overwritten from the first address position of the communication log storage area 21a.
[0067]
Hereinafter, a communication log storage process by the navigation device 2 in the in-vehicle communication system 100 having the above-described configuration will be described. FIG. 4 is a flowchart showing a communication log storage procedure in the in-vehicle communication system 100 according to the second embodiment.
In a vehicle equipped with the in-vehicle communication system 100 according to the present embodiment, when a driver operates an engine by turning on an ignition switch of the vehicle, current is supplied to each device of the information LAN 101 and the control LAN 102. Then, communication processing is sequentially performed between the activated devices, and communication information in each communication processing is transmitted to the respective network cables 101a and 102a.
[0068]
In the gateway device 1, the control unit 10 determines whether or not communication information has been received via the network cable 102a of the control LAN 102 (S21). If the communication information has been received (S21: YES), the control unit 10 receives the communication information. The communication information thus obtained is temporarily stored in the RAM 12 as a communication log together with the time information indicating the reception time (S22).
Further, the control unit 10 determines whether or not retransmission information has been received based on the communication log stored in the RAM 12 (S23). If the retransmission information has not been received (S23: NO), the received communication It is determined that the information is correct, and it is determined whether or not the received communication information is communication information to the gateway device 1 of itself (S24).
[0069]
Here, when the received communication information is communication information for itself (S24: YES), the control unit 10 executes a process corresponding to the received communication information (S25), and sends the corresponding reply information to the network cable 102a. Send to
On the other hand, if the received communication information is retransmission information in step S23 (S23: YES), the control unit 10 determines that the received communication information is incorrect, and stores the communication log stored in the RAM 12 in the communication log storage. The information is stored in the unit 15 (S26), and it is determined by the clock means whether a predetermined time based on a predetermined cycle of the information LAN 101 has elapsed (S27).
[0070]
If the received communication information is not the communication information for itself in step S24 (S24: NO), the control unit 10 does not perform the processing in step S25, and determines whether or not the predetermined time has elapsed by the clock unit. A determination is made (S27).
Here, when the predetermined time has not elapsed (S27: NO), the control unit 10 repeats each of the above-described steps S21 to S26 until the predetermined time has elapsed, and when the predetermined time has elapsed (S27: YES), the communication log stored in the communication log storage unit 15 at that time is transmitted to the navigation device 2 of the information LAN 101 (S28), and the navigation device 2 stores the received communication log in the communication log storage area 21a of the HD 21. It is stored (S29).
[0071]
As described above, only the communication log relating to the retransmission information transmitted to the network cable 102a of the control LAN 102 is stored in the communication log storage area 21a of the navigation device 2, thereby reducing the memory capacity for storing the communication log. be able to.
Further, based on the communication log stored in the communication log storage area 21a, it is possible to analyze the cause of the failure that has occurred in each vehicle-mounted device.
[0072]
Note that, in the in-vehicle communication system 100 according to the second embodiment described above, the same modification as the modification described in the first embodiment can be applied.
In the above-described in-vehicle communication system 100 according to the first embodiment, the gateway device 1 stores a communication log related to the NACK signal, and when a predetermined number of communication logs are accumulated in the communication log storage unit 15, navigation is performed. In the in-vehicle communication system 100 according to the second embodiment, the gateway device 1 stores a communication log relating to retransmission information, and stores the communication log in accordance with the communication timing of the information LAN 101. 15 is transmitted to the navigation device 2 when stored in the storage unit 15, but a configuration in which these are combined may be employed.
[0073]
The gateway device 1 is configured to transmit the communication logs stored in the communication log storage unit 15 to the navigation device 2 based on a predetermined cycle in the information LAN 102. May be transmitted to the navigation device 2 at the time when is accumulated. Alternatively, the communication log storage unit 15 may not be provided, and the communication log may be sequentially transmitted to the navigation device 2 when the communication log in the control system LAN 102 is received.
[0074]
【The invention's effect】
In the case of the first invention, a storage device is provided in one of the networks connected by the gateway device, and the gateway device stores the communication log of the communication between the in-vehicle devices of the other network by the transmission unit. By transmitting the data to the device and storing the received communication log, a failure based on the communication process between each vehicle-mounted device in each network and an unexpected failure that did not occur with each device alone occurred. In this case, a communication log can be stored, and based on such a communication log, not only the fact that a failure has occurred in each in-vehicle device but also the symptoms of the failure can be grasped.
[0075]
In the case of the second invention, the communication between the in-vehicle devices is stored by storing a communication log including information relating to communication between the plurality of in-vehicle devices constituting the network and time information indicating the time at which the communication was performed. When a failure based on processing or an unexpected failure that did not occur with each device alone occurs, it becomes easier to narrow down the device that caused the failure based on the communication log, and the narrowed devices The cause of the failure can be analyzed based on the above operation.
[0076]
In the case of the third aspect, the information related to the communication of the communication log includes communication abnormality information indicating a failure, and the gateway device detects the communication abnormality information by abnormality detection means, and detects the detected communication abnormality information. By transmitting the communication log according to the above to the storage device, it is possible to efficiently store only the communication log relating to the failure in the communication processing between the in-vehicle devices of each network in the storage device, based on the stored communication log In addition, not only can the cause of the failure occurring in each vehicle-mounted device be analyzed, but also the memory capacity of the storage device for storing the communication log can be reduced.
[0077]
In the case of the fourth invention, among the information related to the communication of the communication log, there is retransmission information indicating retransmission of each information, and the gateway device detects the retransmission information by retransmission detection means, and detects the detected retransmission information. By transmitting the communication log according to the above to the storage device, only the communication log relating to the failure in the communication processing between the in-vehicle devices of each network can be efficiently stored in the storage device, and the storage device for storing the communication log The memory capacity can be reduced.
[0078]
According to the fifth aspect, the gateway device includes a storage unit that stores a communication log of communication between the in-vehicle devices of the other network, and transmits the stored communication log to the storage device, whereby the gateway device The load on the network due to the process of transmitting the communication log to the storage device can be reduced, and the communication log can be transmitted efficiently.
[0079]
In the case according to the sixth invention, the information related to the communication of the communication log includes communication abnormality information indicating a failure, and the gateway device detects the communication abnormality information by the abnormality detecting means, and detects the detected communication abnormality information. , The memory capacity of the communication log in the gateway device can be reduced, and the load on the network due to the process of transmitting the communication log to the storage device can be reduced. Since only the communication log relating to the failure in the communication processing between the in-vehicle devices is efficiently stored in the storage device, the memory capacity of the storage device for storing the communication log can also be reduced.
[0080]
In the case of the seventh aspect, the information related to the communication of the communication log includes retransmission information indicating retransmission of each piece of information, and the gateway device detects the retransmission information by retransmission detection means, and detects the detected retransmission information. By transmitting the communication log according to the above to the storage device, the memory capacity of the communication log in the gateway device can be reduced, and the load on the network due to the process of transmitting the communication log to the storage device can be reduced. Since only the communication log relating to the failure in the communication processing between the in-vehicle devices on the network is efficiently stored in the storage device, the memory capacity of the storage device for storing the communication log can also be reduced.
[0081]
According to the eighth aspect, when the gateway device stores a predetermined number of communication logs of the communication between the in-vehicle devices of the other networks, the gateway device stores the communication logs stored in the storage means in the storage device. By transmitting, the memory capacity of the communication log in the gateway device can be further reduced, the load on the network due to the transmission process in which the gateway device transmits the communication information to the storage device can be further reduced, and the communication information can be efficiently stored. Transmission processing can be realized.
[0082]
In the case of the ninth invention, the gateway device transmits each communication log stored in the storage means to the storage device in the communication cycle of the one network, so that the gateway device transmits the communication log to the storage device. A complicated configuration is not required for the transmission process, and the load on the network due to the transmission process in which the gateway device transmits the communication information to the storage device can be reduced, and the communication information transmission process can be efficiently performed. can do.
[0083]
In the case of the tenth aspect, since the storage device for storing the communication log is built in at least one vehicle-mounted device of the one network, it is not necessary to connect the storage device to the network separately from each vehicle-mounted device. With a simpler configuration, a communication log between each vehicle-mounted device can be stored.
[0084]
In the case of the eleventh aspect, the gateway device connecting the plurality of networks stores the communication log of the communication in the network, so that the content of the communication processing in each network can be grasped.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of an in-vehicle communication system according to the present invention.
FIG. 2 is a block diagram showing a configuration example of a gateway device and a navigation device in the in-vehicle communication system according to the present invention.
FIG. 3 is a flowchart showing a communication log storage processing procedure in the in-vehicle communication system according to the first embodiment.
FIG. 4 is a flowchart showing a communication log storage processing procedure in the in-vehicle communication system according to the second embodiment.
[Explanation of symbols]
100 In-vehicle communication system
101 Information LAN
102 Control system LAN
1 gateway device
10 control unit
11 ROM
15 Communication log storage
2 Navigation device
21 HD
21a Communication log storage area

Claims (11)

複数の車載機器を有する複数のネットワークをゲートウェイ装置で接続してあり、前記車載機器間で通信を行なう車両内通信システムにおいて、
一のネットワークに記憶装置を備え、
前記ゲートウェイ装置は、
他のネットワークの各車載機器間における通信の通信ログを前記記憶装置へ送信する送信手段を備え、
前記記憶装置は、前記ゲートウェイ装置から受信した通信ログを記憶するように構成してあることを特徴とする車両内通信システム。
A plurality of networks having a plurality of in-vehicle devices are connected by a gateway device, and an in-vehicle communication system that performs communication between the in-vehicle devices,
A storage device in one network,
The gateway device,
A transmission unit for transmitting a communication log of communication between each vehicle-mounted device of another network to the storage device,
The in-vehicle communication system, wherein the storage device is configured to store a communication log received from the gateway device.
前記通信ログは、前記通信に係る情報及び前記通信が行なわれた時刻を示す時刻情報である請求項1に記載の車両内通信システム。The in-vehicle communication system according to claim 1, wherein the communication log is information relating to the communication and time information indicating a time at which the communication was performed. 前記通信に係る情報は、故障を示す通信異常情報であり、
前記ゲートウェイ装置は、
前記通信異常情報を検出する異常検出手段を備え、
前記送信手段は、前記異常検出手段が検出した通信異常情報に係る通信ログを前記記憶装置へ送信する請求項2に記載の車両内通信システム。
The information related to the communication is communication abnormality information indicating a failure,
The gateway device,
An abnormality detection unit that detects the communication abnormality information,
The in-vehicle communication system according to claim 2, wherein the transmission unit transmits a communication log relating to communication abnormality information detected by the abnormality detection unit to the storage device.
前記通信に係る情報は、該情報の再送を示す再送情報であり、
前記ゲートウェイ装置は、
前記再送情報を検出する再送検出手段を備え、
前記送信手段は、前記再送検出手段が検出した再送情報に係る通信ログを前記記憶装置へ送信する請求項2又は3に記載の車両内通信システム。
The information related to the communication is retransmission information indicating retransmission of the information,
The gateway device,
Comprising a retransmission detection means for detecting the retransmission information,
4. The in-vehicle communication system according to claim 2, wherein the transmission unit transmits a communication log relating to retransmission information detected by the retransmission detection unit to the storage device. 5.
前記ゲートウェイ装置は、
前記他のネットワークの各車載機器間における通信の通信ログを記憶する記憶手段を備え、
前記送信手段は、前記記憶手段に記憶してある通信ログを前記記憶装置へ送信する請求項2に記載の車両内通信システム。
The gateway device,
A storage unit for storing a communication log of communication between the in-vehicle devices of the other network,
The in-vehicle communication system according to claim 2, wherein the transmission unit transmits a communication log stored in the storage unit to the storage device.
前記通信に係る情報は、故障を示す通信異常情報であり、
前記ゲートウェイ装置は、
前記通信異常情報を検出する異常検出手段を備え、
前記記憶手段は、前記異常検出手段が検出した通信異常情報に係る通信ログを記憶する請求項5に記載の車両内通信システム。
The information related to the communication is communication abnormality information indicating a failure,
The gateway device,
An abnormality detection unit that detects the communication abnormality information,
The in-vehicle communication system according to claim 5, wherein the storage unit stores a communication log relating to communication abnormality information detected by the abnormality detection unit.
前記通信に係る情報は、該情報の再送を示す再送情報であり、
前記ゲートウェイ装置は、
前記再送情報を検出する再送検出手段を備え、
前記記憶手段は、前記再送検出手段が検出した再送情報に係る通信ログを記憶する請求項5又は6に記載の車両内通信システム。
The information related to the communication is retransmission information indicating retransmission of the information,
The gateway device,
Comprising a retransmission detection means for detecting the retransmission information,
The in-vehicle communication system according to claim 5, wherein the storage unit stores a communication log related to retransmission information detected by the retransmission detection unit.
前記送信手段は、予め設定された数の通信ログが前記記憶手段に記憶された場合に、記憶してある通信ログを前記記憶装置へ送信する請求項5乃至7のいずれかに記載の車両内通信システム。8. The vehicle according to claim 5, wherein the transmission unit transmits the stored communication logs to the storage device when a predetermined number of communication logs are stored in the storage unit. 9. Communications system. 前記送信手段は、前記一のネットワークの通信周期にて、前記記憶手段に記憶してある通信ログを前記記憶装置へ送信する請求項5乃至7のいずれかに記載の車両内通信システム。8. The in-vehicle communication system according to claim 5, wherein the transmission unit transmits a communication log stored in the storage unit to the storage device in a communication cycle of the one network. 前記記憶装置は、前記一のネットワークの少なくとも1つの車載機器に内蔵されている請求項1乃至9のいずれかに記載の車両内通信システム。The in-vehicle communication system according to any one of claims 1 to 9, wherein the storage device is built in at least one vehicle-mounted device of the one network. 複数のネットワークを接続するゲートウェイ装置において、
前記ネットワークにおける通信の通信ログを記憶する記憶手段を備えることを特徴とするゲートウェイ装置。
In a gateway device connecting a plurality of networks,
A gateway device comprising storage means for storing a communication log of communication in the network.
JP2003048121A 2003-02-25 2003-02-25 In-vehicle communication system and gateway device Pending JP2004260484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003048121A JP2004260484A (en) 2003-02-25 2003-02-25 In-vehicle communication system and gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003048121A JP2004260484A (en) 2003-02-25 2003-02-25 In-vehicle communication system and gateway device

Publications (1)

Publication Number Publication Date
JP2004260484A true JP2004260484A (en) 2004-09-16

Family

ID=33114176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003048121A Pending JP2004260484A (en) 2003-02-25 2003-02-25 In-vehicle communication system and gateway device

Country Status (1)

Country Link
JP (1) JP2004260484A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008149967A1 (en) * 2007-06-08 2008-12-11 Nagoya University On-vehicle communication system, on-vehicle communication device, and on-vehicle communication method
US7769906B2 (en) 2004-08-05 2010-08-03 Robert Bosch Gmbh FlexRay communication module
JP2012004790A (en) * 2010-06-16 2012-01-05 Yokogawa Electric Corp Field communication system
JP2017174111A (en) * 2016-03-23 2017-09-28 株式会社東芝 In-vehicle gateway device, storage control method, and program
JP2017192082A (en) * 2016-04-15 2017-10-19 三菱電機株式会社 Log collection system and vehicle loaded with the same
JP2018079720A (en) * 2016-11-14 2018-05-24 三菱電機株式会社 On-vehicle control device, gateway device, and on-vehicle network system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769906B2 (en) 2004-08-05 2010-08-03 Robert Bosch Gmbh FlexRay communication module
WO2008149967A1 (en) * 2007-06-08 2008-12-11 Nagoya University On-vehicle communication system, on-vehicle communication device, and on-vehicle communication method
JP2008306592A (en) * 2007-06-08 2008-12-18 Univ Nagoya In-vehicle communication system, in-vehicle communication device, and in-vehicle communication method
US8448035B2 (en) 2007-06-08 2013-05-21 National University Corporation Nagoya University Communication system adapting for car, communication apparatus adapting for car, and communication method adapting for car
JP2012004790A (en) * 2010-06-16 2012-01-05 Yokogawa Electric Corp Field communication system
JP2017174111A (en) * 2016-03-23 2017-09-28 株式会社東芝 In-vehicle gateway device, storage control method, and program
US10229547B2 (en) 2016-03-23 2019-03-12 Kabushiki Kaisha Toshiba In-vehicle gateway device, storage control method, and computer program product
JP2017192082A (en) * 2016-04-15 2017-10-19 三菱電機株式会社 Log collection system and vehicle loaded with the same
JP2018079720A (en) * 2016-11-14 2018-05-24 三菱電機株式会社 On-vehicle control device, gateway device, and on-vehicle network system

Similar Documents

Publication Publication Date Title
JP6485429B2 (en) In-vehicle network system
JP6406365B2 (en) Switch device, communication control method, and communication control program
US10812290B2 (en) On-vehicle communication system, switching device and on-vehicle communication method
CN111343085A (en) Routing system and method for vehicle-mounted CAN bus gateway
KR20190000514A (en) Method for preventing diagnostic errors in vehicle network and apparatus for the same
JP4987760B2 (en) Relay device, communication system, and communication method
JP7400820B2 (en) In-vehicle communication system, in-vehicle device and vehicle communication method
JP7001026B2 (en) Vehicle communication device
JP2004260484A (en) In-vehicle communication system and gateway device
JP2006020038A (en) Physical quantity sensor device and inspecting device therefor
JP2014083917A (en) Battery condition monitoring system for vehicle
JP2019146145A (en) Communication device, communication method, and program
CN117997973B (en) Data transmission method, chip and storage medium
JP6032174B2 (en) Communication control device
JP2004260485A (en) In-vehicle communication system
KR102111359B1 (en) Apparatus for OTA add-on
JP3401360B2 (en) Multiplex transmission equipment
JP2009065412A (en) In-vehicle communication system
JP2017114406A (en) Network system
JP4361540B2 (en) Gateway device, data transfer method, and program
JP3401361B2 (en) Multiplex transmission system
KR102228331B1 (en) Operation method of communication node in network
JP2020043520A (en) Relay device
JP2024147137A (en) In-vehicle device, setting processing method, and setting processing program
JP2020025194A (en) Information processing apparatus, information processing system, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070904

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080108