Professional Documents
Culture Documents
AbstractUsing the double-ruling technique, many data replication and retrieval schemes achieve low data retrieval latency.
However, none of these schemes are location-free schemes in
mobile ad hoc networks (MANETs). In this paper, we propose a
zero-knowledge double-ruling-based location-free data replication
and retrieval scheme (MobiMark) in MANETs. Our primary idea
is to label the grid-like structured landmarks in the network using
the landmark-labeling, dynamically designate the node that is
nearest to a landmark as the landmark broker, and transmit
the consumers interests (or producers data) to all horizontal
(or vertical) landmark brokers using the double-ruling technique.
Simulations show that MobiMark achieves good performance in
terms of data retrieval rate and data retrieval latency.
I. I NTRODUCTION
In a data replication and retrieval scheme, which is also
known as an information brokerage system or a data publish
and subscribe mechanism, a consumer submits its interests
to brokers and a producer distributes its data to brokers.
Subsequently, the broker matches the consumers interests and
the producers data and delivers the matched data to the
corresponding consumer. Note that the consumer does not
need to know the identity or location of the producer. A wide
range of applications exist for data replication and retrieval
schemes, such as system monitoring and management [1],
news distribution [2], location service [3], and information
brokerage [4][6]. In this paper, we develop a data replication
and retrieval scheme in mobile ad hoc networks (MANETs).
In MANETs, several location-free data replication and retrieval schemes are studied.1 The schemes can be further
divided in two categories: knowledge-based schemes [10][12]
and zero-knowledge based schemes [13][16]. Knowledgebased schemes guide the message forwarding based on the
collected historical contact information, such as the contact
probability and social relationship, and can be employed only
under the circumstance that the contact probability among
nodes changes very slowly with time (otherwise, the contact
situation in the future cannot be predicted accurately based
1 Although a node could know the geographic location information by being
equipped with a Global Positioning System (GPS) receiver nowadays, there are
still many limitations on GPS [7]. For example, there are several applications
in indoor environments, where the GPS signals are unavailable [8]. In addition,
in the battleeld, the GPS signals cannot be normal amplied and detected due
to the military jamming signals [9].
(a)
(b)
Fig. 1. Snapshots of (a) DRIP and (b) MobiMark with 25 brokers, 5 copies
each of the producers data and consumers interests. Nodes in the same broker
region are shown in a color; nodes circumscribed by black squares denote
brokers; nodes with crosses (`) and diagonal crosses () denote the brokers
with consumers interests and producers data, respectively; and, nodes with
eight-point compass rose () denote the brokers with both consumers interests
and producers data.
AND
P ROBLEM
(a)
(b)
(c)
Fig. 2. The landmarks for (a) l 0, (b) l 1, and (c) l 2, where each
landmark shows a name in the parentheses.
with the minimum maximum hop distances from the p0, 0qand p1, 0q-landmark brokers, the p1, 0q- and p1, 1q-landmark
brokers, the p1, 1q- and p0, 1q-landmark brokers, and the p0, 1qand p0, 0q-landmark brokers can be designated the p 12 , 0q-,
p1, 21 q-, p 12 , 1q-, and p0, 12 q-landmark brokers, respectively. In
n
summary, the p m
2 , 2 q-landmark brokers can be designated after
the p0, 0q-, p1, 1q-, p1, 0q-, and p0, 1q-landmark brokers are
identied, where 0 m, n 2, and m or n is equal to
n
1. Similarly, the p m
4 , 4 q-landmark brokers can be designated
m1 n1
after the p 2 , 2 q-landmark brokers are identied, where 0
m1 , n1 2, 0 m, n 4, and m or n is prime to 4. In
conclusion, given l P Z` Y t0u (the architecture level), for all
n
1 i l, the p m
2i , 2i q-landmark brokers can be designated
m1
n1
after the p 2i1 , 2i1 q-landmark brokers are identied, where
0 m1 , n1 2i1 , 0 m, n 2i , and m or n is prime
to 2i . See Fig. 2 for the illustration. Therefore, if we can
properly elect four nodes to become the p0, 0q-, p1, 1q-, p1, 0q-,
and p0, 1q-landmark brokers, then the structured landmarks can
be established by those four landmark brokers. Note that the
landmark brokers are not dened by geographical locations in
a rectangle place. The coordinates here are the names that are
used to dene the landmark brokers and their relationships. The
process of nding the rst four landmark brokers is described
in Section IV-A.
IV. M OBI M ARK S YSTEM A RCHITECTURE
The MobiMark system architecture consisting of structured
landmark brokers is constructed and maintained in a threen
phase process. Given the architecture level l, the p m
2l , 2l ql
landmark brokers, where 0 m, n 2 , are elected and
maintained in a distributed manner in rst two phases. See Fig.
2 for examples of l 0, 1, 2. In the rst phase, the brokers
of p0, 0q-, p1, 0q-, p0, 1q-, and p1, 1q-landmarks, called polar
landmarks, are elected and maintained. Each node evaluates
the hop distances from the brokers of all polar landmarks, as
described in Section IV-A. In the second phase, if necessary,
the brokers of other landmarks, called ordinary landmarks, are
elected and maintained. Each node evaluates the hop distances
from all ordinary landmark brokers, as described in Section
IV-B. After the polar/ordinary landmark brokers are elected,
the landmark regions are established. The data integrity in
landmark brokers is ensured in the third phase, as described
in Section IV-C.
Require: A node U and the hop distance Dv from the leader node
of each node v P tU, U s 2-hop neighborsu
11. if U = arg minvPtU,U s 2-hop neighborsu tDv u then
12.
generate a p0, 0q Hop message M containing U s ID, a hop
distance from the leader node set to DU , and a hop counter
set to 0;
13. end if
broker.
B. Election of Ordinary Landmark Brokers
n
i
The p m
2i , 2i q-landmark broker, where m or n is prime to 2 ,
is the node with the minimum maximum hop distance from the
n1
m`1 n`1
m`1 n1
m1 n`1
p m1
2i , 2i q-, p 2i , 2i q-, p 2i , 2i q-, and p 2i , 2i qlandmark brokers, if both m and n are odd; otherwise, if
n
m is odd, the p m
2i , 2i q-landmark broker is the node with
n
the minimum maximum hop distance from the p m1
2i , 2i qm`1 n
and p 2i , 2i q-landmark brokers; otherwise, if n is odd, the
p 2mi , 2ni q-landmark broker is the node with the minimum maxin1
m n`1
mum hop distance from the p m
2i , 2i q- and p 2i , 2i q-landmark
m n
brokers. The p 2i , 2i q-landmark brokers, where m or n is prime
to 2i , for i 1 to l are elected in order. Each ordinary landmark
broker is elected and maintained the same way as the p0, 0qlandmark broker. Each node evaluates the hop distance from
each ordinary landmark broker the same way the hop distance
from the p0, 0q-landmark broker is evaluated.
y v. For example, the p 24 , 44 q-landmark denotes the p 21 , 22 qlandmark. Note that the messages containing the consumers
interests are delivered along the eastern and western directions,
and the messages containing the producers data are delivered
along the southern and northern directions.
A. Submission of Consumers Interests
If a consumer in the px, yq-landmark region is not the px, yqlandmark broker, the consumer generates a My Broker Appr
message containing the consumers subscription information
including the consumers interests, ID, and landmark name
equal to px, yq. This message is forwarded from one node
to another node with a smaller hop distance from the px, yqlandmark broker by 1 until the px, yq-landmark broker is
reached. Algorithm 3 describes how a consumer in the px, yqlandmark region submits its interests to all pu, vq-landmark
brokers with v y in a distributed manner. If a consumer, c,
is this landmark broker, or this landmark broker receives this
message generated by a consumer, c, in the px, yq-landmark
region, then an East Appr message and a West Appr message
are generated. The East Appr message, which contains the
consumers subscription information and the name of the target
landmark initially set to px ` 21l , yq, traverses the px ` 21l , yq-,
px` 22l , yq-, , p1, yq-landmark brokers one by one (lines 18
19, 2829, 32), where l denotes the architecture level dened
in Section II. The West Appr message, which contains the
125
100
75
50
25
0
0.004
0.02
0.04
0.06
Node Speed (units/sec)
(a)
Fig. 3.
0.08
100
90
90
80
80
70
60
50
40
30
MobiMark (l=0)
MobiMark (l=1)
MobiMark (l=2)
20
10
0
0.004
0.02
0.04
0.06
Node Speed (units/sec)
100
70
60
50
40
30
MobiMark (l=0)
MobiMark (l=1)
MobiMark (l=2)
20
10
0.08
(b)
150
100
MobiMark (l=0)
MobiMark (l=1)
MobiMark (l=2)
175
200
0
0.004
0.02
0.04
0.06
Node Speed (units/sec)
(c)
0.08
MobiMark (l=0)
MobiMark (l=1)
MobiMark (l=2)
10
0.1
0.004
0.02
0.04
0.06
Node Speed (units/sec)
0.08
(d)
Impact of the node speed on construction time, data replication and retrieval message overhead, data retrieval rate, and data retrieval latency.
0.04, 0.06, and 0.08 units/sec, which are equal to 1, 5, 10, 15,
and 20 m/sec, respectively, for a typical nodes transmission
range (250 m). To study the impact of the nodes locality, the
maximum permitted distance deviations of a node centered at
the reference point of the node in RPGM, called node moving
radii, were set to 5, 10, 15, 20, and 25 units, respectively.
(In our simulations, the maximum distance between any two
nodes in the network with 500 nodes is approximately equal
to 27 units.) The simulation execution time for each network
was 1,500 seconds, where the rst 1,000 seconds were used to
avoid the initialization problem of the mobility model [21]. For
each network, data were generated by a Poisson process, with
the intensity of 0.8 during 1,000 to 1,100 seconds and expiry at
1,500 seconds. The node that produces the generated data (the
producer) was randomly chosen from the nodes in the network.
The probability of each node interested in each generated data
was 5%. Each consumer submitted its interests right after the
interested data was generated. Time to lives (TTLs) of each
packet were set to 20, 40, 60, 80, and 100, respectively. Each
node could transmit 20 messages per second. Nodes exchanged
Hello messages each second. The empirical data were obtained
by averaging the data of 10 networks.
We evaluate the performance of MobiMark architecture,
in terms of construction time, data replication and retrieval
message overhead, data retrieval rate, data retrieval latency, and
extra broadcast overhead in Section VI-A, and the performance
of MobiMark, SAW [11], and DRIP [16], in terms of data
retrieval rate and data retrieval latency, in Section VI-B. In
SAW, each producer has a xed number of copies per data. The
node that has more than one data copy delivers half of the data
copies to an encountered node and each consumer retrieves the
producers data from an encountered node that has the data. The
construction time is the time required to construct the MobiMark system architecture. It denotes the time elapsed between
when the leader node generated the Leader Hop message and
when each node received one message from each broker. The
data replication and retrieval message overhead denotes the
total number of transmissions and broadcasts of messages
containing the consumers interests or the producers data for
each producer-consumer pair. The data retrieval rate denotes the
ratio of the successful to total submissions for interests retrieval
made by consumers. The data retrieval latency denotes the
time elapsed between the submission for interests retrieval and
receipt of matched data by the consumer. The extra broadcast
100
120
90
MobiMark (l=0)
MobiMark (l=1)
MobiMark (l=2)
60
30
15
12
9
6
MobiMark (l=0)
MobiMark (l=1)
MobiMark (l=2)
80
60
40
20
3
0
0
0
2
4
6
Broadcast Expiration Time (sec)
(a)
2
4
6
Broadcast Expiration Time (sec)
(b)
Fig. 4. Impact of the broadcast expiration time on construction time and extra
broadcast overhead.
data retrieval latency of DRIP decreases. It is because the consumer changes the broker region less frequently as the number
of nodes increases. Second, as the node speed increases, the
network topology changes more frequently. The impact of node
speed on Mobimark has been discussed in Section VI-A and is
omitted here. In SAW (or DRIP), as the node speed increase,
the consumer (or the broker of the consumer) has a higher
probability of contacting the node (or the broker) with (the copy
of) the producers data, resulting in greater data retrieval rate
and average/maximum data retrieval latency. Third, because
the message transmission speed is considerably faster than the
node moving speed, the node moving radius has a negligible
impact on the data retrieval rate and average/maximum data
retrieval latency of MobiMark, SAW, or DRIP. Fourth, the
TTL has a negligible impact on the data retrieval rate and
average/maximum data retrieval latency of SAW and DRIP.
This is because the data are matched through node movement
and message transmission in SAW and DRIP, whereas the node
speed is considerably smaller than the message transmission
speed. Besides, since TTL 40 is sufcient for most messages
to retrieve data in MobiMark, the TTL has a negligible impact
on the data retrieval rate and average/maximum data retrieval
latency of MobiMark as TTL 40.
VII. R ELATED W ORKS
Recently, many data replication and retrieval schemes are
proposed in delay/disruption tolerant networks (DTNs). The
schemes in [22], [23] require xed infrastructure to help
forward data, and the scheme in [24] needs to have the
geographic location information of all producers and consumers in advance. None of these schemes can be used in our
network model. In addition, the schemes in [25], [26] require
historical contact information to predict and guide the message
forwarding. In our network model, the contact probabilities
among nodes vary with time; thus, these schemes are unsuitable
for our network model. Moreover, in [27], [28], the schemes
guide the message forwarding with the help of the properties
extracted from the specic network traces, such as similarity
and centrality, and thus, the schemes can perform well only in
the corresponding specic networks.
VIII. C ONCLUSIONS
DRIP [16] is a location-free data replication and retrieval
scheme with remarkable performance in the environment where
nodes have small inter-contact time or data can tolerate delays.
However, in several scenarios, such as military reconnaissance,
the nodes may move locally and the data should be retrieved
as soon as possible. In such an environment, DRIP is unsuitable because in DRIP, the consumers broker can retrieve
the producers data only when it is near one of the brokers
who has the producers data. In this paper, we designed a
distributed method to construct structured landmark brokers
using the landmark-labeling algorithm, and propose a zeroknowledge location-free data replication and retrieval scheme
based on the double-ruling technique, termed MobiMark, for
MANETs. By simply aggregating the information used with the
60
50
40
30
20
10
70
60
50
40
30
20
10
200
300
Number of Nodes
400
(a)
10
1
0.1
0.04
0.06
Node Speed (units/sec)
0.08
30
20
300
Number of Nodes
60
50
40
30
20
10
0
10
15
20
Node Moving Radius (units)
10000
MobiMark (l=2)
SAW
DRIP
3DLS
1000
100
10
1
400
500
25
20
40
60
Time to Live
80
100
(d)
10000
MobiMark (l=2)
SAW
DRIP
3DLS
1000
100
10
1
0.1
0.004
(a)
0.02
0.04
0.06
Node Speed (units/sec)
0.08
(b)
Fig. 6.
70
(c)
0.1
200
40
0
0.02
10000
100
100
50
MobiMark (l=2)
SAW
DRIP
3DLS
80
Impact of the number of nodes, node speed, node moving radius, and TTL on data retrieval rate.
MobiMark (l=2)
SAW
DRIP
3DLS
1000
60
(b)
Fig. 5.
10000
70
10
0
0.004
500
90
MobiMark (l=2)
SAW
DRIP
3DLS
80
0
100
100
90
MobiMark (l=2)
SAW
DRIP
3DLS
80
70
100
90
MobiMark (l=2)
SAW
DRIP
3DLS
80
100
90
100
MobiMark (l=2)
SAW
DRIP
3DLS
1000
100
10
1
0.1
10
15
20
Node Moving Radius (units)
(c)
25
20
40
60
Time to Live
80
100
(d)
Impact of the number of nodes, node speed, node moving radius, and TTL on data retrieval latency.