CN104812093B - Method and device for accessing WIFI equipment of smart home to network - Google Patents

Method and device for accessing WIFI equipment of smart home to network Download PDF

Info

Publication number
CN104812093B
CN104812093B CN201510131328.1A CN201510131328A CN104812093B CN 104812093 B CN104812093 B CN 104812093B CN 201510131328 A CN201510131328 A CN 201510131328A CN 104812093 B CN104812093 B CN 104812093B
Authority
CN
China
Prior art keywords
wifi
leading
beacon frame
fields
preamble
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.)
Active
Application number
CN201510131328.1A
Other languages
Chinese (zh)
Other versions
CN104812093A (en
Inventor
罗朝明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co 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 Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201510131328.1A priority Critical patent/CN104812093B/en
Publication of CN104812093A publication Critical patent/CN104812093A/en
Application granted granted Critical
Publication of CN104812093B publication Critical patent/CN104812093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The invention provides a method and a device for accessing WIFI equipment of smart home to a network. The method is executed at the sending end and comprises the following steps: sequentially switching different WIFI hotspots to send leading beacon frames corresponding to the different WIFI hotspots, setting SSID fields of the leading beacon frames to form leading fields, and enabling a receiving end to judge whether a combination of the leading fields meets preset conditions or not based on the received leading beacon frames; and if the combination of the leading fields meets the preset condition, sending a subsequent beacon frame, wherein the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields meeting the preset condition, and the SSID field of the subsequent beacon frame comprises WIFI route authentication information so that a receiving end can access the WIFI equipment into the WIFI router based on the WIFI route authentication information. The method is rapid, convenient, safe and reliable.

Description

Method and device for accessing WIFI equipment of smart home to network
Technical Field
The invention relates to the technical field of smart homes, in particular to a method for accessing WIFI equipment of a smart home to a network. In addition, the invention also relates to a device for accessing the WIFI equipment of the smart home to the network.
Background
With the development and popularization of WIFI technology, more and more household appliances have WIFI functions, for example, a refrigerator and an air conditioner have WIFI devices, and the WIFI devices need to complete the setting of an access network. In the prior art, the commonly adopted technical scheme is as follows: the WIFI equipment is in a monitoring mode, the mobile phone end is accessed to the home router and sends a User Datagram Protocol (UDP) multicast packet or a UDP broadcast packet on a working channel of the connected home router, the UDP multicast packet or the plurality of UDP broadcast packets carry WIFI information of the home router, and the WIFI equipment monitors the WIFI information and stores the WIFI information, so that the setting is completed. And the mobile phone end after finishing the setting can realize communication after waiting for the WIFI equipment to access the home route.
The technical scheme has the following disadvantages: some mobile phone terminals or routes have poor compatibility with multicast, under such a condition, the mobile phone terminals cannot normally send multicast data, and data carried by UDP multicast packets and UDP broadcast packets is less, so that more UDP multicast packets and UDP broadcast packets need to be sent, but excessive data packets are easily interfered with each other. Therefore, a method for accessing a WIFI device of a smart home to a network is needed to solve the above technical problems in the prior art.
Disclosure of Invention
The invention provides a method for accessing WIFI equipment of smart home to a network. The method for accessing the WIFI equipment to the network can conveniently access the WIFI equipment to the network, and is high in reliability and good in safety.
The technical scheme adopted by the invention is as follows:
a method for accessing WIFI equipment of smart home to a network includes the following steps: and sending a leading beacon frame: sequentially switching different WIFI hotspots to send leading beacon frames corresponding to the different WIFI hotspots, setting SSID fields of the leading beacon frames to form leading fields, and enabling a receiving end to judge whether a combination of the leading fields meets preset conditions or not based on the received leading beacon frames; and sending a subsequent beacon frame: if the combination of the leading fields meets the preset condition, sending a subsequent beacon frame, wherein the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields meeting the preset condition, and the SSID field of the subsequent beacon frame comprises WIFI routing authentication information so that a receiving end can access the WIFI router based on the WIFI routing authentication information.
Preferably, before the step of sending the subsequent beacon frame, the method further comprises an encryption step of: and encrypting the WIFI route authentication information by adopting an encryption mode specified by the preset condition.
Preferably, the encrypting step further comprises: encrypting the preamble field before the step of transmitting the preamble beacon frame.
The invention also provides a method for accessing the WIFI equipment of the smart home to the network, which is executed at the receiving end and comprises the following steps: receiving beacon frames: receiving a leading beacon frame corresponding to different sequentially switched WIFI hotspots, wherein the SSID field of the leading beacon frame is provided with a leading field, if the fact that the combination of the leading fields in the received leading beacon frame meets the preset condition is judged, receiving a subsequent beacon frame with the source consistent with that of the leading beacon frame including the leading fields meeting the preset condition, and analyzing WIFI routing authentication information from the SSID field of the subsequent beacon frame; an access step: and accessing the WIFI equipment into a WIFI router according to the WIFI routing authentication information.
Preferably, in the step of receiving beacon frames, the preamble beacon frames are received on a selected channel, and when it is determined that the combination of the preamble fields meets the preset conditions, the subsequent beacon frames are received on the selected channel.
Preferably, in the step of receiving the Beacon frame, when it is determined that the combination of the preamble fields meets the preset condition, the MAC address of the preamble Beacon frame corresponding to the preamble fields meeting the preset condition is stored, so as to receive the subsequent Beacon frame from the MAC address on the selected channel.
Preferably, before the accessing step, the method further comprises the step of decrypting: and decrypting the WIFI route authentication information according to the encryption mode under the condition that the transmitting end encrypts the WIFI route authentication information by adopting the encryption mode specified by the preset condition.
Preferably, the decrypting step further includes: and decrypting the leading field for decryption under the condition that the sending end encrypts the leading field.
The invention also provides a device for the WIFI equipment of the smart home to access the network, wherein the device is arranged at the sending end and comprises: the device comprises a leading beacon frame sending module, a receiving end and a sending end, wherein the leading beacon frame sending module is used for sequentially switching different WIFI hotspots so as to send leading beacon frames corresponding to the different WIFI hotspots, and setting SSID fields of the leading beacon frames to form leading fields, so that the receiving end judges whether a combination of the leading fields meets a preset condition or not based on the received leading beacon frames; and the subsequent beacon frame sending module is used for sending the subsequent beacon frame if the combination of the leading fields accords with the preset condition, the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields which accord with the preset condition, wherein the SSID field of the subsequent beacon frame comprises WIFI route authentication information so that a receiving end can base on the WIFI route authentication information, and the WIFI equipment is accessed to the WIFI router.
Preferably, the apparatus further includes an encryption module, configured to encrypt the WIFI route authentication information in an encryption manner specified by the preset condition before sending a subsequent beacon frame.
Preferably, the encryption module is further configured to encrypt the preamble field before sending the preamble beacon frame.
The invention also provides a device for accessing the WIFI equipment of the smart home to the network, wherein the device is arranged at the receiving end and comprises: the beacon frame receiving module is used for receiving leading beacon frames of different WIFI hotspots which are switched in sequence, wherein the SSID field of each leading beacon frame is provided with a leading field, if the fact that the combination of the leading fields in the received leading beacon frames meets the preset condition is judged, the following beacon frames with the sources consistent with the source of the leading beacon frames including the leading fields meeting the preset condition are received, and WIFI route authentication information is analyzed from the SSID field of the following beacon frames; and the access module is used for accessing the WIFI equipment into the WIFI router according to the WIFI routing authentication information.
Preferably, the beacon frame receiving module is further configured to receive the preamble beacon frame on a selected channel, and receive the subsequent beacon frame on the selected channel when it is determined that the combination of the preamble fields meets the preset condition.
Preferably, the Beacon frame receiving module is further configured to, when it is determined that the combination of the preamble fields meets the preset condition, store the MAC address of the preamble Beacon frame corresponding to the preamble field meeting the preset condition, so as to receive a subsequent Beacon frame from the MAC address on the selected channel.
Preferably, the apparatus further includes a decryption module, configured to decrypt the WIFI route authentication information according to an encryption manner specified by the preset condition under a condition that the sending end encrypts the WIFI route authentication information by using the encryption manner specified by the preset condition.
Preferably, the decryption module is further configured to correspondingly decrypt the preamble field under the condition that the sending end encrypts the preamble field.
In addition, the invention also provides WIFI hotspot equipment which comprises a device for accessing the WIFI equipment to the network.
In addition, the invention also provides intelligent household WIFI equipment, which comprises a device for accessing the intelligent household WIFI equipment to the network.
By adopting the technical scheme, the invention at least has the following advantages: the method for accessing the WIFI equipment of the smart home to the network can realize that the WIFI equipment can be quickly accessed to the network, and is safe and reliable.
Drawings
Fig. 1 is a flowchart of a method for a WIFI device to access a network according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for a WIFI device to access a network according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for a WIFI device to access a network according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for a WIFI device to access a network according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a method for a WIFI device to access a network according to a fifth embodiment of the present invention.
Fig. 6 is a schematic diagram of an apparatus for a WIFI device to access a network according to a sixth embodiment of the present invention;
fig. 7 is a schematic diagram of an apparatus for a WIFI device to access a network according to a seventh embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
The method for accessing the WIFI equipment of the smart home to the network can realize the quick network access of the WIFI equipment, and is safe and reliable. The method for accessing the network by the WIFI device and the steps thereof will be described in detail below.
Example one
As shown in fig. 1, in this embodiment, the steps executed at the transmitting end of the method for the WIFI device of the smart home to access the network include step S10 of transmitting a leading beacon frame and step S20 of transmitting a subsequent beacon frame.
Step S10 of transmitting the preamble beacon frame: sequentially switching different WIFI hotspots to send leading beacon frames corresponding to the different WIFI hotspots, setting SSID fields of the leading beacon frames to form leading fields, and enabling a receiving end to judge whether a combination of the leading fields meets preset conditions or not based on the received leading beacon frames; step S20 of transmitting the subsequent beacon frame: and if the combination of the leading fields meets the preset condition, sending a subsequent beacon frame, wherein the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields meeting the preset condition and refers to the same MAC address, and the SSID field of the subsequent beacon frame comprises WIFI route authentication information so that a receiving end can access the WIFI equipment to the WIFI router based on the WIFI route authentication information.
And the method comprises the steps of sequentially switching different WIFI hotspots to send leading beacon frames corresponding to the different WIFI hotspots, and setting SSID fields of the leading beacon frames to form leading fields. In order to facilitate operation, different WIFI hotspots can be sequentially switched on the same terminal, such as a smart phone or a computer, so that the different WIFI hotspots are in an open state in turn to send leading beacon frames corresponding to the different WIFI hotspots, and convenience in hotspot switching operation is facilitated. Due to the fact that the SSID field in the leading beacon frame can be set, the SSID field in the leading beacon frame sent by the WIFI hotspot can be set to form the leading field when one WIFI hotspot is switched to be in an open state every time, and therefore different WIFI hotspots send leading beacon frames containing different leading fields in the open state. As an example, the WIFI hotspot on state is maintained for a predetermined period of time, for example, 1s, and a preamble beacon frame is periodically (for example, 100ms one) transmitted on one WIFI channel within the predetermined period of time. The Beacon frame can be broadcasted by any WIFI hotspot, such as a hotspot on a smart phone, any WIFI device in a sniffer mode within a WIFI receiving distance range can receive the Beacon frame, and an SSID field in the Beacon frame contains 0-32 bytes and can be set by a user. Therefore, the method for accessing the WIFI equipment to the network further comprises the setting step before the preamble beacon frame is sent: and setting the WIFI equipment to be in a monitoring mode and enabling the WIFI equipment to be within a WIFI receiving distance range. For example, the WIFI device is set to be in a sniffer listening mode and set within a WIFI receiving range (see fig. 5), so that the WIFI device may receive all WIFI information including a management frame, a control frame, and a data frame.
In addition, the receiving end judges whether the combination of the preamble fields meets the preset condition or not based on the received preamble beacon frame. The existence of the combination of the preamble fields meeting the preset condition is an important precondition for sending the subsequent beacon frame, and when the WIFI device is in the monitoring mode, the received WIFI information is not limited to the WIFI data sent by the sending end in the invention, and in order to ensure the safety of information transmission, the transmitting end of the invention sets the combination of the leader fields which meet the preset conditions in the sent leader beacon frame, therefore, the receiving end receives the preamble beacon frame in the WIFI receiving range, the combination of the preamble fields which are sent by the sending end and meet the preset conditions exists in the preamble beacon frame, and sending a subsequent beacon frame, wherein the source of the subsequent beacon frame is consistent with the source of the preamble beacon frame comprising the preamble field meeting the preset condition, and the subsequent beacon frame is continuously sent by sending the WIFI hotspot of the preamble beacon frame comprising the preamble field meeting the preset condition so as to improve the safety of information transmission and the convenience of operation. And the SSID field of the subsequent beacon frame comprises WIFI routing authentication information. And accessing the WIFI equipment into the WIFI router according to the WIFI routing authentication information. Therefore, for example, the mobile phone terminal can be used for communicating with the WIFI equipment, so that a user can operate the smart home through the mobile phone terminal.
In step S10, the setting that the combination of the preamble fields in the transmitted preamble beacon frame meets the preset condition is completed in a setting step (not shown) before the preamble beacon frame is transmitted, and the combination of the preamble fields in the SSID fields in the preamble beacon frames transmitted by one terminal is set, for example, a field combination formed by the preamble fields in the SSID fields in the preamble beacon frames can be set according to time information, for example, the preamble field in the preamble beacon frame transmitted by a WIFI hotspot is set by using time information, for example, the preamble field in the preamble beacon frame is set to 201503081158 to indicate that the preamble beacon frame is transmitted from a first WIFI hotspot at 58 min 11/3/8/2015, and the preamble field in the preamble beacon frame transmitted by a subsequent WIFI hotspot is set by using the same method. The preset conditions set that the combination of the preamble fields in the preamble beacon frame received by the receiving end meets the following conditions: 201503081158201503081201201503081206201503081215, when the combination of preamble fields in the preamble beacon frame received by the receiver satisfies the preset condition, the receiver can receive the subsequent beacon frame. Therefore, it can be seen that the subsequent beacon frame can be continuously received only if the combination of the preamble fields in the preamble beacon frame received by the receiving end meets the preset condition. Therefore, the safety of the WIFI equipment accessing to the network is improved. In addition, the preset condition may be set variously, for example, a specific number combination may be adopted, for example, 123456, each leading beacon frame carries one of the numbers, and when the receiving end receives the leading field in the leading beacon frame successively, the receiving end receives the subsequent beacon frame, that is, when the receiving end receives the leading beacon frame successively, the receiving end will make a determination whether the combination of the leading fields in the received leading beacon frame meets the preset condition. The purpose of switching in sequence is to transmit different preamble fields in each transmission of the preamble beacon frame, and a combination formed by the preamble fields transmitted for multiple times meets a preset condition, so that the amount of information which can be transmitted in the transmission of the preamble beacon frame is large, and the safety of the WIFI equipment accessing to the WIFI router is ensured.
In this embodiment, as shown in fig. 2, before the step of sending the subsequent beacon frame, an encryption step S30 is preferably further included: and encrypting the WIFI route authentication information by adopting an encryption mode specified by a preset condition. And before the subsequent beacon frame is sent, encrypting the WIFI routing authentication information by adopting an encryption mode specified by preset conditions. And encrypting the WIFI route authentication information by adopting an encryption mode specified by the preset condition when the combination of the leading fields meets the preset condition, for example, the field combination or the digital combination is transmitted as a secret key for encrypting the WIFI route authentication information.
Further, the encrypting step S30 further includes: the preamble field is encrypted before the step of transmitting the preamble beacon frame. Therefore, the preamble field is encrypted and then the preamble beacon frame is transmitted. For example, the preset key can be used to encrypt the preamble field for transmission, so as to improve the security of information transmission.
Example two
The steps executed at the receiving end of this embodiment correspond to the steps executed at the transmitting end in the first embodiment, and as shown in fig. 3, the steps executed at the receiving end of the method for accessing the WIFI device for smart home to the network of the invention include step S40 of receiving beacon frame and accessing step S50.
Step S40 of receiving beacon frame: receiving a leading beacon frame corresponding to different sequentially switched WIFI hotspots, wherein a leading field is arranged in an SSID field of the leading beacon frame, if the fact that the combination of the leading fields in the received leading beacon frame meets the preset condition is judged, receiving a subsequent beacon frame with the source consistent with that of the leading beacon frame including the leading fields meeting the preset condition, and referring to fig. 5, in the figure, locking the subsequent beacon frame with the same MAC address under the condition that the combination of the leading fields sent by the leading beacon frame meets the preset condition. And analyzing the WIFI routing authentication information from the SSID field of the subsequent beacon frame. Access step S50: and accessing the WIFI equipment into the WIFI router according to the WIFI routing authentication information. Therefore, if the combination of the leading fields meets the preset condition, the subsequent beacon frame carrying the WIFI routing authentication information is received. And the receiving terminal accesses the WIFI equipment into the WIFI router according to the WIFI routing authentication information.
Correspondingly, in this embodiment, before accessing step S50, a decryption step is further included: and decrypting the WIFI route authentication information according to the encryption mode under the condition that the transmitting end encrypts the WIFI route authentication information by adopting the encryption mode specified by the preset condition, and analyzing the WIFI route authentication information by adopting the corresponding encryption mode as shown in fig. 5. Further, the decrypting step further comprises: and decrypting the preamble field under the condition that the transmitting end encrypts the preamble field.
In this embodiment, the WIFI channels for receiving the leading beacon frame and the subsequent beacon frame may be preset, and there is no confirmation step of the WIFI channels in this case, so that the receiving is always performed on the preset WIFI channels. However, there are also cases where: no receiving channel is set, so that the receiving end stays on different WIFI channels for a set time period in sequence, for example, stays on each WIFI channel for 800ms to receive WIFI data transmitted on the WIFI channel within the set time period. And in the preamble beacon frame receiving process, receiving the preamble beacon frame on a selected channel, determining the receiving channel when judging that the combination of the preamble fields meets the preset conditions, and receiving the subsequent beacon frame on the selected channel by a subsequent receiving end.
Further, this embodiment further includes: and if the combination of the leading fields meets the preset condition, storing the MAC address of the leading Beacon frame corresponding to the leading fields meeting the preset condition so as to receive the subsequent Beacon frame from the MAC address on the selected channel. Thereby determining the source of the WIFI data.
EXAMPLE III
As shown in fig. 6, the apparatus for a WIFI device of a smart home to access a network in this embodiment is a technical solution of an apparatus class corresponding to the first embodiment, where the apparatus is arranged at a sending end in this embodiment, and the apparatus includes a leading beacon frame sending module and a subsequent beacon frame sending module. And the leading beacon frame sending module is used for sequentially switching different WIFI hotspots so as to send leading beacon frames corresponding to different WIFI hotspots, and the SSID field of the leading beacon frame is set so as to form a leading field, so that the receiving end judges whether the combination of the leading fields meets the preset condition based on the received leading beacon frame. And the subsequent beacon frame sending module is used for sending the subsequent beacon frame if the combination of the leading fields meets the preset condition, wherein the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields meeting the preset condition, and the subsequent beacon frame is continuously sent by the WIFI hotspot sending the leading beacon frame comprising the leading fields meeting the preset condition so as to improve the safety of information transmission and the convenience of operation. And the SSID field of the subsequent beacon frame comprises WIFI routing authentication information so that the receiving end can access the WIFI equipment to the WIFI router based on the WIFI routing authentication information.
As shown in fig. 7, preferably, the apparatus in this embodiment further includes an encryption module, configured to encrypt the WIFI route authentication information in an encryption manner specified by a preset condition before sending a subsequent beacon frame. Further, the encryption module is further configured to encrypt the preamble field before the preamble beacon frame is sent.
Example four
As shown in fig. 6, corresponding to the third embodiment, the apparatus for a WIFI device of a smart home to access a network of the second embodiment is a technical solution of the second embodiment, where the apparatus is disposed at a receiving end, and the apparatus includes a beacon frame receiving module and an access module. The beacon frame receiving module is used for receiving preamble beacon frames corresponding to different WIFI hotspots switched in sequence, the SSID field of the preamble beacon frame is provided with a preamble field, if the fact that the combination of the preamble field in the received preamble beacon frame meets the preset condition is judged, the source of the preamble beacon frame is received, the source of the preamble beacon frame is consistent with the source of the preamble beacon frame which meets the preset condition, and for example, the MAC address of the subsequent beacon frame is consistent with the MAC address of the preamble beacon frame which meets the preset condition. And the WIFI routing authentication information is analyzed from the SSID field of the subsequent beacon frame. And the access module is used for accessing the WIFI equipment into the WIFI router according to the WIFI routing authentication information.
In this embodiment, preferably, the beacon frame receiving module is further configured to receive a preamble beacon frame on the selected channel, and receive a subsequent beacon frame on the selected channel if a combination of preamble fields meets a preset condition.
In addition, the Beacon frame receiving module is further configured to, when it is determined that the combination of the preamble fields meets the preset condition, store the MAC address of the preamble Beacon frame corresponding to the preamble field meeting the preset condition, so as to receive a subsequent Beacon frame from the MAC address on the selected channel.
As shown in fig. 7, correspondingly, the apparatus of this embodiment further includes a decryption module, configured to decrypt the WIFI route authentication information according to an encryption manner under a condition that the sending end encrypts the WIFI route authentication information by using an encryption manner specified by a preset condition (see fig. 5). Correspondingly, before the WIFI equipment is accessed, the received WIFI routing authentication information is decrypted according to the corresponding encryption mode, and then the WIFI equipment can be connected to the WIFI router according to the WIFI routing authentication information, so that the safety of the WIFI equipment accessing to the network is further ensured. Further, the decryption module is further configured to correspondingly decrypt the preamble field under the condition that the sending end encrypts the preamble field. After the beacon frame receiving module receives the preamble beacon frame, the decryption module decrypts the preamble field and judges whether the combination of the preamble field meets the preset condition or not, so that the safety of information transmission is improved.
EXAMPLE five
The WIFI hotspot device for smart home disclosed in this embodiment includes a device for accessing the network according to the WIFI device disclosed in the third embodiment. The WIFI hotspot device (not shown) can be arranged on a terminal with a WIFI hotspot, such as a smart phone terminal or an ipad, so that the intelligent home user can carry the WIFI hotspot device conveniently, the operation of the WIFI device of the intelligent home can be facilitated, and the use experience of the user can be improved.
EXAMPLE six
The WIFI device for smart home disclosed in this embodiment includes a device for accessing the WIFI device for smart home disclosed in the fourth embodiment to the network. This WIFI equipment can install on arbitrary intelligent household electrical appliances, also can be a WIFI equipment of a plurality of intelligent household electrical appliances or holistic intelligent household electrical appliances sharing, the WIFI equipment in this embodiment can be connected with the network interface module of intelligent household electrical appliances to intelligent home users can send control signal to intelligent household electrical appliances through this WIFI equipment, and reflect dynamic information to intelligent home users in real time through this WIFI equipment intelligent household electrical appliances, the intelligent home users of being convenient for master the condition of intelligent household electrical appliances in time.
Therefore, household appliances such as refrigerators and air conditioners in families and provided with WIFI equipment can be accessed into the WIFI router in such a way, and the operation can be completed on the smart phone. In addition, due to the adoption of the mode, the carried information of the SSID in the Beacon frame in the single communication process is more, and the setting can be completed quickly. In addition, a leading Beacon frame and a following Beacon frame carrying information are received on the same selected channel, so that the problem of reduction of the transmission success rate caused by switching the receiving channel is solved.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.

Claims (18)

1. A method for accessing WIFI equipment of smart home to a network is characterized in that the steps executed at a sending end comprise:
and sending a leading beacon frame: sequentially switching different WIFI hotspots to send leading beacon frames corresponding to the different WIFI hotspots, setting SSID fields of the leading beacon frames to form leading fields, and enabling a receiving end to judge whether a combination of the leading fields meets preset conditions or not based on the received leading beacon frames;
and sending a subsequent beacon frame: if the combination of the leading fields meets the preset condition, sending a subsequent beacon frame, wherein the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields meeting the preset condition, and the SSID field of the subsequent beacon frame comprises WIFI routing authentication information so that a receiving end can access the WIFI router based on the WIFI routing authentication information.
2. The method for the WIFI device to access the network according to claim 1, further comprising an encryption step before the step of sending the subsequent beacon frame: and encrypting the WIFI route authentication information by adopting an encryption mode specified by the preset condition.
3. The method of claim 2, wherein the encrypting step further comprises: encrypting the preamble field before the step of transmitting the preamble beacon frame.
4. A method for accessing WIFI equipment of smart home to a network is characterized in that the steps executed at a receiving end comprise:
receiving beacon frames: receiving leading beacon frames corresponding to different sequentially switched WIFI hotspots, wherein the SSID fields of the leading beacon frames are provided with leading fields, if the fact that the combination of the leading fields in the received leading beacon frames meets the preset condition is judged, receiving subsequent beacon frames with the sources consistent with the sources of the leading beacon frames including the leading fields meeting the preset condition, and analyzing WIFI routing authentication information from the SSID fields of the subsequent beacon frames;
an access step: and accessing the WIFI equipment into a WIFI router according to the WIFI routing authentication information.
5. The method of claim 4, wherein in the step of receiving beacon frames, the preamble beacon frames are received on a selected channel, and when it is determined that the combination of the preamble fields meets a preset condition, the subsequent beacon frames are received on the selected channel.
6. The method for accessing the network by the WIFI device according to claim 5, wherein in the step of receiving the Beacon frame, when it is determined that the combination of the preamble fields meets the preset condition, the media access control MAC address of the preamble Beacon frame corresponding to the preamble fields meeting the preset condition is saved, so as to receive the subsequent Beacon frame from the MAC address on the selected channel.
7. The method for the WIFI device to access the network according to any one of claims 4 to 6, further comprising a decryption step before the accessing step: and decrypting the WIFI route authentication information according to the encryption mode under the condition that the transmitting end encrypts the WIFI route authentication information by adopting the encryption mode specified by the preset condition.
8. The method for the WIFI device to access the network according to claim 7, wherein the decrypting step further comprises: and correspondingly decrypting the preamble field under the condition that the transmitting end encrypts the preamble field.
9. The utility model provides a device that is used for WIFI equipment access network of intelligence house, its characterized in that sets up in the sending end, the device includes:
the device comprises a leading beacon frame sending module, a receiving end and a sending end, wherein the leading beacon frame sending module is used for sequentially switching different WIFI hotspots so as to send leading beacon frames corresponding to the different WIFI hotspots, and setting SSID fields of the leading beacon frames to form leading fields, so that the receiving end judges whether a combination of the leading fields meets a preset condition or not based on the received leading beacon frames;
and the subsequent beacon frame sending module is used for sending the subsequent beacon frame if the combination of the leading fields accords with the preset condition, the source of the subsequent beacon frame is consistent with the source of the leading beacon frame comprising the leading fields which accord with the preset condition, wherein the SSID field of the subsequent beacon frame comprises WIFI route authentication information so that a receiving end can base on the WIFI route authentication information, and the WIFI equipment is accessed to the WIFI router.
10. The apparatus for accessing a network by a WIFI device according to claim 9, further comprising an encryption module, configured to encrypt the WIFI route authentication information by using an encryption manner specified by the preset condition before sending a subsequent beacon frame.
11. The apparatus for the WIFI device to access the network as claimed in claim 10, wherein the encryption module is further configured to encrypt the preamble field before transmitting the preamble beacon frame.
12. The utility model provides a device that is used for WIFI equipment access network of intelligence house, its characterized in that sets up in the receiving terminal, the device includes:
the beacon frame receiving module is used for receiving leading beacon frames of different WIFI hotspots which are switched in sequence, wherein the SSID field of each leading beacon frame is provided with a leading field, if the fact that the combination of the leading fields in the received leading beacon frames meets the preset condition is judged, the following beacon frames with the sources consistent with the sources of the leading beacon frames including the leading fields meeting the preset condition are received, and WIFI route authentication information is analyzed from the SSID field of the following beacon frames;
and the access module is used for accessing the WIFI equipment into the WIFI router according to the WIFI routing authentication information.
13. The apparatus of claim 12, wherein the beacon frame receiving module is further configured to receive the preamble beacon frame on a selected channel, and receive the subsequent beacon frame on the selected channel when it is determined that the combination of preamble fields meets a preset condition.
14. The apparatus of claim 13, wherein the Beacon frame receiving module is further configured to store a media access control MAC address of a preamble Beacon frame corresponding to a preamble field meeting a preset condition when it is determined that a combination of the preamble fields meets the preset condition, so as to receive a subsequent Beacon frame from the MAC address on the selected channel.
15. The apparatus for accessing a network by a WIFI device according to any one of claims 12 to 14, characterized in that the apparatus further includes a decryption module, configured to decrypt the WIFI routing authentication information according to an encryption manner specified by the preset condition, under a condition that the sending end encrypts the WIFI routing authentication information by using the encryption manner specified by the preset condition.
16. The apparatus for accessing a network by a WIFI device according to claim 15, wherein the decryption module is further configured to correspondingly decrypt the preamble field under a condition that the sending end encrypts the preamble field.
17. A WIFI hotspot system for smart home, comprising the WIFI device accessing network apparatus of any one of claims 9 to 11.
18. A WIFI device for smart home, characterized in that it includes the apparatus according to any of claims 12 to 16 for accessing network of WIFI device for smart home.
CN201510131328.1A 2015-03-25 2015-03-25 Method and device for accessing WIFI equipment of smart home to network Active CN104812093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510131328.1A CN104812093B (en) 2015-03-25 2015-03-25 Method and device for accessing WIFI equipment of smart home to network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510131328.1A CN104812093B (en) 2015-03-25 2015-03-25 Method and device for accessing WIFI equipment of smart home to network

Publications (2)

Publication Number Publication Date
CN104812093A CN104812093A (en) 2015-07-29
CN104812093B true CN104812093B (en) 2021-04-02

Family

ID=53696434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510131328.1A Active CN104812093B (en) 2015-03-25 2015-03-25 Method and device for accessing WIFI equipment of smart home to network

Country Status (1)

Country Link
CN (1) CN104812093B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744596B (en) * 2016-03-29 2020-02-07 海尔优家智能科技(北京)有限公司 WiFi equipment network access method and device
CN106571986B (en) * 2016-10-09 2021-01-26 美的智慧家居科技有限公司 Network distribution method and system of household appliance, household appliance and router
CN106793119B (en) * 2016-12-22 2019-10-18 浙江宇视科技有限公司 Channel setting method and device
CN107959933B (en) * 2017-11-14 2021-08-06 深圳市共进电子股份有限公司 Code matching method, device, equipment and storage medium for PLC (programmable logic controller) equipment in WiFi (wireless fidelity) wireless network
CN109819498A (en) * 2019-01-23 2019-05-28 欧普照明股份有限公司 A kind of smart machine, the automatic distribution method and system of smart machine
CN111935681A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Intelligent equipment network configuration implementation system, method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480032A (en) * 2006-05-15 2009-07-08 缤果无线有限公司 Network access point detection and use
CN103733690A (en) * 2011-08-19 2014-04-16 高通股份有限公司 Beacons for wireless communication
CN104254983A (en) * 2012-03-02 2014-12-31 交互数字专利控股公司 Method and system for providing beacon information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012113136A1 (en) * 2011-02-22 2012-08-30 Renesas Mobile Corporation Method and apparatus for establishing a device-to-device connection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480032A (en) * 2006-05-15 2009-07-08 缤果无线有限公司 Network access point detection and use
CN103733690A (en) * 2011-08-19 2014-04-16 高通股份有限公司 Beacons for wireless communication
CN104254983A (en) * 2012-03-02 2014-12-31 交互数字专利控股公司 Method and system for providing beacon information

Also Published As

Publication number Publication date
CN104812093A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104812093B (en) Method and device for accessing WIFI equipment of smart home to network
US11757623B2 (en) Encryption method, decryption method, and related apparatus
CN104618988B (en) Smart machine method for network access and device
US20180323995A1 (en) Method and apparatus for controlling access of household appliance device to network
KR101560416B1 (en) Secure channel establishment method and apparatus in short range communication
CN104427501B (en) Method for network access, device and system
CN101621800B (en) Method for exchanging authentication information between wireless terminal and wireless router
EP1804462A1 (en) Method and apparatus for transmitting message to wireless devices that are classified into groups
CN108366362A (en) MESH network and its MESH equipment safeties match network method
CN105764058B (en) Method, device and system for accessing network
CN104735747A (en) Information transferring and receiving method and internet-of-things equipment
CN105744596B (en) WiFi equipment network access method and device
CN103581901A (en) Method and device for processing Wi-Fi wireless network access configuration information
CN104619040A (en) Method and system for quickly connecting WIFI equipment
CN105636040A (en) Device networking method and system
CN113099440A (en) Network configuration method, device, equipment and system
WO2022166636A1 (en) Device network configuration method and apparatus, devices and storage medium
CN106452999B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN108601093B (en) Wireless communication method and system
CN105517102A (en) Method, device and equipment for enabling wireless network equipment to be connected with hot spot
CN113068181B (en) Multi-type intelligent terminal safety network access method
CN105636026A (en) Configuration method of WIFI one-key intelligent system
CN107171804B (en) A kind of data transmission method
US20200288331A1 (en) Method and apparatus for connecting to access point in wlan network
CN110943835A (en) Distribution network encryption method and system for sending wireless local area network information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant