CN106162647B - Intelligent equipment configuration network access method and device - Google Patents

Intelligent equipment configuration network access method and device Download PDF

Info

Publication number
CN106162647B
CN106162647B CN201610797669.7A CN201610797669A CN106162647B CN 106162647 B CN106162647 B CN 106162647B CN 201610797669 A CN201610797669 A CN 201610797669A CN 106162647 B CN106162647 B CN 106162647B
Authority
CN
China
Prior art keywords
beacon frame
access configuration
ssid
subfield
network access
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
CN201610797669.7A
Other languages
Chinese (zh)
Other versions
CN106162647A (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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201610797669.7A priority Critical patent/CN106162647B/en
Publication of CN106162647A publication Critical patent/CN106162647A/en
Application granted granted Critical
Publication of CN106162647B publication Critical patent/CN106162647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment

Landscapes

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

Abstract

the invention discloses a method and a device for configuring and accessing intelligent equipment, wherein the method comprises the following steps: the router identifies at least one beacon frame as an access configuration beacon frame used for carrying a Service Set Identification (SSID), and sets the SSID of the wireless network in the access configuration beacon frame used for carrying the SSID; identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password, and setting the connection password of the wireless network in the network access configuration beacon frame for carrying the connection password; and sending an access configuration beacon frame carrying the SSID and an access configuration beacon frame carrying the connection password, and establishing connection with the terminal equipment according to the connection request of the terminal equipment. The invention uses the SSID field of the beacon frame to bear the SSID and the connection password of the wireless network through the self-defined network access configuration beacon frame setting rule, can save data flow, has simple realization steps, and can effectively improve the safety and the automation performance of the whole short-distance wireless network.

Description

intelligent equipment configuration network access method and device
Technical Field
The invention relates to the field of wireless communication data processing, in particular to a method and a device for configuring and accessing intelligent equipment.
Background
The application of the short-distance wireless network technology is more and more extensive, and one router can be connected with a plurality of terminal devices in a wireless mode, so that the plurality of terminal devices can obtain wireless network resources simultaneously.
The prior art mainly includes two ways to establish a connection between a terminal device and a router. The first is realized by an Institute of Electrical and Electronics Engineers (IEEE) 802.11 multicast protocol, but this method requires multiple packets to be exchanged between them, which consumes data traffic. Second, the implementation is implemented by configuring the smart device as a wireless Access Point (AP), but the implementation steps of this approach are complex.
disclosure of Invention
the invention provides a method and a device for configuring and accessing intelligent equipment, which aim to solve the problems of data flow consumption and complex implementation steps when terminal equipment is accessed into a wireless network in the prior art.
The invention provides a network access method for intelligent device configuration, which comprises the following steps: the router identifies at least one beacon frame as an access configuration beacon frame used for carrying a Service Set Identification (SSID), and sets the SSID of the wireless network in the access configuration beacon frame used for carrying the SSID; identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password, and setting the connection password of the wireless network in the network access configuration beacon frame for carrying the connection password; and sending an access configuration beacon frame carrying the SSID and an access configuration beacon frame carrying the connection password, and establishing connection with the terminal equipment according to the connection request of the terminal equipment.
The intelligent equipment configuration network access method also has the following characteristics:
The identifying of the at least one beacon frame as the network access configuration beacon frame for carrying the SSID comprises: setting the value of the network access configuration identification subfield in the SSID field of at least one beacon frame as a value for indicating that the beacon frame configures the beacon frame for network access, and setting the value of the content identification subfield as a value for indicating that the SSID is carried in the beacon frame;
the identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password comprises: and setting the value of the network access configuration identification subfield in the SSID field of at least one beacon frame as a value for indicating that the beacon frame configures the beacon frame for network access, and setting the value of the content identification subfield as a value for indicating that the connection password is carried in the beacon frame.
the intelligent equipment configuration network access method also has the following characteristics:
the setting of the SSID of the wireless network in the network access configuration beacon frame for carrying the SSID comprises: setting an effective data subfield in an SSID field of an access configuration beacon frame carrying the SSID as the SSID of a wireless network; the setting of the connection password of the wireless network in the network access configuration beacon frame carrying the connection password comprises the following steps: setting an effective data subfield in an SSID field of an access configuration beacon frame carrying a connection password as the connection password of the wireless network;
or,
The setting of the SSID of the wireless network in the network access configuration beacon frame for carrying the SSID comprises: determining the number of segments of the SSID and the segmented content of the SSID corresponding to the number of the segments according to the length of the effective data subfield and the length of the SSID of the wireless network, and determining the number of the access configuration beacon frames which are the same as the number of the segments and are used for carrying the SSID; setting the value of a segment number subfield in an SSID field as a corresponding segment number, and setting the value of an effective data subfield in the SSID field to contain the segmented content of the SSID corresponding to the segment number aiming at each network access configuration beacon frame; setting the value of a valid data subfield in an SSID field as a combination with the last segment content and an end character of the SSID for an access configuration beacon frame corresponding to the last segment;
The setting of the connection password in the network access configuration beacon frame includes: determining the number of sections of the connection password and the section content of the connection password corresponding to the number of the sections according to the length of the effective data subfield and the length of the connection password of the wireless network, and determining the number of network access configuration beacon frames which are the same as the number of the sections and are used for carrying the connection password; setting a segment number corresponding to the value of a segment number subfield in an SSID field aiming at each network access configuration beacon frame, and setting the segment content of a connection password corresponding to the segment number in an effective data subfield in the SSID field; setting a value of a valid data subfield in the SSID field to a combination of a segment content and an end-of-line of a connection password corresponding to the segment number for an access configuration beacon frame corresponding to a last segment.
the intelligent equipment configuration network access method also has the following characteristics:
The setting of the SSID of the wireless network in the network access configuration beacon frame carrying the SSID and the setting of the connection password of the wireless network in the network access configuration beacon frame carrying the connection password comprises:
When the length of the SSID of the wireless network is judged to be smaller than the length of the effective data subfield in the first network access configuration rule, setting the value of the network access configuration rule subfield in the SSID field of each network access configuration beacon frame as a value for indicating the first network access configuration rule;
when the length of the connection password of the wireless network is judged to be smaller than the length of the valid data subfield in the first network access configuration rule, setting the value of the network access configuration identification subfield as a value for indicating that the beacon frame is a network access configuration beacon frame, setting the value of the content identification subfield as a value for indicating that the network access configuration beacon frame carries SSID, and setting the value of the valid data subfield as SSID;
When the length of the SSID of the wireless network is judged to be larger than the length of the effective data subfield in the first network access configuration rule, determining the number of segments of the SSID and the segmented content of the SSID corresponding to the number of the segments according to the length of the SSID and the length of the effective data subfield in the second network access configuration rule, determining the number of network access configuration beacon frames which are used for transmitting the SSID and are the same as the number of the segments, setting the value of the network access configuration identification subfield in the SSID field of each network access configuration beacon frame as a value for representing that the beacon frame is a network access configuration beacon frame, and setting the value of the content identification subfield as a value for indicating that the SSID is carried in the network access configuration beacon frame; setting the value of a section number subfield in an SSID field as a corresponding section number and setting an effective data subfield in the SSID field to contain the section content of the SSID corresponding to the section number aiming at each network access configuration beacon frame; setting the value of a valid data subfield in an SSID field as a combination of the segment content and an end character of the SSID corresponding to the segment number aiming at the network access configuration beacon frame corresponding to the last segment;
when the length of the connection password of the wireless network is judged to be larger than the length of the effective data subfield in the first network access configuration rule, determining the number of segments of the connection password and the segmented content of the connection password corresponding to the number of the segments according to the length of the connection password and the length of the effective data subfield in the second network access configuration rule, determining the number of network access configuration beacon frames used for transmitting the connection password, setting the value of the network access configuration identification subfield in the SSID field of each network access configuration beacon frame as a value used for indicating that the beacon frame is a network access configuration beacon frame, and setting the value of the content identification subfield as a value used for indicating that the network access configuration beacon frame carries the connection password; setting a segment number corresponding to the value of a segment number subfield in an SSID field and setting the value of an effective data subfield in the SSID field as the segmented content of a connection password corresponding to the segment number aiming at each network access configuration beacon frame; setting a value of a valid data subfield in the SSID field to a combination of a segment content and an end-of-line of a connection password corresponding to the segment number for an access configuration beacon frame corresponding to a last segment.
the invention also provides a network access device configured by the intelligent equipment, which is applied to a router and comprises the following components:
The device comprises a setting module, a Service Set Identification (SSID) module and a Service Set Identification (SSID) module, wherein the setting module is used for identifying at least one beacon frame as an access configuration beacon frame used for carrying the SSID, and setting the SSID of a wireless network in the access configuration beacon frame used for carrying the SSID; identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password, and setting the connection password of the wireless network in the network access configuration beacon frame for carrying the connection password;
The communication module is used for sending an access configuration beacon frame carrying an SSID and an access configuration beacon frame carrying a connection password; and the terminal equipment is also used for establishing connection with the terminal equipment according to the connection request of the terminal equipment.
the invention also provides a network access method for the intelligent device configuration, which comprises the following steps:
The method comprises the steps that terminal equipment receives beacon frames, when at least one beacon frame is judged to be an access network configuration beacon frame with an SSID according to an access network configuration beacon frame setting rule, the SSID is analyzed from the access network configuration beacon frame with the SSID, and when at least one beacon frame is judged to be the access network configuration beacon frame with a connection password according to the access network configuration beacon frame setting rule, the connection password is analyzed from the access network configuration beacon frame with the connection password; and establishing connection with the router corresponding to the SSID according to the SSID and the connection password.
the intelligent equipment configuration network access method also has the following characteristics:
The setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a network access configuration identification subfield used for indicating whether the beacon frame is a network access configuration beacon frame or not and a content identification subfield used for indicating whether an SSID or a connection password is carried in the current beacon frame;
the step of judging at least one beacon frame as the network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule comprises the following steps: analyzing the value and the content identification subfield of the network access configuration identification subfield of the SSID field in the beacon frame, and judging that the beacon frame is the network access configuration beacon frame carrying the SSID when the value of the network access configuration identification subfield is a value for indicating that the beacon frame is the network access configuration beacon frame and the value of the content identification subfield is a value for indicating that the SSID is carried in the current beacon frame;
The step of judging at least one beacon frame as the network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule comprises the following steps:
And analyzing the value of the access configuration identification subfield and the content identification subfield of the connection password field in the beacon frame, and judging that the beacon frame is the access configuration beacon frame carrying the connection password when the value of the access configuration identification subfield is a value used for indicating that the beacon frame configures the beacon frame for access and the value of the content identification subfield is a value used for indicating that the current beacon frame carries the connection password.
the intelligent equipment configuration network access method also has the following characteristics:
The setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a valid data subfield;
The analyzing the SSID from the network access configuration beacon frame carrying the SSID comprises: analyzing the value of the effective data subfield in the network access configuration beacon frame carrying the SSID as the SSID of the wireless network;
The analyzing the connection password from the network access configuration beacon frame carrying the connection password comprises: and analyzing the value of the effective data subfield in the network access configuration beacon frame carrying the connection password as the connection password of the wireless network.
the intelligent equipment configuration network access method also has the following characteristics:
The setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a subsection number subfield and a valid data subfield;
Analyzing the SSID from the network access configuration beacon frame carrying the SSID comprises analyzing the contents of a subsection number subfield and an effective data subfield from the SSID field of each network access configuration beacon frame carrying the SSID; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the SSID corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the SSID, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; the SSID of the wireless network is combined according to the sections of the SSID corresponding to the section numbers;
analyzing the connection password from the network access configuration beacon frame carrying the connection password comprises analyzing the contents of a subsection number subfield and an effective data subfield from an SSID field of each network access configuration beacon frame carrying the connection password; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the connection password corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the connection password, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; and combining the connection passwords of the wireless network according to the segments of the connection passwords corresponding to the segment numbers.
The intelligent equipment configuration network access method also has the following characteristics:
the setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a network access configuration rule subfield, and when the value of the network access configuration rule subfield is a value used for indicating a first network access configuration rule, the network access configuration beacon frame comprises a valid data subfield; when the value of the network access configuration rule subfield is a value used for indicating a second network access configuration rule, the network access configuration beacon frame comprises a segment number subfield and a valid data subfield;
Analyzing the SSID from the network access configuration beacon frame carrying the SSID comprises:
Analyzing the value of the subfield of the network access configuration rule in the network access configuration beacon frame carrying the SSID, and when the value is the value indicating the first network access configuration rule, analyzing the value of the effective data subfield in the network access configuration beacon frame as the SSID; when the value is the value indicating the second network access configuration rule, analyzing the contents of the subsection number subfield and the valid data subfield from the SSID field of each network access configuration beacon frame carrying the SSID; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the SSID corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the SSID, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; the SSID of the wireless network is combined according to the sections of the SSID corresponding to the section numbers;
analyzing the connection password from the network access configuration beacon frame carrying the connection password comprises the following steps:
Analyzing the value of the sub-field of the network access configuration rule in the network access configuration beacon frame carrying the connection password, and when the value is the value indicating the first network access configuration rule, analyzing the value of the effective data sub-field in the network access configuration beacon frame as the SSID; when the value is the value indicating the second network access configuration rule, the contents of the subsection number subfield and the valid data subfield are analyzed from the SSID field of each network access configuration beacon frame carrying the connection password; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the connection password corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the connection password, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; and combining the connection passwords of the wireless network according to the segments of the connection passwords corresponding to the segment numbers.
The invention also provides a network access device configured by the intelligent equipment, which is applied to the terminal equipment and comprises the following components:
A receiving module for receiving at least one beacon frame;
the judging module is used for judging whether the beacon frame is the network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule and also used for judging that the beacon frame is the network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule;
The analysis module is used for analyzing the SSID from the network access configuration beacon frame carrying the SSID and analyzing the connection password from the network access configuration beacon frame carrying the connection password;
And the communication module is used for establishing connection with the router corresponding to the SSID according to the SSID and the connection password.
the invention uses the SSID field of the beacon frame to bear the SSID and the connection password of the wireless network through the self-defined network access configuration beacon frame setting rule, can save data flow, has simple realization steps, and can effectively improve the safety and the automation performance of the whole short-distance wireless network.
drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flowchart illustrating a network entry method for configuring an intelligent device according to an embodiment;
FIG. 2 is a block diagram of a network access device configured by an intelligent device according to an embodiment;
FIG. 3 is a flowchart of a network accessing method for configuring an intelligent device according to the second embodiment;
Fig. 4 is a structural diagram of a network access device configured by an intelligent device according to the second embodiment.
Detailed Description
in order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Example one
fig. 1 is a flowchart of a network access method for configuring an intelligent device in an embodiment, where the method includes:
the router identifies at least one beacon frame as a network access configuration beacon frame used for carrying a Service Set Identifier (SSID), and sets the SSID of the wireless network in the network access configuration beacon frame used for carrying the SSID; identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password, and setting the connection password of the wireless network in the network access configuration beacon frame for carrying the connection password; and sending an access configuration beacon frame carrying the SSID and an access configuration beacon frame carrying the connection password, and establishing connection with the terminal equipment according to the connection request of the terminal equipment.
the method uses the SSID field in the beacon frame in the setting rule of the network access configuration beacon frame, and the network access configuration identification subfield used for indicating the beacon frame as the identification of the network access configuration beacon frame is set in the SSID field, and other subfields are used for carrying the SSID and the connection password of the wireless network. The SSID field is not limited to use in the method, and other fields may be used. The method is described in detail below using the SSID field.
the setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a network access configuration identification subfield used for indicating whether the beacon frame is a network access configuration beacon frame, a content identification subfield used for indicating whether an SSID or a connection password is carried in the current beacon frame, and a valid data subfield used for setting specific content of the SSID or the connection password.
Identifying at least one beacon frame as a network access configuration beacon frame for carrying an SSID according to a network access configuration beacon frame setting rule comprises: and setting the value of the network access configuration identification subfield in the SSID field of at least one beacon frame as a value for indicating that the beacon frame configures the beacon frame for network access, and setting the value of the content identification subfield as a value for indicating that the SSID is carried in the beacon frame.
Identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password according to a network access configuration beacon frame setting rule comprises: and setting the value of the network access configuration identification subfield in the SSID field of at least one beacon frame as a value for indicating that the beacon frame configures the beacon frame for network access, and setting the value of the content identification subfield as a value for indicating that the connection password is carried in the beacon frame.
When the method sets the network access configuration beacon frame, one of the following methods can be adopted:
method 1
in the first method, a first network access configuration beacon frame setting rule is used, and the method is suitable for application scenarios in which the length of the SSID and the length of the connection password of the wireless network are both smaller than the length of the effective data subfield in the first network access configuration rule. As shown in table 1, in this first network entry configuration beacon frame setting rule, the SSID field in the beacon frame includes a network entry configuration identification subfield, a content identification subfield, and a valid data subfield.
TABLE 1
network access configuration identification subfield Content identification subfield Valid data subfield
The router sets the value of the network access configuration identification subfield in the SSID field of each beacon frame to a value (e.g., 1) for indicating that the beacon frame configures the beacon frame for network access, sets the value of the content identification subfield in the beacon frame for carrying the SSID to a value (e.g., 1) for indicating that the SSID field carries the SSID, sets the value of the valid data subfield to the SSID, sets the value of the content identification subfield in the beacon frame for carrying the connection password to a value (e.g., 2) for indicating that the SSID field carries the connection password, and sets the value of the valid data subfield to the connection password.
The length setting of each subfield can be various, for example, as follows: the length of the network access configuration identification subfield is 2 bytes, the length of the content identification subfield is 1 byte, and the lengths of the effective data subfields are all 29 bytes.
method two
in the second method, a second network access configuration beacon frame setting rule is used. As shown in table 2, in the second network entry configuration beacon frame setting rule, the SSID field in the beacon frame includes a network entry configuration identification subfield, a content identification subfield, a segment number subfield, and a valid data subfield.
TABLE 2
network access configuration identification subfield content identification subfield number field of subsection valid data subfield
the router sets the value of the network entry configuration identification subfield in the SSID field of each beacon frame to a value (e.g., 1) indicating that this beacon frame configures the beacon frame for network entry.
Setting a value of a content identification subfield in a beacon frame carrying an SSID as a value (for example, 1) for indicating that the beacon frame carries the SSID, determining the number of segments of the SSID and the segmented content of the SSID corresponding to the number of the segments according to the length of the valid data subfield and the length of the SSID of the wireless network, and determining the number of network access configuration beacon frames carrying the SSID, which is the same as the number of the segments; setting the value of a subsection number subfield as a corresponding section number and setting the value of an effective data subfield to contain subsection content of SSID corresponding to the section number aiming at each network access configuration beacon frame; the value of the valid data subfield is set to a combination with the last segment content and the end identifier (e.g., OXFF) of the SSID for the inbound configuration beacon frame corresponding to the last segment.
the value of the content identification subfield in the beacon frame for carrying the connection password is set to a value (e.g., 2) indicating that the connection password is carried in this beacon frame. Determining the number of sections of the connection password and the section content of the connection password corresponding to the number of the sections according to the length of the effective data subfield and the length of the connection password of the wireless network, and determining the number of network access configuration beacon frames which are the same as the number of the sections and are used for carrying the connection password; setting the value of a subsection number subfield as a corresponding section number and setting the value of a valid data subfield to contain subsection content of a connection password corresponding to the section number aiming at each network access configuration beacon frame; the value of the valid data subfield is set to the combination of the segment content and the terminator (e.g., OXFF) of the connection password corresponding to the segment number for the network entry configuration beacon frame corresponding to the last segment.
The length setting of each subfield can be various, for example, as follows: the length of the network access configuration identification subfield is 2 bytes, the length of the content identification subfield is 1 byte, the length of the segment number subfield is 1 byte, and the length of the valid data subfield is 28 bytes.
the third method comprises the following steps:
in the third method, the first network access configuration beacon frame setting rule and the second network access configuration beacon frame setting rule can be used at the same time.
when the router determines that the length of the SSID of the wireless network or the length of the connection password of the wireless network is smaller than the length of the valid data subfield in the first network access configuration rule, the router uses the first network access configuration beacon frame setting rule, as shown in table 3, an SSID field in a beacon frame in the first network access configuration beacon frame setting rule includes a network access configuration identification subfield, a rule identification subfield, a content identification subfield, and a valid data subfield, for example, as follows: the subfields occupy bytes of 2 bytes, 1 byte, and 28 bytes, respectively.
TABLE 3
specifically, the method comprises the following steps: setting a value of a network access configuration rule subfield in each network access configuration beacon frame to a value (for example, 1) for indicating a first network access configuration rule, and setting a value of a network access configuration identification subfield of an SSID field in each network access configuration beacon frame to a value (for example, 1) for indicating that the beacon frame is a network access configuration beacon frame; setting the value of the content identification subfield of the network access configuration beacon frame carrying the SSID as a value (for example, 1) indicating that the network access configuration beacon frame carries the SSID, and setting the value of the valid data subfield as the SSID; the value of the content identification subfield in the SSID field of the network entry configuration beacon frame for carrying the connection password is set to a value (e.g., 2) indicating that the connection password is carried in the network entry configuration beacon frame, and the value of the valid data subfield is set to the connection password.
When the router determines that the length of the SSID of the wireless network or the length of the connection password of the wireless network is greater than the length of the valid data subfield in the first network access configuration rule, the router uses the second network access configuration beacon frame setting rule, as shown in table 4, the SSID field in the beacon frame of the second network access configuration beacon frame setting rule includes a rule identification subfield, a network access configuration identification subfield, a content identification subfield, a segment number subfield, and a valid data subfield, for example, as follows: the sub-fields respectively occupy 2 bytes, 1 byte, and 27 bytes.
TABLE 4
Specifically, the method comprises the following steps: and setting the value of the network access configuration rule subfield in each network access configuration beacon frame to be a value (for example, 2) for indicating the second network access configuration rule.
When the length of the SSID of the wireless network is judged to be larger than the length of the effective data subfield in the first network access configuration rule: determining the number of segments of the SSID and the segmented content of the SSID corresponding to the number of segments according to the length of the SSID and the length of the effective data subfield in the second network access configuration rule, determining the number of network access configuration beacon frames for transmitting the SSID, setting the value of each network access configuration identification subfield as a value for indicating that the beacon frame is a network access configuration beacon frame, and setting the value of the content identification subfield as a value for indicating that the network access configuration beacon frame carries the SSID; setting a segment number corresponding to the value of a segment number subfield and setting the value of a valid data subfield to contain the segment content of SSID corresponding to the segment number aiming at each network access configuration beacon frame; the value of the valid data subfield is set to the combination of the segment content and the end identifier of the SSID corresponding to the segment number for the network entry configuration beacon frame corresponding to the last segment.
when the length of the connection password of the wireless network is judged to be larger than the length of the effective data subfield in the first network access configuration rule: determining the number of segments of the connection password and the segmented content of the connection password corresponding to the number of segments according to the length of the connection password and the length of the effective data subfield in the second network access configuration rule, determining the number of network access configuration beacon frames for transmitting the connection password, setting the value of each network access configuration identification subfield as a value for indicating that the beacon frame is a network access configuration beacon frame, setting the value of the content identification subfield as a value for indicating that the network access configuration beacon frame carries the connection password, setting the segment number corresponding to the value of the segment number subfield for each network access configuration beacon frame, and setting the value of the effective data subfield to contain the segmented content of the connection password corresponding to the segment number; the value of the valid data subfield is set to the combination of the segment content and the end of the connection password corresponding to the segment number for the network entry configuration beacon frame corresponding to the last segment.
Fig. 2 is a block diagram of a network access device configured by an intelligent device, where the network access device is applied to a router, and the network access device is characterized by comprising:
the setting module is used for identifying the network access configuration beacon frame carrying the SSID as a network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule, setting the SSID in the network access configuration beacon frame, identifying the network access configuration beacon frame carrying the connection password as a network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule, and setting the connection password in the network access configuration beacon frame.
The communication module is used for sending an access configuration beacon frame carrying an SSID and an access configuration beacon frame carrying a connection password; and the terminal equipment is also used for establishing connection with the terminal equipment according to the connection request of the terminal equipment.
the method for the setting module to set the network access configuration beacon frame according to the network access configuration beacon frame setting rule is the same as the method described in the above, and is not described herein again.
FIG. 3 is a flowchart of a network access method for configuring an intelligent device in an embodiment. The method comprises the following steps: the method comprises the steps that terminal equipment receives beacon frames, when at least one beacon frame is judged to be an access network configuration beacon frame with an SSID according to an access network configuration beacon frame setting rule, the SSID is analyzed from the access network configuration beacon frame with the SSID, and when at least one beacon frame is judged to be the access network configuration beacon frame with a connection password according to the access network configuration beacon frame setting rule, the connection password is analyzed from the access network configuration beacon frame with the connection password; and establishing connection with the router corresponding to the SSID according to the SSID and the connection password.
The step of judging at least one beacon frame as the network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule comprises the following steps: and analyzing the value of the network access configuration identification subfield and the content identification subfield of the SSID field in the beacon frame, and judging that the beacon frame is the network access configuration beacon frame carrying the SSID when the value of the network access configuration identification subfield is a value used for indicating that the beacon frame configures the beacon frame for network access and the value of the content identification subfield is a value used for indicating that the SSID is carried in the current beacon frame.
The step of judging at least one beacon frame as the network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule comprises the following steps: and analyzing the value of the access configuration identification subfield and the content identification subfield of the connection password field in the beacon frame, and judging that the beacon frame is the access configuration beacon frame carrying the connection password when the value of the access configuration identification subfield is a value used for indicating that the beacon frame configures the beacon frame for access and the value of the content identification subfield is a value used for indicating that the current beacon frame carries the connection password.
When the router uses the first method to set the network access configuration beacon frame, the terminal equipment analyzes the value of the effective data subfield in the network access configuration beacon frame carrying the SSID as the SSID; and analyzing the value of the effective data subfield in the network access configuration beacon frame carrying the connection password as the connection password.
When the router uses the second method to set the network access configuration beacon frame, the terminal equipment analyzes the SSID from the network access configuration beacon frame carrying the SSID, wherein the step of analyzing the subsection number subfield and the effective data subfield from each network access configuration beacon frame carrying the SSID is included; judging whether the effective data subfield in each network access configuration beacon frame carrying the SSID contains an end symbol, regarding the network access configuration beacon frame carrying the SSID and not containing the end symbol, taking the value of the effective data subfield in the network access configuration beacon frame as the subsection content of the SSID corresponding to the section number in the section number subfield in the network access configuration beacon frame, regarding the network access configuration beacon frame carrying the SSID and containing the end symbol, taking the content before the end symbol in the effective data subfield in the network access configuration beacon frame as the last section of the SSID, and taking the value of the section number subfield in the network access configuration beacon frame as the final section number; and combining the SSIDs of the wireless network according to the sections of the SSIDs corresponding to the section numbers.
Analyzing the connection password from the network access configuration beacon frame carrying the connection password by the terminal equipment comprises analyzing a subsection number subfield and an effective data subfield from each network access configuration beacon frame carrying the connection password; judging whether the valid data subfield in each network access configuration beacon frame carrying the connection password contains the end symbol, regarding the network access configuration beacon frame carrying the connection password and not containing the end symbol, taking the value of the valid data subfield in the network access configuration beacon frame as the segmented content of the connection password corresponding to the segment number in the segment number subfield in the network access configuration beacon frame, regarding the network access configuration beacon frame carrying the connection password and containing the end symbol, taking the content before the end symbol in the valid data subfield in the network access configuration beacon frame as the last segment of the connection password, and taking the value of the segment number subfield in the network access configuration beacon frame as the final segment number; and combining the connection passwords of the wireless network according to the segments of the connection passwords corresponding to the segment numbers.
When the router uses the third method to set the network access configuration beacon frame, the step of analyzing the SSID from the network access configuration beacon frame carrying the SSID by the terminal equipment comprises the following steps: analyzing the value of the subfield of the network access configuration rule in the network access configuration beacon frame carrying the SSID, and when the value is the value indicating the first network access configuration rule, analyzing the value in the subfield of the valid data in the network access configuration beacon frame as the SSID; when the value is the value indicating the second network access configuration rule, analyzing the values of the segment number subfield and the valid data subfield in each network access configuration beacon frame, judging whether the valid data subfield in each configuration beacon frame contains an end character, and regarding the configuration beacon frame without the end character, taking the value of the valid data subfield in the configuration beacon frame as the segment content of the SSID corresponding to the segment number in the segment number subfield in the configuration beacon frame; for a configuration beacon frame containing an end character, taking the content before the end character in a valid data subfield in the configuration beacon frame as the last segmentation content of the SSID, and taking the value of a segmentation number subfield in the configuration beacon frame as a final segment number; and combining the SSID of the wireless network according to the segmented content of the SSID corresponding to the segment number.
The method for analyzing the connection password from the network access configuration beacon frame carrying the connection password by the terminal equipment comprises the following steps: analyzing the value of the sub-field of the network access configuration rule in the network access configuration beacon frame carrying the connection password, and when the value is the value indicating the first network access configuration rule, analyzing the value in the sub-field of the valid data in the network access configuration beacon frame as the connection password; when the value is a value indicating a second network access configuration rule, analyzing the values of a segment number subfield and an effective data subfield in each network access configuration beacon frame, judging whether the effective data subfield in each configuration beacon frame contains an end character, and regarding the configuration beacon frame which does not contain the end character, taking the value of the effective data subfield in the configuration beacon frame as the segmented content of the connection password corresponding to the segment number in the segment number subfield in the configuration beacon frame; for a configuration beacon frame containing an end character, taking the content before the end character in a valid data subfield in the configuration beacon frame as the last segmentation content of a connection password, and taking the value of a segmentation number subfield in the configuration beacon frame as a final segment number; and combining the connection password of the wireless network according to the segmented content of the connection password corresponding to the segment number.
fig. 4 is a structural diagram of a network access device configured by an intelligent device, where the network access device is applied to a terminal device, and the network access device includes:
a receiving module for receiving at least one beacon frame;
the judging module is used for judging whether the beacon frame is the network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule and also used for judging that the beacon frame is the network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule;
The analysis module is used for analyzing the SSID from the network access configuration beacon frame carrying the SSID and analyzing the connection password from the network access configuration beacon frame carrying the connection password;
And the communication module is used for establishing connection with the router corresponding to the SSID according to the SSID and the connection password.
The invention uses the SSID field of the beacon frame to bear the SSID and the connection password of the wireless network through the self-defined network access configuration beacon frame setting rule, can save data flow, has simple realization steps, and can effectively improve the safety and the automation performance of the whole short-distance wireless network.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
it is to be noted that, in this document, the terms "comprises", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, so that an article or apparatus including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of additional like elements in the article or device comprising the element.
the above embodiments are merely to illustrate the technical solutions of the present invention and not to limit the present invention, and the present invention has been described in detail with reference to the preferred embodiments. It will be understood by those skilled in the art that various modifications and equivalent arrangements may be made without departing from the spirit and scope of the present invention and it should be understood that the present invention is to be covered by the appended claims.

Claims (8)

1. a network access method for intelligent device configuration is characterized by comprising the following steps:
The router identifies at least one beacon frame as an access configuration beacon frame used for carrying a Service Set Identification (SSID), and sets the SSID of the wireless network in the access configuration beacon frame used for carrying the SSID; identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password, and setting the connection password of the wireless network in the network access configuration beacon frame for carrying the connection password; sending an access configuration beacon frame carrying an SSID and an access configuration beacon frame carrying a connection password, establishing connection with a terminal device according to a connection request of the terminal device,
The system comprises a beacon frame, an SSID field, a network access configuration identification subfield, a content identification subfield and a valid data subfield, wherein the SSID field in the beacon frame is provided with the network access configuration identification subfield, the content identification subfield and the valid data subfield, the network access configuration identification subfield is used for indicating whether the beacon frame is a network access configuration beacon frame or not, the content identification subfield is used for indicating whether the valid data subfield carries the SSID of a wireless network or the connection password of the wireless network, and the valid data subfield is used for carrying the SSID of the wireless network or the connection;
the setting of the SSID of the wireless network in the network access configuration beacon frame for carrying the SSID comprises: determining the number of segments of the SSID and the segmented content of the SSID corresponding to the number of the segments according to the length of the effective data subfield and the length of the SSID of the wireless network, and determining the number of the access configuration beacon frames which are the same as the number of the segments and are used for carrying the SSID; setting the value of a segment number subfield in an SSID field as a corresponding segment number, and setting the value of an effective data subfield in the SSID field to contain the segmented content of the SSID corresponding to the segment number aiming at each network access configuration beacon frame; setting the value of a valid data subfield in an SSID field as a combination with the last segment content and an end character of the SSID for an access configuration beacon frame corresponding to the last segment;
the setting of the connection password in the network access configuration beacon frame includes: determining the number of sections of the connection password and the section content of the connection password corresponding to the number of the sections according to the length of the effective data subfield and the length of the connection password of the wireless network, and determining the number of network access configuration beacon frames which are the same as the number of the sections and are used for carrying the connection password; setting a segment number corresponding to the value of a segment number subfield in an SSID field aiming at each network access configuration beacon frame, and setting the segment content of a connection password corresponding to the segment number in an effective data subfield in the SSID field; setting a value of a valid data subfield in the SSID field to a combination of a segment content and an end-of-line of a connection password corresponding to the segment number for an access configuration beacon frame corresponding to a last segment.
2. the intelligent device configuration network entry method of claim 1,
The identifying of the at least one beacon frame as the network access configuration beacon frame for carrying the SSID comprises: setting the value of the network access configuration identification subfield in the SSID field of at least one beacon frame as a value for indicating that the beacon frame configures the beacon frame for network access, and setting the value of the content identification subfield as a value for indicating that the SSID is carried in the beacon frame;
The identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password comprises: and setting the value of the network access configuration identification subfield in the SSID field of at least one beacon frame as a value for indicating that the beacon frame configures the beacon frame for network access, and setting the value of the content identification subfield as a value for indicating that the connection password is carried in the beacon frame.
3. The intelligent device configuration network entry method according to claim 1 or 2,
the setting of the SSID of the wireless network in the network access configuration beacon frame carrying the SSID and the setting of the connection password of the wireless network in the network access configuration beacon frame carrying the connection password comprises:
when the length of the SSID of the wireless network is judged to be smaller than the length of the effective data subfield in the first network access configuration rule, setting the value of the network access configuration rule subfield in the SSID field of each network access configuration beacon frame as a value for indicating the first network access configuration rule;
When the length of the connection password of the wireless network is judged to be smaller than the length of the valid data subfield in the first network access configuration rule, setting the value of the network access configuration identification subfield as a value for indicating that the beacon frame is a network access configuration beacon frame, setting the value of the content identification subfield as a value for indicating that the network access configuration beacon frame carries SSID, and setting the value of the valid data subfield as SSID;
When the length of the SSID of the wireless network is judged to be larger than the length of the effective data subfield in the first network access configuration rule, determining the number of segments of the SSID and the segmented content of the SSID corresponding to the number of the segments according to the length of the SSID and the length of the effective data subfield in the second network access configuration rule, determining the number of network access configuration beacon frames which are used for transmitting the SSID and are the same as the number of the segments, setting the value of the network access configuration identification subfield in the SSID field of each network access configuration beacon frame as a value for representing that the beacon frame is a network access configuration beacon frame, and setting the value of the content identification subfield as a value for indicating that the SSID is carried in the network access configuration beacon frame; setting the value of a section number subfield in an SSID field as a corresponding section number and setting an effective data subfield in the SSID field to contain the section content of the SSID corresponding to the section number aiming at each network access configuration beacon frame; setting the value of a valid data subfield in an SSID field as a combination of the segment content and an end character of the SSID corresponding to the segment number aiming at the network access configuration beacon frame corresponding to the last segment;
when the length of the connection password of the wireless network is judged to be larger than the length of the effective data subfield in the first network access configuration rule, determining the number of segments of the connection password and the segmented content of the connection password corresponding to the number of the segments according to the length of the connection password and the length of the effective data subfield in the second network access configuration rule, determining the number of network access configuration beacon frames used for transmitting the connection password, setting the value of the network access configuration identification subfield in the SSID field of each network access configuration beacon frame as a value used for indicating that the beacon frame is a network access configuration beacon frame, and setting the value of the content identification subfield as a value used for indicating that the network access configuration beacon frame carries the connection password; setting a segment number corresponding to the value of a segment number subfield in an SSID field and setting the value of an effective data subfield in the SSID field as the segmented content of a connection password corresponding to the segment number aiming at each network access configuration beacon frame; setting a value of a valid data subfield in the SSID field to a combination of a segment content and an end-of-line of a connection password corresponding to the segment number for an access configuration beacon frame corresponding to a last segment.
4. The utility model provides a smart machine configuration network entry device which characterized in that, is applied to the router, includes:
The device comprises a setting module, a Service Set Identification (SSID) module and a Service Set Identification (SSID) module, wherein the setting module is used for identifying at least one beacon frame as an access configuration beacon frame used for carrying the SSID, and setting the SSID of a wireless network in the access configuration beacon frame used for carrying the SSID; identifying at least one beacon frame as a network access configuration beacon frame for carrying a connection password, and setting the connection password of the wireless network in the network access configuration beacon frame for carrying the connection password;
The communication module is used for sending an access configuration beacon frame carrying an SSID and an access configuration beacon frame carrying a connection password; and is further configured to establish a connection with a terminal device according to a connection request of the terminal device,
the system comprises a beacon frame, an SSID field, a network access configuration identification subfield, a content identification subfield and a valid data subfield, wherein the SSID field in the beacon frame is provided with the network access configuration identification subfield, the content identification subfield and the valid data subfield, the network access configuration identification subfield is used for indicating whether the beacon frame is a network access configuration beacon frame or not, the content identification subfield is used for indicating whether the valid data subfield carries the SSID of a wireless network or the connection password of the wireless network, and the valid data subfield is used for carrying the SSID of the wireless network or the connection;
setting a module: the wireless network access device is also used for determining the number of segments of the SSID and the segment content of the SSID corresponding to the number of the segments according to the length of the effective data subfield and the length of the SSID of the wireless network, and determining the number of the access configuration beacon frames which are the same as the number of the segments and are used for carrying the SSID; setting the value of a segment number subfield in an SSID field as a corresponding segment number, and setting the value of an effective data subfield in the SSID field to contain the segmented content of the SSID corresponding to the segment number aiming at each network access configuration beacon frame; setting the value of a valid data subfield in an SSID field as a combination with the last segment content and an end character of the SSID for an access configuration beacon frame corresponding to the last segment; the access network configuration beacon frame is also used for determining the number of sections of the connection password and the section content of the connection password corresponding to the number of the sections according to the length of the effective data subfield and the length of the connection password of the wireless network, and determining the number of the access network configuration beacon frames which are the same as the number of the sections and are used for carrying the connection password; setting a segment number corresponding to the value of a segment number subfield in an SSID field aiming at each network access configuration beacon frame, and setting the segment content of a connection password corresponding to the segment number in an effective data subfield in the SSID field; setting a value of a valid data subfield in the SSID field to a combination of a segment content and an end-of-line of a connection password corresponding to the segment number for an access configuration beacon frame corresponding to a last segment.
5. A network access method for intelligent device configuration is characterized by comprising the following steps:
The method comprises the steps that terminal equipment receives beacon frames, when at least one beacon frame is judged to be an access network configuration beacon frame with an SSID according to an access network configuration beacon frame setting rule, the SSID is analyzed from the access network configuration beacon frame with the SSID, and when at least one beacon frame is judged to be the access network configuration beacon frame with a connection password according to the access network configuration beacon frame setting rule, the connection password is analyzed from the access network configuration beacon frame with the connection password; establishing connection with the router corresponding to the SSID according to the SSID and the connection password,
the SSID field in the beacon frame comprises an access configuration identification subfield, a content identification subfield and a valid data subfield, wherein the access configuration identification subfield is used for indicating whether the beacon frame is an access configuration beacon frame or not, the content identification subfield is used for indicating whether the valid data subfield carries the SSID of a wireless network or a connection password of the wireless network, and the valid data subfield is used for carrying the SSID of the wireless network or the connection password of the wireless network;
the setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a subsection number subfield and a valid data subfield;
Analyzing the SSID from the network access configuration beacon frame carrying the SSID comprises analyzing the contents of a subsection number subfield and an effective data subfield from the SSID field of each network access configuration beacon frame carrying the SSID; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the SSID corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the SSID, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; the SSID of the wireless network is combined according to the sections of the SSID corresponding to the section numbers;
Analyzing the connection password from the network access configuration beacon frame carrying the connection password comprises analyzing the contents of a subsection number subfield and an effective data subfield from an SSID field of each network access configuration beacon frame carrying the connection password; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the connection password corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the connection password, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; and combining the connection passwords of the wireless network according to the segments of the connection passwords corresponding to the segment numbers.
6. the intelligent device configuration network entry method of claim 5,
the setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a network access configuration identification subfield used for indicating whether the beacon frame is a network access configuration beacon frame or not and a content identification subfield used for indicating whether an SSID or a connection password is carried in the current beacon frame;
The step of judging at least one beacon frame as the network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule comprises the following steps: analyzing the value and the content identification subfield of the network access configuration identification subfield of the SSID field in the beacon frame, and judging that the beacon frame is the network access configuration beacon frame carrying the SSID when the value of the network access configuration identification subfield is a value for indicating that the beacon frame is the network access configuration beacon frame and the value of the content identification subfield is a value for indicating that the SSID is carried in the current beacon frame;
the step of judging at least one beacon frame as the network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule comprises the following steps:
and analyzing the value of the access configuration identification subfield and the content identification subfield of the connection password field in the beacon frame, and judging that the beacon frame is the access configuration beacon frame carrying the connection password when the value of the access configuration identification subfield is a value used for indicating that the beacon frame configures the beacon frame for access and the value of the content identification subfield is a value used for indicating that the current beacon frame carries the connection password.
7. The intelligent device configuration network entry method according to claim 5 or 6,
the setting rule of the network access configuration beacon frame comprises the following steps: the network access configuration beacon frame comprises a network access configuration rule subfield, and when the value of the network access configuration rule subfield is a value used for indicating a first network access configuration rule, the network access configuration beacon frame comprises a valid data subfield; when the value of the network access configuration rule subfield is a value used for indicating a second network access configuration rule, the network access configuration beacon frame comprises a segment number subfield and a valid data subfield;
Analyzing the SSID from the network access configuration beacon frame carrying the SSID comprises:
analyzing the value of the subfield of the network access configuration rule in the network access configuration beacon frame carrying the SSID, and when the value is the value indicating the first network access configuration rule, analyzing the value of the effective data subfield in the network access configuration beacon frame as the SSID; when the value is the value indicating the second network access configuration rule, analyzing the contents of the subsection number subfield and the valid data subfield from the SSID field of each network access configuration beacon frame carrying the SSID; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the SSID corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the SSID, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; the SSID of the wireless network is combined according to the sections of the SSID corresponding to the section numbers;
analyzing the connection password from the network access configuration beacon frame carrying the connection password comprises the following steps:
analyzing the value of the sub-field of the network access configuration rule in the network access configuration beacon frame carrying the connection password, and when the value is the value indicating the first network access configuration rule, analyzing the value of the effective data sub-field in the network access configuration beacon frame as the SSID; when the value is the value indicating the second network access configuration rule, the contents of the subsection number subfield and the valid data subfield are analyzed from the SSID field of each network access configuration beacon frame carrying the connection password; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the connection password corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the connection password, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; and combining the connection passwords of the wireless network according to the segments of the connection passwords corresponding to the segment numbers.
8. the utility model provides a smart machine configuration network access device, is applied to terminal equipment, its characterized in that includes:
A receiving module for receiving at least one beacon frame;
The judging module is used for judging whether the beacon frame is the network access configuration beacon frame carrying the SSID according to the network access configuration beacon frame setting rule and also used for judging that the beacon frame is the network access configuration beacon frame carrying the connection password according to the network access configuration beacon frame setting rule;
the analysis module is used for analyzing the SSID from the network access configuration beacon frame carrying the SSID and analyzing the connection password from the network access configuration beacon frame carrying the connection password;
A communication module for establishing connection with the router corresponding to the SSID according to the SSID and the connection password,
The SSID field in the beacon frame comprises an access configuration identification subfield, a content identification subfield and a valid data subfield, wherein the access configuration identification subfield is used for indicating whether the beacon frame is an access configuration beacon frame or not, the content identification subfield is used for indicating whether the valid data subfield carries the SSID of a wireless network or a connection password of the wireless network, and the valid data subfield is used for carrying the SSID of the wireless network or the connection password of the wireless network;
An analysis module: the system is also used for analyzing the contents of the subsection number subfield and the valid data subfield from the SSID field of each network access configuration beacon frame carrying the SSID; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the SSID corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the SSID, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; the SSID of the wireless network is combined according to the sections of the SSID corresponding to the section numbers; the system is also used for analyzing the contents of the subsection number subfield and the valid data subfield from the SSID field of each network access configuration beacon frame carrying the connection password; judging whether each effective data subfield contains an end symbol, regarding the effective data subfield which does not contain the end symbol, using the value of the effective data subfield as the segmentation content of the connection password corresponding to the segment number in the segment number subfield in the same network access configuration beacon frame, regarding the effective data subfield which contains the end symbol, using the content before the end symbol in the effective data subfield as the last segment of the connection password, and using the value of the segment number subfield in the same network access configuration beacon frame as the final segment number; and combining the connection passwords of the wireless network according to the segments of the connection passwords corresponding to the segment numbers.
CN201610797669.7A 2016-08-31 2016-08-31 Intelligent equipment configuration network access method and device Active CN106162647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610797669.7A CN106162647B (en) 2016-08-31 2016-08-31 Intelligent equipment configuration network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610797669.7A CN106162647B (en) 2016-08-31 2016-08-31 Intelligent equipment configuration network access method and device

Publications (2)

Publication Number Publication Date
CN106162647A CN106162647A (en) 2016-11-23
CN106162647B true CN106162647B (en) 2019-12-10

Family

ID=57345571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610797669.7A Active CN106162647B (en) 2016-08-31 2016-08-31 Intelligent equipment configuration network access method and device

Country Status (1)

Country Link
CN (1) CN106162647B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535316A (en) * 2016-11-29 2017-03-22 海尔优家智能科技(北京)有限公司 Method for connecting internet-of-things module to network, router and internet-of-things module
CN108882270B (en) * 2018-06-26 2020-12-04 新华三技术有限公司 Network equipment and equipment management method
CN111935681A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Intelligent equipment network configuration implementation system, method and equipment
WO2021248419A1 (en) * 2020-06-11 2021-12-16 深圳市南方硅谷半导体有限公司 New password updating method and apparatus, and computer device
CN111510991B (en) * 2020-06-11 2020-10-09 深圳市南方硅谷半导体有限公司 Method and device for updating new password, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN105228153A (en) * 2014-07-01 2016-01-06 北京奇虎科技有限公司 Method for network access, system and wireless routing device
CN105338551A (en) * 2015-09-25 2016-02-17 联想(北京)有限公司 Channel monitoring method and device and electronic device
CN105682183A (en) * 2016-01-14 2016-06-15 美的集团股份有限公司 Method and device for controlling household appliance to access to network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN105228153A (en) * 2014-07-01 2016-01-06 北京奇虎科技有限公司 Method for network access, system and wireless routing device
CN105338551A (en) * 2015-09-25 2016-02-17 联想(北京)有限公司 Channel monitoring method and device and electronic device
CN105682183A (en) * 2016-01-14 2016-06-15 美的集团股份有限公司 Method and device for controlling household appliance to access to network

Also Published As

Publication number Publication date
CN106162647A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106162647B (en) Intelligent equipment configuration network access method and device
EP2793448B1 (en) Method, device, and system for short address use in wireless data communication networks
US11916710B2 (en) Data transmission method and apparatus
US20150131445A1 (en) Similarity matching method and related device and communication system
US9794966B2 (en) Identifier assignment method and device in wireless local area network
CN109327361B (en) Lora terminal networking method
CN107086934A (en) The collocation method and gateway of networking equipment
CN104394577B (en) The wireless network access method of wireless routing device and electronic equipment
CN103313201B (en) The sending method and device of business configured information
CN105813075A (en) Method used to establish communication connection between site and access point, access point and site
CN104683994A (en) Wireless network configuration method and wireless network devices
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN106535316A (en) Method for connecting internet-of-things module to network, router and internet-of-things module
CN105557045A (en) Access network node, core network node and paging method
CN106686741A (en) Method of transmitting scheduling information and apparatus thereof
CN110337103A (en) A kind of connectionless data hided transmission method based on 802.11 agreements
CN107613494B (en) Large-scale user sign-in method based on wireless equipment handshake protocol
CN109417768A (en) Update method, terminal device and the network side equipment of system information
CN104009937A (en) Enhanced-transmission-selection configuration information transmission method and device
CN103249028B (en) network information inquiry method based on identity information
CN102740329A (en) Method and apparatus of parameter distribution, and method and apparatus of parameter configuration
CN109691145B (en) Data transmission method and terminal in Internet of vehicles
CN105323758A (en) Wireless router extended service identifier service providing method
EP3148274A1 (en) Information transmitting method, access point and station
CN106982429B (en) Method and device for accessing wireless network

Legal Events

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