CN106131927B - Mesh establishment of connection method and device - Google Patents
Mesh establishment of connection method and device Download PDFInfo
- Publication number
- CN106131927B CN106131927B CN201610504879.2A CN201610504879A CN106131927B CN 106131927 B CN106131927 B CN 106131927B CN 201610504879 A CN201610504879 A CN 201610504879A CN 106131927 B CN106131927 B CN 106131927B
- Authority
- CN
- China
- Prior art keywords
- channel
- mesh
- connection
- beacon message
- stable mode
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000001174 ascending effect Effects 0.000 claims description 5
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 29
- 239000000523 sample Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a kind of Mesh establishment of connection method and device, wherein this method comprises: successively each in record listens on the channel of Mesh Beacon message, establishes Mesh connection after failure is established in Mesh connection;If failure is established in Mesh connection, from the channel for listening to Mesh Beacon message, the stable mode channel for allowing to establish Mesh connection is searched;After the not online overtime reboot time of this equipment is revised as the first value, successively in the potential Radar channel of each of the stable mode channel found, Mesh connection is established after waiting quiet period, wherein, the first value is greater than the time overall length of the quiet period of all potential Radar channels in the stable mode channel found.
Description
Technical field
This application involves wireless communication technology field, in particular to a kind of Mesh establishment of connection method and device.
Background technique
In Wireless Mesh (grid) network, Mesh connection can establish between AP (Access Point, access point), and
And it can establish the Mesh connection of multi-hop between farther away AP.Specifically, the method that AP establishes Mesh connection is as follows:
Enter the not online stage after AP starting, in this stage, AP can be monitored with set time length poll and currently be penetrated
All channels that frequency is supported, then record all channels for listening to Mesh Beacon (beacon) message;Later, enter
Active scan stage, in this stage, AP can successively send broadcast on the channel that each listens to Mesh Beacon message
Probe Request (probe requests thereby) message, to establish Mesh connection.
If failure is established in Mesh connection, repeat the above process again, until being successfully established Mesh connection or reaching not
Online time-out reboot time.After not online overtime reboot time reaches, AP, which can be restarted and be executed again, above-mentioned establishes Mesh
The process of connection.
There are potential Radar channel in all channels that radio frequency is supported, for example, channel 52 is to the institute between channel 140
Having channel is potential Radar channel, and potential Radar channel has the quiet period of default, it is latent that a part is defined in existing protocol
It is 1 minute in the quiet period of Radar channel, and the quiet period of the potential Radar channel of another part is 10 minutes.When potential radar
When channel is in quiet period, do not allow to send message on this channel, thus may result in AP can not be successfully established always
Mesh connection.
For example, AP has listened to Mesh Beacon message on 20 channels, and this 20 channels are potential radar letter
The not online overtime reboot time in road, AP is 10 minutes, then the poll total duration of each channel is 30 seconds, is less than potential radar
The quiet period of channel 1 minute or 10 minutes, in this case, these channels were constantly in quiet period, and finally, AP can not succeed
Mesh connection is established, when not online overtime reboot time reaches, repeats the above process after ap reboot, still can not be successfully established
Mesh connection can not be successfully established always Mesh connection so as to cause AP.
Summary of the invention
In view of this, the application provides a kind of Mesh establishment of connection method and device.
Specifically, the application is achieved by the following technical solution:
On the one hand, a kind of Mesh establishment of connection method is provided, this method is applied to AP, this method comprises:
After failure is established in Mesh connection, successively each in record listens to the channel of Mesh Beacon message
On, establish Mesh connection;
If failure is established in Mesh connection, from the channel for listening to Mesh Beacon message, lookup allows to establish Mesh
The stable mode channel of connection, wherein stable mode channel listens to instruction and establishes Mesh connection using stable mode
The channel of Mesh Beacon message;
After the not online overtime reboot time of this equipment is revised as the first value, successively in the stable mode channel found
Each of in potential Radar channel, after waiting quiet period establish Mesh connection, wherein the first value is greater than finding
The time overall length of the quiet period of all potential Radar channels in stable mode channel.
On the other hand, a kind of Mesh establishment of connection device is additionally provided, which is applied in AP, which includes:
Module is monitored in connection, for after failure is established in Mesh connection, successively each in record to listen to Mesh
On the channel of Beacon message, Mesh connection is established;
Searching module, if monitoring module for connecting and establishing Mesh connection failure, from listening to Mesh Beacon message
Channel in, searching allows to establish the stable mode channel of Mesh connection, wherein stable mode channel is to listen to instruction use
Stable mode establishes the channel of the Mesh Beacon message of Mesh connection;
Modified module, for incite somebody to action this after searching module finds and allows to establish the stable mode channel of Mesh connection
The not online overtime reboot time of equipment is revised as the first value, wherein the first value is greater than in the stable mode channel found
The time overall length of the quiet period of all potential Radar channels;
First connection establishment module, for the not online overtime reboot time of this equipment to be revised as first in modified module
After value, successively in the potential Radar channel of each of the stable mode channel that searching module is found, quiet period is waited
After establish Mesh connection.
By the above technical scheme of the application, after failure is established in Mesh connection, successively in each prison of record
It hears and establishes Mesh connection on the channel of Mesh Beacon message, if failure is still established in Mesh connection, from listening to Mesh
In the channel of Beacon message, the stable mode channel for allowing to establish Mesh connection is searched, wherein stable mode channel is to monitor
To Mesh Beacon message be used to indicate and establish the channel of Mesh connection using stable mode;Then, by this equipment not on
After line time-out reboot time is revised as the first value, successively in the potential Radar channel of each of the stable mode channel found
On, Mesh connection is established after waiting quiet period, wherein the first value is greater than all latent in the stable mode channel found
In the time overall length of the quiet period of Radar channel.Since modified not online overtime reboot time is greater than all potential radar letters
The time overall length of the quiet period in road, also, waited on any stable mode channel as potential Radar channel found
Mesh connection is just begun setting up after quiet period, therefore, is successfully established after potential Radar channel can be made to terminate quiet period
Mesh connection improves the success rate that AP establishes Mesh connection, avoids when potential Radar channel is more, and AP always can not be at
Function establishes the problem of Mesh connection.
Detailed description of the invention
Fig. 1 is the flow chart of the Mesh establishment of connection method shown in one exemplary embodiment of the application;
Fig. 2 is that lookup shown in one exemplary embodiment of the application allows to establish the stable mode channel of Mesh connection and fast
The flow chart of the method for fast mode channel;
Fig. 3 is a kind of structural schematic diagram of actual wireless Mesh netword shown in one exemplary embodiment of the application;
Fig. 4 is the hardware structural diagram of the AP shown in one exemplary embodiment of the application;
Fig. 5 is the structural schematic diagram of the Mesh establishment of connection device shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Mesh connection, reality below the application can not be successfully established in order to solve the problems, such as AP existing in the prior art always
It applies and provides a kind of Mesh establishment of connection method in example, and a kind of Mesh establishment of connection that can apply this method fills
It sets.
In the embodiment of the present application, as shown in Figure 1, AP execute Mesh establishment of connection method the following steps are included:
Step S101, poll monitor all channels that radio frequency is supported, record listens to the channel of Mesh Beacon message,
Successively Mesh connection is established on the channel for listening to Mesh Beacon message of each record;
For convenience, step S101 is known as first round Mesh establishment process.
Whether Mesh connection is successfully established in step S102, judgment step S101, if so, terminating this process, otherwise, holds
Row step S103;
Step S103 establishes Mesh connection successively on the channel that each listens to Mesh Beacon message;
If failure is established in Mesh connection in first round Mesh establishment process, the second wheel Mesh for thening follow the steps S103 is established
Process.
All channels of Mesh Beacon message are listened to due to having recorded in first round Mesh establishment process,
In the second wheel Mesh establishment process, broadcast Probe Request message is directly successively sent on each channel of record
To establish Mesh connection.
Whether Mesh connection is successfully established in step S104, judgment step S103, if so, terminating this process, otherwise, holds
Row step S105;
Step S105 searches the stable mode for allowing to establish Mesh connection from the channel for listening to Mesh Beacon message
Formula channel, and search quick mode channel;
Wherein, stable mode channel is the Mesh Beacon report for listening to instruction and establishing Mesh connection using stable mode
The channel of text, quick mode channel are the Mesh Beacon messages for listening to instruction and establishing Mesh connection using quick mode
Channel.
Specifically, mode flag has been increased newly in Mesh Beacon message in the embodiment of the present application, when from any channel
In the Mesh Beacon message listened to without carry quick mode label when, determine the channel be stable mode channel, when from
When carrying quick mode label in the Mesh Beacon message listened on the AD HOC channel, determine that the channel is fast
Fast mode channel;Alternatively, when carrying stable mode label from the Mesh Beacon message listened on any channel,
It determines that the channel is stable mode channel, is carried when from the Mesh Beacon message listened on the AD HOC channel
When quick mode marks, determine that the channel is quick mode channel.
In addition, the embodiment of the present application has also increased black and white lists and upper limit label newly in Mesh Beacon message, for referring to
Show whether the other AP for issuing the Mesh Beacon message allow this equipment to establish Mesh with it and connect, pass through what is listened to
Black and white lists and/or the upper limit label carried in Mesh Beacon message, can determine which stable mode channel allows to build
Vertical Mesh connection.
Search the side of the stable mode channel and quick mode channel that allow to establish Mesh connection in step s105 as a result,
Method is as shown in Figure 2:
Step S201 judges the letter according to the Mesh Beacon message listened to from any channel in step s101
Whether road is stable mode channel, if so, thening follow the steps S202, otherwise, executes step S205;
For any Mesh Beacon message listened in first round Mesh establishment process, the Mesh is parsed
Beacon message, to execute step S201~step S205.
Step S202, judges whether the Mesh Beacon message meets the following conditions, if satisfied, S203 is thened follow the steps,
Otherwise, step S204 is executed;
Wherein, which includes: the mark in the blacklist of Mesh Beacon message carrying comprising this equipment, and/or
Do not include the mark of this equipment in the white list that Mesh Beacon message carries and/or Mesh Beacon message carries
Limit label, the upper limit mark the neighbours' quantity for being used to indicate the other AP for issuing the Mesh Beacon message to have reached the upper limit;
Step S203 determines that the stable mode channel is the stable mode channel for not allowing to establish Mesh connection;
It is subsequent, in third round Mesh establishment process, it will not be established on the stable mode channel for meeting above-mentioned condition
Mesh connection.
Step S204 determines that the stable mode channel is the stable mode channel for allowing to establish Mesh connection.
Step S205 determines that the channel is quick mode channel.
Step S106 judges whether to have found the stable mode channel for allowing to establish Mesh connection, if so, executing step
Otherwise rapid S107 executes step S109;
Step S107, it is successively every what is found after the not online overtime reboot time of this equipment is revised as the first value
One stable mode channel (the stable mode channel found be found in step S105 allow to establish Mesh connection
Stable mode channel) on establish Mesh connection, wherein radar potential for each of the stable mode channel that finds is believed
Mesh connection is established in road after waiting quiet period;
Wherein, the first value is greater than the time of the quiet period of all potential Radar channels in the stable mode channel found
Overall length.
Preferably, the first value is T minutes, and T meets following formula (1):
T=T1+10*m+1*n (1)
Wherein, T1 indicates the not online overtime reboot time before modification, the unit of T1 is minute, and m indicates finding
The potential Radar channel sum that quiet period is 10 minutes in stable mode channel, n are indicated in the stable mode channel found
The potential Radar channel sum that quiet period is 1 minute.
In this way, modified not online overtime reboot time increases 10*m+1*n minutes compared with before modification, that is, increase
Time is the time overall length of the quiet period of all potential Radar channels, so that the quiet period improved in potential Radar channel terminates
After a possibility that being successfully established Mesh connection.
Preferably, after waiting quiet period in the potential Radar channel of each of the stable mode channel found
The method for establishing Mesh connection may is that the sequence ascending according to the time of quiet period, successively in the stable mode found
In the potential Radar channel of each of formula channel, Mesh connection is established after waiting quiet period.In the actual implementation process,
If there is the identical potential Radar channel of multiple quiet periods, then can be arranged according to the sequence of channel numbered from small to large
Sequence can also be ranked up according to the sequence of number from big to small, can be with randomly ordered, and the embodiment of the present application does not limit this
It is fixed.
It is to try to ensure to arrive in not online overtime reboot time according to the purpose of the time of quiet period ascending sequence
Up to more channels before, are traversed, to improve the success rate of Mesh connection foundation.
Step S108, judges whether Mesh connection is successfully established, if so, terminating this process, otherwise, executes step
S109;
Step S109 is immediately finished quiet period and establishes Mesh successively on each the quick mode channel found
Connection;
That is, skipping quiet period on quick mode channel, Mesh connection is directly established.
If failure is established in Mesh connection in the second wheel Mesh establishment process, S107~step S109 third is thened follow the steps
Take turns Mesh establishment process.
Step S110, judges whether Mesh connection is successfully established, if so, terminate this process, otherwise, return step
S101。
Wherein, the mode flag in above-mentioned Mesh Beacon message is by issuing the other of the Mesh Beacon message
AP setting, when other AP with AC after being associated with, AC can be issued to other AP to be used to indicate using stable mode or quickly
The pattern configurations information of Model Establishment Mesh connection, after which receives the configuration information and carries out corresponding configuration, meeting
Corresponding mode flag is added in the Mesh Beacon message of sending.In the actual implementation process, AP and AC passes through wired company
Become MPP (Mesh Portal Point, grid portal point) after connecing foundation association, is responsible for connection Mesh network and non-Mesh net
Network.
AC issues pattern configurations information to MPP, is defaulted as stable mode, thus, the Mesh Beacon message that MPP is issued
Be used in instruction and Mesh connection established using stable mode, that is, carried in the Mesh Beacon message stable mode mark or
Quick mode label is not carried.
Subsequent, MP (Mesh Point, mesh point) can be become by establishing the AP that Mesh is connect with MPP, be responsible for providing Mesh
Service.AC is issued to MP is used to indicate the pattern configurations information that stable mode establishes Mesh connection, thus, the Mesh that MP is issued
Beacon message is used in instruction and establishes Mesh connection using stable mode, that is, carries stable mode in the Mesh Beacon message
Formula marks or does not carry quick mode label.
Subsequent, MAP (Mesh Access Point, grid access point) can be become by establishing the AP that Mesh is connect with MP, be born
Duty provides Mesh service and access service.AC issues the pattern configurations information for being used to indicate stable mode to MAP, thus, MP hair
Mesh Beacon message out is used in instruction and establishes Mesh connection using stable mode, that is, in the Mesh Beacon message
It carries stable mode label or does not carry quick mode label.
In addition, AC can also issue to be used to indicate to MPP, MP with MAP establishes the mode that Mesh is connected using quick mode
Configuration information, thus, the Mesh Beacon message that these AP are issued is used in instruction and establishes Mesh connection using quick mode,
That is, carrying quick mode label in the Mesh Beacon message.
Alternatively, any one or more in MPP, MP, MAP can also be automatically updated into according to predetermined condition using Fast Modular
Formula establishes Mesh connection, for example, radar signal is monitored on the channel of this equipment work, if not supervising in interval of time
It hears radar signal, is then automatically updated into and Mesh connection is established using quick mode, wherein the time interval can be the channel
Quiet period integral multiple;The Mesh Beacon message of subsequent sending is used to indicate and establishes Mesh connection using quick mode.
In the method for above-described embodiment, after failure is established in Mesh connection, successively each in record is listened to
Mesh connection is established on the channel of Mesh Beacon message, if failure is still established in Mesh connection, from listening to Mesh
In the channel of Beacon message, the stable mode channel for allowing to establish Mesh connection is searched, wherein stable mode channel is to monitor
To Mesh Beacon message be used to indicate and establish the channel of Mesh connection using stable mode;Then, by this equipment not on
After line time-out reboot time is revised as the first value, successively in the potential Radar channel of each of the stable mode channel found
On, Mesh connection is established after waiting quiet period, wherein the first value is greater than all latent in the stable mode channel found
In the time overall length of the quiet period of Radar channel.Since modified not online overtime reboot time is greater than all potential radar letters
The time overall length of the quiet period in road, also, waited on any stable mode channel as potential Radar channel found
Mesh connection is just begun setting up after quiet period, therefore, is successfully established after potential Radar channel can be made to terminate quiet period
Mesh connection improves the success rate that AP establishes Mesh connection, avoids when potential Radar channel is more, and AP always can not be at
Function establishes the problem of Mesh connection.
In addition, allowing to establish the stable mode channel of Mesh connection not finding, or in the stable mode found
In the case where establishing Mesh connection failure on formula channel, can successively it be immediately finished on each the quick mode channel found
Quiet period simultaneously establishes Mesh connection.Thus, it is possible to directly skip quiet period, and quickly establish Mesh connection.
It is established on the channel only recorded in first round Mesh establishment process in Mesh establishment process due to being taken turns second
Mesh company is only established in Mesh connection in third round Mesh establishment process on the stable mode channel for allowing to establish Mesh connection
It connects, and only establishes Mesh connection on quick mode channel, thus, the range of the channel needed to be traversed for is reduced, is shortened
The time required to Mesh is established.
It is illustrated by taking Mesh network shown in Fig. 3 as an example, by wired connection between AC and MPP, therefore can pass through
CAPWAP (Controlling and Provisioning of Wireless Access Point, wireless access point control with
Supply) directly establish connection.It is channel 132 that AC, which configures the channel that it works by MPP, which is potential Radar channel, quiet
The silent phase is 1 minute.Silent timer starts timing after MPP enters channel 132, and quiet period did not receive radar at the end of 1 minute
Signal then starts to send Mesh Beacon message.In addition, outside the Mesh network, there is also the AP1 for enabling Mesh,
In channel 120, channel 120 is also potential Radar channel for AP1 work.
After MP1 start completion, first round Mesh establishment process is first carried out, has recorded listen to Mesh in this process
The channel 132 and channel 120 of Beacon message, and broadcast Probe Request is successively sent on channel 132 and channel 120
Message, to establish Mesh connection;But since channel 132 and channel 120 are all potential Radar channels, quiet period is not over,
Therefore, failure is established in Mesh connection in first round Mesh establishment process.MP1 enters the second wheel Mesh establishment process, is successively remembering
The channel 132 of record is connected with transmission broadcast Probe Request message on channel 120 with establishing Mesh, and result is still Mesh
Failure is established in connection, parses the Mesh Beacon message listened on channel 132 and channel 120, to determine channel 132 and letter
Road 120 is stable mode channel or quick mode channel.
It is assumed that channel 132 is quick mode channel, channel 120 is stable mode channel, still, is monitored from channel 120
To Mesh Beacon message blacklist in include MP1 MAC Address, accordingly, it is determined that channel 120 is not allow to establish
The stable mode channel of Mesh connection.Subsequent, for MP1 in third round Mesh establishment process, first searching allows to establish Mesh connection
Stable mode channel, if it is there is no allowing to establish the stable mode channel of Mesh connection, then in quick mode channel 132
On directly skip quiet period, broadcast Probe Request message is sent, to be successfully established Mesh connection.
Or, it is assumed that channel 132 is stable mode channel, and channel 120 is also stable mode channel, still, from channel
It include the MAC Address of MP1 in the blacklist of the Mesh Beacon message listened on 120, accordingly, it is determined that channel 120 is not
Allow to establish the stable mode channel of Mesh connection.Subsequent, in third round Mesh establishment process, first search allows to establish MP1
Not online overtime reboot time is updated to T=10* (0+ if finding channel 132 by the stable mode channel of Mesh connection
1)+1*1=11 minutes, later after waiting quiet period 1 minute on channel 132, broadcast Probe Request report is sent
Text, to be successfully established Mesh connection.
Corresponding with the embodiment of aforementioned Mesh establishment of connection method, present invention also provides Mesh establishment of connection dresses
The embodiment set.
The embodiment of the application Mesh establishment of connection device 60 can be applied on AP.Installation practice can be by soft
Part is realized, can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as a logical meaning
On device, be to be read computer program instructions corresponding in nonvolatile memory 50 by the processor 10 of AP where it
Into memory 40, operation is formed.For hardware view, as shown in figure 4, where the application Mesh establishment of connection device
A kind of hardware structure diagram of AP, in addition to processor 10 shown in Fig. 4, internal bus 20, network interface 30, memory 40, Yi Jifei
Except volatile memory 50, the AP in embodiment where device can also include other generally according to the actual functional capability of the AP
Hardware repeats no more this.
Referring to FIG. 5, including: that connection is monitored module 601, looked into the Mesh establishment of connection device 60 of the embodiment of the present application
Look for module 602, modified module 603 and the first connection establishment module 604, in which:
Module 601 is monitored in connection, for after failure is established in Mesh connection, successively each in record to be listened to
On the channel of Mesh Beacon message, Mesh connection is established;
Searching module 602, if monitoring module 601 for connecting and establishing Mesh connection failure, from listening to Mesh
In the channel of Beacon message, the stable mode channel for allowing to establish Mesh connection is searched, wherein stable mode channel is to monitor
The channel of the Mesh Beacon message of Mesh connection is established using stable mode to instruction;
Modified module 603, for searching module 602 find allow to establish Mesh connection stable mode channel it
Afterwards, the not online overtime reboot time of this equipment is revised as the first value, wherein the first value is greater than the stable mode letter found
The time overall length of the quiet period of all potential Radar channels in road;
First connection establishment module 604, for modifying the not online overtime reboot time of this equipment in modified module 603
After the first value, successively in the potential Radar channel of each of the stable mode channel that searching module 602 is found, etc.
Mesh connection is established after to quiet period.
Wherein, as shown in figure 5, in Mesh establishment of connection device 60 further include: the second connection establishment module 605, in which:
Searching module 602 is also used to from the channel for listening to Mesh Beacon message, searches quick mode channel,
In, quick mode channel is the channel for listening to the MeshBeacon message that Mesh connection is established in instruction using quick mode;
Second connection establishment module 605 allows to establish the steady of Mesh connection if being also used to searching module 602 and not finding
Mould-fixed channel or the first connection establishment module 604 establish Mesh connection failure on the stable mode channel found, then
Successively on each quick mode channel that searching module 602 is found, it is immediately finished quiet period and establishes Mesh connection.
Wherein, searching module 602 is specifically used for determining that the channel for listening to Mesh Beacon message is in the following manner
Stable mode channel or quick mode channel:
When in the Mesh Beacon message listened to without carrying quick mode label, determination listens to the Mesh
The channel of Beacon message is stable mode channel, is marked when carrying quick mode in the Mesh Beacon message listened to
When, determine that the channel for listening to the Mesh Beacon message is quick mode channel;
Alternatively, determination listens to the Mesh when carrying stable mode label in the Mesh Beacon message listened to
The channel of Beacon message is stable mode channel, is marked when carrying quick mode in the Mesh Beacon message listened to
When, determine that the channel for listening to the Mesh Beacon message is quick mode channel.
It wherein, include: the first judging unit, second judgment unit and determination unit in searching module 602, in which:
First judging unit, for judging that the channel is according to the Mesh Beacon message listened to from any channel
No is stable mode channel;
Second judgment unit judges the Mesh if the judging result for the first judging unit is stable mode channel
Whether Beacon message meets the following conditions, wherein the condition include: Mesh Beacon message carry blacklist in include
The mark and/or Mesh of this equipment are not included in the white list that the mark and/or Mesh Beacon message of this equipment carry
Beacon message carries upper limit label, and upper limit label is used to indicate the neighbours for issuing other AP of the Mesh Beacon message
Quantity has reached the upper limit;
Determination unit, if the judging result for second judgment unit is to be unsatisfactory for, it is determined that the stable mode channel is
Allow to establish the stable mode channel of Mesh connection.
Wherein, the first value is T minutes, and T meets following formula: T=T1+10*m+1*n, wherein T1 is indicated before modifying not
Online time-out reboot time, m indicate that quiet period is 10 minutes potential in the stable mode channel that searching module 602 is found
Radar channel sum, n indicate the potential radar that quiet period is 1 minute in the stable mode channel that searching module 602 is found
Total number of channels.
Wherein, the first connection establishment module 604 is specifically used for: according to the sequence that the time of quiet period is ascending, successively
In the potential Radar channel of each of the stable mode channel that searching module 602 is found, built after waiting quiet period
Vertical Mesh connection.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (12)
1. a kind of grid Mesh establishment of connection method, which is characterized in that the method is applied to access point AP, the method packet
It includes:
After failure is established in Mesh connection, successively each in record listens to the channel of Mesh beacon Beacon message
On, establish Mesh connection;
If failure is established in Mesh connection, from the channel for listening to Mesh Beacon message, lookup allows to establish Mesh
The stable mode channel of connection, wherein the stable mode channel is to listen to instruction to establish Mesh connection using stable mode
Mesh Beacon message channel;
After the not online overtime reboot time of this equipment is revised as the first value, successively in the stable mode channel found
In each potential Radar channel, Mesh connection is established after waiting quiet period, wherein first value is greater than the lookup
To stable mode channel in all potential Radar channels quiet period time overall length.
2. the method according to claim 1, wherein from the channel for listening to Mesh Beacon message,
When lookup allows to establish the stable mode channel of Mesh connection, quick mode channel is also searched, wherein the quick mode channel
It is the channel for listening to the Mesh Beacon message that Mesh connection is established in instruction using quick mode;Then, the method is also wrapped
It includes:
If not finding the stable mode channel for allowing to establish Mesh connection, or in the stable mode found
Mesh connection failure is established on channel, then is successively immediately finished quiet period simultaneously on each the quick mode channel found
Establish Mesh connection.
3. according to the method described in claim 2, listening to Mesh Beacon report it is characterized in that, determining in the following manner
The channel of text is stable mode channel or quick mode channel:
When in the Mesh Beacon message listened to without carrying quick mode label, determination listens to the Mesh Beacon
The channel of message is stable mode channel, when carrying quick mode label in the Mesh Beacon message listened to, is determined
The channel for listening to the Mesh Beacon message is quick mode channel;
Alternatively, determination listens to the Mesh when carrying stable mode label in the Mesh Beacon message listened to
The channel of Beacon message is stable mode channel, is marked when carrying quick mode in the Mesh Beacon message listened to
When, determine that the channel for listening to the Mesh Beacon message is quick mode channel.
4. the method according to claim 1, wherein from the channel for listening to Mesh Beacon message,
The method of stable mode channel that searching allows to establish Mesh connection includes:
According to the Mesh Beacon message listened to from any channel, judge whether the channel is stable mode channel;
If stable mode channel, then judge whether the Mesh Beacon message meets the following conditions, wherein the condition packet
Include: mark and/or Mesh Beacon message in the blacklist that Mesh Beacon message carries comprising this equipment carry white
Mark and/or Mesh Beacon message in list not comprising this equipment carry upper limit label, and the upper limit label is used for
Indicate that the neighbours' quantity for issuing other AP of the Mesh Beacon message has reached the upper limit;
If not satisfied, then determining that the stable mode channel is the stable mode channel for allowing to establish Mesh connection.
5. the T meets following formula the method according to claim 1, wherein first value is T minutes:
T=T1+10*m+1*n, wherein T1 indicates the not online overtime reboot time before modification, and m indicates to find described
The potential Radar channel sum that quiet period is 10 minutes in stable mode channel, n are indicated in the stable mode letter found
The potential Radar channel sum that quiet period is 1 minute in road.
6. the method according to claim 1, wherein successively in each of the stable mode channel found
In potential Radar channel, the method that Mesh connection is established after waiting quiet period includes:
It is successively latent in each of described stable mode channel found according to the sequence that the time of quiet period is ascending
In Radar channel, Mesh connection is established after waiting quiet period.
7. a kind of grid Mesh establishment of connection device, which is characterized in that described device is applied in access point AP, described device
Include:
Module is monitored in connection, for after failure is established in Mesh connection, successively each in record to listen to Mesh beacon
On the channel of Beacon message, Mesh connection is established;
Searching module listens to Mesh Beacon from described if monitoring module for the connection establishes Mesh connection failure
In the channel of message, the stable mode channel for allowing to establish Mesh connection is searched, wherein the stable mode channel is to listen to
Indicate the channel that the Mesh Beacon message of Mesh connection is established using stable mode;
Modified module, for after the searching module finds the stable mode channel for allowing to establish Mesh connection,
The not online overtime reboot time of this equipment is revised as the first value, wherein first value is greater than the stable mode found
The time overall length of the quiet period of all potential Radar channels in channel;
First connection establishment module, it is described for being revised as the not online overtime reboot time of this equipment in the modified module
After first value, successively in the potential Radar channel of each of the stable mode channel that the searching module is found, etc.
Mesh connection is established after to quiet period.
8. device according to claim 7, which is characterized in that described device further include: the second connection establishment module,
In:
The searching module is also used to from the channel for listening to Mesh Beacon message, searches quick mode channel,
Wherein, the quick mode channel is the Mesh Beacon message for listening to instruction and establishing Mesh connection using quick mode
Channel;
Second connection establishment module described allows to establish Mesh connection if being also used to the searching module and not finding
Stable mode channel or first connection establishment module establish Mesh connection on the stable mode channel found
Failure, then be successively immediately finished quiet period and establish on each quick mode channel that the searching module is found
Mesh connection.
9. device according to claim 8, which is characterized in that the searching module is specifically used for determining in the following manner
The channel for listening to Mesh Beacon message is stable mode channel or quick mode channel:
When in the Mesh Beacon message listened to without carrying quick mode label, determination listens to the Mesh Beacon
The channel of message is stable mode channel, when carrying quick mode label in the Mesh Beacon message listened to, is determined
The channel for listening to the Mesh Beacon message is quick mode channel;
Alternatively, determination listens to the Mesh when carrying stable mode label in the Mesh Beacon message listened to
The channel of Beacon message is stable mode channel, is marked when carrying quick mode in the Mesh Beacon message listened to
When, determine that the channel for listening to the Mesh Beacon message is quick mode channel.
10. device according to claim 7, which is characterized in that the searching module includes:
First judging unit, for according to the Mesh Beacon message that is listened to from any channel, judge the channel whether be
Stable mode channel;
Second judgment unit judges the Mesh if the judging result for first judging unit is stable mode channel
Whether Beacon message meets the following conditions, wherein the condition include: Mesh Beacon message carry blacklist in wrap
The mark and/or Mesh of this equipment are not included in the white list that mark and/or Mesh Beacon message containing this equipment carry
Beacon message carries upper limit label, and the upper limit label is used to indicate the other AP's for issuing the Mesh Beacon message
Neighbours' quantity has reached the upper limit;
Determination unit, if the judging result for the second judgment unit is to be unsatisfactory for, it is determined that the stable mode channel is
Allow to establish the stable mode channel of Mesh connection.
11. device according to claim 7, which is characterized in that first value is T minutes, and the T meets following public
Formula:
T=T1+10*m+1*n, wherein T1 indicates that the not online overtime reboot time before modification, m are indicated in the searching module
The potential Radar channel sum that quiet period is 10 minutes in the stable mode channel found, n expression are looked into the searching module
The potential Radar channel sum that quiet period is 1 minute in the stable mode channel found.
12. device according to claim 7, which is characterized in that first connection establishment module is specifically used for:
According to the sequence that the time of quiet period is ascending, successively in the stable mode channel that the searching module is found
In each potential Radar channel, Mesh connection is established after waiting quiet period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610504879.2A CN106131927B (en) | 2016-06-27 | 2016-06-27 | Mesh establishment of connection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610504879.2A CN106131927B (en) | 2016-06-27 | 2016-06-27 | Mesh establishment of connection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106131927A CN106131927A (en) | 2016-11-16 |
CN106131927B true CN106131927B (en) | 2019-09-17 |
Family
ID=57468403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610504879.2A Active CN106131927B (en) | 2016-06-27 | 2016-06-27 | Mesh establishment of connection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131927B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6982951B2 (en) * | 2000-12-21 | 2006-01-03 | At&T Corp. | Method for selecting a restoration path in a mesh network |
CN101119585B (en) * | 2006-08-01 | 2010-05-12 | 华为技术有限公司 | Distributed non-cooperative multipoint-to-multipoint network, node and connection establishment method |
JP5213476B2 (en) * | 2008-02-19 | 2013-06-19 | 株式会社トヨタIt開発センター | Wireless communication method and wireless communication system |
CN102271421A (en) * | 2011-07-19 | 2011-12-07 | 杭州华三通信技术有限公司 | Method and device for establishing Mesh link |
CN103248436B (en) * | 2013-04-17 | 2015-07-22 | 哈尔滨工程大学 | Method for avoiding hidden terminal and exposed terminal of underwater acoustic communication network |
CN103714364B (en) * | 2013-12-27 | 2017-01-11 | 深圳市远望谷信息技术股份有限公司 | Frequency hopping method and device of RFID reader |
CN105208662A (en) * | 2015-08-31 | 2015-12-30 | 宇龙计算机通信科技(深圳)有限公司 | D2D communication method, user equipment and base station |
-
2016
- 2016-06-27 CN CN201610504879.2A patent/CN106131927B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106131927A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10952143B2 (en) | Sleeping and wake-up methods and apparatuses of master-slave network, and power saving system of master-slave network | |
CN104137439B (en) | Equity finds | |
CN103260214B (en) | Equipment access method, equipment access point and equipment access device | |
CN110278568B (en) | Method and network system for constructing networking based on network equipment | |
CN109981360B (en) | Internet of things equipment site opening method, device and system and storage medium | |
CN103096492B (en) | A kind of WAP and the method for terminal communication, system and relevant device | |
CN109842919A (en) | A kind of communication of terminal and base station, terminal method of network entry and device | |
US20180048633A1 (en) | Perception-free authentication method and system, and control method and system based on the same | |
CN102271421A (en) | Method and device for establishing Mesh link | |
KR20090023875A (en) | Zigbee communication system and method for selecting and accessing Zigbee network | |
CN103533592B (en) | Multimode terminal and communication means | |
CN102045638B (en) | Method and equipment for time synchronization | |
CN103858362A (en) | Apparatus for transmitting/receiving multicast data in wireless communication system and method thereof | |
CN109547578A (en) | Network-building method for electronics price tag system | |
CN103379446B (en) | Multi-terminal control method and device based on wifi | |
CN101895963A (en) | Method and device for network access of equipment in wireless sensor network | |
CN109548120A (en) | Communication means, device, site apparatus and the access point apparatus of WLAN | |
US20170127472A1 (en) | Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network | |
CN108833604A (en) | A kind of list item update method and device | |
CN105992320A (en) | Discontinuous reception method, wireless access network node and terminal | |
CN102883344B (en) | Method and device for exchanging of wireless network management messages | |
CN106131927B (en) | Mesh establishment of connection method and device | |
US20240267836A1 (en) | Communication method, communication apparatus, and terminal | |
CN105376836B (en) | Access control method and system for UE terminal equipment | |
CN103200593A (en) | Base station self-starting and auxiliary method and auxiliary device of self-starting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |