JP5696657B2 - Relay device, communication harness, and communication system - Google Patents

Relay device, communication harness, and communication system Download PDF

Info

Publication number
JP5696657B2
JP5696657B2 JP2011286399A JP2011286399A JP5696657B2 JP 5696657 B2 JP5696657 B2 JP 5696657B2 JP 2011286399 A JP2011286399 A JP 2011286399A JP 2011286399 A JP2011286399 A JP 2011286399A JP 5696657 B2 JP5696657 B2 JP 5696657B2
Authority
JP
Japan
Prior art keywords
information
communication
relay
routing table
record
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.)
Expired - Fee Related
Application number
JP2011286399A
Other languages
Japanese (ja)
Other versions
JP2013135429A (en
Inventor
良明 林
良明 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
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 Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2011286399A priority Critical patent/JP5696657B2/en
Priority to PCT/JP2012/082613 priority patent/WO2013099667A1/en
Publication of JP2013135429A publication Critical patent/JP2013135429A/en
Application granted granted Critical
Publication of JP5696657B2 publication Critical patent/JP5696657B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Description

本発明は、異なる通信バス間を中継する中継装置に関し、多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能であり、且つ、置換された異なるルーティングテーブルに対応可能な中継装置、該中継装置を含む通信ハーネス、及び前記中継装置を含む通信システムに関する。   The present invention relates to a relay device that relays between different communication buses, a relay device that can replace a routing table to cope with various relay variations, and that can correspond to the replaced different routing tables, The present invention relates to a communication harness including the relay device and a communication system including the relay device.

車両制御の分野では、車内に配される夫々機器を制御する多数の制御機器(ECU:Electronic Control Unit)を通信バスで接続し、相互にデータを送受信させて、多様な処理を行なう構成が一般的となっている。1つの通信バスに接続されるECUの数に制限があること、又はECUの役割によって通信速度が異なることから、ECUを複数の群に分け、群毎に1つの通信バスに接続し、2つの通信バス間を中継装置(ゲートウェイ)で接続する構成が採用されている。   In the field of vehicle control, it is common to connect various control devices (ECUs: Electronic Control Units) that control each device in the vehicle via a communication bus and send and receive data to each other to perform various processes. It is the target. Since the number of ECUs connected to one communication bus is limited or the communication speed varies depending on the role of the ECU, the ECUs are divided into a plurality of groups and connected to one communication bus for each group. A configuration is employed in which communication buses are connected by a relay device (gateway).

中継装置は、1つの通信バスから受信した情報を、CAN(Controller Area Network)であればCANIDで識別し、CANID毎に中継の要否及び中継先の通信バスを特定するルーティングテーブルを参照し、中継先の通信バスから送信して中継処理を実現している(特許文献1,2等)。   The relay device identifies information received from one communication bus by CANID if it is a CAN (Controller Area Network), and refers to a routing table that specifies the necessity of relay and the relay destination communication bus for each CANID. Relay processing is realized by transmission from a relay destination communication bus (Patent Documents 1, 2, etc.).

特開2009−049944号公報JP 2009-049944 A 国際公開第2008/126698号パンフレットInternational Publication No. 2008/126698 Pamphlet 特開2006−340099号公報Japanese Patent Laid-Open No. 2006-340099

特許文献1又は2に記載されている構成では、ルーティングテーブルをメモリに記憶しておき、中継処理プログラムに基づくCPUから、又は中継処理を行なうように構成された回路から、一の通信バスから情報を受信する都度、又は、一の情報を送信するタイミングが到来する都度、メモリ内のルーティングテーブルからIDと中継先の通信バスとの対応を読み出して中継先の通信バスを特定する処理を毎回行なう。このような構成では、メモリからの読み出しによって処理が遅くなったり、メモリに記憶するルーティングテーブルの情報量が多くなったりするなどの問題がある。   In the configuration described in Patent Document 1 or 2, a routing table is stored in a memory, and information is transmitted from a single communication bus from a CPU based on a relay processing program or from a circuit configured to perform relay processing. Each time the timing of transmitting one piece of information or the timing of transmitting one piece of information is read, the correspondence between the ID and the relay destination communication bus is read from the routing table in the memory and the process of specifying the relay destination communication bus is performed each time. . In such a configuration, there is a problem that processing is slowed down by reading from the memory, and the amount of information in the routing table stored in the memory is increased.

また、特許文献3に開示されているように、車載ECUは、昨今ではハードウェアコストの削減のため、車種又はオプションなどの違いで夫々のハードウェアを製作することを回避するため、書き換え可能なコンピュータプログラムに基づくマイクロコンピュータ(以下マイコンという)処理が採用されている。   Further, as disclosed in Patent Document 3, in-vehicle ECUs are rewritable in recent years in order to avoid the production of each hardware due to differences in vehicle type or options, etc., in order to reduce hardware costs. A microcomputer (hereinafter referred to as a microcomputer) process based on a computer program is employed.

このような事情から、処理の高速化、及びメモリの節約のために結局、ルーティングテーブルの内容を組み込んだコンピュータプログラムをCPUに読み出させて実行するマイコンを用いた構成が採用されているのが現実である。つまり、コンピュータプログラムの実行コード内に、ある情報を受信した場合の中継先が既に規定されており、テーブルの読み出し処理が不要である。特許文献2にも、中継装置が起動するときに、メモリに記憶されているルーティングテーブルを読み込んで変換し、中継処理回路内に組み込んで用いることが記載されている。   Under these circumstances, in order to speed up processing and save memory, a configuration using a microcomputer that eventually reads and executes a computer program incorporating the contents of the routing table is adopted. Reality. That is, the relay destination when certain information is received is already defined in the execution code of the computer program, and the table reading process is unnecessary. Patent Document 2 also describes that when the relay device is activated, the routing table stored in the memory is read and converted, and incorporated into the relay processing circuit.

一方で、電子制御にて実現される機能が増加していることから車載ECUの数も膨大である。中継装置も、2つの通信バス間の情報の中継ではなく、3つ以上の通信バス間の情報の中継処理が必要になってきている。したがって、ある情報は1の通信バスから他の3つの通信バスへ中継し、2つの通信バスから夫々受信した2つの情報をまとめて、他の1の通信バスから送信するなどの多様な中継バリエーションが存在する。更に、車両メーカ、車種又はオプション毎に、通信バスの数、各通信バスに接続されるECUの種類が異なるから、中継バリエーションが増加する。ルーティングテーブルの内容を組み込んだコンピュータプログラムをCPUに読み出させる構成では、異なるバリエーション毎に、中継処理のプログラムを開発しなければならず、開発コストを抑えることが困難である。   On the other hand, since the functions realized by electronic control are increasing, the number of in-vehicle ECUs is enormous. The relay device is also required to relay information between three or more communication buses instead of relaying information between two communication buses. Therefore, various relay variations, such as relaying certain information from one communication bus to the other three communication buses, combining two pieces of information received from the two communication buses, and transmitting them from the other one communication bus. Exists. Furthermore, since the number of communication buses and the type of ECU connected to each communication bus are different for each vehicle manufacturer, vehicle type, or option, relay variations increase. In the configuration in which the CPU reads the computer program incorporating the contents of the routing table, a relay processing program must be developed for each different variation, and it is difficult to reduce development costs.

本発明は斯かる事情に鑑みてなされたものであり、多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能であり、且つ、置換された異なるルーティングテーブルに対応可能な中継装置、該中継装置を含む通信ハーネス、及び前記中継装置を含む通信システムを提供することを目的とする。   The present invention has been made in view of such circumstances, a relay device that can replace a routing table in order to cope with various relay variations, and can correspond to different replaced routing tables, It is an object of the present invention to provide a communication harness including the relay device and a communication system including the relay device.

本発明に係る中継装置は、異なる通信バスに夫々接続する複数の通信部と、書き換え可能な記憶部と、記憶してあるコンピュータプログラムに基づき、1又は複数の通信部にて受信した1又は複数の情報を他の1又は複数の通信部から送信する中継処理を実行するプロセッサとを備える中継装置であって、前記記憶部には、受信した通信バス毎、及び、各通信バスで受信した情報の識別情報毎に、中継先を特定する情報を含む一定の型のレコードから構成されたルーティングテーブルが記憶してあり、前記プロセッサは、前記ルーティングテーブル内の前記レコードから該レコードに含まれる情報を戻り値として返す特定の命令コードを実行する実行手段を備えることを特徴とする。 The relay device according to the present invention includes one or a plurality of communication units connected to different communication buses, a rewritable storage unit, and one or more received by one or more communication units based on a stored computer program. And a processor that executes a relay process for transmitting the information from one or more other communication units, and the storage unit receives information for each received communication bus and for each communication bus. For each piece of identification information, a routing table composed of a certain type of record including information for specifying a relay destination is stored, and the processor extracts information contained in the record from the record in the routing table. An execution means for executing a specific instruction code to be returned as a return value is provided.

本発明に係る中継装置は、前記情報は複数のシグナル情報からなり、前記ルーティングテーブルは、受信した情報を格納する格納領域と、前記シグナル情報毎に、前記シグナル情報を読み出すための前記格納領域内の格納位置を示すインデックス情報とを含み、前記実行手段は、前記インデックス情報を参照する手段と、前記インデックス情報に基づき、ルーティングテーブル内からシグナル情報を読み出す手段と、読み出したシグナル情報から中継する情報を作成する手段とを備えることを特徴とする。 Relay device according to the present invention, the information comprises a plurality of signal information, wherein the routing table includes a storage area for storing the received information, the per signal information, the storage area for reading out the signal information Information indicating the storage location of the information, and the execution means refers to the index information, means for reading signal information from the routing table based on the index information, and information relayed from the read signal information And a means for creating.

本発明に係る中継装置は、前記情報は複数のシグナル情報からなり、前記ルーティングテーブルは、中継する情報を格納し、中継先が対応付けられている格納領域と、前記情報に含まれるシグナル情報毎に前記格納領域内の格納位置を示すインデックス情報とを含み、前記実行手段は、前記インデックス情報を参照する手段と、前記インデックス情報に基づき、ルーティングテーブル内にシグナル情報を格納する手段とを備えることを特徴とする。 In the relay device according to the present invention, the information includes a plurality of signal information, the routing table stores information to be relayed, a storage area in which a relay destination is associated, and each signal information included in the information Index information indicating a storage position in the storage area , and the execution means includes means for referring to the index information and means for storing signal information in a routing table based on the index information. It is characterized by.

本発明に係る通信ハーネスは、上記発明の中継装置のいずれかと、該中継装置の前記複数の通信部に夫々接続される複数の通信バスとを含むことを特徴とする。   A communication harness according to the present invention includes any one of the relay devices according to the invention described above and a plurality of communication buses respectively connected to the plurality of communication units of the relay device.

本発明に係る通信システムは、情報を送受信する複数の通信装置と、該複数の通信装置が夫々接続された複数の通信バスと、該複数の通信バスが接続された上記発明の中継装置のいずれかとを含むことを特徴とする。   The communication system according to the present invention includes any of a plurality of communication devices that transmit and receive information, a plurality of communication buses to which the plurality of communication devices are respectively connected, and a relay device of the invention to which the plurality of communication buses are connected. It is characterized by including a heel.

本発明では、中継装置の記憶部には書き換え可能なルーティングテーブルが記憶され、該ルーティングテーブルは、受信した通信バス毎、及び各通信バスで受信した情報の識別情報毎に中継先を特定するものであって、コンピュータプログラムに基づき中継処理を実行するプロセッサは、前記ルーティングテーブルを読み出すための特定の命令コードを実行する。特定の命令コードは、一定の条件を満たすルーティングテーブルであれば内容が異なるルーティングテーブルに対し普遍的に対応するものである。   In the present invention, a rewritable routing table is stored in the storage unit of the relay device, and the routing table specifies a relay destination for each received communication bus and for each identification information of information received by each communication bus. The processor that executes the relay process based on the computer program executes a specific instruction code for reading the routing table. A specific instruction code universally corresponds to a routing table having different contents as long as the routing table satisfies a certain condition.

本発明では、ルーティングテーブルは受信した情報を格納する格納領域を含み、該格納領域には中継先が対応付けられており、当該格納先のインデックス情報を含む。プロセッサが特定の命令コードに基づき、ルーティングテーブルから情報を読み出すに際し、インデックス情報を参照する手段と、インデックス情報に基づき受信した情報の格納先から情報を読み出す手段とを実行することにより、内容が異なるルーティングテーブルであってもインデックス情報に基づき、ルーティングテーブル内の情報を読み出すことが可能である。   In the present invention, the routing table includes a storage area for storing received information. The storage area is associated with a relay destination, and includes index information of the storage destination. When the processor reads information from the routing table based on a specific instruction code, the contents differ by executing means for referring to the index information and means for reading the information from the storage location of the information received based on the index information. Even in the routing table, the information in the routing table can be read based on the index information.

本発明では、ルーティングテーブルは中継(送信)する情報を格納する格納領域を含み、該格納領域には中継先が対応付けられており、当該格納先のインデックス情報を含む。プロセッサが特定の命令コードに基づき、ルーティングテーブルに前記中継する情報を格納するに際し、インデックス情報を参照する手段と、インデックス情報に基づき格納領域に情報を格納する手段とを実行し、送信する情報を作成することにより、内容が異なるルーティングテーブルであってもインデックス情報に基づき、格納領域に対応付けられた中継先へ、情報を送信することが可能である。   In the present invention, the routing table includes a storage area for storing information to be relayed (transmitted), the storage area is associated with a relay destination, and includes index information of the storage destination. When the processor stores the information to be relayed in the routing table based on a specific instruction code, the processor executes means for referring to the index information and means for storing the information in the storage area based on the index information, and transmits information to be transmitted. By creating, it is possible to transmit information to the relay destination associated with the storage area based on the index information even if the routing tables have different contents.

本発明による場合、多様な中継バリエーションに対応するためにルーティングテーブルを置換することが可能である。そして、置換されたルーティングテーブルに対しても特定の命令コードを実行することにより、置換された異なるルーティングテーブルに対応して受信した情報を管理し、中継する情報を作成することができる。   According to the present invention, the routing table can be replaced to cope with various relay variations. Then, by executing a specific instruction code also for the replaced routing table, it is possible to manage information received corresponding to the replaced different routing table and create information to be relayed.

したがって、異なる中継バリエーション夫々に応じてプロセッサが中継処理を実行するためのコンピュータプログラムを作成し直す必要がない。これにより、開発コストを抑えることが可能である。また、中継処理を実行するためのコンピュータプログラムを作成し直す必要がないから、本発明の中継装置の検査を行なうに際し、前記コンピュータプログラムの検査は、異なる中継バリエーション毎に毎回行なう必要がなく、異なる中継バリエーションに対応させた異なるルーティングテーブルを含めた動作のみ検査すればよい。したがって、中継装置及び該中継装置を含む通信システム構築後の検査の項目を減少させ、製造コストを抑えることも可能である。   Therefore, it is not necessary to recreate a computer program for the processor to execute the relay process according to each different relay variation. As a result, development costs can be reduced. Further, since it is not necessary to re-create a computer program for executing the relay processing, the inspection of the computer program does not have to be performed every time for different relay variations when performing the inspection of the relay device of the present invention. Only operations including different routing tables corresponding to relay variations need be inspected. Accordingly, it is possible to reduce the number of items to be inspected after construction of the relay device and the communication system including the relay device, thereby suppressing the manufacturing cost.

本実施の形態における車載通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the vehicle-mounted communication system in this Embodiment. フラッシュメモリに記憶される情報の内容を模式的に示す模式図である。It is a schematic diagram which shows typically the content of the information memorize | stored in flash memory. ルーティングテーブルの受信テーブルの内容例を示す説明図である。It is explanatory drawing which shows the example of the content of the reception table of a routing table. 受信テーブルのインデックス情報の内容例を示す説明図である。It is explanatory drawing which shows the example of the content of the index information of a reception table. ルーティングテーブルの送信テーブルの内容例を示す説明図である。It is explanatory drawing which shows the example of the content of the transmission table of a routing table. 送信テーブルのインデックス情報の内容例を示す説明図である。It is explanatory drawing which shows the example of the content of the index information of a transmission table. 中継装置における受信処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the reception process in a relay apparatus. 中継装置における即時中継処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the immediate relay process in a relay apparatus. 中継装置における送信処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the transmission process in a relay apparatus.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
なお、以下の実施の形態では本発明を、車載機器を制御する車載通信システムに適用した場合の例を挙げて説明する。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
In the following embodiments, the present invention will be described with reference to an example in which the present invention is applied to an in-vehicle communication system that controls in-vehicle devices.

図1は、本実施の形態における車載通信システムの構成を示すブロック図である。車載通信システムは、複数の通信バス11,12,13,14と、通信バス11,12,13,14夫々に接続されているECU21,22,23,24と、通信バス11,12,13,14間の情報の中継処理を行なう中継装置3とを含む。   FIG. 1 is a block diagram showing a configuration of an in-vehicle communication system according to the present embodiment. The in-vehicle communication system includes a plurality of communication buses 11, 12, 13, and 14, ECUs 21, 22, 23, and 24 connected to the communication buses 11, 12, 13, and 14, and communication buses 11, 12, 13, and 14, respectively. 14 and a relay device 3 that performs a relay process of information between them.

実施の形態1では、通信バス11,12,13,14を介した通信は、いずれもCANプロトコルに準じる。複数の通信バス11,12,13,14は、接続されるECU21,22,23,24の制御対象の種類で区別されている。換言すれば、送受信される情報種類で区別される。通信速度は、通信バス11,12,13,14毎に異なる設定とされていてもよい。例えば、通信バス11には走行制御系の制御を行なう複数のECU21が接続されており、車速等の制御系の情報が送受信される。通信バス12には、電力制御系の制御を行なう複数のECU22が接続されており、バッテリー情報などの電力制御系の情報が送受信される。通信バス13には、カーナビゲーションシステムなどのアクセサリ系の制御を行なう複数のECU23が接続されており、時間情報、位置情報などのマルチメディア系の情報が送受信される。通信バス14には、ボディの制御を行なう複数のECU24が接続されており、ドアロック、セキュリティなどに関する情報が送受信される。   In the first embodiment, the communication via the communication buses 11, 12, 13, and 14 all conform to the CAN protocol. The plurality of communication buses 11, 12, 13, and 14 are distinguished by the types of control targets of the connected ECUs 21, 22, 23, and 24. In other words, it is distinguished by the type of information transmitted and received. The communication speed may be set differently for each of the communication buses 11, 12, 13, and 14. For example, the communication bus 11 is connected to a plurality of ECUs 21 for controlling the travel control system, and information on the control system such as the vehicle speed is transmitted and received. A plurality of ECUs 22 for controlling the power control system are connected to the communication bus 12, and information on the power control system such as battery information is transmitted and received. A plurality of ECUs 23 for controlling accessory systems such as a car navigation system are connected to the communication bus 13, and multimedia information such as time information and position information is transmitted and received. A plurality of ECUs 24 for controlling the body are connected to the communication bus 14, and information regarding door locks, security, and the like is transmitted and received.

中継装置3は、CPU(Central Processing Unit)30と、第1通信部31と、第2通信部32と、第3通信部33と、第4通信部34と、フラッシュメモリ35と、RAM(Random Access Memory)36とを備えている。   The relay device 3 includes a CPU (Central Processing Unit) 30, a first communication unit 31, a second communication unit 32, a third communication unit 33, a fourth communication unit 34, a flash memory 35, a RAM (Random Access Memory) 36.

CPU30は、フラッシュメモリ35に記憶されているルーティングテーブル37及び後述のコンピュータプログラムに基づき、RAM36を送信バッファ又は受信バッファとして用い、第1〜第4通信部31〜34を介した送受信を実行して中継処理を実現する。CPU30はMPU(Micro Processing Unit )に代替されてもよい。   The CPU 30 executes transmission / reception via the first to fourth communication units 31 to 34 using the RAM 36 as a transmission buffer or a reception buffer based on a routing table 37 stored in the flash memory 35 and a computer program described later. Implement relay processing. The CPU 30 may be replaced with an MPU (Micro Processing Unit).

第1〜第4通信部31〜34は夫々、CANコントローラ及びCANトランシーバを含み、CANプロトコルに基づき、各種情報を含むCANメッセージの送受信を実現する。第1通信部31は通信バス11に、第2通信部32は通信バス12に、第3通信部33は通信バス13に、第4通信部34は通信バス14に接続されている。   Each of the first to fourth communication units 31 to 34 includes a CAN controller and a CAN transceiver, and realizes transmission and reception of a CAN message including various information based on the CAN protocol. The first communication unit 31 is connected to the communication bus 11, the second communication unit 32 is connected to the communication bus 12, the third communication unit 33 is connected to the communication bus 13, and the fourth communication unit 34 is connected to the communication bus 14.

フラッシュメモリ35は、書き換え可能な不揮発性メモリであり、後述するようにCPU30が読み出すコンピュータプログラム及びルーティングテーブルを記憶する。なお、フラッシュメモリ35の代替として、EEPROM(登録商標)などの不揮発性メモリを用いてもよい。   The flash memory 35 is a rewritable nonvolatile memory, and stores a computer program and a routing table read by the CPU 30 as will be described later. As an alternative to the flash memory 35, a nonvolatile memory such as an EEPROM (registered trademark) may be used.

RAM36は、送受信バッファとして用いられる。CPU30は、第1〜第4通信部31〜34にて受信したCANメッセージ、及び、第1〜第4通信部31〜34にて送信するCANメッセージをRAM36に記憶する。   The RAM 36 is used as a transmission / reception buffer. The CPU 30 stores the CAN message received by the first to fourth communication units 31 to 34 and the CAN message transmitted by the first to fourth communication units 31 to 34 in the RAM 36.

なお、CPU30、第1〜第4通信部31〜34におけるCANコントローラ部、フラッシュメモリ35及びRAM36でマイコンとして構成されていてよい。   The CPU 30, the CAN controller unit in the first to fourth communication units 31 to 34, the flash memory 35, and the RAM 36 may be configured as a microcomputer.

図2は、フラッシュメモリ35に記憶される情報の内容を模式的に示す模式図である。フラッシュメモリ35には、ルーティングテーブル37、ルーティングプログラム38、及びプラットフォームプログラム39が記憶されている。他に、図示しないドライバプログラム等が記憶されていてもよい。   FIG. 2 is a schematic diagram schematically showing the content of information stored in the flash memory 35. The flash memory 35 stores a routing table 37, a routing program 38, and a platform program 39. In addition, a driver program (not shown) or the like may be stored.

プラットフォームプログラム39は、第1〜第4通信部31〜34にてCANメッセージを受信した場合に、CPU30へ受信割込を通知し、RAM36の受信バッファに書き込む処理、CPU30が作成して与えたCANメッセージを、第1〜第4通信部31〜34へ与えて送信せしめる処理など、基本的な入出力処理を各機器で共通化したプログラムである。   When the platform program 39 receives a CAN message in the first to fourth communication units 31 to 34, the platform program 39 notifies the CPU 30 of a reception interrupt and writes it to the reception buffer of the RAM 36. The CAN created and given by the CPU 30 This is a program in which basic input / output processing such as processing for giving a message to the first to fourth communication units 31 to 34 and transmitting the message is shared by each device.

ルーティングプログラム38は、CPU30による中継処理、即ち後述のフローチャートに示すような処理手順を実現するためのプログラムである。ルーティングプログラム38は、ルーティングテーブル37が、他のルーティングテーブル40に置換された場合でも、書き換え不要となるように、車種又はオプション依存の実行コードを含まない。ルーティングプログラム38は、置換されたルーティングテーブル40にも対応するように、ルーティングテーブル37、及びルーティングテーブル40、並びに他のルーティングテーブルにも対応する共通化された実行コードを含むように構成されている。実行コードについては、後述の各フローチャートにて詳細を説明する。   The routing program 38 is a program for realizing a relay process by the CPU 30, that is, a processing procedure as shown in a flowchart described later. The routing program 38 does not include a vehicle type or option-dependent execution code so that rewriting is not required even when the routing table 37 is replaced with another routing table 40. The routing program 38 is configured to include a common execution code corresponding to the routing table 37 and the routing table 40 and other routing tables so as to correspond to the replaced routing table 40. . Details of the execution code will be described in each flowchart described later.

ルーティングテーブル37は、CANメッセージを受信した場合に参照する受信テーブルと、CANメッセージを送信する場合に参照する送信テーブルとに区別されている。受信テーブル及び送信テーブルとに夫々分けて記憶する構成としてもよい。   The routing table 37 is classified into a reception table that is referred to when a CAN message is received and a transmission table that is referred to when a CAN message is transmitted. A configuration may be adopted in which the reception table and the transmission table are separately stored.

図3は、ルーティングテーブル37の受信テーブルの内容例を示す説明図である。受信テーブルは、通信バス11〜14毎に、受信するCANメッセージのCANID別のレコードからなる。各レコードは図3の例では、中継対象であるか否か(OK:中継対象である/NG:中継対象でない)、即時中継先の情報、受信したCANメッセージに含まれるデータ部分の情報長(DLC:Data Length Code)、データの格納領域、未中継のデータを受信しているか否かを示す受信フラグ(ON:受信/OFF:中継済み)の情報からなる。レコード長は定められている。各レコードは通信バス11のCANID「0」のレコードから順に、フラッシュメモリ35上の受信テーブル用の領域の先頭から順に記憶される。   FIG. 3 is an explanatory diagram showing an example of the contents of the reception table of the routing table 37. The reception table includes a record for each CAN bus of the CAN message to be received for each of the communication buses 11 to 14. In the example of FIG. 3, whether each record is a relay target (OK: relay target / NG: not relay target), immediate relay destination information, information length of the data part included in the received CAN message ( DLC: Data Length Code), data storage area, and reception flag (ON: received / OFF: relayed) information indicating whether or not unrelayed data is received. The record length is fixed. Each record is stored in order from the record of CANID “0” of the communication bus 11 in order from the top of the reception table area on the flash memory 35.

CANIDは、例えば11ビットで表わされ、CANの規定により最大値は0x7FFである。中継対象であるか否かの情報は、例えば1ビット又は8ビットで表わされ、OKは「1」、NGは「0」とする。即時中継先は、例えば5ビットで表わし、1ビットずつ、通信バス11〜14、即ち第1〜第4通信部31〜34に割り振り(1ビットは予備)、「0」の場合は中継先でなく、「1」の場合は中継先であることを表す。DLCは、例えば4ビットで表わされ、0〜8である。   The CANID is expressed by 11 bits, for example, and the maximum value is 0x7FF according to the CAN specification. The information indicating whether or not to be relayed is represented by, for example, 1 bit or 8 bits, OK is “1”, and NG is “0”. The immediate relay destination is represented by 5 bits, for example, and is assigned bit by bit to the communication buses 11 to 14, that is, the first to fourth communication units 31 to 34 (1 bit is reserved). If “1”, there is no relay destination. DLC is represented by 4 bits, for example, and is 0-8.

データの格納領域は8ビット用意されている。なおデータは、複数のシグナル情報からなる。例えば車両のドアの開閉状態のシグナル情報を、1ビットずつ「1:開/0:閉」で表わすことができる。具体的には、受信したCANメッセージのデータ部分の8ビットの内、先頭から5ビットで順に、前部座席右側ドアの開閉、前部座席左側ドアの開閉、後部座席右側ドアの開閉、後部座席左側ドアの開閉、リアドアの開閉を表すことが可能である。   An 8-bit data storage area is prepared. The data consists of a plurality of signal information. For example, the signal information of the open / closed state of the door of the vehicle can be expressed by “1: open / 0: closed” bit by bit. Specifically, among the 8 bits of the data portion of the received CAN message, the front seat right door is opened and closed, the front seat left door is opened and closed, the rear seat right door is opened and closed, and the rear seat in order from the top 5 bits. It is possible to represent the opening / closing of the left door and the opening / closing of the rear door.

受信フラグは、例えば8ビットで表わされ、「ON:受信」は「0x01」、「OFF:中継済み」は「0x00」とする。   The reception flag is represented by, for example, 8 bits, “ON: reception” is “0x01”, and “OFF: relayed” is “0x00”.

図3に示す内容例では例えば、通信バス11から受信されるCANIDが「0」のCANメッセージは、中継対象でない(NG)。また、通信バス11から受信されるCANIDが「0x050」のCANメッセージは、中継対象であり(OK)、即時中継先は「01110b」であって、通信バス11に対応する末尾のビットと、予備の先頭ビットとが「0」であって他のビットは「1」であるから、通信バス12〜14即ち第2通信部32〜第4通信部34により即時中継する。そして、CANIDが「0x050」のCANメッセージのデータ「x」とデータ長「xx」は、夫々当該レコードの格納領域に格納される。受信フラグは「OFF」とされている。また、CANIDが「0x051」のCANメッセージは、中継対象であるが(OK)、即時中継先は「00000b」であって即時中継しない。CANIDが「0x051」のCANメッセージのデータ「y」とデータ長「yy」は、夫々当該レコードの格納領域に格納され、中継済みとなるまで受信フラグは「ON」である。   In the example of content shown in FIG. 3, for example, a CAN message with a CANID “0” received from the communication bus 11 is not a relay target (NG). The CAN message with CANID “0x050” received from the communication bus 11 is a relay target (OK), the immediate relay destination is “01110b”, the last bit corresponding to the communication bus 11, and a spare Since the first bit is “0” and the other bits are “1”, the communication buses 12 to 14, that is, the second communication unit 32 to the fourth communication unit 34 immediately relay. The data “x” and the data length “xx” of the CAN message with the CAN ID “0x050” are stored in the storage area of the record. The reception flag is “OFF”. A CAN message with a CAN ID of “0x051” is a relay target (OK), but the immediate relay destination is “00000b” and is not relayed immediately. The data “y” and the data length “yy” of the CAN message whose CANID is “0x051” are stored in the storage area of the record, respectively, and the reception flag is “ON” until relaying is completed.

また、ルーティングテーブル37はインデックス情報を含む。図4は、受信テーブルのインデックス情報の内容例を示す説明図である。インデックス情報には、受信したCANメッセージにより受信したシグナルの数、各シグナルの受信テーブル内の格納位置が含まれる。格納位置は、受信テーブルの各レコード内のデータ中の対象シグナルの開始バイト、開始バイト内のシグナルの開始ビット、及びシグナルのビット長により表されている。   The routing table 37 includes index information. FIG. 4 is an explanatory diagram showing an example of the contents of the index information of the reception table. The index information includes the number of signals received by the received CAN message and the storage position of each signal in the reception table. The storage position is represented by the start byte of the target signal in the data in each record of the reception table, the start bit of the signal in the start byte, and the bit length of the signal.

図4に示す例では例えば、受信したCANメッセージのデータ内に含まれるシグナルの総数は「50」であることが示されている。また、1つめのシグナルは受信テーブルの「0x0051」番目のレコードのデータの「0」バイト目の「0」ビット目の「1」ビット分に格納され、2つめのシグナルは同レコードのデータの「0」バイト目の「3」ビット目からの「2」ビット分に格納されることが示されている。同様にして、25番目のシグナルは受信テーブルの「0x0880」番目のレコードのデータの「0」バイト目の「4」ビット目の「2」ビット分に格納されることが示されている。同様にして、50番目のシグナルは、受信テーブルの「0x10A0」番目のレコードのデータの「0」バイト目の「7」ビット目の「1」ビットに格納されることが示されている。   In the example illustrated in FIG. 4, for example, the total number of signals included in the data of the received CAN message is “50”. The first signal is stored in the “0” bit “0” bit “1” bit of the data of the “0x0051” record of the reception table, and the second signal is the data of the same record. It is shown that data is stored in “2” bits from the “3” bit of the “0” byte. Similarly, it is shown that the 25th signal is stored in the “2” bit of the “4” bit of the “0” byte of the data of the “0x0880” th record of the reception table. Similarly, it is indicated that the 50th signal is stored in the “1” bit of the “7” bit of the “0” byte of the data of the “0x10A0” record of the reception table.

インデックス情報を参照して受信テーブルを読み出すことにより、受信テーブルの内容が異なる場合であっても、ルーティングプログラム38に基づく処理を実行するCPU30は、受信テーブルが記憶されている記憶領域のいずれのアドレスの何バイト目の何ビット目から何ビット分読み出せばよいかを特定することができる。   Even if the contents of the reception table are different by reading the reception table with reference to the index information, the CPU 30 that executes the processing based on the routing program 38 can select any address in the storage area in which the reception table is stored. It is possible to specify how many bits from what number and what number of bits should be read out.

なお、受信テーブルの定義に応じて、インデックス情報は予め設計により定まるものである。したがって、図4に示すようなインデックス情報は、図3に示すような受信テーブルを含むルーティングテーブル37内に共に記憶される。ルーティングテーブル37が例えばルーティングテーブル40に置換された場合、受信テーブルのインデックス情報はルーティングテーブル40内の受信テーブルと共に記憶される。ルーティングテーブル37が他のルーティングテーブル40に置換された場合でも、ルーティングプログラム38に基づくCPU30の処理は変更する必要がない。インデックス情報のレコードは先頭から順に読み出せばよく、レコードの型が定まっていれば内容によらない。   Note that the index information is determined by design in advance according to the definition of the reception table. Therefore, the index information as shown in FIG. 4 is stored together in the routing table 37 including the reception table as shown in FIG. When the routing table 37 is replaced with, for example, the routing table 40, the index information of the reception table is stored together with the reception table in the routing table 40. Even when the routing table 37 is replaced with another routing table 40, the processing of the CPU 30 based on the routing program 38 need not be changed. Records of index information need only be read in order from the top, and do not depend on the contents if the record type is determined.

図5は、ルーティングテーブル37の送信テーブルの内容例を示す説明図である。送信テーブルは、CANID別のレコードからなる。各レコードは、CANID、中継先のバス情報、送信するCANメッセージに含まれるデータ部分の情報長(DLC)、データの格納領域、及び送信条件からなる。送信条件は必須ではない。なお、レコード長は定められている。各レコードは、先頭のCANIDが「0x010」のCANメッセージから、フラッシュメモリ35上の送信テーブル用の領域の先頭から順に記憶される。   FIG. 5 is an explanatory diagram showing an example of the contents of the transmission table of the routing table 37. The transmission table consists of records by CANID. Each record includes a CAN ID, relay destination bus information, an information length (DLC) of a data portion included in a CAN message to be transmitted, a data storage area, and a transmission condition. Transmission conditions are not mandatory. Note that the record length is determined. Each record is stored in order from the top of the transmission table area on the flash memory 35, starting from the CAN message with the top CAN ID of “0x010”.

図5に示す内容例では、CANIDは例えば11ビットで表わされる。中継先のバス情報は例えば5ビットで表わし、各ビットは「(予備)(通信バス14)(通信バス13)(通信バス12)(通信バス11)」に対応し、夫々「1」であるときは中継先であり、「0」であるときは中継先でない。例えば、CANIDが「0x010」の送信CANメッセージの中継先のバスは通信バス11、即ち当該メッセージは第1通信部31から10ミリ秒毎に送信するCANメッセージである。また、CANIDが「0x010」の送信CANメッセージのデータ部分の格納領域に例えば情報長が「kk」の「k」が格納される。送信条件は、イグニッション位置がACC(アクセサリ)であるなどの時間以外の条件でもよい。他には、データ内のシグナル値が何らかの条件を満たすか否かなどであってもよい。   In the example of content shown in FIG. 5, CANID is represented by 11 bits, for example. The relay destination bus information is represented by, for example, 5 bits, and each bit corresponds to “(standby) (communication bus 14) (communication bus 13) (communication bus 12) (communication bus 11)”, and is “1”. When it is “0”, it is not a relay destination. For example, the relay destination bus of the transmission CAN message whose CANID is “0x010” is the communication bus 11, that is, the message is a CAN message transmitted from the first communication unit 31 every 10 milliseconds. For example, “k” having an information length of “kk” is stored in the storage area of the data portion of the transmission CAN message having a CAN ID of “0x010”. The transmission condition may be a condition other than the time such that the ignition position is ACC (accessory). In addition, it may be whether or not the signal value in the data satisfies some condition.

またルーティングテーブル37は、送信テーブルに対応するインデックス情報も含む。図6は、送信テーブルのインデックス情報の内容例を示す説明図である。インデックス情報には、送信するCANメッセージに格納すべきシグナルの数、各シグナルの送信テーブル内の格納位置が含まれる。格納位置は、送信テーブルの各レコード内のデータ中の対象シグナルの開始バイト、開始バイト内のシグナルの開始ビット、及びシグナルのビット長により表されている。   The routing table 37 also includes index information corresponding to the transmission table. FIG. 6 is an explanatory diagram showing an example of the contents of the index information of the transmission table. The index information includes the number of signals to be stored in the CAN message to be transmitted and the storage position of each signal in the transmission table. The storage position is represented by the start byte of the target signal in the data in each record of the transmission table, the start bit of the signal in the start byte, and the bit length of the signal.

図6に示す例では例えば、送信するCANメッセージのデータ内に含まれるシグナルの総数は「50」であることが示されている。1つめのシグナルは、送信テーブルの「0x00」番目のレコードのデータの「0」バイト目の「0」ビット目の「1」ビット分に格納すべきであり、2つ目のシグナルは同レコードのデータの「0」バイト目の「1」ビット目から「2」ビット分に格納すべきであることが示されている。同様にして、25番目のシグナルは、送信テーブルの「0x08」番目のレコードのデータの「0」バイト目の「0」ビット目から「2」ビット分に、26番目のシグナルは同レコードのデータの「0」バイト目の「2」ビット目から「3」ビット分に、27番目のシグナルは同レコードのデータの「5」ビット目の「1」ビットに、28番目のシグナルは同レコードのデータの「6」ビット目の「1」ビットに、29番目のシグナルは同レコードのデータの「7」ビット目の「1」ビットに格納すべきであることが示されている。   In the example illustrated in FIG. 6, for example, it is indicated that the total number of signals included in the data of the CAN message to be transmitted is “50”. The first signal should be stored in the “0” bit of “0” bit of the data of the “0x00” record of the transmission table, and the second signal is the same record. It is indicated that the data should be stored in “2” bits from the “1” bit of the “0” byte of the data. Similarly, the 25th signal is the data from the “0” bit of the “0” byte of the data of the “0x08” th record of the transmission table to the “2” bit, and the 26th signal is the data of the same record. From the “2” bit of the “0” byte to the “3” bit, the 27th signal is the “1” bit of the “5” bit of the data of the same record, and the 28th signal is of the same record The “1” bit of the “6” bit of the data indicates that the 29th signal should be stored in the “1” bit of the “7” bit of the data of the same record.

なお本実施の形態の例では、受信するCANメッセージに含まれるシグナルの総数と、送信するシグナルの総数とは一致してある。同一の通し番号のシグナルは、同一のシグナルである。同一のシグナルについて、受信テーブルのインデックス情報と、送信テーブルのインデックス情報とを1つのレコードにまとめるようにしてもよい。   In the example of the present embodiment, the total number of signals included in the received CAN message matches the total number of signals to be transmitted. The signals with the same serial number are the same signals. For the same signal, the index information of the reception table and the index information of the transmission table may be combined into one record.

図3〜図6に示した各テーブル及びインデックス情報に基づき、中継装置3のCPU30は、以下に説明するような中継処理を実行する。なおCPU30は、ルーティングプログラム38に基づき、即時中継処理及び定期的中継処理を夫々実現する。即時中継処理では、CPU30は、CANメッセージを受信した時点で直接的に、第1〜第4通信バス11〜14のいずれか1つ又は複数へ中継する。定期的中継処理では、CPU30は、CANメッセージを受信した時点では、CANメッセージに含まれるデータを受信テーブル内のデータ格納領域(受信バッファ)に記憶しておき、例えば10ミリ秒などの一定期間が経過する都度、定期的に、受信バッファからデータを参照して送信テーブルにてCANメッセージを作成し、送信する。CPU30は、即時中継処理及び定期的中継処理を実現するために、CANメッセージを受信したときの受信処理と、周期的に実行する送信処理とにタスクを区別して夫々実行する。   Based on each table and index information shown in FIGS. 3 to 6, the CPU 30 of the relay device 3 executes a relay process as described below. The CPU 30 realizes an immediate relay process and a periodic relay process based on the routing program 38, respectively. In the immediate relay process, the CPU 30 relays directly to any one or a plurality of the first to fourth communication buses 11 to 14 when the CAN message is received. In the periodic relay process, the CPU 30 stores the data included in the CAN message in the data storage area (reception buffer) in the reception table at the time when the CAN message is received. Each time it elapses, a CAN message is created in the transmission table with reference to the data from the reception buffer and transmitted. In order to realize the immediate relay process and the periodic relay process, the CPU 30 executes tasks by distinguishing between a reception process when a CAN message is received and a transmission process that is periodically executed.

図7は、中継装置3における受信処理の処理手順の一例を示すフローチャートである。プラットフォームプログラム39に基づく処理により、CPU30へ受信割込みが通知された場合に、CPU30はルーティングプログラム38に基づいて以下の処理を実行する。   FIG. 7 is a flowchart illustrating an example of a processing procedure of reception processing in the relay device 3. When a reception interrupt is notified to the CPU 30 by processing based on the platform program 39, the CPU 30 executes the following processing based on the routing program 38.

CPU30は、受信したCANメッセージのCANID及び受信したバスが通信バス11〜14のいずれであるかを特定する(ステップS11)。CPU30は、特定したCANID及び通信バスに基づき、ルーティングテーブル37の中継要否を参照する(ステップS12)。図3に示したように、通信バス11〜14毎に、受信したメッセージのCANID別に、中継対象であるか否かがテーブル化されている。ステップS12では具体的には、CPU30は、ルーティングプログラム38に基づき、通信バス及びCANIDを引数としてルーティングテーブル37を読み出し、読み出した戻り値としてルーティングテーブル37内に記憶されている中継対象であるか否かの結果を返す関数を呼び出す処理を行なう。   The CPU 30 specifies the CANID of the received CAN message and which of the communication buses 11 to 14 is the received bus (step S11). The CPU 30 refers to the necessity of relay in the routing table 37 based on the specified CANID and communication bus (step S12). As shown in FIG. 3, for each communication bus 11 to 14, a table is formed as to whether or not it is a relay target for each CANID of the received message. Specifically, in step S12, the CPU 30 reads out the routing table 37 using the communication bus and CANID as arguments based on the routing program 38, and determines whether or not the relay target is stored in the routing table 37 as the read return value. The function that returns the result is called.

CPU30は、ステップS12の参照結果(戻り値)に基づき、中継の要否を判定し(ステップS13)、要と判定した場合(S13:YES)、ルーティングテーブル37内の即時中継先を参照し(ステップS14)、参照結果に基づき即時中継処理を実行する(ステップS15)。   The CPU 30 determines whether or not relaying is necessary based on the reference result (return value) in step S12 (step S13). If it is determined that it is necessary (S13: YES), the CPU 30 refers to the immediate relay destination in the routing table 37 ( Step S14), an immediate relay process is executed based on the reference result (step S15).

CPU30は、即時中継処理後、受信したメッセージに含まれているデータを読み出し(ステップS16)、読み出したデータを受信テーブルのデータ格納領域に格納し(ステップS17)、受信フラグをONに設定し(ステップS18)、処理を終了する。   After the immediate relay process, the CPU 30 reads the data included in the received message (step S16), stores the read data in the data storage area of the reception table (step S17), and sets the reception flag to ON (step S17). Step S18), the process is terminated.

CPU30は、ステップS13にて、参照結果に基づき不要と判定した場合(S13:NO)、処理をそのまま終了する。   CPU30 complete | finishes a process as it is, when it determines with unnecessary based on a reference result in step S13 (S13: NO).

図8は、中継装置3における即時中継処理の処理手順の一例を示すフローチャートである。図8に示すフローチャートは、図7のステップS15の詳細な手順に対応する。   FIG. 8 is a flowchart illustrating an example of a processing procedure of immediate relay processing in the relay device 3. The flowchart shown in FIG. 8 corresponds to the detailed procedure of step S15 in FIG.

CPU30は、図7のステップS14の参照結果に基づき、即時中継対象であるか否かを判断する(ステップS51)。具体的には、参照結果が「0x00(00000b)」でない場合、CPU30は即時中継対象であると判断する。   The CPU 30 determines whether or not it is an immediate relay target based on the reference result in step S14 of FIG. 7 (step S51). Specifically, when the reference result is not “0x00 (00000b)”, the CPU 30 determines that it is an immediate relay target.

CPU30は、即時中継対象であると判断した場合(S51:YES)、即時中継先として通信バス11を選択し(ステップS52)、参照結果である即時中継先と、選択してある通信バス11とが一致するか否かを判断する(ステップS53)。CPU30は、一致したと判断した場合(S53:YES)、プラットフォームプログラム39に基づく処理により、選択してある通信バス11へ、即ち選択した通信バス11に接続する第1通信部31から、受信したCANメッセージを即時送信せしめるべく、プラットフォームプログラム39の処理を実行し(ステップS54)、次の処理へ進む。   If the CPU 30 determines that it is an object of immediate relay (S51: YES), it selects the communication bus 11 as the immediate relay destination (step S52), and the immediate relay destination that is the reference result and the selected communication bus 11 Are determined to match (step S53). When the CPU 30 determines that they match (S53: YES), the CPU 30 has received the selected communication bus 11 from the first communication unit 31 connected to the selected communication bus 11 by processing based on the platform program 39. In order to immediately transmit the CAN message, the process of the platform program 39 is executed (step S54), and the process proceeds to the next process.

CPU30は、全通信バス11〜14を選択したか否かを判断し(ステップS55)、全てを選択していないと判断した場合(S55:NO)、次の通信バス12、即ち第2通信部32を選択し(ステップS56)、処理をステップS53へ戻し、次の通信バス12への即時送信処理を実行する。   The CPU 30 determines whether or not all the communication buses 11 to 14 have been selected (step S55), and if it is determined that all have not been selected (S55: NO), the next communication bus 12, that is, the second communication unit. 32 is selected (step S56), the process returns to step S53, and an immediate transmission process to the next communication bus 12 is executed.

CPU30は、通信バス13及び通信バス14についてもステップS52〜S54の処理を実行し、全通信バス11〜14を選択したと判断した場合(S55:YES)、受信したCANメッセージについての即時中継処理を終了し、図7のステップS16へ処理を戻す。   When the CPU 30 executes the processes of steps S52 to S54 for the communication bus 13 and the communication bus 14 and determines that all the communication buses 11 to 14 have been selected (S55: YES), the immediate relay process for the received CAN message is performed. And the process returns to step S16 in FIG.

ステップS51にて、即時中継対象でないと判断した場合(S51:NO)、受信したメッセージについての即時中継処理を終了し、図7のステップS16へ処理を戻す。   If it is determined in step S51 that the message is not subject to immediate relay (S51: NO), the immediate relay process for the received message is terminated, and the process returns to step S16 in FIG.

