A kind of car CAN bus encryption method

A technology of CAN bus and encryption method, which is applied in the direction of bus network, encryption device with shift register/memory, digital transmission system, etc., can solve problems such as low efficiency, easy to be affected by environmental factors, and unable to guarantee the sending order, and achieve The effect of ensuring safety

CN110545257BActive Publication Date: 2022-02-25BEIJING HANGSHENG NEW ENERGY TECH CO LTD
6 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-02-25

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention relates to a method for encrypting an automobile CAN bus. Firstly, a sending node reassembles the data to be sent in the CAN bus network into several data blocks according to the block byte length requirements of the AES encryption algorithm, and adds a verification mechanism to each data block. And add a check digit at the end of the end data block, and then use random data to fill the end data block, use the AES encryption algorithm to encrypt each data block to obtain each ciphertext data block, and then send the node to each ciphertext data After dividing the block into data and setting the time mark and order mark, it is sent to the receiving node through the CAN network. The receiving node receives each ciphertext data block and checks its integrity. The time mark and the order mark are set to be extracted, spliced ​​and decrypted, and after decryption, combined with the verification mechanism for verification to confirm the validity of the data transmission, which improves the efficiency of data transmission and ensures the security of data information transmission on the car.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The present invention relates to the field of automotive internal local area network data transmission technology, and more particularly to a car CAN bus encryption method. Background technique

[0002] In the field of modern automotive applications, controller partnernetwork is a multi-host local network that Bosch's focus on its high performance, high reliability, and real-time performance, it has been widely used in industrial automation, and various controls. Many fields such as equipment, vehicles, medical instruments, and buildings, environmental controls. With the high-speed development of electric and mixed vehicles, new electronic control units such as battery management systems are introduced inside the vehicle, and the control communication of vehicle is realized using the CAN network. However, due to more and more vehicles connected to the Internet, the local network originally closed, the local network of the closed, and in the large Internet e...

Examples

Embodiment Construction

[0025] The invention will be further described in detail below with reference to the accompanying drawings.

[0026] The present invention relates to a method of encryption of a car CAN bus, such as figure 1The first preferred flowchart shown, the method first transmits the node to re-combined the data block as several data blocks according to the AES encryption algorithm block byte length, and increase the school for each data block. The control mechanism and the end data block are added at the end of the end data block, and then use the random data to reset the end data block. Use the AES encryption algorithm to encrypt each ciphertext block, send nodes to each secret The text data block performs data segmentation and sets the time identity and the order identity to send it to the receiving node through the CAN network, the receiving node receives each ciphertext data block and detects its integrity, and then confirmed by the test results to abandon the reception or receive Afte...