Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6984201B2 - Electronic control device - Google Patents
[go: Go Back, main page]

JP6984201B2 - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP6984201B2
JP6984201B2 JP2017135436A JP2017135436A JP6984201B2 JP 6984201 B2 JP6984201 B2 JP 6984201B2 JP 2017135436 A JP2017135436 A JP 2017135436A JP 2017135436 A JP2017135436 A JP 2017135436A JP 6984201 B2 JP6984201 B2 JP 6984201B2
Authority
JP
Japan
Prior art keywords
data
frame
transmission
bits
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017135436A
Other languages
Japanese (ja)
Other versions
JP2018046547A (en
Inventor
昌貞 近藤
智史 金丸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to US15/662,982 priority Critical patent/US10397041B2/en
Publication of JP2018046547A publication Critical patent/JP2018046547A/en
Application granted granted Critical
Publication of JP6984201B2 publication Critical patent/JP6984201B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、電子制御装置に関する。 The present invention relates to an electronic control device.

例えばCAN(Controller Area Network:登録商標)は、自動車内のパワートレイン系やボディ系など様々な部分に使用される車載ネットワークであり、複数の電子制御装置をバス接続することによって互いに通信できるようになる(例えば、特許文献1参照)。この特許文献1には、CAN通信方法の基本的処理が記載されており、特に複数のノードのうち特定のノード間におけるデータ通信を同期化させることができる。 For example, CAN (Controller Area Network: registered trademark) is an in-vehicle network used for various parts such as a power train system and a body system in an automobile, and can communicate with each other by connecting a plurality of electronic control devices by bus. (For example, see Patent Document 1). This Patent Document 1 describes the basic processing of the CAN communication method, and in particular, it is possible to synchronize data communication between specific nodes among a plurality of nodes.

特開2003−264567号公報Japanese Unexamined Patent Publication No. 2003-264567

特許文献1記載のように、CAN通信処理を適用した場合には、CANのデータフレームに空領域を生じることがある。近年、複数のノード間で送受信すべきデータ量が増加する傾向にあり、バス負荷が高負荷となりつつある。このため、バス負荷を低減できるようにした通信システムの構築が望まれている。 As described in Patent Document 1, when CAN communication processing is applied, an empty area may be created in the CAN data frame. In recent years, the amount of data to be transmitted and received between a plurality of nodes tends to increase, and the bus load is becoming high. Therefore, it is desired to construct a communication system capable of reducing the bus load.

本発明の目的は、バス負荷を低減できるようにした通信システムを構成する電子制御装置を提供することにある。 An object of the present invention is to provide an electronic control device constituting a communication system capable of reducing a bus load.

請求項1記載の発明は、送信ノードが予め規定されるフォーマットの送信フレーム内に第1データを格納してネットワークに送信し、受信ノードが第1データをネットワークを通じて受信フレームとして受信する通信システムを対象としている。請求項1記載の送信ノードを構成する電子制御装置は、送信フレームに第1データを割り当てた領域を除く空領域に他の第2データを分割して割り当てる割当部と、割当部により割り当てられた分割データ及び第1データを送信フレームとして送信する送信部と、を備える。 The invention according to claim 1 is a communication system in which a transmitting node stores first data in a transmission frame in a predetermined format and transmits the first data to a network, and a receiving node receives the first data as a receiving frame through the network. It is targeted. The electronic control device constituting the transmission node according to claim 1 is assigned by an allocation unit and an allocation unit that divides and allocates other second data to an empty area excluding the area in which the first data is allocated to the transmission frame. A transmission unit for transmitting the divided data and the first data as a transmission frame is provided.

割当部は第1データを割り当てた領域を除く空領域に他の第2データを分割して割り当てるため、予め規定されるフォーマットの領域内の空領域を活用することができる。このため、空領域を有効活用できるようになる。第2データを別途送信フレームとして送信する必要がなくなり、バス負荷を低減できる。 Since the allocation unit divides and allocates the other second data to the empty area excluding the area to which the first data is allocated, the empty area in the area of the predetermined format can be utilized. Therefore, the empty area can be effectively used. It is not necessary to separately transmit the second data as a transmission frame, and the bus load can be reduced.

また、請求項2記載の発明によれば、識別部が、受信フレームの中から前記第1データと前記第2データの分割データとを識別し、分割データから割当先情報に基づいて復元データを生成する。これにより、データを復元できる。 Further, according to the invention of claim 2, the identification unit discriminates between the first data and the divided data of the second data from the received frames, and restores data from the divided data based on the allocation destination information. Generate. This allows the data to be restored.

第1実施形態における通信システムの構成例Configuration example of the communication system in the first embodiment 電子制御装置の電気的構成図Electrical configuration diagram of electronic control device 送信ノードとなる電子制御装置の電気的構成を機能的に示す図A diagram functionally showing the electrical configuration of an electronic control device that serves as a transmitting node. 受信ノードとなる電子制御装置の電気的構成を機能的に示す図A diagram functionally showing the electrical configuration of an electronic control device that serves as a receiving node. CANに用いられるデータフレームの通信データフォーマットの一部を示す図The figure which shows a part of the communication data format of the data frame used for CAN. 管理テーブルの内容を示す図Diagram showing the contents of the management table 他のデータ例Other data examples 送信ノードの処理を概略的に示すフローチャートFlowchart that outlines the processing of the sending node 受信ノードの処理を概略的に示すフローチャートFlowchart that outlines the processing of the receiving node 送受信処理のイメージを概略的に示す図A diagram schematically showing an image of transmission / reception processing データの復元結果を示す図Diagram showing the result of data restoration 第2実施形態における他のデータ例Other data examples in the second embodiment 送受信処理のイメージを概略的に示す図A diagram schematically showing an image of transmission / reception processing データの復元結果を示す図Diagram showing the result of data restoration 第3実施形態における管理テーブルの内容を示す図The figure which shows the content of the management table in 3rd Embodiment 他のデータ例Other data examples 送信ノードの処理を概略的に示すフローチャートFlowchart that outlines the processing of the sending node 受信ノードの処理を概略的に示すフローチャートFlowchart that outlines the processing of the receiving node 送受信処理のイメージを概略的に示す図A diagram schematically showing an image of transmission / reception processing データの復元結果を示す図Diagram showing the result of data restoration 他のデータ例Other data examples 管理テーブルの内容を示す図Diagram showing the contents of the management table 送信ノードの処理を概略的に示すフローチャートFlowchart that outlines the processing of the sending node 受信ノードの処理を概略的に示すフローチャートFlowchart that outlines the processing of the receiving node 送受信処理のイメージを概略的に示す図A diagram schematically showing an image of transmission / reception processing データの復元結果を示す図Diagram showing the result of data restoration

図1から図10は第1実施形態の説明図を示している。図1に通信システム1の構成例を示す。車載ネットワーク(以下ネットワークと略す)2には、例えばCAN(Controller Area Network:登録商標)のプロトコルが採用されている。CANは、相互接続された機器間のデータ伝送に用いられる通信プロトコルを採用した閉じられた車載ネットワークである。このネットワーク2には様々な電子制御装置(ECU:Electronic Control Unit)、すなわち、ECU_A3、ECU_B4、ECU_C5(以下ECU3、4、5と略す)が接続されている。これらのECU3〜5は、ネットワーク2に接続されており相互に通信可能である。これらの多数のECU3〜5は、他のECUと連携動作することで車両内の様々な制御を行う。ネットワーク2には、悪意を持った第三者が不正に機器を接続することも想定されるため、図1には不正機器6を破線を用いて図示している。 1 to 10 show explanatory views of the first embodiment. FIG. 1 shows a configuration example of the communication system 1. For the in-vehicle network (hereinafter abbreviated as network) 2, for example, a protocol of CAN (Controller Area Network: registered trademark) is adopted. CAN is a closed in-vehicle network that employs a communication protocol used for data transmission between interconnected devices. Various electronic control units (ECUs: Electronic Control Units), that is, ECU_A3, ECU_B4, and ECU_C5 (hereinafter abbreviated as ECUs 3, 4, and 5) are connected to this network 2. These ECUs 3 to 5 are connected to the network 2 and can communicate with each other. Many of these ECUs 3 to 5 perform various controls in the vehicle by operating in cooperation with other ECUs. Since it is assumed that a malicious third party illegally connects a device to the network 2, the unauthorized device 6 is shown in FIG. 1 using a broken line.

図2に示すように、ECU3〜5は、CPU7、ROM8、RAM9、その他のメモリ(例えばバックアップRAM、EEPROM等:図示せず)を有するマイクロコンピュータ(以下マイコン)10と、CANによる通信コントローラ11と、を備える。以下、ROM8、RAM9、その他のメモリ(例えばバックアップRAM、EEPROM)をメモリと総称して説明を行う。通信コントローラ11は、例えばCANによりネットワーク2との通信接続を行う。ECU(例えば3)のマイコン10は、通信コントローラ11と接続し、ネットワーク2に接続される他のECU(例えば4又は5)との間で通信接続する。 As shown in FIG. 2, the ECUs 3 to 5 include a microcomputer (hereinafter referred to as a microcomputer) 10 having a CPU 7, ROM 8, RAM 9, and other memories (for example, backup RAM, EEPROM, etc .: not shown), and a communication controller 11 by CAN. , Equipped with. Hereinafter, the ROM 8, RAM 9, and other memories (for example, backup RAM and EEPROM) will be collectively referred to as memories. The communication controller 11 makes a communication connection with the network 2 by, for example, CAN. The microcomputer 10 of the ECU (for example, 3) is connected to the communication controller 11 and is connected for communication with another ECU (for example, 4 or 5) connected to the network 2.

図3Aは、ECU3を送信ノードとして考慮した場合を機能的に図示しているものである。CPU7はメモリに記憶されたプログラムを実行することで、送信部12、割当部13としての機能を備えており、メモリ内にCANフォーマットの管理テーブル14の記憶領域を備える。また、図3Bは、ECU4を受信ノードとして考慮した場合を機能的に図示しているものであり、CPU7はメモリに記憶されたプログラムを実行することで、識別部19及び復元部20、としての機能を備え、メモリ内にCANフォーマットの管理テーブル14の記憶領域を備える。 FIG. 3A functionally illustrates the case where the ECU 3 is considered as a transmission node. The CPU 7 has functions as a transmission unit 12 and an allocation unit 13 by executing a program stored in the memory, and has a storage area of a CAN format management table 14 in the memory. Further, FIG. 3B functionally illustrates the case where the ECU 4 is considered as a receiving node, and the CPU 7 serves as the identification unit 19 and the restoration unit 20 by executing a program stored in the memory. It has a function and has a storage area of a CAN format management table 14 in the memory.

図4は、CANに用いられるデータフレームのフォーマットを示す。データフレーム15は、アービトレーションフィールド16、データを格納するデータフィールド17、を含むフォーマット領域に分けられている。例えば、データフレーム15は、その他のフィールドも備えるが、その説明は割愛する。 FIG. 4 shows the format of the data frame used for CAN. The data frame 15 is divided into a format area including an arbitration field 16 and a data field 17 for storing data. For example, the data frame 15 also includes other fields, but the description thereof is omitted.

アービトレーションフィールド16は、データの種類と優先順位を表すフィールドであり、通常11ビットのID(識別番号相当:所謂CANID)を格納するフィールドとなっている。データフィールド17は、実際に送受信するデータを格納するフィールドであり、実質的にはDLCの設定によって8ビット単位で最大64ビットで規定される。このように、データは、CANID、すなわち識別番号毎に送受信するデータとなっており、データフィールド17は8ビット単位でデータを送信可能とされている。 The arbitration field 16 is a field indicating the type and priority of data, and is usually a field for storing an 11-bit ID (corresponding to an identification number: so-called CANID). The data field 17 is a field for storing data to be actually transmitted and received, and is substantially defined by a maximum of 64 bits in 8-bit units depending on the DLC setting. As described above, the data is CANID, that is, data to be transmitted / received for each identification number, and the data field 17 is capable of transmitting data in 8-bit units.

また、CANのプロトコルにおいて、データフレーム15の内部ビット情報はCANID毎に決定されている。このため、図5に示すように、CANの管理テーブル14が各ECU3〜5に用意されている。この図5に示す例を説明する。CANIDが101の場合、1バイト中の上位4ビットは、使用ビット、すなわち使用領域として規定され、本来のCANID101のデータ(第1データ相当)の格納領域として規定されている。また、CANIDが101の場合、下位4ビットは空きビット、すなわち空領域として規定されている。 Further, in the CAN protocol, the internal bit information of the data frame 15 is determined for each CANID. Therefore, as shown in FIG. 5, the CAN management table 14 is prepared in each of the ECUs 3 to 5. The example shown in FIG. 5 will be described. When the CANID is 101, the upper 4 bits in 1 byte are defined as used bits, that is, a used area, and are defined as a storage area for the original CANID 101 data (corresponding to the first data). When the CANID is 101, the lower 4 bits are defined as empty bits, that is, empty areas.

CANIDが102の場合、1バイト中の上位6ビットは使用ビットとして本来のCANID102のデータの格納領域として規定されるものの、下位2ビットは空きビットとして規定されることを示している。また、CANIDが103の場合、1バイト中の上位2ビット及び下位3ビットは使用ビットとして本来のCANID103のデータの格納領域として規定されるものの、中位3ビットは空きビットとして規定されることを示している。以下では、このようにCANIDの101〜103が割り当てられたフレームをフレーム101〜103と称して説明を行う。 When the CANID is 102, it is shown that the upper 6 bits in 1 byte are defined as the data storage area of the original CANID 102 as the used bits, but the lower 2 bits are defined as the empty bits. Further, when the CANID is 103, the upper 2 bits and the lower 3 bits in 1 byte are defined as used bits as the data storage area of the original CANID 103, but the middle 3 bits are defined as free bits. Shows. Hereinafter, the frames to which the CANIDs 101 to 103 are assigned will be referred to as frames 101 to 103 and will be described below.

本実施形態は、他のデータ(第2データ相当)αを空きビット、すなわちフレーム101〜103の空きビットに設定するところを特徴としている。図6は他のデータαの例を示している。他のデータαは、例えば9ビットで用意されている例を示すが、情報量はこれに限定されるものではない。以下では、従来技術を用いるとデータフレーム104として送信すべき9ビットのデータαを、ECU3のマイコン10がフレーム101〜103の空きビットに設定し、ECU4のマイコン10がこの空きビットに設定されたデータαを復元する処理の形態を示す。 The present embodiment is characterized in that other data (corresponding to the second data) α is set as a free bit, that is, a free bit in frames 101 to 103. FIG. 6 shows an example of other data α. The other data α shows an example prepared in, for example, 9 bits, but the amount of information is not limited to this. In the following, the 9-bit data α to be transmitted as the data frame 104 using the prior art is set by the microcomputer 10 of the ECU 3 as an empty bit of frames 101 to 103, and the microcomputer 10 of the ECU 4 is set as this empty bit. The form of the process for restoring the data α is shown.

図5に示す管理テーブル14において、各フレーム101〜103の空きビットには他のデータαのビットα8〜α0がそれぞれ割当てられている。例えば、CANIDが101の場合には、下位4ビットの空きビットにデータαの上位4ビットα8〜α5が割当てられている。またCANIDが102の場合には、下位2ビットの空きビットにデータαの中位2ビットα4〜α3が割当てられている。さらにCANIDが103の場合には、中位3ビットの空きビットにデータαの下位3ビットα2〜α0が割当てられている。各ECU3〜5は、このCANの管理テーブル14を保持することで、ネットワーク2の通信上の規則を確立している。 In the management table 14 shown in FIG. 5, bits α8 to α0 of other data α are assigned to the empty bits of each frame 101 to 103, respectively. For example, when the CANID is 101, the upper 4 bits α8 to α5 of the data α are assigned to the empty bits of the lower 4 bits. When the CANID is 102, the middle 2 bits α4 to α3 of the data α are assigned to the lower 2 empty bits. Further, when the CANID is 103, the lower 3 bits α2 to α0 of the data α are assigned to the empty bits of the middle 3 bits. Each of the ECUs 3 to 5 holds the management table 14 of the CAN, thereby establishing the communication rule of the network 2.

以下の説明では、送信側のECU3をデータフレームの送信ノードとし、受信側のECU4をデータフレームの受信ノードとして説明を行う。図7は送信側のECU3、すなわち送信ノードの送信処理を示し、図8は受信側のECU4、すなわち受信ノードの受信処理を示している。 In the following description, the transmitting side ECU 3 will be used as a data frame transmitting node, and the receiving side ECU 4 will be used as a data frame receiving node. FIG. 7 shows the transmission process of the transmitting side ECU 3, that is, the transmitting node, and FIG. 8 shows the receiving process of the receiving side ECU 4, that is, the receiving node.

図7に示すように、ECU3のマイコン10は、T1においてフレーム101〜103を作成する。ここでは、マイコン10は管理テーブル14を参照し、当該管理テーブル14に「使用」と定められたフレーム101〜103の各ビットへデータを設定することでフレーム101〜103をそれぞれ作成する。 As shown in FIG. 7, the microcomputer 10 of the ECU 3 creates frames 101 to 103 in T1. Here, the microcomputer 10 refers to the management table 14, and creates frames 101 to 103 by setting data in each bit of the frames 101 to 103 defined as “used” in the management table 14.

その後、ECU3のマイコン10は、T2においてフレーム104の更新周期時間を経過したか否かを判定する。そして、ECU3のマイコン10は、更新周期時間を経過していなければT2でNOと判定し、T3において更新周期カウンタをカウントアップしてT4においてフレーム101〜103を送信する。 After that, the microcomputer 10 of the ECU 3 determines whether or not the update cycle time of the frame 104 has elapsed in T2. Then, the microcomputer 10 of the ECU 3 determines NO in T2 if the update cycle time has not elapsed, counts up the update cycle counter in T3, and transmits frames 101 to 103 in T4.

ECU3のマイコン10は、T2においてフレーム104の更新周期時間が経過するとT2でYESと判定し、T5においてフレーム104のデータを更新する。このとき、図6に示すフレーム104として9ビットの他のデータαを得る。その後、ECU3のマイコン10は、管理テーブル14を参照し、T6〜T8において当該管理テーブル14に空きビットと定められた各ビットへデータを設定する。例えば、ECU3のマイコン10は、T6においてフレーム101の空き4ビットにフレーム104の上位4ビットを設定する。また、例えば、ECU3のマイコン10は、T7においてフレーム102の空き2ビットにフレーム104の中位2ビットを設定する。 When the update cycle time of the frame 104 elapses in T2, the microcomputer 10 of the ECU 3 determines YES in T2, and updates the data in the frame 104 in T5. At this time, another 9-bit data α is obtained as the frame 104 shown in FIG. After that, the microcomputer 10 of the ECU 3 refers to the management table 14, and sets data in each bit defined as an empty bit in the management table 14 in T6 to T8. For example, the microcomputer 10 of the ECU 3 sets the upper 4 bits of the frame 104 to the empty 4 bits of the frame 101 in T6. Further, for example, the microcomputer 10 of the ECU 3 sets the middle 2 bits of the frame 104 to the empty 2 bits of the frame 102 in T7.

また、例えば、ECU3のマイコン10は、T8においてフレーム103の空き3ビットにフレーム104の下位3ビットを設定する。そして、ECU3のマイコン10はT9においてフレーム104の更新周期カウンタをクリアする。そしてECU3のマイコン10は、T4においてフレーム101〜103をネットワーク2に出力することで送信する。これにより、他のデータαをフレーム104としてネットワーク2に出力することなく他のデータαを送信できる。 Further, for example, the microcomputer 10 of the ECU 3 sets the lower 3 bits of the frame 104 to the empty 3 bits of the frame 103 in T8. Then, the microcomputer 10 of the ECU 3 clears the update cycle counter of the frame 104 at T9. Then, the microcomputer 10 of the ECU 3 transmits the frames 101 to 103 by outputting the frames 101 to 103 to the network 2 in T4. As a result, other data α can be transmitted without outputting the other data α to the network 2 as a frame 104.

他方、図8に示すように、受信ノードとなるECU4のマイコン10は、R1〜R3においてネットワーク2からフレーム101〜103を受信待機する。ECU4のマイコン10がフレーム101を受信したときにはR1でYESと判定し、管理テーブル14を参照し、R4aにおいてフレーム101のうちの使用ビットについてCANID101のデータとして受付け、R4bにおいてフレーム101のデータフィールドの下位4ビット、すなわちビットbit3〜bit0を復元データαZの記憶領域の上位4ビットに設定する。これにより、受信フレーム101の中から本来のCANID101のデータと他のデータαの分割データα8〜α5とを識別することができる。そして、ECU4のマイコン10は、R5においてフレーム101を受信済みとするフラグを設定する。 On the other hand, as shown in FIG. 8, the microcomputer 10 of the ECU 4 serving as a receiving node waits for reception of frames 101 to 103 from the network 2 in R1 to R3. When the microcomputer 10 of the ECU 4 receives the frame 101, it is determined as YES in R1, the management table 14 is referred to, the used bit in the frame 101 is accepted as the data of the CANID 101 in the R4a, and the lower part of the data field of the frame 101 in the R4b. 4 bits, that is, bits 3 to bit0 are set as the upper 4 bits of the storage area of the restored data αZ. Thereby, the original data of CANID 101 and the divided data α8 to α5 of other data α can be distinguished from the received frame 101. Then, the microcomputer 10 of the ECU 4 sets a flag that the frame 101 has been received in R5.

また、マイコン10がフレーム102を受信したときにはR2でYESと判定し、管理テーブル14を参照し、R6aにおいてフレーム102内の使用ビットについてCANID102のデータとして受け付け、R6bにおいてフレーム102のデータフィールドの下位2ビット、すなわちビットbit1,bit0を復元データαZの記憶領域の中位2ビットに設定する。これにより、受信フレーム102の中から本来のCANID102のデータと他のデータαの分割データα4,α3とを識別することができる。そして、ECU4のマイコン10は、R7においてフレーム102を受信済みとするフラグを設定する。 Further, when the microcomputer 10 receives the frame 102, it is determined as YES in R2, the management table 14 is referred to, the used bit in the frame 102 is accepted as the data of the CANID 102 in the R6a, and the lower 2 of the data field of the frame 102 in the R6b. Bits, that is, bits bit1 and bit0, are set to the middle 2 bits of the storage area of the restored data αZ. Thereby, the original data of CANID 102 and the divided data α4 and α3 of the other data α can be distinguished from the received frame 102. Then, the microcomputer 10 of the ECU 4 sets a flag that the frame 102 has been received in R7.

また、マイコン10がフレーム103を受信したときにはR3でYESと判定し、管理テーブル14を参照し、R8aにおいてフレーム103内の使用ビットについて本来のCANID103のデータとして受付け、R8bにおいてフレーム103のデータフィールドの中位3ビット、すなわちビットbit5〜3を復元データαZの記憶領域の下位3ビットに設定する。これにより、受信フレーム103の中から本来のCANID103のデータと他のデータαの分割データα2〜α0とを識別することができる。ECU4のマイコン10は、R8a,R8bの処理を行った後、R9において全てのフレーム101〜102を受信済みであるか否かを判定し、全てのフレーム101〜102を受信済であるときに限り、R10において復元データαZを作成する。 Further, when the microcomputer 10 receives the frame 103, it is determined as YES in R3, the management table 14 is referred to, the bits used in the frame 103 are accepted as the original CANID 103 data in R8a, and the data field of the frame 103 is received in R8b. The middle 3 bits, that is, bits 5 to 3, are set in the lower 3 bits of the storage area of the restored data αZ. Thereby, the original data of the CANID 103 and the divided data α2 to α0 of the other data α can be distinguished from the received frame 103. After processing R8a and R8b, the microcomputer 10 of the ECU 4 determines whether or not all the frames 101 to 102 have been received in R9, and only when all the frames 101 to 102 have been received. , R10 creates the restored data αZ.

R9において、ECU4のマイコン10は全てのフレーム101〜102を受信済みでない場合には、R9でNOと判定し、さらにフレーム101〜103を待機し再度R3においてフレーム103を受信したときにフレーム101〜102を全て受信済であるか否かを判定し、フレーム101〜102を全て受信済みとしたときにR10において復元データαZを作成する。 In R9, if the microcomputer 10 of the ECU 4 has not received all the frames 101 to 102, it is determined as NO in R9, and when the frames 101 to 103 are further waited and the frames 103 are received again in R3, the frames 101 to 101 It is determined whether or not all 102 have been received, and when all the frames 101 to 102 have been received, the restored data αZ is created in R10.

ECU4のマイコン10は、R10においてフレーム101で受信した上位4ビットとフレーム102で受信した中位2ビットとフレーム103で受信した下位3ビットを合成して復元データαZを作成する。そしてECU4のマイコン10は、フレーム101〜102の受信データを無とする、このとき、R5及びR7にて受信済みとして設定されたフラグをクリアする。これにより、復元データαZを生成できる。 The microcomputer 10 of the ECU 4 combines the upper 4 bits received in the frame 101, the middle 2 bits received in the frame 102, and the lower 3 bits received in the frame 103 in the R10 to create the restored data αZ. Then, the microcomputer 10 of the ECU 4 eliminates the received data of the frames 101 to 102, and at this time, clears the flag set as received by R5 and R7. As a result, the restored data αZ can be generated.

図9は送受信処理のイメージを示している。図9に示すように、ECU3が送信フレームとしてフレーム101〜103をネットワーク2に出力し、ECU4が受信フレームとしてフレーム101〜103を全て受信する。前述したように、フレーム101〜103の各空きビットはデータαの各ビットに対応するように予め管理テーブル14に定められている。このため、送信側のECU3のマイコン10は管理テーブル14を参照することで何れの空きビットに他のデータαの各ビットデータα8〜α0を挿入するべきか把握でき、また、受信側のECU4のマイコン10は、管理テーブル14を参照することで何れの空きビットに他のデータαの各ビットデータα8〜α0が挿入されているか判定でき、これにより図10に示すように復元データαZを生成できる。この結果、データαを別のフレーム104としてネットワーク2に出力する必要がなくなるため、バス負荷を低減できる。 FIG. 9 shows an image of transmission / reception processing. As shown in FIG. 9, the ECU 3 outputs the frames 101 to 103 as transmission frames to the network 2, and the ECU 4 receives all the frames 101 to 103 as reception frames. As described above, each free bit in frames 101 to 103 is predetermined in the management table 14 so as to correspond to each bit in the data α. Therefore, the microcomputer 10 of the ECU 3 on the transmitting side can grasp which free bit each bit data α8 to α0 of the other data α should be inserted by referring to the management table 14, and the ECU 4 on the receiving side The microcomputer 10 can determine which free bit each bit data α8 to α0 of the other data α is inserted by referring to the management table 14, and can generate the restored data αZ as shown in FIG. .. As a result, it is not necessary to output the data α to the network 2 as another frame 104, so that the bus load can be reduced.

また、例えば、図1に示すように、不正機器6がネットワーク2に接続されていることを想定する。不正機器6は悪意の第三者などにより不正に接続された機器である。不正機器6がネットワーク2に接続されると、このネットワーク2に流れるデータフレームを読取ることができる。しかし、不正機器6がデータフレームを受信したとしても、データフィールド中の何れのビットが真のデータであるか判断し難くなる。不正機器6が例えばフレーム101のデータフィールドを読み取ったとしても、フレーム101のデータと共に合成して読み取るべき分割データα8〜α5を内包しているため、これらのデータを本来のデータと見做すように仕向けることができる。これにより、不正機器6が、他のデータαの分割データα8〜α5をフレーム101のデータの一部と認識することで、データのデータ長を誤認させる可能性を高めることができる。他のフレーム102、103も同様である。 Further, for example, as shown in FIG. 1, it is assumed that the unauthorized device 6 is connected to the network 2. The fraudulent device 6 is a device illegally connected by a malicious third party or the like. When the unauthorized device 6 is connected to the network 2, the data frame flowing through the network 2 can be read. However, even if the unauthorized device 6 receives the data frame, it becomes difficult to determine which bit in the data field is the true data. Even if the unauthorized device 6 reads the data field of the frame 101, for example, it contains the divided data α8 to α5 to be combined and read together with the data of the frame 101, so that these data should be regarded as the original data. Can be directed to. As a result, the unauthorized device 6 recognizes the divided data α8 to α5 of the other data α as a part of the data of the frame 101, so that the possibility of misidentifying the data length of the data can be increased. The same applies to the other frames 102 and 103.

以下、本実施形態の特徴を概念的にまとめる。ECU3のマイコン10は、送信フレーム101〜103に本来のデータを割り当てた領域を除く空きビットに他のデータαを分割して割り当て、本来のデータ及び割り当てられた分割データα8〜α5、α4〜α3、α2〜α0をそれぞれ送信フレーム101〜103として送信するようにした。この結果、予め規定されるフォーマットの送信フレーム101〜103の中の空きビットを活用できることになるため、ネットワーク2の通信情報量が特別に増加することもなくなり、バス負荷を低減できる。ネットワーク2の通信量の増加を防止できる。 Hereinafter, the features of this embodiment are conceptually summarized. The microcomputer 10 of the ECU 3 divides and allocates other data α to the empty bits excluding the area where the original data is allocated to the transmission frames 101 to 103, and allocates the original data and the assigned divided data α8 to α5 and α4 to α3. , Α2 to α0 are transmitted as transmission frames 101 to 103, respectively. As a result, since the free bits in the transmission frames 101 to 103 of the predetermined format can be utilized, the communication information amount of the network 2 does not increase particularly, and the bus load can be reduced. It is possible to prevent an increase in the communication volume of the network 2.

また、例えば不正機器6がネットワーク2に接続されており、当該ネットワーク2に流れるデータを読取ったとしても、ある1つの送信フレーム(例えば101)のデータと共に他のフレーム104のデータαの一部の分割データα8〜α5を読取ることになり、どのデータが通常データであるか解析しにくくなり、データを簡単に解析することができなくなる。 Further, for example, even if the unauthorized device 6 is connected to the network 2 and the data flowing through the network 2 is read, the data of one transmission frame (for example, 101) and a part of the data α of the other frame 104 are part of the data α. Since the divided data α8 to α5 are read, it becomes difficult to analyze which data is normal data, and the data cannot be easily analyzed.

他方、受信側のECU4のマイコン10は、例えば受信フレーム101〜103の中から本来のデータと他のデータαの分割データα8〜α5、α4〜α3、α2〜α0とを識別し、分割データα8〜α5、α4〜α3、α2〜α0から割当先情報に基づいて復元データαZを生成するようにしている。この結果、送信側のECU3により送信された他のデータαを復元できる。 On the other hand, the microcomputer 10 of the ECU 4 on the receiving side discriminates between the original data and the divided data α8 to α5, α4 to α3, and α2 to α0 of the original data and the other data α from the received frames 101 to 103, and the divided data α8. Restored data αZ is generated from ~ α5, α4 to α3, and α2 to α0 based on the allocation destination information. As a result, other data α transmitted by the transmitting side ECU 3 can be restored.

また、管理テーブル14がECU3とECU4との間で共有化されており、フレーム101〜103の使用ビット、空きビットの情報、及び、他のデータαの割当先情報は、この管理テーブル14の中にCANID、すなわち識別番号毎に予め定められている。このため、受信側のECU4のマイコン10は、ビットデータ(例えばα8〜α5)が空きビットに格納されていたときに、他のデータαを分割した分割データα8〜α5であることを認識でき、この空きビットに格納されたビットデータを、他のデータαの分割データα8〜α5として復元できる。 Further, the management table 14 is shared between the ECU 3 and the ECU 4, and the used bits of the frames 101 to 103, the information of the empty bits, and the allocation destination information of the other data α are in the management table 14. CANID, that is, it is predetermined for each identification number. Therefore, the microcomputer 10 of the ECU 4 on the receiving side can recognize that when the bit data (for example, α8 to α5) is stored in the empty bit, it is the divided data α8 to α5 obtained by dividing the other data α. The bit data stored in this empty bit can be restored as divided data α8 to α5 of other data α.

また本実施形態に示したように、分割データα8〜α5、α4〜α3、α2〜α0を1ビット以上とした状態で送信フレーム101〜103に割り当てることが望ましく、そして複数の送信フレーム101〜103の空きビットに他のデータαを分割した分割データα8〜α5、α4〜α3、α2〜α0を割り当てることが望ましい。 Further, as shown in the present embodiment, it is desirable to allocate the divided data α8 to α5, α4 to α3, and α2 to α0 to transmission frames 101 to 103 with one bit or more, and a plurality of transmission frames 101 to 103. It is desirable to allocate the divided data α8 to α5, α4 to α3, and α2 to α0 obtained by dividing the other data α into the empty bits of.

(第2実施形態)
図11から図13は第2実施形態の追加説明図を示す。第2実施形態では、1つの送信フレーム内に空きビットが離間して複数存在する場合には他のデータαを1つの送信フレーム内で分割して割り当てることを特徴としている。
(Second Embodiment)
11 to 13 show additional explanatory views of the second embodiment. The second embodiment is characterized in that when a plurality of empty bits are separated from each other in one transmission frame, other data α is divided and allocated in one transmission frame.

図11は、フレーム201、202とは別に送信する他のデータαの例を示しており、この他のデータαは例えば4ビットで用意されている。本実施形態では、従来技術を用いると、ECU3がデータフレーム203として送信すべき4ビットのデータαをECU4が復元する処理の形態を示す。 FIG. 11 shows an example of other data α to be transmitted separately from the frames 201 and 202, and the other data α is prepared with, for example, 4 bits. In the present embodiment, using the prior art, an embodiment of a process in which the ECU 4 restores the 4-bit data α to be transmitted as the data frame 203 by the ECU 3 is shown.

図12は、ECU3、4に共有される管理テーブル114の内容を示すと共に、送受信処理のイメージを合わせて示している。図12に示すように、管理テーブル114には、1つのフレーム201の全空きビットの4ビットのうち上位2ビットに他のデータαのビットα3〜α2が割当てられることが記憶されている。また、1つのフレーム202の全空きビットの3ビットのうち一部に他のデータαのビットα1〜α0が割当てられることが記憶されている。すなわち、空きビットが1つのフレーム202の中に離間して複数存在しており、このフレーム202の中に他のデータαのビットα3〜α2、α1〜α0を離間して割り当てている。なお、図12中に示す「空」は、他のデータαを挿入しても空きビットとなることを示している。 FIG. 12 shows the contents of the management table 114 shared by the ECUs 3 and 4, and also shows an image of transmission / reception processing. As shown in FIG. 12, the management table 114 stores that bits α3 to α2 of the other data α are allocated to the upper two bits of the four bits of all free bits in one frame 201. Further, it is stored that bits α1 to α0 of other data α are allocated to a part of the three bits of all free bits in one frame 202. That is, a plurality of empty bits are spaced apart from each other in one frame 202, and bits α3 to α2 and α1 to α0 of other data α are spaced apart and allocated in this frame 202. In addition, "empty" shown in FIG. 12 indicates that even if other data α is inserted, it becomes an empty bit.

図12に示すように、ECU3が送信フレームとしてフレーム201〜202をネットワーク2に出力し、ECU4が受信フレームとしてフレーム201、202を全て受信する。 As shown in FIG. 12, the ECU 3 outputs the frames 201 to 202 as transmission frames to the network 2, and the ECU 4 receives all the frames 201 and 202 as reception frames.

受信ノードとなるECU4のマイコン10は、使用ビットを各CANIDのデータとして受け付け、管理テーブル114を参照し、フレーム201のデータフィールドの中位2ビット、すなわちビットbit3〜bit2を復元データαZの記憶領域の上位2ビットに設定する。そしてECU4のマイコン10は、フレーム202のデータフィールドの中位1ビット、すなわちビットbit5を復元データαZの記憶領域の中位ビットbit1に設定し、同様に、フレーム202のデータフィールドの下位1ビット、すなわちビットbit0を復元データαZの記憶領域の下位ビットbit0に設定する。すると、図13に示すように、ECU4のマイコン10は、他のデータαを復元データαZとして復元できる。 The microcomputer 10 of the ECU 4 serving as a receiving node receives the used bits as data of each CANID, refers to the management table 114, and stores the middle 2 bits of the data field of the frame 201, that is, bits bits 3 to bit 2 as the restored data αZ storage area. Set to the upper 2 bits of. Then, the microcomputer 10 of the ECU 4 sets the middle 1 bit of the data field of the frame 202, that is, the bit bit 5 to the middle bit bit 1 of the storage area of the restored data αZ, and similarly, the lower 1 bit of the data field of the frame 202. That is, bit bit0 is set to the lower bit bit0 of the storage area of the restored data αZ. Then, as shown in FIG. 13, the microcomputer 10 of the ECU 4 can restore the other data α as the restored data αZ.

本実施形態に示したように、1つの送信フレーム202内に連続する空きビットが複数存在する場合、他のデータαを分割してビットデータα1、α0として送信フレーム202内に離間して割り当てている。このため、連続ビットとして送受信するデータを前述実施形態に比較して少なくすることができ、前述実施形態に比較してもセキュリティを強化できる。 As shown in the present embodiment, when there are a plurality of consecutive free bits in one transmission frame 202, the other data α is divided and assigned as bit data α1 and α0 at intervals in the transmission frame 202. There is. Therefore, the amount of data transmitted / received as continuous bits can be reduced as compared with the above-described embodiment, and security can be enhanced as compared with the above-mentioned embodiment.

(第3実施形態)
図14から図18は第3実施形態の追加説明図を示す。第3実施形態では、割当部は、1つの送信フレームにシリアルナンバーと共に当該シリアルナンバー毎に規定された空きビットに第2データを分割して割り当て、送信部は、シリアルナンバーを変更した1つの送信フレームを複数回送信することを特徴としている。
(Third Embodiment)
14 to 18 show additional explanatory views of the third embodiment. In the third embodiment, the allocating unit divides and allocates the second data to one transmission frame together with the serial number and the free bits specified for each serial number by dividing the second data, and the transmitting unit divides the second data into one transmission in which the serial number is changed. It is characterized by transmitting frames multiple times.

図14は管理テーブル314の例を示している。この管理テーブル314には、CANIDが301のときの内部ビット情報が示されている。この図14に示すように、フレーム301の上位4ビットは使用ビットとして規定されているものの、その下位の2ビットbit3,bit2はシリアルナンバーの設定領域として割当てられている。また、その下位2ビットbit1,bit0はシリアルナンバーに応じた他のビットβを割り当てる領域として規定されている。例えば、シリアルナンバーが「0」「0」であるときには、下位2ビットbit1,bit0には他のビットβの上位2ビットβ2、β1を割り当てることを示している。例えば、シリアルナンバーが「0」「1」であるときには、下位2ビットbit1,bit0には、空ビットと、他のビットβの下位1ビットβ0とを割り当てていることを示している。このような情報が記憶された管理テーブル314が各ECU3〜5の間で共有されている。 FIG. 14 shows an example of the management table 314. The management table 314 shows the internal bit information when the CANID is 301. As shown in FIG. 14, although the upper 4 bits of the frame 301 are defined as used bits, the lower 2 bits bits 3 and bit 2 are allocated as the serial number setting area. Further, the lower 2 bits bit1 and bit0 are defined as areas for allocating other bits β according to the serial number. For example, when the serial numbers are "0" and "0", it indicates that the lower 2 bits bit1 and bit0 are assigned to the upper 2 bits β2 and β1 of the other bits β. For example, when the serial numbers are "0" and "1", it indicates that an empty bit and a lower 1 bit β0 of another bit β are assigned to the lower 2 bits bit1 and bit0. The management table 314 in which such information is stored is shared among the ECUs 3 to 5.

図15は他のデータβの例を示している。この他のデータβは例えば3ビットの情報量で用意されている。以下では、従来技術を用いると、ECU3がデータフレーム302として送信すべき3ビットの他のデータβをフレーム301の空きビットに設定し、ECU4がこの他のデータαを復元する処理の形態を示す。 FIG. 15 shows an example of other data β. The other data β is prepared, for example, with a 3-bit amount of information. Hereinafter, using the prior art, a mode of processing in which the ECU 3 sets another 3-bit data β to be transmitted as the data frame 302 as an empty bit of the frame 301 and the ECU 4 restores the other data α will be shown. ..

図16は送信側のECU3の送信処理を示し、図17は受信側のECU4の受信処理を示している。図16に示すように、ECU3のマイコン10は、T31においてフレーム301を作成する。ここでは、ECU3のマイコン10は管理テーブル314を参照し、当該管理テーブル314に「使用」と定められたデータフィールドのビットbit7〜bit4へデータを設定することでフレーム301を作成する。 FIG. 16 shows the transmission process of the ECU 3 on the transmitting side, and FIG. 17 shows the receiving process of the ECU 4 on the receiving side. As shown in FIG. 16, the microcomputer 10 of the ECU 3 creates a frame 301 at T31. Here, the microcomputer 10 of the ECU 3 refers to the management table 314, and creates the frame 301 by setting data in the bits 7 to bit 4 of the data field defined as “used” in the management table 314.

その後、ECU3のマイコン10は、T32においてフレーム301のシリアルナンバー設定ビットbit3,2にそれぞれシリアルナンバーを示すNo.「0」「0」を設定し、T33においてフレーム301の空きビットbit1,bit0に他のデータβのビットbit2,bit1をそれぞれ設定する。そして、ECU3はT34においてフレーム301を送信する。 After that, the microcomputer 10 of the ECU 3 sets Nos. "0" and "0" indicating the serial numbers in the serial number setting bits 3 and 2 of the frame 301 in T32, respectively, and sets the empty bits bit1 and bit0 of the frame 301 in T33. Set bits bit2 and bit1 of the data β of. Then, the ECU 3 transmits the frame 301 at the T34.

また、その後、ECU3のマイコン10は、T35においてフレーム301のシリアルナンバー設定ビットbit3,2にそれぞれシリアルナンバーを示すNo.「0」「1」を設定し、T36においてフレーム301の空きビットbit0に他のデータβの下位ビットbit0を設定する。そしてECU3は、T37においてフレーム301を送信する。すなわち、ECU3はシリアルナンバーを変更してフレーム301を2回送信する。 After that, the microcomputer 10 of the ECU 3 sets Nos. "0" and "1" indicating the serial numbers in the serial number setting bits 3 and 2 of the frame 301 in T35, respectively, and sets the empty bits bit0 of the frame 301 in T36. Set the low-order bit bit0 of the data β of. Then, the ECU 3 transmits the frame 301 at T37. That is, the ECU 3 changes the serial number and transmits the frame 301 twice.

他方、図17に示すように、ECU4のマイコン10は、R31においてフレーム301を受信すると、R32及びR33において、このフレーム301のシリアルナンバーを確認し、当該シリアルナンバーが「0」「0」又は「0」「1」であるか否かを判定する。ECU4のマイコン10は、これ以外のシリアルナンバーを受け付けたときには、このフレーム301を破棄する。 On the other hand, as shown in FIG. 17, when the microcomputer 10 of the ECU 4 receives the frame 301 in R31, the microcomputer 10 confirms the serial number of the frame 301 in R32 and R33, and the serial number is "0" "0" or "0". It is determined whether or not it is "0" or "1". When the microcomputer 10 of the ECU 4 receives a serial number other than this, the microcomputer 10 discards the frame 301.

そして例えば、フレーム301のシリアルナンバーが「0」「0」であったときにはR32においてYESと判定し、R34aにおいてフレーム301内の使用ビットをCANID301のデータとして受付け、R34bにおいてフレーム301のビットbit1,bit0を復元データβZの上位2ビットbit2,bit1にそれぞれ設定する。さらに、シリアルナンバーNo.「0」「0」を受信済みにする、すなわち、シリアルナンバー「0」「0」に対応したフレーム301を受信済みとするフラグを設定する。 Then, for example, when the serial number of the frame 301 is "0" or "0", it is determined as YES in R32, the used bit in the frame 301 is accepted as the data of the CANID 301 in the R34a, and the bits bit1 and bit0 of the frame 301 in the R34b. Is set in the upper 2 bits bit2 and bit1 of the restored data βZ, respectively. Further, a flag is set to set the serial numbers "0" and "0" to have been received, that is, to set the frame 301 corresponding to the serial numbers "0" and "0" to have been received.

また、例えば、フレーム301のシリアルナンバーが「0」「1」であったときには、R33においてYESと判定し、R36aにおいてフレーム301内の使用ビットをCANID301のデータとして受付け、R36bにおいてフレーム301のビットbit0を復元データβZの下位1ビットbit0に設定する。ここで、ECU4のマイコン10は、シリアルナンバーNo.「0」「0」を受信済みであるか否かを判定する。ECU4のマイコン10は、フラグが設定されているか否かを判定することで受信済みであるか否かを判定し、受信済みでなければR37においてNOと判定し、この処理を抜けてフレーム301のシリアルNo.「0」「0」を受信するまでR31から処理を繰り返す。 Further, for example, when the serial number of the frame 301 is "0" or "1", it is determined as YES in R33, the bit used in the frame 301 is accepted as the data of the CANID 301 in the R36a, and the bit bit0 of the frame 301 in the R36b. Is set to the lower 1 bit bit0 of the restored data βZ. Here, the microcomputer 10 of the ECU 4 determines whether or not the serial numbers "0" and "0" have been received. The microcomputer 10 of the ECU 4 determines whether or not it has been received by determining whether or not the flag is set, and if it has not been received, determines NO in R37, exits this process, and sets the frame 301. The process is repeated from R31 until the serial numbers "0" and "0" are received.

逆に、R37において、ECU4のマイコン10は、シリアルナンバーNo.「0」「0」を受信済みであるときに限り、R38においてシリアルナンバーNo.「0」「0」で受信した上位2ビットとシリアルナンバーNo.「0」「1」で受信した下位1ビットを合成して3ビットの復元データβZを作成する。そして、ECU4のマイコン10は、R39においてシリアルナンバーNo.「0」「0」を受信無、すなわち、シリアルナンバー「0」「0」に対応してフレーム301を受信済みとしたフラグをクリアする。 On the contrary, in R37, the microcomputer 10 of the ECU 4 has received the serial numbers “0” and “0” in the R38 only when the serial numbers “0” and “0” have been received. The lower 1 bit received with the serial numbers No. "0" and "1" is combined to create a 3-bit restored data βZ. Then, the microcomputer 10 of the ECU 4 clears the flag that the serial numbers No. "0" and "0" are not received in R39, that is, the frame 301 is received corresponding to the serial numbers "0" and "0".

図18は送受信処理のイメージを示している。図18に示すように、ECU3が送信フレームとしてシリアルナンバーの互いに異なるフレーム301を順次ネットワーク2に出力して送信し、ECU4が受信フレームとしてこれらのフレーム301を全て受信する。フレーム301の中位2ビットbit3,bit2はシリアルナンバーを示しており、その下位2ビットbit1,bit0はシリアルナンバーに対応したデータとして管理テーブル314に予め定められている。 FIG. 18 shows an image of transmission / reception processing. As shown in FIG. 18, the ECU 3 sequentially outputs and transmits frames 301 having different serial numbers as transmission frames to the network 2, and the ECU 4 receives all of these frames 301 as reception frames. The middle 2 bits bit3 and bit2 of the frame 301 indicate the serial number, and the lower 2 bits bit1 and bit0 are predetermined in the management table 314 as data corresponding to the serial number.

このため送信側のECU3は、管理テーブル314を参照することで、何れの空きビットに他のデータβを挿入するべきか把握でき、また、受信側のECU4のマイコン10は、管理テーブル314を参照することで何れの空きビットに他のデータβが挿入されているか判定できる。受信側のECU4は、管理テーブル314を参照することで、フレーム301のシリアルナンバー「0」「0」のビットbit1を最上位ビットbit2として復元でき、フレーム301のシリアルナンバー「0」「0」のビットbit0を中位ビットbit1として復元できる。また、フレーム301のシリアルナンバー「0」「1」のビットbit0を最下位ビットbit0として復元できる。 Therefore, the transmitting side ECU 3 can grasp which free bit the other data β should be inserted by referring to the management table 314, and the receiving side ECU 4 microcomputer 10 refers to the management table 314. By doing so, it can be determined which free bit the other data β is inserted into. By referring to the management table 314, the ECU 4 on the receiving side can restore the bit bit1 of the serial numbers "0" and "0" of the frame 301 as the most significant bit bit2, and the serial numbers "0" and "0" of the frame 301 can be restored. Bit bit0 can be restored as middle bit bit1. Further, the bit bit0 of the serial numbers "0" and "1" of the frame 301 can be restored as the least significant bit bit0.

これにより図19に示すように他のデータβから復元データβZを生成でき、他のデータβを別のフレーム302としてネットワーク2に送信する必要がなくなるため、バス負荷を低減できる。なお、ECU3は、n(但しn≧1)回目の送信データとn+1回目の送信データ、と交互に送信すると良く、これによりECU4はこれらのデータを交互に受信することができる。 As a result, as shown in FIG. 19, the restored data βZ can be generated from the other data β, and it is not necessary to transmit the other data β as another frame 302 to the network 2, so that the bus load can be reduced. The ECU 3 may alternately transmit the n (however, n ≧ 1) th transmission data and the n + 1th transmission data, whereby the ECU 4 can alternately receive these data.

本実施形態によれば、1つの送信フレーム301にシリアルナンバーを割当てると共に当該シリアルナンバー毎に規定された空きビットに他のデータβを分割して割当て、シリアルナンバーを変更した1つの送信フレーム301を複数回送信するようにしている。このため、1つの送信フレーム301を用いて他のデータβを分割して複数回に分けて送信できる。しかも、受信側のECU4では、この複数回の送信フレーム301を受信すると、これらの分割データから管理テーブル314の割当先情報を参照して復元データβZを復元できる。
なお、2回に分けてフレーム301を送信する形態を示したが、3以上の複数回に分けてフレーム301を送信するようにしても良い。
According to the present embodiment, a serial number is assigned to one transmission frame 301, another data β is divided and assigned to free bits specified for each serial number, and one transmission frame 301 whose serial number is changed is assigned. I try to send it multiple times. Therefore, one transmission frame 301 can be used to divide the other data β and transmit it in a plurality of times. Moreover, when the ECU 4 on the receiving side receives the plurality of transmission frames 301, the restored data βZ can be restored by referring to the allocation destination information in the management table 314 from these divided data.
Although the form in which the frame 301 is transmitted in two times is shown, the frame 301 may be transmitted in three or more times.

(第4実施形態)
図20から図25は第4実施形態の追加説明図を示す。第1〜第3実施形態は、1つの他のデータα又はβを分割してフレームのデータフィールドの空きビットに設定した形態を示しているが、第4実施形態では複数の他のデータα及びβをそれぞれ分割して送信フレーム401〜404のデータフィールドの空きビットに設定する形態を示す。特に、送信側のECU3のマイコン10は、複数の他のデータα及びβの分割データを複数の送信フレーム401〜404の空きビットにそれぞれ分けて割り当てるところに特徴を備える。
(Fourth Embodiment)
20 to 25 show additional explanatory views of the fourth embodiment. The first to third embodiments show a mode in which one other data α or β is divided and set as an empty bit in a data field of a frame, but in the fourth embodiment, a plurality of other data α and β are shown. A mode is shown in which β is divided and set as an empty bit in the data field of the transmission frames 401 to 404. In particular, the microcomputer 10 of the ECU 3 on the transmitting side is characterized in that the divided data of the plurality of other data α and β are separately allocated to the free bits of the plurality of transmission frames 401 to 404.

図20は他のデータα、βの例を示している。この他のデータα、βはそれぞれ例えば3ビット、7ビットで用意されている。以下では、従来技術を用いると、ECU3がそれぞれデータフレーム405、406として送信すべき3ビットのデータα、7ビットのデータβを、送信側のECU3がフレーム401〜404の空きビットに設定し、これらのデータα,βを受信側のECU4が復元する形態を示す。 FIG. 20 shows an example of other data α and β. The other data α and β are prepared, for example, 3 bits and 7 bits, respectively. In the following, using the prior art, the ECU 3 on the transmitting side sets the 3-bit data α and the 7-bit data β to be transmitted as the data frames 405 and 406, respectively, as the empty bits of the frames 401 to 404. The mode in which the ECU 4 on the receiving side restores these data α and β is shown.

図21は管理テーブル414の例を示している。この管理テーブル414にはCANIDが401〜404のときの内部ビット情報が記憶されている。この図21に示すように、フレーム401の上位4ビットbit7〜bit4は、使用ビットとして規定されているものの、その下位の中位2ビットbit3,bit2は、他のデータαの上位2ビットα2、α1として割り当てられている。また最下位ビットbit0は、他のデータβの最下位ビットβ0として割り当てられている。 FIG. 21 shows an example of the management table 414. The management table 414 stores the internal bit information when the CANID is 401 to 404. As shown in FIG. 21, the upper 4 bits bit7 to bit4 of the frame 401 are defined as the bits to be used, but the lower middle 2 bits bit3 and bit2 are the upper 2 bits α2 of the other data α. It is assigned as α1. The least significant bit bit0 is assigned as the least significant bit β0 of the other data β.

また、フレーム402の上位6ビットbit7〜2は使用ビットとして規定されているものの、その下位の中位1ビットbit1は、他のデータαの最下位ビットα0として割当てられている。また最下位ビットbit0は他のデータβの中位ビットβ1として割当てられている。 Further, although the upper 6 bits bits 7 to 2 of the frame 402 are defined as the bits used, the lower middle 1 bit bit1 is assigned as the least significant bit α0 of the other data α. The least significant bit bit0 is assigned as the middle bit β1 of the other data β.

さらに、フレーム403の上位2ビットbit7〜6、及び、下位3ビットbit2〜bit0は、使用ビットして規定されているものの、その中間の中位ビットbit4,3は、他のデータβの中位ビットβ3、β2として割り当てられている。フレーム403の中位ビットbit5は空きビットとして規定されている。さらに、フレーム404の上位1ビットbit7、及び、下位4ビットbit3〜bit0は、使用ビットとして規定されているものの、その中間の中位ビットbit6〜bit4は、他のデータβの中位ビットβ4,β5,β6として割当てられている。このような情報を記憶する管理テーブル414が、各ECU3〜5の間で共有されている。 Further, although the upper 2 bits bits 7 to 6 and the lower 3 bits bits 2 to bit0 of the frame 403 are specified by the bits used, the intermediate intermediate bits bits 4 and 3 are the intermediate bits of other data β. It is assigned as bits β3 and β2. The middle bit bit5 of the frame 403 is defined as an empty bit. Further, although the upper 1 bit bit7 and the lower 4 bits bit3 to bit0 of the frame 404 are defined as the bits to be used, the intermediate intermediate bits bits 6 to bit4 are the intermediate bits β4 of other data β. It is assigned as β5 and β6. A management table 414 that stores such information is shared among the ECUs 3 to 5.

図22は送信側のECU3の送信処理を示し、図23は受信側のECU4の受信処理を示している。図22に示すように、ECU3のマイコン10は、T41においてフレーム401〜404を作成する。ここでは、ECU3のマイコン10は管理テーブル414を参照し、当該管理テーブル414に「使用」と定められたデータフィールドのビットへデータを設定することでフレーム401〜404を作成する。 FIG. 22 shows the transmission process of the ECU 3 on the transmitting side, and FIG. 23 shows the receiving process of the ECU 4 on the receiving side. As shown in FIG. 22, the microcomputer 10 of the ECU 3 creates frames 401 to 404 in T41. Here, the microcomputer 10 of the ECU 3 refers to the management table 414, and creates frames 401 to 404 by setting data in the bits of the data field defined as "used" in the management table 414.

その後、ECU3のマイコン10は、T42においてフレーム401の空きビットbit3,bit2に他のデータαのビットbit2,bit1をそれぞれ設定し、フレーム401の空きビットbit0に他のデータβのビットbit0を設定する。そしてECU3のマイコン10は、T43においてフレーム401をネットワーク2に出力して送信する。 After that, the microcomputer 10 of the ECU 3 sets the empty bits bit3 and bit2 of the frame 401 to the bits 2 and bit1 of the other data α, respectively, and sets the empty bit bit0 of the frame 401 to the bit bit0 of the other data β. .. Then, the microcomputer 10 of the ECU 3 outputs the frame 401 to the network 2 at T43 and transmits the frame 401.

さらに、ECU3のマイコン10は、T44においてフレーム402の空きビットbit1に他のデータαのビットbit0を設定し、フレーム402の空きビットbit0に他のデータβのビットbit1を設定する。そしてECU3のマイコン10は、T45においてフレーム402をネットワーク2に出力して送信する。さらに、ECU3のマイコン10は、T46においてフレーム403の空きビットbit4,bit3に他のデータβのビットbit2,bit1を設定し、T47においてフレーム403をネットワーク2に出力して送信する。 Further, the microcomputer 10 of the ECU 3 sets the bit bit0 of the other data α in the free bit bit1 of the frame 402 in T44, and sets the bit bit1 of the other data β in the free bit bit0 of the frame 402. Then, the microcomputer 10 of the ECU 3 outputs the frame 402 to the network 2 at T45 and transmits the frame 402. Further, the microcomputer 10 of the ECU 3 sets the empty bits bit4 and bit3 of the frame 403 in the T46 to set the bits 2 and bit1 of the other data β, and outputs and transmits the frame 403 to the network 2 in the T47.

さらにECU3のマイコン10は、T48においてフレーム404の空きビットbit6に他のデータβのビットbit4を設定し、フレーム404の空きビットbit5に他のデータβのビットbit5を設定し、フレーム404の空きビットbit4に他のデータβのビットbit6を設定する。そしてECU3のマイコン10は、T49においてフレーム404をネットワーク2に出力して送信する。 Further, the microcomputer 10 of the ECU 3 sets the empty bit bit 6 of the frame 404 to the bit bit 4 of the other data β in T48, sets the empty bit bit 5 of the frame 404 to the bit bit 5 of the other data β, and sets the empty bit of the frame 404 to the empty bit bit. Set bit 6 of other data β to bit 4. Then, the microcomputer 10 of the ECU 3 outputs the frame 404 to the network 2 at T49 and transmits the frame 404.

他方、図23に示すように、ECU4のマイコン10は、R41〜R44においてフレーム401〜404の受信を待機する。このときECU4のマイコン10が、R41においてフレーム401を受信したときには、管理テーブル414を参照し、R45aにおいてフレーム401内の使用ビットについてCANID401のデータとして受付け、R45bにおいてフレーム401のデータフィールドのビットbit3,bit2を復元データαZの記憶領域の上位2ビット、すなわちビットbit2,bit1に設定する。これにより、受信フレーム401の中から本来のCANID401のデータと他のデータα,βの分割データα2〜α1,β0とを識別することができる。そして、R46においてフレーム401を受信済みとするフラグを設定する。 On the other hand, as shown in FIG. 23, the microcomputer 10 of the ECU 4 waits for reception of frames 401 to 404 in R41 to R44. At this time, when the microcomputer 10. Bit2 is set to the upper two bits of the storage area of the restored data αZ, that is, bits bit2 and bit1. Thereby, the original data of the CANID 401 and the divided data α2 to α1 and β0 of the other data α and β can be distinguished from the received frame 401. Then, a flag is set in R46 to mark that the frame 401 has been received.

またECU4のマイコン10が、フレーム402を受信したときには、管理テーブル414を参照し、R47aにおいてフレーム402内の使用ビットについてCANID402のデータとして受付け、R47bにおいてフレーム402のデータフィールドの中位ビットbit1を復元データαZの最下位ビットbit0に設定し、フレーム402のデータフィールドの最下位ビットbit0を復元データβZの中位ビットbit1に設定する。これにより、受信フレーム402の中から本来のCANID402のデータと他のデータα,βの分割データα0,β0とを識別することができる。そして、ECU4のマイコン10はR48においてフレーム402を受信済みとするフラグを設定する。 Further, when the microcomputer 10 of the ECU 4 receives the frame 402, it refers to the management table 414 and accepts the used bit in the frame 402 as the data of the CANID 402 in the R47a, and restores the middle bit bit1 of the data field of the frame 402 in the R47b. The lowest bit bit0 of the data αZ is set, and the lowest bit bit0 of the data field of the frame 402 is set to the middle bit bit1 of the restored data βZ. Thereby, the original data of CANID 402 and the divided data α0 and β0 of other data α and β can be distinguished from the received frame 402. Then, the microcomputer 10 of the ECU 4 sets a flag in R48 that the frame 402 has been received.

また、ECU4のマイコン10がフレーム403を受信したときには、管理テーブル414を参照し、R49aにおいてフレーム403内の使用ビットについてCANID403のデータとして受け付け、R49bにおいてフレーム403のデータフィールドの中位ビットbit4,bit3を復元データβZの中位ビットbit2,bit1に設定する。これにより、受信フレーム403の中から本来のCANID403のデータと他のデータβの分割データβ3,β2とを識別することができる。そしてECU4のマイコン10は、R50においてフレーム403を受信済みとしたフラグを設定する。 Further, when the microcomputer 10 of the ECU 4 receives the frame 403, the management table 414 is referred to, and the bits used in the frame 403 are accepted as the data of the CANID 403 in the R49a, and the middle bits bit4, bit3 of the data field of the frame 403 in the R49b. Is set to the middle bits bit2 and bit1 of the restored data βZ. Thereby, the original data of CANID 403 and the divided data β3 and β2 of other data β can be distinguished from the received frame 403. Then, the microcomputer 10 of the ECU 4 sets a flag that the frame 403 has been received in the R50.

またECU4のマイコン10が、フレーム404を受信したときには、管理テーブル414を参照し、R51aにおいてフレーム404の内の使用ビットについてCANID404のデータとして受付け、R51bにおいてフレーム404のデータフィールドの中位ビットbit6を復元データβZの中位ビットbit4に設定し、フレーム404のデータフィールドの中位ビットbit5を復元データβZの中位ビットbit5に設定し、フレーム404のデータフィールドの中位ビットbit4を復元データβZの中位ビットbit6に設定する。これにより、受信フレーム404の中から本来のCANID404のデータと他のデータβの分割データβ6〜β4とを識別することができる。 Further, when the microcomputer 10 of the ECU 4 receives the frame 404, it refers to the management table 414 and accepts the used bit in the frame 404 as the data of the CANID 404 in the R51a, and receives the middle bit bit 6 of the data field of the frame 404 in the R51b. Set the middle bit bit4 of the restored data βZ to the middle bit bit4 of the data field of the frame 404, set the middle bit bit5 of the data field of the restored data βZ to the middle bit bit5 of the restored data βZ, and set the middle bit bit4 of the data field of the frame 404 to the restored data βZ. Set to medium bit bit6. Thereby, the original CANID 404 data and the divided data β6 to β4 of the other data β can be distinguished from the received frame 404.

ECU4のマイコン10は、R51の処理を行った後、R52において他の全てのフレーム401〜403を受信済みであるか否かを判定し、全てのフレーム401〜404を受信済みであるときに限り、R53において各受信フレームデータに基づいてデータα,βを復元する。すなわち、全てのデータを合成して復元データαZ、βZをそれぞれ作成する。そして、ECU4のマイコン10は、R54においてフレーム401〜403を受信データ無とする、すなわちR46、R48、R50にて受信済みとして設定されたフラグをクリアする。これにより復元データαZ,βZを生成できる。 After processing R51, the microcomputer 10 of the ECU 4 determines whether or not all the other frames 401 to 403 have been received in R52, and only when all the frames 401 to 404 have been received. , R53 restores the data α and β based on each received frame data. That is, all the data are combined to create restored data αZ and βZ, respectively. Then, the microcomputer 10 of the ECU 4 eliminates the received data in the frames 401 to 403 in R54, that is, clears the flag set as received in R46, R48, and R50. As a result, restored data αZ and βZ can be generated.

図24は送受信処理のイメージを示している。図24に示すように、ECU3が送信フレームとしてフレーム401〜404をネットワーク2に出力し、ECU4が受信フレームとしてフレーム401〜404を全て受信する。フレーム401〜404の各空きビットはデータα及びβの各ビットに対応するように予め管理テーブル414に定められている。このため、送信側のECU3のマイコン10は管理テーブル414を参照することで何れの空きビットに他のデータα,βの各ビットを挿入するべきか把握でき、また、受信側のECU4のマイコン10は管理テーブル414を参照することで何れの空きビットに他のデータα,βが挿入されているか判定でき、これにより図25に示すように復元データαZ,βZを生成できる。これによりデータα,βを別のフレーム405、406としてネットワーク2に送信する必要がなくなるため、バス負荷を低減できる。 FIG. 24 shows an image of transmission / reception processing. As shown in FIG. 24, the ECU 3 outputs frames 401 to 404 as transmission frames to the network 2, and the ECU 4 receives all frames 401 to 404 as reception frames. Each free bit of frames 401 to 404 is predetermined in the management table 414 so as to correspond to each bit of data α and β. Therefore, the microcomputer 10 of the ECU 3 on the transmitting side can grasp which free bit each bit of the other data α and β should be inserted by referring to the management table 414, and the microcomputer 10 of the ECU 4 on the receiving side Can determine which free bit the other data α, β is inserted into by referring to the management table 414, whereby the restored data αZ, βZ can be generated as shown in FIG. 25. This eliminates the need to transmit the data α and β to the network 2 as separate frames 405 and 406, so that the bus load can be reduced.

(他の実施形態)
本発明は、前述した実施形態に限定されるものではなく、種々変形して実施することができ、その要旨を逸脱しない範囲で種々の実施形態に適用可能である。例えば以下に示す変形又は拡張が可能である。
(Other embodiments)
The present invention is not limited to the above-described embodiment, but can be variously modified and implemented, and can be applied to various embodiments without departing from the gist thereof. For example, the following modifications or extensions are possible.

例えば第1実施形態では、受信側のECU4が、ネットワーク2に出力されたフレーム101〜103の確認を、フレーム101、102、103の昇順に行った形態を示したが、この順序は降順でも良く、さらにその他の順序に入れ替えても良い。これは第2実施形態以降の各実施形態でも同様であり、フレームの確認の順序を入れ替えても良い。また、前述実施形態では、それぞれフローチャートを参照して説明を行ったが、これらのフローチャートに示した処理の順序はあくまでも一例であり、これらのフローチャートに示した順序で処理を実行しなくても良い。すなわち、前述実施形態と同一又は類似の目的を達成可能であれば、処理順序を入れ替えても良く、処理を必要に応じて変更しても良いし必要に応じて一部を省略しても良い。 For example, in the first embodiment, the receiving ECU 4 confirms the frames 101 to 103 output to the network 2 in the ascending order of the frames 101, 102, 103, but the order may be descending. , And may be replaced in any other order. This is the same in each of the second and subsequent embodiments, and the order of frame confirmation may be changed. Further, in the above-described embodiment, the description has been given with reference to the flowcharts, but the order of the processes shown in these flowcharts is only an example, and the processes may not be executed in the order shown in these flowcharts. .. That is, if the same or similar purpose as the above-described embodiment can be achieved, the processing order may be changed, the processing may be changed as necessary, or a part may be omitted as necessary. ..

前述の実施形態では、ビット単位で空領域を考慮し、連続する空きビットを「空領域」として説明したが、ビット単位で考慮しなくても良くバイト単位でも良い。
通信コントローラ11はマイコン10に組み込まれていても良い。CANに限定されるものではなく、空領域を備えるフォーマットを備えるプロトコルを用いた通信システムであれば適用できる。
In the above-described embodiment, the empty area is considered in bit units, and continuous free bits are described as "empty areas". However, it is not necessary to consider in bit units, and byte units may be used.
The communication controller 11 may be incorporated in the microcomputer 10. It is not limited to CAN, and can be applied to any communication system using a protocol having a format including an empty area.

各ECU3〜5が管理テーブル14,114,314,414をそれぞれ備えて共有する形態を示したが、ネットワーク2に接続されている他のECU等に管理テーブル14,114,314,414を記憶させておき、各ECU3〜5が、ネットワーク2を通じて管理テーブル14,114,314,414を参照するようにしても良い。 Although each of the ECUs 3 to 5 is provided with and shared with the management tables 14, 114, 314 and 414, the management tables 14, 114, 314 and 414 are stored in another ECU or the like connected to the network 2. In addition, each ECU 3 to 5 may refer to the management tables 14, 114, 314, 414 through the network 2.

各ECU3〜5のマイコン10が実行する機能の一部または全部を、一つあるいは複数のICによりハードウェア的に構成しても良い。前述した複数の実施形態を組み合わせて構成しても良い。なお、特許請求の範囲に記載した括弧内の符号は、本発明の一つの態様として前述する実施形態に記載の具体的手段との対応関係の一例を示すものであって、本発明の技術的範囲を限定するものではない。前述実施形態の一部を、課題を解決できる限りにおいて省略した態様も実施形態と見做すことが可能である。また、特許請求の範囲に記載した文言によって特定される発明の本質を逸脱しない限度において、考え得るあらゆる態様も実施形態と見做すことが可能である。 A part or all of the functions executed by the microcomputers 10 of the ECUs 3 to 5 may be configured in hardware by one or a plurality of ICs. It may be configured by combining a plurality of the above-mentioned embodiments. The reference numerals in parentheses described in the claims indicate an example of the correspondence with the specific means described in the above-described embodiment as one aspect of the present invention, and are technically of the present invention. It does not limit the range. An embodiment in which a part of the above-described embodiment is omitted as long as the problem can be solved can also be regarded as an embodiment. In addition, any conceivable embodiment can be regarded as an embodiment as long as it does not deviate from the essence of the invention specified by the wording described in the claims.

本開示は、前述した実施形態に準拠して記述したが、本開示は当該実施形態や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範畴や思想範囲に入るものである。 Although the present disclosure has been described in accordance with the embodiments described above, it is understood that the present disclosure is not limited to such embodiments or structures. The present disclosure also includes various variations and variations within a uniform range. In addition, various combinations and forms, as well as other combinations and forms, including one element, more, or less, are within the scope and ideology of the present disclosure.

図面中、1は通信システム、2は車載ネットワーク(ネットワーク)、3〜5はECU(電子制御装置:3は送信ノード、4は受信ノード)、6は不正機器、10はマイコン(ECU3の10は割当部、送信部:ECU4の10は識別部、復元部)、12は送信部、13は割当部、14,114,314,414は管理テーブル、を示す。 In the drawing, 1 is a communication system, 2 is an in-vehicle network (network), 3 to 5 are ECUs (electronic control device: 3 is a transmission node, 4 is a reception node), 6 is an unauthorized device, and 10 is a microcomputer (10 of ECU 3 is). The allocation unit and the transmission unit: 10 of the ECU 4 is an identification unit and a restoration unit), 12 is a transmission unit, 13 is an allocation unit, and 14,114,314,414 are management tables.

