CN110061880A - The data transmission detection device and method of concentrator and remote communication module - Google Patents

The data transmission detection device and method of concentrator and remote communication module Download PDF

Info

Publication number
CN110061880A
CN110061880A CN201910338601.6A CN201910338601A CN110061880A CN 110061880 A CN110061880 A CN 110061880A CN 201910338601 A CN201910338601 A CN 201910338601A CN 110061880 A CN110061880 A CN 110061880A
Authority
CN
China
Prior art keywords
communication module
serial
data
remote communication
concentrator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910338601.6A
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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201910338601.6A priority Critical patent/CN110061880A/en
Publication of CN110061880A publication Critical patent/CN110061880A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention discloses the data transmission detection devices of a kind of concentrator and remote communication module, the data transmission detection device is connected with the concentrator and the remote communication module, which includes: first serial, second serial, host computer.First serial is connected with the data receiver of the remote communication module, the data sent for receiving the concentrator to the remote communication module;Second serial is connected with the data sending terminal of the remote communication module, the data sent for receiving the remote communication module to the concentrator;Host computer is respectively connected with the first serial and the second serial, and the host computer is read out and parses to the first serial and the received data of the second serial respectively.The data transmission detection device and method of the concentrator and remote communication module can be convenient for the debugging, detection and abnormal positioning of the status between communication of concentrator and remote communication module.

Description

The data transmission detection device and method of concentrator and remote communication module
Technical field
The present invention relates to technical field of electric power communication, especially with regard to the data of a kind of concentrator and remote communication module Transmit detection device and method.
Background technique
It can be carried out by serial communication interface, USB interface, Ethernet interface etc. between concentrator and remote communication module Data transmission.According to the difference of concentrator and module communication mode, concentrator can be divided into built in ICP/IP protocol stack and TCP/IP Protocol stack external two types are that concentrator by PPP (point-to-point protocol) dial mode obtains IP (net association) built in protocol stack The information such as address, the data packet that concentrator issues all are sent to wireless network by remote communication module after PPP is handled, association It is that concentrator is interacted by AT command mode with remote communication module that it is external, which to discuss stack,.Between concentrator and remote communication module The PPP network packet and AT of transmission instruct and result code is usually transmitted by serial communication interface, and wherein AT instruction is to answer For the instruction for connecting with communicating between terminal device and application.
Inventor has found that remote communication module interface is using contact pin as connection at present in the implementation of the present invention Part, there are two pins to be respectively used to outputting and inputting for serial data for module, and concentrator carries out AT with module by the serial ports and refers to Enable the transmission with network packet.The data interacted between concentrator and module can not be read out, therefore, in concentrator and The exception occurred in the interactive process of module can not be captured, and be difficult to position after there is exception.
The information disclosed in the background technology section is intended only to increase the understanding to general background of the invention, without answering When being considered as recognizing or imply that the information constitutes the prior art already known to those of ordinary skill in the art in any form.
Summary of the invention
The purpose of the present invention is to provide the data transmission detection device and method of a kind of concentrator and remote communication module, The debugging, detection and abnormal positioning of its status between communication that can be convenient for concentrator and remote communication module.
To achieve the above object, the present invention provides the data of a kind of concentrator and remote communication module to transmit detection dress It sets, which is connected with the concentrator and the remote communication module, the data transmission detection device It include: first serial, second serial, host computer.First serial is connected with the data receiver of the remote communication module, is used for Receive the data that the concentrator is sent to the remote communication module;The data of second serial and the remote communication module are sent out Sending end is connected, the data sent for receiving the remote communication module to the concentrator;Host computer and the first serial And the second serial is respectively connected with, the host computer is respectively to the first serial and the received data of the second serial It is read out and parses.
In a preferred embodiment, serial ports tool and analytical tool, the host computer are installed in the host computer The first serial and the received data of the second serial are read out and parsing includes: that the host computer passes through the string Mouth tool receives the data of the first serial and second serial input respectively;The host computer passes through the analytical tool According to the timestamp of the instruction and data in data, real time parsing goes out the AT between the concentrator and the remote communication module Instruction, instruction execution result and network packet;The AT instruction that the analytical tool is parsed and described instruction Extremely whether implementing result interact with the instruction format analysis instruction in the remote communication module interface protocol, and according to institute Whether the encapsulation analysis network packet for stating the network packet that analytical tool parses is abnormal.
In a preferred embodiment, the serial ports tool includes IPOP tool.
The present invention also provides the data transmission detection method of a kind of concentrator and remote communication module, data transmission inspections Survey method includes: that first serial is connected to receive the concentrator to institute with the data receiver of the remote communication module State the data of remote communication module transmission;Second serial is connected to receive with the data sending terminal of the remote communication module The data that the remote communication module is sent to the concentrator;By host computer and the first serial and the second serial It is respectively connected with, and the first serial and the received data of the second serial is read out respectively by the host computer And parsing.
In a preferred embodiment, serial ports tool and analytical tool, the host computer are installed in the host computer The first serial and the received data of the second serial are read out and parsing includes: that the host computer passes through the string Mouth tool receives the data of the first serial and second serial input respectively;The host computer passes through the analytical tool According to the timestamp of the instruction and data in data, real time parsing goes out the AT between the concentrator and the remote communication module Instruction, instruction execution result and network packet;The AT instruction that the analytical tool is parsed and described instruction Extremely whether implementing result interact with the instruction format analysis instruction in the remote communication module interface protocol, and according to institute Whether the encapsulation analysis network packet for stating the network packet that analytical tool parses is abnormal.
In a preferred embodiment, the serial ports tool includes IPOP tool.
Compared with prior art, the data transmission detection device and side of concentrator according to the present invention and remote communication module Method cleverly being connect with concentrator and remote communication module by will test device, enabling commissioning staff straight The data for seeing all real-time Transmissions between concentrator and remote communication module are connect, debugging developer can be according in data Hold, whether mistakes and omissions occurs during checking data interaction with reference to communication module interface protocol and network data encapsulation format and lead The communication abnormality between concentrator and remote communication module is caused, convenient for rapidly carrying out communication abnormality debugging and positioning problems, and And the hardware configuration of the detection device and method is simple, is easy to implement.
Detailed description of the invention
Fig. 1 is the serial ports connection type of concentrator and remote communication module according to prior art;
Fig. 2 be concentrator and remote communication module according to an embodiment of the present invention data transmission detection device and The connection type of itself and concentrator and remote communication module.
Specific embodiment
With reference to the accompanying drawing, specific embodiments of the present invention will be described in detail, it is to be understood that guarantor of the invention Shield range is not limited by the specific implementation.
Unless otherwise explicitly stated, otherwise in entire disclosure and claims, term " includes " or its change Changing such as "comprising" or " including " etc. will be understood to comprise stated element or component, and not exclude other members Part or other component parts.
In order to solve at present in the interactive process of concentrator and the serial data of remote communication module, commissioning staff can not See the content of transmission data, therefore can not to learn whether interactive process occurs different in the debugging process for carrying out communication abnormality Often, abnormal the problem of positioning, serial ports connection side of the inventor to existing concentrator and remote communication module can not effectively be carried out Formula is studied, and provides the data transmission detection device and method of a kind of concentrator and remote communication module, by the inspection It surveys device cleverly to be connect with concentrator and remote communication module, commissioning staff is enabled to be immediately seen concentrator The data of all real-time Transmissions between remote communication module, debugging developer can be according to data contents, with reference to communication mould Whether block interface protocol and network data encapsulation format there are mistakes and omissions during checking data interaction, lead to concentrator and long-range Communication abnormality between communication module is convenient for rapidly carrying out communication abnormality debugging and positioning problems, and the detection device Structure is simple, is easy to implement.Wherein, existing connection type is as shown in Figure 1, the interface of remote communication module 300 uses contact pin As connection, the transmission pin TXD and reception pin RXD of serial ports (UART interface) are connected directly between the serial ports of concentrator 200 Receiving end RXD and transmitting terminal TXD.
Concentrator of the invention is modified with remote communication module serial ports connection type, and Fig. 2 is that the present invention one is implemented The company of the concentrator of mode and the data transmission detection device of remote communication module and itself and concentrator and remote communication module Connect mode.
The data transmission detection device 100 of the concentrator and remote communication module and concentrator 200 and remote communication module 300 are connected, which includes UART (serial ports) 10, UART11 and host computer 12.UART10 and remote The data receiver of journey communication module 300 is connected, the data sent for receiving concentrator 200 to remote communication module 300. UART11 is connected with the data sending terminal of remote communication module 300, sends out for receiving remote communication module 300 to concentrator 200 The data sent.Host computer 12 is respectively connected with UART10 and UART11, and host computer 12 respectively receives UART10 and UART11 Data be read out and parse.
Specifically, in one embodiment, host computer 12 is equipped with serial ports tool 12a and analytical tool 12b.Serial ports tool 12a is for reading the received data of UART10 and UART11.Analytical tool 12b is for parsing data.Serial ports tool 12a can be adopted With IPOP tool.Wherein, IPOP is a equipment debugging tool terminal, and function is very powerful, and set is much serviced, debugged, checking , major function includes: IP address dynamic binding function, route information query and configuration feature, mac address information to means Inquiry and modification function, MAC, host information scanning function, network message statistical function, port mapping etc..Analytical tool is used for By the received data of serial ports tool 12a according to the content of data, analyzing data is AT order or network data, analyzes collection Whether the communication of middle device 200 and remote communication module 300 succeeds, and parses network packet, parses concentrator 200 and remote Sending and receiving data between journey communication module 300.
In one embodiment, the detection method of the data transmission detection device of concentrator and remote communication module includes: Serial ports tool 12a receives the data that UART10 and UART11 are inputted to host computer 12 respectively;According to the instruction and data in data Timestamp, analytical tool 12b distinguishes the AT instruction that real time parsing goes out between concentrator 200 and remote communication module 300, instruction Implementing result and network packet;The AT instruction that analytical tool 12b is parsed and instruction execution result and telecommunication Whether the instruction format analysis instruction interaction in 300 interface protocol of module is abnormal, and the net parsed according to analytical tool 12b Whether the encapsulation network data package of network data packet is abnormal.
In conclusion the concentrator of present embodiment and the data transmission detection device of remote communication module and method are existing On the basis of some concentrators and remote communication module interface, draw from remote communication module Serial data receiving and transmission pin Route out, is connected to the receiving end of two external serial ports, and serial ports is connected to host computer, can be distinguished by IPOP tool Receive that concentrator is sent to the data of module and module is sent to the data of concentrator, by analytical tool according to instruction and data Timestamp, parse respectively between concentrator and module AT instruction and reply and network packet, be clear that collection The network number sent between instruction transmission and executive condition and concentrator and remote communication module between middle device and module According to debugging developer can check number with reference to communication module interface protocol and network data encapsulation format according to data content Whether there are mistakes and omissions during according to interaction and lead to the communication abnormality between concentrator and remote communication module, simplifies communication Abnormal debugging and positioning problems.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The aforementioned description to specific exemplary embodiment of the invention is in order to illustrate and illustration purpose.These descriptions It is not wishing to limit the invention to disclosed precise forms, and it will be apparent that according to the above instruction, can much be changed And variation.The purpose of selecting and describing the exemplary embodiment is that explaining specific principle of the invention and its actually answering With so that those skilled in the art can be realized and utilize a variety of different exemplary implementation schemes of the invention and Various chooses and changes.The scope of the present invention is intended to be limited by claims and its equivalents.

Claims (6)

1. the data transmission detection device of a kind of concentrator and remote communication module, which is characterized in that data transmission detection dress It sets and is connected with the concentrator and the remote communication module, which includes:
First serial is connected with the data receiver of the remote communication module, for receiving the concentrator to described long-range The data that communication module is sent;
Second serial is connected with the data sending terminal of the remote communication module, for receiving the remote communication module to institute State the data of concentrator transmission;And
Host computer is respectively connected with the first serial and the second serial, and the host computer is used for first string Mouth and the received data of the second serial are read out and parse.
2. the data transmission detection device of concentrator as described in claim 1 and remote communication module, which is characterized in that described Serial ports tool and analytical tool are installed, the host computer is received to the first serial and the second serial in host computer Data are read out and parsing includes:
The host computer receives the data of the first serial and second serial input by the serial ports tool respectively;
For the host computer by the analytical tool according to the timestamp of the instruction and data in data, real time parsing goes out the collection AT instruction, instruction execution result and network packet between middle device and the remote communication module;And
The AT that the analytical tool parses instruction and described instruction implementing result are connect with the remote communication module Whether the instruction format analysis instruction interaction in mouth agreement is abnormal, and the network number parsed according to the analytical tool It is whether abnormal that the network packet is analyzed according to the encapsulation of packet.
3. the data transmission detection device of concentrator as claimed in claim 2 and remote communication module, which is characterized in that described Serial ports tool includes IPOP tool.
4. the data transmission detection method of a kind of concentrator and remote communication module, which is characterized in that the data transmit detection side Method includes:
First serial is connected with the data receiver of the remote communication module to receive the concentrator to described long-range The data that communication module is sent;
Second serial is connected to receive the remote communication module to institute with the data sending terminal of the remote communication module State the data of concentrator transmission;And
Host computer and the first serial and the second serial are respectively connected with, and by the host computer respectively to institute It states first serial and the received data of the second serial is read out and parses.
5. the data transmission detection method of concentrator as claimed in claim 4 and remote communication module, which is characterized in that described Serial ports tool and analytical tool are installed, the host computer is received to the first serial and the second serial in host computer Data are read out and parsing includes:
The host computer receives the data of the first serial and second serial input by the serial ports tool respectively;
For the host computer by the analytical tool according to the timestamp of the instruction and data in data, real time parsing goes out the collection AT instruction, instruction execution result and network packet between middle device and the remote communication module;And
The AT that the analytical tool parses instruction and described instruction implementing result are connect with the remote communication module Whether the instruction format analysis instruction interaction in mouth agreement is abnormal, and the network number parsed according to the analytical tool It is whether abnormal that the network packet is analyzed according to the encapsulation of packet.
6. the data transmission detection method of concentrator as claimed in claim 5 and remote communication module, which is characterized in that described Serial ports tool includes IPOP tool.
CN201910338601.6A 2019-04-25 2019-04-25 The data transmission detection device and method of concentrator and remote communication module Pending CN110061880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910338601.6A CN110061880A (en) 2019-04-25 2019-04-25 The data transmission detection device and method of concentrator and remote communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910338601.6A CN110061880A (en) 2019-04-25 2019-04-25 The data transmission detection device and method of concentrator and remote communication module

Publications (1)

Publication Number Publication Date
CN110061880A true CN110061880A (en) 2019-07-26

Family

ID=67320606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910338601.6A Pending CN110061880A (en) 2019-04-25 2019-04-25 The data transmission detection device and method of concentrator and remote communication module

Country Status (1)

Country Link
CN (1) CN110061880A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787857A (en) * 2020-12-29 2021-05-11 中国航空工业集团公司西安飞机设计研究所 Data monitoring and fault positioning method for remote data concentrator
CN115484192A (en) * 2022-08-19 2022-12-16 交控科技股份有限公司 Communication system for rail train, rail train and communication detection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101567A (en) * 2007-08-17 2008-01-09 中兴通讯股份有限公司 Double serial port communication monitoring system and method
US20130114618A1 (en) * 2011-11-08 2013-05-09 Chin-Shun HSU System and method for transmitting serial data, and recording medium thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101567A (en) * 2007-08-17 2008-01-09 中兴通讯股份有限公司 Double serial port communication monitoring system and method
US20130114618A1 (en) * 2011-11-08 2013-05-09 Chin-Shun HSU System and method for transmitting serial data, and recording medium thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787857A (en) * 2020-12-29 2021-05-11 中国航空工业集团公司西安飞机设计研究所 Data monitoring and fault positioning method for remote data concentrator
CN115484192A (en) * 2022-08-19 2022-12-16 交控科技股份有限公司 Communication system for rail train, rail train and communication detection method
CN115484192B (en) * 2022-08-19 2024-03-15 交控科技股份有限公司 Communication system for rail train, rail train and communication detection method

Similar Documents

Publication Publication Date Title
CN102413018B (en) FPGA (field programmable gate array) based software-hardware coordinated network test system and method
CN107026764A (en) A kind of remote debugging method, equipment, server and system
CN105991358B (en) Method, device, test board and system for testing interface board flow
CN110061880A (en) The data transmission detection device and method of concentrator and remote communication module
CN102118230A (en) Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN105827476A (en) High-speed PING implementation method and PING testing method
CN112346425A (en) Factory automation test method, system, projection equipment and storage medium
US20070047448A1 (en) Network equipment testing method and system
CN115001829A (en) Protocol vulnerability mining method, device, equipment and storage medium
CN105119969B (en) A kind of exchange method for putting inspection data format and point inspection data
CN105391780A (en) Data collection method and system, and data receiving method and system
CN111769999B (en) Debugging method of USB device software
CN109474540A (en) A kind of method and device identifying OPC flow
US20040268318A1 (en) Expert system for intelligent testing
CN104142882B (en) Test method and device, system based on data processing
CN103458431A (en) Multi-point acquisition and cross-layer playback system
CN102447597B (en) Method and device for realizing IP (Internet Protocol) effectiveness detection
CN102610085A (en) Infrared meter reading method compatible with multi protocols
CN103095513A (en) Simulation testing device and method of Encryption equipment
CN113839964B (en) Communication method for gateway device and gateway device
CN105812498B (en) A kind of hot spot data transmission method and device
CN106257257A (en) A kind of detect the method for optical module planisphere, device and virtual vector analyser
CN108737568A (en) A kind of data interaction system and method based on Message Queuing server
CN104135403A (en) Method for checking transmission of distributed environmental monitoring data
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Li Hong

Inventor after: Tang Xiaoke

Inventor after: Zhao Dongyan

Inventor after: Wang Yubo

Inventor after: Li Bin

Inventor after: Yang Ji

Inventor after: Chen Yongli

Inventor after: Guo Jiyu

Inventor after: Li Zheng

Inventor before: Li Hong

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190726