CN110557303A - Network multi-outlet test platform system and test method - Google Patents

Network multi-outlet test platform system and test method Download PDF

Info

Publication number
CN110557303A
CN110557303A CN201910851092.7A CN201910851092A CN110557303A CN 110557303 A CN110557303 A CN 110557303A CN 201910851092 A CN201910851092 A CN 201910851092A CN 110557303 A CN110557303 A CN 110557303A
Authority
CN
China
Prior art keywords
network
control server
wireless access
outlet
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.)
Granted
Application number
CN201910851092.7A
Other languages
Chinese (zh)
Other versions
CN110557303B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910851092.7A priority Critical patent/CN110557303B/en
Publication of CN110557303A publication Critical patent/CN110557303A/en
Application granted granted Critical
Publication of CN110557303B publication Critical patent/CN110557303B/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/50Testing arrangements

Abstract

The invention provides a network multi-outlet test platform system and a test method, which relate to the technical field of the Internet, and the network multi-outlet test platform system comprises: the system comprises a central control server and a network control server connected with the central control server; the network control server is deployed in the WIFI networking, login state information of the wireless access equipment in the WIFI networking can be acquired by deploying the network control server in the WIFI networking, and then the routing state of the wireless access equipment and network outlet node information which is currently available to the network control server are acquired, so that the outlet switching test operation of the front-end test equipment is responded, the network outlet of the wireless access equipment is subjected to switching test, extra test software and configuration files are not required to be installed in the test process, the network test cost is reduced, the test flow is simplified, and the test efficiency is improved.

Description

