CN105959968A - Wifi configuration method and device - Google Patents

Wifi configuration method and device Download PDF

Info

Publication number
CN105959968A
CN105959968A CN201610284009.9A CN201610284009A CN105959968A CN 105959968 A CN105959968 A CN 105959968A CN 201610284009 A CN201610284009 A CN 201610284009A CN 105959968 A CN105959968 A CN 105959968A
Authority
CN
China
Prior art keywords
configuration
error code
wifi equipment
failure
softap
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.)
Granted
Application number
CN201610284009.9A
Other languages
Chinese (zh)
Other versions
CN105959968B (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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201610284009.9A priority Critical patent/CN105959968B/en
Publication of CN105959968A publication Critical patent/CN105959968A/en
Application granted granted Critical
Publication of CN105959968B publication Critical patent/CN105959968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The invention discloses a Wifi configuration method and device, wherein the Wifi configuration method for controlling a terminal comprises the following steps that: in the network access process of a Wifi device, if the Wifi device is detected to be unsuccessful in configuration, error codes of unsuccessful smartlink/softAP configuration are obtained from the Wifi device through a softAP configuration mode; the error codes are output; and after a user is detected to finish the error correction according to the error codes, the softAP configuration of the Wifi device is continued. According to the invention, a more transparent and friendly configuration mode is provided to the user, and the success rate of Wifi configuration is effectively improved.

Description

A kind of Wifi collocation method and device
Technical field
The present invention relates to technology of Internet of things field, particularly relate to a kind of Wifi collocation method and device.
Background technology
Along with development and the increase of number of users of Wifi equipment, Wifi smart machine is connected WAP Configuration process proposes higher Consumer's Experience requirement.Wifi equipment is when carrying out Wifi configuration at present, generally Employing both of which:
One is smartlink configuration mode.Wifi equipment is operated under smartlink configuration mode and monitors, By control terminal APP to Wifi equipment send multicast packet configure, Wifi equipment upon receipt, root Go out service set SSID and password PASSword according to multicast packets Context resolution, thus complete configuration. The advantage of smartlink configuration mode is quick, easy, it is simple to be rapidly completed the Wifi of substantial amounts of Wifi equipment even Connect, but during its shortcoming, compatibility is poor.
Another kind is softAP configuration mode.Wifi equipment is operated under softAP configuration mode, terminal APP Set up with softAP after being connected, SSID and PASSword of wireless access point AP be sent to Wifi equipment, Complete configuration.And the configuration process of softAP configuration mode is relatively complicated, setup time length and inefficient, But it is stable, compatible good.
It is no matter smartlink configuration mode or the softAP configuration mode situation that all there is configuration failure, especially It is smartlink configuration mode owing to the situation of poor compatibility configuration failure is more.But when Wifi configuration is lost When losing, when may cause other configuration modes subsequently selected, configuration failure again, reduce and be configured to power, Affect the experience of user.
Summary of the invention
The technical problem to be solved is to provide a kind of Wifi collocation method and device, in order to solve In prior art when Wifi configuration makes a mistake, cause the low success rate of problem of subsequent configuration.
For achieving the above object, the present invention uses following technical scheme:
According to one aspect of the present invention, it is provided that a kind of Wifi collocation method, it is used for controlling in terminal, including Following steps:
During networking for the configuration of Wifi equipment, if be detected that Wifi equipment configuration failure, then pass through SoftAP configuration mode obtains the error code of smartlink/softAP configuration failure from described Wifi equipment;
Export described error code;
After the user of measuring to be checked completes error correction according to described error code, continue to complete with described Wifi equipment SoftAP configures.
Further, detect the mode of described Wifi equipment whether configuration failure, including:
Configuration message is sent, if it is anti-not receive described Wifi equipment in Preset Time to described Wifi equipment The configuration successful message of feedback, then judge described Wifi equipment configuration failure.
Further, smartlink configuration failure is obtained by softAP configuration mode from described Wifi equipment Error code, including:
SoftAP configuration mode is switched to by smartlink configuration mode;
Under softAP configuration mode, set up with described Wifi equipment and be connected, obtain smartlink configuration failure Error code.
Further, described and described Wifi equipment completes softAP configuration, including:
Wireless access point list is obtained to described Wifi equipment;
From described wireless access point list, choose WAP, and configure this WAP SSID and Password;
SSID and the password of selected WAP are sent to described Wifi equipment.
Further, described error code includes configuring time-out, authentification failure, DHCP acquisition IP address failure And scanning is less than WAP error code.
According to another aspect of the present invention, it is provided that a kind of Wifi collocation method, in Wifi equipment, including Following steps:
During controlling terminal control configuration networking, if be detected that during configuration failure, obtain The error code of smartlink/softAP configuration failure;
Under softAP configuration mode, error code is sent to controlling terminal;
The configuration information sent according to described control terminal completes softAP configuration.
Further, detect whether that the mode of configuration failure includes:
In confirming the Preset Time after entering configuration networking, if detecting and cannot being connected with WAP, Then judge configuration failure.
Further, after described Wifi equipment obtains the error code of smartlink configuration failure, by smartlink Configuration mode switches to softAP configuration mode.
Further, the described configuration information sent according to described control terminal completes softAP configuration, including:
When described control terminal obtains wireless access point list, the described wireless access point list obtained is sent out Deliver to described control terminal;
SSID and the password of the WAP according to the transmission of described control terminal connect described WAP.
Further, according to described error code, the api interface function of the chip that described Wifi equipment uses obtains Take.
Further, described error code includes configuring time-out, authentification failure, DHCP acquisition IP address failure And scanning is less than WAP error code.
Configuring device according to it is still another aspect of the present invention to provide a kind of Wifi, being used for controlling in terminal, bag Include:
First detector unit, during networking for the configuration of Wifi equipment, detects whether Wifi equipment joins Put unsuccessfully;
First acquiring unit, when described first detector unit detects Wifi equipment configuration failure, passes through SoftAP configuration mode obtains the error code of smartlink/softAP configuration failure from described Wifi equipment;
Output unit, is used for exporting described error code;
First dispensing unit, after the user of measuring to be checked completes error correction according to described error code, continues SoftAP configuration is completed with described Wifi equipment.
Further, described detector unit specifically for:
Configuration message is sent to described Wifi equipment;
If not receiving the configuration successful message of described Wifi equipment feedback in Preset Time, then judge described Wifi equipment configuration failure.
Further, described first acquiring unit specifically for:
SoftAP configuration mode is switched to by smartlink configuration mode;
Under softAP configuration mode, set up with described Wifi equipment and be connected, obtain smartlink configuration failure Error code.
Further, described first dispensing unit includes:
Acquisition module, for obtaining wireless access point list to described Wifi equipment;
Configuration module, for choosing WAP from described wireless access point list, configures this and wireless connects The SSID of access point and password;
Sending module, for sending the SSID of selected WAP and password to described Wifi equipment.
Further, the error code of described output unit output includes configuring time-out, authentification failure, DHCP Obtain the failure of IP address and scanning less than WAP error code.
According to another aspect of the invention, it is provided that a kind of Wifi configures device, in Wifi equipment, including:
Second detector unit, for, during controlling terminal control configuration networking, detecting whether configuration failure;
Second acquisition unit, for when described second detector unit detects configuration failure, obtains The error code of smartlink/softAP configuration failure;
Transmitting element, under softAP configuration mode, sends error code to controlling terminal;
Second dispensing unit, the configuration information for sending according to described control terminal completes softAP configuration.
Further, described second detector unit specifically for:
In confirming the Preset Time after entering configuration networking, if detecting and cannot being connected with WAP, Then judge configuration failure.
Further, device also includes switch unit, for configuring mould when described Wifi equipment at smartlink Under formula during configuration failure, after obtaining the error code of smartlink configuration failure, switch to softAP configuration mode.
Further, described second dispensing unit includes:
Sending module, is used for when described control terminal obtains wireless access point list, the described nothing that will obtain Line access point list sends to described control terminal;
Link block, SSID and password for the WAP according to the transmission of described control terminal connect institute State WAP.
Further, the api interface letter of the chip that described second acquisition unit uses according to described Wifi equipment Number obtains described error code.
Further, the error code that described second acquisition unit obtains includes configuring time-out, authentification failure, DHCP Obtain the failure of IP address and scanning less than WAP error code.
The method have the advantages that
Wifi collocation method that the embodiment of the present invention is provided and device, when carrying out Wifi configuration, do not joining In the case of being set to merit, obtained the error code of configuration failure by softAP configuration mode.This error code provides To the concrete configuration failure cause of user.So user can be according to the failed reason particular problem to configuration It is modified, has continued softAP configuration.The Wifi collocation method of the present invention be supplied to user more transparent and Friendly configuration mode, can be effectively improved the success rate of configuration.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technology of the present invention Means, and can being practiced according to the content of description, and in order to allow above and other objects of the present invention, Feature and advantage can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, retouch below Accompanying drawing in stating is only some embodiments of the present invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is for controlling the flow chart of the Wifi collocation method of terminal in the embodiment of the present invention;
Fig. 2 is the flow chart of Wifi collocation method in the embodiment of the present invention for Wifi equipment;
Fig. 3 is the sequential flow chart of Wifi collocation method in the embodiment of the present invention;
Fig. 4 is the structured flowchart configuring device in the embodiment of the present invention for controlling the Wifi of terminal;
Fig. 5 be in the embodiment of the present invention for Wifi equipment Wifi configure device structured flowchart.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of Wifi collocation method, is used for controlling in terminal, as it is shown in figure 1, bag Include following steps:
S101, during networking for the configuration of Wifi equipment, if be detected that Wifi equipment configuration failure, then Obtained the error code of smartlink/softAP configuration failure from Wifi equipment by softAP configuration mode;
S102, output error code;
S103, after the user of measuring to be checked completes error correction according to error code, continues to complete with Wifi equipment SoftAP configures.
During networking for the configuration of Wifi equipment, configure mould including using smartlink pattern or softAP Formula, once detection Wifi equipment configuration failure, i.e. obtains configuration error code to Wifi equipment.Wherein, exist The mode of detection Wifi equipment whether configuration failure, including: send configuration message to Wifi equipment;If in advance If not receiving the configuration successful message of Wifi equipment feedback in the time, then judge Wifi equipment configuration failure.
Specifically, obtain configuration error code, need under softAP configuration mode.Therefore smartlink is being obtained During configuration error code, softAP configuration mode need to be switched to by smartlink configuration mode;Configure at softAP Under pattern, set up with Wifi equipment and be connected, obtain the error code of smartlink configuration failure.For softAP Configuration mode, has built up with Wifi equipment and is connected, and directly obtains error code.Control terminal and Wifi Equipment uses Transmission Control Protocol to set up connection.Upon establishment of a connection, control terminal and need to send acquisition to Wifi equipment The error code request of configuration failure, exports after the error code that the Wifi of receiving equipment waiting sends, so uses Family can match corresponding error reason according to this error code, it is simple to carries out error correction.Wherein, mistake Code includes configuring time-out, authentification failure, DHCP acquisition IP address failure and scanning less than WAP Error code.
Mistake is modified after obtaining error reason by user.Such as, prompting DHCP obtains the mistake of IP address Losing, it is the fullest that user detects configuration of routers;After prompting authentification failure, user can re-enter password; When scanning is less than AP, detection Wifi equipment and the distance of router;Prompting configuration time-out, detection controls eventually The duty etc. of end.
After error correction completes, user completes instruction to control one correction of terminal.Control terminal to detect After user completes the instruction of error correction according to error code, continue to carry out softAP configuration with Wifi equipment.Tool Body ground, when configuring, first obtains wireless access point list to Wifi equipment;Then, connect from wireless Enter and point list is chosen WAP, and configure SSID and the password of this WAP;Finally, by institute The SSID and the password that select WAP send to Wifi equipment.
Understand based on above-mentioned, the Wifi collocation method of the embodiment of the present invention, Wifi equipment is being carried out Wifi During configuration, after the situation of configuration failure being detected, under softAP configuration mode, obtain and export configuration and lose The error code lost.This error code is supplied to the concrete configuration failure cause of user, and user can be according to failure The particular problem of configuration is modified by reason, has continued configuration.Therefore, the present invention is supplied to user more Transparent and friendly configuration mode, can be effectively improved the success rate of configuration.
The embodiment of the present invention provides a kind of Wifi collocation method, in Wifi equipment, as in figure 2 it is shown, bag Include following steps:
S201, during controlling terminal control configuration networking, if be detected that during configuration failure, obtain The error code of smartlink/softAP configuration failure;
S202, under softAP configuration mode, sends error code to controlling terminal;
S203, completes softAP configuration according to the configuration information controlling terminal transmission.
During configuration networks, when configuration failure being detected, then obtained by the api interface function of chip Concrete error code.The mode of Wifi equipment Inspection whether configuration failure includes: after confirming to network into configuration Preset Time in, detect whether with wireless access point AP realize is connected, if unrealized connection, then judgement join Put unsuccessfully, otherwise, it is determined that configuration successful.If configuration successful, then to controlling terminal feedback configuration successful message, And connect wireless access point AP according to the configuration information preserved.Wherein, error code includes configuration time-out, certification Failure, DHCP obtain the failure of IP address and scanning less than WAP error code.
In time controlling terminal transmission error code, under softAP configuration mode, TCP need to be set up with controlling terminal Connect.After terminal to be controlled sends the request of acquisition, error code is sent.Therefore, obtain at Wifi equipment After taking the error code of smartlink configuration failure, smartlink configuration mode switch to softAP configuration mode. Under softAP configuration mode, error code is sent.
Further, when Wifi equipment completes softAP configuration according to the configuration information controlling terminal transmission, bag Include following steps:
Receive the acquisition WAP list request controlling terminal, and acquisition wireless access point list is sent out Deliver to control terminal;
Receive SSID and the password controlling the WAP that terminal sends, and connect according to SSID and password WAP.
Understand based on above-mentioned, the Wifi collocation method of the embodiment of the present invention, during Wifi equipment configuration failure, obtain Take the error code of configuration failure, and under softAP configuration mode, error code is sent to controlling terminal, with Control terminal and continue the configuration of softAP configuration mode.Therefore, the present invention obtains mistake by Wifi equipment Error code, it is simple to control terminal and obtain configuration failure reason, improve follow-up Wifi and be configured to power.
As it is shown on figure 3, the embodiment of the present invention provides a kind of Wifi collocation method, mainly configure with smartlink As a example by failure, the specific implementation process to the present invention illustrates.Comprise the steps:
S301, mobile phone A PP enters smartlink configuration interface, triggers Wifi equipment simultaneously and enters smartlink Configuration mode.
S302, mobile phone A PP configuration smartlink configure multicast packets, and send to Wifi equipment.
S303, Wifi equipment judged whether configuration successful in 1 minute: if configuration successful, to controlling terminal Feedback configuration success message;During configuration failure, obtain error code, and switch to softAP correction configuration mode.
S304, mobile phone A PP send configuration multicast packets time beyond preset 1 minute, then switch to softAP Revise configuration mode configuration interface, call SDK module simultaneously and set up TCP with Wifi equipment and be connected, and to Wifi equipment sends and obtains error code request.
The error code obtained is sent to mobile phone A PP by S305, Wifi equipment.
S306, the SDK module of mobile phone A PP receives error code and reports APP;APP is according to this error code Display to the user that concrete error reason;Continue to call SDK module simultaneously and obtain AP list.
S307, Wifi equipment obtains AP list by scanning, and sends to mobile phone A PP;
S308, mobile phone A PP chooses an AP from AP list, obtain this AP of user's input SSID and Password, and SSID and password are sent to Wifi equipment.
After S309, Wifi equipment preserves this SSID and password, restart and connect according to SSID and password and choose AP.
The embodiment of the present invention obtains and stores configuration failure error code when utilizing smartlink configuration failure, automatically Proceed to softAP configuration mode, and under softAP configuration mode by mobile phone A PP coupling modification method to Family is pointed out.User can revise error reason according to prompting, such as checks configuration password, checks that router is connected The IP connecing equipment the most completely cannot distribute, and checks that router is whether away from too far away etc..So it is supplied to use The configuration mode that family is more transparent and friendly;Simultaneously after error correction, continue softAP configuration, improved It is configured to power.
As shown in Figure 4, the embodiment of the present invention additionally provides a kind of Wifi and configures device, is used for controlling in terminal, Including:
First detector unit, during networking for the configuration of Wifi equipment, detects whether Wifi equipment joins Put unsuccessfully;
First acquiring unit, when the first detector unit detects Wifi equipment configuration failure, passes through softAP Configuration mode obtains the error code of smartlink/softAP configuration failure from Wifi equipment;
Output unit, for output error code;
First dispensing unit, after the user of measuring to be checked completes error correction according to error code, continues and Wifi Equipment completes softAP configuration.
Further, detector unit specifically for:
Configuration message is sent to Wifi equipment;
If not receiving the configuration successful message of Wifi equipment feedback in Preset Time, then judge Wifi equipment Configuration failure.
Further, the first acquiring unit specifically for:
SoftAP configuration mode is switched to by smartlink configuration mode;
Under softAP configuration mode, set up with Wifi equipment and be connected, obtain the mistake of smartlink configuration failure Error code.
Further, the first dispensing unit includes:
Acquisition module, for obtaining wireless access point list to Wifi equipment;
Configuration module, for choosing WAP from wireless access point list, configures this WAP SSID and password;
Sending module, for sending the SSID of selected WAP and password to Wifi equipment.
Further, the error code of output unit output includes configuring time-out, authentification failure, DHCP acquisition The failure of IP address and scanning are less than WAP error code.
Seeing Fig. 5, the embodiment of the present invention additionally provides a kind of Wifi and configures device, in Wifi equipment, Including:
Second detector unit, for, during controlling terminal control configuration networking, detecting whether configuration failure;
Second acquisition unit, for when the second detector unit detects configuration failure, obtains The error code of smartlink/softAP configuration failure;
Transmitting element, under softAP configuration mode, sends error code to controlling terminal;
Second dispensing unit, for completing softAP configuration according to the configuration information controlling terminal transmission.
Further, the second detector unit specifically for:
In confirming the Preset Time after entering configuration networking, if detecting and cannot being connected with WAP, Then judge configuration failure.
Further, device also includes switch unit, for when Wifi equipment is under smartlink configuration mode During configuration failure, after obtaining the error code of smartlink configuration failure, switch to softAP configuration mode.
Further, the second dispensing unit includes:
Sending module, is used for when controlling terminal and obtaining wireless access point list, the WAP that will obtain List sends to controlling terminal;
Link block, for connecting wireless connecing according to the SSID and password that control the WAP that terminal sends Access point.
Further, the api interface function of the chip that second acquisition unit uses according to Wifi equipment obtains mistake Error code.
Further, the error code that second acquisition unit obtains includes configuring time-out, authentification failure, DHCP Obtain the failure of IP address and scanning less than WAP error code.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, program can be stored in embodied on computer readable In storage medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Although describing the application by embodiment, it will be apparent to one skilled in the art that the application has many changes Shape and change are without departing from the spirit and scope of the present invention.So, if these of the present invention are revised and modification Belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these changes With including modification.

Claims (22)

1. a Wifi collocation method, is used for controlling in terminal, it is characterised in that comprise the steps:
During networking for the configuration of Wifi equipment, if be detected that Wifi equipment configuration failure, then pass through SoftAP configuration mode obtains the error code of smartlink/softAP configuration failure from described Wifi equipment;
Export described error code;
After the user of measuring to be checked completes error correction according to described error code, continue to complete with described Wifi equipment SoftAP configures.
2. the method for claim 1, it is characterised in that detect whether described Wifi equipment configures mistake The mode lost, including:
Configuration message is sent, if it is anti-not receive described Wifi equipment in Preset Time to described Wifi equipment The configuration successful message of feedback, then judge described Wifi equipment configuration failure.
3. the method for claim 1, it is characterised in that by softAP configuration mode from described Wifi equipment obtains the error code of smartlink configuration failure, including:
SoftAP configuration mode is switched to by smartlink configuration mode;
Under softAP configuration mode, set up with described Wifi equipment and be connected, obtain smartlink configuration failure Error code.
4. the method for claim 1, it is characterised in that described and described Wifi equipment completes softAP Configuration, including:
Wireless access point list is obtained to described Wifi equipment;
From described wireless access point list, choose WAP, and configure this WAP SSID and Password;
SSID and the password of selected WAP are sent to described Wifi equipment.
5. the method for claim 1, it is characterised in that described error code includes configuration time-out, recognizes Demonstrate,prove unsuccessfully, DHCP obtain IP address failure and scanning less than WAP error code.
6. a Wifi collocation method, in Wifi equipment, it is characterised in that comprise the steps:
During controlling terminal control configuration networking, if be detected that during configuration failure, obtain The error code of smartlink/softAP configuration failure;
Under softAP configuration mode, described error code is sent to described control terminal;
The configuration information sent according to described control terminal completes softAP configuration.
7. method as claimed in claim 6, it is characterised in that detect whether that the mode of configuration failure includes:
In confirming the Preset Time after entering configuration networking, if detecting and cannot being connected with WAP, Then judge configuration failure.
8. method as claimed in claim 6, it is characterised in that when described Wifi equipment obtains smartlink After the error code of configuration failure, smartlink configuration mode switch to softAP configuration mode.
9. method as claimed in claim 6, it is characterised in that described send according to described control terminal Configuration information completes softAP configuration, including:
When described control terminal obtains wireless access point list, the described wireless access point list obtained is sent out Deliver to described control terminal;
SSID and the password of the WAP according to the transmission of described control terminal connect described WAP.
10. method as claimed in claim 6, it is characterised in that described Wifi according to described error code The api interface function of the chip that equipment uses obtains.
11. methods as claimed in claim 10, it is characterised in that described error code include configuration time-out, Authentification failure, DHCP obtain the failure of IP address and scanning less than WAP error code.
12. 1 kinds of Wifi configure device, are used for controlling in terminal, it is characterised in that including:
First detector unit, during networking for the configuration of Wifi equipment, detects whether Wifi equipment joins Put unsuccessfully;
First acquiring unit, when described first detector unit detects Wifi equipment configuration failure, passes through SoftAP configuration mode obtains the error code of smartlink/softAP configuration failure from described Wifi equipment;
Output unit, is used for exporting described error code;
First dispensing unit, after the user of measuring to be checked completes error correction according to described error code, continues SoftAP configuration is completed with described Wifi equipment.
13. devices as claimed in claim 12, it is characterised in that described detector unit specifically for:
Configuration message is sent to described Wifi equipment;
If not receiving the configuration successful message of described Wifi equipment feedback in Preset Time, then judge described Wifi equipment configuration failure.
14. devices as claimed in claim 12, it is characterised in that described first acquiring unit specifically for:
SoftAP configuration mode is switched to by smartlink configuration mode;
Under softAP configuration mode, set up with described Wifi equipment and be connected, obtain smartlink configuration failure Error code.
15. devices as claimed in claim 12, it is characterised in that described first dispensing unit includes:
Acquisition module, for obtaining wireless access point list to described Wifi equipment;
Configuration module, for choosing WAP from described wireless access point list, configures this and wireless connects The SSID of access point and password;
Sending module, for sending the SSID of selected WAP and password to described Wifi equipment.
16. devices as claimed in claim 12, it is characterised in that the error code of described output unit output The failure of IP address and scanning is obtained less than WAP mistake including configuration time-out, authentification failure, DHCP Error code.
17. 1 kinds of Wifi configure device, in Wifi equipment, it is characterised in that including:
Second detector unit, for, during controlling terminal control configuration networking, detecting whether configuration failure;
Second acquisition unit, for when described second detector unit detects configuration failure, obtains The error code of smartlink/softAP configuration failure;
Transmitting element, under softAP configuration mode, sends described error code to described control terminal;
Second dispensing unit, the configuration information for sending according to described control terminal completes softAP configuration.
18. devices as claimed in claim 17, it is characterised in that described second detector unit specifically for:
In confirming the Preset Time after entering configuration networking, if detecting and cannot being connected with WAP, Then judge configuration failure.
19. devices as claimed in claim 17, it is characterised in that described device also includes switch unit, For during when described Wifi equipment configuration failure under smartlink configuration mode, obtain smartlink configuration and lose After the error code lost, switch to softAP configuration mode.
20. devices as claimed in claim 17, it is characterised in that described second dispensing unit includes:
Sending module, is used for when described control terminal obtains wireless access point list, the described nothing that will obtain Line access point list sends to described control terminal;
Link block, SSID and password for the WAP according to the transmission of described control terminal connect institute State WAP.
21. devices as claimed in claim 17, it is characterised in that described second acquisition unit is according to described The api interface function of the chip that Wifi equipment uses obtains described error code.
22. devices as claimed in claim 21, it is characterised in that the mistake that described second acquisition unit obtains Error code includes configuring time-out, authentification failure, DHCP acquisition IP address failure and scanning less than wireless access Point error code.
CN201610284009.9A 2016-04-29 2016-04-29 wifi configuration method and device Active CN105959968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610284009.9A CN105959968B (en) 2016-04-29 2016-04-29 wifi configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610284009.9A CN105959968B (en) 2016-04-29 2016-04-29 wifi configuration method and device

Publications (2)

Publication Number Publication Date
CN105959968A true CN105959968A (en) 2016-09-21
CN105959968B CN105959968B (en) 2019-12-10

Family

ID=56913534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610284009.9A Active CN105959968B (en) 2016-04-29 2016-04-29 wifi configuration method and device

Country Status (1)

Country Link
CN (1) CN105959968B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888464A (en) * 2017-03-21 2017-06-23 傅朝阳 The method for realizing wireless internet of things MANET
CN108964946A (en) * 2017-05-18 2018-12-07 公牛集团股份有限公司 A kind of detection method of intelligent terminal Distribution Network Failure
CN109996316A (en) * 2018-01-03 2019-07-09 青岛海尔智能技术研发有限公司 A kind of method and apparatus accessing network based on SmartLink mode
CN110784906A (en) * 2019-10-30 2020-02-11 珠海格力电器股份有限公司 Wireless network distribution method and device, storage medium and processor
WO2022000666A1 (en) * 2020-06-29 2022-01-06 广东美的制冷设备有限公司 Network configuration method, storage medium, household appliance, client, and network configuration system
CN114339789A (en) * 2020-10-09 2022-04-12 美的集团股份有限公司 AP distribution network processing method and device
CN114449557A (en) * 2020-11-06 2022-05-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363213A (en) * 2014-11-03 2015-02-18 九阳股份有限公司 Register and login control method for network household appliance
CN204215241U (en) * 2014-11-03 2015-03-18 九阳股份有限公司 A kind of soymilk machine
CN104540088A (en) * 2014-12-23 2015-04-22 小米科技有限责任公司 Connection establishment method, terminal and device
CN104768150A (en) * 2015-03-31 2015-07-08 深圳市江波龙电子有限公司 Method and system for connecting WiFi equipment with wireless hot spot
CN104871096A (en) * 2012-10-23 2015-08-26 科泰克工业私人有限公司 System and method for exchanging support data with a device having no physical user interface
CN105141450A (en) * 2015-07-29 2015-12-09 青岛海尔科技有限公司 Configuration methods and devices for WIFI module of internet of things device
CN105163371A (en) * 2015-08-26 2015-12-16 四川长虹电器股份有限公司 WIFI setting system and method based on Bluetooth
CN105491568A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Automatic router accessing method, device and intelligent terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104871096A (en) * 2012-10-23 2015-08-26 科泰克工业私人有限公司 System and method for exchanging support data with a device having no physical user interface
CN104363213A (en) * 2014-11-03 2015-02-18 九阳股份有限公司 Register and login control method for network household appliance
CN204215241U (en) * 2014-11-03 2015-03-18 九阳股份有限公司 A kind of soymilk machine
CN104540088A (en) * 2014-12-23 2015-04-22 小米科技有限责任公司 Connection establishment method, terminal and device
CN104768150A (en) * 2015-03-31 2015-07-08 深圳市江波龙电子有限公司 Method and system for connecting WiFi equipment with wireless hot spot
CN105141450A (en) * 2015-07-29 2015-12-09 青岛海尔科技有限公司 Configuration methods and devices for WIFI module of internet of things device
CN105163371A (en) * 2015-08-26 2015-12-16 四川长虹电器股份有限公司 WIFI setting system and method based on Bluetooth
CN105491568A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Automatic router accessing method, device and intelligent terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888464A (en) * 2017-03-21 2017-06-23 傅朝阳 The method for realizing wireless internet of things MANET
CN106888464B (en) * 2017-03-21 2020-10-09 苏州黑云信息科技有限公司 Method for realizing wireless Internet of things ad hoc network
CN108964946B (en) * 2017-05-18 2022-03-15 公牛集团股份有限公司 Method for detecting distribution network fault of intelligent terminal
CN108964946A (en) * 2017-05-18 2018-12-07 公牛集团股份有限公司 A kind of detection method of intelligent terminal Distribution Network Failure
CN109996316A (en) * 2018-01-03 2019-07-09 青岛海尔智能技术研发有限公司 A kind of method and apparatus accessing network based on SmartLink mode
CN109996316B (en) * 2018-01-03 2021-04-27 青岛海尔智能技术研发有限公司 Method and equipment for accessing network based on SmartLink mode
CN110784906A (en) * 2019-10-30 2020-02-11 珠海格力电器股份有限公司 Wireless network distribution method and device, storage medium and processor
WO2021082712A1 (en) * 2019-10-30 2021-05-06 珠海格力电器股份有限公司 Wireless network distribution method and apparatus, storage medium, and processor
WO2022000666A1 (en) * 2020-06-29 2022-01-06 广东美的制冷设备有限公司 Network configuration method, storage medium, household appliance, client, and network configuration system
CN113938341A (en) * 2020-06-29 2022-01-14 广东美的制冷设备有限公司 Network distribution method, storage medium, household appliance, client and network distribution system
CN114339789A (en) * 2020-10-09 2022-04-12 美的集团股份有限公司 AP distribution network processing method and device
WO2022073304A1 (en) * 2020-10-09 2022-04-14 美的集团股份有限公司 Ap network configuration processing method and apparatus
CN114339789B (en) * 2020-10-09 2023-09-26 美的集团股份有限公司 AP distribution network processing method and device
CN114449557A (en) * 2020-11-06 2022-05-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium
CN114449557B (en) * 2020-11-06 2024-02-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium

Also Published As

Publication number Publication date
CN105959968B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN105959968A (en) Wifi configuration method and device
US11109185B2 (en) Mesh network and mesh device and network distribution method thereof
CN103458399B (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103281327B (en) The method of many equipment secure log, system and cloud server
CN104469789A (en) Connection configuration method and system for intelligent household appliance
US20130311692A1 (en) Apparatus and method for direct pairing in a wireless docking system
WO2013177001A1 (en) Devices and methods for facilitating direct pairing in a wireless docking system
CN103686674A (en) Network access method, intelligent terminal and WiFi access equipment
CN105577500B (en) The correlating method and device of VXLAN and tunnel
CN103945054A (en) Short message sending method and mobile terminal
CN105208583A (en) Intelligent household electrical appliance networking method and apparatus, and intelligent equipment
CN108023778A (en) Firmware upgrade method and its system
CN105163371A (en) WIFI setting system and method based on Bluetooth
CN109873728A (en) A kind of terminal test method, device and storage medium
CN104348686A (en) Method and device for interconnecting terminal equipment and gateway equipment
CN103186853B (en) A kind of server end and client method of mobile payment, Apparatus and system
CN105871995A (en) Method for controlling intelligent device by router and the router
CN102148876A (en) Access point switching method and device on iOS
CN103916852A (en) Data transmission method and mobile terminal
CN105141450A (en) Configuration methods and devices for WIFI module of internet of things device
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN109981360A (en) Internet of things equipment website activating method, device, system and storage medium
CN102868819B (en) A kind of process the method and device of communication service under common account
CN106851198B (en) Network camera operation method and network camera
CN105978763A (en) Network communication method, communication device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant