CN105163366A - Wireless network connection method and device - Google Patents

Wireless network connection method and device Download PDF

Info

Publication number
CN105163366A
CN105163366A CN201510618144.8A CN201510618144A CN105163366A CN 105163366 A CN105163366 A CN 105163366A CN 201510618144 A CN201510618144 A CN 201510618144A CN 105163366 A CN105163366 A CN 105163366A
Authority
CN
China
Prior art keywords
wifi network
target wifi
radio band
smart machine
compatible
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
CN201510618144.8A
Other languages
Chinese (zh)
Other versions
CN105163366B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510618144.8A priority Critical patent/CN105163366B/en
Publication of CN105163366A publication Critical patent/CN105163366A/en
Application granted granted Critical
Publication of CN105163366B publication Critical patent/CN105163366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Landscapes

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

Abstract

The invention provides a wireless network connection method. The method comprises the following steps: acquiring a name and a password of a target WIFI (Wireless Fidelity) network set by a user in a preset interface; judging whether a wireless frequency band used by access to the target WIFI network is matched with a wireless frequency band which is compatible with intelligent equipment or not; and when the wireless frequency band used by access to the target WIFI network is not matched with the wireless frequency band which is compatible with the intelligent equipment, sending a first preset instruction to a target router corresponding to the target WIFI network in order to trigger the target router to send a broadcast message carrying the name and the password of the WIFI network to the periphery based on the wireless frequency band which is compatible with the intelligent equipment in order that the intelligent equipment accesses to the target WIFI network according to the name and the password carried in the broadcast message. Through adoption of the method, the problem that the name and the password of the target WIFI network cannot be acquired since the intelligent equipment cannot resolve the received broadcast message can be solved.

Description

Wireless network connecting method and device
Technical field
The disclosure relates to communication field, particularly relates to wireless network connecting method and device.
Background technology
For smart machine, the control command that user sends from mobile phone terminal can be received after usually all needing successfully to be linked into WIFI network, perform the action of response.User oriented self is not had to provide the smart machine of access interface for those, then usually need the smart machine (such as smart mobile phone) by other, give this smart machine by the ssid of the WIFI network of needs access and password transmission, be then linked into this WIFI network according to the ssid received and password.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of wireless network connecting method and device.
According to the first aspect of disclosure embodiment, provide a kind of wireless network connecting method, described method comprises:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
Optionally, whether the radio band that the described radio band judging that the described target WIFI network of access uses is compatible with smart machine mates comprises:
Whether the WIFI network judging current access is described target WIFI network;
If the WIFI network of current access is described target WIFI network, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
If the WIFI network of current access is not described target WIFI network, after being linked into described target WIFI network based on the title of the described target WIFI network got and password, whether the radio band judging to access radio band that described target WIFI network uses compatible with smart machine mates.
Optionally, described method also comprises:
When the radio band that the radio band that the described target WIFI network of access uses is compatible with described smart machine is mated, the destination router corresponding to described target WIFI network sends the second preset instructions, to send towards periphery carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router based on the radio band of current use.
Optionally, described method also comprises:
When accessing the radio band that uses of the described target WIFI network radio band compatible with smart machine and mating, send towards periphery carry the described title of target WIFI network and the broadcasting packet of password based on accessing radio band that described target WIFI network uses.
Optionally, described method also comprises:
Receive the broadcasting packet that described smart machine sends based on wireless universal frequency range; Wherein this broadcasting packet sends after being powered on by described smart machine, carries the compatible radio band of described smart machine in this broadcasting packet;
The broadcasting packet that the described smart machine received sends is resolved, to obtain the compatible radio band of described smart machine.
According to the second aspect of disclosure embodiment, provide a kind of wireless network jockey, described device comprises:
First acquisition module, is configured to the title and the password that obtain the target WIFI network that user sets in default interface;
Judge module, whether the radio band being configured to judge to access radio band that described target WIFI network uses compatible with smart machine mates;
First sending module, when the radio band that the radio band being configured to use in the described target WIFI network of access is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
Optionally, described judge module comprises:
First judges submodule, is configured to judge whether the WIFI network of current access is described target WIFI network;
First judges submodule, is configured to judge whether the WIFI network of current access is described target WIFI network;
Second judges submodule, be configured to when described first judges that submodule judges that the WIFI network of current access is described target WIFI network, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
3rd judges submodule, be configured to when described first judges that submodule judges that the WIFI network of current access is not described target WIFI network, after being linked into described target WIFI network based on the title of the described target WIFI network got and password, whether the radio band judging to access radio band that described target WIFI network uses compatible with smart machine mates.
Optionally, described device also comprises:
Second sending module, when the radio band that the radio band being configured to use in the described target WIFI network of access is compatible with described smart machine is mated, the destination router corresponding to described target WIFI network sends the second preset instructions, to send towards periphery carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router based on the radio band of current use.
Optionally, described device also comprises:
3rd sending module, be configured to when accessing the radio band that uses of the described target WIFI network radio band compatible with smart machine and mating, send towards periphery carry the described title of target WIFI network and the broadcasting packet of password based on accessing radio band that described target WIFI network uses.
Optionally, described device also comprises:
Receiver module, is configured to receive the broadcasting packet that described smart machine sends based on wireless universal frequency range; Wherein this broadcasting packet sends after being powered on by described smart machine, carries the compatible radio band of described smart machine in this broadcasting packet;
Second acquisition module, the broadcasting packet be configured to the described smart machine received sends is resolved, to obtain the compatible radio band of described smart machine.
According to the third aspect of disclosure embodiment, a kind of wireless network jockey is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In above embodiment of the present disclosure, by obtaining the title of target WIFI network and password that user sets in default interface, and judge whether the radio band that radio band that the described target WIFI network of access uses is compatible with smart machine mates, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, described target WIFI network is accessed according to the described title of carrying in this broadcasting packet and password to make described smart machine, thus the radio band that can realize based on smart machine compatibility is to the title of this smart machine broadcast target WIFI network and password, can avoid cannot resolving due to smart machine the broadcasting packet that receives and the title of target WIFI network and the problem of password cannot being got.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the schematic flow sheet of a kind of wireless network connecting method according to an exemplary embodiment;
Fig. 2 is the schematic flow sheet of the another kind of wireless network connecting method according to an exemplary embodiment;
Fig. 3 is the schematic diagram at the network configuration interface according to an exemplary embodiment;
Fig. 4 is the schematic block diagram of a kind of wireless network jockey according to an exemplary embodiment;
Fig. 5 is the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Fig. 6 is the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Fig. 7 is the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Fig. 8 is the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Fig. 9 is a kind of structural representation for described wireless network jockey according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
In the related, user oriented self is not had to provide the smart machine of access interface for those, the ssid of the target WIFI network of needs access and password transmission, by other smart machine (such as smart mobile phone), are given this smart machine by usual needs; Such as, user can be wished the ssid of the target WIFI network that smart machine accesses by app selection and be inputted password at smart mobile phone end, then by the router of mobile phone and this target WIFI network, the ssid of this target WIFI network and password are sent to this smart machine with the form of broadcasting packet, trial is accessed this target WIFI network after parsing ssid and password by this smart machine.
But, in above technical scheme, if the radio band of the above-mentioned broadcasting packet that the incompatible mobile phone of smart machine and router send, so smart machine is after receiving this broadcasting packet, this broadcasting packet cannot be resolved normally, thus cannot get ssid and the password of the target WIFI network of carrying in this broadcasting packet.Such as, if the smart mobile phone of user is linked into target WIFI network by 5G frequency range, so mobile phone is also operated in 5G frequency range with the router broadcast ssid of this target WIFI network and the broadcasting packet of password.And if the incompatible 5G frequency range of this smart machine, so this smart machine cannot resolve the broadcasting packet received, thus cause the ssid of target WIFI network and password acceptance failure.
For solving the problem, the disclosure proposes a kind of wireless network connecting method, by obtaining the title of target WIFI network and password that user sets in default interface, and judge whether the radio band that radio band that the described target WIFI network of access uses is compatible with smart machine mates, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, described target WIFI network is accessed according to the described title of carrying in this broadcasting packet and password to make described smart machine, thus the radio band that can realize based on smart machine compatibility is to the title of this smart machine broadcast target WIFI network and password, can avoid cannot resolving due to smart machine the broadcasting packet that receives and the title of target WIFI network and the problem of password cannot being got.
As shown in Figure 1, Fig. 1 is a kind of wireless network connecting method according to an exemplary embodiment, and this wireless network connecting method is used for, in terminal, comprising the following steps:
In a step 101, title and the password of the target WIFI network that user sets in default interface is obtained;
In a step 102, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
In step 103, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
In the present embodiment, above-mentioned destination router can be the router supporting double frequency WIFI; Such as, this destination router can be support general 2.4G frequency range and the wireless router of 5G frequency range WIFI simultaneously.Above-mentioned terminal can be mobile terminal; Such as, this mobile terminal can be smart mobile phone.The intelligent home device of the above-mentioned smart machine WIFI chip that can be built-in.
Wherein, above-mentioned mobile terminal and smart machine can be the equipment only supporting general frequency range WIFI, also can be the equipment supporting double frequency WIFI; Such as, above-mentioned mobile terminal and smart machine only can support the equipment of general 2.4G frequency range WIFI, also can be support general 2.4G frequency range and the dual frequency equipment of 5G frequency range WIFI simultaneously.
In actual applications, for smart machine, the control command that user sends from mobile phone terminal can be received after usually needing successfully to be linked into WIFI network, perform the action of response.And user is when using mobile terminal to control smart machine, usually can be come by the client software that mobile terminal is installed; Such as, when realizing, described client software can be the APP of a kind of " wired home ", and user can be managed concentratedly the various intelligent home devices in home environment and control by this APP.
Below with described mobile terminal for smart mobile phone, described client software is wired home APP (hereinafter referred to as APP) is example, and the application scenarios of combined with intelligent domestic environment is described in detail to technical scheme of the present disclosure.
In a smart home environment, usually some smart machines can be comprised, such as, in smart home environment, usually the intelligent home devices such as intelligent video camera head, smart jack, Intelligent air purifier can be comprised.After the smart machine in domestic environment powers on; usually WIFI broadcasting packet can be sent towards periphery by built-in WIFI chip; wherein usually can carry the information such as the device name of smart machine in this WIFI broadcasting packet; above-mentioned APP can by resolving the WIFI broadcasting packet received; the device name obtaining ambient intelligence equipment scans the smart machine of surrounding.
Wherein, in actual applications, in the WIFI broadcasting packet sent after above-mentioned smart machine powers on, except can carrying the information such as the device name of smart machine, the information of the compatible radio band of smart machine can also be carried, after above-mentioned APP scans the WIFI broadcasting packet that smart machine sends, by resolving the compatible radio band of smart machine that this WIFI broadcasting packet can also get surrounding, thus follow-uply can send broadcasting packet based on the radio band that the smart machine of surrounding is compatible to smart machine.
In the present embodiment, for the smart machine scanned, the information such as the device name of the smart machine scanned can present to user by above-mentioned APP in the form of a list in above-mentioned APP, and user then can carry out the operation such as network configuration, Long-distance Control by above-mentioned APP to the smart machine in list.
Wherein, above-mentioned APP, when carrying out network configuration for the smart machine scanned, has come in the network configuration interface that usually can provide at above-mentioned APP.Such as, when realizing, user can select the Intelligent target equipment needing to carry out network configuration in above-mentioned list, after have selected Intelligent target equipment, now can jump to above-mentioned network configuration interface, carry out network configuration by user to this smart machine.
In above-mentioned network configuration interface, a WIFI network list can be provided, this list comprises the ssid of all WIFI network of surrounding that above-mentioned APP scans, user can be the target WIFI network that above-mentioned smart machine selects to need access in the list, and in above-mentioned network configuration interface, inputted the password of this target WIFI network by user.Wherein, a trigger option can also be provided in this network configuration interface, when user have selected the target WIFI network needing access, and after being completed by the Password Input of this target WIFI network, user can be triggered smart mobile phone and to be sent to above-mentioned smart machine by built-in WIFI chip and carry the ssid of above-mentioned target WIFI network and the WIFI broadcasting packet of password by clicking this trigger option.
In the present embodiment, after user clicks above-mentioned trigger option, above-mentioned APP can obtain the ssid of target WIFI network and the password of input that user selects in above-mentioned network configuration interface on backstage, whether the WIFI network then judging the current access of smart mobile phone is this target WIFI network, if the WIFI network of the current access of smart mobile phone is this target WIFI network, because above-mentioned APP has got the compatible radio band of above-mentioned smart machine in advance, therefore above-mentioned APP can judge whether the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine mates further.
Certainly, if the WIFI network of the current access of smart mobile phone is not this target WIFI network, now smart mobile phone can access this target WIFI network according to the ssid of this target WIFI network and password attempt, access successfully, above-mentioned APP judges whether the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine mates again further.
Wherein, above-mentioned APP is when obtaining the radio band that this target WIFI network of the current access of smart mobile phone uses, operating frequency that can be current by the WIFI chip detecting smart mobile phone, or realize by analyzing the WIFI air message transmitted between the above-mentioned smart mobile phone router corresponding with above-mentioned target WIFI network.
On the one hand, when above-mentioned APP judges that the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine is not mated, now this smart machine cannot resolve the broadcasting packet of this frequency range normally, therefore the smart machine open interface that can be provided by above-mentioned destination router, first preset instructions is sent to the destination router that described target WIFI network is corresponding, this first preset instructions to send towards periphery based on the radio band that described smart machine is compatible carry the above-mentioned ssid of target WIFI network and the broadcasting packet of password for triggering above-mentioned destination router, thus above-mentioned smart machine is after receiving this broadcasting packet, the ssid and password that obtain the target WIFI network of wherein carrying can be resolved normally to this broadcasting packet, then above-mentioned target WIFI network is accessed according to this ssid and password attempt.
Such as, suppose the 2.4G frequency range of smart machine only compatible universal, smart mobile phone is current to be accessed above-mentioned target WIFI network by 5G frequency range and communicates with above-mentioned destination router, after now smart mobile phone carries the ssid of target WIFI network and the broadcasting packet of password by 5G frequency range to above-mentioned smart machine transmission, because frequency range is not mated, smart machine cannot normally resolve this broadcasting packet.Therefore, smart mobile phone can send above-mentioned first preset instructions to above-mentioned destination router, after destination router receives this first preset instructions, 2.4 general frequency ranges can be used to send above-mentioned broadcasting packet towards periphery, and continue to communicate with above-mentioned smart mobile phone by 5G frequency range.In this case, above-mentioned smart machine can resolve ssid and the password that the broadcasting packet received obtains above-mentioned target WIFI network normally.
Certainly, when above-mentioned APP judges that the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine is not mated, if above-mentioned smart mobile phone also support above-mentioned smart machine compatible radio band time, above-mentioned APP also can control smart mobile phone by the compatible radio band of this smart machine, sends towards periphery and carries the above-mentioned ssid of target WIFI network and the broadcasting packet of password.
In addition; in actual applications; when smart mobile phone supports the radio band that above-mentioned smart machine is compatible; and the above-mentioned target radio band that WIFI network uses of the current access of smart mobile phone; when the radio band compatible with above-mentioned smart machine is not identical; now smart mobile phone is enabled and is sent above-mentioned broadcasting packet towards periphery with the radio band of the inoperative of above-mentioned smart machine compatibility, usually can cause the problem that smart mobile phone power consumption is excessive.Therefore, in this case, for the consideration in smart mobile phone power consumption, if smart mobile phone supports the radio band that above-mentioned smart machine is compatible, but the above-mentioned target radio band that WIFI network uses of the current access of smart mobile phone, when the radio band compatible with above-mentioned smart machine is not identical, now smart mobile phone can send above-mentioned broadcasting packet towards periphery.
On the other hand, when above-mentioned APP judges the radio band that this target WIFI network of the current access of smart mobile phone uses and the compatible radio band of above-mentioned smart machine matches, now this smart machine can resolve the broadcasting packet of this frequency range normally, therefore above-mentioned APP can control smart mobile phone based on the current wireless frequency used, and namely the radio band of this target WIFI network of current access sends towards periphery and carries the above-mentioned ssid of target WIFI network and the broadcasting packet of password.Simultaneously, the open interface that above-mentioned APP can also be provided by above-mentioned destination router, second preset instructions is sent to the destination router that described target WIFI network is corresponding, this second preset instructions to send towards periphery based on the radio band of current use carry the above-mentioned ssid of target WIFI network and the broadcasting packet of password for triggering above-mentioned destination router, when above-mentioned smart machine is after receiving this broadcasting packet, the ssid and password that obtain the target WIFI network of wherein carrying can be resolved normally to this broadcasting packet, then above-mentioned target WIFI network is accessed according to this ssid and password attempt.
Such as, suppose the 2.4G frequency range of smart machine not only compatible universal, but also compatible 5G frequency range, and smart mobile phone is current accesses above-mentioned target WIFI network with above-mentioned destination router by 5G frequency range and communicate, after now smart mobile phone carries the ssid of target WIFI network and the broadcasting packet of password by 5G frequency range to above-mentioned smart machine transmission, due to frequency band match, smart machine can normally resolve this broadcasting packet.Therefore, smart mobile phone can send above-mentioned broadcasting packet towards periphery by the current 5G frequency range used.Meanwhile, smart mobile phone can also send above-mentioned second preset instructions to above-mentioned destination router, after destination router receives this second preset instructions, can send above-mentioned broadcasting packet towards periphery by the current 5G frequency range used.In this case, because the radio band of current use is mated with the radio band of smart machine compatibility, therefore smart mobile phone and intelligent router can send above-mentioned broadcasting packet based on the radio band of current use simultaneously towards periphery, after above-mentioned smart machine receives above-mentioned broadcasting packet, ssid and password that the broadcasting packet received obtains above-mentioned target WIFI network can be resolved normally.
In the embodiment above, by obtaining the title of target WIFI network and password that user sets in default interface, and judge whether the radio band that radio band that the described target WIFI network of access uses is compatible with smart machine mates, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, described target WIFI network is accessed according to the described title of carrying in this broadcasting packet and password to make described smart machine, thus the radio band that can realize based on smart machine compatibility is to the title of this smart machine broadcast target WIFI network and password, can avoid cannot resolving due to smart machine the broadcasting packet that receives and the title of target WIFI network and the problem of password cannot being got.
As shown in Figure 2, Fig. 2 is a kind of wireless network connecting method according to an exemplary embodiment, and this wireless network connecting method is used for, in terminal, comprising the following steps:
In step 201, title and the password of the target WIFI network that user sets in default interface is obtained;
In step 202., whether the WIFI network judging current access is described target WIFI network;
In step 203, if when the WIFI network of current access is described target WIFI network, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates; If when the WIFI network of current access is not described target WIFI network, after being linked into described target WIFI network based on the title of the described target WIFI network got and password, whether the radio band judging to access radio band that described target WIFI network uses compatible with smart machine mates;
In step 204, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password;
In step 205, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is mated, send towards periphery based on the radio band that uses of the described target WIFI network of access and carry the described title of target WIFI network and the broadcasting packet of password, and send the second preset instructions to the destination router that described target WIFI network is corresponding, to send towards periphery based on the radio band of current use carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router.
In the present embodiment, above-mentioned destination router can be the router supporting double frequency WIFI; Such as, this destination router can be support general 2.4G frequency range and the wireless router of 5G frequency range WIFI simultaneously.Above-mentioned terminal can be mobile terminal; Such as, this mobile terminal can be smart mobile phone.The intelligent home device of the above-mentioned smart machine WIFI chip that can be built-in.
Wherein, above-mentioned mobile terminal and smart machine can be the equipment only supporting general frequency range WIFI, also can be the equipment supporting double frequency WIFI; Such as, above-mentioned mobile terminal and smart machine only can support the equipment of general 2.4G frequency range WIFI, also can be support general 2.4G frequency range and the dual frequency equipment of 5G frequency range WIFI simultaneously.
In actual applications, for smart machine, the control command that user sends from mobile phone terminal can be received after usually needing successfully to be linked into WIFI network, perform the action of response.And user is when using mobile terminal to control smart machine, usually can be come by the client software that mobile terminal is installed; Such as, when realizing, described client software can be the APP of a kind of " wired home ", and user can be managed concentratedly the various intelligent home devices in home environment and control by this APP.
Below with described mobile terminal for smart mobile phone, described client software is wired home APP (hereinafter referred to as APP) is example, and the application scenarios of combined with intelligent domestic environment is described in detail to technical scheme of the present disclosure.
In a smart home environment, usually some smart machines can be comprised, such as, in smart home environment, usually the intelligent home devices such as intelligent video camera head, smart jack, Intelligent air purifier can be comprised.After the smart machine in domestic environment powers on; usually WIFI broadcasting packet can be sent towards periphery by built-in WIFI chip; wherein usually can carry the information such as the device name of smart machine in this WIFI broadcasting packet; above-mentioned APP can by resolving the WIFI broadcasting packet received; the device name obtaining ambient intelligence equipment scans the smart machine of surrounding.
Wherein, in actual applications, in the WIFI broadcasting packet sent after above-mentioned smart machine powers on, except can carrying the information such as the device name of smart machine, the information of the compatible radio band of smart machine can also be carried, after above-mentioned APP scans the WIFI broadcasting packet that smart machine sends, by resolving the compatible radio band of smart machine that this WIFI broadcasting packet can also get surrounding, thus follow-uply can send broadcasting packet based on the radio band that the smart machine of surrounding is compatible to smart machine.
In the present embodiment, for the smart machine scanned, the information such as the device name of the smart machine scanned can present to user by above-mentioned APP in the form of a list in above-mentioned APP, and user then can carry out the operation such as network configuration, Long-distance Control by above-mentioned APP to the smart machine in list.
Wherein, above-mentioned APP, when carrying out network configuration for the smart machine scanned, has come in the network configuration interface that usually can provide at above-mentioned APP.Such as, when realizing, user can select the Intelligent target equipment needing to carry out network configuration in above-mentioned list, after have selected Intelligent target equipment, now can jump to above-mentioned network configuration interface, carry out network configuration by user to this smart machine.
Refer to Fig. 3, in above-mentioned network configuration interface, a WIFI network list can be provided, this list comprises the ssid of all WIFI network of surrounding that above-mentioned APP scans, user can be the target WIFI network that above-mentioned smart machine selects to need access in the list, and in above-mentioned network configuration interface, inputted the password of this target WIFI network by user.Wherein, a trigger option (such as this trigger option can be next step a option) can also be provided in this network configuration interface, when user have selected the target WIFI network needing access, and after being completed by the Password Input of this target WIFI network, user can be triggered smart mobile phone and to be sent to above-mentioned smart machine by built-in WIFI chip and carry the ssid of above-mentioned target WIFI network and the WIFI broadcasting packet of password by clicking this trigger option.
In the present embodiment, after user clicks above-mentioned trigger option, above-mentioned APP can obtain the ssid of target WIFI network and the password of input that user selects in above-mentioned network configuration interface on backstage, whether the WIFI network then judging the current access of smart mobile phone is this target WIFI network, if the WIFI network of the current access of smart mobile phone is this target WIFI network, because above-mentioned APP has got the compatible radio band of above-mentioned smart machine in advance, therefore above-mentioned APP can judge whether the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine mates further.
Certainly, if the WIFI network of the current access of smart mobile phone is not this target WIFI network, now smart mobile phone can access this target WIFI network according to the ssid of this target WIFI network and password attempt, access successfully, above-mentioned APP judges whether the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine mates again further.
Wherein, above-mentioned APP is when obtaining the radio band that this target WIFI network of the current access of smart mobile phone uses, operating frequency that can be current by the WIFI chip detecting smart mobile phone, or realize by analyzing the WIFI air message transmitted between the above-mentioned smart mobile phone router corresponding with above-mentioned target WIFI network.
On the one hand, when above-mentioned APP judges that the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine is not mated, now this smart machine cannot resolve the broadcasting packet of this frequency range normally, therefore the smart machine open interface that can be provided by above-mentioned destination router, first preset instructions is sent to the destination router that described target WIFI network is corresponding, this first preset instructions to send towards periphery based on the radio band that described smart machine is compatible carry the above-mentioned ssid of target WIFI network and the broadcasting packet of password for triggering above-mentioned destination router, thus above-mentioned smart machine is after receiving this broadcasting packet, the ssid and password that obtain the target WIFI network of wherein carrying can be resolved normally to this broadcasting packet, then above-mentioned target WIFI network is accessed according to this ssid and password attempt.
Such as, suppose the 2.4G frequency range of smart machine only compatible universal, smart mobile phone is current to be accessed above-mentioned target WIFI network by 5G frequency range and communicates with above-mentioned destination router, after now smart mobile phone carries the ssid of target WIFI network and the broadcasting packet of password by 5G frequency range to above-mentioned smart machine transmission, because frequency range is not mated, smart machine cannot normally resolve this broadcasting packet.Therefore, smart mobile phone can send above-mentioned first preset instructions to above-mentioned destination router, after destination router receives this first preset instructions, 2.4 general frequency ranges can be used to send above-mentioned broadcasting packet towards periphery, and continue to communicate with above-mentioned smart mobile phone by 5G frequency range.In this case, above-mentioned smart machine can resolve ssid and the password that the broadcasting packet received obtains above-mentioned target WIFI network normally.
Certainly, when above-mentioned APP judges that the radio band that radio band that this target WIFI network of the current access of smart mobile phone uses is compatible with above-mentioned smart machine is not mated, if above-mentioned smart mobile phone also support above-mentioned smart machine compatible radio band time, above-mentioned APP also can control smart mobile phone by the compatible radio band of this smart machine, sends towards periphery and carries the above-mentioned ssid of target WIFI network and the broadcasting packet of password.
In addition; in actual applications; when smart mobile phone supports the radio band that above-mentioned smart machine is compatible; and the above-mentioned target radio band that WIFI network uses of the current access of smart mobile phone; when the radio band compatible with above-mentioned smart machine is not identical; now smart mobile phone is enabled and is sent above-mentioned broadcasting packet towards periphery with the radio band of the inoperative of above-mentioned smart machine compatibility, usually can cause the problem that smart mobile phone power consumption is excessive.Therefore, in this case, for the consideration in smart mobile phone power consumption, if smart mobile phone supports the radio band that above-mentioned smart machine is compatible, but the above-mentioned target radio band that WIFI network uses of the current access of smart mobile phone, when the radio band compatible with above-mentioned smart machine is not identical, now smart mobile phone can send above-mentioned broadcasting packet towards periphery.
On the other hand, when above-mentioned APP judges the radio band that this target WIFI network of the current access of smart mobile phone uses and the compatible radio band of above-mentioned smart machine matches, now this smart machine can resolve the broadcasting packet of this frequency range normally, therefore above-mentioned APP can control smart mobile phone based on the current wireless frequency used, and namely the radio band of this target WIFI network of current access sends towards periphery and carries the above-mentioned ssid of target WIFI network and the broadcasting packet of password.Simultaneously, the open interface that above-mentioned APP can also be provided by above-mentioned destination router, second preset instructions is sent to the destination router that described target WIFI network is corresponding, this second preset instructions to send towards periphery based on the radio band of current use carry the above-mentioned ssid of target WIFI network and the broadcasting packet of password for triggering above-mentioned destination router, when above-mentioned smart machine is after receiving this broadcasting packet, the ssid and password that obtain the target WIFI network of wherein carrying can be resolved normally to this broadcasting packet, then above-mentioned target WIFI network is accessed according to this ssid and password attempt.
Such as, suppose the 2.4G frequency range of smart machine not only compatible universal, but also compatible 5G frequency range, and smart mobile phone is current accesses above-mentioned target WIFI network with above-mentioned destination router by 5G frequency range and communicate, after now smart mobile phone carries the ssid of target WIFI network and the broadcasting packet of password by 5G frequency range to above-mentioned smart machine transmission, due to frequency band match, smart machine can normally resolve this broadcasting packet.Therefore, smart mobile phone can send above-mentioned broadcasting packet towards periphery by the current 5G frequency range used.Meanwhile, smart mobile phone can also send above-mentioned second preset instructions to above-mentioned destination router, after destination router receives this second preset instructions, can send above-mentioned broadcasting packet towards periphery by the current 5G frequency range used.In this case, because the radio band of current use is mated with the radio band of smart machine compatibility, therefore smart mobile phone and intelligent router can send above-mentioned broadcasting packet based on the radio band of current use simultaneously towards periphery, after above-mentioned smart machine receives above-mentioned broadcasting packet, ssid and password that the broadcasting packet received obtains above-mentioned target WIFI network can be resolved normally.
In the embodiment above, by obtaining the title of target WIFI network and password that user sets in default interface, and judge whether the radio band that radio band that the described target WIFI network of access uses is compatible with smart machine mates, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, described target WIFI network is accessed according to the described title of carrying in this broadcasting packet and password to make described smart machine, thus the radio band that can realize based on smart machine compatibility is to the title of this smart machine broadcast target WIFI network and password, can avoid cannot resolving due to smart machine the broadcasting packet that receives and the title of target WIFI network and the problem of password cannot being got.
Corresponding with aforementioned wireless networks method of attachment embodiment, the disclosure additionally provides a kind of embodiment of wireless network jockey.
Fig. 4 is the schematic block diagram of a kind of wireless network jockey according to an exemplary embodiment.
As shown in Figure 4, a kind of wireless network jockey 400 according to an exemplary embodiment, comprising: the first acquisition module 401, judge module 402 and the first sending module 403; Wherein:
Described first acquisition module 401 is configured to, and obtains title and the password of the target WIFI network that user sets in default interface;
Described judge module 402 is configured to, and judges whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
Described first sending module 403 is configured to, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
In the embodiment above, by obtaining the title of target WIFI network and password that user sets in default interface, and judge whether the radio band that radio band that the described target WIFI network of access uses is compatible with smart machine mates, when the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, described target WIFI network is accessed according to the described title of carrying in this broadcasting packet and password to make described smart machine, thus the radio band that can realize based on smart machine compatibility is to the title of this smart machine broadcast target WIFI network and password, can avoid cannot resolving due to smart machine the broadcasting packet that receives and the title of target WIFI network and the problem of password cannot being got.
Refer to Fig. 5, Fig. 5 is the block diagram of the another kind of device of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described judge module 402 can comprise the first judgement submodule 402A, second and judge that submodule 402B and the 3rd judges submodule 402C; Wherein:
Described first judges that submodule 402A is configured to, and judges whether the WIFI network of current access is described target WIFI network;
Described second judges that submodule 402B is configured to, when described first judges that submodule 402A judges that the WIFI network of current access is described target WIFI network, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
Described second judges that submodule 402C is configured to, when described first judges that submodule judges that the WIFI network of current access is not described target WIFI network, after being linked into described target WIFI network based on the title of the described target WIFI network got and password, whether the radio band judging to access radio band that described target WIFI network uses compatible with smart machine mates.
Refer to Fig. 6, Fig. 6 is the block diagram of the another kind of device of the disclosure according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described device 400 can also comprise the second sending module 404; Wherein:
Described second sending module 404 is configured to, when the radio band that the radio band that the described target WIFI network of access uses is compatible with described smart machine is mated, the destination router corresponding to described target WIFI network sends the second preset instructions, to send towards periphery carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router based on the radio band of current use.
It should be noted that, the structure of the second sending module 404 shown in device embodiment shown in above-mentioned Fig. 6 also can be included in the device embodiment of earlier figures 5, does not limit this disclosure.
Refer to Fig. 7, Fig. 7 is the block diagram of the another kind of device of the disclosure according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 6, and described device 400 can also comprise the 3rd sending module 405; Wherein:
Described 3rd sending module 405 is configured to, when accessing the radio band that uses of the described target WIFI network radio band compatible with smart machine and mating, send towards periphery carry the described title of target WIFI network and the broadcasting packet of password based on accessing radio band that described target WIFI network uses;
It should be noted that, the structure of the 3rd sending module 405 shown in the device embodiment shown in above-mentioned Fig. 7 also can be included in the device embodiment of earlier figures 4-5, does not limit this disclosure.
Refer to Fig. 8, Fig. 8 is the block diagram of the another kind of device of the disclosure according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 7, and described device 400 can also comprise receiver module 406 and the second acquisition module 407; Wherein:
Described receiver module 406 is configured to, and receives the broadcasting packet that described smart machine sends based on wireless universal frequency range; Wherein this broadcasting packet sends after being powered on by described smart machine, carries the compatible radio band of described smart machine in this broadcasting packet;
Described second acquisition module 407 is configured to, and resolves the broadcasting packet that the described smart machine received sends, to obtain the compatible radio band of described smart machine.
It should be noted that, the structure of the receiver module 406 shown in device embodiment shown in above-mentioned Fig. 8 and the second acquisition module 407 also can be included in the device embodiment of earlier figures 4-6, does not limit this disclosure.
In said apparatus, the implementation procedure of the function and efficacy of modules specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said module illustrated as separating component can or may not be physically separates, parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of wireless network jockey, and described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
Accordingly, the disclosure also provides a kind of terminal, described terminal includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to perform described more than one or one program package containing the instruction for carrying out following operation by more than one or one processor:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
Fig. 9 is the structural representation of a kind of wireless network jockey according to an exemplary embodiment.
As shown in Figure 9, a kind of wireless network jockey 900 according to an exemplary embodiment, this device 900 can be mobile phone, smart machine, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 901, memory 902, power supply module 903, multimedia groupware 904, audio-frequency assembly 905, the interface 906 of I/O (I/O), sensor cluster 907, and communications component 908.
The integrated operation of the usual control device 900 of processing components 901, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 901 can comprise one or more processor 909 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 901 can comprise one or more module, and what be convenient between processing components 901 and other assemblies is mutual.Such as, processing unit 901 can comprise multi-media module, mutual with what facilitate between multimedia groupware 904 and processing components 901.
Memory 902 is configured to store various types of data to be supported in the operation of device 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 902 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 903 is device 900 provide electric power.Power supply module 903 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 904 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 904 comprises a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 905 is configured to export and/or input audio signal.Such as, audio-frequency assembly 905 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 902 further or be sent via communications component 908.In certain embodiments, audio-frequency assembly 905 also comprises a loud speaker, for output audio signal.
I/O interface 902 is for providing interface between processing components 901 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 907 comprises one or more transducer, for providing the state estimation of various aspects for device 900.Such as, sensor cluster 907 can detect the opening/closing state of device 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right checkout gear 900 of sensor cluster 907 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the variations in temperature of device 900 orientation or acceleration/deceleration and device 900.Sensor cluster 907 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 907 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 907 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 908 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 908 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 908 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 902 of instruction, above-mentioned instruction can perform said method by the processor 909 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Wherein, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of wireless network connecting method, comprising:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a wireless network connecting method, is characterized in that, described method comprises:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
2. the method for claim 1, is characterized in that, whether the radio band that the described radio band judging that the described target WIFI network of access uses is compatible with smart machine mates comprises:
Whether the WIFI network judging current access is described target WIFI network;
If the WIFI network of current access is described target WIFI network, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
If the WIFI network of current access is not described target WIFI network, after being linked into described target WIFI network based on the title of the described target WIFI network got and password, whether the radio band judging to access radio band that described target WIFI network uses compatible with smart machine mates.
3. the method for claim 1, is characterized in that, described method also comprises:
When the radio band that the radio band that the described target WIFI network of access uses is compatible with described smart machine is mated, the destination router corresponding to described target WIFI network sends the second preset instructions, to send towards periphery carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router based on the radio band of current use.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
When accessing the radio band that uses of the described target WIFI network radio band compatible with smart machine and mating, send towards periphery carry the described title of target WIFI network and the broadcasting packet of password based on accessing radio band that described target WIFI network uses.
5. the method for claim 1, is characterized in that, described method also comprises:
Receive the broadcasting packet that described smart machine sends based on wireless universal frequency range; Wherein this broadcasting packet sends after being powered on by described smart machine, carries the compatible radio band of described smart machine in this broadcasting packet;
The broadcasting packet that the described smart machine received sends is resolved, to obtain the compatible radio band of described smart machine.
6. a wireless network jockey, is characterized in that, described device comprises:
First acquisition module, is configured to the title and the password that obtain the target WIFI network that user sets in default interface;
Judge module, whether the radio band being configured to judge to access radio band that described target WIFI network uses compatible with smart machine mates;
First sending module, when the radio band that the radio band being configured to use in the described target WIFI network of access is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
7. as right wants the device as described in 6, it is characterized in that, described judge module comprises:
First judges submodule, is configured to judge whether the WIFI network of current access is described target WIFI network;
Second judges submodule, be configured to when described first judges that submodule judges that the WIFI network of current access is described target WIFI network, judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
3rd judges submodule, be configured to when described first judges that submodule judges that the WIFI network of current access is not described target WIFI network, after being linked into described target WIFI network based on the title of the described target WIFI network got and password, whether the radio band judging to access radio band that described target WIFI network uses compatible with smart machine mates.
8. device as claimed in claim 6, it is characterized in that, described device also comprises:
Second sending module, when the radio band that the radio band being configured to use in the described target WIFI network of access is compatible with described smart machine is mated, the destination router corresponding to described target WIFI network sends the second preset instructions, to send towards periphery carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router based on the radio band of current use.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
3rd sending module, be configured to when accessing the radio band that uses of the described target WIFI network radio band compatible with smart machine and mating, send towards periphery carry the described title of target WIFI network and the broadcasting packet of password based on accessing radio band that described target WIFI network uses.
10. device as claimed in claim 6, it is characterized in that, described device also comprises:
Receiver module, is configured to receive the broadcasting packet that described smart machine sends based on wireless universal frequency range; Wherein this broadcasting packet sends after being powered on by described smart machine, carries the compatible radio band of described smart machine in this broadcasting packet;
Second acquisition module, the broadcasting packet be configured to the described smart machine received sends is resolved, to obtain the compatible radio band of described smart machine.
11. 1 kinds of wireless network jockeys, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain title and the password of the target WIFI network that user sets in default interface;
Judge whether the radio band accessing the radio band that uses of described target WIFI network compatible with smart machine mates;
When the radio band that the radio band that the described target WIFI network of access uses is compatible with smart machine is not mated, the destination router corresponding to described target WIFI network sends the first preset instructions, to send towards periphery based on the radio band that described smart machine is compatible carry the described title of target WIFI network and the broadcasting packet of password to trigger described destination router, access described target WIFI network to make described smart machine according to the described title of carrying in this broadcasting packet and password.
CN201510618144.8A 2015-09-24 2015-09-24 Wireless network connecting method and device Active CN105163366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510618144.8A CN105163366B (en) 2015-09-24 2015-09-24 Wireless network connecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510618144.8A CN105163366B (en) 2015-09-24 2015-09-24 Wireless network connecting method and device

Publications (2)

Publication Number Publication Date
CN105163366A true CN105163366A (en) 2015-12-16
CN105163366B CN105163366B (en) 2019-03-29

Family

ID=54804096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510618144.8A Active CN105163366B (en) 2015-09-24 2015-09-24 Wireless network connecting method and device

Country Status (1)

Country Link
CN (1) CN105163366B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222908A (en) * 2017-06-28 2017-09-29 广东美的制冷设备有限公司 Intelligent appliance and its with network method, router, intelligent domestic system
CN107241245A (en) * 2017-06-16 2017-10-10 深圳市盛路物联通讯技术有限公司 A kind of equipment connection method and data transfer equipment
CN107426067A (en) * 2017-07-27 2017-12-01 广东美的制冷设备有限公司 Intelligent appliance
CN107465586A (en) * 2017-08-02 2017-12-12 广东美的制冷设备有限公司 Router
CN107612716A (en) * 2017-08-28 2018-01-19 上海斐讯数据通信技术有限公司 A kind of distribution method and system of intelligent electronic device
CN107613530A (en) * 2017-10-11 2018-01-19 上海斐讯数据通信技术有限公司 The collocation method and double-frequency wireless router of internet of things equipment based on router
CN107920354A (en) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 The connection method of multiband equipment and system
CN111194067A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Network access method, device, related equipment and storage medium
CN111342985A (en) * 2018-12-18 2020-06-26 美的集团股份有限公司 Network distribution method, Internet of things system and Internet of things equipment
CN111386714A (en) * 2019-03-29 2020-07-07 深圳市大疆创新科技有限公司 Wi-Fi communication connection establishment method, device and computer-readable storage medium
CN111866999A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium
CN112533184A (en) * 2020-10-22 2021-03-19 智享众联科技有限公司 Equipment connection method and device
CN113438102A (en) * 2021-06-04 2021-09-24 荣耀终端有限公司 Network configuration system, network configuration method, electronic device and routing device
CN113747543A (en) * 2021-08-03 2021-12-03 荣耀终端有限公司 Network distribution method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079257A (en) * 2012-12-11 2013-05-01 杭州联汇数字科技有限公司 Method for connecting audio device into WIFI (Wireless Fidelity) network
CN104301884A (en) * 2014-10-29 2015-01-21 浙江宇视科技有限公司 Method for configuring IP cameras to have access to wireless router

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079257A (en) * 2012-12-11 2013-05-01 杭州联汇数字科技有限公司 Method for connecting audio device into WIFI (Wireless Fidelity) network
CN104301884A (en) * 2014-10-29 2015-01-21 浙江宇视科技有限公司 Method for configuring IP cameras to have access to wireless router

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241245B (en) * 2017-06-16 2020-03-10 深圳市盛路物联通讯技术有限公司 Equipment connection method and data forwarding equipment
CN107241245A (en) * 2017-06-16 2017-10-10 深圳市盛路物联通讯技术有限公司 A kind of equipment connection method and data transfer equipment
CN107222908A (en) * 2017-06-28 2017-09-29 广东美的制冷设备有限公司 Intelligent appliance and its with network method, router, intelligent domestic system
CN107426067A (en) * 2017-07-27 2017-12-01 广东美的制冷设备有限公司 Intelligent appliance
CN107465586A (en) * 2017-08-02 2017-12-12 广东美的制冷设备有限公司 Router
CN107612716A (en) * 2017-08-28 2018-01-19 上海斐讯数据通信技术有限公司 A kind of distribution method and system of intelligent electronic device
CN107612716B (en) * 2017-08-28 2021-05-07 台州市吉吉知识产权运营有限公司 Network distribution method and system of intelligent electronic equipment
CN107613530B (en) * 2017-10-11 2020-03-13 上海斐讯数据通信技术有限公司 Router-based configuration method of Internet of things equipment and dual-frequency wireless router
CN107613530A (en) * 2017-10-11 2018-01-19 上海斐讯数据通信技术有限公司 The collocation method and double-frequency wireless router of internet of things equipment based on router
WO2019071807A1 (en) * 2017-10-11 2019-04-18 上海斐讯数据通信技术有限公司 Router-based internet of things device configuration method and dual-frequency wireless router
CN107920354A (en) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 The connection method of multiband equipment and system
WO2019100834A1 (en) * 2017-11-21 2019-05-31 珠海奔图电子有限公司 Multi-frequency band device connection method and system
CN111194067A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Network access method, device, related equipment and storage medium
CN111342985A (en) * 2018-12-18 2020-06-26 美的集团股份有限公司 Network distribution method, Internet of things system and Internet of things equipment
CN111386714A (en) * 2019-03-29 2020-07-07 深圳市大疆创新科技有限公司 Wi-Fi communication connection establishment method, device and computer-readable storage medium
WO2020199019A1 (en) * 2019-03-29 2020-10-08 深圳市大疆创新科技有限公司 Method and device for establishing wifi communication connection and computer-readable storage medium
CN111866999A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent device network distribution method, system and storage medium
CN112533184A (en) * 2020-10-22 2021-03-19 智享众联科技有限公司 Equipment connection method and device
CN113438102A (en) * 2021-06-04 2021-09-24 荣耀终端有限公司 Network configuration system, network configuration method, electronic device and routing device
CN113747543A (en) * 2021-08-03 2021-12-03 荣耀终端有限公司 Network distribution method and device
CN113747543B (en) * 2021-08-03 2022-11-25 荣耀终端有限公司 Network distribution method, equipment, device and storage medium

Also Published As

Publication number Publication date
CN105163366B (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN105163366A (en) Wireless network connection method and device
CN104683938A (en) Configuration method and device for intelligent equipment
CN104640234A (en) Method and device for accessing to wireless network
CN104302014A (en) Method and device for connecting terminal with Wi-Fi hotspot
CN104780154A (en) Device binding method and device binding device
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN104703295A (en) Network access method and network access device
CN104318741A (en) Bluetooth device control method and device
CN104038263A (en) Method and device for establishing Bluetooth connection
CN104780155A (en) Method and device for binding equipment
CN105159672A (en) Remote assistance method and client
CN105228224A (en) The cut-in method of wireless network and device
CN105228147A (en) Method for connecting network, Apparatus and system
CN105338083A (en) Interface display method and interface display device
CN104602112A (en) Configuration method and device
CN104965448A (en) Intelligent device control method and device
CN105338399A (en) Image acquisition method and device
CN105246074A (en) Method and device for establishing connections
CN105162889A (en) Device finding method and apparatus
CN104640166A (en) Communication method and device
CN104506443A (en) Router setting interface display method and device
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN105100074A (en) Data operation processing method, device and terminal equipment
CN104468971A (en) Method and device for connecting playing source
CN104735670A (en) Network access method and device

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