Controller local area network bus encryption method, device, equipment and medium

A technology of network bus and encryption method, applied in bus network, data exchange network, data exchange through path configuration, etc., can solve the problem of no CAN bus encryption method, etc.

Active Publication Date: 2021-08-20
CHINA FIRST AUTOMOBILE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There is no better C

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Controller local area network bus encryption method, device, equipment and medium
  • Controller local area network bus encryption method, device, equipment and medium
  • Controller local area network bus encryption method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 It is a flow chart of a controller area network bus encryption method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the sending end encrypts the message to be sent corresponding to the CAN bus. The controller area network bus encryption method applied to the sending end provided in this embodiment can be executed by the controller area network bus encryption device applied to the sending end provided in the embodiment of the present invention, and the device can be implemented by means of software and / or hardware. and integrated in an electronic device for performing the method.

[0034] see figure 1 , the method of this embodiment includes but not limited to the following steps:

[0035] S110. Determine the key of the message to be sent corresponding to the CAN bus, and send the key to the receiving end through the CAN bus.

[0036] Wherein, the sending end and the receiving end may be: a processor i...

Embodiment 2

[0055] Figure 2A It is a flowchart of a controller area network bus encryption method provided by Embodiment 2 of the present invention. The embodiments of the present invention are optimized on the basis of the foregoing embodiments. Optionally, this embodiment explains in detail the process of determining the key of the message to be sent and encrypting the message to be sent according to the key to obtain the encrypted message.

[0056] see Figure 2A , the method of this embodiment includes but not limited to the following steps:

[0057] S210. Obtain the total number of signals included in the message to be sent corresponding to the CAN bus and the importance of each signal.

[0058] S220. Determine whether the total number of signals exceeds a threshold of the number of numbers contained in the key.

[0059] If yes, execute S230; if not, execute S240;

[0060] S230, determine the signal to be encrypted according to the importance of each signal, and for each signal...

Embodiment 3

[0089] image 3 It is a flowchart of a controller area network bus encryption method provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where the receiving end receives the key of the message to be sent and the encrypted message sent by the sending end. The controller area network bus encryption method applied to the receiving end provided in this embodiment can be executed by the controller area network bus encryption device applied to the receiving end provided in the embodiment of the present invention, and the device can be implemented by means of software and / or hardware. and integrated in an electronic device for performing the method.

[0090] see image 3 , the method of this embodiment includes but not limited to the following steps:

[0091] S310, receiving the key of the message to be sent corresponding to the CAN bus sent by the sending end through the CAN bus, wherein the key is determined by the sending end.

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a controller local area network bus encryption method and device, equipment and a medium. The method comprises the following steps: determining a key of a message to be sent corresponding to a controller area network (CAN) bus, and sending the key to a receiving end through the CAN bus; and encrypting the message to be sent according to the key to obtain an encrypted message, and sending the encrypted message to the receiving end through the CAN bus, so that the receiving end decrypts the received encrypted message according to the key. According to the technical scheme provided by the embodiment of the invention, through interaction between the sending end and the receiving end, CAN bus encryption can be simply and quickly realized, the to-be-sent message corresponding to the CAN bus does not need to be processed, and the network load and the burden of a processor are reduced.

Description

technical field [0001] The embodiments of the present invention relate to encryption technology, and in particular to a controller area network bus encryption method, device, equipment and medium. Background technique [0002] With the application of vehicle-mounted Ethernet, the security vulnerability of the vehicle-mounted Controller Area Network (CAN) bus has been exposed, and how to encrypt the CAN bus has become an important research direction. [0003] Among the commonly used CAN bus encryption methods, the Advanced Encryption Standard (AES) encryption algorithm is widely used, but the block length of the AES encryption algorithm is fixed at 128 bits, and the maximum data length of the message data of the CAN bus It is 64 bits, so it is necessary to reassemble the message data of the CAN bus to obtain new data, encrypt the new data through the AES encryption algorithm, and then transmit the encrypted data through the CAN bus. [0004] There is no better CAN bus encryp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L12/40
CPCH04L63/0428H04L12/40006H04L2012/40215
Inventor 李玉发孙琦孙克文边泽宇刘丽敏赵萌王彦聪汤利顺张天
Owner CHINA FIRST AUTOMOBILE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products