図7及び図8のフローチャートに示した処理手順について、具体例を挙げて説明する。具体例として、通信バス12から、CANIDが「0x100」のCANメッセージが送信された場合の処理を説明する。   The processing procedure shown in the flowcharts of FIGS. 7 and 8 will be described with a specific example. As a specific example, a process when a CAN message having a CAN ID “0x100” is transmitted from the communication bus 12 will be described.

CPU30は、第2通信部32からCANメッセージの受信について通知を受け、CANIDを「0x100」、通信バスを「通信バス12」と特定する(S11)。CPU30は、ルーティングテーブル37から通信バス12の「0x100」番目のレコードを参照し、中継対象であるか否かの結果を返す関数を呼び出す(S12)。当該関数により、図3に示すように「OK」が返されるから、CPU30は、中継要と判定し(S13:YES)、同一レコードの即時中継先「01001b」を参照し(S14)、参照した即時中継先を与えてS15の即時中継処理を実行する。   The CPU 30 receives a notification about the reception of the CAN message from the second communication unit 32, and identifies the CANID as “0x100” and the communication bus as “communication bus 12” (S11). The CPU 30 refers to the “0x100” -th record of the communication bus 12 from the routing table 37 and calls a function that returns a result as to whether or not it is a relay target (S12). Since the function returns “OK” as shown in FIG. 3, the CPU 30 determines that the relay is necessary (S13: YES), refers to the immediate relay destination “01001b” of the same record (S14), and refers to it. An immediate relay destination is given and the immediate relay process of S15 is executed.

