CN202711059U - Automobile protocol analyzer for analyzing communication protocol of finished automobile control module - Google Patents

Automobile protocol analyzer for analyzing communication protocol of finished automobile control module Download PDF

Info

Publication number
CN202711059U
CN202711059U CN 201220285409 CN201220285409U CN202711059U CN 202711059 U CN202711059 U CN 202711059U CN 201220285409 CN201220285409 CN 201220285409 CN 201220285409 U CN201220285409 U CN 201220285409U CN 202711059 U CN202711059 U CN 202711059U
Authority
CN
China
Prior art keywords
protocol
message
transceiver
automobile
network
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.)
Expired - Lifetime
Application number
CN 201220285409
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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN 201220285409 priority Critical patent/CN202711059U/en
Application granted granted Critical
Publication of CN202711059U publication Critical patent/CN202711059U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model discloses an automobile protocol analyzer for analyzing the communication protocol of a finished automobile control module, wherein the protocol analyzer is installed between a finished automobile control module and a network node of an automobile control network. The automobile protocol analyzer comprises a first transceiver, a second transceiver, a third transceiver, an MCU, a first memory, a second memory, a third memory and a fourth memory. According to the technical scheme of the utility model, key control and state signals within the automobile control network can be effectively analyzed by the automobile protocol analyzer and the accurate control of key systems can also be realized. Meanwhile, the protocol analyzing accuracy is enhanced and the analyzing efficiency is increased. Research resources are also saved.

Description

The automobile protocol resolver that is used for the communication protocol of parsing vehicle complete vehicle control module
Technical field
The utility model relates to field of automobile control, relates in particular to a kind of automobile protocol resolver of the communication protocol for resolving the vehicle complete vehicle control module.
Background technology
The bussing technique at home application of automobile market gets more and more, and along with the reduced year by year of industry cost, all kinds of developing instruments and solution are progressively permeated, and simple technical application level face is no problem.Domestic mainly is formulation and the test of communication protocol with external gap aspect network development.External bus network design was carried out for two more than ten years, and the network communication protocol of each company's maturation all obtains by for many years accumulation, had much formed the network development agreement with self-character.Domestic manufacturers will develop the autonomous network communication agreement, and external network communication protocol is carried out resolving inversely, absorption and improvement, the shortcut that improves fast domestic research level of can yet be regarded as.
Domestic many manufacturers have begun to carry out the parsing work of auto communication agreement, but do not form the analytic technique of the effective and feasible bus communication protocol of a cover at present, more adopt the mode of the test of design special operation condition and collection mass data, when data are processed, then obtain network communication protocol by method of trial and error, like this inefficiency and can expend ample resources.
The utility model content
The purpose of this utility model is to provide a kind of technology for the communication protocol of automotive system control network being carried out resolving inversely, strengthens the accuracy of protocol analysis, improves analyzing efficiency, saves resources for research.
According to an aspect of the present utility model, a kind of automobile protocol resolver of the communication protocol for resolving the vehicle complete vehicle control module is provided, described protocol resolver is installed between the car load control module and network node of Vehicle Control Network, it comprises first transceiver, second transceiver, the 3rd transceiver, MCU, first memory, second memory, the 3rd storer and the 4th storer
Wherein, described first transceiver connects described car load control module and described MCU, and described second transceiver connects described network node and described MCU, and described the 3rd transceiver connects onboard diagnostic system and described MCU.
Preferably, described Vehicle Control Network is based on the network of bussing technique.
Preferably, described bus is CAN bus, RS485 bus, FlexRay bus or Lin bus.
Preferably, described protocol resolver also comprises a power module.
Preferably, described network node is single automobile control node or the network function module that comprises one or more automobile control nodes, and described automobile control node is selected from following group: engine controller, gearbox control, brake monitor, automatic clutch controller, electric machine controller, power-supply controller of electric and onboard diagnostic system.
By technique scheme, the utility model can effectively be resolved control and status signal crucial in the Vehicle Control Network, and realizes the accurate control of each critical system, and the accuracy that it has strengthened protocol analysis has improved analyzing efficiency, has saved resources for research.
Description of drawings
Fig. 1 is the application scenarios synoptic diagram of protocol resolver in the utility model;
Fig. 2 is the system architecture synoptic diagram of protocol resolver in the utility model;
Fig. 3 is the structural representation of the MCU of protocol resolver in the utility model;
Fig. 4 is the flow chart of steps that protocol resolver of the present utility model communicates protocol analysis;
Fig. 5 is the topological diagram that protocol resolver Vehicle Control Network before is set among the utility model embodiment;
Fig. 6 is the topological diagram that protocol resolver Vehicle Control Network afterwards is set among the utility model embodiment.
Embodiment
For solving above-mentioned technical matters of the prior art, the utility model discloses a kind of automobile protocol resolver, this protocol resolver can receive the message signals (actual signal) of car load control module in the Vehicle Control Network, its signal value is processed, and the message signals after will processing (virtual signal) sends to other network nodes, can effectively resolve so control and status signal crucial in the Vehicle Control Network, and realize the accurate control of each critical system.
Fig. 1 is the application scenarios synoptic diagram of protocol resolver in the utility model.Protocol resolver in the utility model can be connected when practical application between the car load control module and car load control module of access in Vehicle Control Network, is finished the communication protocol analytical capabilities of the control signal of transmitting between the car load control module and car load control module in this Vehicle Control Network by this protocol resolver.It is to be noted, in the application scenarios of the utility model protocol resolver, the representative of car load control module can realize the network element of control signal transmitting-receiving, can be single network control node concrete in the automobile, also can be the network function module that comprises one or more network control nodes.
The ultimate principle that the utility model protocol resolver communicates protocol analysis is based on the Optimized Matching method with on-line study function.Particularly, the method can utilize the mode that is similar to the method for exhaustion that a large amount of messages according to certain communication protocol transmission are carried out the analysis of byte or even position one-level, determines the physical significance of effective content representative in the message, thereby realizes the parsing to communication protocol.Therebetween, the method is also continued to optimize processing mode by self-teaching mechanism, to improve analyzing efficiency.
Fig. 2 is the system architecture synoptic diagram of protocol resolver in the utility model.As shown in Figure 2, this protocol resolver comprises: first transceiver, second transceiver, the 3rd transceiver, MCU, first memory, second memory, the 3rd storer and the 4th storer.Below just further introduce function and the principle thereof of each module in the protocol resolver.
First transceiver, car load control module in its connection Vehicle Control Network and the MCU of this protocol resolver, be used for receiving all communication messages (rear be called for short " message ") that send and should be received by the network node A of Vehicle Control Network by the car load control module, also be used for to be sent to the car load control module by the message that MCU processed.
Second transceiver, the network node A in its connection automobile and the MCU of this protocol resolver are for receiving by network node A transmission and should by all communication messages of car load control module reception, also being used for being sent to by the message that MCU processed network node A.
The 3rd transceiver, it connects the onboard diagnostic system of automobile and the MCU of this protocol resolver, is used for receiving the diagnostic signal message of this onboard diagnostic system.
MCU is used for message is carried out a series of processing, and realizes the parsing to communication protocol.Particularly, Fig. 3 shows the structural representation of MCU, and this MCU further comprises determining unit, revises unit and control module.
Determining unit, be used for determining respectively the important level of the message that first transceiver and second transceiver receive, and with the message of first transceiver and second transceiver by important level order from high to low respectively correspondence deposit to first memory and second memory.Wherein, this important level can determine that jointly concrete example is as multiplying each other both by priority and the refresh rate of message, and acquired results is less, and important level is higher.
Need to prove that the purpose that determining unit sorts to message according to important level is actually in order to improve the efficient of protocol analysis.Because the probability that comprises signal of interest in the high message of important level is higher, by the easier information of obtaining for analysis protocol of analysis to them, thereby they are carried out the whole efficiency that priority processing can improve protocol analysis.Priority and refresh rate are two important parameters that represent the message important level.Wherein, priority is the byte data in the message arbitration field, the priority that usually can represent with the ID of message message, message is determined the sending order of each message by non-destructive bit-by-bit arbitration mechanism in the CAN bus protocol, the 0th, dominant 1 is recessive, therefore the ID of message is less, the priority of message higher (comparing by turn).Simultaneously, the refresh rate of message is the time interval of the double appearance of this message, so the refresh rate height of message has obviously also embodied its significance level height.For example, although the ID of message a is less than message b, the refresh rate of message a is 1000ms, and the refresh rate of message b is 10ms, so the significance level of message b may be better than message a.Therefore in the utility model, consider priority and two parameters of refresh rate of message, jointly determine the important level of message by them.
Revise the unit, be used for revising successively according to predefined procedure the value of each byte in first memory and each message data field of second memory.When automobile production manufacturer formulates communication protocol, the data parameters that may in message, comprise different length byte or position, this length can be determined by self-study mechanism before message signals is resolved beginning, and after the length of determining this parameter, just can determine to revise according to this result (priori) order of message institute foundation.In the utility model specific embodiment, according to priori, revising the unit can double byte, byte, 4,2 order are revised successively to the value of each byte in each message data field in first, second storer.Need to prove that this data fields in the utility model refers to the position at each parameter place in message, for example, every frame CAN message has the data fields of 8 bytes.
Control module, to send to corresponding network node by revising the amended message in unit for control first transceiver, second transceiver, and the diagnostic signal message that receives from onboard diagnostic system according to the 3rd transceiver, judge that the corresponding network node receives after the message of having revised byte, whether Vehicle Control Network has produced Significant Change, and determines the concrete physical significance of this byte according to judged result.
Above-mentioned modification unit changes the value of byte in the message data field be actually the control signal of transmitting in changing Vehicle Control Network.Certain control signal meeting is so that the network node of controlling produces corresponding action, after control signal is modified the unit modification, corresponding actions also may change, just can judge according to the variation of corresponding actions the physical significance of the byte of revising, thereby realize the parsing to agreement, this has also embodied the ultimate principle that the utility model carries out protocol analysis.
First memory is used for determining each message sequentially by important level sequential storage from high to low by the first transceiver reception and by determining unit.
Second memory is used for determining each message sequentially by important level sequential storage from high to low by the second transceiver reception and by determining unit.
The 3rd storer is for the data fields position of recording message, corresponding modify time and this message place of revising this modification unit.
The 4th storer is judged after the corresponding network node receives the message of having revised byte when control module, when automotive control system has produced Significant Change, is used for the data fields position at record this message that is modified, corresponding modify time and this message place.
Certainly, the protocol resolver in the utility model also can comprise a power module, thereby provides electric power supply for this protocol resolver.
Fig. 4 is the flow chart of steps that protocol resolver of the present utility model communicates protocol analysis.Following access node closes accompanying drawing 4 each step in the communication protocol analytic method is described.
Step 1: first transceiver in the protocol resolver receives the message that is sent and should be received by network node A by the car load control module, and the second transceiver in the protocol resolver receives the message that is sent and should be received by the car load control module by network node A simultaneously.
Determining unit among the step 2:MCU is determined respectively the important level of the message that first transceiver and second transceiver receive.Wherein, this important level can determine that jointly concrete example is as multiplying each other both by priority and the refresh rate of message, and acquired results is less, and important level is higher.
Step 3: determining unit with the message of first transceiver and second transceiver by important level order from high to low respectively correspondence deposit to first memory and second memory.
The value of each byte in each message data field is revised in first memory and the second memory successively according to predefined procedure in modification unit among the step 4:MCU.Particularly, revising the unit can double byte, byte, 4,2 order are revised successively to the value of each byte in each message data field in first, second storer.
Step 5: the 3rd storer records the data fields position at message, corresponding modify time and this message place of revising this modification unit in step 4.
Step 6: second transceiver sends to network node A with amended message in the first memory, and first transceiver sends to the car load control module with amended message in the second memory simultaneously.
Step 7: the 3rd transceiver receives the diagnostic signal message of onboard diagnostic system.
Step 8: the diagnostic signal message that control module receives from onboard diagnostic system according to the 3rd transceiver, judge that the corresponding network node receives after the message of having revised byte, whether Vehicle Control Network has produced Significant Change.
Step 9: when judging after the corresponding network node receives the message of having revised byte, when Vehicle Control Network had produced Significant Change, the 4th storer recorded the data fields position at this message that is modified, corresponding modify time and this message place.Simultaneously, control module is determined the concrete physical significance of this modification byte, thereby realizes the parsing to agreement.
Step 10: when judging after the corresponding network node receives the message of having revised byte, when Vehicle Control Network does not produce Significant Change, judge whether byte all is modified in the message, if all revised, protocol finishes process of analysis then, if all do not revise, return the step 4 pair message content of not yet revising and make amendment.
The above-mentioned flow process of communication protocol analytic method can be finished the automatic parsing to communication protocol.In addition, after this is parsed automatically, after namely having obtained in the message signals of control network effectively the state of a control signal, can also be by the key parameter value in the protocol resolver manual modification control signal, whether observing system produces the variation of expection, thereby whether the result that definite protocol resolver parses automatically is correct, namely by manual operations the automatic operation of protocol resolver verified.As the further function of the utility model, thereby in finally finishing communication protocol parsing acquisition message signals, after the effective control signal, can also make amendment to this signal, thereby realization is to effective control of each critical component.
Embodiment
Fig. 5,6 is respectively the topological diagram that the Vehicle Control Network of protocol resolver front and back is set among the utility model embodiment.Below just with reference to figure 5,6, take the control command of resolving clutch separation/joint in the Vehicle Control Network as target, embodiment of the present utility model is elaborated.
As shown in Figure 5, the bus topolopy of certain unknown Vehicle Control Network comprises two CAN buses, wherein the network node that relates to of CAN bus comprises: engine controller, gearbox control, brake monitor and car load control module, the transfer rate of CAN bus is 250Kbit/s, with its called after CAN250, shown in fine line among Fig. 5,6; The network node that an other CAN bus relates to comprises: automatic clutch controller, electric machine controller, power-supply controller of electric and car load control module, the transfer rate of CAN bus are 500Kbit/s, with its called after CAN500, shown in heavy line among Fig. 5.The car load control module is the control core of automotive control system, its network that consists of by above-mentioned two CAN buses is assigned various steering orders to each parts, receive the signal that each parts is uploaded, and realize the mutual of data on two buses as the center tie point of network.In addition, also comprise one in this automotive control system based on the J1587 communication network of RS485 bus, as shown in phantom in Figure 5, this bus is used for the On-Board Diagnostics (OBD) information of transmission and the generation of record onboard diagnostic system.
As shown in Figure 6, connect between car load control module and automatic clutch controller protocol resolver in access the utility model, it carries out physical shielding to realize the parsing of communication protocol to the message communication between car load control module and the automatic clutch controller.First transceiver among Fig. 2 is used for receiving the message signals that the car load control module sends to automatic clutch controller, second transceiver is used for receiving the message signals that automatic clutch controller sends to the car load control module, and the 3rd transceiver is used for receiving the On-Board Diagnostics (OBD) infomational message that onboard diagnostic system sends by diagnose interface.
After bus powered on, first, second transceiver received respectively the communication signal between car load control module and the automatic clutch controller, and was deposited respectively to first memory and second memory from high to low by important level by determining unit.By priori as can be known, the control command of clutch separation/joint should send to automatic clutch controller by the car load control module, and therefore revising in the present embodiment the unit can only carry out the modification of data fields value for the message in the first memory.Particularly, revise the unit and revise successively in the first memory value of each byte in each message data field according to double byte, byte, 4,2 order, send to automatic clutch controller by second transceiver, and recorded successively byte location that is modified message, modification time, modification etc. by the 3rd storer.Simultaneously, the diagnostic signal message that control module receives according to the 3rd transceiver self diagnosis interface, whether automatic lookup clutch has produced the state change that separates or engage after judging the modification byte, and also can rely on artificially sound to judge whether clutch coupling has next auxiliary parsing of action.Automatic lookup clutch has produced the state change after judging the modification byte, and the 4th memory stores records the data fields position at this message that is modified, corresponding modify time and this message place.Simultaneously, control module is determined the concrete physical significance of this modification byte, thereby realizes the protocol analysis to the control signal of automatic clutch controller.
Behind the protocol analysis of realization to the control signal of automatic clutch controller, can also further realize the effective control to this automatic clutch controller.For example, the control signal that sends to automatic clutch controller when the car load control module makes automatic lookup clutch carry out lock out operation, is transmitted to automatic clutch controller after just can this control signal being revised as the signal that carries out bonding operation by protocol resolver after the respective protocol having resolved again.
Specifically use the CAN bus system although it should be appreciated by those skilled in the art that present embodiment, the utility model also can use FlexRay, and the bus systems such as Lin realize.
By technique scheme, the utility model can effectively be resolved control and status signal crucial in the Vehicle Control Network, and realizes the accurate control of each critical system, and the accuracy that it has strengthened protocol analysis has improved analyzing efficiency, has saved resources for research.
The utility model includes but not limited to above embodiment, and every any local improvement of carrying out under spirit of the present utility model and principle is equal to replacement and all will be considered as within protection domain of the present utility model.

Claims (5)

1. automobile protocol resolver of be used for resolving the communication protocol of vehicle complete vehicle control module, it is characterized in that, described protocol resolver is installed between the car load control module and network node of Vehicle Control Network, it comprises first transceiver, second transceiver, the 3rd transceiver, MCU, first memory, second memory, the 3rd storer and the 4th storer
Wherein, described first transceiver connects described car load control module and described MCU, and described second transceiver connects described network node and described MCU, and described the 3rd transceiver connects onboard diagnostic system and described MCU.
2. protocol resolver according to claim 1 is characterized in that, described Vehicle Control Network is based on the network of bussing technique.
3. protocol resolver according to claim 2 is characterized in that, described bus is CAN bus, RS485 bus, FlexRay bus or Lin bus.
4. protocol resolver according to claim 1 is characterized in that, described protocol resolver also comprises a power module.
5. the described protocol resolver of any one according to claim 1-4, it is characterized in that, described network node is single automobile control node or the network function module that comprises one or more automobile control nodes, and described automobile control node is selected from following group: engine controller, gearbox control, brake monitor, automatic clutch controller, electric machine controller, power-supply controller of electric and onboard diagnostic system.
CN 201220285409 2012-06-14 2012-06-14 Automobile protocol analyzer for analyzing communication protocol of finished automobile control module Expired - Lifetime CN202711059U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220285409 CN202711059U (en) 2012-06-14 2012-06-14 Automobile protocol analyzer for analyzing communication protocol of finished automobile control module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220285409 CN202711059U (en) 2012-06-14 2012-06-14 Automobile protocol analyzer for analyzing communication protocol of finished automobile control module