network multi-outlet test platform system and test method
Technical Field
the invention relates to the technical field of internet, in particular to a network multi-outlet test platform system and a test method.
Background
In the internet era, more and more network applications are applied, and the subsequent network test requirements are more urgent and important. In a test scenario of network application, requirements for testers are not only limited to functional tests, but also required to be tested in various network outlet environments, where the network outlets may be network outlets of different operator lines or network outlets of various regions.
In the prior art, when a network outlet test is performed, corresponding test software and configuration files are required to be installed, so that the test cost is increased, the popularization is not convenient, and the test efficiency is reduced.
Disclosure of Invention
In view of the above, the present invention provides a network multi-outlet testing platform system and a testing method thereof to alleviate the above technical problems.
In a first aspect, an embodiment of the present invention provides a network multi-outlet test platform system, including: the system comprises a central control server and a network control server connected with the central control server; the network control server is deployed in WIFI networking; the central control server is used for acquiring login state information of the wireless access equipment in the WIFI networking and acquiring a routing state of the wireless access equipment and currently available network exit node information of the network control server according to the login state information; responding to a node information request operation input by the front-end test equipment, and pushing a routing state of the wireless access equipment and a network outlet switching list of the wireless access equipment to the front-end test equipment; the central control server is also used for responding to the outlet switching test operation issued by the front-end test equipment based on the routing state and the network outlet switching list, acquiring a policy routing table corresponding to the network outlet of the outlet switching test operation from the network control server, and triggering the network control server to control the network routing of the wireless access equipment according to the policy routing table so as to perform switching test on the network outlet of the wireless access equipment.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the network control server and the central control server communicate in a VPN manner; the network control server is used as a VPN client and is connected to a VPN server of the central control server in an active mode.
with reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the system further includes a central control database connected to the central control server; the central control database is used for storing the routing state of the wireless access equipment and the currently available network outlet node information of the network control server when the wireless access equipment is accessed to the WIFI networking.
With reference to the second possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the system further includes a login status information database connected to the central control server; the login state information database is used for verifying the wireless access equipment when the wireless access equipment is accessed to the WIFI networking and updating the login state information of the wireless access equipment after the wireless access equipment is verified to be legal; wherein the login state information comprises one or more of the following information: the IP of the wireless access equipment, the network card Mac address of the wireless access equipment, the account user name of the wireless access equipment, the IP of the corresponding network control server and the online state of the wireless access equipment.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the system includes a state acquisition device connected to the central control server; the central control server is used for acquiring login state information of the wireless access equipment accessed to the WIFI networking through the state acquisition device.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the system includes a web front-end page service device connected to the central control server; the webpage front-end page service device is used for being connected with the front-end test equipment to receive the node information request operation and send the node information request operation to the central control server so that the central control server can respond to the node information request operation.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the network control server includes at least one network control service node; each network control service node is used for generating a policy routing table for each network outlet based on the routing control command of Linux, and controlling the network routing of the wireless access equipment according to the network outlet switching test operation, wherein the network outlet switching test operation comprises route deletion and/or addition operation.
With reference to the sixth possible implementation manner of the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where each network control service node includes a local egress gateway and at least one remote egress gateway; the network control service node is used for generating a strategy routing table of a network outlet corresponding to a local outlet gateway or a remote outlet gateway; the remote exit gateway is connected to the network control service node through the VPN access gateway.
With reference to the first aspect, an embodiment of the present invention provides an eighth possible implementation manner of the first aspect, where the system further includes a wireless local area network controller connected to the network control server, a switch, and multiple WIFI access points; the wireless local area network controller is connected with the network control server; the switch and wireless local area network controller, a plurality of WIFI access points are connected with the switch, and the wireless access equipment is connected to the WIFI networking through the WIFI access points.
With reference to the sixth possible implementation manner of the first aspect, an embodiment of the present invention provides a ninth possible implementation manner of the first aspect, where the central control server is deployed with a VPN server; each network control service node is deployed with a VPN client; each network control service node is deployed in different WIFI networking, and each network control service node and the VPN server are communicated in a VPN mode to form an expanded network multi-outlet testing platform system.
In a second aspect, an embodiment of the present invention further provides a network multi-outlet testing method, where the method is applied to the network multi-outlet testing platform system in the first aspect; the method comprises the following steps: the method comprises the steps that a central control server obtains login state information of wireless access equipment accessed into a WIFI networking, and obtains a routing state of the wireless access equipment and network exit node information currently available by a network control server according to the login state information; the central control server responds to the node information request operation input by the front-end test equipment and pushes the routing state of the wireless access equipment and the network outlet switching list of the wireless access equipment to the front-end test equipment; the central control server is also used for responding to the outlet switching test operation issued by the front-end test equipment based on the routing state and the network outlet switching list, acquiring a policy routing table corresponding to the network outlet of the outlet switching test operation from the network control server, and triggering the network control server to control the network routing of the wireless access equipment according to the policy routing table so as to perform switching test on the network outlet of the wireless access equipment.
in a third aspect, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of the second aspect.
in a fourth aspect, an embodiment of the present invention provides a processor, configured to execute a program, where the program executes to perform the method according to the second aspect.
The embodiment of the invention has the following beneficial effects:
The network multi-outlet test platform system and the test method provided by the embodiment of the invention can acquire the login state information of the wireless access equipment in the WIFI networking by deploying the network control server in the WIFI networking, further acquire the routing state of the wireless access equipment and the currently available network outlet node information of the network control server, respond to the node information request operation input by the front-end test equipment, push the routing state of the wireless access equipment and the network outlet switching list of the wireless access equipment to the front-end test equipment so as to continuously respond to the outlet switching test operation of the front-end test equipment, trigger the network control server to control the network routing of the wireless access equipment according to the strategy routing list to perform switching test on the network outlet of the wireless access equipment, and isolate each wireless access equipment through the WIFI networking in the test process, the network outlets of each wireless access device are dynamically switched in real time independently, and extra test software and configuration files are not required to be installed in the test process, so that the network test cost is reduced, the test flow is simplified, and the test efficiency is improved.
additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a block diagram of a network multi-outlet test platform system according to an embodiment of the present invention;
FIG. 2 is a block diagram of another network multi-outlet test platform system according to an embodiment of the present invention;
Fig. 3 is a network information flow of a network multi-outlet test platform system according to an embodiment of the present invention;
fig. 4 is a schematic control flow diagram of a network multi-outlet test platform system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a central control server according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a network control server according to an embodiment of the present invention;
FIG. 7 is a block diagram of an expanded network multi-outlet test platform system according to an embodiment of the present invention;
Fig. 8 is a flowchart of a network multi-outlet testing method according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, in a test scenario of network applications, testing under various network outlet environments is also generally required.
In the prior art, VPN (Virtual Private Network) software is often installed on a mobile device or other Network device carrier of an application under test, and a configuration file corresponding to a Network outlet VPN is downloaded to test the application or software. In principle, each network outlet corresponds to a configuration file of VPN, and the method has the software installation cost and the VPN configuration file switching cost for testers; for the test itself, because a software method is adopted to connect the mobile device or other network device carriers with the VPN service end, the VPN is often disconnected due to instability of the physical network, and a test error occurs, and the VPN mode uses a tunnel protocol, the usage flow of the mobile device or other network device carriers is also increased, and the usage of the VPN may also be influenced by the authority control of the mobile device or other network device carriers.
In addition, network outlet lines provided by different operators can be used for testing, but the method is higher in initial deployment cost and use charge, and often only can meet the testing requirement of local multi-operator outlet lines, so that the testing requirement of network outlet lines in different places is difficult to meet, and the testing efficiency is influenced.
Based on this, the embodiments of the present invention provide a network multi-outlet test platform system and a test method, so as to alleviate the above technical problems.
to facilitate understanding of the embodiment, a detailed description will be first given of a network multi-outlet test platform system disclosed in the embodiment of the present invention.
The first embodiment is as follows:
the embodiment of the invention provides a network multi-outlet test platform system, such as a structural block diagram of the network multi-outlet test platform system shown in fig. 1, the system comprises: a central control server 10, and a network control server 20 connected to the central control server 10; the network control server is deployed in a WIFI (Wireless Fidelity) networking.
specifically, the central control server is used for acquiring login state information of the wireless access equipment in the WIFI networking, and acquiring a routing state of the wireless access equipment and currently available network exit node information of the network control server according to the login state information; responding to a node information request operation input by the front-end test equipment, and pushing a routing state of the wireless access equipment and a network outlet switching list of the wireless access equipment to the front-end test equipment;
The central control server is also used for responding to the outlet switching test operation issued by the front-end test equipment based on the routing state and the network outlet switching list, acquiring a policy routing table corresponding to the network outlet of the outlet switching test operation from the network control server, and triggering the network control server to control the network routing of the wireless access equipment according to the policy routing table so as to perform switching test on the network outlet of the wireless access equipment.
In specific implementation, the wireless access device can be regarded as a login device which logs in a WIFI networking, each login device can be isolated by adopting a WIFI network access method, and independent real-time dynamic switching test can be performed for a network outlet of each login device. The network control server is a special configuration strategy in the WIFI networking, is a server through which the uplink and the downlink of the login equipment in the WIFI network segment pass, and provides a network outlet for each login equipment.
Furthermore, the central control server is a central node of the network multi-outlet test platform system, and is responsible for directly maintaining information of the wireless access device and responding to an operation instruction of the front-end test device to control network routing of the wireless access device and perform switching test on a network outlet of the wireless access device.
the network multi-outlet test platform system provided by the embodiment of the invention can acquire the login state information of the wireless access equipment in the WIFI networking by deploying the network control server in the WIFI networking, further acquire the routing state of the wireless access equipment and the currently available network outlet node information of the network control server, respond to the node information request operation input by the front-end test equipment, push the routing state of the wireless access equipment and the network outlet switching list of the wireless access equipment to the front-end test equipment so as to continuously respond to the outlet switching test operation of the front-end test equipment, trigger the network control server to control the network routing of the wireless access equipment according to the strategy routing list to perform switching test on the network outlet of the wireless access equipment, and isolate each wireless access equipment through the WIFI networking in the test process, the network outlets of each wireless access device are dynamically switched in real time independently, and extra test software and configuration files are not required to be installed in the test process, so that the network test cost is reduced, the test flow is simplified, and the test efficiency is improved.
in actual use, the wireless access device may be a smart phone, a tablet computer, a notebook computer, or other WIFI access devices of a user, and the front-end test device is usually a front-end device connected to a central control server, such as a desktop computer or an all-in-one computer, and can be accessed to a network multi-outlet test platform system as a device used by an upper computer, and operated by a tester to perform a switching test on a network outlet of the wireless access device.
specifically, the main test flow of the network multi-outlet test platform system provided by the embodiment of the present invention includes:
(1) The user operates the wireless access equipment to access to the WIFI networking, and after the access, the central control server can automatically acquire the login state information of the wireless access equipment.
(2) the user (tester) can call the interface of the user equipment relation information in the central control server through the front-end test equipment, authenticate the user of the wireless access equipment and check the online state of the wireless access equipment.
(3) The user can quickly switch the network outlet in the front-end test equipment through simple selection and clicking, and the network outlet of the wireless access equipment is switched in real time so as to carry out the switching test process of the network outlet. For example, after the handover, if the network connection of the wireless access device is normal, the test is passed, and if the network connection of the wireless access device is abnormal after the handover, the test is not passed.
in actual use, the network multi-outlet test platform system also comprises a central control database connected with a central control server; the central control database is further used for storing the routing state of the wireless access device and the currently available network exit node information of the network control server when the wireless access device is accessed to the WIFI networking, so that the central control server can conveniently acquire the routing state and the network exit node information of the wireless access device from the central control database.
Further, the network multi-outlet test platform system also comprises a login state information database connected with the central control server; the login state information database is used for verifying the wireless access equipment when the wireless access equipment is accessed to the WIFI networking and updating the login state information of the wireless access equipment after the wireless access equipment is verified to be legal; wherein the login state information comprises one or more of the following information: the IP of the wireless access equipment, the network card Mac address of the wireless access equipment, the account user name of the wireless access equipment, the IP of the corresponding network control server, the online state of the wireless access equipment and the like.
Specifically, fig. 2 shows a block diagram of another network multi-outlet testing platform system, which includes the above-mentioned central control database 30 in addition to the central control server 10 and the network control server 20 shown in fig. 1.
further, in the network multi-outlet test platform system shown in fig. 2, the system further includes a state acquisition device 40 connected to the central control server 10, where the state acquisition device is a device for acquiring a state of the wireless access device, and the central control server 10 is configured to acquire login state information of the wireless access device accessed to the WIFI network through the state acquisition device.
specifically, the state collecting device 40 may be an independent device and a central control server in communication connection, or may be a functional module integrated in the central control server, and may be specifically set according to an actual use situation, which is not limited in this embodiment of the present invention.
In specific implementation, the state acquisition device can periodically read the login state information database storing the login state information of the wireless access equipment so as to acquire information such as the IP of the wireless access equipment, the network card Mac address of the wireless access equipment, the account user name of the wireless access equipment, the IP of the corresponding network control server, the online state of the wireless access equipment and the like, and actively report the login state information to the central control server in an interface calling mode.
The central control server is used as a central node of the network multi-outlet test platform system and is responsible for directly maintaining login state information of users and wireless access equipment thereof and the like.
Further, in the network multi-outlet test platform system shown in fig. 2, a web page front end page service device 50 connected to the central control server 10 is further included;
The webpage front-end page service device is used for being connected with the front-end test equipment so as to receive the node information request operation and send the node information request operation to the central control server, so that the central control server responds to the node information request operation.
Specifically, the web page front-end service device 50 may be a separate device and be in communication connection with the central control server, or may be a functional module integrated in the central control server, and may be specifically set according to an actual use situation, which is not limited in this embodiment of the present invention.
Taking the foregoing front-end test device as a desktop computer, the desktop computer may be connected to a web front-end page service device, and the main function of the web front-end page service device is to provide a UI (User Interface) platform interacting with a User, specifically, a web Interface may be displayed on a display screen of the desktop computer, at this time, a tester may access the web Interface provided by the web front-end page service device through the desktop computer, and render login status information of a wireless access device accessed in a current WIFI networking, and a network outlet switching list that may be switched, so that the tester may select to click and switch.
Further, the network control server 20 shown in fig. 1 and fig. 2 is a special configuration policy for the WIFI networking, and a tester may configure the network control server through the desktop, so that the uplink and the downlink of the wireless access device accessed in the network segment of the WIFI networking pass through the network control server.
In actual use, the network control server and the central control server usually adopt a VPN mode for communication; the network control server is used as a VPN client, and is usually connected to a VPN server of the central control server in an active connection initiation manner.
For the convenience of understanding, on the basis of fig. 1 or fig. 2, fig. 3 shows the network information flow of a network multi-outlet test platform system, generally, the flow direction of the network information flow relates to a network control server part, and therefore, in fig. 3, only the network information flow of the network control server part is shown.
Specifically, the network control server provided in the embodiment of the present invention includes at least one network control service node; each network control service node is used for generating a policy routing table for each network outlet based on the routing control command of Linux, and controlling the network routing of the wireless access equipment according to the network outlet switching test operation, wherein the network outlet switching test operation comprises route deletion and/or addition operation. In fig. 3, only a schematic diagram of a network control service node is shown.
Further, as shown in fig. 3, each network control service node includes a local egress gateway and at least one remote egress gateway; the remote exit gateway is connected to a network control service node through a VPN access gateway, and the network control service node is used for generating a policy routing table of a local exit gateway or a network exit corresponding to the remote exit gateway. Fig. 3 also includes other export gateways that are connected to the VPN access gateway and can be extended continuously, so that the network control server exports through other networks, and the number of specific local export gateways, remote export gateways, and other export gateways may be set according to actual use conditions, which is not limited in the embodiment of the present invention.
In addition, in order to realize the WIFI networking and deploy the network control server in the WIFI networking, the network multi-outlet test platform system further comprises a wireless local area network controller, a switch and a plurality of WIFI access points, wherein the wireless local area network controller, the switch and the plurality of WIFI access points are connected with the network control server; as shown in fig. 3, the wireless local area network controller is typically connected to a network control server; the switch and wireless local area network controller, a plurality of WIFI access points are connected with the switch, and the wireless access equipment is connected to the WIFI networking through the WIFI access points.
Therefore, based on the network information flow shown in fig. 3, the working condition of the network multi-outlet test platform system provided in the embodiment of the present invention may include the following processes:
(1) A wireless access device, such as a smart phone, a palm computer, a tablet computer, a notebook computer, etc. shown in fig. 3, or other WIFI access devices, etc., is connected to a specific WIFI access point of the network multi-outlet test platform system through a given user name and password;
(2) The flow of different WIFI access points reaches the wireless local area network controller through the switch;
(3) The wireless local area network controller is preset with a special routing strategy, for example, all uplink flows of the wireless access equipment are set to be routed to a network control server and then go out through the network control server to access an external network, and a destination address is that downlink flows of a network segment in a WIFI (wireless fidelity) group network of the network multi-outlet test platform system of the embodiment of the invention are routed to the network control server and then to the wireless access equipment, so that all the uplink flows and all the downlink flows are routed to the corresponding network control server;
(4) The network control server has a default local exit gateway and also has a plurality of remote exit gateways which are connected by using the VPN access gateway. The local exit gateway is a default routing table, and the foreign exit gateway and other exit gateways can respectively establish respective policy routing tables.
(5) the network control server adds or deletes the routing strategy rule to the wireless access equipment of the appointed IP according to the instruction of the central server, thereby realizing the fast switching of the network outlet.
For example, assuming that the IP assigned by the smartphone in the WIFI access point 1 in fig. 3 is 192.168.0.9, there is a global default route through the physical network card on the network control server. Then, the default route is a global default route for all the wireless access devices, that is, the local network exit from the physical network card, at this time, if a tester or a user needs to adjust the network exit of the smartphone with IP of 192.168.0.9, an exit switching test operation may be issued to the central control server through the front-end test device, the central control server may add a policy route table specifying 192.168.0.9 to the network exit on the network control server, and due to the policy route, the network exit of the smartphone is changed to the corresponding network exit, so as to implement fast switching of the network exit.
Further, fig. 4 shows a schematic control flow diagram of a network multi-outlet test platform system, as shown in fig. 4, the system includes a central control server, a network control server, a central control database, a web page front end page service device, a desktop representing front end test equipment, a login status information database connected with the central control server, and the like, and specifically, the control process of the network multi-outlet test platform system includes the following steps:
(1) the user connects to a WIFI Service of a given SSID (Service Set Identifier) through a given username and password as authentication information of the WIFI.
Specifically, the process corresponds to the process of connecting the wireless access device to the specific WIFI access point of the network multi-outlet test platform system in fig. 3, wherein for convenience of description, in fig. 4, the wireless access device is taken as a smartphone as an example for description.
(2) After the access control server of the WIFI verifies that the information is correct, the login state information database is inserted or updated, wherein the login state information database comprises the IP of the wireless access equipment, the network card Mac address of the wireless access equipment, the account user name of the wireless access equipment, the IP of the corresponding network control server and the online state of the wireless access equipment.
Specifically, as shown in fig. 4, the login state information database is generally connected to an access control server, and is capable of authenticating a corresponding user when the wireless access device accesses the WIFI network, and then updating the login state information of the wireless access device after the authentication is legal.
(3) The central control server acquires the wireless access equipment on line currently of a user through the state acquisition device, and acquires the routing state of the wireless access equipment and the network exit node information currently available by the network control server through inquiring the central control database.
(4) a tester user accesses a web interface provided by the webpage front-end page service device through front-end test equipment (a desktop), and the web interface requests the operation request center control server to render the routing state of the current wireless access equipment and a switchable network outlet switching list in the front-end test equipment according to a user name and node information so that the user can select to click and switch.
(5) After the user clicks the switching network outlet, the central control server switches the network outlet to the network control server through the VPN channel, and meanwhile relevant configuration information is persisted to the central control database.
In the control flow diagram shown in fig. 4, a user may control a process of accessing the wireless access device to the WIFI networking, may also control the front-end test device, and perform a process of switching a network outlet, so that the user shown in fig. 4 may include both a tester controlling the front-end test device and a user of the wireless access device, or may operate both the front-end test device and the wireless access device, so as to implement a process of controlling the front-end test device and the wireless access device, and specifically, the actual use is taken as a reference, which is not limited in this embodiment of the present invention.
In practical use, the central control server is considered to be a central node deployed in the network multi-outlet test platform system, so that the central controller can be responsible for directly maintaining relationship information of users and wireless access devices thereof, routing states of the wireless access devices and the like, and simultaneously, corresponding interfaces are provided for the webpage front-end page service device and the wireless access devices to use respectively.
Therefore, based on the above functions, the central control server may be generally divided into a plurality of function modules and interface modules, and specifically, may be divided into an egress state function module, a routing state function module, a user and device relationship function module, a database operation function module, and a network egress query and setup interface and a user device relationship acquisition interface, that is, the central control server is divided into 4 modules and 2 interfaces, so as to facilitate function deployment and daily maintenance of the central control server.
For easy understanding, fig. 5 shows a schematic structural diagram of a central control server, which includes the above 4 modules and 2 interfaces, wherein the exit state function module, the routing state function module, and the user and device relationship function module are all connected to the database operation function module;
The network outlet query and setting interface is connected with the outlet state function module, the routing state function module and the user and equipment relation function module; the user equipment relation obtaining interface is connected with the user and equipment relation function module.
Further, besides the internal connection relation of the central control server, the network outlet query and setting interface is also connected with a webpage front-end page service device, the user equipment relation acquisition interface is also connected with a login state information database, the database operation function module is also connected with the central control database, and the routing state function module is also connected with the network control server.
Specifically, the database operation function module is used as a middleware for data query and persistence of other function modules, and is mainly used for acquiring routing states and currently available network exit node information of the network control server;
The exit state function module is used for recording and inquiring the information of a gateway, a network segment, an exit area and the availability of a network exit;
The routing state function module is used for inquiring and recording network outlet routing information and historical setting conditions of the specified wireless access equipment in the specified network control server, and setting outlet routing of the network control server;
The user and equipment relation function module is used for recording and inquiring the relation between the login account name of the user corresponding to the wireless access equipment and the IP of the wireless access equipment, the network card Mac address of the wireless access equipment, the network control server and the networking online state of the wireless access equipment;
The network outlet query and setting interface is connected with the webpage front-end page service device, provides page service for the front-end test equipment, and is used for providing network outlet query and setting a network outlet, such as rendering a web interface on the front-end test equipment for a tester to select the network outlet, and the like.
The user equipment relationship acquisition interface is used for being connected to the login state information database so as to acquire login state information of the wireless access equipment accessed to the WIFI networking, specifically, the user equipment relationship acquisition interface can receive data uploaded by the state acquisition device and further provide the user and equipment relationship function module for use.
Further, for a network control server including at least one network control service node, as a special configuration policy in WIFI networking, the network control server also typically includes a plurality of function modules to implement the above functions, specifically, if there is only one network control service node, the plurality of function modules may be directly integrated on the network control server, and if the network control server includes a plurality of network control service nodes, each node may be regarded as a network control sub-server, and each network control sub-server may communicate with a central control server in a VPN manner, and therefore, each network control service node may include a plurality of function modules to implement the functions of the network control server.
For ease of understanding, fig. 6 shows a schematic structural diagram of a network control server, which includes a routing function module and a control function interface module connected in sequence; the default local exit gateway of the network control server and a plurality of remote exit gateways connected by the VPN access gateway are connected with the routing function module to realize the switching of network exits.
Specifically, the routing function module is configured to generate a policy routing table for each network egress based on a routing control command of Linux, and control a network route of the wireless access device according to a network egress switching test operation, where the network egress switching test operation includes a route deletion and/or addition operation; meanwhile, the wlan controller connected to the network control server may also be connected to the routing function module, so that after the network egress is switched, the wlan controller monitors traffic of the wireless access device.
the control function interface module is connected to the central control server and is used for packaging the operable part of the routing function module into a service interface which can be called by the central control server.
It should be understood that the network control server shown in fig. 6 and the central control server shown in fig. 5 are only one possible implementation manner for implementing the functions of the network multi-outlet test platform system, and the functional modules and interfaces may also be configured according to actual use situations, and the embodiment of the present invention is not limited thereto.
in addition, when the network control server comprises a plurality of network control service nodes, each network control service node can also correspond to heterogeneous WIFI networking networks of various regions, each network control server node and the central control server are communicated in a VPN mode, each network control server node can also serve as a VPN client and initiatively initiate a VPN server connected to the central control server, and remote deployment of the network control service nodes is achieved.
specifically, for the remote deployment situation, the central control server deploys a VPN server; each network control service node is deployed with a VPN client; each network control service node is deployed in different WIFI networking, and each network control service node and the VPN server are communicated in a VPN mode to form an expanded network multi-outlet testing platform system.
Fig. 7 shows a structural block diagram of an expanded network multi-outlet test platform system, which includes a plurality of network control service nodes deployed in different places and corresponding WIFI networking, where for convenience of description, fig. 7 only shows a connection condition between a central control server and a plurality of network control service nodes included in a network control server, and a specific working process of the network multi-outlet test platform system may refer to the processes corresponding to fig. 1 to fig. 6, which are not described herein again.
Specifically, in the structural schematic diagram of the extended network multi-outlet test platform system shown in fig. 7, the central control server generally has an external network BGP (Border Gateway Protocol) IP line to access an IP of the external network, and the central control server is further deployed with a VPN server and a central control server control logic module connected to the VPN server.
Furthermore, each network control server node is provided with a VPN client, and active dialing connection is carried out by using a configuration file generated by the central control server, so that support of multi-WIFI networking of different places and cross-networks is realized.
To sum up, the network multi-outlet test platform system provided by the embodiment of the invention can isolate each wireless access device accessed to the WIFI networking by adopting the network access method of the WIFI, and can perform independent network test capable of being dynamically switched in real time for the network outlet of each wireless access device, and meanwhile, can rapidly use the web management page to rapidly switch and change the network outlet, and the whole network multi-outlet test platform system supports dynamic switching of the network multi-outlet, can effectively meet the requirements of expansion and convenient access of the network outlet, is simple to operate, and can also reduce the cost of network test of a network multi-outlet test scene.
Example two:
on the basis of the above embodiment, the embodiment of the present invention further provides a network multi-outlet test method, which is applied to the network multi-outlet test platform system provided in the above embodiment; fig. 8 shows a flowchart of a network multi-outlet testing method, which includes the following steps:
step S802, a central control server acquires login state information of wireless access equipment accessed into a WIFI networking, and acquires a routing state of the wireless access equipment and network exit node information currently available by a network control server according to the login state information;
step S804, the central control server responds to the node information request operation input by the front-end test equipment, and pushes the routing state of the wireless access equipment and the network outlet switching list of the wireless access equipment to the front-end test equipment;
Step S806, the central control server is further configured to, in response to an exit switching test operation issued by the front-end test device based on the routing state and the network exit switching list, obtain, from the network control server, a policy routing table corresponding to a network exit of the exit switching test operation, and trigger the network control server to control the network routing of the wireless access device according to the policy routing table, so as to perform a switching test on the network exit of the wireless access device.
The network multi-outlet test method provided by the embodiment of the invention has the same technical characteristics as the network multi-outlet test platform system provided by the embodiment, so that the same technical problems can be solved, and the same technical effect can be achieved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the network multi-outlet testing method described above may refer to the corresponding process in the foregoing embodiment, and is not described herein again.
Further, embodiments of the present invention also provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method illustrated in fig. 8.
the embodiment of the invention also provides a processor, which is used for running the program, wherein the method shown in fig. 8 is executed when the program runs.
the computer program product of the network multi-outlet test platform system and the test method provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
in the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A network multi-outlet test platform system, comprising: the system comprises a central control server and a network control server connected with the central control server; the network control server is deployed in WIFI networking;
The central control server is used for acquiring login state information of the wireless access equipment in the WIFI networking, and acquiring a routing state of the wireless access equipment and currently available network exit node information of the network control server according to the login state information; responding to a node information request operation input by front-end test equipment, and pushing a routing state of the wireless access equipment and a network outlet switching list of the wireless access equipment to the front-end test equipment;
The central control server is further configured to respond to an exit switching test operation issued by the front-end test device based on the routing state and the network exit switching list, acquire, from the network control server, a policy routing table corresponding to a network exit of the exit switching test operation, and trigger the network control server to control a network route of the wireless access device according to the policy routing table, so as to perform a switching test on the network exit of the wireless access device.
2. The network multi-outlet test platform system according to claim 1, wherein the network control server and the central control server communicate in a VPN manner;
The network control server is used as a VPN client and is connected to a VPN server of the central control server in an active mode.
3. The network multi-outlet test platform system according to claim 1, further comprising a central control database connected to the central control server;
The central control database is used for storing the routing state of the wireless access equipment and the currently available network exit node information of the network control server when the wireless access equipment is accessed to the WIFI networking.
4. the network multi-outlet test platform system according to claim 3, further comprising a login status information database connected to the central control server;
The login state information database is used for verifying the wireless access equipment when the wireless access equipment is accessed to the WIFI networking and updating the login state information of the wireless access equipment after the verification is legal;
Wherein the login status information comprises one or more of the following information: the IP of the wireless access equipment, the network card Mac address of the wireless access equipment, the account user name of the wireless access equipment, the IP of the corresponding network control server and the online state of the wireless access equipment.
5. the network multi-outlet test platform system according to claim 1, wherein the system comprises a status collection device connected to the central control server;
The central control server is used for acquiring login state information of the wireless access equipment accessed to the WIFI networking through the state acquisition device.
6. the network multi-outlet test platform system according to claim 1, wherein the system comprises a web front end page service device connected with the central control server;
The webpage front-end page service device is used for being connected with the front-end test equipment so as to receive the node information request operation and send the node information request operation to the central control server, so that the central control server responds to the node information request operation.
7. The network multi-outlet test platform system according to claim 2, wherein the network control server comprises at least one network control service node;
each network control service node is used for generating the policy routing table for each network outlet based on a routing control command of Linux, and controlling the network routing of the wireless access equipment according to the network outlet switching test operation, wherein the network outlet switching test operation comprises route deletion and/or addition operation.
8. The network multi-egress test platform system according to claim 7, wherein each of said network control service nodes comprises a local egress gateway and at least one remote egress gateway;
The network control service node is used for generating a policy routing table of a network outlet corresponding to the local outlet gateway or the remote outlet gateway;
wherein the remote egress gateway is connected to the network control service node through a VPN access gateway.
9. The network multi-outlet test platform system of claim 1, further comprising a wireless local area network controller, a switch, and a plurality of WIFI access points connected to the network control server;
wherein the wireless local area network controller is connected with the network control server;
the switch and the wireless local area network controller, the WIFI access points are connected with the switch, and the wireless access equipment is connected to the WIFI networking through the WIFI access points.
10. The network multi-outlet test platform system according to claim 7, wherein said central control server is deployed with a VPN server; each network control service node is deployed with a VPN client;
Each network control service node is deployed in different WIFI networking, and each network control service node and the VPN server are communicated in a VPN mode to form an expanded network multi-outlet testing platform system.
11. A network multi-outlet test method is characterized in that the method is applied to the network multi-outlet test platform system of any one of claims 1-10; the method comprises the following steps:
The central control server acquires login state information of wireless access equipment accessed into a WIFI networking, and acquires a routing state of the wireless access equipment and currently available network exit node information of the network control server according to the login state information;
The central control server responds to the node information request operation input by the front-end test equipment and pushes the routing state of the wireless access equipment and the network outlet switching list of the wireless access equipment to the front-end test equipment;
The central control server is further configured to respond to an exit switching test operation issued by the front-end test device based on the routing state and the network exit switching list, acquire, from the network control server, a policy routing table corresponding to a network exit of the exit switching test operation, and trigger the network control server to control a network route of the wireless access device according to the policy routing table, so as to perform a switching test on the network exit of the wireless access device.
12. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of claim 11.
13. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of claim 11.
CN201910851092.7A 2019-09-09 2019-09-09 Network multi-outlet test platform system and test method Active CN110557303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910851092.7A CN110557303B (en) 2019-09-09 2019-09-09 Network multi-outlet test platform system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910851092.7A CN110557303B (en) 2019-09-09 2019-09-09 Network multi-outlet test platform system and test method

Publications (2)

Publication Number Publication Date
CN110557303A true CN110557303A (en) 2019-12-10
CN110557303B CN110557303B (en) 2021-04-20

Family

ID=68739477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910851092.7A Active CN110557303B (en) 2019-09-09 2019-09-09 Network multi-outlet test platform system and test method

Country Status (1)

Country Link
CN (1) CN110557303B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115021831A (en) * 2022-06-22 2022-09-06 北京有竹居网络技术有限公司 Weak network testing method, device, system, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110154108A1 (en) * 2009-12-16 2011-06-23 Airbus Operations (Sas) System and process for simulation or test exploiting data from monitoring ports
CN102137249A (en) * 2010-12-31 2011-07-27 华为技术有限公司 Video communication processing method and system, and video interworking device
CN102201990A (en) * 2011-05-20 2011-09-28 中兴通讯股份有限公司 Service control method and system for autonomous network
CN104158701A (en) * 2014-08-18 2014-11-19 中国联合网络通信集团有限公司 Gateway function testing method and device
CN105071978A (en) * 2015-07-07 2015-11-18 广州杰升信息科技有限公司 Method of conducting production test for intelligent equipment, WiFi module, and system
CN106330618A (en) * 2016-09-19 2017-01-11 中国第汽车股份有限公司 Gateway routing automatic test system and test method based on CAN/LIN/MOST hybrid buses
CN107465554A (en) * 2017-09-01 2017-12-12 天津赞普科技股份有限公司 Wireless networking and the route switching method and system of monomer network application
CN108712301A (en) * 2018-04-03 2018-10-26 四川斐讯信息技术有限公司 A kind of adjustment method and debugging system of terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110154108A1 (en) * 2009-12-16 2011-06-23 Airbus Operations (Sas) System and process for simulation or test exploiting data from monitoring ports
CN102137249A (en) * 2010-12-31 2011-07-27 华为技术有限公司 Video communication processing method and system, and video interworking device
CN102201990A (en) * 2011-05-20 2011-09-28 中兴通讯股份有限公司 Service control method and system for autonomous network
CN104158701A (en) * 2014-08-18 2014-11-19 中国联合网络通信集团有限公司 Gateway function testing method and device
CN105071978A (en) * 2015-07-07 2015-11-18 广州杰升信息科技有限公司 Method of conducting production test for intelligent equipment, WiFi module, and system
CN106330618A (en) * 2016-09-19 2017-01-11 中国第汽车股份有限公司 Gateway routing automatic test system and test method based on CAN/LIN/MOST hybrid buses
CN107465554A (en) * 2017-09-01 2017-12-12 天津赞普科技股份有限公司 Wireless networking and the route switching method and system of monomer network application
CN108712301A (en) * 2018-04-03 2018-10-26 四川斐讯信息技术有限公司 A kind of adjustment method and debugging system of terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MOHAMMAD HOSSEINABADY,: ""Using the Inter- and Intra-Switch Regularity in NoC Switch Testing"", 《 2007 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION》 *
张甲甲,: ""多出口Linux网关转发性能的改进"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115021831A (en) * 2022-06-22 2022-09-06 北京有竹居网络技术有限公司 Weak network testing method, device, system, equipment and storage medium
CN115021831B (en) * 2022-06-22 2024-03-12 北京有竹居网络技术有限公司 Weak network test method, device, system, equipment and storage medium

Also Published As

Publication number Publication date
CN110557303B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US8989000B2 (en) Cloud-based telecommunications infrastructure
CN110402569B (en) Bulk registration and configuration of devices
JP6995189B2 (en) Data transmission methods, devices, and systems
JP6718966B2 (en) Methods for establishing a roaming connection
US10098026B1 (en) Application test system
CN109417492B (en) Network function NF management method and NF management equipment
US11726808B2 (en) Cloud-based managed networking service that enables users to consume managed virtualized network functions at edge locations
KR20130113490A (en) System, method and apparatus for dynamic wireless network discovery
CN109587254A (en) Cloud Server access method, device, Cloud Server and storage medium
CN117397230A (en) Method, system and computer readable medium for distributing Network Function (NF) High Availability (HA) topology information in a core network
Schultz et al. Opengufi: An extensible graphical user flow interface for an sdn-enabled wireless testbed
US20180270200A1 (en) Active Inventory Discovery for Network Security
CN113453292B (en) Method for establishing connection, communication device and system
JP2019500819A (en) Method for establishing communication connection of communication terminal via communication network
US9374710B2 (en) Mediation server, control method therefor, communication device, control method therefor, communication system, and computer program
CN110557303B (en) Network multi-outlet test platform system and test method
US20130124739A1 (en) Mediation server, communication device, and connecting method
CN115801653A (en) Network detection method, system, electronic device and readable storage medium
CN105493540A (en) Wireless local area network user side device and information processing method
US20240022484A1 (en) Manager for edge application server discovery function
CN115021831A (en) Weak network testing method, device, system, equipment and storage medium
CN109982311A (en) A kind of terminal access core net device, method and terminal, MME and SAEGW
AU2020354339B2 (en) Test method for verification of an RSP process and active test system providing such a test method
CN109327517B (en) Method and equipment for acquiring network state of wireless access point
CN112367390A (en) Method, device, equipment and storage medium for sharing service between terminals

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