CN104780140B - A kind of configurable communication protocol identification and dissection process system - Google Patents

A kind of configurable communication protocol identification and dissection process system Download PDF

Info

Publication number
CN104780140B
CN104780140B CN201410012234.8A CN201410012234A CN104780140B CN 104780140 B CN104780140 B CN 104780140B CN 201410012234 A CN201410012234 A CN 201410012234A CN 104780140 B CN104780140 B CN 104780140B
Authority
CN
China
Prior art keywords
data
protocol
protocol identification
analysis
communication
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 - Fee Related
Application number
CN201410012234.8A
Other languages
Chinese (zh)
Other versions
CN104780140A (en
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.)
Sheng Ji Hi Tech (beijing) Technology Co Ltd
Henan Xuji Instrument Co Ltd
Original Assignee
Sheng Ji Hi Tech (beijing) Technology Co Ltd
Henan Xuji Instrument 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 Sheng Ji Hi Tech (beijing) Technology Co Ltd, Henan Xuji Instrument Co Ltd filed Critical Sheng Ji Hi Tech (beijing) Technology Co Ltd
Priority to CN201410012234.8A priority Critical patent/CN104780140B/en
Publication of CN104780140A publication Critical patent/CN104780140A/en
Application granted granted Critical
Publication of CN104780140B publication Critical patent/CN104780140B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to a kind of configurable communication protocol identification and dissection process system, it is characterized in that the system establishes the specification of the identification of each agreement and parsing by protocol identification device and parsing analyzer, then go to inquire about according to the command code parameter extracted, access data operation processor, operation information is extracted from data operation processor to go to perform corresponding operating, corresponding data manipulation state and result are returned to protocol identification device or analytical analysis device, protocol identification device output protocol recognition result, analytical analysis device makees dissection process to protocol identification device identified communication data and exports analysis result.The system is by reconfiguring corresponding protocol identification device and parsing the parameter of analyzer, without changing protocol identification and analytical tool in itself, it is achieved thereby that the scalability of agreement.The typical case of the system is various communications protocols to be carried out intercepting identification and dissection process in wireless communications.

Description

