CN106740569A - A kind of whole-control system multipoint mode checking algorithm - Google Patents
A kind of whole-control system multipoint mode checking algorithm Download PDFInfo
- Publication number
- CN106740569A CN106740569A CN201611069538.3A CN201611069538A CN106740569A CN 106740569 A CN106740569 A CN 106740569A CN 201611069538 A CN201611069538 A CN 201611069538A CN 106740569 A CN106740569 A CN 106740569A
- Authority
- CN
- China
- Prior art keywords
- parts
- encryption
- information
- data
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Selective Calling Equipment (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of whole-control system multipoint mode checking algorithm, comprise the following steps:S1, entire car controller and host computer are acquired and store to the equipment distribution address and encryption factor of parts in vehicle respectively;Parts instrument in S2, vehicle, BMS controllers, electric machine controller, the node of controller, steering controller respectively vehicle CAN network of inflating, and above-mentioned parts have fixed encryption factor, AES and decipherment algorithm respectively;S3, between parts in vehicle set up association;S4, when carrying out CAN data messages between parts in vehicle and sending, it is first determined the target of above- mentioned information sends parts and intended recipient parts, and target sends after parts are encrypted according to the AES of intended recipient parts to information and retransmits;After S5, intended recipient parts receive the information after encryption, the information after above-mentioned encryption is decrypted, and extracts effective information and used.
Description
Technical field
The present invention relates to electric vehicle engineering field, more particularly to a kind of whole-control system multipoint mode checking algorithm.
Background technology
With the continuous improvement of people's environmental consciousness, the discharge capacity for reducing city automobile tail gas is the most important thing.It is various new
Energy automobile is put into the middle of the life of people, and wherein the high and low carbocyclic ring of energy efficiency is protected, the electric automobile of zero-emission turns into city
The main force of new energy traffic automobile.
In operation, vehicle CAN message is especially most important for electric automobile, determines driveability, the security of vehicle
Energy;But the CAN message of electric motor coach can just be monitored completely by common CAN transceiver at present, and CAN message is interior
Hold and do not realize verification and ciphering process so that the communication mechanism of vehicle is completely exposed outside, on the one hand to vehicle safety not
Profit, on the other hand the protectiveness of the control strategy to vehicle factory and process is not high;So I takes charge of is proposed one kind for CAN message
Multipoint mode verification agency and algorithm, mainly use No. ID of CAN message, equipment distribution number and encryption factor verified
And encryption, realize content authentication and external ciphering process each other.
The content of the invention
Based on the technical problem that background technology is present, the present invention proposes a kind of whole-control system multipoint mode verification and calculates
Method.
Whole-control system multipoint mode checking algorithm proposed by the present invention, comprises the following steps:
S1, entire car controller and host computer are carried out to the equipment distribution address and encryption factor of parts in vehicle respectively
Gather and store;
Parts instrument in S2, vehicle, BMS controllers, electric machine controller, inflate controller, steering controller and be respectively
The node of vehicle CAN network, and above-mentioned parts have fixed encryption factor, AES and decipherment algorithm respectively;
S3, between parts in vehicle set up association;
S4, when carrying out CAN data messages between parts in vehicle and sending, it is first determined the target of above- mentioned information sends
Parts and intended recipient parts, and target send parts information is carried out according to the AES of intended recipient parts
Retransmited after encryption;
After S5, intended recipient parts receive the information after encryption, the information after above-mentioned encryption is decrypted, and carry
Effective information is taken out to be used.
Preferably, the AES and decipherment algorithm of parts distribute address, zero according to the equipment of parts in vehicle
The encryption factor of part, the CAN data of each frame information ID are encrypted calculating and decryption is calculated.
Preferably, described computations formula is as follows:
Keyn=Kn+ (ID&0x00FFFF00) > > 2+Sn;
Wherein, KnIt is the encryption factor of each parts;SnFor the equipment of each parts distributes address;ID is to need what is sent
No. ID of CAN data, the data byte of No. ID plus after the encryption factor to 255 complementations;KeynIt is the CAN of the frame information
The encryption factor that data ID.
Preferably, described decryption computing formula is as follows:
Keyn=Kn+ (ID&0x00FFFF00) > > 2+Sn;
Wherein, KnIt is the encryption factor of each parts;SnFor the equipment of each parts distributes address;ID is to need what is sent
No. ID of CAN data, the data byte of No. ID plus after the encryption factor to 255 complementations;KeynIt is the CAN of the frame information
The decryption factor that data ID.
Preferably, step S4 progress one includes operations described below:
S41, target send parts and the CAN data before encryption are carried out into CRC check calculating, obtain CRC check and C1, and
CRC check and C1 are filled in the first byte;
S42, the encryption factor for calculating the frame data;
S43, using above-mentioned encryption factor to need send CAN data be encrypted calculating;
S44, the CAN data after encryption are transmitted.
Preferably, step S5 progress one includes operations described below:
S51, intended recipient parts are decrypted calculating to the information after the encryption that receives;
S52, CAN data are decrypted using decryption factor;
S53, CRC check calculating is carried out to the CAN data after decryption;
S54, according to above-mentioned verification result of calculation extract effective information used.
Preferably, described instrument has K1 encryption factors, and described BMS controllers have K3 encryption factors, described
Electric machine controller has K5 encryption factors, and described controller of inflating has K6 encryption factors, and described steering controller has
K7 encryption factors.
The present invention is associated to being set up between each parts in vehicle, and when there is information to send between parts in vehicle,
Above- mentioned information is encrypted, it is ensured that the security of information transmission;Meanwhile, parts are sent to needing transmission information in target
Before being encrypted, information before above-mentioned encryption is verified, and the information for receiving is decrypted in intended recipient parts
Afterwards, the information after above-mentioned decryption is verified, in this way, being verified to the information after the information before encryption and encryption, is made whole
The communication mechanism of car is protected, and not only protects the safety of vehicle, and control strategy and process to vehicle factory is carried out
Comprehensively protection.Also, it is of the invention mainly to be entered using component device distribution address, encryption factor in CAN data ID, vehicle
Row verification and encrypt, realize in vehicle content authentication and external ciphering process between parts, not only ensure that data message
The security of transmission, and ensured the validity of data information transfer.
Brief description of the drawings
Fig. 1 is a kind of structural representation of whole-control system multipoint mode checking algorithm.
Specific embodiment
As shown in figure 1, Fig. 1 is a kind of whole-control system multipoint mode checking algorithm proposed by the present invention.
Reference picture 1, whole-control system multipoint mode checking algorithm proposed by the present invention, comprises the following steps:
S1, entire car controller and host computer are carried out to the equipment distribution address and encryption factor of parts in vehicle respectively
Gather and store;
Parts instrument in S2, vehicle, BMS controllers, electric machine controller, inflate controller, steering controller and be respectively
The node of vehicle CAN network, and above-mentioned parts have fixed encryption factor, AES and decipherment algorithm respectively;It is described
Instrument there is K1 encryption factors, described BMS controllers have K3 encryption factors, and there is described electric machine controller K5 to encrypt
The factor, described controller of inflating has K6 encryption factors, and described steering controller has K7 encryption factors.
S3, between parts in vehicle set up association;
S4, when carrying out CAN data messages between parts in vehicle and sending, it is first determined the target of above- mentioned information sends
Parts and intended recipient parts, and target send parts information is carried out according to the AES of intended recipient parts
Retransmited after encryption;Concrete operations are:
S41, target send parts and the CAN data before encryption are carried out into CRC check calculating, obtain CRC check and C1, and
CRC check and C1 are filled in the first byte;
S42, the encryption factor for calculating the frame data;
S43, using above-mentioned encryption factor to need send CAN data be encrypted calculating;
S44, the CAN data after encryption are transmitted.
After S5, intended recipient parts receive the information after encryption, the information after above-mentioned encryption is decrypted, and carry
Take out effective information to be used, concrete operations are:
S51, intended recipient parts are decrypted calculating to the information after the encryption that receives;
S52, CAN data are decrypted using decryption factor;
S53, CRC check calculating is carried out to the CAN data after decryption;
S54, according to above-mentioned verification result of calculation extract effective information used.
In present embodiment, in vehicle parts AES and decipherment algorithm according to parts equipment distributively
Location, the encryption factor of parts, the CAN data of each frame information ID are encrypted calculating and decryption calculating, specific calculation
It is as follows:
Described computations formula is:
Keyn=Kn+ (ID&0x00FFFF00) > > 2+Sn;
Wherein, KnIt is the encryption factor of each parts;SnFor the equipment of each parts distributes address;ID is to need what is sent
No. ID of CAN data, the data byte of No. ID plus after the encryption factor to 255 complementations;KeynIt is the CAN of the frame information
The encryption factor that data ID.
Described decryption computing formula is:
Keyn=Kn+ (ID&0x00FFFF00) > > 2+Sn;
Wherein, KnIt is the encryption factor of each parts;SnFor the equipment of each parts distributes address;ID is to need what is sent
No. ID of CAN data, the data byte of No. ID plus after the encryption factor to 255 complementations;KeynIt is the CAN of the frame information
The decryption factor that data ID.
It is of the invention main using component device in CAN data ID, vehicle distribute address, encryption factor verified and
Encryption, realizes in vehicle content authentication and external ciphering process between parts, not only ensure that the peace of data information transfer
Quan Xing, and ensured the validity of data information transfer.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto,
Any one skilled in the art the invention discloses technical scope in, technology according to the present invention scheme and its
Inventive concept is subject to equivalent or change, should all be included within the scope of the present invention.
Claims (7)
1. a kind of whole-control system multipoint mode checking algorithm, it is characterised in that comprise the following steps:
S1, entire car controller and host computer are acquired to the equipment distribution address and encryption factor of parts in vehicle respectively
And store;
Parts instrument, BMS controllers, electric machine controller, controller, steering controller respectively vehicle of inflating in S2, vehicle
The node of CAN network, and above-mentioned parts have fixed encryption factor, AES and decipherment algorithm respectively;
S3, between parts in vehicle set up association;
S4, when carrying out CAN data messages between parts in vehicle and sending, it is first determined the target of above- mentioned information sends zero
Part and intended recipient parts, and target send parts information is encrypted according to the AES of intended recipient parts
After retransmit;
After S5, intended recipient parts receive the information after encryption, the information after above-mentioned encryption is decrypted, and extract
Effective information is used.
2. whole-control system multipoint mode checking algorithm according to claim 1, it is characterised in that parts in vehicle
AES and decipherment algorithm are according to equipment distribution address, the encryption factor of parts, the CAN numbers of each frame information of parts
Calculating is encrypted according to No. ID and decryption is calculated.
3. whole-control system multipoint mode checking algorithm according to claim 2, it is characterised in that described computations
Formula is as follows:
Keyn=Kn+ (ID&0x00FFFF00) > > 2+Sn;
Wherein, KnIt is the encryption factor of each parts;SnFor the equipment of each parts distributes address;ID is the CAN numbers for needing to send
According to No. ID, the data byte of No. ID plus after the encryption factor to 255 complementations;KeynIt is the CAN data of the frame information
The encryption factor of No. ID.
4. whole-control system multipoint mode checking algorithm according to claim 2, it is characterised in that described decryption is calculated
Formula is as follows:
Keyn=Kn+ (ID&0x00FFFF00) > > 2+Sn;
Wherein, KnIt is the encryption factor of each parts;SnFor the equipment of each parts distributes address;ID is the CAN numbers for needing to send
According to No. ID, the data byte of No. ID plus after the encryption factor to 255 complementations;KeynIt is the CAN data of the frame information
The decryption factor of No. ID.
5. whole-control system multipoint mode checking algorithm according to claim 1, it is characterised in that step S4 progress one is wrapped
Include operations described below:
S41, target send parts and the CAN data before encryption are carried out into CRC check calculating, obtain CRC check and C1, and will
CRC check and C1 are filled in the first byte;
S42, the encryption factor for calculating the frame data;
S43, using above-mentioned encryption factor to need send CAN data be encrypted calculating;
S44, the CAN data after encryption are transmitted.
6. whole-control system multipoint mode checking algorithm according to claim 1, it is characterised in that step S5 progress one is wrapped
Include operations described below:
S51, intended recipient parts are decrypted calculating to the information after the encryption that receives;
S52, CAN data are decrypted using decryption factor;
S53, CRC check calculating is carried out to the CAN data after decryption;
S54, according to above-mentioned verification result of calculation extract effective information used.
7. whole-control system multipoint mode checking algorithm according to claim 1, it is characterised in that described instrument has
K1 encryption factors, described BMS controllers have K3 encryption factors, and described electric machine controller has K5 encryption factors, described
Controller of inflating there is K6 encryption factors, described steering controller has K7 encryption factors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611069538.3A CN106740569B (en) | 2016-11-28 | 2016-11-28 | A kind of whole-control system multipoint mode checking algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611069538.3A CN106740569B (en) | 2016-11-28 | 2016-11-28 | A kind of whole-control system multipoint mode checking algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106740569A true CN106740569A (en) | 2017-05-31 |
CN106740569B CN106740569B (en) | 2019-07-02 |
Family
ID=58904208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611069538.3A Active CN106740569B (en) | 2016-11-28 | 2016-11-28 | A kind of whole-control system multipoint mode checking algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106740569B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108638889A (en) * | 2018-05-16 | 2018-10-12 | 智车优行科技(北京)有限公司 | Method of calibration and device that vehicle electricity is shaken hands, vehicle, electronic equipment, storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010272971A (en) * | 2009-05-19 | 2010-12-02 | Nagoya Univ | Control system and method for rewriting control program |
KR20150006690A (en) * | 2013-07-09 | 2015-01-19 | 현대자동차주식회사 | Driver oriented control system for vehicle |
CN105897669A (en) * | 2015-11-11 | 2016-08-24 | 乐卡汽车智能科技(北京)有限公司 | Data sending method, data receiving method, sending terminal, receiving terminal and CAN bus network |
CN106154903A (en) * | 2015-04-16 | 2016-11-23 | 上海汽车集团股份有限公司 | Carry out, with peripheral hardware, the system and method that information is mutual for car load network |
CN106143364A (en) * | 2016-07-22 | 2016-11-23 | 北京航空航天大学 | A kind of electric automobile distributed director information security method and system |
-
2016
- 2016-11-28 CN CN201611069538.3A patent/CN106740569B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010272971A (en) * | 2009-05-19 | 2010-12-02 | Nagoya Univ | Control system and method for rewriting control program |
KR20150006690A (en) * | 2013-07-09 | 2015-01-19 | 현대자동차주식회사 | Driver oriented control system for vehicle |
CN106154903A (en) * | 2015-04-16 | 2016-11-23 | 上海汽车集团股份有限公司 | Carry out, with peripheral hardware, the system and method that information is mutual for car load network |
CN105897669A (en) * | 2015-11-11 | 2016-08-24 | 乐卡汽车智能科技(北京)有限公司 | Data sending method, data receiving method, sending terminal, receiving terminal and CAN bus network |
CN106143364A (en) * | 2016-07-22 | 2016-11-23 | 北京航空航天大学 | A kind of electric automobile distributed director information security method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108638889A (en) * | 2018-05-16 | 2018-10-12 | 智车优行科技(北京)有限公司 | Method of calibration and device that vehicle electricity is shaken hands, vehicle, electronic equipment, storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106740569B (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107846395B (en) | Method, system, medium, and vehicle for securing communications on a vehicle bus | |
US10382212B2 (en) | Method and device for acquiring message certificate in vehicle networking system | |
CN106357400B (en) | Establish the method and system in channel between TBOX terminal and TSP platform | |
US8577036B2 (en) | Method and device for transmitting messages in real time | |
CN106452762A (en) | Identity-based high-efficiency data transmission method in vehicular ad hoc network | |
CN112543927A (en) | Equipment upgrading method and related equipment | |
CN108011708A (en) | The controller and vehicle of message encryption method, vehicle based on automobile bus | |
CN106506149B (en) | Key generation method and system between a kind of TBOX terminal and TSP platform | |
CN107682148A (en) | Security access system and method between a kind of vehicle bus and internet communication system | |
CN105577613A (en) | Secret key information transmitting method, secret key information receiving method, equipment and system thereof | |
CN110868398A (en) | Data frame encryption method, data frame decryption method and data frame decryption device | |
CN111431586B (en) | Satellite network safety communication method | |
CN106850311A (en) | For the data safe transmission system and method for firmware upgrade | |
CN110933053B (en) | Authorization method based on CAN communication encryption | |
CN108696353A (en) | A kind of distribution method of quantum key and system, service station | |
JP6092548B2 (en) | Radio system and train control system | |
CN107911354A (en) | A kind of compound parallel data encryption method | |
CN104392499A (en) | Free stream trading system and free stream trading method for guaranteeing information security of on-board tag | |
CN101826960A (en) | Checking method of real-time transmission encryption and decryption data | |
CN106740569B (en) | A kind of whole-control system multipoint mode checking algorithm | |
CN101471775B (en) | Authentication method for MS and BS of WiMAX system | |
US11909857B2 (en) | Functionally safe encryption for vehicle to anything communication | |
Kamboj et al. | Secure and authenticated vehicle navigation system | |
CN103818342B (en) | For the method and system of vehicle anti-theft matching operation purview certification | |
Daimi et al. | Securing tire pressure monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |