CN107371163A - A kind of method and apparatus for controlling access wireless network - Google Patents
A kind of method and apparatus for controlling access wireless network Download PDFInfo
- Publication number
- CN107371163A CN107371163A CN201710632639.5A CN201710632639A CN107371163A CN 107371163 A CN107371163 A CN 107371163A CN 201710632639 A CN201710632639 A CN 201710632639A CN 107371163 A CN107371163 A CN 107371163A
- Authority
- CN
- China
- Prior art keywords
- hotspot
- hardware devices
- intelligent hardware
- interim
- formal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
Abstract
The invention discloses a kind of method and apparatus for controlling access wireless network, the method for control access wireless network includes:Obtain the security information of intelligent hardware devices;Security information is wirelessly transmitted to the network equipment, establishes the interim hotspot for corresponding to intelligent hardware devices according to the security information received for the network equipment;Receive the first message for the instruction successful connection that the network equipment is sent when intelligent hardware devices are connected to interim hotspot;Notify the network equipment to send the link information of the formal hotspot of the network equipment to intelligent hardware devices according to first message, the connection with formal hotspot is established after the link information of formal hotspot is received for intelligent hardware devices.The technical scheme of the embodiment of the present invention, the wireless connection of intelligent hardware devices and the network equipment is realized, facilitate intelligent hardware devices networking to provide a user more preferable service.
Description
Technical field
The present invention relates to network technique field, and in particular to a kind of method and apparatus for controlling access wireless network.
Background technology
With the continuous development of intelligent hardware devices, many intelligent hardware devices are required for being connected to internet.Intelligence is hard
Part equipment is only connected on internet, could be with server interaction data, and so as to provide the user more preferable service, intelligence is hard
Part equipment can reach the purpose being connected on internet by accessing wireless network.But at present, intelligent hardware devices connection
The technical problem of operation inconvenience and security difference also be present in the mode of wireless network.
The content of the invention
The invention provides a kind of method and apparatus for controlling access wireless network, are connected with solving existing intelligent hardware devices
Connect the technical problem of existing operation inconvenience and security difference during wireless network.
According to an aspect of the invention, there is provided a kind of method for controlling access wireless network, including:
The security information of intelligent hardware devices is obtained, security information is unique corresponding interim with intelligent hardware devices for instruction
The presupposed information of hotspot;
Security information is wirelessly transmitted to the network equipment, is established for the network equipment according to the security information received and corresponds to intelligence
The interim hotspot of energy hardware device;
Receive the of the instruction successful connection that the network equipment is sent when intelligent hardware devices are connected to interim hotspot
One message;
The network equipment is notified to send the link information of the formal hotspot of the network equipment to intelligence according to first message
Hardware device, the connection with formal hotspot is established after the link information of formal hotspot is received for intelligent hardware devices,
The link information of wherein formal hotspot includes the name identification and encrypted message of formal hotspot.
According to another aspect of the present invention, there is provided a kind of method for accessing wireless network, including:
Monitoring wireless channel;
When listening to the beacon signal of the network equipment, the connection with the interim hotspot of the network equipment is initiated,
Wherein, beacon signal is the network equipment in the security information of acquisition intelligent hardware devices and based in security information
Indicate wide with after intelligent hardware devices uniquely interim hotspot corresponding to the presupposed information foundation of corresponding interim hotspot
Broadcast, and beacon signal includes the information of interim hotspot;
After interim hotspot is connected to, the inquiry for the link information for inquiring about formal hotspot is sent to the network equipment
Request;The link information of formal hotspot includes the name identification and encrypted message of formal hotspot;
Receive the link information for the formal hotspot that the network equipment returns and according to the connection of formal hotspot
Information establishes the connection with formal hotspot.
According to a further aspect of the invention, there is provided a kind of method for controlling access wireless network, including:
The security information of the intelligent hardware devices sent by mobile terminal is received, security information sets for instruction with Intelligent hardware
The presupposed information of standby unique corresponding interim hotspot;
Security information according to receiving establishes interim hotspot, and broadcasts the hot information of interim hotspot;
Receive intelligent hardware devices and receive the first connection request initiated after the hot information of interim hotspot, establish with
The interim wireless connection of intelligent hardware devices;
The inquiry request that the intelligent hardware devices are sent after the interim hotspot is connected to is received, by formal nothing
The link information of line focus is wirelessly transmitted to intelligent hardware devices, and receives intelligent hardware devices and receive formal hotspot
The second connection request initiated after link information, establish the formal wireless connection with intelligent hardware devices.
According to a further aspect of the invention, there is provided it is a kind of control access wireless network device, including processor and
Machinable medium, machinable medium are stored with the machine-executable instruction that can be executed by processor, processing
Device performs machine-executable instruction and promoted:Realize the method and step such as one side.
According to a further aspect of the invention, there is provided it is a kind of control access wireless network device, including processor and
Machinable medium, machinable medium are stored with the machine-executable instruction that can be executed by processor, processing
Device performs machine-executable instruction and promoted:Realize the method and step of another aspect.
The beneficial effects of the invention are as follows:The technical scheme of the control access wireless network of the embodiment of the present invention, passes through acquisition
The security information of intelligent hardware devices, security information indicate pre- with the unique corresponding interim hotspot of intelligent hardware devices
If information, security information is wirelessly transmitted to the network equipment, built by the network equipment according to the security information of the intelligent hardware devices
The vertical interim hotspot corresponding to the intelligent hardware devices, this is connected to after intelligent hardware devices scanning to interim hotspot
Interim hotspot, then by the annexation of the interim hotspot, the network equipment is by the formal wireless warm of the network equipment
The link information of point sends to intelligent hardware devices, intelligent hardware devices and scans formal hotspot, connected according to link information
To formal hotspot, in this way, the connection of the formal hotspot of intelligent hardware devices and the network equipment is realized, convenient intelligence
Hardware device connects wireless network, with server interaction data, so as to provide the user more preferable service, improves Consumer's Experience.
The interim hotspot that the network equipment creates according to the security information of unique corresponding intelligent hardware devices is additionally, since, this is interim
The hot information of hotspot only has intelligent hardware devices to know, unrelated person has no way of learning, passes through so as to avoid the network equipment
Safety problem caused by the information of broadcast mode broadcast radio focus is easily eavesdropped by attacker, improve intelligent hardware devices company
Connect the security of wireless network.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method for the control access wireless network of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the method for the access wireless network of one embodiment of the invention;
Fig. 3 is the schematic flow sheet of the method for the control access wireless network of one embodiment of the invention;
Fig. 4 is the interaction figure of the method for the control access wireless network of one embodiment of the invention;
Fig. 5 is the hardware block diagram of the mobile terminal of one embodiment of the invention.
Embodiment
The design concept of the present invention is:Many intelligent hardware devices are (for example, intelligent bulbs, intelligent sound, intelligence at present
Alarm clock etc.) there is the demand of connection network, and operation be present in the existing intelligent hardware devices connection network equipment (wireless router)
Inconvenience, the technical problem of security difference, it is necessary to the connection letter of wireless router overseas broadcast hotspot by taking wireless network as an example
Cease (such as service set identifier and password), although the password of broadcast is encrypted according to certain cipher mode, due to encryption
Mode is not based on different passwords, but based on fixed AES, as long as causing any listener to be aware of encryption side
Formula, you can crack to obtain the password of hotspot, easily by hacker attacks, potential safety hazard be present.If that is, all intelligence
The identical hotspot that energy hardware device is all broadcasted using wireless router connects, then security can not ensure.
On the other hand, the embodiments of the invention provide a kind of method for controlling access wireless network, referring to Fig. 1, this method includes
Following steps:
Step S101, the security information of intelligent hardware devices is obtained,
Presupposed information of the security information for instruction with the unique corresponding interim hotspot of intelligent hardware devices;
Step S102, security information is wirelessly transmitted to the network equipment, built for the network equipment according to the security information received
The vertical interim hotspot corresponding to intelligent hardware devices;
Step S103, receive the instruction connection that the network equipment is sent when intelligent hardware devices are connected to interim hotspot
Successful first message;
Step S104, the network equipment is notified to send out the link information of the formal hotspot of the network equipment according to first message
Intelligent hardware devices are delivered to, are established and formal hotspot after the link information of formal hotspot is received for intelligent hardware devices
Connection,
Wherein, the link information of formal hotspot includes the name identification and encrypted message of formal hotspot.
Understand as shown in Figure 1, the method for the control access wireless network of the present embodiment, due to the security information and intelligence of acquisition
Energy hardware device uniquely corresponds to, so as to which the interim hotspot of network equipment establishment is also uniquely corresponding with intelligent hardware devices, net
Network equipment is again by sending the link information of formal hotspot with the interim wireless connection of intelligent hardware devices, so, monitors
Even if person is aware of the information cipher mode of hotspot, but due to the security information of intelligent hardware devices can not be known, and then
The interim wireless connection with the network equipment can not be established, so as to prevent the password of formal hotspot to be cracked, improves network
The security of connection.
It should be noted that in practical application, the method shown in Fig. 1 is applied to mobile terminal, and the method shown in Fig. 1
Middle step S103 and step S104 can be omitted, i.e. mobile terminal need not notify the network equipment to send formal hotspot
Information, but by the network equipment after intelligent hardware devices are connected to interim hotspot, actively or receive Intelligent hardware
The link information of formal hotspot is sent to intelligent hardware devices after the request of equipment, without according to the logical of mobile terminal
Know.In addition, mobile terminal can receive the instruction that the network equipment is sent when intelligent hardware devices are connected to interim hotspot
The finger that the first message and/or the reception network equipment of successful connection are sent when intelligent hardware devices are connected to formal hotspot
Show the second message of successful connection, set according to the Intelligent hardware that first message or the second message statistics network equipment currently connect
It is standby, and export statistical information.
The network equipment in the present embodiment, refer to those network equipments for supporting wireless network protocol, such as wireless routing
Device.
The method of the control access wireless network of the present embodiment also receives the network equipment and is connected to just in intelligent hardware devices
Second message of the instruction successful connection sent during formula hotspot;Prompting message is exported according to the second message, reminds user.This
Sample, user can know whether intelligent hardware devices are connected on the network equipment in time.
In order to further improve the security of network connection, in an embodiment of the present invention, the network equipment is being determined
After the upper formal hotspot of intelligent hardware devices connection, you can close interim hotspot.From the foregoing it will be appreciated that controlled in the present embodiment
The network equipment processed creates the interim hotspot of unique corresponding intelligent hardware devices, with the network equipment in the prior art for all
Intelligent hardware devices broadcast identical hotspot is compared, and improves security.That is, interim hotspot is ensureing security side
The effect in face is most important, so in order to prevent undesirable person from obtaining the security information of intelligent hardware devices, using interim wireless
Focus connects the network equipment, in the present embodiment, after intelligent hardware devices and the network equipment establish formal wireless connection, that is, controls
The network equipment processed closes interim hotspot, in this way, even if attacker obtains the security information of intelligent hardware devices, but due to
Interim hotspot is turned off, so can not also connect the network equipment and then can not obtain the formal wireless heat of network equipment offer
The information of point.
Explanation is needed exist for, interim hotspot is intelligence of the network equipment (such as wireless router) according to reception
What the security information of hardware device was established, and the user that formal hotspot is router is set on interface in wireless router
Set.Typically, formal hotspot is created first, and interim hotspot is created rear, for example, user's indoor location has
Wireless router, and formal hotspot is created for the wireless router, including the services set mark of formal hotspot is set
Know the information such as SSID and Crypted password.Subsequently, after user has purchased intelligent hardware devices such as intelligent bulbs, it is desirable to establish intelligence
The connection of the formal hotspot of energy bulb and wireless router, at this moment first passes through foundation and intelligence according to the method for the present embodiment
The mode of the interim hotspot of bulb sends the information of the formal hotspot of wireless router to intelligent bulbs, then by intelligence
Energy bulb is connected to wireless router.
In addition, service set SSID (Service Set Identifier) here refers to uniquely to name wireless office
A string of characters of domain net (WLAN), the mark, which allows website to be connected to when multiple separate networks work in same physical region, to be needed
The network wanted.
In the present embodiment, security information is uniquely corresponding with intelligent hardware devices, including instruction creates and corresponds to Intelligent hardware
The presupposed information of the interim hotspot of equipment;Presupposed information specifically includes (1) transient service set identifier SSID, and (2) take temporarily
Business set identifier SSID cipher mode, (3) transient service set identifier SSID channel number, (4) transient service set identifier SSID
Crypted password.
In practical application, each intelligent hardware devices can distribute an independent safety certificate, the safety when dispatching from the factory
Above- mentioned information (1) to (4) is have recorded on certificate.That is, the safety certificate of each intelligent hardware devices is different.Based on this, net
Network equipment receives the interim hotspot created after security information and also differed, and corresponding interim hotspot can only be with intelligence
Hardware device connects, and can not be connected by other intelligent hardware devices, improves network completeness.
In addition, also include before security information is wirelessly transmitted into the network equipment in the present embodiment:Pass through WPA2-PSK
Cipher mode security information is encrypted.According to Wi-Fi technology specification, Wi-Fi access protections, there are WPA and WPA2 two
Standard, WPA2 are the WPA second editions, and WPA2 employs safer algorithm.PSK (Pre-Shared key, wildcard mould
Formula, also known as personality frame) it is design to can't afford the cost of 802.1X authentication servers and the family of complexity and small-sized
Corporate networks, each user must input cipher to take network, and talk secretly can be 8 to 63 ascii characters,
Or 64 16 bit digitals (256).
By using WPA2-PSK cipher modes, and utilize Advanced Encryption Standard AES (Advanced Encryption
Standard, abbreviation AES) AES is used as, further enhance security.
In view of many intelligent hardware devices in the prior art (such as:Intelligent bulbs, intelligent sound) without display screen etc.
Input equipment, or the smaller operation inconvenience of display screen, are connected, user's operation for the wireless network of this kind of intelligent hardware devices
It is very inconvenient, for example, user inputs the hotspot for inputting wireless router like that without the image of Buddha on the screen of smart mobile phone, enter
And wireless network is accessed, present inventor expects the method shown in Fig. 1 of the present embodiment being applied to smart mobile phone, or
The mobile terminals such as pad, using the security information of acquisition for mobile terminal intelligent hardware devices, security information is sent to movement eventually
On the wireless router for holding wireless connection, wireless router creates interim hotspot again, broadcasts the focus of interim hotspot
Information, i.e. the path using interim hotspot as the link information of the formal hotspot of transmission wireless router, intelligence are hard
Part equipment can also obtain the information of the formal hotspot of wireless router even if no screen by monitor channel, so as to send out
The connection request with formal hotspot is played, establishes the connection with formal hotspot, accesses wireless network.From the foregoing, it will be observed that this
The method of embodiment realizes conveniently accesses wireless network by intelligent hardware devices, improves Consumer's Experience.
Here, the safety that the security information of intelligent hardware devices includes obtaining the intelligent hardware devices of user's input is obtained
Information, or the coding pattern of the security information of scanning indicating intelligent hardware device obtain the security information of intelligent hardware devices.
That is the security information for obtaining intelligent hardware devices includes two ways, a kind of mode is that user directly inputs, and another kind is
Utilize the scan function of mobile terminal.Specifically, mobile terminal is provided with the input equipments such as touch-screen, user sets Intelligent hardware
Standby security information is input to mobile terminal, and mobile terminal is wirelessly transmitted to the network equipment.Or mobile terminal has barcode scanning work(
Can, using barcode scanning function, the Quick Response Code of the security information of indicating intelligent hardware device intelligent hardware devices is scanned, gets intelligence
The security information of hardware device.It can need to be selected in practice, acquisition modes are not restricted in the present embodiment.
Furthermore, it is contemplated that user is to the regulatory requirement of the intelligent hardware devices connected on wireless router, the present embodiment
The method of control access wireless network also includes the quantity for the intelligent hardware devices that statistics network equipment currently connects, output statistics
The list of identification information of value and each intelligent hardware devices currently connected.For example, output " currently attached three Intelligent hardwares
Equipment, it is respectively:Intelligent bracelet 1, intelligent alarm clock 2, intelligent bulbs 3 ".So as to conveniently control and monitor which equipment is integrated into
On wireless router, facilitate network management.
The embodiment of the present invention additionally provides a kind of method for accessing wireless network, and referring to Fig. 2, this method includes following step
Suddenly:
Step S201, monitoring wireless channel;
Step S202, when listening to the beacon signal of the network equipment, initiate and the interim hotspot of the network equipment
Connection,
Wherein, beacon signal is the network equipment in the security information of acquisition intelligent hardware devices and based in security information
Indicate wide with after intelligent hardware devices uniquely interim hotspot corresponding to the presupposed information foundation of corresponding interim hotspot
Broadcast, and beacon signal includes the hot information of interim hotspot;
Step S203, after interim hotspot is connected to, the connection for inquiring about formal hotspot is sent to the network equipment
The inquiry request of information;The link information of formal hotspot includes the name identification and encrypted message of formal hotspot;
Step S204, receive the link information for the formal hotspot that the network equipment returns and according to formal wireless heat
The link information of point establishes the connection with formal hotspot.
Method shown in Fig. 2 is applied to intelligent hardware devices.
The method of the access wireless network of the present embodiment, the letter that monitoring wireless router is sent by way of drive sweep
Signal is marked, the connection with interim hotspot is established according to beacon signal, and obtain just based on the connection with interim hotspot
The link information of formula hotspot, so as to establish the connection with formal hotspot, complete wireless network access.By Intelligent hardware
Equipment is being established with after the connection of the interim hotspot of the network equipment, inquiry request, the network equipment are sent to the network equipment
By the connecting path based on interim hotspot, by (cipher mode WPA2-PSK, AES are, for example, AES) of encryption
The link information of formal hotspot is sent to intelligent hardware devices, is avoided the network equipment and is broadcasted the possible quilt of formal hotspot
Information leakage problem caused by hacker eavesdrops and attacked, also, the link information of formal hotspot have passed through encryption,
Improve the security of network.
The hardware such as wireless network card are installed, intelligent hardware devices are in foundation and net when actually realizing, in intelligent hardware devices
After the connection of the interim hotspot of network equipment, the wireless network card of bottom perceives the change of this connection status, and to intelligence
The upper level applications of energy hardware device send instruction and are successfully established the notification message being connected, Intelligent hardware with interim hotspot
The upper level applications of equipment with network device communications, send inquiry request, come on the basis of the interim wireless connection of foundation
The link information of the formal hotspot of the network equipment is inquired about, is connected for subsequently being established with the formal hotspot.
Preferably, after the connection with formal hotspot is established, the automatic connection disconnected with interim hotspot.Due to
The cut-in operation that wireless network is completed on formal hotspot is already connected to, can subsequently disconnect the company with interim hotspot
Connect, facilitate the network equipment to close interim hotspot, avoid attacker from connecting the network equipment by interim hotspot, improve net
Network security.
For step S201 monitoring wireless channel, at present, any hardware is linked into wireless network and is required for inside to have class
Like the hardware of wireless network card, the institute that wireless network card is completed to communicate with wireless router is functional.Wireless network card has two kinds of Working moulds
Formula, active scan and drive sweep.The purpose of scanning will find a wireless network, be then added in the wireless network.
Active scan (active scanning) be intelligent hardware devices (work station STA) in an active manner, each
Probe Request frames are sent on channel, ask some ad hoc wireless networks to be responded.Active scan is actively to find net
Network, rather than wait for peacefully the wireless network statement presence of itself.
Drive sweep (passive scanning) is that intelligent hardware devices are listed in channel list (channel list)
The each channel channel of instruction (for example, channel number 1-11) between constantly switch, and wait for peacefully Beacon frames (i.e. beacon letter
Number) arrival.During drive sweep, intelligent hardware devices can constantly switch in interchannel, and can record from institute
Any Beacon received information.Beacon is to add some BSS (Basic to allow work station to know in design
Service Set, Basic Service Set) required for parameter to be communicated.By monitoring from some access point
Beacon frames, intelligent hardware devices drive sweep find out all BSS in the area, and in the security information that can be preserved based on itself
Service set SSID establish and the connection of corresponding WAP (that is, hotspot).Drive sweep mode, it is scanned
Any signal need not be transmitted in journey, more saves energy consumption.
A kind of method for controlling access wireless network is additionally provided in the embodiment of the present invention, referring to Fig. 3, including following step
Suddenly:
S301, receives the security information of the intelligent hardware devices sent by mobile terminal, and security information is instruction and intelligence
The presupposed information of interim hotspot corresponding to hardware device is unique;
S302, interim hotspot is established according to the security information received, and broadcast the hot information of interim hotspot;
S303, receive intelligent hardware devices and receive the first connection request initiated after the hot information of interim hotspot,
Establish the interim wireless connection with intelligent hardware devices;
S304, the inquiry request that the intelligent hardware devices are sent after the interim hotspot is connected to is received, will
The link information of formal hotspot is wirelessly transmitted to intelligent hardware devices, and receives intelligent hardware devices and receive formally wirelessly
The second connection request initiated after the link information of focus, establish the formal wireless connection with intelligent hardware devices.
Method shown in Fig. 3 is applied to the network equipment, such as wireless router.The wireless router of the present embodiment receive by
The security information for the intelligent hardware devices that mobile terminal is sent, broadcasts after establishing interim hotspot, is built for intelligent hardware devices
The vertical connection with interim hotspot, and after being connected with intelligent hardware devices by interim hotspot, send formal nothing
The information of line focus, so as to be connected to for intelligent hardware devices on formal hotspot, realizes wireless network to intelligent hardware devices
Network accesses.
Further to improve internet security, method also includes shown in Fig. 3:Passing through formal hotspot and Intelligent hardware
After equipment connection, interim hotspot is closed, avoids attacker from establishing the connection with the network equipment by interim hotspot.
Fig. 4 is the interaction figure of the method for the control access wireless network of one embodiment of the invention, referring to Fig. 4, this implementation
The method of the control control access wireless network of example includes tripartite's main body, is mobile terminal, the network equipment and Intelligent hardware respectively
Equipment.
Specifically, mobile terminal performs step 401:Obtain the security information of intelligent hardware devices;
Acquisition modes are for example foregoing can to include two kinds, and a kind of is the safety letter for the intelligent hardware devices for obtaining user's input
Breath, another way are that the coding pattern (such as Quick Response Code) for the security information for scanning indicating intelligent hardware device obtains Intelligent hardware
The security information of equipment.
Mobile terminal performs step 402:Transmit wirelessly security information;
That is, mobile terminal, by the wireless connection with the network equipment, safety is believed after security information is obtained
Breath is sent to the network equipment.
The network equipment performs step 403:The interim hotspot according to corresponding to creating security information;
Here security information includes (1) transient service set identifier SSID, (2) transient service set identifier SSID encryption side
Formula, (3) transient service set identifier SSID channel number and (4) transient service set identifier SSID Crypted password.That is, with interim
Titles of the service set SSID as interim hotspot, with transient service set identifier SSID cipher mode, transient service
The cipher mode of set identifier SSID channel number and transient service set identifier SSID Crypted password as interim hotspot,
Channel number and Crypted password.
The network equipment performs step 404:Broadcast interim hotspot;
The purpose of broadcast is in order to which intelligent hardware devices can listen to interim hotspot, and foundation and interim wireless heat
The connection of point.
Intelligent hardware devices perform step 405:Monitoring wireless channel, obtain the hot information of interim hotspot;
Intelligent hardware devices obtain the hot information of interim hotspot in a manner of drive sweep, interim nothing here
The hot information of line focus includes the name identification of interim hotspot, password, the essential information such as channel number and password.
Intelligent hardware devices perform step 406:Initiate to establish the first connection request with interim hotspot;
Intelligent hardware devices, according to the security information that itself is preserved, initiate first after interim hotspot is listened to
Connection request, establish the connection with interim hotspot.
The network equipment performs step 407:Interim wireless connection with intelligent hardware devices is established according to the first connection request;
For example, after the network equipment receives the first connection request, to information (title, the password carried in the first connection request
Etc. information) verified, it is verified the interim wireless connection then established with intelligent hardware devices.
Intelligent hardware devices perform step 408:The inquiry request for the link information for inquiring about formal hotspot is sent,
Intelligent hardware devices send inquiry request after interim hotspot is connected to, to the network equipment, formal to inquire about
The link information of hotspot;Here the link information of formal hotspot includes:The name identification of formal hotspot and
Encrypted message.
The network equipment performs step 409:The link information of formal hotspot is wirelessly transmitted to intelligent hardware devices;
After the network equipment receives inquiry request, the link information of formal hotspot is passed through based on interim wireless connection
The path of foundation, sent after encryption to intelligent hardware devices.
Intelligent hardware devices perform step 410:According to the link information of formal hotspot, the second connection request is sent;
Intelligent hardware devices are initiated and formal wireless according to the link information of the formal hotspot of the network equipment of acquisition
The connection of focus, i.e. send the second connection request.
The network equipment performs step 411:Formal wireless connection with intelligent hardware devices is established according to the second connection request;
For example, after the network equipment receives the second connection request, to information (title, the password carried in the second connection request
Etc. information) verified, it is verified, then establishes the connection of formal hotspot and intelligent hardware devices.
So far, the flow of wireless network access is controlled to be finished.
For convenience to the management and control of the intelligent hardware devices accessed on the network equipment, in the present embodiment
The network equipment also performs step 413:Count the intelligent hardware devices currently connected;
For example, the quantity of statistics intelligent hardware devices.
The network equipment performs step 414:Send statistical information;
The network equipment sends the intelligent hardware devices information of statistics to mobile terminal, for example, the number of intelligent hardware devices
Amount and list, list include the name identification of intelligent hardware devices.
Mobile terminal performs step 415:Export statistical information;
Mobile terminal exports the statistical information received to user, facilitates user to check and manage.
It is corresponding with preceding method, as shown in figure 5, being a kind of hardware structure diagram of the application mobile terminal, except Fig. 5 institutes
Outside the processor and memory that show, according to the actual functional capability of the mobile terminal, other hardware can also be included, it is no longer superfluous to this
State.
In Fig. 5, memory:Store machine-executable instruction code.
Processor:With memory communication, the instruction code stored in memory is read and performed, is realized in the application
State the extraction operation of numeric type index disclosed in example.
Here, memory can be any electronics, magnetic, optics or other physical storage devices, can include or store
Information, such as executable instruction, data, etc..For example, machinable medium can be:RAM(Radom Access
Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver (such as hard drive
Device), solid state hard disc, any kind of storage dish (such as CD, DVD), either similar storage medium or their group
Close.
Functionally dividing, the mobile terminal shown in Fig. 5 is used to control access wireless network, including:
Acquisition module, obtains the security information of intelligent hardware devices, and security information is unique with intelligent hardware devices to indicate
The presupposed information of corresponding interim hotspot;
Communication module, security information is wirelessly transmitted to the network equipment, built for the network equipment according to the security information received
The vertical interim hotspot corresponding to intelligent hardware devices;Receive the network equipment and be connected to interim wireless heat in intelligent hardware devices
The first message of the instruction successful connection sent during point;
Control module, the network equipment is notified to send out the link information of the formal hotspot of the network equipment according to first message
Intelligent hardware devices are delivered to, are established and formal hotspot after the link information of formal hotspot is received for intelligent hardware devices
Connection, wherein the link information of formal hotspot includes the name identification and encrypted message of formal hotspot.
Present invention also provides a kind of device for controlling access wireless network, applied in the network equipment, including processor
And machinable medium, machinable medium are stored with the machine-executable instruction that can be executed by processor, place
Reason device performs machine-executable instruction and promoted:Realize the method and step of control access wireless network.Functionally divide, the control
The device of access wireless network includes:
Receiving module, for receiving the security information of the intelligent hardware devices sent by mobile terminal, security information is finger
Show the presupposed information with the unique corresponding interim hotspot of intelligent hardware devices;
Interim hotspot creation module, for establishing interim hotspot according to the security information received, and broadcast and face
When hotspot hot information;
Interim wireless connection module, is initiated after the hot information of interim hotspot is received for receiving intelligent hardware devices
The first connection request, establish and the interim wireless connections of intelligent hardware devices;
Formal wireless connection module, the inquiry sent after interim hotspot is being connected to for receiving intelligent hardware devices
Request, the link information of formal hotspot is wirelessly transmitted to intelligent hardware devices, and receives intelligent hardware devices and receive
The second connection request initiated after the link information of formal hotspot, establishes the formal wireless connection with intelligent hardware devices.
In addition, the application provides a kind of device for controlling access wireless network, include applied to intelligent hardware devices:
Module is monitored, for monitoring wireless channel, when listening to the beacon signal of the network equipment, initiation and the network equipment
Interim hotspot connection,
Wherein, beacon signal is the network equipment in the security information of acquisition intelligent hardware devices and based in security information
Indicate wide with after intelligent hardware devices uniquely interim hotspot corresponding to the presupposed information foundation of corresponding interim hotspot
Broadcast, and beacon signal includes the information of interim hotspot;
AM access module, for after interim hotspot is connected to, being sent to the network equipment and inquiring about formal hotspot
The inquiry request of link information;The link information of formal hotspot includes the name identification and message in cipher of formal hotspot
Breath, receive the link information for the formal hotspot that the network equipment returns and built according to the link information of formal hotspot
The vertical connection with formal hotspot.
In summary, the technical scheme of the control access wireless network of the embodiment of the present invention, facilitates intelligent hardware devices to connect
Enter wireless network and provide the user more preferable service, and the foundation of the security information based on each intelligent hardware devices is interim wireless
Focus, established by interim hotspot after interim wireless connection and resettle formal wireless connection, improve internet security, it is excellent
Consumer's Experience is changed.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not
In the case of paying creative work, you can to understand and implement.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute
State in process, method, article or the equipment of key element and other identical element also be present.
The foregoing is only a specific embodiment of the invention, under the above-mentioned teaching of the present invention, those skilled in the art
Other improvement or deformation can be carried out on the basis of above-described embodiment.It will be understood by those skilled in the art that above-mentioned tool
The purpose of the present invention is simply preferably explained in body description, and protection scope of the present invention is defined by scope of the claims.
Claims (10)
- A kind of 1. method for controlling access wireless network, it is characterised in that including:The security information of intelligent hardware devices is obtained, the security information is uniquely corresponding with the intelligent hardware devices to indicate The presupposed information of interim hotspot;The security information is wirelessly transmitted to the network equipment, established for the network equipment according to the security information received Corresponding to the interim hotspot of the intelligent hardware devices;Receive the instruction connection that the network equipment is sent when the intelligent hardware devices are connected to the interim hotspot Successful first message;The network equipment is notified to send out the link information of the formal hotspot of the network equipment according to the first message Deliver to the intelligent hardware devices, received for the intelligent hardware devices establish after the link information of formal hotspot with it is described The connection of formal hotspot, wherein the link information of the formal hotspot include formal hotspot name identification and Encrypted message.
- 2. according to the method for claim 1, it is characterised in that also include:Receive the instruction connection that the network equipment is sent when the intelligent hardware devices are connected to the formal hotspot Successful second message;Prompting message is exported according to second message, reminds user.
- 3. method according to claim 1 or 2, it is characterised in that also include:Count what the network equipment currently connected The quantity of intelligent hardware devices, export the list of identification information of statistical value and each intelligent hardware devices currently connected.
- 4. according to the method for claim 1, it is characterised in that obtaining the security information of intelligent hardware devices includes:Obtain the security information of the intelligent hardware devices of user's input, or the volume of the security information of scanning indicating intelligent hardware device Code pattern obtains the security information of the intelligent hardware devices.
- 5. according to the method for claim 4, it is characterised in that the security information of the intelligent hardware devices includes following letter Breath:Transient service set identifier SSID;Transient service set identifier SSID cipher mode;Transient service set identifier SSID channel number;Transient service set identifier SSID Crypted password;Also include before the security information is wirelessly transmitted into the network equipment:By WPA2-PSK cipher mode to described Security information is encrypted.
- A kind of 6. method for accessing wireless network, it is characterised in that including:Monitoring wireless channel;When listening to the beacon signal of the network equipment, the connection with the interim hotspot of the network equipment is initiated,Wherein, the beacon signal is that the network equipment is obtaining the security information of intelligent hardware devices and is being based on security information In instruction established with the presupposed information of unique corresponding the interim hotspot of the intelligent hardware devices corresponding to wirelessly temporarily Broadcasted after focus, and the beacon signal includes the hot information of interim hotspot;After interim hotspot is connected to, the inquiry for the link information for inquiring about formal hotspot is sent to the network equipment Request;The link information of the formal hotspot includes the name identification and encrypted message of formal hotspot;Receive the link information for the formal hotspot that the network equipment returns and according to the connection of the formal hotspot Information establishes the connection with formal hotspot.
- 7. according to the method for claim 6, it is characterised in that also include:After the connection with formal hotspot is established, The automatic connection disconnected with the interim hotspot.
- A kind of 8. method for controlling access wireless network, it is characterised in that including:The security information of the intelligent hardware devices sent by mobile terminal is received, the security information is hard with the intelligence to indicate The presupposed information of interim hotspot corresponding to part equipment is unique;The security information according to receiving establishes interim hotspot, and broadcasts the hot information of the interim hotspot;Receive intelligent hardware devices and receive the first connection request initiated after the hot information of the interim hotspot, establish with The interim wireless connection of the intelligent hardware devices;The inquiry request that the intelligent hardware devices are sent after the interim hotspot is connected to is received, will be formally wireless hot The link information of point is wirelessly transmitted to intelligent hardware devices, and receives intelligent hardware devices and receive the formal hotspot The second connection request initiated after link information, establish the formal wireless connection with the intelligent hardware devices.
- 9. a kind of device for controlling access wireless network, it is characterised in that described including processor and machinable medium Machinable medium is stored with can be by the machine-executable instruction of the computing device, described in the computing device Machine-executable instruction promotes:Realize any described method and steps of claim 1-5.
- 10. a kind of device for controlling access wireless network, it is characterised in that including processor and machinable medium, institute Stating that machinable medium is stored with can be by the machine-executable instruction of the computing device, the computing device institute Machine-executable instruction is stated to promote:Realize the method and step described in claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710632639.5A CN107371163A (en) | 2017-07-28 | 2017-07-28 | A kind of method and apparatus for controlling access wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710632639.5A CN107371163A (en) | 2017-07-28 | 2017-07-28 | A kind of method and apparatus for controlling access wireless network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107371163A true CN107371163A (en) | 2017-11-21 |
Family
ID=60307918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710632639.5A Pending CN107371163A (en) | 2017-07-28 | 2017-07-28 | A kind of method and apparatus for controlling access wireless network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107371163A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040355A (en) * | 2017-12-08 | 2018-05-15 | 深圳市恒腾智能科技有限公司 | Method for network access and system |
CN108419236A (en) * | 2018-02-07 | 2018-08-17 | 珠海格力电器股份有限公司 | A kind of method for connecting network and equipment |
CN108551692A (en) * | 2018-01-31 | 2018-09-18 | 惠州高盛达科技有限公司 | Primary and secondary routing intelligence matching method and its system |
CN109474976A (en) * | 2018-12-18 | 2019-03-15 | 上海连尚网络科技有限公司 | A kind of wireless network access method and equipment |
CN109673059A (en) * | 2019-02-15 | 2019-04-23 | 太仓市同维电子有限公司 | WiFi quick connecting method based on intelligent gateway dynamic distribution hot spot |
CN109819498A (en) * | 2019-01-23 | 2019-05-28 | 欧普照明股份有限公司 | A kind of smart machine, the automatic distribution method and system of smart machine |
CN109922486A (en) * | 2019-02-26 | 2019-06-21 | 广州勒夫蔓德电器有限公司 | A kind of smart machine distribution method and device |
CN110890982A (en) * | 2019-11-22 | 2020-03-17 | 青岛海尔科技有限公司 | Method for network distribution, access equipment and Internet of things equipment |
CN111083766A (en) * | 2019-12-31 | 2020-04-28 | 南京创维信息技术研究院有限公司 | Automatic distribution network binding method based on smart screen |
CN111182265A (en) * | 2019-12-31 | 2020-05-19 | 浙江大华技术股份有限公司 | Video monitoring equipment cascading method and device |
CN111988829A (en) * | 2020-08-19 | 2020-11-24 | 上海连尚网络科技有限公司 | Access method and device of wireless local area network |
CN112291787A (en) * | 2019-07-24 | 2021-01-29 | 杭州萤石软件有限公司 | Network connection method, device and system |
CN113708951A (en) * | 2020-09-18 | 2021-11-26 | 天翼智慧家庭科技有限公司 | Method and system for realizing automatic network distribution of intelligent terminal equipment |
CN113765903A (en) * | 2021-08-26 | 2021-12-07 | 科大讯飞股份有限公司 | Screen projection method and related device, electronic equipment and storage medium |
CN114270781A (en) * | 2019-10-18 | 2022-04-01 | 深圳市欢太科技有限公司 | Device access method, device, system control method, electronic device and storage medium |
WO2022160956A1 (en) * | 2021-01-26 | 2022-08-04 | 华为技术有限公司 | Wi-fi-based connection method, wireless access device, and electronic device |
CN115150217A (en) * | 2022-06-30 | 2022-10-04 | 青岛海信移动通信技术股份有限公司 | Network distribution method, device and equipment for intelligent household equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506397A (en) * | 2014-12-09 | 2015-04-08 | 深圳市共进电子股份有限公司 | Method and system for intelligent equipment to be accessed into local area network |
US20150139025A1 (en) * | 2013-11-15 | 2015-05-21 | Universal Global Scientific Industrial Co., Ltd. | Wireless Network Configuration Method and System for Smart Appliance |
CN105119939A (en) * | 2015-09-14 | 2015-12-02 | 北京奇虎科技有限公司 | Access method and device, providing method, device and system of wireless network |
CN105722087A (en) * | 2016-04-06 | 2016-06-29 | 微景天下(北京)科技有限公司 | Wireless network access system and wireless network access method |
CN105792208A (en) * | 2016-02-29 | 2016-07-20 | 华为技术有限公司 | Method for controlling device access, related device and system |
-
2017
- 2017-07-28 CN CN201710632639.5A patent/CN107371163A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150139025A1 (en) * | 2013-11-15 | 2015-05-21 | Universal Global Scientific Industrial Co., Ltd. | Wireless Network Configuration Method and System for Smart Appliance |
CN104506397A (en) * | 2014-12-09 | 2015-04-08 | 深圳市共进电子股份有限公司 | Method and system for intelligent equipment to be accessed into local area network |
CN105119939A (en) * | 2015-09-14 | 2015-12-02 | 北京奇虎科技有限公司 | Access method and device, providing method, device and system of wireless network |
CN105792208A (en) * | 2016-02-29 | 2016-07-20 | 华为技术有限公司 | Method for controlling device access, related device and system |
CN105722087A (en) * | 2016-04-06 | 2016-06-29 | 微景天下(北京)科技有限公司 | Wireless network access system and wireless network access method |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040355B (en) * | 2017-12-08 | 2020-09-25 | 恒大智慧科技有限公司 | Network access method and system |
CN108040355A (en) * | 2017-12-08 | 2018-05-15 | 深圳市恒腾智能科技有限公司 | Method for network access and system |
CN108551692A (en) * | 2018-01-31 | 2018-09-18 | 惠州高盛达科技有限公司 | Primary and secondary routing intelligence matching method and its system |
CN108419236A (en) * | 2018-02-07 | 2018-08-17 | 珠海格力电器股份有限公司 | A kind of method for connecting network and equipment |
CN108419236B (en) * | 2018-02-07 | 2021-06-04 | 珠海格力电器股份有限公司 | Network connection method and equipment |
CN109474976A (en) * | 2018-12-18 | 2019-03-15 | 上海连尚网络科技有限公司 | A kind of wireless network access method and equipment |
CN109819498A (en) * | 2019-01-23 | 2019-05-28 | 欧普照明股份有限公司 | A kind of smart machine, the automatic distribution method and system of smart machine |
CN109673059A (en) * | 2019-02-15 | 2019-04-23 | 太仓市同维电子有限公司 | WiFi quick connecting method based on intelligent gateway dynamic distribution hot spot |
CN109922486A (en) * | 2019-02-26 | 2019-06-21 | 广州勒夫蔓德电器有限公司 | A kind of smart machine distribution method and device |
CN112291787A (en) * | 2019-07-24 | 2021-01-29 | 杭州萤石软件有限公司 | Network connection method, device and system |
CN112291787B (en) * | 2019-07-24 | 2023-03-24 | 杭州萤石软件有限公司 | Network connection method, device and system |
CN114270781A (en) * | 2019-10-18 | 2022-04-01 | 深圳市欢太科技有限公司 | Device access method, device, system control method, electronic device and storage medium |
CN110890982A (en) * | 2019-11-22 | 2020-03-17 | 青岛海尔科技有限公司 | Method for network distribution, access equipment and Internet of things equipment |
CN111182265A (en) * | 2019-12-31 | 2020-05-19 | 浙江大华技术股份有限公司 | Video monitoring equipment cascading method and device |
CN111083766A (en) * | 2019-12-31 | 2020-04-28 | 南京创维信息技术研究院有限公司 | Automatic distribution network binding method based on smart screen |
CN111988829A (en) * | 2020-08-19 | 2020-11-24 | 上海连尚网络科技有限公司 | Access method and device of wireless local area network |
CN111988829B (en) * | 2020-08-19 | 2023-02-14 | 上海连尚网络科技有限公司 | Access method and device of wireless local area network |
CN113708951A (en) * | 2020-09-18 | 2021-11-26 | 天翼智慧家庭科技有限公司 | Method and system for realizing automatic network distribution of intelligent terminal equipment |
WO2022160956A1 (en) * | 2021-01-26 | 2022-08-04 | 华为技术有限公司 | Wi-fi-based connection method, wireless access device, and electronic device |
CN113765903A (en) * | 2021-08-26 | 2021-12-07 | 科大讯飞股份有限公司 | Screen projection method and related device, electronic equipment and storage medium |
CN115150217A (en) * | 2022-06-30 | 2022-10-04 | 青岛海信移动通信技术股份有限公司 | Network distribution method, device and equipment for intelligent household equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107371163A (en) | A kind of method and apparatus for controlling access wireless network | |
US20210329435A1 (en) | Method and device for selective communication service in communication system | |
KR101800659B1 (en) | Method and apparatus for setting terminal in mobile telecommunication system | |
CN102577459B (en) | The method and apparatus of safe context and supervisory communications is created in mobile communications network | |
CN103430485B (en) | The collocation method of Wireless LAN devices, relevant device and system | |
EP2355585B1 (en) | Connecting wireless communications, wireless communications terminal and wireless communications system | |
CN110832823B (en) | Cloud-based WIFI network setup for multiple access points | |
EP2230876B1 (en) | Method and apparatus for setting up network for IP communication in a mobile terminal | |
CN106921963A (en) | A kind of smart machine accesses the method and device of WLAN | |
US20090119760A1 (en) | Method for reconfiguring security mechanism of a wireless network and the mobile node and network node thereof | |
CN104010309A (en) | Method for establishing connection between access point and terminal and terminal | |
CN101164315A (en) | System and method for utilizing a wireless communication protocol in a communications network | |
US10425812B2 (en) | Method and apparatus for establishment of private communication between devices | |
CN105472699A (en) | Access method and system of smart home device | |
RU2015153111A (en) | COMMUNICATION CONTROL DEVICE, AUTHENTICATION DEVICE, CENTRAL CONTROL DEVICE AND COMMUNICATION SYSTEM | |
CN101572885A (en) | Method and apparatus for setting wireless local area network by using button | |
CN106105131B (en) | Electronic device, method, apparatus, and computer medium pairing a plurality of devices | |
CN107852760A (en) | Communication equipment, communication means and program | |
US10089449B2 (en) | System, method, and device for controlled access to a network | |
CN104584609A (en) | Smart card initial personnalization with local generation of keys | |
CN108293055A (en) | Method, apparatus and system for authenticating to mobile network and for by the server of device authentication to mobile network | |
CN106465461B (en) | Method and apparatus for selective communication service in a communication system | |
CN105959947A (en) | Method for safely having access to network and system thereof | |
CN113543150A (en) | Network distribution method and device of intelligent device, electronic device and computer readable medium | |
CN108307374A (en) | Wireless audio devices are arranged |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171121 |
|
RJ01 | Rejection of invention patent application after publication |