A kind of fast network changing method based on node cluster
Technical field
The invention belongs to wireless communication technology field, be specifically related to a kind of fast network changing method based on node cluster.
Background technology
At present, public access wireless LAN based on IEEE 802.11 (Wireless Local Area Network,
WLAN) system is widely deployed in focus place, such as airport, campus, conference centre etc..Compared to cellular system, WLAN is permissible
The network service of two-forty is provided.Particularly with the millimetre-wave attenuator of high band, as the key technology of the following 5G communications field,
The other message transmission rate of Gb can be realized.But, high band fading characteristic is obvious, a WAP
The limited coverage area of (Access Point, AP), disposes more crypto set for hot spot region AP.Consider node mobility with
And the time variation of network performance, node needs to switch between different AP.
But, node is not the preparation that abundance is carried out in the switching being likely to occur.The only current quality connected becomes not
Time acceptable, node just then tries to connect other AP.Now, node cannot keep proper communication with former AP.
According to studying discovery in the past, handoff procedure typically requires consuming hundreds of millisecond time of the most several seconds, and wherein sweep phase accounts for
The time of whole handoff procedure 90%.Obviously, switching delay directly influences communication quality (the Quality of of user
Service, QoS).Especially for the business that qos requirement is high, such as VoIP, it is delayed over 50 milliseconds and may result in call and fall
Line.
In order to provide more effective handover mechanism for IEEE 802.11 WLAN, researchers propose multiple
Scheme.Modal strategy mainly shortens sweep time, such as by the way of prescan, selective scanning.And prescan
Need to take the data transmission period of node, cause delay or the interruption of communication.Meanwhile, although selective scanning shortens whole
The time of switching, but it is unsound that the neighbouring network information can be caused to collect, and causes network to select unreasonable.
Summary of the invention
Goal of the invention: in order to reduce node because of the information transmission delay caused by network switching, the present invention proposes a kind of base
Fast network changing method in node cluster, it is not necessary to node performs scanning process when switching, can reach to be switched fast
Purpose.
Technical scheme: in order to realize the purpose of foregoing invention, the present invention proposes a kind of fast network based on node cluster and cuts
Change method, comprise the steps:
In the stage one: multiple nodes of close position in same network are established as one bunch, specifically include following steps:
Step 1: the operations such as cluster head neck node is scanned through, certification, association add certain network;
Step 2: cluster head neck node sets up node cluster to the AP request of association;
Step 3:AP receives solicited message and responds, if showing to allow to set up node cluster, then in the information of AP response
Cluster head neck node broadcasts bunch advertised information with low-power, otherwise, asks unsuccessfully, the foundation of end node bunch;
Step 4: bunch advertised information of week mid-side node reception broadcast, decides whether to add this node in conjunction with self-condition
Bunch, to add this bunch, then after competing communication channel, transmit into a bunch solicited message to cluster head neck node, otherwise, do not respond;
Step 5: whether cluster head neck node receives request into clusters information and responds, characterize and allow node to add this bunch.
Stage two: for the network information near representative collection and collection information is broadcast to bunch member's joint with cluster head neck node
Point, cluster head neck node broadcasts surrounding network information has a two schemes, a kind of network information being periodically to broadcast periphery, another
Planting is when the communication quality of node cluster place network drops to certain threshold value, broadcasts surrounding network information, particularly as follows:
Scheme 1: when cluster head neck node periodically broadcasts the network information of periphery, each cycle includes broadcast phase and net
In the network information search stage, at broadcast phase, the surrounding network information of collection is sent by cluster head neck node;Search in the network information
In the collection stage, cluster head neck node collects the network information of periphery in the way of drive sweep or active probe.
Scheme 2: when the communication quality of node cluster place network drops to certain threshold value, cluster head neck node broadcasts periphery net
Network information:
Step 1: two performances Evaluation threshold p1, p2 of network, wherein p1 > p2 associated by given node cluster;
Step 2: when network quality p of cluster head neck this community of nodal test is better than p1, i.e. during p > p1, cluster head neck node is not examined
Network near surveying;
Step 3: when network quality p of cluster head neck nodal test to this community meets p2 < p≤p1, cluster head neck node is opened
Begin to collect the neighbouring network information;
Step 4: as the network quality p≤p2 of cluster head neck nodal test to this community, cluster head neck node sends a bunch notice
Information, the network information of broadcast periphery.
Stage three: when bunch member node communications status is the best, the periphery that bunch member node provides according to cluster head neck node
The network information selects suitable network to switch over.
Beneficial effect: the fast network changing method based on node cluster that the present invention proposes, utilizes the cluster head in node cluster
Neck node is collected surrounding network information and is broadcast to a bunch member node, and bunch member node is led near node offer according to cluster head
The network information carries out network switching.Compared with prior art, the scheme that the present invention provides need not node and holds when network switches
Row channel scan procedure, substantially reduces the switching delay time, it is ensured that the communication quality of node.
Accompanying drawing explanation
Fig. 1 is the basic type network diagram that the present invention has node cluster;
Fig. 2 is embodiment of the present invention interior joint bunch Establishing process figure;
Fig. 3 is that embodiment of the present invention interior joint bunch sets up claim frame function field information;
Fig. 4 is that embodiment of the present invention interior joint bunch sets up mandate frame function field information;
Fig. 5 is embodiment of the present invention interior joint bunch announcement frame function field information;
Fig. 6 is request into clusters frame function field information in the embodiment of the present invention;
Fig. 7 is to enter a bunch response frame function field information in the embodiment of the present invention;
Fig. 8 is cluster head neck node periodic broadcast schematic diagram in the present invention program one.
Detailed description of the invention
Be further elucidated with the present invention below in conjunction with specific embodiment, it should be understood that these embodiments be merely to illustrate the present invention and
It is not used in restriction the scope of the present invention.After having read the present invention, those skilled in the art's shape various of equal value to the present invention
The amendment of formula all falls within the application claims limited range.
The fast network changing method based on node cluster that the present invention proposes, by close position multiple in same network
Node is established as one bunch, have the basic type network of node cluster as it is shown in figure 1, with cluster head neck node for representative collect near
The network information, the network environment residing for same node cluster is similar, and therefore bunch member node can carry according to cluster head neck node
The information of confession carries out network selection, specifically includes following process:
Stage one: multiple nodes of close position in same network are established as one bunch, idiographic flow such as Fig. 2 institute
Show.
Step 1: the operations such as cluster head neck node is scanned through, certification, association add certain network;
Step 2: before setting up node cluster, cluster head neck node is first to the AP request of association, it is thus achieved that could set up after mandate
Node cluster, is specifically divided into two steps:
Step 2.1: cluster head neck node sets up node cluster to the AP request of association, and sending node bunch sets up claim frame, this frame
The function field information comprised is as shown in Figure 3.Wherein, AID son field is the associated identifiers of cluster head neck node, ability information
Field comprises the ability information of cluster head neck node, and node cluster maximum duration son field shows that the longest of the node cluster wanted to set up is held
The continuous time.
Step 2.2:AP receives after node cluster sets up claim frame, responds node cluster and sets up and authorize frame, its function field
Form is as shown in Figure 4.Wherein, conditional code son field is used for showing whether AP allows cluster head neck node to set up node cluster, if AP permits
Permitted, then a unique node cluster ID will be distributed.
After step 3:AP authorizes, cluster head neck node is with low-power broadcast node bunch announcement frame, the function field lattice of this frame
Formula is as shown in Figure 5.Wherein, node cluster residual time length represents this node cluster maintainable remaining time, network priority information word
Section includes preferable one or more network informations that cluster head neck node is detected so far, each network information son field
Include the information such as priority sequence number, BSSID, frequency range and the channel number of network, speed, load, SNR.
Step 4: all mid-side nodes receive the node cluster announcement frame of cluster head neck node broadcasts, can determine in conjunction with self-condition
Whether to add this node cluster, if node to add this bunch, then transmit into a bunch claim frame with competitive way, its function field comprises
Information as shown in Figure 6.Wherein, AID son field is the associated identifiers of requesting node, and ability information son field comprises request joint
The ability information of point.
Step 5: after cluster head neck node receives request into clusters frame, respond into a bunch response frame, enter the function word of bunch response frame
Paragraph format is as shown in Figure 7.Wherein, conditional code son field shows whether cluster head neck node allows requesting node to enter bunch.
Stage two: for the network information near representative collection and collection information is broadcast to bunch member's joint with cluster head neck node
Point, cluster head neck node broadcasts surrounding network information has a two schemes, a kind of network information being periodically to broadcast periphery, another
Planting is when the communication quality of node cluster place network drops to certain threshold value, broadcasts surrounding network information, particularly as follows:
Scheme 1: cluster head neck node periodically broadcasts the network information of periphery, as shown in Figure 8, the broadcast of cluster head neck node
Cycle is T, includes that cluster head neck node broadcasts stage and the network information collect the stage in each cycle T.Node broadcasts is led in cluster head
In the stage, the surrounding network information collected sends;Collect the stage in the network information, cluster head neck node with drive sweep or
The mode of active probe collects the network information of periphery.
Scheme 2: when the communication quality of node cluster place network drops to certain threshold value, cluster head neck node broadcasts periphery net
Network information, particularly as follows:
Step 1: two performance Evaluation threshold p1, p2 (p1 > p2) of network associated by given node cluster;
Step 2: when network quality p of cluster head neck this community of nodal test is better than p1 (that is, p > p1), cluster head neck node is not
Network near detection;
Step 3: when network quality p of cluster head neck nodal test to this community meets p2 < p≤p1, cluster head neck node is opened
Begin to collect the neighbouring network information;
Step 4: as the network quality p≤p2 of cluster head neck nodal test to this community, cluster head neck node sending node bunch
Announcement frame, the network information of broadcast periphery.
Stage three: when bunch member node communications status is the best, the periphery that bunch member node provides according to cluster head neck node
The network information carries out network switching.