CN109246797A - A kind of method, apparatus, system and equipment connecting wireless network - Google Patents

A kind of method, apparatus, system and equipment connecting wireless network Download PDF

Info

Publication number
CN109246797A
CN109246797A CN201710424430.XA CN201710424430A CN109246797A CN 109246797 A CN109246797 A CN 109246797A CN 201710424430 A CN201710424430 A CN 201710424430A CN 109246797 A CN109246797 A CN 109246797A
Authority
CN
China
Prior art keywords
distribution
information
equipment
accessed
management frame
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
CN201710424430.XA
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.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710424430.XA priority Critical patent/CN109246797A/en
Publication of CN109246797A publication Critical patent/CN109246797A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

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

Abstract

The embodiment of the present application provides a kind of method, apparatus, system and equipment for connecting wireless network, and the method includes: the management frame that device broadcasts to be accessed carry distribution request;Access device requests to determine service set and network cipher according to the distribution, generates distribution information using the service set and network cipher;The distribution information is added in management frame by access device, and broadcast carries the management frame of distribution information;Equipment to be accessed connects wireless network corresponding to the service set according to the network cipher from the distribution information acquisition services set identifier and network cipher by parsing the management frame for carrying distribution information.Without human intervention can automatic networking, network very convenient and efficiency it is higher.

Description

A kind of method, apparatus, system and equipment connecting wireless network
Technical field
This application involves field of computer technology, more particularly to a kind of method, a kind of connection nothing for connecting wireless network The device of gauze network, a kind of system, a kind of equipment and a kind of storage medium for connecting wireless network.
Background technique
With the development of radio network technique, more and more equipment can enter network by connecting WIFI, execute each Kind network operation.WIFI (WIreless-Fidelity, Wireless Fidelity) is that a kind of permission electronic equipment is connected to a wireless office The technology of domain net (WLAN).
Equipment usually first scans current wireless network when connecting WIFI, shows that a network list to user, is used Family selects a wireless network to be attached from network list, and usual wireless network is all provided with password, therefore also needs User is wanted to input password to access the wireless network.
But it scans wireless network and receiving and is manually entered the mode of password and connect that network operation is more complicated, and network connects Enter relatively slowly, influences the normal operating of user.
Summary of the invention
The technical problem to be solved in the embodiments of the present application is that a kind of method for connecting wireless network is provided, to improve equipment Networking efficiency.
Correspondingly, the embodiment of the present application also provides a kind of devices for connecting wireless network, a kind of connection wireless network System, a kind of equipment and a kind of storage medium, to guarantee the implementation and application of the above method.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of method for connecting wireless network, comprising: to be accessed Device broadcasts carry the management frame of distribution request;Access device requests to determine that service set and network are close according to the distribution Code generates distribution information using the service set and network cipher;The distribution information is added to pipe by access device It manages in frame, broadcast carries the management frame of distribution information;Equipment to be accessed, which passes through, parses the management frame for carrying distribution information, from The distribution information acquisition services set identifier and network cipher connect corresponding to the service set according to the network cipher Wireless network.
The embodiment of the present application also discloses a kind of method for connecting wireless network, is applied to equipment to be accessed, the side Method includes: the management frame that broadcast carries distribution request;Receive carry distribution information management frame, wherein the distribution information according to It requests to determine according to distribution;By parsing the management frame for carrying distribution information, from the distribution information acquisition services set identifier And network cipher;Wireless network corresponding to the service set is connected according to the network cipher.
The embodiment of the present application also discloses a kind of method for connecting wireless network, is applied to access device, the side Method includes: to receive the management frame for carrying distribution request;It requests to determine service set and network cipher according to the distribution, use The service set and network cipher generate distribution information;The distribution information is added in management frame, broadcast, which carries, matches The management frame of net information, based on the corresponding wireless network of network cipher connection service set.
The embodiment of the present application also discloses a kind of system for connecting wireless network, comprising: equipment to be accessed is taken for broadcasting Management frame with distribution request;And the management frame of distribution information is carried by parsing, from the distribution information acquisition services collection Mark and network cipher, connect wireless network corresponding to the service set according to the network cipher;Access device, For requesting to determine service set and network cipher according to the distribution, generated using the service set and network cipher Distribution information;The distribution information is added in management frame, broadcast carries the management frame of distribution information.
The embodiment of the present application also discloses a kind of device for connecting wireless network, is applied to equipment to be accessed, the dress Setting includes: request broadcast module, for broadcasting the management frame for carrying distribution request;Information receiving module is matched for receiving to carry The management frame of net information, wherein the distribution information is determined according to distribution request;Information analysis module, for passing through parsing institute The management frame for carrying distribution information is stated, from the distribution information acquisition services set identifier and network cipher;Network access module is used In connecting wireless network corresponding to the service set according to the network cipher.
The embodiment of the present application also discloses a kind of device for connecting wireless network, is applied to access device, the dress Setting includes: request receiving module, for receiving the management frame for carrying distribution request;Information generating module, for matching according to described in Net requests to determine service set and network cipher, generates distribution information using the service set and network cipher;By institute Distribution information is stated to be added in management frame;Information sending module, for broadcasting the management frame for carrying distribution information, based on described Network cipher connects the corresponding wireless network of service set.
The embodiment of the present application also discloses a kind of equipment, comprising: one or more processors;Be stored thereon with instruction One or more machine readable medias, when being executed by one or more of processors, so that the equipment executes such as this Shen It please method described in the corresponding one or more of embodiment equipment to be accessed.
The embodiment of the present application also discloses one or more computer-readable mediums, is stored thereon with instruction, when by one Or multiple processors are when executing so that equipment execute as equipment to be accessed in the embodiment of the present application it is corresponding it is one or more as described in Method.
The embodiment of the present application also discloses a kind of equipment characterized by comprising one or more processors;Thereon One or more machine readable medias of instruction are stored with, when being executed by one or more of processors, so that described set The standby method executed as described in the corresponding one or more of access device in the embodiment of the present application.
The embodiment of the present application also discloses one or more computer-readable mediums, is stored thereon with instruction, when by one Or multiple processors are when executing so that equipment execute as in the embodiment of the present application access device it is corresponding it is one or more as described in Method.
Compared with prior art, the embodiment of the present application includes the following advantages:
In the embodiment of the present application, equipment to be accessed by broadcast distribution request can by the auxiliary of access device, from SSID and network cipher are obtained in the management frame of the carrying distribution information of access device broadcast, accesses the net of SSID mark Network, without human intervention can automatic networking, network very convenient and efficiency it is higher.
Detailed description of the invention
Fig. 1 is a kind of network connection schematic diagram of the embodiment of the present application;
Fig. 2A, Fig. 2 B are a kind of step flow charts of the embodiment of the method for connection wireless network of the application;
Fig. 3 is the step process of equipment side to be accessed in the embodiment of the method for another connection wireless network of the application Figure;
Fig. 4 is the step process of access device side in the embodiment of the method for another connection wireless network of the application Figure;
Fig. 5 is the anti-step flow chart for mismatching verification provided by the embodiments of the present application;
Fig. 6 is a kind of networking interaction schematic diagram of scene provided by the embodiments of the present application;
Fig. 7 is a kind of step flow chart of the anti-method for connecting network mismatched in the embodiment of the present application;
Fig. 8 is the step flow chart of another anti-method for connecting network mismatched in the embodiment of the present application;
Fig. 9 is the networking interaction schematic diagram of another scene provided by the embodiments of the present application;
Figure 10 A, Figure 10 B are a kind of structural block diagrams for the Installation practice for connecting wireless network of the application;
Figure 11 A, Figure 11 B are the structural block diagrams of the Installation practice of the application another kind connection wireless network;
Figure 12 is the structural block diagram of the system embodiment of the application another kind connection wireless network;
Figure 13 is the hardware structural diagram for the equipment that one embodiment of the application provides;
Figure 14 is the hardware structural diagram for the equipment that another embodiment of the application provides;
Figure 15 A, Figure 15 B operating system schematic diagram provided by the embodiments of the present application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
In the embodiment of the present application, terminal device refers to the equipment that can connect network (internet or local area network), such as wraps Interchanger, router, server, mobile terminal, personal computer, internet of things equipment etc. are included, these equipment also can have more The equipment of media function, these equipment support the function of audio, video, data etc..The terminal device is also in the present embodiment Can have touch screen, including such as smart phone, tablet computer energy, intelligent wearable device, be also possible to the objects such as smart television, refrigerator Networked devices.
The wireless network scanned is selected, connects the wireless network mode by inputting password, operation is comparatively laborious, And efficiency is lower.The present embodiment provides a kind of methods for connecting wireless network, can be by the way that access device is accused in wireless network Know device network password to be accessed, so that equipment to be accessed be assisted to network, it is not necessary that password is manually entered, efficiency is higher.Wherein, will The equipment for having accessed wireless network is known as access device, and the equipment for not accessing wireless network is known as equipment to be accessed.
A kind of network connection schematic diagram as shown in Figure 1, access device 10 has connected wireless network, equipment 20 to be accessed It is not connected with wireless network, passes through access device 10 in this example and equipment 20 to be accessed is assisted to connect the wireless network.The application The relevant information of distribution is carried using a kind of management frame in embodiment, the format of the management frame can be set according to demand, wherein Management frame includes an active position, and for the active position for carrying self-defining data, which may include various match Net information such as distribution request, network cipher etc., by broadcasting, the management frame can make equipment to be accessed and access device is handed over Mutually, and the networking of equipment to be accessed is realized.Wherein, when broadcast (broadcast) refers to that package transmits in a computer network, Destination address is a kind of transmission mode of all devices in network.
Equipment to be accessed generates distribution request, and distribution request is added in management frame, the management frame is broadcasted.It has accessed and has set The standby management frame that can receive broadcast obtains distribution request from the active position of the management frame, true according to distribution request Surely after distribution being assisted for the equipment to be accessed, can determination to connect service set (the Service Set of wireless network Identifier, SSID) and network cipher, distribution information is generated using the SSID and network cipher.Then distribution information is added It is added to the active position of management frame, access device broadcast carries the management frame of distribution information.Equipment to be accessed receives carrying After the management frame of distribution information, which can be parsed, distribution information is obtained from the active position of management frame, then SSID and network cipher are obtained from distribution information.Then the wireless network for needing to connect is determined according to SSID, use is corresponding Network cipher connects the wireless network.
To which equipment to be accessed can be obtained SSID and network is close by broadcast distribution request by the auxiliary of access device Code, access the SSID mark network, without human intervention can automatic networking, network very convenient and efficiency it is higher.
Referring to Fig. 2A, the step of equipment side to be accessed in a kind of embodiment of the method for connection wireless network of the application is shown Rapid flow chart, can specifically include following steps:
Step 202, broadcast carries the management frame of distribution request.
Step 204, the management frame for carrying distribution information is received, wherein the distribution information is determined according to distribution request.
Step 206, by parsing the management frame for carrying distribution information, from the distribution information acquisition services set identifier And network cipher.
Step 208, according to the corresponding wireless network of network cipher connection service set.
Referring to Fig. 2 B, the step of access device side is shown in a kind of embodiment of the method for connection wireless network of the application Rapid flow chart, can specifically include following steps:
Step 212, the management frame for carrying distribution request is received.
Step 214, request to determine service set and network cipher according to the distribution, using the service set and Network cipher generates distribution information.
Step 216, the distribution information is added in management frame, broadcast carries the management frame of distribution information, to be based on The network cipher connects the corresponding wireless network of service set.
Equipment to be accessed generates distribution request, and distribution request is added in management frame, the management frame is broadcasted.It has accessed and has set The standby management frame that can receive broadcast obtains distribution request from the management frame, can be for should be to according to distribution request determination Access device assist distribution after, can determination to connect wireless network service set (Service Set Identifier, SSID) and network cipher, distribution information is generated using the SSID and network cipher.Then distribution information is added to management frame In, access device broadcast carries the management frame of distribution information.After equipment to be accessed receives the management frame for carrying distribution information, The management frame can be parsed, distribution information is obtained from management frame, then acquisition SSID and network are close from distribution information Code.Then the wireless network for needing to connect is determined according to SSID, which is connected using corresponding network cipher.
To which equipment to be accessed can be broadcasted by the auxiliary of access device from access device by broadcast distribution request Carrying distribution information management frame in obtain SSID and network cipher, access the network of SSID mark, without human intervention Can automatic networking, network very convenient and efficiency it is higher.
In the embodiment of the present application, the various information of distribution can be carried by effective management frame, so that equipment parses management frame Information needed for obtaining executes automatic distribution process, i.e., in the case where an equipment has networked, it can be achieved that after new equipment powers on Full-automatic networking process, and can be applied in several scenes, user such as, which is not needed, one is equipment carries out confirmation realization automatically It networks, for another example one is access devices to have changed new local (such as having moved on to new house), leads to equipment suspension, if in new house Existing log equipment, may be implemented automatic networking after moving past the device power come.
Wherein, access device can enter configuration (Station) state, which can provide for characterizing Distribution service is assisted, therefore access device can receive that the Beacon (beacon) of this channel, Probe Request (ask by data Ask), Probe Response (data response) etc. include management information management frame.Access device is receiving these management frames Afterwards, management frame is supplied to the application layer process of access device.Information in the application layer extract management frame of access device, Such as customized user network data (user IE), the corresponding instruction parsed in user IE is handled.
Equipment to be accessed, which can enter ap mode or other, can receive and dispatch Beacon, Probe Request, Probe The corresponding mode of the management frame of the management informations such as Response, this kind of mode user characterization execute automatic distribution process.It is to be accessed Equipment adds information by application layer in management frame, and distribution request is added such as in user IE, then broadcasts the management frame. Hereafter, the information such as SSID and the network cipher for the WIFI that access device has been sent by management frame be can receive, realization is matched automatically Net.
Wherein, a kind of example of user IE data format is as shown in table 1:
Title Type Explanation
element id uint8_t 221
length uint8_t IE length
oui uint8_t[3] It is fixed as D896E0
oui_type uint8_t It is fixed as 0xAA
version uint8_t:4 URadar version
dev_type uint8_t:4 Device type, 0x1:YoC, 0x2:alink
id type Uint8_t:3 Indicate id type, 0x1:ID2,0x2:UUID
id len Uint8_t:5 Indicate id length
id uint8_t[0] ID2 or cuuid, (id len) a byte
Payload uint8_t[0] Self-defining data
Table 1
Wherein, Payload is the active position in user IE, for carrying self-defining data, such as carrying distribution request, Distribution information and distribution result etc..
Wherein, a kind of format sample of distribution request is as shown in table 2:
Table 2
Distribution request can be added in the Payload of management frame user IE by application layer by equipment to be accessed, and wide Broadcast the management frame.If having bound networking before equipment, but network can not be connected and remain that distribution, then it is close to characterize possible WIFI Code has changed or has replaced position, then to there is access device in network, then the pipe of distribution request can be carried by sending Managing frame request, access device assists automatic distribution.
Wherein, a kind of format sample of distribution information is as shown in table 3:
Title Type Explanation
version uint8_t Payload version (0x10)
payload_type uint8_t 0x02
encrypt_mode uint8_t Encryption mode: 0x01:ID2 encryption
ssid_len uint8_t Ssid length
ssid uint8_t[0] The value of ssid, ssid_len byte
pwd_len uint8_t Pwd length
pwd uint8_t[0] The value of pwd, pwd_len byte
id_len uint8_t ID length
id uint8_t[0] Target distribution net equipment ID, wildcard ID:0xFFFFFF
Table 3
Wherein, pwd is encrypted data, and encryption mode is defined by encrypt_mode (encryption mode).
Wherein, a kind of format sample of distribution result is as shown in table 4:
Title Type Explanation
version uint8_t Payload version (0x10)
payload_type uint8_t 0x03
code uint8_t Return code
ssid_len uint8_t Ssid length
ssid uint8_t[0] The value of ssid, ssid_len byte
msg_len uint8_t Msg length
msg uint8_t[0] The value of msg, msg_len byte
Table 4
It is added at Payload to which distribution request, distribution information and distribution result etc. will be carried, so that management frame is taken Various information with distribution assist non-access device to complete distribution using access device.
Referring to Fig. 3, equipment side to be accessed in the embodiment of the method for another connection wireless network of the application is shown Flow chart of steps can specifically include following steps:
Step 302, distribution request is added to management frame by the distribution request that corresponding format is determined according to facility information Active position in.
Step 304, broadcast carries the management frame of distribution request.
Equipment to be accessed determines the distribution request of corresponding format according to the facility information of itself, wherein the lattice of distribution request Formula is determined according to the format of management frame, and format then is arranged according to the definition of Payload for example, by using user IE.In distribution request Value (such as table 2) including networking model, binding state, flag bit, device name and matching unit information.If to the management frame Encrypted transmission is carried out, encryption related data can also be carried, if ID2 is a kind of cipher mode in table 2, then can carry ID2's Distribution is requested encrypted transmission, i.e., encrypted according to predetermined encryption mode to management frame by signature length and signature value.Wherein, Binding state for identify equipment whether with network bound.Then distribution request is added in the active position of management frame, Such as it is added at the Payload of user IE.Then the management frame that broadcast carries distribution request in the channel (can be described as the first pipe Manage frame).
Step 306, the management frame for carrying distribution information is received.
Step 308, by parsing the management frame for carrying distribution information, services set mark is obtained from the distribution information Knowledge and network cipher.
Access device can be matched after receiving the management frame for carrying distribution request using SSID and network cipher generation Distribution information is added to broadcast in management frame (can be described as the second management frame) by net information.Equipment to be accessed receives the management After frame, application layer can be sent management frames to, the management frame is parsed by application layer, obtains distribution information.Wherein, if Distribution information is encryption data in management frame, then can preset manner of decryption and management frame is decrypted, and is such as carried out according to above-mentioned ID2 Decryption.SSID and network cipher are obtained from the distribution information after decryption.
Step 310, according to the service set, the wireless network for needing to connect is determined.
Step 312, authentication is carried out using the network cipher, the wireless network is accessed after authentication passes through.
In equipment networking to be accessed, it can determine that the wireless network for needing to connect, i.e. SSID are identified according to the SSID Wireless network, then upload the network cipher give wireless network carry out authentication, verify the network cipher in wireless network Correctly, after determining that authentication passes through, the equipment is allowed to access wireless network, thus equipment networking success.Certain network cipher Mistake can not then access the wireless network.
Step 314, the distribution to the wireless network is generated as a result, the distribution result is added to the effective of management frame In position.
Step 316, broadcast carries the management frame of distribution result.
Corresponding distribution can be generated as a result, distribution result is then added to pipe after success or failure of networking in equipment In the active position for managing frame, such as it is added at the Payload of user IE.Then the management frame that broadcast carries distribution result (can claim For third management frame).
In the present embodiment, in order to guarantee that equipment has access to network, the distribution mode of equipment is included at least: beacon patterns And/or promiscuous mode.Above-mentioned automatic distribution mode is beacon patterns (Beacon mode), and promiscuous mode is a kind of human assistance The mode of distribution.It can star above-mentioned one or more distribution modes in equipment, it can be according to this after using a kind of distribution mode The process of distribution mode accesses network, when equipment is in the distribution mode of beacon patterns and promiscuous mode compatibility, in combination with two Kind distribution mode carries out the networking process of equipment, can determine that is used matches according to the corresponding mode type of received distribution information Net mode executes distribution step using the distribution mode that uses, such as beacon patterns and are mixed by management frame transmission Mode is transmitted by non-management frame, then can determine that mode type, i.e., corresponding distribution mould by format seven of data frame Formula, for another example shown in the distribution information of beacon patterns table 3 as above, data type payload_type is 0x02, and promiscuous mode Type is other data etc., and so as to determine, which kind of mode is received distribution information belong to.I.e. determine beacon patterns and The distribution mode of distribution information is first received in promiscuous mode, and then distribution information is parsed and made using the distribution mode Equipment to be accessed accesses wireless network.In addition, in the processing that above two distribution mode combines, wherein use beacon patterns Under, when not receiving the management frame for carrying distribution information more than preset time, passes through promiscuous mode and execute distribution step.Wherein, Equipment to be accessed may be at promiscuous mode, when such as needing through Beacon mode distribution, be notified by promiscuous mode to be accessed Equipment enters Beacon mode, assists equipment to be accessed to carry out distribution using access device.If equipment to be accessed is more than Preset time (such as 5 minutes) does not receive distribution information, then reenters promiscuous mode.Terminal device can detecte above-mentioned Beacon mode matches network process automatically, be more than this set time after confiscate equipment distribution success message, then also indicate that Access device automatically into arrive promiscuous mode.
Referring to Fig. 4, access device side is shown in the embodiment of the method for another connection wireless network of the application Flow chart of steps can specifically include following steps:
Step 402, the management frame for carrying distribution request is received.
Step 404, the management frame is parsed, distribution request is obtained from active position.
Access device receives the management frame for carrying distribution request, then can parse to the management frame, from having It imitates and obtains distribution request in position.Facility information is obtained from distribution request again.It can pacify if distribution request has encrypted It fills corresponding encryption and decryption mode management frame is decrypted, obtains facility information.
Step 406, access device is treated according to the facility information to be verified.
Equipment to be accessed can treat access device according to facility information and be verified, wherein can carry out preventing mismatching verification And/or authenticity verification.It is anti-to mismatch verification for preventing the equipment that receive signal from being mismatched network automatically, it can verify Whether allow to request corresponding equipment distribution to be accessed for the distribution;Authenticity verification is for verifying the true of equipment to be accessed Property, can verify whether the equipment to be accessed is real equipment.
Wherein, as shown in figure 5, preventing that mismatching verification can be used following steps:
Step 502, verification information is received.
The access device that equipment can be received signal in order to prevent mismatches network automatically, therefore can add and actively recognize Equipment flowsheet is led, that is, informs the corresponding verification information of access device, is verified with treating access device.Wherein, it can receive The verification information of broadcast, or, receiving the verification information that server issues.Such as it applies in the environment of internet of things such as household, user Verification information can be obtained by the modes such as inputting or scanning using terminal device, the verification information for treat access device into Row verifying, to prevent equipment misconnection from entering network, verification information may include device id, device model, MAC Address etc., such as by sweeping It retouches equipment and corresponds to the mode of two dimensional code and obtain, then device id, device model etc. are tested by Web broadcast (or multicast) mode Card information send, enable access device obtain verification information.Further, it is also possible to obtain to be accessed set by server Verification information is issued in access device by standby verification information.Then the distribution is requested according to the verification information It carries out preventing mismatching verification.
In the embodiment of the present application, server is Internet of Things server, the Internet of Things server be used for and internet of things equipment into Row interaction, and necessary service function is provided, such as storage, verification of equipment of facility information etc..
Step 504, facility information is obtained from distribution request, the verification information and the facility information is carried out Compare.
Wherein, the verification information includes: at least one of device identification, device model, MAC Address.It has accessed and has set It is standby when treating access device according to verification information and being verified, accurate verification or fuzzy verification can be carried out, wherein accurate verification It can be and be compared by device id (i.e. equipment unique identification);Fuzzy verification can be using device model, MAC Address etc. It is compared, wherein device model may include equipment Serial Number.
It is whether consistent with the information of corresponding types in facility information to compare equipment verification information, in equipment verification information Device id in device id and facility information is compared.If the facility information is identical with verification information, step is executed 506;If the facility information and verification information be not identical, step 508 is executed.
Step 506, it will prevent that mismatching check results is sent to server, to establish equipment to be accessed and the pass of access device Connection relationship.
If the facility information is identical with verification information, confirmation is anti-to be mismatched verification and passes through, can will verification pass through it is anti-error It is sent to server with check results, to establish equipment to be accessed and the incidence relation of access device in the server.It informs Access device can assist the equipment to be accessed to network for this.
Step 508, refuse the distribution request.
If the facility information and verification information be not identical, confirmation prevents that mismatching verification does not pass through, refuses the distribution request, Inform that access device does not assist the equipment to be accessed to network for this.
Wherein, authenticity verification includes: that the facility information is uploaded to server, to verify according to the facility information Whether the equipment to be accessed is real equipment.The facility information that access device can will acquire is uploaded to server, service Device can treat access device according to the facility information and carry out authenticity verification, that is, verify whether the equipment to be accessed is really to set It is standby, wherein server can be compared using the facility information with the facility information such as equipment verification information prestored, and confirmation is No is real equipment.Check results are returned into access device, access device can be with if verification is by for real equipment The equipment to be accessed is assisted to network, such as verification is not by being that access device does not assist the equipment to be accessed to enter to real equipment Net.
Step 408, the facility information according to distribution request determines service set, obtains the service set pair The network cipher answered.
Step 410, distribution information is generated using the service set and network cipher.
Step 412, the distribution information is added in the active position of management frame, broadcast carries the management of distribution information Frame, based on the corresponding wireless network of network cipher connection service set.
According to the facility information of distribution request, it can determine the wireless network that the facility information can connect, may be used also To combine equipment in network connection, network state etc. determines wireless network, then obtains the SSID of the wireless network, obtains The SSID corresponds to the network cipher of wireless network.Then distribution information is generated using SSID and network cipher, by distribution information It is added in the active position of management frame.Then broadcast carries the management frame of distribution information, and equipment to be accessed is based on Network cipher connection SSID corresponds to wireless network.Access device can with receiving device feed back management frame and therefrom obtain Distribution is as a result, whether distribution is successful to know associate device.
Based on the above embodiment it is found that above-mentioned can be applied in various scenes with net mode automatically.
One of scene is as shown in Figure 6:
6.02, access device is in the station mode in Beacon mode, and equipment to be accessed is in Beacon mode Or promiscuous mode.
6.04, equipment to be accessed generates the management frame for carrying distribution request, sends the management frame of carrying distribution request.
6.06, access device obtains distribution request from management frame, and the facility information in distribution request is sent It is verified to service server.
6.08, service server is sent to authentication server according to apparatus information acquiring signed data and is verified.
6.10, whether service server receives the verification result that authentication server returns, be confirmed whether to be verified, i.e., transport Row ancillary equipment distribution.
6.12, the verification result that access device is returned according to service server.
6.14, access device generates the management frame for carrying distribution information after allowing to assist distribution, sends and carries distribution The management frame of information gives equipment to be accessed.
6.16, equipment to be accessed carries out distribution according to distribution information.
Wherein, the information that each management frame carries is that can verify to sign by ID2 carrying out verifying as shown in above-mentioned table 1-4 Encrypted data can also can also be passed through service server and verifying by other encryption and decryption modes by the information such as name The auxiliary of server is decrypted, to be further ensured that the safety of data.In addition, access device can send carrying and match The management frame of net result, and by service server known in distribution result, service server can be handed down to each network equipment (such as road By device, interchanger etc.) to inform that new equipment networks.
Referring to Fig. 7, a kind of step flow chart of the anti-method for connecting network mismatched in the embodiment of the present application is shown, specifically It may include steps of:
Step 702, after having sent verification information, device broadcasts to be accessed carry the management frame of distribution request.
Step 704, access device verifies distribution request according to the verification information.
Step 706, after verification passes through, access device is requested according to the distribution, is executed as the equipment to be accessed The operation of distribution.
The access device that equipment can be received signal in order to prevent mismatches network automatically, is configured with master in the present embodiment The dynamic process for claiming equipment, that is, inform the corresponding verification information of access device, verified with treating access device.User can The verification information for needing to access the equipment of network is obtained using terminal devices such as mobile phones, then access device can obtain verifying letter Breath, to assist equipment distribution to be accessed.Device broadcasts to be accessed carry the management frame of distribution request, and access device reception is taken Management frame with distribution request, then can parse the management frame, and distribution request is obtained from active position.Then Distribution request is verified using verification information, i.e., it is anti-to mismatch verification.After verification passes through, confirm that the equipment to be accessed is energy The equipment that enough certifications network, access device can be requested according to the distribution, execute the operation for the equipment distribution to be accessed, It requests to determine service set and network cipher according to the distribution, be matched using the service set and network cipher generation The distribution information is added in management frame by net information, broadcast carry distribution information management frame so that equipment to be accessed according to The corresponding wireless network of the service set is connected according to the network cipher.Wherein, access device assists the equipment to be accessed The operation of distribution is referring to above-described embodiment, and details are not described herein again.
Referring to Fig. 8, the step flow chart of another anti-method for connecting network mismatched in the embodiment of the present application, tool are shown Body may include steps of:
Step 802, user equipment obtains following at least one verification information, equipment mark by way of inputting or scanning Knowledge, device model, MAC Address.
Step 804, the verification information is sent to server or access device by user equipment.
Such as apply in the environment of internet of things such as household, user can pass through input or scanning using user equipmenies such as mobile phones Etc. modes obtain verification information, which may include at least one of following: device id, device model, MAC Address etc..Its In, scanning can scan the modes such as bar code, two dimensional code and obtain verification information.User equipment can pass through Web broadcast (or multicast) mode Verification information is sent to access device.Verification information is also sent to server by user equipment, and server is to verification information It carries out the processing such as storing, and verification information is handed down to the corresponding access device of the network.
Step 806, device broadcasts to be accessed carry the management frame of distribution request.
Step 808, access device according to the verification information, verification whether allow to request for the distribution it is corresponding to Access device distribution.
Access device receives the management frame for carrying distribution request, then can parse to the management frame, from having It imitates and obtains distribution request in position.Facility information is obtained from distribution request again.It can pacify if distribution request has encrypted It fills corresponding encryption and decryption mode management frame is decrypted, obtains facility information.Then match according to the verification information to described Net request carries out preventing mismatching verification.
Facility information is obtained from distribution request, the verification information and the facility information are compared;If The facility information is identical with verification information, and confirmation verification passes through;If the facility information and verification information be not identical, school is confirmed It tests and does not pass through, refuse the distribution request.Compare corresponding types in equipment verification information and facility information information whether one It causes, such as the device id in the device id and facility information in equipment verification information is compared.If the facility information and testing It is identical to demonstrate,prove information, executes step 810;If the facility information and verification information be not identical, step 812 is executed.
Wherein, when access device is treated access device and is verified according to verification information, can carry out accurate verification or Fuzzy verification.Wherein, accurate verification can be is executed by device id (i.e. equipment unique identification);Fuzzy verification can be use Device model, MAC Address etc. execute, wherein device model may include equipment Serial Number.
For accurate verification, the access device verifies distribution request, wraps according to the verification information Include following sub-step:
S1, the device identification of equipment to be accessed is obtained from distribution request, and obtains and sets from the verification information Standby mark.
If the device identification of S2, equipment to be accessed is identical with the device identification in the verification information, confirmation allow for Equipment distribution to be accessed;
If the device identification of S3, equipment to be accessed is different with the device identification in the verification information, permission is not confirmed For equipment distribution to be accessed.
For fuzzy verification, the access device verifies distribution request, wraps according to the verification information Include following sub-step:
S4, the device parameter of equipment to be accessed is obtained from distribution request, and obtains and sets from the verification information Standby parameter.Wherein, device parameter can be the parameter of non-unique identifiers, if device parameter includes device model and/or MAC Address.
If the device parameter of S5, equipment to be accessed is identical with the device parameter in the verification information, confirmation allow for Equipment distribution to be accessed;
If the device identification of S6, equipment to be accessed is different with the device identification in the verification information, permission is not confirmed For equipment distribution to be accessed.
It can determine whether the equipment to be accessed is that equipment is claimed in active by fuzzy verification, accurate verification, passing through Step 810 is executed after verification;Step 812 is executed after not by verification.
Step 810, after confirmation allows for equipment distribution to be accessed, access device is requested according to the distribution, is executed For the operation of the equipment distribution to be accessed.
If the facility information is identical with verification information, confirmation is anti-to be mismatched verification and passes through, can will verification pass through it is anti-error It is sent to server with check results, to establish equipment to be accessed and the incidence relation of access device in the server.Also, It may be notified that access device can assist the equipment to be accessed to network for this, i.e., access device can be requested according to the distribution, be held The operation of equipment distribution to be accessed described in behavior.
Step 812, after verification does not pass through, refuse the distribution request.
If the facility information and verification information be not identical, confirmation prevents that mismatching verification does not pass through, refuses the distribution request, Inform that access device does not assist the equipment to be accessed to network for this.So as to effectively prevent equipment to be accidentally linked into wireless network In.
Another scene is as shown in Figure 9:
9.02, access device is in the station mode in Beacon mode, and equipment to be accessed is in Beacon mode Or promiscuous mode.
9.04, user equipment obtains verification information, and verification information is informed access device.
9.06, equipment to be accessed generates the management frame for carrying distribution request, sends the management frame of carrying distribution request.
9.08, access device obtains distribution request from management frame, and the facility information in distribution request is sent It is verified to service server.Access device can also be verified according to verification information.
9.10, service server is sent to authentication server according to apparatus information acquiring signed data and is verified.
9.12, whether service server receives the verification result that authentication server returns, be confirmed whether to be verified, i.e., transport Row ancillary equipment distribution.
9.14, the verification result that access device is returned according to service server.
9.16, access device generates the management frame for carrying distribution information after allowing to assist distribution, sends and carries distribution The management frame of information gives equipment to be accessed.
9.18, equipment to be accessed carries out distribution according to distribution information.
Wherein, the information that each management frame carries is that can verify to sign by ID2 carrying out verifying as shown in above-mentioned table 1-4 Encrypted data can also can also be passed through service server and verifying by other encryption and decryption modes by the information such as name The auxiliary of server is decrypted, to be further ensured that the safety of data.In addition, access device can send carrying and match The management frame of net result, and by service server known in distribution result, service server can be handed down to each network equipment (such as road By device, interchanger etc.) to inform that new equipment networks.
Also, equipment to be accessed can monitor the management frame for whether receiving and carrying distribution information in above process, if It is to receive that promiscuous mode progress network connection configuration can be switched to more than preset time.Terminal device can also monitor whether receive To the management frame for carrying distribution result, if not receiving the networking mode that can switch monitoring beyond setting time.
The embodiment of the present application can assist equipment automatic networking to be accessed by access device, and can combine and mix Networking mode makes distribution reduce user's operation to the greatest extent and promotes distribution efficiency.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented Necessary to example.
On the basis of the above embodiments, a kind of system for connecting wireless network is present embodiments provided, comprising: to be accessed Equipment 20 and access device 10, as shown in Figure 1, another example is as shown in figure 12, which can also wrap a kind of exemplary architecture Include user equipment 30 and server 40, wherein server 40 may include service server and authentication server.
Equipment 20 to be accessed, for broadcasting the management frame for carrying distribution request;And distribution information is carried by parsing Management frame connects service set according to the network cipher from the distribution information acquisition services set identifier and network cipher Corresponding wireless network.
Access device 10 determine service set and network cipher for requesting according to the distribution, using the clothes Business set identifier and network cipher generate distribution information;The distribution information is added in management frame, broadcast carries distribution information Management frame.
Wherein, the equipment to be accessed 20, for being parsed to the management frame, from the active position of the management frame Middle acquisition distribution information;Service set and network cipher are obtained from the distribution information.
Access device 10, the facility information for requesting according to the distribution determine service set, obtain institute State the corresponding network cipher of service set.
The equipment to be accessed 20 is also used to determine the distribution request of corresponding format according to facility information, by the distribution Request is added in the active position of management frame.
Access device 10, for the distribution information to be added in the active position of management frame.
The access device, is also used to obtain facility information from distribution request, and the facility information includes setting Standby mark;The facility information is uploaded to server 40, whether to verify the equipment to be accessed according to the facility information For real equipment.
Access device 10, are also used to receive verification information;According to the verification information, whether verification allows for institute It states distribution and requests corresponding equipment distribution to be accessed;After confirmation allows for equipment distribution to be accessed, by corresponding check results It is sent to server 40, to establish equipment to be accessed and the incidence relation of access device.
The access device, for obtaining facility information from distribution request, by the verification information and described Facility information is compared;If the facility information is identical with verification information, confirmation allows for equipment distribution to be accessed;If described Facility information and verification information be not identical, and confirmation does not allow to refuse the distribution request for equipment distribution to be accessed.
The system also includes: user equipment 30;The user equipment 30, for obtaining by way of inputting or scanning Take following at least one verification information, device identification, device model, MAC Address;By the verification information be sent to server or Access device.
The verification includes accurate verification, the access device, for obtaining to be accessed set from distribution request Standby device identification, and device identification is obtained from the verification information;If the device identification of equipment to be accessed and the verifying Device identification in information is identical, then confirmation allows for equipment distribution to be accessed;If the device identification of equipment to be accessed and described Device identification in verification information is different, then confirming not allows for equipment distribution to be accessed.
The verification includes fuzzy verification, and the verification information for fuzzy verification includes: device model and/or MAC Address.
The equipment to be accessed, for determining the wireless network for needing to connect according to the service set;Using described Network cipher carries out authentication, and the wireless network is accessed after authentication passes through.
The equipment to be accessed is also used to generate the distribution to the wireless network as a result, the distribution result is added Into the active position of management frame;Broadcast carries the management frame of distribution result.
The equipment to be accessed is also used to do not receiving the management frame for carrying distribution information more than preset time, pass through Promiscuous mode executes distribution step.
The equipment to be accessed, in the distribution mode compatible in beacon patterns and promiscuous mode, according to received The corresponding mode type of distribution information, determines used distribution mode, executes distribution using used distribution mode.
The equipment to be accessed is also used to after promiscuous mode, and the notice issued according to the promiscuous mode is switched to Beacon patterns.
To sum up, equipment to be accessed can be wide from access device by the auxiliary of access device by broadcast distribution request SSID and network cipher are obtained in the management frame for the carrying distribution information broadcast, accesses the network of SSID mark, without artificial behaviour Make can automatic networking, network very convenient and efficiency it is higher.
The present embodiment additionally provides a kind of device for connecting wireless network, is applied to equipment to be accessed.
0A referring to Fig.1 shows a kind of structural block diagram for the Installation practice for connecting wireless network of the application, specifically can be with Including following module:
Broadcast module 1002 is requested, for broadcasting the management frame for carrying distribution request.
Information receiving module 1004, for receiving the management frame for carrying distribution information, wherein the distribution information foundation is matched Net request determines.
Information analysis module 1006, for the management frame by parsing the carrying distribution information, from the distribution information Obtain service set and network cipher.
Network access module 1008, for connecting wireless network corresponding to the service set according to the network cipher Network.
Equipment to be accessed can be taken by the auxiliary of access device from what access device was broadcasted by broadcast distribution request SSID and network cipher are obtained in management frame with distribution information, access the network of SSID mark, without human intervention Automatic networking, the very convenient and efficiency that networks are higher.
0B referring to Fig.1 shows a kind of preferred structure block diagram for the Installation practice for connecting wireless network of the application, specifically May include following module:
Generation module 1010 is requested, for determining the distribution request of corresponding format according to facility information, the distribution is asked It asks and is added in the active position of management frame.The distribution request includes device identification.
Broadcast module 1002 is requested, for broadcasting the management frame for carrying distribution request.
Information receiving module 1004, for receiving the management frame for carrying distribution information, wherein the distribution information foundation is matched Net request determines.
Information analysis module 1006, for the management frame by parsing the carrying distribution information, from the distribution information Obtain service set and network cipher.
Network access module 1008, for according to the corresponding wireless network of network cipher connection service set.
Encryption/decryption module 1012, for management frame to be decrypted or encrypted according to default encryption and decryption mode.
As a result feedback module 1014, for generating the distribution to the wireless network as a result, the distribution result is added Into the active position of management frame;Broadcast carries the management frame of distribution result.
Switching module 1016, for after the compatible distribution mode of beacon patterns and promiscuous mode, according to received The corresponding mode type of distribution information, determines used distribution mode, executes distribution using used distribution mode;Locating After beacon patterns, when not receiving the management frame for carrying distribution information more than preset time, distribution is executed by promiscuous mode Step;After promiscuous mode, according to the notice that the promiscuous mode issues, it is switched to beacon patterns.
Wherein, the information analysis module 1006, for being parsed to the management frame, from the effective of the management frame Distribution information is obtained in position;Service set and network cipher are obtained from the distribution information.
The network access module 1008, for determining the wireless network for needing to connect according to the service set;It adopts Authentication is carried out with the network cipher, the wireless network is accessed after authentication passes through.
The present embodiment additionally provides a kind of device for connecting wireless network, is applied to access device.
1A referring to Fig.1 shows the structural block diagram of the Installation practice of the application another kind connection wireless network, specifically may be used To include following module:
Request receiving module 1102, for receiving the management frame for carrying distribution request.
Information generating module 1104 determines service set and network cipher for requesting according to the distribution, using institute It states service set and network cipher generates distribution information;The distribution information is added in management frame.
Information sending module 1106, for broadcasting the management frame for carrying distribution information, to be connected based on the network cipher The corresponding wireless network of service set.
1B referring to Fig.1 shows the preferred structure block diagram of the Installation practice of the application another kind connection wireless network, tool Body may include following module:
Request receiving module 1102, for receiving the management frame for carrying distribution request.
Request analysis module 1114 obtains distribution request for parsing to the management frame from active position.
Authenticity verification module 1108, for obtaining facility information from distribution request;It will be on the facility information It is transmitted to server, whether is real equipment with verify the equipment to be accessed according to the facility information.
Verification information receiving module 1110, for receiving verification information.It can be by receiving the verification information broadcasted, or, connecing Receive the verification information that server issues.
It is anti-to mismatch correction verification module 1112, for it is corresponding to be accessed to verify the distribution request according to the verification information Whether equipment allows distribution;After confirmation allows distribution, corresponding check results are sent to server, to establish equipment to be accessed The incidence relation of access device.
Information generating module 1104 determines service set and network cipher for requesting according to the distribution, using institute It states service set and network cipher generates distribution information;The distribution information is added in management frame.
Information sending module 1106, for broadcasting the management frame for carrying distribution information, to be connected based on the network cipher The corresponding wireless network of service set.
Wherein, described to prevent mismatching correction verification module 1112, for obtaining facility information from distribution request, tested described Card information and the facility information are compared;If the facility information is identical with verification information, confirmation allows to set to be to be accessed Standby distribution;If the facility information and verification information be not identical, confirmation does not allow to refuse the distribution for equipment distribution to be accessed Request, wherein the verification information includes: at least one of device identification, device model, MAC Address.
Wherein, the verification includes accurate verification, described to prevent mismatching correction verification module, for obtaining from distribution request The device identification of equipment to be accessed, and device identification is obtained from the verification information;If the device identification of equipment to be accessed and Device identification in the verification information is identical, then confirmation allows for equipment distribution to be accessed;If the equipment mark of equipment to be accessed Knowledge is different with the device identification in the verification information, then confirming not allows for equipment distribution to be accessed.The verification includes mould Paste verification, the verification information for fuzzy verification includes: device model and/or MAC Address.
The information generating module 1104, the facility information for requesting according to the distribution determine service set, obtain Take the corresponding network cipher of the service set.
The information generating module 1104, for the distribution information to be added in the active position of management frame.
The embodiment of the present application also provides a kind of non-volatile readable storage medium, be stored in the storage medium one or Multiple modules (programs) when the one or more module is used in terminal device, can make the terminal device execute The instruction (instructions) of various method steps in the embodiment of the present application.
In one example, one or more computer-readable mediums are provided, are stored thereon with instruction, when by one or more When a processor executes, so that the method that processor executes equipment to be accessed connection wireless network in the embodiment of the present application.
In another example, provide one or more computer-readable mediums, be stored thereon with instruction, when by one or When multiple processors execute, so that the method that processor executes the wireless network of access device connection in the embodiment of the present application.
Figure 13 is the hardware structural diagram for the equipment that one embodiment of the application provides.As shown in figure 13, which can wrap Include various terminal equipment and, which may include input equipment 130, processor 131, output equipment 132,133 and of memory At least one communication bus 134.Communication bus 134 is for realizing the communication connection between element.Memory 133 may include height Fast RAM memory, it is also possible to further include non-volatile memories NVM, a for example, at least magnetic disk storage can in memory 133 To store various programs, for completing various processing functions and realizing the method and step of the present embodiment.
Optionally, above-mentioned processor 131 can be for example central processing unit (Central Processing Unit, abbreviation CPU), application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable Logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real Existing, which is coupled to above-mentioned input equipment 130 and output equipment 132 by wired or wireless connection.
Optionally, above-mentioned input equipment 130 may include a variety of input equipments, such as may include user oriented user At least one of interface, device oriented equipment interface, the programmable interface of software, camera, sensor.Optionally, the face It can be wireline interface for carrying out data transmission between equipment and equipment to the equipment interface of equipment, can also be for setting Standby hardware insertion interface (such as USB interface, serial ports etc.) carried out data transmission between equipment;Optionally, the user oriented User interface for example can be user oriented control button, for receive voice input voice-input device and user Receive the touch awareness apparatus (such as touch screen, Trackpad with touch sensing function etc.) of user's touch input;Optionally, The programmable interface of above-mentioned software for example can be the entrance for editing or modifying program for user, such as the input pin of chip Interface or input interface etc.;Optionally, above-mentioned transceiver can be rf chip with communication function, at base band Manage chip and dual-mode antenna etc..The audio input device such as microphone can receive voice data.Output equipment 82 may include The output equipments such as display, sound equipment.
In the present embodiment, the processor of the terminal device includes for executing each module of data processing equipment in each equipment Function, concrete function and technical effect are referring to above-described embodiment, and details are not described herein again.
Figure 14 is the hardware structural diagram for the equipment that another embodiment of the application provides.Figure 14 was being realized to Figure 13 A specific embodiment in journey.As shown in figure 14, the terminal device of the present embodiment includes processor 141 and memory 142。
Processor 141 executes the computer program code that memory 142 is stored, and realizes Fig. 1 to Fig. 9 in above-described embodiment Connection wireless network method.
Memory 142 is configured as storing various types of data to support the operation in terminal device.These data Example includes the instruction of any application or method for operating on the terminal device, such as message, picture, video etc.. Memory 142 may include random access memory (random access memory, abbreviation RAM), it is also possible to further include non- Volatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Optionally, processor 141 is arranged in processing component 140.The terminal device can also include: communication component 143, Power supply module 144, multimedia component 145, audio component 146, input/output interface 147 and/or sensor module 148.Terminal Component that equipment is specifically included etc. is set according to actual demand, and the present embodiment is not construed as limiting this.
The integrated operation of the usual controlling terminal equipment of processing component 140.Processing component 140 may include one or more places Device 141 is managed to execute instruction, to complete all or part of the steps of above-mentioned Fig. 1 to Fig. 9 method.In addition, processing component 140 can be with Including one or more modules, convenient for the interaction between processing component 140 and other assemblies.For example, processing component 140 can wrap Multi-media module is included, to facilitate the interaction between multimedia component 145 and processing component 140.
Power supply module 144 provides electric power for the various assemblies of terminal device.Power supply module 144 may include power management system System, one or more power supplys and other with for terminal device generate, manage, and distribute the associated component of electric power.
Multimedia component 145 includes the display screen of one output interface of offer between terminal device and user.One In a little embodiments, display screen may include liquid crystal display (LCD) and touch panel (TP).If display screen includes touch surface Plate, display screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touchings Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.
Audio component 146 is configured as output and/or input audio signal.For example, audio component 146 includes a Mike Wind (MIC), when terminal device is in operation mode, when such as speech recognition mode, microphone is configured as receiving external audio letter Number.The received audio signal can be further stored in memory 142 or send via communication component 143.In some realities It applies in example, audio component 146 further includes a loudspeaker, is used for output audio signal.
Input/output interface 147 provides interface, above-mentioned peripheral interface between processing component 140 and peripheral interface module Module can be click wheel, button etc..These buttons may include, but are not limited to: volume button, start button and locking press button.
Sensor module 148 includes one or more sensors, and the state for providing various aspects for terminal device is commented Estimate.For example, sensor module 148 can detecte the state that opens/closes of terminal device, the relative positioning of component, Yong Huyu The existence or non-existence of terminal device contact.Sensor module 148 may include proximity sensor, be configured to do not appointing Detected the presence of nearby objects when what physical contact, including detection user between terminal device at a distance from.In some embodiments In, which can also be including camera etc..
Communication component 143 is configured to facilitate the communication of wired or wireless way between terminal device and other equipment.Eventually End equipment can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In one embodiment In, it may include SIM card slot in the terminal device, which step on terminal device for being inserted into SIM card GPRS network is recorded, is communicated by internet with server foundation.
From the foregoing, it will be observed that communication component 143, audio component 146 involved in Figure 14 embodiment and input/output connect Mouth 147, sensor module 148 can be used as the implementation of the input equipment in Figure 10 embodiment.
Present embodiments provide a kind of equipment to be accessed, comprising: one or more processors;Be stored thereon with instruction One or more machine readable medias, when being executed by one or more of processors, so that the equipment to be accessed executes Method described in one or more in the embodiment of the present application.
In a kind of equipment to be accessed of the present embodiment, the communication component is coupled to the processor, and broadcast, which carries, matches Net the management frame of request;And receive the management frame for carrying distribution information, wherein the distribution information is true according to distribution request It is fixed;The processor, by parsing the management frame for carrying distribution information, from the distribution information acquisition services set identifier and Network cipher;According to the corresponding wireless network of network cipher connection service set.
Optionally, the processor determines the distribution request of corresponding format according to facility information, distribution request is added It is added in the active position of management frame.
Optionally, the processor parses the management frame, obtains and matches from the active position of the management frame Net information;Service set and network cipher are obtained from the distribution information.
Optionally, the processor determines the wireless network for needing to connect according to the service set;Using described Network cipher carries out authentication, and the wireless network is accessed after authentication passes through.
Optionally, the processor is decrypted or encrypts to management frame according to default encryption and decryption mode.
Optionally, the processor generates the distribution to the wireless network as a result, the distribution result is added to pipe In the active position for managing frame;The communication component, broadcast carry the management frame of distribution result.
Wherein, the distribution request of the broadcast includes device identification, and the device identification is for treating access device progress Verification.
Optionally, the processor, when not receiving the management frame for carrying distribution information more than preset time, by mixing Mode executes distribution.
Optionally, the processor, if the distribution mode compatible in beacon patterns and promiscuous mode, matches according to received Net information determines the corresponding mode type of distribution mode used, executes distribution step using used distribution mode.
Optionally, the processor, after equipment is in promiscuous mode, according to the notice that the promiscuous mode issues, switching To beacon patterns.
Present embodiments provide a kind of access device, comprising: one or more processors;Be stored thereon with instruction One or more machine readable medias, when being executed by one or more of processors, so that the access device executes Method described in one or more in the embodiment of the present application.
For one kind in access device, the communication component is coupled to the processor, receives the management for carrying distribution request Frame;Broadcast carries the management frame of distribution information, based on the corresponding wireless network of network cipher connection service set;Institute Processor is stated, requests to determine service set and network cipher according to the distribution, it is close using the service set and network Code generates distribution information;The distribution information is added in management frame.
Optionally, the processor obtains facility information from distribution request, and the facility information includes equipment mark Know;The facility information is uploaded to server, whether is true with verify the equipment to be accessed according to the facility information Real equipment.
Optionally, the communication component receives the verification information of broadcast, or, receiving the verification information that server issues;Institute Processor is stated, according to the verification information, the distribution is verified and requests whether corresponding equipment to be accessed allows distribution;And After confirmation allows distribution, corresponding check results are sent to server, to establish equipment to be accessed and access device Incidence relation.
Optionally, the processor obtains facility information from distribution request, by the verification information and described sets Standby information is compared;If the facility information is identical with verification information, confirmation allows for equipment distribution to be accessed;If described set Standby information and verification information be not identical, and confirmation does not allow to refuse the distribution request, wherein described for equipment distribution to be accessed Verification information includes: at least one of device identification, device model, MAC Address.
The processor, obtains the device identification of equipment to be accessed from distribution request, and from the verification information Middle acquisition device identification;If the device identification of equipment to be accessed is identical with the device identification in the verification information, confirmation is permitted It perhaps is equipment distribution to be accessed;If the device identification of equipment to be accessed is different with the device identification in the verification information, really Recognizing does not allow for equipment distribution to be accessed.The verification includes accurate verification.
The verification includes fuzzy verification, and the verification information for fuzzy verification includes: device model and/or MAC Address.
Optionally, the processor parses the management frame, and distribution request is obtained from active position.
Optionally, the processor, the facility information according to distribution request determine service set, obtain the clothes The corresponding network cipher of business set identifier.
Optionally, the distribution information is added in the active position of management frame by the processor.
The embodiment of the present application also provides a kind of operating system for equipment to be accessed, as shown in fig. 15, the terminal device Operating system include: communication unit 1502, dissection process unit 1504 and networking unit 1506.
Communication unit 1502, broadcast carry the management frame of distribution request;Receive the management frame for carrying distribution information, wherein The distribution information is determined according to distribution request.
Dissection process unit 1504, by parsing the management frame for carrying distribution information, from the distribution acquisition of information Service set and network cipher.
Networking unit 1506, according to the corresponding wireless network of network cipher connection service set.
The embodiment of the present application also provides a kind of operating system for access device, as shown in fig. 15b, the terminal device Operating system include: communication unit 1512 and management frame processing unit 1514.
Communication unit 1512 receives the management frame for carrying distribution request;Broadcast carries the management frame of distribution information, to be based on The network cipher connects the corresponding wireless network of service set.
Frame processing unit 1514 is managed, requests to determine service set and network cipher according to the distribution, using described Service set and network cipher generate distribution information;The distribution information is added in management frame.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output Interface, network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Realize that information is stored by any method or technique.Information can be computer readable instructions, data structure, the module of program or Other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as The data-signal and carrier wave of modulation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method of connection wireless network provided herein, a kind of device connecting wireless network, one System, a kind of equipment, a kind of storage medium and a kind of operating system of kind connection wireless network, are described in detail, herein In apply specific case the principle and implementation of this application are described, the explanation of above example is only intended to sides Assistant solves the present processes and its core concept;At the same time, for those skilled in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the application.

Claims (74)

1. a kind of method for connecting wireless network characterized by comprising
Device broadcasts to be accessed carry the management frame of distribution request;
Access device requests to determine service set and network cipher according to the distribution, using the service set and net Network password generates distribution information;
The distribution information is added in management frame by access device, and broadcast carries the management frame of distribution information;
Equipment to be accessed by parsing the management frame for carrying distribution information, from the distribution information acquisition services set identifier and Network cipher connects wireless network corresponding to the service set according to the network cipher.
2. the method according to claim 1, wherein described from the distribution information acquisition services set identifier and net Network password, comprising:
Distribution information is obtained from the active position of the management frame, and service set and network are obtained from the distribution information Password.
3. the method according to claim 1, wherein requesting to determine service set and network according to the distribution Password, comprising:
Facility information according to distribution request determines service set, and it is close to obtain the corresponding network of the service set Code.
4. the method according to claim 1, wherein before the management frame of broadcast carrying distribution request, further includes:
Distribution request, is added to the active position of management frame by the distribution request that corresponding format is determined according to facility information In.
5. the method according to claim 1, wherein the distribution information is added in management frame, comprising:
The distribution information is added in the active position of management frame.
6. the method according to claim 1, wherein further include:
Access device obtains facility information from distribution request, and the facility information includes device identification;
The facility information is uploaded to server, to verify whether the equipment to be accessed is true according to the facility information Equipment.
7. the method according to claim 1, wherein further include:
Access device receives verification information;
According to the verification information, whether verification allows to request corresponding equipment distribution to be accessed for the distribution;
After confirmation allows for equipment distribution to be accessed, corresponding check results are sent to server, to establish to be accessed set Standby and access device incidence relation.
8. the method according to the description of claim 7 is characterized in that described according to the verification information, verification whether allow for Corresponding equipment distribution to be accessed is requested in the distribution, comprising:
Facility information is obtained from distribution request, the verification information and the facility information are compared;
If the facility information is identical with verification information, confirmation allows for equipment distribution to be accessed;
If the facility information and verification information be not identical, confirmation does not allow to refuse the distribution and ask for equipment distribution to be accessed It asks.
9. the method according to the description of claim 7 is characterized in that further include:
User equipment obtains following at least one verification information by way of inputting or scanning, device identification, device model, MAC Address;
The verification information is sent to server or access device by user equipment.
10. according to the method described in claim 9, testing described in the foundation it is characterized in that, the verification includes accurate verification Information is demonstrate,proved, whether verification allows to request corresponding equipment distribution to be accessed for the distribution, comprising:
The device identification of equipment to be accessed is obtained from distribution request, and obtains device identification from the verification information;
If the device identification of equipment to be accessed is identical with the device identification in the verification information, confirmation allows to set to be to be accessed Standby distribution;
If the device identification of equipment to be accessed is different with the device identification in the verification information, confirm that it is to be accessed for not allowing Equipment distribution.
11. according to the method described in claim 9, it is characterized in that, the verification includes fuzzy verification, for fuzzy verification Verification information includes: device model and/or MAC Address.
12. the method according to claim 1, wherein connecting wireless network according to the network cipher, comprising:
According to the service set, the wireless network for needing to connect is determined;
Authentication is carried out using the network cipher, the wireless network is accessed after authentication passes through.
13. the method according to claim 1, wherein further include:
Equipment to be accessed generates the distribution to the wireless network as a result, the distribution result to be added to the significance bit of management frame In setting;
Broadcast carries the management frame of distribution result.
14. the method according to claim 1, wherein further include:
When not receiving the management frame for carrying distribution information more than preset time, passes through promiscuous mode and execute distribution step.
15. the method according to claim 1, wherein if the equipment to be accessed is in beacon patterns and mixes The compatible distribution mode of mode determines used distribution mode, uses according to the corresponding mode type of received distribution information Used distribution mode executes distribution step.
16. the method according to claim 1, wherein further include:
After the equipment to be accessed is in promiscuous mode, the notice issued according to the promiscuous mode is switched to beacon patterns.
17. a kind of method for connecting wireless network, which is characterized in that be applied to equipment to be accessed, the method includes:
Broadcast carries the management frame of distribution request;
Receive the management frame for carrying distribution information, wherein the distribution information is determined according to distribution request;
By parsing the management frame for carrying distribution information, from the distribution information acquisition services set identifier and network cipher;
Wireless network corresponding to the service set is connected according to the network cipher.
18. according to the method for claim 17, which is characterized in that before broadcast carries the management frame of distribution request, also wrap It includes:
Distribution request, is added to the active position of management frame by the distribution request that corresponding format is determined according to facility information In.
19. according to the method for claim 17, which is characterized in that described to be believed by parsing the management frame from the distribution Breath obtains network cipher, comprising:
The management frame is parsed, distribution information is obtained from the active position of the management frame;
Service set and network cipher are obtained from the distribution information.
20. according to the method for claim 17, which is characterized in that connect wireless network according to the network cipher, comprising:
According to the service set, the wireless network for needing to connect is determined;
Authentication is carried out using the network cipher, the wireless network is accessed after authentication passes through.
21. according to the method for claim 17, which is characterized in that further include:
Management frame is decrypted or is encrypted according to default encryption and decryption mode.
22. according to the method for claim 17, which is characterized in that further include:
The distribution to the wireless network is generated as a result, the distribution result is added in the active position of management frame;
Broadcast carries the management frame of distribution result.
23. according to the method for claim 17, which is characterized in that the distribution request of the broadcast includes device identification, institute Device identification is stated to be verified for treating access device.
24. according to the method for claim 17, which is characterized in that further include:
When not receiving the management frame for carrying distribution information more than preset time, passes through promiscuous mode and execute distribution step.
25. according to the method for claim 17, which is characterized in that if the equipment to be accessed is in beacon patterns and mixes The compatible distribution mode of mode determines used distribution mode, uses according to the corresponding mode type of received distribution information Used distribution mode executes distribution step.
26. according to the method for claim 17, which is characterized in that further include:
After equipment to be accessed is in promiscuous mode, according to the notice that the promiscuous mode issues, it is switched to beacon patterns.
27. a kind of method for connecting wireless network, which is characterized in that applied to access device, the method include:
Receive the management frame for carrying distribution request;
It requests to determine service set and network cipher according to the distribution, be generated using the service set and network cipher Distribution information;
The distribution information is added in management frame, broadcast carries the management frame of distribution information, to be based on the network cipher Connect the corresponding wireless network of service set.
28. according to the method for claim 27, which is characterized in that further include:
Facility information is obtained from distribution request, the facility information includes device identification;
The facility information is uploaded to server, whether is true with verify the equipment to be accessed according to the facility information Real equipment.
29. according to the method for claim 27, which is characterized in that further include:
Receive verification information;
According to the verification information, verifies the distribution and request whether corresponding equipment to be accessed allows distribution;
After confirmation allows distribution, corresponding check results are sent to server, are set with establishing equipment to be accessed and having accessed Standby incidence relation.
30. according to the method for claim 29, which is characterized in that request to carry out to the distribution according to the verification information Second verification, comprising:
Facility information is obtained from distribution request, the verification information and the facility information are compared;
If the facility information is identical with verification information, confirmation allows for equipment distribution to be accessed;
If the facility information and verification information be not identical, confirmation does not allow to refuse the distribution and ask for equipment distribution to be accessed It asks, wherein the verification information includes: at least one of device identification, device model, MAC Address.
31. according to the method for claim 29, which is characterized in that the verification includes accurate verification, described in the foundation Whether verification information, verification allow to request corresponding equipment distribution to be accessed for the distribution, comprising:
The device identification of equipment to be accessed is obtained from distribution request, and obtains device identification from the verification information;
If the device identification of equipment to be accessed is identical with the device identification in the verification information, confirmation allows to set to be to be accessed Standby distribution;
If the device identification of equipment to be accessed is different with the device identification in the verification information, confirm that it is to be accessed for not allowing Equipment distribution.
32. according to the method for claim 29, which is characterized in that the verification includes fuzzy verification, for fuzzy verification Verification information include: device model and/or MAC Address.
33. according to the method for claim 27, which is characterized in that after the management frame for receiving carrying distribution request, Further include:
The management frame is parsed, distribution request is obtained from active position.
34. according to the method for claim 27, which is characterized in that request to determine service set and net according to the distribution Network password, comprising:
Facility information according to distribution request determines service set, and it is close to obtain the corresponding network of the service set Code.
35. according to the method for claim 27, which is characterized in that the distribution information to be added in management frame, comprising:
The distribution information is added in the active position of management frame.
36. a kind of system for connecting wireless network characterized by comprising
Equipment to be accessed, for broadcasting the management frame for carrying distribution request;And the management frame of distribution information is carried by parsing, From the distribution information acquisition services set identifier and network cipher, it is right that the service set institute is connected according to the network cipher The wireless network answered;
Access device determines service set and network cipher for requesting according to the distribution, using the services set mark Know and network cipher generates distribution information;The distribution information is added in management frame, broadcast carries the management of distribution information Frame.
37. system according to claim 36, which is characterized in that
The equipment to be accessed obtains distribution from the active position of the management frame for parsing to the management frame Information;Service set and network cipher are obtained from the distribution information.
38. system according to claim 36, which is characterized in that
The access device, the facility information for requesting according to the distribution determine service set, obtain the service The corresponding network cipher of set identifier.
39. system according to claim 36, which is characterized in that
The equipment to be accessed is also used to determine the distribution request of corresponding format according to facility information, distribution request is added It is added in the active position of management frame.
40. system according to claim 36, which is characterized in that
The access device, for the distribution information to be added in the active position of management frame.
41. system according to claim 36, which is characterized in that
The access device is also used to obtain facility information from distribution request, and the facility information includes equipment mark Know;The facility information is uploaded to server, to verify whether the equipment to be accessed is true according to the facility information Equipment.
42. system according to claim 36, which is characterized in that
The access device, is also used to receive verification information;According to the verification information, whether verification allows for the distribution Request corresponding equipment distribution to be accessed;After confirmation allows for equipment distribution to be accessed, corresponding check results are sent to Server, to establish equipment to be accessed and the incidence relation of access device.
43. system according to claim 42, which is characterized in that
The access device, for obtaining facility information from distribution request, by the verification information and the equipment Information is compared;If the facility information is identical with verification information, confirmation allows for equipment distribution to be accessed;If the equipment Information and verification information be not identical, and confirmation does not allow to refuse the distribution request for equipment distribution to be accessed.
44. system according to claim 36, which is characterized in that the system also includes: user equipment;
The user equipment obtains following at least one verification information for by way of inputting or scanning, device identification, Device model, MAC Address;The verification information is sent to server or access device.
45. systems approach according to claim 42, which is characterized in that the verification includes accurate verification,
The access device, for obtaining the device identification of equipment to be accessed from distribution request, and from the verifying Device identification is obtained in information;If the device identification of equipment to be accessed is identical with the device identification in the verification information, really Recognizing allows for equipment distribution to be accessed;If the device identification of equipment to be accessed is different with the device identification in the verification information, Then confirming not allows for equipment distribution to be accessed.
46. system according to claim 42, which is characterized in that the verification includes fuzzy verification, for fuzzy verification Verification information include: device model and/or MAC Address.
47. system according to claim 36, which is characterized in that
The equipment to be accessed, for determining the wireless network for needing to connect according to the service set;Using the network Password carries out authentication, and the wireless network is accessed after authentication passes through.
48. system according to claim 36, which is characterized in that
The equipment to be accessed is also used to generate the distribution to the wireless network as a result, the distribution result is added to pipe In the active position for managing frame;Broadcast carries the management frame of distribution result.
49. system according to claim 36, which is characterized in that
The equipment to be accessed is also used to do not receiving the management frame for carrying distribution information more than preset time, by mixing Mode executes distribution step.
50. system according to claim 36, which is characterized in that
The equipment to be accessed, in the distribution mode compatible in beacon patterns and promiscuous mode, according to received distribution The corresponding mode type of information, determines used distribution mode, executes distribution using used distribution mode.
51. system according to claim 36, which is characterized in that
The equipment to be accessed is also used to after promiscuous mode, and the notice issued according to the promiscuous mode is switched to beacon Mode.
52. a kind of device for connecting wireless network, which is characterized in that be applied to equipment to be accessed, the device includes:
Broadcast module is requested, for broadcasting the management frame for carrying distribution request;
Information receiving module, for receiving the management frame for carrying distribution information, wherein the distribution information is true according to distribution request It is fixed;
Information analysis module, for the management frame by parsing the carrying distribution information, from the distribution information acquisition services Set identifier and network cipher;
Network access module, for connecting wireless network corresponding to the service set according to the network cipher.
53. device according to claim 52, which is characterized in that further include:
Generation module is requested, for determining the distribution request of corresponding format according to facility information, distribution request is added to In the active position of management frame.
54. device according to claim 52, which is characterized in that
The information analysis module obtains from the active position of the management frame and matches for parsing to the management frame Net information;Service set and network cipher are obtained from the distribution information.
55. device according to claim 52, which is characterized in that
The network access module, for determining the wireless network for needing to connect according to the service set;Using the net Network password carries out authentication, and the wireless network is accessed after authentication passes through.
56. device according to claim 52, which is characterized in that further include:
Encryption/decryption module, for management frame to be decrypted or encrypted according to default encryption and decryption mode.
57. device according to claim 52, which is characterized in that further include:
As a result feedback module, for generating the distribution to the wireless network as a result, the distribution result is added to management frame Active position in;Broadcast carries the management frame of distribution result.
58. device according to claim 52, which is characterized in that the distribution request of the broadcast includes device identification, institute Device identification is stated to be verified for treating access device.
59. device according to claim 52, which is characterized in that further include:
Switching module, for being executed by promiscuous mode when not receiving the management frame for carrying distribution information more than preset time Distribution step.
60. device according to claim 52, which is characterized in that
The switching module, for the distribution mode compatible in beacon patterns and promiscuous mode, according to received distribution information Corresponding mode type, determines used distribution mode, executes distribution using used distribution mode.
61. device according to claim 52, which is characterized in that further include:
Switching module, for according to the notice that the promiscuous mode issues, being switched to beacon patterns after promiscuous mode.
62. a kind of device for connecting wireless network, which is characterized in that applied to access device, the device include:
Request receiving module, for receiving the management frame for carrying distribution request;
Information generating module determines service set and network cipher for requesting according to the distribution, using the services set Mark and network cipher generate distribution information;The distribution information is added in management frame;
Information sending module, for broadcasting the management frame for carrying distribution information, to connect services set mark based on the network cipher Know corresponding wireless network.
63. device according to claim 62, which is characterized in that further include:
Authenticity verification module, for obtaining facility information from distribution request;The facility information is uploaded to service Whether device is real equipment with verify the equipment to be accessed according to the facility information.
64. device according to claim 62, which is characterized in that further include:
Verification information receiving module, for receiving verification information;
It is anti-to mismatch correction verification module, for verifying whether the distribution requests corresponding equipment to be accessed according to the verification information Allow distribution;After confirmation allows distribution, corresponding check results are sent to server, to establish equipment to be accessed and access The incidence relation of equipment.
65. device according to claim 64, which is characterized in that
It is described it is anti-mismatch correction verification module, for obtaining facility information from distribution request, by the verification information and described Facility information is compared;If the facility information is identical with verification information, confirmation allows for equipment distribution to be accessed;If described Facility information and verification information be not identical, and confirmation does not allow to refuse the distribution request, wherein institute for equipment distribution to be accessed Stating verification information includes: at least one of device identification, device model, MAC Address.
66. device according to claim 64, which is characterized in that the verification includes accurate verification,
It is described it is anti-mismatch correction verification module, for obtaining the device identification of equipment to be accessed from distribution request, and from described Device identification is obtained in verification information;If the device identification of equipment to be accessed is identical with the device identification in the verification information, Then confirmation allows for equipment distribution to be accessed;If the device identification in the device identification of equipment to be accessed and the verification information is not Together, then confirming not allows for equipment distribution to be accessed.
67. device according to claim 65, which is characterized in that the verification includes fuzzy verification, for fuzzy verification Verification information include: device model and/or MAC Address.
68. device according to claim 63, which is characterized in that further include:
Request analysis module obtains distribution request for parsing to the management frame from active position.
69. device according to claim 63, which is characterized in that
The information generating module, the facility information for requesting according to the distribution determine service set, obtain the clothes The corresponding network cipher of business set identifier.
70. device according to claim 63, which is characterized in that
The information generating module, for the distribution information to be added in the active position of management frame.
71. a kind of equipment characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made Obtain method of the equipment execution as described in one or more in claim 17-26.
72. one or more computer-readable mediums, are stored thereon with instruction, when executed by one or more processors, make Obtain method of the equipment execution as described in claim 17-26 one or more.
73. a kind of equipment characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made Obtain method of the equipment execution as described in one or more in claim 27-35.
74. one or more computer-readable mediums, are stored thereon with instruction, when executed by one or more processors, make Obtain method of the equipment execution as described in claim 27-35 one or more.
CN201710424430.XA 2017-06-07 2017-06-07 A kind of method, apparatus, system and equipment connecting wireless network Pending CN109246797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710424430.XA CN109246797A (en) 2017-06-07 2017-06-07 A kind of method, apparatus, system and equipment connecting wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710424430.XA CN109246797A (en) 2017-06-07 2017-06-07 A kind of method, apparatus, system and equipment connecting wireless network

Publications (1)

Publication Number Publication Date
CN109246797A true CN109246797A (en) 2019-01-18

Family

ID=65082995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710424430.XA Pending CN109246797A (en) 2017-06-07 2017-06-07 A kind of method, apparatus, system and equipment connecting wireless network

Country Status (1)

Country Link
CN (1) CN109246797A (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982298A (en) * 2019-02-19 2019-07-05 深圳市和盈互联科技有限公司 It is a kind of that network method is matched based on Internet of Things Wi-Fi module
CN110149678A (en) * 2019-06-10 2019-08-20 深圳国美云智科技有限公司 Distribution methods, devices and systems
CN110381508A (en) * 2019-05-21 2019-10-25 欧普照明股份有限公司 A method of distribution success rate is improved using wifi remote controler
CN110461025A (en) * 2019-06-25 2019-11-15 深圳安吉尔饮水产业集团有限公司 Network distribution method, network distribution device, mobile terminal and intelligent equipment
WO2020155853A1 (en) * 2019-02-02 2020-08-06 苏州宝时得电动工具有限公司 Lawn mower wireless network connection method and system, and lawn mower
CN111511043A (en) * 2020-04-14 2020-08-07 腾讯科技(深圳)有限公司 Network connection method, device, electronic equipment and storage medium
CN111586691A (en) * 2020-05-20 2020-08-25 青岛海尔科技有限公司 Method and device for configuring wireless connection and wireless connectable equipment
CN111970178A (en) * 2019-05-20 2020-11-20 青岛海尔电冰箱有限公司 Communication control method and system for household appliance
CN112055082A (en) * 2020-09-08 2020-12-08 北京自如信息科技有限公司 Access equipment detection method and device and computer equipment
CN112055396A (en) * 2019-06-05 2020-12-08 九阳股份有限公司 Household appliance networking method
CN112114524A (en) * 2019-06-19 2020-12-22 广东美的制冷设备有限公司 Equipment control and access method based on centralized control network and equipment thereof
CN112135333A (en) * 2019-06-25 2020-12-25 阿里巴巴集团控股有限公司 Network configuration method and device, electronic equipment and storage medium
CN112152853A (en) * 2020-09-23 2020-12-29 青岛海尔科技有限公司 Equipment network distribution method and device, computer-readable storage medium and electronic device
CN112512097A (en) * 2020-11-18 2021-03-16 北京小米移动软件有限公司 Information processing method and device, electronic equipment and storage medium
CN112533183A (en) * 2019-09-17 2021-03-19 深圳Tcl数字技术有限公司 Method for distributing network for electronic device, storage medium and terminal equipment
CN113099440A (en) * 2019-12-23 2021-07-09 阿里巴巴集团控股有限公司 Network configuration method, device, equipment and system
CN113132989A (en) * 2021-04-20 2021-07-16 宁波奥克斯电气股份有限公司 Network distribution method and intelligent household system
CN113301672A (en) * 2021-04-01 2021-08-24 浙江大华技术股份有限公司 Network connection method, network node equipment and device
CN114143129A (en) * 2020-08-12 2022-03-04 深圳绿米联创科技有限公司 Gateway batch network access method, device, equipment and storage medium
CN114363994A (en) * 2021-09-27 2022-04-15 北京小米移动软件有限公司 Method, device and system for accessing network by node, electronic equipment and storage medium
CN114698064A (en) * 2020-12-25 2022-07-01 深圳Tcl新技术有限公司 Bluetooth network distribution method, device, system and storage medium
CN114697000A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Network distribution method, device, terminal and computer readable storage medium
CN114885295A (en) * 2021-02-05 2022-08-09 Oppo广东移动通信有限公司 Equipment network distribution method, device, equipment and storage medium
WO2022166755A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 Information processing methods, devices, and storage medium
WO2022183350A1 (en) * 2021-03-01 2022-09-09 Oppo广东移动通信有限公司 Network configuration method for internet of things device, terminal device, and internet of things device
WO2023065887A1 (en) * 2021-10-22 2023-04-27 华为技术有限公司 Network access method and device
US11729701B2 (en) 2020-09-25 2023-08-15 Realtek Semiconductor Corp. Distribution network system and method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN105208519A (en) * 2015-10-22 2015-12-30 Tcl集团股份有限公司 Configuration method and system for WiFi module in Internet of Things
CN105208631A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Network connection method and device
CN105340330A (en) * 2013-06-28 2016-02-17 Lg电子株式会社 Method for searching for device in direct communication system and apparatus therefor
CN105491600A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Network access method, device and related equipment for household appliances
CN105517103A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Network access method and device based on intelligent terminal device
US9510201B1 (en) * 2014-05-16 2016-11-29 Amazon Technologies, Inc. Connecting a device to a wireless network
CN106211208A (en) * 2016-06-24 2016-12-07 美的集团股份有限公司 A kind of intelligent appliance accesses the methods, devices and systems of wireless network
CN106332224A (en) * 2016-09-18 2017-01-11 美的智慧家居科技有限公司 Equipment networking method, equipment networking device and equipment networking system
US9560184B2 (en) * 2002-02-25 2017-01-31 Qualcomm Incorporated Bypassing bluetooth discovery for devices in a special list
CN106413033A (en) * 2016-06-16 2017-02-15 海尔优家智能科技(北京)有限公司 Method and device for configuring new device network access through adoption of device in network
CN106454828A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Network access authentication method, network access authentication device, network access device and router
CN106507346A (en) * 2016-10-31 2017-03-15 海尔优家智能科技(北京)有限公司 Networking cryptosync method, log equipment and wireless access points
CN106612530A (en) * 2015-10-22 2017-05-03 美的集团股份有限公司 Control method, device and system for networking equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9560184B2 (en) * 2002-02-25 2017-01-31 Qualcomm Incorporated Bypassing bluetooth discovery for devices in a special list
CN105340330A (en) * 2013-06-28 2016-02-17 Lg电子株式会社 Method for searching for device in direct communication system and apparatus therefor
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
US9510201B1 (en) * 2014-05-16 2016-11-29 Amazon Technologies, Inc. Connecting a device to a wireless network
CN105208631A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Network connection method and device
CN105208519A (en) * 2015-10-22 2015-12-30 Tcl集团股份有限公司 Configuration method and system for WiFi module in Internet of Things
CN106612530A (en) * 2015-10-22 2017-05-03 美的集团股份有限公司 Control method, device and system for networking equipment
CN105517103A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Network access method and device based on intelligent terminal device
CN105491600A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Network access method, device and related equipment for household appliances
CN106413033A (en) * 2016-06-16 2017-02-15 海尔优家智能科技(北京)有限公司 Method and device for configuring new device network access through adoption of device in network
CN106211208A (en) * 2016-06-24 2016-12-07 美的集团股份有限公司 A kind of intelligent appliance accesses the methods, devices and systems of wireless network
CN106332224A (en) * 2016-09-18 2017-01-11 美的智慧家居科技有限公司 Equipment networking method, equipment networking device and equipment networking system
CN106454828A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Network access authentication method, network access authentication device, network access device and router
CN106507346A (en) * 2016-10-31 2017-03-15 海尔优家智能科技(北京)有限公司 Networking cryptosync method, log equipment and wireless access points

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135512A (en) * 2019-02-02 2020-12-25 苏州宝时得电动工具有限公司 Wireless network connection method and system of mower and mower
WO2020155853A1 (en) * 2019-02-02 2020-08-06 苏州宝时得电动工具有限公司 Lawn mower wireless network connection method and system, and lawn mower
CN109982298A (en) * 2019-02-19 2019-07-05 深圳市和盈互联科技有限公司 It is a kind of that network method is matched based on Internet of Things Wi-Fi module
CN111970178B (en) * 2019-05-20 2022-06-14 青岛海尔电冰箱有限公司 Communication control method and system for household appliance
CN111970178A (en) * 2019-05-20 2020-11-20 青岛海尔电冰箱有限公司 Communication control method and system for household appliance
CN110381508A (en) * 2019-05-21 2019-10-25 欧普照明股份有限公司 A method of distribution success rate is improved using wifi remote controler
CN112055396B (en) * 2019-06-05 2022-05-03 九阳股份有限公司 Household appliance networking method
CN112055396A (en) * 2019-06-05 2020-12-08 九阳股份有限公司 Household appliance networking method
CN110149678A (en) * 2019-06-10 2019-08-20 深圳国美云智科技有限公司 Distribution methods, devices and systems
CN112114524B (en) * 2019-06-19 2024-04-23 广东美的制冷设备有限公司 Centralized control network-based equipment control and access method and equipment thereof
CN112114524A (en) * 2019-06-19 2020-12-22 广东美的制冷设备有限公司 Equipment control and access method based on centralized control network and equipment thereof
CN112135333A (en) * 2019-06-25 2020-12-25 阿里巴巴集团控股有限公司 Network configuration method and device, electronic equipment and storage medium
CN110461025B (en) * 2019-06-25 2021-08-27 深圳安吉尔饮水产业集团有限公司 Network distribution method, network distribution device, mobile terminal and intelligent equipment
CN110461025A (en) * 2019-06-25 2019-11-15 深圳安吉尔饮水产业集团有限公司 Network distribution method, network distribution device, mobile terminal and intelligent equipment
CN112135333B (en) * 2019-06-25 2024-04-02 阿里巴巴集团控股有限公司 Network configuration method and device, electronic equipment and storage medium
CN112533183A (en) * 2019-09-17 2021-03-19 深圳Tcl数字技术有限公司 Method for distributing network for electronic device, storage medium and terminal equipment
CN113099440A (en) * 2019-12-23 2021-07-09 阿里巴巴集团控股有限公司 Network configuration method, device, equipment and system
CN111511043A (en) * 2020-04-14 2020-08-07 腾讯科技(深圳)有限公司 Network connection method, device, electronic equipment and storage medium
CN111586691A (en) * 2020-05-20 2020-08-25 青岛海尔科技有限公司 Method and device for configuring wireless connection and wireless connectable equipment
CN114143129A (en) * 2020-08-12 2022-03-04 深圳绿米联创科技有限公司 Gateway batch network access method, device, equipment and storage medium
CN112055082A (en) * 2020-09-08 2020-12-08 北京自如信息科技有限公司 Access equipment detection method and device and computer equipment
CN112152853A (en) * 2020-09-23 2020-12-29 青岛海尔科技有限公司 Equipment network distribution method and device, computer-readable storage medium and electronic device
US11729701B2 (en) 2020-09-25 2023-08-15 Realtek Semiconductor Corp. Distribution network system and method
CN112512097A (en) * 2020-11-18 2021-03-16 北京小米移动软件有限公司 Information processing method and device, electronic equipment and storage medium
CN114698064B (en) * 2020-12-25 2024-06-04 深圳Tcl新技术有限公司 Bluetooth network distribution method, device, system and storage medium
CN114698064A (en) * 2020-12-25 2022-07-01 深圳Tcl新技术有限公司 Bluetooth network distribution method, device, system and storage medium
CN114697000A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Network distribution method, device, terminal and computer readable storage medium
WO2022166755A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 Information processing methods, devices, and storage medium
WO2022166636A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 Device network configuration method and apparatus, devices and storage medium
CN114885295B (en) * 2021-02-05 2023-06-30 Oppo广东移动通信有限公司 Equipment network distribution method, device, equipment and storage medium
CN114885295A (en) * 2021-02-05 2022-08-09 Oppo广东移动通信有限公司 Equipment network distribution method, device, equipment and storage medium
EP4290930A4 (en) * 2021-02-05 2024-05-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Device network configuration method and apparatus, devices and storage medium
WO2022183350A1 (en) * 2021-03-01 2022-09-09 Oppo广东移动通信有限公司 Network configuration method for internet of things device, terminal device, and internet of things device
CN113301672A (en) * 2021-04-01 2021-08-24 浙江大华技术股份有限公司 Network connection method, network node equipment and device
CN113132989B (en) * 2021-04-20 2023-09-15 宁波奥克斯电气股份有限公司 Network distribution method and intelligent home system
CN113132989A (en) * 2021-04-20 2021-07-16 宁波奥克斯电气股份有限公司 Network distribution method and intelligent household system
CN114363994A (en) * 2021-09-27 2022-04-15 北京小米移动软件有限公司 Method, device and system for accessing network by node, electronic equipment and storage medium
CN114363994B (en) * 2021-09-27 2024-04-30 北京小米移动软件有限公司 Method, device and system for node network access, electronic equipment and storage medium
WO2023065887A1 (en) * 2021-10-22 2023-04-27 华为技术有限公司 Network access method and device

Similar Documents

Publication Publication Date Title
CN109246797A (en) A kind of method, apparatus, system and equipment connecting wireless network
KR102398276B1 (en) Method and apparatus for downloading and installing a profile
CN105376738B (en) Wireless network access method, device and system
JP5422571B2 (en) Wireless device registration method and apparatus
CN103929748B (en) A kind of Internet of Things wireless terminal and its collocation method and wireless network access point
US20090253409A1 (en) Method of Authenticating Home Operator for Over-the-Air Provisioning of a Wireless Device
CN113055867A (en) Method and device for auxiliary network distribution of terminal and electronic equipment
CN105517103A (en) Network access method and device based on intelligent terminal device
US11849317B2 (en) Apparatus and method for SSP device and server to negotiate digital certificates
KR20180069074A (en) A method and apparatus for downloading a profile to an embedded universal integrated circuit card (eUICC)
CN106921963A (en) A kind of smart machine accesses the method and device of WLAN
CN109391634A (en) Establish method, terminal and the computer readable storage medium of communication
CN103108311A (en) Method and device and system for binding magnetic tape command (MTC) device and universal integrated circuit card (UICC)
CN102572818B (en) A kind of application key management method of MTC group device and system
CN111726886A (en) Network configuration method and device and electronic equipment
CN105100213A (en) Equipment binding method and device
US9351159B2 (en) Method and apparatus for binding universal integrated circuit card and machine type communication device
CN113785532A (en) Method and apparatus for managing and verifying certificates
CN107749799A (en) Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN108834138A (en) A kind of distribution method and system based on voice print database
CN107454591A (en) Ensure the method, apparatus and system of WIFI LAN communication safeties
CN105991786A (en) Wi-Fi access configuration method, Wi-Fi terminal and access equipment
CN113965916A (en) Equipment network distribution method, device, equipment and computer readable storage medium
CN116097636A (en) Apparatus and method for linking or profile transfer between devices
US20230246998A1 (en) Generation of a unique device identifier for a client device in a wireless network

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201217

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Applicant after: Zebra smart travel network (Hong Kong) Limited

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118