CN106604305B - Wireless network configuration method and device and terminal - Google Patents

Wireless network configuration method and device and terminal Download PDF

Info

Publication number
CN106604305B
CN106604305B CN201611144583.0A CN201611144583A CN106604305B CN 106604305 B CN106604305 B CN 106604305B CN 201611144583 A CN201611144583 A CN 201611144583A CN 106604305 B CN106604305 B CN 106604305B
Authority
CN
China
Prior art keywords
configuration
data
frame
wireless network
locking
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
CN201611144583.0A
Other languages
Chinese (zh)
Other versions
CN106604305A (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.)
Shenzhen Baize Totem Technology Co ltd
Original Assignee
Shenzhen Longsys Electronics 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 Shenzhen Longsys Electronics Co Ltd filed Critical Shenzhen Longsys Electronics Co Ltd
Priority to CN201611144583.0A priority Critical patent/CN106604305B/en
Publication of CN106604305A publication Critical patent/CN106604305A/en
Application granted granted Critical
Publication of CN106604305B publication Critical patent/CN106604305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0048Allocation of pilot signals, i.e. of signals known to the receiver

Landscapes

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

Abstract

The embodiment of the invention discloses a wireless network configuration method, which is used for solving the problem that all network configuration data need to be retransmitted easily due to key data loss during wireless network configuration. The method provided by the embodiment of the invention comprises the following steps: obtaining configuration data for wireless network configuration; performing data segmentation and assembly on the configuration data according to a preset broadcast protocol to generate more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises unique feature data, and the configuration frame comprises unique frame attribute data and segmentation segments of the configuration data; and sending the locking frame and the configuration frame in a broadcasting mode so that the target wireless access equipment performs wireless network configuration after acquiring the locking frame and the configuration frame. The embodiment of the invention also provides a wireless network configuration device and a terminal.

Description

Wireless network configuration method and device and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring a wireless network, and a terminal.
background
with the coming of the internet era, networks permeate into the work and life of everyone, and the popularization of mobile terminals makes the networks increasingly important. At present, in the field of wireless communication, WIFI is a commonly used wireless access mode. In an area, the number of terminal devices accessing to WIFI is often huge, and the access frequency is high, which requires that the efficiency of network configuration is high enough when accessing to WIFI.
in the existing WIFI network configuration method, generally, an ssid (Service SetIdentifier) and a password of a router AP (wireless access point) are sent in a UDP (User Datagram Protocol) broadcast manner, the ssid and the password are transmitted by modifying a length field of the UDP, and a physical bit width of the length field of the UDP is 32 bits. The method comprises the following specific steps:
1. The method comprises the steps that a terminal sends a numerical value effective bit width which is 3 bits, and a lead code (such as 1,2,3 and 4) with a special rule is sent in a circulating mode for a period of time (such as 50ms), wherein the lead code is also called a locking code, so that WIFI access equipment can lock a channel according to the lead code;
2. the terminal sends a numerical value with an effective bit width of 10 bits, wherein the highest 2 bits are set as 01, and the lower 8 bits send the ssid length, the password length, the ssid crc and the password crc byte by byte;
3. The terminal sends a numerical value with an effective bit width of 10 bits, wherein the highest 2 bits are set as 10, and the lower 8 bits send the ssid byte by byte;
4. the terminal sends a value with an effective bit width of 10 bits, wherein the highest 2 bits are set as 10 bits, and the lower 8 bits send a password byte by byte;
5. And returning to the step 1 for cyclic transmission.
However, in the above configuration method, when receiving data each time, a channel needs to be locked by a preamble, and there is a strong correlation between data transmitted in each cycle, and if there is a lack of key data in one cycle, data transmitted in the other cycles is invalid, and all network configuration data needs to be retransmitted, which greatly reduces the efficiency of network configuration and prolongs the time of network distribution.
disclosure of Invention
the embodiment of the invention provides a wireless network configuration method, a wireless network configuration device and a terminal, which can improve the efficiency of network configuration and shorten the time of network distribution.
the wireless network configuration method provided by the embodiment of the invention comprises the following steps:
obtaining configuration data for wireless network configuration;
performing data segmentation and assembly on the configuration data according to a preset broadcast protocol to generate more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises unique feature data, and the configuration frame comprises unique frame attribute data and segmentation segments of the configuration data;
and sending the locking frame and the configuration frame in a broadcasting mode so that the target wireless access equipment locks a channel according to the locking frame, after the configuration frame is obtained, recombining the segmentation segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then carrying out wireless network configuration according to the configuration data.
optionally, the configuration data includes configuration mode data and configuration content data;
the configuration frame is divided into a management frame and a data frame, the management frame comprises first frame attribute data with uniqueness and the configuration mode data, and the data frame comprises second frame attribute data with uniqueness and the configuration content data;
The sending the locking frame and the configuration frame in a broadcast manner specifically includes: transmitting the lock frame, the management frame, and the data frame in a broadcast manner.
Optionally, the step of recombining, by the target wireless access device, the segment of each configuration frame according to the frame attribute data to obtain complete configuration data specifically includes:
The target wireless access equipment obtains complete configuration mode data from each management frame according to the first frame attribute data;
the target wireless access equipment obtains complete configuration content data from each data frame according to the second frame attribute data;
the step of the target wireless access device performing wireless network configuration according to the configuration data specifically includes:
the target wireless access equipment determines a wireless network configuration mode according to the configuration mode data;
and the target wireless access equipment carries out wireless network configuration according to the determined wireless network configuration mode and the configuration content data.
optionally, the locking frame is inserted between the configuration frames for transmission.
Optionally, the configuration frame is composed of more than one data group, each of the data groups includes frame attribute data with uniqueness and a segmentation segment of the configuration data;
Each of the data sets further includes location information having uniqueness.
The embodiment of the invention provides a wireless network configuration device, which comprises:
The configuration data acquisition module is used for acquiring configuration data for wireless network configuration;
The frame generation module is used for carrying out data segmentation and assembly on the configuration data according to a preset broadcast protocol and generating more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises characteristic data with uniqueness, and the configuration frame comprises frame attribute data with uniqueness and segmentation segments of the configuration data;
And the broadcast sending module is used for sending the locking frame and the configuration frame in a broadcast mode so that the target wireless access equipment locks a channel according to the locking frame, and after the configuration frame is obtained, recombining the segmentation segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then carrying out wireless network configuration according to the configuration data.
optionally, the configuration data includes configuration mode data and configuration content data;
the configuration frame is divided into a management frame and a data frame, the management frame comprises first frame attribute data with uniqueness and the configuration mode data, and the data frame comprises second frame attribute data with uniqueness and the configuration content data;
The broadcast transmitting module includes: a broadcasting unit for transmitting the locking frame, the management frame and the data frame in a broadcasting manner.
Optionally, the broadcast sending module includes:
And the inserting and sending unit is used for inserting the locking frame between the configuration frames for sending.
Optionally, the configuration frame is composed of more than one data group, each of the data groups includes frame attribute data with uniqueness and a segmentation segment of the configuration data;
Each of the data sets further includes location information having uniqueness.
The terminal provided by the embodiment of the invention comprises the wireless network configuration device.
according to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, firstly, configuration data for wireless network configuration is obtained; then, carrying out data segmentation and assembly on the configuration data according to a preset broadcast protocol to generate more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises characteristic data with uniqueness, and the configuration frame comprises frame attribute data with uniqueness and segmentation segments of the configuration data; and finally, sending the locking frame and the configuration frame in a broadcasting mode so that the target wireless access equipment locks a channel according to the locking frame, after the configuration frame is obtained, recombining the segmentation segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then carrying out wireless network configuration according to the configuration data. In the embodiment of the invention, the locking frame comprises the characteristic data with uniqueness, which can help the wireless access equipment to quickly lock a channel and avoid the problem of misjudgment caused by the non-uniqueness of the lead code; in addition, each configuration frame comprises frame attribute data with uniqueness, so that strong correlation between the configuration frames is not needed, even if part of configuration frame data is missing, the rest configuration frames are still valid data, all the configuration frame data do not need to be sent again, the wireless access equipment is facilitated to quickly acquire complete configuration data, the network configuration efficiency is greatly improved, and the network configuration time is shortened.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for configuring a wireless network according to the present invention;
fig. 2 is a schematic diagram illustrating a position relationship between a lock frame and a configuration frame when a wireless network configuration method according to an embodiment of the present invention is sent in an application scenario;
fig. 3 is a block diagram of an embodiment of a wireless network configuration apparatus according to the present invention.
Detailed Description
the embodiment of the invention provides a wireless network configuration method, a wireless network configuration device and a terminal, which are used for solving the problem that all network configuration data need to be retransmitted easily due to key data loss during wireless network configuration.
Because the wireless network configuration is a method for transmitting and transmitting information by using UDP broadcast, packet loss phenomena of different degrees can occur due to the fact that the UDP broadcast is subjected to busy and complex degrees of a wireless network in the environment, and both a home environment and an office environment have more or less packet loss conditions, at the moment, if the configuration protocol and the method are unreasonable in design, when the lost packets are too many or important information packets are lost, a receiving terminal cannot successfully analyze the lost packets and needs to receive the lost packets again, and therefore the effect, the speed, the success rate and the like of the network configuration are directly influenced.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Referring to fig. 1, an embodiment of a wireless network configuration method according to an embodiment of the present invention includes:
101. Obtaining configuration data for wireless network configuration;
in this embodiment, first, configuration data for wireless network configuration may be acquired. The configuration data may include ssid (service set identifier) and password of the target wireless access device, such as router AP, and ssid length, password length, cyclic redundancy check code, and other data.
102. Performing data segmentation and assembly on the configuration data according to a preset broadcast protocol to generate more than one locking frame and configuration frame in a preset format;
After the configuration data for the wireless network configuration is obtained, the configuration data may be subjected to data segmentation and assembly according to a preset broadcast protocol, and one or more locking frames and configuration frames in a preset format are generated, wherein the locking frames include unique feature data, and the configuration frames include unique frame attribute data and segmentation segments of the configuration data.
the broadcast protocol is a preset protocol, and may specifically be a UDP protocol.
In the present embodiment, when the configuration data is divided, the data may be divided according to the specification of the data length in the broadcast protocol, or the data may be divided as small as possible to reduce the packet blocking phenomenon. In particular, in one application scenario, the data length in the UDP protocol is a maximum of 4 bytes.
The configuration data may specifically include configuration mode data and configuration content data. The configuration mode data refers to data information indicating a wireless network configuration mode, for example, information such as crc (cyclic redundancy check), ssid length, password length, presence or absence of ssid, presence or absence of password, presence or absence of encryption, an encryption mode, a true data bit width, and the like. And the configuration content data refers to data information indicating the configuration content of the wireless network, such as ssid and password of the target wireless access device, and response code.
it will be appreciated that in order to achieve relatively accurate positioning of each datum, all frame types are divided into lock frames and configuration frames in the present embodiment, wherein the configuration frames are divided into management frames and data frames. The management frame comprises first frame attribute data with uniqueness and the configuration mode data, and the data frame comprises second frame attribute data with uniqueness and the configuration content data.
further, the configuration frame may be composed of more than one group (data group), each of which includes frame attribute data having uniqueness and a segment of the configuration data. Similarly, the management frame and the data frame may each contain 1,2 or more groups (data groups), each group containing a frame attribute (first frame attribute data for the management frame and second frame attribute data for the data frame) and a frame content (configuration data for the management frame and configuration content data for the data frame). The specific formats of the lock frame, the management frame, and the data frame in this embodiment will be described in detail below:
Locking frames
The method is used for locking a channel, and after a locking frame sent by a terminal is detected in a certain channel, the sending terminal and the wireless access equipment connected with the sending terminal can be locked.
The data content of the lock frame may be 1,2 or more values, and is unique within all data in the protocol (e.g., may be set larger or smaller than all other data) without any data overlap with the group attribute and group content in all management frames and data frames.
To facilitate fast locking by the target wireless access device, a lock frame may be inserted between the configuration frames and the lock frame may be inserted anywhere in the configuration frames. Specifically, as shown in fig. 2, one configuration frame may be sent first, then the lock frame is sent, and then another configuration frame is sent; the upper part of a configuration frame can be sent first, and then the lower part of the configuration frame is sent, so that the target wireless access equipment can be ensured to receive at least 1 time of complete locking codes (the locking codes are special data in the locking frame, and the channel can be locked after the target wireless access equipment receives 1 time of complete locking codes) in the staying time of each channel when scanning the channel, the effect that the channel can be locked by the target wireless access equipment only needing to scan the channel where the transmitting terminal is located once after the transmitting terminal starts to transmit data is realized, and the rapid locking of the channel is realized.
in the prior art, the locking code and the configuration information are circularly transmitted in sequence, that is, the locking code is circularly transmitted for a period of time, then the configuration information such as SSID and password is transmitted, and after the configuration information such as SSID and password is completely transmitted, the locking code and the configuration information are circularly transmitted again according to the above steps, if the channel is always transmitted by the target wireless access device within the staying time of the channel, the channel cannot be locked by the target wireless access device, and the channel needs to be rescanned, thereby prolonging the access time of the target wireless access device. In this embodiment, the lock frame, the management frame, and the data frame may not be sequentially transmitted, but the lock frame is inserted between the configuration frames (the configuration frames include the management frame and/or the data frame) to be transmitted, that is, a part of the configuration frames may be transmitted, the lock frame is transmitted once again, and then the configuration frames are transmitted again, and it is not necessary to transmit the lock frame after all the configuration frames are transmitted, so that the access time of the target wireless access device may be greatly reduced, and the efficiency is improved.
Management frame
Consisting of 1,2 or more groups, each group containing respective frame attributes and frame content. The following management frames are all exemplified with group 1.
group attribute: the number of the current frame is 1,2 or more, and the following is 1, which may include current frame identity information, a current frame group serial number, current group frame content length information, and a special mark required by the current group frame content. The group attribute value does not have any data overlap with the group content and the lock frame (i.e., every 1 group attribute is unique). For example, a group attribute may consist of 10 bits, where 2 bits represents a group attribute type, 4 bits represents a group number, 1bit represents a frame content specific flag of the group, 3 bits represents a frame content length of the current group, etc., and a 2-bit group attribute type and a 4-bit group number may determine the unique identity of the group attribute.
group content: usually, the configuration information is composed of a plurality of values, and is used to store configuration mode data, that is, data information of a data frame (e.g., crc, ssid length, password length, presence or absence of ssid, presence or absence of password, encryption mode, true data bit width, etc.). Each byte of data may contain unique positioning information in the current group, in addition to the above information. For example, the value of the group content is 9 bits in total, wherein 3 bits store the positioning information and 6 bits store the data information.
Data frame
Consisting of 1,2 or more groups, each group containing respective frame attributes and frame content.
group attribute: similar to the frame attribute of the group of the management frame, the description is omitted here.
group content: usually consists of a plurality of values for storing configuration content data, that is, storing data information (such as ssid, password, response code, etc.) to be transmitted. Each value may contain unique positioning information in the current group in addition to the above information. For example, the value of the group content is 9 bits in total, wherein 3 bits store the positioning information and 6 bits store the data.
It can be seen that, in this embodiment, the content of the locking frame is not overlapped with the content of the management frame and the data frame, and is mutually non-interfering, which is convenient for quickly locking the channel, the identity of the sending terminal and the identity of the target wireless access device connected with the sending terminal.
in addition, the management frame and the data frame both have groups, each group has a frame attribute, which indicates that the identity of each group is unique, so that the wireless access device in the key distribution network mode can correctly resolve from which group the wireless access device starts to receive, each group is 1 independent data unit, and the groups do not have necessary association when receiving data, and the validity of other groups cannot be affected by the absence of 1 group.
furthermore, each group contains group content, the content in each group has unique positioning information in the current group, and even has unique positioning information in all data, the validity of other data cannot be influenced due to the fact that some data or data in the group are missing, so that the group content can be quickly positioned, and the efficiency of recombining complete configuration data by wireless access equipment is improved.
103. and sending the locking frame and the configuration frame in a broadcasting mode so that the target wireless access equipment locks a channel according to the locking frame, after the configuration frame is obtained, recombining the segmentation segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then carrying out wireless network configuration according to the configuration data.
After one or more locking frames and configuration frames in a preset format are generated, the locking frames and the configuration frames can be sent in a broadcast mode, so that a target wireless access device locks a channel according to the locking frames, after the configuration frames are obtained, the segmentation segments of the configuration frames are recombined according to the frame attribute data to obtain complete configuration data, and then wireless network configuration is carried out according to the configuration data.
It can be understood that after the target wireless access device acquires the configuration frame, each segment may be reassembled according to the frame attribute data (for example, configuration mode data) in the configuration frame, and as long as enough configuration frames are acquired, complete configuration data may be reassembled. In this embodiment, when a configuration frame is missing, because the frame attribute data has uniqueness, the missing configuration frame can be obtained again according to the frame attribute data with uniqueness, and after the missing configuration frame is obtained, the complete configuration data can be obtained through recombination.
Further, the sending the locking frame and the configuration frame in a broadcast manner may specifically be: transmitting the lock frame, the management frame, and the data frame in a broadcast manner.
Further, the target wireless access device may recombine the segment of each configuration frame according to the frame attribute data to obtain complete configuration data specifically includes: the target wireless access equipment obtains complete configuration mode data from each management frame according to the first frame attribute data; and the target wireless access equipment obtains complete configuration content data from each data frame according to the second frame attribute data.
Correspondingly, the step of performing, by the target wireless access device, wireless network configuration according to the configuration data may specifically include: and the target wireless access equipment determines a wireless network configuration mode according to the configuration mode data, and then performs wireless network configuration according to the determined wireless network configuration mode and the configuration content data.
in the embodiment of the invention, firstly, configuration data for wireless network configuration is obtained; then, carrying out data segmentation and assembly on the configuration data according to a preset broadcast protocol to generate more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises characteristic data with uniqueness, and the configuration frame comprises frame attribute data with uniqueness and segmentation segments of the configuration data; and finally, sending the locking frame and the configuration frame in a broadcasting mode so that the target wireless access equipment locks a channel according to the locking frame, after the configuration frame is obtained, recombining the segmentation segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then carrying out wireless network configuration according to the configuration data. In the embodiment of the invention, the locking frame comprises the characteristic data with uniqueness, which can help the wireless access equipment to quickly lock a channel and avoid the problem of misjudgment caused by the non-uniqueness of the lead code; in addition, each configuration frame comprises frame attribute data with uniqueness, so that strong correlation between the configuration frames is not needed, even if part of configuration frame data is missing, the rest configuration frames are still valid data, all the configuration frame data do not need to be sent again, the wireless access equipment is facilitated to quickly acquire complete configuration data, the network configuration efficiency is greatly improved, and the network configuration time is shortened.
Further, as the effective transmission efficiency is high, for the configuration frame in this embodiment, the value can be set as small as possible, and the appropriate packet sending gap is adjusted, so that the data transmission bandwidth can be effectively reduced, and the packet blocking phenomenon of the sending terminal or the wireless access device is avoided, thereby avoiding the problems that the network cannot be successfully distributed for a long time due to packet blocking, or the wireless access device cannot be connected after the network is successfully distributed, and the like.
The above mainly describes a wireless network configuration method, and a wireless network configuration apparatus will be described in detail below.
Fig. 3 is a block diagram illustrating an embodiment of a wireless network configuration apparatus according to an embodiment of the present invention.
in this embodiment, a wireless network configuration apparatus includes:
a configuration data obtaining module 201, configured to obtain configuration data for wireless network configuration;
A frame generating module 202, configured to perform data segmentation and assembly on the configuration data according to a preset broadcast protocol, and generate one or more locking frames and configuration frames in a preset format, where the locking frame includes unique feature data, and the configuration frame includes unique frame attribute data and a segment of the configuration data;
a broadcast sending module 203, configured to send the locking frame and the configuration frame in a broadcast manner, so that the target wireless access device locks a channel according to the locking frame, and after obtaining the configuration frame, reassembles the segmentation segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then performs wireless network configuration according to the configuration data.
Further, the configuration data may include configuration mode data and configuration content data;
The configuration frame is divided into a management frame and a data frame, the management frame comprises first frame attribute data with uniqueness and the configuration mode data, and the data frame comprises second frame attribute data with uniqueness and the configuration content data;
The broadcast transmitting module includes: a broadcasting unit for transmitting the locking frame, the management frame and the data frame in a broadcasting manner.
further, the broadcast transmitting module may include:
And the inserting and sending unit is used for inserting the locking frame between the configuration frames for sending.
further, the configuration frame may be composed of more than one data group, each of the data groups including frame attribute data having uniqueness and a segment of the configuration data;
each of the data sets further includes location information having uniqueness.
The embodiment of the invention also discloses a terminal which comprises any wireless network configuration device described in the embodiment corresponding to the figure 3.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
in addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A wireless network configuration method, comprising:
obtaining configuration data for wireless network configuration;
Performing data segmentation and assembly on the configuration data according to a preset broadcast protocol to generate more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises unique feature data, and the configuration frame comprises unique frame attribute data and segmentation segments of the configuration data;
transmitting the locking frame and the configuration frame in a broadcasting mode, and inserting the locking frame between the configuration frames for transmission; and locking a channel by the target wireless access equipment according to the locking frame, recombining the segmentation segments of each configuration frame according to the frame attribute data after the configuration frame is obtained to obtain complete configuration data, and then configuring a wireless network according to the configuration data.
2. The wireless network configuration method of claim 1, wherein the configuration data comprises configuration mode data and configuration content data;
the configuration frame is divided into a management frame and a data frame, the management frame comprises first frame attribute data with uniqueness and the configuration mode data, and the data frame comprises second frame attribute data with uniqueness and the configuration content data;
the sending the locking frame and the configuration frame in a broadcast manner specifically includes: transmitting the lock frame, the management frame, and the data frame in a broadcast manner.
3. The wireless network configuration method according to claim 2, wherein the step of recombining, by the target wireless access device, the segment of each configuration frame according to the frame attribute data to obtain complete configuration data specifically includes:
the target wireless access equipment obtains complete configuration mode data from each management frame according to the first frame attribute data;
The target wireless access equipment obtains complete configuration content data from each data frame according to the second frame attribute data;
the step of the target wireless access device performing wireless network configuration according to the configuration data specifically includes:
the target wireless access equipment determines a wireless network configuration mode according to the configuration mode data;
and the target wireless access equipment carries out wireless network configuration according to the determined wireless network configuration mode and the configuration content data.
4. The wireless network configuration method according to any one of claims 1 to 3, wherein the configuration frame is composed of more than one data group, each of the data groups including frame attribute data having uniqueness and a segment of the configuration data;
Each of the data sets further includes location information having uniqueness.
5. A wireless network configuration apparatus, comprising:
the configuration data acquisition module is used for acquiring configuration data for wireless network configuration;
The frame generation module is used for carrying out data segmentation and assembly on the configuration data according to a preset broadcast protocol and generating more than one locking frame and configuration frame in a preset format, wherein the locking frame comprises characteristic data with uniqueness, and the configuration frame comprises frame attribute data with uniqueness and segmentation segments of the configuration data;
A broadcast sending module, configured to send the locking frame and the configuration frame in a broadcast manner, so that a target wireless access device locks a channel according to the locking frame, and after obtaining the configuration frame, reassembles the segments of each configuration frame according to the frame attribute data to obtain complete configuration data, and then performs wireless network configuration according to the configuration data;
the broadcast transmitting module includes:
And the inserting and sending unit is used for inserting the locking frame between the configuration frames for sending.
6. The wireless network configuration apparatus of claim 5, wherein the configuration data comprises configuration mode data and configuration content data;
The configuration frame is divided into a management frame and a data frame, the management frame comprises first frame attribute data with uniqueness and the configuration mode data, and the data frame comprises second frame attribute data with uniqueness and the configuration content data;
The broadcast transmitting module includes: a broadcasting unit for transmitting the locking frame, the management frame and the data frame in a broadcasting manner.
7. The wireless network configuration device according to any one of claims 5 to 6, wherein the configuration frame is composed of more than one data group, each of the data groups including frame attribute data having uniqueness and a segment of the configuration data;
Each of the data sets further includes location information having uniqueness.
8. A terminal, characterized in that it comprises a wireless network configuration device according to any of claims 5 to 7.
CN201611144583.0A 2016-12-13 2016-12-13 Wireless network configuration method and device and terminal Active CN106604305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611144583.0A CN106604305B (en) 2016-12-13 2016-12-13 Wireless network configuration method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611144583.0A CN106604305B (en) 2016-12-13 2016-12-13 Wireless network configuration method and device and terminal

Publications (2)

Publication Number Publication Date
CN106604305A CN106604305A (en) 2017-04-26
CN106604305B true CN106604305B (en) 2019-12-13

Family

ID=58801062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611144583.0A Active CN106604305B (en) 2016-12-13 2016-12-13 Wireless network configuration method and device and terminal

Country Status (1)

Country Link
CN (1) CN106604305B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426798B (en) * 2017-05-10 2020-08-14 广东美的制冷设备有限公司 WIFI module network distribution method and device
CN111586656A (en) * 2020-04-29 2020-08-25 上海庆科信息技术有限公司 WiFi device network distribution method and device, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008156256A1 (en) * 2007-06-21 2008-12-24 Electronics And Telecommunications Research Institute Method and apparatus of hybrid burst mapping in ofdma systems
CN104602112A (en) * 2014-12-12 2015-05-06 小米科技有限责任公司 Configuration method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002217780A (en) * 2001-01-18 2002-08-02 Clarion Co Ltd Spread spectrum communication system and spread spectrum communication unit
US20100128174A1 (en) * 2008-11-21 2010-05-27 Gm Global Technology Operations, Inc. Atsc mobile reception through optimal placement of mobile sensitive packets
CN103581567B (en) * 2012-07-31 2016-12-28 国际商业机器公司 Visual encoding series processing method and system, the broadcasting of visual encoding sequence and system thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008156256A1 (en) * 2007-06-21 2008-12-24 Electronics And Telecommunications Research Institute Method and apparatus of hybrid burst mapping in ofdma systems
CN104602112A (en) * 2014-12-12 2015-05-06 小米科技有限责任公司 Configuration method and device

Also Published As

Publication number Publication date
CN106604305A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
US10880817B2 (en) Wi-fi configuration method, Wi-Fi mobile terminal, and Wi-Fi device
US12096207B2 (en) Network access authentication method and device
CN112020869B (en) Unified subscription identifier management in a communication system
US10477397B2 (en) Method and apparatus for passpoint EAP session tracking
US10321493B2 (en) Method for establishing connection by terminal, apparatus, and system
US10560378B2 (en) Data link layer-based communication method, device, and system
CN107820246B (en) User authentication method, device and system
WO2022023952A1 (en) User equipment authentication preventing sequence number leakage
CN106604305B (en) Wireless network configuration method and device and terminal
CN113596742B (en) Data transmission method and device
CN114222254A (en) Network distribution method, device and storage medium
CN112953674B (en) Rate matching method, network equipment and user equipment
CN112566123B (en) Method and device for determining abnormal network node
US20180124013A1 (en) Enforcing privacy addressing
CN110830421B (en) Data transmission method and device
CN103096427B (en) The wireless access points AP information getting method of terminal and device
CN113329349A (en) Communication method between mobile terminal and intelligent device in Wi-Fi mode and mobile terminal
CN114980101A (en) Access method, device, equipment and storage medium of wireless network
US10390224B2 (en) Exception handling in cellular authentication
CN111478802B (en) Distribution network processing method, device, system, computer equipment and storage medium
US10938772B2 (en) Access device for analysis of physical links and method thereof
CN111918299A (en) Wireless networking method, device, storage medium and wireless network equipment
CN114362985A (en) Message processing method and device
CN117202313A (en) Automatic network distribution method and related device for intelligent equipment
CN104363076A (en) Method for exchanging data by wireless message length

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 801, building 1, financial service technology innovation base, No.8 Kefa Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518054

Patentee after: Shenzhen Baize totem Technology Co.,Ltd.

Address before: 518000 306-310, building 4, software park, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN LONGSYS ELECTRONICS Co.,Ltd.

CP03 Change of name, title or address