CN107124333A - The group network system and method for a kind of automatic test environment - Google Patents
The group network system and method for a kind of automatic test environment Download PDFInfo
- Publication number
- CN107124333A CN107124333A CN201710443230.9A CN201710443230A CN107124333A CN 107124333 A CN107124333 A CN 107124333A CN 201710443230 A CN201710443230 A CN 201710443230A CN 107124333 A CN107124333 A CN 107124333A
- Authority
- CN
- China
- Prior art keywords
- test
- equipment
- test equipment
- port
- tested
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Abstract
The present invention relates to network communication equipment automatic test field, disclose a kind of group network system of automatic test environment, including multiple test equipments and an interchanger, the test equipment is used to test network communication equipment, and the species of test equipment is a variety of, and the test equipment of each species is multiple;Interchanger is connected with every test equipment, the interchanger is used for the testing requirement based on network communication equipment to be tested, for network communication equipment allocation for test equipment to be tested, and distribute to the test equipment of network communication equipment to be tested and adhere to different broadcast domains separately from other test equipments for being not yet assigned to network communication equipment to be tested;Wherein, each test equipment includes multiple ports, and each port, to that should have port use state and port numbers, the port use state is unused including the use of neutralizing.The present invention can effectively improve the utilization rate of test equipment resource.
Description
Technical field
The present invention relates to network communication equipment automatic test field, and in particular to a kind of networking of automatic test environment
System and a kind of network-building method of automatic test environment.
Background technology
The automatic test of network communication equipment is general using the automation for automating demand based on characteristic test and designing
Test envelope, automatic test bed includes the hardware devices such as equipment, instrument, netting twine, server, personal computer.Based on automation
The design of automatic test bed can cover numerous and diverse testing requirement of many characteristics in the requirement continuously performed, current industry, therefore single
The hardware device quantity of individual automatic test bed is typically more.
Automatic test bed is when carrying out test job, and Devices to test uses single exclusive for automatic test bed
Test mode, i.e., one automatic test bed is used for the test of a Devices to test, and the advantage of this test mode is test
During by other factorses interference it is small, and test result is clear, but shortcoming be exactly automatic test bed equipment exist it is larger
Redundancy, for example:Some automatic test bed includes four equipment and two test instrumentations, carries out the test of some Devices to test,
And the Devices to test is only needed in test using the equipment and a test instrumentation in automatic test bed, then other three
Equipment and a test instrumentation then can be idle, and three equipment and a test instrumentation can not carry out the survey of other Devices to tests
Examination, so as to cause the profligacy of test resource.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of networking of automatic test environment
System and a kind of network-building method of automatic test environment, effectively improve the utilization rate of test equipment resource.
To achieve the above objectives, the present invention is adopted the technical scheme that, including:
Multiple test equipments, the test equipment is used to test network communication equipment, and the species of test equipment
To be a variety of, and the test equipment of each species is multiple;And
One interchanger, the interchanger is connected with every test equipment, and the interchanger is used to be based on network to be tested
The testing requirement of communication equipment, is network communication equipment allocation for test equipment to be tested, and distributes to network service to be tested and set
Standby test equipment adheres to different broadcast domains separately from other test equipments for being not yet assigned to network communication equipment to be tested;
Wherein, each test equipment includes multiple ports, and each port is to that should have port use state and end
Slogan, the port use state is unused including the use of neutralizing.
On the basis of above-mentioned technical proposal, the test equipment has numbering, and the interchanger has global files,
Global files include species, number and the port numbers of required test equipment port of required test equipment.
The present invention also provides a kind of network-building method of automatic test environment, including:
S1:Pair test equipment being connected with interchanger carries out number consecutively;
S2:Based on the testing requirement of network communication equipment to be tested, by the species of required test equipment, number and required
In the port numbers write-in global files of test equipment port;
S3:Read out the species, number and required test equipment port of required test equipment in global files
Port number information;
S4:According to number order, judge successively current test equipment whether for needed for test equipment, if so, then go to S5,
If it is not, then repeating S4, according to number order, the judgement of next test equipment is carried out;
S5:Judge whether the port use state of current test equipment port is all unused, if so, S6 is then gone to, if
It is no, then go to S4;
S6:According to the global file middle-end slogans of reading, network communication equipment to be tested is corresponding with port numbers current
The port connection of test equipment, while the port in current test equipment with network communication equipment connectivity port to be tested is made
It is set to state in use.
On the basis of above-mentioned technical proposal, in S6, when network communication equipment to be tested current survey corresponding with port numbers
After the port connection for trying equipment, the annexation between network communication equipment to be tested and test equipment returns to global texts
Part.
It is logical with network to be tested after the completion of network communication equipment to be tested test on the basis of above-mentioned technical proposal
The port status of the connected test equipment port of letter equipment is set to unused.
On the basis of above-mentioned technical proposal, in S2, needed for the testing requirement of network communication equipment to be tested is specifically included
The port of the species of test equipment, the number of every kind of test equipment and required test equipment.
On the basis of above-mentioned technical proposal, when the required test equipment of network communication equipment to be tested is multiple, press
According to the number order of test equipment, test equipment is judged and selected successively, until test equipment needed for choosing is neat.
On the basis of above-mentioned technical proposal, when the required test equipment of network communication equipment to be tested is multiple, and
, on switches will be with network communication equipment to be tested after the completion of network communication equipment to be tested is connected with required test equipment
The test equipment of connection is divided into same broadcast domain.
Compared with prior art, a kind of advantage of the group network system of automatic test environment of the invention is:
1st, interchanger is connected with each test equipment, under the control of interchanger, the survey based on network under test communication equipment
Examination demand selects test equipment, and the test equipment of selection is divided into a broadcast domain to carry out signal of communication by interchanger
Isolation so that other non-selected test equipments can be selected and used by other network under test communication equipments, it is to avoid test
Interfering between example, so as to reduce the redundancy of test equipment, improves the utilization rate of test equipment resource.
2nd, by the way of circuit between interchanger and test equipment is direct-connected, connection clear logic effectively reduces line
The layout difficulty on road and the maintenance cost of later stage circuit.
A kind of network-building method of automatic test environment of the present invention is advantageous in that:Test equipment is carried out by interchanger
Management, for the demand of test equipment when test according to network communication equipment to be tested, selection test equipment, and by the survey of selection
Examination equipment is divided into same broadcast domain, the broadcast domain is isolated with other broadcast domains, it is ensured that without other communications during test
Interference, and be not yet assigned to other test equipments that current network service to be tested is set, additionally it is possible to used by other test cases,
All test equipments are fully used.
Brief description of the drawings
Fig. 1 is a kind of structural representation of the group network system of automatic test environment of the invention;
Fig. 2 is a kind of flow chart of the network-building method of automatic test environment of the invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
Shown in Figure 1, the present invention provides a kind of group network system of automatic test environment, and the group network system is used for net
Network communication equipment is tested, and the group network system includes multiple test equipments and an interchanger.
Test equipment is used to test network communication equipment, because the species of network communication equipment has a variety of, each to plant
The network communication equipment of class needs corresponding test equipment to be tested, thus test equipment species also to be a variety of, often
The test equipment of individual species is multiple, demand of the network communication equipment based on test, and the species and number of test equipment can be entered
Row selection, different network communication equipments are when being tested, and the species of required test equipment is different with number, it is possible certain
Individual network communication equipment needs the test equipment of multiple species to be coordinated in test.Interchanger passes through netting twine and test equipment
It is connected, whole wired logic is clear, significantly reduces the maintenance cost of circuit.
Interchanger is connected with every test equipment, similar to star-like networking connected mode, by interchanger, to each
Test equipment is managed, and interchanger is used for the testing requirement based on network communication equipment to be tested, is network service to be tested
Equipment distributes corresponding test equipment, i.e., when test according to network communication equipment to be tested for network communication equipment species with it is individual
Several demands, is that network communication equipment distributes the network communication equipment of corresponding species and number, and distribute to network to be tested
The test equipment of communication equipment adheres to different broadcast domains separately from other test equipments for being not yet assigned to network communication equipment to be tested,
The i.e. current network communication equipment tested takes an independent broadcast domain in the group network system of the present invention, passes through broadcast domain
Division, under the buffer action of interchanger, other idle test equipments in group network system can be by other networks to be tested
Communication equipment is used, so as to effectively increase the testing efficiency of whole group network system, is improved the concurrency of synchronization, is carried out
Test equipment resource makes full use of.
Shown in Figure 2, the present invention also provides a kind of networking side of the automatic test environment based on above-mentioned group network system
Method, including:
S1:Pair test equipment being connected with interchanger carries out number consecutively, such as using 1,2,3 ... numbering form.
S2:Based on the testing requirement of network communication equipment to be tested, by the species of required test equipment, number and required survey
In the port numbers write-in global files for trying device port.The testing requirement of network communication equipment to be tested specifically includes required survey
The port of the species, the number of every kind of test equipment and required test equipment of equipment is tried, for example, needs two kinds of test
Equipment, the number of each type of test equipment is respectively for 1, it is necessary to the 1st of the test equipment of the first type and the 3rd end
Mouthful, then the port numbers of equipment needed for this type are 1 and 3, it is necessary to the 2nd of the test equipment of second of type and the 3rd end
Mouthful, then the port numbers of equipment needed for this type are 2 and 3.Global files are commonly called as a class, inherit in
Httpapplication classes, also referred to as application file.
S3:Read out species, number and the end of required test equipment port of the required test equipment in global files
Number information.
S4:According to number order, the species of the required test equipment in the global files of reading, number and required
The port number information of test equipment port, judge successively current test equipment whether for needed for test equipment, if so, then going to
S5, if it is not, then repeating S4, i.e., according to number order, carries out the judgement of next test equipment, if when current test equipment is not
Required test equipment, then carry out the judgement of next test equipment according to number order, until obtaining required test equipment, then
S5 is gone to, otherwise, proceeds the judgement of next test equipment according to number order.
S5:Judge whether the port use state of current test equipment port is all unused, if so, S6 is then gone to, if
It is no, then go to S4;Using the preferential selection mode of equipment, as long as the use state of test equipment a port is in use, then
The test equipment is not selected.
It is right according to the number order of test equipment when the required test equipment of network communication equipment to be tested is multiple
Test equipment is judged and selected successively, until test equipment needed for choosing is neat.
If for example, the species of required test equipment is a type, and required number is 2, then according to number order
Selection judgement is carried out, if the type of first test equipment is required type of test equipment, to the test equipment port
Port use state is judged, if port use state is all unused, connects the test equipment, then suitable according to numbering
Sequence carries out the judgement of second test equipment, if second test equipment is not required type of test equipment, proceeds
The judgement of 3rd test equipment, if the type of the 3rd test equipment is the type of required test equipment, is surveyed to the 3rd
The port use state of examination device port is judged, if the port for having a port in the port of the 3rd test equipment is used
State is that the judgement of the 4th test equipment is carried out in use, then abandon the 3rd test equipment, and the 4th test equipment is institute
The type of test equipment needed, then the port use state to the 4th test equipment port judges, if the 4th test is set
Standby port use state is all unused, then selects and connect the 4th test equipment, so that neat required test equipment is selected,
And first test equipment and the 4th test equipment are divided into same broadcast domain.
S6:According to the global file middle-end slogans of reading, network communication equipment to be tested is corresponding with port numbers current
The port connection of test equipment, while by the port for the port being connected with network communication equipment to be tested in current test equipment
Use state is set in use.When the port of network communication equipment to be tested current test equipment corresponding with port numbers is connected
Afterwards, the annexation between network communication equipment to be tested and test equipment returns to global files.Meanwhile, when net to be tested
After the completion of the test of network communication equipment, the port status for the port of test equipment that is connected with network communication equipment to be tested, which is set to, not to be made
With.
When the required test equipment of network communication equipment to be tested is multiple, and network communication equipment to be tested
After the completion of being connected with required test equipment, the test equipment being connected with network communication equipment to be tested is divided on switches
Into same broadcast domain.
A kind of network-building method of automatic test environment of the present invention, is carried out by an interchanger with all test equipments
Connection, and test equipment is managed by interchanger, for test when then being tested according to network communication equipment to be tested
The demand of equipment, one by one pair test equipment being connected with interchanger select, and by the network communication equipment to be tested of selection
Required test equipment is divided into same broadcast domain, in the presence of interchanger, by the broadcast domain and other broadcast domains carry out every
From, it is ensured that the interference without other communications during test, and other test equipments that current network service to be tested is set are not yet assigned to, also
It can be used by other test cases, it is to avoid the redundancy of test equipment, it is ensured that test resource is fully used.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (8)
1. a kind of group network system of automatic test environment, it is characterised in that including:
Multiple test equipments, the test equipment is used to test network communication equipment, and the species of test equipment is many
Kind, and the test equipment of each species is multiple;And
One interchanger, the interchanger is connected with every test equipment, and the interchanger is used to be based on network service to be tested
The testing requirement of equipment, is network communication equipment allocation for test equipment to be tested, and distribute to network communication equipment to be tested
Test equipment adheres to different broadcast domains separately from other test equipments for being not yet assigned to network communication equipment to be tested;
Wherein, each test equipment includes multiple ports, and each port is to that should have port use state and port numbers,
The port use state is unused including the use of neutralizing.
2. a kind of group network system of automatic test environment as claimed in claim 1, it is characterised in that:The test equipment tool
There is a numbering, the interchanger has a global files, global files include the species of required test equipment, number and required
The port numbers of test equipment port.
3. a kind of network-building method of the automatic test environment based on group network system described in claim 1, it is based on automation pin
This execution global document designs, it is characterised in that including:
S1:Pair test equipment being connected with interchanger carries out number consecutively;
S2:Based on the testing requirement of network communication equipment to be tested, by the species of required test equipment, number and required test
In the port numbers write-in global files of device port;
S3:Read out species, number and the port of required test equipment port of the required test equipment in global files
Number information;
S4:According to number order, judge successively current test equipment whether for needed for test equipment, if so, then go to S5, if
No, then repeatedly S4, according to number order, carries out the judgement of next test equipment;
S5:Judge whether the port use state of current test equipment port is all unused, if so, S6 is then gone to, if it is not, then
Go to S4;
S6:According to the global file middle-end slogans of reading, network communication equipment to be tested current test corresponding with port numbers
The port connection of equipment, while the port in current test equipment with network communication equipment connectivity port to be tested is used into shape
State is set in use.
4. a kind of network-building method of automatic test environment as claimed in claim 3, it is characterised in that:In S6, when to be tested
After the port connection of network communication equipment current test equipment corresponding with port numbers, network communication equipment to be tested is set with test
Annexation between standby returns to global files.
5. a kind of network-building method of automatic test environment as claimed in claim 3, it is characterised in that:When network to be tested is logical
Believe after the completion of equipment test, the port status of the test equipment port that is connected with network communication equipment to be tested is set to unused.
6. a kind of network-building method of automatic test environment as claimed in claim 3, it is characterised in that:In S2, net to be tested
Species, the number of every kind of test equipment and the required test of test equipment needed for the testing requirement of network communication equipment is specifically included
The port of equipment.
7. a kind of network-building method of automatic test environment as claimed in claim 6, it is characterised in that:When network to be tested is logical
Believe equipment required test equipment for it is multiple when, according to the number order of test equipment, to test equipment successively carry out judge and
Selection, until test equipment needed for choosing is neat.
8. a kind of network-building method of automatic test environment as claimed in claim 7, it is characterised in that:When network to be tested is logical
Believe the required test equipment of equipment for it is multiple when, and after the completion of network communication equipment to be tested is connected with required test equipment,
The test equipment being connected with network communication equipment to be tested is divided into same broadcast domain on switches.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710443230.9A CN107124333B (en) | 2017-06-13 | 2017-06-13 | A kind of network-building method of automatic test environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710443230.9A CN107124333B (en) | 2017-06-13 | 2017-06-13 | A kind of network-building method of automatic test environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107124333A true CN107124333A (en) | 2017-09-01 |
CN107124333B CN107124333B (en) | 2019-08-13 |
Family
ID=59730393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710443230.9A Active CN107124333B (en) | 2017-06-13 | 2017-06-13 | A kind of network-building method of automatic test environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107124333B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138637A (en) * | 2019-05-16 | 2019-08-16 | 广东信通通信有限公司 | Test data processing method, device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001183A (en) * | 2007-01-10 | 2007-07-18 | 网之易信息技术(北京)有限公司 | Test method and system for network application software |
CN103139017A (en) * | 2013-02-28 | 2013-06-05 | 上海斐讯数据通信技术有限公司 | Test system and test method of network devices |
CN105183644A (en) * | 2015-08-20 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Multipletask integrated automatic test system and method |
CN108306778A (en) * | 2016-09-01 | 2018-07-20 | 深圳市中兴微电子技术有限公司 | A kind of mobile terminal test method, device and system |
-
2017
- 2017-06-13 CN CN201710443230.9A patent/CN107124333B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001183A (en) * | 2007-01-10 | 2007-07-18 | 网之易信息技术(北京)有限公司 | Test method and system for network application software |
CN103139017A (en) * | 2013-02-28 | 2013-06-05 | 上海斐讯数据通信技术有限公司 | Test system and test method of network devices |
CN105183644A (en) * | 2015-08-20 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Multipletask integrated automatic test system and method |
CN108306778A (en) * | 2016-09-01 | 2018-07-20 | 深圳市中兴微电子技术有限公司 | A kind of mobile terminal test method, device and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138637A (en) * | 2019-05-16 | 2019-08-16 | 广东信通通信有限公司 | Test data processing method, device, computer equipment and storage medium |
CN110138637B (en) * | 2019-05-16 | 2021-09-21 | 广东信通通信有限公司 | Test data processing method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107124333B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102333005B (en) | Tester control method in automatic testing system | |
CN102305912B (en) | Low power consumption integrated circuit testing device with compressible data and method using same | |
CN101404596B (en) | Multi-topological environmental test method, system and equipment | |
CN107734520A (en) | A kind of resource allocation method and device | |
DE60128014T2 (en) | Intelligent test adapter | |
CN101789889B (en) | Method and system for automatic testing communication equipment | |
CN100409710C (en) | Method and system for checking configuration of nodes in telecommunications network | |
CN103560829A (en) | Method and system for automatic testing of UNI ports | |
CN107038118B (en) | Universal processing method for testing different electronic equipment assemblies | |
CN106648556A (en) | Front end and back end integrated development testing method and device | |
CN101222732B (en) | State control signal testing device | |
CN106411637A (en) | Internet-of-things device scenario testing method | |
CN110493079A (en) | The production automation test method of industrial ethernet switch | |
CN104394029A (en) | An AFDX bus detecting method based on a hybrid channel | |
Kingston | Resource assignment in high school timetabling | |
CN105337796A (en) | WIFI router performance test method and system | |
CN106569950A (en) | Network management software testing system and network management software testing method | |
CN102224428A (en) | Testing method and program product used therein | |
CN109948938A (en) | The bill of materials configuration method and device and equipment of a kind of enterprise resource planning | |
CN105162664B (en) | A kind of automation platform test method and system based on the exploitation of instrument middle layer | |
Janicki et al. | EDT bandwidth management-Practical scenarios for large SoC designs | |
CN107124333A (en) | The group network system and method for a kind of automatic test environment | |
CN108170602A (en) | A kind of method for generating test case, device, terminal and computer-readable medium | |
CN103810094A (en) | Executing method and device for test case and test tool | |
CN110083536A (en) | Test resource distribution method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |