Automobile electric appliance and information system CAN bus controller authentication method

By setting a unique message authentication mechanism in automotive electrical appliances and information systems, and using electronic control units to produce data fields such as flow number and vehicle identification code, the network security capability of CAN bus controllers in the prior art is solved. The problem of this problem has achieved high reliability and low cost certification technology, protecting the safety and intellectual property rights of vehicles and parts.

CN119030772APending Publication Date: 2024-11-26ZHONGZHI ZHITONG TESTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411163076.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing automotive electrical appliances and information system CAN bus controllers have insufficient network security capabilities and cannot meet users' security and cost needs.

Method used

By setting a unique message authentication mechanism, using the electronic control unit to produce secure access rights control of data fields such as flow number, identifier and vehicle identification code, the CAN bus controller authentication is realized to ensure the uniqueness and immutability of data. .

Benefits of technology

Improve the safety and credibility of automotive electrical appliances and information systems, protect the intellectual property rights and operating environment of vehicles and parts, enhance users' credible experience of after-sales maintenance and repair, and provide intelligent connected vehicles with Trusted security technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030772A_ABST
    Figure CN119030772A_ABST
Patent Text Reader

Abstract

The invention relates to an automobile electric appliance and information system CAN bus controller authentication method, which comprises the following steps of: writing an ECU SN in a mass production offline process; in the vehicle manufacturing process, the ECU SN is read, the ECU ID and the VIN are written in, and the vehicle compliance database is associated; when the electronic control unit of the vehicle is maintained and replaced, the vehicle compliance database is authorized to be accessed, the vehicle manufacturing process is executed again, and the latest state is synchronized; the vehicle is associated to the vehicle compliance database through the VIN in the registration and scrapping stages; and whether an untrusted electronic controller is accessed or not is found through data matching in the automobile compliance database. On the basis that traditional CAN bus communication is not affected, safe access authority control is conducted on data fields such as the ECU SN, the ECU ID and the VIN, the credible authentication technology with high reliability and low cost is achieved, and intellectual property rights of vehicles and parts and safety of the operation environment can be protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy vehicles, and in particular to a method for authenticating a CAN bus controller of an automobile electrical appliance and information system. Background Art

[0002] With the advancement of technology, the application of intelligent pedestrian protection systems, advanced driver assistance systems, lane keeping systems, night vision systems, high-sensitivity radar sensors and lidar technology will greatly improve the level of automobile driving safety. However, in the existing technology, the network security capability of the CAN bus controller communication technology of the automobile electrical and information system is very weak and cannot meet the user's requirements for safety and cost. Therefore, it is necessary to improve the above-mentioned weak defects. Summary of the invention

[0003] Based on the above defects, the present invention proposes a CAN bus controller authentication method for an automotive electrical and information system. By setting a unique message authentication mechanism, the security access rights of data fields such as ECU_SN (electronic control unit production serial number), ECU_ID (electronic control unit identifier), and VIN (Vehicle Identification Number) are controlled without affecting traditional CAN bus communication.

[0004] The present invention is achieved through the following technical solutions:

[0005] The present invention provides a method for authenticating a CAN bus controller of an automobile electrical appliance and information system, which specifically comprises the following steps:

[0006] (1) During the mass production of the electronic control unit, the production serial number of the electronic control unit is written;

[0007] (2) During the vehicle manufacturing process, the ECU reads the ECU production serial number, writes the ECU identifier and vehicle identification code, and associates them into the manufacturing company’s vehicle compliance database;

[0008] (3) When the vehicle is repaired or the electronic control unit is replaced, the vehicle manufacturing process is performed again by authorizing access to the vehicle compliance database and synchronizing the latest status to the vehicle compliance database;

[0009] (4) During the registration and scrapping stages, the vehicle is linked to the automobile compliance database through the vehicle identification number;

[0010] (5) Automobile manufacturers can find out whether untrusted electronic controllers are connected by matching data in the automobile compliance database.

[0011] Specifically, in step (1), the electronic control unit memory maps the access control table, as the electronic control unit memory needs to write the electronic control unit production serial number once during the mass production process of the parts supplier, and the electronic control unit production serial number is recorded for production line inspection. The ECU_SN code is unique (non-repetitive) and synchronized with the production line time, that is, after the electronic control unit is produced, the ECU_SN is unique and cannot be rewritten.

[0012] Specifically, in step (2), by reading the preset initial electronic control unit identifier ECU_ID, combined with the electronic control unit production serial number ECU_SN, the final electronic control unit identifier ECU_ID is generated, and written into the electronic control unit and the vehicle CAN network routing table at one time, and bound to the vehicle identification code VIN, to achieve a random and hidden electronic control unit identifier ECU_ID. The length of ECU_ID may vary according to different communication protocols and system designs. The mass-produced ECU_ID can be used as a vehicle CAN bus access control credential due to randomization, thereby preliminarily realizing the trusted authentication of the electronic control unit CAN bus. Writing ECU_ID, VIN code, and vehicle CAN network routing table requires the use of dedicated writing equipment, which usually includes a high-precision camera, a computer, and VIN code writing software. During the after-sales maintenance process, if rewriting is required, it may be necessary to obtain the VIN code information through other methods (such as scanning the VIN code on the paper vehicle tracking list), and match and write it through authorized access to the compliance database of the manufacturing enterprise. The coding writing must be accurate, otherwise it may cause confusion in vehicle information and affect subsequent services such as vehicle sales, warranty, license plate registration, and insurance. Each vehicle's ECU_SN and VIN code are unique and must not be reused or tampered with. When writing the VIN code, you must comply with relevant laws, regulations and industry standards to ensure the legality and compliance of the vehicle information.

[0013] The beneficial effects of the present invention are as follows: the present invention proposes a method for authenticating a CAN bus controller of an automotive electrical and information system, which controls the security access rights of data fields such as ECU_SN (electronic control unit production serial number), ECU_ID (electronic control unit identifier), and VIN (Vehicle Identification Number) by setting a unique message authentication mechanism without affecting traditional CAN bus communication, thereby realizing a highly reliable and low-cost trusted authentication technology, which can protect the intellectual property rights of vehicles and parts and the safety of the operating environment, and improve the trusted experience of vehicle users in after-sales maintenance and repair of vehicles; this technology can also be used as a method for realizing a trusted security technology for vehicle-road-cloud integration, thereby realizing the trusted security of intelligent connected vehicles and serving all road traffic participants. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flow chart of the automotive electrical appliance and information system CAN bus controller authentication method of the present invention;

[0015] Figure 2 A schematic diagram of a memory mapping access control table of an electronic control unit of the present invention. DETAILED DESCRIPTION

[0016] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.

[0017] like Figure 1 The method for authenticating a CAN bus controller of an automotive electrical appliance and information system shown in the figure specifically comprises the following steps:

[0018] (1) During the mass production of the electronic control unit, the production serial number of the electronic control unit is written;

[0019] (2) During the vehicle manufacturing process, the ECU reads the ECU production serial number, writes the ECU identifier and vehicle identification code, and associates them into the manufacturing company’s vehicle compliance database;

[0020] (3) When the vehicle is repaired or the electronic control unit is replaced, the vehicle manufacturing process is performed again by authorizing access to the vehicle compliance database and synchronizing the latest status to the vehicle compliance database;

[0021] (4) During the registration and scrapping stages, the vehicle is linked to the automobile compliance database through the vehicle identification number;

[0022] (5) Automobile manufacturers can find out whether untrusted electronic controllers are connected by matching data in the automobile compliance database.

[0023] The ECU memory map access control table is as follows Figure 2 As shown, as the memory of the electronic control unit, ECU_SN needs to be written once during the mass production process of the parts supplier, and the ECU_SN needs to be recorded for production line inspection. The code of ECU_SN is unique (no duplication) and synchronized with the production line time. That is, after the electronic control unit is produced and rolled off the line, ECU_SN is unique and cannot be rewritten.

[0024] When the electronic control unit enters the vehicle manufacturing plant for vehicle manufacturing, the vehicle manufacturer will read the ECU_SN, write the ECU_ID and VIN, and associate it with the vehicle compliance database of the manufacturing company. The length of the ECU_ID can vary depending on different communication protocols and system designs. In CAN (Controller Area Network) communication, in the CAN standard frame, the length of the frame ID is fixed at 11 bits, which means that the ECU_ID (if part of the frame ID) will also be limited by this 11-bit length. The frame ID length of the CAN extended frame is increased to 29 bits, which provides a larger address space, allowing more ECU_IDs or messages to be uniquely identified on the CAN network. The ECU_ID must be unique on the CAN network to ensure that the message can be correctly received and processed by the target ECU_ID.

