CN102026306A - Channel selection method, channel selection device and mesh node physical device - Google Patents

Channel selection method, channel selection device and mesh node physical device Download PDF

Info

Publication number
CN102026306A
CN102026306A CN2010105923217A CN201010592321A CN102026306A CN 102026306 A CN102026306 A CN 102026306A CN 2010105923217 A CN2010105923217 A CN 2010105923217A CN 201010592321 A CN201010592321 A CN 201010592321A CN 102026306 A CN102026306 A CN 102026306A
Authority
CN
China
Prior art keywords
channel
node
mesh node
switched
announcement
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.)
Granted
Application number
CN2010105923217A
Other languages
Chinese (zh)
Other versions
CN102026306B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN 201010592321 priority Critical patent/CN102026306B/en
Publication of CN102026306A publication Critical patent/CN102026306A/en
Application granted granted Critical
Publication of CN102026306B publication Critical patent/CN102026306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a channel selection method, a channel selection device and a mesh node physical device. The channel selection method comprises the following steps: when the mesh node needs to be subject to channel switch, the mesh node sends a channel selection notice cell to a neighboring node of the mesh node, wherein, the channel selection notice cell carries identification of the to-be-switched channel selected by the mesh node; the mesh node receives the channel selection result of the neighboring node; and when all the mesh nodes in a network in which the mesh node is located agree to be switched to the to-be-switched channel, the mesh node is switched to the to-be-switched channel. By utilizing the embodiment of the invention, all the nodes in a Mesh network can work in the channel with better channel indexes, thus improving the overall performance of the Mesh network.

Description

Channel selecting method, device and mesh node entity device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of channel selecting method, device and mesh node entity device.
Background technology
Netted (Mesh) network is also referred to as multi-hop (multi-hop) network, is a kind of and the diverse novel radio network technology of conventional wireless network.The Mesh network is the network architecture that can constantly expand dynamically, and two equipment all can keep wireless interconnected arbitrarily.The Mesh network is more stable than traditional wireless network, and this is because in the data communication of Mesh network, and the performance of network performance also not only relies on certain node.In traditional wireless network, if fixing AP breaks down, all wireless devices all can not communicate in this network so; And in the Mesh network, if the WAP (wireless access point) of certain node (Access Point; Hereinafter to be referred as: AP) break down, this node that breaks down can select an AP to communicate again again, and data still can arrive the destination at high speed like this.
In addition, from physical angle, radio communication means that communication distance is short more, and the effect of communication can be good more; Because along with the growth of communication distance, wireless signal not only can be weak but also can the phase mutual interference, thereby reduces the efficient of data communication.And in the Mesh network, be to connect than short wireless network with a rule to replace the connection of long distance in the past, thereby can guarantee that data are with two-forty transmission fast between node.
The Mesh network based between the numerous AP that are net distribution cooperating with each other and collaborative, have the advantage of broadband, high speed and spectral efficient, have dynamic self-organization, self-configuring and outstanding feature such as maintenance certainly.
But in realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: in the management of Mesh network channel, prior art has only been formulated the channel handoff protocol, selects not have clear and definite regulation for channel.Like this, because each node is distributed in a bigger zone in the Mesh network, a channel has the optimum channel index in the a-quadrant, can not guarantee that this channel is good in the channel index in B zone, thereby can not guarantee that all nodes in the Mesh network all are operated on the reasonable channel of channel index, the overall performance of Mesh network is not good enough.
Summary of the invention
The embodiment of the invention provides a kind of channel selecting method, device and mesh node entity device, all is operated on the reasonable channel of channel index to guarantee all nodes in the Mesh network, improves the overall performance of Mesh network.
The embodiment of the invention provides a kind of channel selecting method, comprising:
When mesh network (Mesh) node need carry out the channel switching, described Mesh node was selected the announcement cell to the neighbor node transmitting channel of described Mesh node, and described channel selects the announcement cell to carry the sign of the to be switched channel of described Mesh node selection;
Described Mesh node receives the channel selection result of described neighbor node;
When all nodes in the network of described Mesh node place all agreed to switch to described to be switched channel, described Mesh node switched to described to be switched channel.
The embodiment of the invention also provides a kind of channel selector, comprising:
Sending module is used for selecting the announcement cell to the neighbor node transmitting channel of described Mesh node when mesh network (Mesh) node need carry out the channel switching, and described channel selects the announcement cell to carry the sign of the to be switched channel of described Mesh node selection;
Receiver module is used to receive the channel selection result of described neighbor node;
Handover module is used for switching to described to be switched channel when all nodes of described Mesh node place network all agree to switch to described to be switched channel.
The embodiment of the invention also provides a kind of mesh node entity device, comprises above-mentioned channel selector.
By the embodiment of the invention, when the Mesh node need carry out the channel switching, this Mesh node was selected the announcement cell to the neighbor node transmitting channel of this Mesh node, and this channel selects announcement cell to carry the sign of the to be switched channel of described Mesh node selection; After all nodes in this Mesh node place network all agreed to switch to above-mentioned to be switched channel, this Mesh node switched to this to be switched channel.Thereby can realize that all nodes in the Mesh network all are operated on the reasonable channel of channel index, and then can improve the overall performance of Mesh network.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of an embodiment of channel selecting method of the present invention;
Fig. 2 is the flow chart of another embodiment of channel selecting method of the present invention;
Fig. 3 selects the schematic diagram of an embodiment of structure of announcement cell for channel of the present invention;
Fig. 4 selects the announcement cell to handle the flow chart of an embodiment for Mesh node of the present invention to the channel that receives;
Fig. 5 is the structural representation of an embodiment of Mesh network topology of the present invention;
Fig. 6 is the structural representation of an embodiment of channel selector of the present invention;
Fig. 7 is the structural representation of another embodiment of channel selector of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of an embodiment of channel selecting method of the present invention, and as shown in Figure 1, this channel selecting method can comprise:
Step 101, when the Mesh node need carry out the channel switching, this Mesh node was selected the announcement cell to the neighbor node transmitting channel of this Mesh node, and this channel selects announcement cell to carry the sign of the to be switched channel of this Mesh node selection.
Particularly, the Mesh node can select this channel the announcement cell to be carried on the neighbor node that sends to this Mesh node in beacon (beacon) frame or detection (probe) acknowledgement frame.
In the present embodiment, this channel selects the announcement cell can comprise promoter's field, initiator node field, new channel field and mode field; Wherein, value that can new channel field is set to the sign of the to be switched channel that this Mesh node selects, for example: the sign that the numbering of this to be switched channel etc. can this to be switched channel of unique identification, to select to carry in announcement cell the sign of the to be switched channel that this Mesh node selects at this channel.
In addition, this Mesh node can select the value of promoter's field in the announcement cell to be made as " 1 " channel of this Mesh node transmission, represents that this channel selection announcement cell is by this Mesh node initiation; The value of initiator node field can be made as medium access control (the Media Access Control of this Mesh node; Hereinafter to be referred as: MAC) address; The value of mode field can be made as " 1 ", represent that this Mesh node agreement switches to above-mentioned to be switched channel.Certainly more than only is a kind of example of the present invention, does not constitute limitation of the invention.
Step 102, the Mesh node receives the channel selection result of neighbor node.
Particularly, the Mesh node can receive beacon frame or the probe acknowledgement frame that neighbor node sends, and carries above-mentioned channel selection result in this beacon frame or the probe acknowledgement frame.
In the present embodiment, neighbor node can be selected the value of mode field in the announcement cell by channel is set, and represents the channel selection result of this neighbor node; For instance, neighbor node can be made as " 0 " by the value of channel being selected mode field in the announcement cell, represents that this neighbor node is disagreed with to switch to above-mentioned to be switched channel; Perhaps, this neighbor node can be made as " 1 " by channel being selected the value of mode field in the announcement cell, represents that this node agreement switches to above-mentioned to be switched channel; Certainly, this is a kind of example of the present invention, does not constitute limitation of the invention.Then, neighbor node can be selected the announcement cell to be carried in beacon frame or the probe frame channel that sets and send to the Mesh node.
Step 103, when all nodes in the network of Mesh node place were all agreed to switch to be switched channel, this Mesh node switched to be switched channel.
In the foregoing description, when the Mesh node need carry out the channel switching, this Mesh node was selected the announcement cell to the neighbor node transmitting channel of this Mesh node, and this channel selects announcement cell to carry the sign of the to be switched channel of this Mesh node selection; After all nodes in this Mesh node place network all agreed to switch to above-mentioned to be switched channel, this Mesh node switched to this to be switched channel.Thereby can realize that all nodes in the Mesh network all are operated on the reasonable channel of channel index, and then can improve the overall performance of Mesh network.
Fig. 2 is the flow chart of another embodiment of channel selecting method of the present invention, and as shown in Figure 2, this channel selecting method can comprise:
Step 201, when the Mesh node need carry out channel when switching, this Mesh node is to the channel of the channel alternative condition that meets this Mesh node, according to channel strength by carrying out prioritization to weak order by force.
Wherein, the channel alternative condition of this Mesh node can for channel strength greater than-65dbm, the embodiment of the invention is not limited in this certainly, the embodiment of the invention does not limit the set-up mode of channel alternative condition.
Step 202, Mesh node select the highest channel of priority as to be switched channel from sorted channel queue.
Step 203, the channel of this Mesh node of Mesh node initializing are selected the announcement cell.
Particularly, the structure of this channel selection announcement cell can be as shown in Figure 3, Fig. 3 selects the schematic diagram of an embodiment of structure of announcement cell for channel of the present invention, in the present embodiment, this channel selects the announcement cell can comprise promoter's field, initiator node field, new channel field and mode field at least;
Definition to each field is introduced below.
(1) value of promoter's field can be made as " 1 ", represent this Mesh node initiation channel selection announcement; The value of promoter's field can be made as " 0 ", the expression channel selects announcement to be initiated by other Mesh nodes, and is propagated by current Mesh node.
(2) value of initiator node field can be set to initiate the MAC Address that channel is selected the Mesh node of announcement.
(3) value of new channel field can be set to initiate the sign that channel is selected the to be switched channel that the Mesh node of announcement selects, the sign of this to be switched channel can for the numbering of this to be switched channel etc. can this to be switched channel of unique identification sign.
(4) state of the value representation Mesh node of mode field can be provided with the value of mode field with reference to table 1.
Table 1
In the present embodiment, when the Mesh node need carry out channel when switching, the channel that this Mesh node can this Mesh node of initialization is selected the announcement cell.Particularly, this Mesh node can be made as the value of promoter's field " 1 ", represents this Mesh node initiation channel selection announcement; Value that can the initiator node field is set to the MAC Address of this Mesh node; Value that can new channel field is set to the sign of the to be switched channel that this Mesh node selects; The value of mode field can be made as " 1 ", represent that this Mesh node agreement switches to be switched channel.
Step 204, the Mesh node selects the announcement cell to send to the neighbor node of this Mesh node channel.
Particularly, this channel selects the announcement cell unicast or multicastly to transmit.In the present embodiment, the Mesh node can be carried on channel selection announcement cell in beacon frame or the probe acknowledgement frame and send.
Step 205, the Mesh node receives the channel selection result of neighbor node.
Particularly, neighbor node can be carried on the channel selection result in beacon frame or the probe acknowledgement frame and send to the Mesh node.
In the present embodiment, neighbor node can be selected the value of mode field in the announcement cell by channel is set, and represents the channel selection result of this neighbor node; With reference to table 1, neighbor node can be made as " 0 " by the value of channel being selected mode field in the announcement cell, represents that this neighbor node is disagreed with to switch to above-mentioned to be switched channel; Perhaps, this neighbor node can be made as " 1 " by channel being selected the value of mode field in the announcement cell, represents that this node agreement switches to above-mentioned to be switched channel; Certainly, this is a kind of example of the present invention, does not constitute limitation of the invention.Then, neighbor node can be selected the announcement cell to be carried in beacon frame or the probe frame channel that sets and send to the Mesh node.
Step 206, when all nodes in the network of Mesh node place were all agreed to switch to be switched channel, this Mesh node switched to be switched channel.
In the present embodiment, when the channel of all neighbor nodes of initiating the Mesh node that channel selects selects the value of mode field in the announcement cell to be " 3 ", represent that all the Mesh nodes in this Mesh place network all agree to switch to be switched channel, at this moment, this Mesh node can be initiated channel and be switched trial, switches to be switched channel.
If when initiating value that channel that Mesh node that channel selects receives at least one neighbor node selects mode field in the announcement cell for " 0 ", represent that having at least one node to disagree with in this Mesh node place network switches to above-mentioned to be switched channel, at this moment, if still have optional channel in the channel queue, then this Mesh node is deleted above-mentioned to be switched channel from channel queue, and from this channel queue, select priority time high channel to resend channel and select the announcement cell, by that analogy, no optional channel in channel queue.
In this Mesh node place network, there is at least one neighbor node to disagree with and switches to be switched channel, and when not had optional channel in the channel queue, initiate Mesh node that channel selects and will cancel the channel that this Mesh node initiates and select to announce; Then, this Mesh node can send the cancellation channel and select the neighbor node of frame to this Mesh node; The neighbor node of this Mesh node receives the cancellation channel and selects after the frame, can send the cancellation channel and select frame to separately neighbor node.
In addition, in the present embodiment, Mesh node receives the channel that the neighbor node of this Mesh node sends and selects after the announcement cell, can carry out flow process shown in Figure 4, Fig. 4 selects the announcement cell to handle the flow chart of an embodiment for Mesh node of the present invention to the channel that receives, as shown in Figure 4, this flow process can comprise:
Step 401, Mesh node receive the channel selection announcement cell of the neighbor node transmission of this Mesh node, and the channel that this neighbor node sends selects to announce the sign that cell carries the to be switched channel of this neighbor node selection.
Particularly, the Mesh node can receive the channel selection announcement cell of the neighbor node of this Mesh node by beacon frame or the transmission of probe acknowledgement frame.
Wherein, this neighbor node is provided with channel and selects the mode of announcement cell not repeat them here with reference to the description in the step 203.
Step 402, Mesh node judge whether only to receive the channel that a neighbor node of this Mesh node sends and select the announcement cell; If then execution in step 403; If this Mesh node successively receives the channel selection announcement cell that at least two neighbor nodes of this Mesh node send, then execution in step 404.
Step 403, Mesh node are accepted this channel and are selected the announcement cell, and execution in step 405 then.
Step 404, Mesh node are accepted the channel of the neighbor node transmission of MAC Address minimum and are selected the announcement cell, and execution in step 405 then.
Step 405, the Mesh node determines whether to select the channel of neighbor node transmission to select to announce the to be switched channel that carries in the cell according to the channel alternative condition of this Mesh node.
Step 406, neighbours' channel option table of this Mesh node of Mesh node updates and the channel selection mode of this Mesh node.
In the present embodiment, accept after channel that the neighbor node of this Mesh node sends selects the announcement cell at the Mesh node, the channel no matter whether this Mesh node selects neighbor node to send selects to announce the to be switched channel that carries in the cell, this Mesh node all can write down the channel of neighbor node and select situation in neighbours' channel option table of this Mesh node, like this, when this Mesh node found that neighbor node is in the channel selection mode in the channel option table of this Mesh node, this Mesh node can not initiated channel again and be selected.That is to say that after the channel of accepting the neighbor node transmission is selected the announcement cell, switch to before the to be switched channel, this Mesh node can not initiated channel again and be selected.
And, accept after channel that the neighbor node of this Mesh node sends selects the announcement cell at the Mesh node, the channel no matter whether this Mesh node selects neighbor node to send selects to announce the to be switched channel that carries in the cell, this Mesh node all can upgrade the channel selection mode of self, for example: can be with reference to table 1, when this Mesh node determines that the channel of selecting neighbor node to send is selected to announce the to be switched channel that carries in the cell, this Mesh node can be made as " 1 " with the channel selection mode of self, represents that this Mesh node agreement switches to above-mentioned to be switched channel; Perhaps, disagree with when this Mesh node the channel selection mode of self to be made as " 0 " when selecting above-mentioned to be switched channel, represent that this Mesh node is disagreed with to switch to above-mentioned to be switched channel.
Step 407, Mesh node send to the channel selection result of this Mesh node the neighbor node of this Mesh node.
In the present embodiment, this Mesh node can be arranged on the channel selection result of this Mesh node channel and select in the announcement cell, selects the announcement cell to send to neighbor node this channel by beacon frame or probe acknowledgement frame then.
Particularly, the Mesh node can select the value of promoter's field in the announcement cell to be made as " 0 " channel of this Mesh node, and the expression channel selects announcement to be initiated by neighbor node and propagated by this Mesh node; The value of mode field can be made as the channel selection mode of this Mesh node, for example: " 0 " or " 1 " etc.; At this moment, channel selects the value of initiator node field in the announcement cell for initiating the MAC Address that channel is selected the neighbor node of announcement, and the value of new channel field is for initiating the to be switched channel that channel selects the neighbor node of announcement to select.
Set up channel and select after the announcement cell, this Mesh node can select this channel the announcement cell to be carried on all neighbor nodes that send to this Mesh node in beacon frame or the probe acknowledgement frame.
In addition, in the present embodiment, after the Mesh node received cancellation channel selection frame, this Mesh node can send to the cancellation channel selection frame that receives the neighbor node of this Mesh node, and this Mesh node is no longer initiated the channel selection.
The foregoing description has realized that all nodes in the Mesh network all are operated on the reasonable channel of channel index, and then has improved the overall performance of Mesh network.
Below by an instantiation channel selecting method that the embodiment of the invention provides is described in detail.
Fig. 5 as shown in Figure 5, comprises 5 Mesh nodes (Mesh Point for the structural representation of an embodiment of Mesh network topology of the present invention in this Mesh network; Hereinafter to be referred as: MP), be respectively MP1, MP2, MP3, MP4 and MP5.
Here suppose that MP1 need carry out channel and switch, and select a to be switched channel, suppose be designated " 11 " of this to be switched channel, wherein MP1 selects the method for to be switched channel not repeat them here with reference to the description of the present invention's step 201 embodiment illustrated in fig. 2~step 202.Then, MP1, MP2, MP3, MP4 and MP5 will carry out following steps and finish the channel switching.
Step 1, MP1 transmitting channel select the announcement cell to give MP2 and MP3, and the channel selection mode of MP1 is changed to " 1 ".
Step 2, MP2 and MP3 receive the channel of MP1 and select after the announcement cell, according to self channel situation and to be switched channel in the situation at node place, determine whether to agree to select this to be switched channel.
Step 3, if MP2 and MP3 agree to select to be switched channel, MP2 and MP3 are changed to " 1 " with channel selection mode separately, and transmitting channel selection announcement cell is given neighbor node separately; MP1 receives after the channel selection announcement cell of MP2 and MP3 transmission, the channel that discovery MP2 and MP3 send selects the value of mode field in the announcement cell to be " 1 ", expression MP2 and MP3 all agree to switch to be switched channel, and at this moment, MP1 is changed to " 2 " with the channel selection mode of this MP1.
In addition, switch to be switched channel if there is a node to disagree with among MP2 and the MP3, this node can be changed to the channel selection mode " 0 ", and select the announcement cell to send to neighbor node by channel, MP1 receives this channel and selects after the announcement cell, if still have optional channel in the channel queue, and the to be switched channel of selecting before MP1 will delete from channel queue, and selective channel formation medium priority time high channel, initiate channel again and select; If there has not been optional channel in the channel queue, MP1 will cancel this secondary channel and select; But present embodiment agrees that with MP2 and MP3 switching to be switched channel is that example describes.
Step 4, MP4 receives after the channel selection announcement cell of MP2 and MP3 transmission, the channel that discovery MP2 and MP3 send selects the value of mode field in the announcement cell to be " 1 ", expression MP2 and MP3 all agree to switch to be switched channel, at this moment, MP4 will be according to the channel situation of to be switched channel at the MP4 place, determine whether to agree to switch to be switched channel, if MP4 agrees to switch to be switched channel, MP4 is changed to " 1 " with the channel selection mode of self, and transmitting channel selects the announcement cell to give the neighbor node of this MP4.MP2 and MP3 receive after the channel selection announcement cell of MP4 transmission, MP2 and MP3 find that MP4 agrees to switch to be switched channel, and MP1 also agrees to switch to be switched channel, at this moment, all neighbor nodes of MP2 and MP3 all agree to switch to be switched channel, so MP2 and MP3 can be changed to " 2 " with channel selection mode separately, all neighbor nodes of expression MP2 and MP3 all agree to switch to be switched channel, MP2 and MP3 meeting transmitting channel selection announcement cell is given neighbor node separately, i.e. MP1 and MP4 then.
The channel that receives MP2 and MP3 transmission is selected after the announcement cell, MP1 finds that the channel selection mode of MP2 and MP3 is " 2 ", that is to say, at this moment all neighbor nodes of MP2 and MP3 agree to switch to be switched channel, but whether MP1 can't determine all nodes in the network and all agree to switch to be switched channel, so MP1 still is changed to " 2 " with the channel selection mode of self.
Equally, the channel that receives MP2 and MP3 transmission is selected after the announcement cell, MP4 finds that the channel selection mode of MP2 and MP3 is " 2 ", that is to say, at this moment all neighbor nodes of MP2 and MP3 agree to switch to be switched channel, whether but at this moment MP4 can't determine whether MP5 agrees to switch to be switched channel, all agree to switch to be switched channel so MP4 can not determine all neighbor nodes of this MP4, so MP4 still is changed to " 1 " with the channel selection mode of self.
In addition, if disagreeing with, MP4 switches to be switched channel, MP4 is changed to " 0 " with the channel selection mode, and select the announcement cell to send to neighbor node by channel, MP2 and MP3 receive the channel of MP4 transmission and select after the announcement cell, channel selection mode separately is changed to " 0 ", and select the announcement cell to send to neighbor node MP1 by channel, MP1 receives this channel and selects after the announcement cell, if still have optional channel in the channel queue, the to be switched channel of selecting before MP1 will delete from channel queue, and selective channel formation medium priority time high channel are initiated channel again and are selected; If there has not been optional channel in the channel queue, MP1 will cancel this secondary channel and select.But present embodiment agrees that with MP4 switching to be switched channel is that example describes.
Step 5, MP5 receives the channel of MP4 transmission and selects after the announcement cell, it is " 1 " that the channel that discovery MP4 sends is selected the value of mode field in the announcement cell, expression MP4 agrees to switch to be switched channel, if MP5 also agrees to switch to be switched channel, because MP5 has only a neighbor node MP4, and MP4 agrees to switch to be switched channel, all neighbor nodes of this explanation MP5 all agree to switch to be switched channel, therefore MP5 is changed to " 2 " with the channel selection mode of self, and transmitting channel selects the announcement cell to give the neighbor node of MP5; MP4 receives the channel of MP5 transmission and selects after the announcement cell, the channel selection mode of finding all neighbor nodes of MP4 is " 2 ", this just illustrates that all neighbor nodes of MP4 all agree to switch to be switched channel, therefore MP4 is changed to " 2 " with the channel selection mode of this MP4 self, and transmitting channel selects the announcement cell to give the neighbor node of MP4.
Step 6, MP2 and MP3 receive the channel of MP4 transmission and select after the announcement cell, MP2 and MP3 find neighbor node separately, and MP2 and MP3 separately the neighbor node of neighbor node all agree to switch to be switched channel, but whether all agree to switch to be switched channel because MP2 and MP3 can't determine all nodes in the network, so MP2 and MP3 still are changed to " 2 " with channel selection mode separately.
MP5 receives the channel of MP4 transmission and selects after the announcement cell, it is " 2 " that the channel that discovery MP4 sends is selected the value of mode field in the announcement cell, all neighbor nodes of expression MP4 and MP4 all agree to switch to be switched channel, because MP5 only has this neighbor node of MP4, therefore at this moment MP5 can determine that all nodes in this MP5 place network all agree to switch to be switched channel, therefore MP5 is changed to " 3 " with the channel selection mode of self, and transmitting channel selects the announcement cell to give the neighbor node of MP5.
Step 7, MP4 receives the channel of MP5 and selects after the announcement cell, it is " 3 " that the channel that discovery MP5 sends is selected the value of mode field in the announcement cell, and two other neighbor node MP2 of MP4 and the channel selection mode of MP3 are " 2 ", at this moment, MP4 can determine that also all nodes in this MP4 place network all agree to switch to be switched channel, so MP4 is changed to " 3 " with self channel selection mode, and transmitting channel selects the announcement cell to give the neighbor node of MP4.
Step 8, MP2 and MP3 receive after the channel selection announcement cell of MP4, it is " 3 " that the channel that discovery MP4 sends is selected the value of mode field in the announcement cell, and the channel selection mode of another neighbor node MP1 of MP2 and MP3 is " 2 ", at this moment, MP2 and MP3 can determine that all nodes in MP2 and the MP3 place network all agree to switch to be switched channel, so MP2 and MP3 channel selection mode separately is set to " 3 ", continuation transmitting channel selection announcement cell is given neighbor node separately.
Step 9, MP1 receives the channel of MP2 and MP3 transmission and selects after the announcement cell, the channel selection mode of finding all neighbor nodes (MP2 and MP3) of this MP1 self is 3, and this illustrates that whole network all agrees to switch to be switched channel, and MP1 will initiate channel and switch.
In the above-mentioned example, channel selects the set-up mode of announcement cell to please refer to the present invention's description embodiment illustrated in fig. 2, does not repeat them here.In addition, when a Mesh node receives the channel selection announcement cell that at least two nodes send, in the time of need selecting the announcement cell accept or reject to the channel that receives, the method that provides during this Mesh node is can be with reference to the present invention embodiment illustrated in fig. 4 repeat them here.
The characteristics that the channel selecting method that the embodiment of the invention provides utilizes beacon frame or probe acknowledgement frame to send with fixed frequency, select the announcement cell to join in beacon frame or the probe acknowledgement frame channel, so in channel selection procedure, additionally do not take existing channel resource.And under default situations, each Mesh node is the fixed cycle to send beacon frame or probe acknowledgement frame with 100 milliseconds, and network is convergence automatically.In addition, after a Mesh node is initiated a channel selection, have only all nodes in this Mesh node place network all treat switching channels satisfied after, this Mesh node just can switch to be switched channel, like this after this Mesh node switches to be switched channel, other nodes in this Mesh node place network will can not reselected to be switched channel immediately, so just avoided the generation of network oscillation yet; In the present embodiment, all nodes in the Mesh node place network that the initiation channel is selected all agree to switch to be switched channel with certain channel alternative condition, if all nodes all agree to switch to be switched channel in this network, illustrate that then this to be switched channel has reached the channel alternative condition of all nodes in this network, for example: when this channel alternative condition when being channel strength greater than-65dbm, after channel is selected to finish and the channel switching is taken place, channel strength mean value will be greater than-65dbm in this network, thereby has improved the channel quality in the Mesh network.
The basic principle of the channel selecting method that the embodiment of the invention provides since a node, is diffused into whole network exactly gradually, and then gets back to this node, reaches the purpose of collecting the whole network information; This principle also can be used for based on distributed other application future.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 6 is the structural representation of an embodiment of channel selector of the present invention, and the channel selector in the present embodiment can be used as the mesh node entity device, and perhaps the part of mesh node entity device realizes the present invention's flow process embodiment illustrated in fig. 1.As shown in Figure 6, this channel selector can comprise: sending module 61, receiver module 62 and handover module 63.
Wherein, sending module 61 is used for selecting the announcement cell to the neighbor node transmitting channel of this Mesh node when the Mesh node need carry out the channel switching, and this channel selects announcement cell to carry the sign of the to be switched channel of this Mesh node selection; Particularly, sending module 61 can select this channel the announcement cell to be carried on the neighbor node that sends to this Mesh node in beacon frame or the probe acknowledgement frame.
In the present embodiment, this channel selects the announcement cell can comprise promoter's field, initiator node field, new channel field and mode field; Wherein, value that can new channel field is set to the sign of the to be switched channel that this Mesh node selects, for example: the sign that the numbering of this to be switched channel etc. can this to be switched channel of unique identification, to select to carry in announcement cell the sign of the to be switched channel that this Mesh node selects at this channel.
Receiver module 62 is used to receive the channel selection result of neighbor node; Particularly, receiver module 62 can receive beacon frame or the probe acknowledgement frame that neighbor node sends, and carries above-mentioned channel selection result in this beacon frame or the probe acknowledgement frame.
Handover module 63 is used for switching to above-mentioned to be switched channel when all nodes of this Mesh node place network are all agreed to switch to be switched channel.
In the above-mentioned channel selector, when the Mesh node need carry out the channel switching, sending module 61 was selected the announcement cell to the neighbor node transmitting channel of this Mesh node, and this channel selects announcement cell to carry the sign of the to be switched channel of this Mesh node selection; After all nodes in this Mesh node place network all agreed to switch to above-mentioned to be switched channel, handover module 63 switched to this to be switched channel.Thereby can realize that all nodes in the Mesh network all are operated on the reasonable channel of channel index, and then can improve the overall performance of Mesh network.
Fig. 7 is the structural representation of another embodiment of channel selector of the present invention, channel selector in the present embodiment can be used as the mesh node entity device, the perhaps part of mesh node entity device realizes the flow process of the present invention embodiment illustrated in figures 1 and 2.Compare with channel selector shown in Figure 6, difference is that channel selector shown in Figure 7 can also comprise:
Order module 64 is used for the channel to the channel alternative condition that meets the Mesh node, according to channel strength by carrying out prioritization to weak order by force;
Select module 65, be used for selecting the highest channel of priority as to be switched channel from order module 64 sorted channel queue.
Further, this channel selector can also comprise:
Removing module 66 is used for having at least one node to disagree with to switch to be switched channel when network, and when still having optional channel in this channel queue, should delete from above-mentioned channel queue by to be switched channel;
At this moment, select module 65 after removing module 66 these to be switched channels of deletion, from channel queue, to select priority time high channel to resend channel and to select the announcement cell.
Further, this channel selector can also comprise:
Cancellation module 67 is used for having at least one node to disagree with to switch to be switched channel when network, and when not had optional channel in this channel queue, the cancellation channel is selected announcement.
Further, this channel selector can also comprise: accept module 68, be used for receiving after channel that the neighbor node of Mesh node sends selects the announcement cell at receiver module 62, if this receiver module 62 only receives the channel selection announcement cell that a neighbor node of this Mesh node sends, then accept this channel and select the announcement cell; Perhaps, if receiver module 62 successively receives the channel selection announcement cell that at least two neighbor nodes of this Mesh node send, then accept the channel of the neighbor node transmission of MAC Address minimum and select the announcement cell; The channel that above-mentioned neighbor node sends selects the announcement cell to carry the sign of the to be switched channel of this neighbor node selection.
Further, this channel selector can also comprise:
Determination module 69 is used for accepting after channel that neighbor node sends selects the announcement cell accepting module 68, determines whether that according to the channel alternative condition of this Mesh node the channel of selecting neighbor node to send selects the to be switched channel that carries in the announcement cell;
Update module 610 is used for upgrading the neighbours' channel option table of this Mesh node and the channel selection mode of this Mesh node after the channel that determination module 69 determines whether to select neighbor node to send is selected to be switched channel that the announcement cell carries;
At this moment sending module 61, also are used for the channel selection result of Mesh node is sent to the neighbor node of this Mesh node.
Above-mentioned channel selector can realize that all nodes in the Mesh network all are operated on the reasonable channel of channel index, and then can improve the overall performance of Mesh network.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (13)

1. a channel selecting method is characterized in that, comprising:
When mesh network (Mesh) node need carry out the channel switching, described Mesh node was selected the announcement cell to the neighbor node transmitting channel of described Mesh node, and described channel selects the announcement cell to carry the sign of the to be switched channel of described Mesh node selection;
Described Mesh node receives the channel selection result of described neighbor node;
When all nodes in the network of described Mesh node place all agreed to switch to described to be switched channel, described Mesh node switched to described to be switched channel.
2. method according to claim 1 is characterized in that, described Mesh node also comprised before the neighbor node transmitting channel of described Mesh node is selected the announcement cell:
Described Mesh node is to the channel of the channel alternative condition that meets described Mesh node, according to channel strength by carrying out prioritization to weak order by force;
Described Mesh node selects the highest channel of priority as described to be switched channel from sorted channel queue.
3. method according to claim 2 is characterized in that, described Mesh node receives after the channel selection result of described neighbor node, also comprises:
In described network, there is at least one node to disagree with and switches to described to be switched channel, and when still having optional channel in the described channel queue, described Mesh node is deleted described to be switched channel from described channel queue, and selects priority time high channel to resend channel from described channel queue and select the announcement cell; Perhaps,
In described network, have at least one node to disagree with and switch to described to be switched channel, and when not had optional channel in the described channel queue, described Mesh node cancellation channel is selected announcement.
4. method according to claim 1 is characterized in that, also comprises:
Described Mesh node receives the channel selection announcement cell of the neighbor node transmission of described Mesh node, and the channel that described neighbor node sends selects to announce the sign that cell carries the to be switched channel of described neighbor node selection;
If described Mesh node only receives the channel selection announcement cell that a neighbor node of described Mesh node sends, then described Mesh node is accepted described channel and is selected the announcement cell; Perhaps, if described Mesh node successively receives the channel selection announcement cell that at least two neighbor nodes of described Mesh node send, then described Mesh node is accepted the channel of the neighbor node transmission of Media Access Control Address minimum and is selected the announcement cell.
5. method according to claim 4 is characterized in that, also comprises:
Described Mesh node is accepted the channel that described neighbor node sends and is selected after the announcement cell, determines whether that according to the channel alternative condition of described Mesh node the channel of selecting described neighbor node to send selects the to be switched channel that carries in the announcement cell;
The neighbours' channel option table of the described Mesh node of described Mesh node updates and the channel selection mode of described Mesh node, and the channel selection result of described Mesh node is sent to the neighbor node of described Mesh node.
6. according to any described method of claim 1-5, it is characterized in that described channel selects the announcement cell to comprise promoter's field, initiator node field, new channel field and mode field;
The sign that described channel selects the announcement cell to carry the to be switched channel of described Mesh node selection comprises:
The value of described new channel field is made as the sign of the to be switched channel of described Mesh node selection.
7. a channel selector is characterized in that, comprising:
Sending module is used for selecting the announcement cell to the neighbor node transmitting channel of described Mesh node when mesh network (Mesh) node need carry out the channel switching, and described channel selects the announcement cell to carry the sign of the to be switched channel of described Mesh node selection;
Receiver module is used to receive the channel selection result of described neighbor node;
Handover module is used for switching to described to be switched channel when all nodes of described Mesh node place network all agree to switch to described to be switched channel.
8. device according to claim 7 is characterized in that, also comprises:
Order module is used for the channel to the channel alternative condition that meets described Mesh node, according to channel strength by carrying out prioritization to weak order by force;
Select module, be used for selecting the highest channel of priority as described to be switched channel from the sorted channel queue of described order module.
9. device according to claim 8 is characterized in that, also comprises:
Removing module is used for having at least one node to disagree with to switch to described to be switched channel when described network, and when still having optional channel in the described channel queue, described to be switched channel is deleted from described channel queue;
Described selection module also is used for after described removing module is deleted described to be switched channel, selects priority time high channel to resend channel from described channel queue and selects the announcement cell.
10. device according to claim 8 is characterized in that, also comprises:
The cancellation module is used for having at least one node to disagree with to switch to described to be switched channel when described network, and when not had optional channel in the described channel queue, the cancellation channel is selected announcement.
11. device according to claim 7 is characterized in that, also comprises:
Accept module, be used for receiving after channel that the neighbor node of described Mesh node sends selects the announcement cell at described receiver module, if described receiver module only receives the channel selection announcement cell that a neighbor node of described Mesh node sends, then accept described channel and select the announcement cell; Perhaps, if described receiver module successively receives the channel selection announcement cell that at least two neighbor nodes of described Mesh node send, then accept the channel of the neighbor node transmission of Media Access Control Address minimum and select the announcement cell; The channel that described neighbor node sends selects the announcement cell to carry the sign of the to be switched channel of described neighbor node selection.
12. device according to claim 11 is characterized in that, also comprises:
Determination module, be used for accepting after channel that described neighbor node sends selects the announcement cell, determine whether that according to the channel alternative condition of described Mesh node the channel of selecting described neighbor node to send selects the to be switched channel that carries in the announcement cell in the described module of accepting;
Update module is used for upgrading the neighbours' channel option table of described Mesh node and the channel selection mode of described Mesh node after the channel that described determination module determines whether to select described neighbor node to send is selected to be switched channel that the announcement cell carries;
Described sending module also is used for the channel selection result of described Mesh node is sent to the neighbor node of described Mesh node.
13. a mesh node entity device is characterized in that, comprises any described channel selector as claim 7-12.
CN 201010592321 2010-12-08 2010-12-08 Channel selection method, channel selection device and mesh node physical device Active CN102026306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010592321 CN102026306B (en) 2010-12-08 2010-12-08 Channel selection method, channel selection device and mesh node physical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010592321 CN102026306B (en) 2010-12-08 2010-12-08 Channel selection method, channel selection device and mesh node physical device

Publications (2)

Publication Number Publication Date
CN102026306A true CN102026306A (en) 2011-04-20
CN102026306B CN102026306B (en) 2013-07-24

Family

ID=43867005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010592321 Active CN102026306B (en) 2010-12-08 2010-12-08 Channel selection method, channel selection device and mesh node physical device

Country Status (1)

Country Link
CN (1) CN102026306B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368857A (en) * 2011-11-03 2012-03-07 广州杰赛科技股份有限公司 Switching method in wireless Mesh network domain
CN104640147A (en) * 2015-01-28 2015-05-20 杭州华三通信技术有限公司 Selection method and equipment of working channel
CN105282829A (en) * 2015-11-04 2016-01-27 广东欧珀移动通信有限公司 Network connecting method and wireless speaker
CN106162684A (en) * 2015-03-31 2016-11-23 华为技术有限公司 Based on ZigBee-network data transmission method, Apparatus and system
CN106879039A (en) * 2017-02-28 2017-06-20 新华三技术有限公司 A kind of channel switching method and device
CN108616924A (en) * 2018-03-16 2018-10-02 西安电子科技大学 Chunk data distribution method based on priority switching at runtime in a kind of wireless network
CN111757364A (en) * 2019-09-20 2020-10-09 广州极飞科技有限公司 Network switching method, communication system and related device
EP4087320A4 (en) * 2019-12-31 2023-07-05 Hangzhou Ezviz Software Co., Ltd. Method for channel switching in wireless mesh network, and wireless device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159207A1 (en) * 2006-12-28 2008-07-03 Motorola, Inc. Method and apparatus for cognitive spectrum assignment for mesh networks
CN101621836A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Method for channel switching in Mesh network, device and mesh network
US20100027478A1 (en) * 2008-07-31 2010-02-04 Motorola, Inc. Method for channel selection in a multi-hop wireless mesh network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159207A1 (en) * 2006-12-28 2008-07-03 Motorola, Inc. Method and apparatus for cognitive spectrum assignment for mesh networks
CN101621836A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Method for channel switching in Mesh network, device and mesh network
US20100027478A1 (en) * 2008-07-31 2010-02-04 Motorola, Inc. Method for channel selection in a multi-hop wireless mesh network

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368857B (en) * 2011-11-03 2012-12-19 广州杰赛科技股份有限公司 Switching method in wireless Mesh network domain
CN102368857A (en) * 2011-11-03 2012-03-07 广州杰赛科技股份有限公司 Switching method in wireless Mesh network domain
CN104640147B (en) * 2015-01-28 2019-01-22 新华三技术有限公司 A kind of selection method and equipment of working channel
CN104640147A (en) * 2015-01-28 2015-05-20 杭州华三通信技术有限公司 Selection method and equipment of working channel
CN106162684A (en) * 2015-03-31 2016-11-23 华为技术有限公司 Based on ZigBee-network data transmission method, Apparatus and system
CN106162684B (en) * 2015-03-31 2019-11-12 华为技术有限公司 The method, apparatus and system of data transmission based on ZigBee-network
CN105282829A (en) * 2015-11-04 2016-01-27 广东欧珀移动通信有限公司 Network connecting method and wireless speaker
CN105282829B (en) * 2015-11-04 2018-12-11 广东欧珀移动通信有限公司 A kind of method and wireless sound box connecting network
CN106879039A (en) * 2017-02-28 2017-06-20 新华三技术有限公司 A kind of channel switching method and device
CN108616924A (en) * 2018-03-16 2018-10-02 西安电子科技大学 Chunk data distribution method based on priority switching at runtime in a kind of wireless network
CN108616924B (en) * 2018-03-16 2022-02-01 西安电子科技大学 Large data distribution method based on priority dynamic switching in wireless network
CN111757364A (en) * 2019-09-20 2020-10-09 广州极飞科技有限公司 Network switching method, communication system and related device
CN111757364B (en) * 2019-09-20 2023-10-10 广州极飞科技股份有限公司 Network switching method, communication system and related device
EP4087320A4 (en) * 2019-12-31 2023-07-05 Hangzhou Ezviz Software Co., Ltd. Method for channel switching in wireless mesh network, and wireless device

Also Published As

Publication number Publication date
CN102026306B (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN102026306B (en) Channel selection method, channel selection device and mesh node physical device
CN101795465B (en) Method and equipment for group management of APs
US6023622A (en) Wireless communication system with dynamic channel allocation
CN108141398B (en) Intelligent channel selection for autonomous group initiators
JP2004511980A (en) Service priority in multi-cell networks
JPH0723042A (en) Method and equipment for maintaining of connection of mode in radio local-area network
CN102077524A (en) Method, base station and terminal for sending packet data
CN1984020A (en) Method and device for transmitting data
CN106686607B (en) Communication network, service access method and related device
US20100302994A1 (en) Channel switching in a communication network
CN101594693B (en) Access method for access point and access controller
US20070297362A1 (en) Radio communication system, system control unit, base station, communication control method, and program
CN101208908A (en) Access point and method for delivering information on media independent handover protocol
US20070104176A1 (en) System and method for pilot signal utilization in an environment using dynamic frequency assignment
CN113765540A (en) Ad hoc network communication method based on autonomous frequency hopping of unmanned aerial vehicle, unmanned aerial vehicle and medium
US7366135B2 (en) Radio channel assignment method and recording medium of program for controlling radio node
CN101959270A (en) Core network node switching method, equipment and system for user equipment (UE)
CN102611502B (en) Looped network collocation method and device
JP2009049545A (en) Communication system
CN100450079C (en) Radio mesh network data process method and radio mesh network
CN101420732B (en) Soft switching method and system for cross base station controller, target base station controller
CN112637927A (en) Multi-user multi-mode D2D communication resource allocation method based on energy efficiency
Salhani et al. Load balancing algorithm within the small cells of heterogeneous UDN networks: Mathematical proofs
CN107787019B (en) Data transmission method, system and cell base station
WO1997033394A9 (en) Wireless communication system with dynamic channel allocation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant