CN106484588A - Serial communication monitoring system and method - Google Patents
Serial communication monitoring system and method Download PDFInfo
- Publication number
- CN106484588A CN106484588A CN201510533971.7A CN201510533971A CN106484588A CN 106484588 A CN106484588 A CN 106484588A CN 201510533971 A CN201510533971 A CN 201510533971A CN 106484588 A CN106484588 A CN 106484588A
- Authority
- CN
- China
- Prior art keywords
- serial
- serial communication
- transistor
- level signal
- data
- 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
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The present invention provides a kind of serial communication monitoring system, including a serial ports supervisory circuit and a computer, described serial monitoring circuit includes one first data monitoring module, one second data monitoring module and a data converter, the rs 232 serial interface signal being received is transferred to described data converter and carries out level conversion by described supervisory circuit, and export the level signal after conversion to described computer, the COM Debug Assistant that described computer is installed by itself, can achieve and the data between serial communication equipment is monitored.The present invention also provides a kind of serial communication monitoring method.Serial communication monitoring system and method for the present invention so that operator can be convenient the serial data to serial communication equipment be monitored.
Description
Technical field
The present invention relates to a kind of serial communication monitoring system and method.
Background technology
Serial line interface (Serial interface), industry is also referred to as serial ports, is a kind of very general interface on computer.Wherein, RS232 interface is conventional serial ports.At present, so that the communication between serial communication equipment keeps stable, operator needs the data transfer between serial communication equipment is monitored.
Content of the invention
In view of the above is it is necessary to provide a kind of serial communication monitoring system and method facilitating operator that serial communication is monitored.
A kind of serial communication monitoring system, including
One serial ports supervisory circuit, including:
One first data monitoring module, for receiving the rs 232 serial interface signal that the transmission data pin on a serial communication equipment is exported, and the rs 232 serial interface signal being received according to this exports one first Transistor-Transistor Logic level signal;
One second data monitoring module, for receiving the rs 232 serial interface signal that the receiving data pin on described serial communication equipment is received, and exports one second Transistor-Transistor Logic level signal according to the rs 232 serial interface signal being received;And
One data converter, for receiving described first Transistor-Transistor Logic level signal and described second Transistor-Transistor Logic level signal, and the level signal that the interface respectively described first Transistor-Transistor Logic level signal and the second Transistor-Transistor Logic level signal being converted to described computer can identify;And
One computer, for obtaining described level signal, and is monitored to the rs 232 serial interface signal of transmission on described serial communication equipment according to the level signal getting.
A kind of serial communication monitoring method, comprises the following steps:
One first data monitoring module receives the rs 232 serial interface signal that the transmission data pin on a serial communication equipment is exported, and the rs 232 serial interface signal being received according to this exports one first Transistor-Transistor Logic level signal;
One second data monitoring module receives the rs 232 serial interface signal that the receiving data pin on described serial communication equipment is received, and exports one second Transistor-Transistor Logic level signal according to the rs 232 serial interface signal being received;
One data converter receives described first Transistor-Transistor Logic level signal and described second Transistor-Transistor Logic level signal, and the level signal that the interface respectively described first Transistor-Transistor Logic level signal and the second Transistor-Transistor Logic level signal being converted to a computer can identify;And
One computer obtains and shows described level signal, with the rs 232 serial interface signal of transmission on monitoring serial port communication equipment.
Serial communication monitoring system and method for the present invention passes through the described rs 232 serial interface signal receiving the output of serial communication equipment, and the rs 232 serial interface signal being received is transferred to described data converter carries out level conversion, and export the level signal after conversion to described computer, level signal described in described Computer display simultaneously is realized the data between serial communication equipment is monitored.So, the serial data to serial communication equipment that operator can be convenient is monitored.
Brief description
Fig. 1 is the block diagram of the better embodiment of serial communication monitoring system of the present invention.
Fig. 2 is the block diagram of the better embodiment of serial monitoring circuit in Fig. 1.
Fig. 3 is the schematic diagram that is connected with serial communication equipment of better embodiment of serial communication monitoring system of the present invention.
Fig. 4 is the flow chart of the better embodiment of serial communication monitoring method of the present invention.
Main element symbol description
Serial ports monitoring system | 100 |
Serial monitoring circuit | 200 |
Computer | 300 |
First serial communication equipment | 400 |
Second serial communication equipment | 500 |
First data monitoring module | 10 |
Second data monitoring module | 20 |
Data converter | 30 |
USB interface | 310 |
Solarnumen Comdebug | 320 |
Audion | Q1、Q2 |
Phase inverter | U1、U2 |
Resistance | R1-R4 |
Following specific embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Specific embodiment
Refer to Fig. 1, better embodiment of the present invention provides a kind of serial communication monitoring system 100, for carrying out data monitoring to the communication between serial communication equipment.Described serial communication monitoring system 100 includes a serial ports supervisory circuit 200 and a computer 300.Described serial monitoring circuit 200 is used for receiving the rs 232 serial interface signal that serial communication equipment is transmitted when entering row data communication.Described computer 300 includes a USB interface 310 and a Solarnumen Comdebug 320.Described computer 300 obtains the rs 232 serial interface signal collected by described serial monitoring circuit 200 by described USB interface 310, and user can be by the Solarnumen Comdebug 320 on described computer 300(As a COM Debug Assistant)Realize to the data monitoring between serial communication equipment.
Refer to Fig. 2, described serial monitoring circuit 200 includes one first data monitoring module 10, one second data monitoring module 20 and a data converter 30.Described first data monitoring module 10 is electrically connected with described data converter 30 respectively with described second data monitoring module 20.
Refer to Fig. 3, in present embodiment, a first serial communication equipment 400 and a second serial communication equipment 500 proper communication.Transmission data pin TXD of described first serial communication equipment 400(Transmission data pin TXD as RS232 interface)It is connected with the receiving data pin RXD of described second serial communication equipment 500.The receiving data pin RXD of described first serial communication equipment 400 is connected with transmission data pin TXD of described second serial communication equipment 500.
Described first data monitoring module 10 includes two resistance R1 and R2, a phase inverter U1 and an audion Q1.The input of described phase inverter U1 is used for accessing transmission data pin TXD of described first serial communication equipment 400, second end of described phase inverter U1 is connected with the base stage of described audion Q1 by resistance R1, the colelctor electrode of described audion Q1 connects+3.3V a power supply, the grounded emitter of described audion Q1 by resistance R2.Described first data monitoring module 10 sends the rs 232 serial interface signal output Transistor-Transistor Logic level signal of data pin TXD output to described data converter 30 according to described first serial communication equipment 400.
Second data monitoring module 20 described in present embodiment includes two resistance R3 and R4, a phase inverter U2 and an audion Q2.The input of described phase inverter U2 is used for accessing transmission data pin RXD of described first serial communication equipment 400, second end of described phase inverter U2 is connected with the base stage of described audion Q2 by resistance R3, the colelctor electrode of described audion Q2 passes through resistance R4 and connects described+3.3V power supply, the grounded emitter of described audion Q2.Described second data monitoring module 20 is according to the rs 232 serial interface signal output Transistor-Transistor Logic level signal extremely described data converter 30 of the data pin RXD output of described first serial communication equipment.
In present embodiment, described data converter 30 is used for realizing the conversion between Transistor-Transistor Logic level signal and USB level signal.Described data converter 30 is electrically connected with the colelctor electrode of described audion Q1 and Q2, for receiving the Transistor-Transistor Logic level signal of described first data monitoring module 10 and the output of described second data monitoring module 20, and the USB level signal that the USB interface 400 that the Transistor-Transistor Logic level being received signal is converted to computer 300 can distinguish.In present embodiment, model PL2303 of described data converter 30.
In present embodiment, described audion Q1 and Q2 is NPN type triode.
In other embodiments, the Transistor-Transistor Logic level signal that described data converter 30 can also be used for being transmitted the colelctor electrode of audion Q1 and Q2 is converted to the RS232 level signal that the RS232 interface of computer 300 can distinguish.
The operation principle of described serial communication monitoring system 100 is described in detail below.
From the basic communication principle between serial communication equipment, it is that timesharing is carried out that the serial ports of serial communication equipment sends data and receiving data, and therefore, the TXD pin of described first serial communication equipment and RXD pin will not export simultaneously and receive rs 232 serial interface signal.
Operationally, when transmission data pin TXD of first serial communication equipment 400 exports the rs 232 serial interface signal of a high level, described phase inverter U1 exports a low level signal to described audion Q1 after receiving the rs 232 serial interface signal of high level of transmission data pin TXD output of described first serial communication equipment 400, described audion Q1 cut-off.Now, described first data monitoring module 10 exports the Transistor-Transistor Logic level signal of a high level to described data converter 30.When transmission data pin TXD of described first serial communication equipment 400 exports low level rs 232 serial interface signal, described phase inverter U1 receive the low level rs 232 serial interface signal of transmission data pin TXD of described first serial communication equipment 400 after output high level signal to described audion Q1, described audion Q1 conducting.Now, described first data monitoring module 10 exports low level TTL signal to described data converter 30.
In the same manner, when the receiving data pin RXD of first serial communication equipment 400 receives the rs 232 serial interface signal of high level, described phase inverter U2 exports low level TTL signal to described audion Q2, described audion Q2 cut-off after receiving the rs 232 serial interface signal of high level.Now, described second data monitoring module 20 exports the TTL signal of high level to described data converter 30.When the receiving data pin RXD of described first serial communication equipment 400 receives low level rs 232 serial interface signal, described phase inverter U2 receives output high level signal extremely described audion Q2 after low level rs 232 serial interface signal, described audion Q2 conducting.Now, described second data monitoring module 20 output low level signal is to described data converter 30.
Described data converter 30 receives after the Transistor-Transistor Logic level signal that described first data monitoring module 10 and the second data monitoring module 20 are transmitted, described Transistor-Transistor Logic level signal is converted to the USB level signal of standard, docks with the USB interface 310 of described computer 300.User be can achieve by the COM Debug Assistant of the installation on described computer 300 and the data between communication equipment be monitored.
Refer to Fig. 4, the better embodiment of serial communication monitoring method of the present invention comprises the following steps:
Step S100, described first data monitoring module 10 receives the rs 232 serial interface signal that transmission data pin TXD on described serial communication equipment 400 is exported, and the rs 232 serial interface signal being received according to this exports one first Transistor-Transistor Logic level signal.
Step S102, described second data monitoring module 20 receives the rs 232 serial interface signal that the receiving data pin RXD on described serial communication equipment 400 is received, and exports one second Transistor-Transistor Logic level signal according to the rs 232 serial interface signal being received.
Step S104, described data converter 30 obtains described first Transistor-Transistor Logic level signal and described second Transistor-Transistor Logic level signal, and the level signal that the interface respectively described first Transistor-Transistor Logic level signal and the second Transistor-Transistor Logic level signal being converted to a computer can identify.
Step S106, described computer 300 obtains described level signal, and the rs 232 serial interface signal by transmission on described Solarnumen Comdebug 320 monitoring serial port communication equipment.
Above-mentioned serial communication monitoring system and method is in monitoring period, the rs 232 serial interface signal of the serial communication equipment output being received by described serial monitoring circuit 200, and the rs 232 serial interface signal being received is transferred to described data converter carries out level conversion, and export the level signal after conversion to described computer 300, the COM Debug Assistant that described computer 300 is installed by itself, can achieve and the data between serial communication equipment is monitored.So, the serial data to serial communication equipment that operator can be convenient is monitored.
Claims (10)
1. a kind of serial communication monitoring system, including
One serial ports supervisory circuit, including:
One first data monitoring module, for receiving the rs 232 serial interface signal that the transmission data pin on a serial communication equipment is exported, and the rs 232 serial interface signal being received according to this exports one first Transistor-Transistor Logic level signal;
One second data monitoring module, for receiving the rs 232 serial interface signal that the receiving data pin on described serial communication equipment is received, and exports one second Transistor-Transistor Logic level signal according to the rs 232 serial interface signal being received;And
One data converter, for receiving described first Transistor-Transistor Logic level signal and described second Transistor-Transistor Logic level signal, and the level signal that the interface respectively described first Transistor-Transistor Logic level signal and the second Transistor-Transistor Logic level signal being converted to described computer can identify;And
One computer, for obtaining described level signal, and is monitored to the rs 232 serial interface signal of transmission on described serial communication equipment according to the level signal getting.
2. serial communication monitoring system as claimed in claim 1 it is characterised in that:Described first data monitoring module includes a first resistor, a second resistance, one first phase inverter and one first audion, the input of described first phase inverter is used for accessing the transmission data pin of described communication equipment, the outfan of described first phase inverter is electrically connected with by the base stage of described first resistor and described first audion, the colelctor electrode of described first audion is electrically connected with a power supply by described second resistance, the grounded emitter of described first audion.
3. serial communication monitoring system as claimed in claim 2 it is characterised in that:Described second data monitoring module includes a 3rd resistor, one the 4th resistance, one second phase inverter and one second audion, the input of described second phase inverter is used for accessing the receiving data pin of described communication equipment, the outfan of described second phase inverter is electrically connected with by the base stage of described 3rd resistor and described second audion, the colelctor electrode of described second audion is passed through described 4th resistance and is electrically connected with described power supply, the grounded emitter of described second audion.
4. serial communication monitoring system as claimed in claim 3 it is characterised in that:Described first audion and the second audion are NPN type triode.
5. serial communication monitoring system as claimed in claim 1 it is characterised in that:Described computer also includes a Solarnumen Comdebug, and described computer is monitored to the rs 232 serial interface signal of transmission on described serial communication equipment by described Solarnumen Comdebug.
6. serial communication monitoring system as claimed in claim 5 it is characterised in that:Described Solarnumen Comdebug is a COM Debug Assistant.
7. serial communication monitoring system as claimed in claim 1 it is characterised in that:Model PL2303 of described data converter.
8. a kind of serial communication monitoring method, comprises the following steps:
One first data monitoring module receives the rs 232 serial interface signal that the transmission data pin on a serial communication equipment is exported, and the rs 232 serial interface signal being received according to this exports one first Transistor-Transistor Logic level signal;
One second data monitoring module receives the rs 232 serial interface signal that the receiving data pin on described serial communication equipment is received, and exports one second Transistor-Transistor Logic level signal according to the rs 232 serial interface signal being received;
One data converter receives described first Transistor-Transistor Logic level signal and described second Transistor-Transistor Logic level signal, and the level signal that the interface respectively described first Transistor-Transistor Logic level signal and the second Transistor-Transistor Logic level signal being converted to a computer can identify;And
One computer obtains and shows described level signal, with the rs 232 serial interface signal of transmission on monitoring serial port communication equipment.
9. serial communication monitoring method as claimed in claim 8 it is characterised in that:Described computer also includes a Solarnumen Comdebug, and described computer is monitored to the rs 232 serial interface signal of transmission on described serial communication equipment by described Solarnumen Comdebug.
10. serial communication monitoring method as claimed in claim 9 it is characterised in that:Described Solarnumen Comdebug is a COM Debug Assistant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510533971.7A CN106484588A (en) | 2015-08-27 | 2015-08-27 | Serial communication monitoring system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510533971.7A CN106484588A (en) | 2015-08-27 | 2015-08-27 | Serial communication monitoring system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106484588A true CN106484588A (en) | 2017-03-08 |
Family
ID=58234417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510533971.7A Pending CN106484588A (en) | 2015-08-27 | 2015-08-27 | Serial communication monitoring system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106484588A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450678A (en) * | 2018-10-30 | 2019-03-08 | 天津津航计算技术研究所 | A kind of monitoring analysis device and method based on serial ports interaction data in system control process |
CN110209617A (en) * | 2019-05-10 | 2019-09-06 | 中国电力科学研究院有限公司 | A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method |
CN110334038A (en) * | 2019-05-24 | 2019-10-15 | 深圳市元征科技股份有限公司 | A kind of monitoring system of serial communication |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040073321A1 (en) * | 2001-12-10 | 2004-04-15 | Tetsujiro Kondo | Signal processing apparatus, signal processing method, signal processing system, program and medium |
CN102096620A (en) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | Method and device for detecting connection state of serial port, and communication system |
CN202025310U (en) * | 2010-12-28 | 2011-11-02 | 深圳市融创天下科技股份有限公司 | Serial port debugging system |
-
2015
- 2015-08-27 CN CN201510533971.7A patent/CN106484588A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040073321A1 (en) * | 2001-12-10 | 2004-04-15 | Tetsujiro Kondo | Signal processing apparatus, signal processing method, signal processing system, program and medium |
CN102096620A (en) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | Method and device for detecting connection state of serial port, and communication system |
CN202025310U (en) * | 2010-12-28 | 2011-11-02 | 深圳市融创天下科技股份有限公司 | Serial port debugging system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450678A (en) * | 2018-10-30 | 2019-03-08 | 天津津航计算技术研究所 | A kind of monitoring analysis device and method based on serial ports interaction data in system control process |
CN110209617A (en) * | 2019-05-10 | 2019-09-06 | 中国电力科学研究院有限公司 | A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method |
CN110334038A (en) * | 2019-05-24 | 2019-10-15 | 深圳市元征科技股份有限公司 | A kind of monitoring system of serial communication |
CN110334038B (en) * | 2019-05-24 | 2024-02-20 | 深圳市元征科技股份有限公司 | Monitoring system for serial port communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106484588A (en) | Serial communication monitoring system and method | |
CN104569571A (en) | High-speed multichannel current-voltage multiplexing collection unit and data collection method | |
CN108595356A (en) | A kind of hard disk backboard and method of compatible RSSD hard disks and NVMe hard disks | |
CN201215974Y (en) | Communication interface without polarity | |
CN203149559U (en) | Multi-slave-structure MBUS host machine device | |
CN101957650B (en) | Power supply circuit of central processing unit | |
CN105653410A (en) | Device and method based on printing and outputting of debugging information of Phytium platform, and computer | |
CN206224459U (en) | A kind of SCM Based Serial Communication for Multi-computer System circuit | |
CN104216809A (en) | Signal testing device | |
CN105472782A (en) | Wireless communication terminal | |
CN103529285A (en) | Test equipment for automatically detecting power consumption of PCIE (Peripheral Component Interface Express) equipment | |
CN207397044U (en) | A kind of cabinet environment monitoring system | |
CN107592286A (en) | A kind of intelligent communications terminal and its implementation for supporting multi-protocols | |
CN208588479U (en) | A kind of temperature sensor using single bus technology | |
CN209015145U (en) | A kind of information output apparatus | |
CN104062530A (en) | Mobile terminal hardware fault detecting device and method | |
CN203338347U (en) | Interface circuit for computer main board failure detection device | |
CN203535111U (en) | Test device for PCIE device power consumption automation detection | |
CN107704403B (en) | Device and method for optimizing signal transmission of main back plate | |
CN107770017A (en) | The processing unit and method that a kind of CAN reversal connection can not communicate | |
CN104111904A (en) | Communication device and method for setting data transmission | |
CN103837814A (en) | Tester | |
TWI763542B (en) | Board-to-board connecting system | |
CN105306322A (en) | Collection structure of multiple communication buses | |
CN104182318B (en) | Test device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170308 |
|
WD01 | Invention patent application deemed withdrawn after publication |