CAN bus data encryption and decryption method and device
A technology of CAN bus and encryption method, which is applied in the field of encryption and decryption of CAN bus data, can solve the problems of economic loss of service and leasing units, data easy to crack, and data easy to crack, so as to reduce the possibility of tampering and improve safety effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 1 A flowchart of a method for encrypting CAN bus data provided by Embodiment 1 of the present invention, figure 2 For a CAN bus data architecture diagram provided in Embodiment 1 of the present invention, please refer to figure 1 and figure 2 , the present embodiment provides a kind of encryption method of CAN bus data, is used on engineering machinery, and described CAN bus is connected to control unit, and described control unit stores preset function, and the encryption method of described CAN bus data comprises: The control unit generates a single-byte random number, and the range of the single-byte random number is 1-255. The single-byte random number is processed by a preset function to obtain a random ID with an ID field of 29 bits, that is, the random ID The address range is 16#00000000-16#1FFFFFFF, wherein the preset function is a reversible function, and the random ID for sending encrypted data is random every time, which improves the security of th...
Embodiment 2
[0046] Figure 4For the flow chart of a CAN bus data encryption and decryption method provided in Embodiment 2 of the present invention, please refer to Figure 4 , this embodiment provides a method for encrypting CAN bus data, the difference from Embodiment 1 is that the control unit generates at least two single-byte random numbers, and there is a predetermined number between the single-byte random numbers. Assuming a data relationship, at least two random IDs are sent to the CAN bus each time encryption is performed, and the true value exists in one of the random IDs, and the preset data relationship is used to determine whether the random ID carries the The single-byte random number of true value. The random ID for sending encrypted data is random every time, which improves the security of the data and avoids the economic loss caused by the modification of important parameters (hour meter, GPS parameters) of the service and leasing units. In addition, at least two IDs are...
Embodiment 3
[0051] The present invention also provides an encryption device and a decryption device for CAN bus data, wherein the encryption device includes a storage unit and a control unit;
[0052] The storage unit is used to store instructions, and the instructions are used to control the control unit to operate to perform the above-mentioned CAN bus data encryption method, and the random ID for sending encrypted data is random every time, which improves the security of the data To avoid economic losses caused by modification of important parameters (hour meter, GPS parameters) of service and leasing units.
[0053] The decryption device includes an execution unit, which is used to execute the above-mentioned CAN bus data decryption method, and the execution unit may be an electronic monitor, a GPS terminal and other equipment.
[0054] In summary, a method and device for encrypting and decrypting CAN bus data provided by the present invention utilizes a control unit to generate a sin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com