CAN Bus Data Encryption Using Pre-Encryption and XOR Checks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The integration of digital biometric recognition technologies such as facial and fingerprint recognition in automotive electronics faces challenges in ensuring data security and resisting replay and forgery attacks, particularly in vehicle-mounted systems like the CAN bus, where data is transmitted in plaintext form, lacking effective response mechanisms against unauthorized access and real-time transmission requirements.

Innovation Solution

A two-step encryption process combining pre-encryption and exclusive OR operations is employed, where data is pre-encrypted in idle times and synchronized between devices, ensuring secure and real-time transmission by using random number arrays and check codes to verify data integrity and resist attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If channel estimation is performed for every scheduled cell in multi-cell multi-user MIMO, then channel estimation accuracy is improved, but uplink pilot contamination occurs and system performance deteriorates

Engineering Contradiction:
Improvechannel estimation accuracyVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent segments the channel estimation process by introducing a two-stage approach: first performing channel estimation only for anchor cells, then using the anchor cell channel state information to estimate channels for non-anchor cells. This segmentation avoids the pilot contamination that occurs when all cells simultaneously perform channel estimation with overlapping pilot sequences.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces anchor cells as intermediaries that serve as reference points for channel estimation. The anchor cell CSI acts as a mediator to facilitate the estimation of non-anchor cell channels, enabling accurate channel knowledge without requiring direct pilot transmission from all cells, thus avoiding pilot contamination.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If beamforming is applied in multi-cell MIMO, then spectral efficiency is improved, but uplink pilot contamination and downlink data leakage occur

Engineering Contradiction:
Improvespectral efficiencyVSAvoiduplink pilot contamination and downlink data leakage
Core Design Contradiction:
ProductivityVSObject-generated harmful factors

Solution Approach 1:

The patent performs preliminary channel estimation for anchor cells before proceeding to non-anchor cell estimation. This preliminary action establishes accurate reference channel information that enables subsequent beamforming operations without the interference of simultaneous pilot transmissions from all cells, thereby preventing pilot contamination and data leakage.

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If non-orthogonal multiple access is used, then system capacity is improved, but interference management complexity increases

Engineering Contradiction:
Improvesystem capacityVSAvoidinterference management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments users into two groups: anchor users whose channels are estimated directly from pilot signals, and non-anchor users whose channels are estimated using anchor user CSI. This segmentation enables non-orthogonal multiple access by allowing overlapping pilot sequences while managing interference through the two-stage estimation approach, thereby increasing system capacity without proportionally increasing complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP4325766B1Data transmission method and communication apparatus
Publication Date: 2025.11.05 YINWANG INTELLIGENT TECHNOLOGIES CO LTD
  • EP4325766B1 patent drawingFigure 1
  • EP4325766B1 patent drawingFigure 2
  • EP4325766B1 patent drawingFigure 3~4

AI summary

This application provides a data transmission method and a communication apparatus. The method includes: determining, by a first device, a first array, where the first array includes at least one random number; determining first data based on the first array, where the first data belongs to first memory data of the first device; determining third data based on an exclusive OR operation on the first memory data and second data, where the second data is to-be-transmitted data; determining a first check code based on a remaining data length of the first memory data, a data length of the second data, and the third data, where the first check code is used to check whether the third data is correct; and sending the data length of the first memory data, the data length of the second data, the third data, and the first check code to a second device. According to the method, in this application, data can be quickly and effectively encrypted, security performance of CAN bus communication can be improved, anti-theft performance of an entire vehicle can be enhanced, and a high real-time transmission requirement of the vehicle can be further met.