[0025] As the electronic ID card of the vehicle, the automobile controller is the only symbol of the legal identity of the vehicle in the production, sales, warranty, license plate, insurance, network access and other links. It contains key information such as the manufacturer, production year, model, body type, engine type, production serial number, etc. of the vehicle. On the vehicle production line, the VIN code needs to be written into the vehicle's control unit (such as the VCU vehicle controller) at a specific station. This step is usually completed by dedicated equipment and software to ensure the accuracy and uniqueness of the VIN code. In the after-sales maintenance process, if the electronic control unit of the vehicle (such as the SRS electronic control unit) is replaced, the VIN code needs to be written to the new control unit. This is to maintain the continuity of vehicle information and ensure that the vehicle can carry out subsequent services such as warranty, insurance, and maintenance normally. The vehicle manufacturer generates the final ECU_ID by reading the preset initial ECU_ID combined with the ECU_SN, and writes it to the electronic control unit and the on-board CAN network routing table at one time, and binds it to the vehicle VIN to achieve a random and hidden ECU_ID. The mass-produced ECU_ID can be used as a vehicle CAN bus access control credential due to randomization, thereby initially realizing the trusted authentication of the electronic control unit CAN bus. Writing ECU_ID, VIN code, and vehicle CAN network routing table requires the use of dedicated writing equipment, which usually includes high-precision cameras, computers, and V IN code writing software. During the after-sales maintenance process, if it needs to be rewritten, it may be necessary to obtain the VIN code information through other means (such as scanning the VIN code on the paper vehicle tracking list), and match and write it through authorized access to the manufacturer's automotive compliance database. The coding must be written accurately, otherwise it may cause confusion in vehicle information and affect subsequent services such as vehicle sales, warranty, licensing, and insurance. The ECU_SN and VIN codes of each vehicle are unique and must not be reused or tampered with. When writing the VIN code, relevant laws, regulations, and industry standards must be observed to ensure the legality and compliance of vehicle information.

[0026] During the vehicle registration and scrapping stages, the public security traffic management department's system notifies the relevant VIN to be linked to the manufacturer's vehicle compliance database, and the vehicle manufacturer activates or seals the relevant ECU_ID and ECU_SN.

[0027] Automobile manufacturers can match the data in the manufacturer's compliance database with the information on smart connected vehicle software upgrades to find out whether untrusted electronic controllers are being used.

[0028] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for authenticating a CAN bus controller of an automobile electrical appliance and information system, characterized in that: The steps include: (1) During the mass production of the electronic control unit, the production serial number of the electronic control unit is written; (2) During the vehicle manufacturing process, the ECU reads the ECU production serial number, writes the ECU identifier and vehicle identification code, and associates them into the manufacturing company’s vehicle compliance database; (3) When the vehicle is repaired or the electronic control unit is replaced, the vehicle manufacturing process is performed again by authorizing access to the vehicle compliance database and synchronizing the latest status to the vehicle compliance database; (4) During the registration and scrapping stages, the vehicle is linked to the automobile compliance database through the vehicle identification number; (5) Automobile manufacturers can find out whether untrusted electronic controllers are connected by matching data in the automobile compliance database.

2. The automotive electrical and information system CAN bus controller authentication method according to claim 1, characterized in that: In step (1), the electronic control unit memory maps the access control table, as the electronic control unit memory needs to write the electronic control unit production serial number once during the mass production process of the parts supplier, and the electronic control unit production serial number is recorded for production offline inspection.

3. The automotive electrical and information system CAN bus controller authentication method according to claim 2, characterized in that: In step (2), the final electronic control unit identifier is generated by reading the preset initial electronic control unit identifier and combining it with the electronic control unit production serial number, and is written into the electronic control unit and the vehicle CAN network routing table at one time, and is bound to the vehicle identification code to achieve a random and hidden electronic control unit identifier.

4. The automotive electrical and information system CAN bus controller authentication method according to claim 2, characterized in that: In step (2), the electronic control unit identifier, vehicle identification code, and vehicle CAN network routing table are written using a dedicated device. During after-sales maintenance, if they need to be rewritten, the vehicle identification code information is obtained by scanning the barcode on the paper vehicle tracking list, and is matched and written through authorized access to the vehicle compliance database.