CN106648983A - Testing method and system for Wi-Fi equipment factory reset success rate - Google Patents
Testing method and system for Wi-Fi equipment factory reset success rate Download PDFInfo
- Publication number
- CN106648983A CN106648983A CN201611180504.1A CN201611180504A CN106648983A CN 106648983 A CN106648983 A CN 106648983A CN 201611180504 A CN201611180504 A CN 201611180504A CN 106648983 A CN106648983 A CN 106648983A
- Authority
- CN
- China
- Prior art keywords
- equipment
- factory reset
- test
- success rate
- testing
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a testing method and system for a Wi-Fi equipment factory reset success rate. The method comprises steps of first, networking Wi-Fi equipment, second, executing a Wi-Fi equipment automatic factory reset testing script on a PC end, and third, finishing the test after certain testing times and checking a log. The system comprises a mobile phone end, Wi-Fi equipment and a PC end all communicated with one another. Automatic test for the Wi-Fi equipment factory reset success rate can be achieved; a factory reset order is automatically sent through a serial port according to user sets and restoration work is conducted; comparison is made when configuration files are read; networking is realized; restoring times can be recorded; and whether a Wi-Fi function is correct is recorded after the restoration.
Description
Technical field
The present invention relates to the technical field of communication equipment, and in particular to a kind of Wi-Fi equipment factory reset success rate
Method of testing and system.
Background technology
With the development and application of Internet of Things, under family's physical field scape, in family's humanistic environment, realize that thing thing is connected,
Build the system scheme of intelligent Service, traditional-family's electric equipment products enter to turn to "smart" products, including colour TV, air-conditioning,
Refrigerator, washing machine etc. in small household appliances such as interior intelligence big household electrical appliances, water purifier, air purifier, humidifier, water heaters thus
Front mechanization is upgraded to intelligent consumption structure comprehensively.
There is the function of factory reset in all kinds of smart machines, after factory reset, all kinds of parameters include Wi-
Fi modules return to initial setting up (Wi-Fi also reverts to hotspot pattern), user in practical application also can Jing commonly use this
Function, but occur that Wi-Fi module recovers unsuccessful in actual applications, and focus function is invalid after recovery, networks after recovery
The phenomenon such as function is invalid.Existing method of testing is manual test, and testing time is on the low side and is not easy to reappear, in addition it is also necessary to which input is big
Amount time and efforts does reperformance test.
The content of the invention
Instant invention overcomes manual test in prior art, it is on the low side and be not easy reproduction to there is testing time, while needing
Devote considerable time and the deficiency of reperformance test is done with energy, there is provided a kind of Wi-Fi equipment that is time-consuming, saving manpower is extensive
The method of testing of factory's setting success rate of appearing again.
To solve above-mentioned technical problem, the present invention is employed the following technical solutions:
A kind of method of testing of Wi-Fi equipment factory reset success rate, it is comprised the following steps:
Step 1,;Wi-Fi equipment is networked;
Step 2, at PC ends the test script that Wi-Fi equipment recovers multiple Default Value automatically is performed;The step 2 is concrete
For:Step 21, Wi-Fi equipment performs factory reset order and factory reset;Step 22, checks that Wi-Fi equipment is
It is no to return to hotspot pattern, step 23 is entered if recovering, step 25 is entered if not recovering;Step 23, Wi-Fi sets
It is standby to be connected to the router specified;Step 24, checks whether and networks successfully, step 26 is entered if success, if unsuccessful
Then enter step 25;Step 25, records failure result;Step 26, checks whether the testing time for reaching setting, if it is enters
Enter step 27, if not then into step 21;Step 27, test terminates;
Step 3, reaches end test after testing time and checks daily record.
Further technical scheme is to perform recovery to Wi-Fi equipment by serial port command in the step 21 and dispatch from the factory
Setting command, and make Wi-Fi equipment various functions return to Default Value.
Further technical scheme is to read the configuration file of Wi-Fi equipment in the step 22 by serial ports, and with
The configuration file contrast of dispatching from the factory of Wi-Fi equipment, if match, and mobile phone terminal is searched for router and is connected, and checks whether and connects into
Work(.
Further technical scheme is that the step 24 detects whether Wi-Fi equipment networks successfully by ping orders.
Further technical scheme is that test total degree is that test starts with the secondary of family input in the step 26
Number, often recovers a Default Value once to test.
The present invention also provides a kind of test system of Wi-Fi equipment factory reset success rate, it is characterised in that it is wrapped
Include mobile phone terminal, Wi-Fi equipment and PC ends;PC ends are communicated by Serial Port Line with Wi-Fi equipment, for by the factory that appears again automatically
The test script of setting sends factory reset order to Wi-Fi equipment, and by serial ports reading Wi-Fi equipment with confidence
Breath, checks whether Wi-Fi equipment returns to setting when dispatching from the factory;Detect whether Wi-Fi equipment networks into by ping orders again
Work(;Mobile phone terminal is communicated by data wire with PC ends, and for searching for router, and connection route device, carrying out network configuration makes Wi-Fi
Equipment is connected to Designated Router.
Compared with prior art, the invention has the beneficial effects as follows:
The present invention realizes the automatic test of Wi-Fi equipment factory reset success rate, sets according to user, automatically logical
Cross serial ports transmission factory reset order to be recovered, and by reading configuration file contrast, carry out networking operation, record extensive
Again count, the message such as whether Wi-Fi functions correct after recovery.
Description of the drawings
Fig. 1 is the flow chart of the method for testing of the Wi-Fi equipment factory reset success rate of an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is further elaborated.
Embodiment 1
As shown in figure 1, a kind of method of testing of Wi-Fi equipment factory reset success rate, it is comprised the following steps:
Step 1, Wi-Fi equipment networking;
Step 2, at PC ends the test script that Wi-Fi equipment recovers multiple Default Value automatically is performed;The step 2 is concrete
For:Step 21, Wi-Fi equipment performs factory reset order and factory reset;Step 22, checks that Wi-Fi equipment is
It is no to return to hotspot pattern, step 23 is entered if recovering, step 25 is entered if not recovering;Step 23, Wi-Fi sets
It is standby to be connected to the router specified;Step 24, checks whether and networks successfully, step 26 is entered if success, if unsuccessful
Then enter step 25;Step 25, records failure result;Step 26, checks whether the testing time for reaching setting, if it is enters
Enter step 27, if not then into step 21;Step 27, test terminates;
Step 3, reaches end test after testing time and checks daily record.
Embodiment 2
A kind of test system of Wi-Fi equipment factory reset success rate, it is characterised in that it includes mobile phone terminal, Wi-
Fi equipment and PC ends;PC ends are communicated by Serial Port Line with Wi-Fi equipment, for the test pin by recovering multiple Default Value automatically
This transmission factory reset order reads the configuration information of Wi-Fi equipment to Wi-Fi equipment by serial ports, checks Wi-Fi
Whether equipment returns to setting when dispatching from the factory;Detect whether Wi-Fi equipment networks successfully by ping orders again;Mobile phone terminal passes through
Data wire communicates with PC ends, and for searching for router, and connection route device, carrying out network configuration makes Wi-Fi equipment be connected to finger
Determine router.
Above specific embodiment is described in detail to the essence of the present invention, but can not be to protection scope of the present invention
Limited, it should be apparent that, under the enlightenment of the present invention, the art those of ordinary skill can also carry out many improvement
And modification, it should be noted that these are improved and modification all falls within the claims of the present invention.
Claims (6)
1. a kind of method of testing of Wi-Fi equipment factory reset success rate, it is characterised in that it is comprised the following steps:
Step 1,;Wi-Fi equipment is networked;
Step 2, at PC ends the test script that Wi-Fi equipment recovers multiple Default Value automatically is performed;
The step 2 is specially:
Step 21, Wi-Fi equipment performs factory reset order and factory reset;
Step 22, checks whether Wi-Fi equipment returns to hotspot pattern, and if recovering step 23 is entered,
Step 25 is entered if not recovering;
Step 23, Wi-Fi equipment is connected to the router specified;
Step 24, checks whether and networks successfully, and step 26 is entered if success, enters if unsuccessful
Step 25, records failure result;
Step 26, checks whether the testing time for reaching setting, if yes then enter step 27, if not then into step
21;
Step 27, test terminates;
Step 3, reaches end test after testing time and checks daily record.
2. the method for testing of Wi-Fi equipment factory reset success rate according to claim 1, it is characterised in that institute
State in step 21 and factory reset order is performed to Wi-Fi equipment by serial port command, and make Wi-Fi equipment various functions extensive
Default Value is arrived again.
3. the method for testing of Wi-Fi equipment factory reset success rate according to claim 1, it is characterised in that institute
State in step 22 and the configuration file of Wi-Fi equipment is read by serial ports, and contrast with the configuration file that dispatches from the factory of Wi-Fi equipment, be
No matching, and mobile phone terminal search router and connects, and checks whether successful connection.
4. the method for testing of Wi-Fi equipment factory reset success rate according to claim 1, it is characterised in that institute
State step 24 and detect whether Wi-Fi equipment networks successfully by ping orders.
5. the method for testing of Wi-Fi equipment factory reset success rate according to claim 1, it is characterised in that institute
State and test in step 26 number of times that total degree is that test starts with family input, often recover a Default Value once to test.
6. a kind of test system of Wi-Fi equipment factory reset success rate, it is characterised in that it includes mobile phone terminal, Wi-Fi
Equipment and PC ends;
PC ends are communicated by Serial Port Line with Wi-Fi equipment, for sending extensive by recovering the test script of multiple Default Value automatically
Factory's setting command appear again to Wi-Fi equipment, and the configuration information of Wi-Fi equipment is read by serial ports, whether check Wi-Fi equipment
Return to setting when dispatching from the factory;Detect whether Wi-Fi equipment networks successfully by ping orders again;
Mobile phone terminal is communicated by data wire with PC ends, and for searching for router, and connection route device, carrying out network configuration makes Wi-
Fi equipment is connected to Designated Router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611180504.1A CN106648983A (en) | 2016-12-19 | 2016-12-19 | Testing method and system for Wi-Fi equipment factory reset success rate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611180504.1A CN106648983A (en) | 2016-12-19 | 2016-12-19 | Testing method and system for Wi-Fi equipment factory reset success rate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106648983A true CN106648983A (en) | 2017-05-10 |
Family
ID=58834996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611180504.1A Pending CN106648983A (en) | 2016-12-19 | 2016-12-19 | Testing method and system for Wi-Fi equipment factory reset success rate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648983A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804257A (en) * | 2018-06-01 | 2018-11-13 | Oppo广东移动通信有限公司 | SOT state of termination detection method, device, terminal and storage medium |
CN111737138A (en) * | 2020-06-28 | 2020-10-02 | 杭州迪普科技股份有限公司 | Automatic recovery system and method for test environment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413484A (en) * | 2010-09-26 | 2012-04-11 | 西安龙飞软件有限公司 | System and method for testing network link performance of terminal equipment |
US20130332996A1 (en) * | 2012-06-12 | 2013-12-12 | Intermec Ip Corp. | System and process for managing network communications |
CN103678116A (en) * | 2012-09-14 | 2014-03-26 | 国际商业机器公司 | Method and system for facilitating automated program testing |
CN105516388A (en) * | 2015-12-15 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | Wireless network device MAC address test method and system |
-
2016
- 2016-12-19 CN CN201611180504.1A patent/CN106648983A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413484A (en) * | 2010-09-26 | 2012-04-11 | 西安龙飞软件有限公司 | System and method for testing network link performance of terminal equipment |
US20130332996A1 (en) * | 2012-06-12 | 2013-12-12 | Intermec Ip Corp. | System and process for managing network communications |
CN103678116A (en) * | 2012-09-14 | 2014-03-26 | 国际商业机器公司 | Method and system for facilitating automated program testing |
CN105516388A (en) * | 2015-12-15 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | Wireless network device MAC address test method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804257A (en) * | 2018-06-01 | 2018-11-13 | Oppo广东移动通信有限公司 | SOT state of termination detection method, device, terminal and storage medium |
CN108804257B (en) * | 2018-06-01 | 2021-12-24 | Oppo广东移动通信有限公司 | Terminal state detection method and device, terminal and storage medium |
CN111737138A (en) * | 2020-06-28 | 2020-10-02 | 杭州迪普科技股份有限公司 | Automatic recovery system and method for test environment |
CN111737138B (en) * | 2020-06-28 | 2023-05-26 | 杭州迪普科技股份有限公司 | Automatic recovery system and method for test environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201708882U (en) | Multi-user TV | |
CN102821109B (en) | Method, associated equipment and system for realizing data sharing in instant communication application | |
CN103297099B (en) | Bluetooth communication method and bluetooth communication equipment | |
CN102739570B (en) | Method for opening home gateway through wireless fidelity (WiFi) of smart phone | |
CN108055148A (en) | The electric power wireless private network webmaster diagnostic method that a kind of automation can trace to the source | |
CN101730078A (en) | Method and device for realizing access point binding of wireless data terminal equipment | |
CN109257367A (en) | A kind of data communication protocol and implementation method for industrial internet-of-things terminal | |
CN101801104B (en) | Mac OS system equipment and network connection configuration method thereof | |
CN106648983A (en) | Testing method and system for Wi-Fi equipment factory reset success rate | |
CN110784456A (en) | Automatic identification method and communication method for communication protocol | |
CN107273258A (en) | Method of testing and system are restarted in the automation of interchanger built in a kind of blade server | |
CN104270740A (en) | Slot-sharing T card and SIM card detection method | |
CN105812346A (en) | Data interaction method of serial port device and Ethernet device | |
CN103856411A (en) | Switching system connected with UART interface of router | |
CN103973762A (en) | Method for communication between host and intelligent terminal of intelligent home system | |
CN101539765B (en) | High-speed acquisition method and system of industrial process data | |
CN103024023A (en) | Electronic reading room network auditing method | |
CN104794633A (en) | System, device and method for automatically adding friends to socializing communication software | |
CN101360050B (en) | Method and apparatus setting flow control mode | |
CN103248547A (en) | Fast data capture method for slave station in Modbus RTU (remote terminal unit) and slave station | |
CN105553865B (en) | A kind of FC exchanger chips credit management test method | |
CN105787408A (en) | Card reader supporting high-speed data communication, and work method thereof | |
CN101808424A (en) | User identity module card paster with IC card chip | |
CN109067932B (en) | Data transmission method for data acquisition terminal without fixed IP and data server | |
CN104702622A (en) | One-way big data transmission communication system and method for many-to-one internal and external networks |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |