CN107995258A - Connect equipment and data transmission method - Google Patents
Connect equipment and data transmission method Download PDFInfo
- Publication number
- CN107995258A CN107995258A CN201711071689.7A CN201711071689A CN107995258A CN 107995258 A CN107995258 A CN 107995258A CN 201711071689 A CN201711071689 A CN 201711071689A CN 107995258 A CN107995258 A CN 107995258A
- Authority
- CN
- China
- Prior art keywords
- bus
- module
- automobile
- data
- message
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention provides a kind of connection equipment, including offline download module, automobile CAN-bus read module, programmed logical module and wireless network module, wherein, automobile CAN-bus read module connects automobile CAN-bus and programmed logical module, wireless network module connects programmed logical module and car networking terminal, and offline download module connects programmed logical module;Car-mounted terminal and automobile CAN-bus are physically separated, existing car networking terminal is overcome and directly reads the information security issue that CAN bus message is brought, realizes that car networking terminal while CAN bus data are read, is isolated and protected to CAN bus data.
Description
Technical field
The invention belongs to car networking technology field, is related to a kind of connection equipment and data transmission method.
Background technology
Car networking technology develops rapidly at present, and the car networking based on Che-car, Che-road communication is safe/non-security to be applied
As the hot spot of information technology field, auto industry field and highway communication area research.Car networking passes through between vehicle
The interaction of the information such as position, moving situation, realizes the information sharing between traffic participant, so as to fulfill various traffic
Using.Wherein CAN bus information includes abundant travel condition of vehicle, and real-time, and accuracy is high, is preferable car connection
Net information source.Car networking terminal can significantly improve car networking application effectiveness, reach and use information by obtaining CAN bus information
Technological means raising vehicle is safe for operation, improves highway communication efficiency, the purpose of energy-saving and emission-reduction.
At the same time, car networking may bring vehicle CAN bus information security hidden danger.There are a large amount of cars on vehicle CAN bus
Control information, by car networking, network attack person can obtain vehicle data, or even remote control vehicle, cause danger.For
Guarantee vehicle Field bus safety, car enterprise are generally maintained secrecy using the address to CAN bus and the coding information of content, not opened
To car networking manufacturer terminal or vehicle device manufacturer, or only using the terminal of oneself research and development.This mode can not technically, structure
Upper guarantee car networking and CAN bus safety, restricts the development of car networking correlation technique to a certain extent on the contrary.
The content of the invention
For above-mentioned problems of the prior art, it is an object of the present invention to provide one kind to connect equipment, it overcomes
Existing car networking terminal directly reads the information security issue that automobile CAN-bus message is brought, and realizes that car networking terminal is being read
While taking CAN bus data, CAN bus data are isolated and protected.
To achieve these goals, the present invention adopts the following technical scheme that:
A kind of data transmission method, comprises the following steps:
Step 1, automobile CAN-bus logical message is downloaded offline;
Step 2, data are read from automobile CAN-bus data flow, data is weaved into the lattice of " node ID-data content "
Formula;
Step 3, there will be the data of " node ID-data content " form according to automobile CAN-bus logical message, translate into
CAN message with " event device-state-event " form;If detecting External Access Equipment, return to step 1;
Step 4, the CAN message with " event device-state-event " form is used and is wirelessly transmitted to car networking
Car-mounted terminal.
Another aspect of the present invention provides a kind of connection equipment, including offline download module, automobile CAN-bus read mould
Block, programmed logical module and wireless network module, wherein, automobile CAN-bus read module connects automobile CAN-bus and can compile
Journey logic module, wireless network module connection programmed logical module and car networking terminal, offline download module connection are programmable
Logic module;
Wherein, offline download module is used to download automobile CAN-bus logical message, and controls opening for programmed logical module
It is dynamic;
Automobile CAN-bus read module is used to read data from automobile CAN-bus data flow, and data are weaved into " node
The form of ID- data contents ";
Programmed logical module is used to patrol the data with " node ID-data content " form according to automobile CAN-bus
Information is collected, translates into the CAN message with " event device-state-event " form;
Wireless transport module is used for having the CAN message of " event device-state-event " form to be passed using wireless mode
It is defeated to arrive car networking car-mounted terminal.
Compared with prior art, the present invention has following technique effect:
1st, car-mounted terminal and automobile CAN-bus are physically separated by the present invention, and functionally meet car-mounted terminal pair
The reading demand of car data so that when car-mounted terminal is subject to information security threats, protect vehicle CAN bus not attacked,
So as to ensure vehicle safety.
2nd, the present invention with the addition of programmed logical module, and auto vendor passes through including wired, wireless, External memory equipment etc.
Transmission mode, it is possible to achieve the CAN bus logic for including CAN bus address and physical meaning is downloaded, programmed logical module
According to these information, while can realization to automobile CAN-bus data deciphering, information particular content is not revealed;Car-mounted terminal
It is only capable of, by connecting equipment calls CAN bus information, not knowing the corresponding CAN bus address of specific data, reaching protection car
The purpose of CAN bus agreement.
3rd, the SCM Based offline download module that the present invention is included is only writeable unreadable, when equipment is used from
Line, this two promises vehicle CAN bus logic maintain secrecy and are not attacked, ensure vehicle safety indirectly.
4th, the communication between middleware and car-mounted terminal is completed by wireless network, meets the software and hardware to all kinds of car-mounted terminals
Structure compatible;The structure can convenient compatible various car-mounted terminals, be different types of car-mounted terminal, including intelligent vehicle device,
Smart mobile phone easily obtains CAN message and provides possibility.It ensure that the compatibility and ease for use of system.
Brief description of the drawings
Fig. 1 is the applicable operative scenario schematic diagram of the present invention;
Fig. 2 is the system structure diagram of the connection equipment of the present invention;
Description of reference numerals:1 automobile CAN-bus, 2 data transmission interfaces, 3 wireless connectivity devices, 4 data transmission interfaces, 5
Car networking terminal, 6 car networking terminal antennas, 7 other car networking terminals.
The present invention is described in detail with reference to the accompanying drawings and detailed description.
Embodiment
The present invention provides one kind to connect equipment, is connected for local car networking terminal with automobile CAN-bus, including offline
Download module, automobile CAN-bus read module, programmed logical module and wireless network module, wherein, automobile CAN-bus is read
Modulus block connects automobile CAN-bus and programmed logical module, wireless network module connection programmed logical module and car networking
Terminal, offline download module connect programmed logical module.
Wherein, offline download module uses microcontroller, and offline download module passes through access in radio, wireless access or outside
The mode of storage device access realizes the download of automobile CAN-bus logical message;Offline download module is total by the automobile CAN of download
Line logical message connects programmed logical module by HID buses, and controls the startup of programmed logical module;It is offline to download mould
The exterior access of block detection, if detecting, external equipment accesses, and control programmed logical module is stopped.It is SCM Based
Offline download module is only writeable unreadable, offline when equipment uses, this two promises vehicle CAN bus logic maintain secrecy and not by
Attack, ensures vehicle safety indirectly.
CAN bus read module is used to read the data in automobile CAN-bus data flow, and arranges the data into " node
The form of ID- data contents ", and by the data sending after writing to programmed logical module.
Programmed logical module is realized by FPGA, is controlled be subject to offline download module;Every time power on when, its from from
Line download module obtains CAN bus logical message;Programmed logical module has " node ID-data content " by what is received
The data of form translate into the CAN message of " event device-state-event " according to the intrinsic logic of CAN bus logical message, and
Translated CAN message is sent to wireless transport module.Programmed logical module is according to CAN bus logical message, Neng Goushi
While now to automobile CAN-bus data deciphering, information particular content is not revealed.Car-mounted terminal is only capable of by the wireless of the present invention
Equipment calls CAN bus information is connected, the corresponding CAN bus address of specific data can not be known, reach protection vehicle CAN bus
The purpose of agreement.
The CAN message of " event device-state-event " that receives is transported to by wireless transport module by wireless network
Car networking car-mounted terminal;The wireless transport module of the present invention does not respond any peripheral radio network information, to ensure vapour
The safety of car CAN bus.Communication between the wireless connectivity devices and car-mounted terminal of the present invention is completed by wireless network, satisfaction pair
The software and hardware structure of all kinds of car-mounted terminals is compatible;The structure can convenient compatible various car-mounted terminals, be different types of car
Mounted terminal, including intelligent vehicle device, smart mobile phone easily obtain CAN message and provide possibility, ensure that system compatibility and
Ease for use.
The connection equipment blocking mobile unit and automobile CAN-bus of the present invention, is ensureing Vehicle Body Bus safety, vehicle bus
On the premise of protocol security, reading of the car-mounted terminal to vehicle data is realized;And the upward-compatible existing and direct-connected car of CAN bus
Networked terminals.The present invention is connected by wireless network mode and car-mounted terminal with car networking terminal device, simple in structure, versatility
By force, it disclosure satisfy that the demand of each car-mounted terminal manufacturer and car manufactures.
Using the data transmission method of above-mentioned connection equipment, comprise the following steps:
Step 1, during electrifying startup, offline download module determines whether that automobile CAN-bus logic downloads equipment access, such as
Storage card, cable network, wireless network etc..If no automobile CAN-bus logic downloads equipment access, step 2 is performed, if there is vapour
Car CAN bus logic downloads equipment access, then offline download module downloads automobile CAN-bus logic, after the completion of download, under offline
Carry module to stop downloading work, and the automobile CAN-bus logic of download is write into programmed logical module, and start programmable patrol
Collect module.
Step 2, automobile CAN-bus read module reads data from automobile CAN-bus data flow, and data are weaved into
The form of " node ID-data content ", will have the data sending of " node ID-data content " form to programmable logic mould
Block;CAN bus data content is one for " node ID, data content " two parts, and wherein node ID represents data generation
Equipment, data content represent state.Such as " left steering lamp is bright " this information, node ID 4C1, data content 1A2B3C;
Step 3, programmed logical module will have " node ID-data content " form according to automobile CAN-bus logic
Data translation is into the CAN message with " event device-state-event " form;There to be " event device-state-event " form
CAN message be sent to wireless transport module;For example, " left steering lamp is bright " this information, node ID 4C1, its corresponding thing
Part equipment is left steering lamp, and data content 1A2B3C, corresponding state-event is bright.
Step 4, the CAN message with " event device-state-event " form is transferred to car networking by wireless transport module
Car-mounted terminal.
Another aspect of the present invention provides a kind of data transmission method, specifically includes following steps:
Step 1, automobile CAN-bus logical message is downloaded offline;
Step 2, data are read from automobile CAN-bus data flow, data is weaved into the lattice of " node ID-data content "
Formula;
Step 3, there will be the data of " node ID-data content " form according to automobile CAN-bus logical message, translate into
CAN message with " event device-state-event " form;If detecting, exterior automobile CAN-bus logic downloads equipment, such as deposits
Card storage, cable network, wireless network etc., then return to step 1;
Step 4, the CAN message with " event device-state-event " form is used and is wirelessly transmitted to car networking
Car-mounted terminal.
Embodiment
The operative scenario of the present embodiment is as shown in Figure 1.System structure is as shown in Figure 2.Assuming that certain automobile is in CAN bus address
There are left steering lamp data " 1A2B3C " on " 4C1 ", represent left steering lamp unlatching.And for car networking terminal.Car-mounted terminal needs
In the case where not knowing vehicle CAN bus address and data content, the state of " left steering lamp unlatching " is read.Concrete workflow
Journey is as follows:
Step 1:Automobile vendor is by modes such as wired, wireless or storage mediums by " 4C1-1A2B3C- left steering lamps-open
Open " corresponding logical relationship download in offline download module;Offline download module is by " 4C1-1A2B3C- left steering lamps-open
Opening " content passes to programmed logical module, and starts programmed logical module.
Step 2:Automobile CAN-bus read module reads data from automobile CAN-bus data flow, and data are weaved into " section
The form of point ID- data contents ", and it is transmitted to programmed logical module.
Step 3:When programmed logical module reads message " 1A2B3C " that address is " 4C1 ", it is transcribed into " left
Steering indicating light-unlatching ".
Step 4:" left steering lamp-unlatching " is transmitted to car networking car-mounted terminal by wireless network module, and car-mounted terminal is read
To " left steering lamp-unlatching " message, required CAN bus message content is got.
The present invention relates to comprising automobile bus, car networking and intelligent transportation field, mainly solve car networking terminal and reading
During vehicle CAN bus information, automobile CAN-bus message caused by possibility is stolen, distorts the problem of even control vehicle.Utilize
The connection equipment of the present invention, can reach vehicle CAN bus and isolate with car-mounted terminal, while realizing protection CAN bus, realize
Car networking car-mounted terminal reads the purpose of vehicle-state, finally realizes the realization of car networking application, the purpose of vehicle bus safety.
Claims (2)
1. a kind of data transmission method, it is characterised in that comprise the following steps:
Step 1, automobile CAN-bus logical message is downloaded offline;
Step 2, data are read from automobile CAN-bus data flow, data is weaved into the form of " node ID-data content ";
Step 3, there will be the data of " node ID-data content " form according to automobile CAN-bus logical message, translating into has
The CAN message of " event device-state-event " form;If detecting External Access Equipment, return to step 1;
Step 4, it is the CAN message with " event device-state-event " form is vehicle-mounted using car networking is wirelessly transmitted to
Terminal.
2. one kind connection equipment, including offline download module, automobile CAN-bus read module, programmed logical module and wireless
Mixed-media network modules mixed-media, wherein, automobile CAN-bus read module connection automobile CAN-bus and programmed logical module, wireless network module
Programmed logical module and car networking terminal are connected, offline download module connects programmed logical module;
Wherein, offline download module is used to download automobile CAN-bus logical message, and controls the startup of programmed logical module;
Automobile CAN-bus read module is used to read data from automobile CAN-bus data flow, and data are weaved into " node ID-number
According to content " form;
Programmed logical module is used for having the data of " node ID-data content " form to believe according to automobile CAN-bus logic
Breath, translates into the CAN message with " event device-state-event " form;
Wireless transport module, which is used to use the CAN message with " event device-state-event " form, to be wirelessly transmitted to
Car networking car-mounted terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711071689.7A CN107995258B (en) | 2017-11-03 | 2017-11-03 | Connection device and data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711071689.7A CN107995258B (en) | 2017-11-03 | 2017-11-03 | Connection device and data transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995258A true CN107995258A (en) | 2018-05-04 |
CN107995258B CN107995258B (en) | 2021-01-05 |
Family
ID=62030042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711071689.7A Active CN107995258B (en) | 2017-11-03 | 2017-11-03 | Connection device and data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995258B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111210539A (en) * | 2020-01-02 | 2020-05-29 | 浙江吉利新能源商用车集团有限公司 | Power storage battery data analysis system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201662620U (en) * | 2010-02-25 | 2010-12-01 | 张禾 | Vehicular data acquisition remote transmission meter |
CN102073319A (en) * | 2011-01-25 | 2011-05-25 | 武汉理工大学 | Multifunctional comprehensive type electric control automobile fault diagnosis system |
CN201897826U (en) * | 2010-08-24 | 2011-07-13 | 上海中科深江电动车辆有限公司 | Vehicle-mounted information recording instrument with Micro SD (secure digital) card memory interface |
CN103645731A (en) * | 2013-12-20 | 2014-03-19 | 北京理工大学 | System for acquiring and storing vehicle data in real time |
CN104901896A (en) * | 2015-07-08 | 2015-09-09 | 北京玛施德利科技有限公司 | Intelligent vehicle-mounted router |
CN105808730A (en) * | 2016-03-09 | 2016-07-27 | 哈尔滨威帝电子股份有限公司 | CAN storage module based data analysis method |
CN106161084A (en) * | 2016-06-15 | 2016-11-23 | 中国电子科技网络信息安全有限公司 | A kind of protecting information safety device and method being applicable to fieldbus networks |
CN106656705A (en) * | 2016-11-18 | 2017-05-10 | 成都信息工程大学 | Vehicle-mounted MOST/CAN safety gateway and invasion detection method thereof |
CN106686019A (en) * | 2017-03-29 | 2017-05-17 | 常熟理工学院 | Secure vehicular networking data communication implementation method |
US9705678B1 (en) * | 2014-04-17 | 2017-07-11 | Symantec Corporation | Fast CAN message authentication for vehicular systems |
-
2017
- 2017-11-03 CN CN201711071689.7A patent/CN107995258B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201662620U (en) * | 2010-02-25 | 2010-12-01 | 张禾 | Vehicular data acquisition remote transmission meter |
CN201897826U (en) * | 2010-08-24 | 2011-07-13 | 上海中科深江电动车辆有限公司 | Vehicle-mounted information recording instrument with Micro SD (secure digital) card memory interface |
CN102073319A (en) * | 2011-01-25 | 2011-05-25 | 武汉理工大学 | Multifunctional comprehensive type electric control automobile fault diagnosis system |
CN103645731A (en) * | 2013-12-20 | 2014-03-19 | 北京理工大学 | System for acquiring and storing vehicle data in real time |
US9705678B1 (en) * | 2014-04-17 | 2017-07-11 | Symantec Corporation | Fast CAN message authentication for vehicular systems |
CN104901896A (en) * | 2015-07-08 | 2015-09-09 | 北京玛施德利科技有限公司 | Intelligent vehicle-mounted router |
CN105808730A (en) * | 2016-03-09 | 2016-07-27 | 哈尔滨威帝电子股份有限公司 | CAN storage module based data analysis method |
CN106161084A (en) * | 2016-06-15 | 2016-11-23 | 中国电子科技网络信息安全有限公司 | A kind of protecting information safety device and method being applicable to fieldbus networks |
CN106656705A (en) * | 2016-11-18 | 2017-05-10 | 成都信息工程大学 | Vehicle-mounted MOST/CAN safety gateway and invasion detection method thereof |
CN106686019A (en) * | 2017-03-29 | 2017-05-17 | 常熟理工学院 | Secure vehicular networking data communication implementation method |
Non-Patent Citations (1)
Title |
---|
郭振: ""基于车联网的车辆信息采集系统的设计与研究"", 《中国优秀硕士论文全文数据库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111210539A (en) * | 2020-01-02 | 2020-05-29 | 浙江吉利新能源商用车集团有限公司 | Power storage battery data analysis system |
CN111210539B (en) * | 2020-01-02 | 2023-09-19 | 浙江吉利新能源商用车集团有限公司 | Data analysis system for power storage battery |
Also Published As
Publication number | Publication date |
---|---|
CN107995258B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7170780B2 (en) | Fraud detection rule update method, fraud detection electronic control unit, and in-vehicle network system | |
CN105589451A (en) | In-vehicle communication system | |
CN103310518B (en) | A kind of method and system of unlocking vehicle car door | |
CN108923933A (en) | The working method of server, the upgrade method of car-mounted terminal and system | |
CN110239484B (en) | Vehicle lock remote security control system and method | |
CN108122311A (en) | Vehicle virtual key realization method and system | |
CN108647040A (en) | A kind of Bootloader frameworks based on PEPS system and write with a brush dipped in Chinese ink method | |
CN109299029A (en) | For updating node, vehicle, integrated circuit and the method for at least one rule | |
CN103763376A (en) | Intelligent automobile network cloud service system and method and special WIFI system for automobile network | |
CN106394733A (en) | Double-authentication-based electric bicycle anti-theft system and authentication method | |
CN206406888U (en) | A kind of alarming device for automobile anti-theft and system | |
CN102831680A (en) | Electronic lock core, access control system and management method | |
CN103929428A (en) | Method for achieving communication safety of vehicle-mounted electronic information system | |
CN105957198A (en) | NFC and ZigBee-based entrance guard system | |
CN110113378A (en) | Vehicle authentication method and its device | |
CN107813787A (en) | Intelligent watch starts automotive control system and control method | |
CN112423266A (en) | Vehicle diagnosis method and device and automobile | |
CN108040082A (en) | Connect equipment and data transmission method | |
CN206422329U (en) | Automobile OBD interface protectors | |
CN202141943U (en) | Vehicle-mounted diagnosis safety verification system | |
CN107995258A (en) | Connect equipment and data transmission method | |
CN103035055A (en) | Automobile door lock unlocking-locking system based on NFC mobile phone | |
CN111447589B (en) | Mobile communication-based monitoring and authorization using method for vehicle-mounted Ethernet diagnosis system | |
CN204244273U (en) | A kind of based on the security access system of car owner's identity for networking car | |
CN106406275A (en) | Vehicle intelligent control device |
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 |