技术领域technical field
本实用新型涉及汽车监控技术,特别是涉及一种基于智能移动设备的汽车ECU信息监控系统的技术。The utility model relates to an automobile monitoring technology, in particular to a technology of an automobile ECU information monitoring system based on an intelligent mobile device.
背景技术Background technique
车载ECU(ElectronicControlUnit,电子控制单元),又称“行车电脑”、“车载电脑”等,从用途上讲则是汽车专用微机控制器,它和普通的电脑一样,由微处理器(CPU)、存储器(ROM、RAM)、输入/输出接口(I/O)、模数转换器(A/D)以及整形、驱动等大规模集成电路组成。通过车载ECU可以获取车辆的行驶里程、速度、油耗、水温等车辆常规技术状态方面的信息,安全信息主要包括轮胎气压、轮胎内温度、气囊状态、前后车距等与车辆安全行使有关的信息。Vehicle ECU (Electronic Control Unit, electronic control unit), also known as "driving computer", "vehicle computer", etc., is a special microcomputer controller for automobiles in terms of use. It is the same as an ordinary computer. It consists of a microprocessor (CPU), Memory (ROM, RAM), input/output interface (I/O), analog-to-digital converter (A/D), shaping, driving and other large-scale integrated circuits. The on-board ECU can obtain the vehicle’s mileage, speed, fuel consumption, water temperature and other information on the vehicle’s conventional technical status. The safety information mainly includes tire pressure, tire temperature, airbag status, front and rear distances and other information related to vehicle safety.
现有的获取车载ECU数据的方式有以下几种:The existing ways to obtain vehicle ECU data are as follows:
1)对于支持ISO15301-5OBD2标准协议的车辆,可以通过OBD接口读取出车载ECU中所有的信息;不同车型OBD接口位置不同,如一汽丰田的新RAV4,OBD接口紧贴在内饰挡板的背面,若安装读取信息的设备,将会影响驾驶安全;类似情况也存在于上海大众朗逸、广汽丰田雅阁等多款车型上,设备安装不仅影响驾驶安全,还会造成OBD接口读取数据不准确。1) For vehicles that support the ISO15301-5OBD2 standard protocol, all the information in the vehicle ECU can be read through the OBD interface; the position of the OBD interface is different for different models, such as the new RAV4 of FAW Toyota, the OBD interface is close to the interior baffle On the back, if a device for reading information is installed, it will affect driving safety; similar situations also exist in Shanghai Volkswagen Lavida, GAC Toyota Accord and other models. precise.
2)通过CAN总线获取数据,该方式通过专用的汽车CAN总线设备(USBCAN-IIPro、USBCAN-OBD等)将所需的信号数据段读出并保存,专业工程师将使用分析软件对数据进行归类解析;通过此种方式读取车载ECU数据,需要专业工程师及设备才能实现,且数据解析的时间较长。2) Obtain data through the CAN bus. In this way, the required signal data segment is read out and saved through a dedicated automotive CAN bus device (USBCAN-IIPro, USBCAN-OBD, etc.), and professional engineers will use analysis software to classify the data Parsing; reading vehicle-mounted ECU data in this way requires professional engineers and equipment, and data parsing takes a long time.
实用新型内容Utility model content
针对上述现有技术中存在的缺陷,本实用新型所要解决的技术问题是提供一种能方便、安全的获取汽车工况数据的基于智能移动设备的汽车ECU信息监控系统。Aiming at the defects in the above-mentioned prior art, the technical problem to be solved by the utility model is to provide an automobile ECU information monitoring system based on an intelligent mobile device that can conveniently and safely obtain automobile working condition data.
为了解决上述技术问题,本实用新型所提供的一种基于智能移动设备的汽车ECU信息监控系统,包括车载ECU,其特征在于:还包括车载蓝牙模块、车载加密解密模块、移动终端;In order to solve the above-mentioned technical problems, a kind of automobile ECU information monitoring system based on intelligent mobile equipment provided by the utility model includes a vehicle-mounted ECU, and is characterized in that: it also includes a vehicle-mounted Bluetooth module, a vehicle-mounted encryption and decryption module, and a mobile terminal;
所述车载ECU通过SPI总线与车载加密解密模块互联,所述车载加密解密模块通过数据总线与车载蓝牙模块互联;The vehicle-mounted ECU is interconnected with the vehicle-mounted encryption and decryption module through the SPI bus, and the vehicle-mounted encryption and decryption module is interconnected with the vehicle-mounted Bluetooth module through the data bus;
所述移动终端内置有机载微处理器、机载蓝牙模块、机载加密解密模块,The mobile terminal has a built-in on-board microprocessor, an on-board Bluetooth module, and an on-board encryption and decryption module,
所述机载微处理器通过数据总线与机载加密解密模块互联,所述机载加密解密模块通过数据总线与机载蓝牙模块互联,所述机载蓝牙模块通过蓝牙通信方式与车载蓝牙模块互联。The on-board microprocessor is interconnected with the on-board encryption and decryption module through the data bus, the on-board encryption and decryption module is interconnected with the on-board Bluetooth module through the data bus, and the on-board Bluetooth module is interconnected with the on-board Bluetooth module through Bluetooth communication .
进一步的,所述移动终端是手机、平板电脑或笔记本电脑。Further, the mobile terminal is a mobile phone, a tablet computer or a notebook computer.
进一步的,每个车载加密解密模块、机载蓝牙模块均配置有一个用于生成混沌密钥的混沌密钥生成模块;Further, each vehicle-mounted encryption and decryption module and the vehicle-mounted Bluetooth module are equipped with a chaotic key generation module for generating a chaotic key;
所述混沌密钥生成模块包括存储器、寄存器、第一异或门、第二异或门、左移位器;The chaotic key generation module includes a memory, a register, a first XOR gate, a second XOR gate, and a left shifter;
所述存储器、寄存器、左移位器均具有128位数据端口,所述第一异或门、第二异或门均具有64位数据端口;The memory, the register, and the left shifter all have 128-bit data ports, and the first XOR gate and the second XOR gate all have 64-bit data ports;
所述存储器的128位数据端口与寄存器的128位数据端口互联,所述第一异或门的64位数据端口与寄存器的高64位数据端口互联,所述第二异或门的64位数据端口与寄存器的低64位数据端口互联;The 128-bit data port of the memory is interconnected with the 128-bit data port of the register, the 64-bit data port of the first XOR gate is interconnected with the upper 64-bit data port of the register, and the 64-bit data port of the second XOR gate The port is interconnected with the lower 64-bit data port of the register;
所述左移位器的低64位数据端口与第二异或门的64位数据端口互联,左移位器的128位数据端口与寄存器的128位数据端口互联,左移位器的高64位数据端口构成混沌密钥生成模块的密钥输出端口;The low 64-bit data port of the left shifter is interconnected with the 64-bit data port of the second XOR gate, the 128-bit data port of the left shifter is interconnected with the 128-bit data port of the register, and the high 64-bit data port of the left shifter The bit data port constitutes the key output port of the chaotic key generation module;
车载加密解密模块的数据端口与其所配置的混沌密钥生成模块的密钥输出端口互联,机载蓝牙模块的数据端口与其所配置的混沌密钥生成模块的密钥输出端口互联。The data port of the vehicle-mounted encryption and decryption module is interconnected with the key output port of the configured chaotic key generation module, and the data port of the onboard Bluetooth module is interconnected with the key output port of the configured chaotic key generation module.
本实用新型提供的基于智能移动设备的汽车ECU信息监控系统,利用蓝牙通信方式将车载ECU采集的汽车工况数据传递给移动终端,这种信息获取方式不需要通过ODB接口,不会影响驾驶安全,而且数据信息通过加密解密模块加密后传输,传输安全性也较高;进一步的,移动终端可以采用现有的手机、平板电脑或笔记本电脑,能降低系统成本;进一步的,采用混沌密钥生成模块生成混沌密钥,能进行提高数据传输安全性。The vehicle ECU information monitoring system based on the intelligent mobile device provided by the utility model transmits the vehicle operating condition data collected by the vehicle ECU to the mobile terminal by means of Bluetooth communication. This information acquisition method does not need to pass through the ODB interface and will not affect driving safety. , and the data information is encrypted and transmitted by the encryption and decryption module, and the transmission security is also high; further, the mobile terminal can use the existing mobile phone, tablet computer or notebook computer, which can reduce the system cost; further, the use of chaotic key generation The module generates a chaotic key, which can improve the security of data transmission.
附图说明Description of drawings
图1是本实用新型实施例的基于智能移动设备的汽车ECU信息监控系统的结构示意图;Fig. 1 is the structural representation of the automobile ECU information monitoring system based on intelligent mobile device of the utility model embodiment;
图2是本实用新型实施例的基于智能移动设备的汽车ECU信息监控系统中的混沌密钥生成模块的结构示意图。Fig. 2 is a schematic structural diagram of a chaotic key generation module in an automobile ECU information monitoring system based on an intelligent mobile device according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图说明对本实用新型的实施例作进一步详细描述,但本实施例并不用于限制本实用新型,凡是采用本实用新型的相似结构及其相似变化,均应列入本实用新型的保护范围,本实用新型中的顿号均表示和的关系。The embodiments of the present utility model are described in further detail below in conjunction with the accompanying drawings, but the present embodiments are not intended to limit the present utility model. All similar structures and similar changes of the utility model should be included in the protection of the utility model. Scope, the comma in the utility model all represents and the relation.
如图1所示,本实用新型实施例所提供的一种基于智能移动设备的汽车ECU信息监控系统,包括车载ECU,其特征在于:还包括车载蓝牙模块、车载加密解密模块、移动终端;As shown in Figure 1, a kind of automobile ECU information monitoring system based on intelligent mobile equipment provided by the embodiment of the present invention comprises a vehicle-mounted ECU, and is characterized in that: it also includes a vehicle-mounted Bluetooth module, a vehicle-mounted encryption and decryption module, and a mobile terminal;
所述车载ECU通过SPI(串行外设接口)总线与车载加密解密模块互联,所述车载加密解密模块通过数据总线与车载蓝牙模块互联;The vehicle-mounted ECU is interconnected with the vehicle-mounted encryption and decryption module through an SPI (Serial Peripheral Interface) bus, and the vehicle-mounted encryption and decryption module is interconnected with the vehicle-mounted Bluetooth module through a data bus;
所述移动终端内置有机载微处理器、机载蓝牙模块、机载加密解密模块,The mobile terminal has a built-in on-board microprocessor, an on-board Bluetooth module, and an on-board encryption and decryption module,
所述机载微处理器通过数据总线与机载加密解密模块互联,所述机载加密解密模块通过数据总线与机载蓝牙模块互联,所述机载蓝牙模块通过蓝牙通信方式与车载蓝牙模块互联。The on-board microprocessor is interconnected with the on-board encryption and decryption module through the data bus, the on-board encryption and decryption module is interconnected with the on-board Bluetooth module through the data bus, and the on-board Bluetooth module is interconnected with the on-board Bluetooth module through Bluetooth communication .
本实用新型实施例中,所述移动终端是手机、平板电脑或笔记本电脑。In the embodiment of the present utility model, the mobile terminal is a mobile phone, a tablet computer or a notebook computer.
本实用新型实施例中,所述车载加密解密模块、机载加密解密模块均为现有技术,车载加密解密模块、机载加密解密模块可以采用微处理芯片实现,也可以采用市场上常规的加密狗,也可以采用逻辑门电路实现。In the embodiment of the utility model, the vehicle-mounted encryption and decryption module and the airborne encryption and decryption module are all existing technologies, and the vehicle-mounted encryption and decryption module and the airborne encryption and decryption module can be realized by micro-processing chips, or conventional encryption on the market. Dogs can also be implemented using logic gate circuits.
本实用新型实施例中,所述车载蓝牙模块、机载蓝牙模块采用的是CC2540F256芯片。In the embodiment of the utility model, the on-board Bluetooth module and the on-board Bluetooth module adopt the CC2540F256 chip.
本实用新型实施例的工作原理如下:The working principle of the utility model embodiment is as follows:
移动终端需要获取汽车工况数据时,通过机载微处理器发送汽车工况获取指令,该指令通过机载加密解密模块加密后,再通过机载蓝牙模块发送给车载蓝牙模块,再由车载蓝牙模块转发全车载加密解密模块,由车载加密解密模块解密后再转发给车载ECU;When the mobile terminal needs to obtain the vehicle working condition data, it sends the vehicle working condition acquisition command through the onboard microprocessor. After the command is encrypted by the onboard encryption and decryption module, it is sent to the vehicle Bluetooth module through the onboard Bluetooth module, and then the vehicle Bluetooth The module forwards the whole vehicle encryption and decryption module, which is decrypted by the vehicle encryption and decryption module and then forwarded to the vehicle ECU;
车载ECU收到来自移动终端的汽车工况获取指令后,采集汽车的各类工况数据,并通过SPI总线传送给车载加密解密模块,车载加密解密模块对车载ECU上传的数据进行加密后通过车载蓝牙模块发送给移动终端的机载蓝牙模块,移动终端的机载蓝牙模块将来自车载蓝牙模块的数据转发给机载加密解密模块,由机载加密解密模块进行解密后再发送给机载微处理器,再由机载微处理器对这些数据进行相应处理后输出到移动终端自带的显示屏进行数据展示。After the on-board ECU receives the vehicle working condition acquisition instruction from the mobile terminal, it collects various working condition data of the car and transmits it to the on-board encryption and decryption module through the SPI bus. The on-board encryption and decryption module encrypts the data uploaded by the on-board ECU and passes it The bluetooth module sends to the onboard bluetooth module of the mobile terminal, and the onboard bluetooth module of the mobile terminal forwards the data from the onboard bluetooth module to the onboard encryption and decryption module, which decrypts the data and then sends it to the onboard microprocessor The on-board microprocessor will process the data accordingly and then output it to the display screen of the mobile terminal for data display.
本实用新型实施例中,蓝牙通信的数据格式为:In the utility model embodiment, the data format of bluetooth communication is:
起始标识+BYTE1+BYTE2+BYTE3+BYTE4+BYTE5+结束标识;Start mark+BYTE1+BYTE2+BYTE3+BYTE4+BYTE5+end mark;
其中,起始标志为s,结束标志为e,BYTE1为ID编号,BYTE2为汽车胎压,BYTE3为汽车温度,BYTE4为车载电池剩余使用时间,BYTE5为车载电池状态(是否可用),BYTE6为校验位。Among them, the start symbol is s, the end symbol is e, BYTE1 is the ID number, BYTE2 is the car tire pressure, BYTE3 is the car temperature, BYTE4 is the remaining time of the car battery, BYTE5 is the status of the car battery (whether it is available), BYTE6 is the school check position.
如图2所示,本实用新型实施例中,每个车载加密解密模块、机载蓝牙模块均配置有一个用于生成混沌密钥的混沌密钥生成模块;As shown in Figure 2, in the utility model embodiment, each vehicle-mounted encryption and decryption module, airborne bluetooth module is all configured with a chaotic key generation module for generating chaotic key;
所述混沌密钥生成模块包括存储器、寄存器、第一异或门、第二异或门、左移位器;The chaotic key generation module includes a memory, a register, a first XOR gate, a second XOR gate, and a left shifter;
所述存储器、寄存器、左移位器均具有128位数据端口,所述第一异或门、第二异或门均具有64位数据端口;The memory, the register, and the left shifter all have 128-bit data ports, and the first XOR gate and the second XOR gate all have 64-bit data ports;
所述存储器的128位数据端口与寄存器的128位数据端口互联,所述第一异或门的64位数据端口与寄存器的高64位数据端口互联,所述第二异或门的64位数据端口与寄存器的低64位数据端口互联;The 128-bit data port of the memory is interconnected with the 128-bit data port of the register, the 64-bit data port of the first XOR gate is interconnected with the upper 64-bit data port of the register, and the 64-bit data port of the second XOR gate The port is interconnected with the lower 64-bit data port of the register;
所述左移位器的低64位数据端口与第二异或门的64位数据端口互联,左移位器的128位数据端口与寄存器的128位数据端口互联,左移位器的高64位数据端口构成混沌密钥生成模块的密钥输出端口;The low 64-bit data port of the left shifter is interconnected with the 64-bit data port of the second XOR gate, the 128-bit data port of the left shifter is interconnected with the 128-bit data port of the register, and the high 64-bit data port of the left shifter The bit data port constitutes the key output port of the chaotic key generation module;
车载加密解密模块的数据端口与其所配置的混沌密钥生成模块的密钥输出端口互联,机载蓝牙模块的数据端口与其所配置的混沌密钥生成模块的密钥输出端口互联。The data port of the vehicle-mounted encryption and decryption module is interconnected with the key output port of the configured chaotic key generation module, and the data port of the onboard Bluetooth module is interconnected with the key output port of the configured chaotic key generation module.
本实用新型实施例中,所述车载加密解密模块、机载加密解密模块可以利用混沌密钥生成模块生成的混沌密钥对传输的数据进行加密,混沌密钥的原理是通过容易记忆的种子密钥产生无限长的非周期的流密钥,然后用该流密码对明文加密,从而改变传统私钥加密中相同明文周期出现的问题,可间接实施“一次一密”的密钥,最终使密文不可解。In the embodiment of the utility model, the on-board encryption and decryption module and the on-board encryption and decryption module can use the chaotic key generated by the chaotic key generation module to encrypt the transmitted data. The key generates an infinitely long non-periodic stream key, and then uses the stream cipher to encrypt the plaintext, thereby changing the problem of the same plaintext period in the traditional private key encryption, and can indirectly implement the "one-time-one-pass" key, and finally make the encryption The text is incomprehensible.
混沌密钥生成模块的生成混沌密钥的工作原理如下:The working principle of the chaotic key generation module to generate the chaotic key is as follows:
在存储器中预先存放一个128位原始密钥,该原始密钥发送给寄存器开始混沌,寄存器再将其中的高64位发送给第一异或门,并将其中的低64位发送给第二异或门,再由第一异或门、第二异或门将原始密钥的高64位与原始密钥的低64位进行异或,异或结果再送入左移位器的低64位,然后左移位器将低64位左移至高64位,形成一个128位新密钥,实现一次混沌,然后将该新密钥送入寄存器再次混沌,如此往复混沌多次(混沌次数视具体需求设定)后形成最终的混沌密钥,最终混沌密钥中的高64位作为真正的通信密钥送入车载加密解密模块或机载加密解密模块。A 128-bit original key is pre-stored in the memory, and the original key is sent to the register to start chaos, and the register sends the high 64 bits to the first XOR gate, and the low 64 bits to the second XOR gate The OR gate, and then the first XOR gate and the second XOR gate XOR the upper 64 bits of the original key with the lower 64 bits of the original key, and the XOR result is sent to the lower 64 bits of the left shifter, and then The left shifter shifts the lower 64 bits to the upper 64 bits to the left to form a new 128-bit key to achieve chaos once, and then send the new key into the register to create chaos again. After setting), the final chaotic key is formed, and the upper 64 bits of the final chaotic key are sent to the on-board encryption and decryption module or on-board encryption and decryption module as the real communication key.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201521119218.5UCN205334222U (en) | 2015-12-30 | 2015-12-30 | Car ECU information monitoring system based on intelligent mobile device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201521119218.5UCN205334222U (en) | 2015-12-30 | 2015-12-30 | Car ECU information monitoring system based on intelligent mobile device |
| Publication Number | Publication Date |
|---|---|
| CN205334222Utrue CN205334222U (en) | 2016-06-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201521119218.5UExpired - Fee RelatedCN205334222U (en) | 2015-12-30 | 2015-12-30 | Car ECU information monitoring system based on intelligent mobile device |
| Country | Link |
|---|---|
| CN (1) | CN205334222U (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106184072A (en)* | 2016-07-19 | 2016-12-07 | 成都安程通科技有限公司 | automobile ECU information monitoring system based on mobile terminal |
| CN106230583A (en)* | 2016-07-19 | 2016-12-14 | 成都安程通科技有限公司 | Automobile ecu information monitoring system |
| CN106549940A (en)* | 2016-10-13 | 2017-03-29 | 北京奇虎科技有限公司 | Vehicle data transmission method and system |
| CN106685934A (en)* | 2016-12-14 | 2017-05-17 | 镇江恒驰科技有限公司 | Method of parameter monitoring and optimization calibration by using mobile phone |
| CN108363347A (en)* | 2017-01-27 | 2018-08-03 | 李尔公司 | Hardware security for electronic control unit |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106184072A (en)* | 2016-07-19 | 2016-12-07 | 成都安程通科技有限公司 | automobile ECU information monitoring system based on mobile terminal |
| CN106230583A (en)* | 2016-07-19 | 2016-12-14 | 成都安程通科技有限公司 | Automobile ecu information monitoring system |
| CN106549940A (en)* | 2016-10-13 | 2017-03-29 | 北京奇虎科技有限公司 | Vehicle data transmission method and system |
| CN106549940B (en)* | 2016-10-13 | 2019-11-26 | 北京奇虎科技有限公司 | Vehicle data transmission method and system |
| CN106685934A (en)* | 2016-12-14 | 2017-05-17 | 镇江恒驰科技有限公司 | Method of parameter monitoring and optimization calibration by using mobile phone |
| CN108363347A (en)* | 2017-01-27 | 2018-08-03 | 李尔公司 | Hardware security for electronic control unit |
| US10664413B2 (en) | 2017-01-27 | 2020-05-26 | Lear Corporation | Hardware security for an electronic control unit |
| CN108363347B (en)* | 2017-01-27 | 2021-07-20 | 李尔公司 | Hardware security for electronic control unit |
| US11314661B2 (en) | 2017-01-27 | 2022-04-26 | Lear Corporation | Hardware security for an electronic control unit |
| Publication | Publication Date | Title |
|---|---|---|
| CN205334222U (en) | Car ECU information monitoring system based on intelligent mobile device | |
| US9953467B2 (en) | Secure vehicular data management with enhanced privacy | |
| CN105450645B (en) | On-board automatic diagnosis system data transmission method | |
| WO2016134610A1 (en) | Road train data authentication method and on-board terminal | |
| DE102018100157A1 (en) | Method and apparatus for decryption, encryption and authentication | |
| CN104699686A (en) | Vehicle-mounted control module and matching method thereof | |
| CN105897669A (en) | Data sending method, data receiving method, sending terminal, receiving terminal and CAN bus network | |
| CN102514544A (en) | Engine anti-theft system | |
| Poudel et al. | Design and comparative evaluation of GPGPU-and FPGA-based MPSoC ECU architectures for secure, dependable, and real-time automotive CPS | |
| CN111865901A (en) | Information encryption transmission method based on CAN bus | |
| CN102951116B (en) | Antitheft locking method for power system of hybrid vehicle | |
| KR101953908B1 (en) | Security System and Method of Embeded software in Vehicle electric device | |
| Hartzell et al. | Security analysis of an automobile controller area network bus | |
| CN120090848A (en) | A vehicle bus data processing method, device and vehicle | |
| Solomon et al. | Limon-lightweight authentication for tire pressure monitoring sensors | |
| CN107640124A (en) | Onboard safety systems | |
| CN106230583A (en) | Automobile ecu information monitoring system | |
| CN203580878U (en) | Man-vehicle matching safety management equipment | |
| CN206004686U (en) | The LIN bus main and subordinate node structure of onboard system | |
| CN106184072A (en) | automobile ECU information monitoring system based on mobile terminal | |
| CN202795016U (en) | Vehicular central control device | |
| CN113918187A (en) | A CAN bus-based multi-chip upgrade system and method for automotive instrumentation | |
| Groza et al. | An Experimental Model for In-vehicle Networks and Subsystems. | |
| Nair | Smart car hacking: a threat to the rising automotive industry | |
| CN112187878A (en) | Control flow of new energy automobile vehicle control system |
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20160622 Termination date:20181230 | |
| CF01 | Termination of patent right due to non-payment of annual fee |