CN112333019A - Router configuration and test method and system and readable storage medium - Google Patents

Router configuration and test method and system and readable storage medium Download PDF

Info

Publication number
CN112333019A
CN112333019A CN202011192708.3A CN202011192708A CN112333019A CN 112333019 A CN112333019 A CN 112333019A CN 202011192708 A CN202011192708 A CN 202011192708A CN 112333019 A CN112333019 A CN 112333019A
Authority
CN
China
Prior art keywords
router
test
configuration
target
sending
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
CN202011192708.3A
Other languages
Chinese (zh)
Other versions
CN112333019B (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.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu 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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202011192708.3A priority Critical patent/CN112333019B/en
Publication of CN112333019A publication Critical patent/CN112333019A/en
Application granted granted Critical
Publication of CN112333019B publication Critical patent/CN112333019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method and a system for configuring and testing a router and a readable storage medium, wherein the configuration method comprises the following steps: the method comprises the following steps that a plurality of test devices receive a plurality of test cases, each test device correspondingly receives at least one test case, and each test case comprises configuration parameters; each testing device sends the corresponding configuration parameters to the target router; the target router performs parameter configuration according to the configuration parameters; the test equipment sends a check request message to the target router; the target router generates response information based on the checking request information and sends the response information to the testing equipment; and the test equipment detects whether the response information is consistent with the check request information, and if so, the successful parameter configuration of the target router is confirmed. A test system is designed, any test equipment (PC) accesses and configures one or more auxiliary routers through a WAN (wide area network) end of a main router to perform Wi-Fi connection function test so as to further realize compatibility test with different auxiliary routers.

Description

Router configuration and test method and system and readable storage medium
Technical Field
The invention belongs to the field of network automation test, and particularly relates to a router configuration method, a router test system and a readable storage medium.
Background
Wi-Fi (wireless networking) is a technology for connecting User Equipment (UE) in a wireless mode, the frequency band, the bandwidth, the channel, the SSID (service set identifier), the encryption mode, the password and other combined test items of Wi-Fi under different standards are thousands of, and meanwhile, a Wi-Fi compatibility test needs to test a plurality of wireless routers, and thousands of wireless routers are manually configured and connected, so that the Wi-Fi compatibility test is inefficient and cannot simulate the Wi-Fi connected with a plurality of different wireless routers.
In the existing automatic test method for Wi-Fi network connection of the mobile phone, the automatic connection of the test equipment with the router is realized, but the method for configuring the wireless router is that a test PC (personal computer) is connected with an LAN (local area network) end of one wireless router through a network cable for configuration, so that a plurality of arbitrary PCs cannot access the router and test the mobile phone at the same time.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a configuration of a router, a test method and system, and a readable storage medium, in order to overcome the defect that the prior art cannot realize that a plurality of test devices can randomly access the router and simultaneously perform a network connection test.
The invention solves the technical problems through the following technical scheme:
a configuration method of a router, the configuration method comprising:
the method comprises the following steps that a plurality of test devices receive a plurality of test cases, each test device correspondingly receives at least one test case, and each test case comprises configuration parameters;
each testing device sends the corresponding configuration parameters to the target router;
the target router performs parameter configuration according to the configuration parameters;
the test equipment sends a check request message to the target router;
the target router generates response information based on the checking request information and sends the response information to the testing equipment;
and the test equipment detects whether the response information is consistent with the check request information, and if so, the successful parameter configuration of the target router is confirmed.
Preferably, before the step of receiving a plurality of test cases by the plurality of test devices, the configuration method further includes:
generating a plurality of test cases and distributing the test cases to the test devices;
and/or before the step of sending the corresponding configuration parameter to the target router by each test device, the configuration method further includes:
and each test device analyzes the test case to obtain the configuration parameters.
Preferably, the target router includes a main router and a plurality of secondary routers connected to the main router, and the step of sending the corresponding configuration parameter to the target router by each testing device specifically includes:
the test equipment sends the corresponding configuration parameters to the main router;
and the main router sends the corresponding configuration parameters to at least one auxiliary router, and then performs an action of configuring the parameters of the at least one auxiliary router.
Preferably, in the step of sending the corresponding configuration parameter to at least one secondary router, the master router sends the corresponding configuration parameter through a WAN (wide area network) end of the master router.
Preferably, after the step of configuring the parameters by the target router according to the configuration parameters, the configuration method further includes:
generating a state code after the parameter configuration is completed and sending the state code to the test equipment;
the test equipment receives the status code and then performs an action of sending check request information.
A test method of a router, the test method comprising:
the configuration method of the router is utilized to realize the configuration of any router and any test equipment;
any test equipment sends a connection instruction to a target mobile terminal connected with the test equipment;
the target mobile terminal analyzes the connection instruction to obtain a target configuration parameter corresponding to any router;
the target mobile terminal establishes communication connection with any router according to the target configuration parameters;
performing a test action for the any router based on the communication connection.
A configuration system of a router comprises a plurality of test devices and a plurality of routers, wherein each test device comprises a task receiving unit, a configuration parameter sending unit, a check information sending unit and a detection unit;
the task receiving units of the test devices are used for receiving a plurality of test cases, each test device correspondingly receives at least one test case, and each test case comprises configuration parameters;
the configuration parameter sending unit of each test device is used for sending the corresponding configuration parameter to the target router;
the target router is used for carrying out parameter configuration according to the configuration parameters;
the check information sending unit is used for sending check request information to the target router;
the target router is also used for generating response information based on the checking request information and sending the response information to the testing equipment;
the detection unit is configured to detect whether the response information is consistent with the check request information, and if so, confirm that the parameter configuration of the target router is successful.
Preferably, the configuration system further comprises a server side;
the server side is used for generating a plurality of test cases and distributing the test cases to the task receiving units of the test devices;
and/or each test device further comprises a parsing unit;
and the analysis unit of each test device is used for analyzing the test case to obtain the configuration parameters.
Preferably, the target router comprises a main router and a plurality of auxiliary routers connected with the main router;
the test equipment is used for sending the corresponding configuration parameters to the main router;
and the main router is used for sending the corresponding configuration parameters to at least one auxiliary router, and then the at least one auxiliary router executes the action of parameter configuration.
Preferably, the master router is configured to implement sending of the corresponding configuration parameter through a WAN end of the master router.
Preferably, the test equipment further comprises a status code receiving unit; the target router is also used for generating a state code after the parameter configuration is finished and sending the state code to the test equipment;
the state code receiving unit is also used for receiving the state code and then calling the checking information sending unit to execute the action of sending the checking request information.
A test system of a router comprises a plurality of mobile terminals and the configuration system of the router, wherein each test device is correspondingly connected with one mobile terminal;
the configuration system is used for realizing the configuration of any router and any test equipment;
any test equipment is used for sending a connection instruction to a target mobile terminal connected with any test equipment;
the target mobile terminal is used for analyzing the connection instruction to obtain a target configuration parameter corresponding to any router;
the target mobile terminal is further used for establishing communication connection with any router according to the target configuration parameters and executing test actions on any router based on the communication connection.
A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the steps of the above-described router configuration method;
and/or the program realizes the steps of the router testing method when being executed by a processor.
The positive progress effects of the invention are as follows: according to the test system, any test device (such as any PC) accesses and configures one or more auxiliary routers through an IP (address number) and a port number of a WAN (wide area network) end of a main router to perform Wi-Fi connection function test so as to further realize compatibility test with different auxiliary routers.
Drawings
Fig. 1 is a flowchart of a configuration method of a router according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method for testing a router according to embodiment 2 of the present invention.
Fig. 3 is a block diagram of a configuration system of a router according to embodiment 3 of the present invention.
Fig. 4 is a schematic block diagram of a test device in a configuration system of a router according to embodiment 3 of the present invention.
Fig. 5 is a networking diagram of a configuration system according to embodiment 3 of the present invention.
Fig. 6 is a block diagram of a test system of a router according to embodiment 4 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
A configuration method of a router, as shown in fig. 1, the configuration method includes:
step 10, generating a plurality of test cases;
102, distributing a plurality of test cases to a plurality of test devices; in actual operation, the test equipment is set to be in a working state of monitoring and receiving a test task.
Step 20, a plurality of test devices receive a plurality of test cases, each test device correspondingly receives at least one test case, and each test case comprises configuration parameters;
and step 21, analyzing the test case by each test device to obtain configuration parameters. Specifically, the configuration parameters include a frequency band, a bandwidth, a channel, an encryption method, password information, and the like.
Step 213, each testing device sends the corresponding configuration parameters to the target router; specifically, the configuration parameters are sent to the target router in a POST manner by the automation script using HTTP protocol (a network transport protocol).
Step 30, the target router performs parameter configuration according to the configuration parameters;
step 31, generating a status code after the parameter configuration is completed;
step 312, sending the status code to the test equipment;
step 22, the test equipment receives the status code;
step 223, sending a check request message to the target router; specifically, the test device transmits the check request information through the GET.
Step 32, the target router generates response information based on the checking request information;
step 322, sending the response information to the test equipment;
step 23, the test equipment detects whether the response information is consistent with the check request information, if so, step 24 is executed; specifically, whether the configuration parameter field in the response message content is consistent with the configuration request parameter of the transmitted check request information is detected by analyzing the configuration parameter field in the response message content.
And 24, confirming that the parameter configuration of the target router is successful.
Wherein the target router includes a main router and a plurality of sub-routers connected to the main router, referring to fig. 1, step 213 specifically includes:
step 2113, the test equipment sends the corresponding configuration parameters to the master router;
and step 2123, the master router sends the corresponding configuration parameters to the at least one secondary router, and then the parameter configuration of the at least one secondary router is executed in steps 30 to 23. Specifically, the main router sends the corresponding configuration parameters through the WAN end of the main router, the configuration parameters are sent to the WAN end of the main router in a POST manner by using an HTTP protocol through an automation script, and the main router sends the configuration parameters to the auxiliary router through a port forwarding rule configured on the main router.
Take a specific example:
the IP address configuration of the external network WAN end of the main router is communicated with the networks of all the auxiliary routers:
the main router is connected with a company network (the main router is in the same network as a PC end of a test device in a test system), a self-contained Internet configuration option button of the router needs to be opened, a port number 8080 of the main router is used for realizing that the PC end can access a URL configured by the router through the IP address and the port number of a WAN end of an external network of the main router, the main router is used for IP address allocation, the SSID starting function needs to be forbidden, and the WAN end address of the external network of the main router is provided with a static IP address to ensure that the static IP address cannot be changed. Example, WAN side static IP setting, start WAN, start NAT, IP address setting 10.6.4.135, subnet mask 255.255.255.0, default gateway: 10.6.4.1, DNS services settings 10.6.2.21.
Secondly, setting the LAN end IP address range of the main router (in a different network segment from the LAN end IP address of the internal network of the auxiliary router), for example, configuring the LAN segment IP address 192.168.20.1 of the internal network of the main router, and subnet mask: 255.255.255.0. setting a WAN-end static IP address 192.168.20.10, a gateway 192.168.20.1 and a DNS8.8.8.8 of the external network of the first secondary router; a second secondary router external network WAN end static IP address 192.168.20.20, gateways 192.168.20.1, DNS8.8.8.8; the third secondary router extranet WAN side static IP address 192.168.20.30.
Thirdly, opening all the secondary routers and configuring an option button from the internet, starting a port forwarding function by the main router, and setting port mapping for all the secondary routers, wherein the port information is configured by the first secondary router, the source address is 0.0.0.0, the destination address is 192.168.20.10, and the port number is: 8081, selecting a TCP/UDP coexistence mode for the communication protocol; second secondary router configuration port information, source address 0.0.0.0, destination address 192.168.20.20, port number: 8082, the communication protocol selects a TCP/UDP coexistence mode; the third secondary router configures port information, source address 0.0.0.0, destination address 192.168.20.30, port number: 8083 the communication protocol selects a coexisting mode of TCP/UDP;
the method and the device can be expanded, the method and the device are not limited to three auxiliary routers, are expanded to 32 routers, are limited to port forwarding numbers limited by a main router, and are beneficial to testing compatibility tests of different types of mobile terminals and routers.
In the embodiment, the main router is communicated with a plurality of auxiliary router networks of different models, message data of configuration parameters mapped by the test cases are sent to the main router from the PC terminal and forwarded to the auxiliary routers, the configuration parameters are completed, the PC inserted with the test equipment sends a parameter check request, and after response information is obtained, the success of configuration is confirmed, so that the compatibility test with different auxiliary routers is further realized.
Example 2
A testing method of a router, as shown in fig. 2, the testing method includes:
step 11, implementing the configuration of any router and any test equipment by using the configuration method of the router as embodiment 1;
step 12, any test device sends a connection instruction to a target mobile terminal connected with any test device; specifically, the test equipment communicates through a test tool mounted to the mobile device.
Step 13, the target mobile terminal analyzes the connection instruction to obtain a target configuration parameter corresponding to any router;
step 14, the target mobile terminal establishes communication connection with any router according to the target configuration parameters; specifically, the target router is connected through SSID, encryption mode and password information.
And step 15, executing a test action on any router based on the communication connection.
In this embodiment, based on the configuration method in embodiment 1, any one of the testing devices accesses and configures one or more secondary routers through the IP and port number of the WAN end of the primary router, and performs a function test of wireless communication connection, so as to further implement a compatibility test between the mobile terminal and different secondary routers.
Example 3
3-4, the configuration system of a router includes a server 1, a plurality of test devices 012 and a plurality of routers 03, each test device 012 includes a task receiving unit 401, an analysis unit 402, a configuration parameter sending unit 403, a status code receiving unit 404, a check information sending unit 405 and a detection unit 406;
the server 1 is configured to generate a plurality of test cases and distribute the test cases to the task receiving unit 401 of the plurality of test devices 012; in actual operation, the test equipment 012 is set in an operating state of listening and accepting a test task.
The task receiving unit 401 of the multiple test devices 012 is configured to receive multiple test cases, where each test device 012 correspondingly receives at least one test case, and each test case includes configuration parameters; specifically, the configuration parameters include a frequency band, a bandwidth, a channel, an encryption method, password information, and the like.
The parsing unit 402 of each testing device 012 is configured to parse the test case to obtain the configuration parameters.
The configuration parameter sending unit 403 of each test device 012 is configured to send the corresponding configuration parameter to the target router; specifically, the configuration parameters are sent to the target router in a POST manner by the automation script using the HTTP protocol.
The target router is used for carrying out parameter configuration according to the configuration parameters;
the target router is further configured to generate a status code after the parameter configuration is completed, and send the status code to the test equipment 012;
the status code receiving unit 404 is further configured to receive the status code and then invoke the check information sending unit 405 to perform an action of sending check request information.
The check information sending unit 405 is configured to send a check request message to the target router; specifically, the test device 012 transmits the check request information through the GET.
The target router is further configured to generate response information based on the check request information, and send the response information to the test equipment 012;
the detecting unit 406 is configured to detect whether the response information is consistent with the check request information, and if so, determine that the parameter configuration of the target router is successful. Specifically, whether the configuration parameter field in the response message content is consistent with the configuration request parameter of the transmitted check request information is detected by analyzing the configuration parameter field in the response message content.
Specifically, referring to fig. 5, the target router includes a master router 031 and a plurality of slave routers 033 connected to the master router 031; the test device 012 is configured to send the corresponding configuration parameter to the master router 031; the master router 031 is configured to send the corresponding configuration parameters to at least one of the secondary routers 033, and then the at least one secondary router 033 performs an action of parameter configuration. Specifically, the main router 031 is configured to implement sending of the corresponding configuration parameter through the WAN end of the main router 031, where the configuration parameter is sent to the WAN end of the main router 031 in a POST manner through an HTTP protocol by using an automation script, and the main router 031 sends the configuration parameter to the auxiliary router 033 through a port forwarding rule configured on the main router 031.
Specifically, referring to fig. 5, fig. 5 shows a networking diagram of a configuration system according to an embodiment of the present invention. The networking system can comprise a device 01 consisting of a mobile terminal 011 and a test device 012, and comprises a mobile terminal UE 011, a test PC 012, a company network 02, a wireless router and a switch 03; 03 may include 031 primary router, 032 switch, 033 as at least one or more secondary routers, which may be of the same or different model.
Among them, the mobile terminal UE 011 is connected to the PCs 012 through the USB port, a plurality of PCs 012 in the 01 apparatus are connected to the company network 02 through the network cable, and the WAN side of the main router 031 of the wireless router and switch forming apparatus 03 is connected to the company network 02 through the network cable. The LAN end of the main router 031 is connected to the switch 032, and the WAN end of the 033 secondary router (including the 0331 model router, the 0332 model router, and the 0333 model router) is connected to the switch 032 network cable.
In the embodiment, the main router is communicated with a plurality of auxiliary router networks of different models, message data of configuration parameters mapped by the test cases are sent to the main router from the PC terminal and forwarded to the auxiliary routers, the configuration parameters are completed, the PC inserted with the test equipment sends a parameter check request, and after response information is obtained, the success of configuration is confirmed, so that the compatibility test with different auxiliary routers is further realized.
Example 4
A test system of a router, as shown in fig. 6, the test system includes a plurality of mobile terminals 011 and a configuration system of the router as described in embodiment 3, each test device 012 is connected with a corresponding mobile terminal 011; specifically, the test equipment 012 communicates through a test tool attached to the mobile equipment.
The configuration system of the router according to embodiment 3 is used to implement the configuration of any router and any test equipment 012;
any test equipment 012 is configured to send a connection instruction to the target mobile terminal 011 connected to the test equipment 012;
the target mobile terminal 011 is used for analyzing the connection instruction to obtain a target configuration parameter corresponding to any router;
the target mobile terminal 011 is further configured to establish a communication connection with the any router according to the target configuration parameters, and execute a test action on the any router based on the communication connection.
In this embodiment, based on the configuration system in embodiment 3, any one of the testing devices accesses and configures one or more secondary routers through the IP and port number of the WAN end of the primary router, and performs a function test of wireless communication connection, so as to further implement a compatibility test between the mobile terminal and different secondary routers.
Example 5
A computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the configuration method of a router described in embodiment 1 or 2.
The program, when executed by a processor, implements the steps of the method for testing a router described in embodiment 3.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible embodiment, the invention can also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps of implementing the configuration method or the test method described above, when said program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (13)

1. A configuration method of a router, the configuration method comprising:
the method comprises the following steps that a plurality of test devices receive a plurality of test cases, each test device correspondingly receives at least one test case, and each test case comprises configuration parameters;
each testing device sends the corresponding configuration parameters to the target router;
the target router performs parameter configuration according to the configuration parameters;
the test equipment sends a check request message to the target router;
the target router generates response information based on the checking request information and sends the response information to the testing equipment;
and the test equipment detects whether the response information is consistent with the check request information, and if so, the successful parameter configuration of the target router is confirmed.
2. The method of configuring a router of claim 1, wherein prior to the step of receiving a plurality of test cases by the plurality of test devices, the method further comprises:
generating a plurality of test cases and distributing the test cases to the test devices;
and/or before the step of sending the corresponding configuration parameter to the target router by each test device, the configuration method further includes:
and each test device analyzes the test case to obtain the configuration parameters.
3. The router configuring method according to claim 1, wherein the target router includes a main router and a plurality of sub-routers connected to the main router, and the step of sending the corresponding configuration parameter to the target router by each testing device specifically includes:
the test equipment sends the corresponding configuration parameters to the main router;
and the main router sends the corresponding configuration parameters to at least one auxiliary router, and then performs an action of configuring the parameters of the at least one auxiliary router.
4. The router configuration method according to claim 3, wherein in the step of the master router sending the corresponding configuration parameter to at least one of the secondary routers, the sending of the corresponding configuration parameter is implemented through a WAN side of the master router.
5. The method for configuring a router of claim 1, wherein after the step of configuring the parameters by the target router according to the configuration parameters, the method further comprises:
generating a state code after the parameter configuration is completed and sending the state code to the test equipment;
the test equipment receives the status code and then performs an action of sending check request information.
6. A method for testing a router, the method comprising:
the configuration method of the router according to any one of claims 1-5 is used for realizing the configuration of any router and any test equipment;
any test equipment sends a connection instruction to a target mobile terminal connected with the test equipment;
the target mobile terminal analyzes the connection instruction to obtain a target configuration parameter corresponding to any router;
the target mobile terminal establishes communication connection with any router according to the target configuration parameters;
performing a test action for the any router based on the communication connection.
7. The configuration system of the router is characterized by comprising a plurality of test devices and a plurality of routers, wherein each test device comprises a task receiving unit, a configuration parameter sending unit, a check information sending unit and a detection unit;
the task receiving units of the test devices are used for receiving a plurality of test cases, each test device correspondingly receives at least one test case, and each test case comprises configuration parameters;
the configuration parameter sending unit of each test device is used for sending the corresponding configuration parameter to the target router;
the target router is used for carrying out parameter configuration according to the configuration parameters;
the check information sending unit is used for sending check request information to the target router;
the target router is also used for generating response information based on the checking request information and sending the response information to the testing equipment;
the detection unit is configured to detect whether the response information is consistent with the check request information, and if so, confirm that the parameter configuration of the target router is successful.
8. The router configuration system of claim 7, further comprising a server side;
the server side is used for generating a plurality of test cases and distributing the test cases to the task receiving units of the test devices;
and/or each test device further comprises a parsing unit;
and the analysis unit of each test device is used for analyzing the test case to obtain the configuration parameters.
9. The router configuration system of claim 7, wherein said target router includes a master router and a plurality of slave routers connected to said master router;
the test equipment is used for sending the corresponding configuration parameters to the main router;
and the main router is used for sending the corresponding configuration parameters to at least one auxiliary router, and then the at least one auxiliary router executes the action of parameter configuration.
10. The router configuration system of claim 9, wherein the master router is configured to implement the sending of the corresponding configuration parameters through a WAN side of the master router.
11. The configuration system of a router of claim 7, wherein the test device further comprises a status code receiving unit;
the target router is also used for generating a state code after the parameter configuration is finished and sending the state code to the test equipment;
the state code receiving unit is also used for receiving the state code and then calling the checking information sending unit to execute the action of sending the checking request information.
12. A test system for a router, the test system comprising a plurality of mobile terminals and a configuration system for a router according to any one of claims 1 to 5, each test device being connected to a corresponding one of the mobile terminals;
the configuration system is used for realizing the configuration of any router and any test equipment;
any test equipment is used for sending a connection instruction to a target mobile terminal connected with any test equipment;
the target mobile terminal is used for analyzing the connection instruction to obtain a target configuration parameter corresponding to any router;
the target mobile terminal is further used for establishing communication connection with any router according to the target configuration parameters and executing test actions on any router based on the communication connection.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the configuration method of a router according to any one of claims 1 to 5;
and/or the program, when executed by a processor, implements the steps of the method for testing a router of claim 6.
CN202011192708.3A 2020-10-30 2020-10-30 Router configuration and test method and system and readable storage medium Active CN112333019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011192708.3A CN112333019B (en) 2020-10-30 2020-10-30 Router configuration and test method and system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011192708.3A CN112333019B (en) 2020-10-30 2020-10-30 Router configuration and test method and system and readable storage medium

Publications (2)

Publication Number Publication Date
CN112333019A true CN112333019A (en) 2021-02-05
CN112333019B CN112333019B (en) 2022-08-16

Family

ID=74296822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011192708.3A Active CN112333019B (en) 2020-10-30 2020-10-30 Router configuration and test method and system and readable storage medium

Country Status (1)

Country Link
CN (1) CN112333019B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112867047A (en) * 2021-04-13 2021-05-28 四川九州电子科技股份有限公司 WiFi6 router performance test system and test method
CN113742236A (en) * 2021-09-13 2021-12-03 展讯半导体(成都)有限公司 Test configuration method, electronic device and storage medium
CN114443473A (en) * 2021-12-29 2022-05-06 山东有人物联网股份有限公司 Automated testing framework, method, system and computer readable storage medium
CN114553685A (en) * 2022-02-24 2022-05-27 深圳市吉祥腾达科技有限公司 Method for testing router broadband access

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030101244A1 (en) * 2001-11-28 2003-05-29 Lockridge Terry Wayne Method and apparatus for adaptively configuring a router
CN101841475A (en) * 2010-04-21 2010-09-22 北京星网锐捷网络技术有限公司 System for testing performance of GRE (Ground Radar Equipment) router and method thereof
CN104349346A (en) * 2014-11-13 2015-02-11 广东欧珀移动通信有限公司 Mobile terminal WiFi throughout automatic testing method
CN104410986A (en) * 2014-11-10 2015-03-11 福建联迪商用设备有限公司 Method and device for testing WIFI (Wireless Fidelity) compatibility of terminal
CN104768177A (en) * 2015-04-22 2015-07-08 福州大学 Automated Android equipment Wi-Fi module function testing method
WO2015162735A1 (en) * 2014-04-23 2015-10-29 富士通株式会社 Communication device, server, communication system, and communication method
WO2016023436A1 (en) * 2014-08-12 2016-02-18 华为技术有限公司 Fault detection method for virtual router redundancy protocol and router device
CN106789235A (en) * 2016-12-19 2017-05-31 四川长虹电器股份有限公司 WIFI connective stabilities automated testing method and system
WO2017113848A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Testing method, testing platform and simulated testing device for test case
CN107371219A (en) * 2016-05-13 2017-11-21 华为终端(东莞)有限公司 WiFi collocation methods, WiFi mobile terminals and WiFi equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030101244A1 (en) * 2001-11-28 2003-05-29 Lockridge Terry Wayne Method and apparatus for adaptively configuring a router
CN101841475A (en) * 2010-04-21 2010-09-22 北京星网锐捷网络技术有限公司 System for testing performance of GRE (Ground Radar Equipment) router and method thereof
WO2015162735A1 (en) * 2014-04-23 2015-10-29 富士通株式会社 Communication device, server, communication system, and communication method
WO2016023436A1 (en) * 2014-08-12 2016-02-18 华为技术有限公司 Fault detection method for virtual router redundancy protocol and router device
CN104410986A (en) * 2014-11-10 2015-03-11 福建联迪商用设备有限公司 Method and device for testing WIFI (Wireless Fidelity) compatibility of terminal
CN104349346A (en) * 2014-11-13 2015-02-11 广东欧珀移动通信有限公司 Mobile terminal WiFi throughout automatic testing method
CN104768177A (en) * 2015-04-22 2015-07-08 福州大学 Automated Android equipment Wi-Fi module function testing method
WO2017113848A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Testing method, testing platform and simulated testing device for test case
CN107371219A (en) * 2016-05-13 2017-11-21 华为终端(东莞)有限公司 WiFi collocation methods, WiFi mobile terminals and WiFi equipment
CN106789235A (en) * 2016-12-19 2017-05-31 四川长虹电器股份有限公司 WIFI connective stabilities automated testing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BIN QIN,DONG YAN: "Remote Scada System Based on 3G VPN Services for Secondary Pressurization Pump Station", 《2010 INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEM DESIGN AND ENGINEERING APPLICATION》 *
王双锦: "基于OpenFlow的发布/订阅系统中拓扑和路由子系统的研究与实现", 《中国优秀硕士学位论文数据库》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112867047A (en) * 2021-04-13 2021-05-28 四川九州电子科技股份有限公司 WiFi6 router performance test system and test method
CN112867047B (en) * 2021-04-13 2022-11-08 四川九州电子科技股份有限公司 WiFi6 router performance test system and test method
CN113742236A (en) * 2021-09-13 2021-12-03 展讯半导体(成都)有限公司 Test configuration method, electronic device and storage medium
CN114443473A (en) * 2021-12-29 2022-05-06 山东有人物联网股份有限公司 Automated testing framework, method, system and computer readable storage medium
CN114553685A (en) * 2022-02-24 2022-05-27 深圳市吉祥腾达科技有限公司 Method for testing router broadband access
CN114553685B (en) * 2022-02-24 2024-04-05 东莞市锐易电子科技有限公司 Method for testing router broadband access

Also Published As

Publication number Publication date
CN112333019B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN112333019B (en) Router configuration and test method and system and readable storage medium
CN109495870B (en) Bluetooth test method and device
CN105227693B (en) A kind of configuration method and device of the DNS of mobile device
CN104202224A (en) Automatic search controlling method, device and system of intelligent appliance
CN109218261B (en) Data processing method and data processing device
CN106534289B (en) Automatic testing method, device and system
CN101478458A (en) SIP protocol security test method
JP4336822B2 (en) Network device test system and network device test method
WO2018149342A1 (en) Public network accessing method and device and computer storage medium for user terminal of mobile private network
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN101958810A (en) Method and system used for realizing fault positioning of intermediate node autonomously
CN107484227B (en) Wifi networking multi-hot-spot control communication method
CN113438132A (en) System and method for testing data burst reliability of wireless routing equipment
CN111130929B (en) Method and system for automatically testing WIFI throughput
KR101104048B1 (en) Radio device testing system
US11411797B2 (en) Device management method and related device
CN109587204B (en) Method and device for accessing public network and electronic equipment
CN116567457A (en) Method for binding ONU equipment by mobile equipment in local area network
CN115277450A (en) OPNET-based virtual-real combined heterogeneous communication network fusion system and application
CN108124280B (en) Monitoring diagnosis system and network monitoring diagnosis method
CN107241412B (en) Method and system for storing MAC address of wireless access equipment
Piao et al. The real implementation of NDN forwarding strategy on Android smartphone
CN113630802A (en) NR user plane service test method and device
CN112637875B (en) Method for remote batch management of small base stations
CN113099511B (en) Network configuration method, device, equipment and system

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