CN107205239B - Method for detecting wireless network connection and detection equipment - Google Patents

Method for detecting wireless network connection and detection equipment Download PDF

Info

Publication number
CN107205239B
CN107205239B CN201710386730.3A CN201710386730A CN107205239B CN 107205239 B CN107205239 B CN 107205239B CN 201710386730 A CN201710386730 A CN 201710386730A CN 107205239 B CN107205239 B CN 107205239B
Authority
CN
China
Prior art keywords
router
wireless network
instruction
access module
network access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710386730.3A
Other languages
Chinese (zh)
Other versions
CN107205239A (en
Inventor
翁春桃
周技锋
李可
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing 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 Midea Group Co Ltd, Guangdong Midea Kitchen Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710386730.3A priority Critical patent/CN107205239B/en
Publication of CN107205239A publication Critical patent/CN107205239A/en
Application granted granted Critical
Publication of CN107205239B publication Critical patent/CN107205239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a method for detecting wireless network connection, which comprises the following steps: acquiring configuration information of a router, and generating at least one group of test parameters based on the configuration information; selecting a first test parameter from at least one group of test parameters, packaging the first test parameter in a first configuration instruction, and sending the first configuration instruction to the router; the first configuration instruction is used for instructing the router to carry out network parameter configuration according to the first test parameter; after receiving a network parameter configuration success message sent by a router, packaging a first test parameter in a first network connection instruction, and sending the first network connection instruction to a wireless network access module; the first network connection instruction is used for instructing the wireless network access module to access the router according to the first test parameter; and detecting the network connection state of the wireless network access module and the router based on the first test parameter, and judging whether the wireless network access module successfully accesses the router based on the network connection state. The invention also discloses a detection device.

Description

Method for detecting wireless network connection and detection equipment
Technical Field
The present invention relates to a wireless network connection detection technology, and in particular, to a method and a device for detecting a wireless network connection.
Background
The intellectualization of the household appliances is a trend of future development, and the household appliances are widely used in a manner of being equipped with a wireless fidelity (WIFI) network connection function to realize intelligent internet of things. For a module with a WIFI network connection function in a home appliance, referred to as a WIFI module for short, in the development and function debugging process, a corresponding test needs to be performed on the network connection between the WIFI module and a router, and a commonly used test method is as follows: during each test, a tester manually inputs configuration parameters such as a Service Set Identifier (SSID) and a password of a target router through a homepage of the router for configuration, and after a WIFI module receives broadcast information sent by detection equipment, the broadcast information is analyzed to obtain the SSID and the password, and the target router is connected according to the SSID and the password.
In the testing process of the WIFI module, hundreds of tests may need to be performed, and each time the configuration parameters need to be manually input by a tester, the problem of low testing efficiency will be caused.
Disclosure of Invention
In view of the foregoing technical problems, embodiments of the present invention are to provide a method and a device for detecting a wireless network connection, so as to improve detection efficiency of the wireless network connection.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for detecting wireless network connection, which comprises the following steps:
acquiring configuration information of a router, and generating at least one group of test parameters based on the configuration information;
selecting a first test parameter from the at least one group of test parameters, encapsulating the first test parameter in a first configuration instruction, and sending the first configuration instruction to the router; the first configuration instruction is used for instructing the router to carry out network parameter configuration according to the first test parameter;
after receiving a network parameter configuration success message sent by the router, encapsulating the first test parameter in a first connection instruction, and sending the first connection instruction to a wireless network access module; the first network connection instruction is used for instructing the wireless network access module to access the router according to the first test parameter;
and detecting the network connection state of the wireless network access module and the router based on the first test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state.
In the above scheme, the method further comprises: when the wireless network access module is determined to be successfully accessed into the router, sending a network disconnection instruction to the wireless network access module, wherein the network disconnection instruction is used for indicating the wireless network access module to disconnect the network connection with the router;
after receiving the network disconnection state information sent by the wireless network access module, selecting a second test parameter from the at least one group of test parameters, encapsulating the second test parameter in a second configuration instruction, and sending the second configuration instruction to the router; the second test parameter is a parameter which is not selected from the at least one group of test parameters, and the second configuration instruction is used for instructing the router to perform network parameter configuration according to the second test parameter;
after the network parameter configuration success message sent by the router is received, the second test parameter is packaged in a second networking instruction, and the second networking instruction is sent to a wireless network access module; the second networking instruction is used for instructing the wireless network access module to access the router according to the second test parameter;
and detecting the network connection state of the wireless network access module and the router based on the second test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state.
In the above scheme, the method further comprises: and when the wireless network access module is determined to be unsuccessfully connected with the router, sending a reconnection instruction to the wireless network access module, wherein the reconnection instruction is used for instructing the wireless network access module to reconnect the router according to the first test parameter.
In the foregoing solution, after determining that the wireless network access module successfully accesses the router and determining that the wireless network access module successfully connects to the router, the method further includes: detecting whether the at least one group of test parameters have unselected parameters;
stopping connection detection of the wireless network when the selected parameters in the at least one group of test parameters are determined;
the sending of the network disconnection instruction to the wireless network access module includes: and when the unselected parameters in the at least one group of test parameters are determined, sending a network disconnection instruction to the wireless network access module.
In the above scheme, the test parameters include: the service set of the router identifies an SSID and a password.
An embodiment of the present invention provides a detection apparatus, where the apparatus includes: the acquisition unit is used for acquiring the configuration information of the router;
a generating unit, configured to generate at least one set of test parameters based on the configuration information;
the first selection unit is used for selecting a first test parameter from the at least one group of test parameters;
a first encapsulating unit, configured to encapsulate the first test parameter in a first configuration instruction, where the first configuration instruction is used to instruct the router to perform network parameter configuration according to the first test parameter;
a first sending unit, configured to send the first configuration instruction to the router;
a receiving unit, configured to receive a network parameter configuration success message sent by the router;
the first encapsulating unit is further configured to encapsulate the first test parameter in a first connection instruction after the receiving unit receives a network parameter configuration success message sent by the router, where the first connection instruction is used to instruct the wireless network access module to access the router according to the first test parameter;
the first sending unit is further configured to send the first connection instruction to a wireless network access module;
the detection unit is used for detecting the network connection state of the wireless network access module and the router based on the first test parameter;
and the judging unit is used for judging whether the wireless network access module is successfully accessed to the router or not based on the network connection state.
In the above solution, the apparatus further includes: the second sending unit is used for sending a network disconnection instruction to the wireless network access module when the judging unit determines that the wireless network access module is successfully accessed to the router, and the network disconnection instruction is used for indicating the wireless network access module to disconnect the network connection with the router;
the second selecting unit is used for selecting a second test parameter from the at least one group of test parameters after the receiving unit receives the network disconnection state information sent by the wireless network access module;
a second encapsulating unit, configured to encapsulate the second test parameter in a second configuration instruction, where the second test parameter is an unselected parameter in the at least one group of test parameters, and the second configuration instruction is used to instruct the router to perform network parameter configuration according to the second test parameter;
the second sending unit is further configured to send the second configuration instruction to the router;
the second encapsulating unit is further configured to encapsulate the second test parameter in a second networking instruction after the receiving unit receives the network parameter configuration success message sent by the router, where the second networking instruction is used to instruct the wireless network access module to access the router according to the second test parameter;
the second sending unit is used for sending the second networking instruction to a wireless network access module;
the second detection unit is used for detecting the network connection state of the wireless network access module and the router based on the second test parameter;
and the second judging unit is used for judging whether the wireless network access module is successfully accessed to the router or not based on the network connection state.
In the above solution, the apparatus further includes: and the third sending unit is used for sending a reconnection instruction to the wireless network access module when the wireless network access module is determined not to be successfully connected with the router, wherein the reconnection instruction is used for indicating the wireless network access module to reconnect the router according to the first test parameter.
In the above solution, the apparatus further includes: the third detection unit is used for detecting whether the unselected parameters exist in the at least one group of test parameters;
a termination unit, configured to stop connection detection of the wireless network when the third detection unit determines that all of the at least one group of test parameters are selected;
the second sending unit is specifically configured to send a network disconnection instruction to the wireless network access module when the third detecting unit determines that the unselected parameter exists in the at least one group of test parameters.
In the above scheme, the test parameters include: the service set of the router identifies an SSID and a password.
The method and the device for detecting the wireless network connection, provided by the embodiment of the invention, are used for acquiring the configuration information of a router and generating at least one group of test parameters based on the configuration information; selecting a first test parameter from the at least one group of test parameters, encapsulating the first test parameter in a first configuration instruction, and sending the first configuration instruction to the router; the first configuration instruction is used for instructing the router to carry out network parameter configuration according to the first test parameter; after receiving a network parameter configuration success message sent by the router, encapsulating the first test parameter in a first connection instruction, and sending the first connection instruction to a wireless network access module; the first network connection instruction is used for instructing the wireless network access module to access the router according to the first test parameter; and detecting the network connection state of the wireless network access module and the router based on the first test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state. Therefore, the embodiment of the invention can automatically generate the configuration parameters in the test process, set the generated configuration parameters into the router, send the connection instruction containing the configuration parameters to the WIFI module, and instruct the WIFI module to use the configuration parameters to access the router.
Drawings
FIG. 1 is a schematic diagram of a wireless network connection detection system;
fig. 2 is a schematic flow chart illustrating an implementation of a method for detecting a wireless network connection according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a detecting apparatus according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a method for detecting a wireless network connection according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating an implementation of a method for detecting a wireless network connection according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings, which illustrate some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a detection system for wireless network connection, as shown in fig. 1, the detection system includes: detection device 101, wireless network access module 102, router 103, bus 104, and network line 105; wherein the content of the first and second substances,
detection device 101, may include, but is not limited to: a mobile phone (including a function machine and a smart phone), a computer (including a notebook computer, a desktop computer and a tablet computer) or a specially developed device for detecting wireless network connection, which has a bus interface and a network cable interface.
The Wireless network access module 102 is a module or a component applied to a household appliance and accessed to a Wireless network, and the Wireless network access module 102 may also be referred to as a Wireless Fidelity (WIFI) module.
The router 103 is a wireless router, or may serve as a terminal device or a device combination of a wireless router, such as a laptop that can share a wireless network, or a combination of a WIFI and a laptop.
The bus 104 is a Universal Asynchronous Receiver/Transmitter (UART), also called a serial bus, and is used as a common communication backbone for information transmission between functional units of a computer. Wherein the thick solid line is represented as bus 104, as shown in fig. 1.
The network cable 105, which is a network cable used in a local area network, may include twisted pair, coaxial cable, and optical cable. The thin solid line is represented as mesh 105, as shown in fig. 1.
Example one
Fig. 2 is a schematic flow chart illustrating an implementation process of a method for detecting a wireless network connection according to an embodiment of the present invention, as shown in fig. 2, the method for detecting a wireless network connection according to the present embodiment includes the following steps:
step 201: configuration information of the router is obtained, and at least one group of testing parameters is generated based on the configuration information.
Here, the configuration information includes, but is not limited to: SSID, password, supported wireless protocol standards, channel, authentication and encryption mode, etc., wherein the wireless protocol standards include but are not limited to: 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, as set by The Institute of Electrical and Electronics Engineers (IEEE).
Here, the test parameters include, but are not limited to: an SSID and a password of the router.
Further, the test parameters include, but are not limited to: the SSID and the password of the router, wherein the SSID and the password can be composed of one or more combinations of numbers, letters, special characters and the like with certain lengths, and the letters are distinguished by case, namely A and a are different letters; the special characters distinguish between Chinese and English, i.e., "? And? "are different special characters. For example, the test parameter may be the following SSID and password combination: SSID 7 digits "1234321", "HR 12321", "HR 1221? "," HR 1221? "or" MEIDIGS ", the corresponding combination may be" 1234567 "," HR12345 "," HR 1234? "," HR 1234? "or" MEIDIGS ", etc., and the number of such combinations can be up to 36 according to the permutation and combination theory. The above combinations of SSID and password are exemplary only and not exhaustive, including but not limited to the above combinations.
Specifically, after the detection device acquires the configuration information of the router, a plurality of sets of test parameters including parameters such as SSID and password are generated according to a preset algorithm, where the SSID is "meidi", and at this time, the password may be "1234567", "HR 12345", "HR 1234? "," HR 1234? Either "or" MEIDIGS "; or the SSID is "HR 12321", in which case the password may be "1234567", "HR 12345", "HR 1234? "," HR 1234? Or "MEIDIGS".
Step 202: selecting a first test parameter from the at least one group of test parameters, encapsulating the first test parameter in a first configuration instruction, and sending the first configuration instruction to the router; the first configuration instruction is used for instructing the router to perform network parameter configuration according to the first test parameter.
In the embodiment of the invention, the detection equipment selects a group of test parameters from the group of test parameters, assumes that the SSID is 'MEIDIGS' and the corresponding password is 'HR 12345', and then packages the SSID and the password into a first configuration instruction; and sending the first configuration instruction to the router, and after receiving the instruction, the router configures the network parameters according to the SSID and the password in the instruction.
Specifically, the sending the first configuration instruction to the router includes: and sending the first configuration instruction to the router through a UART. Here, the UART is used to replace a network cable transmission instruction, such as a first configuration instruction, in order to avoid the problem that the detection device cannot know the state of the router when the router is restarted; and when the network configuration of the router has a problem, the problem that the detection equipment cannot communicate with the router is avoided, so that the detection efficiency of the wireless network connection is improved.
Step 203: after receiving a network parameter configuration success message sent by the router, encapsulating the first test parameter in a first connection instruction, and sending the first connection instruction to a wireless network access module; the first network connection instruction is used for instructing the wireless network access module to access the router according to the first test parameter.
Here, the wireless access module may also be referred to as a WIFI module, and is applied to a household appliance, and is used as a module or a component in the household appliance to connect to a wireless router, so as to implement a corresponding interaction function, such as a mobile phone connected to a network and a certain household appliance, and a user controls the household appliance through the mobile phone. For example, after the air conditioner with the WIFI module is connected to the wireless router, the user can control the air conditioner through software on the mobile phone, for example, in summer, before the user goes home, the user wants to turn on the air conditioner to reduce the indoor temperature, at this time, the software on the mobile phone sends a turn-on command to the air conditioner to turn on the air conditioner and set the temperature of the air conditioner, and when the user goes home, the indoor temperature reaches the appropriate temperature.
Specifically, the sending the first connection instruction to the wireless network access module includes: and sending the first connecting instruction to a wireless network access module through a UART. The wireless network access module may have a certain error rate when monitoring the wireless broadcast information broadcast by the detection device and analyzing the corresponding SSID and password according to the wireless broadcast information, so that the UART is used for transmitting the first network connection instruction instead of the wireless broadcast transmission mode, thereby reducing the error rate and improving the detection effect of the wireless network connection.
Specifically, after the router successfully configures the network parameters according to the SSID and the password in the first test parameter, the router sends a network parameter configuration success message to the detection device, after the detection device receives the network parameter configuration success message sent by the router, the SSID and the password in the first test parameter are encapsulated into a first connection instruction, the first connection instruction is sent to the wireless network access module, and after the wireless network access module receives the first connection instruction, the router is connected according to the SSID and the password in the instruction.
Step 204: and detecting the network connection state of the wireless network access module and the router based on the first test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state.
Specifically, after sending a first network connection instruction, the detection device sends a detection instruction to the wireless network access module, after receiving the detection instruction, the wireless network access module sends information of a network connection state based on the first test parameter to the detection device, and the detection device judges whether the wireless network access module successfully accesses the router according to the information of the network connection state; or after the wireless network access module is accessed to the router, broadcasting information of the network connection state based on the first test parameter to the detection equipment, and after the detection equipment receives the information, judging whether the wireless network access module is successfully accessed to the router based on the network connection state.
Further, when the wireless network access module is determined to be successfully accessed to the router, a network disconnection instruction is sent to the wireless network access module, and the network disconnection instruction is used for indicating the wireless network access module to disconnect the network connection with the router.
For example, assume that the SSID and password configured by the router are: "MEIDIGS" and "HR 12345" indicate that the test is successful after the wireless network access module is determined to successfully access the router of the SSID and password, the SSID and password need to be replaced for the next test, and before the next test, the connection between the wireless network access module and the router needs to be disconnected.
Further, after receiving the network disconnection state information sent by the wireless network access module, selecting a second test parameter from the at least one group of test parameters, encapsulating the second test parameter in a second configuration instruction, and sending the second configuration instruction to the router; the second test parameter is a parameter that is not selected from the at least one group of test parameters, and the second configuration instruction is used for instructing the router to perform network parameter configuration according to the second test parameter.
Specifically, the sending the second configuration instruction to the router includes: and sending the second configuration instruction to the router through a UART. Here, the UART is used instead of the network line transmission instruction, such as the first configuration instruction, in order to avoid the problem that the detection device cannot know the state of the router when the router is restarted, and to avoid the problem that the detection device cannot communicate with the router when the network configuration of the router is in problem, thereby improving the detection efficiency of the wireless network connection.
Specifically, after receiving the network disconnection status information sent by the wireless network access module, it indicates that the communication connection between the wireless network access module and the router has been disconnected, and the next wireless network connection detection may be performed, at this time, the detection device selects a test parameter that is not selected from the at least one group of test parameters, that is, the second configuration parameter in the embodiment of the present invention. For example, assuming that the number of combinations of the at least one set of test parameters is 6, combine one: "1234321" and "1234567"; combining two: "HR 12321" and "HR 12345"; combining three components: "hr 12321" and "hr 12345"; and (4) combining: "HR 1221? "and" HR 1234? "; and (5) combining: "HR 1221? "and" HR 1234? "; combining six: "MEIDIGS" and "MEIDIGS", wherein the former represents SSID and the latter represents password in the above combination. When the combination one, the combination two and the combination three are all selected and the detection result is successful, the next detection is performed by selecting the combination four, the combination five and the combination six, assuming that the selected combination is the combination four, then the SSID and the password parameter "HR 1221? "and" HR 1234? And encapsulating the configuration data in a second configuration instruction, and sending the second configuration instruction to the router.
Further, after receiving the network parameter configuration success message sent by the router, encapsulating the second test parameter in a second networking instruction, and sending the second networking instruction to a wireless network access module; and the second networking instruction is used for instructing the wireless network access module to access the router according to the second test parameter.
Specifically, the sending the second networking instruction to the wireless network access module includes: and sending the second networking instruction to a wireless network access module through a UART. The wireless network access module monitors the wireless broadcast information broadcast by the detection equipment and analyzes the corresponding SSID and password according to the wireless broadcast information, and a certain error rate is possibly achieved, so that the UART is used for replacing a transmission mode of wireless broadcast to transmit a second networking instruction, the error rate is reduced, and the detection effect of wireless network connection is improved.
And further, detecting the network connection state of the wireless network access module and the router based on the second test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state. And when the wireless network access module is determined to be successfully accessed to the router, the test is successful by using the test parameters of the combination four, so that the next detection is carried out, and one group is selected from the combination five and the combination six for carrying out the next detection.
Further, when it is determined that the wireless network access module is not successfully connected with the router, a reconnection instruction is sent to the wireless network access module, and the reconnection instruction is used for instructing the wireless network access module to reconnect the router according to the first test parameter. Generally speaking, if a certain group of test parameters are used, if the combined five test is not successful, that is, if the wireless network access module does not successfully access the router with the configuration parameters of the combined five, the detection device sends a reconnection instruction to the wireless network access module after receiving the information that the test is unsuccessful, and instructs the wireless network access module to reconnect the router, and if the connection is still unsuccessful for three times, the detection device judges that the detection of the test parameters using the combination fails; if the connection is successful in three times, the next detection is continued, and if the combination from one to five is selected, the combination from six is selected as a test parameter for detection. It should be noted that the combinations of the detection parameters in the embodiments of the present invention are merely exemplary, and are not exhaustive, and include, but are not limited to, the above six combinations.
Further, after said determining that said wireless network access module successfully accesses said router and said determining that said wireless network access module successfully connects said router, said method further comprises: detecting whether the at least one group of test parameters have unselected parameters; and stopping the connection detection of the wireless network when the selected parameters in the at least one group of test parameters are determined.
Further, the sending a network disconnection command to the wireless network access module includes: and when the unselected parameters in the at least one group of test parameters are determined, sending a network disconnection instruction to the wireless network access module.
Specifically, when all SSID and password combinations are tested successfully, the wireless network connection detection of the round is completed. In the embodiment of the present invention, if the number of the at least one set of test parameters is 6, combine one: "1234321" and "1234567"; combining two: "HR 12321" and "HR 12345"; combining three components: "hr 12321" and "hr 12345"; and (4) combining: "HR 1221? "and" HR 1234? "; and (5) combining: "HR 1221? "and" HR 1234? "; combining six: "meidicgs" and "meidicgs" when these six combinations are selected and the detection is successful, the current round of wireless network connection detection is stopped. If the other parameters need to be tested, the tester modifies the corresponding test case and continues to test according to the method.
In order to implement the foregoing method, a first embodiment of the present invention further provides a detection device, as shown in fig. 3, where the detection device includes: an acquiring unit 301, a generating unit 302, a first selecting unit 303, a first packaging unit 304, a first sending unit 305, a receiving unit 306, a first detecting unit 307 and a judging unit 308; wherein the content of the first and second substances,
an obtaining unit 301, configured to obtain configuration information of a router.
A generating unit 302, configured to generate at least one set of test parameters based on the configuration information.
Here, the test parameters include, but are not limited to: an SSID and a password of the router.
A first selecting unit 303, configured to select a first test parameter from the at least one set of test parameters.
A first encapsulating unit 304, configured to encapsulate the first test parameter in a first configuration instruction, where the first configuration instruction is used to instruct the router to perform network parameter configuration according to the first test parameter.
A first sending unit 305, configured to send the first configuration instruction to the router.
A receiving unit 306, configured to receive a network parameter configuration success message sent by the router.
The first encapsulating unit 304 is further configured to encapsulate the first test parameter in a first connection instruction after the receiving unit receives a network parameter configuration success message sent by the router, where the first connection instruction is used to instruct the wireless network access module to access the router according to the first test parameter.
The first sending unit 305 is further configured to send the first connection instruction to a wireless network access module.
A first detecting unit 307, configured to detect a network connection status between the wireless network access module and the router based on the first test parameter.
A determining unit 308, configured to determine whether the wireless network access module successfully accesses the router based on the network connection status.
Further, the apparatus further comprises: a second sending unit 309, configured to send a network disconnection instruction to the wireless network access module when the determining unit determines that the wireless network access module successfully accesses the router, where the network disconnection instruction is used to instruct the wireless network access module to disconnect the network connection with the router.
A second selecting unit 310, configured to select a second test parameter from the at least one group of test parameters after the receiving unit receives the network disconnection status information sent by the wireless network access module.
A second encapsulating unit 311, configured to encapsulate the second test parameter in a second configuration instruction, where the second test parameter is an unselected parameter in the at least one group of test parameters, and the second configuration instruction is used to instruct the router to perform network parameter configuration according to the second test parameter.
The second sending unit 309 is further configured to send the second configuration instruction to the router.
The second encapsulating unit 311 is further configured to encapsulate the second test parameter in a second networking instruction after the receiving unit receives the network parameter configuration success message sent by the router, where the second networking instruction is used to instruct the wireless network access module to access the router according to the second test parameter.
The second sending unit 309 is configured to send the second networking instruction to the wireless network access module.
A second detecting unit 312, configured to detect a network connection status between the wireless network access module and the router based on the second test parameter.
A second determining unit 313, configured to determine whether the wireless network access module successfully accesses the router based on the network connection status.
Further, the apparatus further comprises: a third sending unit 314, configured to send a reconnection instruction to the wireless network access module when it is determined that the wireless network access module is not successfully connected to the router, where the reconnection instruction is used to instruct the wireless network access module to reconnect to the router according to the first test parameter.
Further, the apparatus further comprises: a third detecting unit 315, configured to detect whether there are unselected parameters in the at least one set of test parameters.
A terminating unit 316, configured to stop the connection detection of the wireless network when the third detecting unit determines that all of the at least one set of test parameters are selected.
The second sending unit 309 is specifically configured to send a network disconnection instruction to the wireless network access module when the third detecting unit determines that the unselected parameter exists in the at least one group of test parameters.
The detection device consisting of the modules can execute the following method steps:
(1) the obtaining unit 301 obtains configuration information of the router, and generates at least one set of test parameters based on the configuration information.
Here, the configuration information includes, but is not limited to: SSID, password, supported wireless protocol standards, channel, authentication and encryption mode, etc., wherein the wireless protocol standards include but are not limited to: 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, as set by The Institute of Electrical and Electronics Engineers (IEEE).
Here, the test parameters include, but are not limited to: an SSID and a password of the router.
Further, the test parameters include, but are not limited to: the SSID and the password of the router, wherein the SSID and the password can be composed of one or more combinations of numbers, letters, special characters and the like with certain lengths, and the letters are distinguished by case, namely A and a are different letters; the special characters distinguish between Chinese and English, i.e., "? And? "are different special characters. For example, the test parameter may be the following SSID and password combination: SSID 7 digits "1234321", "HR 12321", "HR 1221? "," HR 1221? "or" MEIDIGS ", the corresponding combination may be" 1234567 "," HR12345 "," HR 1234? "," HR 1234? "or" MEIDIGS ", etc., and the number of such combinations can be up to 36 according to the permutation and combination theory. The above combinations of SSID and password are exemplary only and not exhaustive, including but not limited to the above combinations.
Specifically, after the obtaining unit 301 obtains the configuration information of the router, the generating unit 302 generates a plurality of sets of test parameters including parameters such as SSID and password according to a preset algorithm, for example, the SSID is "meidi", and at this time, the password may be "1234567", "HR 12345", "HR 1234? "," HR 1234? Either "or" MEIDIGS "; or the SSID is "HR 12321", in which case the password may be "1234567", "HR 12345", "HR 1234? "," HR 1234? Or "MEIDIGS".
(2) The first selecting unit 303 selects a first test parameter from the at least one group of test parameters, the first encapsulating unit 304 encapsulates the first test parameter in a first configuration instruction, and the first sending unit 305 sends the first configuration instruction to the router; the first configuration instruction is used for instructing the router to perform network parameter configuration according to the first test parameter.
In the embodiment of the present invention, the first selecting unit 303 selects a group of test parameters from the group of test parameters, assuming that the SSID is "meidi", and the corresponding password is "HR 12345", and then the first encapsulating unit 304 encapsulates the SSID and the password into the first configuration instruction; the first sending unit 305 sends the first configuration instruction to the router, and after receiving the instruction, the router configures the network parameters according to the SSID and the password in the instruction.
Specifically, the first sending unit 305 sends the first configuration instruction to the router, including: the first sending unit 305 sends the first configuration instruction to the router through the UART. Here, the UART is used to replace a network cable transmission instruction, such as a first configuration instruction, in order to avoid the problem that the detection device cannot know the state of the router when the router is restarted; and when the network configuration of the router has a problem, the problem that the detection equipment cannot communicate with the router is avoided, so that the detection efficiency of the wireless network connection is improved.
(3) After the receiving unit 306 receives the network parameter configuration success message sent by the router, the first encapsulating unit 304 encapsulates the first test parameter in a first connection instruction, and the first sending unit 305 sends the first connection instruction to the wireless network access module; the first network connection instruction is used for instructing the wireless network access module to access the router according to the first test parameter.
Here, the wireless access module may also be referred to as a WIFI module, and is applied to a household appliance, and is used as a module or a component in the household appliance to connect to a wireless router, so as to implement a corresponding interaction function, such as a mobile phone connected to a network and a certain household appliance, and a user controls the household appliance through the mobile phone. For example, after the air conditioner with the WIFI module is connected to the wireless router, the user can control the air conditioner through software on the mobile phone, for example, in summer, before the user goes home, the user wants to turn on the air conditioner to reduce the indoor temperature, at this time, the software on the mobile phone sends a turn-on command to the air conditioner to turn on the air conditioner and set the temperature of the air conditioner, and when the user goes home, the indoor temperature reaches the appropriate temperature.
Specifically, the sending unit 305 sends the first connection instruction to the wireless network access module, including: the first sending unit 305 sends the first connection instruction to the wireless network access module through the UART. The wireless network access module monitors wireless broadcast information broadcast by the detection equipment and analyzes the corresponding SSID and password according to the wireless broadcast information, and a certain error rate is possibly achieved, so that the UART is used for replacing a transmission mode of wireless broadcast to transmit the first network connection instruction, the error rate can be reduced, and the detection effect of wireless network connection is improved.
Specifically, after the router successfully configures the network parameters according to the SSID and the password in the first test parameter, the router sends a message that the network parameter configuration is successful to the detection device, after the receiving unit 306 receives the message that the network parameter configuration is successful, the first encapsulating unit 304 encapsulates the SSID and the password in the first test parameter into a first connection instruction, the first sending unit 305 sends the first connection instruction to the wireless network access module, and after the wireless network access module receives the first connection instruction, the wireless network access module connects the router according to the SSID and the password in the instruction.
(4) The first detecting unit 307 detects the network connection status of the wireless network access module and the router based on the first test parameter, and the determining unit 308 determines whether the wireless network access module successfully accesses the router based on the network connection status.
Specifically, after sending the first network connection instruction, the first sending unit 305 sends a detection instruction to the wireless network access module, and after receiving the detection instruction, the wireless network access module sends information of a network connection state based on the first test parameter to the detection device, and the determining unit 308 determines whether the wireless network access module successfully accesses the router according to the information of the network connection state; or after the wireless network access module accesses the router, the wireless network access module broadcasts information of the network connection state based on the first test parameter to the detection device, and after the receiving unit 306 receives and detects the information, the judging unit 308 judges whether the wireless network access module successfully accesses the router based on the network connection state.
Further, when it is determined that the wireless network access module successfully accesses the router, the second sending unit 309 sends a network disconnection instruction to the wireless network access module, where the network disconnection instruction is used to instruct the wireless network access module to disconnect the network connection with the router.
For example, assume that the SSID and password configured by the router are: "MEIDIGS" and "HR 12345" indicate that the test is successful after the wireless network access module is determined to successfully access the router of the SSID and password, the SSID and password need to be replaced for the next test, and before the next test, the connection between the wireless network access module and the router needs to be disconnected.
Further, after the receiving unit 306 receives the network disconnection status information sent by the wireless network access module, the second selecting unit 310 selects a second test parameter from the at least one group of test parameters, the second encapsulating unit 311 encapsulates the second test parameter in a second configuration instruction, and the second sending unit 309 sends the second configuration instruction to the router; the second test parameter is a parameter that is not selected from the at least one group of test parameters, and the second configuration instruction is used for instructing the router to perform network parameter configuration according to the second test parameter.
Specifically, the sending unit 309 sends the second configuration instruction to the router, where the sending unit includes: the second sending unit 309 sends the second configuration instruction to the router through the UART. Here, the UART is used to replace a network cable transmission instruction, such as a first configuration instruction, in order to avoid the problem that the detection device cannot know the state of the router when the router is restarted; and when the network configuration of the router has a problem, the problem that the detection equipment cannot communicate with the router is avoided, so that the detection efficiency of the wireless network connection is improved.
Specifically, after receiving the network disconnection status information sent by the wireless network access module, the receiving unit 306 indicates that the communication connection between the wireless network access module and the router has been disconnected, and the next wireless network connection detection can be performed, at this time, the second selecting unit 310 selects the unselected test parameter, that is, the second configuration parameter in the embodiment of the present invention, from the at least one group of test parameters. For example, assuming that the number of combinations of the at least one set of test parameters is 6, combine one: "1234321" and "1234567"; combining two: "HR 12321" and "HR 12345"; combining three components: "hr 12321" and "hr 12345"; and (4) combining: "HR 1221? "and" HR 1234? "; and (5) combining: "HR 1221? "and" HR 1234? "; combining six: "MEIDIGS" and "MEIDIGS", wherein the former represents SSID and the latter represents password in the above combination. When the combination one, the combination two and the combination three are all selected and the detection result is successful, the next detection is performed by selecting the combination four, the combination five and the combination six, assuming that the selected combination is the combination four, then the SSID and the password parameter "HR 1221? "and" HR 1234? "is encapsulated in a second configuration instruction, and the second sending unit 309 sends the second configuration instruction to the router.
Further, after the receiving unit 306 receives the network parameter configuration success message sent by the router, the second encapsulating unit 311 encapsulates the second test parameter in a second networking instruction, and the second sending unit 309 sends the second networking instruction to the wireless network access module; and the second networking instruction is used for instructing the wireless network access module to access the router according to the second test parameter.
Specifically, the second sending unit 309 sends the second networking instruction to the wireless network access module, including: the second transmitting unit 309 transmits the second networking instruction to the wireless network access module through the UART. The wireless network access module monitors the wireless broadcast information broadcast by the detection equipment and analyzes the corresponding SSID and password according to the wireless broadcast information, and a certain error rate is possibly achieved, so that the UART is used for replacing a transmission mode of wireless broadcast to transmit a second networking instruction, the error rate is reduced, and the detection effect of wireless network connection is improved.
Further, the second detecting unit 312 detects a network connection status of the wireless network access module and the router based on the second test parameter, and the second determining unit 313 determines whether the wireless network access module successfully accesses the router based on the network connection status. And when the wireless network access module is determined to be successfully accessed to the router, the test is successful by using the test parameters of the combination four, so that the next detection is carried out, and one group is selected from the combination five and the combination six for carrying out the next detection.
Further, when it is determined that the wireless network access module is not successfully connected to the router, the third sending unit 314 sends a reconnection instruction to the wireless network access module, where the reconnection instruction is used to instruct the wireless network access module to reconnect to the router according to the first test parameter. Generally speaking, if a certain set of test parameters is used, if the combined five test is not successful, that is, if the wireless network access module does not successfully access the router with the configuration parameters of the combined five, after the receiving unit 306 receives the information that the test is unsuccessful, the third sending unit 314 sends a reconnection instruction to the wireless network access module to instruct the wireless network access module to reconnect the router, and if the connection is still unsuccessful for three times, the second determining unit 313 determines that the detection of the test parameters using the combination fails; if the connection is successful in three times, the next detection is continued, and if the combination from one to five is selected, the combination from six is selected as a test parameter for detection. It should be noted that the combinations of the detection parameters in the embodiments of the present invention are merely exemplary, and are not exhaustive, and include, but are not limited to, the above six combinations.
Further, after said determining that said wireless network access module successfully accesses said router and said determining that said wireless network access module successfully connects said router, said method further comprises: the third detecting unit 315 detects whether there is an unselected parameter in the at least one group of test parameters; upon determining that all of the at least one set of test parameters are selected, termination unit 316 stops connection detection for the wireless network.
Further, the sending a network disconnection command to the wireless network access module includes: when the second sending unit 309 determines that there is an unselected parameter in the at least one set of test parameters, it sends a network disconnection instruction to the wireless network access module.
Specifically, when all SSID and password combinations are tested successfully, the wireless network connection detection of the round is completed. In the embodiment of the present invention, if the number of the at least one set of test parameters is 6, combine one: "1234321" and "1234567"; combining two: "HR 12321" and "HR 12345"; combining three components: "hr 12321" and "hr 12345"; and (4) combining: "HR 1221? "and" HR 1234? "; and (5) combining: "HR 1221? "and" HR 1234? "; combining six: "meidicgs" and "meidicgs" when these six combinations are selected and the detection is successful, the current round of wireless network connection detection is stopped. If the other parameters need to be tested, the tester modifies the corresponding test case and continues to test according to the method.
According to the technical scheme of the embodiment of the invention, the detection equipment automatically generates the configuration parameters, sets the generated configuration parameters into the router, sends the connection instruction containing the configuration parameters to the WIFI module, and instructs the WIFI module to access the router by using the configuration parameters, so that the process that a tester needs to manually input the configuration parameters during each test is avoided, and the test efficiency of the WIFI module is improved.
Example two
Fig. 4 is a schematic flow chart illustrating an implementation process of a method for detecting a wireless network connection according to a second embodiment of the present invention, as shown in fig. 4, the method for detecting a wireless network connection according to the present embodiment includes the following steps:
step 401: WIFI module standby mode.
Step 402: the detection equipment sends the distribution network information of the target route to the WIFI module through the bus.
The detection equipment automatically generates distribution network information of the target route, namely configuration parameters of the router, according to a preset algorithm, and then sends the distribution network information to the WIFI module through the bus.
Here, the distribution network information may include, but is not limited to: an SSID and a password of the router.
Step 403: whether the WIFI module receives the distribution network information or not.
And when the WIFI module does not receive the distribution network information, returning to the step 402, and sending the distribution network information of the target route to the WIFI module again by the detection equipment through the bus.
Step 404: and when the WIFI module receives the distribution network information, the WIFI module is connected to the target route according to the detection equipment instruction.
Step 405: and the WIFI module feeds back the networking state in a broadcasting mode.
Step 406: and detecting whether the equipment successfully receives the networking state of the WIFI module.
Step 407: and the detection equipment sends an off-network instruction to the WIFI module through the bus.
Step 408: the WIFI module disconnects the network and feeds the off-network information back to the detection equipment through the bus.
Step 409: the detection device instructs a modification of the routing parameter/parameter combination.
Step 410: the router modification completes the restart.
Step 411: the WIFI module disconnects the network and feeds the off-network information back to the detection equipment through the bus.
Step 412: the router feeds back the reset state to the detection device.
Step 413: and judging whether the routing parameter/parameter combination is detected.
Here, the parameter/parameter combination is an SSID and a password of the router and a combination thereof.
If the detection of the routing parameter/parameter combination is finished, the connection detection of the wireless network in the current round is finished; if the routing parameter/parameter combination is not detected, the process returns to step 402, that is, the detection device sends the distribution network information of the target route to the WIFI module through the bus.
EXAMPLE III
Fig. 5 is a schematic flow chart illustrating an implementation process of a method for detecting a wireless network connection according to a third embodiment of the present invention, as shown in fig. 5, the method for detecting a wireless network connection according to the present embodiment includes the following steps:
step 501: WIFI module standby mode.
And the WIFI module enters a standby mode, and waits for a computer to send a networking instruction, wherein the computer is a terminal for detecting wireless network connection.
Step 502: and the computer sends the target routing SSID and the password to the WIFI module through the serial port in a one-to-one mode.
Here, the target route is a wireless router used in a test procedure.
And the computer for testing sends the current SSID, the password and the networking instruction of the target router to the WIFI module one by one through the serial port bus. The monitored broadcast information has a certain error rate, so that the WIFI module does not need to monitor the broadcast information and then analyze corresponding SSID and passwords, and the SSID and the passwords are directly received through the bus.
Step 503: and judging whether the WIFI module receives the target routing distribution network information.
Here, the distribution network information refers to an SSID and a password of a target route.
And the WIFI module feeds back the received SSID and the password to the computer for testing through the bus. If the feedback is successful, go to step 504; if the feedback fails, return to step 502; the number of times of testing can be set according to actual needs, if the number of times is 3 or 4, if the number of times exceeds the number of times and is not successful, it is judged that the step of the WIFI module fails, and the testing fails.
Step 504: and when the WIFI module receives the distribution network information of the target route, the WIFI module is connected to the target route.
Step 505: and the WIFI module feeds the networking state back to the equipment in the local area network in a broadcasting mode.
And the WIFI module is connected to the target router and broadcasts the state after the networking is successful.
Step 506: whether the computer successfully receives the WIFI networking state.
After the computer successfully receives the broadcast information of the WIFI networking state, step 507 is performed. And the WIFI module unsuccessfully feeds back the broadcast information after the network connection after overtime, and continues to issue commands to enable the WIFI module to be connected with the router. Failed 3 times and the test failed.
Step 507: and the computer sends an off-network instruction to the WIFI module through the serial port.
Step 508: the WIFI module disconnects the network and feeds the off-network information back to the computer.
Here, the WIFI module disconnects the network and feeds back the off-network information to the computer through the serial port.
Step 509: and the WIFI module feeds back the routing state through the serial port.
Step 510: whether the WIFI module is off-network successfully.
And the testing computer acquires the WIFI networking state, if the off-network failure occurs, a command is continuously issued to enable the WIFI module to disconnect the router, if the off-network failure times reach 3 times, the test is failed, and the current processing flow is finished. And the testing computer acquires that the WIFI is successfully off-network, and then the step 511 is carried out.
Step 511: the computer instructs to modify the routing parameters.
The testing computer sends instructions to modify the SSID and/or password of the router.
Step 512: the router modification completes the restart.
Step 513: the computer queries and confirms that the router has been reset.
Step 514: and judging whether the routing parameter/parameter combination is detected.
Here, the parameter/parameter combination is an SSID and a password of the router and a combination thereof.
If the detection of the routing parameter/parameter combination is finished, the connection detection of the wireless network in the current round is finished; and if the routing parameter/parameter combination is not detected, returning to the step 2, namely, generating detection parameters SSID and passwords by the computer, or selecting unselected SSIDs and passwords from the generated SSID and password set, and then sending the selected target routing SSID and password to the WIFI module through the serial port pair.
In practical applications, the obtaining Unit 301, the generating Unit 302, the first selecting Unit 303, the first encapsulating Unit 304, the first detecting Unit 307, the determining Unit 308, the second selecting Unit 310, the second encapsulating Unit 311, the second detecting Unit 312, the second determining Unit 313, the third detecting Unit 315, and the terminating Unit 316 may be implemented by a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field-programmable gate Array (FPGA), or the like located in the detecting device; the first sending unit 305, the receiving unit 306, the second sending unit 309 and the third sending unit 314 are implemented by a data interface on the detection device, or an antenna system, etc.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A method of detecting a wireless network connection, the method comprising:
acquiring configuration information of a router, and generating at least one group of test parameters based on the configuration information;
selecting a first test parameter from the at least one group of test parameters, encapsulating the first test parameter in a first configuration instruction, and sending the first configuration instruction to the router; the first configuration instruction is used for instructing the router to carry out network parameter configuration according to the first test parameter;
after receiving a network parameter configuration success message sent by the router, encapsulating the first test parameter in a first connection instruction, and sending the first connection instruction to a wireless network access module; the first network connection instruction is used for instructing the wireless network access module to access the router according to the first test parameter;
and detecting the network connection state of the wireless network access module and the router based on the first test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state.
2. The method of claim 1, further comprising:
when the wireless network access module is determined to be successfully accessed into the router, sending a network disconnection instruction to the wireless network access module, wherein the network disconnection instruction is used for indicating the wireless network access module to disconnect the network connection with the router;
after receiving the network disconnection state information sent by the wireless network access module, selecting a second test parameter from the at least one group of test parameters, encapsulating the second test parameter in a second configuration instruction, and sending the second configuration instruction to the router; the second test parameter is a parameter which is not selected from the at least one group of test parameters, and the second configuration instruction is used for instructing the router to perform network parameter configuration according to the second test parameter;
after the network parameter configuration success message sent by the router is received, the second test parameter is packaged in a second networking instruction, and the second networking instruction is sent to a wireless network access module; the second networking instruction is used for instructing the wireless network access module to access the router according to the second test parameter;
and detecting the network connection state of the wireless network access module and the router based on the second test parameter, and judging whether the wireless network access module is successfully accessed to the router based on the network connection state.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the wireless network access module is determined to be unsuccessfully connected with the router, sending a reconnection instruction to the wireless network access module, wherein the reconnection instruction is used for instructing the wireless network access module to reconnect the router according to the first test parameter.
4. The method of claim 3, wherein after determining that the wireless network access module successfully accesses the router, the method further comprises:
detecting whether the at least one group of test parameters have unselected parameters;
stopping connection detection of the wireless network when the selected parameters in the at least one group of test parameters are determined;
the sending of the network disconnection instruction to the wireless network access module includes:
and when the unselected parameters in the at least one group of test parameters are determined, sending a network disconnection instruction to the wireless network access module.
5. The method of claim 4, wherein the test parameters comprise: the service set of the router identifies an SSID and a password.
6. A detection device, characterized in that the device comprises:
the acquisition unit is used for acquiring the configuration information of the router;
a generating unit, configured to generate at least one set of test parameters based on the configuration information;
the first selection unit is used for selecting a first test parameter from the at least one group of test parameters;
a first encapsulating unit, configured to encapsulate the first test parameter in a first configuration instruction, where the first configuration instruction is used to instruct the router to perform network parameter configuration according to the first test parameter;
a first sending unit, configured to send the first configuration instruction to the router;
a receiving unit, configured to receive a network parameter configuration success message sent by the router;
the first encapsulating unit is further configured to encapsulate the first test parameter in a first connection instruction after the receiving unit receives a network parameter configuration success message sent by the router, where the first connection instruction is used to instruct a wireless network access module to access the router according to the first test parameter;
the first sending unit is further configured to send the first connection instruction to a wireless network access module;
the detection unit is used for detecting the network connection state of the wireless network access module and the router based on the first test parameter;
and the judging unit is used for judging whether the wireless network access module is successfully accessed to the router or not based on the network connection state.
7. The apparatus of claim 6, further comprising:
the second sending unit is used for sending a network disconnection instruction to the wireless network access module when the judging unit determines that the wireless network access module is successfully accessed to the router, and the network disconnection instruction is used for indicating the wireless network access module to disconnect the network connection with the router;
the second selecting unit is used for selecting a second test parameter from the at least one group of test parameters after the receiving unit receives the network disconnection state information sent by the wireless network access module;
a second encapsulating unit, configured to encapsulate the second test parameter in a second configuration instruction, where the second test parameter is an unselected parameter in the at least one group of test parameters, and the second configuration instruction is used to instruct the router to perform network parameter configuration according to the second test parameter;
the second sending unit is further configured to send the second configuration instruction to the router;
the second encapsulating unit is further configured to encapsulate the second test parameter in a second networking instruction after the receiving unit receives the network parameter configuration success message sent by the router, where the second networking instruction is used to instruct the wireless network access module to access the router according to the second test parameter;
the second sending unit is further configured to send the second networking instruction to a wireless network access module;
the second detection unit is used for detecting the network connection state of the wireless network access module and the router based on the second test parameter;
and the second judging unit is used for judging whether the wireless network access module is successfully accessed to the router or not based on the network connection state.
8. The apparatus of claim 6 or 7, further comprising:
and the third sending unit is used for sending a reconnection instruction to the wireless network access module when the wireless network access module is determined not to be successfully connected with the router, wherein the reconnection instruction is used for indicating the wireless network access module to reconnect the router according to the first test parameter.
9. The apparatus of claim 7, further comprising:
the third detection unit is used for detecting whether the unselected parameters exist in the at least one group of test parameters;
a termination unit, configured to stop connection detection of the wireless network when the third detection unit determines that all of the at least one group of test parameters are selected;
the second sending unit is specifically configured to send a network disconnection instruction to the wireless network access module when the third detecting unit determines that the unselected parameter exists in the at least one group of test parameters.
10. The apparatus of claim 9, wherein the test parameters comprise: the service set of the router identifies an SSID and a password.
CN201710386730.3A 2017-05-26 2017-05-26 Method for detecting wireless network connection and detection equipment Active CN107205239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710386730.3A CN107205239B (en) 2017-05-26 2017-05-26 Method for detecting wireless network connection and detection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710386730.3A CN107205239B (en) 2017-05-26 2017-05-26 Method for detecting wireless network connection and detection equipment

Publications (2)

Publication Number Publication Date
CN107205239A CN107205239A (en) 2017-09-26
CN107205239B true CN107205239B (en) 2020-06-16

Family

ID=59906232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710386730.3A Active CN107205239B (en) 2017-05-26 2017-05-26 Method for detecting wireless network connection and detection equipment

Country Status (1)

Country Link
CN (1) CN107205239B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981747B (en) * 2019-03-04 2022-06-03 深圳绿米联创科技有限公司 Device control method, device, electronic device and storage medium
CN110493812B (en) * 2019-08-23 2023-04-07 上海庆科信息技术有限公司 Distribution network test processing method, device and system, processor and master control equipment
CN112152875A (en) * 2020-09-09 2020-12-29 杭州涂鸦信息技术有限公司 System and method for testing abnormal connection of WiFi module
CN112448850B (en) * 2020-11-13 2022-09-16 深圳市凯沃尔电子有限公司 Method for identifying and configuring network access equipment
CN113067769B (en) * 2021-03-31 2023-03-10 百度在线网络技术(北京)有限公司 Router restarting method, device, equipment and storage medium
CN113472611A (en) * 2021-07-26 2021-10-01 东莞市金锐显数码科技有限公司 Method and device for acquiring WiFi signal strength and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420348A (en) * 2007-10-22 2009-04-29 索尼株式会社 Automatic configuration of wireless device for router
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN104486158A (en) * 2014-12-17 2015-04-01 上海斐讯数据通信技术有限公司 Method and device for testing configuration parameters of router
CN104640234A (en) * 2015-02-13 2015-05-20 小米科技有限责任公司 Method and device for accessing to wireless network
CN105453486A (en) * 2013-06-21 2016-03-30 萨万特系统有限责任公司 A configuration connection device
CN105446305A (en) * 2015-12-30 2016-03-30 深圳众乐智府科技有限公司 Intelligent household gateway network configuration method and intelligent household system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200952536A (en) * 2008-06-11 2009-12-16 Asustek Comp Inc Wireless device and method for automatically establishing wireless connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420348A (en) * 2007-10-22 2009-04-29 索尼株式会社 Automatic configuration of wireless device for router
CN105453486A (en) * 2013-06-21 2016-03-30 萨万特系统有限责任公司 A configuration connection device
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN104486158A (en) * 2014-12-17 2015-04-01 上海斐讯数据通信技术有限公司 Method and device for testing configuration parameters of router
CN104640234A (en) * 2015-02-13 2015-05-20 小米科技有限责任公司 Method and device for accessing to wireless network
CN105446305A (en) * 2015-12-30 2016-03-30 深圳众乐智府科技有限公司 Intelligent household gateway network configuration method and intelligent household system

Also Published As

Publication number Publication date
CN107205239A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN107231606B (en) WiFi network access method, intelligent hardware equipment and electronic terminal
CN110139271B (en) Method, system and device for configuring intelligent household equipment to access network in batch
US9942929B2 (en) Radio communication device, radio communication system, radio communication method, and program
JP6865213B2 (en) How to Test a Low Power Radio Frequency (RF) Data Package Signal Transmitter / Receiver
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
JP5952808B2 (en) System and method for using multiple network addresses to establish synchronization between a device under test and a test equipment that controls the test
CN112673592A (en) Device provisioning protocol with participant feedback
US10764349B2 (en) Self-organizing network communication
US20110292835A1 (en) Method, and device for configuring wifi parameters
EP3070970A1 (en) Detection of rogue access points
US9949116B2 (en) Method and apparatus for establishing SSID-based connection between terminal device and gateway device
CN111464955B (en) Fault reporting method, device, terminal and computer readable medium
CN105072012A (en) Quick network access method of intelligent device
CN104902500A (en) Automatic connection method and system for wireless network device and wireless access device
WO2018064897A1 (en) Wireless fidelity connection hotspot switching method and hotspot access device
US20190357132A1 (en) Method and device for processing service request
CN104579733A (en) Method, equipment and system for carrying out fault diagnosis
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
JP6884139B2 (en) How to Test a Low Power Radio Frequency (RF) Data Package Signal Transceiver
CN113490218A (en) Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium
EP2672758B1 (en) Methods and apparatuses for easing Internet access by mobile stations associated with a mobile access point
EP3490305B1 (en) Wireless fidelity (wi-fi) scanning method and related product
CN107454659B (en) Terminal identification method, system, terminal equipment and base station

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
GR01 Patent grant
GR01 Patent grant