Next Article in Journal
Reservoir Permeability Identification under Three-Phase Filtration Using a Priori Information on Wells
Next Article in Special Issue
Remaining Useful Life Prediction Based on Multi-Representation Domain Adaptation
Previous Article in Journal
Stability, Hopf Bifurcation and Optimal Control of Multilingual Rumor-Spreading Model with Isolation Mechanism
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Guaranteed Approximation Algorithm for QoS Anypath Routing in WMNs

1
School of Mechanical and Electrical Engineering, Guangzhou City Polytechnic, Guangzhou 510405, China
2
School of Computer Science, Guangdong Polytechnic Normal University, Guangzhou 510665, China
3
Guangdong Provincial Key Laboratory of Big Data Computing, The Chinese University of Hong Kong, Shenzhen 518000, China
4
School of Automation, Guangdong University of Technology, Guangzhou 510006, China
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(23), 4557; https://doi.org/10.3390/math10234557
Submission received: 13 October 2022 / Revised: 23 November 2022 / Accepted: 28 November 2022 / Published: 1 December 2022

Abstract

:
Anypath routing is a hot research topic for QoS guarantee in wireless mesh networks (WMNs). According to time-varying characteristics of WMNs and the idea of anypath routing, a system network modeling method is proposed to address the multiple constrained optimization anypath problem. It focuses on the application of WMNs; under various QoS constraints, it satisfies a specific constraint and approaches other QoS constraints from an approximate perspective. A heuristic multi-constrained anypath algorithm with a time complexity as Dijkstra is proposed for the problem, and the algorithm is proved to be a K-1 approximation algorithm. The feasibility of the algorithm is verified, then its computational efficiency and performance are evaluated through simulation experiments, respectively. According to the application characteristics of wireless networks, the algorithm is suitable for WMNs and has good compatibility with existing routing protocols.

1. Introduction

In the process of the rapid development of the Internet of Things, new wireless mesh networks (WMNs) are generated by the convergence of WLAN and ad-hoc networks due to the presence of a large number of sensors and corresponding communication methods [1,2,3]. In recent years, a large number of applications of WMNs have appeared in people’s life, such as wireless telemedicine, wireless online shopping, wireless video on demand, wireless multi-party voice conferences, and so on. As a result, people are very concerned about the quality of service (QoS) of WMNs, such as the delay, delay jitter, cost, bandwidth, and so on. In WMNs, to find the optimal path (minimum delay, minimum cost, or maximum bandwidth) from the source node to the destination node, many researchers have continued to conduct relevant studies [4,5,6,7,8,9,10,11,12]. In [13], the lowest cost anypath routing (LCAR) method was discussed, which was applied to low-power and low-rate wireless communications, then a new wireless link layer technology with high stability and robustness was introduced in combination with anypath routing to reduce transmission costs. On this basis, a new paradigm of wireless multi-hop network anypath routing was proposed [14]. They were all concerned about the guarantee of a certain QoS and mainly used unicast routing algorithms. In multi-rate routing, each node uses a set of next hops and a selected transmission rate to forward packets; thus, two polynomial time algorithms proved to be optimal and suitable for deployment in routing protocols are proposed. The LCAR method was extended to support multicast anypath routing from one source to multiple destinations [15], which can be used to calculate the multicast cost metrics and determine the forwarding policy for the forwarding set, so that the packets can effectively reach all destination nodes. Furthermore, the spatial diversity and broadcast properties of wireless media were used to improve the performance of unreliable wireless networks [16]. Considering the anypath routing with multiple constraints, a K approximation algorithm was proposed to approximate all constraints simultaneously [16]. The advantage of this method is that it runs very fast; however, on a small-scale network, the error of the optimal solution could not be guaranteed. Recently, the anypath routing method was proposed to improve the reliability of multi-hop vehicular ad-hoc network (vanet) communication [17]. It was the first time to solve the link stability firstly and propose a stable life path of the long lifecycle of the anypath routing method, which was better than the classic Shortest Anypath First (SAF) method. Considering that the spatial reusability of wireless communication media can greatly improve the end-to-end throughput of multi-hop wireless networks, a spatial reusable awareness of single-path routing and anypath routing protocol was proposed in [18], which significantly improved the performance on the basics of an existing protocol. Unfortunately, there was no literature on QoS guarantee algorithm for wireless multimedia applications based on this protocol. Moreover, the routing problem in a multi-hop cognitive network (CR) with the newly proposed CR as an example was studied in [19]. Considering the typical spectrum uncertainties of CR and the unreliable transmission of wireless media, an anypath routing scheme based on spectrum recognition was proposed.
In the above research on WMNs, hot research on anypath routing is emerging, which aims to find an anypath routing method which ensures the optimal performance of one or more QoS metrics (such as delay, bandwidth, and power consumption). Previous research on anypath routing focused on considering a QoS metric constraint, calculating anypath routing with the minimum delay or minimum power consumption, or searching for anypath routing to ensure that one of the QoS parameters is optimal [17,18,19]. So far, there is minimal literature on anypath routing involve propagation delay, energy consumption, minimum bandwidth, delay jitter, and other QoS constraints. Only the Decision version of Multiple Constrained Anypath Problem (DMCAP) was proposed for the first time, and then the Optimized version of Multiple Constrained Anypath Problem (OMCAP) was studied in the literature [16]. Thus, the previous research on anypath routing of multi-constrained QoS has mainly focused on finding an anypath routing method with one optimal QoS parameter or approximating all constraints from an approximate perspective in the ideal state.
There has been a lot of research on the multi-constrained single-path routing problem with good performance [20,21]. The previous research is all aimed at general multimedia service applications, but may not be suitable for specific wireless multimedia applications. As far as we know, there is no research on the guarantee of multi-constraint anypath routing under the premise of satisfying one QoS. Therefore, we need to develop a new QoS guarantee scheme for specific wireless multimedia application services.
However, in wireless multimedia applications, one of the QoS parameters needs to be guaranteed while others need to be optimized. For example, real-time services such as voice and video have strict requirements on delay jitter, but also need to provide as large transmission bandwidth and as small transmission delay as possible. Thus, the Multiple Constrained Optimization Anypath Problem (MCOAP) is addressed in this paper. Different from previous studies, a Heuristic Multi-constrained Anypath Algorithm (HMAA) with a guaranteed constraint while approximating K 1 ( K 3 ) QoS constraints, compatible with existing wireless routing protocols, is developed to provide a fast and efficient solution for WMNs applications. This paper has three major contributions, which are as follows.
  • The MCOAP model is proposed from an approximate point of view. In the case that most important service performance of WMNs is guaranteed, the model can also consider multiple QoS metrics in WMNs;
  • The problem of MCOAP is formulated, then an approximation algorithm called HMAA, which approximates K 1 ( K 3 ) QoS constraints with a specific constraint, is developed;
  • The theoretical properties of the proposed algorithm are analyzed. The analysis results show that the proposed algorithm achieves lower complexity and approximate optimal solution for WMNs.
The rest is arranged as follows: the second section formally sets out the problem to be studied and the symbols to be used in subsequent sections. The third section presents the approximation algorithm and theoretical analysis of anypath routing under multiple QoS constraints. In Section 4, simulation results obtained from special networks are reported to verify the algorithm. Finally, the fifth section summarizes the paper.

2. Problem Description and Related Works

This paper is based on the weight of node v in the network, and the weight on the edge represents the forwarding probability. In the existing study of routing protocol [22,23,24], there are at least three Media Access Control (MAC) layer protocols that can support anypath routing. The anypath routing for WMNs and the Expected Weight of Anypath Transmissions (EWATX) were modeled in [16], based on which the research of this paper is carried out. First, the basic anypath routing DMCAP is introduced, and then the MCOAP studied in this paper is proposed. Frequently used notations are shown in Table 1.
Definition 1.
DMCAP Problem. Consider a directed and connected graph G ( V , E , W , L , p ) , where V = n is the set of vertices in the figure, E = m is the set of edges, p e ( 0 , 1 ] is the probability of packet forwarding on one edge, the ith weight on a node v V is w i v , W = w i v | w i v 0 is the set of total weights on node v; the positive matrix L = ( L 1 , L 2 , , L K ) is a set of K ( K 3 ) QoS constraints. The DMCAP problem is to find an anypath routing from s to t to satisfy the condition.
w i ( s , P s ) L i , 1 i K .
An anypath routing that satisfies formula (1) is called a feasible solution to the DMCAP problem, thus all feasible anypath routing in graph G are expressed as { P s } . However, a feasible solution to the DMCAP problem is computationally very complex, and the literature [16] proves that it is a NP-hard problem.
Definition 2.
MCOAP Problem. The MCOAP problem is to find an optimal anypath among all the anypath routing { P s } from s to t that satisfies the constraints and minimizes the other values of the anypath routing.
The computing performance of the routing adapters in WMNs is limited, so it seems unrealistic to run an intelligent algorithm and spend a lot of time on finding a feasible solution to the DMCAP problem. In wireless multimedia applications, more and more business application requirements turn out to be mandatory to meet a QoS constraint while approximating the remaining QoS constraints from an approximate perspective. This paper introduces the anypath auxiliary length value w ^ ( v , P s ) shown in Equation (2)
w ^ ( v , P s ) = max 2 i K w i ( v , P s ) L i .
Definition 3.
α ( α 1 ) approximation algorithm. If an algorithm finds an anypath P s * from s to t that satisfies the condition w ^ ( s , P s * ) α w ^ ( s , P s o p t ) , s . t . w 1 ( v , P s o p t ) L 1 , we say it is an approximation algorithm for MCOAP problems.
Definition 4.
Auxiliary Anyptah Weight (AAW) for EWATX [16]. The AAW along anypath routing from node v to t is
w m ( v , P s ) = w m ( v ) p ( v , F ( v , P s ) ) + w m ( F ( v , P s ) , P s ) .
Remark 1.
The OMCAP problem has been proposed in [16], thus the anypath routing of the multi-constrained QoS was studied in an ideal state from an approximate perspective. Differing from previous studies, this paper examines the MCOAP problem: looking for an anypath routing P s * that satisfies a specific QoS constraint such as tightly limited transmission times, limited transmission power, limited bandwidth, etc., while approximating other QoS constraints.

3. An Anypath Routing Approximation Algorithm for QoS

In this paper, the HMAA is proposed to calculate an anypath routing from s to t from an approximate perspective in a reasonable time. In order to simplify the operation, the weight w i v of all nodes v V are normalized as w i v / L i , 2 i K , thus the corresponding constraints become L 2 = L K = 1 .

3.1. Design of HMAA Algorithm

The design of HMAA algorithm is described below. Each node v V has an auxiliary variable w ^ m ( v ) , a forwarding set F ^ ( v , P ) , and K value w ^ i ( v ) , which represents the current calculated value from v to t along anypath, respectively. The algorithm uses two data queues P and Q. P is a linked list that stores the shortest anypath routing node found by HMAA and outputs P s * at the end. Q is a priority queue where each node is sorted according to the existing values w ^ m ( v ) . In addition, w ^ m ( F ) and w ^ i ( F ) are the AAW and the ith weight of forwarding set F are currently calculated, respectively.

3.1.1. HMAA Algorithm Implementation Steps Are as Follows

Step 1: Initialize all nodes v V in the graph G ( V , E , W , L , p ) and give the currently calculated value w ^ m ( v ) and F ^ ( v , P ) the initial value;
Step 2: If Q and w 1 ( s , P ) L 1 , all of the nodes in the link matrix Q Q { u } are traversed: the node u with the smallest AAW is added to the current anypath P, then the AAW value of the current node u is calculated; otherwise, skip to Step 5.
Step 3: The neighbor node of the minimum AAW node is traversed, the value w ^ m ( v ) of the neighbor node is calculated by the Equation (9), then the K-1 value w ^ i ( v ) of the node is calculated.
Step 4: If j > K , skip to Step 5; otherwise, make   j = j + 1 , and repeat Step 2.
Step 5: Check the first weight of the current anypath P. If w 1 ( s , P ) L 1 , output anypath P s * = P found by HMAA; otherwise, output “NO Feasible Anypath”.

3.1.2. Detailed Procedure of HMAA Algorithm

The detailed procedure of HMAA algorithm is shown in Algorithm 1.
Algorithm 1. HMAA algorithm.
Input: G ( V , E , W , L , p ) , the source node s, the destination node t
Output: Anypath P s *
1.      for each v V in G ( V , E , W , L , p ) do
2.             w m ( v ) = max 2 i K w i ( v ) ;
3.             w ^ m ( v ) ;
4.             F ^ ( v , P ) ;
5.      end for
6.       w ^ m ( t ) = 0 ;
7.       P ;
8.       Q V ;
9.      while Q & w 1 ( s , P ) L 1 do
10.             u Min ( Q ) ;
11.             P P { u } ;
12.             w ^ ( u , P ) max 2 i K w ^ i ( u ) ;
13.              for each incoming link ( v , u ) in E do
14.                     F F ^ ( v , P ) { u } ;
15.                     w ^ m ( v ) w m ( v ) p ( v , F ) + w ^ m ( F ) ;
16.                    if w ^ m ( v ) < w ^ m ( v ) then
17.                        w ^ m ( v ) w ^ m ( v ) ;
18.                        Q Q { u } ;
19.                        F ^ ( v , P ) F ;
20.                          for i = 2 : K do
21.                              w ^ i ( v ) w i ( v ) p ( v , F ^ ( v , P ) ) + w ^ i ( F ^ ( v , P ) ) ;
22.                          end for
23.                    end if
24.            end for
25.      end while
26.      if w 1 ( s , P ) L 1
27.                P s * P ; OUTPUT P s * ;
28.      else Output NO Feasible Anypath;
29.      end if
30.     END

3.1.3. An Example of HMAA Algorithm

The implementation process of HMAA algorithm is described by an example. As shown in Figure 1, the source node s and the destination node t are in WMNs, then the anypath routing P s * is calculated by HMAA algorithm. The system initializes the constraint value L 1 = 18 for a given mandatory QoS. Figure 1a–f demonstrate the operation of the algorithm, where Figure 1f shows the anypath routing P s * in WMNs found by HMAA. According to the operation of HMAA, we introduce the process of adding each node to anypath P:
(a)
In system initialization, the first node t is cleared to zero, then added to the anypath P;
(b)
After the node t is added to the queue P, w ^ i ( v ) and w ^ m ( v ) of the neighbors of node t (cyan nodes u4, u3 and u5) are updated by the red dotted arrows, respectively, so that w ^ 2 ( u 4 ) = 2 0.5 + 0 = 4 , w ^ 3 ( u 4 ) = 2 0.5 + 0 = 4 and w ^ m ( u 4 ) = 4 . Thus, the values of the other two nodes (blue font marked next to the node) can be obtained in the same way;
(c)
Compare the values of nodes (u3, u4, u5), the smallest node is u4, which is added to queue P, then the determined edge link is updated as shown in bold arrows. Update w ^ i ( v ) and w ^ m ( v ) of neighbor nodes (u1, u3) of u4, it can obtain w ^ 2 ( u 1 ) = 1 0.2 + 4 = 9 , w ^ 3 ( u 1 ) = 2 0.2 + 4 = 14 , w ^ m ( u 1 ) = 14 , w ^ 2 ( u 3 ) = 2 + 0.5 0 + 0.4 ( 1 0.5 ) 4 1 ( 1 0.4 ) ( 1 0.5 ) = 4 , w ^ 3 ( u 3 ) = 5.43 , w ^ m ( u 3 ) = 5.43 ;
(d)
Compare the values of nodes (u1, u3), the smallest node is u3, which is added to queue P. Update w ^ i ( v ) and w ^ m ( v ) of neighbor node u1, it can obtain w ^ 2 ( u 1 ) = 1 + 0.5 4 + 0.2 ( 1 0.5 ) 4 1 ( 1 0.2 ) ( 1 0.5 ) = 5.67 , w ^ 3 ( u 1 ) = 8.52 , w ^ m ( u 1 ) = 8.52 . Thus, the values of node u2 can also be obtained (blue font marked above the node);
(e)
Compare the values of nodes (u1, u2), the smallest node is u1, which is added to queue P. Update w ^ i ( v ) and w ^ m ( v ) of neighbor node s, it can obtain w ^ 2 ( s ) = 3 0.5 + 5.67 = 11.67 , w ^ 3 ( s ) = 3 0.5 + 8.52 = 14.52 , w ^ m ( s ) = 14.52 ;
(f)
Through the reverse order search, the source node s is finally added to the queue P, and the anypath routing P = { s , u 1 , u 3 , u 4 , t } is found. Thus, the first weight can be obtained by w ^ 1 ( u 4 ) = 8 , w ^ 1 ( u 3 ) = 46 7 , w ^ 1 ( u 1 ) = 13 10 21 and w ^ 1 ( s ) = 2 0.5 + 13 10 21 = 17 10 21 . Check the first constraint that w ^ 1 ( s , P ) = 17 10 21 L 1 = 18 , then the HMAA algorithm ends and the anypath routing P s * = P is found, where w ^ m ( s , P s * ) = 14.52 .
Remark 2.
As shown in Figure 2a, the anypath routing P s * found by HMAA algorithm can calculate the AAW value of 14.52; Figure 2b shows the actual optimal anypath routing P s o p t in WMNs, thus the AAW value can be calculated by w ^ m ( s , P s o p t ) = 12.85 . According to Definition 3, we can observe that α = w ^ m ( s , P s * ) / w ^ m ( s , P s o p t ) = 14.52 / 12.85 1.13 , so the solution found in this example by HMAA is a 1.13-approximation optimal anypath routing.

3.2. Analysis of HMAA Algorithm

In this paper, we first discuss the time complexity of the proposed HMAA algorithm, which can find a feasible solution to the MCOAP problem in a reasonable time. Secondly, we prove that HMAA is a K-1 approximation algorithm for the MCOAP problem.
Theorem 1.
The time complexity of HMAA algorithm is O ( n log n + K m ) .
Proof. 
The proof of this theorem and the problems studied in [6] are somewhat different, but the logic between them is consistent. There are three stages for HMAA algorithm:
In the first stage, AAW is calculated for each node in graph G and the data structure is initialized (Lines 1–8 of HMAA) with a time complexity of O ( K ) .
In the second phase, it calculates the AAW value (Lines 9–25 of HMAA) of the shortest anypath from all of the nodes to the destination node t, and the same time complexity as the traditional Dijkstra algorithm is O ( n log n + K m ) .
In the third stage, it checks if the AAW value of the anypath routing P found by HMAA satisfies the first mandatory constraint (Lines 26–29 of HMAA), where the time complexity is O ( m ) .
The time complexity of HMAA above three stages is O ( K + n log n + K m + m ) = O ( n log n + K m ) , so Theorem 1 is proven.
The proposed HMAA algorithm has the same time complexity as the traditional Dijkstra algorithm. On one hand, it has good compatibility with existing routing protocols. On the other hand, it is faster and computationally suitable for time-varying WMNs to find a feasible solution in a reasonable time. Theorem 1 indicates that P s * is the shortest AAW anypath. In other words, the forwarding set of each node calculated by HMAA algorithm is actually the optimal forwarding set based on AAW value. The HMAA algorithm is proposed in this chapter to identify the efficiency of the solution.
Theorem 2.
The anypath found by HMAA algorithm is at least a K-1 approximation solution and subject to w ^ ( s , P s * ) ( K - 1 ) w ^ ( s , P s o p t ) , s . t . w 1 ( v , P s o p t ) L 1 .
Proof. 
According to the implementation steps of HMAA algorithm, the nodes join the queue P one by one. All of the nodes are indexed on the path P v * in this order, the index value of node t is 0, and node v with maximum index value finally joins queue P. It will be proved that the formula (4) is established for all of the nodes v by mathematical induction
w ^ ( v , P v * ) w m ( v , P v * ) .
For a node v 1 , only the destination node t is its forwarding set, so
w m ( v 1 , P v * ) = w m ( v 1 ) p ( v 1 , t ) + w m ( < t > , P v * ) = w m ( v 1 ) p ( v 1 , t )   = max 2 i K w i ( v 1 ) p ( v 1 , t ) .
On the other hand, according to the definition of anypath routing length AAW, it can obtain
w ^ ( v 1 , P v * ) = max 2 i K w i ( v 1 , P v * ) = max 2 i K w i ( v 1 ) p ( v 1 , t ) + w m ( < t > , P v * ) = max 2 i K w i ( v 1 ) p ( v 1 , t ) .
Thus, a node v 1 satisfying the Formula (7)
w ^ ( v 1 , P v * ) w m ( v 1 , P v * ) .
Assuming that all nodes with subscripts [1, r], the following inequality holds
w ^ ( v r , P v * ) w m ( v r , P v * ) .
Next prove that it is also satisfied for v r + 1 . According to the definition of the variable w m , it can obtain
w m ( v r + 1 , P v * ) = w m ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v * ) ) + u j F ( v r + 1 , P v * ) β ( u j , P v * ) w m ( u j , P v * ) .
According to the implementation of HMAA algorithm, all of the nodes (including neighbor nodes u j ) on the path P v * are added to the queue P before the node v r + 1 joins it. For all nodes with subscripts [1, r], the inequality (8) is true. So, there is
w m ( u j , P v * ) w ^ ( u j , P v * ) = max 2 i K w i ( u j , P v * ) , u j F ( v r + 1 , P v * ) .
According to the definition of Formula (2), it can obtain
w ^ ( v r + 1 , P v * ) = max 2 i K w i ( v r + 1 , P v * ) = max 2 i K w i ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v * ) ) + u j F ( v r + 1 , P v * ) β ( u j , P v * ) w i ( u j , P v * ) = max 2 i K w i ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v * ) ) + max 2 i K u j F ( v r + 1 , P v * ) β ( u j , P v * ) w i ( u j , P v * ) w m ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v * ) ) + u j F ( v r + 1 , P v * ) β ( u j , P v * ) max 2 i K w i ( u j , P v * )
By comparing Equations (9)–(11), it can obtain
w ^ ( v r + 1 , P v * ) w m ( v r + 1 , P v * ) .
So, the inequality (4) is true for node v on the anypath P v * .
Since the anypath routing is directed and acyclic, HMAA algorithm indexes all of the nodes in reverse order along the optimal anypath P v * . The index value of t is 0, and v is the largest one. Moreover, the index value of each node is larger than that of its forwarding set. The mathematical induction is used to prove that the following inequality holds for any node v on the optimal path P v o p t
w m ( v , P v o p t ) i = 2 K w i ( v , P v o p t ) .
For the node v 1 , since only t is its forwarding set, it can obtain
w m ( v 1 , P v o p t ) = w m ( v 1 ) p ( v 1 , t ) + w m ( < t > , P v o p t ) = max 2 i K w i ( v 1 ) p ( v 1 , t ) .
i = 2 K w i ( v 1 , P v o p t ) = i = 2 K w i ( v 1 ) p ( v 1 , t ) + w i ( < t > , P v o p t )   = i = 2 K w i ( v 1 ) p ( v 1 , t ) .
From the above two inequalities, it is easy to find the following relationship for the node v 1 ,
w m ( v 1 , P v o p t ) i = 2 K w i ( v 1 , P v o p t ) .
Assuming that the inequality (13) is true for all nodes with subscripts [ 1 , r ] , it will prove that the inequality is still true for the node v r + 1 . For node v r + 1 , it has the following relationship.
i = 2 K w i ( v r + 1 , P v o p t ) = i = 2 K w i ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v o p t ) ) + u j F ( v r + 1 , P v o p t ) β ( u j , P v o p t ) w i ( u j , P v o p t ) max 2 i K w i ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v o p t ) ) + u j F ( v r + 1 , P v o p t ) β ( u j , P v o p t ) i = 2 K w i ( u j , P v o p t ) w m ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v o p t ) ) + u j F ( v r + 1 , P v o p t ) β ( u j , P v o p t ) i = 2 K w i ( u j , P v o p t )
Since the index value of the forwarding node u j is smaller than that of the node v r + 1 , assuming that the inequality (13) is true for all nodes in the subscript range, the following relationship holds
i = 2 K w i ( u j , P v o p t ) w m ( u j , P v o p t ) , u j F ( v r + 1 , P v o p t ) .
Define the following relationship according to Formula (2)
  w m ( v r + 1 , P v o p t ) = w m ( v r + 1 ) p ( v r + 1 , F ( v r + 1 , P v o p t ) ) + u j F ( v r + 1 , P v o p t ) β ( u j , P v o p t ) w m ( u j , P v o p t ) .
According to the above inequalities (17), (18) and (19), the following holds for the node
w m ( v r + 1 , P v o p t ) i = 2 K w i ( v r + 1 , P v o p t ) .
Substituting v r + 1 in the inequality (20) with v, thus it proves that the inequality (13) holds. In addition, according to the definition of w ^ ( v , P v o p t ) , it holds
w i ( v , P v o p t ) w ^ ( v , P v o p t ) .
Combine the inequalities (13) and (21), it can obtain
w m ( v , P v o p t ) i = 2 K w i ( v , P v o p t ) ( K - 1 ) w ^ ( v , P v o p t ) .
For any node v in WMNs, define P v * as the anypath routing from v to t calculated by HMAA, P v o p t as the optimal solution to MCOAP. Theorem 1 indicates that an anypath P v * from v to t is the shortest AAW, so the following inequality holds
w m ( v , P v * ) w m ( v , P v o p t ) .
According to the inequalities (4), (22) and (23), it holds
w ^ ( v , P v * ) ( K - 1 ) w ^ ( v , P v o p t ) .
Replace the node v in the above inequalities with s, then the HAMA algorithm (Lines 26–29) checks if it is feasible for the first parameter that w 1 ( v , P s o p t ) L 1 , thus it can obtain
w ^ ( s , P s * ) ( K - 1 ) w ^ ( s , P s o p t ) , s . t .       w 1 ( v , P s o p t ) L 1 .
That is, HMAA algorithm finds a K-1 approximate solution to the MCOAP problem, thus Theorem 2 is proven.

4. Simulation Experiment and Performance Evaluation

In this section, we run HMAA to check if it can find a feasible solution in a reasonable time and evaluate its operational efficiency. According to the quality of the anypath routing in this experiment, the efficieney and performance of HMAA are evaluated. First of all, a large-scale random network (RNET) is produced by the Waxman model [20], which is used to perform the simulation experiment in this section. Secondly, in order to further verify the performance and efficiency of our proposed algorithm, the real WMNs network of wireless multimedia service (NTT) mentioned in the literature [16] is used for simulation calculation. All of the above simulations are run on a computer with 8GB of RAM and a 1.66GHz clock Core Duo CPU.

4.1. Experiment and Analysis of HMAA Algorithm Operation Efficiency

At present, there is no literature on the MCOAP problem. The existing intelligent algorithms such as the genetic algorithm and the ant colony algorithm are almost solely concerned with the optimal solution, thus its consuming time increases exponentially with the increase in network scale, which is not suitable for WMNs with strong time-varying characteristics. In this section, the MAP algorithm [16] and the deformation of the SAF algorithm [17] are used to the OMCAP problem, thus the HMAA, MAP and SAF algorithms are compared in this experiment. The Waxman model [20] is used to generate a network called RNET with 500 nodes. The RNET network is set up according to the above-described protocol. Three QoS constraints, source node s and destination node t are randomly generated. Three algorithms are used to find the anypath routing and record the running time, respectively (run 10 times to find ATC according to Formula (26)). The ATC of the three algorithms is recorded 20 times and shown in Figure 3.
ATC = Total   time   consuming Number   of   running
It can be seen from the records shown in Figure 3 that: ① In the RNET network with 500 nodes, regardless of the source node and the destination node, the overall consuming time of the three algorithms is kept within the range [11,16], and the running time is all within 16ms; ② When the source node s and the destination node t are the same, the running time of the three algorithms to find anypath routing is compared: the running time of HMAA is in the middle, MAP [16] is about 5% more, and SAF [17] is about 15% less.
The experimental results show that: ① MAP is an anypath routing algorithm to OMCAP, which has the same time complexity as HMAA to MCOAP. SAF with a single metric also has the same time complexity. Therefore, the running time trends of the three algorithms are consistent. ② MAP is to find the approximate solution where K = 3, which is slightly more than that of HMAA finding the approximate solution where K-1 in the actual calculation. SAF is a single metric anypath routing algorithm, which is equivalent to the case of K = 1, and the running time is relatively short in practical calculation. According to the simulation experiment data shown in Figure 4, HMAA proposed in this paper is evaluated by analyzing the principle and operation mechanism of the three algorithms. For WMNs with strong time-varying characteristics, the optimal solution to the MCOAP problem can be found in a reasonable time.

4.2. Experiment on Real WMNs Network for HMAA Algorithm

Figure 4a shows the static WMNs network structure diagrams of the simulation experiments. The NTT network has 57 nodes and 81 edges. Each link in these networks has three weights, which corresponds to Cost, Delay and Jitter. All of the parameters in these networks can be found at the following URL: http://code.google.com/p/efptas/downloads/list (accessed on 13 October 2022). All of the red points are denoted as nodes of the network, the black wires as the wireless links of WMNs in Figure 4a. The green circle denotes the source node S and the green star denotes the destination node T in Figure 4b, respectively. The final anypath P s * , the blue path shown in Figure 4b, is obtained by running proposed HMAA algorithm. At the same time, we also ran two other algorithms on this real WMNs network. The final result is the same that the anypath path obtained by running SAF and MAP algorithms is also the blue path in Figure 4b. Therefore, we can draw a conclusion that in the real wireless multimedia network, the proposed HMAA algorithm is as effective as the existing SAF and MAP algorithms in finding the anypath path.

4.3. Experiment and Analysis of HMAA Algorithm

In the network, the source node s and the destination node t are randomly selected, then the anypath routing is found by MAP, HMAA and SAF, respectively (SAF with the single metric “time”), in order to compare and analyze the efficiency of the three algorithms. As shown in Figure 3, according to the experimental steps, three networks with a different number of nodes are generated randomly, so are the constraints, the source node s and the destination node t subsequently. Then, the three algorithms are run and the anypath routing is recorded (run for 10 times on average). For simplicity, the weights of nodes in the network are normalized (equivalent to 1), thus the recorded data is shown in Figure 5.
As shown in Figure 5, the QoS constraints of each network are random. The number of normalized network nodes has no effect on the length of anypath routing. In the same network, the length of the anypath routing by three algorithms are compared. The length of MAP is the smallest, followed by HMAA, and SAF is the largest. Since MAP approximates all of the constraints of the OMCAP problem, the length of anypath routing obtained is minimal. HMAA approximates the constraint when K−1 = 2, and its length is slightly larger than MAP. SAF is a metric used to find an anypath routing, which cannot guarantee any other constraints on the anypath routing, so it has a larger length compared to the other two algorithms. ③When the anypath routing found by MAP satisfies the constraints, anypath routing found by HMAA also meets the constraints, while SAF cannot guarantee other QoS constraints.
The following approximation rate IAR (ratio of optimal value to the sub-optimal value) [21] is used to evaluate the performance of HMAA proposed in this paper. In other words, if the approximation rate IAR is equal to 1, it means that the optimal anypath is found, and if the approximation rate is less than 1, it means that the solution found is sub-optimal. Therefore, the approximation rate IAR indicates the quality of the solution found by HMAA. As we know that finding the optimal solution to MCOAP is NP-hard, P s o p t is replaced by the solution obtained by the intelligent algorithm proposed in [20]. Therefore, IAR is obtained by comparing the value P s * calculated by HMAA with that by [20]. The network with different nodes is calculated 20 times, respectively, thus the approximation rate IAR (blue dot) is recorded in Figure 6.
As can be seen from Figure 6, no more than 70% of IAR fall between [0.75, 0.95], and all the IAR fall within the range of [0.5,1] regardless of how many nodes there are in the network. HMAA proposed in this paper focuses on the MCOAP problem and finds the anypath routing in a reasonable time from an approximate perspective. Theorem 2 proves that the upper bound of HMAA is the K-1 approximation (here it is the 2 approximation), then the following simulation experiments also show that its approximation to the optimal solution is very high, so it is reasonable and feasible in wireless multimedia applications.
HMAA has a slightly longer running time than SAF, but the quality of the solution is good for multiple QoS constraints. MAP is a solution to OMCAP problem and tries to satisfy all constraints in an ideal state, but HMAA guarantees a specific QoS constraint while approaching other QoS constraints, so it is more in line with the business requirements in wireless multimedia applications. For example, if real-time voice services have strict delay jitter constraints, HMAA can guarantee its performance, but MAP cannot.
To sum up, in our network simulation experiment above, we compare the proposed algorithm HMAA with the best SAF and MAP algorithms. These three algorithms are oriented to different wireless multimedia applications. SAF focuses on the running time of the algorithm, and MAP focuses on the quality of all of the solutions. The algorithm we proposed is suitable for multimedia services. In wireless multimedia applications that need to guarantee a specific QoS, our algorithm is the best.
Remark 3.
The simulation experiments and analysis above reveal that HMAA proposed in this paper is a “trade-off” algorithm in a sense, which can find a better balance between the running time and the quality of the solution. The simulation experiment verifies that the running time of HMAA is reasonable and the quality of the solution can meet the business requirements.

5. Conclusions

This paper addresses the anypath routing problem that guarantees QoS in WMNs. According to the time-varying characteristics of WMNs, combined with the idea of anypath routing, the system network modeling is described, and the MCOAP problem is discussed. This paper focuses on the wireless multimedia applications: under a variety of QoS constraints, it is mandatory to meet a specific constraint while approaching other QoS constraints from an approximate perspective. The HMAA algorithm is proposed for the MCOAP problem. The time complexity of HMAA is consistent with that of Dijkstra algorithm, and it is proved to be K-1 approximation. The feasibility of the algorithm is verified by simulation, then its computational efficiency and performance are evaluated. HMAA proposed in this chapter is suitable for WMNs, conforms to wireless multimedia applications, and has good compatibility with existing routing protocols.
As for future research work, we plan to study an even better solution and faster algorithm for the MCOAP problem according to the time-varying characteristics of wireless networks based on the existing research. An investigation of the comparison of the HMAA with other algorithms [25,26,27] would also be interesting.

Author Contributions

Conceptualization, W.Y.; methodology, W.Y.; software, X.Z.; validation, G.L. and X.Z.; formal analysis, W.Y.; writing—original draft preparation, W.Y.; writing—review and editing, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Tertiary Education Scientific research project of Guangzhou Municipal Education Bureau grant number [202235364], the Special projects in key fields of colleges and universities in Guangdong Province [2021ZDZX1109], the Characteristic innovation projects of colleges and universities in Guangdong Province [2019GKTSCX081], the Open Research Fund from the Guangdong Provincial Key Laboratory of Big Data Computing, the Chinese University of Hong Kong, Shenzhen [B10120210117-OF08], the Guangdong Province Ordinary Colleges and Universities Young Innovative Talents Project Grant [2022KQNCX038], the Natural Science Foundation of Guangdong Province [2019A1515012109], and the National Natural Science Foundation of China [61803090].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All the data and models employed and/or generated during the study appear in the submitted article.

Acknowledgments

This work was supported by the Special projects in key fields of colleges and universities in Guangdong Province, China (No.2021ZDZX1109), the Characteristic innovation projects of colleges and universities in Guangdong Province, China (No.2019GKTSCX081), the Science and Technology Program of Guangzhou, China (No.201804010098), the Open Research Fund from the Guangdong Provincial Key Laboratory of Big Data Computing, the Chinese University of Hong Kong, Shenzhen (No.B10120210117-OF08) and the Guangdong Province Ordinary Colleges and Universities Young Innovative Talents Project Grant (No. 2022KQNCX038).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sanchez-Iborra, R.; Cano, M.D. JOKER: A Novel Opportunistic Routing Protocol. IEEE J. Sel. Areas Commun. 2016, 34, 1690–1703. [Google Scholar] [CrossRef]
  2. Park, P.; Jung, B.C.; Lee, H.; Jung, D.-J. Robust Channel Allocation with Heterogeneous Requirements for Wireless Mesh Backbone Networks. Sensors 2018, 18, 2687. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Aslam, S.; Ansar-ul-Haq; Jang, J.W.; Lee, K.-G. Unified Channel Management for Cognitive Radio Sensor Networks Aided Internet of Things. Sensors 2018, 18, 2665. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Nunes, I.O.; Celes, C.; Nunes, I.; Vaz de Melo, P.O.S.; Loureiro, A.A.F. Combining Spatial and Social Awareness in D2D Opportunistic Routing. IEEE Commun. Mag. 2018, 56, 128–135. [Google Scholar] [CrossRef]
  5. Ning, L.; Martinez-Ortega, J.F.; Diaz, V.H. Cross-layer and Reliable Opportunistic Routing Algorithm for Mobile Ad Hoc Networks. IEEE Sens. J. 2018, 18, 5595–5609. [Google Scholar]
  6. Coutinho, R.; Boukerche, A.; Menezes Vieira, L.; Loureiro, A.A.F. Geographic and Opportunistic Routing for Underwater Sensor Networks. IEEE Trans. Comput. 2016, 65, 548–561. [Google Scholar] [CrossRef]
  7. Coutinho, R.W.L.; Boukerche, A.; Vieira, L.F.M.; Loureiro, A.A.F. Design guidelines for opportunistic routing in underwater networks. IEEE Commun. Mag. 2016, 54, 40–48. [Google Scholar] [CrossRef]
  8. Ghoreyshi, S.M.; Shahrabi, A.; Boutaleb, T. A Novel Cooperative Opportunistic Routing Scheme for Underwater Sensor Networks. Sensors 2016, 16, 297. [Google Scholar] [CrossRef]
  9. Xinming, Z.; Xulei, C.; Long, Y.; Dan, K.S. A Street-centric Opportunistic Routing Protocol Based on Link Correlation for Urban VANETs. IEEE Trans. Mob. Comput. 2016, 15, 1586–1599. [Google Scholar]
  10. Kanthimathi, N.; Dejey. Balanced and Multi-objective Optimized Opportunistic Routing for Underwater Sensor Networks. Wirel. Pers. Commun. 2017, 94, 2417–2440. [Google Scholar] [CrossRef]
  11. Santos, R.; Mosse, D.; Znati, T.; Comfort, L. Design and implementation of a Witness Unit for opportunistic routing in tsunami alert scenarios. Saf. Sci. 2016, 90, 75–83. [Google Scholar] [CrossRef] [Green Version]
  12. Darehshoorzadeh, A.; Grande, R.E.D.; Boukerche, A. Toward a Comprehensive Model for Performance Analysis of Opportunistic Routing in Wireless Mesh Networks. IEEE Trans. Veh. Technol. 2016, 65, 5424–5438. [Google Scholar] [CrossRef]
  13. Dubois-Ferriere, H.; Grossglauser, M.; Vetterli, M. Valuable Detours: Least-Cost Anypath Routing. IEEE ACM Trans. Netw. 2011, 19, 333–346. [Google Scholar] [CrossRef] [Green Version]
  14. Laufer, R.; Dubois-Ferriere, H.; Kleinrock, L. Polynomial-Time Algorithms for Multirate Anypath Routing in Wireless Multihop Networks. IEEE ACM Trans. Netw. 2012, 20, 742–755. [Google Scholar] [CrossRef] [Green Version]
  15. Mazumdar, S.P.; Bose, S.K.; Zhong, W.D. Multicast Least Cost Anypath Routing: Route Cost Calculations and Forwarding. IEEE Commun. Lett. 2012, 16, 1652–1655. [Google Scholar] [CrossRef]
  16. Fang, X.; Yang, D.; Xue, G. MAP: Multiconstrained Anypath Routing in Wireless Mesh Networks. IEEE Trans. Mob. Comput. 2013, 12, 1893–1906. [Google Scholar] [CrossRef]
  17. Rak, J. LLA: A New Anypath Routing Scheme Providing Long Path Lifetime in VANETs. IEEE Commun. Lett. 2014, 18, 281–284. [Google Scholar] [CrossRef]
  18. Meng, T.; Wu, F.; Yang, Z.; Chen, G.; Vasilakos, A.V. Spatial Reusability-Aware Routing in Multi-Hop Wireless Networks. IEEE Trans. Comput. 2016, 65, 244–255. [Google Scholar] [CrossRef] [Green Version]
  19. Wang, J.; Yue, H.; Hai, L.; Fang, Y. Spectrum-Aware Anypath Routing in Multi-Hop Cognitive Radio Networks. IEEE Trans. Mob. Comput. 2017, 16, 1176–1187. [Google Scholar] [CrossRef]
  20. Huang, J.; Huang, X.; Ma, Y. Routing with multiple quality-of-services constraints: An approximation perspective. J. Netw. Comput. Appl. 2012, 35, 469–479. [Google Scholar] [CrossRef]
  21. Quang, P.T.A.; Piamrat, K.; Singh, K.D.; Viho, C. Video Streaming over Ad-hoc Networks: A QoE-based Optimal Routing Solution. IEEE Trans. Veh. Technol. 2017, 66, 1533–1546. [Google Scholar] [CrossRef]
  22. Larsson, P.; Johansson, N. Multiuser diversity forwarding in multihop packet radio networks. IEEE Wirel. Commun. Netw. Conf. 2005, 4, 2188–2194. [Google Scholar]
  23. Choudhury, R.R.; Vaidya, N.H. MAC-layer anycasting in ad hoc networks. Acm Sigcomm Comput. Commun. Rev. 2004, 34, 75–80. [Google Scholar] [CrossRef]
  24. Jain, S.; Das, S.R. Exploiting path diversity in the link layer in wireless ad hoc networks. Ad Hoc Networks 2008, 6, 805–825. [Google Scholar] [CrossRef]
  25. Singkibud, P.; Mukdasai, K. Robust passivity analysis of uncertain neutral-type neural networks with distributed interval time-varying delay under the effects of leakage delay. J. Math. Comput. Sci. 2022, 26, 269–290. [Google Scholar] [CrossRef]
  26. Jiang, Q.; Leung, V.C.M.; Tang, H. Statistical QoS-Guaranteed Traffic Rate Adaptation for Wireless Scalable Video Streaming. IEEE Syst. J. 2022, 16, 3433–3436. [Google Scholar] [CrossRef]
  27. Zia, K.; Chiumento, A.; Havinga, P.J.M. AI-Enabled Reliable QoS in Multi-RAT Wireless IoT Networks: Prospects, Challenges, and Future Directions. IEEE Open J. Commun. Soc. 2022, 3, 1906–1929. [Google Scholar] [CrossRef]
Figure 1. An example of the anypath computed by HMAA algorithm.
Figure 1. An example of the anypath computed by HMAA algorithm.
Mathematics 10 04557 g001
Figure 2. (a) Anypath P s * by HMAA and (b) optimal Anypath P s o p t .
Figure 2. (a) Anypath P s * by HMAA and (b) optimal Anypath P s o p t .
Mathematics 10 04557 g002
Figure 3. Running Time vs. the number of running for MAP, HMAA and SAF.
Figure 3. Running Time vs. the number of running for MAP, HMAA and SAF.
Mathematics 10 04557 g003
Figure 4. Experiment on real WMNs network. (a) the NTT network topology. (b) Anypath P s * found by HMAA.
Figure 4. Experiment on real WMNs network. (a) the NTT network topology. (b) Anypath P s * found by HMAA.
Mathematics 10 04557 g004
Figure 5. Anypath Length vs. number of nodes for MAP, HMAA and SAF.
Figure 5. Anypath Length vs. number of nodes for MAP, HMAA and SAF.
Mathematics 10 04557 g005
Figure 6. Analysis of the approximation ratio.
Figure 6. Analysis of the approximation ratio.
Mathematics 10 04557 g006
Table 1. Frequently used notations.
Table 1. Frequently used notations.
s, tthe source node and the destination node, respectively
m, nthe edge and the node number of graph G, respectively
w i ( v ) ith weight of node v
p ( v , u ) forwarding probability from node v to node u
Fforwarding sets of node v
p ( v , F ) forwarding probability from node v to forwarding sets F
Kthe number of QoS requirements
W the set of weights of the edges
L the set of constraints
L i ith QoS requirement
P s the anypath routing from source node s to destination node t
P s o p t the optimal anypath routing
P s * the approximate optimal anypath routing
w i ( v , P s ) ith weight from node v to destination node t along P s
w M ( v ) the maximum weight of node v
w M ( v , P s ) the maximum weight from node v to destination node t along P s
w M ( F , P s ) the maximum weight from forwarding sets F to destination node t along P s
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yang, W.; Zeng, X.; Lai, G. A Guaranteed Approximation Algorithm for QoS Anypath Routing in WMNs. Mathematics 2022, 10, 4557. https://doi.org/10.3390/math10234557

AMA Style

Yang W, Zeng X, Lai G. A Guaranteed Approximation Algorithm for QoS Anypath Routing in WMNs. Mathematics. 2022; 10(23):4557. https://doi.org/10.3390/math10234557

Chicago/Turabian Style

Yang, Weijun, Xianxian Zeng, and Guanyu Lai. 2022. "A Guaranteed Approximation Algorithm for QoS Anypath Routing in WMNs" Mathematics 10, no. 23: 4557. https://doi.org/10.3390/math10234557

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop