CN103647679A - Automated topology dynamic mapping method and system - Google Patents

Automated topology dynamic mapping method and system Download PDF

Info

Publication number
CN103647679A
CN103647679A CN201310610707.XA CN201310610707A CN103647679A CN 103647679 A CN103647679 A CN 103647679A CN 201310610707 A CN201310610707 A CN 201310610707A CN 103647679 A CN103647679 A CN 103647679A
Authority
CN
China
Prior art keywords
topology
physical
equipment under
under test
test
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
CN201310610707.XA
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.)
Shanghai Feixun Data Communication Technology 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 CN201310610707.XA priority Critical patent/CN103647679A/en
Publication of CN103647679A publication Critical patent/CN103647679A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The invention provides an automated topology dynamic mapping method and an automated topology dynamic mapping system. The automated topology dynamic mapping method includes the following steps that: step 1, all tested apparatuses are connected to a physical switch; step 2, attributes of the tested apparatuses and a physical topology of the tested apparatuses and the physical switch are described; step 3, a logical topology of test cases is described; and step 4, the logical topology of the test cases is mapped to the physical topology. With the method of the invention adopted, a certain number of tested apparatuses are connected with one switch, such that a test bed can be formed; according to the attributes of the tested apparatuses and the physical topology of the tested apparatuses and the physical switch, the logical topology of the test cases is mapped to the physical topology; environments are not required to be built manually among each test case to form a corresponding logical topology; reasonable tested apparatuses are connected with one switch, such that the physical topology required by a certain number of test cases can be provided; environments are not needed to be rebuilt for each test case; and therefore, the efficiency of automated test can be improved.

Description

A kind of automation topology method for mapping dynamically and system
Technical field
The present invention relates to technical field of measurement and test, particularly relate to a kind of automation topology method for mapping dynamically, also relate to a kind of automation topology dynamic mapping system.
Background technology
In recent years, along with testing complex degree is constantly soaring, the resource that test consumes is more and more.How to promote testing efficiency, reduce costs and become the problem that each tester is concerned about.
In automatic test, each test suite is furnished with different logical topologys, and tester need to build different physical topologies according to logical topology, in carrying out the process of automatized script, need to move in batches, before operation, need to build environment by hand, can not realize automation completely.
Summary of the invention
Based on this, be necessary to provide a kind of automation topology method for mapping dynamically, comprising:
Step 1: all equipment under tests are connected in a physical switches;
Step 2: describe equipment under test attribute and with the physical topology of described physical switches;
Step 3: the logical topology of describing test case;
Step 4: shine upon the logical topology of described test case to physical topology.
Preferably, step 4 specifically comprises:
According to the attribute of equipment under test, the device map in test case is arrived to described equipment under test;
According to the logical topology of test case, the port being mapped between equipment under test connects;
According to equipment under test, with the physical topology of described physical switches, port between equipment under test, connect, complete the connection of physical switches upper port.
Preferably, the attribute of described equipment under test comprises the type of equipment, the connection degree that equipment is followed described physical switches.
In addition, the present invention also provides a kind of automation topology dynamic mapping system, comprising:
Physical switches, connects all equipment under tests;
Physical topology describing module, describes equipment under test attribute and with the physical topology of described physical switches;
Logical topology describing module, the logical topology of description test case;
Physical logic Topological Mapping module, shines upon the logical topology of described test case to physical topology.
Preferably, described physical logic Topological Mapping module comprises:
Device map module, according to the attribute of equipment under test, arrives described equipment under test by the device map in test case;
Port mapping module, according to the logical topology of test case, the port being mapped between equipment under test connects;
Physical switch link block, connects with the physical topology of described physical switches, port between equipment under test according to equipment under test, completes the connection of physical switches upper port.
Preferably, the attribute of described equipment under test comprises the type of equipment, the connection degree that equipment is followed described physical switches.
Adopt after the inventive method, the equipment under test of some is connected on a switch, form test envelope, according to equipment under test attribute and with the physical topology of described physical switches, the logical topology of test case is mapped to physical topology, between each test case, do not need the manual environment of building, form corresponding logical topology, reasonably equipment under test is connected to a switch can provide some test cases required physical topology, without each test case, again build environment, improved the efficiency of automatic test.
Accompanying drawing explanation
Fig. 1 is the flow chart of an embodiment of automation topology method for mapping dynamically provided by the invention;
Fig. 2 is the concrete grammar flow chart of Fig. 1 step 4;
Fig. 3 is the logical topology of test case of the present invention;
Fig. 4 is that equipment under test of the present invention is with the physical topology of physical switches;
Fig. 5 is an embodiment schematic diagram of automation topology dynamic mapping system provided by the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Consult Fig. 1, Fig. 2, the automation topology method for mapping dynamically of an embodiment provided by the invention, comprising:
Step S10, is connected to all equipment under tests in a physical switches;
The physical switches that works in ground floor (is called again cross connect switch, crossbar switch, crosspoint switch, or matrix switch), the connection of programmable arbitrary port to arbitrary port is provided, choke free switching backplane, 100% pair of upper-layer protocol is transparent.Give tacit consent between each port and be not communicated with, the interface channel sending instructions between the mouth of providing end under needing.Equipment under test is connected in such physical switches, forms test envelope, provides each test case required physical topology.
Step S20, describes equipment under test attribute and with the physical topology of physical switches;
Concrete, the attribute of equipment under test comprises that the type of equipment, equipment are with the connection degree of physical switches.Equipment under test is the annexation that equipment under test is followed physical switches with the physical topology of physical switches.
Step S30, the logical topology of description test case;
Step S40, the logical topology of mapping test case is to physical topology.
Concrete, step S40 comprises:
Step S401, according to the attribute of equipment under test, arrives described equipment under test by the device map in test case;
If the total equipment under test of logical topology does not conform to the equipment under test attribute being connected with physical switches, shine upon unsuccessfully, just failure of test case logical topology mapping physical topology, this just requires to want rationally with degree of connection with the device type of the equipment under test of physical switches connection, to be applicable to more test case, uses.
Step S402, according to the logical topology of test case, the port being mapped between equipment under test connects;
Step S403, connects with the physical topology of physical switches, port between equipment under test according to equipment under test, completes the connection of physical switches upper port.
Below in conjunction with Fig. 3, Fig. 4 explanation, test case logical topology as shown in Figure 3, equipment under test with the physical topology of physical switches as shown in Figure 4, for convenience of description, other ineligible equipment under tests are not shown in Fig. 4, be appreciated that and in Fig. 4, also comprise more equipment under tests, and its connection with physical switches is also not limited to two ports.Equipment under test DUA, DUB in logic of propositions topology, the device type of DUC are with switc1, switch2, switch3 difference correspondence, and as seen from the figure, their connection degree also meets.Therefore, that the device map in test case is to the equipment under test in Fig. 4, as follows:
DUTA<==========>sw1
DUTB<==========>sw2
DUTC<==========>sw3
Be appreciated that sw is writing a Chinese character in simplified form of switch, then according to logic, open up and stick together, the port being mapped between equipment under test connects, as follows:
sw1,ge1<==========>sw2,ge1
sw1,ge2<==========>sw3,ge1
sw2,ge2<==========>sw3,ge2
According to equipment under test, with the physical topology of physical switches, port between equipment under test, connect, complete the connection of physical switches upper port, as follows:
Phy1<==========>phy3
phy2<==========>phy4
phy3<==========>phy5
Under send instructions the interface channel of physical switch phy1 and phy3, phy2 and phy4 and phy3 and phy5 be provided
To sum up, complete test case and from logical topology, be mapped to the process of physical topology.
In addition, the present invention also provides a kind of automation topology dynamic mapping system, comprising:
Physical switches 10, connects all equipment under tests;
Physical topology describing module 20, describes equipment under test attribute and with the physical topology of physical switches;
Logical topology describing module 30, the logical topology of description test case;
Physical logic Topological Mapping module 40, the logical topology of mapping test case is to physical topology.
Preferably, physical logic Topological Mapping module 40 comprises:
Device map module 401, according to the attribute of equipment under test, arrives described equipment under test by the device map in test case;
Port mapping module 402, according to the logical topology of test case, the port being mapped between equipment under test connects;
Physical switch link block 403, connects with the physical topology of physical switches, port between equipment under test according to equipment under test, completes the connection of physical switches upper port.
The attribute of equipment under test comprises the type of equipment, the connection degree that equipment is followed described physical switches.
Adopt after the inventive method, the equipment under test of some is connected on a switch, form test envelope, according to equipment under test attribute and with the physical topology of described physical switches, the logical topology of test case is mapped to physical topology, between each test case, do not need the manual environment of building, form corresponding logical topology, reasonably equipment under test is connected to a switch can provide some test cases required physical topology, without each test case, again build environment, improved the efficiency of automatic test.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (6)

1. an automation topology method for mapping dynamically, is characterized in that, comprising:
Step 1: all equipment under tests are connected in a physical switches;
Step 2: describe equipment under test attribute and with the physical topology of described physical switches;
Step 3: the logical topology of describing test case;
Step 4: shine upon the logical topology of described test case to physical topology.
2. automation topology method for mapping dynamically according to claim 1, is characterized in that, described step 4 specifically comprises:
According to the attribute of equipment under test, the device map in test case is arrived to described equipment under test;
According to the logical topology of test case, the port being mapped between equipment under test connects;
According to equipment under test, with the physical topology of described physical switches, port between equipment under test, connect, complete the connection of physical switches upper port.
3. automation according to claim 1 topology method for mapping dynamically, is characterized in that, the attribute of described equipment under test comprises that the type of equipment, equipment are with the connection degree of described physical switches.
4. an automation topology dynamic mapping system, is characterized in that, comprising:
Physical switches, connects all equipment under tests;
Physical topology describing module, describes equipment under test attribute and with the physical topology of described physical switches;
Logical topology describing module, the logical topology of description test case;
Physical logic Topological Mapping module, shines upon the logical topology of described test case to physical topology.
5. automation topology dynamic mapping system according to claim 4, is characterized in that, described physical logic Topological Mapping module comprises:
Device map module, according to the attribute of equipment under test, arrives described equipment under test by the device map in test case;
Port mapping module, according to the logical topology of test case, the port being mapped between equipment under test connects;
Physical switch link block, connects with the physical topology of described physical switches, port between equipment under test according to equipment under test, completes the connection of physical switches upper port.
6. automation according to claim 4 topology dynamic mapping system, is characterized in that, the attribute of described equipment under test comprises that the type of equipment, equipment are with the connection degree of described physical switches.
CN201310610707.XA 2013-11-26 2013-11-26 Automated topology dynamic mapping method and system Pending CN103647679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310610707.XA CN103647679A (en) 2013-11-26 2013-11-26 Automated topology dynamic mapping method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310610707.XA CN103647679A (en) 2013-11-26 2013-11-26 Automated topology dynamic mapping method and system

Publications (1)

Publication Number Publication Date
CN103647679A true CN103647679A (en) 2014-03-19

Family

ID=50252840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310610707.XA Pending CN103647679A (en) 2013-11-26 2013-11-26 Automated topology dynamic mapping method and system

Country Status (1)

Country Link
CN (1) CN103647679A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487558A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 A kind of method and apparatus realizing the scalable appearance of access device
CN106936605A (en) * 2015-12-29 2017-07-07 迈普通信技术股份有限公司 A kind of method and apparatus for creating test assignment
CN107005482A (en) * 2014-09-22 2017-08-01 沃尔廷控股公司 For software defined network, storage and the compiler and method for calculating execution operation
CN107124326A (en) * 2017-04-05 2017-09-01 烽火通信科技股份有限公司 A kind of automated testing method and system
WO2017219831A1 (en) * 2016-06-23 2017-12-28 中兴通讯股份有限公司 Topology matching method and device
CN107534611A (en) * 2015-05-12 2018-01-02 华为技术有限公司 Transmit software defined network (SDN) --- logic to physical topology discovering
CN107579872A (en) * 2017-08-25 2018-01-12 上海斐讯数据通信技术有限公司 A kind of test envelope and its method of testing for realizing wireless router test
CN107864069A (en) * 2017-10-27 2018-03-30 安徽皖通邮电股份有限公司 A kind of method for realizing communication equipment automation cloud test
CN111294225A (en) * 2018-12-10 2020-06-16 中车株洲电力机车研究所有限公司 Automatic test system and method for exchange equipment in rail transit system
CN112671604A (en) * 2020-12-16 2021-04-16 广州鲁邦通物联网科技有限公司 Test system and method of network equipment
CN113267702A (en) * 2021-06-24 2021-08-17 广东电网有限责任公司 Method and device for generating test case of power distribution network fault self-healing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731747A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Automatization testing frame system and method
US20060109793A1 (en) * 2004-11-25 2006-05-25 Kim Hwan K Network simulation apparatus and method for analyzing abnormal network
CN101937394A (en) * 2010-09-14 2011-01-05 中兴通讯股份有限公司 Method and device for adaption of topology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060109793A1 (en) * 2004-11-25 2006-05-25 Kim Hwan K Network simulation apparatus and method for analyzing abnormal network
CN1731747A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Automatization testing frame system and method
CN101937394A (en) * 2010-09-14 2011-01-05 中兴通讯股份有限公司 Method and device for adaption of topology

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005482A (en) * 2014-09-22 2017-08-01 沃尔廷控股公司 For software defined network, storage and the compiler and method for calculating execution operation
CN107534611A (en) * 2015-05-12 2018-01-02 华为技术有限公司 Transmit software defined network (SDN) --- logic to physical topology discovering
CN106487558B (en) * 2015-08-31 2019-03-15 中兴通讯股份有限公司 A kind of method and apparatus for realizing the scalable appearance of access device
CN106487558A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 A kind of method and apparatus realizing the scalable appearance of access device
CN106936605A (en) * 2015-12-29 2017-07-07 迈普通信技术股份有限公司 A kind of method and apparatus for creating test assignment
CN106936605B (en) * 2015-12-29 2019-09-20 迈普通信技术股份有限公司 A kind of method and apparatus creating test assignment
WO2017219831A1 (en) * 2016-06-23 2017-12-28 中兴通讯股份有限公司 Topology matching method and device
CN107124326A (en) * 2017-04-05 2017-09-01 烽火通信科技股份有限公司 A kind of automated testing method and system
CN107124326B (en) * 2017-04-05 2020-05-05 烽火通信科技股份有限公司 Automatic testing method and system
CN107579872A (en) * 2017-08-25 2018-01-12 上海斐讯数据通信技术有限公司 A kind of test envelope and its method of testing for realizing wireless router test
CN107864069A (en) * 2017-10-27 2018-03-30 安徽皖通邮电股份有限公司 A kind of method for realizing communication equipment automation cloud test
CN111294225A (en) * 2018-12-10 2020-06-16 中车株洲电力机车研究所有限公司 Automatic test system and method for exchange equipment in rail transit system
CN112671604A (en) * 2020-12-16 2021-04-16 广州鲁邦通物联网科技有限公司 Test system and method of network equipment
CN113267702A (en) * 2021-06-24 2021-08-17 广东电网有限责任公司 Method and device for generating test case of power distribution network fault self-healing system

Similar Documents

Publication Publication Date Title
CN103647679A (en) Automated topology dynamic mapping method and system
US20120131403A1 (en) Multi-chip test system and test method thereof
CN104483959A (en) Fault simulation and test system
CN103455413B (en) A kind of communicating terminal interaction scenarios test data processing method, device and system
CN105553885B (en) A kind of FC interchanger priority test method
CN102479132A (en) Test system and test method for multiple chips
CN104320313A (en) System and method for testing ports of interchanger
US20090036115A1 (en) System and method for testing gsm modules
CN101937394A (en) Method and device for adaption of topology
CN105182111B (en) A kind of performance test methods and system of mobile terminal
CN110764036B (en) Intelligent distribution transformer terminal test method and system
CN203490285U (en) Unmanned plane full-automatic impedance detection device
CN106162678A (en) The test device of connection mode and method of testing thereof
US9342425B2 (en) Test apparatus and test module
CN104346280B (en) A kind of interchanger restarts the method and system of configuration inspection
CN104090185A (en) Testing system and method
CN205091732U (en) Automatic switching device for USB interface
CN205847611U (en) For patrolling and examining many nets integration module of mobile terminal
CN101931462A (en) Testing control method and device for optical transmission network
CN102645609B (en) Joint test action group (JTAG) link circuit test device and test method of JTAG chain circuit test device
CN206353841U (en) The interface arrangement of platform is calibrated for internet VHF frequency range frequency hopping radio sets detection device
CN106919748A (en) Improve the device and method of FPGA prototype verification efficiency
CN102854875B (en) Automobile air conditioner controller testing method and system
CN102594700B (en) Quick network protocol design and authentication equipment capable of realizing collaborative configuration of hardware and software
CN102455986A (en) Command transmission mechanism

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140319