CN105007230B - A kind of system and method for testing more wireless routers - Google Patents

A kind of system and method for testing more wireless routers Download PDF

Info

Publication number
CN105007230B
CN105007230B CN201510489473.7A CN201510489473A CN105007230B CN 105007230 B CN105007230 B CN 105007230B CN 201510489473 A CN201510489473 A CN 201510489473A CN 105007230 B CN105007230 B CN 105007230B
Authority
CN
China
Prior art keywords
test log
test
crucial
log
wireless
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
CN201510489473.7A
Other languages
Chinese (zh)
Other versions
CN105007230A (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.)
Huzhou YingLie Intellectual Property Operation 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 CN201510489473.7A priority Critical patent/CN105007230B/en
Publication of CN105007230A publication Critical patent/CN105007230A/en
Application granted granted Critical
Publication of CN105007230B publication Critical patent/CN105007230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of system and method for testing more wireless routers, the system comprises: more test log grabbing devices, it is connected respectively with each wireless router one-to-one correspondence to be measured, for obtaining each wireless router test log to be measured, grabs crucial test log accordingly;Server is connected with each test log grabbing device, for storing each crucial test log;Management terminal is connected to the server, for checking each crucial test log in the server, to find the mistake of each wireless router to be measured.The present invention can efficiently obtain crucial test log during testing more wireless routers, and the crucial test log of each wireless router can be checked by a management terminal, perfect test method, improves testing efficiency, reduces testing cost.

Description

A kind of system and method for testing more wireless routers
Technical field
The present invention relates to wireless router testing field, more particularly to a kind of system for testing more wireless routers and Method.
Background technique
With the rapid development of wireless router technology, the continuous renewal of wireless router drives the method tested it It is also required to be constantly progressive.During the test, it is just aobvious come place the problem of positioning wireless router to grab useful test log It obtains particularly important.Currently, the method for commonly obtaining test log are as follows: direct-connected with softwares such as the SecureCRT installed on PC Carry out record log in wireless router serial ports.
However, this method needs test its stability based on the layout of more wireless routers.Since every without route It is all different by the placement position of device, and farther out apart from meeting, so every wireless router requires one PC of configuration to record day Will.When log to be checked, needs to send and be checked on special messenger to the PC for being located at different location, it is low efficiency, at high cost.
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 more wireless routers of test System and method, require one PC of configuration for solving every wireless router to be measured in the prior art and record test day The problem of will, reduces testing cost to improve testing efficiency.
In order to achieve the above objects and other related objects, the present invention provides a kind of system for testing more wireless routers, Include: more test log grabbing devices, is connected respectively with each wireless router one-to-one correspondence to be measured, for obtaining each nothing to be measured The test log of line router grabs crucial test log accordingly;The key test log is associated with corresponding no route to be measured By the number of device;Server is connected with each test log grabbing device, for storing each crucial test log;Management terminal, with The server is connected, for checking each crucial test log in the server, to find each wireless router to be measured Mistake.
Optionally, the test log grabbing device is the router for being equipped with embedded Linux system Openwrt.
Optionally, the crucial test log of the crawl are as follows: by pre-defined rule from the test log of wireless router to be measured Filter out the front and back log of the information to match with predetermined key message.
Optionally, the pre-defined rule is regular expression.
Optionally, the predetermined key message includes at least: operation duration, reboot time, the number that cpu frequency is 0, nothing Whether line interface is normal or connection tracking table expires one of number or a variety of.
Optionally, the test log grabbing device is equipped with Python and/or Samba.
Optionally, the test log grabbing device is configured with USB interface, turns Serial Port Line for accessing USB.
In order to achieve the above objects and other related objects, the present invention provides a kind of applied to more wireless routers of test The method of system, comprising: each test log grabbing device grabs respectively corresponds connected wireless router to be measured therewith Test log grabs crucial test log accordingly, and is sent to server;Each crucial test log of server storage;It is logical It crosses management terminal and checks each crucial test log, find the mistake of each wireless router to be measured.
As described above, the system and method for more wireless routers of test of the invention, comprising: more test log crawls Device is connected with each wireless router one-to-one correspondence to be measured respectively, for obtaining the test log of each wireless router to be measured, according to To grab crucial test log;The key test log is associated with the number of corresponding wireless router to be measured;Server, and it is each Test log grabbing device is connected, for storing each crucial test log;Management terminal is connected to the server, for looking into Each crucial test log in the server is seen, to find the mistake of each wireless router to be measured.By obtaining crucial test Log improves testing efficiency;Realize the storage of crucial test log with a management terminal and check, reduce test at This.
Detailed description of the invention
Fig. 1 is shown as the system schematic of the more wireless routers of test in one embodiment of the invention;
Fig. 2 is shown as the method flow diagram of the more wireless routers of test in one embodiment of the invention.
Component label instructions
The system of 1 more wireless routers of test
11 test log grabbing devices
12 servers
13 management terminals
14 wireless routers
S1~S3 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 system 1 for testing more wireless routers, comprising: more test logs are grabbed Take device 11, server 12 and management terminal 13.More wireless routers 14 to be tested are external in system 1, specifically, respectively It is connected with each test log grabbing device 11 one-to-one correspondence.
Test log grabbing device 11 is used to obtain the whole test logs for the wireless router 14 being attached thereto, and therefrom Crucial test log is grabbed, the key test log is associated with corresponding wireless router number.That is, every to be measured Wireless router have oneself number, can identify this when obtaining crucial test log key test log is corresponding is Which platform wireless router.
In one embodiment, test log grabbing device 11 is equipped with Python and/or Samba.Python is for will be to It surveys 14 serial ports of wireless router to be output in file, to obtain whole test logs, therefrom for test log grabbing device 11 Grab crucial test log.Samba is used to crucial test log being uploaded to server 12.
In one embodiment, test log grabbing device 11 is the routing for being equipped with embedded Linux system Openwrt Device is grabbed using SMB agreement and transmits crucial test log.
It should be noted that the key test log are as follows: in the file of 14 serial ports of wireless router to be measured output (i.e. to Survey in the whole test logs of wireless router 14) the front and back log of information that is filtered out by pre-defined rule.Preferably, described predetermined Rule is to be matched the information in the file of the output with predetermined key message by regular expression, successful match The front and back log of information is crucial test log.The predetermined key message includes at least: operation duration, reboot time, CPU Number that frequency is 0, whether wireless interface is normal or connection tracking table expires one of number or a variety of.
In one embodiment, test log grabbing device 11 is configured with USB interface, turns Serial Port Line for accessing USB.
Server 12 is connected with each test log grabbing device 11, stores to each crucial test log.
Management terminal 13 is connected with server 12, can be the equipment such as computer, smart phone, for checking in server 12 Each crucial test log, and then find the mistake of each wireless router to be measured.Preferably, management terminal 13 is equipped with Samba.
Referring to Fig. 2, the present invention provides a kind of method of system 1 applied to more wireless routers of test, comprising:
Step S1: each test log grabbing device grabs acquisition respectively and corresponds connected wireless router to be measured therewith Test log, grab crucial test log accordingly, and be sent to server.Preferably, test log grabbing device 11 configures There is USB interface, turns Serial Port Line for accessing USB.
In one embodiment, the crucial test log of the crawl are as follows: by pre-defined rule from the test of wireless router to be measured The front and back log of the information to match with predetermined key message is filtered out in log.In one embodiment, the pre-defined rule is Regular expression.In one embodiment, the predetermined key message includes at least: operation duration, reboot time, cpu frequency 0 Number, whether wireless interface normal or connection tracking table expires one of number or a variety of.
Step S2: the server stores each crucial test log.
Step S3: each crucial test log is checked by management terminal, finds the mistake of each wireless router to be measured.
In conclusion the system and method for more wireless routers of test of the invention effectively overcome it is in the prior art Various shortcoming and have high industrial utilization 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 system for testing more wireless routers characterized by comprising
More test log grabbing devices are connected, for obtaining each nothing to be measured respectively with each wireless router one-to-one correspondence to be measured The test log of line router grabs crucial test log accordingly;The key test log is associated with corresponding no route to be measured By the number of device;
Server is connected with each test log grabbing device, for storing each crucial test log;
Management terminal is connected to the server, for checking each crucial test log in the server, with find respectively to Survey the mistake of wireless router;
The crucial test log of the crawl are as follows: filtered out and made a reservation for from the test log of wireless router to be measured by pre-defined rule The front and back log for the information that key message matches;
The test log grabbing device is equipped with Python and/or Samba.
2. the system of more wireless routers of test according to claim 1, which is characterized in that the test log crawl Device is the router for being equipped with embedded Linux system Openwrt.
3. the system of more wireless routers of test according to claim 1, which is characterized in that the pre-defined rule is positive Then expression formula.
4. the system of more wireless routers of test according to claim 3, which is characterized in that the predetermined key message Include at least: whether operation duration, reboot time, the number that cpu frequency is 0, wireless interface are normal or connection tracking table is full secondary One of number is a variety of.
5. the system of more wireless routers of test according to claim 1, which is characterized in that the test log crawl Device is configured with USB interface, turns Serial Port Line for accessing USB.
6. a kind of side applied to the system for testing more wireless routers as described in any claim in claim 1 to 5 Method characterized by comprising
Each test log grabbing device obtains the test log for corresponding connected wireless router to be measured therewith respectively, accordingly Crucial test log is grabbed, server is sent to;
Each crucial test log of server storage;
Each crucial test log is checked by management terminal, finds the mistake of each wireless router to be measured.
CN201510489473.7A 2015-08-11 2015-08-11 A kind of system and method for testing more wireless routers Active CN105007230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510489473.7A CN105007230B (en) 2015-08-11 2015-08-11 A kind of system and method for testing more wireless routers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510489473.7A CN105007230B (en) 2015-08-11 2015-08-11 A kind of system and method for testing more wireless routers

Publications (2)

Publication Number Publication Date
CN105007230A CN105007230A (en) 2015-10-28
CN105007230B true CN105007230B (en) 2019-07-16

Family

ID=54379756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510489473.7A Active CN105007230B (en) 2015-08-11 2015-08-11 A kind of system and method for testing more wireless routers

Country Status (1)

Country Link
CN (1) CN105007230B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703947A (en) * 2016-01-18 2016-06-22 深圳创维数字技术有限公司 Method for remotely debugging router, server, and router
CN106357477A (en) * 2016-09-26 2017-01-25 美的智慧家居科技有限公司 Distribution network test method and device
CN107612786B (en) * 2017-10-31 2020-12-22 台州智奥通信设备有限公司 Method and system for testing router
CN107957901A (en) * 2017-11-24 2018-04-24 郑州云海信息技术有限公司 A kind of method for capturing test node start daily record
CN108363667A (en) * 2018-02-27 2018-08-03 广州视源电子科技股份有限公司 Log information snatchs equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092754A (en) * 2013-01-07 2013-05-08 上海斐讯数据通信技术有限公司 Automatic test method of long distance multi-device condition
CN103619041A (en) * 2013-12-13 2014-03-05 南京智微亚通信科技有限公司 Method for testing handling capacity of CPE (customer premises equipment)
CN103780454A (en) * 2013-12-06 2014-05-07 重庆邮电大学 Distributed network performance measuring system and method based on access gateways
CN104065528A (en) * 2013-03-15 2014-09-24 美国网件公司 Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092754A (en) * 2013-01-07 2013-05-08 上海斐讯数据通信技术有限公司 Automatic test method of long distance multi-device condition
CN104065528A (en) * 2013-03-15 2014-09-24 美国网件公司 Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices
CN103780454A (en) * 2013-12-06 2014-05-07 重庆邮电大学 Distributed network performance measuring system and method based on access gateways
CN103619041A (en) * 2013-12-13 2014-03-05 南京智微亚通信科技有限公司 Method for testing handling capacity of CPE (customer premises equipment)

Also Published As

Publication number Publication date
CN105007230A (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN105007230B (en) A kind of system and method for testing more wireless routers
CN103150777B (en) A kind of movable attendance checking method and system
CN105302732B (en) A kind of automatic test approach and device of mobile terminal
CN103441864A (en) Method for monitoring illegal external connection of terminal equipment
CN104123213A (en) Remote SAS hard disk backboard managing system
CN104486413A (en) Information processing system
CN103684792B (en) A kind of safety certifying method and OAM message transmitting/receiving means of OAM
CN105553700A (en) Intelligent equipment fault identification detection and solution providing system
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN103281288B (en) A kind of SMSCallFilter system and method
US10136254B2 (en) Integration of wired information and wireless information to locate a wireless device
US20140115371A1 (en) Decommission of a Server in Wireless Environment
CN104517082B (en) Electric power data acquisition apparatus and method
US10949632B2 (en) Cable plugging guidance facility for a network
CN103379623A (en) WIFI positioning method in travel
CN203606462U (en) Burn in board
CN108712442B (en) Switch-in method of data acquisition end of power distribution cabinet and terminal equipment
CN105321058B (en) Method and terminal for searching device and device to be searched
CN104281541A (en) Serial port setting device and method of serial port device
CN204009160U (en) Intelligent substation optical cable standardization tag system
CN108123844A (en) It is distributed across a network formula test method and system
CN103399290B (en) A kind of electric energy meter information verification device
CN103378992A (en) Bus data testing method and device of home bus system
CN103546320B (en) A kind of docking calculation of the cross-linked data of transmission network based on SDH
CN205453848U (en) System is grouied busy to pronunciation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201130

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou 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: 20201215

Address after: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee after: Bengbu 309 Technology Consulting Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

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

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210202

Address after: 313001 room 1019, Xintiandi office building, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee before: Bengbu 309 Technology Consulting Co.,Ltd.