Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A controller area network bus encryption method, device, equipment and medium

A technology of network bus and encryption method, which is applied in the direction of bus network, data exchange network, security communication device, etc., can solve the problems such as the lack of CAN bus encryption method, and achieve the effect of simple and fast encryption and reduce the burden

Active Publication Date: 2022-07-19
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 CAN bus encryption method yet

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
  • A controller area network bus encryption method, device, equipment and medium
  • A controller area network bus encryption method, device, equipment and medium
  • A controller area network bus encryption method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 This is a flowchart of a method for encrypting a controller area network bus provided in Embodiment 1 of the present invention, and this embodiment can be applied to a situation where a sending end encrypts a message to be sent corresponding to a CAN bus. The controller area network bus encryption method applied to the sender provided in this embodiment may be executed by the controller area network bus encryption device applied to the sender provided by the embodiment of the present invention, and the apparatus may be implemented by software and / or hardware. and integrated in the electronic device that executes the method.

[0034] see figure 1 , the method of this embodiment includes but is 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] The sending end and the receiving end may be: a processor in any electronic d...

Embodiment 2

[0055] Figure 2A This is a flowchart of a method for encrypting a controller area network bus according to Embodiment 2 of the present invention. The embodiments of the present invention are optimized on the basis of the foregoing embodiments. Optionally, in this embodiment, 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 is explained in detail.

[0056] see Figure 2A , the method of this embodiment includes but is 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,...

Embodiment 3

[0087] image 3 The third embodiment of the present invention is a flowchart of a method for encrypting a controller area network bus. This embodiment is applicable to the situation where the receiving end receives the key of the to-be-sent message and the encrypted message sent by the sending end. The controller area network bus encryption method applied to the receiving end provided by this embodiment may be executed by the controller area network bus encryption device applied to the receiving end provided by the embodiment of the present invention, and the device may be implemented by software and / or hardware. and integrated in the electronic device that executes the method.

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

[0089] S310: Receive the key of the message to be sent corresponding to the CAN bus sent by the sending end through the CAN bus, where the key is determined by the sending end.

[0090] After t...

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

Embodiments of the present invention disclose a method, device, device and medium for encrypting a controller area network bus. The method includes: determining the key of the message to be sent corresponding to the CAN bus of the controller area network, and sending the key to the receiving end through the CAN bus; encrypting the message to be sent according to the key to obtain the encrypted message, The encrypted message is sent to the receiving end through the CAN bus, so that the receiving end decrypts the received encrypted message according to the key. The technical solutions provided by the embodiments of the present invention can simply and quickly implement CAN bus encryption through the interaction between the sending end and the receiving end, without the need to process the messages to be sent corresponding to the CAN bus, reducing network load and processor load. burden.

Description

technical field [0001] Embodiments of the present invention relate to encryption technologies, and in particular, to a controller area network bus encryption method, apparatus, device, and medium. Background technique [0002] With the application of in-vehicle Ethernet, the security weakness of the in-vehicle 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 CAN bus message data It is 64 bits, so it is necessary to recombine 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 encryption method yet. SUMM...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/40H04L12/40
CPCH04L63/0428H04L12/40006H04L2012/40215
Inventor 李玉发孙琦孙克文边泽宇刘丽敏赵萌王彦聪汤利顺张天
Owner CHINA FIRST AUTOMOBILE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products