JP2019160107A - Transmission controller - Google Patents
Transmission controller Download PDFInfo
- Publication number
- JP2019160107A JP2019160107A JP2018048769A JP2018048769A JP2019160107A JP 2019160107 A JP2019160107 A JP 2019160107A JP 2018048769 A JP2018048769 A JP 2018048769A JP 2018048769 A JP2018048769 A JP 2018048769A JP 2019160107 A JP2019160107 A JP 2019160107A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- comparison data
- main control
- software
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Control Of Transmission Device (AREA)
Abstract
Description
本発明は、変速機制御装置に関する。 The present invention relates to a transmission control device.
変速機制御装置のメイン制御部ソフトウェアは、一般的に車両側の書き換えツールと接続してソフトウェアの書き換えが行われる。 The software of the main control unit of the transmission control device is generally rewritten by connecting to a vehicle rewriting tool.
一般的に、ソフトウェア書き換えに際して、不正なソフトウェアへの書き換えを検知するために、監視部を使用する機能が用いられている。例えば、特許文献1では、第三者が不正な書き換えツールを用いて、正規の書き換えツールとは異なる通信用端子で変速機制御装置に接続して不正なソフトウェアへの書き換えを意図した場合に、監視部を用いて正規の書き換えツールが使用する通信用端子が動作していないことを検知する技術が開示されている。 In general, when software is rewritten, a function that uses a monitoring unit is used to detect rewriting to unauthorized software. For example, in Patent Document 1, when a third party uses an unauthorized rewriting tool and connects to the transmission control device with a communication terminal different from the regular rewriting tool and intends to rewrite to unauthorized software, A technique for detecting that a communication terminal used by a regular rewriting tool is not operating using a monitoring unit is disclosed.
車両に搭載されている制御装置は、近年、不正なソフトウェアへの書き換え対策が進んでいる。実際に、不正なソフトウェアに書き換えることで、該当車両のセキュリティを突破して盗難する事例も報告されており、対応が行われている。しかし、特許文献1の方式では、不正行為者が正規の書き換えツールで使用する通信用端子を用いて、メイン制御部のソフトウェアを不正に書き換えた場合、正規の通信用端子を用いているために不正な書き換えを監視部で検知できず、書き換えられてしまうと不正なソフトウェアであることを検知できない。 In recent years, countermeasures for rewriting unauthorized software on a control device mounted on a vehicle have been advanced. In fact, there have been reports of cases where the vehicle is stolen by breaking through the security of the corresponding vehicle by rewriting it with unauthorized software. However, in the method of Patent Document 1, when a fraudulent person illegally rewrites the software of the main control unit using a communication terminal used by a regular rewriting tool, the regular communication terminal is used. Unauthorized rewriting cannot be detected by the monitoring unit, and if it is rewritten, it cannot be detected that the software is unauthorized.
本発明は、第三者による不正なソフトウェアへの書き換えを防止し、不正なソフトウェアが書き込まれた場合でも、検知できるようにすることを目的とする。 It is an object of the present invention to prevent rewriting to illegal software by a third party and to detect even when illegal software is written.
本発明は、変速機制御装置は、メイン制御部と、監視部と、を備えた変速機制御装置において、前記メイン制御部は、該メイン制御部のソフトウェアの整合性を診断する整合性診断部と、前記ソフトウェアの比較データを演算する比較データ演算部と、前記監視部から前記比較データを読み出す比較データ読出部と、診断結果をバックアップする内蔵EEPROM部と、を有し、前記監視部は、前記比較データを記憶する比較データ記憶部と、前記比較データ記憶部から前記比較データを前記比較データ読出部に送る比較データ送信部と、を有し、前記整合性診断部が前記ソフトウェアの整合性の異常を診断すると、前記内蔵EEPROM部は異常情報と履歴を記憶する。 The present invention provides a transmission control device including a main control unit and a monitoring unit, wherein the main control unit is a consistency diagnosis unit that diagnoses the software consistency of the main control unit. A comparison data calculation unit that calculates comparison data of the software, a comparison data reading unit that reads the comparison data from the monitoring unit, and a built-in EEPROM unit that backs up a diagnosis result. A comparison data storage unit that stores the comparison data; and a comparison data transmission unit that sends the comparison data from the comparison data storage unit to the comparison data reading unit. When the abnormality is diagnosed, the built-in EEPROM section stores abnormality information and history.
本発明では、第三者による不正なソフトウェアへの書き換えを防止し、不正なソフトウェアが書き込まれた場合でも、検知できるようにすることができる。 According to the present invention, it is possible to prevent rewriting to illegal software by a third party and to detect even when illegal software is written.
本実施例は、変速機制御装置におけるソフトウェアの整合性を監視して、不正なソフトウェアが変速機制御装置に書き込まれた場合に異常状態であることを検知して、異常情報と履歴を記憶する。 The present embodiment monitors the software consistency in the transmission control device, detects an abnormal state when unauthorized software is written in the transmission control device, and stores abnormal information and history. .
本実施例では、監視部への書き込み判断を、メイン制御部のみで行わず、外部EEPROMから取得した鍵情報と比較することで、第三者による不正なソフトウェアへの書き換えを防止し、不正なソフトウェアが書き込まれた場合でも、検知できるようにする。 In this embodiment, the write determination to the monitoring unit is not performed only by the main control unit, but by comparing with the key information acquired from the external EEPROM, it is possible to prevent rewriting to unauthorized software by a third party, Enables detection even when software is written.
また、内蔵EEPROM内の状態から工場での書換/販売店での書換/それ以外での書換のいずれかを判別することで、工場での生産時には鍵情報を用いることなく監視部への書き込みを可能とし、工場での生産性を下げることなく不正なソフトウェアへの書き換え防止効果を高めることを可能とする。 In addition, it is possible to write to the monitoring unit without using key information during production in the factory by determining whether it is rewritten at the factory, rewritten at the dealer, or rewritten at other times from the state in the built-in EEPROM. It is possible to increase the effect of preventing unauthorized software rewriting without reducing the productivity in the factory.
本実施例は、変速機制御装置にメイン制御部と、メイン制御部からの信号に基づいてメイン制御部の監視を行う監視部とを備えており、記変速機制御装置に対するメイン制御部のソフトウェアの整合性を診断する比較データ診断部と、監視部に診断部で参照する比較データを書き込むための監視部書込部と、監視部書込部の実行判定を行っている比較データ書込判定部とを備えており、メイン制御部のソフトウェアから演算した比較データと、監視部に記憶された比較データ間で整合性を確認し、メイン制御部ソフトウェアの異常を検知する。 In this embodiment, the transmission control device includes a main control unit and a monitoring unit that monitors the main control unit based on a signal from the main control unit, and software for the main control unit for the transmission control device. Comparison data diagnosing unit for diagnosing consistency of data, monitoring unit writing unit for writing comparison data referred to by the diagnosing unit to the monitoring unit, and comparison data writing determination for performing execution determination of the monitoring unit writing unit A comparison unit that checks the consistency between the comparison data calculated from the software of the main control unit and the comparison data stored in the monitoring unit, and detects an abnormality in the main control unit software.
診断に用いられる監視部から読み出す比較データは、メイン制御部の書き換え時に書き込みを行う。メイン制御部の書き換え後に外部EEPROM部に記憶されている鍵情報を読み出し、内部EEPROMの状態から書き換え場所を判断して、比較データ書込判定部にて判定を行い、判定の結果が正常であればメイン制御部のソフトウェアから比較データを演算し、監視部へ比較データを書き込む。 Comparison data read from the monitoring unit used for diagnosis is written when the main control unit is rewritten. After rewriting the main control unit, the key information stored in the external EEPROM unit is read out, the rewrite location is determined from the state of the internal EEPROM, and the comparison data write determination unit makes a determination, and if the determination result is normal For example, the comparison data is calculated from the software of the main control unit, and the comparison data is written to the monitoring unit.
この判定により、不正なソフトウェアを書き込もうとした場合でも、メイン制御部だけでなく、外部EEPROMの記憶情報を用いることで、監視部への書き込みを制限し、不正なソフトウェアが書き込まれてしまった場合でも、それを不正なソフトウェアと判断できるようにすることで信頼性向上の利点がある。 Even if an attempt is made to write unauthorized software by this determination, when unauthorized software is written by restricting writing to the monitoring unit by using the stored information of the external EEPROM as well as the main control unit. However, there is an advantage of improving reliability by making it possible to judge it as malicious software.
以下、本発明の実施例を、図面を用いて説明する。
まず、図1を用いて本発明の実施例について説明する。
図1に車両の自動変速機を制御する変速機制御装置全体のブロック図を示す。
変速機制御装置10にはメイン制御部20とメイン制御部20を監視する監視部30とCANドライバ60とを備える。メイン制御部20には、書換処理部40と内蔵EEPROM部50と、内蔵EEPROM部50の状態を判定するEEPROM状態判定部24と監視部30から読み出しを行う比較データ読出部23と、メイン制御部30のソフトウェアから比較データA400を演算する比較データ演算部22と、監視部30から読み出した比較データB401と比較データ演算部22で算出された比較データA400から診断を行う比較データ整合性診断部21を備えている。
Embodiments of the present invention will be described below with reference to the drawings.
First, an embodiment of the present invention will be described with reference to FIG.
FIG. 1 is a block diagram of an entire transmission control device that controls an automatic transmission of a vehicle.
The
次に、メイン制御部20のソフトウェア整合性の診断方法について説明する。
監視部30は、比較データ記憶部31と比較データ送信部32を備えており、メイン制御部20の比較データ読出部23により読み出される比較データ記憶部31に記憶されている書換処理部40により書き込まれる比較データB401と、比較データ演算部22にてメイン制御部20のソフトウェアから算出された比較データA400の2つの情報により比較データ整合性診断部21にて診断を行い、異常と判定された場合は、内蔵EEPROM部50の故障情報記憶部51に故障情報と履歴情報を記憶させる。
Next, a software consistency diagnosis method of the
The
次に、比較データ演算部22について説明する。
比較データ演算部22では、メイン制御部20のソフトウェア全体から比較データを演算し、一部でもソフトウェアが異なる場合には演算結果が変動する。メイン制御部20のソフトウェアを正常な手順で書き込んだ際には、監視部30の比較データ記憶部31に比較データA400が書き込まれるが、第三者が不正なソフトウェアをメイン制御部20に書き込んだ場合には、監視部30の比較データ記憶部31への更新を防止しているため、不正なソフトウェアによる比較データA400と先に比較データ記憶部31に書き込まれた正常なソフトウェアによる比較データB401の間に差分が発生する。そのため、不正なソフトウェアがメイン制御部20に書き込まれても、監視部30の比較データ記憶部31への更新を防止することで、比較データ整合性診断部21の診断により異常として検知を可能としている。
Next, the comparison
The comparison
次にCAN信号の送受信について説明する。
車両のCANネットワーク11より、変速機制御装置10のCANドライバ60を通してメイン制御部30でCAN信号の送受信を行う。受信する信号はメイン制御部20と監視部30の書き換えを行うための、メイン制御部書換ツール12からの書き換え命令や書き込まれるソフトウェアと、外部EEPROM部300の鍵情報記憶部301に記憶されている鍵情報等の情報である。
Next, transmission / reception of a CAN signal will be described.
The CAN signal is transmitted and received by the
次に、メイン制御部書換ツール12による、メイン制御部20の書き換え動作について説明する。
メイン制御部書換ツール12は、車両のCANネットワーク11に繋げられ、変速機制御装置10のCANドライバ60を通してメイン制御部20でCAN信号の送受信を行う。
メイン制御部書換ツール12から送られたCAN信号により、メイン制御部20の書換処理部40内のメイン制御部書換部44がメイン制御部20の書き換え動作を開始する。
Next, the rewriting operation of the
The main control unit rewriting tool 12 is connected to the CAN network 11 of the vehicle, and transmits and receives CAN signals by the
In response to the CAN signal sent from the main control unit rewriting tool 12, the main control unit rewriting unit 44 in the
次に、比較データ書込判定部42の動作について説明する。
書換処理部40の比較データ書込判定部42は、メイン制御書換部44の実行後に動作する。比較データ書込判定部42の入力情報は、外部EEPROM部300の鍵情報記憶部301に記憶されている鍵情報403と、EEPROM状態判定部24の判定結果であるEEPROM状態情報402である。この2つの情報より判定を行い、工場と販売店での書き換えであると判断した場合には監視部書込部41の動作を実行し、異常書き換えと判断した場合には監視部書込部41の動作を省略することで、監視部書込部41への書き込みを遮断することができる。
Next, the operation of the comparison data
The comparison data
この動作を図2のフローチャートを用いて説明する。
ステップS101において、メイン制御部書換部44による書き換え処理を行い、続くステップS102においてメイン制御部の書き換え成功/失敗を識別する。失敗の場合はステップS109において書き換え状態を「不正書換」と判断する。成功の場合は、次のステップS103でEEPROM状態情報402の工場状態/工場状態以外を識別する。工場状態の場合はステップS106において書き換え状態を「工場での書換」と判断する。工場状態以外の場合は、次のステップS104において鍵情報参照部43により外部EEPROM部300の鍵情報記憶部301から鍵情報403を読み出す。続くステップS105において鍵情報の正常/異常を識別する。異常の場合はステップS108において書き換え状態を「不正書換」と判断し、正常の場合はステップS107において書き換え状態を「販売店での書換」と判断する。
This operation will be described with reference to the flowchart of FIG.
In step S101, a rewriting process is performed by the main control unit rewriting unit 44, and rewriting success / failure of the main control unit is identified in subsequent step S102. In case of failure, it is determined in step S109 that the rewrite state is “illegal rewrite”. In the case of success, the factory state / non-factory state of the EEPROM state information 402 is identified in the next step S103. In the case of the factory state, it is determined in step S106 that the rewrite state is “rewriting at the factory”. In cases other than the factory state, the key
次にステップS110において直前に行った比較データ書込判定部42の判定結果から、書き換え状態が「工場での書換」/「販売店での書換」/「不正書換」のいずれか識別する。「工場での書換」/「販売店での書換」の場合は、続くステップS111において比較データ演算部22から比較データA400を算出する。次のステップS112において、先のステップS115で生成した比較データA400を、監視部書込部41によって監視部30の比較データ記憶部31に書き込む。ステップS110の識別結果が「不正書換」の場合は、監視部30への書き込み不要と判断し処理を終了する。これにより、第三者による不正なソフトウェアへの書き換えを防止し、不正なソフトウェアが書き込まれた場合でも、不正なソフトウェアの検知を可能とする。また工場での生産時には鍵情報を用いることなく監視部への書き込みを行うことで、生産性を下げることなく不正なソフトウェアへの書き換え防止効果を高めることが可能となる。
Next, from the determination result of the comparison data
10…変速機制御装置、20…メイン制御部、21…比較データ整合性診断部、22…比較データ演算部、23…比較データ読出部、24…EEPROM状態判定部、30…監視部、31…比較データ記憶部、32…比較データ送信部、40…書換処理部、41…監視部書込部、42…比較データ書込判定部、43…鍵情報参照部、44…メイン制御部書換部、50…内蔵EEPROM部、51…故障情報記憶部、60…CANドライバ、100…CANネットワーク、200…メイン制御部書換ツール、300…外部EEPROM部、301…鍵情報記憶部、400…比較データA、401…比較データB、402…EEPROM状態情報、403…鍵情報
DESCRIPTION OF
Claims (3)
前記メイン制御部は、
該メイン制御部のソフトウェアの整合性を診断する整合性診断部と、
前記ソフトウェアの比較データを演算する比較データ演算部と、
前記監視部から前記比較データを読み出す比較データ読出部と、
診断結果をバックアップする内蔵EEPROM部と、を有し、
前記監視部は、
前記比較データを記憶する比較データ記憶部と、
前記比較データ記憶部から前記比較データを前記比較データ読出部に送る比較データ送信部と、を有し、
前記整合性診断部が前記ソフトウェアの整合性の異常を診断すると、前記内蔵EEPROM部は異常情報と履歴を記憶することを特徴とする変速機制御装置。 In a transmission control device including a main control unit and a monitoring unit,
The main control unit
A consistency diagnostic unit for diagnosing the software consistency of the main control unit;
A comparison data calculation unit for calculating comparison data of the software;
A comparison data reading unit for reading the comparison data from the monitoring unit;
A built-in EEPROM section that backs up the diagnosis results;
The monitoring unit
A comparison data storage unit for storing the comparison data;
A comparison data transmission unit that sends the comparison data from the comparison data storage unit to the comparison data reading unit;
When the consistency diagnostic unit diagnoses an abnormality in the software consistency, the built-in EEPROM unit stores abnormality information and history.
前記メイン制御部は、メイン制御部書換部と、監視部書込部とを備え、
前記メイン制御部書換部による前記メイン制御部の書き換え時に、前記監視部書込部から前記監視部の前記比較データ記憶部に前記比較データが書き込まれる
ことを特徴とする変速機制御装置。 The transmission control device according to claim 1,
The main control unit includes a main control unit rewriting unit and a monitoring unit writing unit,
The transmission control device, wherein the comparison data is written from the monitoring unit writing unit to the comparison data storage unit of the monitoring unit when the main control unit rewriting unit rewrites the main control unit.
前記メイン制御部は、鍵情報参照部と、EEPROM状態判定部と、比較データ書込判定部と、CANドライバと、を備え、
前記EEPROM状態判定部による前記内臓EEPROM部の状態と、前記鍵情報参照部による前記CANドライバを通して読み出した前記鍵情報とにより、前記比較データ書込判定部が書き込み可能と判断した場合、
前記監視部書込部は前記監視部の前記比較データ記憶部に前記比較データを書き込む
ことを特徴とする変速機制御装置。 The transmission control device according to claim 1,
The main control unit includes a key information reference unit, an EEPROM state determination unit, a comparison data write determination unit, and a CAN driver.
When the comparison data write determination unit determines that writing is possible based on the state of the built-in EEPROM unit by the EEPROM state determination unit and the key information read through the CAN driver by the key information reference unit,
The transmission controller according to claim 1, wherein the monitoring unit writing unit writes the comparison data in the comparison data storage unit of the monitoring unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018048769A JP2019160107A (en) | 2018-03-16 | 2018-03-16 | Transmission controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018048769A JP2019160107A (en) | 2018-03-16 | 2018-03-16 | Transmission controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019160107A true JP2019160107A (en) | 2019-09-19 |
Family
ID=67994929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018048769A Pending JP2019160107A (en) | 2018-03-16 | 2018-03-16 | Transmission controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019160107A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022543497A (en) * | 2019-09-25 | 2022-10-12 | シフトファイブ・インコーポレーテッド | Passive monitoring and prevention of unauthorized firmware or software upgrades between computing devices |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002070636A (en) * | 2000-08-31 | 2002-03-08 | Suzuki Motor Corp | On-vehicle electronic controller, data rewrite system, data rewrite method, and storage medium |
JP2012242900A (en) * | 2011-05-16 | 2012-12-10 | Denso Corp | On-vehicle control unit |
JP2014056381A (en) * | 2012-09-12 | 2014-03-27 | Keihin Corp | Electronic control device for vehicle |
JP2016134082A (en) * | 2015-01-21 | 2016-07-25 | 株式会社デンソー | Microcomputer |
JP2017126204A (en) * | 2016-01-14 | 2017-07-20 | 株式会社デンソー | Data communication system for vehicle |
-
2018
- 2018-03-16 JP JP2018048769A patent/JP2019160107A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002070636A (en) * | 2000-08-31 | 2002-03-08 | Suzuki Motor Corp | On-vehicle electronic controller, data rewrite system, data rewrite method, and storage medium |
JP2012242900A (en) * | 2011-05-16 | 2012-12-10 | Denso Corp | On-vehicle control unit |
JP2014056381A (en) * | 2012-09-12 | 2014-03-27 | Keihin Corp | Electronic control device for vehicle |
JP2016134082A (en) * | 2015-01-21 | 2016-07-25 | 株式会社デンソー | Microcomputer |
JP2017126204A (en) * | 2016-01-14 | 2017-07-20 | 株式会社デンソー | Data communication system for vehicle |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022543497A (en) * | 2019-09-25 | 2022-10-12 | シフトファイブ・インコーポレーテッド | Passive monitoring and prevention of unauthorized firmware or software upgrades between computing devices |
JP7185098B2 (en) | 2019-09-25 | 2022-12-06 | シフトファイブ・インコーポレーテッド | Passive monitoring and prevention of unauthorized firmware or software upgrades between computing devices |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6594732B2 (en) | Fraud frame handling method, fraud detection electronic control unit, and in-vehicle network system | |
JP5423754B2 (en) | Bus monitoring security device and bus monitoring security system | |
US10268557B2 (en) | Network monitoring device, network system, and computer program product | |
JP6737189B2 (en) | Fraud determination system and fraud determination method | |
CN109670319B (en) | Server flash safety management method and system thereof | |
KR101446525B1 (en) | System and method for preventing car hacking and a medium having computer readable program for executing the method | |
JP4253979B2 (en) | Inspection method for in-vehicle control unit | |
US10977912B2 (en) | Method and device for detecting breakage of window glass | |
CN101369141A (en) | Protection unit for a programmable data processing unit | |
JP2019160107A (en) | Transmission controller | |
US7233879B1 (en) | System and method of agent self-repair within an intelligent agent system | |
KR101583545B1 (en) | Security providing method of improving security of application in mobile device using respective debugging monitoring | |
JP2012104064A (en) | Failure diagnostic device for ram and program thereof | |
US20220019669A1 (en) | Information processing device | |
CN113206823A (en) | Industrial information safety monitoring method and device, computer equipment and storage medium | |
JP6404848B2 (en) | Monitoring device and communication system | |
JP2022007238A (en) | Information processing device, information processing method and program | |
US20060107133A1 (en) | Tampering-protected microprocessor system and operating procedure for same | |
JP2023170125A (en) | Security method and security device | |
US11361600B2 (en) | Method for authenticating a diagnostic trouble code generated by a motor vehicle system of a vehicle | |
CN114007906B (en) | Safety processing device | |
KR102311786B1 (en) | Apparatus and method for enhancing security of distribution automation system | |
US11036846B2 (en) | Control device | |
JP2002235599A (en) | Trouble diagnosing device for cab-over type truck | |
WO2024018684A1 (en) | State determination device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180319 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200228 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200302 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201216 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201222 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20210107 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20210115 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210216 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20210803 |