CN104486158B - The test method and device of configuration of routers parameter - Google Patents

The test method and device of configuration of routers parameter Download PDF

Info

Publication number
CN104486158B
CN104486158B CN201410789762.4A CN201410789762A CN104486158B CN 104486158 B CN104486158 B CN 104486158B CN 201410789762 A CN201410789762 A CN 201410789762A CN 104486158 B CN104486158 B CN 104486158B
Authority
CN
China
Prior art keywords
measured
test
router
configuration
parameter
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.)
Active
Application number
CN201410789762.4A
Other languages
Chinese (zh)
Other versions
CN104486158A (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.)
Taike Communication Branch Shenzhen Sdg Information Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410789762.4A priority Critical patent/CN104486158B/en
Publication of CN104486158A publication Critical patent/CN104486158A/en
Application granted granted Critical
Publication of CN104486158B publication Critical patent/CN104486158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides the test method and device of a kind of configuration of routers parameter, wherein the test method of configuration of routers parameter comprises determining that router to be measured;The parameter sets to be measured configured in the router to be measured;Will test terminal connect with the router to be measured, and judge the test terminal whether with the router successful connection to be measured;If successful connection, obtain test feedback information, and judge acquired test feedback information whether with feedback reference information matches;If matching prompts test to pass through;Otherwise, test crash is prompted.Technical solution has saved the human cost of test, has shortened test period, reduce the research and development cost of product, avoided the false failure rate of repetitive operation generation by being tested automatically multiple parameters in router in the present invention.

Description

The test method and device of configuration of routers parameter
Technical field
The present invention relates to a kind of fields of communication technology, more particularly to the test method and dress of a kind of configuration of routers parameter It sets.
Background technique
It is wirelessly current using a kind of most network connection modes, in the router, this is a very important function; Therefore the test of radio function is very important, and whether function improves the parameter for depending primarily on radio function.Signal is strong Degree determines wireless transmission range;SSID is equivalent to wireless network name;Cipher mode ensure that wireless safety, lead to What is be often used is WPA/WPA2-PSK mode;Channel is the transmission channel of wireless data, other channels can be modified when crowded It is smooth to help to transmit;Wireless network mode determines wireless transmission rate, and 802.11b 11Mbps, 802.11g are 54Mbps, 802.11n are 150 or 300Mbps, these parameters determine wireless integrity.
At present for the test of wireless parameter based on manual test, has modified SSID, cipher mode, channel ... and wait ginseng Number, is scanned by scanning software, checks whether parameter value is identical with reference value.Due to having SSID, cipher mode, letter The multiple parameters such as road, network mode, and each parameter options are more, such as channel just has 13 channels that can modify, and carry out manual Test ceaselessly need to be modified and be scanned, and very big workload will be generated, and test period is very long, increase the research and development of product at This.And under frequent repeated work, easily there is maloperation and generates false failure rate in tester.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of surveys of configuration of routers parameter Method for testing and device, for solving the problems, such as to test in the prior art, cumbersome, test period is long, low efficiency.
In order to achieve the above objects and other related objects, the present invention provides a kind of test method of configuration of routers parameter, The test method of the configuration of routers parameter includes:
Determine router to be measured;
The parameter sets to be measured configured in the router to be measured;
Will test terminal connect with the router to be measured, and judge the test terminal whether with the router to be measured Successful connection;
If successful connection, test feedback information is obtained, and judges whether acquired test feedback information joins with feedback Examine information matches;
If matching prompts test to pass through;Otherwise, test crash is prompted.
Optionally, the test method of the configuration of routers parameter further include: in the test terminal and the road to be measured When by device connection failure, test crash is prompted.
Optionally, the parameter sets to be measured include the cipher mode, channel, MAC Address, signal strength of router to be measured With the wireless SSID of at least one of wireless network mode and router to be measured.
Optionally, by described in ping command determination test terminal whether with the router successful connection to be measured.
Optionally, the test method of the configuration of routers parameter further include: configured in the modification router to be measured Parameter sets to be measured again test the router to be measured.
Correspondingly, the present invention also provides a kind of test device of configuration of routers parameter, the configuration of routers parameter Test device include:
Authentication unit, for determining router to be measured;
Configuration unit is connect with the authentication unit and router to be measured, for what is configured in the router to be measured Parameter sets to be measured;
First judging unit is connect with the router to be measured, for judge the test terminal whether with it is described to be measured Router successful connection;
Second judgment unit is connect with first judging unit, in the test terminal and the routing to be measured When device successful connection, obtain test feedback information and judge acquired test feedback information whether with feedback reference information Match;
Prompt unit is connect with the second judgment unit, in acquired test feedback information and feedback reference When information matches, test is prompted to pass through, and when acquired test feedback information and feedback reference information mismatch, prompted Test crash.
Optionally, first judging unit is also connect with the prompt unit, for the test terminal with it is described When router connection failure to be measured, test crash is prompted.
Optionally, the parameter sets to be measured include the cipher mode, channel, MAC Address, signal strength of router to be measured With the wireless SSID of at least one of wireless network mode and router to be measured.
Optionally, first judging unit by test terminal described in ping command determination whether with the routing to be measured Device successful connection.
Optionally, the configuration unit is also used to modify the parameter sets to be measured configured in the router to be measured.
As described above, the test method and device of configuration of routers parameter of the invention, have the advantages that
The parameter sets to be measured first configured in router to be measured, then test terminal is connect with router to be measured, and sentences Disconnected test terminal whether with the router successful connection to be measured;When trying terminal and the router successful connection to be measured, obtain Take test feedback information, and determine acquired test feedback information whether with feedback reference information matches;If matching, prompts Test passes through;Otherwise, test crash is prompted.Due to being tested automatically multiple parameters in router, the people of test has been saved Power cost shortens test period, reduces the research and development cost of product, avoids the false failure rate of repetitive operation generation.
Further, additionally it is possible to when test terminal is connect with router to be measured, parameter sets to be measured are modified, for needing Same router carries out multiple groups parameter sets to be measured and carries out test case, can effectively reduce test terminal and router to be measured The step of connection, further saves the human cost of test, shortens test period, reduces the research and development cost of product.
Detailed description of the invention
Fig. 1 is shown as the flow diagram of the test method of configuration of routers parameter of the invention.
Fig. 2 is shown as the structural schematic diagram of the test device of configuration of routers parameter of the invention.
Component label instructions
1 router
The test device of 2 configuration of routers parameters
21 authentication units
23 configuration units
25 first judging units
27 second interpretation units
29 prompt units
S101~S107 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
Referring to Fig. 1, the present invention provides a kind of flow diagram of the test method of configuration of routers parameter, comprising:
Step S101 determines router to be measured, the parameter sets to be measured configured in the router to be measured;
Test terminal is connect by step S102 with the router to be measured;
Step S103, judge the test terminal whether with the router successful connection to be measured;
In step s 103, if successful connection, S104 is thened follow the steps, otherwise, executes step S107.
Step S104 obtains test feedback information;
Step S105, judge acquired test feedback information whether with feedback reference information matches;
In step s105, if matching, thens follow the steps S106;Otherwise, step S107 is executed.
Step S106 prompts test to pass through;
Step S107 prompts test crash.
In the present embodiment, the parameter sets to be measured include cipher mode, channel, MAC Address, the signal of router to be measured The wireless SSID of at least one of intensity and wireless network mode and router to be measured.
Specifically, by test terminal described in ping command determination whether with the router successful connection to be measured.
In the present embodiment, the parameter sets to be measured first configured in router to be measured, then will test terminal and routing to be measured Device connection, and judge test terminal whether with the router successful connection to be measured;Connect in examination terminal and the router to be measured When being connected into function, obtain test feedback information, and determine acquired test feedback information whether with feedback reference information matches;If Matching then prompts test to pass through;Otherwise, test crash is prompted.Due to being tested automatically multiple parameters in router, save The human cost of test shortens test period, reduces the research and development cost of product, and the mistake for avoiding repetitive operation generation is surveyed Rate.
In another embodiment, the test method of the configuration of routers parameter further include: the modification routing to be measured The parameter sets to be measured configured in device again test the router to be measured.Connect in test terminal and router to be measured When connecing, parameter sets to be measured are modified, carry out test case for needing same router to carry out multiple groups parameter sets to be measured, it can The step of test terminal is connect with router to be measured is being effectively reduced, the human cost of test is being further saved, shortens test Period reduces the research and development cost of product.
Referring to Fig. 2, the present invention provides a kind of structural schematic diagram of the test device of configuration of routers parameter, the Road Fig. 2 Include: by the test device 2 of device configuration parameter
Authentication unit 21, for determining router to be measured;
Configuration unit 23 is connect with the authentication unit 21 and router to be measured 1, in the router 1 to be measured The parameter sets to be measured of configuration;
First judging unit 25 is connect with the router 1 to be measured, for judge test terminal whether with the road to be measured By 1 successful connection of device;
Second judgment unit 27 is connect with first judging unit 25, for the test terminal with it is described to be measured When 1 successful connection of router, obtains test feedback information and judge whether acquired test feedback information is believed with feedback reference Breath matching;
Prompt unit 29 is connect with the second judgment unit 27, in acquired test feedback information and feedback When reference information matches, test is prompted to pass through, and when acquired test feedback information and feedback reference information mismatch, Prompt test crash.
In the present embodiment, whether the authentication unit 21 can verify router to be measured by password, sequence number etc. correct.
Specifically, first judging unit 25 by test terminal described in ping command determination whether with the road to be measured By device successful connection.
In the present embodiment, first judging unit 25 is also connect with the prompt unit 29, for whole in the test When end is with 1 connection failure of router to be measured, test crash is prompted.
Specifically, the parameter sets to be measured include the cipher mode, channel, MAC Address, signal strength of router to be measured With the wireless SSID of at least one of wireless network mode and router to be measured.
In the present embodiment, the configuration unit 23 is also used to modify the parameter set to be measured configured in the router to be measured 1 It closes.
In the present embodiment, the parameter sets to be measured that configuration unit 23 configures in router to be measured are first passed through, then will test Terminal is connect with router to be measured, and judges to test whether terminal connect with the router to be measured by the first judging unit 25 Success;When trying terminal and the router successful connection to be measured, test feedback information is obtained, and pass through the second interpretation unit 27 Determine acquired test feedback information whether with feedback reference information matches;If matching, surveyed by the prompt of prompt unit 29 It pinged;Otherwise, test crash is prompted by prompt unit 29.Due to being tested automatically multiple parameters in router, save The about human cost of test shortens test period, reduces the research and development cost of product, and the mistake for avoiding repetitive operation generation is surveyed Rate.
In conclusion the test method and device of configuration of routers parameter of the present invention can to multiple parameters in router into The automatic test of row, has saved the human cost of test, has shortened test period, reduce the research and development cost of product, avoid repetition Operate the false failure rate generated.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial exploitation value Value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (6)

1. a kind of test method of configuration of routers parameter, which is characterized in that the test method packet of the configuration of routers parameter It includes:
Determine router to be measured;
The parameter sets to be measured configured in the router to be measured, the parameter sets to be measured include the encryption of router to be measured The wireless SSID of at least one of mode, channel, MAC Address, signal strength and wireless network mode and router to be measured;
Test terminal is connect with the router to be measured, and judges whether the test terminal connect with the router to be measured Success;
If successful connection, test feedback information is obtained, and judges whether acquired test feedback information is believed with feedback reference Breath matching;
If matching prompts test to pass through;Otherwise, test crash is prompted;
The test method of the configuration of routers parameter further include: the parameter set to be measured configured in the modification router to be measured It closes, the router to be measured is tested again.
2. the test method of configuration of routers parameter according to claim 1, it is characterised in that: the configuration of routers ginseng Several test method further include: in the test terminal and the router connection failure to be measured, prompt test crash.
3. the test method of configuration of routers parameter according to claim 1, it is characterised in that: pass through ping command determination The test terminal whether with the router successful connection to be measured.
4. a kind of test device of configuration of routers parameter, it is characterised in that: the test device packet of the configuration of routers parameter It includes:
Authentication unit, for determining router to be measured;
Configuration unit is connect with the authentication unit and router to be measured, to be measured for configuring in the router to be measured Parameter sets, the parameter sets to be measured include the cipher mode of router to be measured, channel, MAC Address, signal strength and wireless The wireless SSID of at least one of network mode and router to be measured;The configuration unit is also used to modify the road to be measured By the parameter sets to be measured configured in device;
First judging unit is connect with the router to be measured, is used to judge to test whether terminal to connect with the router to be measured It is connected into function;
Second judgment unit is connect with first judging unit, for connecting in the test terminal and the router to be measured When being connected into function, obtain test feedback information and judge acquired test feedback information whether with feedback reference information matches;
Prompt unit is connect with the second judgment unit, in acquired test feedback information and feedback reference information When matching, test is prompted to pass through, and when acquired test feedback information and feedback reference information mismatch, prompts test Failure.
5. the test device of configuration of routers parameter according to claim 4, it is characterised in that: first judging unit It is also connect with the prompt unit, for prompting test to lose in the test terminal and the router connection failure to be measured It loses.
6. the test device of configuration of routers parameter according to claim 4, it is characterised in that: first judging unit By described in ping command determination test terminal whether with the router successful connection to be measured.
CN201410789762.4A 2014-12-17 2014-12-17 The test method and device of configuration of routers parameter Active CN104486158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410789762.4A CN104486158B (en) 2014-12-17 2014-12-17 The test method and device of configuration of routers parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410789762.4A CN104486158B (en) 2014-12-17 2014-12-17 The test method and device of configuration of routers parameter

Publications (2)

Publication Number Publication Date
CN104486158A CN104486158A (en) 2015-04-01
CN104486158B true CN104486158B (en) 2019-07-02

Family

ID=52760665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410789762.4A Active CN104486158B (en) 2014-12-17 2014-12-17 The test method and device of configuration of routers parameter

Country Status (1)

Country Link
CN (1) CN104486158B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104768177A (en) * 2015-04-22 2015-07-08 福州大学 Automated Android equipment Wi-Fi module function testing method
CN105007196A (en) * 2015-07-29 2015-10-28 上海斐讯数据通信技术有限公司 HTTP protocol-based automatic testing method and system
CN105516388B (en) * 2015-12-15 2018-10-12 上海斐讯数据通信技术有限公司 A kind of Wireless Communication Equipment MAC Address test method and system
CN106060842A (en) * 2016-05-06 2016-10-26 上海斐讯数据通信技术有限公司 Test method of wireless encryption mode
CN105933919A (en) * 2016-06-14 2016-09-07 上海斐讯数据通信技术有限公司 Method and system for testing wireless transmission device
CN106131864A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of wireless network data method of testing
CN106375141B (en) * 2016-08-25 2020-01-07 上海斐讯数据通信技术有限公司 Router crash test method and system
CN106357477A (en) * 2016-09-26 2017-01-25 美的智慧家居科技有限公司 Distribution network test method and device
CN107205239B (en) * 2017-05-26 2020-06-16 广东美的厨房电器制造有限公司 Method for detecting wireless network connection and detection equipment
CN106982448A (en) * 2017-05-27 2017-07-25 美的智慧家居科技有限公司 Wi Fi module test methods and device and computer-readable recording medium
CN108990035B (en) * 2018-09-07 2021-10-22 上海华测导航技术股份有限公司 Bluetooth function detection method, device, equipment and storage medium
CN111083018B (en) * 2019-12-31 2021-08-27 厦门市美亚柏科信息股份有限公司 Production detection method and device for wireless equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866881A (en) * 2005-08-05 2006-11-22 华为技术有限公司 Method for carrying out test on router
CN101056225A (en) * 2007-05-31 2007-10-17 中兴通讯股份有限公司 A router test method and its onsite simulation test device
CN104158701A (en) * 2014-08-18 2014-11-19 中国联合网络通信集团有限公司 Gateway function testing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10125382A1 (en) * 2001-01-26 2002-08-14 Cst Concepts Comm System Test Distributed test system for testing and monitoring electronic signals at network connections processing signals taking into account associated time information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866881A (en) * 2005-08-05 2006-11-22 华为技术有限公司 Method for carrying out test on router
CN101056225A (en) * 2007-05-31 2007-10-17 中兴通讯股份有限公司 A router test method and its onsite simulation test device
CN104158701A (en) * 2014-08-18 2014-11-19 中国联合网络通信集团有限公司 Gateway function testing method and device

Also Published As

Publication number Publication date
CN104486158A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN104486158B (en) The test method and device of configuration of routers parameter
CN104579733B (en) Method, equipment and the system of fault diagnosis
US20200142001A1 (en) Core testing machine
CN104411016B (en) The network access system and method for wireless router
US10247773B2 (en) Systems and methods for wireless device testing
CN104486791B (en) The anti-interference test system and method for radio reception device
CN104902443B (en) A kind of method and apparatus of communication
US20110205956A1 (en) Wireless lan system, wireless lan device, and storage medium having stored therein wireless lan program
CN105991380A (en) Household appliance network access method, router, and household appliance
CN104378788B (en) Test method and system for wireless network access device
CN108028707A (en) Method for testing low-power radio frequency (RF) data packet signal transceiver
CN106559802A (en) A kind of radio roaming method of testing and system
KR20110109708A (en) Apparatus and method for auto seting up in wireless communication system
CN105228264A (en) A kind of quick WI-FI network matching method being applicable to Internet of Things
CN105979516A (en) Wireless fidelity connection method and system between intelligent terminal and router
JP2015029197A (en) Internet connection system, mobile terminal having data relay function, server device, connection method for connecting wireless lan terminal to internet, and computer program executed by computer having data relay function
CN105471677B (en) A kind of test macro
TW201711411A (en) Method for testing a low power radio frequency (RF) data packet signal transceiver
TW201724785A (en) Method for testing a low power radio frequency (RF) data packet signal transceiver
CN108418726A (en) Throughput testing method, apparatus, device and storage medium for user wireless device
CN109417715A (en) Communication node automatically configures test and verification
CN102821424B (en) Auxiliary mobile data distribution method, communication device and mobile device
CN102843690B (en) Wireless access point-based penetration test system and test method thereof
CN106060824B (en) A method of SD state being fed back in the way of broadcast frame embedded data during SD networking
CN106559275B (en) A kind of throughput testing approach and device of multiple terminals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201103

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231229

Address after: 518000 room 2502a, 25 / F, Hainan Huanqing building, No. 24 Futian Road, Weizhen community, Futian street, Futian District, Shenzhen, Guangdong Province

Patentee after: TAIKE COMMUNICATION BRANCH, SHENZHEN SDG INFORMATION Co.,Ltd.

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right