A can bus communication method based on pseudo-random numbers

A CAN bus, pseudo-random number technology, applied in the field of CAN bus communication, can solve problems such as packet loss and delay error judgment or misjudgment, low security, and CAN bus communication is easy to be attacked, so as to prevent forgery attacks and secure sex high effect

Active Publication Date: 2021-03-02
BEIJING BANGCLE TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] This application provides a CAN bus communication method based on pseudo-random, which is used to solve the problems that CAN bus communication in the prior art is easy to be attacked, the security is not high, and wrong judgment or misjudgment will occur in the case of packet loss and delay.

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 can bus communication method based on pseudo-random numbers
  • A can bus communication method based on pseudo-random numbers
  • A can bus communication method based on pseudo-random numbers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the technical characteristics and effects of the present application more obvious, the technical solutions of the present application will be further described below in conjunction with the accompanying drawings. The present application can also be described or implemented with other different specific examples. The equivalent transformations made within all belong to the protection category of the present application.

[0025] In the description of this specification, descriptions with reference to the terms "an embodiment", "a specific embodiment", "an implementation" or "for example" mean specific features, structures or characteristics described in conjunction with the embodiment or example Included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the described specific features, structures or...

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 invention provides a CAN bus communication method based on a pseudo-random number. The CAN bus communication method comprises the steps that a CAN message sending terminal is used for generating arandom seed; a first random function is utilized to generate a first random number according to the random seed; the random seed and the first random number are stored in a CAN message to update theCAN message, and the updated CAN message is sent to a CAN message receiving terminal; the CAN message receiving terminal is used for receiving the CAN message sent by the CAN message sending terminal;the CAN message is parsed to obtain the random seed and the first random number, and the first random number is generated according to the random seed by utilizing the first random function; whetherthe generated first random number is the same as the first random number obtained through parsing or not is judged, if yes, response is made to the CAN message. By storing the randomly generated random seed and the first random number in the CAN message, it can be ensured that CAN messages are different, accordingly the CAN messages do not have foreseeability, forgery attack can be prevented, andthe CAN bus communication method has the advantage of high safety.

Description

technical field [0001] The application belongs to the field of CAN bus communication, in particular to a CAN bus communication method based on pseudo-random numbers. Background technique [0002] In the prior art, the way to prevent CAN bus attacks is the CAN bus rolling code mechanism, and the CAN bus rolling code mechanism is mostly changed in an arithmetic or proportional way, that is, a sequence is generated in an arithmetic or proportional way, and when sending a message, press The sequence extracts the values ​​from the sequence and puts them in the message. [0003] There are following defects in the above-mentioned mode of preventing CAN bus attack: [0004] 1) It is predictable and derivable, and the security is not high. Attackers can easily implement forgery attacks by learning the changing rules of rolling codes. [0005] 2) Misjudgment will occur in the case of packet loss and delay. Contents of the invention [0006] This application provides a CAN bus com...

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): H04L29/06H04L12/40H04L9/08
Inventor 阚志刚卢佐华裴元奇彭建芬陈彪
Owner BEIJING BANGCLE TECH CO LTD
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