Publications (1)

Publication Number Publication Date
CN202711059U true CN202711059U (en) 2013-01-30

Family

ID=47591341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220285409 Expired - Lifetime CN202711059U (en) 2012-06-14 2012-06-14 Automobile protocol analyzer for analyzing communication protocol of finished automobile control module

Country Status (1)

Country Link
CN (1) CN202711059U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259368A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of data transmission system and method based on FPGA

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259368A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of data transmission system and method based on FPGA

Similar Documents

Publication Publication Date Title
CN108803580B (en) Method for matching vehicle CAN protocol and related equipment
CN110162008B (en) CAN bus analysis method for new energy vehicle
CN100504932C (en) Method and device for a vehicle-related telematics service
CN102710656B (en) Communication protocol inverse analysis method based on automotive gateway system
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
US11475721B2 (en) Method for performing vehicle remote diagnosis and related devices
CN101360036A (en) CAN bus gateway controller and data transmission method between CAN buses
CN106970609A (en) The diagnostic method and vehicle diagnostics box of vehicle diagnostics box
CN102710479B (en) Automobile gateway system for inverse resolution of communication protocols
Khorsravinia et al. Integrated OBD-II and mobile application for electric vehicle (EV) monitoring system
CN107094109A (en) A kind of vehicle electronics processing unit system public network means of communication
CN101458525A (en) Automatic identification method for electric-controlled unit collocation
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN111538312A (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN110968070B (en) Intelligent ECU fault diagnosis system
CN110083628A (en) A kind of addressing method and device of Vehicle Electronic Control Unit ECU
CN102033540A (en) System for testing automobile instrument with a controller area network (CAN) bus and testing method thereof
CN202711059U (en) Automobile protocol analyzer for analyzing communication protocol of finished automobile control module
Aguiari et al. Monitoring electric vehicles on the go
CN202634475U (en) Automobile protocol analyzer for analyzing communication protocol of automobile network nodes
KR20180074128A (en) Diagnosis message routing system and method for gateway of vehicle
CN105374083A (en) Vehicle identification method and device
Rohith et al. Design and integration of gateway electronic control unit (ECU) for automotive electronics applications
CN116136685B (en) Communication control system and method suitable for high-speed CAN and low-speed CAN
KR20190063212A (en) Device and method for analysising can message using obd-ⅱ query

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20130130

CX01 Expiry of patent term