CPU30は、即時中継処理にて、参照した即時中継先は「0x00」でないので即時中継対象であると判断する(S51:YES)。CPU30は、最初の通信バス11を選択し(S52)、「01001b」の通信バス11に対応する末尾ビットは「1」であるから即時中継先と一致すると判断し(S53:YES)、選択した通信バス11に対応する第1通信部31から、受信してあるCANメッセージを直接的に送信する(S54)。CPU30は、全ての通信バス11〜14を選択していないから(S55:NO)、次の通信バス12を選択する(S56)。CPU30は、処理をステップS53に戻し、即時中継先「01001b」の通信バス12に対応する末尾から2つ目のビットが「0」であるから即時中継先と一致しないと判断し(S53:NO)、処理をステップS55へ進める。そしてCPU30は、未だ全ての通信バス11〜14を選択していないから(S55:NO)、次の通信バス13を選択する(S56)。CPU30は、処理をステップS53へ戻し、即時中継先「01001b」の通信バス13に対応する末尾から3つ目のビットが「0」であるから即時中継先と一致しないと判断し(S53:NO)、処理をステップS55へ進める。CPU30は、未だ全ての通信バス11〜14を選択していないから(S55:NO)、次の通信バス14を選択する(S56)。CPU30は、処理をステップS53へ戻し、即時中継先「01001b」の通信バス14に対応する末尾から4つ目のビットが「1」であるから即時中継先と一致すると判断し(S53:YES)、選択した通信バス14に対応する第4通信部34から、受信してあるCANメッセージを直接的に送信する(S54)。ステップS55で全ての通信バス11〜14を選択したと判断し、図7のステップS16に戻る。   In the immediate relay process, the CPU 30 determines that the referred immediate relay destination is not “0x00” and is an immediate relay target (S51: YES). The CPU 30 selects the first communication bus 11 (S52), and determines that the last bit corresponding to the communication bus 11 of “01001b” is “1”, so that it matches the immediate relay destination (S53: YES). The received CAN message is directly transmitted from the first communication unit 31 corresponding to the communication bus 11 (S54). Since CPU30 has not selected all the communication buses 11-14 (S55: NO), it selects the next communication bus 12 (S56). The CPU 30 returns the processing to step S53, and determines that the second bit from the end corresponding to the communication bus 12 of the immediate relay destination “01001b” is “0”, so that it does not match the immediate relay destination (S53: NO). ), The process proceeds to step S55. Since the CPU 30 has not yet selected all the communication buses 11 to 14 (S55: NO), the CPU 30 selects the next communication bus 13 (S56). The CPU 30 returns the process to step S53, and determines that the third bit from the end corresponding to the communication bus 13 of the immediate relay destination “01001b” is “0”, so that it does not match the immediate relay destination (S53: NO). ), The process proceeds to step S55. Since the CPU 30 has not yet selected all the communication buses 11 to 14 (S55: NO), the CPU 30 selects the next communication bus 14 (S56). The CPU 30 returns the process to step S53 and determines that the fourth bit from the end corresponding to the communication bus 14 of the immediate relay destination “01001b” is “1”, so that it matches the immediate relay destination (S53: YES). The received CAN message is directly transmitted from the fourth communication unit 34 corresponding to the selected communication bus 14 (S54). In step S55, it is determined that all the communication buses 11 to 14 have been selected, and the process returns to step S16 in FIG.

CPU30は、受信したCANメッセージのデータ「v」及び情報長「vv」を読み出し(S16)、ルーティングテーブル37の受信テーブル内の対応するレコードのデータ格納領域に書き込み(S17)、受信フラグを「ON」に設定し(S18)、処理を終了する。   The CPU 30 reads the data “v” and the information length “vv” of the received CAN message (S16), writes them in the data storage area of the corresponding record in the reception table of the routing table 37 (S17), and sets the reception flag to “ON”. "(S18), and the process ends.

次に、中継装置3における送信処理について説明する。図9は、中継装置3における送信処理の処理手順の一例を示すフローチャートである。中継装置3は、図示しないタイマ部にて、例えば10ミリ秒の一定期間をカウントしており、10ミリ秒が経過する都度、タイマ割込をCPU30へ通知する。CPU30は、当該タイマ割込が通知された場合に、ルーティングプログラム38に基づき以下の処理を実行する。   Next, transmission processing in the relay device 3 will be described. FIG. 9 is a flowchart illustrating an example of a processing procedure of transmission processing in the relay device 3. The relay device 3 counts a fixed period of, for example, 10 milliseconds by a timer unit (not shown), and notifies the CPU 30 of a timer interrupt every time 10 milliseconds have elapsed. The CPU 30 executes the following processing based on the routing program 38 when the timer interruption is notified.

CPU30は、送信するCANメッセージのレコード数を取得する(ステップS201)。レコード数は、送信レコードの総レコード数を計数してもよいし、予め別にレコード数を記録しておき、CPU30がこれを参照するようにしてもよい。   CPU30 acquires the number of records of the CAN message to transmit (Step S201). As the number of records, the total number of records of transmission records may be counted, or the number of records may be recorded in advance and the CPU 30 may refer to this.

CPU30は、カウント用の変数Lに「0」を代入し(ステップS202)、送信テーブルのL番目のレコード(先頭は0番目)を順に読み出す(ステップS203)。CPU30は、当該レコードをインデックス先とするシグナルのインデックス情報を抽出する(ステップS204)。抽出したインデックス情報を1つ選択し(ステップS205)、選択したインデックス情報のシグナルが受信テーブル内のいずれに格納されているかを、受信テーブルのインデックス情報から特定する(ステップS206)。   The CPU 30 assigns “0” to the count variable L (step S202), and sequentially reads the Lth record (the top is 0th) in the transmission table (step S203). CPU30 extracts the index information of the signal which makes the said record an index destination (step S204). One piece of extracted index information is selected (step S205), and it is specified from the index information of the reception table where the signal of the selected index information is stored in the reception table (step S206).

CPU30は、特定した受信テーブル内のレコードを参照し(ステップS207)、受信フラグが「ON」であるか否かを判断する(ステップS208)。CPU30は、受信フラグが「ON」である場合(S208:YES)、ステップS206でインデックス情報から特定した格納位置からシグナルを取得し(ステップS209)、取得したシグナルを、ステップS205にて選択してある送信テーブルのインデックス情報が示す格納位置に格納する(ステップS210)。   The CPU 30 refers to the record in the specified reception table (step S207) and determines whether or not the reception flag is “ON” (step S208). When the reception flag is “ON” (S208: YES), the CPU 30 acquires a signal from the storage position specified from the index information in step S206 (step S209), and selects the acquired signal in step S205. The data is stored in the storage position indicated by the index information of a certain transmission table (step S210).

CPU30は、ステップS204で抽出したインデックス情報を全て選択したか否かを判断し(ステップS211)、全てを選択していないと判断した場合(S211:NO)、処理をステップS205へ戻し、次のインデックス情報を選択する(S205)。   The CPU 30 determines whether or not all of the index information extracted in step S204 has been selected (step S211). If it is determined that all of the index information has not been selected (S211: NO), the process returns to step S205, and the next Index information is selected (S205).

次に選択したインデックス情報のシグナルが格納されている受信テーブルのレコード内の受信フラグが「OFF」であると判断した場合(S208:NO)、処理をステップS211へ進める。   If it is determined that the reception flag in the record of the reception table in which the signal of the selected index information is stored is “OFF” (S208: NO), the process proceeds to step S211.

CPU30は、ステップS211にて全てを選択したと判断した場合(S211:YES)、送信するCANメッセージのデータが完成しているので、ステップS203で読み出している当該レコードの送信条件が成立しているか否かを判断する(ステップS212)。CPU30は、送信条件が成立していると判断した場合(S212:YES)、当該レコード内のデータ部分を含むCANメッセージを、当該レコード内の中継先バスに対応する第1〜第4通信部31〜34のいずれかに与えて送信せしめる(ステップS213)。   If the CPU 30 determines that all are selected in step S211 (S211: YES), since the data of the CAN message to be transmitted is completed, is the transmission condition for the record read in step S203 satisfied? It is determined whether or not (step S212). When determining that the transmission condition is satisfied (S212: YES), the CPU 30 sends a CAN message including the data portion in the record to the first to fourth communication units 31 corresponding to the relay destination bus in the record. To 34 for transmission (step S213).

次にCPU30は、カウント用の変数Lに「1」を加算し(ステップS214)、ステップS201で取得したレコード数と変数Lとが一致するか否かを判断する(ステップS215)。即ちCPU30は、送信テーブル内の全てのレコードについて処理を実行したか否かを判断する(S215)。CPU30は、ステップS215で一致しないと判断した場合(S215:NO)、処理をステップS203へ戻し、次のL番目のレコードを読み出す(S203)。   Next, the CPU 30 adds “1” to the variable L for counting (step S214), and determines whether or not the number of records acquired in step S201 matches the variable L (step S215). That is, the CPU 30 determines whether or not processing has been executed for all records in the transmission table (S215). If the CPU 30 determines that they do not match in step S215 (S215: NO), it returns the process to step S203 and reads the next Lth record (S203).

CPU30は、ステップS212にて送信条件が不成立であると判断した場合(S212:NO)、処理をステップS214へ進め、次のレコードについて処理を実行する。   When CPU 30 determines that the transmission condition is not satisfied in step S212 (S212: NO), CPU 30 advances the process to step S214 and executes the process for the next record.

CPU30は、ステップS215にて、ステップS201で取得したレコード数と変数Lとが一致すると判断した場合(S215:YES)、受信テーブルの全レコードの受信フラグを「OFF」とし(ステップS216)、処理を終了する。   If the CPU 30 determines in step S215 that the number of records acquired in step S201 matches the variable L (S215: YES), the reception flag of all records in the reception table is set to “OFF” (step S216). Exit.

図9のフローチャートに示した処理手順について、具体例を挙げて説明する。具体例として、図5の送信テーブルの内容例の内、CANIDが「0x0A0」のレコードを読み出した場合(S203)の処理を説明する。なお当該レコードは、0x08番目のレコードであるとする。   The processing procedure shown in the flowchart of FIG. 9 will be described with a specific example. As a specific example, the process when the record with CANID “0x0A0” in the content example of the transmission table in FIG. 5 is read (S203) will be described. The record is assumed to be the 0x08th record.

CPU30は、0x08番目のレコードをインデックス先とするシグナルのインデックス情報(25〜29)を抽出する(S204)。抽出したインデックス情報の内、25番目のシグナルのインデックス情報を選択し(S205)、選択したインデックス情報のシグナルが受信テーブル内のいずれに格納されているかを、受信テーブルのインデックス情報(25番目)から「pos0x0880」であると特定する(S206)。   The CPU 30 extracts the index information (25 to 29) of the signal having the 0x08th record as the index destination (S204). The index information of the 25th signal is selected from the extracted index information (S205), and the index information (25th) of the reception table indicates which signal of the selected index information is stored in the reception table. It is specified as “pos0x0880” (S206).

CPU30は、受信テーブル内の「pos0x0880」番目のレコード、即ち通信バス12から受信したCANID「0x080」のレコードを参照し(S207)、受信フラグが「ON」であると判断する(S208:YES)。CPU30は、受信テーブル内の当該レコードのデータ格納領域から、ステップS206で特定した格納位置、即ち開始バイト「0」、開始ビット「0」、ビット長「1」を参考にしてシグナルを取得する(S209)。そしてCPU30は、ステップS205で選択した25番目のインデックス情報(送信テーブル)の格納位置の情報に基づき、送信テーブルのCANIDが「0x0A0」のレコードのデータ格納領域の「0」番目のバイトの「0」番目のビットから2ビット分、取得したシグナルの情報を格納する(S210)。   The CPU 30 refers to the “pos0x0880” -th record in the reception table, that is, the record of CANID “0x080” received from the communication bus 12 (S207), and determines that the reception flag is “ON” (S208: YES). . The CPU 30 acquires a signal from the data storage area of the record in the reception table with reference to the storage position specified in step S206, that is, the start byte “0”, the start bit “0”, and the bit length “1” ( S209). Then, based on the storage position information of the 25th index information (transmission table) selected in step S205, the CPU 30 sets “0” of the “0” th byte of the data storage area of the record whose CANID of the transmission table is “0x0A0”. The acquired signal information is stored for 2 bits from the 1st bit (S210).

CPU30は、次に「26」番目のインデックス情報に基づき、即ち通信バス12から受信したCANID「0x080」のレコードを参照し(S207)、ステップS206で特定した格納位置からシグナルを取得する(S209)。抽出したインデックス情報(25〜29)から送信するCANメッセージを完成させ、送信条件が成立しているか否かを判断し(S212)、送信条件は送信周期が20ミリ秒毎であるから、10ミリ秒毎の送信処理の2回につき1回、送信テーブルの当該レコードの送信(S213)を実行する。   Next, the CPU 30 refers to the record of the CANID “0x080” received from the communication bus 12 based on the “26th” index information (S207), and acquires a signal from the storage position specified in step S206 (S209). . The CAN message to be transmitted is completed from the extracted index information (25 to 29), and it is determined whether or not the transmission condition is satisfied (S212). Since the transmission condition is every 20 milliseconds, the transmission condition is 10 mm. The transmission of the record in the transmission table is executed once every two transmission processes per second (S213).

このように、ルーティングテーブル37が一定の型のレコードから構成されており、各レコードを読み出す方法が、上述した各処理手順内の特定の方法に定められる構成とすることにより、ルーティングテーブル37が、例えばルーティングテーブル40に置換されたとしても、ルーティングプログラム38に基づく処理は変更する必要が無い。特に、ルーティングテーブル37又はルーティングテーブル40がインデックス情報を含むことによって、置換された異なるルーティングテーブル40に対応して受信した情報を管理し、中継する情報を作成することができる。   In this way, the routing table 37 is composed of records of a certain type, and the method of reading each record is set to a specific method in each processing procedure described above, whereby the routing table 37 is For example, even if the routing table 40 is replaced, the processing based on the routing program 38 does not need to be changed. In particular, when the routing table 37 or the routing table 40 includes the index information, it is possible to manage information received corresponding to the replaced different routing table 40 and create information to be relayed.

なお、上述のように開示された本実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   It should be understood that the embodiment disclosed above is illustrative in all respects and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

3 中継装置
30 CPU
35 フラッシュメモリ
37,40 ルーティングテーブル
38 ルーティングプログラム
3 relay device 30 CPU
35 Flash memory 37, 40 Routing table 38 Routing program

Claims (5)

異なる通信バスに夫々接続する複数の通信部と、書き換え可能な記憶部と、記憶してあるコンピュータプログラムに基づき、1又は複数の通信部にて受信した1又は複数の情報を他の1又は複数の通信部から送信する中継処理を実行するプロセッサとを備える中継装置であって、
前記記憶部には、受信した通信バス毎、及び、各通信バスで受信した情報の識別情報毎に、中継先を特定する情報を含む一定の型のレコードから構成されたルーティングテーブルが記憶してあり、
前記プロセッサは、前記ルーティングテーブル内の前記レコードから該レコードに含まれる情報を戻り値として返す特定の命令コードを実行する実行手段を備えること
を特徴とする中継装置。
Based on a plurality of communication units respectively connected to different communication buses, a rewritable storage unit, and a stored computer program, one or a plurality of information received by one or a plurality of communication units is stored in one or more other units. A relay device including a processor that executes relay processing transmitted from the communication unit of
The storage unit stores a routing table composed of a certain type of record including information for specifying a relay destination for each received communication bus and for each identification information of information received by each communication bus. Yes,
The relay apparatus, comprising: an execution unit that executes a specific instruction code that returns information included in the record as a return value from the record in the routing table .
前記情報は複数のシグナル情報からなり、
前記ルーティングテーブルは、
受信した情報を格納する格納領域と、前記シグナル情報毎に、前記シグナル情報を読み出すための前記格納領域内の格納位置を示すインデックス情報とを含み、
前記実行手段は、
前記インデックス情報を参照する手段と、
前記インデックス情報に基づき、ルーティングテーブル内からシグナル情報を読み出す手段と、
読み出したシグナル情報から中継する情報を作成する手段と
を備えることを特徴とする請求項1に記載の中継装置。
The information comprises a plurality of signal information,
The routing table is
A storage area for storing the received information, and for each signal information , including index information indicating a storage position in the storage area for reading the signal information,
The execution means includes
Means for referring to the index information;
Means for reading signal information from within the routing table based on the index information;
The relay device according to claim 1, further comprising: means for creating information to be relayed from the read signal information.
前記情報は複数のシグナル情報からなり、
前記ルーティングテーブルは、
中継する情報を格納し、中継先が対応付けられている格納領域と、前記情報に含まれるシグナル情報毎に前記格納領域内の格納位置を示すインデックス情報とを含み、
前記実行手段は、
前記インデックス情報を参照する手段と、
前記インデックス情報に基づき、ルーティングテーブル内にシグナル情報を格納する手段と
を備えることを特徴とする請求項1に記載の中継装置。
The information comprises a plurality of signal information,
The routing table is
Storing information to be relayed , including a storage area associated with a relay destination, and index information indicating a storage position in the storage area for each signal information included in the information,
The execution means includes
Means for referring to the index information;
The relay apparatus according to claim 1, further comprising: means for storing signal information in a routing table based on the index information.
請求項1乃至3のいずれかに記載の中継装置と、該中継装置の前記複数の通信部に夫々接続される複数の通信バスとを含むこと
を特徴とする通信ハーネス。
A communication harness comprising: the relay device according to claim 1; and a plurality of communication buses respectively connected to the plurality of communication units of the relay device.
情報を送受信する複数の通信装置と、該複数の通信装置が夫々接続された複数の通信バスと、該複数の通信バスが接続された請求項1乃至3のいずれかに記載の中継装置とを含むこと
を特徴とする通信システム。
A plurality of communication devices that transmit and receive information, a plurality of communication buses to which the plurality of communication devices are respectively connected, and a relay device according to any one of claims 1 to 3 to which the plurality of communication buses are connected. A communication system characterized by comprising.
JP2011286399A 2011-12-27 2011-12-27 Relay device, communication harness, and communication system Expired - Fee Related JP5696657B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011286399A JP5696657B2 (en) 2011-12-27 2011-12-27 Relay device, communication harness, and communication system
PCT/JP2012/082613 WO2013099667A1 (en) 2011-12-27 2012-12-17 Relay device, communications harness, and communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011286399A JP5696657B2 (en) 2011-12-27 2011-12-27 Relay device, communication harness, and communication system

Publications (2)

Publication Number Publication Date
JP2013135429A JP2013135429A (en) 2013-07-08
JP5696657B2 true JP5696657B2 (en) 2015-04-08

Family

ID=48697159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011286399A Expired - Fee Related JP5696657B2 (en) 2011-12-27 2011-12-27 Relay device, communication harness, and communication system

Country Status (2)

Country Link
JP (1) JP5696657B2 (en)
WO (1) WO2013099667A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10091703B2 (en) 2015-03-20 2018-10-02 Denso Corporation Relay apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3185866B2 (en) * 1997-11-25 2001-07-11 日本電気株式会社 Connectionless gateway device
JP2000253061A (en) * 1999-03-01 2000-09-14 Hitachi Ltd Data delivery method
JP2010103648A (en) * 2008-10-21 2010-05-06 Fujitsu Ten Ltd Gateway device and gateway method

Also Published As

Publication number Publication date
JP2013135429A (en) 2013-07-08
WO2013099667A1 (en) 2013-07-04

Similar Documents

Publication Publication Date Title
JP5686095B2 (en) Relay device, communication harness, and communication system
CN108476162B (en) Network hub, forwarding method and vehicle-mounted network system
CN108476161B (en) Electronic control unit, communication method, and in-vehicle network system
US20160359545A1 (en) Vehicle-mounted control device
US10353370B2 (en) Programmable logic controller, control method thereof and contorl program thereof
WO2014186144A1 (en) A system and method for vehicle interface extension and control
CN104683126B (en) Network management based on CAN
CN102713858A (en) Online debugging system for information processing device and online debugging method
JP2008227741A (en) On-vehicle communication system
JP5696657B2 (en) Relay device, communication harness, and communication system
CN102369694B (en) Configurable status processing unit for sensor-actuator systems
JP2008506204A (en) Apparatus and method for exchanging data between a plurality of data buses
CN112968821B (en) Electronic control unit, communication method, and in-vehicle network system
JP5476956B2 (en) Communication system and communication method
CN112787901B (en) Network hub, forwarding method and vehicle-mounted network system
JP2019009678A (en) On-vehicle communication network system
JP4952048B2 (en) Network system, information automatic restoration method, and node
JP2005145262A (en) Car-mounted lan system
US11609875B2 (en) Data communication device and data communication module
US11956188B1 (en) Security aware routing in an in-vehicle communication network
JP4861054B2 (en) Relay connection unit
JP6788717B1 (en) Connection device, connection method and program
JP5278886B2 (en) Relay connection unit
US11246021B2 (en) Electronic control unit, electronic control system, and recording medium
JP2018055318A (en) Electronic apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141107

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20141107

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150126

R150 Certificate of patent or registration of utility model

Ref document number: 5696657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees