CN110932852A - Communication method adopting CAN data encryption - Google Patents

Communication method adopting CAN data encryption Download PDF

Info

Publication number
CN110932852A
CN110932852A CN201911235145.9A CN201911235145A CN110932852A CN 110932852 A CN110932852 A CN 110932852A CN 201911235145 A CN201911235145 A CN 201911235145A CN 110932852 A CN110932852 A CN 110932852A
Authority
CN
China
Prior art keywords
data
quantum key
key information
server
quantum
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.)
Pending
Application number
CN201911235145.9A
Other languages
Chinese (zh)
Inventor
蔡乾
陈祺
李壮
胡谆人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Keniupu New Energy Technology Co Ltd
Original Assignee
Suzhou Keniupu New Energy Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Keniupu New Energy Technology Co Ltd filed Critical Suzhou Keniupu New Energy Technology Co Ltd
Priority to CN201911235145.9A priority Critical patent/CN110932852A/en
Publication of CN110932852A publication Critical patent/CN110932852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0852Quantum cryptography
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a communication method adopting CAN data encryption. The invention relates to a communication method adopting CAN data encryption, which comprises the following steps: acquiring data on a CAN bus, wherein the data comprises audio data and video data; carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data; and transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data. The invention has the beneficial effects that: utilize the high security of quantum encryption CAN bus, the CAN bus data that will gather simultaneously is real-time, timely upload to the server, has strengthened the ageing of data, promotes the transmission efficiency of data.

Description

Communication method adopting CAN data encryption
Technical Field
The invention relates to the field of CAN buses, in particular to a communication method adopting CAN data encryption.
Background
CAN is a short term for Controller Area Network (CAN), developed by BOSCH corporation of germany, which is known to develop and produce automotive electronics, and finally becomes an international standard (ISO 11898), which is one of the most widely used field buses internationally. In north america and western europe, the CAN bus protocol has become the standard bus for automotive computer control systems and embedded industrial control area networks, and possesses the J1939 protocol designed for large trucks and heavy work machinery vehicles with CAN as the underlying protocol.
The traditional technology has the following technical problems:
the existing CAN bus adopts clear code data transmission, and data is broadcasted on the bus. Are easily intercepted and illegally controlled.
Disclosure of Invention
The invention aims to provide a communication method adopting CAN data encryption, which has high safety.
In order to solve the technical problem, the invention provides a communication method adopting CAN data encryption, which comprises the following steps:
acquiring data on a CAN bus, wherein the data comprises audio data and video data;
carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data;
and transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data.
In one embodiment, "encrypted data obtained by quantum encryption of acquired data on the CAN bus; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; the method specifically comprises the following steps:
generating first quantum key information by using a first quantum key generation module, and transmitting the first quantum key information to a server;
encrypting the audio data by using the first quantum key information;
transmitting the encrypted audio data to a server, and decrypting the audio data by using the first quantum key information;
generating second quantum key information by using a second quantum key generation module, and transmitting the second quantum key information to the server;
encrypting the video data by using the second quantum key information;
and transmitting the encrypted video data to a server, and decrypting the video data by using the second quantum key information.
In one embodiment, "encrypt the video data using the second quantum key information; before, the method also comprises the following steps: periodically sampling video data; the sampled video data is encoded.
In one embodiment, the data further comprises non-audio-video data; the method comprises the steps of carrying out quantum encryption on acquired data on a CAN bus to obtain encrypted data; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; "further includes:
generating third quantum key information by using a third quantum key generation module, and transmitting the third quantum key information to the server;
encrypting the non-audio and video data by using the third quantum key information;
and transmitting the encrypted non-audio and video data to a server, and decrypting the non-audio and video data by using the third quantum key information.
Based on the same inventive concept, the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the following method, specifically including:
acquiring data on a CAN bus, wherein the data comprises audio data and video data;
carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data;
and transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data.
In one embodiment, "encrypted data obtained by quantum encryption of acquired data on the CAN bus; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; the method specifically comprises the following steps:
generating first quantum key information by using a first quantum key generation module, and transmitting the first quantum key information to a server;
encrypting the audio data by using the first quantum key information;
transmitting the encrypted audio data to a server, and decrypting the audio data by using the first quantum key information;
generating second quantum key information by using a second quantum key generation module, and transmitting the second quantum key information to the server;
encrypting the video data by using the second quantum key information;
and transmitting the encrypted video data to a server, and decrypting the video data by using the second quantum key information.
In one embodiment, "encrypt the video data using the second quantum key information; before, the method also comprises the following steps: periodically sampling video data; the sampled video data is encoded.
In one embodiment, the data further comprises non-audio-video data; the method comprises the steps of carrying out quantum encryption on acquired data on a CAN bus to obtain encrypted data; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; "further includes:
generating third quantum key information by using a third quantum key generation module, and transmitting the third quantum key information to the server;
encrypting the non-audio and video data by using the third quantum key information;
and transmitting the encrypted non-audio and video data to a server, and decrypting the non-audio and video data by using the third quantum key information.
Based on the same inventive concept, the present application also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods when executing the program.
Based on the same inventive concept, the present application further provides a processor for executing a program, wherein the program executes to perform any one of the methods.
The invention has the beneficial effects that:
utilize the high security of quantum encryption CAN bus, the CAN bus data that will gather simultaneously is real-time, timely upload to the server, has strengthened the ageing of data, promotes the transmission efficiency of data.
Drawings
Fig. 1 is a flow chart of a communication method using CAN data encryption according to the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
Referring to fig. 1, a communication method using CAN data encryption includes:
and S110, acquiring data on the CAN bus, wherein the data comprises audio data and video data.
And S120, carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data.
And S130, transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data.
The invention has the beneficial effects that:
utilize the high security of quantum encryption CAN bus, the CAN bus data that will gather simultaneously is real-time, timely upload to the server, has strengthened the ageing of data, promotes the transmission efficiency of data.
Specifically, "encrypted data obtained by quantum encryption of acquired data on the CAN bus; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; the method specifically comprises the following steps:
generating first quantum key information by using a first quantum key generation module, and transmitting the first quantum key information to a server;
encrypting the audio data by using the first quantum key information;
transmitting the encrypted audio data to a server, and decrypting the audio data by using the first quantum key information;
generating second quantum key information by using a second quantum key generation module, and transmitting the second quantum key information to the server;
encrypting the video data by using the second quantum key information;
and transmitting the encrypted video data to a server, and decrypting the video data by using the second quantum key information.
The two quantum key generation modules are respectively used for encrypting and decrypting the audio and the video, so that the high requirement of the quantum key coding speed for simultaneously transmitting the audio and the video in one file by using one quantum key generation module is lowered. In addition, the existing quantum key generation module is not stable, and when one of the two quantum key generation modules fails, normal transmission of one of audio and video can be met.
More specifically, "encrypt the video data using the second quantum key information; before, the method also comprises the following steps: periodically sampling video data; the sampled video data is encoded.
In addition, after the video and the audio are separately transmitted, the video signals can be easily and independently sampled, the code rate of the video is reduced through sampling, and the requirement on the speed of the quantum key generation module for generating the quantum key is reduced.
In one embodiment, the data further comprises non-audio-video data; the method comprises the steps of carrying out quantum encryption on acquired data on a CAN bus to obtain encrypted data; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; "further includes:
generating third quantum key information by using a third quantum key generation module, and transmitting the third quantum key information to the server;
encrypting the non-audio and video data by using the third quantum key information;
and transmitting the encrypted non-audio and video data to a server, and decrypting the non-audio and video data by using the third quantum key information.
That is to say, for non-audio and video data (including gps data, brake data and the like of an automobile), the data volume is usually smaller than that of the audio and video data, an independent third quantum key generation module is adopted to be independently used for encryption and decryption of the non-audio and video data, and the problem that the encryption of the non-audio and video data is influenced due to the low coding speed of a quantum key caused by the large audio and video data when the non-audio and video data and the audio and video data share one quantum key generation module is reduced. In addition, because the existing quantum key generation module is not stable, and when the audio and video data share one quantum key generation module, because the audio and video data are large, the workload of the quantum key generation module is large, so that the stability is poor, an independent third quantum key generation module is independently used for encrypting and decrypting the non-audio and video data, because the data are relatively small, the normal transmission of the non-audio and video data is met, the stability is strong, and in this way, certain non-audio and video data which are more critical to an automobile system can be ensured to be encrypted and transmitted.
Based on the same inventive concept, the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the following method, specifically including:
acquiring data on a CAN bus, wherein the data comprises audio data and video data;
carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data;
and transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data.
The invention has the beneficial effects that:
utilize the high security of quantum encryption CAN bus, the CAN bus data that will gather simultaneously is real-time, timely upload to the server, has strengthened the ageing of data, promotes the transmission efficiency of data.
Specifically, "encrypted data obtained by quantum encryption of acquired data on the CAN bus; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; the method specifically comprises the following steps:
generating first quantum key information by using a first quantum key generation module, and transmitting the first quantum key information to a server;
encrypting the audio data by using the first quantum key information;
transmitting the encrypted audio data to a server, and decrypting the audio data by using the first quantum key information;
generating second quantum key information by using a second quantum key generation module, and transmitting the second quantum key information to the server;
encrypting the video data by using the second quantum key information;
and transmitting the encrypted video data to a server, and decrypting the video data by using the second quantum key information.
The two quantum key generation modules are respectively used for encrypting and decrypting the audio and the video, so that the high requirement of the quantum key coding speed for simultaneously transmitting the audio and the video in one file by using one quantum key generation module is lowered. In addition, the existing quantum key generation module is not stable, and when one of the two quantum key generation modules fails, normal transmission of one of audio and video can be met.
More specifically, "encrypt the video data using the second quantum key information; before, the method also comprises the following steps: periodically sampling video data; the sampled video data is encoded.
In addition, after the video and the audio are separately transmitted, the video signals can be easily and independently sampled, the code rate of the video is reduced through sampling, and the requirement on the speed of the quantum key generation module for generating the quantum key is reduced.
In one embodiment, the data further comprises non-audio-video data; the method comprises the steps of carrying out quantum encryption on acquired data on a CAN bus to obtain encrypted data; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; "further includes:
generating third quantum key information by using a third quantum key generation module, and transmitting the third quantum key information to the server;
encrypting the non-audio and video data by using the third quantum key information;
and transmitting the encrypted non-audio and video data to a server, and decrypting the non-audio and video data by using the third quantum key information.
That is to say, for non-audio and video data (including gps data, brake data and the like of an automobile), the data volume is usually smaller than that of the audio and video data, an independent third quantum key generation module is adopted to be independently used for encryption and decryption of the non-audio and video data, and the problem that the encryption of the non-audio and video data is influenced due to the low coding speed of a quantum key caused by the large audio and video data when the non-audio and video data and the audio and video data share one quantum key generation module is reduced. In addition, because the existing quantum key generation module is not stable, and when the audio and video data share one quantum key generation module, because the audio and video data are large, the workload of the quantum key generation module is large, so that the stability is poor, an independent third quantum key generation module is independently used for encrypting and decrypting the non-audio and video data, because the data are relatively small, the normal transmission of the non-audio and video data is met, the stability is strong, and in this way, certain non-audio and video data which are more critical to an automobile system can be ensured to be encrypted and transmitted.
Based on the same inventive concept, the present application also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods when executing the program.
Based on the same inventive concept, the present application further provides a processor for executing a program, wherein the program executes to perform any one of the methods.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. A communication method adopting CAN data encryption is characterized by comprising the following steps:
and acquiring data on the CAN bus, wherein the data comprises audio data and video data.
Carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data;
and transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data.
2. The communication method according to claim 1, wherein the encrypted data is obtained by quantum-encrypting the acquired data on the CAN bus; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; the method specifically comprises the following steps:
generating first quantum key information by using a first quantum key generation module, and transmitting the first quantum key information to a server;
encrypting the audio data by using the first quantum key information;
transmitting the encrypted audio data to a server, and decrypting the audio data by using the first quantum key information;
generating second quantum key information by using a second quantum key generation module, and transmitting the second quantum key information to the server;
encrypting the video data by using the second quantum key information;
and transmitting the encrypted video data to a server, and decrypting the video data by using the second quantum key information.
3. The communication method using CAN data encryption according to claim 2, wherein "the video data is encrypted using the second quantum key information; before, the method also comprises the following steps: periodically sampling video data; the sampled video data is encoded.
4. The communication method employing CAN data encryption of claim 2, wherein the data further comprises non-audio video data; the method comprises the steps of carrying out quantum encryption on acquired data on a CAN bus to obtain encrypted data; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; "further includes:
generating third quantum key information by using a third quantum key generation module, and transmitting the third quantum key information to the server;
encrypting the non-audio and video data by using the third quantum key information;
and transmitting the encrypted non-audio and video data to a server, and decrypting the non-audio and video data by using the third quantum key information.
5. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a method comprising:
acquiring data on a CAN bus, wherein the data comprises audio data and video data;
carrying out quantum encryption on the acquired data on the CAN bus to obtain encrypted data;
and transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data.
6. The computer-readable storage medium of claim 5, wherein the encrypted data is quantum encrypted with the acquired data on the CAN bus; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; the method specifically comprises the following steps:
generating first quantum key information by using a first quantum key generation module, and transmitting the first quantum key information to a server;
encrypting the audio data by using the first quantum key information;
transmitting the encrypted audio data to a server, and decrypting the audio data by using the first quantum key information;
generating second quantum key information by using a second quantum key generation module, and transmitting the second quantum key information to the server;
encrypting the video data by using the second quantum key information;
and transmitting the encrypted video data to a server, and decrypting the video data by using the second quantum key information.
7. The computer-readable storage medium of claim 6, wherein "the video data is encrypted using the second quantum key information; before, the method also comprises the following steps: periodically sampling video data; the sampled video data is encoded.
8. The computer-readable storage medium of claim 6, wherein the data further comprises non-audio video data; the method comprises the steps of carrying out quantum encryption on acquired data on a CAN bus to obtain encrypted data; transmitting the encrypted data to a server, and carrying out quantum decryption to obtain decrypted data; "further includes:
generating third quantum key information by using a third quantum key generation module, and transmitting the third quantum key information to the server;
encrypting the non-audio and video data by using the third quantum key information;
and transmitting the encrypted non-audio and video data to a server, and decrypting the non-audio and video data by using the third quantum key information.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the program is executed by the processor.
10. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 4.
CN201911235145.9A 2019-12-05 2019-12-05 Communication method adopting CAN data encryption Pending CN110932852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911235145.9A CN110932852A (en) 2019-12-05 2019-12-05 Communication method adopting CAN data encryption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911235145.9A CN110932852A (en) 2019-12-05 2019-12-05 Communication method adopting CAN data encryption

Publications (1)

Publication Number Publication Date
CN110932852A true CN110932852A (en) 2020-03-27

Family

ID=69857169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911235145.9A Pending CN110932852A (en) 2019-12-05 2019-12-05 Communication method adopting CAN data encryption

Country Status (1)

Country Link
CN (1) CN110932852A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660342A (en) * 2018-12-24 2019-04-19 江苏亨通智能物联系统有限公司 Wireless speech transfers net system based on quantum cryptography
CN109996025A (en) * 2019-04-16 2019-07-09 北京信而泰科技股份有限公司 Adaptive audio/video communication methods, devices and systems based on quantum communications
CN110535634A (en) * 2019-07-12 2019-12-03 江苏宇太网智科技有限公司 Audio-video transmission system based on quantum cryptography
CN110535633A (en) * 2019-07-12 2019-12-03 江苏宇太网智科技有限公司 Quantum secret communication network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660342A (en) * 2018-12-24 2019-04-19 江苏亨通智能物联系统有限公司 Wireless speech transfers net system based on quantum cryptography
CN109996025A (en) * 2019-04-16 2019-07-09 北京信而泰科技股份有限公司 Adaptive audio/video communication methods, devices and systems based on quantum communications
CN110535634A (en) * 2019-07-12 2019-12-03 江苏宇太网智科技有限公司 Audio-video transmission system based on quantum cryptography
CN110535633A (en) * 2019-07-12 2019-12-03 江苏宇太网智科技有限公司 Quantum secret communication network system

Similar Documents

Publication Publication Date Title
CN108243259B (en) Method, device and system for transmitting Internet of vehicles data
WO2017080182A1 (en) Data transmission and receiving method, transmitter, receiver, and can bus network
WO2017101310A1 (en) Remote control method, device and system for vehicle
CN104994483B (en) A method of sending Big Dipper short message without card
EP2560319B1 (en) Method, apparatus and system for data encryption transmission in m2m
CN103024068A (en) Cloud storage system
CN112953802B (en) Data communication method and device
CN112937478A (en) Method and system for controlling electric automobile to run by mobile intelligent equipment
CA3171853A1 (en) Method and system for addition of assurance information to v2x messaging
CN113890730A (en) Data transmission method and system
CN112769761A (en) Signal transmission mode selection method and device based on service classification
CN110535634B (en) Audio and video transmission system based on quantum encryption
CN115277219A (en) Message encryption method, message decryption method, message encryption device, message decryption device, and storage medium
CN112073193B (en) Information safety processing method, device and system and engineering vehicle
CN202679412U (en) Data transmission encrypting and decrypting system
CN110932852A (en) Communication method adopting CAN data encryption
WO2001095588A3 (en) Authentication of electronic data
CN106405591A (en) Method for processing the message information of satellite radio navigation system
CN110740139A (en) secret key device and secret key management method, system, equipment and computer medium
CN114039771B (en) Data processing method, device and system, electronic equipment and storage medium
CN111314275A (en) Method for encrypting CAN (controller area network) of drive-by-wire chassis
CN211509074U (en) Document management system
CN111698263B (en) Beidou satellite navigation data transmission method and system
CN115150067A (en) TLS protocol construction method and system based on network covert channel
CN114499958A (en) Control method and device, vehicle and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327