JP2009027245A - Conversion unit, method and program - Google Patents
Conversion unit, method and program Download PDFInfo
- Publication number
- JP2009027245A JP2009027245A JP2007185692A JP2007185692A JP2009027245A JP 2009027245 A JP2009027245 A JP 2009027245A JP 2007185692 A JP2007185692 A JP 2007185692A JP 2007185692 A JP2007185692 A JP 2007185692A JP 2009027245 A JP2009027245 A JP 2009027245A
- Authority
- JP
- Japan
- Prior art keywords
- network
- processing unit
- converter
- data format
- conversion
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は、複数のネットワーク同士を接続するための変換ユニット、変換方法及びそのような変換方法を実行するためのプログラムに関する。 The present invention relates to a conversion unit for connecting a plurality of networks, a conversion method, and a program for executing such a conversion method.
従来、複数のネットワーク同士を、ゲートウエイを介して1対1で接続することが知られている。例えば、図1に、そのようなネットワークシステムの一例を示す。 Conventionally, it is known that a plurality of networks are connected one-to-one via a gateway. For example, FIG. 1 shows an example of such a network system.
図1に示すネットワークシステムでは、通信プロトコルAのネットワーク1、通信プロトコルBのネットワーク2が第1のゲートウエイ5により接続され、通信プロトコルBのネットワーク2、通信プロトコルCのネットワーク3が第2のゲートウエイ6により接続されている。
In the network system shown in FIG. 1, the
図1に示すようなネットワークシステムにおいて、ネットワーク1からネットワーク3へデータを転送する場合には、第1のゲートウエイ5において、通信プロトコルAから通信プロトコルBへの変換を行い、第2のゲートウエイ6において、通信プロトコルBから通信プロトコルCへの変換を行う必要があり、複数のネットワーク間のデータのやり取りが煩雑で時間がかかるという問題があった。また、図1に示すネットワークBのように、経由するだけのネットワークにおける通信帯域を圧迫し、本来のネットワーク内で必要な通信に影響が生じるという問題もあった。さらに、図1に示すネットワークシステムでは、多くのネットワークが接続されればされるほど、複数のネットワーク間のデータのやり取りの煩雑さが増加するという問題もあった。
In the network system as shown in FIG. 1, when data is transferred from the
また、図2に示すように、複数のネットワークをゲートウエイを介して相互に接続することが知られている(例えば、特許文献1参照)。 Further, as shown in FIG. 2, it is known to connect a plurality of networks to each other via a gateway (see, for example, Patent Document 1).
図2(a)に示す場合には、通信プロトコルAのネットワーク1から通信ネットワークCへのネットワーク3へは、第1のゲートウエイ5及び第3のゲートウエイ7間の1つのプロトコル変換にて対応することができる。
In the case shown in FIG. 2A, the
しかしながら、図2(b)に示すように、新たに通信プロトコルDのネットワーク4が追加された場合には、第1のゲートウエイ5〜第4のゲートウエイ8の全てが、他のゲートウエイとの間の通信プロトコル変換情報を有している必要が生じることとなる。即ち、ネットワークDを追加するためには、既存の第1のゲートウエイ5〜第3のゲートウエイ7に、第4のゲートウエイ8との間の通信プロトコル変換情報を付与しなければならない。したがって、図2に示すようなネットワークシステムでは、既存のネットワークシステムに新たなネットワークを増設する場合に、大きな負担を強いられるという問題があった。
However, as shown in FIG. 2B, when the
そこで、本発明は、上記の問題点を解決することを可能とする変換ユニット、変換方法及びプログラムを提供することを目的とする。 Accordingly, an object of the present invention is to provide a conversion unit, a conversion method, and a program that can solve the above-described problems.
また、本発明は、1つのゲートウエイ処理部において、複数のネットワークとの接続を一元管理するための変換ユニット、変換方法及びプログラムを提供することを目的とする。 It is another object of the present invention to provide a conversion unit, a conversion method, and a program for centrally managing connections with a plurality of networks in one gateway processing unit.
本発明に係る変換ユニットは、ゲートウエイ処理部と、ゲートウエイ処理部で使用されるデータ形式と第1のネットワークで使用されるデータ形式との変換を行うための第1のコンバータと、ゲートウエイ処理部で使用されるデータ形式と第2のネットワークで使用されるデータ形式との変換を行うための第2のコンバータを有することを特徴とする。 The conversion unit according to the present invention includes a gateway processing unit, a first converter for performing conversion between a data format used in the gateway processing unit and a data format used in the first network, and a gateway processing unit. It has the 2nd converter for converting between the data format used and the data format used in the 2nd network.
また、本発明に係る変換ユニットは、ゲートウエイ処理部と、複数のネットワークの内の1つのネットワークで使用されるデータ形式からゲートウエイ処理部で使用されるデータ形式への変換を行うための第1のコンバータと、ゲートウエイ処理部で使用されるデータ形式から複数のネットワークの内の他の1つのネットワークで使用されるデータ形式への変換を行うための第2のコンバータを有することを特徴とする。 The conversion unit according to the present invention includes a gateway processing unit and a first unit for performing conversion from a data format used in one of a plurality of networks to a data format used in the gateway processing unit. And a converter and a second converter for performing conversion from a data format used in the gateway processing unit to a data format used in another one of the plurality of networks.
本発明に係る変換方法は、第1のコンバータにおいて第1のネットワークからの受信データを第1のネットワークで使用されるデータ形式からゲートウエイ処理部で使用されるデータ形式へ変換し、ゲートウエイ処理部においてゲートウエイ処理部で使用されるデータ形式に変換されたデータの処理を行い、第2のコンバータにおいてゲートウエイ処理部で処理されたデータをゲートウエイ処理部で使用されるデータ形式から第2のネットワークで使用されるデータ形式へ変換することを特徴とする。 In the conversion method according to the present invention, in the first converter, the received data from the first network is converted from the data format used in the first network to the data format used in the gateway processing unit, and in the gateway processing unit The data converted into the data format used in the gateway processing unit is processed, and the data processed in the gateway processing unit in the second converter is used in the second network from the data format used in the gateway processing unit. It is characterized by converting to a data format.
本発明に係るプログラムは、第1のコンバータに第1のネットワークからの受信データを第1のネットワークで使用されるデータ形式からゲートウエイ処理部で使用されるデータ形式へ変換させ、ゲートウエイ処理部にゲートウエイ処理部で使用されるデータ形式に変換されたデータの処理を行わせ、第2のコンバータにゲートウエイ処理部で処理されたデータをゲートウエイ処理部で使用されるデータ形式から第2のネットワークで使用されるデータ形式へ変換させる手順を実行させることを特徴とする。 The program according to the present invention causes the first converter to convert the received data from the first network from the data format used in the first network to the data format used in the gateway processing unit, and causes the gateway processing unit to convert the data to the gateway processing unit. The data converted into the data format used in the processing unit is processed, and the second converter uses the data processed in the gateway processing unit from the data format used in the gateway processing unit in the second network. It is characterized in that a procedure for converting to a data format is executed.
本発明に係る変換ユニット、変換方法及びプログラムによれば、複数のネットワークで利用されるデータをゲートウエイ処理部で利用されるデータ形式(中間言語)に変換して一元処理することから、データ転送のための遅延時間を減少させることが可能となった。 According to the conversion unit, the conversion method, and the program according to the present invention, since data used in a plurality of networks is converted into a data format (intermediate language) used in a gateway processing unit and processed in a unified manner, Because of this, it became possible to reduce the delay time.
また、本発明に係る変換ユニット、変換方法及びプログラムによれば、単に経由のためだけに中間のネットワークを利用することがないので、中間ネットワークに負担をかけることがなくなった。 In addition, according to the conversion unit, the conversion method, and the program according to the present invention, the intermediate network is not used only for transit, so that the intermediate network is not burdened.
さらに、本発明に係る変換ユニット、変換方法及びプログラムによれば、新規にネットワークを追加する場合には、既存のネットワークの数に拘らず、新規追加分のネットワークとゲートウエイ処理部との間の変換をつかさどるコンバータを1つ新規に用意すればよいので、簡易に新規のネットワークを追加することが可能となった。 Furthermore, according to the conversion unit, the conversion method, and the program according to the present invention, when a new network is added, the conversion between the newly added network and the gateway processing unit is performed regardless of the number of existing networks. Since it is only necessary to prepare a new converter that controls the network, it is possible to easily add a new network.
以下図面を参照して、本発明に係る変換ユニット、変換方法及びプログラムについて説明する。但し、本発明の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Hereinafter, a conversion unit, a conversion method, and a program according to the present invention will be described with reference to the drawings. However, it should be noted that the technical scope of the present invention is not limited to these embodiments, but extends to the invention described in the claims and equivalents thereof.
図3は、本発明に係る変換ユニットが構築するネットワークシステムを示す概念図である。 FIG. 3 is a conceptual diagram showing a network system constructed by the conversion unit according to the present invention.
図3に示すように、ネットワークシステムは、通信プロトコルAのネットワーク10、通信プロトコルBのネットワーク20及び通信プロトコルCのネットワーク30の中心に1つのゲートウエイ処理部50を置き集中管理を行っている。ゲートウエイ処理部50は独自の中間言語(共通のデータ形式)プロトコルを有し、経路管理を行う。したがって、通信プロトコルAのネットワーク10は第1の中間言語コンバータ11、通信プロトコルBのネットワーク20は第2の中間言語コンバータ21、及び通信プロトコルCのネットワーク30は第3の中間言語コンバータ31を有し、ゲートウエイ処理部50における中間言語プロトコルとの間のプロトコル変換を行っている。また、各中間言語コンバータ11〜31及びゲートウエイ処理部50は、変換ユニット100として構成されている。
As shown in FIG. 3, the network system performs centralized management by placing one
このような変換ユニット100に基づいたネットワークシステムでは、1つのネットワークから他のネットワークへデータの転送を行う場合の経路を簡素化することができるので、データ転送のための遅延時間を減少させることが可能となる。特に、単に経由のためだけに中間のネットワークを利用することがないので、中間ネットワークに負担をかけることがない(図1参照)。
In such a network system based on the
また、例えば、第4のネットワークとして、通信プロトコルDのネットワーク40を追加する場合には、第4の中間言語コンバータ41のみを追加してゲートウエイ処理部50と接続すればよい。即ち、例えば、図2に示す例のように、既に接続されている他の全てのネットワークとの相互関係を考慮することなく、追加のネットワークとゲートウエイ処理部50との関係のみを考慮すればよいので、簡単にネットワークの拡張を行うことが可能となる。したがって、本発明に係る変換ユニット100を車載ネットワークの構築に利用した場合、第4のネットワークとして外部ネットワークとの接続のためにEthernet(登録商標)を追加することによって、車載ネットワークがゲートウエイ処理部50を介して外部ネットワークと簡単に接続することが可能となる。また、当初、外部ネットワークとの接続を考慮せずに、車載ネットワークのみを構築した場合でも、簡単に外部ネットワークとの接続のためにEthernet(登録商標)を追加することができる。なお、Ethernetは、外部ネットワークとの接続のために追加するネットワークの一例であって、これに限定されるものではない。
Further, for example, when the
さらに、中間言語(共通のデータ形式)プロトコルとして、ゲートウエイ処理部50と接続し得るネットワーク中で使用される、最も高速なプロトコルを選択すれば、さらに、データ転送のための遅延時間を短縮することができる。なお、このような場合、ゲートウエイ処理部50で中間言語として利用するプロトコルを用いるネットワークとの間では、中間言語コンバータを必要としない。
Furthermore, if the fastest protocol used in the network that can be connected to the
図4は、本発明に係る変換ユニットの概略構成図である。 FIG. 4 is a schematic configuration diagram of a conversion unit according to the present invention.
図4の例では、変換ユニット100を車載ネットワークを構築するために利用したが、変換ユニット100はこれに限定されることなく、例えば、鉄道に利用される車両や航空機等の移動体等のネットワークを構築するために利用することも可能である。
In the example of FIG. 4, the
図4に示すように、変換ユニット100は、CAN(Controller Area Network)10のための中間言語コンバータ11、CAN制御するためのCAN制御部12、MOST(Media Oriented System Transport)20のための中間言語コンバータ21、MOSTを制御するためのMOST制御部22、LIN(Local Interconnect Network)30のための中間言語コンバータ31、LINを制御するためのLIN制御部32、Ethernet40のための中間言語コンバータ41、Ethernetを制御するためのEthernet制御部42、ゲートウエイ処理部50、設定ファイル用メモリ51、及びルーティングテーブル用メモリ52等から構成される。各中間言語コンバータ、各制御部、及びゲートウエイ処理部50は、CPU、各種メモリ等を含んでIC.ASIC等としてハードウエア的に構成されていても良いし、その一部及び全部がソフトウエア的にメモリ上に構築されていても良い。また、変換ユニット100は、CAN制御部12、MOST制御部22、LIN制御部32、及びEthernet制御部42の全て又は一部と別個に構成されていても良い。
As shown in FIG. 4, the
CANとは、主にダッシュボード制御(乗員検知、エアコン等)、エンジン制御などに使用される、車載ネットワークのシリアル通信方式による車内LAN向け通信規格である。 CAN is a communication standard for an in-vehicle LAN based on a serial communication system of an in-vehicle network, which is mainly used for dashboard control (occupant detection, air conditioner, etc.) and engine control.
CAN10では、シングル線又はツイストペア線からなる共通バスに、車輪速度や車両の重心周りに生じるヨーレイト、ステアリング舵角等に基づいて車両の旋回挙動を安定化させるためのVSC(Vehicle Stability Control)・ECU(Electric Control Unit)15、エアコン操作スイッチや車内温度等に基づいて車内のエアコンディショニングを制御するエアコンECU16、及びステアリング舵角に応じた信号を出力する舵角センサ、ヨーレイトに応じた信号を出力するヨーレイトセンサ、スロットル開度やアクセル開度、及びエンジン水温等に基づいてエンジン制御を行うエンジンECU17がノードとして接続されている。なお、シフト操作位置等に基づいて車両のシフトポジションを制御するトランスミッションECU、ブレーキ踏力やステアリング舵角等に基づいて操舵アシストを制御するパワーステアリングECU等も、CAN10にノードとして接続することができる。
In CAN10, VSC (Vehicle Stability Control) ECU for stabilizing the turning behavior of a vehicle based on wheel speed, yaw rate generated around the center of gravity of the vehicle, steering rudder angle, etc. on a common bus consisting of a single line or twisted pair line (Electric Control Unit) 15, an
MOSTとは、マルチメディア系車載LAN規格であって、車両内の様々なコントロール機器のマルチメディア・エンタテイメント機能を分散する方法を提供するのに適している。例えば、CDチェンジヤー、ラジオ、GPS、携帯電話、DVDプレーヤをリング・ネットワーク内に配置し、MOSTネットワークを活用したデジタル信号処理により、高品質なオーディオ信号をアンプへ送信することが可能となる。 MOST is a multimedia-based in-vehicle LAN standard, and is suitable for providing a method for distributing multimedia entertainment functions of various control devices in a vehicle. For example, a CD changer, radio, GPS, mobile phone, and DVD player are arranged in a ring network, and high-quality audio signals can be transmitted to an amplifier by digital signal processing utilizing a MOST network.
MOST20では、入力された映像を表示するディスプレイ25、及び車両の現在位置を地図上に表示し、目的地までの距離や方位を出力するナビゲーションシステム26がノードとして接続されている。なお、デジタルテレビ放送を受信し映像を出力するデジタルビデオチューナ、オーディオ信号を増幅させるオーディオアンプ等のマルチメディア系の装置を、MOST20にノードとして接続することができる。
In the MOST 20, a
LINとは、ドアミラー、ワイパー等の比較的制御が簡単な機器との通信に利用される、車載ネットワークのシリアル通信方式による車内LAN向け通信規格である。 LIN is a communication standard for in-vehicle LAN based on a serial communication system of an in-vehicle network, which is used for communication with devices that are relatively easy to control, such as door mirrors and wipers.
LIN30では、シートを調整するためのモータ制御システム35、車両のドアモジュール内に配置された電動ウインド用モータ制御システム36、電動ミラー用モータ制御システム37等がノードとして接続されている。なお、ドアロック用モータ制御システム等、車両のボディー系のシステムを、LIN30にノードとして接続することができる。
In the
Ethernet40には、例えば、Wi−Fi(Wireless Fidelity)、WiMAX(World wide Interoperability of Microwave Access)又はDSRC(Dedicated Short Range Communication)等によって無線でデータの送受信を行うための無線端末45が接続されている。
For example, a wireless terminal 45 for wirelessly transmitting and receiving data by Wi-Fi (Wireless Fidelity), WiMAX (World Wide Interoperability of Microwave Access), DSRC (Dedicated Short Range Communication), or the like is connected to the
無線通信端末45は、基地局60、インターネット、ローカルなネットワーク又は自宅のホームネットワーク等のネットワーク70と接続し、ネットワーク70と接続されている外部サーバ80にアクセスし、各種データの送受信を行うことが可能となる。例えは、無線通信端末45を利用して、事故直前等の緊急時に、路車間又は車車間の無線通信で受信した周辺情報に基づいて、CAN10に接続されている車両を制御する各種ECUと連携して、ブレーキングやステアリングのアシストを行い、事故の回避行動をとることが可能となる。
The wireless communication terminal 45 is connected to a
また、無線通信端末45を利用して、ユーザは、情報検索又は周辺情報を配信するサーバ及び他の無線通信端末と接続して、各種動画、音楽、ファイルデータの取得することが可能となる。これらのデータをMOST20に接続されているディスプレイ25やナビゲーションシステム26と連動させることによって、車内で幅広く、深いサービスを利用することが可能となる。
Further, by using the wireless communication terminal 45, the user can connect to a server for distributing information search or peripheral information and other wireless communication terminals and acquire various moving images, music, and file data. By linking these data with the
さらに、無線通信端末45を利用して、プローブ情報(ナビゲーションシステム26と連携しているGPSセンサや各種センサ、ECU等の情報)を、外部サーバ80に送信することで、きめの細かな交通流れ、交通行動、位置情報、車両挙動、気象や自然現象に係る状況を、外部サーバ80側でモニタリングすることが可能となる。例えば、外部サーバ80側で、速度などの情報を集めることで、渋滞情報や事故情報を把握することができ、ワイパーの動作速度等によってどの地域でどの程度の降雨量があるかをリアルタイムで予測することが可能となる。さらに、無線通信端末45を利用して、各ネットワーク(CAN10、MOST20及びLIN30等)に接続されているEUC自体等が、自己の状態・情報を外部サーバ80へ送信することによって、外部サーバ80から、車内の故障や違法改造、正規パーツの使用等を、ディーラや車両の所有者に通知することも可能となる。
Further, by using the wireless communication terminal 45, probe information (information on GPS sensors, various sensors, ECUs, etc. linked to the navigation system 26) is transmitted to the
CAN10とゲートウエイ処理部50とを接続する中間言語コンバータ11は、CAN10におけるプロトコルを中間言語(共通のデータ形式)に変換するための変換テーブル101及びコンバータ102、チャンネル1として中間言語をCAN10におけるプロトコルに変換するための変換テーブル103及びコンバータ104、チャンネル2として中間言語をCAN10におけるプロトコルに変換するための変換テーブル105及びコンバータ106を有している。
The
コンバータ104は、チャンネル1において、データ変換するための3つのコンバータ1〜3を更に有している。同様に、コンバータ105は、チャンネル2において、データ変換するための3つのコンバータ1〜3を更に有している。3つのコンバータを用意するのは、優先順位に応じて変換タイミングに優劣を設けるためである。
The
なお、本実施例では、CAN10からゲートウエイ処理部50への方向には1組の変換テーブルとコンバータを設け、ゲートウエイ処理部50からCAN10への方向には2組の変換テーブル及びコンバータを設けたが、それに限定されるものではなく、他の様々な改変が可能である。
In this embodiment, one set of conversion tables and converters are provided in the direction from the
同様に、MOST20とゲートウエイ処理部50とを接続する中間言語コンバータ21は、MOST20におけるプロトコルを中間言語に変換するための変換テーブル107及びコンバータ108、中間言語をMOST20におけるプロトコルに変換するための変換テーブル109及びコンバータ110を有している。また、LIN30とゲートウエイ処理部50とを接続する中間言語コンバータ31は、LIN30におけるプロトコルを中間言語に変換するための変換テーブル111及びコンバータ112、中間言語をLIN30におけるプロトコルに変換するための変換テーブル113及びコンバータ114を有している。さらに、Ethernet40とゲートウエイ処理部50とを接続する中間言語コンバータ41は、中間言語をEthernet40におけるプロトコルに変換するための変換テーブル115及びコンバータ116、Ethernet40におけるプロトコルを中間言語に変換するための変換テーブル117及びコンバータ118を有している。
Similarly, the
設定ファイル用メモリ51には、ゲートウエイ処理部50を動作させる上で必要な各種設定値が記録されている。例えは、新たなにネットワークを追加するような場合には、設定ファイルのデータを書き換えることによって対応する。
In the
ルーティングテーブル用メモリ52には、ネットワーク(CAN10、MOST20、LIN30及びEthernet40)間のデータのやり取りを行うためのルーティング処理用のテーブルが予め記憶されている。
The
本発明は、CAN10、MOST20、LIN30、Ethernet40に限定されず、他のネットワーク、例えば、FlexRay間との接続にも利用することができる。FlexRayは車内用LAN規格の一つであり、CAN通信で問題となる通信のオーバーロードを避けることができることから、モータの回転力で直接、操舵角度を制御する方式であるステアリング・バイ・ワイヤ、電磁力で直接、ブレーキ圧力を制御する方式であるブレーキ・バイ・ワイヤなど、特に高い信頼性が要求されう車内に通信に利用される。
The present invention is not limited to CAN10, MOST20, LIN30, and
図5は、変換ユニット100における動作フローの一例を示す図である。図5に示す処理フローは、ゲートウエイ処理部50のメモリ等に記録されたプログラムに従い、ゲートウエイ処理部50のCPU及び変換ユニット100を構成する各種構成要素のCPU等と共同して実行するものとする。図5に示す処理フローが開始される時点で、変換ユニット100及び各種ネットワーク及び各種ネットワークに接続されたノードには電力が供給され、動作可能な状況に保持されているものとする。
FIG. 5 is a diagram illustrating an example of an operation flow in the
図6は、ネットワーク間を転送されるデータ、各種コンバータの変換テーブル、ルーティングテーブル用メモリ52に記憶されるルーティングテーブルの一例を示す図である。
FIG. 6 is a diagram illustrating an example of data transferred between networks, conversion tables of various converters, and a routing table stored in the
以下、図5及び図6を参照しながら、CAN10からEthernet40へのデータの転送例を用いて、変換ユニット100の動作を説明する。
Hereinafter, the operation of the
最初に、中間言語コンバータ11のコンバータ102が、CAN制御部12からフレームデータ200を受信する(S1)。フレームデータ200は、図6に示すように、ID−1とDATAから構成される。
First, the converter 102 of the
次に、中間言語コンバータ11のコンバータ102が、変換テーブル101でフレームデータ200のID−1が記憶されているか否かの検索を行い(S2)、発見した場合には(S3)、コンバータ102が、変換テーブル101を利用して、ID−1を中間言語であるIP及びPortにプロトコル変換する(S4)。変換テーブル101の具体例を図6に変換テーブル201として示す。図6の例では、ID−1(「BAB」)が、IP(「BABABABA」)及びPort(8000)に変換される。
Next, the converter 102 of the
次に、ゲートウエイ処理部50において中間言語にプロトコル変換されたフレームデータ202の処理が行われる。即ち、ゲートウエイ処理部50は、ルーティングテーブル記憶部51を利用して、フレームデータ202のIPが予め記憶されているか否かの検索を行い(S5)、発見した場合には(S6)、対応するネットワークへの転送を決定する(S7)。ルーティングテーブル203の具体例を図6に示す。図6の例では、IP(「BABABABA」)及びPort(8000)に対応するのは、Ethernet01であることが、ルーティングテーブル203から判明するので、フレームデータ202が、ゲートウエイ処理部50及びEthernet40間の中間言語コンバータ41へ転送される。
Next, the
次に、転送先の中間言語コンバータ41において、変換テーブル115でフレームデータ202のIPが記憶されているか否かの検索を行い(S8)、発見した場合には(S9)、コンバータ116は、変換テーブル115を利用して、中間言語であるIP及びPortを、Ethernet40におけるプロトコルであるID−2及びPortへプロトコル変換する(S10)。変換テーブル115の具体例を図6に変換テーブル204として示す。図6の例では、IP(「BABABABA」)及びPort(8000)が、IP−2(「BABABABA」)及びPort(8000)に変換される。
Next, in the
次に、コンバータ116は、変換されたフレームデータ205をEthernet制御部42へ送信して(S11)、一連の処理を終了する。
Next, the converter 116 transmits the converted
また、S3、S6及びS9において、所定のデータが検索によって発見されなかった場合には、フレームデータが廃棄されて(S12)、一連の処理が終了する。 In S3, S6, and S9, if the predetermined data is not found by the search, the frame data is discarded (S12), and the series of processing ends.
なお、変換ユニット100で利用される中間言語がCAN10のプロトコルと同じ場合にはS4における変換は不要であり、変換ユニット100で利用される中間言語がEthernet40のプロトコルと同じ場合にはS10における変換は不要である。
If the intermediate language used in the
上記の例では、CAN10からEthernet40へのデータの転送例について説明したが、変換ユニット100は、CAN10、MOST20、LIN30及びEthernet40間の全ての場合のフレームデータの転送についても同様に処理することができる。このように、変換ユニット100は、各ネットワークとの間にそれぞれに対応する中間言語コンバータ11〜41を有し、ゲートウエイ処理部50内でのルーティング処理は全て中間言語(共通のデータ形式)を用いて行うので、データ転送のための遅延時間を減少させることが可能となった。特に、単に経由のためだけに中間のネットワークを利用することがないので、中間ネットワークに負担をかけることがない(図1参照)。また、ゲートウエイ処理部50に、新規にネットワークを追加する場合には、既存のネットワークの数に拘らず、新規追加分のネットワークとゲートウエイ処理部50との間の変換をつかさどる中間言語コンバータを1つ新規に用意すればよいので、簡易に新規のネットワークを追加することが可能となった。
In the above example, the example of data transfer from the
10 CAN
11 中間言語コンバータ
12 CAN制御部
20 MOST
21 中間言語コンバータ
22 MOST制御部
30 LIN
31 中間言語コンバータ
40 Ethernet
41 中間言語コンバータ
42 Ethernet制御部
50 ゲートウエイ処理部
51 設定ファイル用メモリ
52 ルーティングテーブル用メモリ
60 基地局
70 ネットワーク
80 外部サーバ
10 CAN
11
21 Intermediate language converter 22
31
41 Intermediate language converter 42
Claims (7)
ゲートウエイ処理部と、
前記ゲートウエイ処理部で使用されるデータ形式と前記第1のネットワークで使用されるデータ形式との変換を行うための第1のコンバータと、
前記ゲートウエイ処理部で使用されるデータ形式と前記第2のネットワークで使用されるデータ形式との変換を行うための第2のコンバータと、
を有することを特徴とする変換ユニット。 A conversion unit for connecting a first network and a second network,
A gateway processing unit;
A first converter for converting between a data format used in the gateway processing unit and a data format used in the first network;
A second converter for converting between a data format used in the gateway processing unit and a data format used in the second network;
A conversion unit comprising:
前記第1のコンバータは前記第1ネットワーク制御部と前記ゲートウエイ処理部とを接続し、前記第2のコンバータは前記第2ネットワーク制御部と前記ゲートウエイ処理部とを接続する、請求項1又は2に記載の変換ユニット。 A first network control unit for controlling the first network; and a second network control unit for controlling the second network;
The first converter connects the first network control unit and the gateway processing unit, and the second converter connects the second network control unit and the gateway processing unit. The conversion unit described.
前記第2のコンバータは、前記ゲートウエイ処理部で使用されるデータ形式と前記第2のネットワークで使用されるデータ形式との変換を行うための第2の変換テーブルを有する、請求項1〜3の何れか一項に記載の変換ユニット。 The first converter has a first conversion table for converting between a data format used in the gateway processing unit and a data format used in the first network;
The said 2nd converter has a 2nd conversion table for converting between the data format used by the said gateway process part, and the data format used by the said 2nd network, The Claims 1-3 The conversion unit according to any one of the above.
ゲートウエイ処理部と、
前記複数のネットワークの内の1つのネットワークで使用されるデータ形式から前記ゲートウエイ処理部で使用されるデータ形式への変換を行うための第1のコンバータと、
前記ゲートウエイ処理部で使用されるデータ形式から前記複数のネットワークの内の他の1つのネットワークで使用されるデータ形式への変換を行うための第2のコンバータと、
を有することを特徴とする変換ユニット。 A conversion unit for connecting multiple networks,
A gateway processing unit;
A first converter for converting from a data format used in one of the plurality of networks to a data format used in the gateway processing unit;
A second converter for performing conversion from a data format used in the gateway processing unit to a data format used in another one of the plurality of networks;
A conversion unit comprising:
前記第1のコンバータにおいて、前記第1のネットワークからの受信データを、前記第1のネットワークで使用されるデータ形式から前記ゲートウエイ処理部で使用されるデータ形式へ変換し、
前記ゲートウエイ処理部において、前記ゲートウエイ処理部で使用されるデータ形式に変換されたデータの処理を行い、
前記第2のコンバータにおいて、前記ゲートウエイ処理部で処理されたデータを、前記ゲートウエイ処理部で使用されるデータ形式から前記第2のネットワークで使用されるデータ形式へ変換する、
ことを特徴とする変換方法。 A data conversion method in a conversion unit having a gateway processing unit, a first converter connected to a first network, and a second converter connected to a second network,
In the first converter, received data from the first network is converted from a data format used in the first network to a data format used in the gateway processing unit,
In the gateway processing unit, processing of the data converted to the data format used in the gateway processing unit,
In the second converter, the data processed in the gateway processing unit is converted from a data format used in the gateway processing unit to a data format used in the second network.
A conversion method characterized by that.
前記第1のコンバータに、前記第1のネットワークからの受信データを、前記第1のネットワークで使用されるデータ形式から前記ゲートウエイ処理部で使用されるデータ形式へ変換させ、
前記ゲートウエイ処理部に、前記ゲートウエイ処理部で使用されるデータ形式に変換されたデータの処理を行わせ、
前記第2のコンバータに、前記ゲートウエイ処理部で処理されたデータを、前記ゲートウエイ処理部で使用されるデータ形式から前記第2のネットワークで使用されるデータ形式へ変換させる、
手順を実行させることを特徴とするプログラム。 In a conversion unit having a gateway processing unit, a first converter connected to a first network, and a second converter connected to a second network,
Causing the first converter to convert received data from the first network from a data format used in the first network to a data format used in the gateway processing unit;
Causing the gateway processing unit to process the data converted into the data format used by the gateway processing unit;
Causing the second converter to convert the data processed by the gateway processing unit from a data format used by the gateway processing unit to a data format used by the second network;
A program characterized by causing a procedure to be executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007185692A JP2009027245A (en) | 2007-07-17 | 2007-07-17 | Conversion unit, method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007185692A JP2009027245A (en) | 2007-07-17 | 2007-07-17 | Conversion unit, method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009027245A true JP2009027245A (en) | 2009-02-05 |
Family
ID=40398677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007185692A Pending JP2009027245A (en) | 2007-07-17 | 2007-07-17 | Conversion unit, method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009027245A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011099187A1 (en) * | 2010-02-09 | 2011-08-18 | 日立オートモティブシステムズ株式会社 | In-vehicle-data relaying device and vehicle control system |
KR101073291B1 (en) * | 2009-06-18 | 2011-10-12 | 성균관대학교산학협력단 | Network system of in-vehicle and control method thereof |
JP2012244382A (en) * | 2011-05-19 | 2012-12-10 | Nippon Telegr & Teleph Corp <Ntt> | Gateway device and communication method |
WO2017038188A1 (en) * | 2015-09-03 | 2017-03-09 | 日立オートモティブシステムズ株式会社 | Gateway device and computing device |
JP2019506094A (en) * | 2016-02-18 | 2019-02-28 | ルネサスエレクトロニクス株式会社 | Message handler |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001244986A (en) * | 2000-03-02 | 2001-09-07 | Nec Corp | Network interconnection system |
JP2002196990A (en) * | 2000-12-27 | 2002-07-12 | Kddi Corp | Service discovery protocol conversion gateway |
JP2002198990A (en) * | 2000-12-22 | 2002-07-12 | Mitsubishi Electric Corp | Data communication method and data communication ic |
JP2002232438A (en) * | 2001-01-30 | 2002-08-16 | Sumitomo Electric Ind Ltd | Gateway and network system |
JP2006129282A (en) * | 2004-10-29 | 2006-05-18 | Fujitsu General Ltd | Gateway device |
WO2006126355A1 (en) * | 2005-05-24 | 2006-11-30 | Matsushita Electric Industrial Co., Ltd. | Gateway device and control device |
-
2007
- 2007-07-17 JP JP2007185692A patent/JP2009027245A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001244986A (en) * | 2000-03-02 | 2001-09-07 | Nec Corp | Network interconnection system |
JP2002198990A (en) * | 2000-12-22 | 2002-07-12 | Mitsubishi Electric Corp | Data communication method and data communication ic |
JP2002196990A (en) * | 2000-12-27 | 2002-07-12 | Kddi Corp | Service discovery protocol conversion gateway |
JP2002232438A (en) * | 2001-01-30 | 2002-08-16 | Sumitomo Electric Ind Ltd | Gateway and network system |
JP2006129282A (en) * | 2004-10-29 | 2006-05-18 | Fujitsu General Ltd | Gateway device |
WO2006126355A1 (en) * | 2005-05-24 | 2006-11-30 | Matsushita Electric Industrial Co., Ltd. | Gateway device and control device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101073291B1 (en) * | 2009-06-18 | 2011-10-12 | 성균관대학교산학협력단 | Network system of in-vehicle and control method thereof |
WO2011099187A1 (en) * | 2010-02-09 | 2011-08-18 | 日立オートモティブシステムズ株式会社 | In-vehicle-data relaying device and vehicle control system |
JP2011166421A (en) * | 2010-02-09 | 2011-08-25 | Hitachi Automotive Systems Ltd | In-vehicle-data relaying device, and vehicle control system |
JP2012244382A (en) * | 2011-05-19 | 2012-12-10 | Nippon Telegr & Teleph Corp <Ntt> | Gateway device and communication method |
CN107925595A (en) * | 2015-09-03 | 2018-04-17 | 日立汽车***株式会社 | Gateway apparatus and arithmetic unit |
JP2017050774A (en) * | 2015-09-03 | 2017-03-09 | 日立オートモティブシステムズ株式会社 | Gateway device and calculation device |
WO2017038188A1 (en) * | 2015-09-03 | 2017-03-09 | 日立オートモティブシステムズ株式会社 | Gateway device and computing device |
US10397022B2 (en) | 2015-09-03 | 2019-08-27 | Hitachi Automotive Systems, Ltd. | Gateway device and computing device |
CN107925595B (en) * | 2015-09-03 | 2021-04-06 | 日立汽车***株式会社 | Gateway device and arithmetic device |
JP2019506094A (en) * | 2016-02-18 | 2019-02-28 | ルネサスエレクトロニクス株式会社 | Message handler |
EP3417581B1 (en) | 2016-02-18 | 2020-08-19 | Renesas Electronics Corporation | Message handler |
US11019182B2 (en) | 2016-02-18 | 2021-05-25 | Renesas Electronics Corporation | Message handler |
US11876879B2 (en) | 2016-02-18 | 2024-01-16 | Renesas Electronics Corporation | Message handler |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11539727B2 (en) | Abnormality detection apparatus and abnormality detection method | |
JP5316646B2 (en) | Vehicle gateway device | |
US10715600B2 (en) | Network hub, transfer method, and onboard network system | |
US11018897B2 (en) | Electronic control unit, communication method, and onboard network system | |
US9172635B2 (en) | Ethernet backbone network system for vehicle and method for controlling fail safe of the ethernet backbone network system | |
US9749147B2 (en) | Ethernet AVB for time-sensitive networks | |
CN108370342A (en) | Gateway apparatus, vehicle netbios, forwarding method and program | |
US10511668B2 (en) | Method of transmitting and receiving data in vehicle network and apparatus for the same | |
KR101100336B1 (en) | In Vehicle Network System having Intelligence Integrated Gateway and Method for processing data thereof | |
US20210184886A1 (en) | In-vehicle information processing for unauthorized data | |
WO2018109976A1 (en) | Switch device, communication control method, and communication control program | |
JP2009027245A (en) | Conversion unit, method and program | |
JP2009071688A (en) | Communication gateway apparatus, on-vehicle network system, and gateway method | |
KR20140124255A (en) | Gateway and Method for delivering Message thereof | |
JP2007336267A (en) | In-vehicle communication system | |
US20150046342A1 (en) | System and method for telematics service of vehicle | |
JP6292136B2 (en) | Communication relay device and network system | |
JP6983977B2 (en) | Gateway device, in-vehicle network system and transfer method | |
CN102752201A (en) | Ethernet-based car multimedia information transmission system and method | |
CN115705044A (en) | Vehicle remote diagnosis method, device and system | |
JP2019146145A (en) | Communication device, communication method, and program | |
JP3736460B2 (en) | Gateway and distributed system using the gateway | |
CN114726896B (en) | Vehicle-mounted gateway control system and intelligent automobile | |
WO2021009996A1 (en) | Onboard communication system, switch device, and control method | |
JP2004348638A (en) | Onboard network system, gateway device and command conversion method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100618 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110710 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120403 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121016 |