Claims (8)

送信ノード(3)が予め規定されるフォーマットの送信フレーム内に第1データを格納してネットワーク(2)に送信し、受信ノード(4)が前記第1データをネットワークを通じて受信フレームとして受信する通信システム(1)であり、前記送信ノードを構成する電子制御装置(3)であって、
前記送信フレームに第1データを割り当てた領域を除く空領域に他の第2データを分割して割り当てる割当部(13)と、
前記割当部により割り当てられた分割データ及び第1データを送信フレームとして送信する送信部(12)と、を備え
前記第1データは識別番号毎に送受信されるデータであって、
前記送信フレームの空領域と分割データの割当先は識別番号毎に予め定められており、
前記送信フレーム内における空領域の情報及び前記第1データ及び前記第2データの分割データの割当先情報は、前記送信ノードと前記受信ノードとの間で管理テーブル(14,114,314,414)により共有化されている電子制御装置(3)。
Communication in which the transmitting node (3) stores the first data in a transmission frame having a predetermined format and transmits the first data to the network (2), and the receiving node (4) receives the first data as a receiving frame through the network. The system (1) and the electronic control device (3) constituting the transmission node.
An allocation unit (13) that divides and allocates other second data to an empty area excluding the area to which the first data is allocated to the transmission frame, and
A transmission unit (12) for transmitting the divided data and the first data allocated by the allocation unit as a transmission frame is provided .
The first data is data sent and received for each identification number, and is
The empty area of the transmission frame and the allocation destination of the divided data are predetermined for each identification number.
The information of the empty area in the transmission frame and the allocation destination information of the divided data of the first data and the second data are stored in the management table (14,114,314,414) between the transmission node and the reception node. Electronic control device (3) shared by.
送信ノード(3)が予め規定されるフォーマットの送信フレーム内に第1データを格納してネットワーク(2)に送信し、受信ノード(4)が前記第1データをネットワークを通じて受信フレームとして受信する通信システム(1)であり、前記受信ノードを構成する電子制御装置(4)であって、
前記送信ノードが、前記送信フレームに第1データを割り当てた領域を除く空領域に他の第2データを分割して割り当てる割当部(13)と、前記割当部により割り当てられた分割データ及び第1データを送信フレームとして送信する送信部(12)と、を備えるときに、
前記受信フレームの中から前記第1データと前記第2データの分割データとを識別する識別部(19)と、
前記分割データから割当先情報に基づいて復元データ(αZ、βZ)を生成する復元部(20)と、を備え
前記第1データは識別番号毎に送受信されるデータであって、
前記送信フレームの空領域と分割データの割当先は識別番号毎に予め定められており、
前記送信フレーム内における空領域の情報及び前記第1データ及び前記第2データの分割データの割当先情報は、前記送信ノードと前記受信ノードとの間で管理テーブル(14,114,314,414)により共有化されている電子制御装置(4)。
Communication in which the transmitting node (3) stores the first data in a transmission frame having a predetermined format and transmits the first data to the network (2), and the receiving node (4) receives the first data as a receiving frame through the network. The system (1) and the electronic control device (4) constituting the receiving node.
The allocation unit (13) in which the transmission node divides and allocates the other second data to the empty area excluding the area in which the first data is allocated to the transmission frame, the divided data allocated by the allocation unit, and the first. When the transmission unit (12) for transmitting data as a transmission frame is provided.
An identification unit (19) that discriminates between the first data and the divided data of the second data from the received frames,
A restoration unit (20) that generates restoration data (αZ, βZ) based on the allocation destination information from the divided data is provided .
The first data is data sent and received for each identification number, and is
The empty area of the transmission frame and the allocation destination of the divided data are predetermined for each identification number.
The information of the empty area in the transmission frame and the allocation destination information of the divided data of the first data and the second data are stored in the management table (14,114,314,414) between the transmission node and the reception node. Electronic control device (4) shared by.
送信ノード(3)が予め規定されるフォーマットの送信フレーム内に第1データを格納してネットワーク(2)に送信し、受信ノード(4)が前記第1データをネットワークを通じて受信フレームとして受信する通信システム(1)であり、前記送信ノードを構成する電子制御装置(3)であって、
前記送信フレームに第1データを割り当てた領域を除く空領域に他の第2データを分割して割り当てる割当部(13)と、
前記割当部により割り当てられた分割データ及び第1データを送信フレームとして送信する送信部(12)と、を備え
前記割当部は、前記1つの送信フレームにシリアルナンバーと共に当該シリアルナンバー毎に規定された空領域に第2データを分割して割り当て、
前記送信部は、前記シリアルナンバーを変更した前記1つの送信フレームを複数回送信する電子制御装置(3)。
Communication in which the transmitting node (3) stores the first data in a transmission frame having a predetermined format and transmits the first data to the network (2), and the receiving node (4) receives the first data as a receiving frame through the network. The system (1) and the electronic control device (3) constituting the transmission node.
An allocation unit (13) that divides and allocates other second data to an empty area excluding the area to which the first data is allocated to the transmission frame, and
A transmission unit (12) for transmitting the divided data and the first data allocated by the allocation unit as a transmission frame is provided .
The allocation unit divides and allocates the second data to the one transmission frame together with the serial number in the empty area specified for each serial number.
The transmission unit is an electronic control device (3) that transmits the one transmission frame having a changed serial number a plurality of times.
送信ノード(3)が予め規定されるフォーマットの送信フレーム内に第1データを格納してネットワーク(2)に送信し、受信ノード(4)が前記第1データをネットワークを通じて受信フレームとして受信する通信システム(1)であり、前記受信ノードを構成する電子制御装置(4)であって、
前記送信ノードが、前記送信フレームに第1データを割り当てた領域を除く空領域に他の第2データを分割して割り当てる割当部(13)と、前記割当部により割り当てられた分割データ及び第1データを送信フレームとして送信する送信部(12)と、を備えるときに、
前記受信フレームの中から前記第1データと前記第2データの分割データとを識別する識別部(19)と、
前記分割データから割当先情報に基づいて復元データ(αZ、βZ)を生成する復元部(20)と、を備え
前記割当部は、前記1つの送信フレームにシリアルナンバーと共に当該シリアルナンバー毎に規定された空領域に第2データを分割して割り当て、
前記送信部は、前記シリアルナンバーを変更した前記1つの送信フレームを複数回送信する電子制御装置(4)。
Communication in which the transmitting node (3) stores the first data in a transmission frame having a predetermined format and transmits the first data to the network (2), and the receiving node (4) receives the first data as a receiving frame through the network. The system (1) and the electronic control device (4) constituting the receiving node.
The allocation unit (13) in which the transmission node divides and allocates the other second data to the empty area excluding the area in which the first data is allocated to the transmission frame, the divided data allocated by the allocation unit, and the first. When the transmission unit (12) for transmitting data as a transmission frame is provided.
An identification unit (19) that discriminates between the first data and the divided data of the second data from the received frames,
A restoration unit (20) that generates restoration data (αZ, βZ) based on the allocation destination information from the divided data is provided .
The allocation unit divides and allocates the second data to the one transmission frame together with the serial number in the empty area specified for each serial number.
The transmission unit is an electronic control device (4) that transmits the one transmission frame having a changed serial number a plurality of times.
請求項1から4の何れか一項に記載の電子制御装置(3、4)において、
前記第2データは複数のビットにより構成され、
前記割当部は、前記分割データを1ビット以上とした状態で前記送信フレームの空領域に割り当てる電子制御装置。
In the electronic control device (3, 4) according to any one of claims 1 to 4.
The second data is composed of a plurality of bits.
The allocation unit is an electronic control device that allocates the divided data to an empty area of the transmission frame in a state where the divided data is 1 bit or more.
請求項1から4の何れか一項に記載の電子制御装置(3、4)において、
前記割当部は、1つの前記送信フレームの内に空領域が離間して複数存在する場合には前記第2データを前記1つの送信フレームの内に離間して割り当てる電子制御装置。
In the electronic control device (3, 4) according to any one of claims 1 to 4.
The allocation unit is an electronic control device that allocates the second data separately in the one transmission frame when a plurality of empty regions are separated from each other in the one transmission frame.
請求項1から4の何れか一項に記載の電子制御装置(3、4)において、
前記送信フレームは複数備えられると共に、前記複数の送信フレームはそれぞれ空領域を備え、
前記割当部は、前記複数の送信フレームの空領域に1つの前記第2データを分割して割り当てる電子制御装置。
In the electronic control device (3, 4) according to any one of claims 1 to 4.
The plurality of transmission frames are provided, and each of the plurality of transmission frames has an empty area.
The allocation unit is an electronic control device that divides and allocates one second data to an empty area of the plurality of transmission frames.
請求項1から4の何れか一項に記載の電子制御装置(3、4)において、
前記分割される第2データが複数存在し、
前記送信部が、複数の送信フレームを用いて複数の第2データを送信するときには、
前記割当部は、前記複数の第2データの分割データを前記複数の送信フレームの空領域にそれぞれ分けて割り当てる電子制御装置。
In the electronic control device (3, 4) according to any one of claims 1 to 4.
There are a plurality of second data to be divided,
When the transmission unit transmits a plurality of second data using a plurality of transmission frames,
The allocation unit is an electronic control device that allocates the divided data of the plurality of second data to the empty areas of the plurality of transmission frames.
JP2017135436A 2016-09-09 2017-07-11 Electronic control device Active JP6984201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/662,982 US10397041B2 (en) 2016-09-09 2017-07-28 Electronic control unit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016176694 2016-09-09
JP2016176694 2016-09-09

Publications (2)

Publication Number Publication Date
JP2018046547A JP2018046547A (en) 2018-03-22
JP6984201B2 true JP6984201B2 (en) 2021-12-17

Family

ID=61692504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017135436A Active JP6984201B2 (en) 2016-09-09 2017-07-11 Electronic control device

Country Status (1)

Country Link
JP (1) JP6984201B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11971842B2 (en) 2020-08-27 2024-04-30 Sony Semiconductor Solutions Corporation Communication device, communication system, and communication method for transmitting a serial signal group conforming to a serial peripheral interface
US12019580B2 (en) 2021-02-10 2024-06-25 Sony Semiconductor Solutions Corporation Communication device, communication system, and communication method with identification information added to data blocks

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002158663A (en) * 2000-11-22 2002-05-31 Matsushita Electric Ind Co Ltd ATM communication device
KR101135101B1 (en) * 2005-10-17 2012-04-16 엘지전자 주식회사 Method for data filed padding data length code using in controller area network
JP5341711B2 (en) * 2009-10-30 2013-11-13 日本無線株式会社 Wireless communication system
JP2013026709A (en) * 2011-07-19 2013-02-04 Renesas Electronics Corp Communication control system
EP2930643B1 (en) * 2012-12-05 2018-11-14 Toyota Jidosha Kabushiki Kaisha Vehicle network authentication system, and vehicle network authentication method
JP5983507B2 (en) * 2013-04-04 2016-08-31 トヨタ自動車株式会社 COMMUNICATION SYSTEM, COMMUNICATION NODE, AND COMMUNICATION METHOD
TWI617156B (en) * 2013-09-30 2018-03-01 高通公司 Short packet communication in a powerline communication network

Also Published As

Publication number Publication date
JP2018046547A (en) 2018-03-22

Similar Documents

Publication Publication Date Title
JP6836340B2 (en) Fraud detection electronic control unit, in-vehicle network system and communication method
CN104410616B (en) data encryption, decryption, transmission method and system
JP6512023B2 (en) Communication system, transmitting node, and receiving node
JP6984201B2 (en) Electronic control device
JP2017050643A (en) Repeating device
US20180124180A1 (en) Communication system and communication method
CN106059871A (en) Control device for connecting can bus to radio network, and motor vehicle having such control device
JP6704458B2 (en) In-vehicle processor
CN110312232B (en) Vehicle communication system and vehicle communication method
CN104871492B (en) Communication system, communication device and communication method
JP2019080234A (en) Electronic control device, communication management method, and program
CN105915311B (en) Subscriber station of a bus system and method for time-optimized transmission of data in a bus system
WO2017094561A1 (en) Encryption device, cryptographic communication system and encrypted transmission method
WO2017026360A1 (en) Communications system
JP5983507B2 (en) COMMUNICATION SYSTEM, COMMUNICATION NODE, AND COMMUNICATION METHOD
JP2006527563A (en) Master node for LIN network
KR101705639B1 (en) Method for transmitting and receiving a message in a vehicle network system
JP6620696B2 (en) Electronic control unit
CN118827178A (en) Authentication method, device, electronic device, computer-readable storage medium and vehicle
JP7110950B2 (en) network system
US10841085B2 (en) Method for generating a secret or a key in a network
JP2014232914A (en) Communication system, communication adapter, server, mobile terminal, and communication method
CN103559460B (en) A kind of condition receiving card CAM and data processing method
Bella et al. Are you secure in your car? poster
JPWO2022085055A5 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210416

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210608

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: 20211026

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211108

R151 Written notification of patent or utility model registration

Ref document number: 6984201

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250