CN108924850B - Wireless network networking method and device - Google Patents

Wireless network networking method and device Download PDF

Info

Publication number
CN108924850B
CN108924850B CN201810794170.XA CN201810794170A CN108924850B CN 108924850 B CN108924850 B CN 108924850B CN 201810794170 A CN201810794170 A CN 201810794170A CN 108924850 B CN108924850 B CN 108924850B
Authority
CN
China
Prior art keywords
networking
storage unit
information
unit
panid
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
CN201810794170.XA
Other languages
Chinese (zh)
Other versions
CN108924850A (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.)
Fujian TQ Digital Co Ltd
Original Assignee
Fujian TQ Digital 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 Fujian TQ Digital Co Ltd filed Critical Fujian TQ Digital Co Ltd
Priority to CN201810794170.XA priority Critical patent/CN108924850B/en
Publication of CN108924850A publication Critical patent/CN108924850A/en
Application granted granted Critical
Publication of CN108924850B publication Critical patent/CN108924850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements

Abstract

In order to realize wireless network networking with high identification efficiency, accurate networking, intelligent networking process and good user experience, the inventor provides a wireless network networking method, which comprises the following steps: acquiring networking information of a wireless network; caching the networking information in a storage unit; reading the networking information from a storage unit, and connecting to the wireless network by using the networking information; the step of caching the networking information in a storage unit specifically comprises the following steps: caching the networking information in a storage unit, dividing the storage unit into a plurality of storage units by taking 4 bytes as a unit, and storing CHANLIST and PANID fields in each storage unit, wherein the lengths of the CHANLIST field and the PANID field are both 2 bytes. The inventor also provides a wireless network networking device for realizing the wireless network networking method.

Description

Wireless network networking method and device
The application is filed as divisional application with application number 201510353780.2, application date 2015, 06, 24 and the title "wireless network networking method and device".
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for wireless networking.
Background
Currently, with the development of short-range radio and wireless personal area networks, wireless local area networks, wireless networking requirements and technologies thereof are becoming more and more popular and diversified. One known wireless networking technique includes at least the following steps: acquiring and storing networking information of a wireless network; and reading networking information of the wireless network and connecting the wireless network with the networking information. However, this technique has the following problems to be improved: efficiency issues, accuracy issues, and intelligence issues.
Disclosure of Invention
Therefore, a wireless network networking technology which is high in identification efficiency, accurate in networking, intelligent in networking process and good in user experience needs to be provided.
To achieve the above object, the inventor provides a wireless network networking method, comprising the steps of:
acquiring networking information of a wireless network;
caching the networking information in a storage unit;
reading the networking information from a storage unit, and connecting to the wireless network by using the networking information;
the step of caching the networking information in a storage unit specifically comprises the following steps:
caching the networking information in a storage unit, dividing the storage unit into a plurality of storage units by taking 4 bytes as a unit, and storing CHANLIST and PANID fields in each storage unit, wherein the lengths of the CHANLIST field and the PANID field are both 2 bytes.
Further, in the wireless network networking method, the "caching the networking information in a storage unit" and the "reading the networking information from the storage unit" are a multi-write and multi-read mode, and the multi-write and multi-read mode specifically includes:
acquiring CHANLIST and PANID field information for multiple times, and sequentially caching in a storage unit;
when the networking information is read from the storage unit, one storage unit data is sequentially read, networking is tried according to CHANLIST and PANID field information in the storage unit data, and if the networking fails, the CHANLIST and PANID field information of the next storage unit is sequentially read.
Further, in the wireless network networking method, the "caching the networking information in a storage unit" and the "reading the networking information from the storage unit" are in a multi-write single-read mode, and the multi-write single-read mode specifically includes:
acquiring CHANLIST and PANID field information for multiple times, and sequentially caching in a storage unit;
reading N storage unit data from the storage unit in sequence at one time, wherein N is a preset number, judging the consistency of CHANLIST and PANID field information in the N storage unit data, directly trying to network if the CHANLIST and PANID field information are completely consistent, and selecting the CHANLIST and PANID field with the highest repetition number to try to network if the CHANLIST and PANID field information are not completely consistent.
Further, in the wireless network networking method, when the consistency of the chanls and PANID field information in the N storage unit data is judged, if the repetition numbers of two or more groups of chanls and PANID fields are equal or differ by less than a preset threshold, the RSSI strength of the network corresponding to each group of chanls and PANID fields is judged, and the strongest one is selected as the network to be added and networking is attempted.
Further, in the wireless networking method, in the write-many read mode or the write-many read mode, the value range of the group number M of the CHANLIST and PANID fields obtained and cached is 10-16000.
Further, in the wireless networking method, N in the multi-write single-read mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1.
Further, in the wireless networking method, a is 0.8.
The inventor also provides a wireless network networking device, which comprises an information acquisition unit, a cache unit, a storage unit, an information reading unit and a networking unit;
the information acquisition unit is used for acquiring networking information of a wireless network;
the cache unit is used for caching the networking information in a storage unit;
the information reading unit is used for reading the networking information from the storage unit;
the networking unit is used for connecting the networking information into the wireless network;
the caching of the networking information in the storage unit by the caching unit specifically includes:
the storage unit is divided into a plurality of storage units by taking 4 bytes as a unit, each storage unit stores CHANLIST and PANID fields, and the lengths of the CHANLIST field and the PANID fields are 2 bytes.
Further, in the wireless network networking device, the caching unit "caches the networking information in the storage unit" and the information reading unit "reads the networking information from the storage unit" in a multiple-write multiple-read mode, where the multiple-write multiple-read mode specifically includes:
the information acquisition unit acquires CHANLIST and PANID field information for multiple times, and the caching unit caches the acquired CHANLIST and PANID field information in the storage unit sequentially;
when the information reading unit reads the networking information from the storage unit, one piece of storage unit data is sequentially read, the networking unit tries to network according to the CHANLIST and PANID field information in the storage unit data, and if the networking fails, the information reading unit sequentially reads the CHANLIST and PANID field information of the next storage unit and the networking unit continuously tries to network.
Further, in the wireless network networking device, the caching unit "caches the networking information in the storage unit" and the information reading unit "reads the networking information from the storage unit" is a write-once read-many mode, and the write-once read-many mode specifically includes:
the information acquisition unit acquires CHANLIST and PANID field information for multiple times, and the caching unit caches the acquired CHANLIST and PANID field information in the storage unit sequentially;
the information reading unit reads N storage unit data from the storage unit in sequence at one time, wherein N is a preset number, the networking unit judges the consistency of CHANLIST and PANID field information in the N storage unit data, if the CHANLIST and the PANID field information are completely consistent, the networking unit directly tries to network, and if the CHANLIST and the PANID field information are not completely consistent, the networking unit selects the CHANLIST and the PANID field with the highest repetition number to try to network.
Further, in the wireless network networking device, when the consistency of the chanls and PANID field information in the N storage unit data is judged, if the repetition numbers of two or more groups of chanls and PANID fields are equal to each other or the difference is smaller than a preset threshold, the RSSI strength of the network corresponding to each group of chanls and PANID fields is judged, and the strongest one is selected as the network to be added and networking is attempted.
Further, in the wireless networking device, in the write-many read mode or the write-many read mode, the value range of the group number M of the CHANLIST and PANID fields, which are obtained by the information obtaining unit and cached by the caching unit, is 10 to 16000.
Further, in the wireless networking device, N in the multiple write-once read mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1.
Further, in the wireless networking device, a is 0.8.
Different from the prior art, the wireless network networking scheme has the technical effects of high efficiency, storage space saving, intelligent identification networking and the like.
Drawings
Fig. 1 is a flowchart illustrating a method for wireless networking according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a wireless networking apparatus according to an embodiment of the present invention.
Description of reference numerals:
1-information acquisition Unit
2-cache Unit
3-memory cell
4-information reading unit
5-networking unit
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Please refer to fig. 1, which is a flowchart illustrating a wireless networking method according to an embodiment of the present invention; the method comprises the following steps:
s1, acquiring networking information of a wireless network;
s2, caching the networking information in a storage unit;
specifically, step S2 further specifically includes: caching the networking information in a storage unit, dividing the storage unit into a plurality of storage units by taking 4 bytes as a unit, and storing CHANLIST and PANID fields in each storage unit, wherein the lengths of the CHANLIST field and the PANID field are both 2 bytes. The caching method has the advantages of saving storage space and efficiently saving only the minimum information required by connecting to the network.
And S3, reading the networking information from the storage unit, and connecting to the wireless network by using the networking information.
Further, in this embodiment, the "caching the networking information in the storage unit" and the "reading the networking information from the storage unit" are a multi-write and multi-read mode, where the multi-write and multi-read mode specifically includes:
acquiring CHANLIST and PANID field information for multiple times, and sequentially caching in a storage unit;
when the networking information is read from the storage unit, one storage unit data is sequentially read, networking is tried according to CHANLIST and PANID field information in the storage unit data, and if the networking fails, the CHANLIST and PANID field information of the next storage unit is sequentially read.
The advantage of the write-many-read mode is that connection failure caused by error code in the transmission process can be effectively avoided through the simple and easy operation design.
In another embodiment, the "caching the networking information in the storage unit" and the "reading the networking information from the storage unit" are in a multi-write and single-read mode, where the multi-write and single-read mode specifically includes:
acquiring CHANLIST and PANID field information for multiple times, and sequentially caching in a storage unit;
reading N storage unit data from the storage unit in sequence at one time, wherein N is a preset number, judging the consistency of CHANLIST and PANID field information in the N storage unit data, directly trying to network if the CHANLIST and PANID field information are completely consistent, and selecting the CHANLIST and PANID field with the highest repetition number to try to network if the CHANLIST and PANID field information are not completely consistent.
The write-many and read-once mode has certain intelligent networking advantages and can provide better user experience. In another embodiment of optimizing the write-once read-many mode, when determining the consistency of the CHANLIST and PANID field information in the N memory unit data, the method further includes a further determination and operation: if the repetition number of two or more groups of CHANLIST and PANID fields is equal or the difference is smaller than a preset threshold value, the RSSI (received signal strength indicator) strength of the network corresponding to each group of CHANLIST and PANID fields is judged, and the strongest one is selected as the network to be added and networking is attempted. This optimized implementation will further increase the degree of intelligence.
In some other optimized embodiments, in the write-many read mode or the write-many read mode, the number M of groups of taken and cached CHANLIST and PANID fields ranges from 10 to 16000. The limitation of the value range is based on the practical consideration of the method applied to a specific practical process, and when the number M of the acquired groups is less than 10, the data quantity is not enough to achieve the purpose of improving the accuracy and intelligence of consistency judgment; when the value of M is too large, unnecessary stress is easily applied to the transmission rate and the storage capacity, and therefore, it is most effective and efficient to define a certain interval for M.
In some other preferred embodiments, N in the write-once-read-once mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1. More preferably, a is 0.8. The preferred embodiments relate the value of N to the estimation/prediction of the transmission failure probability and the value of M to obtain a specific limited range of the number of read groups N, and have higher recognition efficiency and stronger applicability.
In fact, the wireless networking method in this scheme relies on the joint operation of another device: that is, as described in step S1, "acquiring networking information of a wireless network", it means that there is no need to have a providing device of networking information of a wireless network, and it is not referred to as a control end herein. In conjunction with the control terminal, the method also has an optimally extended run-in comparison scheme, which is briefly described below.
The control terminal sends a group of identification signals with random time delay, and then the acquisition terminal is provided with a display component which can have a light-emitting function or a function of visible signals of other people. When the acquisition end receives the group of signals, the identification signals sent by the control end and the display signals of the display components have a one-to-one corresponding relation according to the preset, so that when the display components send the display signals one by one according to the received identification signals, a user can judge whether to connect to the same network according to the consistency of the display signals.
Further, the random delay value between one group and another group of the identification signals is set to be 3-15 seconds, which causes inconvenience for a user to wait due to too long time, and the computing processing resources may be excessively occupied due to too short time. And the signal and the interval between the signals in the group of identification signals are 100ms-1s, which is a time range relatively conforming to the visual acceptance of the user.
Please refer to fig. 2, which is a schematic structural diagram of a wireless networking apparatus according to an embodiment of the present invention. The wireless network networking device comprises an information acquisition unit 1, a cache unit 2, a storage unit 3, an information reading unit 4 and a networking unit 5;
the information acquisition unit 1 is configured to acquire networking information of a wireless network;
the cache unit 2 is used for caching the networking information in the storage unit 3;
the information reading unit 4 is used for reading the networking information from the storage unit;
the networking unit 5 is configured to connect to the wireless network by using the networking information;
the caching of the networking information in the storage unit 3 by the caching unit 2 specifically includes:
in the storage unit 3, a plurality of storage units are divided by taking 4 bytes as a unit, each storage unit stores a CHANLIST field and a PANID field, and the length of each of the CHANLIST field and the PANID field is 2 bytes.
Further, in the wireless network networking device, the caching unit 2 "caches the networking information in the storage unit" and the information reading unit 4 "reads the networking information from the storage unit 3" in a multiple-write multiple-read mode, where the multiple-write multiple-read mode specifically includes:
the information acquisition unit 1 acquires CHANLIST and PANID field information for multiple times, and the cache unit 2 caches the acquired CHANLIST and PANID field information in the storage unit 3 in sequence;
when the information reading unit 4 reads the networking information from the storage unit 3, one storage unit data is sequentially read, the networking unit 5 tries to network by using the CHANLIST and PANID field information in the storage unit data, and if the networking fails, the information reading unit 4 sequentially reads the CHANLIST and PANID field information of the next storage unit and the networking unit 5 continuously tries to network.
Further, in the wireless network networking device, the caching unit 2 "caches the networking information in the storage unit 3" and the information reading unit 4 "reads the networking information from the storage unit 3" in a multi-write single-read mode, where the multi-write single-read mode specifically includes:
the information acquisition unit 1 acquires CHANLIST and PANID field information for multiple times, and the cache unit 2 caches the acquired CHANLIST and PANID field information in the storage unit 3 in sequence;
the information reading unit 4 reads N storage unit data from the storage unit 3 in sequence at one time, where N is a preset number, the networking unit 5 judges the consistency of CHANLIST and PANID field information in the N storage unit data, if the CHANLIST and PANID field information are completely consistent, the networking unit 5 directly tries to network, and if the CHANLIST and PANID field information are not completely consistent, the networking unit 5 selects CHANLIST and PANID field with the highest repetition number to try to network.
Further, in the wireless network networking device, when the networking unit 5 determines the consistency of the chanls and PANID field information in the N storage unit data, if the repetition numbers of two or more groups of chanls and PANID fields are equal to or differ by less than a preset threshold, the RSSI strength of the network corresponding to each group of chanls and PANID fields is determined, and the strongest one is selected as the network to be added and networking is attempted.
Further, in the wireless networking device, in the write-many read mode or the write-many read mode, the value range of the group number M of the CHANLIST and PANID fields, which are acquired by the information acquisition unit 1 and cached by the cache unit 2, is 10 to 16000.
Further, in the wireless networking device, N in the multiple write-once read mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1.
Further, in the wireless networking device, a is 0.8.
The method for implementing wireless network networking by the wireless network networking device is described in a specific implementation flow, and the flow comprises the following steps:
s1, the information acquisition unit 1 acquires networking information of a wireless network;
s2, caching the networking information in a storage unit 3 by a caching unit 2;
specifically, step S2 further specifically includes: the cache unit 2 caches the networking information in the storage unit 3, and the cache unit 2 divides the storage unit into a plurality of storage units by taking 4 bytes as a unit, each storage unit stores a CHANLIST field and a PANID field, and the length of each of the CHANLIST field and the PANID field is 2 bytes. The advantage of this caching method by the caching unit 2 is that it saves storage space and efficiently saves only the minimum information needed to access the network.
S3, the information reading unit 4 reads the networking information from the storage unit 3, and the networking unit 5 is connected to the wireless network by using the networking information.
Further, in this embodiment, what is adopted by the caching unit 2 "caching the networking information in the storage unit 3" and the information reading unit 4 "reading the networking information from the storage unit 3" is a write-many read mode, where the write-many read mode specifically includes:
the information acquisition unit 1 acquires CHANLIST and PANID field information for multiple times, and the cache unit 2 caches the acquired CHANLIST and PANID field information in the storage unit 3 in sequence;
when the information reading unit 4 reads the networking information from the storage unit 3, one storage unit data is sequentially read, the networking unit 5 tries to network by using the CHANLIST and PANID field information in the storage unit data, if the networking fails, the information reading unit 4 sequentially reads the CHANLIST and PANID field information of the next storage unit, and the networking unit 5 continues to try to network.
The advantage of the write-many-read mode is that connection failure caused by error code in the transmission process can be effectively avoided through the simple and easy operation design.
In another embodiment, the "caching the networking information in the storage unit" and the "reading the networking information from the storage unit" are in a multi-write and single-read mode, where the multi-write and single-read mode specifically includes:
acquiring CHANLIST and PANID field information for multiple times, and sequentially caching in a storage unit;
reading N storage unit data from the storage unit in sequence at one time, wherein N is a preset number, judging the consistency of CHANLIST and PANID field information in the N storage unit data, directly trying to network if the CHANLIST and PANID field information are completely consistent, and selecting the CHANLIST and PANID field with the highest repetition number to try to network if the CHANLIST and PANID field information are not completely consistent.
The write-many and read-once mode has certain intelligent networking advantages and can provide better user experience. In another embodiment of optimizing the write-once read-many mode, when determining the consistency of the CHANLIST and PANID field information in the N memory unit data, the method further includes a further determination and operation: if the repetition number of two or more groups of CHANLIST and PANID fields is equal or the difference is smaller than a preset threshold value, the RSSI (received signal strength indicator) strength of the network corresponding to each group of CHANLIST and PANID fields is judged, and the strongest one is selected as the network to be added and networking is attempted. This optimized implementation will further increase the degree of intelligence.
In some other optimized embodiments, in the write-many read mode or the write-many read mode, the number M of groups of taken and cached CHANLIST and PANID fields ranges from 10 to 16000. The limitation of the value range is based on the practical consideration of the method applied to a specific practical process, and when the number M of the acquired groups is less than 10, the data quantity is not enough to achieve the purpose of improving the accuracy and intelligence of consistency judgment; when the value of M is too large, unnecessary stress is easily applied to the transmission rate and the storage capacity, and therefore, it is most effective and efficient to define a certain interval for M.
In some other preferred embodiments, N in the write-once-read-once mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1. More preferably, a is 0.8. The preferred embodiments relate the value of N to the estimation/prediction of the transmission failure probability and the value of M to obtain a specific limited range of the number of read groups N, and have higher recognition efficiency and stronger applicability.
In fact, the wireless network networking device according to the present scheme relies on the joint operation of another device: that is, as described in step S1, since "acquiring networking information of a wireless network", it is stated that there is no need to have a providing device of networking information of a wireless network, and it is not referred to as a control end herein. Under the coordination of the control end, the wireless networking device can also realize an optimally extended connection comparison scheme, which is briefly described below.
The control end sends a group of identification signals with random time delay, and then the wireless network networking device is provided with a display component which can have a light-emitting function or a function of visible signals of other people. When the wireless networking device receives the group of signals, the identification signals sent by the control end and the display signals of the display components have a one-to-one corresponding relation according to the preset, so that when the display components send the display signals one by one according to the received identification signals, a user can judge whether to connect to the same network according to the consistency of the display signals.
Further, the random delay value between one group and another group of the identification signals is set to be 3-15 seconds, which causes inconvenience for a user to wait due to too long time, and the computing processing resources may be excessively occupied due to too short time. And the signal and the interval between the signals in the group of identification signals are 100ms-1s, which is a time range relatively conforming to the visual acceptance of the user.
Therefore, the control end and the wireless network networking device can form a wireless network networking system.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrases "comprising … …" or "comprising … …" does not exclude the presence of additional elements in a process, method, article, or terminal that comprises the element. Further, herein, "greater than," "less than," "more than," and the like are understood to exclude the present numbers; the terms "above", "below", "within" and the like are to be understood as including the number.
As will be appreciated by one skilled in the art, the above-described embodiments may be provided as a method, apparatus, or computer program product. These embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. All or part of the steps in the methods according to the embodiments may be implemented by a program instructing associated hardware, where the program may be stored in a storage medium readable by a computer device and used to execute all or part of the steps in the methods according to the embodiments. The computer devices, including but not limited to: personal computers, servers, general-purpose computers, special-purpose computers, network devices, embedded devices, programmable devices, intelligent mobile terminals, intelligent home devices, wearable intelligent devices, vehicle-mounted intelligent devices, and the like; the storage medium includes but is not limited to: RAM, ROM, magnetic disk, magnetic tape, optical disk, flash memory, U disk, removable hard disk, memory card, memory stick, network server storage, network cloud storage, etc.
The various embodiments described above are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a computer apparatus to produce a machine, such that the instructions, which execute via the processor of the computer apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer apparatus to cause a series of operational steps to be performed on the computer apparatus to produce a computer implemented process such that the instructions which execute on the computer apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although the embodiments have been described, once the basic inventive concept is obtained, other variations and modifications of these embodiments can be made by those skilled in the art, so that the above embodiments are only examples of the present invention, and not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes using the contents of the present specification and drawings, or any other related technical fields, which are directly or indirectly applied thereto, are included in the scope of the present invention.

Claims (10)

1. A wireless network networking method comprises the following steps:
acquiring networking information of a wireless network;
caching the networking information in a storage unit;
reading the networking information from a storage unit, and connecting to the wireless network by using the networking information;
the "caching the networking information in the storage unit" and the "reading the networking information from the storage unit" are in a multi-write single-read mode, and the multi-write single-read mode specifically includes:
acquiring CHANLIST and PANID field information for multiple times, and sequentially caching in a storage unit;
reading N storage unit data from the storage unit in sequence at one time, wherein N is a preset number, judging the consistency of CHANLIST and PANID field information in the N storage unit data, directly trying to network if the CHANLIST and the PANID field information are completely consistent, and selecting the CHANLIST and the PANID field with the highest repetition number to try to network if the CHANLIST and the PANID field information are not completely consistent;
the method is characterized in that: the step of caching the networking information in a storage unit specifically comprises the following steps:
caching the networking information in a storage unit, dividing the storage unit into a plurality of storage units by taking 4 bytes as a unit, and storing CHANLIST and PANID fields in each storage unit, wherein the lengths of the CHANLIST field and the PANID field are both 2 bytes.
2. The wireless networking method of claim 1, wherein when the consistency of the chanls and PANID field information in the N pieces of storage unit data is determined, if the number of repetitions of two or more groups of chanls and PANID fields is equal to or differs by less than a preset threshold, the RSSI strength of the network corresponding to each group of chanls and PANID fields is determined, and the strongest one is selected as the network to be joined and attempted to be networked.
3. The wireless networking method of claim 1, wherein in the write-many read-once mode, the number M of groups of CHANLIST and PANID fields obtained and cached ranges from 10 to 16000.
4. The wireless networking method of claim 3, wherein N in the write-many-read-once mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1.
5. The method of claim 4, wherein a is 0.8.
6. A wireless network networking device comprises an information acquisition unit, a cache unit, a storage unit, an information reading unit and a networking unit;
the information acquisition unit is used for acquiring networking information of a wireless network;
the cache unit is used for caching the networking information in a storage unit;
the information reading unit is used for reading the networking information from the storage unit;
the networking unit is used for connecting the networking information into the wireless network;
the caching unit "caches the networking information in the storage unit" and the information reading unit "reads the networking information from the storage unit" as a write-once read-many mode, where the write-once read-many mode specifically includes:
the information acquisition unit acquires CHANLIST and PANID field information for multiple times, and the caching unit caches the acquired CHANLIST and PANID field information in the storage unit sequentially;
the information reading unit reads N storage unit data from the storage unit in sequence at one time, wherein N is a preset number, the networking unit judges the consistency of CHANLIST and PANID field information in the N storage unit data, if the CHANLIST and the PANID field information are completely consistent, the networking unit directly tries to network, and if the CHANLIST and the PANID field information are not completely consistent, the networking unit selects the CHANLIST and the PANID field with the highest repetition number to try to network;
the method is characterized in that: the caching of the networking information in the storage unit by the caching unit specifically includes:
the storage unit is divided into a plurality of storage units by taking 4 bytes as a unit, each storage unit stores CHANLIST and PANID fields, and the lengths of the CHANLIST field and the PANID fields are 2 bytes.
7. The wireless networking device of claim 6, wherein when the consistency of the chanls and PANID field information in the N pieces of storage unit data is determined, if the number of repetitions of two or more groups of chanls and PANID fields is equal to or differs by less than a predetermined threshold, the RSSI strength of the network corresponding to each group of chanls and PANID fields is determined, and the strongest one is selected as the network to be joined and attempted to be networked.
8. The wireless networking apparatus of claim 6, wherein in the write-many-read-once mode, the number of groups M of CHANLIST and PANID fields obtained by the information obtaining unit and cached by the caching unit ranges from 10 to 16000.
9. The wireless networking apparatus of claim 8, wherein N in write-many-read-once mode satisfies the condition: n is not more than a M, wherein a represents the estimated value of the transmission failure probability and has the value range of 0.1-1.
10. The wireless networking apparatus of claim 9, wherein a has a value of 0.8.
CN201810794170.XA 2015-06-24 2015-06-24 Wireless network networking method and device Active CN108924850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810794170.XA CN108924850B (en) 2015-06-24 2015-06-24 Wireless network networking method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810794170.XA CN108924850B (en) 2015-06-24 2015-06-24 Wireless network networking method and device
CN201510353780.2A CN104980929B (en) 2015-06-24 2015-06-24 Networking method of wireless network and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510353780.2A Division CN104980929B (en) 2015-06-24 2015-06-24 Networking method of wireless network and device

Publications (2)

Publication Number Publication Date
CN108924850A CN108924850A (en) 2018-11-30
CN108924850B true CN108924850B (en) 2021-06-01

Family

ID=54276901

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810794170.XA Active CN108924850B (en) 2015-06-24 2015-06-24 Wireless network networking method and device
CN201510353780.2A Active CN104980929B (en) 2015-06-24 2015-06-24 Networking method of wireless network and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510353780.2A Active CN104980929B (en) 2015-06-24 2015-06-24 Networking method of wireless network and device

Country Status (1)

Country Link
CN (2) CN108924850B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551782A (en) * 2008-03-31 2009-10-07 国际商业机器公司 Device and method for dynamically reorganizing data objects in memory
CN101742467A (en) * 2009-12-23 2010-06-16 华为技术有限公司 Method for controlling terminal access network, core network node and communication system
CN102375850A (en) * 2010-08-23 2012-03-14 联想(北京)有限公司 File arrangement method and starting method of electronic equipment and electronic equipment
CN102646136A (en) * 2012-04-06 2012-08-22 北京西塔网络科技股份有限公司 Method and system for efficiently storing and inquiring data
CN103200647A (en) * 2012-01-10 2013-07-10 Nec爱克赛斯科技株式会社 Wireless communication
CN103442370A (en) * 2013-08-27 2013-12-11 西安嵌牛电子科技有限公司 ZigBee networking system and networking method
CN104703182A (en) * 2015-02-13 2015-06-10 深圳市睿祺智尚科技有限公司 Zigbee-based networking method and network system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101379150B1 (en) * 2007-09-03 2014-04-14 삼성전자주식회사 A method for joining one of the zigbee networks after choosing that and apparatuses therefor
CN101662772A (en) * 2009-09-01 2010-03-03 北京星谷科技有限公司 One-key corresponding code network accessing control method aiming at Zigbee network
CN102148731B (en) * 2011-02-14 2013-04-03 上海理滋芯片设计有限公司 Smart home system and end device thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551782A (en) * 2008-03-31 2009-10-07 国际商业机器公司 Device and method for dynamically reorganizing data objects in memory
CN101742467A (en) * 2009-12-23 2010-06-16 华为技术有限公司 Method for controlling terminal access network, core network node and communication system
CN102375850A (en) * 2010-08-23 2012-03-14 联想(北京)有限公司 File arrangement method and starting method of electronic equipment and electronic equipment
CN103200647A (en) * 2012-01-10 2013-07-10 Nec爱克赛斯科技株式会社 Wireless communication
CN102646136A (en) * 2012-04-06 2012-08-22 北京西塔网络科技股份有限公司 Method and system for efficiently storing and inquiring data
CN103442370A (en) * 2013-08-27 2013-12-11 西安嵌牛电子科技有限公司 ZigBee networking system and networking method
CN104703182A (en) * 2015-02-13 2015-06-10 深圳市睿祺智尚科技有限公司 Zigbee-based networking method and network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能家庭网络系统研究;王云华;《中国优秀硕士学位论文全文数据库》;20111015;全文 *

Also Published As

Publication number Publication date
CN104980929A (en) 2015-10-14
CN108924850A (en) 2018-11-30
CN104980929B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN106657197B (en) File uploading method and device
CN109600315B (en) Flow control method and adjustment method of data channel
CN110572859B (en) AP switching method, device, equipment and medium
CN109725543B (en) Equipment control code configuration method and device, cloud server and network system
CN103345516A (en) Application program searching method based on application program icons and system
CN101715629B (en) Method for determining optimal frame size for tag collision prevention in RFID system
CN110933733A (en) Network distribution method, device, computer equipment and storage medium
CN112596768B (en) Updating method and device of equipment, storage medium and electronic device
CN105338659A (en) Device connection method and terminal
CN114675983A (en) Business data processing method and device, storage medium and electronic equipment
CN105095420A (en) Method and device for displaying notification messages in browser
CN108924850B (en) Wireless network networking method and device
CN105050123A (en) Load control method for wireless network and terminal
CN111083763B (en) Network control method, network control device, storage medium and electronic equipment
CN111093238B (en) Wireless network control method and device, storage medium and electronic equipment
CN110598797B (en) Fault detection method and device, storage medium and electronic device
CN108111591B (en) Method and device for pushing message and computer readable storage medium
CN109040798A (en) Live data drainage method, storage medium, electronic equipment and system
CN109561478B (en) User terminal blind redirection method, device, computer storage medium and equipment
CN107819761B (en) Data processing method and device and readable storage medium
CN104462422A (en) Object processing method and device
CN106792882B (en) Network evaluation method and device
CN115529616A (en) Router-based configuration method of Internet of things equipment and dual-frequency wireless router
CN109299765B (en) Anti-collision method and device for radio frequency identification equipment of multiple internet of things and storage medium
CN112969219A (en) Network searching processing method, device, equipment, storage medium and program product

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