CN105119779A - Automatic testing method and system for serial port of equipment to be tested - Google Patents

Automatic testing method and system for serial port of equipment to be tested Download PDF

Info

Publication number
CN105119779A
CN105119779A CN201510579168.7A CN201510579168A CN105119779A CN 105119779 A CN105119779 A CN 105119779A CN 201510579168 A CN201510579168 A CN 201510579168A CN 105119779 A CN105119779 A CN 105119779A
Authority
CN
China
Prior art keywords
test
serial port
equipment under
under test
port command
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.)
Granted
Application number
CN201510579168.7A
Other languages
Chinese (zh)
Other versions
CN105119779B (en
Inventor
曾银华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510579168.7A priority Critical patent/CN105119779B/en
Publication of CN105119779A publication Critical patent/CN105119779A/en
Application granted granted Critical
Publication of CN105119779B publication Critical patent/CN105119779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Abstract

The invention provides an automatic testing method for the serial port of equipment to be tested. The method comprises the following steps: outputting a selection command in order to select a network protocol relevant to the equipment to be tested under test; outputting a testing command and detecting whether or not the equipment to be tested is in a normal state; if so, executing a next step; otherwise, outputting an abnormity prompt; calling a serial port command and a serial port parameter corresponding to the network protocol relevant to the equipment to be tested, and issuing the serial port command to the equipment to be tested to obtain a running result of the equipment to be tested after execution of the serial port command; judging whether or not the running result of the equipment to be tested is consistent with a pre-stored testing result after execution of the serial port command, and if so, executing first testing operation; and otherwise, executing second testing operation, and acquiring a testing result relevant to the serial port parameter according to the first testing operation and the second testing operation. Through adoption of the automatic testing method, all commands of the network protocol relevant to the equipment to be tested can be tested intensively; the systematicness and integrity of testing verification are ensured; manual traversing is not required; the labor force is reduced; and the cost is saved.

Description

A kind of automatic test approach of equipment under test serial ports and system
Technical field
The invention belongs to technical field of communication network, relate to a kind of method of testing and system, particularly relate to a kind of automatic test approach and system of equipment under test serial ports.
Background technology
It is a kind of network equipment forwarded for electricity (light) signal that switch (Switch) means " switch ".It can provide for any two network nodes of access switch the pathway for electrical signals exclusively enjoyed.Modal switch is Ethernet switch.What other were common also has call voice switch, optical fiber switch etc.
Exchange (switching) is the needs according to communication two ends transmission information, and the method automatically completed with artificial or equipment, delivers to the information that will transmit the general designation of the technology in satisfactory corresponding route.Switch, according to the difference of service position, can be divided into wide-area network switch and LAN switch.The switch (switch) of wide area is exactly a kind of equipment completing information exchange functions in a communications system, and it is applied in data link layer.Switch has multiple port, and each port has bridging functionality, can connect a local area network (LAN) or a high-performance server or work station.In fact, switch is sometimes referred to as multiport bridge.
Each procotol that switch configures all can comprise a lot of order, and maximum reaches more than 100 order.Every bar order can comprise multiple parameter again.Tester's general terminal when testing switch all can pay close attention to the realization of switch function, easily ignores the order be of little use, and each parameter of the every bar order of artificial traversal is a kind of waste greatly to manpower and time.
Therefore, how a kind of automatic test approach and system of equipment under test serial ports are provided, each parameter of all order relevant to switch need be traveled through when testing switch to solve in prior art tester and cause the many disadvantages such as the significant wastage of manpower and time, become practitioner in the art's technical problem urgently to be resolved hurrily in fact
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of automatic test approach and system of equipment under test serial ports, each parameter of all order relevant to switch need be traveled through when testing switch for solving tester in prior art and cause the problem of the significant wastage of manpower and time.
For achieving the above object and other relevant objects, one aspect of the present invention provides a kind of automatic test approach of equipment under test serial ports, be applied in the test network comprising control appliance and equipment under test,, the automatic test approach of described equipment under test serial ports comprises the following steps: export select command so that tester selects the procotol relevant to described equipment under test that will test; Export test command, detect described equipment under test and whether be in normal condition; If so, then continue to perform next step; If not, then output abnormality prompting, stops test; Call serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter, and described serial port command is issued to described equipment under test to obtain the operation result performing described equipment under test after described serial port command; Whether unanimously with the test result that prestores judge to perform the operation result of described equipment under test after described serial port command, if so, then perform the first test operation; If not, then perform the second test operation, obtain the test result with serial ports parameter correlation according to described first test operation and the second test operation.
Alternatively, described first test operation comprises: judge that whether described serial port command is the last item in the serial port command corresponding with described procotol, if so, export first test result relevant to serial port command; If not, the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter is returned.
Alternatively, the fixed value by adding up whether corresponding with the described procotol serial port command of the numerical value of serial port command that calls contrasts to judge that whether described serial port command is the last item in the serial port command corresponding with described procotol.
Alternatively, if described serial port command is not the last item in the serial port command corresponding with described procotol, after the fixed value of serial port command corresponding for described procotol is subtracted one, then return the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter.
Alternatively, described second test operation comprises: output abnormality is pointed out, and exports second test result relevant to serial port command simultaneously; Return the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter.
Alternatively, described in the test result that prestores be a test result Microsoft Excel, this Microsoft Excel comprises two hurdles, and the first hurdle is the serial port command corresponding with described procotol, and the second hurdle is the regime values scope of the serial ports parameter relevant to this serial port command.
The present invention also provides a kind of Auto-Test System of equipment under test serial ports on the other hand, be applied in the test network comprising control appliance and equipment under test, the Auto-Test System of described equipment under test serial ports comprises: the first output module, for exporting select command so that tester selects the procotol relevant to described equipment under test that will test; Second output module, is connected with described first output module, for exporting test command; Detection module, is connected with described second output module, whether is in normal condition for detecting described equipment under test; If, call connect to described detection module for calling serial port command corresponding to the procotol relevant with described equipment under test and serial ports parameter, and described serial port command is issued to described equipment under test to obtain the control module of the operation result performing described equipment under test after described serial port command; If not, then call the 3rd output module for output abnormality prompting, and for stopping the termination module of testing; Whether judge module, is connected with described control module, consistent with the test result that prestores for the operation result of described equipment under test after judging to perform described serial port command, if so, then calls the first operational module for performing the first test operation; If not, then the second operational module for performing the second test operation is called; Described first operational module and the second operational module obtain the test result with serial ports parameter correlation according to described first test operation and the second test operation
Alternatively, described first operational module also for judging that whether described serial port command is the last item in the serial port command corresponding with described procotol, if so, exports first test result relevant to serial port command; If not, continue to call described control module.
Alternatively, described second operational module also for output abnormality prompting, exports second test result relevant to serial port command simultaneously, and continues to call described control module.
Another aspect of the invention also provides a kind of control appliance, is connected with equipment under test, and described control appliance comprises: the Auto-Test System of equipment under test serial ports, for obtaining the test result for described survey equipment; Display unit, is connected with the Auto-Test System of described equipment under test serial ports, for showing described test result.
As mentioned above, the automatic test approach of equipment under test serial ports of the present invention and system, have following beneficial effect:
All orders of the procotol relevant to equipment under test can be concentrated in together test by the automatic test approach of equipment under test serial ports of the present invention and system, ensure that systematicness and the integrality of testing authentication, without the need to artificial traversal, reduce manpower, save cost, be applicable to all brands and all types of switches.
Accompanying drawing explanation
Fig. 1 is shown as the automatic test approach schematic flow sheet of equipment under test serial ports of the present invention.
Fig. 2 is shown as the idiographic flow schematic diagram schematic diagram of step S6 in the automatic test approach of equipment under test serial ports of the present invention.
Fig. 3 is shown as the idiographic flow schematic diagram schematic diagram of step S7 in the automatic test approach of equipment under test serial ports of the present invention.
Fig. 4 is shown as the theory structure schematic diagram of the Auto-Test System of equipment under test serial ports of the present invention.
Fig. 5 is shown as the theory structure schematic diagram of control appliance of the present invention.
Element numbers explanation
1 control appliance
The Auto-Test System of 10 equipment under test serial ports
101 first output modules
102 second output modules 102
103 detection modules
104 control modules
105 the 3rd output modules
106 stop module
107 judge modules
108 first operational modules
109 second operational modules
11 display unit
S1 ~ S7 step
S61 ~ S63 step
S71 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Embodiment one
The present embodiment provides a kind of automatic test approach of equipment under test serial ports, is applied in the test network comprising control appliance and equipment under test.In the present embodiment, described control appliance is PC, and described equipment under test is switch.Refer to Fig. 1, be shown as the automatic test approach schematic flow sheet of equipment under test serial ports.As shown in Figure 1, the automatic test approach of described equipment under test serial ports comprises following step:
S1, after being connected by switch, exports select command so that tester selects the procotol relevant to described equipment under test that will test by Serial Port Line with the secureCRT serial ports of PC.After exporting select command in the present embodiment, the display screen of described PC can eject choice box so that tester selects the procotol relevant to described switch.The procotol relevant to described switch comprises MSTP agreement, LACP agreement, VRRP agreement, VLAN agreement etc.
S2, exports test command, detects described equipment under test and whether be in normal condition; If so, then continue to perform next step S3; If not, then perform step S4, i.e. output abnormality prompting, and stop test.In the present embodiment, detect when whether described equipment under test is in normal condition by calling a sense command, this sense command is for inquiring about the utilance of the CPU of described switch, if when detecting that the utilance of the CPU of described switch is less than 50%, represent that described switch is in normal condition, if when detecting that the utilance of the CPU of described switch is greater than 50%, represent that described switch is in abnormality, perform step S4.
S3, calls serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter, and described serial port command is issued to described equipment under test to obtain the operation result performing described equipment under test after described serial port command.
Whether consistent with the test result that prestores S5, judge to perform the operation result of described equipment under test after described serial port command, if so, then execution step S6, namely performs the first test operation; If not, then perform step S7, namely perform the second test operation, and return step S3.In the present embodiment, the test result with serial ports parameter correlation is obtained according to described first test operation and the second test operation.The described test result that prestores is a test result Microsoft Excel in the present embodiment, and this Microsoft Excel comprises two hurdles, and the first hurdle is the serial port command corresponding with described procotol, and the second hurdle is the regime values scope of the serial ports parameter relevant to this serial port command.Such as, call serial port command: vlan<vlan-id>, the regime values scope of the serial ports parameter relevant to this serial port command is from 2 to 4094.If input serial port command: vlan<vlan-id>, after obtaining the described serial port command of execution, the operation result of described equipment under test is the numerical value of serial ports parameter is 1 or 4095, then after representing described serial port command, the operation result of described equipment under test is inconsistent with the test result that prestores.
S6, performs described first test operation.Refer to Fig. 2, be shown as the idiographic flow schematic diagram of step S6.As shown in Figure 2, described first test operation comprises following step:
S61, judges that whether described serial port command is the last item in the serial port command corresponding with described procotol, if so, then performs step S62, export first test result relevant to serial port command; If not, the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter is returned, i.e. step S3.In the present embodiment, judge that the fixed value of the serial port command whether described serial port command numerical value that to be whether the basis for estimation of the last item in the serial port command corresponding with described procotol be by adding up the serial port command called is corresponding with described procotol contrasts to judge that whether described serial port command is the last item in the serial port command corresponding with described procotol, if the fixed value of the serial port command whether numerical value adding up the serial port command called is corresponding with described procotol is the same, then represent that the described serial port command called is the last item in the serial port command corresponding with described procotol, if the fixed value of the serial port command whether numerical value adding up the serial port command called is corresponding with described procotol is different, if or described serial port command is not the last item in the serial port command corresponding with described procotol, step S63 will be performed, namely after the fixed value of the serial port command that described procotol is corresponding subtracts one, then the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter is returned.
S7, performs described second test operation.Refer to Fig. 3, be shown as the idiographic flow schematic diagram of step S7.As shown in Figure 3, described second test operation comprises following step:
S71, output abnormality is pointed out, and exports second test result relevant to serial port command simultaneously; Return the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter, i.e. step S3.
In the present embodiment, described first test result comprises serial ports name+serial ports parameter regime values scope, and the second test result all includes serial port command+serial ports abnormal parameters numerical value+exception.And described first test result and the second test result are kept in PC with WORD document form.
All orders of the procotol relevant to equipment under test can be concentrated in together test by the automatic test approach of the equipment under test serial ports described in the present embodiment, ensure that systematicness and the integrality of testing authentication, without the need to artificial traversal, reduce manpower, save cost, be applicable to all brands and all types of switches.
Embodiment two
The present embodiment provides a kind of Auto-Test System 10 of equipment under test serial ports, is applied in the test network comprising control appliance and equipment under test.In the present embodiment, described control appliance is PC, and described equipment under test is switch.Refer to Fig. 4, be shown as the theory structure schematic diagram of the Auto-Test System of equipment under test serial ports.As shown in Figure 4, the Auto-Test System 10 of described equipment under test serial ports comprises: the first output module 101, second output module 102, detection module 103, control module 104, the 3rd output module 105, termination module 106, judge module 107, first operational module 108 and the second operational module 109.Before the Auto-Test System 10 of described equipment under test serial ports is run, switch need be connected with the secureCRT serial ports of PC by Serial Port Line.
Described first output module 101 for exporting select command so that tester selects the procotol relevant to described equipment under test that will test.After exporting select command in the present embodiment, the display screen of described PC can eject choice box so that tester selects the procotol relevant to described switch.The procotol relevant to described switch comprises MSTP agreement, LACP agreement, VRRP agreement, VLAN agreement etc.
The second output module 102 be connected with described first output module 101 is for exporting test command.
After output test command, receive after speed searches test command until described equipment under test feedback, utilized the detection module 103 be connected with described second output module 102 whether to be in normal condition to detect described equipment under test; If so, described control module 104 is then called; If not, then call described 3rd output module 105 and stop module 106, described 3rd output module 104 is for output abnormality prompting, and described termination module 106 is for stopping test.In the present embodiment, described detection module 103 when detecting described equipment under test and whether being in normal condition by calling a sense command, this sense command is for inquiring about the utilance of the CPU of described switch, if when detecting that the utilance of the CPU of described switch is less than 50%, represent that described switch is in normal condition, if when detecting that the utilance of the CPU of described switch is greater than 50%, represent that described switch is in abnormality, call the 3rd output module output abnormality prompting.
Described serial port command for calling serial port command corresponding to the procotol relevant with described equipment under test and serial ports parameter, and is issued to described equipment under test to obtain the operation result performing described equipment under test after described serial port command by the control module 104 connected to described detection module 103.
Whether the judge module 107 connected with described control module 104 is consistent with the test result that prestores for the operation result of described equipment under test after judging to perform described serial port command, if so, then calls described first operational module 108, for performing the first test operation; If not, then described second operational module 109 is called, for performing the second test operation.In the present embodiment, the test result with serial ports parameter correlation is obtained according to described first test operation and the second test operation.Being pre-stored in the test result that to prestore described in described judge module 107 is a test result Microsoft Excel in the present embodiment, this Microsoft Excel comprises two hurdles, first hurdle is the serial port command corresponding with described procotol, and the second hurdle is the regime values scope of the serial ports parameter relevant to this serial port command.Such as, call serial port command: vlan<vlan-id>, the regime values scope of the serial ports parameter relevant to this serial port command is from 2 to 4094.If input serial port command: vlan<vlan-id>, after obtaining the described serial port command of execution, the operation result of described equipment under test is the numerical value of serial ports parameter is 1 or 4095, then after representing described serial port command, the operation result of described equipment under test is inconsistent with the test result that prestores.
Described first operational module 108 is for described first test operation, and described first test operation module is specifically for performing:
Judge that whether described serial port command is the last item in the serial port command corresponding with described procotol, if so, then export first test result relevant to serial port command; If not, continue to call described control module 104 and call serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter for continuing.In the present embodiment, judge that the fixed value of the serial port command whether described serial port command numerical value that to be whether the basis for estimation of the last item in the serial port command corresponding with described procotol be by adding up the serial port command called is corresponding with described procotol contrasts to judge that whether described serial port command is the last item in the serial port command corresponding with described procotol, if the fixed value of the serial port command whether numerical value adding up the serial port command called is corresponding with described procotol is the same, then represent that the described serial port command called is the last item in the serial port command corresponding with described procotol, if the fixed value of the serial port command whether numerical value adding up the serial port command called is corresponding with described procotol is different, if or described serial port command is not the last item in the serial port command corresponding with described procotol, after the fixed value performing serial port command corresponding to described procotol is subtracted one, then call described control module 104.
Described second operational module 109 is for performing described second test operation, and described second operational module 109 is specifically for performing:
Output abnormality is pointed out, and exports second test result relevant to serial port command simultaneously; And continue to call described control module 104 and call serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter for continuing.
In the present embodiment, described first test result produced by described first operational module 108 comprises serial ports name+serial ports parameter regime values scope, and described second test result produced by described second operational module 109 all includes serial port command+serial ports abnormal parameters numerical value+exception.And described first test result and the second test result are kept in PC with WORD document form.
The present embodiment also comprises a kind of control appliance 1, refers to Fig. 5, is shown as the theory structure schematic diagram of control appliance.As shown in Figure 5, described control appliance 1 comprises the Auto-Test System 10 of above-mentioned equipment under test serial ports, and the Auto-Test System 10 of described equipment under test serial ports is for obtaining the test result for described survey equipment.And the display unit 11 to be connected with the Auto-Test System 10 of described above-mentioned equipment under test serial ports, described display unit 11 is for showing the test result relevant to the Auto-Test System 10 of described equipment under test serial ports, such as, above-described first test result and the second test result.
Described display unit 11 also for showing choice box in case described tester select test procotol.Described display unit 11 also for equipment under test described after the Auto-Test System of described equipment under test serial ports judges its serial port command performed operation result with prestore test result inconsistent time, the prompting frame of the abnormal prompt of display translation.In the present embodiment, described display unit 11 can be a display screen.
In sum, all orders of the procotol relevant to equipment under test can be concentrated in together test by the automatic test approach of equipment under test serial ports of the present invention and system, ensure that systematicness and the integrality of testing authentication, without the need to artificial traversal, reduce manpower, save cost, be applicable to all brands and all types of switches.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. an automatic test approach for equipment under test serial ports, is applied in the test network comprising control appliance and equipment under test, it is characterized in that, the automatic test approach of described equipment under test serial ports comprises the following steps:
Export select command so that tester selects the procotol relevant to described equipment under test that will test;
Export test command, detect described equipment under test and whether be in normal condition; If so, then continue to perform next step; If not, then output abnormality prompting, stops test;
Call serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter, and described serial port command is issued to described equipment under test to obtain the operation result performing described equipment under test after described serial port command;
Whether unanimously with the test result that prestores judge to perform the operation result of described equipment under test after described serial port command, if so, then perform the first test operation; If not, then perform the second test operation, obtain the test result with serial ports parameter correlation according to described first test operation and the second test operation.
2. the automatic test approach of equipment under test serial ports according to claim 1, is characterized in that: described first test operation comprises:
Judge that whether described serial port command is the last item in the serial port command corresponding with described procotol, if so, export first test result relevant to serial port command; If not, the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter is returned.
3. the automatic test approach of equipment under test serial ports according to claim 2, is characterized in that: contrast to judge that whether described serial port command is the last item in the serial port command corresponding with described procotol by the fixed value of adding up whether corresponding with the described procotol serial port command of the numerical value of serial port command that calls.
4. the automatic test approach of equipment under test serial ports according to claim 3, it is characterized in that: if described serial port command is not the last item in the serial port command corresponding with described procotol, after the fixed value of serial port command corresponding for described procotol is subtracted one, then return the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter.
5. the automatic test approach of equipment under test serial ports according to claim 2, is characterized in that: described second test operation comprises:
Output abnormality is pointed out, and exports second test result relevant to serial port command simultaneously;
Return the step calling serial port command corresponding to the procotol relevant to described equipment under test and serial ports parameter.
6. the automatic test approach of equipment under test serial ports according to claim 1, it is characterized in that: described in the test result that prestores be a test result Microsoft Excel, this Microsoft Excel comprises two hurdles, first hurdle is the serial port command corresponding with described procotol, and the second hurdle is the regime values scope of the serial ports parameter relevant to this serial port command.
7. an Auto-Test System for equipment under test serial ports, is applied in the test network comprising control appliance and equipment under test, it is characterized in that, the Auto-Test System of described equipment under test serial ports comprises:
First output module, for exporting select command so that tester selects the procotol relevant to described equipment under test that will test;
Second output module, is connected with described first output module, for exporting test command;
Detection module, is connected with described second output module, whether is in normal condition for detecting described equipment under test; If, call connect to described detection module for calling serial port command corresponding to the procotol relevant with described equipment under test and serial ports parameter, and described serial port command is issued to described equipment under test to obtain the control module of the operation result performing described equipment under test after described serial port command; If not, then call the 3rd output module for output abnormality prompting, and for stopping the termination module of testing;
Whether judge module, is connected with described control module, consistent with the test result that prestores for the operation result of described equipment under test after judging to perform described serial port command, if so, then calls the first operational module for performing the first test operation; If not, then the second operational module for performing the second test operation is called; Described first operational module and the second operational module obtain the test result with serial ports parameter correlation according to described first test operation and the second test operation.
8. the Auto-Test System of equipment under test serial ports according to claim 7, it is characterized in that: described first operational module is also for judging that whether described serial port command is the last item in the serial port command corresponding with described procotol, if so, first test result relevant to serial port command is exported; If not, continue to call described control module.
9. the Auto-Test System of equipment under test serial ports according to claim 8, is characterized in that: described second operational module also for output abnormality prompting, exports second test result relevant to serial port command simultaneously, and continues to call described control module.
10. a control appliance, is connected with equipment under test, it is characterized in that, described control appliance comprises:
The Auto-Test System of the equipment under test serial ports described in claim as arbitrary in claim 7-9, for obtaining the test result for described survey equipment;
Display unit, is connected with the Auto-Test System of described equipment under test serial ports, for showing described test result.
CN201510579168.7A 2015-09-11 2015-09-11 A kind of automatic test approach, system and the control device of equipment under test serial ports Active CN105119779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510579168.7A CN105119779B (en) 2015-09-11 2015-09-11 A kind of automatic test approach, system and the control device of equipment under test serial ports

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510579168.7A CN105119779B (en) 2015-09-11 2015-09-11 A kind of automatic test approach, system and the control device of equipment under test serial ports

Publications (2)

Publication Number Publication Date
CN105119779A true CN105119779A (en) 2015-12-02
CN105119779B CN105119779B (en) 2018-09-28

Family

ID=54667677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510579168.7A Active CN105119779B (en) 2015-09-11 2015-09-11 A kind of automatic test approach, system and the control device of equipment under test serial ports

Country Status (1)

Country Link
CN (1) CN105119779B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126608A (en) * 2023-01-12 2023-05-16 北京众谊越泰科技有限公司 Test fixture system and method for multi-serial port monitoring host
CN116257398A (en) * 2023-05-11 2023-06-13 中星联华科技(北京)有限公司 Serial port testing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078709A1 (en) * 2002-07-11 2004-04-22 International Business Machines Corporation System, method, and product for providing a test mechanism within a system area network device
CN101789889A (en) * 2010-01-14 2010-07-28 瑞斯康达科技发展股份有限公司 Method and system for automatic testing communication equipment
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN104346280A (en) * 2014-10-31 2015-02-11 上海斐讯数据通信技术有限公司 Method and system for exchanger reset configuration checking
CN104486146A (en) * 2014-12-03 2015-04-01 中国航空工业集团公司第六三一研究所 Communication method for testing console and testing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078709A1 (en) * 2002-07-11 2004-04-22 International Business Machines Corporation System, method, and product for providing a test mechanism within a system area network device
CN101789889A (en) * 2010-01-14 2010-07-28 瑞斯康达科技发展股份有限公司 Method and system for automatic testing communication equipment
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN104346280A (en) * 2014-10-31 2015-02-11 上海斐讯数据通信技术有限公司 Method and system for exchanger reset configuration checking
CN104486146A (en) * 2014-12-03 2015-04-01 中国航空工业集团公司第六三一研究所 Communication method for testing console and testing equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116126608A (en) * 2023-01-12 2023-05-16 北京众谊越泰科技有限公司 Test fixture system and method for multi-serial port monitoring host
CN116126608B (en) * 2023-01-12 2024-01-26 北京众谊越泰科技有限公司 Test fixture system and method for multi-serial port monitoring host
CN116257398A (en) * 2023-05-11 2023-06-13 中星联华科技(北京)有限公司 Serial port testing method and system
CN116257398B (en) * 2023-05-11 2023-10-03 中星联华科技(北京)有限公司 Serial port testing method and system

Also Published As

Publication number Publication date
CN105119779B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN104246521B (en) The method and device that intelligent substation relay protection function is tested automatically
CN108965123A (en) A kind of link switch-over method and network communicating system
CN105680568A (en) Automatic mapping monitoring system and method of intelligent substation secondary virtual loop
CN104899150B (en) Automated testing method and system and automation platform based on object-oriented
CN103746884A (en) Method and system for testing flow through switchboard
Weaver et al. Cyber-physical models for power grid security analysis: 8-substation case
CN104202199A (en) Method and system for detecting interface status and processing interface fault according to interface status
CN103814501A (en) Diagnosis for GOOSE communication
CN105119779A (en) Automatic testing method and system for serial port of equipment to be tested
CN101873236A (en) Method and system for testing message
CN104639400A (en) Automatic detection method and device of network packet processing chip
CN102130796B (en) Power communication network detecting method based on reverse N-1 analysis and system thereof
CN103853859A (en) Mapping method and mapping system for drawing nuclear power plant terminating map
CN107769964B (en) Special line checking method and system
CN104682357A (en) Novel design method for virtual terminal of intelligent transformer substation
TWI738214B (en) Many-to-many state recognition system for names of Internet of things broadcasting equipment
CN109980789B (en) State detection method, device, equipment and medium of direct current control protection system
CN104468213B (en) A kind of switch remote management system and method
CN104965137A (en) Fault positioning method and system, electronic equipment
CN104954065A (en) Passive optical network system and communication method
CN105656718A (en) Stable automatic testing method for switch
CN102447591B (en) Test the system and method for multiple serial device
CN104869030A (en) Access terminal product multiuser simulation test method
CN103647760A (en) Manufacturing message specification (MMS) communication platform of intelligent substation digital protection device and access method of manufacturing message specification (MMS) communication platform
CN105429907A (en) Automatic serial port identification device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201215

Address after: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee after: Bengbu 309 Technology Consulting Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210202

Address after: 313001 room 1019, Xintiandi office building, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee before: Bengbu 309 Technology Consulting Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An automatic test method, system and control equipment for the serial port of the tested equipment

Effective date of registration: 20230111

Granted publication date: 20180928

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2023330000072

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231205

Granted publication date: 20180928

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2023330000072