A kind of configurable communication protocol identification and dissection process system
Technical field
The present invention relates to a kind of configurable communication protocol identification and dissection process system, belong to digital communication technology neck Domain.
Background technology
With the development of science and technology electric room has data communication function mostly, different types of equipment is also respectively made by oneself Different communication protocol standards is determined.Such as in electricity meter-reading and wireless kilowatt meter reading-out system, electronic electric energy meter, data acquisition Terminal and other slave computer equipment all have communication function, and these equipment typically have the protocol architecture of oneself.Either use Wired paths, or radio channel, it is required for that telecommunication data protocol is identified and parses, it is real to monitor reception data The test of existing data is sent.However, transceiver communication testing tool general at present, it is impossible to realize each byte of communication data or number According to the parsing of section implication.And can only be to a kind of specific protocol realization specifically for the transceiver communication testing tool of a certain agreement Parsing.Include various communications protocols again if set of system includes more sub- equipment, between them, then need to use multiple specific The transceiver communication testing tool of agreement is tested respectively, and which results in use upper trouble.Such as in intelligent electric meter networking system In system exploitation, electric energy meter uses the serial communication protocols of DL/T 645, and concentrator Local Communication Module interface uses Q/GDW 376.2 Serial communication protocol, the several direct serial communications of CPU in circuit board inside use the consensus standard of designed, designed again.It is in addition, existing The project and content for having its protocol analysis of communication protocol transmitting-receiving testing tool can not be for user configurations, and communication protocol is in structure sum During according to upper if it happens modifications and extensions, existing communication protocol transmitting-receiving testing tool can not be continuing with, it is necessary to be set by the instrument Meter personnel remodify program, add R&D cycle and cost.For example People's Republic of China's power industry standard is on more Function electric energy meter communication protocol is exactly a kind of serial communication protocol, and what the agreement was promulgated in 2007《DL/T 645-2007 are more Function electric energy meter communication protocol》Standard is compared 1997《DL/T 645-1997 multi -function watt -hour meter communication protocols》Standard is entered Gone modification, and at present industry without can the two release protocols of automatic identification simultaneously and then realize the transceiver communication of protocol analysis Testing tool.Therefore, there is using trouble, spy difficult in maintenance, poor expandability in existing communication protocol identification and analytical tool Point.Meanwhile the data of multiple transport protocols are there may be in hollow of RFDC, but have instrument at present can only be right Single-protocol is identified, and that intercepts and identify is limited in one's ability, is unfavorable for the test of RFDC.
The content of the invention
The purpose of the present invention is to propose to a kind of configurable communication protocol identification and dissection process system, solve wireless etc. logical In letter application the problem of a variety of data protocol identifications.The present invention will be by reconfiguring corresponding protocol identification device and analytical analysis The parameter of device, without changing protocol identification and analytical tool in itself so that it is new to change or newly add that communication protocol is identified, parsing, from And realize the scalability of agreement.
A kind of configurable communication protocol identification and dissection process system, it is characterised in that the system contains:
Communication data receiving interface, the interface communication data, and communication data is stored in data buffer zone.
Data buffer zone, to preserve the communication data received from input, and communication data is exported to data file Manager.
Communications reception data file manager, the communication data in data buffer zone is preserved to data file, with And the communication data in data file is stored in data buffer zone.
Protocol identification device, it is communication data in data buffer zone that it, which is inputted, according to matching somebody with somebody for communication data and protocol identification Parameter is put, the operation information input data of protocol identification is operated into processor one by one, the output for obtaining data operation processor is sentenced Disconnected result, the protocol identification result of the frame traffic data is exported according to judged result.
Data operation processor, it inputs the operation information of the operation information and parsing analyzer for protocol identification device, according to Data manipulation processing is carried out to the communication data in data buffer zone according to operation information, and result is returned into protocol identification Device and parsing analyzer.
Analytical analysis device, it inputs the recognition result for protocol identification device, according to matching somebody with somebody for recognition result and protocol analysis Parameter is put, the dissection process of corresponding agreement is selected, the operation information input data of protocol analysis is operated into processor one by one, obtain The output judged result of data operation processor, the analysis result according to judged result output communication data.
Further, the configuration parameter of described protocol identification includes recognizable number of protocols PNWith every group of protocol characteristic Parameter, number of protocols PNIt is the group number of the protocol characteristic parameter configured in protocol identification device, every group of protocol characteristic parameter includes Protocol name PName, protocol identification conditional number PCN, the judgment step number P that includes of each protocol identification conditionCSN, every agreement knows The command code P of other condition judgment stepCOPAnd its operation information collection PCOIS;The operation information of the protocol identification is known comprising agreement Other condition and judgment step information;The operation information for the protocol identification condition judgment step that one group of protocol characteristic parameter is included is all After input data operation processor, if the output judged result of every protocol identification condition is correct, protocol identification device is defeated The protocol identification result gone out includes the byte length P of the frame traffic dataBLenThe protocol name met with the frame traffic data PName;If at least there is a mistake in the output judged result of every protocol identification condition, output protocol recognition result Protocol name PNameIt is unknown to be designated as agreement.
Further, described data manipulation processing include reading data, compare data, data check calculating, data are patrolled Collect calculating, data arithmetic calculates, operation redirects, exports operation;Data operation processor is by exporting operation to protocol identification device Result is exported with analyzer is parsed, result includes directly performing the defeated of data manipulation processing acquisition according to operation information Go out data and the output data of other data manipulations processing acquisition.
Further, the configuration parameter of described protocol analysis includes analysable number of protocols PN, Protocol Standard to be resolved Know FAPWith every group of protocol characteristic parameter, analysable number of protocols PNIt is the association configured in protocol identification device and parsing analyzer The group number of characteristic parameter is discussed, protocol identification to be resolved identifies FAPIt is that identity protocol identifier identifies that communication data meets agreement Label, every group of protocol characteristic parameter include protocol frame structure composition item sum PACIN, each composition item title PCIName, it is every Individual composition item operating procedure number PASN, each operating procedure command code PAOPAnd its operation information collection PAOIS;The protocol analysis Operation information include protocol analysis condition and judgment step information;The protocol analysis composition that one group of protocol characteristic parameter is included After all input data operation processors of operating procedure, command code and its operation information collection belonging to, according to protocol analysis composition item Operation information collection PAOIS, analytical analysis device exports the analysis result of the frame traffic data.
Brief description of the drawings
Fig. 1 is a kind of configurable communication protocol identification of the present invention and the structured flowchart of dissection process system.
Fig. 2 is the frame structure of communication protocol 1 in the embodiment of the present invention.
Fig. 3 is the frame structure of communication protocol 2 in the embodiment of the present invention.
Embodiment
The configurable communication protocol identification of the embodiment of the present invention is as shown in Figure 1 with the structured flowchart of dissection process system. Configuration structure is established based on the following the frame structure of communication protocol 1 and agreement 2, specific illustrate how to establish one kind with reference to frame structure can Communication protocol identification and the dissection process system of configuration, the frame structure difference of specific agreement 1 and agreement 2 is as shown in Figure 2 and Figure 3.
Protocol identification device safeguards following three kinds of data:
(1) the overall information data of the energy processing protocol, can processing protocol quantity PN=2;Recognizable protocol name PName1 =agreement 1, PName2=agreement 2;Identification conditional number is PCN1=0x06、PCN2=0x06。
(2) the characteristic parameter information data of agreement 1, the related data of frame head identification item have: PCSN=0x02、PCOP1= Read、PCOP2Eq、PCOIS1[0]= 0x00、PCOIS1[1]= 0x01、PCOIS1[2]= FH、PCOIS2[0]=FH、PCOIS2[1]= 0x11。
The related data of version identification item has:PCSN=0x02、PCOP1=Read、PCOP2= Eq、PCOIS1[0]= 0x01、PCOIS1 [1]= 0x01、PCOIS1[2]= FV、PCOIS2[0]= FV、PCOIS2[1]= 0x00、PCOIS2[2]= 0x01。
The related data of target protocol identification item has:PCSN=0x02、PCOP1=Read、PCOP2=EQ、PCOIS1[0]= 0x01、 PCOIS1[1]=0x01、PCOIS1[2]= FOP、PCOIS2[0]= FOP、PCOIS2[1]= 0x01、PCOIS2[2]= 0x02、PCOIS2[3]= 0x06。
The related data of frame length identification item has:PCSN=0x01、PCOP1=Read、PCOIS1[0]= 0x01、PCOIS1[1]= 0x01、PCOIS1[2]= FL
The related data of verification identification item has: PCSN=0x03、PCOP1=Read、PCOP2=Sum、PCOP3=Eq、PCOIS1[0]= 0x01+ FL、PCOIS1[1]= 0x01、PCOIS1[2]= FCS、PCOIS2[0]= 0x00、PCOIS2[1]= 0x03+FL、PCOIS2[2]= FSum、PCOIS3[0]= FCS、PCOIS3[1]= FSum
The related data of postamble identification item has: PCSN=0x02、PCOP1=Read、PCOP2=Eq、PCOIS1[0]= 0x02+ FL 、 PCOIS1[1]= 0x01、PCOIS1[2]= FE、PCOIS2[0]= FE、PCOIS2[1]= 0x13。
(3) the characteristic parameter information data of agreement 2, the related data of frame head identification item have: PCSN=0x02、PCOP1= Read、PCOP2=Eq、PCOIS1[0]= 0x00、PCOIS1[1]= 0x01、PCOIS1[2]= FH、PCOIS2[0]=FH、PCOIS2[1]= 0x68。
The related data of frame identifier identification item has:PCSN=0x02、PCOP1=Read、PCOP2=Eq、PCOIS1[0]= 0x07、 PCOIS1[1]= 0x01、PCOIS1[2]= FIDC、PCOIS2[0]= FIDC、PCOIS2[1]= 0x68。
The related data of control code identification item has:PCSN=0x02、PCOP1=Read、PCOP2= EQ、PCOIS1[0]= 0x01、 PCOIS1[1]= 0x01、PCOIS1[2]= FC、PCOIS1[0]= FC、PCOIS1[1]= 0x08、PCOIS1[2]= 0x13。
The related data of data field length identification item has:PCSN=0x01、PCOP1=Read、PCOIS1[0]= 0x01、PCOIS1[1]= 0x01、PCOIS1[2]= FL
The related data of verification identification item has: PCSN=0x03、PCOP1=Read、PCOP2=Sum、PCOP3=Eq、PCOIS1[0]= 0x01+ FL、PCOIS1[1]= 0x01、PCOIS1[2]= FCS、PCOIS2[0]= 0x0A、PCOIS2[1]= FL、PCOIS2[2]= FSum、 PCOIS3[0]= FCS、PCOIS3[1]= FSum
The related data of postamble identification item has: PCSN=0x02、PCOP1=Read、PCOP2=Eq、PCOIS1[0]= 0x02+ FL 、 PCOIS1[1]= 0x01、PCOIS1[2]= FE、PCOIS2[0]= FE、PCOIS2[1]= 0x16。
Analytical analysis device safeguards following three kinds of data:
(1) the overall information data of the energy analysis protocol, can processing protocol quantity PN=2;Protocol frame structure composition item is total Number number is PACIN1=0x08、PACIN2=0x09, protocol-identifier F to be resolvedAP=0。
(2) the characteristic parameter information data of agreement 1, the related data of protocol name composition item have: PASN=0x01、PCOP1= Out、PAOIS1[0]=agreement:、PAOIS1 [1]= PName1
The related data of frame head composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x00、PAOIS1 [1]= 0x01、PAOIS1 [2]= FH、PAOIS2 [0]=FH、PAOIS2 [1]= 0x11、PAOIS3[0]=frame head:、 PAOIS3 [1]=FH
The related data of version composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FV、PAOIS2 [0]= FV、PAOIS2 [1]= 0x00、PAOIS2 [2]= 0x01、 PAOIS3[0]=version:、PAOIS3 [1]= FV
The related data of target protocol composition item has:PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FOP、PAOIS2 [0]= FOP、PAOIS2 [1]= 0x01、PAOIS2 [2]= 0x02、PAOIS2 [3]= 0x06、PAOIS3[0]=target protocol:、PAOIS3 [1]= FOP
The related data of frame length composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、 PAOIS1 [1]= 0x01、PAOIS1 [2]= FL、PAOIS2[0]=frame length:、PAOIS2 [1]= FL
The related data of data composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、 PAOIS1 [1]= FL、PAOIS1 [2]= FDat、PAOIS2[0]=data:、PAOIS2 [1]= FDat
The related data of verification composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、 PAOIS1 [1]= 0x01、PAOIS1 [2]= FCS、PAOIS2[0]=verification:、PAOIS2 [1]= FCS
The related data of postamble composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FE、PAOIS2 [0]= FE、PAOIS2 [1]= 0x13、PAOIS3[0]=postamble:、 PAOIS3 [1]= FE
(3) the composition item array data of agreement 2, the related data of protocol name composition item have: PASN=0x01、PCOP1= Out、PAOIS1[0]=agreement:、PAOIS1 [1]= PName2
The related data of frame head composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x00、PAOIS1 [1]= 0x01、PAOIS1 [2]= FH、PAOIS2 [0]=FH、PAOIS2 [1]= 0x68、PAOIS3[0]=frame head:、 PAOIS3 [1]=FH
The related data of address composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、 PAOIS1 [1]= 0x06、PAOIS1 [2]= FAddr、PAOIS2[0]=address:、PAOIS2 [1]= FAddr
The related data of frame identification code composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FIDC、PAOIS2 [0]= FIDC、PAOIS2 [1]= 0x68、PAOIS3 [0]=frame identifier:、PAOIS3 [1]= FIDC
The related data of control code composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FC、PAOIS2 [0]= FC、PAOIS2 [1]= 0x08、PAOIS2 [3]= 0x13、PAOIS3[0]=control code:、PAOIS3 [1]= FC
The related data of data field length composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FL、PAOIS2[0]=data field length:、PAOIS2 [1]= FL
The related data of data composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、 PAOIS1 [1]= FL、PAOIS1 [2]= FDat、PAOIS2[0]=data field:、PAOIS2 [1]= FDat
The related data of verification composition item has: PASN=0x02、PCOP1=Read、PCOP2= Out、PAOIS1 [0]= 0x01、 PAOIS1 [1]= 0x01、PAOIS1 [2]= FCS、PAOIS2[0]=verification:、PAOIS2 [1]= FCS
The related data of postamble composition item has: PASN=0x03、PCOP1=Read、PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x01、PAOIS1 [1]= 0x01、PAOIS1 [2]= FE、PAOIS2 [0]= FE、PAOIS2 [1]= 0x16、PAOIS3[0]=postamble:、 PAOIS3 [1]= FE
For example the valid data frame that serial ports receives is:68 AA AA AA AA AA AA 68 13 01 00 00 16. The flow with parsing once is identified with reference to this frame message description:
(1) first, this frame message is given to protocol identification device;Protocol identification device reads agreement overall information:PN=2、PName1 =agreement 1, PName2=agreement 2, PCN1=0x06、PCN2=0x06;Then the characteristic parameter information data of agreement 1 is read;Read frame head Identification information:PCSN=0x02、PCOP1=Read、PCOP2=Eq、PCOIS1[0]=0x00、PCOIS1[1]= 0x01、PCOIS1[2]= FH、 PCOIS2[0]=FH、PCOIS2[1]=0x11, it is P that the first step read operation Read of first Rule of judgment, which reads offset,COIS1 [0], length PCOIS1[1] data, P is deposited inCOIS1[2] in;The second step of first Rule of judgment compares operation Eq and compared Variable PCOIS2[0] data and P inCOIS2[1] it is whether equal;Obviously, now PCOIS2[0]=FH=0x68、PCOIS2[1]=0x11, The two is unequal, and now first Rule of judgment result is incorrect, illustrates that serial ports valid data frame is unsatisfactory for the frame head knowledge of agreement 1 Other item.
(2) then, the characteristic parameter information data of agreement 2 is read;Read frame head identification information:PCSN=0x02、PCOP1= Read、PCOP2=Eq、PCOIS1[0]= 0x00、PCOIS1[1]= 0x01、PCOIS1[2]= FH、PCOIS2[0]=FH、PCOIS2[1]= 0x68, it is P that the first step read operation Read of first Rule of judgment, which reads offset,COIS1[0], length PCOIS1[1] number According to, deposit in PCOIS1[2] in, the second step of first Rule of judgment compares operation Eq comparison variables PCOIS2[0] data in PCOIS2[1] it is whether equal;Obviously, now PCOIS2[0]=FH=0x68、PCOIS2[1]=0x68, the two is equal, now sentences for first Disconnected conditional outcome is correct, illustrates that serial ports valid data frame frame head is consistent with the frame head identification information of agreement 2, then reads frame identification Accord with identification information:PCSN=0x02、PCOP1=Read、PCOP2=Eq、PCOIS1[0]= 0x07、PCOIS1[1]= 0x01、PCOIS1[2]= FIDC、PCOIS2[0]= FIDC、PCOIS2[1]=0x68, the first step read operation Read of second Rule of judgment read offset and are PCOIS1[0], length PCOIS1[1] data, P is deposited inCOIS1[2] in, the second step of second Rule of judgment compares operation Eq Comparison variable PCOIS2[0] data and P inCOIS2[1] it is whether equal;Obviously, now PCOIS2[0]= FIDC =0x68、PCOIS2[1] =0x68, the two is equal, and now second Rule of judgment result is correct, illustrates the frame of serial ports valid data frame frame head and agreement 2 Identifier identification information is consistent, similarly, is being readily obtained control code, data field length, verification and postamble Rule of judgment result just Really, therefore, illustrate that serial ports valid data frame meets all identification items of agreement 2, now protocol name PName=PName2=agreement 2, Protocol-identifier F to be resolvedAP=0x02。
(3) then, recognition result is submitted to analytical analysis device by protocol identification device;Analytical analysis device, which reads agreement, totally to be believed Breath: PN=2、PACIN1=0x08、PACIN2=0x09、FAP=0x02、PName=agreement 2, then read the characteristic parameter Information Number of agreement 2 According to;Read protocol name composition item information:PASN=0x01、PCOP1= Out、PAOIS1[0]=agreement:、PAOIS1 [1]= PName, the The first step output operation Out outputs P of one analysis conditionAOIS1[0] information in, and then exports P againAOIS1[1] letter Breath, first analysis condition output result is agreement:Agreement 2;Read frame head composition item information:PASN=0x03、PCOP1=Read、 PCOP2=Eq、PCOP2= Out、PAOIS1 [0]= 0x00、PAOIS1 [1]= 0x01、PAOIS1 [2]= FH、PAOIS2 [0]=FH、PAOIS2 [1]= 0x68、PAOIS3[0]=frame head:、PAOIS3 [1]=FH, the first step read operation Read of second analysis condition, which is read, to be offset Measure as PAOIS1[0], length PAOIS1[1] data, P is deposited inAOIS1[2] in, the second step of second analysis condition compares Operate Eq comparison variables PAOIS2[0] number and P inAOIS2[1] it is whether equal;Obviously, now PCOIS2[0]=FH=0x68、PCOIS2 [1]=0x68, the two is equal, and now the second step analysis result of second analysis condition is correct, and the of second analysis condition Three steps output operation Out outputs PAOIS3[0] information in, and then exports P againAOIS3[1] information, second analysis condition Output result is frame head:0x68, similarly, address, frame identifier, control code, data field length, data, verification can be read respectively Composition item information is parsed with postamble, corresponding parsing information can be obtained.After the completion of parsing operation processing, corresponding analysis result shows It is shown as:
Agreement:Agreement 2;
Frame head:0x68;
Address:AA AA AA AA AA AA;
Frame identification code:0x68;
Control code:0x13;
Data field is grown:0x00;
Data:0x00;
Verification:0x00;
Postamble:0x16.

Claims (4)

1. a kind of configurable communication protocol identification and dissection process system, it is characterised in that the system contains:
Communication data receiving interface, the interface communication data, and communication data is stored in data buffer zone;
Data buffer zone, to preserve the communication data received from input, and communication data is exported to data file management Device;
Communications reception data file manager, the communication data in data buffer zone is preserved to data file, and will Communication data deposit data buffer zone in data file;
Protocol identification device, it is inputted as the communication data in data buffer zone, the configuration ginseng according to communication data and protocol identification Number, the operation information input data of protocol identification is operated into processor one by one, the output for obtaining data operation processor judges knot Fruit, the protocol identification result of the communication data is exported according to judged result;
Data operation processor, it inputs the operation information of the operation information and parsing analyzer for protocol identification device, according to behaviour Make information in data buffer zone communication data carry out data manipulation processing, and by result return to protocol identification device and Analytical analysis device;
Analytical analysis device, it inputs the recognition result for protocol identification device, the configuration ginseng according to recognition result and protocol analysis Number, the dissection process of corresponding agreement is selected, the operation information input data of protocol analysis is operated into processor one by one, obtains data The output judged result of processor is operated, the analysis result according to judged result output communication data.
2. a kind of configurable communication protocol identification according to claim 1 and dissection process system, it is characterised in that institute The configuration parameter for the protocol identification stated includes recognizable number of protocols PNWith every group of protocol characteristic parameter, number of protocols PNIt is association The group number of the protocol characteristic parameter configured in view identifier, every group of protocol characteristic parameter include protocol name PName, agreement know Other conditional number PCN, the judgment step number P that includes of each protocol identification conditionCSN, every protocol identification condition judgment step operation Code PCOPAnd its operation information collection PCOIS;The operation information of the protocol identification includes protocol identification condition and judgment step information; After the operation information for the protocol identification condition judgment step that one group of protocol characteristic parameter is included all input data operation processors, If the output judged result of every protocol identification condition is correct, the protocol identification result of protocol identification device output includes should The byte length P of frame traffic dataBLenThe protocol name P met with the frame traffic dataName
If at least there is a mistake, the association of output protocol recognition result in the output judged result of every protocol identification condition Discuss title PNameIt is unknown to be designated as agreement.
3. a kind of configurable communication protocol identification according to claim 1 and dissection process system, it is characterised in that institute State data manipulation processing include read data, compare data, data check calculate, mathematical logic calculate, data arithmetic calculating, Operation redirects, exports operation;Data operation processor is handled by exporting operation to protocol identification device and the output of parsing analyzer As a result, result includes directly performing output data and the other data manipulations that data manipulation processing obtains according to operation information Handle the output data obtained.
4. a kind of configurable communication protocol identification according to claim 1 and dissection process system, it is characterised in that institute The configuration parameter for the protocol analysis stated includes analysable number of protocols PN, protocol-identifier F to be resolvedAPJoin with every group of protocol characteristic Number, analysable number of protocols PNIt is the group number of the protocol characteristic parameter configured in protocol identification device and parsing analyzer, treats Analysis protocol identification marking FAPIt is that identity protocol identifier identifies that communication data meets the label of agreement, every group of protocol characteristic Parameter includes protocol frame structure composition item sum PACIN, each composition item title PCIName, each composition item operating procedure number PASN, each operating procedure command code PAOPAnd its operation information collection PAOIS;The operation information of the protocol analysis includes agreement Analysis condition and judgment step information;Operating procedure, behaviour belonging to the protocol analysis composition item that one group of protocol characteristic parameter is included After making code and its operation information collection all input data operation processors, the operation information collection P according to protocol analysis composition itemAOIS, Analytical analysis device exports the analysis result of the frame traffic data.
CN201410012234.8A 2014-01-12 2014-01-12 A kind of configurable communication protocol identification and dissection process system Expired - Fee Related CN104780140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410012234.8A CN104780140B (en) 2014-01-12 2014-01-12 A kind of configurable communication protocol identification and dissection process system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410012234.8A CN104780140B (en) 2014-01-12 2014-01-12 A kind of configurable communication protocol identification and dissection process system

Publications (2)

Publication Number Publication Date
CN104780140A CN104780140A (en) 2015-07-15
CN104780140B true CN104780140B (en) 2018-02-16

Family

ID=53621387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410012234.8A Expired - Fee Related CN104780140B (en) 2014-01-12 2014-01-12 A kind of configurable communication protocol identification and dissection process system

Country Status (1)

Country Link
CN (1) CN104780140B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017177362A1 (en) 2016-04-11 2017-10-19 武汉芯泰科技有限公司 Wireless configurable flash memory
CN106713343B (en) * 2017-01-09 2019-11-05 青岛金思特电子有限公司 A method of communication protocol intelligently parsing is realized based on cloud computing
CN107804479B (en) * 2017-10-27 2021-06-18 四川航天烽火伺服控制技术有限公司 Rudder system test method and device and rudder system test equipment used by same
CN108170432B (en) * 2017-12-12 2020-10-16 上海天旦网络科技发展有限公司 Configurable data packet decoding system and method
CN109450731A (en) * 2018-11-09 2019-03-08 中国科学院长春光学精密机械与物理研究所 A kind of test data generating method of application layer communication protocol
CN109739747A (en) * 2018-12-13 2019-05-10 西安现代控制技术研究所 A kind of general analytic method of serial communication information protocol
CN110704356A (en) * 2019-09-25 2020-01-17 天津津航计算技术研究所 Universal serial port data analyzing method
CN111130690A (en) * 2019-11-12 2020-05-08 广西电网有限责任公司 Processing method and device for multiple communication protocols of IR46 smart electric meter
CN111770055A (en) * 2020-05-29 2020-10-13 宁波三星医疗电气股份有限公司 Multi-protocol communication frame rapid distinguishing method applied to electric energy meter
CN111770105B (en) * 2020-07-02 2023-01-31 山东建筑大学 Multi-protocol self-adaptive electricity meter data acquisition method
CN111741019A (en) * 2020-07-28 2020-10-02 常州昊云工控科技有限公司 Communication protocol analysis method and system based on field description

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1098491A2 (en) * 1999-11-08 2001-05-09 Agilent Technologies Inc. System and method for identifying related protocol data units
CN101262472A (en) * 2007-03-07 2008-09-10 力博特公司 A multi-function protocol parser and its realization method
CN101442489A (en) * 2008-12-30 2009-05-27 北京畅讯信通科技有限公司 Method for recognizing flux based on characteristic library
CN102164182A (en) * 2011-04-18 2011-08-24 北京神州绿盟信息安全科技股份有限公司 Device and method for identifying network protocol
CN102480462A (en) * 2010-11-23 2012-05-30 中国电信股份有限公司 Universal protocol adapting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1098491A2 (en) * 1999-11-08 2001-05-09 Agilent Technologies Inc. System and method for identifying related protocol data units
CN101262472A (en) * 2007-03-07 2008-09-10 力博特公司 A multi-function protocol parser and its realization method
CN101442489A (en) * 2008-12-30 2009-05-27 北京畅讯信通科技有限公司 Method for recognizing flux based on characteristic library
CN102480462A (en) * 2010-11-23 2012-05-30 中国电信股份有限公司 Universal protocol adapting method and device
CN102164182A (en) * 2011-04-18 2011-08-24 北京神州绿盟信息安全科技股份有限公司 Device and method for identifying network protocol

Also Published As

Publication number Publication date
CN104780140A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
CN104780140B (en) A kind of configurable communication protocol identification and dissection process system
EP3353658B1 (en) Sensor lifecycle management system
CN107612909A (en) Information interacting method, device and equipment on internet of things equipment
KR101914604B1 (en) Control method and control system for iot device using cloud platform
CN103095475B (en) The method for inspecting and system of multimode communication device
CN108062367A (en) The method for uploading and its terminal of a kind of data list
EP2299277A1 (en) Analysis system for analysing biological samples, methods and computer program product
CN104412565B (en) For relating to the method that the socket of bearer independent protocol manages
CN101778016A (en) Design method of virtual testing system of network device
CN103957198B (en) A kind of sensing data receives conversion method and system
CN105917314A (en) Application error detection method for cloud streaming service, and apparatus and system therefor
JP2009017298A (en) Data analysis apparatus
CN105702001B (en) Transmit method, wireless gauge assembly and the system of meter measurement result
TW201322687A (en) Test method of a wireless network device and test system thereof
Badenhop et al. Extraction and analysis of non-volatile memory of the ZW0301 module, a Z-Wave transceiver
CN108399660A (en) Method for inspecting and server
CN101795463B (en) Method and system for analyzing WLAN authentication and privacy infrastructure protocol
CN108762205A (en) A kind of Laboratory Instruments automatic data collection and intelligent managing and control system
CN110501632A (en) The reliability test system of chip
CN106598895A (en) Small function board recognition system and method
CN106792678A (en) A kind of method and system of radio node automatic matching search
CN207164210U (en) A kind of test device of smart card
TWI635717B (en) System and method for data packet transceiver testing after signal calibration and power settling to minimize test time
JP5659155B2 (en) Specimen test device management server, Specimen test device, Specimen test system, and Specimen test method
CN105511639B (en) Input control method, device and the terminal device of input method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180216

Termination date: 20190112