Next Article in Journal
Thick-Film Carbon Dioxide Sensor via Anodic Adsorbate Stripping Technique and Its Structural Dependence
Next Article in Special Issue
Detection and Classification of Human Body Odor Using an Electronic Nose
Previous Article in Journal
Prediction of Force Measurements of a Microbend Sensor Based on an Artificial Neural Network
Previous Article in Special Issue
A Geometric Modelling Approach to Determining the Best Sensing Coverage for 3-Dimensional Acoustic Target Tracking in Wireless Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Game and Balance Multicast Architecture Algorithms for Sensor Grid

1
EcoleCentrale de Paris, Laboratory MAS, 92290, Chatenay-Malabry, France
2
School of computer science, Wuhan University, 430079, Wuhan, China
3
INRIA Saclay Île-de-France, 91893, Orsay Cedex, France
4
Department of Computer Science, Georgia State University, P.O. Box 3994, Atlanta, GA 30302-3994, USA
5
Department of Computer and Telecommunication Engineering, University of Western Macedonia, GR 50100 Kozani, Greece
*
Author to whom correspondence should be addressed.
Sensors 2009, 9(9), 7177-7202; https://doi.org/10.3390/s90907177
Submission received: 20 June 2009 / Accepted: 18 August 2009 / Published: 9 September 2009
(This article belongs to the Special Issue Sensor Algorithms)

Abstract

:
We propose a scheme to attain shorter multicast delay and higher efficiency in the data transfer of sensor grid. Our scheme, in one cluster, seeks the central node, calculates the space and the data weight vectors. Then we try to find a new vector composed by linear combination of the two old ones. We use the equal correlation coefficient between the new and old vectors to find the point of game and balance of the space and data factorsbuild a binary simple equation, seek linear parameters, and generate a least weight path tree. We handled the issue from a quantitative way instead of a qualitative way. Based on this idea, we considered the scheme from both the space and data factor, then we built the mathematic model, set up game and balance relationship and finally resolved the linear indexes, according to which we improved the transmission efficiency of sensor grid. Extended simulation results indicate that our scheme attains less average multicast delay and number of links used compared with other well-known existing schemes.

1. Introduction

A sensor grid integrates wireless sensor networks with grid infrastructures to enable real-time sensor data collection and the sharing of computational and storage resources for sensor data processing and management. It is an enabling technology for building large-scale infrastructures, integrating heterogeneous sensor, data and computational resources deployed over a wide area, to undertake complicated surveillance tasks such as environmental monitoring [1].
The sensor grid enables the collection, processing, sharing, and visualization, archival and searching of large amounts of sensor data. The vast amount of data collected by the sensors can be processed, analyzed and stored using the computational and data storage resources of the grid. The sensors can be efficiently shared by different users and applications, which can access a subset of the sensors to collect the desired type of sensor data. A sensor grid provides seamless access to a wide variety of resources in a pervasive manner [2]. Advanced techniques in artificial intelligence, data fusion, data mining, and distributed database processing can be applied to make sense of the sensor data and generate new knowledge of the environment.
In many cases the amount of data in different nodes varies considerably, the proportion between the maximum and minimum is sometimes 1:1,000,000 or even much more. These data are widely distributed in different geographical positions and dynamically updated, replicated frequently, therefore a large number of transmission is necessary [3]. The geographical scattering of sensor nodes are of interest in analyzing these data sets.
A sensor-grid-based architecture has many applications such as environmental and habitat monitoring, healthcare monitoring of patients, weather monitoring and forecasting, military and homeland security surveillance, tracking of goods and manufacturing processes, safety monitoring of physical structures and construction sites, smart homes and offices. As shown in Figure 1, how to find a good hierarchical architecture to link the sensor grid nodes and consequently to realize an efficient data transmission is a very meaningful and challenging issue [4].

1.1. The Overview of Previous Algorithms

To achieve the high efficiency of the system, we proposed a set of novel Game and Balance Hierarchical Multicast Architecture Algorithms for sensor grid. The conception of multicast comes from network communication. Multicast technology is an important method of IP network data transmission. Between the senders and receivers, the system implements the link of network from one point to multi-points. According to the space relationship between one point sender and multi-points received, the system constructs optimal tree architecture for optimal data transfer. The advantage of multicast is that it can get the least using links number and shortest transfer delay, so that it promotes data transfer efficiency and decrease the possibility of network block. The most famous NICE protocol is a hierarchical multicast tree technique, which is an extendable multicast protocol that supports, from one sender to a number of receivers, low bandwidth data flow appliance.
Many well-known multicast schemes have been presented in reference listed: Double-Channel XY Multicast Wormhole Routing (DCXY) [5] uses an extension of the XY routing algorithm to set up the routing scheme. Dual-Path Multicast Routing (DPM) [6] is developed for the 2-D mesh. CAN-based multicast [7] is developed for the multicast applications that use the CAN [8] (Content-Addressable Network) configuration.
However, in the previous work of multicast for network communication, only one factor that affect the date transmission efficiency is considered [9], which can not be applicable for sensor grid where a lot of other factors should be considered, i.e., the data amount factor. So in this paper, we proposed an algorithm architecture for the sensor grid based on multicast concept but considering two or more factors.

1.2. Motivation

Synthetically considering the space factor and the data factor

The former hierarchical multicast schemes only consider the factor of geographical position, which means the shortest path way using the least number of links. While constructing the hierarchical multicast tree, the system often chooses the geographical central node as the cluster core or near the core. Hence it can save the transmission distance [8]. However, in sensor grid, the data quantities of different nodes are much different [10]. Usually 80% of the data often is centralized in 20% nodes; naturally these important nodes should be paid more attention to. Generally speaking, the more data the nodes have, the more data transmission will happen from the nodes [11]. If the data scale is the only factor we consider, to choose the node with larger data quantity as root or near the root would undoubtedly improve the efficiency of the data transmission.
As a result, the system should consider not only the space factor, but also the data quantity as the factor [9]. The two factors are independent with each other and related with each other. In other words, their relationship is game and balance. We try to set a group of functions in order to draw an elaborate balance between them in our to-be-presented algorithm. The basic idea goes through the whole process of constructing the hierarchical multicast tree. The space factor and data factor are two factors independent with each other, which have meaning and formation respectively; both of them tend to maximize their result. Namely the two factors game with each other. On the other hand, the two factors also co-exist in a system, common working, mutual interaction and constraint. Namely they balance with each other. We must synthetically consider the space and data factors while constructing the multicast tree.

The specific implementation of the algorithms

After summarizing the context of the algorithms, this subsection discusses the concrete implementation of the algorithms [12]. The motivation of this paper is to design a multicast scheme in m-D Sensor grid that can achieve not only shorter multicast delay and less resource consumption, but also the efficient data transmission.
The network is partitioned into clusters in terms of some regular Sensor grid area. After group members are initially scattered into different clusters, a tree is built to connect the cluster members within each other. The connection among different clusters is done through hooking the tree roots [13].
To construct such an architecture, a set of novel algorithms based on the m-D Sensor grid are presented:
  • Cluster formation algorithm that divides the group members into different clusters in terms of static delay distance;
  • Relative weight vectors generation algorithm that seeks the spatial central node in every cluster, calculates the space weight of every node, searches the weight of data quantity of every node, and finds the maximum;
  • The least weighted path tree algorithm that, after obtaining the space weight vector and the data quantity weight vector, builds binary simple equations, seeks linear parameters, determines the new weight vector according to the algebra sum of the two known vectors, and generates the least weighted path tree;
  • Multicast routing algorithm that efficiently dispatches the multicast packets in the group on the basis of the architecture constructed by the above three algorithms.
After checking the relative documents, this paper is one of the pioneer to use the multicast architecture for grid computing field [14], which—according to the idea from qualitative to quantitative—builds mathematic model, finds game and balance relationship, resolves linear parameter, and accurately improves the efficiency of transmission of sensor grid.

1.3. Organization

The architecture of this paper as follows: After describing the motivation in Section 1., the paper presents the problem in Section 1.3. and discuss how to figure out different weights in Section 2. Section 3. depicts the four sub-algorithm and the detail steps in different sub-algorithm. Section 4. describes the performance evaluation, which explains the model and result of the simulation. At last, Section 5. draws a conclusion and talks about the future work.
To improve the efficiency of data transmission in a quantitative way, the first thing we should do is to establish the mathematical model to describe the system.
The multicast group with l members of the system is denoted as: G = {U0, . . ., Ui, . . ., Ul−1}, where i ∈ [0, l − 1]. Each member can be identified by m coordinates: Ui = (ui,0, . . ., ui,j, . . ., ui,m−1), when 0 ≤ jm − 1. For example, member U0: 2 dimension coordinates (u0,0, u0,1) as (0, 0) and member U1: 2 dimension coordinates (u1,0, u1,1) as (0, 1) etc [15].
As illustrated in Figure 4, there are two nodes Ui = (ui,0, . . ., ui,j, . . ., ui,m−1) where i ∈ [0, l − 1] and Ui = (ui′,0, . . ., ui′,j, . . ., ui′,m−1), where i′ ∈ [0, l − 1] and i′ ≠ i. We define Ui and Ui′ are neighbors, if and only if ui,j = ui′,j for all j, except ui,j′ = ui′,j′ ± 1 along only one dimension j′. Thus, in the mD Sensor grid, an node may have m to 2m neighbors [5].
We also define the Manhattan distance of two nodes [16]. In a 2-D sensor grid, the static delay distance of two nodes (X0, Y0) and (X1, Y1) is |X1X0| + |Y1Y0|. The sum of static delay distances from all the other nodes (Xi, Yi) to (X0, Y0) (i ∈ [1, n − 1]) is: f ( X 0 ,   Y 0 ) = i = 1 n 1 ( | X i X 0 | + | Y i Y 0 | ).
Then the question we discuss next is how to configure the space factor and the data factor. We established two weight vectors to describe the space factor and the data factor in each cluster, and the value of every item means the relative weight of every node. For example, the space weight vector of the jth cluster is Wj = (wj,0, . . ., wj,i, . . ., wj,n−1), i ∈ [0, n − 1], n means that there are n nodes in the cluster, wj,i means the space weight of the node i within the jth cluster; the data weight vector of the jth cluster Wj = (wj,0, . . ., wj,i, . . ., wj,n−1), i ∈ [0, n − 1], n means that there are n nodes in the cluster, wj,i means the data weight of the node i within the jth cluster; the general weight vector of the jth cluster is Wj = (wj,0, . . ., wj,i, . . ., wj,n−1),i ∈ [0, n − 1], wj,i means the general weight of the node i with the jth cluster.
Next, we will discuss how to get the value of the three weight vector we defined before, which is the main point of this paper.

2. The Architecture of the Algorithms for Each Weight Vector

2.1. The Space Weight Vector

The data weight vector is easier to be computed than the space weight vector for its direct physical meaning of real world and easy for computer to realize. The space weight can be identified easily by people, but for computer to understand, the system has to study special algorithms. The first step we should do is to make the system to find the central node of the cluster, and then to figure out the space weight of each node to the central node according to the shortest path principle.
Generally speaking, the greater the space weight is, the nearer the node to the cluster core is, and vice versa. The node with maximum weight is the central node of the cluster namely the space cluster core. For example, Table 1 shows the space weight vector of one cluster. The weights marked * belong to the cluster member. The node with maximum weight is (2, 2), for which W(2,2) = 10 and so the node is the cluster space core.
If we establish the multicast tree for one cluster, only consider the space weight, the tree should be as the one shown in Figure 2.

2.2. The Data Weight Vector

Compared with the space weight vector, the data weight vector is easier obtain, as we can just define the date weight according to the date amount on the node directly [17]. In Table 2, the data weight vector is listed, in the cluster, the weights marked * belong to the cluster member. (In this table, 1 means 1T byte data or more.)
If we establish the multicast tree in one cluster, only consider the data weight, the tree should be in the way shown in Figure 3. But things are always not so easy, for each factor would maximize its own interest and on one hand they are in two completely separate systems, having themselves characteristics. And each factor would maximize its own interests [18]. On other hand they co-exist in the real world, and are closely relative, constraint, and drawing a balance between each other. So we should try to find the general weight vector W, which can synthetically consider the space factor and data factor, therefore the system can get the optimal effect based on the game and balance for both of the space and data factors.

2.3. The General Weight Vector

We define the general weight vector for one node as the function of space weight vector W′ and date weight vector W″, in the form of W = f(W, W″). Now we know W′, W″, but do not know the expressions of f(). In other words, the function is still a black box, so we must find a way to change the black box to a white box. The relationship between the two vectors W′ and W″ can have various forms. We can start the step by discussing the most simple way: the linear relationship, which can represent the typical basic prototype of our real world. The space factors and data factors are independent with each other in the realistic sense, therefore these two vectors are linear unrelated, thus W = f(W′, W″) should be W = αW′ + βW″, where α, β are linear parameters.
Next, the question is how to calculate the linear parameters. We found one equation array to describe the problem for i-th cluster, based on game and balance theory illustrated next:
{ α i + β i = 1 W i ,   W i W i = W i W i W i
Then the system can resolve the value of α, β by these equations, furthermore to get the general weight W.
Base on the weight vector W, we can construct the least weighted path tree next, namely the multicast tree, to transmit data, which would be the optimal path considering both of the space and data factor.

3. Algorithms for Game and Balance Multicast Architecture

3.1. Cluster Formation Algorithm

In the algorithms presented by this paper, the group members are initially split into several clusters by some management nodes (called as Rendezvous Points—RP). The cluster size is normally set as:
S = ( k ,   3 k 1 )
The expression (k, 3k − 1) represents a random constant between k and 3k − 1. Like NICE, which is a hierarchical multicast technique that uses a fixed value k. The k is a constant, and in the simulation conducted in this paper, it is acceptable to use k = 3. The definition of cluster size is the same as the one of NICE, which is to avoid the frequent cluster splitting and merging [5]. We define the state of node that has not been assigned into any cluster as unassigned. We describe the cluster formation as follows.
The RP initially selects the left lowest end host (say U) among all unassigned members. The left lowest node is the node that has the minimum coordinates along m dimensions among all nodes occupied by the unassigned group members. The cluster member selection is in the dimension order around U by using the following algorithm.
Figure 4 illustrates the spatial center nodes in a 2-D sensor grid. In this sensor grid, the initial left lower end host is (0, 0). According to Step 5, the RP firstly selects the end host in (0, 1) into the cluster. Because j = 0, Steps 8–11 are neglected. Then, the RP selects the end host in (1, 0)into the cluster by Steps 5–7. Based on Steps 8–11, the next selected cluster member is the one in (1, 1). The cluster formation guarantees that each cluster contains the closest group members in terms of static delay distance [19]. According to the results in [20], the scheme that assigns closed members into the same cluster will improve the scalability and efficiency of the multicast data transfers of the sensor grid.
Algorithm 1:. Cluster Formation
Algorithm 1:. Cluster Formation
Sensors 09 07177t1

3.2. Relative Weight Vectors Generation Algorithm

This sub-algorithm generates two weight vectors: the space weight vector and the data weight vector. In addition, the node with the maximum space weight is named the space core, and the node with the maximum date weight is named the data core. Hence it can be divided into four steps:

A. To find the space center nodes as the space core Ci,a in every cluster C′i

Each cluster will have a spatial center node as the space core. The space core can be the root of the tree in the cluster. The following theorem provides the sufficient and necessary conditions to select a spatial core in each cluster that is optimal in terms of the minimum sum of static delay distances to all the other cluster members.
Theorem 1 Let U be the cluster member that occupies the node (u0, . . ., uj, . . ., um−1) in an m-D grid and n > j,n < j and n = j be the number of cluster members with the j-th coordinates larger than (right nodes of j-th row), less than (left nodes of j-th row), and equal to uj (the nodes just on j-th row) respectively. Then U is the spatial center node if and only if the following inequalities hold simultaneously:
| n < j n > j | n = j ,   j = 0 ,   1 ,   , m 1
Proof:(⇒):Suppose U = (u0, . . ., uj, . . ., um−1) is a spatial center node, and then to any member U′ in the sensor grid, there exists f(U) ≤ f(U′). To achieve (2), we firstly considers a node U′ = (u0, . . ., uj+1, . . ., um−1) and its multicast static delay distance f(U′). Given any member Ui = (ui,0, . . ., ui,j, . . ., ui,m−1) and ujui,j, the distance from Ui to the end host U is one unit longer than the distance from Ui to the node U′. Similarly, it can be seen that to any member Ui = (ui,0, . . ., ui,j, . . ., ui,m−1) and ui,juj the distance from Ui to the end host U is one unit shorter than the distance from Ui to U′. There exist (n>uj + n=uj) members whose jth coordinates are larger than or equal to uj, and n<uj cluster members whose jth coordinates are less than Uj, then it can be concluded that 0 f ( u ) f ( u ) = j = 0 n   ( d ( u ,   u j ) d ( u ,   u j ) ) = n > U j + n = U j n < U j n < U j n > U j n = U j. By comparing f(u0, . . ., uj−1, . . ., um−1) with f(U) in the same way as above, the inequality of 2 can be achieved.
(⇐): It is easy to demonstrate that if (2) is violated, and then U cannot be the spatial center nodes. Assume n>ujn<uj > n=uj, then n>uj > n<uj + n=uj. Similarly, this paper firstly considers a node U′ = (u0, . . ., uj+1, . . ., um−1) and its multicast static delay distance f(U′). Given any member Ui = (ui,0, . . ., ui,j, . . ., ui,m−1) and ujui,j the distance from Ui to the end host U is one unit longer than the distance from Ui to U′. Similarly, it can be seen that to any member Ui = (ui,0, . . ., ui,j, . . ., ui,m−1) and ui,juj the distance from Ui to the node U is one unit shorter than the distance from Ui to U′. f ( u ) f ( u ) = i = 0 n   ( d ( u ,   u i ) d ( u ,   u i ) ) = n < u j + n = u j n > u j > 0 f ( u ) > f ( u ). Therefore the distance from U to these end hosts is larger than some other end hosts, which is a desired contradiction.
The physical meaning of the theory is obvious. Firstly, we process on X axis. For example N=2 = 4, namely there are 4 nodes just on of second row: (2, 6), (2, 4), (2, 2), (2, 1); N<2 = 2, namely there are 2 nodes in the left of second row: (1, 3), (1, 1); N>2 = 4, namely there are 4 nodes in the right of second row (3, 5), (3, 1), (5, 5), (5, 2), so |n<2n>2| ≤ n=2. Thus N=2 is satisfied coordinates on X axis. On other hand, N=3 = 2, including (3, 5), (3, 1); N<3 = 6, including (2, 6), (2, 4), (2, 2), (2, 2), (1, 3), (1, 1); N>3 = 2, including (5, 5), (5, 1), so |n<3n>3| ≥ n=3. Thus N = 3 is not satisfied coordinates. In the same way, we can do it again on Y axis. Then we can find the (2, 2) is the space central node, namely the space core of the cluster.

B. To calculate the space weight vector of every node Wi,j

At the beginning of this discussion, it can be presumed that the system establishes a multicast tree to transfer data packet, which choose the space core as the root and organize the architecture according to the space weight vector [21]. It is anticipated that the tree should maximize the sharing of link utilization within the clusters so that the rest of the links may be used for other traffic [22]. Our approach is to connect all the members according to (1) the branch on the tree between two adjacent members is the shortest path in the cluster, (2) the total number of links on the tree should also be minimized. Before discussing the algorithm, it is necessary to define the following terminologies (using a 2-D cluster as the model):
  • Shortest path area nodes (SPAN): For any two nodes (x0, y0) and (x1, y1), let Xmin = min{x0, x1}, Xmax = max{x0, x1}, Ymin = min{y0, y1} and Ymax = max{y0, y1}. They uniquely define a rectangle area [x0, y0] × [x1, y1]. Each node (x, y) in [x0, y0] × [x1, y1], which is on one of the shortest paths between (x0, y0) and (x1, y1), so it is called the shortest path area nodes (SPAN) between (x0, y0) and (x1, y1).
  • SPAN nodes of a cluster member: When the tree is built in the cluster with the size of n, all nodes Cj(xj, yj) in the SPAN area [x0, y0] × [xi, yi] from the core (i.e., the root of the tree)c*(x*, y*) to a cluster member ci(xi, yi)(i ∈ [0, n − 1])can be regarded as the SPAN nodes of ci. Take Figure 5 as an example. Assume that the core is in the node (2, 2). All nodes in [2, 2] × [5, 5]are the SPAN nodes of this cluster member.
  • The space weight of the node: A node may be the SPAN node of several k cluster members. If a node is the SPAN node of k cluster members, this node is assigned the weight of k. Table 1 gives the space weights of all nodes in Figure 4. Taking the node (2, 4) as an example, as show in Figure 5. The node (2, 4) is 4 node’s Shortest Path Area Nodes (SPAN): (2, 6), (3, 5), (5, 5), (2, 4), because it is in the Shortest Path Area of these nodes. Therefore its weight 4 means that 4 cluster members may pass through node (2, 4) to the cluster core (2, 2) by the shortest paths. Apparently, the weight of (2, 2) is 10.
In general, if the space weight of the node is k, it means that there are k nodes which must pass this node to the space core to send packets, which represent the degree near the center. The greater the space weight is, the nearer the node to the cluster core is, and vice versa.

C. To find the data weight W of every node in cluster Ci

After figuring out the space weight vector Wi,j, the system can easily get the data quantity in every node, namely generating the data weight, because the data quantity vector is determinant, as shown in Table 2.

D. To find the maximal data quantity node in Wi,j as the data core ci,b in every cluster

According to the Table 2, because the node B(2, 1) is the maximal value 10, it is the data core.
The relatively Weighted Vectors Generation algorithm in the m-D Sensor grid is given in Algorithm 2.
Algorithm 2:. Relative Weighted Vectors Generation
Algorithm 2:. Relative Weighted Vectors Generation
Sensors 09 07177t2b
In Algorithm 2, Steps 4–7 can be executed in time O(n). Steps 9–18 can be improved by using binary searching algorithm that yields an O(ln(n)) complexity. But for the brevity of discussion, it is necessary to keep the linear search algorithm here. The algorithm may find out multiple spatial central nodes, but just choose one of them at random and others can be back-ups. Figure 4 illustrates the spatial center nodes (2, 2) selection in one cluster of 2-D sensor grid. It is known that the spatial center node should be in the area [1, 1] × [5, 6]. Therefore, it can be checked that the spatial center node’s x coordinate must be 2 while y coordinate could be 2 or 3 for f((2, 2)) = f((2, 3)) = 26. Node (2, 2) is the member and is preferential (2, 3).
In the sensor grid, the data quantities of nodes are very different, for instance, about 20% nodes process 80% of the data quantity of the whole system. These nodes are very important in the multicast data transfer, therefore when researching the algorithm in multicast, the node’s data quantity weight W″ should be taken into account. On the other hand, the spatial nodes weight W′ in the Algorithm 3 (Least Weighted Path Tree Generation) should be noticed too. The relationship between the two vectors is a very challenging question, we tried in this paper to begin from the linear relative between them.
In general, the Relative Weighted Vectors Generation algorithm, finds the spatial core ci,a in every cluster Ci, calculates the space weight of every node Wi,j, searches the data quantity weight of the very node Wi,j in cluster Ci, and finally finds the data core ci,b.

3.3. Least Weighted Path Tree Generation Algorithm

After the Relative Weighted Vectors Generation algorithm generates the space weight vector W′ and the data weight vector W″, and the spatial core ci,a and the data core ci,b, the Least Weighted Path Tree Generation algorithm wants to combine the two old weight vectors W′ and W″ to a new weight vector W. Now the system just knows W = f(w′, w″), but does not know the expression of the f(). As we mentioned in Section 2.3., we used the linear form: W = αW′ + βW″. After that the sub-algorithm builds binary simple equations, resolves linear parameters α, β, generates new weight vector W. At last generates the least weighted path tree as hierarchical multicast tree. The sub-algorithm can be divided into 5 steps:

A. To define the weights of the nodes

W i , j = α i   W i , j + β i   W i , j
  • Wi,j : The weights of the nodes;
  • αi, βi: Linear relation modulus, αi, βir; αi, βi ≥ 0, as αi, βi < 0 nonsense;
  • Wi : The space weight vector.
  • Wi: The data weight vector.

B. The linear relation modulus of the weight of the node satisfied

α i + β i = 1 ; 0 < α i ,   β i < 1 ; α i r .
Theorem 2 If, two linear no-relationship vector W′i, W″i, their linear combination Wi,j = αiW′i,j + βiW″i,j, αi, βi is linear relation modulus, αi, βir, αi, βi ≥ 0, then following express is satisfied:
α i + β i = 1 ,   0 < α i ,   β i < 1 ,   α i ,   β i r
Proof: The rationality of the equation is obvious:
  • Let W i , j * = α i *   W i , j + β i *   W i ,   α i * ,   β i * r ,   α i * ,   β i * 0.
    W i , j * α i * + β i * = α i * α i * + β i *   W i , j + β i * α i * + β i *   W i , j
  • Take W i , j = W i , j * α i * + β i *, α i = α i * α i * + β i *, β i = β i * α i * + β i *.
  • Then Wi,j = αiW′i,j + βiWi,j, and αi + βi = 1, 0 < αi, βi < 1, αi, βir

C. The space factor and data factor are game and balance with each other, the game balance point is

W i W i W i = W i W i W i
Theorem 3 If two linear no-relationship vector, Wi = (wi,0, . . ., wi,j, . . ., wi,m−1), Wi = (wi,0, . . ., wi,j, . . ., wi,m−1) their linear combination Wi = (wi,0, . . ., wi,j, . . ., wi,m−1), and Wi = αiW′i + βiW″i, αi, βi is linear relation modulus, αi, βir, αi, βi ≥ 0. The game balance point of Wi and Wi is
W i W i W i = W i W i W i
.
Proof: Because Wi = (wi,0, . . ., wi,j, . . ., wi,m−1), Wi = (wi,0, . . ., wi,j, . . ., wi,m−1) their linear combination Wi = (wi,0, . . ., wi,j, . . ., wi,m−1), and Wi = αiW′i + βiW″i, as show in Figure 6.
Because cos θ 1 = W i W i W i W i , cos θ 2 = W i W i W i W i , we want to find the game and balance point to make θ1=θ2, then cosθ1=cosθ2.
On other words, the game balance point between W′i and W″i should be the point that has the equal correlation coefficient to each of the vectors. That is to say: W i W i W i W i = W i W i W i W i , then we get: W i W i W i = W i W i W i .
Combining (4) and (5), the paper builds the liner binary simple equations:
{ α i + β i = 1 W i W i W i = W i W i W i
For Wi = αiW′i + βiW″i
( α i W i + β i W i ) · W i W i = ( α i W i + β i W i ) W i W i   then ( α i W i + β i W i )     W i     W i = ( α i W i + β i W i )     W i     W i
For αi + βi = 1, then
α i = W i W i + W i = j = 0 m 1   w i , j 2 j = 0 m 1   w i , j 2 + j = 0 m 1   w i , j 2 β i = W i W i + W i = j = 0 m 1   w i , j 2 j = 0 m 1   w i , j 2 + j = 0 m 1   w i , j 2
So: 0 < αi, βi < 1, αi, βir
According to the above data table, the algorithm figures out αi = 0.53, βi = 0.47.

D. To get the weight vector and choose the maximum value node as the cluster core

According to the above all, the algorithm gets the weight vector (as Table 3) and chooses the maximum value node as the cluster core C * = ( c 0 * , , c i * , , c m 1 * ), in this cluster it chooses (2, 1) as cluster core ci.

E. Path Weight:

Given a shortest path, the path weight is the sum of all on-path node weights. For example, the weight of path < (2, 2), (2, 3), . . ., (2, 5), . . ., (5, 5) > is ∑i αiWi + ∑i βiWi.
Let the cluster with n′ members be:
C = { C 0 = ( c 0 , 0 ,   c 0 , 1 , , c 0 , m 1 ) , , C i = ( c i , 0 ,   c i , 1 , , c i , m 1 ) , , C n 1 = ( c n 1 , 0 ,   c n 1 , 1 , , c n 1 , m 1 ) }
After obtaining the space weight vector W′, the data weight vector W″, the spatial core ci,a and the data core ci,b, the paper will calculate the weight vector W and the cluster core c j *.
The main idea of the least weighted path tree generation algorithm can be sketched as follows. After obtaining the space weight vector and the data quantity weight vector, we tried to find a new vector composed by linear combination of the two old ones. And it builds binary simple equations between them, seeks linear parameters. Then they generate a least weighted path tree, namely multicast tree. The least weighted path tree generation algorithm is shown in Algorithm 3.
Algorithm 3:. Least Weighted Path Tree Generation.
Algorithm 3:. Least Weighted Path Tree Generation.
Sensors 09 07177t3
For example: in the cluster, the spatial center node is A(2, 2), and the maximal data quantity node is B(2, 1). For the requirement of practice, in this cluster, let W i W i W i = W i W i W i , and αi + βi = 1. To resolve the liner binary simple equations, the paper gets the liner relation modulus αi, βi = f(Wi, Wi), then gets αi = 0.53, βi = 0.47. At last, the algorithms attain new weight vector W.
Notice that since the dimension of the space weight vector and the data quantity weight vector may be different, the data quantity weight vector may stem from a function of the nature data quantity.

3.4. Multicast Routing Algorithm

Firstly, the network is partitioned into clusters by some regular Sensor grid area; after group members are divided into different clusters, a tree is built to connect the cluster members in each cluster; at last, the connection among different clusters is done through hooking the tree roots.
Algorithm 4:. Multicast routing for group G
Algorithm 4:. Multicast routing for group G
1 Hence s sends its multicast messages to its cluster core c0.
2 The cluster core c0 sends them to all other cores ci
3 The cluster core c0 routes the multicast packets to its own cluster members along the cluster tree.
4 At the same time, all cluster cores ci, upon receiving the multicast messages, transmit them along the cluster trees to all cluster members mi within the clusters.

4. Performance Evaluation

4.1. The Model of Simulation

We evaluated the newly-proposed optimal hierarchical multicast algorithms with the simulation developed by C++ [23] and run by a group of 40 IBM double cores PC. And we chose three multicast routing approaches for 2-D Sensor grid used for the performance testing and comparison: SPACE which just considers space factor; DATA which just considers data factor; and GBMASG which synthetically considers space and data factors. Moreover in multicast technology, for the space factor, there are several multicast routing algorithms, for example Double-Channel XY Multicast Wormhole Routing (DCXY) [20], Dual-Path Multicast Routing (DPM) [24], RCWP, OCXYP, RCXYP, etc. Among these approaches, the DCXYP is the most popular, the routing way just as our SPACE approach. Here we use DATA aprcoch according to data weight vector to generate least weight path tree.
In the simulation environment, the network topology used in the simulation is a 2-D Sensor grid. The bandwidth of each link is 10 Mbps [25]. During the simulation, 1,000 and 1,000,000 multicast packets are randomly generated as time seed and the average size of the packets is 2,400 bytes so that the average time to transmit a packet on the defined link is about 1 ms [26]. The following two metrics are employed to evaluate these multicast schemes: Average multicast delay: Defining the message multicast delay at a node as the sum of the routing delay, queuing delay and transmission delay. The average multicast delay AD is computed by
AD = ( i = 0 n 1   d ( s ,   u i ) ) / n
where d(s, ui) is the packet delay from the source s to the member ui and n is the group size.
Number of links used: It refers to the total number of links used in G in order to multicast the messages to all group members.

4.2. The Result of Simulation

The average delay metric under the light and heavy load of network is shown in Figure 7(a),(b). The link usage for different algorithms under the light and heavy load of network is shown in Figure 7(c),(d). It can be seen that the average delay increases with the increase of the network load Figure 7(e) and once it surpasses one point the the average delay will increase rapidly. From these simulation results, it can be obtained the following observations:
  • Under the light load circumstance, the delay is mainly decided by the distance from the source to the group members Figure 7(a). The SPACE approach always transmits multicast packets to group members along the shortest paths from the source to the group members, therefore it achieves the best delay performance among the other systems when the network is lightly loaded. When the traffic is low, GBMASG achieves as good delay performance as SPACE, but with a little bit difference. DATA’s performance is not very good for light load.
  • Under a heavy load circumstance, the delay is mainly decided by the source of the data quantity, and certainly relates to the space of the nodes too Figure 7(b). In the sensor grid circumstance, a majority of data quantity will concentrate in minor nodes. Now that SPACE just generate the multicast tree according to space factor, so that the delay increases a little rapidly in the mass data quantity. Our approach GBMASG synthetically considers both data and space factors, so that it gets the best result. DATA achieves the quite well delay performance almost as GBMASG here Figure 7(b).
  • Figure 7(c),(d) show the average number of links used by these approaches. In general the number of links will be increased with the number of the group members. At light load, the delay is mainly decided by the distance from the source to the group members Figure 7(c). Therefore SPACE achieves the least the number of links compared with other approach when the network is lightly loaded. GBMASG is in middle and approaching SPACE, but DATA is not very good.
  • At heavy load, the number of links is mainly decided by both the source of the data quantity and the space of the node Figure 7(d). So that for SPACE the number of links increases rapidly in the mass data quantity, and the DATA is much better, at last our approach GBMASG get the least the number of links.
  • Figure 7(e) shows that the delay increases as the packet arrival-rate increases. The system saturation points for SPACE, DATA and GBMASG are about 35, 36 and 38 packets/ms respectively. Our algorithm GBMASG achieves the maximum throughput.
It reveals that under the same condition, GBMASG obtains the best balance over the performance parameters, i.e., the less resource a system consumes, the higher the throughput and the shorter the delay under heavy traffic load [27]. The GBMASG is especially suitable for sensor grid with large data quantity.

5. Conclusions and Future Work

5.1. Conclusions

A sensor grid integrates wireless sensor networks with grid infrastructures to enable real-time sensor data collection and the sharing of computational and storage resources for sensor data processing and management. It is an enabling technology for building large-scale infrastructures. When the system constructs the hierarchical tree, it should consider not only the factor of the space, but also the data quantity. Their relationship is game and balance. We tried to draw an elaborate balance between them, and uses the basic idea to construct the hierarchical multicast tree in this paper.
The network is partitioned into clusters in terms of the static delay distance of Sensor grid area. After group members are initially scattered into different clusters, a tree is built to connect the cluster members with each other. The connection among different clusters is done through hooking the tree roots. To construct such architecture, a set of novel algorithms based on the m-D sensor grid are composed of four sub-algorithms:
  • Cluster formation algorithm. It divides the group members into different clusters in terms of static delay distance;
  • Relative weight vectors generation algorithm. It figures out two weight vectors: the space weight vector W′ and the data weight vector W″. In addition, it generates the spatial core Ci,a, which is the node with the maximum space weight node, and the data core Ci,b, which is the node with the maximum space weight node also.
  • Least weighted path tree algorithm. After the Relative Weighted Vectors Generation algorithm generates the space weight vector W′ and the data weight vector W″, and the data core Ci,a and the spatial core Ci,b, the sub-algorithm wants to combine the two old weight vectors W′ and W″ to a new weight vector W. But the system just knows W = f(W′, W″), but does not know the expression of the f(). The relationship between the two vectors W′ and W″ can have various forms. We can start the step by discussing the most simple way: the linear relationship, which can represent the typical basic prototype of our real world: W = αW′ + βW″. After that, the sub-algorithm builds binary simple equations, resolves linear parameters α, β, generates new weight vector W. At last generates the least weighted path tree as multicast tree.
  • Multicast Routing Algorithm. Firstly, the network is partitioned into clusters in terms of some regular sensor grid area. After group members are initially scattered into different clusters, a tree is built to connect the cluster members within each cluster. At last, the connection among different clusters is done through hooking the tree roots to implement the inter-cluster routing.

5.2. Future Work

1. To extend the multicast algorithm from 2-D to 3-D space

At present, the algorithm in this paper mostly focuses on optimal data transfer strategy in 2-D space. The reason is that recently mostly applications are still limited within 2-D. With the development of technology, Sensor grid architecture steps into outer space, into 3-D.

2. To extend the data quantity weight vector W

In the paper the space weight vector is complex, but the data quantity weight vector is definite, therefore the system can gain it directly. However, in some situation the data quantity could be changing, so that we should study special sub-algorithm for it. For example, in Pervasive Computing, the data quantity weight vector is not definite, therefore it is a function: W″ = f(x).

3. To discuss the non-linear relationship of two vectors W and W

Moreover, we just discussed about the liner relationship of two vectors in this paper. On the other level, the above method can just resolve the linear relationship of two vectors. But, in practice, the system sometimes does not transform linearly but exponentially. The paper can resolve one exponential equation in the situation. For example, we can define the nodes weights as W i , j = ( α i W i , j ) 2 + ( β i W i , j ) 2. In the meantime the system can use some other methods to control, such as controlling theory method, differential method, etc.

4. To extend to 3 vectors correlation

Furthermore, after discussed two vectors correlation: the space weight vector and data weight vector, the paper can easily be extended to three weight vectors correlation, for instance the economy weight vector. In this situation, the costs of server in different place vary, therefore the clients prefer the node with cheaper cost. Therefore the system should take the economy factor into account, while constructing multicast tree. The three weight vectors are game and balance with each other. The relationship of the weight should be Wi,j = αiWi,j + βiWi,j + λiW″′i,j. And it can easily extend the equation array as
{ α i + β i + γ i = 1 W i W i W i = W i W i W i = W i W i W i

5. To extend to N-vectors correlation

After discussing two and three vectors correlation, the algorithm can be extended to N-vectors correlation. Because in the realistic world, people should consider a number of factors while constructing the multicast tree, for example: space, data, economy, politics, military, etc. In this mode, every factor is a vector. As long as the physic mean of different factor is independent, the weight vector is linear (non-relative). Even if the two vectors are linear related, there are the ways to turn it to be linear (non-relative). All these factors can be denoted by a series of weight vectors. All of them game and balance with each other.
The relationship of the weight can be defined as W i , j = α i ( 1 ) W i , j ( 1 ) + + α i ( k ) W i , j ( k ) + + α i ( n ) W i , j ( n ). And the equation can be extended to
{ α i ( 1 ) + + α i ( k ) + + α i ( n ) = 1 W i W i ( 1 ) W i ( 1 ) = W i W i ( k ) W i ( k ) = W i W i ( n ) W i ( n )
It can be solved by mathematical induction.
Moreover, these factors are based on linear non-relationship condition, so their cardinal number is accountable infinite. But in realty many factors are linear relationship, so that we can turn these to be linear non-relationship. If factors are of linear relationship, then their cardinal number is unaccountable infinite.

Acknowledgments

The authors acknowledge Professor Weijia Jia of Department of Computer Science, City University of Hong Kong. The authors acknowledge partial financial support form the SAP Business Objects company.

References

  1. Duff, R.; Khamra, Y.E. A sensor and computation grid enabled engineering model for drilling vibration research. MG ’08: Proceedings of the 15th ACM Mardi Gras conference, Baton Rouge, Louisiana, USA, January 29–February 03, 2008; p. 153.
  2. Iqbal, M.; Lim, H.B. A sensor grid infrastructure for large-scale ambient intelligence. PDCAT ’08: Proceedings of the 2008 Ninth International Conference on Parallel and Distributed Computing, Applications and Technologies, Dunedin, New Zealand, December 1–4, 2008; pp. 468–473.
  3. Bernstein, P.A.; Fekete, A.; Guo, H.; Ramakrishnan, R.; Tamma, P. Relaxed-currency serializability for middle-tier caching and replication. SIGMOD ’06: Proceedings of the 2006 ACM SIGMOD international conference on Management of data, Chicago, IL, USA, June 27–29, 2006; pp. 599–610.
  4. Pompili, D.; Lopez, L.; Scoglio, C. DIMRO, a DiffServ-integrated multicast algorithm for Internet resource optimization in source specific multicast applications. IEICE Trans. Commun 2004, 2, 1146–1150. [Google Scholar]
  5. Banerjee, S.; Bhattacharjee, B.; Kommareddy, C. Scalable application layer multicast. Proceedings ACM SIGCOMM, Pittsburgh, Pennsylvania, USA, August 19–23, 2002; pp. 1389–1400.
  6. Chen, S.; Shi, B. ACOM: Any-source Capacity-constrained Overlay Multicast in Non-DHT P2P Networks. IEEE Trans. Paral. Dis. Sys 2007, 18, 205–217. [Google Scholar]
  7. Zhuge, H. A Scalable P2P Platform for the Knowledge Grid. IEEE Trans. Know. Da. Eng 2005, 17, 1721–1736. [Google Scholar]
  8. Nakao, A.; Peterson, L.; Bavier, A. A routing underlay for overlay networks. Proceedings of ACM SIGCOMM, Karlsruhe, Germany, August 25–29, 2003; pp. 1175–1209.
  9. Shavitt, Y.; Tankel, T. Big-bang simulation for embedding network distances in Euclidean space. IEEE ACM Trans. Networking 2004, 12, 993–1006. [Google Scholar]
  10. Zhang, H.; Kurose, J.; Towsley, D. Can an overlay compensate for a careless underlay? Proceedings of IEEE INFOCOM, Barcelona, Spain, April 23–29, 2006; pp. 1–12.
  11. Zissimos, A.; Doka, K.; Chazapis, A.; Koziris, N. GridTorrent: Optimizing data transfers in the Grid with collaborative sharing. Proceedings of 11th Panhellenic Conference on Informatics (PCI2007), Nuremberg, Germany, May 18–20, 2007; pp. 2–5.
  12. Chu, Y.; Rao, S.G.; Seshan, S.; Zhang, H. Enabling conferencing applications on the Internet using an overlay multicast architecture. ACM SIGCOMM 2001, 153, 55–67. [Google Scholar]
  13. Birman, K.P. Scalable trust: engineering challenge or complexity barrier? Proceedings of the first ACM workshop on Scalable trusted computing, Alexandria, VA, USA, November 3, 2006; pp. 1–2.
  14. Waters, G.; Crawford, J.; Lim, S.G. Optimising multicast structures for grid computing. Compt. Commun 2004, 27, 1389–1400. [Google Scholar]
  15. Bell, G.; Gray, J.; Szalay, A. Petascale computational systems. Proceedings of IEEE INFOCOM, Barcelona, Catalunya, Spain, April 23–29, 2006; pp. 110–112.
  16. Akbarinia, R.; Esther, P.; Patrick, V. Data currency in replicated DHTs. SIGMOD ’07: Proceedings of the 2007 ACM SIGMOD international conference on Management of data, Beijing, China, June 11–14, 2007; pp. 1389–1400.
  17. Mouratidis, K.; Bakiras, S.; Papadias, D. Continuous monitoring of top-k queries over sliding windows. ACM Trans. Data Sys 2006, 31, 1095–1133. [Google Scholar]
  18. Akbarinia, R.; Esther, P.; Patrick, V. Best position algorithms for top-k queries. VLDB ’07:Proceedings of the 33rd international conference on Very large data bases, Vienna, Austria, September 23–28, 2007; pp. 1389–1400.
  19. Ye, B.; Guo, M.; Zhou, J.; Chen, D. A multicast based anonymous information sharing protocol for peer-to-peer systems. IEICE Trans. Inform. Sys 2006, E89-D, 581–588. [Google Scholar]
  20. Jia, W.; Tu, W.; Wu, J. Hierarchical Multicast Tree Algorithms for Application Layer Mesh Networks. Proceedings of 2006 International Conference on Computer Networks and Mobile Computing, Los Angeles, CA, USA, September 23–29, 2006; pp. 967–971.
  21. Setton, E.; Noh, J.; Girod, B. Rate-distortion optimized video peer-to-peer multicast streaming. Proceedings of the ACM workshop on Advances in peer-to-peer multimedia streaming multimedia streaming, Hilton, Singapore, November 11, 2005; pp. 160–172.
  22. Stocia, I.; Morris, R.; Karger, D.; Kaashoek, M.F.; Balakrishnan, H. Chord: A scalable peer-to-peer lookup service for internet applications. Proceedings of ACM SIGCOMM, San Diego, CA, USA, August 27–31, 2001; pp. 160–172.
  23. Tu, W.; Jia, W. A scalable and efficient end host multicast for Peer-to-Peer Systems. Proceedings of IEEE Globecom, Dallas, Texas, USA, November 29–December 3, 2004; pp. 967–971.
  24. Zhang, Y.; Roughan, M.; Duffield, N.; Greenberg, A. Fast accurate computation of large-scale IP traffic matrices from link loads. ACM SIGMETRICS 2003, 31, 206–217. [Google Scholar]
  25. Jia, W. Implementation of a Reliable Multicast Protocol. Software-Pract. Exper 1997, 27, 813–850. [Google Scholar]
  26. Lazarevic, A.; Pokrajac, D.; Obradovic, Z. Distributed clustering and local regression for knowledge discovery in multiple spatial databases. Proceedings of Eighth European Symposium on Artificial Neural Networks, Bruges, Belgium, April 26–28, 2000; pp. 129–134.
  27. Wei, B.; Fedak, G.; Cappello, F. Scheduling Independent Tasks Sharing Large Data Distributed with BitTorrent. Proceedings of the 6th IEEE/ACM International Workshop on Grid Computing, Seattle, WA, USA, November 13–14, 2005; pp. 219–226.
Figure 1. Sensor Grid Architecture.
Figure 1. Sensor Grid Architecture.
Sensors 09 07177f1
Figure 2. The multicast tree according to the space weight.
Figure 2. The multicast tree according to the space weight.
Sensors 09 07177f2
Figure 3. The multicast tree according to the data weight.
Figure 3. The multicast tree according to the data weight.
Sensors 09 07177f3
Figure 4. Selecting the spatial center nodes in the members of one cluster of a 2-D Sensor grid.
Figure 4. Selecting the spatial center nodes in the members of one cluster of a 2-D Sensor grid.
Sensors 09 07177f4
Figure 5. Shortest path area nodes (SPAN) in a 2-D Sensor grid, for example: The node (2,4) is 4 node’s Shortest Path Area Nodes (SPAN): (2,6), (3,5), (5,5), (2,4).
Figure 5. Shortest path area nodes (SPAN) in a 2-D Sensor grid, for example: The node (2,4) is 4 node’s Shortest Path Area Nodes (SPAN): (2,6), (3,5), (5,5), (2,4).
Sensors 09 07177f5
Figure 6. The relationship of Wi, Wi and Wi.
Figure 6. The relationship of Wi, Wi and Wi.
Sensors 09 07177f6
Figure 7. Simulation results for SPACE, DATA and our GBMASG.
Figure 7. Simulation results for SPACE, DATA and our GBMASG.
Sensors 09 07177f7
Table 1. The space weight vector W′ in one cluster, the weights marked * belong to the cluster member.
Table 1. The space weight vector W′ in one cluster, the weights marked * belong to the cluster member.
Y=601*000
Y=5032*11*
Y=404*211
Y=31*5211
Y=2210*422*
Y=11*3*1*00
X=1X=2X=3X=4X=5
Table 2. The data weight vector W″, in the cluster, the weights marked * belong to the cluster member.
Table 2. The data weight vector W″, in the cluster, the weights marked * belong to the cluster member.
Y=601*000
Y=5032*10*
Y=405*221
Y=32*4321
Y=221*432*
Y=13*10*3*00
X=1X=2X=3X=4X=5
Table 3. The weight vector W″, in the cluster, the weights marked * belong to the cluster member.
Table 3. The weight vector W″, in the cluster, the weights marked * belong to the cluster member.
Y=601.00*000
Y=5032.00*10.53*
Y=404.47*221
Y=31.47*4321
Y=225.79*432.00*
Y=1
hline
1.94*
X=1
6.27*
X=2
1.94*
X=3
0
X=4
0
X=5

Share and Cite

MDPI and ACS Style

Fan, Q.; Wu, Q.; Magoulés, F.; Xiong, N.; Vasilakos, A.V.; He, Y. Game and Balance Multicast Architecture Algorithms for Sensor Grid. Sensors 2009, 9, 7177-7202. https://doi.org/10.3390/s90907177

AMA Style

Fan Q, Wu Q, Magoulés F, Xiong N, Vasilakos AV, He Y. Game and Balance Multicast Architecture Algorithms for Sensor Grid. Sensors. 2009; 9(9):7177-7202. https://doi.org/10.3390/s90907177

Chicago/Turabian Style

Fan, Qingfeng, Qiongli Wu, Frèdèric Magoulés, Naixue Xiong, Athanasios V. Vasilakos, and Yanxiang He. 2009. "Game and Balance Multicast Architecture Algorithms for Sensor Grid" Sensors 9, no. 9: 7177-7202. https://doi.org/10.3390/s90907177

Article Metrics

Back to TopTop