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 PDF

Info

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
Application number
CN201611180504.1A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201611180504.1A priority Critical patent/CN106648983A/en
Publication of CN106648983A publication Critical patent/CN106648983A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management 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

The method of testing and system of Wi-Fi equipment factory reset success rate
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.
CN201611180504.1A 2016-12-19 2016-12-19 Testing method and system for Wi-Fi equipment factory reset success rate Pending CN106648983A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
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
CN103517375B (en) A kind of to multiple mobile equipment identification, the method for communication and device
CN101730078A (en) Method and device for realizing access point binding of wireless data terminal equipment
CN101801104B (en) Mac OS system equipment and network connection configuration method thereof
CN107273258A (en) Method of testing and system are restarted in the automation of interchanger built in a kind of blade server
CN106648983A (en) Testing method and system for Wi-Fi equipment factory reset success rate
CN105812346A (en) Data interaction method of serial port device and Ethernet device
CN104270740A (en) Slot-sharing T card and SIM card detection method
CN103973762A (en) Method for communication between host and intelligent terminal of intelligent home system
CN103856411A (en) Switching system connected with UART interface of router
CN101539765B (en) High-speed acquisition method and system of industrial process data
CN104794633A (en) System, device and method for automatically adding friends to socializing communication software
CN103248547A (en) Fast data capture method for slave station in Modbus RTU (remote terminal unit) and slave station
CN101360050B (en) Method and apparatus setting flow control mode
CN106533728A (en) Server information collecting method and apparatus
CN105553865B (en) A kind of FC exchanger chips credit management test method
CN101304565A (en) Method and unit for recognizing mobile terminal as well as method and system for providing increment service
CN105787408A (en) Card reader supporting high-speed data communication, and work method thereof
CN107656842A (en) A kind of SIM card hot plug method for testing performance, storage device and mobile terminal
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
CN102255802B (en) Systems network architecture (SNA) host message resolution method and system

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