CN106162702A - Wireless aps maximum user connects number automated testing method and system - Google Patents

Wireless aps maximum user connects number automated testing method and system Download PDF

Info

Publication number
CN106162702A
CN106162702A CN201610683151.0A CN201610683151A CN106162702A CN 106162702 A CN106162702 A CN 106162702A CN 201610683151 A CN201610683151 A CN 201610683151A CN 106162702 A CN106162702 A CN 106162702A
Authority
CN
China
Prior art keywords
wireless aps
wireless network
card
network card
data transmission
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.)
Pending
Application number
CN201610683151.0A
Other languages
Chinese (zh)
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.)
Water Bear Co Ltd
Original Assignee
Water Bear 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 Water Bear Co Ltd filed Critical Water Bear Co Ltd
Priority to CN201610683151.0A priority Critical patent/CN106162702A/en
Publication of CN106162702A publication Critical patent/CN106162702A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of wireless aps maximum user and connect number automated testing method and system.Wireless aps maximum user connects number automated testing method and includes: is arranged on by least two wireless network card on test device, and makes described at least two wireless network card be connected by wireless network with wireless aps to be tested;Use automatic test scheme, control described at least two wireless network card and carry out data transmission with described wireless aps, to determine that the maximum user of described wireless aps connects number.Wireless aps maximum user connects in number automated testing method and system, by installing at least two wireless network card on test device, and makes wireless network card be communicated by wireless network with wireless aps, can improve accuracy and the reliability of test;Use automatic test scheme to control at least two wireless network card to carry out data transmission with wireless aps, it is ensured that improve testing efficiency, save testing cost, and the reliability that two wireless network cards and wireless aps carry out data transmission simultaneously can be ensured.

Description

Wireless aps maximum user connects number automated testing method and system
Technical field
The present invention relates to wireless aps field tests, particularly relate to a kind of wireless aps maximum user and connect number automatic test side Method and system.
Background technology
The communications such as along with the arrival of Internet information age, the rise of WLAN brings wireless aps, wireless network card Popularizing of product.Wireless aps (Wireless Access Point) i.e. WAP, it is for the switched wireless of wireless network Machine, is also the core of wireless network, mainly plays the part of wireless work business and wired local area network in medium access control layer MAC Bridge.Wireless router is the most conventional wireless aps.Wireless aps is the access point that mobile computer user enters cable network, It is mainly used in inside broadband home, inside buildings and garden, tens meters can be covered and apply to rice up to a hundred, currently mainly technology 802.1l series standard.
The quality assurance of product is that the existence of enterprise is basic, and the detection of product concerns product quality.In test wireless aps In maximum connection number of users aspect, it is the most all to connect wireless aps simulation test by virtual client or use manual type Test.Existing wireless aps maximum access customer number method of testing is tested under preferable wireless network, and true Under environment, situation is complex, and is to connect wireless aps by virtual multiple clients to test, and its result is with true visitor Family end connects the test result of wireless aps and there is difference, and therefore reliability is the highest.Wireless aps mould is connected by virtual client Intending in test mode, virtual environment is to test under preferable wireless network, and true environment is complex, by virtual Multiple clients connect wireless aps and test, and its test result has bigger difference with the result of test under true environment, can The highest by property and testing efficiency cannot be ensured.Manual method test mode includes: be pre-designed test case and by evaluating it After, tester perform test step by step according to the code described in test case, obtain actual result and expected result Relatively.Use manual testing's mode, a large amount of manpower, time and hardware resource need to be expended and testing efficiency is low.
Summary of the invention
The technical problem to be solved in the present invention is, tests wireless aps for using simulation test or manual testing's mode Deficiency existing for big connection number of users, it is provided that a kind of wireless aps maximum user connects number automated testing method and system.
The technical solution adopted for the present invention to solve the technical problems is: a kind of wireless aps maximum user connects number automatization Method of testing, including:
At least two wireless network card is arranged on test device, and makes described at least two wireless network card with to be tested Wireless aps is connected by wireless network;
Use automatic test scheme, control described at least two wireless network card and carry out data transmission with described wireless aps, To determine that the maximum user of described wireless aps connects number.
Preferably, described automatic test scheme includes comprehensive automatic test scheme and the automatic test side being incremented by Case;
Described wireless aps maximum user connects number automated testing method and also includes determining the step of automatic test scheme, The described step determining automatic test scheme includes:
Pre-setting initialization test parameter, described initialization test parameter includes preset signal strength;
Gather the current signal strength of described wireless aps, it is judged that whether described current signal strength is more than or equal to described pre- If signal intensity;
If described current signal strength is more than or equal to described preset signal strength, then use comprehensive automatic test side Case;
If described current signal strength is less than described preset signal strength, then use incremental automatic test scheme.
Preferably, use described comprehensive automatic test scheme, control described at least two wireless network card and described nothing Line AP carries out data transmission, to determine that the maximum user of described wireless aps connects number, including:
N number of described wireless network card is made to carry out data transmission with described wireless aps, it is judged that whether communication process occurs card, Wherein, N 2;
If there is card, the quantity the most every time updating N is N-1, and makes N number of described wireless network card enter with described wireless aps Row data are transmitted, and determine occur that the maximum user that quantity N is described wireless aps of card connects number the most again;
If there is not card, the quantity the most every time updating N is N+P, and repeats N number of described wireless network card and described nothing The step that line AP carries out data transmission;Wherein, N 2.
Preferably, use described incremental automatic test scheme, control described at least two wireless network card and described nothing Line AP carries out data transmission, to determine that the maximum user of described wireless aps connects number, including:
N number of described wireless network card is made to carry out data transmission with described wireless aps, it is judged that whether communication process occurs card, Wherein, N 2;
If card occurs, then N-1 being determined, the maximum user of described wireless aps connects number;
If there is not card, then the quantity updating N is N+1, and repeats N number of described wireless network card and described wireless aps The step carried out data transmission.
Preferably, also include that using multilink selection technique to control described at least two wireless network card enters with described wireless aps Row data are transmitted;
Described employing multilink selection technique controls described at least two wireless network card and carries out data biography with described wireless aps Defeated, including:
It is identified initial data forming mark data, and described mark data are transferred at least two by preset rules On individual wireless network card;
Each described wireless network card receives described mark data and abandons mark, described to be sent to by described initial data Wireless aps.
The present invention also provides for a kind of wireless aps maximum user and connects number automatization test system, including:
Test link block, at least two wireless network card is arranged on test device, and makes described at least two Wireless network card is connected by wireless network with wireless aps to be tested;
Automatic test module, is used for using automatic test scheme, controls described at least two wireless network card with described Wireless aps carries out data transmission, to determine that the maximum user of described wireless aps connects number.
Preferably, described automatic test scheme includes comprehensive automatic test scheme and the automatic test side being incremented by Case;
Described wireless aps maximum user connects number automatization test system and also includes that automatic test scheme determines module, institute State automatic test scheme and determine that module includes:
Test parameter presets submodule, is used for pre-setting initialization test parameter, and described initialization test parameter includes Preset signal strength;
Parameter current collection judges submodule, for gathering the current signal strength of described wireless aps, it is judged that described currently Whether signal intensity is more than or equal to described preset signal strength;
Integration scenario determines submodule, for being more than or equal to described preset signal strength at described current signal strength Time, use comprehensive automatic test scheme;
Escalation regimens determines submodule, for when described current signal strength is less than described preset signal strength, using The automatic test scheme being incremented by.
Preferably, described automatic test module includes that submodule is tested in comprehensive automation, described comprehensive for using Automatic test scheme, controls described at least two wireless network card and carries out data transmission with described wireless aps, to determine described nothing The maximum user of line AP connects number;Described comprehensive automation test submodule includes:
Comprehensive descision subelement, is used for making N number of described wireless network card carry out data transmission with described wireless aps, it is judged that communication During whether card, wherein, N 2 occur;
First integrated treatment subelement, for there is card immediately, the quantity every time updating N is N-1, and makes N number of institute State wireless network card to carry out data transmission with described wireless aps, determine occur the most again quantity N of card be described wireless aps Large user connects number;
Second integrated treatment subelement, for there is not card immediately, the quantity every time updating N is N+P, and repeats The step that N number of described wireless network card carries out data transmission with described wireless aps;Wherein, N 2.
Preferably, described automatic test module includes being incremented by automatic test submodule, described incremental for using Automatic test scheme, controls described at least two wireless network card and carries out data transmission with described wireless aps, to determine described nothing The maximum user of line AP connects number;Described incremental automatic test submodule includes:
It is incremented by judgment sub-unit, is used for making N number of described wireless network card carry out data transmission with described wireless aps, it is judged that communication During whether card, wherein, N 2 occur;
First is incremented by process subelement, for there is card immediately, N-1 determining, the maximum user of described wireless aps connects Number;
Second is incremented by process subelement, and for there is not card immediately, the quantity updating N is N+1, and repeats N number of The step that described wireless network card carries out data transmission with described wireless aps.
Preferably, also include that multilink selects module, be used for using multilink selection technique control described at least two without Gauze card carries out data transmission with described wireless aps;Described multilink selects module to include:
First data transmission submodule, identifies data for being identified initial data being formed, and by described mark number It is transferred at least two wireless network card according to by preset rules;
Second data transmission module, is additionally operable to make each described wireless network card receive described mark data and abandon mark Know, so that described initial data is sent to described wireless aps.
The present invention compared with prior art has the advantage that wireless aps maximum user provided by the present invention connects number certainly In dynamicization method of testing and system, by installing at least two wireless network card on test device, and make wireless network card with wireless AP is communicated by wireless network, can improve accuracy and the reliability of test;Use automatic test scheme and use chain Road selection technique controls at least two wireless network card and carries out data transmission with wireless aps, it is ensured that improve testing efficiency, saves and surveys Examination cost, and the reliability that two wireless network cards and wireless aps carry out data transmission simultaneously can be ensured.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the flow chart that in the embodiment of the present invention 1, wireless aps maximum user connects number automated testing method.
Fig. 2 is a local flow chart of the step determining automatic test scheme in the embodiment of the present invention 1.
Fig. 3 is the maximum user connection using comprehensive automatic test scheme to determine wireless aps in the embodiment of the present invention 1 One local flow chart of number.
Fig. 4 is the maximum user connection using incremental automatic test scheme to determine wireless aps in the embodiment of the present invention 1 One local flow chart of number.
Fig. 5 is the theory diagram that in the embodiment of the present invention 2, wireless aps maximum user connects number automatization test system.
Fig. 6 is a theory diagram of comprehensive automation test submodule in the embodiment of the present invention 2.
Fig. 7 is the theory diagram being incremented by automatic test submodule in the embodiment of the present invention 2.
In figure: 10, test link block;20, automatic test module;21, comprehensive automation test submodule;211, combine Close judgment sub-unit;212, the first integrated treatment subelement;213, the second integrated treatment subelement;22, it is incremented by automatic test Submodule;221, it is incremented by judgment sub-unit;222, first is incremented by process subelement;223, second is incremented by process subelement;30, certainly Dynamicization testing scheme determines module;31, test parameter presets submodule;32, parameter current collection judges submodule;33, comprehensive Scheme determines submodule;34, escalation regimens determines submodule;40, multilink selects module;41, first data transmission submodule; 42, the second data transmission module.
Detailed description of the invention
In order to be more clearly understood from the technical characteristic of the present invention, purpose and effect, now comparison accompanying drawing describes in detail The detailed description of the invention of the present invention.
Embodiment 1
Fig. 1 illustrates that the wireless aps maximum user in the present embodiment connects number automated testing method.As it is shown in figure 1, this nothing Line AP maximum user connects number automated testing method and includes:
S1: at least two wireless network card is arranged on test device, and make at least two wireless network card with to be tested Wireless aps is connected by wireless network.In the present embodiment, wireless network card is USB network card, and each USB network card is a client, with Realize at least two client to test under true environment, it is ensured that the accuracy of test result and reliability.This wireless aps Including but not limited to WiFi router, correspondingly, this wireless network is WiFi network.It is to be appreciated that can on test device Expanding multiple USB network card according to demand, each USM network interface card represents a link being connected with wireless aps by wireless network, can Individual transmission data.
S2: use automatic test scheme, controls at least two wireless network card and carries out data transmission with wireless aps, to determine The maximum user of wireless aps connects number.In the present embodiment, use automatic test scheme, multiple wireless network card and wireless aps can be made Carry out data transmission, improve the efficiency of automatic test.Further, automatic test scheme includes comprehensive automatic test Scheme and the automatic test scheme being incremented by.
It is to be appreciated that also included the step determining automatic test scheme before carrying out step S2, as in figure 2 it is shown, This determines that the step of automatic test scheme includes:
S01: pre-set initialization test parameter, initialization test parameter includes preset signal strength.Wherein, letter is preset Number intensity is the strongest, then illustrate that the performance of wireless aps is the best, and can carry out the maximum user of network service to be connected number the biggest with wireless aps.
Further, also include after step S01 judging that initialization test parameter is the most reasonable, if initialization test parameter Unreasonable, then reset initialization test parameter;If initialization test Rational Parameters, then perform step S02.Specifically, sentence Disconnected initialization test parameter is the most rationally by the peak signal of the preset signal strength in initialization test parameter Yu wireless aps Intensity compares, if preset signal strength is more than maximum signal, the most unreasonable;The most reasonable.
S02: gather the current signal strength of wireless aps, it is judged that current signal strength is the strongest more than or equal to preset signals Degree.This current signal strength refers in test process, and wireless aps and wireless network card are tested during carrying out wireless communication Signal intensity.
S03: if current signal strength is more than or equal to preset signal strength, then use comprehensive automatic test scheme. If it is to be appreciated that current signal strength is more than or equal to preset signal strength, then under explanation preset test environment, can be with wireless AP carries out the maximum user of network service and connects number relatively greatly, uses comprehensive automatic test scheme to be conducive to improving test effect Rate.
S04: if current signal strength is less than preset signal strength, then use incremental automatic test scheme.Can manage Xie Di, if current signal strength is less than preset signal strength, then under explanation preset test environment, can carry out network with wireless aps and lead to It is less that the maximum user of letter connects number, uses the automatic test scheme being incremented by be conducive to improving testing efficiency.
In a kind of detailed description of the invention, use comprehensive automatic test scheme, control at least two wireless network card with Wireless aps carries out data transmission, to determine that the maximum user of wireless aps connects number.As it is shown on figure 3, use comprehensive automatization to survey Examination scheme determines that the maximum user of wireless aps connects number and includes:
S21: make N number of wireless network card carry out data transmission with wireless aps, it is judged that whether card occurs in communication process, its In, N 2.Specifically, it is judged that whether communication process occurring, card includes: arranging network card and pause threshold values, this network card pauses Threshold values includes preset signal strength and corresponding default packet loss;Gather and obtain the current signal strength in communication process and work as Front packet loss;If current signal strength is more than or equal to preset packet loss less than or equal to preset signal strength and present packet loss Time, then assert in communication process that card occurs.
S22: if there is card, the quantity the most every time updating N is N-1, and makes N number of wireless network card and wireless aps number According to transmission, determine occur that the maximum user that quantity N is wireless aps of card connects number the most again.
S23: if there is not card, the quantity the most every time updating N is N+P, and repeats N number of wireless network card and wireless aps The step carried out data transmission;Wherein, N 2.
Owing to, in comprehensive automatic test scheme, current signal strength is more than or equal to preset signal strength, it is assumed that Under preset test environment, can carry out the maximum user of network service being connected number with wireless aps is 20, uses comprehensive automatization to survey When examination scheme is tested, preset N=2, P=10.In S21, as N=2, communication process does not occur card, jumps to Step S23, updates N=12;And continue executing with step S21, as N=12, communication process does not occur card, jump to step Rapid S23, updates N=22;And continue executing with step S21, as N=22, communication process occurs card, jumps to step S22, Update N=21;And continue executing with step S21, communication process occurs card, then jumps to step S22, update N=20;And continue , as N=20, there is not card in continuous execution step S21 in communication process, then the maximum that N=20 is defined as wireless aps is used Family connects number.
In another kind of detailed description of the invention, use the automatic test scheme being incremented by, control at least two wireless network card Carry out data transmission with wireless aps, to determine that the maximum user of wireless aps connects number.As shown in Figure 4, the automatization being incremented by is used Testing scheme determines that the maximum user of wireless aps connects number and includes:
S31: make N number of wireless network card carry out data transmission with wireless aps, it is judged that whether card occurs in communication process, its In, N 2.Specifically, it is judged that whether communication process occurring, card includes: arranging network card and pause threshold values, this network card pauses Threshold values includes preset signal strength and corresponding default packet loss;Gather and obtain the current signal strength in communication process and work as Front packet loss;If current signal strength is more than or equal to preset packet loss less than or equal to preset signal strength and present packet loss Time, then assert in communication process that card occurs.
S32: if card occurs, then N-1 being determined, the maximum user of wireless aps connects number.
S33: if there is not card, then the quantity updating N is N+1, and repeats N number of wireless network card and carry out with wireless aps The step of data transmission.
Owing to, in incremental automatic test scheme, current signal strength is less than preset signal strength, it is assumed that currently survey Under test ring border, can carry out the maximum user of network service being connected number with wireless aps is 5, uses the automatic test scheme being incremented by enter During row test, preset N=2.In S31, as N=2, communication process does not occur card, jump to step S33, update N= 3;And continue executing with step S31, as N=3, communication process does not occur card, jump to step S33, update N=4;And Continue executing with step S31, as N=4, communication process does not occur card, jump to step S33, update N=5;And continue Perform step S31, communication process occurs card, jumps to step S32, then N=5 is defined as the maximum user of wireless aps even Connect number.
Specifically, link selection technical controlling at least two wireless network card is used to carry out data transmission with wireless aps, with really Protect multiple client to carry out data transmission with wireless aps simultaneously.Specifically, use link selection technical controlling at least two without Gauze card and wireless aps carry out data transmission comprising the steps: initial data is identified being formed mark data, and will mark Know data to be transferred at least two wireless network card by preset rules;Each wireless network card receives mark data and abandons mark, So that initial data is sent to wireless aps.In the present embodiment, each wireless network card has unique MAC Address, to each to be passed Defeated initial data is identified the mark data formed, and this identification data packet includes initial data and is associated with initial data Mark;Wherein, mark can stochastic generation.This preset rules includes the data distribution list being made up of some data distribution information, often One data distribution information is associated with the MAC Address of the mark in mark data and wireless network card, will identify data by presetting When regular transmission is at least two wireless network card, mark data corresponding for the mark in each data distribution information are transferred to On the wireless network card that MAC Address is corresponding, the while of to realize multiple data and it is transmitted in an orderly manner, to improve test automatically Efficiency.Further, after each wireless network card receives mark data, the mark of mark data need to be abandoned, original to obtain Data are also sent to wireless aps by wireless network, to avoid wireless aps to receive the mark data of tape identification, it is impossible to identify it In mark.
The wireless aps maximum user that the present embodiment is provided connects in number automated testing method, by test device At least two wireless network card is installed, and makes wireless network card be communicated by wireless network with wireless aps, the standard of test can be improved Really property and reliability;Use automatic test scheme and use link selection technical controlling at least two wireless network card and wireless aps Carry out data transmission, it is ensured that improve testing efficiency, save testing cost, and can ensure that two wireless network cards are with wireless aps simultaneously The reliability carried out data transmission.
Embodiment 2
Fig. 5 illustrates that the wireless aps maximum user in the present embodiment connects number automatization test system.As in figure 2 it is shown, this nothing Line AP maximum user connects number automatization test system and includes testing link block 10 and automatic test module 20.
Test link block 10, at least two wireless network card being arranged on test device, and make at least two without Gauze card is connected by wireless network with wireless aps to be tested.In the present embodiment, wireless network card is USB network card, each USB net Card is a client, tests realizing at least two client under true environment, it is ensured that the accuracy of test result and Reliability.This wireless aps includes but not limited to WiFi router, and correspondingly, this wireless network is WiFi network.It is to be appreciated that Can expand multiple USB network card according to demand on test device, each USM network interface card represents one and passes through wireless network with wireless aps The link connected, can individual transmission data.
Automatic test module 20, is used for using automatic test scheme, controls at least two wireless network card and wireless aps Carry out data transmission, to determine that the maximum user of wireless aps connects number.In the present embodiment, use automatic test scheme, can make Multiple wireless network cards carry out data transmission with wireless aps, improve the efficiency of automatic test.Further, automatic test scheme Including comprehensive automatic test scheme and incremental automatic test scheme.
Also include and automatic test module it is to be appreciated that this wireless aps maximum user connects number automatization test system The 20 automatic test schemes being connected determine module 30.As it is shown in figure 5, automatic test scheme determines that module 30 includes:
Test parameter presets submodule 31, is used for pre-setting initialization test parameter, and initialization test parameter includes pre- If signal intensity.Wherein, preset signal strength is the strongest, then illustrate that the performance of wireless aps is the best, can carry out network with wireless aps and lead to It is the biggest that the maximum user of letter connects number.
Further, test parameter is preset submodule 31 and is additionally operable to judge that initialization test parameter is the most reasonable, if initially Change test parameter unreasonable, then reset initialization test parameter;If initialization test Rational Parameters, then jump to currently join Number gathers and judges submodule 32.Specifically, it is judged that initialization test parameter is the most rationally pre-by initialization test parameter If signal intensity compares with the maximum signal of wireless aps, if preset signal strength is more than maximum signal, the most not Rationally;The most reasonable.
Parameter current collection judges submodule 32, for gathering the current signal strength of wireless aps, it is judged that current demand signal is strong Whether degree is more than or equal to preset signal strength.This current signal strength refers in test process, wireless aps and wireless network card The signal intensity tested during carrying out wireless communication.
Integration scenario determines submodule 33, for when current signal strength is more than or equal to preset signal strength, using Comprehensive automatic test scheme.If it is to be appreciated that current signal strength is more than or equal to preset signal strength, then explanation is worked as Under front test environment, the maximum user that can carry out network service with wireless aps is connected number relatively greatly, uses comprehensive automatic test Scheme is conducive to improving testing efficiency.
Escalation regimens determines submodule 34, and for when current signal strength is less than preset signal strength, employing is incremented by Automatic test scheme.If it is to be appreciated that current signal strength is less than preset signal strength, then preset test environment being described Under, can carry out the maximum user of network service to be connected number less with wireless aps, uses the automatic test scheme being incremented by be conducive to Improve testing efficiency.
In a kind of detailed description of the invention, automatic test module 20 includes that submodule 21 is tested in comprehensive automation, is used for Use comprehensive automatic test scheme, control at least two wireless network card and carry out data transmission with wireless aps, wireless to determine The maximum user of AP connects number.As shown in Figure 6, comprehensive automation test submodule 21 specifically include comprehensive descision subelement 211, First integrated treatment subelement 212 and the second integrated treatment subelement 213.
Comprehensive descision subelement 211, is used for making N number of wireless network card carry out data transmission with wireless aps, it is judged that communication process In whether card, wherein, N 2 occur.Specifically, it is judged that whether communication process occurring, card includes: network card is set Threshold values, this network card threshold values that pauses includes preset signal strength and corresponding default packet loss;Gather and obtain in communication process Current signal strength and present packet loss;If current signal strength is big less than or equal to preset signal strength and present packet loss In or equal to when presetting packet loss, then assert in communication process that card occurs.
First integrated treatment subelement 212, for there is card immediately, the quantity every time updating N is N-1, and makes N number of Wireless network card carries out data transmission with wireless aps, determines that the maximum user that quantity N is wireless aps occurring card the most again connects Number.
Second integrated treatment subelement 213, for there is not card immediately, the quantity every time updating N is N+P, and Repeat the step that N number of wireless network card carries out data transmission with wireless aps;Wherein, N 2.
Owing to, in comprehensive automatic test scheme, current signal strength is more than or equal to preset signal strength, it is assumed that Under preset test environment, can carry out the maximum user of network service being connected number with wireless aps is 20, uses comprehensive automatization to survey When examination scheme is tested, preset N=2, P=10.As N=2, comprehensive descision subelement 211 judges do not have in communication process Card occurs, jumps to the second integrated treatment subelement 213, update N=12;And continue executing with comprehensive descision subelement 211, when During N=12, communication process does not occur card, jump to the second integrated treatment subelement 213, update N=22;And continue to hold , as N=22, there is card, jumps to the first integrated treatment subelement 212 in row comprehensive descision subelement 211 in communication process, Update N=21;And continue executing with the first integrated treatment subelement 212, communication process occurs card, then it is comprehensive to jump to first Process subelement 212, update N=20;And continue executing with the first integrated treatment subelement 212, as N=20, in communication process Card do not occur, then the maximum user that N=20 is defined as wireless aps connects number.
In another kind of detailed description of the invention, automatic test module 20 includes being incremented by automatic test submodule 22, uses In using the automatic test scheme being incremented by, control at least two wireless network card and carry out data transmission with wireless aps, to determine nothing The maximum user of line AP connects number.As it is shown in fig. 7, be incremented by automatic test submodule 22 to specifically include incremental judgment sub-unit 221, first is incremented by process subelement 222 and the second incremental process subelement 223.
It is incremented by judgment sub-unit 221, is used for making N number of wireless network card carry out data transmission with wireless aps, it is judged that communication process In whether card, wherein, N 2 occur.Specifically, it is judged that whether communication process occurring, card includes: network card is set Threshold values, this network card threshold values that pauses includes preset signal strength and corresponding default packet loss;Gather and obtain in communication process Current signal strength and present packet loss;If current signal strength is big less than or equal to preset signal strength and present packet loss In or equal to when presetting packet loss, then assert in communication process that card occurs.
First is incremented by process subelement 222, for there is card immediately, N-1 determining, the maximum user of wireless aps connects Number.
Second is incremented by process subelement 223, and for there is not card immediately, the quantity updating N is N+1, and repeats N The step that individual wireless network card and wireless aps carry out data transmission.
Owing to, in incremental automatic test scheme, current signal strength is less than preset signal strength, it is assumed that currently survey Under test ring border, can carry out the maximum user of network service being connected number with wireless aps is 5, uses the automatic test scheme being incremented by enter During row test, preset N=2.As N=2, it is incremented by judgment sub-unit 221 communication process and card does not occur, jump to second It is incremented by and processes subelement 223, update N=3;And continue executing with incremental judgment sub-unit 221, as N=3, communication process does not has Occur card, jump to second and be incremented by process subelement 223, update N=4;And continue executing with incremental judgment sub-unit 221, As N=4, communication process does not occur card, jump to second and be incremented by process subelement 223, update N=5;And continue to hold , there is card in the incremental judgment sub-unit 221 of row in communication process, jump to first and be incremented by process subelement 222, then N=5 is true The maximum user being set to wireless aps connects number.
Specifically, wireless aps maximum user connects number automatization test system and also includes that multilink selects module 40, is used for Link selection technical controlling at least two wireless network card is used to carry out data transmission with wireless aps, to determine that multiple client can be with Wireless aps carries out data transmission simultaneously.Specifically, multilink selects module 40 to include first data transmission submodule 41 and second Data transmission module 42.Wherein, first data transmission submodule 41, identify number for being identified initial data being formed According to, and mark data are transferred at least two wireless network card by preset rules.Second data transmission module 42, is used for making Each wireless network card receives mark data and abandons mark, so that initial data is sent to wireless aps.In the present embodiment, Mei Yiwu Gauze card has unique MAC Address, and each initial data waiting for transmission is identified the mark data formed, this mark number According to including initial data and the mark being associated with initial data;Wherein, mark can stochastic generation.If this preset rules include by The data distribution list of dry data distribution information composition, each data distribution information and the mark in mark data and wireless network card MAC Address is associated, when mark data are transferred at least two wireless network card by preset rules, by each data distribution letter Mark data corresponding to mark in breath are transferred on the wireless network card that MAC Address is corresponding, the while of to realize multiple data and It is transmitted in an orderly manner, to improve the efficiency of test automatically.Further, after each wireless network card receives mark data, need The mark of mark data is abandoned, to obtain initial data and to be sent to wireless aps by wireless network, to avoid wireless aps to connect Receive the mark data of tape identification, it is impossible to identify mark therein.
The wireless aps maximum user that the present embodiment is provided connects in number automatization test system, by test device At least two wireless network card is installed, and makes wireless network card be communicated by wireless network with wireless aps, the standard of test can be improved Really property and reliability;Use automatic test scheme and use link selection technical controlling at least two wireless network card and wireless aps Carry out data transmission, it is ensured that improve testing efficiency, save testing cost, and can ensure that two wireless network cards are with wireless aps simultaneously The reliability carried out data transmission.
The present invention is illustrated by several specific embodiments, it will be appreciated by those skilled in the art that, without departing from In the case of the scope of the invention, it is also possible to the present invention is carried out various conversion and equivalent substitutes.It addition, for particular condition or tool Body situation, can make various amendment, without deviating from the scope of the present invention to the present invention.Therefore, the present invention is not limited to disclosed Specific embodiment, and the whole embodiments fallen within the scope of the appended claims should be included.

Claims (10)

1. a wireless aps maximum user connects number automated testing method, it is characterised in that including:
At least two wireless network card is arranged on test device, and makes described at least two wireless network card wireless with to be tested AP is connected by wireless network;
Use automatic test scheme, control described at least two wireless network card and carry out data transmission with described wireless aps, with really The maximum user of fixed described wireless aps connects number.
The most according to claim 1, wireless aps maximum user connects number automated testing method, it is characterised in that described automatically Change testing scheme and include comprehensive automatic test scheme and the automatic test scheme being incremented by;
Described wireless aps maximum user connects number automated testing method and also includes determining the step of automatic test scheme, described Determine that the step of automatic test scheme includes:
Pre-setting initialization test parameter, described initialization test parameter includes preset signal strength;
Gather the current signal strength of described wireless aps, it is judged that whether described current signal strength is more than or equal to described default letter Number intensity;
If described current signal strength is more than or equal to described preset signal strength, then use comprehensive automatic test scheme;
If described current signal strength is less than described preset signal strength, then use incremental automatic test scheme.
The most according to claim 2, wireless aps maximum user connects number automated testing method, it is characterised in that use described Comprehensive automatic test scheme, controls described at least two wireless network card and carries out data transmission with described wireless aps, to determine The maximum user of described wireless aps connects number, including:
N number of described wireless network card is made to carry out data transmission with described wireless aps, it is judged that whether communication process occurs card, its In, N 2;
If there is card, the quantity the most every time updating N is N-1, and makes N number of described wireless network card and described wireless aps number According to transmission, determine occur that the maximum user that quantity N is described wireless aps of card connects number the most again;
If there is not card, the quantity the most every time updating N is N+P, and repeats N number of described wireless network card and described wireless aps The step carried out data transmission;Wherein, N 2.
The most according to claim 2, wireless aps maximum user connects number automated testing method, it is characterised in that use described The automatic test scheme being incremented by, controls described at least two wireless network card and carries out data transmission with described wireless aps, to determine The maximum user of described wireless aps connects number, including:
N number of described wireless network card is made to carry out data transmission with described wireless aps, it is judged that whether communication process occurs card, its In, N 2;
If card occurs, then N-1 being determined, the maximum user of described wireless aps connects number;
If there is not card, then the quantity updating N is N+1, and repeats N number of described wireless network card and carry out with described wireless aps The step of data transmission.
5. state wireless aps maximum user according to any one of claim 1-4 and connect number automated testing method, it is characterised in that also Carry out data transmission with described wireless aps including using multilink selection technique to control described at least two wireless network card;
Described employing multilink selection technique controls described at least two wireless network card and carries out data transmission with described wireless aps, bag Include:
Initial data is identified formed mark data, and by described mark data by preset rules be transferred at least two without On gauze card;
Each described wireless network card receives described mark data and abandons mark, described wireless to be sent to by described initial data AP。
6. a wireless aps maximum user connects number automatization test system, it is characterised in that including:
Test link block, at least two wireless network card is arranged on test device, and makes described at least two wireless Network interface card is connected by wireless network with wireless aps to be tested;
Automatic test module, is used for using automatic test scheme, controls described at least two wireless network card wireless with described AP carries out data transmission, to determine that the maximum user of described wireless aps connects number.
The most according to claim 6, wireless aps maximum user connects number automatization test system, it is characterised in that described automatically Change testing scheme and include comprehensive automatic test scheme and the automatic test scheme being incremented by;
Described wireless aps maximum user connects number automatization test system and also includes that automatic test scheme determines module, described from Dynamicization testing scheme determines that module includes:
Test parameter presets submodule, is used for pre-setting initialization test parameter, and described initialization test parameter includes presetting Signal intensity;
Parameter current collection judges submodule, for gathering the current signal strength of described wireless aps, it is judged that described current demand signal Whether intensity is more than or equal to described preset signal strength;
Integration scenario determines submodule, for when described current signal strength is more than or equal to described preset signal strength, adopting By comprehensive automatic test scheme;
Escalation regimens determines submodule, for when described current signal strength is less than described preset signal strength, using and be incremented by Automatic test scheme.
The most according to claim 7, wireless aps maximum user connects number automatization test system, it is characterised in that described automatically Change test module and include that submodule is tested in comprehensive automation, for using described comprehensive automatic test scheme, control described At least two wireless network card carries out data transmission with described wireless aps, to determine that the maximum user of described wireless aps connects number;Institute State comprehensive automation test submodule to include:
Comprehensive descision subelement, is used for making N number of described wireless network card carry out data transmission with described wireless aps, it is judged that communication process In whether card, wherein, N 2 occur;
First integrated treatment subelement, for there is card immediately, the quantity every time updating N is N-1, and makes N number of described nothing Gauze card carries out data transmission with described wireless aps, determines that the maximum that quantity N is described wireless aps occurring card the most again is used Family connects number;
Second integrated treatment subelement, for there is not card immediately, the quantity every time updating N is N+P, and repeats N number of The step that described wireless network card carries out data transmission with described wireless aps;Wherein, N 2.
The most according to claim 7, wireless aps maximum user connects number automatization test system, it is characterised in that described automatically Change test module to include being incremented by automatic test submodule, for using described incremental automatic test scheme, control described At least two wireless network card carries out data transmission with described wireless aps, to determine that the maximum user of described wireless aps connects number;Institute State incremental automatic test submodule to include:
It is incremented by judgment sub-unit, is used for making N number of described wireless network card carry out data transmission with described wireless aps, it is judged that communication process In whether card, wherein, N 2 occur;
First is incremented by process subelement, for there is card immediately, N-1 determining, the maximum user of described wireless aps connects number;
Second is incremented by process subelement, and for there is not card immediately, the quantity updating N is N+1, and repeats N number of described The step that wireless network card carries out data transmission with described wireless aps.
10. state wireless aps maximum user according to any one of claim 6-9 and connect number automatization test system, it is characterised in that Also include that multilink selects module, be used for using multilink selection technique to control described at least two wireless network card wireless with described AP carries out data transmission;Described multilink selects module to include:
First data transmission submodule, identifies data for being identified initial data being formed, and described mark data is pressed Preset rules is transferred at least two wireless network card;
Second data transmission module, is additionally operable to make each described wireless network card receive described mark data and abandon mark, with Described initial data is sent to described wireless aps.
CN201610683151.0A 2016-08-18 2016-08-18 Wireless aps maximum user connects number automated testing method and system Pending CN106162702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610683151.0A CN106162702A (en) 2016-08-18 2016-08-18 Wireless aps maximum user connects number automated testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610683151.0A CN106162702A (en) 2016-08-18 2016-08-18 Wireless aps maximum user connects number automated testing method and system

Publications (1)

Publication Number Publication Date
CN106162702A true CN106162702A (en) 2016-11-23

Family

ID=57330797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610683151.0A Pending CN106162702A (en) 2016-08-18 2016-08-18 Wireless aps maximum user connects number automated testing method and system

Country Status (1)

Country Link
CN (1) CN106162702A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107182080A (en) * 2017-06-16 2017-09-19 锐捷网络股份有限公司 A kind of method and apparatus of the speed of adaptive configuration in a wireless local area network
CN109491899A (en) * 2018-10-23 2019-03-19 深圳市吉祥腾达科技有限公司 A kind of method for testing reliability of Wireless Communication Equipment multiple terminals attack
CN109511127A (en) * 2018-12-29 2019-03-22 重庆芯讯通无线科技有限公司 The test device of the maximum terminal access quantity of wireless router

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067228A (en) * 2013-01-17 2013-04-24 中国联合网络通信集团有限公司 Access point (AP) maximum accessing user number testing method and device
CN105813075A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Method used to establish communication connection between site and access point, access point and site

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067228A (en) * 2013-01-17 2013-04-24 中国联合网络通信集团有限公司 Access point (AP) maximum accessing user number testing method and device
CN105813075A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Method used to establish communication connection between site and access point, access point and site

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107182080A (en) * 2017-06-16 2017-09-19 锐捷网络股份有限公司 A kind of method and apparatus of the speed of adaptive configuration in a wireless local area network
CN107182080B (en) * 2017-06-16 2020-01-21 锐捷网络股份有限公司 Method and device for adaptively configuring rate in wireless local area network
CN109491899A (en) * 2018-10-23 2019-03-19 深圳市吉祥腾达科技有限公司 A kind of method for testing reliability of Wireless Communication Equipment multiple terminals attack
CN109511127A (en) * 2018-12-29 2019-03-22 重庆芯讯通无线科技有限公司 The test device of the maximum terminal access quantity of wireless router

Similar Documents

Publication Publication Date Title
CN105764024B (en) A kind of test method and device of wireless device handling capacity
CN104184617B (en) InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment
CN103686813B (en) Device and method for testing automatic switching stability of wireless AP (access point) channel
CN107071912B (en) Method and device for distributing channels in wireless local area network
US9282477B2 (en) Modifying log files and playback files used for wireless network emulation
TW595159B (en) Load balancing method of wireless local area network
CN107864490A (en) Client roaming in distributed multi-band wireless network system
CN104852937B (en) Method for network access and device for mobile application
CN109104329B (en) System for testing compatibility of router and network card
CN106452620A (en) Method and system of testing receptivity of wireless terminal
CN106162702A (en) Wireless aps maximum user connects number automated testing method and system
CN106973401A (en) A kind of detection suppressing method for being directed to rogue AP in wireless networking environment
CN104486791A (en) Wireless access equipment anti-interference test system and method
CN106162829A (en) WIFI method of attachment and device
CN109327350A (en) A kind of batch carries out the method and apparatus and system of terminal test
CN108896841A (en) Test macro, test method and device
CN104735687B (en) A kind of single verification service test method and device of standing
CN105848181A (en) Base station, user equipment, and channel selection method thereof
CN109618363A (en) Mobile gateway test macro and method
CN103781188A (en) Virtual network card constructing method and electronic equipment
CN105629949B (en) A kind of test control method of distributed test system
CN107404731A (en) The test system and method for testing of wireless communication module
CN103152801B (en) The method and apparatus being connected is set up with wireless access device
CN104869580A (en) Radio frequency automation test system and method
CN109828910A (en) Method and device, the computer equipment, storage medium of monkey test

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication