WO2017041675A1 - 一种发送和获取wifi联网信息的方法和对应装置 - Google Patents

一种发送和获取wifi联网信息的方法和对应装置 Download PDF

Info

Publication number
WO2017041675A1
WO2017041675A1 PCT/CN2016/098010 CN2016098010W WO2017041675A1 WO 2017041675 A1 WO2017041675 A1 WO 2017041675A1 CN 2016098010 W CN2016098010 W CN 2016098010W WO 2017041675 A1 WO2017041675 A1 WO 2017041675A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi
ssid
password
smart device
type smart
Prior art date
Application number
PCT/CN2016/098010
Other languages
English (en)
French (fr)
Inventor
刘孙亮
张铭君
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017041675A1 publication Critical patent/WO2017041675A1/zh
Priority to US15/917,033 priority Critical patent/US10595266B2/en

Links

Images

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
    • 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/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a method and a corresponding device for transmitting and acquiring wifi networking information.
  • wifi-type smart devices smart devices with built-in wifi module
  • this smart device can access the network through wifi module), how to make it accessible The network is a problem.
  • wifi-type smart devices such as smart air conditioners, smart humidifiers, and smart weight scales do not have screens like PCs, mobile phones, and tablets, it is impossible to manually discover wireless routers and enter passwords to complete network access. That is to say, a large part of the wifi-type smart device can scan to the surrounding wireless router, but can not let the user perceive what it "sees", and the user cannot directly input the wireless through the keyboard or touch screen.
  • the router's service set identifier and password allow the wifi-type smart device to access the network.
  • the first way the mobile phone sends a data packet to the router through UDP (User Datagram Protocol), and the router forwards the data packet. Since the amount of information that a data packet can carry is small, a packet can only carry at most 1 byte of information. Therefore, it is necessary to transmit a set of data packets and pass the wifi networking information through a regular change of the packet length.
  • the wifi-type smart device parses a set of data packets, and obtains wifi networking information from it to access the network.
  • the number of data packets to be sent is large, resulting in long transmission time.
  • the wifi-type smart device takes too long to obtain the wifi networking information.
  • the requirements for the actual development of fault-tolerant algorithms are high, and the technology is complicated.
  • the second way the mobile phone sends multicast packets to the router through UDP, and the router forwards the multicast data packets.
  • the wifi-type intelligent device parses the multicast data packet, and obtains the wifi networking information from the wifi-type intelligent device to access the network.
  • the multicast compatibility problem is more prominent in this way.
  • some routers enable specific options (such as IGMP Snooping)
  • the multicast packets will not be forwarded, which may cause the wifi-type smart device to be unable to access the network for a long time. .
  • the present invention provides a method and a corresponding device for transmitting and acquiring wifi networking information, so as to reduce the delay and technical complexity of the wifi-type smart device accessing the network.
  • the present invention provides a method for transmitting wifi networking information, the method comprising:
  • the first wifi-type smart device generates a management frame carrying wifi networking information
  • the management frame includes: a probe request probe request frame, a probe response probe response frame, an association request association request frame, a reassociation request reassociation request frame, an action frame, or a beacon beacon frame.
  • the wifi networking information includes a feature code, an SSID, and a password.
  • the wifi networking information includes an identifier for providing a networked information service
  • the method also includes:
  • the SSID and the password are sent through the established connection.
  • the method further includes: the first wifi-type smart device and the second wifi-type smart device establish a connection by using a wifi direct mode;
  • the management frame carrying the wifi networking information is a management frame sent during the connection establishment process.
  • the wifi networking information includes a feature code, an SSID, and a password
  • the wifi networking information includes an SSID and a password, and the wifi networking information is carried in a specified extension field of the management frame.
  • the information sent together with the SSID and the password further includes at least one of verification information, encryption information, and router authentication information;
  • the SSID and the password are encrypted data.
  • the method further includes:
  • the first wifi-type smart device receives feedback information of whether the second wifi-type smart device successfully accesses the network.
  • sending the management frame includes:
  • the first wifi-type smart device sends the management frame by calling a wifi direct interface
  • the first wifi-type smart device sends the management frame by calling a custom interface.
  • the present invention also provides another method for obtaining wifi networking information, the method comprising:
  • the second wifi type smart device monitors the management frame sent by the first wifi type smart device
  • the management frame includes: a probe request frame, a probe response frame, an association request frame, a reassociation request frame, an action frame, or a beacon frame.
  • the wifi networking information includes a feature code, an SSID, and a password.
  • the method further includes:
  • the second wifi-type smart device parses the identifier for providing the networked information service from the management frame, establish a connection with the first wifi-type smart device by using a wifi direct manner, and receive the SSID and the password through the established connection. .
  • the method further includes: the second wifi-type smart device and the first wifi-type smart device establish a connection by using a wifi direct mode;
  • the second wifi-type smart device parses the wifi networking information from a management frame received in the connection establishment process.
  • the wifi networking information includes: a feature code, an SSID, and a password.
  • parsing the management frame to obtain wifi networking information includes:
  • the second wifi-type smart device determines a management frame that is included in the monitored management frame and whose signature is consistent with the preset signature information
  • the SSID and password are parsed from the management frame in accordance with a pre-agreed wifi networking information format.
  • the wifi networking information includes: an SSID and a password
  • Parsing the management frame to obtain the wifi networking information includes: the second wifi-type smart device parsing the SSID and the password from the specified extension field of the management frame.
  • the method further comprises at least one of the following:
  • the second wifi-type smart device performs verification on the SSID and the password by using the verification information received together with the SSID and the password;
  • the second wifi-type smart device decrypts the SSID and the password by using the encrypted information received together with the SSID and the password;
  • the second wifi-type smart device transmits an authentication request to the accessed wireless router by using the router authentication information received along with the SSID and the password.
  • the method further includes:
  • the second wifi-type smart device After the network access is performed by using the SSID and the password, the second wifi-type smart device sends feedback information of whether the network is successfully accessed to the first wifi-type smart device.
  • the present invention also provides an apparatus for transmitting wifi networking information, which is disposed on a first wifi type smart device, and the device includes:
  • a generating unit configured to generate a management frame carrying wifi networking information
  • the first sending unit is configured to send the management frame for the second wifi type smart device to monitor.
  • the management frame includes: a probe request frame, a probe response frame, an association request frame, a reassociation request frame, an action frame, or a beacon frame.
  • the wifi networking information includes a feature code, an SSID, and a password.
  • the wifi networking information includes an identifier for providing a networked information service
  • the device also includes:
  • connection establishing unit configured to establish a connection between the first wifi-type smart device and the second wifi-type smart device by using a wifi direct manner
  • a second sending unit configured to send the SSID and the password through the connection.
  • the device further comprises:
  • connection establishing unit configured to establish a connection between the first wifi-type smart device and the second wifi-type smart device by using a wifi direct manner
  • the management frame carrying the wifi networking information is a management frame sent during the connection establishment process.
  • the wifi networking information includes a feature code, an SSID, and a password
  • the wifi networking information includes an SSID and a password, and the wifi networking information is carried in a specified extension field of the management frame.
  • the information sent together with the SSID and the password further includes at least one of verification information, encryption information, and router authentication information;
  • the SSID and the password are encrypted data.
  • the device further comprises:
  • the feedback receiving unit is configured to receive feedback information about whether the second wifi-type smart device successfully accesses the network.
  • the first sending unit specifically performs:
  • the management frame is sent by calling a custom interface.
  • the present invention also provides another device for obtaining wifi networking information, which is disposed on a second wifi type smart device, and the device includes:
  • a monitoring unit configured to monitor a management frame sent by the first wifi-type smart device
  • a parsing unit configured to parse the management frame to obtain wifi networking information.
  • the management frame includes: a probe request frame, a probe response frame, an association request frame, a reassociation request frame, an action frame, or a beacon frame.
  • the wifi networking information includes a feature code, an SSID, and a password.
  • the device further comprises:
  • connection establishing unit if the parsing unit parses the identifier for providing the networked information service from the management frame, establishing a relationship between the first wifi-type smart device and the second wifi-type smart device by using a wifi direct method connection;
  • a receiving unit configured to receive the SSID and the password through the connection.
  • the device further comprises:
  • connection establishing unit configured to establish a connection between the second wifi-type smart device and the first wifi-type smart device by using a wifi direct mode
  • the parsing unit parses the wifi networking information from a management frame that is monitored during the connection establishment process.
  • the wifi networking information includes: a feature code, an SSID, and a password.
  • the parsing unit is specifically configured to determine, according to a pre-agreed wifi networking information format, a management frame that is consistent with a preset feature code information included in the monitored management frame;
  • the SSID and password are parsed in the management frame.
  • the wifi networking information includes: an SSID and a password
  • the parsing unit is specifically configured to parse the SSID and the password from the specified extension field of the management frame.
  • the apparatus further comprises at least one of the following units:
  • a verification unit configured to verify the SSID and the password by using the verification information received together with the SSID and the password
  • a decryption unit configured to decrypt the SSID and the password by using the encrypted information received together with the SSID and the password;
  • An authentication unit for accessing the router authentication information received together with the SSID and the password The wireless router sends an authentication request.
  • the device further comprises:
  • a feedback sending unit configured to send, to the first wifi-type smart device, feedback information of whether the network is successfully accessed after the network access is performed by using the SSID and the password by the two wifi-type smart devices.
  • the present invention carries the wifi networking information through the management frame, and the management frame can carry a large amount of data (currently supports carrying at least 32 bytes of data), and the required number of packets to be sent is small, correspondingly, wifi
  • the time delay of the type of smart device accessing the network is small, and no complicated fault-tolerant algorithm is needed, and the technical complexity is low.
  • the management frame also avoids the situation that the wifi-type smart device cannot access the network for a long time caused by the multicast data compatibility problem.
  • FIG. 1 is a schematic structural diagram of a system on which an embodiment of the present invention is based;
  • FIG. 2 is a flowchart of a first method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a second method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a process of establishing a connection by using wifi direct technology according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a third method according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a first device installed in a first wifi-type smart device according to an embodiment of the present invention.
  • 6b is a structural diagram of a second device installed in a first wifi-type smart device according to an embodiment of the present invention.
  • 6c is a structural diagram of a third device installed in a first wifi-type smart device according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a first device installed in a second wifi-type smart device according to an embodiment of the present invention.
  • FIG. 7b is a structural diagram of a second device installed in a second wifi-type smart device according to an embodiment of the present invention.
  • FIG. 7c is a structural diagram of a third apparatus installed in a second wifi type smart device according to an embodiment of the present invention.
  • the core idea of the present invention is that a management frame carrying wifi networking information is constructed by the first wifi-type smart device, and the management frame is sent for the second wifi-type smart device to monitor and parse the wifi networking information from the management frame.
  • the management frame may be, but not limited to, a probe request frame, a probe response frame, an association request frame, a reassociation request frame, and an action. Frame or beacon frame.
  • the first wifi-type smart device may be a smart device including a wifi module and an input device, such as a smart phone, a tablet, a notebook, etc., wherein the input device may include a touch screen. , keyboard, tablet, etc., these input devices can easily input wifi networking information such as SSID and password.
  • the second wifi type smart device may be a smart home device such as a smart air conditioner, a smart humidifier, a smart weight scale, a smart washing machine, or a smart office device such as a wifi type printer, and the second wifi type smart device usually includes a wifi module but Input devices such as touch screens, keyboards, and tabletes may not be included.
  • the smart phone is used as the first wifi type smart device and the smart home device is taken as the second wifi type smart device as an example for description.
  • FIG. 2 is a flowchart of a first method according to an embodiment of the present invention. As shown in FIG. 2, the method may include:
  • the smart home device enters a listening state.
  • the wifi module of the wifi smart home device usually has two modes, one is the monitor mode and the other is the station mode.
  • the monitor mode is mainly used to monitor data packets in the wireless network
  • the station mode is a working mode after the wifi device is connected to the network (connecting the router).
  • the smart home device enters the listening state.
  • the smart home device may be in the listening state by default, or may be manually switched to the listening state by the user.
  • the smart phone In 202, the smart phone generates a management frame carrying wifi networking information, wherein the wifi networking information includes a feature code, an SSID and a password of the target router, and the like.
  • the management frame in this step may be a probe request frame, a probe response frame, an action frame, or a beacon frame.
  • the feature code, the SSID and the password of the target router in the management frame may be carried in a pre-agreed format, wherein the feature code is used to represent that the management frame carries the wifi networking information, and the SSID and password of the target network are used for connecting the wireless terminal device to the wireless device.
  • the router is connected to the target network.
  • a signature code, an SSID, and a password are carried, for example, in a management frame by using 50 bytes of continuous storage.
  • the feature code assumes the "APCP" identifier agreed by both parties, which occupies 4 bytes, and the remaining 46 bytes are used to carry the SSID and password.
  • the wifi networking information may include at least one of verification information, encryption information, and router authentication information in addition to the feature code, the SSID, and the password.
  • the verification information is used for verifying the wifi networking information
  • the encryption information is used to indicate the encryption method, for example, DES (Data Encryption Standard), IDEA (International Data Plus)
  • the encryption method can be used to indicate the type of authentication that needs to be performed when accessing the network. For example, WEP (Wired Equivalent Privacy), WPA (Wi-Fi Network Protection Access), WPA2, etc. can be used.
  • the feature code, the SSID, the password, and the check information are carried in a management frame using 50 bytes of continuous storage.
  • the feature code assumes the APCP identifier, which occupies 4 bytes, the last 2 bytes are used to carry the check code, and the remaining 44 bytes are used to carry the SSID and password.
  • the manner in which other information is carried is similar to this, and is not exemplified.
  • the SSID and password in the wifi networking information can be encrypted, and the pre-agreed encryption method can be used, or the encryption method indicated by the encrypted information carried by the wifi networking information can be used.
  • the wifi direct interface is invoked to send a management frame carrying the wifi networking information.
  • the smart phone can send the management frame by calling the wifi direct interface.
  • most smart phones can support the wifi direct technology, and the smart phone can directly send the management frame by calling the wifi direct interface.
  • the solution can use the API of the publishing service (MCNearbyServiceAdvertiser or MCAdvertiserAssistant) in the framework to send management frames carrying wifi networking information.
  • the above steps 202 and 203 may be performed under the trigger of the user.
  • the user inputs the SSID and password on the smart phone or selects the scanned SSID and inputs the password, and then triggers the smartphone to execute the above 202 and 203 by clicking a function button or the like.
  • step 201 may also be performed after 202 and 203, or may be performed simultaneously with 202 and 203.
  • the user can switch the smart home device to the listening state at the same time or after sending the management frame carrying the wifi networking information through the smart phone.
  • the management frame sent by the smart phone does not need to be directly sent to the wifi-type smart device in the listening state by using the wifi direct technology.
  • the smart home device parses the monitored management frame to obtain wifi networking information.
  • the feature code information may be set in the smart home device in advance, and the smart home device first determines whether the feature code included in the monitored management frame is consistent with the preset feature code information, and filters out the inconsistent management frame.
  • the SSID and the secret are parsed from the management frame according to the pre-agreed wifi networking information format. code.
  • the APCP is preset as the feature code information, and the content included in the received management frame is compared with the APCP to determine whether the APCP is included. If not, it is determined that the management frame does not include the wifi networking information; Including APCP, it is determined that the management frame contains wifi networking information, and can be parsed according to a pre-agreed wifi networking information format, for example, obtaining an SSID and a password from the next 44 bytes of the signature information, and utilizing the next A 2-byte check code is verified.
  • a pre-agreed wifi networking information format for example, obtaining an SSID and a password from the next 44 bytes of the signature information, and utilizing the next A 2-byte check code is verified.
  • the smart home device can decrypt using the pre-agreed encryption method or the encryption method indicated by the encrypted information acquired in the wifi networking information to obtain the decrypted SSID and password.
  • the wifi networking information can be carried without being restricted to the called interface, and is not limited to the specific type of management frame used.
  • the smart home device utilizes the acquired wifi networking information to access the network.
  • the smart home device connects to the wireless router by using the parsed SSID and password to access the network, and can further use the router authentication information parsed from the wifi networking information to send an authentication request to the accessed wireless router.
  • FIG. 3 is a flowchart of a second method according to an embodiment of the present invention. As shown in FIG. 3, the method may include:
  • the smart home device enters a listening state.
  • This step is similar to step 201 and will not be described in detail.
  • the smartphone invokes the wifi direct interface to send a management frame carrying the service identifier, the service identifier indicating that the networked information service is provided.
  • step 203 For the interface that is sent by the management frame, refer to the related description of step 203 shown in FIG. 2, and details are not described herein again.
  • the management frame may not carry a specific SSID and password, but carries a service identifier for indicating that the network information service is provided.
  • the service identifier may be a signature or a specific service name.
  • steps 301 and 302 may be performed in any order, or simultaneously.
  • the smart home device listens to the management frame containing the service identifier, it requests to connect to the smartphone.
  • the smartphone accepts a request to establish a connection with the smart home device.
  • connection establishment is as shown in Figure 4, which mainly includes the following stages:
  • the discovery phase the smart phone and the smart home device are both in the listening state, and the probe request frame is mutually sent.
  • the probe request frame carries the device identifier of the frame, and the device that listens to the probe request frame replies to the probe response.
  • Frame the device ID of the frame that carries the frame in the probe response frame.
  • This phase mainly negotiates the GO (Group Owner) between the smartphone and the smart home device, including the GO negotiation request frame, the GO negotiation response frame, and the GO negotiation. Confirm (GO Negotiation Confirmation) frame.
  • the negotiated GO acts as an AP-like role.
  • Association phase Associate and exchange WSC (Wifi Simple Config, wifi configuration information), where the association process includes an association request frame and an association response frame.
  • WSC Wi Simple Config, wifi configuration information
  • Authentication phase Negotiate authentication information.
  • the authentication is mainly to negotiate the authentication mode of the device as a GO to another device.
  • the smart home device and the smart phone can also be used to authenticate the identity of the other party.
  • Connection phase Establish a connection by handshake.
  • the smartphone sends the SSID and password via a connection established with the smart home device.
  • the SSID and the password may be encrypted information, and may be a pre-agreed encryption method or an encryption method indicated by the encrypted information carried by the wifi networking information.
  • the smart home device accesses the network using the received SSID and password.
  • the smart home device connects to the wireless router by using the received SSID and password to access the network, and can further utilize the received router authentication information to send an authentication request to the accessed wireless router.
  • the smart home device sends feedback information to the smartphone whether it successfully accesses the network.
  • the smart phone can obtain feedback information about whether the smart home device successfully accesses the network. If the network is successfully accessed, the smart phone can disconnect from the smart home device. If the access to the network fails, the smartphone can resend the SSID and password via the connection established with the smart home device.
  • FIG. 5 is a flowchart of a third method according to an embodiment of the present invention. As shown in FIG. 5, the method may include:
  • the smart home device and the smart phone establish a connection through the wifi direct technology, and carry the wifi networking information through the management frame sent by the smart phone during the connection process.
  • the smart phone may send a probe request frame, a probe response frame, an association request frame, a reassociation request frame, and an action frame during the process (optional in the discovery phase and the negotiation phase).
  • the action frame is transmitted, and the beacon frame is sent. After the handshake is successful, the beacon frame is sent.
  • the smart phone can send the wifi networking information through the frames.
  • the wifi networking information can be carried in, but not limited to, the following two methods:
  • wifi networking information includes at least the feature code, SSID and password, carrying mode and Figure 2
  • the method in the example is similar and will not be described again. It may further include at least one of verification information, encryption information, and router authentication information. In this way, it is not necessary to limit the specific fields of the wifi networking information in the management frame, and the implementation is more flexible.
  • the wifi networking information includes at least the SSID and the password, and may not include the signature, and the SSID and the password are carried in the specified extension field of the management frame. That is to say, by performing field expansion on the management frame, the management frame is carried at the specified location.
  • the wifi networking information may further include at least one of verification information, encryption information, and router authentication information.
  • the smart home device parses the monitored management frame to obtain wifi networking information.
  • the smart home device first determines whether the feature code included in the monitored management frame is consistent with the preset signature information, and filters out the inconsistent management frame. For a consistent management frame, the SSID and password are parsed from the management frame according to the pre-agreed wifi networking information format.
  • the smart home device can parse the SSID and the password from the specified extension field of the management frame.
  • the smart home device accesses the network using the acquired wifi networking information.
  • the smart home device sends feedback information to the smartphone whether the network is successfully accessed.
  • FIG. 6a is a structural diagram of a device according to an embodiment of the present invention.
  • the device may be disposed on a first wifi-type smart device.
  • the main functions of each component of the device are as follows:
  • the generating unit 01 is responsible for generating a management frame carrying wifi networking information.
  • the management frame may include, but is not limited to, a probe request frame, a probe response frame, an association request frame, a reassociation request frame, an action frame, or a beacon frame.
  • the first sending unit 02 sends a management frame for the second wifi type smart device to monitor.
  • the first sending unit 02 can send the management frame by calling the wifi direct interface. If it is a self-developed wifi type smart device, the management frame can also be sent by calling a custom interface.
  • the wifi networking information may include a feature code, an SSID, and a password, and may further include at least one of verification information, encryption information, and router authentication information.
  • the device structure corresponding to this implementation is shown in Figure 6a.
  • the feature code, the SSID and the password of the target router in the management frame may be carried in a pre-agreed format, wherein the feature code is used to represent that the management frame carries the wifi networking information, and the SSID and password of the target network are used for intelligence.
  • the terminal device is connected to the wireless router to access the target network.
  • the verification information is used to verify the wifi networking information
  • the encryption information is used to indicate the encryption mode. For example, the DES, IDEA, and the like may be used.
  • the router authentication information may be used to indicate the type of authentication required to access the network, for example, Use WEP, WPA, WPA2, etc.
  • the wifi networking information includes an identification that provides a networked information service.
  • the connection establishing unit 03 establishes a connection between the first wifi type smart device and the second wifi type smart device by using a wifi direct method.
  • the second transmitting unit 04 transmits the SSID and the password through the established connection described above. That is to say, the first wifi-type smart device first sends a service identifier through the management frame, and after receiving the second wifi-type smart device to listen to the service identifier and send a connection request, establish a connection and send the SSID and password through the connection.
  • the device structure corresponding to the device can be as shown in Figure 6b.
  • connection establishing unit 03 establishes a connection between the first wifi type smart device and the second wifi type smart device by using a wifi direct method.
  • the frame transmitted by the first transmitting unit 02 described above is a management frame transmitted in the above connection establishment process.
  • the device structure of this implementation can be as shown in Figure 6c.
  • the wifi networking information may include a feature code, an SSID, and a password. It is also possible not to include the signature, but only the SSID and the password. For the latter method, the wifi networking information can be carried in the specified extension field of the management frame.
  • the information sent together with the SSID and the password may further include at least one of verification information, encryption information, and router authentication information.
  • the SSID and the password are the encrypted data.
  • the feedback receiving unit 05 is responsible for receiving feedback information of whether the second wifi-type smart device successfully accesses the network. If the network is successfully accessed, the connection establishing unit 03 can disconnect the connection established with the smart home device. If the access network fails, the first sending unit 02 or the second sending unit 04 can resend the SSID and password through the connection established with the smart home device.
  • FIG. 7a is a structural diagram of a second device according to an embodiment of the present invention.
  • the device is disposed on a second wifi-type smart device.
  • the main functions of each component of the device are as follows:
  • the monitoring unit 11 is responsible for monitoring the management frame sent by the first wifi-type smart device.
  • the parsing unit 12 is responsible for parsing the management frame and obtaining wifi networking information.
  • the management frame includes: a probe request frame, a probe response frame, an association request frame, a reassociation request frame, an action frame, or a beacon frame.
  • the parsing unit 12 can parse the feature code, the SSID, and the password from the wifi networking information. Specifically, the parsing unit 12 may determine a management frame that is consistent with the preset signature information included in the monitored management frame; and parse the SSID and the password from the management frame according to the pre-agreed wifi networking information format.
  • the structure of the device of this implementation is shown in Figure 7a.
  • the parsing unit 12 may parse the identifier for providing the networked information service from the wifi networking information, and the connection establishing unit 13 establishes between the first wifi-type smart device and the second wifi-type smart device by using the wifi direct method. Connection.
  • the connection establishment request can be issued by the connection establishing unit 13.
  • the receiving unit 14 receives the SSID and the password through the connection.
  • the structure of the device of this implementation is shown in Figure 7b.
  • connection establishing unit 13 establishes a connection between the first wifi type smart device and the second wifi type smart device by using a wifi direct method.
  • the parsing unit 12 parses the wifi networking information from the management frame monitored by the listening unit 11 during the connection establishment process.
  • the structure of the device of this implementation is shown in Figure 7c.
  • the wifi networking information may include: a feature code, an SSID, and a password.
  • the parsing unit 12 may determine a management frame that is consistent with the preset signature information included in the monitored management frame; and parse the SSID and the password from the management frame according to the pre-agreed wifi networking information format.
  • the wifi networking information may include: an SSID and a password.
  • the parsing unit 12 parses the SSID and the password from the specified extension field of the management frame.
  • the foregoing three implementation manners, together with the SSID and the password, may also include, but are not limited to, at least one of verification information, encryption information, and router authentication information.
  • the verification unit 15 is responsible for verifying the SSID and the password using the verification information received together with the SSID and the password.
  • the decryption unit 16 is responsible for decrypting the SSID and the password using the encrypted information received along with the SSID and the password.
  • the decryption unit 16 can also decrypt the SSID and password using pre-agreed encryption information.
  • the authentication unit 17 is responsible for transmitting an authentication request to the accessed wireless router using the router authentication information received along with the SSID and the password.
  • the unit may be an existing unit of the second wifi type smart device, which is responsible for connecting the wireless router by using the SSID and the password to access the network), using the SSID and the password for network access
  • the feedback sending unit 18 is responsible for transmitting, to the first wifi-type smart device, feedback information of whether the network is successfully accessed.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated order The element can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Abstract

本发明提供了一种发送和获取wifi联网信息的方法和对应装置,其中方法包括:第一wifi型智能设备生成携带wifi联网信息的管理帧;发送所述管理帧,以供第二wifi型智能设备监听。第二wifi型智能设备监听第一wifi型智能设备发送的管理帧;解析所述管理帧得到wifi联网信息,从而能够利用得到的wifi联网信息接入网络。本发明能够降低wifi型智能设备接入网络的延时和技术复杂性。

Description

一种发送和获取wifi联网信息的方法和对应装置
本申请要求2015年09月10日递交的申请号为201510571603.1、发明名称为“一种发送和获取wifi联网信息的方法和对应装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机应用技术领域,特别涉及一种发送和获取wifi联网信息的方法和对应装置。
背景技术
随着智能硬件的兴起,越来越多的智能设备进入人们的生活,对于wifi型智能设备(内置wifi模块的智能设备,这种智能设备能够通过wifi模块接入网络),如何让其接入网络是个难题。
由于诸如智能空调、智能加湿器、智能体重计等wifi型智能设备不像PC、手机、平板电脑等具有屏幕,无法通过手动发现无线路由器并输入密码完成网络接入。也就是说,很大一部分wifi型智能设备可以扫描到周围的无线路由器,但无法让用户感知到它“看到”什么,用户也无法通过直接地手工交互方式(例如通过键盘或触摸屏幕输入无线路由器的服务集标识和密码)让wifi型智能设备接入网络。
为了解决上述难题,目前业内主要存在以下几种实现方式:
第一种方式:手机通过UDP(用户数据报协议)向路由器发送数据包,路由器转发数据包。由于数据包能够携带的信息量很少,一个包最多只能携带1个字节的信息,因此需要通过发送一组数据包,通过包长的有规律变化来传递wifi联网信息。wifi型智能设备解析一组数据包,从中获取wifi联网信息从而接入网络。
这种方式需要发送的数据包数量很多,导致发送时间长,wifi型智能设备获取wifi联网信息的时间过长,另外,为了防止丢包对实际开发容错算法要求较高,技术复杂。
第二种方式:手机通过UDP向路由器发送组播数据包,路由器转发组播数据包。wifi型智能设备解析组播数据包,从中获取wifi联网信息从而接入网络。但这种方式组播兼容性问题比较突出,有些路由器在开启特定选项的情况下(例如IGMP Snooping),该组播数据包不会被转发,则可能造成wifi型智能设备长时间无法接入网络。
发明内容
有鉴于此,本发明提供了一种发送和获取wifi联网信息的方法和对应装置,以便于降低wifi型智能设备接入网络的延时和技术复杂性。
具体技术方案如下:
本发明提供了一种发送wifi联网信息的方法,该方法包括:
第一wifi型智能设备生成携带wifi联网信息的管理帧;
发送所述管理帧,以供第二wifi型智能设备监听。
根据本发明一优选实施方式,所述管理帧包括:探测请求probe request帧、探测响应probe response帧、关联请求association request帧、重新关联请求reassociation request帧、action帧或信标beacon帧。
根据本发明一优选实施方式,所述wifi联网信息包括特征码、SSID和密码。
根据本发明一优选实施方式,所述wifi联网信息包括提供联网信息服务的标识;
该方法还包括:
所述第一wifi型智能设备与所述第二wifi型智能设备通过wifi direct方式建立连接后,通过建立的连接发送SSID和密码。
根据本发明一优选实施方式,该方法还包括:所述第一wifi型智能设备与所述第二wifi型智能设备通过wifi direct方式建立连接;
所述携带wifi联网信息的管理帧为所述连接建立过程中发送的管理帧。
根据本发明一优选实施方式,所述wifi联网信息包括特征码、SSID和密码;
所述wifi联网信息包括SSID和密码,所述wifi联网信息携带在所述管理帧的指定扩展字段中。
根据本发明一优选实施方式,连同所述SSID和密码一起发送的信息还包括校验信息、加密信息和路由器认证信息中的至少一种;
其中当发送所述加密信息时,所述SSID和密码为加密后的数据。
根据本发明一优选实施方式,该方法还包括:
所述第一wifi型智能设备接收所述第二wifi型智能设备发送的是否成功接入网络的反馈信息。
根据本发明一优选实施方式,发送所述管理帧包括:
所述第一wifi型智能设备通过调用wifi direct接口发送所述管理帧;或者,
所述第一wifi型智能设备通过调用自定义的接口发送所述管理帧。
本发明还提供了另一种获取wifi联网信息的方法,该方法包括:
第二wifi型智能设备监听第一wifi型智能设备发送的管理帧;
解析所述管理帧得到wifi联网信息。
根据本发明一优选实施方式,所述管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或beacon帧。
根据本发明一优选实施方式,所述wifi联网信息包括特征码、SSID和密码。
根据本发明一优选实施方式,该方法还包括:
如果所述第二wifi型智能设备从所述管理帧中解析出提供联网信息服务的标识,则通过wifi direct方式与所述第一wifi型智能设备建立连接,并通过建立的连接接收SSID和密码。
根据本发明一优选实施方式,该方法还包括:所述第二wifi型智能设备与所述第一wifi型智能设备通过wifi direct方式建立连接;
所述第二wifi型智能设备从所述连接建立过程中接收到的管理帧中解析得到所述wifi联网信息。
根据本发明一优选实施方式,所述wifi联网信息包括:特征码、SSID和密码。
根据本发明一优选实施方式,解析所述管理帧得到wifi联网信息包括:
所述第二wifi型智能设备确定监听到的管理帧所包含特征码与预设的特征码信息一致的管理帧;
按照预先约定的wifi联网信息格式,从所述管理帧中解析出SSID和密码。
根据本发明一优选实施方式,所述wifi联网信息包括:SSID和密码;
解析所述管理帧得到wifi联网信息包括:所述第二wifi型智能设备从所述管理帧的指定扩展字段中解析出SSID和密码。
根据本发明一优选实施方式,该方法还包括以下至少一种:
所述第二wifi型智能设备利用连同所述SSID和密码一起接收到的校验信息,对所述SSID和密码进行校验;
所述第二wifi型智能设备利用连同所述SSID和密码一起接收到的加密信息,对所述SSID和密码进行解密;
所述第二wifi型智能设备利用连同所述SSID和密码一起接收到的路由器认证信息,向接入的无线路由器发送认证请求。
根据本发明一优选实施方式,该方法还包括:
所述第二wifi型智能设备在利用所述SSID和密码进行网络接入后,向所述第一wifi型智能设备发送是否成功接入网络的反馈信息。
本发明还提供了一种发送wifi联网信息的装置,设置于第一wifi型智能设备,该装置包括:
生成单元,用于生成携带wifi联网信息的管理帧;
第一发送单元,用于发送所述管理帧,以供第二wifi型智能设备监听。
根据本发明一优选实施方式,所述管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或信标beacon帧。
根据本发明一优选实施方式,所述wifi联网信息包括特征码、SSID和密码。
根据本发明一优选实施方式,所述wifi联网信息包括提供联网信息服务的标识;
该装置还包括:
连接建立单元,用于通过wifi direct方式建立所述第一wifi型智能设备与所述第二wifi型智能设备之间的连接;
第二发送单元,用于通过所述连接发送SSID和密码。
根据本发明一优选实施方式,该装置还包括:
连接建立单元,用于通过wifi direct方式建立所述第一wifi型智能设备与所述第二wifi型智能设备之间的连接;
所述携带wifi联网信息的管理帧为所述连接建立过程中发送的管理帧。
根据本发明一优选实施方式,所述wifi联网信息包括特征码、SSID和密码;
所述wifi联网信息包括SSID和密码,所述wifi联网信息携带在所述管理帧的指定扩展字段中。
根据本发明一优选实施方式,连同所述SSID和密码一起发送的信息还包括校验信息、加密信息和路由器认证信息中的至少一种;
其中当发送所述加密信息时,所述SSID和密码为加密后的数据。
根据本发明一优选实施方式,该装置还包括:
反馈接收单元,用于接收所述第二wifi型智能设备发送的是否成功接入网络的反馈信息。
根据本发明一优选实施方式,所述第一发送单元具体执行:
通过调用wifi direct接口发送所述管理帧;或者,
通过调用自定义的接口发送所述管理帧。
本发明还提供了另一种一种获取wifi联网信息的装置,设置于第二wifi型智能设备,该装置包括:
监听单元,用于监听第一wifi型智能设备发送的管理帧;
解析单元,用于解析所述管理帧得到wifi联网信息。
根据本发明一优选实施方式,所述管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或beacon帧。
根据本发明一优选实施方式,所述wifi联网信息包括特征码、SSID和密码。
根据本发明一优选实施方式,该装置还包括:
连接建立单元,如果所述解析单元从所述管理帧中解析出提供联网信息服务的标识,则通过wifi direct方式建立所述第一wifi型智能设备与所述第二wifi型智能设备之间的连接;
接收单元,用于通过所述连接接收SSID和密码。
根据本发明一优选实施方式,该装置还包括:
连接建立单元,用于通过wifi direct方式建立所述第二wifi型智能设备与所述第一wifi型智能设备之间的连接;
所述解析单元从所述连接建立过程中监听到的管理帧中解析得到所述wifi联网信息。
根据本发明一优选实施方式,所述wifi联网信息包括:特征码、SSID和密码。
根据本发明一优选实施方式,所述解析单元,具体用于确定监听到的管理帧所包含特征码与预设的特征码信息一致的管理帧;按照预先约定的wifi联网信息格式,从所述管理帧中解析出SSID和密码。
根据本发明一优选实施方式,所述wifi联网信息包括:SSID和密码;
所述解析单元,具体用于从所述管理帧的指定扩展字段中解析出SSID和密码。
根据本发明一优选实施方式,该装置还包括以下单元中的至少一个:
校验单元,用于利用连同所述SSID和密码一起接收到的校验信息,对所述SSID和密码进行校验;
解密单元,用于利用连同所述SSID和密码一起接收到的加密信息,对所述SSID和密码进行解密;
认证单元,用于利用连同所述SSID和密码一起接收到的路由器认证信息,向接入 的无线路由器发送认证请求。
根据本发明一优选实施方式,该装置还包括:
反馈发送单元,用于在所述二wifi型智能设备利用所述SSID和密码进行网络接入后,向所述第一wifi型智能设备发送是否成功接入网络的反馈信息。
由以上技术方案可以看出,本发明通过管理帧携带wifi联网信息,管理帧可以携带的数据量较大(目前支持携带至少32个字节的数据),需要的发包数量少,相应地,wifi型智能设备接入网络的延时小,也不需要复杂的容错算法,技术复杂度低。并且管理帧也避免了组播数据兼容性问题所导致的wifi型智能设备长时间无法接入网络的情况。
附图说明
图1为本发明实施例所基于的系统组成示意图;
图2为本发明实施例提供的第一种方法流程图;
图3为本发明实施例提供的第二种方法流程图;
图4为本发明实施例提供的通过wifi direct技术建立连接的过程示意图;
图5为本发明实施例提供的第三种方法流程图;
图6a为本发明实施例提供的设置于第一wifi型智能设备的第一种装置结构图;
图6b为本发明实施例提供的设置于第一wifi型智能设备的第二种装置结构图;
图6c为本发明实施例提供的设置于第一wifi型智能设备的第三种装置结构图;
图7a为本发明实施例提供的设置于第二wifi型智能设备的第一种装置结构图;
图7b为本发明实施例提供的设置于第二wifi型智能设备的第二种装置结构图;
图7c为本发明实施例提供的设置于第二wifi型智能设备的第三种装置结构图。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。
本发明的核心思想在于,由第一wifi型智能设备构造携带wifi联网信息的管理帧,并发送该管理帧,以供第二wifi型智能设备监听并从管理帧中解析得到wifi联网信息。其中管理帧可以采用但不限于:probe request(探测请求)帧、probe response(探测响应)帧、association request(关联请求)帧、reassociation request(重新关联请求)帧、action 帧或beacon(信标)帧。
图1为本发明实施例所基于的系统组成示意图,其中第一wifi型智能设备可以是诸如智能手机、平板电脑、笔记本等包含wifi模块且具有输入设备的智能设备,其中输入设备可以包括触摸屏幕、键盘、手写板等,这些输入设备可以方便的进行SSID和密码等wifi联网信息的输入。第二wifi型智能设备可以是诸如智能空调、智能加湿器、智能体重计、智能洗衣机等智能家居设备,也可以是诸如wifi型打印机等智能办公设备,第二wifi型智能设备通常包含wifi模块但可以不包含诸如摸屏幕、键盘、手写板等输入设备。
下面实施例中均以智能手机作为第一wifi型智能设备以及智能家居设备作为第二wifi型智能设备为例进行描述。
图2为本发明实施例提供的第一种方法流程图,如图2中所示,该方法可以包括:
在201中,智能家居设备进入监听状态。
wifi型智能家居设备的wifi模块通常都具有两种模式,一种是monitor模式,另一种是station模式。其中,monitor模式主要用于监听无线网络内的数据包,station模式是wifi设备联网(连接路由器)后的工作模式。当智能家居设备进入monitor模式时,进入监听状态。在本发明实施例中,智能家居设备可以默认处于监听状态,也可以由用户手动将其切换至监听状态。
在202中,智能手机生成携带wifi联网信息的管理帧,其中wifi联网信息包括特征码、目标路由器的SSID和密码等。
本步骤中的管理帧可以是probe request帧、probe response帧、action帧或beacon帧等。
在管理帧中特征码、目标路由器的SSID和密码可以按照预先约定的格式携带,其中特征码用于表征该管理帧携带wifi联网信息的,目标网络的SSID和密码是用于智能终端设备连接无线路由器以接入目标网络的。
举一个例子,例如在管理帧中采用50个字节连续存储的方式携带特征码、SSID和密码。其中特征码假设采用双方约定的“APCP”标识,其占用4个字节,那么其余46个字节用于携带SSID和密码。
另外,wifi联网信息除了包含特征码、SSID和密码之外,还可以包含校验信息、加密信息和路由器认证信息中的至少一种。其中校验信息用于对wifi联网信息进行校验,加密信息用于指示加密方式,例如可以采用DES(数据加密标准)、IDEA(国际数据加 密算法)等加密方式,路由器认证信息可以用于指示接入网络时需要进行的认证类型,例如可以采用WEP(有线等效保密)、WPA(Wi-Fi网络保护访问)、WPA2等。
再举一个例子,例如在管理帧中采用50个字节连续存储的方式携带特征码、SSID、密码和校验信息。其中特征码假设采用APCP标识,其占用4个字节,最后2个字节用于携带校验码,其余44个字节用于携带SSID和密码。对于其他信息的携带方式与此类似,不再举例。
为了保证安全,wifi联网信息中的SSID和密码可以进行加密,可以采用预先约定的加密方式,也可以采用wifi联网信息所携带加密信息所指示的加密方式。
在203中,调用wifi direct接口发送携带wifi联网信息的管理帧。
智能手机可以通过调用wifi direct接口来进行管理帧的发送,目前大多数的智能手机已经能够支持wifi direct技术,智能手机通过调用wifi direct接口就能够直接进行管理帧的发送。比如在iOS平台中,在iOS7.0以后Apple发布了一个MultipeerConnectivity.framework框架,主要解决iOS设备间在无internet的情况下点对点通信问题。在这种情况下,本方案就可以利用该框架中发布服务(MCNearbyServiceAdvertiser或MCAdvertiserAssistant)的API发送携带wifi联网信息的管理帧。
如果是自开发的智能手机,则也可以在开发时进行接口的自定义,通过自定义的接口进行管理帧的发送。
上述步骤202和203可以是在用户触发下执行的,例如用户在智能手机输入SSID和密码或者选择扫描到的SSID并输入密码,然后通过点击功能按钮等方式触发智能手机执行上述202和203。
另外,上述步骤201也可以在202和203之后执行,也可以与202和203同时执行。例如用户可以在通过智能手机发送携带wifi联网信息的管理帧的同时或之后,再切换智能家居设备至监听状态。
需要说明的是,本发明实施例中,智能手机发送的管理帧并不需要经由路由器,可以直接利用wifi direct技术直接发送给处于监听状态的wifi型智能设备。
在204中,智能家居设备解析监听到的管理帧,得到wifi联网信息。
在本步骤中,可以预先在智能家居设备中设置特征码信息,智能家居设备首先确定监听到的管理帧所包含的特征码与预设的特征码信息是否一致,过滤掉不一致的管理帧。对于一致的管理帧,按照预先约定的wifi联网信息格式,从管理帧中解析出SSID和密 码。
例如在智能家居设备中预设APCP为特征码信息,对于接收到的管理帧所包含的内容与APCP进行比较,确定是否包含APCP,如果不包含,则确定该管理帧不包含wifi联网信息;如果包含APCP,则确定该管理帧中包含wifi联网信息,可以按照预先约定的wifi联网信息格式进行解析,例如从特征码信息接下来的44个字节中获取SSID和密码,并利用再接下来的2个字节的检验码进行校验。
另外,如果SSID和密码是加密的,则智能家居设备可以利用预先约定的加密方式或者从wifi联网信息中获取的加密信息指示的加密方式进行解密,得到解密后的SSID和密码。
通过这种解析方式,可以使得wifi联网信息的携带不受限于调用的接口,也不受限于所采用的管理帧的具体类型。
在205中,智能家居设备利用获取的wifi联网信息接入网络。
智能家居设备利用解析得到的SSID和密码连接无线路由器从而接入网络,还可以进一步利用从wifi联网信息中解析得到的路由器认证信息,向接入的无线路由器发送认证请求。
图3为本发明实施例提供的第二种方法流程图,如图3中所示,该方法可以包括:
在301中,智能家居设备进入监听状态。
本步骤与步骤201类似,不再详述。
在302中,智能手机调用wifi direct接口发送携带服务标识的管理帧,该服务标识指示提供联网信息服务。
发送管理帧所调用的接口参见图2中所示步骤203的相关描述,不再赘述。
在本步骤中,管理帧可以不携带具体的SSID和密码,而携带服务标识,用于指示提供联网信息服务。该服务标识可以是特征码,也可以是具体的服务名。
同样,上述步骤301与步骤302之间可以采用任意的先后顺序,或者同时执行。
在303中,智能家居设备监听到包含服务标识的管理帧后,请求连接智能手机。
在304中,智能手机接受请求与智能家居设备建立连接。
智能家居设备与智能手机之间通过wifi direct技术建立连接。下面对通过wifi direct技术建立连接的过程进行简单介绍,连接建立如图4中所示,主要包括以下阶段:
发现阶段:智能手机与智能家居设备均处于监听状态,互发probe request帧,该probe request帧中携带发送该帧的设备标识,监听到probe request帧的设备回复probe response 帧,该probe response帧中携带该帧的设备标识。
协商阶段:该阶段主要是在智能手机与智能家居设备之间协商出GO(GroupOwner,组管理员),包括GO negotiation request(GO协商请求)帧、GO negotiation response(GO协商应答)帧以及GO negotiation confirm(GO协商确认)帧。协商出的GO充当类似AP的角色。
关联阶段:关联并交换WSC(Wifi Simple Config,wifi配置信息),其中关联过程包括association request帧和association response帧。
认证阶段:协商认证信息,这里的认证主要是协商作为GO的设备对另一设备的认证方式,在此处,智能家居设备和智能手机之间还可以用于认证对方的身份。
连接阶段:通过握手建立起连接。
在305中,智能手机通过与智能家居设备建立的连接发送SSID和密码。
除了发送SSID和密码之外,还可以同时发送校验信息、加密信息和路由器认证信息中的至少一种。其中SSID和密码可以是加密后的信息,可以采用预先约定的加密方式,也可以采用wifi联网信息所携带加密信息所指示的加密方式。
在306中,智能家居设备利用接收到的SSID和密码接入网络。
智能家居设备利用接收到的SSID和密码连接无线路由器从而接入网络,还可以进一步利用接收到的路由器认证信息,向接入的无线路由器发送认证请求。
在307中,智能家居设备向智能手机发送是否成功接入网络的反馈信息。
这种方式下,智能手机可以获取到智能家居设备是否成功接入网络的反馈信息,如果成功接入网络,则智能手机可以断开与智能家居设备所建立的连接。如果接入网络失败,则智能手机可以通过与智能家居设备建立的连接重新发送SSID和密码。
图5为本发明实施例提供的第三种方法流程图,如图5中所示,该方法可以包括:
在501中,智能家居设备与智能手机通过wifi direct技术建立连接,通过连接过程中智能手机发送的管理帧携带wifi联网信息。
由图4所示的连接建立过程可以看出,在此过程中智能手机可能会发送probe request帧、probe response帧、association request帧、reassociation request帧、action帧(在发现阶段和协商阶段会可选地发送action帧)、beacon帧(握手成功后会发送beacon帧),在本发明实施例中,智能手机可以通过这些帧来发送wifi联网信息。
其中wifi联网信息的携带可以采用但不限于以下两种方式:
第一种方式:wifi联网信息至少包括特征码、SSID和密码,携带方式和图2所示实 施例中方式类似,不再赘述。还可以进一步包括校验信息、加密信息和路由器认证信息中的至少一种。这种方式下,不用限制wifi联网信息在管理帧中的具体字段,实现比较灵活。
第二种方式:wifi联网信息至少包括SSID和密码,可以不包括特征码,SSID和密码携带在上述管理帧的指定扩展字段中。也就是说,通过对管理帧进行字段扩展,在指定位置携带管理帧。同样,wifi联网信息还可以进一步包括校验信息、加密信息和路由器认证信息中的至少一种。
在502中,智能家居设备解析监听到的管理帧,得到wifi联网信息。
如果采用上述的第一种方式携带wifi联网信息,则智能家居设备首先确定监听到的管理帧所包含的特征码与预设的特征码信息是否一致,过滤掉不一致的管理帧。对于一致的管理帧,按照预先约定的wifi联网信息格式,从管理帧中解析出SSID和密码。
如果采用上述的第二种方式携带wifi联网信息,则智能家居设备可以从管理帧的指定扩展字段中解析出SSID和密码。
在503中,智能家居设备利用获取的wifi联网信息接入网络。
在504中,智能家居设备向智能手机发送是否成功接入网络的反馈信息。
以上是对本发明所提供方法进行的描述,下面结合实施例对本发明所提供的装置进行详细描述。
图6a为本发明实施例提供的一种装置结构图,该装置可以设置于第一wifi型智能设备,如图6a中所示,该装置的各组成单元的主要功能如下:
生成单元01负责生成携带wifi联网信息的管理帧。其中管理帧可以包括但不限于:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或beacon帧。
第一发送单元02发送管理帧,以供第二wifi型智能设备监听。第一发送单元02可以通过调用wifi direct接口发送管理帧,如果是自开发的wifi型智能设备,也可以通过调用自定义的接口发送管理帧。
作为其中一种实现方式,wifi联网信息可以包括特征码、SSID和密码,除此之外,还可以包括校验信息、加密信息和路由器认证信息中的至少一种。该实现方式对应的装置结构如图6a中所示。
在管理帧中特征码、目标路由器的SSID和密码可以按照预先约定的格式携带,其中特征码用于表征该管理帧携带wifi联网信息的,目标网络的SSID和密码是用于智能 终端设备连接无线路由器以接入目标网络的。校验信息用于对wifi联网信息进行校验,加密信息用于指示加密方式,例如可以采用DES、IDEA等加密方式,路由器认证信息可以用于指示接入网络时需要进行的认证类型,例如可以采用WEP、WPA、WPA2等。
作为另一种实现方式,wifi联网信息包括提供联网信息服务的标识。连接建立单元03通过wifi direct方式建立第一wifi型智能设备与第二wifi型智能设备之间的连接。第二发送单元04通过上述建立的连接发送SSID和密码。也就是说,第一wifi型智能设备先通过管理帧发送服务标识,待收到第二wifi型智能设备监听到该服务标识并发送连接请求后,建立连接并通过该连接发送SSID和密码。该装置对应的装置结构可以如图6b所示。
作为再一种实现方式,连接建立单元03通过wifi direct方式建立第一wifi型智能设备与第二wifi型智能设备之间的连接。上述的第一发送单元02发送的帧是上述连接建立过程中发送的管理帧。该种实现方式的装置结构可以如图6c所示。
对应于这种情况,wifi联网信息可以包括特征码、SSID和密码。也可以不包括特征码,仅包括SSID和密码,对于后一种方式,wifi联网信息可以携带在管理帧的指定扩展字段中。
其中,连同SSID和密码一起发送的信息还可以包括校验信息、加密信息和路由器认证信息中的至少一种。其中当发送加密信息时,SSID和密码为加密后的数据。
对于后两种实现方式,反馈接收单元05负责接收第二wifi型智能设备发送的是否成功接入网络的反馈信息。如果成功接入网络,则连接建立单元03可以断开与智能家居设备所建立的连接。如果接入网络失败,则第一发送单元02或第二发送单元04可以通过与智能家居设备建立的连接重新发送SSID和密码。
图7a为本发明实施例提供的第二种装置结构图,该装置设置于第二wifi型智能设备,如图7a中所示,该装置的各组成单元的主要功能如下:
监听单元11负责监听第一wifi型智能设备发送的管理帧。
解析单元12负责解析管理帧,得到wifi联网信息。其中,管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或beacon帧。
作为其中一种实现方式,解析单元12可以从wifi联网信息中解析出特征码、SSID和密码。具体地,解析单元12可以确定监听到的管理帧所包含特征码与预设的特征码信息一致的管理帧;按照预先约定的wifi联网信息格式,从管理帧中解析出SSID和密码。 这种实现方式的装置结构图如图7a中所示。
作为另一种实现方式,解析单元12可以从wifi联网信息中解析出提供联网信息服务的标识,则连接建立单元13通过wifi direct方式建立第一wifi型智能设备与第二wifi型智能设备之间的连接。该连接建立的请求可以由该连接建立单元13发出。接收单元14通过连接接收SSID和密码。这种实现方式的装置结构图如图7b中所示。
作为再一种实现方式,连接建立单元13通过wifi direct方式建立第一wifi型智能设备与第二wifi型智能设备之间的连接。解析单元12从监听单元11在该连接建立过程中监听到的管理帧中解析得到所述wifi联网信息。这种实现方式的装置结构图如图7c中所示。
这种实现方式中,wifi联网信息可以包括:特征码、SSID和密码。解析单元12可以确定监听到的管理帧所包含特征码与预设的特征码信息一致的管理帧;按照预先约定的wifi联网信息格式,从管理帧中解析出SSID和密码。
或者,wifi联网信息可以包括:SSID和密码。解析单元12从管理帧的指定扩展字段中解析出SSID和密码。
上述三种实现方式中,连同SSID和密码一起发送的还可以包括但不限于:校验信息、加密信息和路由器认证信息中的至少一种。
校验单元15负责利用连同SSID和密码一起接收到的校验信息,对SSID和密码进行校验。
解密单元16负责利用连同SSID和密码一起接收到的加密信息,对SSID和密码进行解密。解密单元16也可以利用预先约定的加密信息,对SSID和密码进行解密。
认证单元17负责利用连同SSID和密码一起接收到的路由器认证信息,向接入的无线路由器发送认证请求。
在第二wifi型智能设备的网络接入单元(该单元可以是第二wifi型智能设备的已有单元,负责利用SSID和密码连接无线路由器从而接入网络)利用SSID和密码进行网络接入后,反馈发送单元18负责向第一wifi型智能设备发送是否成功接入网络的反馈信息。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单 元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (38)

  1. 一种发送wifi联网信息的方法,其特征在于,该方法包括:
    第一wifi型智能设备生成携带wifi联网信息的管理帧;
    发送所述管理帧,以供第二wifi型智能设备监听。
  2. 根据权利要求1所述的方法,其特征在于,所述管理帧包括:探测请求probe request帧、探测响应probe response帧、关联请求association request帧、重新关联请求reassociation request帧、action帧或信标beacon帧。
  3. 根据权利要求1所述的方法,其特征在于,所述wifi联网信息包括特征码、SSID和密码。
  4. 根据权利要求1所述的方法,其特征在于,所述wifi联网信息包括提供联网信息服务的标识;
    该方法还包括:
    所述第一wifi型智能设备与所述第二wifi型智能设备通过wifi direct方式建立连接后,通过建立的连接发送SSID和密码。
  5. 根据权利要求1所述的方法,其特征在于,该方法还包括:所述第一wifi型智能设备与所述第二wifi型智能设备通过wifi direct方式建立连接;
    所述携带wifi联网信息的管理帧为所述连接建立过程中发送的管理帧。
  6. 根据权利要求1、2或5所述的方法,其特征在于,所述wifi联网信息包括SSID和密码,所述wifi联网信息携带在所述管理帧的指定扩展字段中。
  7. 根据权利要求3或4所述的方法,其特征在于,连同所述SSID和密码一起发送的信息还包括校验信息、加密信息和路由器认证信息中的至少一种;
    其中当发送所述加密信息时,所述SSID和密码为加密后的数据。
  8. 根据权利要求4或5所述的方法,其特征在于,该方法还包括:
    所述第一wifi型智能设备接收所述第二wifi型智能设备发送的是否成功接入网络的反馈信息。
  9. 根据权利要求1至5任一权项所述的方法,其特征在于,发送所述管理帧包括:
    所述第一wifi型智能设备通过调用wifi direct接口发送所述管理帧;或者,
    所述第一wifi型智能设备通过调用自定义的接口发送所述管理帧。
  10. 一种获取wifi联网信息的方法,其特征在于,该方法包括:
    第二wifi型智能设备监听第一wifi型智能设备发送的管理帧;
    解析所述管理帧得到wifi联网信息。
  11. 根据权利要求10所述的方法,其特征在于,所述管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或beacon帧。
  12. 根据权利要求10所述的方法,其特征在于,所述wifi联网信息包括特征码、SSID和密码。
  13. 根据权利要求10所述的方法,其特征在于,该方法还包括:
    如果所述第二wifi型智能设备从所述管理帧中解析出提供联网信息服务的标识,则通过wifi direct方式与所述第一wifi型智能设备建立连接,并通过建立的连接接收SSID和密码。
  14. 根据权利要求10所述的方法,其特征在于,该方法还包括:所述第二wifi型智能设备与所述第一wifi型智能设备通过wifi direct方式建立连接;
    所述第二wifi型智能设备从所述连接建立过程中接收到的管理帧中解析得到所述wifi联网信息。
  15. 根据权利要求14所述的方法,其特征在于,所述wifi联网信息包括:特征码、SSID和密码。
  16. 根据权利要求12或15所述的方法,其特征在于,解析所述管理帧得到wifi联网信息包括:
    所述第二wifi型智能设备确定监听到的管理帧所包含特征码与预设的特征码信息一致的管理帧;
    按照预先约定的wifi联网信息格式,从所述管理帧中解析出SSID和密码。
  17. 根据权利要求14所述的方法,其特征在于,所述wifi联网信息包括:SSID和密码;
    解析所述管理帧得到wifi联网信息包括:所述第二wifi型智能设备从所述管理帧的指定扩展字段中解析出SSID和密码。
  18. 根据权利要求12、13、15或17所述的方法,其特征在于,该方法还包括以下至少一种:
    所述第二wifi型智能设备利用连同所述SSID和密码一起接收到的校验信息,对所述SSID和密码进行校验;
    所述第二wifi型智能设备利用连同所述SSID和密码一起接收到的加密信息,对所 述SSID和密码进行解密;
    所述第二wifi型智能设备利用连同所述SSID和密码一起接收到的路由器认证信息,向接入的无线路由器发送认证请求。
  19. 根据权利要求13、14、15或17所述的方法,其特征在于,该方法还包括:
    所述第二wifi型智能设备在利用所述SSID和密码进行网络接入后,向所述第一wifi型智能设备发送是否成功接入网络的反馈信息。
  20. 一种发送wifi联网信息的装置,设置于第一wifi型智能设备,其特征在于,该装置包括:
    生成单元,用于生成携带wifi联网信息的管理帧;
    第一发送单元,用于发送所述管理帧,以供第二wifi型智能设备监听。
  21. 根据权利要求20所述的装置,其特征在于,所述管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或信标beacon帧。
  22. 根据权利要求20所述的装置,其特征在于,所述wifi联网信息包括特征码、SSID和密码。
  23. 根据权利要求20所述的装置,其特征在于,所述wifi联网信息包括提供联网信息服务的标识;
    该装置还包括:
    连接建立单元,用于通过wifi direct方式建立所述第一wifi型智能设备与所述第二wifi型智能设备之间的连接;
    第二发送单元,用于通过所述连接发送SSID和密码。
  24. 根据权利要求20所述的装置,其特征在于,该装置还包括:
    连接建立单元,用于通过wifi direct方式建立所述第一wifi型智能设备与所述第二wifi型智能设备之间的连接;
    所述携带wifi联网信息的管理帧为所述连接建立过程中发送的管理帧。
  25. 根据权利要求20、21或24所述的装置,其特征在于,所述wifi联网信息包括特征码、SSID和密码;
    所述wifi联网信息包括SSID和密码,所述wifi联网信息携带在所述管理帧的指定扩展字段中。
  26. 根据权利要求22或23所述的装置,其特征在于,连同所述SSID和密码一起 发送的信息还包括校验信息、加密信息和路由器认证信息中的至少一种;
    其中当发送所述加密信息时,所述SSID和密码为加密后的数据。
  27. 根据权利要求23或24所述的装置,其特征在于,该装置还包括:
    反馈接收单元,用于接收所述第二wifi型智能设备发送的是否成功接入网络的反馈信息。
  28. 根据权利要求20至24任一权项所述的装置,其特征在于,所述第一发送单元具体执行:
    通过调用wifi direct接口发送所述管理帧;或者,
    通过调用自定义的接口发送所述管理帧。
  29. 一种获取wifi联网信息的装置,设置于第二wifi型智能设备,其特征在于,该装置包括:
    监听单元,用于监听第一wifi型智能设备发送的管理帧;
    解析单元,用于解析所述管理帧得到wifi联网信息。
  30. 根据权利要求29所述的装置,其特征在于,所述管理帧包括:probe request帧、probe response帧、association request帧、reassociation request帧、action帧或beacon帧。
  31. 根据权利要求29所述的装置,其特征在于,所述wifi联网信息包括特征码、SSID和密码。
  32. 根据权利要求29所述的装置,其特征在于,该装置还包括:
    连接建立单元,如果所述解析单元从所述管理帧中解析出提供联网信息服务的标识,则通过wifi direct方式建立所述第一wifi型智能设备与所述第二wifi型智能设备之间的连接;
    接收单元,用于通过所述连接接收SSID和密码。
  33. 根据权利要求29所述的装置,其特征在于,该装置还包括:
    连接建立单元,用于通过wifi direct方式建立所述第二wifi型智能设备与所述第一wifi型智能设备之间的连接;
    所述解析单元从所述连接建立过程中监听到的管理帧中解析得到所述wifi联网信息。
  34. 根据权利要求33所述的装置,其特征在于,所述wifi联网信息包括:特征码、SSID和密码。
  35. 根据权利要求31或34所述的装置,其特征在于,所述解析单元,具体用于确定监听到的管理帧所包含特征码与预设的特征码信息一致的管理帧;按照预先约定的wifi联网信息格式,从所述管理帧中解析出SSID和密码。
  36. 根据权利要求33所述的装置,其特征在于,所述wifi联网信息包括:SSID和密码;
    所述解析单元,具体用于从所述管理帧的指定扩展字段中解析出SSID和密码。
  37. 根据权利要求31、34、35或36所述的装置,其特征在于,该装置还包括以下单元中的至少一个:
    校验单元,用于利用连同所述SSID和密码一起接收到的校验信息,对所述SSID和密码进行校验;
    解密单元,用于利用连同所述SSID和密码一起接收到的加密信息,对所述SSID和密码进行解密;
    认证单元,用于利用连同所述SSID和密码一起接收到的路由器认证信息,向接入的无线路由器发送认证请求。
  38. 根据权利要求32、33、34或36所述的装置,其特征在于,该装置还包括:
    反馈发送单元,用于在所述二wifi型智能设备利用所述SSID和密码进行网络接入后,向所述第一wifi型智能设备发送是否成功接入网络的反馈信息。
PCT/CN2016/098010 2015-09-10 2016-09-05 一种发送和获取wifi联网信息的方法和对应装置 WO2017041675A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/917,033 US10595266B2 (en) 2015-09-10 2018-03-09 Sending and acquiring WiFi networking information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510571603.1 2015-09-10
CN201510571603.1A CN106535288B (zh) 2015-09-10 2015-09-10 一种发送和获取wifi联网信息的方法和对应装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/917,033 Continuation US10595266B2 (en) 2015-09-10 2018-03-09 Sending and acquiring WiFi networking information

Publications (1)

Publication Number Publication Date
WO2017041675A1 true WO2017041675A1 (zh) 2017-03-16

Family

ID=58240612

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098010 WO2017041675A1 (zh) 2015-09-10 2016-09-05 一种发送和获取wifi联网信息的方法和对应装置

Country Status (3)

Country Link
US (1) US10595266B2 (zh)
CN (1) CN106535288B (zh)
WO (1) WO2017041675A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110831112A (zh) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 网络连接方法、智能家居设备、智能网关及电子设备
CN113395744A (zh) * 2021-05-17 2021-09-14 青岛海尔科技有限公司 设备的联网方法及装置、存储介质、电子装置
US11758399B2 (en) 2017-05-25 2023-09-12 Huawei Technologies Co., Ltd. Wireless local area network configuration using probe request frame having authentication information

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921675B (zh) * 2017-03-30 2020-06-26 北京奇艺世纪科技有限公司 一种智能硬件接入受限网络的方法和装置
CN107172617A (zh) * 2017-04-18 2017-09-15 鲁学敏 一种智能设备与智能终端的无线连接方法及系统
CN107257573A (zh) * 2017-05-11 2017-10-17 北京囡宝科技有限公司 一种设备接入无线网络的系统及方法
CN107295462B (zh) * 2017-06-06 2021-03-16 北京小米移动软件有限公司 无线连接控制方法及装置
CN109996260B (zh) 2018-01-02 2021-01-15 中国移动通信有限公司研究院 配置系统、客户端设备、嵌入式设备配置方法及存储介质
CN108173886A (zh) * 2018-03-28 2018-06-15 深圳市德联讯科技有限公司 一种采用指纹识别匹配快速接入的Wi-Fi联网设备
KR102500347B1 (ko) * 2018-04-26 2023-02-16 삼성전자주식회사 Wi-Fi 통신 및 모바일 핫스팟 통신을 제공하기 위한 전자 장치 및 그에 관한 방법
CN109104744A (zh) * 2018-07-11 2018-12-28 杭州古北电子科技有限公司 利用wifi管理帧的数据发送、接收以及通信方法
CN109327517B (zh) * 2018-10-09 2022-05-20 上海尚往网络科技有限公司 获取无线接入点网络状态的方法及设备
CN111741509A (zh) * 2019-03-25 2020-10-02 珠海格力电器股份有限公司 配网方法及装置、存储介质、处理器
KR20210121910A (ko) * 2020-03-31 2021-10-08 삼성전자주식회사 전자 장치 및 그 제어 방법
CN111741510A (zh) * 2020-05-25 2020-10-02 杭州涂鸦信息技术有限公司 自动更新联网信息的方法及智能设备、路由器
CN111565442A (zh) * 2020-05-27 2020-08-21 西安万像电子科技有限公司 投屏方法、设备及系统
CN114071652A (zh) * 2020-07-31 2022-02-18 青岛海信电子产业控股股份有限公司 一种绑定关系的建立方法以及相关设备
CN112637853B (zh) * 2020-12-25 2023-05-12 杭州涂鸦信息技术有限公司 一种联网、配网方法及相关装置
CN116668964A (zh) * 2021-02-05 2023-08-29 Oppo广东移动通信有限公司 设备配网方法、装置、设备及存储介质
CN114884970A (zh) * 2021-02-05 2022-08-09 Oppo广东移动通信有限公司 一种信息处理方法及设备、存储介质
US11895493B1 (en) * 2021-02-18 2024-02-06 Amazon Technologies, Inc. Controlling a device that operates in a monitor mode
CN113784347A (zh) * 2021-08-13 2021-12-10 瑞芯微电子股份有限公司 一种智能设备一键配网的方法和系统
CN115967608A (zh) * 2021-10-09 2023-04-14 中兴通讯股份有限公司 智能家居设备的组网管理方法、路由器和存储介质
CN115002771B (zh) * 2022-05-24 2023-11-21 杭州萤石软件有限公司 智能家居终端与无线网络设备间的连接方法、装置及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217963A (zh) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 通用性智能家居系统
CN103901844A (zh) * 2014-03-13 2014-07-02 惠州Tcl移动通信有限公司 一种基于Alljoyn技术的智能家居控制方法及系统
CN104243103A (zh) * 2014-10-13 2014-12-24 福州瑞芯微电子有限公司 一种无连接的WiFi发送数据的方法、系统、发送端和接收端
US20150061970A1 (en) * 2013-08-29 2015-03-05 Samsung Electronics Co., Ltd. Method for sharing screen and electronic device thereof
CN105744642A (zh) * 2014-12-10 2016-07-06 联芯科技有限公司 无线网络连线方法及移动终端、智能家居设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8838477B2 (en) * 2011-06-09 2014-09-16 Golba Llc Method and system for communicating location of a mobile device for hands-free payment
US8478776B2 (en) * 2009-10-30 2013-07-02 Qualcomm Incorporated Methods and systems for peer-to-peer network discovery using multi-user diversity
KR20120052092A (ko) * 2010-11-15 2012-05-23 삼성전자주식회사 네트워크 중계 방법, 네트워크 접속 방법 및 이를 적용한 무선 통신 그룹
KR101863564B1 (ko) * 2011-08-18 2018-06-04 삼성전자주식회사 와이파이 다이렉트 연결 설정 시 그룹 오너를 결정하기 위한 장치 및 방법
US8831568B2 (en) * 2011-09-27 2014-09-09 Qualcomm Incorporated Automatic configuration of a wireless device
US9002281B2 (en) * 2012-04-30 2015-04-07 Intel Corporation Apparatus and method to enable device-to-device (D2D) communication in cellular networks
KR20130134193A (ko) * 2012-05-30 2013-12-10 삼성전자주식회사 컨커런트 서비스를 제공하기 위한 전자 장치 및 방법
US9706600B2 (en) * 2012-06-28 2017-07-11 Texas Instruments Incorporated Connectionless Wi-Fi mesh communication
US9510271B2 (en) * 2012-08-30 2016-11-29 Qualcomm Incorporated Systems, apparatus, and methods for address format detection
US9100942B2 (en) * 2013-03-14 2015-08-04 Qualcomm Incorporated WiFi Direct connection using machine-readable labels
CN103607751A (zh) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 无线设备配置方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217963A (zh) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 通用性智能家居系统
US20150061970A1 (en) * 2013-08-29 2015-03-05 Samsung Electronics Co., Ltd. Method for sharing screen and electronic device thereof
CN103901844A (zh) * 2014-03-13 2014-07-02 惠州Tcl移动通信有限公司 一种基于Alljoyn技术的智能家居控制方法及系统
CN104243103A (zh) * 2014-10-13 2014-12-24 福州瑞芯微电子有限公司 一种无连接的WiFi发送数据的方法、系统、发送端和接收端
CN105744642A (zh) * 2014-12-10 2016-07-06 联芯科技有限公司 无线网络连线方法及移动终端、智能家居设备

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11758399B2 (en) 2017-05-25 2023-09-12 Huawei Technologies Co., Ltd. Wireless local area network configuration using probe request frame having authentication information
CN110831112A (zh) * 2019-11-07 2020-02-21 深圳市欧瑞博科技有限公司 网络连接方法、智能家居设备、智能网关及电子设备
CN110831112B (zh) * 2019-11-07 2022-05-03 深圳市欧瑞博科技股份有限公司 网络连接方法、智能家居设备、智能网关及电子设备
CN113395744A (zh) * 2021-05-17 2021-09-14 青岛海尔科技有限公司 设备的联网方法及装置、存储介质、电子装置

Also Published As

Publication number Publication date
CN106535288B (zh) 2020-08-28
CN106535288A (zh) 2017-03-22
US10595266B2 (en) 2020-03-17
US20180199265A1 (en) 2018-07-12

Similar Documents

Publication Publication Date Title
WO2017041675A1 (zh) 一种发送和获取wifi联网信息的方法和对应装置
US10848970B2 (en) Network authentication method, and related device and system
US11917054B2 (en) Network key processing method and system and related device
EP3869766B1 (en) Network connection method, hotspot terminal and management terminal
US10305684B2 (en) Secure connection method for network device, related apparatus, and system
US9769732B2 (en) Wireless network connection establishment method and terminal device
US9015065B2 (en) Method, system, and device for implementing network banking service
JP5281128B2 (ja) Wi−fiアクセス方法、アクセスポイント、及びwi−fiアクセスシステム
JP5523632B2 (ja) WiFi通信実施方法、ユーザ機器、及び無線ルータ
CN103945369B (zh) 一种通过检查wifi数据包的长度实现wifi设备的上网配置方法
EP3065334A1 (en) Key configuration method, system and apparatus
KR101743195B1 (ko) 정보 제공방법, 장치, 프로그램 및 기록매체
CN107567017B (zh) 无线连接系统、装置及方法
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
WO2023280194A1 (zh) 网络连接管理方法、装置、可读介质、程序产品及电子设备
US10097524B2 (en) Network configuration method, and related apparatus and system
WO2021043095A1 (zh) 密钥生成以及终端配网方法、装置、设备
WO2014127751A1 (zh) 无线终端配置方法及装置和无线终端
US20210243599A1 (en) User authentication method through bluetooth device and device therefor
WO2021031054A1 (zh) 通信方法及装置
CN108990052B (zh) Wpa2协议脆弱性的检测方法
TW201828756A (zh) 發送和獲取wifi聯網資訊的方法和對應裝置
KR100598356B1 (ko) 단말기에서 무선랜 접속을 수행하는 장치 및 그 방법
WO2022174652A1 (zh) 智能终端自动发现配网方法及系统
CN111770588B (zh) 一种与无线路由器快速建立无线连接的方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16843613

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16843613

Country of ref document: EP

Kind code of ref document: A1