Invention content
Technical problem to be solved by the present invention lies in, it is proposed that a kind of router feature test system, to realize one
The test of a variety of router features is carried out in kind test hardware environment.
In order to solve the above-mentioned technical problem, the application proposes that a kind of router feature tests system comprising:Interchanger,
First terminal equipment, second terminal equipment, third terminal equipment, at least one mobile terminal, test router, routing to be measured
Device;
Wherein, the first terminal equipment is connected to the first port of the interchanger;The second terminal equipment connection
To the second port of the interchanger;The third terminal equipment is connected to the third port of the interchanger;The test road
The 4th port of the interchanger, the WAN mouthfuls of fifth ports for being connected to the interchanger are connected to by the LAN mouths of device;It is described to wait for
The LAN mouths for surveying router are connected to the 6th port of the interchanger, WAN mouthfuls of the 7th ports for being connected to the interchanger;Institute
It states first terminal equipment and is also connected to mobile terminal;The mobile terminal is connected to the wireless network of router to be measured;
Each port of the interchanger is according to test division of teaching contents virtual LAN;The first terminal equipment is according to survey
Examination content-control mobile terminal configures the linkage function of router to be measured;Based on the connection relation between each equipment into
Row test, the test content include:The mobile terminal passes through router, the interchanger or the road to be measured to be measured
By device, the test router, the interchanger, from the second terminal equipment or the third terminal equipment with different companies
The mode of connecing carries out communication test, to test the linkage function of router to be measured.
Optionally, the router feature test system includes two mobile terminals;Wherein, first movement terminal operating
One operating system, second the second operating system of running of mobile terminal.
Optionally, the second port of the interchanger and the 6th port are divided into same virtual LAN, and described first eventually
It is access point mode that end equipment, which controls mobile terminal by configuration of routers to be measured,;
The test content specifically includes:The mobile terminal by the router to be measured, the interchanger with it is described
Whether second terminal equipment carries out communication test, normal to verify the function of access point mode of router to be measured;Wherein, to be measured
Router is communicated using LAN mouthfuls with the interchanger.
Optionally, the second port of the interchanger and the 6th port are divided into same virtual LAN, and described first eventually
It is route pattern that end equipment, which controls mobile terminal by configuration of routers to be measured,;
The test content specifically includes:The mobile terminal by the router to be measured, the interchanger with it is described
Whether second terminal equipment carries out communication test, normal to verify the function of route pattern of router to be measured;Wherein, road to be measured
It is communicated with the interchanger using LAN mouthfuls by device.
Optionally, the third port of the interchanger and the 7th port are divided into same virtual LAN, and described first eventually
It is route pattern that end equipment, which controls mobile terminal by configuration of routers to be measured,;
The test content specifically includes:The mobile terminal by the router to be measured, the interchanger with it is described
Whether third terminal equipment carries out communication test, normal to verify the function of route pattern of router to be measured;Wherein, road to be measured
It is communicated with the interchanger using WAN mouthfuls by device, dialup server, routing to be measured is equipped in the third terminal equipment
Device is established with third terminal by dialing and is communicated to connect.
Optionally, the second port of the interchanger and the 4th port are divided into same virtual LAN, and described first eventually
It is bridge mode that end equipment, which controls mobile terminal by configuration of routers to be measured,;
The test content specifically includes:The mobile terminal passes through the router to be measured, the test router, institute
State interchanger and the second terminal equipment and carry out communication test, with verify router to be measured bridge mode function whether just
Often;Wherein, test router is communicated using LAN mouthfuls with the interchanger, and router to be measured is wirelessly bridged to test routing
Device, the mobile terminal are connected to the wireless network generated after Routers bridge to be measured.
Optionally, the third port and fifth port of the interchanger are divided into same virtual LAN, and described first eventually
It is bridge mode that end equipment, which controls mobile terminal by configuration of routers to be measured,;
The test content specifically includes:The mobile terminal passes through the router to be measured, the test router, institute
State interchanger and the third terminal equipment and carry out communication test, with verify router to be measured bridge mode function whether just
Often;Wherein, test router is communicated using WAN mouthfuls with the interchanger, and dialing is equipped in the third terminal equipment
Server, test router are established with third terminal by dialing and are communicated to connect;Router to be measured is wirelessly bridged to test routing
Device, the mobile terminal are connected to the wireless network generated after Routers bridge to be measured.
Optionally, the test router is double frequency router;In test, two frequency ranges of test router are distinguished
It is tested.
Optionally, the communication test includes:Check whether communication is normal by Ping orders.
Optionally, the first terminal equipment controls the interchanger by serial ports, so that each port root of interchanger
According to test division of teaching contents virtual LAN.
This application involves interchanger, first terminal equipment, second terminal equipment, third terminal equipment, at least one movements
Terminal, test router, router to be measured, and there is following connection relation:The first terminal equipment is connected to the exchange
The first port of machine;The second terminal equipment is connected to the second port of the interchanger;The third terminal equipment connection
To the third port of the interchanger;The LAN mouths of the test router are connected to the 4th port of the interchanger, WAN mouthfuls
It is connected to the fifth port of the interchanger;The LAN mouths of the router to be measured are connected to the 6th port of the interchanger,
WAN mouthfuls of the 7th ports for being connected to the interchanger;The first terminal equipment is also connected to mobile terminal;The mobile terminal
It is connected to the wireless network of router to be measured;Each port of the interchanger is according to test division of teaching contents virtual LAN;Institute
First terminal equipment is stated to configure router linkage function to be measured according to test content-control mobile terminal;And based on each
Connection relation between equipment is tested, and the test content includes:The mobile terminal passes through the router to be measured, institute
Interchanger or the router to be measured, the test router, the interchanger are stated, with the second terminal equipment or described
Three terminal devices carry out communication test with different connection types, to test the linkage function of router to be measured.The application is one
The test that a variety of router features are realized in kind of test environment, saves test resource, may be implemented it is coherent it is easy-operating from
Dynamicization is tested.
Specific implementation mode
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
It is also understood that specific embodiment described herein is used only for understanding the present invention, it is not used to limit this hair
It is bright.
In the embodiment of the present application, it is related to interchanger, first terminal equipment, second terminal equipment, third terminal equipment, extremely
A few mobile terminal, test router, router to be measured.
Wherein, router to be measured is configurable to access point mode, route pattern, bridge mode.Under access point mode,
Router need to only configure wireless SSID and security strategy, and LAN mouthfuls are directly connected with cable.Under route pattern, router
WAN mouths be used for and ADSL Modem or cell cable broadband connect, ISP can be entered using PPPoE agreement automated log ons and is provided
Internet accesses, need to configure wireless SSID, wireless security strategy, WAN mouthfuls of connection types under this pattern.In bridge joint mould
Under formula, router equipment first is established with front end wireless network and is wirelessly connected, and then itself sends out wireless signal, forms new nothing
Line coverage area, can the wireless coverages problem such as and signal blind spot weak with effective solution signal.Specifically can according to actual needs into
Row configuration, does not repeat here.
Wherein, first terminal equipment, second terminal equipment, third terminal equipment can be computer equipment, in the calculating
The operating systems such as Windows, Mac OS can be run on machine equipment, and automation control software can be installed on computers.
Wherein, mobile terminal can be smart mobile phone, tablet computer, and the operating system run on smart mobile phone can be normal
Operating system, for example, Android, IOS.Function can be carried out to router to be measured by the router APP on mobile terminal
Setting.
Wherein, test router can be double frequency router, support the wireless network of two kinds of frequency ranges, such as 2.4G WiFi
With 5G WiFi.In test, two kinds of frequency ranges can be used to be tested respectively.
Fig. 1 is the schematic block diagram that system is tested according to the router feature shown in an exemplary embodiment.As shown,
In the embodiment of the present application, router feature test system includes:
Interchanger 18, first terminal equipment 11, second terminal equipment 12, third terminal equipment 13, at least one movement are eventually
Hold (14,15), test router 17, router to be measured 16.
Wherein, router feature test system has following hardware annexation:The first terminal equipment 11 connects
To the first port of the interchanger 18;The second terminal equipment 12 is connected to the second port of the interchanger 18;It is described
Third terminal equipment 13 is connected to the third port of the interchanger 18;The LAN mouths of the test router 17 are connected to described
4th port of interchanger 18, the WAN mouthfuls of fifth ports for being connected to the interchanger 18;The LAN mouths of the router to be measured 16
It is connected to the 6th port of the interchanger 18, WAN mouthfuls of the 7th ports for being connected to the interchanger 18;The first terminal is set
Standby 11 are also connected to mobile terminal (14,15);The mobile terminal (14,15) is connected to the wireless network of router 16 to be measured;
Each port of the interchanger 18 is according to test division of teaching contents virtual LAN;The first terminal equipment 11
The linkage function of router 16 to be measured is configured according to test content-control mobile terminal (14,15);Based on each equipment it
Between connection relation tested, the test content includes:The mobile terminal (14,15) passes through the router to be measured
16, the interchanger 18 or the router to be measured 16, the test router 17, the interchanger 18, eventually with described second
End equipment 12 or the third terminal equipment 13 carry out communication test with different connection types, to test router 16 to be measured
Linkage function.
In the embodiment of the present application, the linkage function includes at least:Access point mode, route pattern, bridge mode.This
Apply the hardware connection scheme that is related to can overlay router various functions, and then realize the test to these functions, such as work(
Rate test, testing throughput.
In the embodiment of the present application, the interchanger 18 includes:First port, second port, third port, the 4th end
These ports can be divided into different virtual LAN (VLAN) by mouth, fifth port, the 6th port, the 7th port, interchanger, by
Have the function of dividing virtual LAN in interchanger 18, it is convenient to establish multiple network model.
In the embodiment of the present application, the first terminal equipment 11 controls the interchanger 18 by serial ports, so as to exchange
Each port of machine 18 is according to test division of teaching contents virtual LAN.
In the embodiment of the present application, router APP is housed on mobile terminal (14,15), by router APP to be measured
Router 16 is configured.
Optionally, first terminal equipment 11 is connected to mobile terminal (14,15) by USB interface, and then controls thereon
Router APP configures router to be measured.
In the embodiment of the present application, the test router 17 is for providing wireless network, for router 16 to be measured
Bridge mode tested.
In the embodiment of the present application, dialup server, test router 17, road to be measured are equipped in third terminal equipment 13
It can be by being dial-up connection to third terminal equipment 13 by device 16.
In the embodiment of the present application, second terminal equipment 12, third terminal equipment 13 can be used for simulating wide area network, for
Two terminal devices 12, third terminal equipment 13 connect.
In the embodiment of the present application, the router feature test system includes two mobile terminals;Wherein, first movement
The first operating system of terminal operating, second the second operating system of running of mobile terminal.Wherein, the first movement terminal, second
Mobile terminal can be the equipment such as smart mobile phone, tablet computer;First operating system, the second operating system can be Android,
The operating systems such as IOS, the application do not limit specific operating system and mobile terminal, can be determined according to actual needs.
In the embodiment of the present application, the communication test includes:Check whether communication is normal by Ping orders.Ping is ordered
Whether enable being capable of normal communication between being used for checking equipment.
Check that mobile terminal (14,15) is between second terminal equipment 12, third terminal equipment 13 by ping orders
It is no can normal communication, to judge the function of router whether normal operation.
It should be noted that mobile terminal (14,15) can be between second terminal equipment 12, third terminal equipment 13
It is attached using different modes, the different configurations of corresponding router.
Specifically, each port of the interchanger 18 is according to test division of teaching contents virtual LAN;The first terminal
Equipment 11 configures the linkage function of router 16 to be measured according to test content-control mobile terminal (14,15);Based on each
Connection relation between a equipment is tested, and the test content includes:The mobile terminal (14,15) is by described to be measured
Router 16, the interchanger 18 or the router to be measured 16, the test router 17, the interchanger 18, and it is described
Second terminal equipment 12 or the third terminal equipment 13 carry out communication test with different connection types, to test routing to be measured
The linkage function of device 16.Wherein, test content can test the survey that content is various linkage functions determines according to actual conditions
Examination flexibly divides virtual LAN by interchanger, and the LAN mouths of router and WAN mouthfuls are attached to second terminal equipment
12, third terminal equipment 13 can also be bridged to test router 17, and test road to be measured can be corresponded to by the connection of different modes
By the different linkage functions of device 16.
In addition, test router 17 can be double frequency router, the wireless network of two kinds of frequency ranges, such as 2.4G are supported
WiFi and 5G WiFi.In test, two kinds of frequency ranges can be used to be tested respectively.
Router feature test system provided by the present application can carry out the test of a variety of router features, such as various work
Pattern (access point mode, route pattern, bridge mode), testing throughput, power test, stability test etc..The application exists
The test that a variety of router features are realized in a kind of test environment, saves test resource, may be implemented coherent easy-operating
Automatic test.
Fig. 2 is a kind of schematic block diagram for test that system is tested according to the router feature shown in an exemplary embodiment.
On the basis of Fig. 1 corresponding embodiments, a specific test content of router feature test system is shown.It is related to moving
Dynamic terminal 21, router to be measured 22, interchanger 23, second terminal equipment 24.
In the present embodiment, the second port of the interchanger 23 and the 6th port are divided into same virtual LAN, institute
It states first terminal equipment control mobile terminal 21 and configures router 22 to be measured to access point mode;
The test content specifically includes:The mobile terminal 21 passes through the router 22 to be measured, the interchanger 23
With the second terminal equipment 24 carry out communication test, with verify router 22 to be measured access point mode function whether just
Often;Wherein, router 22 to be measured is communicated using LAN mouthfuls with the interchanger.
In the present embodiment, the connection relation being related to is based on the hardware connection in the embodiment shown in Fig. 1.It is specific hard
Part connection is as follows:The mobile terminal 21 is connected to the wireless network of router 22 to be measured;The LAN mouths of router 22 to be measured connect
To the 6th port of interchanger;The second port of interchanger 23 is connected to second terminal equipment 24.
In the present embodiment, second terminal equipment 24, which can be used for simulating, provides WWW connection.
In the present embodiment, the communication test includes:Check whether communication is normal by Ping orders.
In the present embodiment, by using above-mentioned connection relation verification mobile terminal 21 and second terminal equipment 24 whether
Can normal communication, whether the access point mode for verifying router 22 to be measured being capable of normal use.Present embodiments provide routing
Whether device function test system one is specifically tested, normal to the access point mode of test router.
Fig. 3 is a kind of schematic block diagram for test that system is tested according to the router feature shown in an exemplary embodiment.
On the basis of Fig. 1 corresponding embodiments, a specific test content of router feature test system is shown.It is related to moving
Dynamic terminal 31, router to be measured 32, interchanger 33, second terminal equipment 34.
In the present embodiment, the second port of the interchanger 33 and the 6th port are divided into same virtual LAN, institute
It states first terminal equipment control mobile terminal 31 and configures router 32 to be measured to route pattern;
The test content specifically includes:The mobile terminal 31 passes through the router 32 to be measured, the interchanger 33
Communication test is carried out with the second terminal equipment 34, it is whether normal to verify the function of route pattern of router 32 to be measured;
Wherein, router 32 to be measured is communicated using LAN mouthfuls with the interchanger.
In the present embodiment, the connection relation being related to is based on the hardware connection in the embodiment shown in Fig. 1.It is specific hard
Part connection is as follows:The mobile terminal 31 is connected to the wireless network of router 32 to be measured;The LAN mouths of router 32 to be measured connect
To the 6th port of interchanger;The second port of interchanger 33 is connected to second terminal equipment 34.
In the present embodiment, second terminal equipment 34, which can be used for simulating, provides WWW connection.
In the present embodiment, the communication test includes:Check whether communication is normal by Ping orders.
In the present embodiment, by using above-mentioned connection relation verification mobile terminal 31 and second terminal equipment 34 whether
Can normal communication, whether the route pattern for verifying router 32 to be measured being capable of normal use.Present embodiments provide router
Whether function test system one is specifically tested, normal to the route pattern of test router.
Fig. 4 is a kind of schematic block diagram for test that system is tested according to the router feature shown in an exemplary embodiment.
On the basis of Fig. 1 corresponding embodiments, a specific test content of router feature test system is shown.It is related to moving
Dynamic terminal 41, router to be measured 42, interchanger 43, third terminal equipment 44.
In the present embodiment, the third port of the interchanger 43 and the 7th port are divided into same virtual LAN, institute
It states first terminal equipment control mobile terminal 41 and configures router 42 to be measured to route pattern;
The test content specifically includes:The mobile terminal 41 passes through the router 42 to be measured, the interchanger 43
Communication test is carried out with the third terminal equipment 44, it is whether normal to verify the function of route pattern of router 42 to be measured;
Wherein, router 42 to be measured is communicated using WAN mouthfuls with the interchanger 43, is equipped with and is dialled in the third terminal equipment 44
Number server, router 42 to be measured, which passes through dialing, to be established with third terminal 44 and communicates to connect.
In the present embodiment, the connection relation being related to is based on the hardware connection in the embodiment shown in Fig. 1.It is specific hard
Part connection is as follows:The mobile terminal 41 is connected to the wireless network of router 42 to be measured;The WAN mouths of router 42 to be measured connect
To the 7th port of interchanger;The third port of interchanger 43 is connected to third terminal equipment 44.
In the present embodiment, third terminal equipment 44, which can be used for simulating, provides WWW connection, in third terminal equipment 44
Equipped with dialup server, dial-up connection is carried out for router 42 to be measured.
In the present embodiment, by using above-mentioned connection relation verification mobile terminal 41 and third terminal equipment 44 whether
Can normal communication, whether the route pattern for verifying router 42 to be measured being capable of normal use.Present embodiments provide router
Whether function test system one is specifically tested, normal to the route pattern of test router.
Fig. 5 is a kind of schematic block diagram for test that system is tested according to the router feature shown in an exemplary embodiment.
On the basis of Fig. 1 corresponding embodiments, a specific test content of router feature test system is shown.It is related to moving
Dynamic terminal 51, router to be measured 52, test router 53, interchanger 54, second terminal equipment 55.
In the present embodiment, the second port of the interchanger 54 and the 4th port are divided into same virtual LAN, institute
It states first terminal equipment control mobile terminal 51 and configures router 52 to be measured to bridge mode.
In the present embodiment, the test content specifically includes:The mobile terminal 51 by the router 52 to be measured,
The test router 53, the interchanger 54 and the second terminal equipment 55 carry out communication test, to verify routing to be measured
Whether the function of the bridge mode of device 52 is normal;Wherein, test router 53 is led to using LAN mouthfuls and the interchanger 54
Letter, router 52 to be measured is wirelessly bridged to test router 53, after the mobile terminal 51 is connected to the bridge joint of router 52 to be measured
The wireless network of generation.
In the present embodiment, the connection relation being related to is based on the hardware connection in the embodiment shown in Fig. 1.It is specific hard
Part connection is as follows:The mobile terminal 51 is connected to the wireless network of router 52 to be measured;Router 52 to be measured is bridged to test
The wireless network of router 53;The LAN mouths of test router 53 are connected to the 4th port of interchanger 54;The second of interchanger 54
Port is connected to second terminal equipment 55.
In the present embodiment, second terminal equipment 55, which can be used for simulating, provides WWW connection.
In addition, test router 53 can be double frequency router, the wireless network of two kinds of frequency ranges, such as 2.4G are supported
WiFi and 5G WiFi.In test, two kinds of frequency ranges can be used to be tested respectively.
In the present embodiment, by using above-mentioned connection relation verification mobile terminal 51 and second terminal equipment 54 whether
Can normal communication, whether the bridge mode for verifying router 52 to be measured being capable of normal use.Present embodiments provide router
Whether function test system one is specifically tested, normal to the bridge mode of testing router 52 to be measured.
Fig. 6 is a kind of schematic block diagram for test that system is tested according to the router feature shown in an exemplary embodiment.
On the basis of Fig. 1 corresponding embodiments, a specific test content of router feature test system is shown.It is related to moving
Dynamic terminal 61, router to be measured 62, test router 63, interchanger 64, third terminal equipment 65.
In the present embodiment, the third port and fifth port of the interchanger 62 are divided into same virtual LAN, institute
It states first terminal equipment control mobile terminal 62 and configures router 62 to be measured to bridge mode;
The test content specifically includes:The mobile terminal 61 is route by the router 62 to be measured, the test
Device 63, the interchanger 64 and the third terminal equipment 65 carry out communication test, to verify the bridge joint mould of router 62 to be measured
Whether the function of formula is normal;Wherein, test router 63 is communicated using WAN mouthfuls with the interchanger 64, in the third
Terminal device 65 is equipped with dialup server, and test router 63 is established with third terminal 65 by dialing and communicated to connect;It is to be measured
Router 62 is wirelessly bridged to test router 63, and the mobile terminal 61 is connected to the nothing generated after router 62 to be measured bridges
Gauze network.
In the present embodiment, the connection relation being related to is based on the hardware connection in the embodiment shown in Fig. 1.It is specific hard
Part connection is as follows:The mobile terminal 61 is connected to the wireless network of router 62 to be measured;Router 62 to be measured is bridged to test
The wireless network of router 63;The WAN mouths of test router 63 are connected to the fifth port of interchanger 64;The third of interchanger 64
Port is connected to third terminal equipment 65.
In the present embodiment, third terminal equipment 65, which can be used for simulating, provides WWW connection, in third terminal equipment 65
Equipped with dialup server, dial-up connection is carried out for test router 63.
In addition, test router 63 can be double frequency router, the wireless network of two kinds of frequency ranges, such as 2.4G are supported
WiFi and 5G WiFi.In test, two kinds of frequency ranges can be used to be tested respectively.
In the present embodiment, by using above-mentioned connection relation verification mobile terminal 61 and third terminal equipment 65 whether
Can normal communication, whether the bridge mode for verifying router 62 to be measured being capable of normal use.Present embodiments provide router
Whether function test system one is specifically tested, normal to the bridge mode of testing router 62 to be measured.
In embodiment provided herein, it should be appreciated that described method and system is all schematical, in reality
By adjusting can difference in the implementation process of border.
In addition, the specific name of each functional unit or module is also only to facilitate mutually differentiation, is not used to the present invention
Protection domain.
Specific embodiment described herein is only an example for the spirit of the invention.Technology belonging to the present invention is led
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.