Академический Документы
Профессиональный Документы
Культура Документы
B u il d i n g 1
C o n d os
T re e
T re e
Tr e e
O u td o o r m a l l
T re e
House
T r ee
T re e
S ch o o l
T re e
B u il d i n g 1
T re e
T re e
T re e
T r ee
Condos
H o s p i ta l
S k y s c ra p e r
(a)
(b)
Mathematical Model
A WMN is represented by a graph G(N,L), where N is the
set of nodes and L is the set of links. Let n, and l, be the
wireless node and wireless link IDs. Other parameters are
defined as follows
En : Set of links connected to node n.
Cs : Set of radio channels in the available spectrum.
Un : Set of unused radio channels in node n.
Rl : Set of radio channels allocated to link l.
cl : Single channel capacity on link l.
rl : Reserved bandwidth on link l.
(1)
reserved bandwidth
SDRn ; otherwise
n N
Minimize U n
(2)
n N
Ri I R j = ... i, j same E n ;
n N
Rl > 0 ..... l L
(3)
IV PROPOSED SOLUTION
(4)
(5)
1. CR
1. CR
2. +ve ack
2. -ve ack.
with no
available
channels
3. +ve/-ve
confirm.
(a)
3. RR
1. CR
4. -ve ack.
for RR
2. -ve ack.
with some
available
channels
(b)
(c)
3. RR
1. CR
4. -ve ack.
for RR
2. -ve ack.
with some
available
channels
5. -ve/+ve
confirm.
for RR
6. +ve
confirm. for
-ve ack.
(d)
Fig. 2 Flow of channel request (CR) and its responses. (a),(b),(c) and (d) represent different scenarios.
Ux and all the channels on links connected to x (link A in
condition 2) which satisfy condition 2.
Fig. 2 shows four different response scenarios. In scenario
2(a), node y sends a positive acknowledgement that it has an
available channel for xy that matches with one of the
requested channels in CR. Node x then sends a positive
confirmation to y to confirm allocation of the channel on the
link. In this case node x and y also removes the channels from
other links if it is assigned to some other links (not shown in
figure for simplicity). However, it is possible that node x has
received a CR from a node other than y and has already sent a
positive acknowledgment for the same channel. In this case,
node x sends a negative confirmation to y. Scenario 2(b)
shows a case with negative acknowledgment of CR. It is also
possible that node y does not have an available channel that
matches a channel in CR, but it has some other available
channels for xy. In such case, node y sends a negative
acknowledgment with the list of these channels as shown in
2(c).
When node x receives this kind of negative
acknowledgment then it sends a replacement request (RR) to
its neighboring nodes. These are the nodes, which are
connected by links having at least one channel common with
those listed in the negative acknowledgment. The RR
message contains the list of channels in the negative
acknowledgment, and list of channels in CR. The purpose of
RR is to replace a channel in a link xz that matches the
available channel in y with an available channel in x. If z does
not accept RR then it sends a negative acknowledgment for
RR. However, if z accepts the RR based on channels in Uz, or
on condition 2 for link xy as shown in 2(d), then it sends a
positive acknowledgment. After receiving positive
acknowledgment for RR, node x checks whether it has
already received another positive acknowledgement from
some other node and replied to it. If not, x checks for its
available channels again before sending a positive
confirmation to z. After sending a positive confirmation to z,
node x also sends a positive confirmation to y to allocate the
channel that is replaced from link xz to link xy. After
receiving positive confirmations from x both y and z removes
the corresponding channels from other links, if needed. If x
finds that it has already accepted another positive
acknowledgment then it sends a negative confirmation to z. In
such a case, x does not send any message to y.
Message Complexity
The message complexity of the proposed algorithm is
defined as the number of messages sent to allocate single
channel. This can be calculated with the help of Fig.2. From
Fig. 2(a) it is clear that best-case message complexity is 3
messages. The worst case scenario can be explained with the
help of Fig. 2 (c) and (d). If node x has |Ux| > 0; to allocate
channels in Ux, x will send CR message (CRM) on every link
in Ex, one by one. In the worst-case scenario, all CRMs,
except the last one, will be unsuccessful and will result in
2,3,9
2,3
8,9
0,7,6
0,6,7,8
1,6,7
1,3
10
1,3,9
13
0,7,6
2,4,8
6
2,4,5
1,2,4
12
2.4.5
0,1,4
5,9
2,7,6
3,5,8,9
1,5,6,7
0,3,8,9
8
4,8,0
11
14
1,3,8,9
0,1,8,4
5,7,6
0,5,7,6
Algorithm Scalability
The proposed algorithm is highly scalable because all the
decisions are made locally and to allocate a single channel to
a link connected to a node n, messages are passed at most to
the extended neighborhood of n. Extended neighborhood of n
are the nodes adjacent to the nodes directly connected to node
n. These nodes will receive the remove channel messages.
Also no node needs network wide information to make a
decision and only depends on local information; hence the
algorithm is highly scalable.
15
7
(200,11,0.757)
10
(100,9,0.463)
(100,9,0.463)
11
(200,11,0.757)
13
14
15
(200,13,0.641)
12
VI SIMULATION RESULTS
In order to check our algorithm, we have created a discrete
time simulator. It simulates the message passing between
nodes to simulate the distributed nature of the algorithm. We
have tested our algorithm for a 16 node, lattice type network,
assuming that the number of channels in the spectrum is 10.
In the beginning the network was setup without any reserved
bandwidth. In this scenario the objective of the algorithm is
(200,12,0.694) (200,11,0.757)
(80,8,0.417)
6
(100,8,0.521)
(100,9,0.463)
(80,8,0.417)
(80,8,0.417)
(100,8,0.521)
(200,12,0.694)
8
(100,8,0.521)
(100,8,0.521)
(200,12,0.694)
4
(80,8,0.417)
(100,9,0.463)
(200,12,0.694)
(200,11,0.757) (200,12,0.694)
(200,12,0.694)
0
(200,12,0.694)
to
minimize
SDR
n N
and
. The solution
n N
LEGEND
(reserved bandwidth, number of channels, utilization)
(80,6,0.55)
6
(200,13,0.641)
(100,8,0.521)
13
10
(100,8,0.521)
14
11
(200,12,0.694)
15
(200,13,0.641)
(100,8,0.521)
(100,7,0.59)
9
(80,9,0.37)
(80,8,0.417)
12
AVG(
l)
MAX(
l)
STD(
l)
SD
0.589
0.757
0.131
0.583
0.694
0.098
(200,13,0.641)
n N
(200,13,0.641) (200,12,0.694)
(100,8,0.521)
(200,12,0.694)
8
(100,8,0.521)
(100,8,0.521)
(200,13,0.641)
4
(80,8,0.417)
(100,8,0.521)
(200,12,0.694)
(200,13,0.641) (200,12,0.694)
(200,12,0.694)
0
VII CONCLUSION
, average
n N
[1]
[2]
Scalability Test
One way to check the scalability of the proposed solution
is to show that average number of messages sent by a node
for initial channel assignment is independent of network size.
For this purpose we have calculated the average number of
messages sent by a node for initial channel allocation. It has
been done for 33 available channels in the spectrum and 10
available channels in the spectrum. The results for this test
are shown in Table 2. It is clear from this table that algorithm
is scalable and average number of messages per node does
not depend upon the size of the network. However, these
depend upon the number of channels available in the
spectrum that is logical that it needs more messages to
allocate more channels. Both networks are of lattice type
networks.
[3]
[4]
[5]
[6]