CN104640234A - Method and device for accessing to wireless network - Google Patents

Method and device for accessing to wireless network Download PDF

Info

Publication number
CN104640234A
CN104640234A CN201510079937.7A CN201510079937A CN104640234A CN 104640234 A CN104640234 A CN 104640234A CN 201510079937 A CN201510079937 A CN 201510079937A CN 104640234 A CN104640234 A CN 104640234A
Authority
CN
China
Prior art keywords
wifi
password
wifi network
title
smart machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510079937.7A
Other languages
Chinese (zh)
Inventor
陈良思
陈学通
党媛媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510079937.7A priority Critical patent/CN104640234A/en
Publication of CN104640234A publication Critical patent/CN104640234A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention discloses a method for accessing to wireless network. The method comprises the following steps of detecting whether a terminal is accessed to a WIFI (wireless fidelity) network; and pushing name and password of the WIFI network to a local intelligent device through a WIFI module when detecting that the terminal is accessed to the WIFI network so as to enable the intelligent device to be accessed to the WIFI network according to the name and the password of the WIFI network. The invention can provide a more intelligent and quick access manner, so that the intelligent device is more intelligent in the process of accessing to the WIFI network and can be more quickly accessed to the WIFI network without complex configuration.

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
At present, increasing smart machine can by WIFI (the Wireless Fidelity carried, Wireless Fidelity) module access WIFI network, user can access same WIFI network by using terminal, operates described smart machine, configures etc.
Along with the development of smart machine, smart machine more and more intellectuality becomes trend gradually, therefore the how more intelligentized access WIFI network of smart machine, change particularly important.
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, be applied to terminal, described method comprises:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
Optionally, described the title of described WIFI network and password are pushed to local smart machine by WIFI module before, described method comprises:
Judge whether to receive the operational order for preset function option;
When receiving the operational order for described preset function option, the title of described WIFI network and password are pushed to local smart machine by WIFI module.
Optionally, describedly the title of described WIFI network and password be pushed to local smart machine by WIFI module comprise:
Scanning smart machine around;
Set up WIFI with the smart machine scanned to be connected;
Connect based on the WIFI set up and the title of described WIFI network and password are sent to described smart machine.
Optionally, describedly the title of described WIFI network and password be pushed to local smart machine by WIFI module comprise:
According to preset algorithm, the title of described WIFI network and password are encrypted;
The title of the described WIFI network after encryption and password are carried at least one WIFI broadcast and send to described smart machine.
Optionally, described method also comprises:
Receive the connection status notice message that described smart machine sends, according to the connection status of described connection status notice message smart machine described in default interface display; Wherein, described connection status notice message sends when described smart machine is successfully connected to described WIFI network according to the title of described WIFI network and password.
According to the second aspect of disclosure embodiment, provide a kind of wireless network connecting method, be applied to smart machine, described method comprises:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
Optionally, describedly obtain by WIFI module the title of WIFI network that terminal pushes and password comprises:
WIFI module is switched to ap mode, to send the WIFI signal for scanning this equipment towards periphery;
Set up WIFI with the terminal scanning this equipment to be connected;
Connect the title and password that receive the WIFI network that described terminal sends based on the WIFI set up, and the title of described WIFI network and password are preserved in this locality.
Optionally, describedly obtain by WIFI module the title of WIFI network that terminal pushes and password comprises:
The WIFI broadcast that receiving terminal sends; Title and the password of the WIFI network after being encrypted according to preset algorithm by described terminal is at least partially carried in wherein said WIFI broadcast;
The title of the described WIFI network at least partially of carrying in the WIFI broadcast received and password are decrypted;
According to preset order, the title of described WIFI network at least partially described in after deciphering and password are spliced, to obtain title and the password of described WIFI network, and the title of described WIFI network and password are preserved in this locality.
According to the third aspect of disclosure embodiment, provide a kind of wireless network jockey, described device comprises:
Whether detecting unit, be connected to WIFI network for sense terminals;
Push unit, for when detecting that described terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module, are connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
Optionally, described device comprises:
Judging unit, receives the operational order for preset function option for judging whether; When receiving the operational order for described preset function option, by push unit, the title of described WIFI network and password are pushed to local smart machine.
Optionally, described push unit comprises:
Scanning subelement, for scanning the smart machine of surrounding;
First sets up subelement, is connected for setting up WIFI with the smart machine scanned;
First sends subelement, for connecting based on the WIFI set up, the title of described WIFI network and password is sent to described smart machine.
Optionally, described push unit comprises:
Encryption sub-unit operable, for being encrypted the title of described WIFI network and password according to preset algorithm;
Broadcast subelement, sends to described smart machine for the title of the described WIFI network after encryption and password being carried at least one WIFI broadcast.
Optionally, described device also comprises:
Display unit, for receiving the connection status notice message that described smart machine sends, according to the connection status of described connection status notice message smart machine described in default interface display; Wherein, described connection status notice message sends when described smart machine is successfully connected to described WIFI network according to the title of described WIFI network and password.
According to the fourth aspect of disclosure embodiment, provide a kind of wireless network jockey, described device comprises:
Acquiring unit, for obtaining title and the password of the WIFI network that terminal pushes by WIFI module;
Linkage unit, for when getting title and the password of described WIFI network, is switched to station pattern by described WIFI module, is connected to described WIFI network according to the title of described WIFI network and password.
Optionally, described acquiring unit comprises:
Second sends subelement, for WIFI module is switched to ap mode, to send the WIFI signal for scanning this equipment towards periphery;
Second sets up subelement, is connected for setting up WIFI with the terminal scanning this equipment;
First receives subelement, for connecting the title and password that receive the WIFI network that described terminal sends based on the WIFI set up, and the title of described WIFI network and password is preserved in this locality.
Optionally, described acquiring unit comprises:
Second receives subelement, for the WIFI broadcast that receiving terminal sends; Title and the password of the WIFI network after being encrypted according to preset algorithm by described terminal is at least partially carried in wherein said WIFI broadcast;
Deciphering subelement, for being decrypted the title of the described WIFI network at least partially of carrying in the WIFI broadcast received and password;
Splicing subelement, for splicing the title of described WIFI network at least partially described in after deciphering and password according to preset order, to obtain title and the password of described WIFI network, and preserves the title of described WIFI network and password in this locality.
According to the 5th 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:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
According to the 6th 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:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In above embodiment of the present disclosure, whether be connected to WIFI network by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module, described smart machine, after the title receiving described WIFI network by WIFI module and password, is connected to described WIFI network according to the title of described WIFI network and password.The disclosure can provide a kind of connected mode of intelligent quick more, makes the process that smart machine is being connected to WIFI network more intelligent, can be connected to WIFI network faster, and does not need to carry out complicated configuration.
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 flow sheet of the another kind of wireless network connecting method 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 the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Figure 10 is the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Figure 11 is the schematic block diagram of the another kind of wireless network jockey according to an exemplary embodiment;
Figure 12 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 ".
Current most smart machine can by the WIFI module access WIFI network carried, smart machine is when accessing WIFI network, usually the title (SSID) knowing this WIFI network is needed, and the login password of correspondence, by input described WIFI network title and the login password of correspondence be connected to the wireless router of this WIFI network.
But, some be there is no to the smart machine of display interface, such as, WIFI stereo set, when accessing WIFI network, is normally operated in AP (Access Point by this smart machine, access point) pattern, this smart machine is equivalent to the equipment that one has router feature in such a mode, after user can use the WIFI of terminal to search WIFI network, then connects with this smart machine.When after connection establishment success, user can access this smart machine by webpage or client software and carry out Remote configuration to this smart machine, the manual WIFI network selecting to need to input, after then inputting password, this smart machine could be connected to this WIFI network normally.
Visible, by smart machine being accessed WIFI network with upper type, need user to carry out Remote configuration by mobile phone access smart machine, whole layoutprocedure is more loaded down with trivial details, intelligent not.
Because time, the disclosure proposes a kind of wireless network connecting method, whether is connected to WIFI network by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module, described smart machine, after the title receiving described WIFI network by WIFI module and password, is connected to described WIFI network according to the title of described WIFI network and password.The disclosure can provide a kind of connected mode of intelligent quick more, makes the process that smart machine is being connected to WIFI network more intelligent, can be connected to WIFI network faster, and does not need to carry out complicated configuration.
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, whether sense terminals is connected to WIFI network;
In a step 102, when detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module, are connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
In the present embodiment, whether whether terminal, when detecting this equipment and being connected in WIFI network, can be connected to described WIFI network to realize by the WIFI module that sense terminals is built-in; Such as, for described terminal for mobile phone, the current WIFI network that whether has been connected to can determine whether mobile phone is connected to WIFI network by WIFI network interface card built-in in detection of handset.
When terminal detects that this equipment has been connected to WIFI network, now by built-in WIFI module, the title of this WIFI network and password can be pushed to local smart machine.Wherein, when the title of this WIFI network and password being pushed to local smart machine, can be realized by the client software being arranged on this smart machine in terminal.When realizing, can provide a function choosing-item by user oriented in the display interface of described client software, user can open by operation the function title of described WIFI network and password being pushed to local smart machine by function choosing-item.
Such as, this function choosing-item can be one and WIFI network title and password one key are pushed to the function button of smart machine, after user opens this function button, can trigger and send one for opening the operational order title of described WIFI network and password being pushed to local smart machine to system background, after system background receives this operational order, can start the title of described WIFI network and password to be pushed to local smart machine.
Wherein, terminal, when the title of described WIFI network and password being pushed to local intelligent terminal, can have different implementations when implementing.
In a kind of exemplary execution mode, terminal can scan the smart machine of surrounding by built-in WIFI module, then set up WIFI with the smart machine scanned to be connected, when after the success of WIFI connection establishment, can connect based on this WIFI and the title of WIFI network and password are sent to the smart machine scanned.
When realizing, the smart machine of described this locality can be ap mode and station modes coexist, namely when terminal want to set up with this smart machine WIFI be connected time, this smart machine can be switched to ap mode immediately, outwardly provides access service; On the contrary, when this smart machine is wanted to be linked into miscellaneous equipment, station pattern can be switched to immediately to be linked into miscellaneous equipment.
When the smart machine of this locality is after first time opens, does not also access any WIFI network due to current, now the WIFI module of this smart machine can be switched to ap mode, the smart machine under ap mode, outwardly can provide access service.After the WIFI module of this smart machine is switched to ap mode, WIFI signal can be sent towards periphery by the WIFI interface of specifying, the title of this smart machine and the IP address of described WIFI interface configuration in this WIFI signal, can be carried.
Meanwhile, the WIFI module of terminal built-in can periodically scan the WIFI signal of surrounding, when the WIFI signal that the intelligent terminal scanning surrounding sends, the name of the smart machine in this WIFI signal can be referred to as in the display interface of the client software of this smart machine that the equipment that scans is installed in terminal and present to user, the IP address of the WIFI interface in this WIFI signal be preserved in this locality simultaneously.When user have selected corresponding smart machine in described display interface, and after operating the described function choosing-item that this client software provides and opening the title of the current WIFI network connected and password are pushed to the function of this smart machine, now the WIFI module of terminal can be initiated to set up WIFI with the WIFI interface of this smart machine immediately according to the IP address of the WIFI interface of having preserved and is connected, after this WIFI connects establishment, the title of described WIFI network and password are pushed to this smart machine by the WIFI connection can set up based on this.
After the title receiving the WIFI network pushed by terminal when this smart machine and password, the title of this WIFI network and password are preserved in this locality, immediately from ap mode, station pattern can be switched to simultaneously.Smart machine under station pattern, can be linked into other equipment, and now the WIFI module of this smart machine can use the title of the WIFI network received and password automatically to access the wireless router of described WIFI network.
In the execution mode that another kind is exemplary, terminal can be encrypted the title of described WIFI network and password according to preset algorithm, simultaneously in order to improve fail safe, terminal can also carry out subpackage to the title of the described WIFI network after encryption and password, is carried at the smart machine sending to surrounding in multiple WIFI broadcast.
When realizing, the smart machine of described this locality still can be ap mode and station modes coexist, when the smart machine of this locality is after first time opens, also any WIFI network is not accessed due to current, now the WIFI module of this smart machine can be switched to ap mode, smart machine under ap mode, outwardly can provide access service, can receive the WIFI broadcast sent from miscellaneous equipment.
Meanwhile, terminal is after successfully accessing WIFI network, according to the cryptographic algorithm preset, the title of this WIFI network and password can be encrypted, and subpackage is carried out to the title of WIFI network after encryption and password, then different subpackages can be carried in different WIFI broadcasts and send towards periphery by the WIFI module of terminal respectively.Wherein, described default cryptographic algorithm and the quantity that the title of WIFI network after encryption and password carry out subpackage is not particularly limited in the present embodiment.
After the WIFI module of described smart machine receives the WIFI broadcast that described terminal sends, can be decrypted this WIFI broadcast at the local decipherment algorithm according to presetting, owing to only carrying a part of content of the title password of described WIFI network in now each WIFI broadcast, therefore after described smart machine is by described WIFI broadcast successful decryption, can splice according to the title password of order to the described WIFI network of carrying in each WIFI broadcast preset, then obtain complete WIFI title and password.Wherein said default order can the sending order of described WIFI broadcast, such as terminal is when sending the title of the WIFI network after subpackage and password, can be numbered WIFI broadcast according to subpackage order, when described smart machine is after decrypting the WIFI broadcast received, can splice each subpackage according to identical order.
After the title obtaining complete WIFI network when described smart machine and password, the title of this WIFI network and password can be preserved in this locality, immediately from ap mode, station pattern can be switched to simultaneously.Smart machine under station pattern, can be linked into other equipment, and now the WIFI module of this smart machine can use the title of described WIFI network and password automatically to access the wireless router of described WIFI network.
In the present embodiment, after described smart machine is successfully linked into the wireless router of described WIFI network, a connection status notice message can also be sent to described terminal, come that notification device is current is in connection status, when described terminal is after receiving this connection status notice message, the display interface of client software of the described smart machine can installed in this locality shows described smart machine for connection status.
In the embodiment above, whether WIFI network is connected to by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module; Described smart machine is after the title receiving described WIFI network by WIFI module and password, described WIFI network can be automatically connected to according to the title of described WIFI network and password, visible, the disclosure is particularly useful for the smart machine that those do not have display interface, a kind of connected mode of intelligent quick more can be provided, make the process that smart machine is being connected to WIFI network more intelligent, WIFI network can be connected to faster, and do not need to carry out complicated configuration.
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 smart machine, comprising the following steps:
In step 201, title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
In step 202., when getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
In the present embodiment, described smart machine can be ap mode and station modes coexist, namely when terminal want to set up with this smart machine WIFI be connected time, this smart machine can be switched to ap mode immediately, outwardly provides access service; On the contrary, when this smart machine is wanted to be linked into miscellaneous equipment, station pattern can be switched to immediately to be linked into miscellaneous equipment.
In an initial condition, when described terminal detect be connected to WIFI network time, now the title of this WIFI network and password can be pushed to local smart machine by built-in WIFI module.Wherein, when the title of this WIFI network and password being pushed to local smart machine, can be realized by the client software being arranged on this smart machine in terminal.
When realizing, can provide a function choosing-item by user oriented in the display interface of described client software, user can open by operation the function title of described WIFI network and password being pushed to local smart machine by function choosing-item.
Such as, this function choosing-item can be one and WIFI network title and password one key are pushed to the function button of smart machine, after user opens this function button, can trigger and send one for opening the operational order title of described WIFI network and password being pushed to local smart machine to system background, after system background receives this operational order, can start the title of described WIFI network and password to be pushed to local smart machine.
Wherein, terminal, when the title of described WIFI network and password being pushed to local intelligent terminal, can have different implementations when implementing.
In a kind of exemplary execution mode, terminal can scan the smart machine of surrounding by built-in WIFI module, then set up WIFI with the smart machine scanned to be connected, when after the success of WIFI connection establishment, can connect based on this WIFI and the title of WIFI network and password are sent to the smart machine scanned.
When realizing, when the smart machine of this locality is after first time opens, does not also access any WIFI network due to current, now the WIFI module of this smart machine can be switched to ap mode, smart machine under ap mode, outwardly can provide access service.After the WIFI module of this smart machine is switched to ap mode, WIFI signal can be sent towards periphery by the WIFI interface of specifying, the title of this smart machine and the IP address of described WIFI interface configuration in this WIFI signal, can be carried.
Meanwhile, the WIFI module of terminal built-in can periodically scan the WIFI signal of surrounding, when the WIFI signal that the intelligent terminal scanning surrounding sends, the name of the smart machine in this WIFI signal can be referred to as in the display interface of the client software of this smart machine that the equipment that scans is installed in terminal and present to user, the IP address of the WIFI interface in this WIFI signal be preserved in this locality simultaneously.When user have selected corresponding smart machine in described display interface, and after operating the described function choosing-item that this client software provides and opening the title of the current WIFI network connected and password are pushed to the function of this smart machine, now the WIFI module of terminal can be initiated to set up WIFI with the WIFI interface of this smart machine immediately according to the IP address of the WIFI interface of having preserved and is connected, after this WIFI connects establishment, the title of described WIFI network and password are pushed to this smart machine by the WIFI connection can set up based on this.
After the title receiving the WIFI network pushed by terminal when this smart machine and password, the title of this WIFI network and password are preserved in this locality, immediately from ap mode, station pattern can be switched to simultaneously.Smart machine under station pattern, can be linked into other equipment, and now the WIFI module of this smart machine can use the title of the WIFI network received and password automatically to access the wireless router of described WIFI network.
In the execution mode that another kind is exemplary, terminal can be encrypted the title of described WIFI network and password according to preset algorithm, simultaneously in order to improve fail safe, terminal can also carry out subpackage to the title of the described WIFI network after encryption and password, is carried at the smart machine sending to surrounding in multiple WIFI broadcast.
When realizing, the smart machine of described this locality still can be ap mode and station modes coexist, when the smart machine of this locality is after first time opens, also any WIFI network is not accessed due to current, now the WIFI module of this smart machine can be switched to ap mode, smart machine under ap mode, outwardly can provide access service, can receive the WIFI broadcast sent from miscellaneous equipment.
Meanwhile, terminal is after successfully accessing WIFI network, according to the cryptographic algorithm preset, the title of this WIFI network and password can be encrypted, and subpackage is carried out to the title of WIFI network after encryption and password, then different subpackages can be carried in different WIFI broadcasts and send towards periphery by the WIFI module of terminal respectively.Wherein, described default cryptographic algorithm and the quantity that the title of WIFI network after encryption and password carry out subpackage is not particularly limited in the present embodiment.
After the WIFI module of described smart machine receives the WIFI broadcast that described terminal sends, can be decrypted this WIFI broadcast at the local decipherment algorithm according to presetting, owing to only carrying a part of content of the title password of described WIFI network in now each WIFI broadcast, therefore after described smart machine is by described WIFI broadcast successful decryption, can splice according to the title password of order to the described WIFI network of carrying in each WIFI broadcast preset, then obtain complete WIFI title and password.Wherein said default order can the sending order of described WIFI broadcast, such as terminal is when sending the title of the WIFI network after subpackage and password, can be numbered WIFI broadcast according to subpackage order, when described smart machine is after decrypting the WIFI broadcast received, can splice each subpackage according to identical order.
After the title obtaining complete WIFI network when described smart machine and password, the title of this WIFI network and password can be preserved in this locality, immediately from ap mode, station pattern can be switched to simultaneously.Smart machine under station pattern, can be linked into other equipment, and now the WIFI module of this smart machine can use the title of described WIFI network and password automatically to access the wireless router of described WIFI network.
In the present embodiment, after described smart machine is successfully linked into the wireless router of described WIFI network, a connection status notice message can also be sent to described terminal, come that notification device is current is in connection status, when described terminal is after receiving this connection status notice message, the display interface of client software of the described smart machine can installed in this locality shows described smart machine for connection status.
In the embodiment above, whether WIFI network is connected to by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module; Described smart machine is after the title receiving described WIFI network by WIFI module and password, described WIFI network can be automatically connected to according to the title of described WIFI network and password, visible, the disclosure is particularly useful for the smart machine that those do not have display interface, a kind of connected mode of intelligent quick more can be provided, make the process that smart machine is being connected to WIFI network more intelligent, WIFI network can be connected to faster, and do not need to carry out complicated configuration.
As shown in Figure 3, Fig. 3 is a kind of wireless network connecting method according to an exemplary embodiment, comprises the following steps:
In step 301, terminal detects whether be connected to WIFI network;
In step 302, when detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module;
In step 303, smart machine obtains title and the password of the WIFI network that terminal pushes by WIFI module;
In step 304, when smart machine gets title and the password of described WIFI network, described WIFI module is switched to station pattern, and is connected to described WIFI network according to the title of described WIFI network and password.
In the present embodiment, the intelligent terminal of the described terminal WIFI module that can be built-in; Such as, the mobile phone of the described terminal WIFI network interface card that can be built-in or PC.Described smart machine can be the smart machine of intelligent home device or other type, such as, and WIFI stereo set.When realizing, described smart machine can be ap mode and station modes coexist, namely when terminal want to set up with this smart machine WIFI be connected time, this smart machine can be switched to ap mode immediately, outwardly provides access service; On the contrary, when this smart machine is wanted to be linked into miscellaneous equipment, station pattern can be switched to immediately to be linked into miscellaneous equipment.
In an initial condition, whether whether terminal, when detecting this equipment and being connected in WIFI network, can be connected to described WIFI network to realize by the WIFI module that sense terminals is built-in; Such as, for described terminal for mobile phone, the current WIFI network that whether has been connected to can determine whether mobile phone is connected to WIFI network by WIFI network interface card built-in in detection of handset.
When terminal detects that this equipment has been connected to WIFI network, now by built-in WIFI module, the title of this WIFI network and password can be pushed to local smart machine.Wherein, when the title of this WIFI network and password being pushed to local smart machine, can be realized by the client software being arranged on this smart machine in terminal.When realizing, can provide a function choosing-item by user oriented in the display interface of described client software, user can open by operation the function title of described WIFI network and password being pushed to local smart machine by function choosing-item.
Such as, this function choosing-item can be one and WIFI network title and password one key are pushed to the function button of smart machine, after user opens this function button, can trigger and send one for opening the operational order title of described WIFI network and password being pushed to local smart machine to system background, after system background receives this operational order, can start the title of described WIFI network and password to be pushed to local smart machine.
Wherein, terminal, when the title of described WIFI network and password being pushed to local intelligent terminal, can have different implementations when implementing.
In a kind of exemplary execution mode, terminal can scan the smart machine of surrounding by built-in WIFI module, then set up WIFI with the smart machine scanned to be connected, when after the success of WIFI connection establishment, can connect based on this WIFI and the title of WIFI network and password are sent to the smart machine scanned.
When realizing, when the smart machine of this locality is after first time opens, does not also access any WIFI network due to current, now the WIFI module of this smart machine can be switched to ap mode, smart machine under ap mode, outwardly can provide access service.After the WIFI module of this smart machine is switched to ap mode, WIFI signal can be sent towards periphery by the WIFI interface of specifying, the title of this smart machine and the IP address of described WIFI interface configuration in this WIFI signal, can be carried.
Meanwhile, the WIFI module of terminal built-in can periodically scan the WIFI signal of surrounding, when the WIFI signal that the intelligent terminal scanning surrounding sends, the name of the smart machine in this WIFI signal can be referred to as in the display interface of the client software of this smart machine that the equipment that scans is installed in terminal and present to user, the IP address of the WIFI interface in this WIFI signal be preserved in this locality simultaneously.When user have selected corresponding smart machine in described display interface, and after operating the described function choosing-item that this client software provides and opening the title of the current WIFI network connected and password are pushed to the function of this smart machine, now the WIFI module of terminal can be initiated to set up WIFI with the WIFI interface of this smart machine immediately according to the IP address of the WIFI interface of having preserved and is connected, after this WIFI connects establishment, the title of described WIFI network and password are pushed to this smart machine by the WIFI connection can set up based on this.
After the title receiving the WIFI network pushed by terminal when this smart machine and password, the title of this WIFI network and password are preserved in this locality, immediately from ap mode, station pattern can be switched to simultaneously.Smart machine under station pattern, can be linked into other equipment, and now the WIFI module of this smart machine can use the title of the WIFI network received and password automatically to access the wireless router of described WIFI network.
In the execution mode that another kind is exemplary, terminal can be encrypted the title of described WIFI network and password according to preset algorithm, simultaneously in order to improve fail safe, terminal can also carry out subpackage to the title of the described WIFI network after encryption and password, is carried at the smart machine sending to surrounding in multiple WIFI broadcast.
When realizing, when the smart machine of this locality is after first time opens, also any WIFI network is not accessed due to current, now the WIFI module of this smart machine can be switched to ap mode, smart machine under ap mode, outwardly can provide access service, the WIFI broadcast sent from miscellaneous equipment can be received.
Meanwhile, terminal is after successfully accessing WIFI network, according to the cryptographic algorithm preset, the title of this WIFI network and password can be encrypted, and subpackage is carried out to the title of WIFI network after encryption and password, then different subpackages can be carried in different WIFI broadcasts and send towards periphery by the WIFI module of terminal respectively.Wherein, described default cryptographic algorithm and the quantity that the title of WIFI network after encryption and password carry out subpackage is not particularly limited in the present embodiment.
After the WIFI module of described smart machine receives the WIFI broadcast that described terminal sends, can be decrypted this WIFI broadcast at the local decipherment algorithm according to presetting, owing to only carrying a part of content of the title password of described WIFI network in now each WIFI broadcast, therefore after described smart machine is by described WIFI broadcast successful decryption, can splice according to the title password of order to the described WIFI network of carrying in each WIFI broadcast preset, then obtain complete WIFI title and password.Wherein said default order can the sending order of described WIFI broadcast, such as terminal is when sending the title of the WIFI network after subpackage and password, can be numbered WIFI broadcast according to subpackage order, when described smart machine is after decrypting the WIFI broadcast received, can splice each subpackage according to identical order.
After the title obtaining complete WIFI network when described smart machine and password, the title of this WIFI network and password can be preserved in this locality, immediately from ap mode, station pattern can be switched to simultaneously.Smart machine under station pattern, can be linked into other equipment, and now the WIFI module of this smart machine can use the title of described WIFI network and password automatically to access the wireless router of described WIFI network.
In the present embodiment, after described smart machine is successfully linked into the wireless router of described WIFI network, a connection status notice message can also be sent to described terminal, come that notification device is current is in connection status, when described terminal is after receiving this connection status notice message, the display interface of client software of the described smart machine can installed in this locality shows described smart machine for connection status.
In the embodiment above, whether WIFI network is connected to by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module; Described smart machine is after the title receiving described WIFI network by WIFI module and password, described WIFI network can be automatically connected to according to the title of described WIFI network and password, visible, the disclosure is particularly useful for the smart machine that those do not have display interface, a kind of connected mode of intelligent quick more can be provided, make the process that smart machine is being connected to WIFI network more intelligent, WIFI network can be connected to faster, and do not need to carry out complicated configuration.
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: detecting unit 401 and push unit 402; Wherein:
Described detecting unit 401 is configured to, and whether sense terminals is connected to WIFI network;
Described push unit 402 is configured to, when detecting that described terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module, are connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
In the embodiment above, whether WIFI network is connected to by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module; Described smart machine is after the title receiving described WIFI network by WIFI module and password, described WIFI network can be automatically connected to according to the title of described WIFI network and password, visible, the disclosure is particularly useful for the smart machine that those do not have display interface, a kind of connected mode of intelligent quick more can be provided, make the process that smart machine is being connected to WIFI network more intelligent, WIFI network can be connected to faster, and do not need to carry out complicated configuration.
Refer to Fig. 5, Fig. 5 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 judging unit 403; Wherein:
Described judging unit 403 is configured to, and judges whether to receive the operational order for preset function option; When receiving the operational order for described preset function option, by push unit 402, the title of described WIFI network and password are pushed to local smart machine.
Refer to Fig. 6, Fig. 6 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 push unit 402 can comprise scanning subelement 402A, first and set up subelement 402B and first transmission subelement 402C; Wherein:
Described scanning subelement 402A is configured to, scanning smart machine around;
Described first sets up subelement 402B is configured to, and sets up WIFI be connected with the smart machine scanned;
Described first sends subelement 402C is configured to, and connects the title of described WIFI network and password are sent to described smart machine based on the WIFI set up.
It should be noted that, the structure that the scanning subelement 402A, first shown in device embodiment shown in above-mentioned Fig. 6 sets up subelement 402B and first transmission subelement 402C 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. 4, and described push unit 402 can comprise encryption sub-unit operable 402D and broadcast subelement 402E; Wherein:
Described encryption sub-unit operable 402D is configured to, and is encrypted the title of described WIFI network and password according to preset algorithm;
Described broadcast subelement 402E is configured to, and the title of the described WIFI network after encryption and password is carried at least one WIFI broadcast and sends to described smart machine;
It should be noted that, the structure of the encryption sub-unit operable 402D shown in device embodiment shown in above-mentioned Fig. 7 and broadcast subelement 402E also can be included in the device embodiment of earlier figures 5-6, 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. 4, and described device 400 can also comprise display unit 404; Wherein:
Described display unit 404 is configured to, and receives the connection status notice message that described smart machine sends, according to the connection status of described connection status notice message smart machine described in default interface display; Wherein, described connection status notice message sends when described smart machine is successfully connected to described WIFI network according to the title of described WIFI network and password.
It should be noted that, the structure of the display unit 404 shown in device embodiment shown in above-mentioned Fig. 8 also can be included in the device embodiment of earlier figures 5-7, does not limit this disclosure.
Fig. 9 is the schematic block diagram of the another 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, comprising: acquiring unit 901 and linkage unit 902; Wherein:
Described acquiring unit 901 is configured to, and is obtained title and the password of the WIFI network that terminal pushes by WIFI module;
Described linkage unit 902 is configured to, and when getting title and the password of described WIFI network, described WIFI module is switched to station pattern, is connected to described WIFI network according to the title of described WIFI network and password.
In the embodiment above, whether WIFI network is connected to by sense terminals; When detecting that terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module; Described smart machine is after the title receiving described WIFI network by WIFI module and password, described WIFI network can be automatically connected to according to the title of described WIFI network and password, visible, the disclosure is particularly useful for the smart machine that those do not have display interface, a kind of connected mode of intelligent quick more can be provided, make the process that smart machine is being connected to WIFI network more intelligent, WIFI network can be connected to faster, and do not need to carry out complicated configuration.
Refer to Figure 10, Figure 10 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. 9, and described acquiring unit 901 can comprise the second transmission subelement 901A, second and set up subelement 901B and first reception subelement 901C; Wherein:
Described second sends subelement 901A is configured to, and WIFI module is switched to ap mode, to send the WIFI signal for scanning this equipment towards periphery;
Described second sets up subelement 901B is configured to, and sets up WIFI be connected with the terminal scanning this equipment;
Described first receives subelement 901C is configured to, and connects the title and password that receive the WIFI network that described terminal sends, and the title of described WIFI network and password are preserved in this locality based on the WIFI set up.
Refer to Figure 11, Figure 11 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. 9, and described acquiring unit 901 can comprise the second reception subelement 901D, deciphering subelement 901E and splicing subelement 901F; Wherein:
Described second receives subelement 901D is configured to, the WIFI broadcast that receiving terminal sends; Title and the password of the WIFI network after being encrypted according to preset algorithm by described terminal is at least partially carried in wherein said WIFI broadcast;
Described deciphering subelement 901E is configured to, and is decrypted the title of the described WIFI network at least partially of carrying in the WIFI broadcast received and password;
Described splicing subelement 901F is configured to, according to preset order, the title of described WIFI network at least partially described in after deciphering and password are spliced, to obtain title and the password of described WIFI network, and the title of described WIFI network and password are preserved in this locality.
It should be noted that, the structure that shown in device embodiment second shown in above-mentioned Figure 11 receives subelement 901D, deciphering subelement 901E and splicing subelement 901F also can be included in the device embodiment of aforementioned Figure 10, does not limit this disclosure.
In said apparatus, the implementation procedure of the function and efficacy of unit 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 unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit 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:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network 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:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
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:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
Accordingly, the disclosure also provides a kind of smart machine, described smart machine 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:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
Figure 12 is the structural representation of a kind of wireless network jockey according to an exemplary embodiment.
As shown in figure 12, a kind of wireless network jockey 1200 according to an exemplary embodiment, this device 1200 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 Figure 12, device 1200 can comprise following one or more assembly: processing components 1201, memory 1202, power supply module 1203, multimedia groupware 1204, audio-frequency assembly 1205, the interface 1206 of I/O (I/O), sensor cluster 1207, and communications component 1208.
The integrated operation of the usual control device 1200 of processing components 1201, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1201 can comprise one or more processor 1209 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1201 can comprise one or more module, and what be convenient between processing components 1201 and other assemblies is mutual.Such as, processing unit 1201 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1204 and processing components 1201.
Memory 1202 is configured to store various types of data to be supported in the operation of device 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1202 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 1203 is device 1200 provide electric power.Power supply module 1203 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1204 is included in the screen providing an output interface between described device 1200 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 1204 comprises a front-facing camera and/or post-positioned pick-up head.When device 1200 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 1205 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1205 comprises a microphone (MIC), and when device 1200 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 1202 further or be sent via communications component 1208.In certain embodiments, audio-frequency assembly 1205 also comprises a loud speaker, for output audio signal.
I/O interface 1202 is for providing interface between processing components 1201 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 1207 comprises one or more transducer, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1207 can detect the opening/closing state of device 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1207 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1207 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1207 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1207 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1208 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1208 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1208 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 1200 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 1202 of instruction, above-mentioned instruction can perform said method by the processor 1209 of device 1200.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:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
Wherein, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can also perform a kind of wireless network connecting method, comprising:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network 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 (18)

1. a wireless network connecting method, is applied in terminal, it is characterized in that, described method comprises:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
2. the method for claim 1, is characterized in that, described the title of described WIFI network and password are pushed to local smart machine by WIFI module before, described method comprises:
Judge whether to receive the operational order for preset function option;
When receiving the operational order for described preset function option, the title of described WIFI network and password are pushed to local smart machine by WIFI module.
3. the method for claim 1, is characterized in that, describedly the title of described WIFI network and password are pushed to local smart machine by WIFI module comprise:
Scanning smart machine around;
Set up WIFI with the smart machine scanned to be connected;
Connect based on the WIFI set up and the title of described WIFI network and password are sent to described smart machine.
4. the method for claim 1, is characterized in that, describedly the title of described WIFI network and password are pushed to local smart machine by WIFI module comprise:
According to preset algorithm, the title of described WIFI network and password are encrypted;
The title of the described WIFI network after encryption and password are carried at least one WIFI broadcast and send to described smart machine.
5. the method for claim 1, is characterized in that, described method also comprises:
Receive the connection status notice message that described smart machine sends, according to the connection status of described connection status notice message smart machine described in default interface display; Wherein, described connection status notice message sends when described smart machine is successfully connected to described WIFI network according to the title of described WIFI network and password.
6. a wireless network connecting method, is characterized in that, is applied on smart machine, and described method comprises:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
7. method as claimed in claim 6, is characterized in that, title and the password of the described WIFI network by the propelling movement of WIFI module acquisition terminal comprise:
WIFI module is switched to ap mode, to send the WIFI signal for scanning this equipment towards periphery;
Set up WIFI with the terminal scanning this equipment to be connected;
Connect the title and password that receive the WIFI network that described terminal sends based on the WIFI set up, and the title of described WIFI network and password are preserved in this locality.
8. method as claimed in claim 6, is characterized in that, title and the password of the described WIFI network by the propelling movement of WIFI module acquisition terminal comprise:
The WIFI broadcast that receiving terminal sends; Title and the password of the WIFI network after being encrypted according to preset algorithm by described terminal is at least partially carried in wherein said WIFI broadcast;
The title of the described WIFI network at least partially of carrying in the WIFI broadcast received and password are decrypted;
According to preset order, the title of described WIFI network at least partially described in after deciphering and password are spliced, to obtain title and the password of described WIFI network, and the title of described WIFI network and password are preserved in this locality.
9. a wireless network jockey, is characterized in that, described device comprises:
Whether detecting unit, be connected to WIFI network for sense terminals;
Push unit, for when detecting that described terminal is connected to WIFI network, the title of described WIFI network and password are pushed to local smart machine by WIFI module, are connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
10. device as claimed in claim 9, it is characterized in that, described device comprises:
Judging unit, receives the operational order for preset function option for judging whether; When receiving the operational order for described preset function option, by push unit, the title of described WIFI network and password are pushed to local smart machine.
11. devices as claimed in claim 9, it is characterized in that, described push unit comprises:
Scanning subelement, for scanning the smart machine of surrounding;
First sets up subelement, is connected for setting up WIFI with the smart machine scanned;
First sends subelement, for connecting based on the WIFI set up, the title of described WIFI network and password is sent to described smart machine.
12. devices as claimed in claim 9, it is characterized in that, described push unit comprises:
Encryption sub-unit operable, for being encrypted the title of described WIFI network and password according to preset algorithm;
Broadcast subelement, sends to described smart machine for the title of the described WIFI network after encryption and password being carried at least one WIFI broadcast.
13. devices as claimed in claim 9, it is characterized in that, described device also comprises:
Display unit, for receiving the connection status notice message that described smart machine sends, according to the connection status of described connection status notice message smart machine described in default interface display; Wherein, described connection status notice message sends when described smart machine is successfully connected to described WIFI network according to the title of described WIFI network and password.
14. 1 kinds of wireless network jockeys, is characterized in that, described device comprises:
Acquiring unit, for obtaining title and the password of the WIFI network that terminal pushes by WIFI module;
Linkage unit, for when getting title and the password of described WIFI network, is switched to station pattern by described WIFI module, is connected to described WIFI network according to the title of described WIFI network and password.
15. devices as claimed in claim 14, it is characterized in that, described acquiring unit comprises:
Second sends subelement, for WIFI module is switched to ap mode, to send the WIFI signal for scanning this equipment towards periphery;
Second sets up subelement, is connected for setting up WIFI with the terminal scanning this equipment;
First receives subelement, for connecting the title and password that receive the WIFI network that described terminal sends based on the WIFI set up, and the title of described WIFI network and password is preserved in this locality.
16. devices as claimed in claim 14, it is characterized in that, described acquiring unit comprises:
Second receives subelement, for the WIFI broadcast that receiving terminal sends; Title and the password of the WIFI network after being encrypted according to preset algorithm by described terminal is at least partially carried in wherein said WIFI broadcast;
Deciphering subelement, for being decrypted the title of the described WIFI network at least partially of carrying in the WIFI broadcast received and password;
Splicing subelement, for splicing the title of described WIFI network at least partially described in after deciphering and password according to preset order, to obtain title and the password of described WIFI network, and preserves the title of described WIFI network and password in this locality.
17. 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:
Whether sense terminals is connected to WIFI network;
When detecting that terminal is connected to WIFI network, the title of described WIFI network and password being pushed to local smart machine by WIFI module, being connected to described WIFI network to make described smart machine according to the title of described WIFI network and password.
18. 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:
Title and the password of the WIFI network that terminal pushes is obtained by WIFI module;
When getting title and the password of described WIFI network, described WIFI module being switched to station pattern, being connected to described WIFI network according to the title of described WIFI network and password.
CN201510079937.7A 2015-02-13 2015-02-13 Method and device for accessing to wireless network Pending CN104640234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510079937.7A CN104640234A (en) 2015-02-13 2015-02-13 Method and device for accessing to wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510079937.7A CN104640234A (en) 2015-02-13 2015-02-13 Method and device for accessing to wireless network

Publications (1)

Publication Number Publication Date
CN104640234A true CN104640234A (en) 2015-05-20

Family

ID=53218411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510079937.7A Pending CN104640234A (en) 2015-02-13 2015-02-13 Method and device for accessing to wireless network

Country Status (1)

Country Link
CN (1) CN104640234A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049416A (en) * 2015-06-15 2015-11-11 小米科技有限责任公司 Method and apparatus for accessing to wifi network
CN105722087A (en) * 2016-04-06 2016-06-29 微景天下(北京)科技有限公司 Wireless network access system and wireless network access method
CN105792316A (en) * 2016-04-19 2016-07-20 欧普照明股份有限公司 Network configuration method and network configuration device for intelligent equipment
CN106028325A (en) * 2016-05-09 2016-10-12 广东乐心医疗电子股份有限公司 Method and device for intelligent equipment to rapidly access WiFi
CN106060824A (en) * 2016-05-12 2016-10-26 深圳市蜂联科技有限公司 Method of utilizing broadcast frame embedded data mode to feed back state of smart device (SD) during SD networking process
CN106302052A (en) * 2016-09-09 2017-01-04 珠海格力电器股份有限公司 A kind of networking control method, system and wireless router and controlling intelligent household appliances
CN106332217A (en) * 2016-08-22 2017-01-11 维沃移动通信有限公司 Wireless routing method and mobile terminal
WO2017148082A1 (en) * 2016-02-29 2017-09-08 华为技术有限公司 Device access controlling method, and related device and system
CN107181791A (en) * 2017-04-19 2017-09-19 北京小米移动软件有限公司 The networking methods and device of smart machine
CN107205239A (en) * 2017-05-26 2017-09-26 广东美的厨房电器制造有限公司 A kind of method and detection device for detecting wireless network connection
WO2018001293A1 (en) * 2016-06-30 2018-01-04 维沃移动通信有限公司 Wi-fi password sharing method and mobile terminal
WO2018018537A1 (en) * 2016-07-28 2018-02-01 孙秋实 Method for automatically connecting to wifi and mobile phone
WO2018018539A1 (en) * 2016-07-28 2018-02-01 孙秋实 Information pushing method during automatic connection of wifi and mobile phone
CN108112052A (en) * 2017-12-13 2018-06-01 广东美的制冷设备有限公司 Network share method, apparatus, air regulator and the storage medium of terminal
CN108632814A (en) * 2017-03-17 2018-10-09 上海庆科信息技术有限公司 A kind of terminal device network collocating method and system
CN108811179A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of wireless network
CN109041011A (en) * 2018-07-25 2018-12-18 深圳市元征科技股份有限公司 A kind of vehicle detection terminal and networking method, system, equipment, computer media
CN109548183A (en) * 2017-08-11 2019-03-29 深圳光峰科技股份有限公司 Screen interacts connection method, projection device, mobile terminal and system
CN109743730A (en) * 2019-01-23 2019-05-10 欧普照明股份有限公司 A kind of smart machine networking method and system
CN110086698A (en) * 2019-06-01 2019-08-02 厦门市思芯微科技有限公司 It is a kind of by intelligent sound box voice to the system of smart home device distribution
CN111132267A (en) * 2018-10-31 2020-05-08 深圳市冠旭电子股份有限公司 Network distribution method and device and terminal equipment
CN112020060A (en) * 2020-09-03 2020-12-01 苏州奥维斯数字技术有限公司 Method for configuring network by intelligent Wi-Fi equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN104010327A (en) * 2014-06-18 2014-08-27 江勇 Method and system for quickly having access to WIFI wireless network
CN104159273A (en) * 2014-08-01 2014-11-19 深圳市江波龙电子有限公司 System and method for network access of WiFi equipment for Internet of things
CN104202794A (en) * 2014-08-20 2014-12-10 广东美的集团芜湖制冷设备有限公司 Household appliance, and wireless network configuration method and device thereof
CN104302014A (en) * 2014-09-11 2015-01-21 小米科技有限责任公司 Method and device for connecting terminal with Wi-Fi hotspot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN104010327A (en) * 2014-06-18 2014-08-27 江勇 Method and system for quickly having access to WIFI wireless network
CN104159273A (en) * 2014-08-01 2014-11-19 深圳市江波龙电子有限公司 System and method for network access of WiFi equipment for Internet of things
CN104202794A (en) * 2014-08-20 2014-12-10 广东美的集团芜湖制冷设备有限公司 Household appliance, and wireless network configuration method and device thereof
CN104302014A (en) * 2014-09-11 2015-01-21 小米科技有限责任公司 Method and device for connecting terminal with Wi-Fi hotspot

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049416A (en) * 2015-06-15 2015-11-11 小米科技有限责任公司 Method and apparatus for accessing to wifi network
WO2017148082A1 (en) * 2016-02-29 2017-09-08 华为技术有限公司 Device access controlling method, and related device and system
CN105722087A (en) * 2016-04-06 2016-06-29 微景天下(北京)科技有限公司 Wireless network access system and wireless network access method
CN105792316A (en) * 2016-04-19 2016-07-20 欧普照明股份有限公司 Network configuration method and network configuration device for intelligent equipment
CN106028325A (en) * 2016-05-09 2016-10-12 广东乐心医疗电子股份有限公司 Method and device for intelligent equipment to rapidly access WiFi
CN106060824B (en) * 2016-05-12 2019-08-20 深圳市蜂联科技有限公司 A method of SD state being fed back in the way of broadcast frame embedded data during SD networking
CN106060824A (en) * 2016-05-12 2016-10-26 深圳市蜂联科技有限公司 Method of utilizing broadcast frame embedded data mode to feed back state of smart device (SD) during SD networking process
WO2018001293A1 (en) * 2016-06-30 2018-01-04 维沃移动通信有限公司 Wi-fi password sharing method and mobile terminal
WO2018018537A1 (en) * 2016-07-28 2018-02-01 孙秋实 Method for automatically connecting to wifi and mobile phone
WO2018018539A1 (en) * 2016-07-28 2018-02-01 孙秋实 Information pushing method during automatic connection of wifi and mobile phone
CN106332217A (en) * 2016-08-22 2017-01-11 维沃移动通信有限公司 Wireless routing method and mobile terminal
CN106302052A (en) * 2016-09-09 2017-01-04 珠海格力电器股份有限公司 A kind of networking control method, system and wireless router and controlling intelligent household appliances
CN108632814A (en) * 2017-03-17 2018-10-09 上海庆科信息技术有限公司 A kind of terminal device network collocating method and system
CN107181791A (en) * 2017-04-19 2017-09-19 北京小米移动软件有限公司 The networking methods and device of smart machine
CN107205239B (en) * 2017-05-26 2020-06-16 广东美的厨房电器制造有限公司 Method for detecting wireless network connection and detection equipment
CN107205239A (en) * 2017-05-26 2017-09-26 广东美的厨房电器制造有限公司 A kind of method and detection device for detecting wireless network connection
CN109548183A (en) * 2017-08-11 2019-03-29 深圳光峰科技股份有限公司 Screen interacts connection method, projection device, mobile terminal and system
WO2019114172A1 (en) * 2017-12-13 2019-06-20 广东美的制冷设备有限公司 Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
CN108112052A (en) * 2017-12-13 2018-06-01 广东美的制冷设备有限公司 Network share method, apparatus, air regulator and the storage medium of terminal
CN108112052B (en) * 2017-12-13 2021-09-10 广东美的制冷设备有限公司 Terminal network sharing method and device, air conditioner and storage medium
US11265807B2 (en) 2017-12-13 2022-03-01 Gd Midea Air-Conditioning Equipment Co., Ltd. Method for network sharing on a terminal, apparatus, air conditioner and storage medium
CN108811179A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of wireless network
CN108811179B (en) * 2018-05-28 2020-12-18 北京小米移动软件有限公司 Wireless network connection method, device and storage medium
CN109041011A (en) * 2018-07-25 2018-12-18 深圳市元征科技股份有限公司 A kind of vehicle detection terminal and networking method, system, equipment, computer media
CN111132267A (en) * 2018-10-31 2020-05-08 深圳市冠旭电子股份有限公司 Network distribution method and device and terminal equipment
CN109743730A (en) * 2019-01-23 2019-05-10 欧普照明股份有限公司 A kind of smart machine networking method and system
CN110086698A (en) * 2019-06-01 2019-08-02 厦门市思芯微科技有限公司 It is a kind of by intelligent sound box voice to the system of smart home device distribution
CN110086698B (en) * 2019-06-01 2024-02-13 厦门市思芯微科技有限公司 System for distributing network to intelligent household equipment through intelligent loudspeaker voice
CN112020060A (en) * 2020-09-03 2020-12-01 苏州奥维斯数字技术有限公司 Method for configuring network by intelligent Wi-Fi equipment

Similar Documents

Publication Publication Date Title
CN104640234A (en) Method and device for accessing to wireless network
CN104159226B (en) Method for connecting network and device
CN104683938A (en) Configuration method and device for intelligent equipment
CN105163366A (en) Wireless network connection method and device
CN104780154A (en) Device binding method and device binding device
CN104302014A (en) Method and device for connecting terminal with Wi-Fi hotspot
CN105652672A (en) Method and apparatus for controlling intelligent device
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN104318741A (en) Bluetooth device control method and device
CN104703295A (en) Network access method and network access device
CN104684048A (en) WIFI list display method and device
CN104780155A (en) Method and device for binding equipment
CN104602112A (en) Configuration method and device
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN105338399A (en) Image acquisition method and device
CN104468329A (en) Member adding method and device based on instant messaging
CN105162889A (en) Device finding method and apparatus
CN105159672A (en) Remote assistance method and client
CN104618511A (en) Intelligent device detection method and device
CN104683248A (en) Method and device for switching working mode
CN105120505A (en) Method, apparatus and system for making intelligent equipment accessed to router
CN104735670A (en) Network access method and device
CN105100074A (en) Data operation processing method, device and terminal equipment
CN104506443A (en) Router setting interface display method and device
CN105228141A (en) A kind of methods, devices and systems set up network and connect

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150520