CN105630646A - Method for quickly judging connectivity and stability of serial port - Google Patents

Method for quickly judging connectivity and stability of serial port Download PDF

Info

Publication number
CN105630646A
CN105630646A CN201510979735.8A CN201510979735A CN105630646A CN 105630646 A CN105630646 A CN 105630646A CN 201510979735 A CN201510979735 A CN 201510979735A CN 105630646 A CN105630646 A CN 105630646A
Authority
CN
China
Prior art keywords
serial port
serial ports
stability
serial
port line
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
CN201510979735.8A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510979735.8A priority Critical patent/CN105630646A/en
Publication of CN105630646A publication Critical patent/CN105630646A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/31708Analysis of signal quality
    • G01R31/3171BER [Bit Error Rate] test
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/01Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes

Abstract

The invention provides a method for quickly judging the connectivity and stability of a serial port, and belongs to the field of server single-chip microcomputers. According to the method, standard pseudo-random codes are automatically and continuously sent to an opposite end through a serial port line directly through a rule, and the stability degree of the serial port line is evaluated through scientific counting and formula calculation. The method involves a common operation system, a plurality of different types of serial port line devices and ComMaster software. The method has the characteristics of high reliability and high availability; a method for testing the connectivity and stability of a network line effectively solves the problem that an engineer does nothing for the serial port on site, and can perform a simple connectivity test without a professional serial port device on site; and compared with a conventional professional and expensive test instrument based test method, the serial port line test is more convenient, usable, time-saving and visual.

Description

A kind of method of quick judgement serial ports connectedness and stability
Technical field
The present invention relates to scm server technical field, the method being specifically related to a kind of quick judgement serial ports connectedness and stability.
Background technology
Serial ports is the agreement of a kind of very common apparatus communication on computer. Most computers comprises two serial ports based on RS232. Serial ports is also the communication protocol that instrumentation devices is general simultaneously; In our work process, contacting with high-end server and switch for a long time, the use of Serial Port Line is requisite.
Expansion gradually along with Serial Port Line application; it is desirable to the on-the-spot quality directly judging Serial Port Line or it can be seen directly that the stability of Serial Port Line; such as we often occur the situation that serial ports is obstructed at the scene, if now we have a kind of connective and stability method of serial ports of testing will help our orientation problem faster.
Summary of the invention
The technical assignment of the present invention is for the deficiencies in the prior art, it is provided that the method for a kind of quick judgement serial ports connectedness and stability. This method solves manually, contrast error code quantity after input information artificially, and test Serial Port Line needs people in the difficult problem operated up, it is possible to either directly through rule, by Serial Port Line, automatic continuous for the pseudo noise code of standard is sent to opposite end. And the counting and formula by science calculates, evaluate and test out the extent of stability of Serial Port Line.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method of quick judgement serial ports connectedness and stability, automatic continuous for the pseudo noise code of standard, either directly through rule, is sent to opposite end by Serial Port Line, and the counting and formula by science calculates, and evaluates and tests out the extent of stability of Serial Port Line by the method; Including conventional operating system, multiple different types of Serial Port Line equipment, ComMaster software;
Operating system end installs serial port drive, RS232 serial ports is connected to computer end, the connectedness of serial ports can be carried out basic test by the basic parameter having configured serial ports, serial ports two ends are connected two different computers, respectively as flow receiving terminal and originating end, checked the quality of Serial Port Transmission by the standard pseudo noise code automatically sent, Serial Port Transmission quality also can be showed by the bit error rate very intuitively.
Conventional operating system is general windows operating system, Linux system, windows operating system include windowsXP, win7, win8, windowsserver2003,2008; Linux system includes RedHat, Centos, Ubuntu.
Some different types of Serial Port Line equipment such as USB turn Serial Port Line, RJ45 RS 232, it is possible to support that major part RS232 Serial Port Line carries out connectedness and stability test under different application scene.
ComMaster software kit is containing AccessPort, serial ports stability test, and AccessPort can be monopolized serial ports and send/receive data, debugs the signal procedure of known various serial ports parameter; Serial ports test module can pass through to send/and serial equipment/circuit carries out error code testing, and directly calculates the bit error rate by reception standard pseudo noise code.
In order to ensure the stability in test serial ports process, this method also sets the mechanism of a kind of unidirectional use serial ports, if namely serial ports is just at transmitting data stream, the work now performing AccessPort or serial ports stability test again is to be allowed for, and also ensure that the accuracy of test result from the side.
A kind of quick judgement serial ports of the present invention is connective and the method for stability compared with prior art, produced by provide the benefit that,
Judge that connective and stability the method for serial ports has the features such as simple, easy-to-use, accurate, quick, it is operated by system identification to serial equipment, utilize AccessPort function can find out the connectedness of serial ports intuitively, efficiently solve the problem that serial ports is had no way of doing it by engineer at the scene, it is possible to do not have when the serial equipment of specialty at the scene and carry out simple continuity testing; Meanwhile, utilizing the pseudo noise code that serial ports test function can pass through to send simultaneously and receive standard that the input and output of serial ports cable are carried out stroke analysis, real-time is showed input/output information by the form of chart, and the bit error rate of real time record Serial Port Line.
Accompanying drawing explanation
The serial ports parameter that Fig. 1 is ComMaster arranges surface chart;
Fig. 2 is the connective surface chart of serial ports test of ComMaster;
Fig. 3 is ComMaster serial ports stability test schematic diagram.
Detailed description of the invention
A kind of quick judgement serial ports of the present invention is connective and stability method is described in detail below below.
A kind of quick judgement serial ports is connective and the method for stability, the connection between general simple Serial Port Line, can fast and effeciently judge connectedness and the stability of serial ports cable, the scene of solving cannot judge Serial Port Line whether can thorny problem. In ease for use, software and notebook computer can realize connectedness and the stability test of Serial Port Line very easily to utilize one. Automatic continuous for the pseudo noise code of standard, either directly through rule, is sent to opposite end by Serial Port Line, and the counting and formula by science calculates, and evaluates and tests out the extent of stability of Serial Port Line by the method; Including conventional operating system, multiple different types of Serial Port Line equipment, ComMaster software;
Operating system end installs serial port drive, RS232 serial ports is connected to computer end, the connectedness of serial ports can be carried out basic test by the basic parameter having configured serial ports, serial ports two ends are connected two different computers, respectively as flow receiving terminal and originating end, checked the quality of Serial Port Transmission by the standard pseudo noise code automatically sent, Serial Port Transmission quality also can be showed by the bit error rate very intuitively.
Conventional operating system is general windows operating system, Linux system, windows operating system include windowsXP, win7, win8, windowsserver2003,2008; Linux system includes RedHat, Centos, Ubuntu.
Some different types of Serial Port Line equipment such as USB turn Serial Port Line, RJ45 RS 232, it is possible to support that major part RS232 Serial Port Line carries out connectedness and stability test under different application scene.
ComMaster software kit is containing AccessPort, serial ports stability test, and AccessPort can be monopolized serial ports and send/receive data, debugs the signal procedure of known various serial ports parameter; Serial ports test module can pass through to send/and serial equipment/circuit carries out error code testing, and directly calculates the bit error rate by reception standard pseudo noise code.
In order to ensure the stability in test serial ports process, this method also sets the mechanism of a kind of unidirectional use serial ports, if namely serial ports is just at transmitting data stream, the work now performing AccessPort or serial ports stability test again is to be allowed for, and also ensure that the accuracy of test result from the side.
In order to ensure readability and the intuitive of transmitting terminal and receiving terminal delivery flow rate size in Serial Port Line test process, this method is outside the dynamic real-time graph of generation shows, figure shows transmitting-receiving flow per second, and is capable of automatically generating the function of test result.
In order to the steadiness of Serial Port Line can be seen more intuitively, according to the sole criterion bit error rate (bit error rate=(n1-n2)/n1*100%) weighing Serial Port Line stability. The bit error rate (BER:biterror) is to weigh the index of data radio station data data at the appointed time transmission accuracy. The bit error rate of usual data radio station should BER��10E-6. One of performance indications of digital data transmission. Representing the probability that code element is erroneously received, the code element number that goes wrong in namely received code element accounts for the ratio transmitting total code element number. The bit error rate is used to weigh the frequency that error code occurs.
In order to test the stability of Serial Port Line more accurately, process provides the 2^15-1 of standard, 2^11-1,2^9-1 pseudo noise code and the artificial code of 16bit, error code can also be inserted by automatic/hand simultaneously, be used for testing the detection accuracy of Serial Port Line verification strategy after running into error code or inspection software. It is capable of information automatic synchronization, it is possible to test unidirectional line quality, convenient, fast, simultaneously intuitively, also well replaces expensive test instrumentation. Automatically various test result is recorded.
This quick connectedness of judgement Serial Port Line and the method for stability will improve the efficiency of engineer's in-situ processing problem well. Additionally, the method for this Test Network wire connectivity and stability, compared with traditional specialty, expensive test instrunment method of testing so that Serial Port Line test is more convenient, easy-to-use, save time and intuitively.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing the present invention done and be described in detail further.
A kind of connective method with stability of quick test serial ports:
1, ComMaster software, RS232 serial port drive are installed under an operating system, open software, serial ports basic parameter is set, such as Fig. 1.
2, being connected with computer by Serial Port Line, add a test file, select to send, we can see the transmission of data traffic at software display end, illustrates that serial ports is connective normal, such as Fig. 2.
3, after selecting serial ports test [Testor], serial ports relevant parameter is set, corresponding pseudo noise code type (2^15-1) is selected to click [opening serial ports], click [starting test] namely it can be seen that the input/output terminal of serial ports all has flow input and output, the bit error rate is 2.075e-001 < 10e-6, and (Fig. 3) illustrates serial ports Detection of Stability OK.

Claims (5)

1. the method for a quick judgement serial ports connectedness and stability, it is characterized in that the method is either directly through rule, automatic continuous for the pseudo noise code of standard is sent to opposite end by Serial Port Line, and the counting and formula by science calculates, and evaluates and tests out the extent of stability of Serial Port Line; Including conventional operating system, multiple different types of Serial Port Line equipment, ComMaster software;
Operating system end installs serial port drive, RS232 serial ports is connected to computer end, the connectedness of serial ports can be carried out basic test by the basic parameter having configured serial ports, serial ports two ends are connected two different computers, respectively as flow receiving terminal and originating end, checked the quality of Serial Port Transmission by the standard pseudo noise code automatically sent, Serial Port Transmission quality also can be showed by the bit error rate very intuitively.
2. the method for a kind of quick judgement serial ports according to claim 1 connectedness and stability, it is characterized in that conventional operating system is general windows operating system, Linux system, windows operating system include windowsXP, win7, win8, windowsserver2003,2008; Linux system includes RedHat, Centos, Ubuntu.
3. the method for a kind of quick judgement serial ports according to claim 1 connectedness and stability, it is characterised in that Serial Port Line equipment includes USB and turns Serial Port Line, RJ45 RS 232.
4. a kind of quick judgement serial ports according to claim 1 or 3 is connective and the method for stability, it is characterised in that different types of Serial Port Line equipment can support that major part RS232 Serial Port Line carries out connectedness and stability test under different application scene.
5. a kind of quick judgement serial ports according to claim 1 or 3 is connective and the method for stability, it is characterized in that ComMaster software kit is containing AccessPort, serial ports stability test, AccessPort can be monopolized serial ports and send/receive data, debugs the signal procedure of known various serial ports parameter; Serial ports test module can pass through to send/and serial equipment/circuit carries out error code testing, and directly calculates the bit error rate by reception standard pseudo noise code.
CN201510979735.8A 2015-12-23 2015-12-23 Method for quickly judging connectivity and stability of serial port Pending CN105630646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510979735.8A CN105630646A (en) 2015-12-23 2015-12-23 Method for quickly judging connectivity and stability of serial port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510979735.8A CN105630646A (en) 2015-12-23 2015-12-23 Method for quickly judging connectivity and stability of serial port

Publications (1)

Publication Number Publication Date
CN105630646A true CN105630646A (en) 2016-06-01

Family

ID=56045619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510979735.8A Pending CN105630646A (en) 2015-12-23 2015-12-23 Method for quickly judging connectivity and stability of serial port

Country Status (1)

Country Link
CN (1) CN105630646A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102924A (en) * 2017-04-28 2017-08-29 郑州云海信息技术有限公司 A kind of method of automatic test server serial communication stability under Linux
CN107608835A (en) * 2017-09-05 2018-01-19 郑州云海信息技术有限公司 A kind of serial ports readwrite tests method and device
CN112988481A (en) * 2021-02-09 2021-06-18 山东英信计算机技术有限公司 Serial communication debugging method based on test environment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932774A (en) * 2006-10-13 2007-03-21 福建师范大学 Embedded system software fast testing system and method based on multi-serial port resource

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932774A (en) * 2006-10-13 2007-03-21 福建师范大学 Embedded system software fast testing system and method based on multi-serial port resource

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
甄雪松: "浅谈如何排除串口通信故障事故", 《中国高新技术企业》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102924A (en) * 2017-04-28 2017-08-29 郑州云海信息技术有限公司 A kind of method of automatic test server serial communication stability under Linux
CN107608835A (en) * 2017-09-05 2018-01-19 郑州云海信息技术有限公司 A kind of serial ports readwrite tests method and device
CN112988481A (en) * 2021-02-09 2021-06-18 山东英信计算机技术有限公司 Serial communication debugging method based on test environment

Similar Documents

Publication Publication Date Title
CN102662835B (en) A kind of program debugging method for embedded system and embedded system
WO2017000424A1 (en) Protocol detection method and apparatus
CN104090198A (en) USB 3.0 cable testing method and device
US8996928B2 (en) Devices for indicating a physical layer error
CN105091927A (en) All-liquid-crystal automobile instrument automatic test platform
CN105630646A (en) Method for quickly judging connectivity and stability of serial port
CN109408309A (en) The test method and device of multiple terminals
US10432301B2 (en) High-speed optical transceiver field reader
CN201467137U (en) On-line channel testing terminal
CN105898684A (en) Server serial port data collection method based on Bluetooth
CN103532686A (en) Serial data transceiver circuit with line sequence self-adaptive function, and control method thereof
CN103472818A (en) Protocol conformance test platform and test method for train control and management system
TWM453140U (en) Portable optical fiber testing device operable through wireless mobile devices
CN106257257A (en) A kind of detect the method for optical module planisphere, device and virtual vector analyser
CN104280639B (en) Test device and method of high-speed video bus connectors
CN113645052B (en) Firmware debugging method and related equipment
CN110736609B (en) Optical port power testing method based on automatic matching
CN201957039U (en) Power telecontrol tester
CN204903677U (en) Take electric detection means
CN202204925U (en) On-site tester for electricity consumption information collection system
CN102546268A (en) Power remote control tester
CN113704035B (en) Time delay detection method and device and related equipment
CN104048745A (en) Network vibration meter
CN111026590A (en) Data verification method and platform of interface circuit
CN110333897A (en) A kind of interface allocation method, device, medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601

RJ01 Rejection of invention patent application after publication