CN108712300A - A kind of automated testing method and system of smart machine distribution - Google Patents
A kind of automated testing method and system of smart machine distribution Download PDFInfo
- Publication number
- CN108712300A CN108712300A CN201810283980.9A CN201810283980A CN108712300A CN 108712300 A CN108712300 A CN 108712300A CN 201810283980 A CN201810283980 A CN 201810283980A CN 108712300 A CN108712300 A CN 108712300A
- Authority
- CN
- China
- Prior art keywords
- test
- terminal device
- distribution
- router
- devices
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 254
- 238000005259 measurement Methods 0.000 claims description 26
- 238000007619 statistical method Methods 0.000 claims description 16
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 17
- 238000000034 method Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000032258 transport Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of automated testing methods and system of smart machine distribution, including:S100 chooses the purpose router and purpose terminal device of cooperation from the router of alternative different model and the terminal device of different model;The distribution information of the purpose router of selection is sent to purpose terminal device by S200;S300 controls purpose terminal device and sends distribution information to smart machine to be measured, is connect so that Devices to test carries out distribution according to the distribution information received, with purpose router;S400 judge between Devices to test and purpose router whether distribution successful connection.The present invention can be directed to the prior art does not consider that distribution compatibility test so that the qualified Devices to test of compatibility can match most terminal devices and router once launching in terms of distribution, and compatibility is extremely strong.
Description
Technical field
The present invention relates to the automated testing method of smart machine testing field more particularly to a kind of smart machine distribution and
System.
Background technology
With flourishing for smart machine, the smart machine of various form is emerged in the market, such as:Intelligent sound
Case, intelligent electric appliance, intelligent socket etc..All there are one general character in use for all smart machines, i.e., during use, first
Step is to match net operation.It is arranged by mobile phone, so that the router in smart machine and network is established stable connection, and pass through
Router interaction data stream.Therefore, the compatibility of the compatibility of smart machine and mobile phone, smart machine and router is all heavy to closing
It wants, can this affects smart machine be adapted to most of mobile phone and router on the market, determine that the smart machine exists
Life and death in the market.
But the test method and system of existing smart machine distribution do not set intelligence all mainly for distribution success rate
The compatibility of standby compatibility with mobile phone, smart machine and router is tested;And existing test is required for manual operation, when accompanying
In the case of measurement equipment high number, testing efficiency is slowly error-prone, influences testing efficiency and accuracy.
Invention content
In order to solve drawbacks described above, the present invention provides a kind of automated testing method and system of smart machine distribution,
Specific technical solution is as follows:
A kind of automated testing method of smart machine distribution, includes the following steps:S100 is from alternative different model
The purpose router and purpose terminal device of cooperation are chosen in router and the terminal device of different model;S200 is by the institute of selection
The distribution information for stating purpose router is sent to the purpose terminal device;S300 controls the purpose terminal device to intelligence to be measured
Energy equipment sends the distribution information, so that the Devices to test is route according to the distribution information received with the purpose
Device carries out distribution connection;S400 judge between the Devices to test and the purpose router whether distribution successful connection.
Further, the step S100 includes:S110 chooses mesh from the terminal device of the alternative different model
Terminal device;S120 judges whether the purpose terminal device currently chosen had coordinated with all alternate routing devices;If so,
Then follow the steps S130;Otherwise, step S150 is executed;Also whether S130 judge in the terminal device of the alternative different model
There is the terminal device not taken one's test;If so, thening follow the steps S140;Otherwise, step S600 is executed;S140 is not participated in described
It crosses in the terminal device of test, chooses terminal device terminal device as a purpose again, and from the alternate routing device
Router router as a purpose is chosen, step S200 is executed;S150 is on the road not yet coordinated with the terminal device
By in device, choosing router router as a purpose, step S200 is then executed;S600 terminates the automation of this distribution
Test.
Further, further comprising the steps of after step S400:S500 records test result, removes Devices to test
Distribution information, and return to step S110.
Further, further comprising the steps of before step S400 after step S300:S350 judges the Devices to test
Whether the distribution information of purpose routing that the purpose terminal device send can be received;If so, thening follow the steps S400;
Otherwise, judge the Devices to test distribution failure, execute step S500.
Further, the epicycle test result recorded in the step S500 includes:The model of the purpose router is believed
Breath, the type information of the purpose terminal device and the Devices to test whether the successful information of distribution.
Further, further include after the step S600:S700 analyzes institute according to often taking turns the test result of test
The compatible or described Devices to test and the terminal of the different model for stating Devices to test and the router of the different model are set
Standby compatibility.
On the other hand, the present invention provides a kind of automatization test system of smart machine distribution, including:Choose module, hair
Send module, control module and distribution judgment module, the control module respectively with the selection module, the sending module and institute
It states distribution judgment module to be connected, wherein the selection module is used for the router from alternative different model and each terminal device
The middle purpose router and purpose terminal device for choosing cooperation;The sending module is used under the control of the control module,
The distribution information of the purpose router of selection is sent into the purpose terminal device;The control module, for controlling
It states purpose terminal device and sends the distribution information to smart machine to be measured, so that the Devices to test described is matched according to what is received
Net information carries out distribution with the purpose router and connect;The distribution judgment module, for judging the Devices to test and institute
State between purpose router whether distribution successful connection.
Further, the selection module includes:Measurement equipment selection unit, the first judging unit and second is accompanied to judge list
Member, it is described that measurement equipment selection unit, the first judging unit and second judgment unit is accompanied to be sequentially connected, and described measurement equipment is accompanied to choose
Unit is also connect with second judgment unit, wherein:It is described to accompany measurement equipment selection unit, it is used for from the alternative different model
Purpose terminal device is chosen in terminal device;First judging unit, the purpose terminal device for judging currently to choose are
It is no to coordinate with all alternate routing devices;The second judgment unit, for judging currently when first judging unit
The purpose terminal device of selection is out-of-date with all alternate routing device cooperations, judges that the terminal of the alternative different model is set
Whether there is the terminal device not taken one's test in standby;It is described to accompany measurement equipment selection unit, it is additionally operable to sentence when the second unit
When also having the terminal device not taken one's test in the terminal device for the alternative different model of breaking, test was not participated in described
Terminal device in, choose terminal device terminal device as a purpose again, and one is chosen from the alternate routing device
A router router as a purpose, so that the distribution information of the purpose router of selection is sent to by the sending module
The purpose terminal device;It is described to accompany measurement equipment selection unit, it is additionally operable to work as what first judging unit judgement was currently chosen
Purpose terminal device is not also out-of-date with all alternate routing device cooperations, and purpose router is chosen from the alternate routing device,
So that the distribution information of the purpose router of selection is sent to the purpose terminal device by the sending module;The control
Molding block is additionally operable to not participate in survey in second judgment module judges the terminal device of the alternative different model
When the terminal device of examination, terminate the automatic test of this distribution.
Further, further include logging modle, the logging modle respectively with the distribution judgment module and the control
Module connects, the distribution judgment module, is additionally operable to control the purpose terminal device to intelligence to be measured when the control module
After equipment sends the distribution information, judge that can the Devices to test receive the mesh that the purpose terminal device is sent
Routing distribution information;When the distribution judgment module judges that the Devices to test can receive the purpose terminal device hair
When the distribution information of the purpose router sent, the distribution judgment module judges the Devices to test distribution success;Work as institute
It states distribution judgment module and judges that the Devices to test cannot receive the purpose router that the purpose terminal device is sent
Distribution information when, the distribution judgment module judges Devices to test distribution failure;The logging modle, for according to institute
State the distribution connection result of distribution judgment module judgement, the test result of record epicycle test;The control module is additionally operable to work as
After the logging modle has recorded the test result of the epicycle test, the distribution information of the Devices to test is removed.
Further, further include statistical analysis module, the statistical analysis module respectively with the logging modle and described
Control module connects, wherein the statistical analysis module, the test knot for often taking turns test for being recorded according to the logging modle
Fruit, counts the distribution success rate of the automatic test of this distribution, and analyzes the road of the Devices to test and the different model
By the compatibility of the terminal device of the compatible or described Devices to test and different model of device.
The present invention at least has with the next item down technique effect:
(1) automated testing method and system of a kind of smart machine distribution proposed by the present invention can be directed to existing skill
The distribution compatibility that art does not account for is tested, and is surveyed terminal and router by largely accompanying, is carried out one by one to exhaustive
Matching test so that the qualified Devices to test of compatibility can match most terminals once launching in terms of distribution
Equipment and router, compatibility are extremely strong.
(2) automated testing method and system of a kind of smart machine distribution proposed by the present invention, is full-automatic testing, only
A lot of router, terminal device need to be provided, you can device under test carries out automation distribution test, and whole process is grasped without manpower
Make, release human resources, improves the efficiency of smart machine distribution test.
(3) automated testing method and system of a kind of smart machine distribution proposed by the present invention, system structure is simple, no
It is cumbersome, it can easily realize, and the functions such as statistics success rate, single-wheel distribution length of testing speech can be automatically performed, make one mesh of test result
It is clear, tester is facilitated to check, count.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of flow chart of an embodiment of the automated testing method of smart machine distribution of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of the automated testing method of smart machine distribution of the present invention;
Fig. 3 is a kind of flow chart of another embodiment of the automated testing method of smart machine distribution of the present invention;
Fig. 4 is a kind of flow chart of another embodiment of the automated testing method of smart machine distribution of the present invention;
Fig. 5 is a kind of flow chart of another embodiment of the automated testing method of smart machine distribution of the present invention;
Fig. 6 is a kind of structure diagram of an embodiment of the automatization test system of smart machine distribution of the present invention;
Fig. 7 is a kind of structure diagram of another embodiment of the automatization test system of smart machine distribution of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
A kind of one embodiment of the automated testing method of smart machine distribution provided by the invention, shown referring to Fig.1, packet
Include following steps:
S100 chooses the purpose routing of cooperation from the router of alternative different model and the terminal device of different model
Device and purpose terminal device;
The distribution information of the purpose router of selection is sent to the purpose terminal device by S200;
S300 controls the purpose terminal device and sends the distribution information to smart machine to be measured, to be measured is set so that described
The distribution information that standby basis receives carries out distribution with the purpose router and connect;
S400 judge between the Devices to test and the purpose router whether distribution successful connection.
Specifically, the test machine of Run Script, after running the distribution test script, meeting is first from the router of different model
With a purpose router and purpose terminal device are respectively chosen in the terminal device of different model.And when choosing, it can pass through
Certain method identifies different router and terminal device, such as:It, can be according to their own road to different routers
By configuration information (such as SSID) come Division identification;And to different terminal devices, can according to their own device ID come
Division identification, can also be according to their own MAC Address come Division identification.It therefore, can be first by this before starting test
Participation accompany the routing configuration information of all-router of survey and the device ID of all terminal devices pre-deposit in hard disk for
Follow-up test step is transferred;It can also automatically be read by test machine before first time chooses purpose router and purpose terminal device
Participation is taken to accompany the routing configuration information of the all-router of survey and the device ID of all terminal devices.Wherein, routing configuration is believed
Distribution information (password of such as SSID and corresponding SSID) of the breath including at least router model and router.Choosing purpose road
After device and purpose terminal device, the distribution information of the purpose router of selection is sent to purpose terminal device, wherein purpose
The distribution information of router can be understood as the password of the SSID and the corresponding SSID of the router, when terminal device obtains mesh
Router SSID and the corresponding SSID password after, automatic test script can be by the close of the SSID and corresponding SSID
Corresponding input frame in code filling mobile phone app;Then automatic test script is by app page controls, into next step, app
Order is executed, above-mentioned distribution information is sent in Devices to test.Devices to test is after receiving above-mentioned distribution information, into sta
Pattern according to the distribution information searching received the purpose router to be connected, and establishes a connection.Finally, automation is surveyed
Training originally can judge whether distribution connection succeeds according to the network connectivty between Devices to test and purpose router.Wherein, it transports
Row terminal device is connect by adbshell with test machine, to facilitate the device ID of test machine reading terminal equipment.This implementation
Example is an a kind of wheel test of the automated testing method of smart machine distribution of the present invention, and test by taking turns test more every time
Composition, due to alternative router and terminal device, model and configuration are all different, and therefore, the present invention may be implemented to intelligence
The compatibility of energy equipment is tested.
The present invention also provides a kind of another embodiments of the automated testing method of smart machine distribution, with reference to Fig. 2 institutes
Show, includes the following steps:
S110 chooses purpose terminal device from the terminal device of the alternative different model;
S120 judges whether the purpose terminal device currently chosen had coordinated with all alternate routing devices;If so,
Execute step S130;Otherwise, step S150 is executed;
S130 judges whether also have the terminal device not taken one's test in the terminal device of the alternative different model;If
It is to then follow the steps S140;Otherwise, step S600 is executed;
S140 is in the terminal device for not participating in test, and choosing a terminal device again, terminal is set as a purpose
It is standby, and router router as a purpose is chosen from the alternate routing device, execute step S200;
S150 chooses a router and route as a purpose in the router not yet coordinated with the terminal device
Device then executes step S200;
The distribution information of the purpose router of selection is sent to the purpose terminal device by S200;
S300 controls the purpose terminal device and sends the distribution information to smart machine to be measured, to be measured is set so that described
The distribution information that standby basis receives carries out distribution with the purpose router and connect;
S400 judge between the Devices to test and the purpose router whether distribution successful connection;Return to step S110
Continue to test;
S600 terminates the automatic test of this distribution.
Specifically, it is centered on terminal device, to examine that the equipment of the present invention, which chooses purpose to accompany the core concept of measurement equipment,
It surveys whether it had coordinated with all-router, if whole routers had all coordinated with the terminal device, detects whether
Also other terminal devices for not participating in test, cycle detection and match, router and terminal are made to set one by one in this way
Standby matching is not omitted.For example, the number of router is 1,2,3,4......, the number of terminal device is A, B, C,
D......, at this point, choosing terminal device A terminal device as a purpose, then judge terminal device A also not with router 1 and road
With device 2, then in a router 1 and router 2 optional purpose router, then with terminal device as a purpose
Terminal device A is coordinated, and accompanies measurement equipment as epicycle test together.According to above-mentioned thought, if it is determined that the terminal chosen
Equipment coordinated with all-router, and judge do not participated in test terminal device, then all terminal devices and
All-router is inevitable all to be coordinated, then the automatic test of this distribution is completed.
The present invention also provides a kind of another embodiments of the automated testing method of smart machine distribution, with reference to Fig. 3 institutes
Show, includes the following steps:
S110 chooses purpose terminal device from the terminal device of the alternative different model;
S120 judges whether the purpose terminal device currently chosen had coordinated with all alternate routing devices;If so,
Execute step S130;Otherwise, step S150 is executed;
S130 judges whether also have the terminal device not taken one's test in the terminal device of the alternative different model;If
It is to then follow the steps S140;Otherwise, step S600 is executed;
S140 is in the terminal device for not participating in test, and choosing a terminal device again, terminal is set as a purpose
It is standby, and router router as a purpose is chosen from the alternate routing device, execute step S200;
S150 chooses a router and route as a purpose in the router not yet coordinated with the terminal device
Device then executes step S200;
The distribution information of the purpose router of selection is sent to the purpose terminal device by S200;
S300 controls the purpose terminal device and sends the distribution information to smart machine to be measured, to be measured is set so that described
The distribution information that standby basis receives carries out distribution with the purpose router and connect;
S400 judge between the Devices to test and the purpose router whether distribution successful connection;
S500 records test result, removes the distribution information of Devices to test, and return to step S110;
S600 terminates the automatic test of this distribution.
Specifically, often completing a wheel test, then a test result is recorded, the distribution information of Devices to test is then removed,
Specific practice can be the corresponding password of SSID and the SSID of the purpose router of input Devices to test before disposing,
Devices to test factory reset can directly be made.Then return to the selection operation again that S110 accompany measurement equipment.This implementation
Step S500 is newly added in example so that a wheel test is often completed in this test, can be back to step S110, be chosen mesh again
Router and/or terminal device, and due to the routing configuration information of each alternate routing device (include at least router model and
Distribution information) and each alternative terminal device is different from, therefore the present invention can realize and accompany survey using a large amount of different models
The compatibility of equipment device under test is tested;The test result not only contains whether being successfully tested to every wheel
Judge record, and is also attached to the model that measurement equipment (purpose router and purpose terminal device) is accompanied in often wheel test, it is convenient follow-up
The compatibility for accompanying measurement equipment and Devices to test of that model of Statistic analysis is poor, and test result further includes every wheel purpose terminal
Equipment searches for and finds the consuming time of Devices to test, Devices to test is found and is connected to the consuming time of purpose router, with
Judge that the compatibility for accompanying measurement equipment and Devices to test of that model is more excellent.
The present invention provides an a kind of embodiments of the automated testing method of smart machine distribution, with reference to shown in Fig. 4, packet
Include following steps:
S110 chooses purpose terminal device from the terminal device of the alternative different model;
S120 judges whether the purpose terminal device currently chosen had coordinated with all alternate routing devices;If so,
Execute step S130;Otherwise, step S150 is executed;
S130 judges whether also have the terminal device not taken one's test in the terminal device of the alternative different model;If
It is to then follow the steps S140;Otherwise, step S600 is executed;
S140 is in the terminal device for not participating in test, and choosing a terminal device again, terminal is set as a purpose
It is standby, and router router as a purpose is chosen from the alternate routing device, execute step S200;
S150 chooses a router and route as a purpose in the router not yet coordinated with the terminal device
Device then executes step S200;
The distribution information of the purpose router of selection is sent to the purpose terminal device by S200;
S300 controls the purpose terminal device and sends the distribution information to smart machine to be measured, to be measured is set so that described
The distribution information that standby basis receives carries out distribution with the purpose router and connect;
S350 judges whether the Devices to test can receive the purpose routing that the purpose terminal device is sent
Distribution information;If so, thening follow the steps S400;Otherwise, judge the Devices to test distribution failure, execute step S500;
S400 judge between the Devices to test and the purpose router whether distribution successful connection;
S500 records test result, removes the distribution information of Devices to test, and return to step S110;
S600 terminates the automatic test of this distribution.
Specifically, the present invention not only test by the compatibility of device under test and router, while also device under test
It is tested with the compatibility of terminal device.For example, terminal device leads to immediately after receiving the distribution information of purpose router
It crosses app search Devices to test and is attached net of concurrently providing and delivering with the equipment at once if having searched the equipment in app
Information is to Devices to test;But if not searching Devices to test in app, then purpose terminal device and Devices to test are proved not
Can be compatible, then in epicycle distribution test, it is not necessary that can not also carry out the compatibility subsequently to purpose router and Devices to test
Test and judgement, epicycle test can directly terminate.
Based on any of the above-described embodiment, the epicycle test result recorded in the step S500 includes:The purpose routing
The type information of device, the type information of the purpose terminal device and the Devices to test whether the successful information of distribution.
Specifically, the model due to alternative terminal device all differs, the present invention by taking turns matched mode more,
The compatibility of device under test and router, the compatible test of Devices to test and terminal device may be implemented and record test
As a result, to facilitate subsequent statistical.
The present invention also provides a kind of another embodiments of the automated testing method of smart machine distribution, with reference to Fig. 5 institutes
Show, includes the following steps:
S110 chooses purpose terminal device from the terminal device of the alternative different model;
S120 judges whether the purpose terminal device currently chosen had coordinated with all alternate routing devices;If so,
Execute step S130;Otherwise, step S150 is executed;
S130 judges whether also have the terminal device not taken one's test in the terminal device of the alternative different model;If
It is to then follow the steps S140;Otherwise, step S600 is executed;
S140 is in the terminal device for not participating in test, and choosing a terminal device again, terminal is set as a purpose
It is standby, and router router as a purpose is chosen from the alternate routing device, execute step S200;
S150 chooses a router and route as a purpose in the router not yet coordinated with the terminal device
Device then executes step S200;
The distribution information of the purpose router of selection is sent to the purpose terminal device by S200;
S300 controls the purpose terminal device and sends the distribution information to smart machine to be measured, to be measured is set so that described
The distribution information that standby basis receives carries out distribution with the purpose router and connect;
S350 judges whether the Devices to test can receive the purpose routing that the purpose terminal device is sent
Distribution information;If so, thening follow the steps S400;Otherwise, judge the Devices to test distribution failure, execute step S500;
S400 judge between the Devices to test and the purpose router whether distribution successful connection;
S500 records test result, removes the distribution information of Devices to test, and return to step S110;
S600 terminates the automatic test of this distribution;
S700 counts the distribution success rate of the automatic test of this distribution, and divide according to the test result for often taking turns test
Analyse the end of the Devices to test and compatible or the described Devices to test and the different model of the router of the different model
The compatibility of end equipment.
Specifically, for the statistics of distribution success rate, it can be after the test result for having recorded every wheel, real-time statistics are matched
Net success rate;Can also be after the completion of this test, then concentrate statistics distribution success rate.Due to accompanying router model and the end of survey
End equipment model is different from, therefore, can with the compatibility or Devices to test of device under test and the router of different model with
The compatibility of the terminal device of different model is for statistical analysis, and exports to document form.Tester passes through statistics file
It may determine that router or the compatibility of terminal device and Devices to test of which model are poor, be illustrated and how survey set in the future
Standby compatibility is made orientation and is improved.
Based on any of the above embodiments, the present invention proposes a kind of automatization test system of smart machine distribution
An embodiment, with reference to shown in Fig. 6, the test system includes:Module 2, sending module 3, control module 1 and distribution is chosen to sentence
Disconnected module 4, the control module 1 respectively with the selection module 2, the sending module 3 and 4 phase of distribution judgment module
Even, wherein the selection module 2, the mesh for choosing cooperation from the router of alternative different model and each terminal device
Router and purpose terminal device;The sending module 3 is used under the control of the control module 1, described in selection
The distribution information of purpose router sends the purpose terminal device;The control module 1 is set for controlling the purpose terminal
It is standby to send the distribution information to smart machine to be measured, so that the Devices to test is according to the distribution information received, with institute
It states purpose router and carries out distribution connection;The distribution judgment module 4, for judging that the Devices to test is route with the purpose
Between device whether distribution successful connection.
Specifically, the terminal that the selection module 2 distinguishes alternative different model by device ID or MAC Address is set
It is standby, the router of alternative different model is distinguished by routing configuration information, sending module 3 is controlled by control module 1, is sent
The password of SSID and the corresponding SSID to terminal device, control module 1 by the password of SSID and the corresponding SSID fill in
Corresponding input frame on app in terminal device, and the password for controlling app transmitting SSID and the corresponding SSID is set to be measured
It is standby, so that Devices to test is entered sta patterns, according to the above-mentioned distribution information searching purpose router to be connected received, and with
It establishes connection.Distribution judgment module 4 judge between Devices to test and purpose router whether distribution successful connection.
The invention also provides a kind of another embodiments of the automatization test system of smart machine distribution, with reference to Fig. 7 institutes
Show, the selection module 2 includes:Measurement equipment selection unit 21, the first judging unit 22 and second judgment unit 23 are accompanied, it is described to accompany
Measurement equipment selection unit 21, the first judging unit 22 and second judgment unit 23 are sequentially connected, and described to accompany measurement equipment to choose single
Member 21 is also connect with second judgment unit 23, wherein:It is described to accompany measurement equipment selection unit 21, it is used for from the alternative different shaped
Number terminal device in choose purpose terminal device;First judging unit 22, the purpose terminal for judging currently to choose
Whether equipment had coordinated with all alternate routing devices;The second judgment unit 23, for working as first judging unit
22 judge that the purpose terminal device currently chosen is out-of-date with all alternate routing device cooperations, judge the alternative different shaped
Number terminal device in whether also have the terminal device that does not take one's test;It is described to accompany measurement equipment selection unit 21, it is additionally operable to work as institute
When stating second unit and judging to also have the terminal device not taken one's test in the terminal device of the alternative different model, described
In the terminal device for not participating in test, terminal device terminal device as a purpose is chosen again, and from the alternative road
By choosing router router as a purpose in device, so that the sending module 3 is by the purpose router of selection
Distribution information is sent to the purpose terminal device;It is described to accompany measurement equipment selection unit 21, it is additionally operable to judge list when described first
Member 22 judges that the purpose terminal device currently chosen is not also out-of-date with all alternate routing device cooperations, from the alternate routing device
Middle selection purpose router so that the sending module 3 the distribution information of the purpose router of selection is sent to it is described
Purpose terminal device;The control module 1 is additionally operable to judge the end of the alternative different model when second judgment module
When there is no the terminal device not taken one's test in end equipment, terminate the automatic test of this distribution.
The invention also provides a kind of another embodiments of the automatization test system of smart machine distribution, with reference to Fig. 7
It is shown, further include logging modle 5, the logging modle 5 is connect with the distribution judgment module 4 and the control module 1 respectively,
The distribution judgment module 4 is additionally operable to send to smart machine to be measured when the control module 1 controls the purpose terminal device
After the distribution information, judge that can the Devices to test receive the purpose routing that the purpose terminal device is sent
Distribution information;When the distribution judgment module 4 judges that the Devices to test can receive the institute that the purpose terminal device is sent
When stating the distribution information of purpose router, the distribution judgment module 4 judges the Devices to test distribution success;When the distribution
Judgment module 4 judges that the Devices to test cannot receive the distribution for the purpose router that the purpose terminal device is sent
When information, the distribution judgment module 4 judges the Devices to test distribution failure;The logging modle 5, for matching according to
The distribution connection result that net judgment module 4 judges, the test result of record epicycle test;The control module 1 is additionally operable to work as institute
After stating the test result that logging modle 5 has recorded the epicycle test, the distribution information of the Devices to test is removed.
The present embodiment, mainly by distribution judgment module 4, whether to the successful connection of purpose terminal device and Devices to test
It judges, and then makes to refine compatibility, Devices to test and the terminal for having Devices to test and router in the result of subsequent statistical
The judgement respectively of the compatibility of equipment.
The invention also provides a kind of another embodiments of the automatization test system of smart machine distribution, with reference to Fig. 7
It is shown, further include statistical analysis module 6, the statistical analysis module 6 respectively with the logging modle 5 and the control module 1
Connection, wherein the statistical analysis module 6, the test result for often taking turns test for being recorded according to the logging modle 5, system
The distribution success rate of the automatic test of this distribution is counted, and analyzes the Devices to test and the router of the different model
The compatibility of the compatible or described Devices to test and the terminal device of the different model.
Specifically, for the statistics of distribution success rate, can after the test result that logging modle 5 has recorded every wheel,
6 real-time statistics distribution success rate of statistical analysis module;Can also be after the completion of this test, statistical analysis module 6 concentrates system again
Distribution success rate is counted, and the premise of such situation is after terminating this test, control module 1 is needed to statistical analysis module 6
Statistics instruction is sent, statistical analysis module 6 could execute ASSOCIATE STATISTICS task.Due to accompanying the router model and terminal device of survey
Model is different from, and therefore, statistical analysis module 6 can be with the compatible or to be measured of device under test and the router of different model
The compatibility of the terminal device of equipment and different model is for statistical analysis, and exports to document form.Tester passes through system
Meter file may determine which model router or terminal device and Devices to test compatibility it is poor, be illustrated in the future how
Make orientation to the compatibility of measurement equipment to improve.
The automated testing method and system of a kind of smart machine distribution proposed by the present invention, can not have for the prior art
There is the distribution compatibility considered to be tested, surveys terminal and router by largely accompanying, matched one by one to exhaustive
Test so that the qualified Devices to test of compatibility can match most terminal devices once launching in terms of distribution
And router, compatibility are extremely strong.
The system embodiment of the present invention is corresponding with the embodiment of the method for the present invention, and the technology of embodiment of the method for the invention is thin
Section is equally applicable to the system embodiment of the present invention, repeats, repeats no more to reduce.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of automated testing method of smart machine distribution, which is characterized in that include the following steps:
S100 chosen from the router of alternative different model and the terminal device of different model cooperation purpose router and
Purpose terminal device;
The distribution information of the purpose router of selection is sent to the purpose terminal device by S200;
S300 controls the purpose terminal device and sends the distribution information to smart machine to be measured, so that the Devices to test root
According to the distribution information received, carries out distribution with the purpose router and connect;
S400 judge between the Devices to test and the purpose router whether distribution successful connection.
2. a kind of automated testing method of smart machine distribution according to claim 1, which is characterized in that the step
S100 includes:
S110 chooses purpose terminal device from the terminal device of the alternative different model;
S120 judges whether the router with all alternative different models coordinated the purpose terminal device currently chosen;
If so, thening follow the steps S130;Otherwise, step S150 is executed;
S130 judges whether also have the terminal device not taken one's test in the terminal device of the alternative different model;If so,
Then follow the steps S140;Otherwise, step S600 is executed;
S140 chooses terminal device terminal device as a purpose again in the terminal device for not participating in test,
And router router as a purpose is chosen from the router of the alternative different model, execute step S200;
S150 chooses a router and route as a purpose in the router not yet coordinated with the purpose terminal device
Device then executes step S200;
S600 terminates the automatic test of this distribution.
3. a kind of automated testing method of smart machine distribution according to claim 2, which is characterized in that in step
It is further comprising the steps of after S400:
S500 records epicycle test result, removes the distribution information of the Devices to test, and return to step S110.
4. a kind of automated testing method of smart machine distribution according to claim 3, which is characterized in that in step
It is further comprising the steps of before step S400 after S300:
S350 judges whether the Devices to test can receive the distribution for the purpose routing that the purpose terminal device is sent
Information;If so, thening follow the steps S400;Otherwise, judge the Devices to test distribution failure, execute step S500.
5. a kind of automated testing method of smart machine distribution according to claim 3, which is characterized in that the step
The epicycle test result recorded in S500 includes:The model of the type information of the purpose router, the purpose terminal device
Information and the Devices to test whether the successful information of distribution.
6. a kind of automated testing method of smart machine distribution according to claim 5, which is characterized in that in the step
Further include after rapid S600:
S700 counts the distribution success rate of the automatic test of this distribution according to the test result for often taking turns test, and analyzes institute
The compatible or described Devices to test and the terminal of the different model for stating Devices to test and the router of the different model are set
Standby compatibility.
7. a kind of automatization test system of smart machine distribution, which is characterized in that using a kind of intelligence described in claim 1-6
The automated testing method of energy equipment distribution, the test system include:Choose module, sending module, control module and distribution
Judgment module, the control module are connected with the selection module, the sending module and the distribution judgment module respectively,
In,
The selection module, for choosing cooperation from the terminal device of the router of alternative different model and different model
Purpose router and purpose terminal device;
The sending module is used under the control of the control module, by the distribution information of the purpose router of selection
Send the purpose terminal device;
The control module sends the distribution information for controlling the purpose terminal device to smart machine to be measured, so that
The Devices to test carries out distribution according to the distribution information received, with the purpose router and connect;
The distribution judgment module, for judging whether distribution connects between the Devices to test and the purpose router
Work(.
8. a kind of automatization test system of smart machine distribution according to claim 7, which is characterized in that the selection
Module includes:Measurement equipment selection unit, the first judging unit and second judgment unit are accompanied, it is described to accompany measurement equipment selection unit,
One judging unit and second judgment unit are sequentially connected, and it is described accompany measurement equipment selection unit also to be connect with second judgment unit,
Wherein:
It is described to accompany measurement equipment selection unit, it is set for choosing purpose terminal from the terminal device of the alternative different model
It is standby;
First judging unit, purpose terminal device for judging currently to choose whether with all alternative different shapeds
Number router coordinated;
The second judgment unit, for judging that the purpose terminal device currently chosen is and all when first judging unit
Alternative different model router cooperation it is out-of-date, whether also judge in the terminal device of the alternative different model not
The terminal device to take one's test;
It is described to accompany measurement equipment selection unit, it is additionally operable to judge the terminal device of the alternative different model when the second unit
In also have do not take one's test terminal device when, it is described do not participated in test terminal device in, again choose a terminal
Equipment terminal device as a purpose, and router road as a purpose is chosen from the router of the alternative different model
By device, so that the distribution information of the purpose router of selection is sent to the purpose terminal device by the sending module;
It is described to accompany measurement equipment selection unit, it is additionally operable to judge the purpose terminal device currently chosen also when first judging unit
It is out-of-date not coordinate with the router of all alternative different models, coordinates from not yet with the purpose terminal device alternative
Router router as a purpose is chosen in router, so that the sending module is by the purpose router of selection
Distribution information is sent to the purpose terminal device;
The control module is additionally operable to not have when in the terminal device that second judgment module judges the alternative different model
When having the terminal device not taken one's test, terminate the automatic test of this distribution.
9. a kind of automatization test system of smart machine distribution according to claim 7, which is characterized in that further include note
Module is recorded, the logging modle is connect with the distribution judgment module and the control module respectively, wherein:
The distribution judgment module is additionally operable to send out to smart machine to be measured when the control module controls the purpose terminal device
After sending the distribution information, judge that can the Devices to test receive the purpose routing that the purpose terminal device is sent
Distribution information;
When the distribution judgment module judges that the Devices to test can receive the purpose that the purpose terminal device is sent
When the distribution information of router, the distribution judgment module judges the Devices to test distribution success;
When the distribution judgment module judges that the Devices to test cannot receive the mesh that the purpose terminal device is sent
Router distribution information when, the distribution judgment module judges Devices to test distribution failure;
The logging modle, the distribution connection result for being judged according to the distribution judgment module, the survey of record epicycle test
Test result;
The control module is additionally operable to after the logging modle has recorded the test result of the epicycle test, described in removing
The distribution information of Devices to test.
10. a kind of automatization test system of smart machine distribution according to claim 9, which is characterized in that further include
Statistical analysis module, the statistical analysis module are connect with the logging modle and the control module respectively, wherein
The statistical analysis module, the test result for often taking turns test for being recorded according to the logging modle, counts this and matches
The distribution success rate of the automatic test of net, and analyze the router of the Devices to test and the different model compatibility or
The compatibility of the Devices to test and the terminal device of the different model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810283980.9A CN108712300A (en) | 2018-04-02 | 2018-04-02 | A kind of automated testing method and system of smart machine distribution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810283980.9A CN108712300A (en) | 2018-04-02 | 2018-04-02 | A kind of automated testing method and system of smart machine distribution |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108712300A true CN108712300A (en) | 2018-10-26 |
Family
ID=63867033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810283980.9A Pending CN108712300A (en) | 2018-04-02 | 2018-04-02 | A kind of automated testing method and system of smart machine distribution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108712300A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149641A (en) * | 2019-06-25 | 2019-08-20 | 深圳市吉祥腾达科技有限公司 | A kind of simulation wireless connection test method |
CN110602726A (en) * | 2019-08-16 | 2019-12-20 | 苏宁智能终端有限公司 | Method and system for testing automatic distribution network of intelligent equipment |
CN110708717A (en) * | 2019-09-27 | 2020-01-17 | 青岛海尔科技有限公司 | Method and device for compatibility test, terminal equipment and storage medium |
CN111885679A (en) * | 2020-07-29 | 2020-11-03 | 宁波方太厨具有限公司 | Distribution network testing method and system of Internet of things equipment |
CN112437462A (en) * | 2020-11-23 | 2021-03-02 | 青岛海尔科技有限公司 | Quality determination method and device for WIFI module, storage medium and electronic device |
CN112566156A (en) * | 2020-11-18 | 2021-03-26 | 深圳数联天下智能科技有限公司 | Method for automatically testing compatibility of WiFi module and electronic equipment |
CN113595824A (en) * | 2021-07-27 | 2021-11-02 | 深圳信息通信研究院 | Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium |
CN114244759A (en) * | 2021-12-16 | 2022-03-25 | 深圳Tcl新技术有限公司 | Distribution network test method, system, computer equipment and medium for intelligent equipment |
CN114576789A (en) * | 2020-11-30 | 2022-06-03 | 青岛海尔空调电子有限公司 | Method, system, device and medium for air conditioner wireless networking communication |
CN116506312A (en) * | 2023-05-05 | 2023-07-28 | 四川虹美智能科技有限公司 | Smart home appliance distribution network compatibility automatic test method and device, medium, and equipment |
CN117376960A (en) * | 2023-12-04 | 2024-01-09 | 成都觅瑞科技有限公司 | Automatic testing method and device for success rate of Bluetooth intelligent home network allocation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100008363A1 (en) * | 2008-07-10 | 2010-01-14 | Cheng Tien Ee | Methods and apparatus to distribute network ip traffic |
CN106357477A (en) * | 2016-09-26 | 2017-01-25 | 美的智慧家居科技有限公司 | Distribution network test method and device |
CN107154859A (en) * | 2016-03-02 | 2017-09-12 | 美的集团股份有限公司 | Intelligent electric appliance distribution method of testing, system and control terminal |
-
2018
- 2018-04-02 CN CN201810283980.9A patent/CN108712300A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100008363A1 (en) * | 2008-07-10 | 2010-01-14 | Cheng Tien Ee | Methods and apparatus to distribute network ip traffic |
CN107154859A (en) * | 2016-03-02 | 2017-09-12 | 美的集团股份有限公司 | Intelligent electric appliance distribution method of testing, system and control terminal |
CN106357477A (en) * | 2016-09-26 | 2017-01-25 | 美的智慧家居科技有限公司 | Distribution network test method and device |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149641B (en) * | 2019-06-25 | 2022-04-12 | 深圳市吉祥腾达科技有限公司 | Analog wireless connection test method |
CN110149641A (en) * | 2019-06-25 | 2019-08-20 | 深圳市吉祥腾达科技有限公司 | A kind of simulation wireless connection test method |
CN110602726A (en) * | 2019-08-16 | 2019-12-20 | 苏宁智能终端有限公司 | Method and system for testing automatic distribution network of intelligent equipment |
CN110708717A (en) * | 2019-09-27 | 2020-01-17 | 青岛海尔科技有限公司 | Method and device for compatibility test, terminal equipment and storage medium |
CN111885679A (en) * | 2020-07-29 | 2020-11-03 | 宁波方太厨具有限公司 | Distribution network testing method and system of Internet of things equipment |
CN112566156A (en) * | 2020-11-18 | 2021-03-26 | 深圳数联天下智能科技有限公司 | Method for automatically testing compatibility of WiFi module and electronic equipment |
CN112566156B (en) * | 2020-11-18 | 2023-12-08 | 深圳数联天下智能科技有限公司 | Method for automatically testing WiFi module compatibility and electronic equipment |
CN112437462A (en) * | 2020-11-23 | 2021-03-02 | 青岛海尔科技有限公司 | Quality determination method and device for WIFI module, storage medium and electronic device |
CN114576789A (en) * | 2020-11-30 | 2022-06-03 | 青岛海尔空调电子有限公司 | Method, system, device and medium for air conditioner wireless networking communication |
CN113595824A (en) * | 2021-07-27 | 2021-11-02 | 深圳信息通信研究院 | Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium |
CN114244759A (en) * | 2021-12-16 | 2022-03-25 | 深圳Tcl新技术有限公司 | Distribution network test method, system, computer equipment and medium for intelligent equipment |
CN114244759B (en) * | 2021-12-16 | 2024-12-03 | 深圳Tcl新技术有限公司 | Network distribution test method, system, computer equipment and medium for intelligent equipment |
CN116506312A (en) * | 2023-05-05 | 2023-07-28 | 四川虹美智能科技有限公司 | Smart home appliance distribution network compatibility automatic test method and device, medium, and equipment |
CN117376960A (en) * | 2023-12-04 | 2024-01-09 | 成都觅瑞科技有限公司 | Automatic testing method and device for success rate of Bluetooth intelligent home network allocation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108712300A (en) | A kind of automated testing method and system of smart machine distribution | |
CN102420712B (en) | Testing method and equipment | |
CN104427547B (en) | Business and network associate method of testing, apparatus and system | |
CN106033393B (en) | A kind of applied program testing method and system and mobile terminal | |
CN107154859A (en) | Intelligent electric appliance distribution method of testing, system and control terminal | |
CN101814977A (en) | TCP flow on-line identification method and device utilizing head feature of data stream | |
CN106961357B (en) | Internet service packet capturing and fault positioning method based on non-root android terminal | |
CN107832210A (en) | Access method of testing, device and a server are buried in daily record | |
CN110493812A (en) | Processing method, device, system, processor and the main control device of distribution test | |
CN106937303A (en) | A kind of base station test method and system, terminal, Cloud Server | |
CN109981360A (en) | Internet of things equipment website activating method, device, system and storage medium | |
CN107204898A (en) | Production test method, system and the storage device of intelligent appliance, mobile terminal | |
CN115271546A (en) | BIM-based digital engineering supervision method and system | |
CN103929723B (en) | Junk short message recognition method and device | |
CN106407768A (en) | Methods and devices for determining device fingerprint and identifying target device | |
CN104581802A (en) | A kind of GSM-R network testing method and system | |
CN105827333A (en) | System and method of baseband chip automatic test | |
CN108737212B (en) | Device, system and method for detecting transmission protocol conformance | |
CN108810916A (en) | Wi-Fi Hotspot recommends method, apparatus and storage medium | |
CN106535240A (en) | Mobile APP centralized performance analysis method based on cloud platform | |
CN106162702A (en) | Automatic testing method and system for maximum user connection number of wireless AP (access point) | |
CN112420019B (en) | Equipment testing methods and devices | |
CN106375037B (en) | A kind of test method of wireless signal | |
CN116668329B (en) | Ethernet interface detection method, device, storage medium and electronic device | |
CN105788056B (en) | Event-handling method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181026 |