Portable electric power communication protocol detector and detection method thereof

A power communication and portable technology, which is applied in the direction of electrical components, circuit devices, digital transmission systems, etc., can solve problems such as failure to find messages, unknown structure, difficult analysis, etc., to avoid further expansion and solve lost messages , the effect of a complete and effective analysis

Inactive Publication Date: 2010-01-06
南京拓为电力科技发展有限公司 +3
1 Cites 29 Cited by

AI-Extracted Technical Summary

Problems solved by technology

At the same time, the CPU module transmits the messages sent by multiple access modules to the memory for message storage, but the data throughput of the memory is much lower than the rate of the access module, which will cause message loss during storage.
Once the message is lost, the recorded and stored messages will be incomplete, and errors will occur when these incomplete messages are retrieved for analysis after a fault occurs, and the cause of the fault in the message cannot be found at all, so further searches cannot be made And eliminate the corresponding power grid faults, which will cause larger accidents
[0008] 2) Some modules described in the device (such as CAN network access module, LONWORK module, etc.) only have general terms, without relevant circuit diagrams and implementation mechanisms, and do not know what the specific structure is, and those skilled in the art cannot rely on the patent file for production
[0009] 3) The device is a split-type fixed device, and multiple sets need to be arranged in the comprehensive automation system of each transmission and substation, which is costly and inconvenient to move and carry
[0010] 4) The device first records and stores each message, and t...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention relates to a portable electric power communication protocol detector, simultaneously relates to a detection method of the detector and belongs to the technical field of communication detection in electric power systems. The detector comprises an acquisition device positioned in a portable machine case and in which includes a massage listener and a parallel to serial processor, and an analytic device containing a CPU, an analytic system, an input unit and a display, wherein the input unit and the display are respectively connected with the CPU. The input end of the massage listener is accessed into an electric power communication chain, and the output end of the massage listener is connected to the input end of the parallel to serial processor in parallel; the output end of the parallel to serial processor is connected with the CPU in series; and the control ends of the massage listener and the parallel to serial processor are respectively connected with the CPU. The detection method comprises the following steps: initializing the analytic system after parameters and system files of the detector are configured and then obtaining and displaying analysis results after the listened massage of the electric power communication chain is subjected to real-time network analysis and protocol analysis. The invention can eliminate the massage loss caused during the detection of electric power communication, thereby truly and effectively detecting the electric power communication.

Application Domain

Technology Topic

Image

  • Portable electric power communication protocol detector and detection method thereof
  • Portable electric power communication protocol detector and detection method thereof
  • Portable electric power communication protocol detector and detection method thereof

Examples

  • Experimental program(2)

Example Embodiment

[0057] Example one
[0058] The portable power communication protocol detector of this embodiment is such as figure 1 with figure 2 As shown, it includes a collection device 1 and an analysis device 2 arranged in a handheld case. The acquisition device 1 contains a message listener and a parallel-to-serial processor; among them, the message listener is mirrored by the switch port, the signal message listener 4, the network signal message listener 5, and the serial signal message listener. The listener 6 and the MODEM carrier signal message listener 7 are composed of four message listeners, and the parallel-to-serial processor is composed of FPGA processor 3. The analysis device includes a CPU8, an analysis system 11, an input 9 and a display 10 respectively connected to the CPU8; among them, the CPU8 uses an embedded processor (model is MPC8377), and the input 9 uses a keyboard, mouse or touch screen input device, etc., the display 10Using general-purpose CRT or liquid crystal display. The respective input ends of the above four message listeners are respectively connected to the switch communication link 13, the network communication link 14, the serial power communication link 15 and the carrier power communication link 16. The four message listeners are Each output terminal is connected to the input terminal of FPGA processor 3 in parallel. The output end of the FPGA processor 3 is serially connected to the CPU 8 through a gigabit network port, and the respective control ends of the aforementioned four message listeners and the FPGA processor 3 are respectively connected to the CPU 8.
[0059] Since the output ends of the above four message listeners are respectively connected to the input end of FPGA processor 3 in parallel, the output rate of the four message listeners is generally 10M or 100M, and the Gigabit network of FPGA processor 3 The output rate of the port is much higher than the input rate from the four message listeners, and the messages transmitted by the four message listeners are output after the FPGA processor is buffered, so four message listeners can be guaranteed All the collected messages can be completely transmitted to the CPU8 without loss.
[0060] Such as figure 2 As shown, the analysis system 11 includes: an acquisition module 17 for reading messages of the power communication link from the FPGA processor 3, a network analysis module 18 for network analysis of the collected messages, and a network analysis module 18 for The application layer of the analyzed message performs protocol analysis by a protocol analysis module 19 and a scheduling management module 20 for scheduling and management between modules.
[0061] The portable power communication protocol tester of this embodiment also includes a memory 21 connected to the CPU 8, and the memory 21 is a solid state disk (solid state disk). The analysis system 11 also includes a recording module 22 for transmitting the messages read by the acquisition module 17 to the memory for storage after analysis by the analysis system, and statistics for statistical analysis of the analysis results of the network analysis module 18 and the protocol analysis module 19 Analysis module 23.
[0062] Such as image 3 with Figure 4 As shown, the FPGA processor 3 mainly contains a chip U1 with the model number ALTERAEP3C25Q240. The chip U1 mirrors the switch port signal message listener 4, network signal message listener 5, serial signal message listener 6 and MODEM carrier signal message listener 7 The data collected by the four message listeners are processed internally and transmitted to CPU8 through the gigabit Ethernet port. The gigabit Ethernet port of chip U1 is the internal A gigabit MAC soft core is formed. The Gigabit MAC soft core is then connected to the Gigabit PHY of chip U6 (model VSC8601) through its RGMII interface (pin 93 to pin 120), realizes Ethernet physical layer conversion on the PHY, and then passes through the first network The isolation transformer T1 and the A port of the first double-connected RJ45 interface J1 (such as Figure 5 Shown) is connected to CPU8 to realize the connection on the physical link.
[0063] Switch port mirroring signal message listener 4 such as Figure 5 As shown, the mirror port (switch communication link 14) of the external switch is connected to the 100MPHY of chip U5 (model KS8721BL) through the B port of the first dual-connected RJ45 socket J1 via the second network isolation transformer T2, and is implemented on chip U5 After the Ethernet physical layer is converted, the received data is transmitted to the FPGA processor 3 through the standard RMII port for processing. FPGA processor 3 implements a 100M MAC on its internal BANK3, and then through the RMII port (63-80 pins of chip U1) and chip U5 (such as Figure 5 Shown) PHY docking.
[0064] Network message listener such as Image 6 As shown, the A and B ports of the second dual-connected RJ45 socket J2 are respectively used as the input and output ports of the external network (network communication link 15) signal. The A and B ports are internally directly connected physically, which can ensure detection When listening, it does not cause damage to the normal communication of the external network. The two signals sent and received from the external network are respectively transmitted to the 100M PHY of two chips U3 and U4 (model KS8721BL) through the third and fourth network isolation transformers T3 and T4, and the Ethernet physical layer is realized on the two chips U3 and U4 After the conversion, it is transmitted to the FPGA processor 3 through the RMII port for processing. FPGA processor 3 implements two 100M MACs on its internal BANK1 and BANK2, and respectively through the RMII port (chip U1 has 4-22 pins and 38-57 pins) and two PHY chips U3 and U4 (such as Image 6 Show) to achieve docking.
[0065] Such as Figure 7 As shown, the serial message listener 6 is a three-in-one serial message listener, which provides three communication interfaces: RS485, RS422 and RS232. Its main function is to realize level conversion and drive between several serial digital interfaces. , And convert the signal received from the serial power communication link 13 into a unified TTL level UART signal and send it to the FPGA processor 3 for processing. When the serial power communication link 13 that needs to be monitored is RS485 communication mode, the A (RX+) and B (RX-) of the RS485 interface of the external serial device are connected to the chip U8, U9, U10 or U14 (model ADM485AR) respectively 6, 7 on the two pins. After the chip U8, U9, U10 or U14 completes the RS485 level to TTL level conversion, the received data is output to the serial data receiving end of the FPGA processor 3 through its pin 1 (the chip U1's 145, 139, 214, On pin 226); In RS485 listening mode, the serial message listener 6 can simultaneously listen to 4 RS485 serial ports. When the serial port power communication link 13 that needs to be monitored is RS422 communication mode, two RS485 ports are used to listen to an external target RS422 link. One RS485 is connected to the Y (TX+) and Z (TX-) lines of the external target RS422 transmission link, and the other RS485 is connected to the A (RX+) and B (RX-) lines of the RS422 receiving link on. When the serial port power communication link 13 that needs to be monitored is the RS232 communication mode, the serial port message listener 6 uses two RS232 receptions to listen to the two sending and receiving lines of an external target RS232 link. The receiving end or sending end of the external target RS232 link is connected to the 16 pins of the chip U11 or U12, U13, U15 (model SP3223EEY), after the chip U11 or U12, U13, U15 completes the RS232 level to TTL level conversion , Output the received data to the serial data receiving end of FPGA processor 3 (on the 144, 142, 216, 230 pins of the chip U1) through its 15 pins.
[0066] MODEM carrier signal message listener 7 such as Figure 8 with Picture 9 As shown, the MODEM carrier signal message listener 7 provides two MODEM carrier receiving interfaces, which can be used to listen to one MODEM communication target link (carrier power communication link 16). The two receiving interfaces of the MODEM carrier signal message listener 7 are respectively connected to a pair of receiving and transmitting lines of the target link. The carrier analog signal is coupled to the modulation and demodulation chip U16, U17 (model MC145503) through the fifth and sixth isolation transformers T5 and BT5 for demodulation, and then is serial-to-parallel converted through the chips U18 and U19 (model 74HC299), and then parallel The data is then sent to the single-chip microcomputers U20 and U21 (model STC89c51Rc) for decoding, and the decoded data is sent to the FPGA processor 3 through the 11 pins of the single-chip microcomputers U20 and U21 in a TTL level serial signal mode for data processing.
[0067] The portable power communication protocol detector of this embodiment adopts FPGA processor 3 to directly realize data recording and buffering at the MAC layer, and exchanges data with CPU8 through a network cable. There are three important bandwidth indicators. One is the total bandwidth of the listening interface. , The second is the writing speed of the hard disk, and the third is the network cable bandwidth. To achieve complete and effective detection, the total bandwidth of the listening interface should be less than the hard disk writing speed, and the network cable bandwidth should be greater than the sum of the total bandwidth of the listening network port and the hard disk writing speed, with margin. The bandwidth index designed by the detector in this embodiment is: the interface bandwidth of each message listener is 100Mbps (during a network storm), then the total interface bandwidth of the four message listeners=4×100Mbps=400Mbps; now generally The write speed of the SSD hard disk is 80MB/s-100MB/s, that is, 640Mbps-800Mbps; the network cable bandwidth is gigabit bandwidth. It can be seen that the designed bandwidth of the detector of this embodiment can meet the requirement of not losing data during detection.
[0068] Obviously, the above-mentioned portable power communication protocol detector of this embodiment can be simplified and changed. The solutions are: 1) Switch port mirroring signal message listener 4, network signal message listener 5, serial signal message listener 6 and MODEM carrier signal message listener 7 The four message listeners can also retain only one, two or three of them, or add message listeners for other communication methods; 2) FPGA processor 3 and the specific circuit structure of the four message listeners are not limited to the circuit structure of this embodiment; 3) The output terminal of the FPGA processor 3 can also be serially connected to the CPU 8 through a PCI bus or other connection methods; 4) memory 21 And the recording module 22 can also be omitted. The detector of this embodiment only performs real-time detection and analysis without recording; 5) The FPGA processor 3 can also be replaced by multiple single-chip microcomputers or other parallel-to-serial processors that work together.
[0069] The detection method of the portable power communication protocol detector of this embodiment, such as Picture 10 As shown, including the following steps:
[0070] 1) Start the tester, configure the parameters of the power communication link to be tested through the input 9 and associate and specify specific protocols to form a system configuration file,
[0071] ----Specific association designation is to select the syntax model file and semantic model file corresponding to the specific protocol of the power communication link to be detected,
[0072] ----The syntax analysis model file and the semantic analysis model file are imported into the detector through the input device 9 by preset or on-site,
[0073] ----The dispatch management module 20 mirrors the switch port according to the system configuration file. Signal message listener 4, network signal message listener 5, serial signal message listener 6 and MODEM carrier signal message listener 7 Set the working parameters of four message listeners and FPGA processor 3;
[0074] 2) The analysis system is initialized, that is, the CPU 8 first loads the dispatch management module 20, the network analysis module 18 and the acquisition module 17, the recording module 22 and the statistical analysis module 23. The dispatch management module 20 then loads the protocol analysis module 19 according to the system configuration file.
[0075] ----The protocol analysis module 19 is a general module that forms the syntax and semantic environment of a specific protocol through the grammar model file and the semantic model file and performs grammatical and semantic analysis on the specific protocol. That is, there is only one protocol analysis module in the analysis system. The statutes are identified by syntax model files and semantic model files,
[0076] ----Loading the network analysis module 18 is to generate the protocol layer, syntax analyzer, session channel manager, and semantic analyzer for the OSI (Open System Interconnection) model, and then organize the protocol layer into a protocol stack, and then Each protocol layer is equipped with a corresponding syntax analyzer and session channel manager, and then a semantic analyzer is configured for each session channel manager
[0077] ----The loading protocol analysis module 19 is initialized according to the syntax model file and semantic model file specified in the system configuration file, that is, the protocol layer, syntax analyzer, session channel manager, semantic analyzer for the specific protocol is generated, and then Organize the protocol layer into a protocol stack, and then equip each protocol layer with a corresponding syntax analyzer and session channel manager, and then configure a semantic analyzer for each session channel manager;
[0078] 3) Switch port mirroring signal message listener 4, network signal message listener 5, serial signal message listener 6 and MODEM carrier signal message listener 7 Four message listeners communicate through power The link listens to the messages of the power communication link. The serial port signal message listener 6 and the MODEM carrier signal message listener 7 (non-Ethernet power communication link message listener) first generate an Ethernet frame Network UDP packets, and then use the intercepted packets as the application layer of the UDP packets. The next four packet listeners will transmit the directly intercepted Ethernet packets to FPGA processor 3 and FPGA processor 3 in parallel. Add a timestamp to the messages received in parallel, and buffer the timestamped messages, and buffer the messages transmitted by the four message listeners;
[0079] 4) The acquisition module 17 reads the buffered message from the FPGA processor 3 and sends the message to the network analysis module 18. The acquisition module 17 sends the message to the recording module 22 after the analysis of the message is completed, and records The module 22 then transmits the message to the memory 21 for storage;
[0080] 5) The network analysis module 18 performs network syntax and semantic analysis on the message sent to the network analysis module to the application layer of the message according to the syntax and semantics of each protocol layer of the 0SI model, and sends the application layer message to the protocol analysis module ,
[0081] ----Network syntax and semantic analysis is to use a syntax analyzer at each protocol layer from the bottom of the protocol stack to perform syntax analysis on the message sent to the network analysis module 18, and pass the obtained syntax analysis tree to The session manager. The session manager distributes the syntax analysis tree to the semantic analyzers at the receiving and sending ends of the session manager for semantic analysis. The syntax analyzer and semantic analyzer respectively send the remaining application layer messages and semantic analysis results to the protocol The upper layer of the stack transfers, and the upper layer performs the above process again until it reaches the application layer of the protocol stack, the top of the protocol stack or the end of the message) to obtain the network analysis result of the message sent to the network analysis module 18,
[0082] ----Send application layer messages to protocol analysis module 19 for protocol analysis, and send network analysis results to statistical analysis module 23 for statistics and display;
[0083] 6) The protocol analysis module 19 analyzes the protocol syntax and semantics of the application layer message according to the syntax and semantics of the protocol,
[0084] ---- Protocol syntax and semantic analysis is to use a syntax analyzer to analyze the application layer messages from the bottom of the protocol stack to the session manager in sequence at each protocol layer, and pass the obtained syntax analysis tree to the session manager. The session manager distributes the syntax analysis tree to the semantic analyzers at the receiving and sending ends of the session manager for semantic analysis. The syntax analyzer and the semantic analyzer respectively send the remaining application layer messages and semantic analysis results to the protocol stack. The upper layer transfers, the upper layer repeats the above process until the top of the protocol stack or the end of the message is reached, the protocol analysis result of the application layer message is obtained, and the protocol analysis result is sent to the statistical analysis module for statistics and display ,
[0085] 7) The network analysis module 18 and the protocol analysis module 19 send their analysis results to the statistical analysis module 23 for statistical analysis, that is, extract the value of part of the message structure in the analysis result and make a chart, after at least two frames of messages The extracted values ​​are calculated and compared to form statistical results, and then the statistical results are sent to the display interface.

Example Embodiment

[0086] Example two
[0087] The portable power communication protocol detector of this embodiment is basically the same as that of the first embodiment, except that the FPGA processor 3 is replaced by a plurality of single-chip computers that work together.
[0088] The detection method of this embodiment is slightly different from the first embodiment, except for the same steps:
[0089] 1. The specific association designation in step 1) is to select the protocol analysis module 19 corresponding to the specific protocol of the power communication link to be detected;
[0090] 2. The protocol analysis module 19 in step 2) is a non-universal module that forms the grammatical and semantic environment of a specific protocol through programming and performs grammatical and semantic analysis of the specific protocol. That is, there are multiple protocol analysis modules in the analysis system. The statutes are identified by different statute analysis modules,
[0091] 3. The loading protocol analysis module 19 in step 2) is based on the protocol analysis module corresponding to the specific protocol specified in the system configuration file;
[0092] 4. The protocol syntax and semantic analysis in step 6) is that the application layer message forms a unit message structure according to the bit position of the byte, the bit combination of the byte, and the byte or byte combination, and then the unit message The structure is combined into a composite message structure, and then the relationship between each message structure is analyzed to form a syntax analysis result, and then the value of the message structure related to the context is extracted from the syntax analysis result to perform semantic analysis and form a semantic analysis As a result, the analysis result of the application layer message is obtained.
[0093] The detection method of the portable power communication protocol detector in each of the above embodiments can be applied to online real-time analysis or offline analysis. When performing online real-time analysis, because the message from the FPGA processor 3 is directly analyzed, it is possible to find and quickly find the cause and location of the message failure through protocol analysis; at the same time, because the message passes the protocol first The analysis module 19 performs real-time protocol analysis before storing. Therefore, even if some messages are lost when the storage rate is slow, it will not affect the discovery and analysis of message failures.
[0094] In a word, according to the above-mentioned portable power communication protocol detector and its detection method, the messages of various existing power communication links can be detected without omission, so that all the possible occurrences can be detected effectively. The message failure and its cause and location can provide guarantee for timely troubleshooting of power facilities.
[0095] The portable power communication protocol detector and detection method of the present invention are not limited to the specific technical solutions described in the above embodiments. For example, 1) the protocol syntax and semantic analysis of the protocol analysis module can also be a combination of all possible messages and All possible contexts are listed, and then the message is compared with the listed message combination and context for syntactic and semantic analysis; 2) The message can also be stored for analysis; 3) Non-Ethernet power The messages of the communication link message listener (serial signal message listener 6 and MODEM carrier signal message listener 7) may not be networked; etc. All technical solutions formed by equivalent replacement are within the protection scope of the present invention.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Multispectrum-based person movement track determination method

PendingCN112784703AAvoid the scope of the epidemicAvoid further expansionCharacter and pattern recognitionSensing radiation from moving bodiesPhysicsNuclear medicine
Owner:CHANGCHUN UNIV OF SCI & TECH

Fisher appliable to geological exploration and used for jaw-type rope coring drilling tool

PendingCN111997556AAvoid further expansionStrong working condition compatibilityBorehole/well accessoriesCore removalMining engineeringStructural engineering
Owner:HUNAN UNIV OF SCI & TECH

Tunnel pavement longitudinal crack reinforcing treatment construction method

InactiveCN112301829AAvoid further expansionEnsure safetyPaving reinforcementsFoundation engineeringSteel tubeRock pressure
Owner:山西省交通新技术发展有限公司 +1

Method for endowing low-voltage arrester with automatic separation function

ActiveCN109411168AAvoid further expansionQuick disconnectOther resistor networksOvervoltage protection resistorsLead MetalEngineering
Owner:SHANGHAI MUNICIPAL ELECTRIC POWER CO +1

Battery design method and battery

PendingCN114094240AAvoid further expansionPrevent battery explosionFinal product manufactureVent arrangementsTest batteryThermal runaway
Owner:VOYAH AUTOMOBILE TECH CO LTD

Classification and recommendation of technical efficacy words

  • Reduce the impact
  • Avoid further expansion

Cable tunnel micro automatic fireproof door

ActiveCN109931101AAvoid further expansionImprove practicalityMining devicesFire rescueEngineeringGlass cover
Owner:芜湖扬进自动化设备科技有限公司

Multispectrum-based person movement track determination method

PendingCN112784703AAvoid the scope of the epidemicAvoid further expansionCharacter and pattern recognitionSensing radiation from moving bodiesPhysicsNuclear medicine
Owner:CHANGCHUN UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products