JP5207106B2 - In-vehicle communication system and in-vehicle communication method - Google Patents
In-vehicle communication system and in-vehicle communication method Download PDFInfo
- Publication number
- JP5207106B2 JP5207106B2 JP2007150783A JP2007150783A JP5207106B2 JP 5207106 B2 JP5207106 B2 JP 5207106B2 JP 2007150783 A JP2007150783 A JP 2007150783A JP 2007150783 A JP2007150783 A JP 2007150783A JP 5207106 B2 JP5207106 B2 JP 5207106B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- vehicle
- devices
- received
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、複数の車載装置と、各車載装置に接続してあり各車載装置から送信されるデータを更に他の車載装置へ分配する分配装置とを備える車載通信システムに関し、分配装置と車載装置との接続関係を多重化して、分配装置から各車載装置へ分配されるデータの信頼性を向上させることができる車載通信システム及び車載通信方法に関する。 The present invention relates to an in-vehicle communication system including a plurality of in-vehicle devices and a distribution device that is connected to each in-vehicle device and distributes data transmitted from each in-vehicle device to other in-vehicle devices. It is related with the vehicle-mounted communication system and vehicle-mounted communication method which can improve the reliability of the data distributed from a distribution apparatus to each vehicle-mounted apparatus.
近年、電子制御装置(ECU;Electronic Control Unit)を使用した車載装置の機能の増加に伴い、車輌に配される車載装置の数及び種類も増加する傾向にある。 In recent years, with the increase in functions of in-vehicle devices using electronic control units (ECUs), the number and types of in-vehicle devices arranged in vehicles tend to increase.
車載装置の数の増大に伴い車載装置が接続される車内通信回線で送受信されるデータの量も増大する。車内通信回線で送受信されるデータ量の増大はコリジョン(衝突)によるデータの遅延又は欠落を招く。データの著しい遅延又は欠落は、データ内容の信頼性を欠き、場合によっては車載装置によるブレーキ制御等の運転補助機能に対して致命的となる。 As the number of in-vehicle devices increases, the amount of data transmitted and received through the in-vehicle communication line to which the in-vehicle devices are connected also increases. An increase in the amount of data transmitted and received through the in-vehicle communication line causes data delay or loss due to collision (collision). A significant delay or loss of data lacks the reliability of the data content, and in some cases becomes fatal to a driving assistance function such as brake control by an in-vehicle device.
そこで、車載装置を複数の群に分け、異なる車内通信回線に車載装置を群毎に接続する構成が一般的である。また、車載装置の増大に対して効率的に車内通信回線を利用するために、車載装置の群を送受信するデータの種類で分別し、群毎に通信速度の異なる車内通信回線に接続する構成もある。これらの構成では、異なる車内通信回線間はデータの送受信を制御するゲートウェイ装置により接続される。 Therefore, a configuration in which the in-vehicle devices are divided into a plurality of groups and the in-vehicle devices are connected to different in-vehicle communication lines for each group is common. In addition, in order to efficiently use in-vehicle communication lines against the increase in in-vehicle devices, there is a configuration in which groups of in-vehicle devices are classified according to the type of data transmitted and received and connected to in-vehicle communication lines with different communication speeds for each group. is there. In these configurations, different in-vehicle communication lines are connected by a gateway device that controls transmission and reception of data.
特許文献1には、車載装置を複数の群に分けて群毎に通信回線に接続し、車内通信回線を更にゲートウェイ装置で接続する構成とし、送受信されるデータに優先順位を識別するための優先度情報を付加し、ゲートウェイ装置が異なる車内通信回線間でデータを送受信する場合に受信したデータの優先度情報から優先度を判別して優先度が高いデータを優先的に送信し、車内通信回線の通信負荷が増加した場合でも優先度が高いデータの送信が大きく遅れないようにする技術が開示されている。
しかしながら、車載装置を複数の群に分けて、各群の間をゲートウェイ装置を介して接続する場合、一の群の車載装置から他の群の車載装置へデータを送信する都度、車載装置から他の車載装置へデータを送信するのでは車載装置間の通信負荷を低減することができない。 However, when the in-vehicle devices are divided into a plurality of groups and each group is connected via a gateway device, each time data is transmitted from one group of in-vehicle devices to another group of in-vehicle devices, If data is transmitted to the in-vehicle device, the communication load between the in-vehicle devices cannot be reduced.
また、車載装置を複数の群に分けて、各群の間をゲートウェイ装置を介して接続する場合、一の群の中の車載装置が更新するデータの内容は、更新された後にゲートウェイ装置を介して他の群の車載装置へ送信されるまでの間、一の群と他の群とではデータの内容が一致しない時間が生じる。さらに、複数の群がゲートウェイ装置に直列的に接続される場合は、一の群と他の群とでデータの内容に段階的に時間差が生じる虞がある。この場合、車載通信システムにおけるデータの信頼性が担保されない。 In addition, when the in-vehicle devices are divided into a plurality of groups and each group is connected via a gateway device, the content of data updated by the in-vehicle devices in one group is updated via the gateway device. Until the data is transmitted to another group of in-vehicle devices, there is a time in which the data content does not match between one group and the other group. Furthermore, when a plurality of groups are connected in series to the gateway device, there is a possibility that a time difference will occur in steps in the data contents between one group and another group. In this case, the reliability of data in the in-vehicle communication system is not ensured.
本発明は斯かる事情に鑑みてなされたものであり、複数の車載装置から送信されるデータを記憶するデータベースを有してデータを各車載装置へ分配する分配装置を備えることによってデータを一元的に管理させ、通信負荷の低減及び各車載装置へ分配されるデータの内容の同一性の担保を実現し、且つ各車載装置を各分配装置に対し夫々接続することで各車載装置とデータベースとの接続関係を多重化することにより、分配装置に支障が発生した場合に車載通信システム全体の処理に支障が生じることを防ぎ、その信頼性を向上させることができる車載通信システム及び車載通信方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and has a database that stores data transmitted from a plurality of in-vehicle devices, and includes a distribution device that distributes the data to each in-vehicle device, thereby centralizing data. Management, to reduce the communication load and ensure the identity of the content of data distributed to each in-vehicle device, and to connect each in-vehicle device to each distribution device, thereby connecting each in-vehicle device and the database. Provided an in-vehicle communication system and an in-vehicle communication method capable of preventing a problem in processing of the entire in-vehicle communication system and improving its reliability by multiplexing connection relations when the distribution device is in trouble The purpose is to do.
本発明の他の目的は、各車載装置を複数の分配装置に対し夫々接続することで各車載装置とデータベースとの接続関係を多重化した場合、各車載装置から送信されるデータに、最新のデータであるか否かを識別することができる番号を付与し、分配装置で必ず最新の情報のみでデータベースを更新することにより、データの信頼性を向上させることができる車載通信システム及び車載通信方法を提供することにある。 Another object of the present invention is to multiplex the connection relationship between each in-vehicle device and a database by connecting each in-vehicle device to a plurality of distribution devices. An in-vehicle communication system and an in-vehicle communication method capable of improving the reliability of data by assigning a number that can identify whether or not it is data and always updating the database with only the latest information in the distribution device Is to provide.
本発明に係る車載通信システムは、データを送受信する複数の車載装置と、該車載装置に接続されており各車載装置からデータを受信してデータベースに記憶する手段及び記憶したデータを各車載装置へ分配する手段を備える複数の分配装置とを備える車載通信システムであって、前記車載装置の一部又は全部は、異なるネットワークを介して、前記複数の分配装置のいずれにも接続されており、同一のデータを各分配装置へ送信する手段を備え、前記複数の分配装置は、前記ネットワークと異なるネットワークを介して接続されており、前記分配装置は夫々、データベースに記憶したデータを他の分配装置へ送信する手段と、他の分配装置から送信されたデータを前記データベースに記憶する手段とを備えることを特徴とする。 An in-vehicle communication system according to the present invention includes a plurality of in-vehicle devices that transmit and receive data, means for receiving data from each in-vehicle device and storing it in a database, and storing the stored data to each in-vehicle device. a vehicle communication system comprising a plurality of dispensing device comprising means for distributing the portion of the in-vehicle device or the whole through a different network, which is connected to any of said plurality of dispensing devices, Means for transmitting the same data to each distribution device, wherein the plurality of distribution devices are connected via a network different from the network, and each of the distribution devices stores data stored in a database to another distribution device; And means for storing data transmitted from another distribution device in the database.
本発明に係る車載通信システムは、各車載装置はデータを送信するに際し、データに番号を付与する手段と、前記番号を増加(又は減少)させる手段とを備え、各分配装置は、車載装置又は他の分配装置からデータを受信した場合、共に受信したデータの番号が、記憶してあるデータの番号よりも大きい(又は小さい)か否かを判断する判断手段と、該判断手段が、記憶してあるデータ番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信した番号をデータベースに記憶する手段と、前記判断手段が、記憶してあるデータ番号以下(又は以上)であると判断した場合、受信したデータを破棄する手段と、データベースに記憶してあるデータを他の分配装置へ送信するに際し、記憶してある前記データの番号を共に送信する手段とを備えることを特徴とする。 The in-vehicle communication system according to the present invention includes a unit for assigning a number to data and a unit for increasing (or decreasing) the number when each in-vehicle device transmits data. When data is received from another distribution device, a determination unit that determines whether the number of data received together is larger (or smaller) than the number of stored data, and the determination unit stores If the data number is determined to be larger (or smaller) than the data number, the means for storing the received number together with the received data in the database and the determination means are less than or equal to the stored data number If judged, the means for discarding the received data and the data number stored in the database are transmitted together when the data stored in the database is transmitted to another distribution device. Characterized in that it comprises a that means.
本発明に係る車載通信方法は、データを送受信する複数の車載装置と、該車載装置に接続されており各車載装置からデータを受信してデータベースに記憶し、記憶したデータを各車載装置へ分配する複数の分配装置とを含む車載通信システムにおける車載通信方法であって、前記車載装置の一部又は全部は、異なるネットワークを介して、前記複数の分配装置のいずれにも接続されており、データを各分配装置へ送信するに際し、データに番号を付与し、前記番号を増加(又は減少)させ、前記分配装置は、データベースに記憶してあるデータを、記憶してある前記データの番号と共に前記ネットワークと異なるネットワークを介して他の分配装置へ送信し、各車載装置又は他の分配装置からデータを受信した場合、共に受信したデータの番号が、記憶してあるデータの番号よりも大きい(又は小さい)か否かを判断し、記憶してあるデータの番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信したデータの番号をデータベースに記憶し、記憶してあるデータの番号以下(又は以上)であると判断した場合、受信したデータを破棄することを特徴とする。 An in-vehicle communication method according to the present invention includes a plurality of in-vehicle devices that transmit and receive data, and receives data from each in-vehicle device connected to the in-vehicle device, stores the data in a database, and distributes the stored data to each in-vehicle device. to a vehicle communication method in-vehicle communication system comprising a plurality of dispensing devices, the portion of the in-vehicle device or the whole through a different network, which is connected to any of said plurality of dispensing devices, When sending data to each distribution device, a number is assigned to the data, and the number is incremented (or decreased), and the distribution device stores the data stored in the database together with the stored data number. When data is transmitted to another distribution device via a network different from the network and data is received from each in-vehicle device or another distribution device, the number of the data received together Is larger (or smaller) than the number of stored data, and if it is larger (or smaller) than the number of stored data, the data received together with the received data The number is stored in the database, and when it is determined that the number is less than or equal to the number of the stored data, the received data is discarded.
本発明に係る車載通信方法は、データを送受信する複数の車載装置と、該車載装置に接続されており各車載装置からデータを受信してデータベースに記憶し、記憶したデータを各車載装置へ分配する複数の分配装置とを含む車載通信システムにおける車載通信方法であって、前記車載装置の一部又は全部は、異なるネットワークを介して、前記複数の分配装置のいずれにも接続されて同一のデータを各分配装置へ送信し、前記車載装置及び分配装置は共通する所定の周期に従い、該所定の周期の内のデータ送信期間に、前記車載装置は、データに番号を付与し、前記番号を増加(又は減少)させて各分配装置へ送信し、各分配装置は、各車載装置からデータを受信した場合、共に受信したデータ番号が、記憶してある前記データの番号よりも大きい(又は小さい)か否かを判断し、記憶してあるデータの番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信した番号をデータベースに記憶し、記憶してあるデータの番号以下(又は以上)であると判断した場合、受信したデータを破棄し、前記所定の周期の内の残期間に、各分配装置は、データベースに記憶してあるデータを、記憶してある前記データの番号と共に前記ネットワークとは異なるネットワークを介して他の分配装置へ送信し、各車載装置又は他の分配装置からデータを受信した場合、共に受信したデータの番号が、記憶してあるデータの番号よりも大きい(又は小さい)か否かを判断し、記憶してあるデータの番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信したデータの番号をデータベースに記憶し、記憶してあるデータの番号以下(又は以上)であると判断した場合、受信したデータを破棄することを特徴とする。 An in-vehicle communication method according to the present invention includes a plurality of in-vehicle devices that transmit and receive data, and receives data from each in-vehicle device connected to the in-vehicle device, stores the data in a database, and distributes the stored data to each in-vehicle device. a vehicle communication method in-vehicle communication system comprising a plurality of dispensing apparatus, the said part or all of the in-vehicle device via a different network, one connected to the same also in the plurality of distribution devices Data is transmitted to each distribution device, and the in-vehicle device and the distribution device follow a common predetermined cycle, and during the data transmission period within the predetermined cycle, the in-vehicle device assigns a number to the data, Increase (or decrease) and transmit to each distribution device. When each distribution device receives data from each in-vehicle device, the data number received together is more than the number of the stored data If it is determined whether it is larger (or smaller) than the stored data number, the received number is stored in the database together with the received data, and the stored data When it is determined that the number is equal to or less than (or higher), the received data is discarded, and each distribution device stores the data stored in the database in the remaining period of the predetermined period. When the data number is transmitted to another distribution device via a network different from the network and the data is received from each in-vehicle device or another distribution device, the data number received together is the number of the stored data. If it is determined whether it is larger (or smaller) than the number, and if it is larger (or smaller) than the number of the stored data, it was received with the received data Stores the number of over data in the database, if it is determined that the storage to the number of data Aru less (or more), characterized in that it discards the received data.
本発明では、車載装置から送信されるデータを受信してデータベースに記憶し、車載装置から受信して記憶してあるデータを他の車載装置に分配する分配装置が複数備えられ、且つ、車載装置の一部又は全部夫々に対して複数の分配装置が異なるネットワークを介して接続される。即ち、各車載装置と分配装置との接続関係がネットワークも含めて多重化される。各車載装置からは接続している複数の分配装置に同一の内容のデータが送信され、分配装置により受信されたデータは夫々のデータベースに記憶される。 In the present invention, a plurality of distribution devices that receive data transmitted from the in-vehicle device and store it in the database, and distribute the data received and stored from the in-vehicle device to other in-vehicle devices are provided, and the in-vehicle device A plurality of distribution devices are connected to a part or all of the network via different networks . That is, the connection relationship between each in-vehicle device and the distribution device is multiplexed including the network . Data of the same content is transmitted from each in-vehicle device to a plurality of distribution devices connected thereto, and the data received by the distribution device is stored in each database.
本発明では更に、データベースのデータが分配装置間で夫々、車載装置との間のネットワークとは異なるネットワークを介して送受信される。これにより、複数の分配装置間でデータベースのデータ内容が同期される。 Furthermore, in the present invention, database data is transmitted and received between the distribution devices via a network different from the network between the distribution devices. Thereby, the data contents of the database are synchronized among the plurality of distribution devices.
本発明では、各分配装置へ接続している車載装置から直接データが送信される場合と、他の分配装置へデータが一度送信されて記憶された後に分配装置のデータベースの同期のために当該データが送信される場合とがある。つまり、同一のデータが時間差で一の分配装置へ送信される。本発明では、車載装置からデータが送信されるに際し、データに番号が付与され、送信の都度その番号が増加(又は減少)させられる。分配装置により、車載装置からデータが受信された場合、共に受信された番号もデータベースに記憶され、他の分配装置へデータを送信されるに際し、共に記憶されてある番号も送信される。分配装置により、車載装置及び分配装置からデータが受信された場合、受信されたデータと共に受信されたデータの番号が既に記憶されてあるデータの番号よりも大きい(又は小さい)か否かにより最新のデータであるか否かが判断され、最新のデータであると判断されたときのみデータは記憶され、それ以外のときにデータは破棄される。 In the present invention, when data is directly transmitted from an in-vehicle device connected to each distribution device, and after data is transmitted once to another distribution device and stored, the data is synchronized for the database of the distribution device. May be sent. That is, the same data is transmitted to one distribution device with a time difference. In the present invention, when data is transmitted from the in-vehicle device, a number is assigned to the data, and the number is increased (or decreased) each time the data is transmitted. When the distribution device receives data from the in-vehicle device, the number received together is also stored in the database, and when the data is transmitted to another distribution device, the number stored together is also transmitted. When data is received from the in-vehicle device and the distribution device by the distribution device, the latest data depends on whether the data number received together with the received data is larger (or smaller) than the data number already stored. Whether or not the data is determined is determined. Only when it is determined that the data is the latest data, the data is stored. At other times, the data is discarded.
さらに本発明では、車載装置から分配装置へのデータの送信と分配装置から分配装置へのデータの交換とが周期に従って順に行われる場合、同一のデータが一の分配装置で車載装置から直接受信される場合、及びデータベースの同期のために他の分配装置を経由して受信される場合の複数回受信される。本発明では、分配装置により、データと共に受信された番号が記憶されてあるデータの番号よりも大きい(又は小さい)か否かにより最新のデータであるか否かが判断され、最新のデータであると判断された場合のみデータが記憶され、それ以外の場合にデータは破棄される。 Furthermore, in the present invention, when the transmission of data from the in-vehicle device to the distribution device and the exchange of data from the distribution device to the distribution device are sequentially performed according to the cycle, the same data is directly received from the in-vehicle device by one distribution device. And received multiple times when received via another distribution device for database synchronization. In the present invention, the distribution device determines whether or not the latest data is based on whether or not the number received together with the data is larger (or smaller) than the stored data number. Only when it is determined that the data is stored, the data is discarded.
本発明による場合、分配装置と車載装置の一部又は全部との接続関係が多重化されるので、複数の分配装置の内のいずれかについて支障が発生し、当該分配装置からデータが分配されない状態となっても、他の分配装置からのデータの分配が可能になる。したがって、分配装置を備えることにより各車載装置が受信するデータの同一性を担保することができるのみならず、分配装置のいずれかに支障が発生した場合、分配装置と車載装置との接続に支障が発生した場合等、システムの一部に障害が発生しても車載通信システム全体の動作に支障が生じることを防ぎ、システムの信頼性を向上させることができる。 According to the present invention, since the connection relationship between the distribution device and a part or all of the in-vehicle devices is multiplexed, a problem occurs in any of the plurality of distribution devices, and data is not distributed from the distribution device Even in this case, data can be distributed from other distribution devices. Therefore, by providing the distribution device, not only can the identity of the data received by each in-vehicle device be ensured, but if any of the distribution devices fails, the connection between the distribution device and the in-vehicle device is hindered. If a failure occurs in a part of the system, for example, the occurrence of a failure in the operation of the entire in-vehicle communication system can be prevented, and the reliability of the system can be improved.
本発明による場合、多重化された分配装置と各車載装置との接続関係において、各分配装置が有しているデータベースが同期されるので、分配装置から送信されるデータの内容が異なる等の問題が起こることを防ぎ、データの内容の同一性を担保し、車載通信システムで送受信されるデータの信頼性を向上させることができる。 In the case of the present invention, since the database possessed by each distribution device is synchronized in the connection relationship between the multiplexed distribution device and each in-vehicle device, the content of data transmitted from the distribution device is different. Can be prevented, the identity of data can be ensured, and the reliability of data transmitted and received in the in-vehicle communication system can be improved.
本発明による場合、多重化された分配装置と各車載装置との接続関係において、車載装置から分配装置へデータが送信される際及び分配装置間でデータが交換される際、分配装置は最新のデータであると判断した場合のみデータベースに記憶するので、古いデータで新しいデータを更新してしまうことを防ぎ、車載通信システムで送受信されるデータの信頼性を向上させることができる。 According to the present invention, in the connection relationship between the multiplexed distribution device and each in-vehicle device, when data is transmitted from the in-vehicle device to the distribution device and when data is exchanged between the distribution devices, the distribution device is the latest Since it is stored in the database only when it is determined to be data, it is possible to prevent new data from being updated with old data and to improve the reliability of data transmitted and received in the in-vehicle communication system.
さらに、本発明による場合、車載装置及び分配装置が共通の周期に従って車載装置から分配装置へのデータの送信及び分配装置間でのデータの交換を行うときは、分配装置は車載装置及び他の分配装置から同一のデータを受信するが、最新のデータであると判断した場合のみ記憶するのでデータの信頼性を向上させることができる。 Furthermore, according to the present invention, when the in-vehicle device and the distribution device transmit data from the in-vehicle device to the distribution device and exchange data between the distribution devices according to a common cycle, the distribution device is the in-vehicle device and other distribution devices. Although the same data is received from the apparatus, it is stored only when it is determined that it is the latest data, so that the reliability of the data can be improved.
以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。 Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
図1は、本発明に係る車載通信システムの構成を示す模式図である。車載通信システムは、ECU(Electronic Control Unit)、センサ等を備えてデータを送受信する複数の車載装置1a,1b,1cと、車載装置1a,1b,1c夫々と接続されており各車載装置1a,1b,1cからデータを受信し、他の車載装置1a,1b,1c及び図示しない他の車載装置群へデータを分配する分配装置2a,2bと、車載装置1a,1b,1cと分配装置2aとを接続する車内通信回線3aと、車載装置1a,1b,1cと分配装置2bとを接続する車内通信回線3bと、分配装置2a,2b間を接続する通信線4とを含んで構成されている。なお、図1中において車内通信回線3bは車内通信回線3aと区別するために破線で示している。また、図1中の白矢印は、車載装置1aと分配装置2a,2bとの間のデータの送受信の例を表わしている。
FIG. 1 is a schematic diagram showing a configuration of an in-vehicle communication system according to the present invention. The in-vehicle communication system includes an ECU (Electronic Control Unit), a sensor, and the like, and is connected to a plurality of in-
車載装置1a,1b,1cは、測定値、計算値、制御値等の各種物理量の数値情報を含むデータの送信又はエンジン、ブレーキ等のマイクロコンピュータによる制御が可能な装置である。例えば一の車載装置1aは車速を検知する図示しないセンサを備え、検知した車速のデータを分配装置2a,2bへ送信する。
The in-
分配装置2a,2bは、データベース21a,21bとして使用する記憶領域を備えており、車載装置1a,1b,1cから送信されたデータをデータベース21a,21bに記憶し、データベース21a,21bから読み出したデータを車載装置1a,1b,1cへ送信する。分配装置2a,2bにデータを一元的に記憶させることにより、通信負荷の低減及び各車載装置1a,1b,1cへ分配されるデータの内容の同一性の担保の実現が可能になる。
The
分配装置2a,2bは、図示しない他の車載装置群と接続しており、車載装置1a,1b,1cから受信したデータを他の車載装置群へ送信してもよい。この場合、他の車載装置群へ送信するデータは車載装置1a,1b,1cから送信されるデータ全てではなく、当該他の車載装置群で必要なデータのみをデータベース21a,21bから読み出して送信する構成とすることにより、車載通信システムにおける通信負荷が低減される。またデータベース21a,21bに一元的に記憶されてデータベース21a,21bから読み出されたデータが分配されることにより、車載装置1a,1b,1c及び他の車載装置群で受信するデータの内容の同一性が担保される。さらに、分配装置2a,2bから複数の群に接続している各車載装置へ一括してデータを送信することによりデータの同時性が担保される。
車載装置1a,1b,1cと分配装置2a,2bとを接続している車内通信回線3a,3b、及び分配装置2a,2b間を接続している通信線4のトポロジーは、バス型、スター型、ディジーチェーン型等いずれの形態でもよい。車載装置1a,1b,1cは分配装置2a,2bと車内通信回線3a,3bを介してデータを送受信することが可能であり、分配装置2a,2bは通信線4を介して相互にデータを送受信することが可能である。
The topology of the in-
なお、本発明に係る車載通信システムでは更に、図1の模式図に示すように各車載装置1a,1b,1cが分配装置2a及び分配装置2bの両者に車内通信回線3a及び3bを介して接続されており、両者にデータを送信する。例えば車載装置1aは分配装置2a及び分配装置2bの両者に車速のデータを送信する。他の車載装置群によって送信されたデータを含め、分配装置2a及び分配装置2bの両者に同一のデータが送信されて記憶される。これにより、車載装置1a,1b,1cは分配装置2aのみならず分配装置2bからもデータを受信することができる。
In the in-vehicle communication system according to the present invention, as shown in the schematic diagram of FIG. 1, each on-
したがって、図1の模式図に示すように、分配装置2aにおいてメモリ等のハードウェアの故障が発生してデータベース21aからデータを読み出すことができなくなる場合、又は分配装置2aと車内通信回線3aとの接続に障害が発生し、車載装置1a,1b,1cが分配装置2aからデータを送受信することができなくなる場合等、分配装置2aに支障が発生した場合であっても、車載装置1a,1b,1cは分配装置2bとの間でデータを送受信することができる。このように本発明の車載通信システムでは各車載装置1a,1b,1cと分配装置2a,2b即ちデータベース21a,21bとの接続関係が二重化されることにより車載通信システム全体としてフェールセーフな状態で動作することが可能になり、システムとしての信頼性が向上する。
Therefore, as shown in the schematic diagram of FIG. 1, when a hardware failure such as memory occurs in the
さらに、本発明に係る車載通信システムでは、分配装置2a,2b間で夫々のデータベース21a,21bから読み出したデータを送受信し、データベース21a,21bの内容を同期させることが望ましい。分配装置2a及び分配装置2bの両者が完全に同じ構成で車載装置1a,1b,1c及び他の車載装置群と接続されており、各車載装置1a,1b,1c,…から正常にデータが両者に送信される場合、データベース21a,21bの内容は同一の内容となる。しかしながら、例えば車載装置1a,1b,1c以外に接続されている車載装置が異なる場合等は、送信されるデータが異なり、データベース21a,21bの内容が同一でないことがある。データベース21a,21bの内容が同一でない場合、車載装置1a,1b,1cは分配装置2a,2b夫々から送信されるデータのいずれが正しい(最新の)データであるかを判断する必要が生じ、データの信頼性が低下する。また、分配装置2aと分配装置2bとで車載装置1a,1b,1c以外の車載装置に別々に接続している場合、それらの車載装置から送信されるデータを車載装置1a,1b,1cでも共有することができると共に、車載装置1a,1b,1c以外であって、分配装置2a及び分配装置2bに別々に接続している車載装置間で同一のデータを使用するときにデータの内容の同一性が担保される。
Furthermore, in the in-vehicle communication system according to the present invention, it is desirable to transmit / receive data read from the
図2は、本発明に係る車載通信システムを構成する車載装置1a及び分配装置2aの内部構成を示すブロック図である。車載装置1b,1cは車載装置1aと同様の内部構成であるので詳細な説明を省略し、分配装置2bは分配装置2aと同様の内部構成であるので詳細な説明を省略する。
FIG. 2 is a block diagram showing an internal configuration of the in-
車載装置1aは、以下に示す各構成部の動作を制御する制御部10aと、各構成部に電力を供給する電源回路11aと、DRAM(Dynamic Random Access Memory)等の揮発性のメモリからなる記憶部12aと、車内通信回線3aに接続されている第1通信制御部13aと、車内通信回線3bに接続されている第2通信制御部14aとを備える。
The in-
車載装置1aの制御部10aは、図示しない車輌のオルタネータ、バッテリー等の電力供給装置から電源回路11aを介して電力の供給を受け、記憶部12aに記憶されている制御プログラムを読み出して実行し、各構成部の動作を制御する。
The control unit 10a of the in-
車載装置1aの記憶部12aには、制御部10aの処理により発生する制御値、計算値等の各種情報、又は図示しないセンサから入力された信号が表わす物理量の計測値等が一時的に記憶される。
The storage unit 12a of the in-
また、本発明による場合、車載装置1aの記憶部12aには、送信するデータに付与するデータのシーケンス番号が記憶されている。車載装置1aの制御部10aはデータを送信する場合、記憶部12aに記憶されているシーケンス番号を読み出してデータと共に送信する。本実施の形態では、シーケンス番号は1バイトのメモリを使用する正の整数値(0〜255)として記憶される。シーケンス番号の初期値はゼロに設定されており、制御部10aはデータを送信する都度シーケンス番号を1つ増加させる。シーケンス番号は、255まで増加された場合、次はゼロにリセットされる。なお、シーケンス番号を増加させるタイミングはデータの送信前、送信後いずれでもよい。制御部10aは、データを送信した後、送信前又は送信後に増加されたシーケンス番号を記憶部12aに記憶する。
In the case of the present invention, the storage unit 12a of the in-
車載装置1aの第1通信制御部13aは、車内通信回線3aを介して接続している分配装置2aとのデータの送受信を実現する。なお、車載装置1aは、第1通信制御部13aにより、車内通信回線3aを介して他の車載装置1b,1cと直接的にデータの送受信が可能な構成でもよい。第2通信制御部14aは、車内通信回線3bを介して接続している分配装置2bと車載装置1aとのデータの送受信を実現する。
The first communication control unit 13a of the in-
車載装置1aの制御部10aは、第1通信制御部13a及び第2通信制御部14aにより、記憶部12aに記憶してあるデータのシーケンス番号と共にデータを送信する。なお車載装置1aの制御部10aは、所定のフォーマットを有する「メッセージ」にデータを含めて送信する。
The control unit 10a of the in-
分配装置2aは、以下に示す各構成部の動作を制御する制御部20aと、各構成部に電力を供給する電源回路22aと、DRAM(Dynamic Random Access Memory)等の揮発性のメモリからなる記憶部23aと、車内通信回線3aに接続されている第1通信制御部24aと、通信線4に接続されている第2通信制御部25aとを備える。
The
分配装置2aの制御部20aは、図示しない車輌のオルタネータ、バッテリー等の電力供給装置から電源回路22aを介して電力の供給を受け、記憶部23aに記憶されている制御プログラムを読み出して実行し、各構成部の動作を制御する。
The control unit 20a of the
分配装置2aの記憶部23aには、制御部20aが車載装置1a,1b,1cから受信したデータを記憶するデータベース21aのための記憶領域が設けられている。制御部20aは、受信したデータから「車速」「操舵角」等の種別(データID)毎に、対応する具体的な測定値、計算値、制御値及び後述するデータのシーケンス番号をデータベース21aに記憶する。なお、分配装置2aの制御部20aは後述するように、データを受信した場合でもデータベース21aに記憶せず破棄するときがある。この処理については後述にて説明する。
The
分配装置2aの第1通信制御部24aは、車内通信回線3aを介して接続している各車載装置1a,1b,1cとのデータの送受信を実現する。第2通信制御部25aは、通信線4を介して接続している分配装置2bとのデータの送受信を実現する。なお、本実施の形態では、分配装置2aの制御部20aは第2通信制御部25aによりデータベース21aから読み出したデータを分配装置2bへ送信するに際し、データベース21aにデータの種別毎に記憶してあるシーケンス番号を読み出して共に送信する。
The first communication control unit 24a of the
図3は、本発明に係る車載通信システムを構成する車載装置1a,1b,1c及び分配装置2a,2b間で送受信されるメッセージのフォーマットを模式的に表わす説明図である。
FIG. 3 is an explanatory view schematically showing a format of a message transmitted / received between the in-
図3の説明図に示すように、車載装置1a,1b,1cから送信されるメッセージは、所定のヘッダから開始され、シーケンス番号、データ(ペイロード)、最後にメッセージの終了を示すトレイラで構成される。分配装置2aは車載装置1a,1b,1c又は他の分配装置2bから送信されるメッセージから、図3の説明図に表わされたフォーマットに従い、データとそのデータに付与されたシーケンス番号を読み出すことができる。なお、シーケンス番号はデータに含まれる構成でもよい。
As shown in the explanatory diagram of FIG. 3, a message transmitted from the in-
また、本実施の形態における車載装置1a,1b,1c及び分配装置2a,2bは、同期したタイマを有していることにより、共有の周期に基づき同期して動作する。このため、車載装置1a,1b,1cの制御部10a,10b,10c及び分配装置2a,2bの制御部20a,20bは夫々、図示しない内臓クロックに従ってタイマとして機能する。図4は、本実施の形態における各車載装置1a,1b,1c及び各分配装置2a,2bの制御部10a,10b,10c,20a,20bがタイマとして機能することにより従う所定の周期の例を模式的に示す説明図である。横軸は時間の経過を表わし、各矩形は分割された期間を表わしている。
Moreover, the vehicle-mounted
図4の説明図に示す例では、一周期は例えば数十ミリ秒である。一周期は、分配装置2a,2b間でデータを送受信しデータベース21a,21bを同期する期間である同期スロットと、車載装置1a,1b,1cから分配装置2a,2bへ及び分配装置2a,2bから車載装置1a,1b,1cへデータを送信する期間である送信スロットとに分割されている。図4の説明図に示す期間A,C,Eは送信スロットであり、期間B,D,Fは同期スロットである。車載装置1a,1b,1c及び分配装置2a,2bの制御部10a,10b,10c及び制御部20a,20bは、タイマとして機能することにより同期スロット及び送信スロットを認識する。
In the example shown in the explanatory diagram of FIG. 4, one cycle is, for example, several tens of milliseconds. One period is a synchronization slot in which data is transmitted and received between the
同期スロットの間、分配装置2a,2bと車載装置1a,1b,1cとの間ではデータの送受信は行われず、分配装置2a,2b間でデータベース21a,21bに記憶してあるデータを送受信し、データを交換することにより、データベース21a,21bが同期される。本実施の形態では、データベース21a,21bの同期の手順については限定しない。同期スロットが終了した時点で、分配装置2aのデータベース21aの内容と分配装置2bのデータベース21bの内容とは同期している。
During the synchronization slot, data transmission / reception is not performed between the
上述のように構成される本発明に係る車載通信システムにおいて、各車載装置1a,1b,1cがデータをメッセージに含め、分配装置2a,2bへ送信する処理、分配装置2aがデータベース21aからデータを読み出してメッセージに含めて分配装置2bへ送信する処理、及び、分配装置2bが各車載装置1a,1b,1c及び分配装置2aから送信されるメッセージを受信する場合の処理について説明する。
In the in-vehicle communication system according to the present invention configured as described above, each in-
本発明の車載通信システムでは、上述のように各車載装置1a,1b,1cは分配装置2a及び分配装置2bの両者に接続しており、両者に同一のデータ例えば車速データを含めたメッセージを送信する。この場合、車内通信回線3bでコリジョンが発生し、一方の分配装置2bへのメッセージが大幅に遅延し、分配装置2bへデータが送信された時点ではそのデータが既に古いデータとなるときがある。これに対して本発明では上述のように、各車載装置1a,1b,1cからデータにシーケンス番号が付与されて共に送信され、且つ送信の都度シーケンス番号が増加されるので、データを受信する分配装置2a,2bは、より大きいシーケンス番号が付与されたデータが最新であることを認識することができる。したがって、分配装置2a,2bは最新のデータのみをデータベース21a,21bに記憶し、それ以外のデータを破棄する。
In the in-vehicle communication system of the present invention, as described above, each of the in-
以下に、車載装置1a,1b,1c及び分配装置2a,2bの制御部20a,20bが送信スロット及び同期スロットの期間に行なう処理をフローチャートを用いて説明する。図5及び図6は、本実施の形態における車載通信システムで、送信スロットの期間に車載装置1a及び分配装置2aの間でデータが送受信される処理手順を示すフローチャートである。車載装置1b,1cが分配装置2a,2bへ送信する処理手順は車載装置1aによる処理手順と同様であるので詳細な説明を省略する。また、分配装置2bが車載装置1a,1b,1cからメッセージを受信する処理手順は、分配装置2aによる処理手順と同様であるので詳細な説明を省略する。
Hereinafter, processing performed by the control units 20a and 20b of the in-
車載装置1aの制御部10aはタイマとして機能することにより、送信スロットが到来したか否かを判断する(ステップS101)。車載装置1aの制御部10aは、送信スロットが到来していないと判断した場合(S101:NO)、処理をステップS101へ戻し、送信スロットが到来したと判断するまで待機する。
The control unit 10a of the in-
車載装置1aの制御部10aは、送信スロットが到来したと判断した場合(S101:YES)、記憶部12aに一時的に記憶してある測定値、計算値、制御値等のデータを読み出す(ステップS102)。また車載装置1aの制御部10aは、記憶部12aに記憶してあるシーケンス番号を読み出し(ステップS103)、読み出したシーケンス番号を1増加させ(ステップS104)、読み出したデータ及び増加させたシーケンス番号を含めてメッセージを生成し(ステップS105)、生成したメッセージを第1通信制御部13a及び第2通信制御部14aにより、車内通信回線3a,3bを介して分配装置2a,2bへ送信する(ステップS106)。
When it is determined that the transmission slot has arrived (S101: YES), the control unit 10a of the in-
分配装置2aの制御部20aは、接続している車載装置1aから送信されたメッセージを第1通信制御部24aにより受信し(ステップS107)、受信したメッセージからデータ及びデータのシーケンス番号を読み出す(ステップS108)。分配装置2aの制御部20aは、受信したメッセージから読み出したデータに対応し、データベース21aに既に記憶してあるデータのシーケンス番号を読み出し(ステップS109)、ステップS108で読み出したシーケンス番号と比較する(ステップS110)。
The control unit 20a of the
分配装置2aの制御部20aは、受信したメッセージから読み出したデータのシーケンス番号が、データベース21aから読み出したデータのシーケンス番号よりも大きいか否かを判断する(ステップS111)。分配装置2aの制御部20aは、受信したメッセージから読み出したデータのシーケンス番号が、読み出したデータのシーケンス番号よりも大きいと判断した場合(S111:YES)、受信したメッセージから読み出したデータ、及び共にメッセージから読み出したシーケンス番号をデータベース21aに記憶し(ステップS112)、処理を終了する。
The control unit 20a of the
分配装置2aの制御部20aは、受信したメッセージから読み出したデータのシーケンス番号が、読み出したデータのシーケンス番号以下であると判断した場合(S111:NO)、受信したメッセージから読み出したデータを破棄し(ステップS113)、処理を終了する。
When it is determined that the sequence number of the data read from the received message is equal to or less than the sequence number of the read data (S111: NO), the control unit 20a of the
なお、ステップS111における判断処理で、分配装置2aの制御部20aは、受信したメッセージから読み出したデータのシーケンス番号がゼロリセットされた後の番号である場合は、読み出したデータのシーケンス番号よりも大きいと判断する。
In the determination processing in step S111, the control unit 20a of the
図7及び図8は、本実施の形態における車載通信システムで、同期スロットの期間に分配装置2a,2b間でデータが送受信される処理手順を示すフローチャートである。なお、分配装置2bが他の分配装置2aからメッセージを受信する処理以降の処理手順は、車載装置1a,1b,1cからメッセージを受信した場合の処理手順と同様である。したがって、図7及び図8のフローチャートに示す処理手順の内の、分配装置2bが分配装置2aからメッセージを受信した後の処理手順については図5及び図6のフローチャートに示した処理手順と同一のステップ番号を付して、詳細な説明を省略する。
7 and 8 are flowcharts showing a processing procedure in which data is transmitted and received between the
分配装置2aの制御部20aはタイマとして機能することにより、同期スロットが到来したか否かを判断する(ステップS201)。分配装置2aの制御部20aは、同期スロットが到来していないと判断した場合(S201:NO)、処理をステップS201へ戻し、同期スロットが到来したと判断するまで待機する。
The control unit 20a of the
分配装置2aの制御部20aは、同期スロットが到来したと判断した場合(S201:YES)、記憶部23aのデータベース21aに記憶してあるデータ及びデータのシーケンス番号を読み出す(ステップS202)。分配装置2aの制御部20aは、読み出したデータ及びシーケンス番号を含めてメッセージを生成し(ステップS203)、生成したメッセージを第2通信制御部25aにより分配装置2bへ送信する(ステップS204)。
When determining that the synchronization slot has arrived (S201: YES), the control unit 20a of the
その後、ステップS107の処理により分配装置2aからメッセージを受信した(S107)分配装置2bの制御部20bは、車載装置1aからメッセージを受信した場合同様、メッセージからデータ及びシーケンス番号を読み出し(S108)、データベース21bに記憶してあるデータのシーケンス番号を読み出し(S109)て比較し(S110)、受信したメッセージから読み出したデータのシーケンス番号がデータベース21bに記憶してあるデータのシーケンス番号よりも大きいと判断した場合(S111:YES)、データを記憶し(S112)、記憶してあるデータのシーケンス番号以下であると判断した場合(S111:NO)、データを破棄して(S113)同期の処理を終了する。
Thereafter, the control unit 20b of the
さらに、分配装置2bの制御部20bが、データベース21bから読み出したデータに基づいてメッセージを生成して分配装置2aへ送信し、分配装置2aの制御部20aは分配装置2bから受信したデータの内の、最新のデータのみデータベース21aに記憶する。これにより、分配装置2a,2b間でデータが交換され、データベース21a,21bの内容が同期される。
Further, the control unit 20b of the
次に、上述のような処理の具体例として、車載装置1aの制御部10aによりデータの種別を車速とするデータが送信され、分配装置2a,2bによって当該車速データが受信され、更に分配装置2a,2b間でデータが同期される場合を例に挙げて説明する。図9、図10及び図11は、本発明の車載通信システムを構成する車載装置1a及び分配装置2a,2b間でデータが送受信され、記憶される処理を模式的に示す説明図である。
Next, as a specific example of the processing as described above, data having the vehicle type as the vehicle speed is transmitted by the control unit 10a of the in-
図9(a)は図4の説明図に示した各期間の内の期間A、図9(b)は同様に期間B、図10(a)は期間C、図10(b)は期間D、図11(a)は期間Eにおける処理を示している。図9(a)、図9(b)、図10(a)、図10(b)、図11(a)の説明図では夫々、本発明に係る車載通信システムを構成する車載装置1a及び分配装置2a,2bの接続関係を示し、車載装置1aから分配装置2a,2bへ送信されるメッセージの内容を示し、更に、分配装置2a,2bが夫々備えているデータベース21a,21bで記憶されるデータの内容例を表により示している。
9A is a period A among the periods shown in the explanatory diagram of FIG. 4, FIG. 9B is a period B, FIG. 10A is a period C, and FIG. 10B is a period D. FIG. 11A shows processing in the period E. 9 (a), FIG. 9 (b), FIG. 10 (a), FIG. 10 (b), and FIG. 11 (a), the in-
まず、送信スロットである期間Aでは図9(a)の説明図に示すように、車載装置1aの制御部10aは、車速データ(値=20)及び車速データに付与されたシーケンス番号「100」を含んだメッセージを生成し、分配装置2a及び分配装置2bへ車内通信回線3a,3bを介して送信する。なお、シーケンス番号「100」は1増加された番号である。分配装置2aの制御部20aは、車載装置1aから送信されたメッセージを受信し、データベース21aを更新する。これにより、分配装置2aのデータベース21aに記憶される車速データは、値が「20」、シーケンス番号が「100」のデータに更新される。一方、期間Aでは車内通信回線3bが例えば輻輳状態であることにより、分配装置2bの制御部20bは、車載装置1aから送信されたメッセージを受信することができず、データベース21bは更新されず、分配装置2bのデータベース21bに記憶されている車速データは、値が「10」、シーケンス番号が「99」である。
First, in the period A that is a transmission slot, as shown in the explanatory diagram of FIG. 9A, the control unit 10a of the in-
次に、同期スロットである期間Bでは図9(b)の説明図に示すように、分配装置2a,2b間で通信線4を介してデータが送受信されて同期される。ここでは、分配装置2aの制御部20aが、データベース21aから車速データの値「20」及び記憶してあるシーケンス番号「100」を含むメッセージを生成し、分配装置2bへ送信する。分配装置2bの制御部20bは、分配装置2aから受信したメッセージに含まれる車速データのシーケンス番号「100」と、データベース21bに記憶してある車速データのシーケンス番号「99」とを比較する。分配装置2bの制御部20bは、受信したメッセージに含まれるデータのシーケンス番号「100」が、記憶してある車速データのシーケンス番号「99」よりも大きいと判断するので、受信した車速データの値「20」及びシーケンス番号「100」をデータベース21bに記憶する。これにより、分配装置2a,2bのデータベース21a,21bが最新のデータに同期される。
Next, in the period B that is a synchronization slot, data is transmitted and received between the
次に、送信スロットである期間Cでは図10(a)の説明図に示すように、車載装置1aの制御部10aは、車速データ(値=45)を含むメッセージを生成する。このとき車載装置1aの制御部10aは、前回送信したデータのシーケンス番号「100」を1増加させたシーケンス番号「101」を車速データに共に含めてメッセージを生成し、分配装置2a,2bへ送信する。分配装置2a,2bの制御部20a,20bは、車載装置1aから送信されたメッセージを受信し、メッセージに含まれる車速データのシーケンス番号「101」とデータベース21a,21bに記憶してある車速データのシーケンス番号「100」とを比較する。分配装置2a,2bの制御部20a,20bは夫々、受信したメッセージに含まれるデータのシーケンス番号「101」が、記憶してある車速データのシーケンス番号「100」よりも大きいと判断するので、受信したメッセージに含まれる車速データの値「45」及びシーケンス番号「101」をデータベース21a,21bに記憶し、更新する。
Next, in the period C which is a transmission slot, as shown in the explanatory diagram of FIG. 10A, the control unit 10a of the in-
次に、同期スロットである期間Dでは図10(b)の説明図に示すように、分配装置2a,2b間でデータが送受信されて同期される。この期間でも、分配装置2aの制御部20aが、データベース21aから車速データの値「45」及び記憶してあるシーケンス番号「101」を含むメッセージを生成し、分配装置2bへ送信する。期間Bにおける処理同様に、分配装置2bの制御部20bは、分配装置2bから受信したメッセージに含まれる車速データのシーケンス番号「101」と、データベース21bに記憶してある車速データのシーケンス番号「101」とを比較する。しかし、期間Dでは分配装置2bの制御部20bは、受信したメッセージに含まれるデータのシーケンス番号「101」が、記憶してある車速データのシーケンス番号「101」以下であると判断するので、受信したメッセージに含まれる車速データ及びシーケンス番号を破棄する。記憶してあるデータと同一内容であり、既に同期されている状態であるので更新されない。
Next, in the period D that is a synchronization slot, data is transmitted and received between the
次に、送信スロットである期間Eでは図11(a)の説明図に示すように、車載装置1aの制御部10aにより期間Aで送信された車速データ(値=20)及びシーケンス番号「100」を含むメッセージが車内通信回線3bを介して分配装置2bへ再送される。分配装置2bの制御部20bは、再送されたメッセージを受信する。分配装置2bの制御部20bは、受信したメッセージに含まれる車速データのシーケンス番号「100」とデータベース21bに記憶してある車速データのシーケンス番号「101」とを比較する。この場合、分配装置2bの制御部20bは、受信したメッセージに含まれるデータのシーケンス番号「100」が、記憶してある車速データのシーケンス番号「101」以下であると判断するので、受信したメッセージに含まれる車速データ及びシーケンス番号を破棄する。
Next, in the period E which is a transmission slot, as shown in the explanatory diagram of FIG. 11A, the vehicle speed data (value = 20) and the sequence number “100” transmitted in the period A by the control unit 10a of the in-
上述のように分配装置2bは、送信スロット及び同期スロットの期間に夫々、車載装置1a,1b,1c及び分配装置2aから同一のデータを含むメッセージを受信する。本発明の場合、車載装置1a,1b,1cからはデータにシーケンス番号が付与されて共に送信され、且つそのシーケンス番号は送信の都度増加される。したがって、分配装置2bは、より大きいシーケンス番号が付与されたデータが最新のデータであることを認識し、受信したメッセージのデータのシーケンス番号が、データベース21bに記憶してあるデータに付与されているシーケンス番号よりも大きいと判断した場合のみデータベース21bにそのデータを記憶する。この処理により、分配装置2bが、古いデータによって新しいデータを更新してしまうことを回避することができ、車載装置1a,1b,1cに対するデータベースとの接続関係をデータベース21a及びデータベース21b両方と接続することにより二重化してデータの信頼性を向上させた上で更に、データの信頼性を向上させることができる。
As described above, the
なお、本実施の形態では車内通信回線をも車内通信回線3a,3bによって二重化する構成とした。しかしながら、本発明はこれに限らず、分配装置2a,2b及び車載装置1a,1b,1cがいずれも一の車内通信回線に接続している構成でもよい。この場合、車載装置1a,1b,1cは通信制御部を二つ備える必要がなく、一の通信制御部を介して車内通信回線に接続し、当該一の車内通信回線を介してデータを分配装置2a及び分配装置2bに送信する構成でもよい。分配装置2aが何らかの要因で故障した場合であっても車載装置1a,1b,1cは分配装置2bからデータを受信することができ、システムの信頼性は向上する。
In this embodiment, the in-vehicle communication line is also duplicated by the in-
本実施の形態では、車載装置1a,1b,1cの全部が複数の分配装置2a,2bへ接続する構成とした。しかしながら、本発明はこれに限らず、車載装置1a,1b,1cの内の一部のみが複数の分配装置2a,2bへ接続している構成でもよい。例えば、車載装置1aのみ分配装置2a及び分配装置2bに接続し、車載装置1bは車内通信回線3aのみに接続して分配装置2aとのみデータの送受信が可能であり、車載装置1bは車内通信回線3bのみに接続して分配装置2bとのみデータの送受信が可能である構成でもよい。
In the present embodiment, all the in-
また、本実施の形態では車載装置1a,1b,1cがデータを送信する場合にデータに付与する番号は、送信する都度増加させる構成とした。しかしながら、本発明はこれに限らず、送信する都度番号を減少させ、番号が小さい程最新のデータであると判断できるように構成してもよい。この場合、分配装置2a,2bの制御部20a,20bは受信したデータに付与されている番号の値が記憶してあるデータの番号よりも小さい場合にデータベースに記憶し、記憶してある番号以上である場合はデータを破棄する。
Moreover, in this Embodiment, when the
1a,1b,1c 車載装置
10a,10b,10c 制御部
12a,12b,12c 記憶部
2a,2b 分配装置
20a,20b制御部
21a,21b データベース
23a,23b 記憶部
3a,3b 車内通信回線
4 通信線
1a, 1b, 1c In-vehicle device 10a, 10b, 10c Control unit 12a, 12b,
Claims (4)
前記車載装置の一部又は全部は、
異なるネットワークを介して、前記複数の分配装置のいずれにも接続されており、
同一のデータを各分配装置へ送信する手段
を備え、
前記複数の分配装置は、前記ネットワークと異なるネットワークを介して接続されており、
前記分配装置は夫々、
データベースに記憶したデータを他の分配装置へ送信する手段と、
他の分配装置から送信されたデータを前記データベースに記憶する手段と
を備えることを特徴とする車載通信システム。 A plurality of in-vehicle devices that transmit and receive data, a plurality of distribution devices that are connected to the in-vehicle devices, receive data from each in-vehicle device, store the data in a database, and distribute the stored data to each in-vehicle device An in-vehicle communication system comprising:
Part or all of the in- vehicle device is
Via a different network, which is connected to any of said plurality of dispensing devices,
Means for transmitting the same data to each distribution device,
The plurality of distribution devices are connected via a network different from the network,
Each of the dispensing devices is
Means for transmitting data stored in the database to other distribution devices;
A vehicle-mounted communication system comprising: means for storing data transmitted from another distribution device in the database.
データに番号を付与する手段と、
前記番号を増加(又は減少)させる手段と
を備え、
各分配装置は、
車載装置又は他の分配装置からデータを受信した場合、
共に受信したデータの番号が、記憶してあるデータの番号よりも大きい(又は小さい)か否かを判断する判断手段と、
該判断手段が、記憶してあるデータ番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信した番号をデータベースに記憶する手段と、
前記判断手段が、記憶してあるデータ番号以下(又は以上)であると判断した場合、受信したデータを破棄する手段と、
データベースに記憶してあるデータを他の分配装置へ送信するに際し、記憶してある前記データの番号を共に送信する手段と
を備えることを特徴とする請求項1に記載の車載通信システム。 Each in-vehicle device transmits data,
Means for assigning numbers to the data;
Means for increasing (or decreasing) the number,
Each dispensing device
When data is received from an in-vehicle device or other distribution device,
Determining means for determining whether the number of data received together is larger (or smaller) than the number of stored data;
Means for storing the received number in the database together with the received data when the determining means determines that it is larger (or smaller) than the stored data number;
Means for discarding the received data if the determining means determines that the data number is less than or equal to the stored data number (or more);
The vehicle-mounted communication system according to claim 1, further comprising means for transmitting the stored data number together with the data stored in the database when the data is transmitted to another distribution device.
前記車載装置の一部又は全部は、
異なるネットワークを介して、前記複数の分配装置のいずれにも接続されており、
データを各分配装置へ送信するに際し、
データに番号を付与し、
前記番号を増加(又は減少)させ、
前記分配装置は、
データベースに記憶してあるデータを、記憶してある前記データの番号と共に前記ネットワークと異なるネットワークを介して他の分配装置へ送信し、
各車載装置又は他の分配装置からデータを受信した場合、
共に受信したデータの番号が、記憶してあるデータの番号よりも大きい(又は小さい)か否かを判断し、
記憶してあるデータの番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信したデータの番号をデータベースに記憶し、
記憶してあるデータの番号以下(又は以上)であると判断した場合、受信したデータを破棄する
ことを特徴とする車載通信方法。 In-vehicle including a plurality of in-vehicle devices that transmit and receive data, and a plurality of distribution devices that are connected to the in-vehicle devices, receive data from each in-vehicle device, store the data in a database, and distribute the stored data to each in-vehicle device An in-vehicle communication method in a communication system,
Part or all of the in- vehicle device is
Via a different network, which is connected to any of said plurality of dispensing devices,
When sending data to each distributor,
Number the data,
Increase (or decrease) the number,
The distributor is
Send the data stored in the database together with the number of the stored data to another distribution device via a network different from the network,
When data is received from each in-vehicle device or other distribution device,
Determine whether the number of data received together is larger (or smaller) than the number of stored data,
If it is determined that it is larger (or smaller) than the stored data number, the received data number is stored in the database together with the received data.
An in-vehicle communication method characterized by discarding received data when it is determined that the number is less than or equal to the number of stored data.
前記車載装置の一部又は全部は、異なるネットワークを介して、前記複数の分配装置のいずれにも接続されて同一のデータを各分配装置へ送信し、
前記車載装置及び分配装置は共通する所定の周期に従い、
該所定の周期の内のデータ送信期間に、
前記車載装置は、
データに番号を付与し、
前記番号を増加(又は減少)させて各分配装置へ送信し、
各分配装置は、
各車載装置からデータを受信した場合、
共に受信したデータ番号が、記憶してある前記データの番号よりも大きい(又は小さい)か否かを判断し、
記憶してあるデータの番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信した番号をデータベースに記憶し、
記憶してあるデータの番号以下(又は以上)であると判断した場合、受信したデータを破棄し、
前記所定の周期の内の残期間に、
各分配装置は、
データベースに記憶してあるデータを、記憶してある前記データの番号と共に前記ネットワークとは異なるネットワークを介して他の分配装置へ送信し、
各車載装置又は他の分配装置からデータを受信した場合、
共に受信したデータの番号が、記憶してあるデータの番号よりも大きい(又は小さい)か否かを判断し、
記憶してあるデータの番号よりも大きい(又は小さい)と判断した場合、受信したデータと共に受信したデータの番号をデータベースに記憶し、
記憶してあるデータの番号以下(又は以上)であると判断した場合、受信したデータを破棄する
ことを特徴とする車載通信方法。 In-vehicle including a plurality of in-vehicle devices that transmit and receive data, and a plurality of distribution devices that are connected to the in-vehicle devices, receive data from each in-vehicle device, store the data in a database, and distribute the stored data to each in-vehicle device An in-vehicle communication method in a communication system,
Some or all of the in-vehicle device via a different network, the one to be connected to a plurality of dispensing devices transmit the same data to each dispensing device,
The in-vehicle device and the distribution device follow a predetermined cycle in common,
During the data transmission period within the predetermined period,
The in-vehicle device is
Number the data,
Increase (or decrease) the number and send it to each distribution device,
Each dispensing device
When data is received from each in-vehicle device,
Determine whether the data number received together is larger (or smaller) than the stored data number;
When it is determined that the number is larger (or smaller) than the stored data number, the received number is stored in the database together with the received data.
If it is determined that it is less than or equal to the number of stored data, discard the received data,
In the remaining period of the predetermined period,
Each dispensing device
Sending the data stored in the database together with the number of the stored data to another distribution device via a network different from the network,
When data is received from each in-vehicle device or other distribution device,
Determine whether the number of data received together is larger (or smaller) than the number of stored data,
If it is determined that it is larger (or smaller) than the stored data number, the received data number is stored in the database together with the received data.
An in-vehicle communication method characterized by discarding received data when it is determined that the number is less than or equal to the number of stored data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007150783A JP5207106B2 (en) | 2007-06-06 | 2007-06-06 | In-vehicle communication system and in-vehicle communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007150783A JP5207106B2 (en) | 2007-06-06 | 2007-06-06 | In-vehicle communication system and in-vehicle communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008302780A JP2008302780A (en) | 2008-12-18 |
JP5207106B2 true JP5207106B2 (en) | 2013-06-12 |
Family
ID=40231873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007150783A Active JP5207106B2 (en) | 2007-06-06 | 2007-06-06 | In-vehicle communication system and in-vehicle communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5207106B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104040955B (en) * | 2012-01-04 | 2017-07-14 | 三菱电机株式会社 | Train information management device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3281043B2 (en) * | 1992-08-06 | 2002-05-13 | マツダ株式会社 | Multiplex transmission equipment |
JPH09323599A (en) * | 1996-06-06 | 1997-12-16 | Toshiba Transport Eng Kk | Vehicle information recording device |
JP3983621B2 (en) * | 2001-12-07 | 2007-09-26 | 三菱電機株式会社 | Dual ring network system and ring selection method |
JP2007081538A (en) * | 2005-09-12 | 2007-03-29 | Toshiba Corp | Gateway unit |
-
2007
- 2007-06-06 JP JP2007150783A patent/JP5207106B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008302780A (en) | 2008-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080198868A1 (en) | Method For Establishing a Global Time Base in a Time-Controlled Communications System and Communications System | |
US8805997B2 (en) | Communication apparatus detecting abnormaility by communicating an effectiveness notification | |
US20200295861A1 (en) | Method for identifying an incorrect time stamp of an ethernet message and control unit for a motor vehicle | |
CN101167341A (en) | Address assignment for safe users of a field bus | |
WO2009110502A1 (en) | Relay device, communication system, and communication method | |
WO2010004765A1 (en) | Relay apparatuses, communication system, and communication method | |
JP5110998B2 (en) | Distribution device, communication system, and communication method | |
US8645452B2 (en) | In-vehicle communication system | |
US20100115120A1 (en) | Concurrent flashing of data processing units in hierarchical networks | |
US9501440B2 (en) | Slave control device and method for programming a slave control device | |
US10541830B2 (en) | Serial communication system | |
JP5207106B2 (en) | In-vehicle communication system and in-vehicle communication method | |
JP2006340099A (en) | Gateway unit | |
WO2021204342A1 (en) | Method and system for performing time-synchronization between units of a communication bus system | |
JP5009715B2 (en) | In-vehicle communication system and distribution device | |
JP7447254B2 (en) | Methods for protecting time synchronization within a network against unauthorized changes | |
JP5096060B2 (en) | In-vehicle communication system | |
JP5078003B2 (en) | In-vehicle device communication system and distribution device | |
JP2009049933A (en) | Communication system and communication method | |
JP7110950B2 (en) | network system | |
JP2009029237A (en) | On-vehicle communication system | |
JP5219120B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD | |
WO2022255069A1 (en) | On-board communication device, on-board relay device, on-board communication system, and communication method | |
JP2010124333A (en) | Relay apparatus, communication system, and relay method | |
CN111788800B (en) | Frame transmission method and secure star coupler |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100303 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100303 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120329 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120403 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120918 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121114 |
|
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: 20130205 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130207 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160301 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5207106 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |