Next Article in Journal
Characterization of Sorghum Processed through Dry Heat Treatment and Milling
Previous Article in Journal
Fundamental Research on Detecting Contradictions in Requirements: Taxonomy and Semi-Automated Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A QoS-Guaranteed and Congestion-Controlled SDN Routing Strategy for Smart Grid

1
School of Automation, Central South University, Changsha 410017, China
2
School of Computer Science and Engineering, Central South University, Changsha 410017, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(15), 7629; https://doi.org/10.3390/app12157629
Submission received: 6 July 2022 / Revised: 23 July 2022 / Accepted: 25 July 2022 / Published: 28 July 2022
(This article belongs to the Section Applied Industrial Technologies)

Abstract

:
The smart grid (SG) is an integration of a traditional power grid with advanced information and communication infrastructure for a large number of electrical applications. Despite all these advantages that the SG will bring, certain issues arise when designing a high-quality SG communication network. One of the critical challenges is that the existing routing strategies in smart power grids are incapable of guaranteeing differentiated QoS requirements considering the network dynamics. To address this limitation, we propose an SDN routing algorithm called the QoS-guaranteed and congestion-controlled OpenFlow routing strategy (QCORS) to satisfy the various communication demands by utilizing the flexibility of SDN. Gaining from its open and programmable idea in SDN, the proposed strategy is expected to divide the link into different congestion levels based on predicting the future congestion status from transmission links. Then packets are expected to be transmitted to routers through links under lower load conditions. The simulation results have demonstrated that the proposed method can reduce the average peer-to-peer delay of all the vocational flow and guarantee the reliability of the network.

1. Introduction

The growing consumption of electricity attracts more attention to power quality, environmental protection, and cost. Instead, the traditional power grid model [1] has low efficiency and many unsafe factors, making it difficult to meet the increasing demand for electricity. Thus smart grid [2] (SG) is proposed to improve the situation. SGs [2], as electricity supply networks, bring new solutions to optimize the operations of all functional units from electricity generation to end-customers through communication technologies. By introducting the communication system layer to control, monitor, and automate the entire network of power systems [3,4], the SG becomes more flexible. The hierarchy of the SG is shown in Figure 1. Nowadays, with the implementation of many recent network technologies [5,6,7,8,9], the power grid has new requirements on availability and reliability.
As shown in Figure 1, there are many applications in the power system layer (a), including power production units, power transmission networks, power distribution networks, etc. Communication serves as the backbone in the creation of all the involved applications and technologies. According to characteristics of diverse applications, the smart grid applies different communication technologies in the communication layer (b) to make the power system intelligent. Specifically, the SG supports different applications based on the integrated high-speed two-way communication network, such as advanced measurement system, demand response (DR) [10], and distribution automation (DA) [11]. Moreover, the data communication network associated with the power grid consists of three parts: the wide area network (WAN), the neighborhood area network (NAN), and the home area network (HAN). As the “last kilometer” of data collection and user access in the SG, NAN needs to provide high quality of service (QoS) for different power application services in particular.
Although many approaches have been proposed to achieve high QoS in NAN, its personalized QoS requirements for diverse applications [12] are difficult to meet. For example, video monitoring, as a general service in daily life, is expected to balance including delay and packet loss rate [13]. Instead, for some other applications, their QoS requirements are to keep stable data transmission rates. Hence, there are great challenges to the SG NANs neighborhood area network because of the diverse heterogeneous applications and distinguished QoS requirements. There is an urgent demand for a controllable, flexible, and open business platform to realize a unified controlling and coordinated scheduling of the SG [14]. Moreover, it is critical to find a unified solution for the SG to improve the utilization and QoS simultaneously under a time-varying network. In this paper, we associate the QoS demand with the congestion control [15,16,17] to transform such a hard-evaluated metric into a more realistic one.
A software defined network (SDN) [18,19,20] presents a solution by separating the function of the network controlling from data transmission and brings several advantages. On the one hand, the controlling plane is capable of optimizing networks by management to transfer all complex computational tasks (including QoS analysis and decisions) from hardware to a centralized control [21,22]. On the other hand, the overall network latency has been improved and the data plane only focuses on the data processing [23,24]. Thus, SDN is widely used as an improvement to the SG because of its flexibility. To further verify the feasibility of SDN in the power communication network, a research team [25] found that the centralized controllers of SDN can integrate the resources of the SG dynamically to make the network on-demand, flexible, and robust [26].
The flexible open interfaces in SDN can either realize the on-demand call for different services or handle the process of controlling by programming. The application of SDN in SG is described in Figure 2.
Due to the strong heterogeneity [27] in services and large difference in QoS requirements for SG NAN, the way to provide solutions for each kind of service to meet the link utilization and QoS requirements under the time-varying network resources has become one of the key issues of SG. By utilizing the advantages of SDN controllers, we design a neighbor-routing mechanism, which can balance the neighbor traffic with different service requirements in real time automatically. By considering the data size and the traffic flow, our method is capable of not only monitoring the congestion level of each node in the network, but  also meeting the low delay requirement for distinguished applications. In addition, our apporach increases the flexibility and reliability of the SG communication networks. In summary, our main contributions can be summarized as follows.
  • To meet the QoS requirements of different service flows in the SG, by focusing on the flow trends in the network, we design an SDN-based strategy to predict the future congestion status for the link and construct a virtual congestion-free topology.
  • We propose a queueing model and construct a long-term network utility maximization problem, which can be effectively solved by the Lyapunov optimization theory, to determine the final routing decision.
  • The experimental results of different algorithms show that our QCORS can effectively grasp the advantages of global network and reduce end-to-end delay and packet loss rate.
The rest of this article is organized as follows. Section 2 introduces the research background and Section 3 describes the concrete implementation process of the QCORS mechanism. In Section 4, the performance of the QCORS mechanism is verified by constructing an experimental platform. Section 5 presents a summary of the paper.

2. Related Works

With the combination of SG and new energy, research on various aspects of the power grid are increasing. Based on the high-dimensional random matrix theory, Zhang et al. [28], analyzed the spectral distribution of eigenvalues of the high-dimensional random matrix covariance matrix for massive power consumption data. Based on the statistical characteristics of the random matrix, a method of power status recognition based on the big data of power consumption is proposed. Although this method can meet the requirements of visualization, timeliness, reliability, and security of the power grid, it focuses on the power consumption of the grid and does not consider the service quality requirements of different business flows in the SG, and the communication quality is not guaranteed. SG communication networks must support a variety of different QoS requirements of the application. The current network infrastructure cannot dynamically adapt to the requirements of various applications in the SG [29]. In order to solve this problem, Kim et al. [30] presented an SDN application in the SG, and designed a system architecture for the SG environment. For those SG frameworks supporting SDN, they are beneficial to process flows in micro size. Sydney et al. [31] proposed a mechanism, by deploying OpenFlow technology on SG, to provide automatic fault recovering, load balancing, and QoS guarantee. The algorithm creates two virtual network interfaces to isolate high-priority data streams and best-effort data streams. The data rate of the virtual interface is dynamically configured according to the queue size and can control traffic in the network.
For the SDN network, based on the characteristics of the global management of the controller in the OpenFlow network, it can not only meet the requirements of different QoS, but also can better monitor the resources of the network. At present, the research on the congestion management mechanism under the OpenFlow network framework has had some achievements. Handigol et al. designed a LOBUS algorithm for the SDN network, which simply applies the greedy selection strategy to select the path with the least response time [32]. However, this solution that attempts to use a comprehensive load-balancing algorithm ignores the unpredictable changes in load state, and when the network grows more and more, the network conditions are less controllable. On this basis, Long et al. in [33] introduced a new dynamic balance flow-routing algorithm, namely LABERIO, to monitor the distribution of traffic in the network. LABERIO sets a congestion threshold, which finds the most congested links in the network according to thresholds. Then, it finds the data stream which occupies the maximum bandwidth of the link to redirect routing. Although the LABERIO algorithm prevents the occurrence of network congestion with a certain probability, it only considers the data flow bandwidth parameters, ignoring the requirements of other business attributes. Thus, the network sensitivity and accuracy can not be guaranteed. Nguyen et al. proposed an algorithm, OFFICER, for the path allocation linear optimization model, which creates a default route for all communications [34]. After that, it introduces some deviations from this path and utilizes those deviations to arrive at the destination through different strategies. However, refs. [35,36], when the data in the network is higher, the table items in the flow table will also increase correspondingly, and the use of this algorithm can reduce the service quality of the packets. However, existing approaches have ignored either the dynamic changes of congestion or personalized QoS demands. In addition, the existing solution for such optimization problem is not optimal. Thus, focusing on diverse QoS requirements, we propose QCORS to construct the uncongested routing topology dynamically and adopt the Lyapunov theory to solve the optimization problems.

3. Design of QCORS Algorithm

In this section, we will elaborate on the proposed QCORS in detail. Generally, before the link congestion actually occurs, the traffic on the overloaded link should be transferred to the remaining free links to meet the different QoS requirements of the SG application and improve the link utilization. Based on this idea, QCORS predicts the link loads by analyzing the overall network status and then constructs the virtual uncongested topology. To make final routing decisions, a queueing model is first constructed and further solved by the Lyapunov optimization theory [37,38]. The dynamic analysis of the congestion state not only helps solve the congestion problem of the network, but also guarantees the reliability of the application [39]. By QCORS, the whole network could be continuously re-scheduled according to the application priorities. A list of acronyms used throughout the paper is presented in Table 1.

3.1. Sdn System Framework

SDN is an open and programmable [40,41] architecture, which can obtain the global topological structure of the whole network. It is flexible and controllable, with strong real-time performance and good robustness. The central idea of SDN [42] is to decouple the traditional network architecture that is closely connected with the network equipment at all levels, and obtain a completely disconnected data layer and control layer. Based on this, standardization is implemented at all levels to realize centralized management and control. The established SDN system consists of three parts: the application layer, the control layer, and the forwarding layer.
Specifically, the forwarding layer includes some basic network equipments, which does not have the control ability. Its main target is to complete the data forwarding and processing according to the command of the control layer [43]. The application layer of SDN involves the application of various businesses. In particular, the application layer communicates with the control layer through the northbound interface, where the northbound interface is an upward interface provided to operators or users for access and management. The application layer is composed of various software written by users. The user can thus invoke the API provided by the controller according to his own needs to innovate the network service. The SDN controller creates a logically centralized plane, which provides global control over all SDN node-based physical topologies connected to the controller, making fine-grained control of SG services possible. The control layer is the core part of the whole network, including network link discovery, topology management, network routing strategy, etc. SDN conducts centralized management and control over the whole network through the control layer. The southward interface is a downward provided interface, and the control layer and the data forwarding layer communicate and interact with each other through this interface. Currently, the mature southward interface protocol is OpenFlow protocol.
Due to SDN having coordinated the different types of devices and different communication protocols for data-forwarding layers by standardization, the devices are expected to receive instructions from the control layer. Then, the message can be smoothly transmitted according to the forwarding demand. This design pattern can support different types of traffic flows and develop an optimized routing algorithm.

3.2. Network Model

In this section, we present our network model and the optimization framework in combination with the current SG architecture. To better utilize the Lyapunov optimization [38,44] in our framework, we transform delay into queue length to simplify the analysis. Suppose that the SDN controller has optimized the network k times in the duration T, then the T is divided into k time slots. Each slot is denoted as t.
Given a communication network model, the network topology is defined as a undirected graph composed of communication links and nodes, such as G = { N , L } . Among them, N = { n 1 , , n i , , n m } represents the set of switches or terminals in the network, where m is the total number of nodes. In addition, L represents the set of physical links. Given the source node and destination node n s and n d respectively. The packet transmission path P s d t (suppose n s and n d are not directly connected) at time t consist of a series of node pairs, such as P s d t = { ( n s , n s 1 ) , , ( n j , n i ) , ( n i , n k ) , , ( n d 1 , n d ) } . It is noted that every element in P s d t is physically connected. For the target node n i , I ( n i t ) = { n s , , n j } represents the set of predecessors whereas O ( n i t ) = { n k , , n d } represent the set of successors.

3.3. Link Congestion Degree Judgment

The algorithm proposed in this paper uses OpenFlow to detect the status of the network. When an application is activated suddenly in SG, it may introduce huge quantities of emergency messages in certain links [45,46], thus resulting in transient congestion. Then, QCORS will make decisions on whether the packets need to be processed by sensing the condition of congestion from the link.
Definition 1.
Link load C ( P s d t ) . For a given network topology, the SDN controller is expected to regulate the entire network based on the network load dynamically. Then time slot t, the packet transmission path P s d t consist of a series of node pairs { ( n s , n s 1 ) , , ( n j , n i ) , ( n i , n k ) , , ( n d 1 , n d ) } . To simplify, we denote ( n i , n j ) as p i j . Then, the average transmission rate between the n j and n i is v ( p i j ) . Thus, for the time duration t, the overall link load C ( P s d t ) equals the average transmission rates { v ( p i j ) | p i j P s d t } divided by the bandwidth of the link:
C ( P s d t ) = p i j P s d t v ( p i j ) B s d ,
where p i j denotes the physical link between node n i and n j . The flow rate of each data stream is ( v 1 , , v k , , v n ) respectively, and  B s d indicates the bandwidth of link P s d .
The SDN controller can master the global topology of the entire network and evaluate the degree of congestion in the network by periodic monitoring of the network. In Equation (1), the sum of all the data flows in link P s d occupying the bandwidth of the link can reflect the load of the different links in the network well. The more data streams, the higher the link load.
However, in traditional methods, the route is expected to be switched once the link load is identified as large [47,48]. This brings a negative effect on the network stability. Thus, how to reduce the frequency of route switching is also critical. In this paper, the exponentially weighted moving average (EWMA) algorithm is introduced here to calculate the rectified link load. The controller periodically monitors the status of the link every Ω seconds and calculates the rectified link load in successive cycles as follows:
C ( P s d t ) ¯ = ( 1 α ) C ( P s d t ) α C ( P s d ( t 1 ) ) ,
where α is transition probability of congestion which ranged between 0 and 1. Generally, α is set to 0.1 or 0.01 [24], and we set α to 0.1 in this paper. By introducing Equation (1),  Equation (2) can be rewritten as:
C ( P s d t ) ¯ = ( 1 α ) p i j P s d t v ( p i j ) + α p i j P s d ( t 1 ) v ( p i j ) B s d .
Then, we could calculate the congestion level according to Table 2, where the C ( P s d ) l o w and C ( P s d ) h i g h are identified through the empirical analysis.

3.4. Packet-Redirection Strategy Model

For a given topological pattern, the paths between nodes are calculated by the controller based on the routing algorithm. Routes between a pair of nodes are generally not recalculated unless the topology changes [49]. In this case, when an application flow breaks out, some key links may carry excessive loads. In the previous section, because the link load has been mapped to different levels of congestion, the controller can deal with the links according to the detected situation. Let G denotes a new virtual topology called no congestion link. In this case, if there is a link that is determined to be congested. It is supposed to be blocked to achieve a better transmission performance. An example is shown in Figure 3. Suppose the left one is the original communication topology, and the center link is considered a congested link. Then for the next coming packet, it will choose other links rather than the congested one even if it has to go through more hops to the destination.
(1) Data collection: The node collects data from its predecessor and sends it to the successor. The range of data collection for node n is:
0 a I ( n t ) x n t ( a ) x m a x , n N ,
where x n t ( a ) denotes the amount of data collected by node a in slot t. In addition, a I ( n t ) represents the set of all predecessor nodes of node n at time t, and  x m a x indicates the maximum data size collected by any node in the time slot.
(2) The amount of transmission of the node. Considering time-varying characteristics of link capacity, it is assumed that link capacity is independent and identically distributed in different time slots. Moreover, all the output data should be less than or equal to the link capacity. Thus the transmitted data amounts of node n should have the following constraints:
0 f b O ( n t ) x n t ( b , f ) C n t ( b ) , b O ( n ) ,
where C n t ( b ) represents the link capacity of the link ( n , b ) . Let x n t ( b , f ) denote the sum of f class data transferred between nodes ( n , b ) in slot t. In addition, in slot t, the amount of data that node n sends to node b cannot exceed Q n ( t ) , which is the total queue size in node n at current time t:
0 b O ( n t ) x n t ( b ) Q n ( t ) , n N .
Based on Lyapunov optimization [37,38,44], the network can guarantee stability only if the following inequality can be satisfied,
lim T 1 T t = 0 T 1 n N E [ Q n ( t ) ] < ,
where Q n ( t ) denotes the length of the data queue at node n in slot t. This means the total queue length in the system is bounded in the case of an infinite horizon.
(3) Data queue model: Q n f ( t ) then represents the queue occupied by data of class f. The dynamic of Q n f ( t ) in slot t is
Q n f ( t + 1 ) = Q n f ( t ) + a I ( n ) x n t ( a , f ) b O ( n ) x n t ( b , f ) .
(4) Problem model: Our optimization goal is to maximize the average network utility under the constraints of the entire network. The utility function U ( t ) U f ( t ) uses the logarithm function i.e., U ( t ) = log ( 1 + a I ( n ) x n t ( a ) ) , which is a limited concave function that has continuous and non-decreasing second derivative. Then the optimization problem can be given by
m a x O ( t ) ¯ = lim T 1 T t = 0 T 1 E { U ( t ) } s . t . 0 a I ( n ) x n t ( a ) x m a x , n N , 0 f x n t ( b , f ) C n t ( b ) , b O ( n ) , 0 b O ( n ) x n t ( b ) Q n ( t ) , n N , lim T 1 T t = 0 T 1 n N E Q n ( t ) < .
Because the optimization problem includes a dynamic queue model, it is difficult to be solved by existing convex optimization tools. In this paper, we use the Lyapunov optimization theory, which is generally used to deal with the dynamic problem.
(5) Lyapunov optimization algorithm: Although the Lyapunov function has many kinds of expressions, the second method of the Lyapunov function [50] is most widely used, which is defined as follows:
L ( Q ( t ) ) = 1 2 n f Q n f ( t ) 2 .
Then, we define the Lyapunov Drift by Δ ( t ) . This represents the expected value of change for the Lyapunov function from slot t to slot t + 1 . Thus, the Lyapunov drift for a single slot is defined as
Δ ( t ) = E L ( Q ( t + 1 ) ) L ( Q ( t ) ) Q ( t ) ,
where Δ ( t ) represents the trend of L ( Q ( t ) ) over one time slot. Moreover, for a specific slot t, the smaller Δ ( t ) means slower growth rate of L { Q ( t ) } . By minimizing the Lyapunov shift Δ ( t ) in each time slot, the stabilized data queue that satisfied the delay constraint can be achieved. The network utility function can be integrated into the Lyapunov drift Δ ( t ) to further obtain the drift-minus-utility [51] function Δ V ( t ) :
Δ V ( t ) = Δ ( t ) V E O ( t ) Q ( t ) ,
where V is a nonnegative weight, which represents the network utility O ( t ) in the proportion of Δ V ( t ) . The higher value of V, the higher proportion of O ( t ) in Δ V ( t ) [34]. By minimizing Δ V ( t ) , the queue length in SDN network can be stabilized, and the network throughput is also improved.
Lemma 1.
If there is a constant B 0 , V 0 , ξ 0 , in all time slots t = 0, 1, 2, ... and the possibility of all queue Q ( t ) , the upper bound of Δ V ( t ) is
Δ ( t ) V E O ( t ) | Q ( t ) B + E Δ ˜ u ( t ) | Q ( t ) .
Proof of Lemma 1.
Because Q 0 , b 0 , A 0 , ( Q b ) + + A 2 Q 2 + A 2 + b 2 + 2 Q ( A b ) , then
L { Q ( t + 1 ) } L { Q ( t ) } = 1 2 n f Q n f ( t + 1 ) 2 Q n f ( t ) 2 = 1 2 n f Q n f ( t ) b O ( n ) x n ( b , f ) + + a I ( n ) x n ( a , f ) 2 Q n f ( t ) 2 1 2 n f a I ( n ) x n ( a , f ) 2 + b O ( n ) x n ( b , f ) 2 + 2 Q n f ( t ) a I ( n ) x n ( a , f ) b O ( n ) x n ( b , f ) .
   □
Note that B can be seen as a constant in practical problems, which satisfies
B N 2 2 ( x m a x 2 + C m a x 2 ) .
Then Δ ˜ u ( t ) can be given as follows:
Δ ˜ u ( t ) = n f Q n f ( t ) ( a I ( n ) x n ( a , f ) b O ( n ) x n ( b , f ) ) V U ( t ) .
According to Lyapunov drift theory [52], the maximum time-averaged network utility problem can be transformed into a minimized drift function problem. This can be done by removing the queue stability constraint and turning a time-averaged problem into a dynamic programming problem, which makes the optimization problem (9) further simplified as the following optimization problem (17):
m i n Δ ˜ u ( t ) s . t . 0 a I ( n ) x n t ( a ) x m a x , n N 0 f x n t ( b , f ) C n t ( b ) , b O ( n ) 0 b O ( n ) x n t ( b ) Q n ( t ) , n N .
In each slot t, all the states in the network can be seen as known quantities. This article only studies the routing in the network, and we can simplify the problem as follows:
m i n Q n ( t ) x n t ( b , f ) V U ( t ) s . t . 0 x n t ( b , f ) C n t ( b ) , b O ( n ) 0 x n t ( b , f ) Q n ( t ) , n N 0 Q n ( t ) Q m a x ,
where Q m a x represents the maximum queue length of the node. Because the utility function U ( t ) is a concave and derivative function, the throughput issue is a convex optimization problem. Let U * ( t ) be the optimal solution of this problem, based on convex optimization theory [53], and the  U * ( t ) is achieved by
U * ( t ) = [ U 1 ( Q n f ( t ) V ) ] 0 Q m a x ,
where U 1 ( . ) represents the first derivative of the inverse function of the utility function U ( . ) and [ x ] a b = m i n ( m a x ( x , a ) , b ) . The process of QCOSR is illustrated in the Algorithm 1.
Algorithm 1 QCORS
Input: Input the Network topology G, initialize the parameters of differentiating packets and their priority, set the congestion level threshold value C ( P s d ) l o w , C ( P s d ) h i g h , and V.
Output: Output the path from s to d with optimal routing.
1:
Calculate the link congestion C ( P s d t ) ¯ between node s and node d
2:
while C ( P s d t ) ¯ C ( P s d ) l o w do
3:
    Check a new topology G
4:
    Obtain the current optimal path based on the Equation (18)
5:
    if  C ( P s d ) l o w C ( P s d t ) ¯ C ( P s d ) h i g h  then
6:
        Select the packet with the highest priority for the new route
7:
    end if
8:
    if  C ( P s d t ) ¯ C ( P s d ) h i g h  then
9:
        Select a new routing transmission except for video packets
10:
    end if
11:
end while

4. Experiments and Performance Analysis

4.1. Implementation Details

In this section, the proposed algorithm is implemented by using the floodlight controller [54] in the experimental environment of Linux Ubuntu14.04. In the floodlight controller, we mainly add two modules. One is used to detect link congestion periodically, and another one is to find the optimal route according to the optimization function. The controller adds the code of the QCORS algorithm and recompiles the simulation software. The experiment topology was built by using Mininet 2.0.0, and the southbound interface protocol used Openflow 1.3. SDN network topologies of 2 to 36 nodes are used to simulate the network of smart power grid neighbors, and the link bandwidth is 100 M, and the maximum length of each queue is 1000 packets. The simulation time is 600 s, and the average value of each experiment is repeated 10 times. The value of V (defined in Equation (12)) is 1000. An example of SDN network simulation with 10 nodes in our experiments is shown in Figure 4. Moreover, some NAN applications are configured and differentiated as shown in Table 2. It is noted that those applications have all been activated in the simulation simultaneously. In other words, though the congestion level varies over time, the network is always congested.

4.2. Performance on Different Applications

In this section, we compare the performance of the proposed strategy on different applications, wherein the basic setting is shown in Section 4.1. It is noted that, for an arbitrary node, it will randomly select another node to perform one of the designed applications from the table. Therefore, to reduce the bias caused by such randomness and make the experimental results more accurate and robust, we have conducted experiments on each kind of topology ten times and adopted the average value as the final result.
Figure 5a shows the end-to-end delay comparison of data packets for different service flows (AMI/power management, requested AMI/power quality, periodic AMI/power quality, video surveillance). From Figure 5a, as the network node number increases, the network load also increases. At this point, the time of packet staying in the queue also increases. The QCORS considers the extent of the congestion in the middle forwarding link, and leads the packet to the lighter path according to the link load. Thus, the proposed algorithm reduces the queuing time of the packet, and leads to different end-to-end delays of different priorities. It can also guarantee the delay and reliability of the higher-priority data, and reduce the congestion degree of the network.
Figure 5b shows the variation of the average packet loss rate of four different priorities in the neighborhood network. It can be seen from the figure that in the case of fewer network nodes, the mechanism can guarantee the QoS requirement of different service flows. When the network congestion is aggravated, the QCORS mechanism guarantees QoS of packets by prioritizing the higher-priority packets. Therefore, the higher priority, the smaller packet loss rate.

4.3. Performance Comparison with Baselines

In this section, we compare the performance of LOBUS, LABERIO, OFFICER, and QCORS on different network topologies. The comparison on those approaches are shown below.
  • LOBUS [32]: This method directly use the greedy selection strategy to select the path with the least response time, and instead ignores the unpredictable changes in the load state.
  • LABERIO [33]: Although LABERIO monitors the distribution of traffic in the network, it only considers the data flow bandwidth while ignoring the requirements of other business attributes.
  • OFFICER [34]: This approach introduce some additional deviations to the path allocation and utilizes those deviations to arrive at the destination through different strategies. However, the increasing data reduce the service quality of this method.
To address this limitation, our proposed SDN routing algorithm, QCORS, is expected to divide the link into different congestion levels based on predicting future congestion status from transmission links. Then packets are expected to be transmitted to routers through links under lower load conditions.
Figure 6a shows the comparison of the average end-to-end delay of the network with the network size of the four routing mechanisms. When the network is congested, the QCORS is overloaded by the intermediate link load-aware congestion criteria and provides a lighter link for different traffic flows according to the priority. The QCORS algorithm implements congestion control in the network and reduces routing concussion and the congestion of the network. From Figure 6a, we can see that LOBUS is a global load algorithm. When the network is growing, its delay is uncontrollable. LABERIO does not optimize the routing criteria for different service QoS requirements. Although the OFFICER algorithm considered this issue, the processing delay of the different strategies is costly, so the time delay of the LABERIO algorithm and OFFICER algorithm is not much different.
The average packet delivery rate of the four routing strategies varies with the size of the network as shown in Figure 6b. The network load is lighter when the number of nodes is less than or equal to 16. In addition to the LOBUS, the average packet loss rates of the other three strategies are below 10%. The packet delivery rate of LOBUS algorithm decreases rapidly due to the defect of the routing criterion and routing mechanism, whereas the other three routing mechanisms improve the reliability of the whole network through a multi-route optimization strategy. Although LABERIO also considers the possibility of congestion in the network, it does not take QoS requirements for different application flows into account. The OFFICER mechanism guarantees a certain QoS requirement, but cannot provide distinguish service for different priorities. The QCORS algorithm proposed in this paper not only considers the packet transmission rate, but also takes the length of the network node cache queue into account. Therefore, QCORS has the lowest packet loss rate.
Figure 6c clearly shows the jitter of the four algorithms. The link jitter reflects the stability of the whole network, and performs as an important indicator of the communication service quality. When the link jitter is large, the quality of the whole communication network will decline rapidly, and it cannot provide good service to users. It can be seen from the results that the link jitter of the four algorithms increases with the increase of the number of nodes, but overall, QCORS performs best, whereas the LOBUS algorithm is the most unstable and performs the worst. As can be seen from the end-to-end delay results in Figure 6a, QCORS performs well. Because QCORS is designed to reduce end-to-end latency, the algorithm also helps reduce jitter and optimizes link stability.

4.4. Limitations

Although our method effectively controls the network congestion and improves the QoS, it still has several limitations. First, in our designed approach, many parameters are assumed artificially. Instead, at present, deep learning has been widely used in many different fields, and has achieved remarkable results. Thus, we will use deep learning technology to optimize the relevant parameters in the SDN routing strategies in our future works. Secondly, due to the more complex network and more diverse types of data and equipment resources, it brings more serious security threats. How to build a secure and privacy-persevering mechanism for the SDN routing protocol in SGs is the next step to be considered.

5. Conclusions

Based on the QoS requirements of different application streams in SG neighbor regional networks, this paper presents a QoS-guaranteed and congestion-controlled SDN routing method. First, the congestion levels of link loads in the network are analyzed. According to the analysis results, congestion mapping can find the congestion link in a continuous period, and the congestion link is processed by building a virtual non-congested topology to replace the congested link. Secondly, an optimal frame is introduced into the system for the purpose of maximizing the utility of the whole network considering the new virtual topology. We propose a dispatching algorithm for the nodes in the network guiding packets to select the appropriate route, according to the various needs of SG packets. Numerical results illustrate that the QCORS method proposed in this paper is better than many existing methods in terms of end-to-end delay and packet losing rate. Therefore, the method of this paper is feasible and efficient.

Author Contributions

Methodology, validation and analysis: Y.S. and H.C.; writing of original draft and writing—review and editing, Y.S., P.J., X.D. and H.C.; project administration and funding acquisition: X.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the National Natural Science Foundation of China Project (62172441, 62172449, 61772553), the local science and technology developing fundation guided by central goverment (Free exploration project 2021Szvup166), the Opening Project of State Key Laboratory of Nickel and Cobalt Resources Comprehensive Utilization (GZSYS-KY-2020-033), and the Fundamental Research Funds for the Central Universities of Central South University (2021zzts0201).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the Editor-in-Chief, the Associate Editor, and the reviewers for their insightful comments and suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fang, X.; Misra, S.; Xue, G.; Yang, D. Smart grid—The new and improved power grid: A survey. IEEE Commun. Surv. Tutorials 2011, 14, 944–980. [Google Scholar] [CrossRef]
  2. Tuballa, M.L.; Abundo, M.L. A review of the development of Smart Grid technologies. Renew. Sustain. Energy Rev. 2016, 59, 710–725. [Google Scholar] [CrossRef]
  3. Gungor, V.C.; Sahin, D.; Kocak, T.; Ergut, S.; Buccella, C.; Cecati, C.; Hancke, G.P. A survey on smart grid potential applications and communication requirements. IEEE Trans. Ind. Inform. 2012, 9, 28–42. [Google Scholar] [CrossRef] [Green Version]
  4. Abrahamsen, F.E.; Ai, Y.; Cheffena, M. Communication technologies for smart grid: A comprehensive survey. Sensors 2021, 21, 8087. [Google Scholar] [CrossRef] [PubMed]
  5. Deng, X.; Sun, Z.; Li, D.; Luo, J.; Wan, S. User-centric computation offloading for edge computing. IEEE Internet Things J. 2021, 8, 12559–12568. [Google Scholar] [CrossRef]
  6. Liu, S.; Yu, J.; Deng, X.; Wan, S. FedCPF: An efficient-communication federated learning approach for vehicular edge computing in 6G communication networks. IEEE Trans. Intell. Transp. Syst. 2021, 23, 1616–1629. [Google Scholar] [CrossRef]
  7. Wan, S.; Ding, S.; Chen, C. Edge computing enabled video segmentation for real-time traffic monitoring in internet of vehicles. Pattern Recognit. 2022, 121, 108146. [Google Scholar] [CrossRef]
  8. Wei, W.; Yang, R.; Gu, H.; Zhao, W.; Chen, C.; Wan, S. Multi-objective optimization for resource allocation in vehicular cloud computing networks. IEEE Trans. Intell. Transp. Syst. 2021. [Google Scholar] [CrossRef]
  9. Chen, C.; Liu, L.; Wan, S.; Hui, X.; Pei, Q. Data Dissemination for Industry 4.0 Applications in Internet of Vehicles Based on Short-term Traffic Prediction. ACM Trans. Internet Technol. (TOIT) 2021, 22, 1–18. [Google Scholar] [CrossRef]
  10. Siano, P. Demand response and smart grids—A survey. Renew. Sustain. Energy Rev. 2014, 30, 461–478. [Google Scholar] [CrossRef]
  11. Rajalingham, G.; Gao, Y.; Ho, Q.D.; Le-Ngoc, T. Quality of service differentiation for smart grid neighbor area networks through multiple RPL instances. In Proceedings of the 10th ACM Symposium on QoS and Security for Wireless and Mobile Networks, Montreal, QC, Canada, 21–26 September 2014; pp. 17–24. [Google Scholar]
  12. Baroudi, U.; Bin-Yahya, M.; Alshammari, M.; Yaqoub, U. Ticket-based QoS routing optimization using genetic algorithm for WSN applications in smart grid. J. Ambient Intell. Humaniz. Comput. 2019, 10, 1325–1338. [Google Scholar] [CrossRef]
  13. Ding, S.; Qu, S.; Xi, Y.; Wan, S. A long video caption generation algorithm for big video data retrieval. Future Gener. Comput. Syst. 2019, 93, 583–595. [Google Scholar] [CrossRef]
  14. Ho, Q.D.; Gao, Y.; Le-Ngoc, T. Challenges and research opportunities in wireless communication networks for smart grid. IEEE Wirel. Commun. 2013, 20, 89–95. [Google Scholar]
  15. Mohapatra, B.K.; Gupta, D.K.; Panigrahi, C.K.; Kabat, S.R. Congestion Management in the Deregulated Market: A Brief Survey. Innov. Electr. Power Eng. Commun. Comput. Technol. 2022, 814, 1–10. [Google Scholar]
  16. Al Zishan, A.; Haji, M.M.; Ardakanian, O. Adaptive congestion control for electric vehicle charging in the smart grid. IEEE Trans. Smart Grid 2021, 12, 2439–2449. [Google Scholar] [CrossRef]
  17. Cokic, M.; Seskar, I.; Popovic, D. Communication Congestion Impact on State Estimation for Smart Grid Infrastructure. In Proceedings of the 2021 29th Telecommunications Forum (TELFOR), Belgrade, Serbia, 23–24 November 2021; pp. 1–4. [Google Scholar]
  18. Kreutz, D.; Ramos, F.M.; Verissimo, P.E.; Rothenberg, C.E.; Azodolmolky, S.; Uhlig, S. Software-defined networking: A comprehensive survey. Proc. IEEE 2014, 103, 14–76. [Google Scholar] [CrossRef] [Green Version]
  19. Khan, S.; Gani, A.; Wahab, A.W.A.; Guizani, M.; Khan, M.K. Topology discovery in software defined networks: Threats, taxonomy, and state-of-the-art. IEEE Commun. Surv. Tutor. 2016, 19, 303–324. [Google Scholar] [CrossRef]
  20. Blenk, A.; Basta, A.; Reisslein, M.; Kellerer, W. Survey on network virtualization hypervisors for software defined networking. IEEE Commun. Surv. Tutor. 2015, 18, 655–685. [Google Scholar] [CrossRef] [Green Version]
  21. Dwaraki, A.; Wolf, T. Adaptive service-chain routing for virtual network functions in software-defined networks. In Proceedings of the 2016 workshop on Hot topics in Middleboxes and Network Function Virtualization, Florianopolis, Brazil, 22–26 August 2016; pp. 32–37. [Google Scholar]
  22. Attia, M.B.; Nguyen, K.K.; Cheriet, M. QoS-aware software-defined routing in smart community network. Comput. Netw. 2018, 147, 221–235. [Google Scholar] [CrossRef]
  23. Nunes, B.A.A.; Mendonca, M.; Nguyen, X.N.; Obraczka, K.; Turletti, T. A Survey of Software-Defined Networking: Past, Present, and Future of Programmable Networks. IEEE Commun. Surv. Tutor. 2014, 16, 1617–1634. [Google Scholar] [CrossRef] [Green Version]
  24. Kamboj, P.; Pal, S.; Mehra, A. A QoS-aware Routing based on Bandwidth Management in Software-Defined IoT Network. In Proceedings of the 2021 IEEE 18th International Conference on Mobile Ad Hoc and Smart Systems (MASS), Denver, CO, USA, 4–7 October 2021; pp. 579–584. [Google Scholar]
  25. Zhang, J.; Seet, B.C.; Lie, T.T.; Foh, C.H. Opportunities for software-defined networking in smart grid. In Proceedings of the 2013 9th International Conference on Information, Communications & Signal Processing, Tainan, Taiwan, 10–13 December 2013; pp. 1–5. [Google Scholar]
  26. Lange, S.; Gebert, S.; Zinner, T.; Tran-Gia, P.; Hock, D.; Jarschel, M.; Hoffmann, M. Heuristic approaches to the controller placement problem in large scale SDN networks. IEEE Trans. Netw. Serv. Manag. 2015, 12, 4–17. [Google Scholar] [CrossRef]
  27. Huang, L.; Neely, M.J. Delay reduction via Lagrange multipliers in stochastic network optimization. In Proceedings of the 2009 7th International Symposium on Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks, Seoul, Korea, 23–27 June 2009; pp. 1–10. [Google Scholar]
  28. Zhang, Q.; Wan, S.; Wang, B.; Gao, D.W.; Ma, H. Anomaly detection based on random matrix theory for industrial power systems. J. Syst. Archit. 2019, 95, 67–74. [Google Scholar] [CrossRef]
  29. Guck, J.W.; Van Bemten, A.; Reisslein, M.; Kellerer, W. Unicast QoS routing algorithms for SDN: A comprehensive survey and performance evaluation. IEEE Commun. Surv. Tutor. 2017, 20, 388–415. [Google Scholar] [CrossRef]
  30. Meloni, A.; Pegoraro, P.A.; Atzori, L.; Sulis, S. Bandwidth and accuracy-aware state estimation for smart grids using software defined networks. Energies 2017, 10, 858. [Google Scholar] [CrossRef] [Green Version]
  31. Kim, J.; Filali, F.; Ko, Y.B. Trends and Potentials of the Smart Grid Infrastructure: From ICT Sub-System to SDN-Enabled Smart Grid Architecture. Appl. Sci. 2015, 5, 706–727. [Google Scholar] [CrossRef] [Green Version]
  32. Handigol, N.; Seetharaman, S.; Flajslik, M.; McKeown, N.; Johari, R. Plug-n-Serve: Load-balancing web traffic using OpenFlow. ACM Sigcomm Demo 2009, 4, 6. [Google Scholar]
  33. Long, H.; Shen, Y.; Guo, M.; Tang, F. LABERIO: Dynamic load-balanced routing in OpenFlow-enabled networks. In Proceedings of the 2013 IEEE 27th International Conference on Advanced Information Networking and Applications (AINA), Barcelona, Spain, 25–28 March 2013; pp. 290–297. [Google Scholar]
  34. Nguyen, X.N.; Saucez, D.; Barakat, C.; Turletti, T. OFFICER: A general optimization framework for OpenFlow rule allocation and endpoint policy enforcement. In Proceedings of the 2015 IEEE Conference on Computer Communications (INFOCOM), Hong Kong, China, 26 April–1 May 2015; pp. 478–486. [Google Scholar]
  35. Deng, X.; Long, F.; Li, B.; Cao, D.; Pan, Y. An influence model based on heterogeneous online social network for influence maximization. IEEE Trans. Netw. Sci. Eng. 2019, 7, 737–749. [Google Scholar] [CrossRef]
  36. Chen, L.W.; Ho, Y.F. Centimeter-grade metropolitan positioning for lane-level intelligent transportation systems based on the internet of vehicles. IEEE Trans. Ind. Inform. 2018, 15, 1474–1485. [Google Scholar] [CrossRef]
  37. Zheng, L.; Cai, L. A distributed demand response control strategy using Lyapunov optimization. IEEE Trans. Smart Grid 2014, 5, 2075–2083. [Google Scholar] [CrossRef]
  38. Yang, T.; Kong, L.; Zhao, N.; Sun, R. Efficient energy and delay tradeoff for vessel communications in SDN based maritime wireless networks. IEEE Trans. Intell. Transp. Syst. 2021, 22, 3800–3812. [Google Scholar] [CrossRef]
  39. Tang, L.; Zhao, G.; Wang, C.; Zhao, P.; Chen, Q. Queue-aware reliable embedding algorithm for 5G network slicing. Comput. Netw. 2018, 146, 138–150. [Google Scholar] [CrossRef]
  40. Rinaldi, S.; Bonafini, F.; Ferrari, P.; Flammini, A.; Sisinni, E.; Di Cara, D.; Panzavecchia, N.; Tinè, G.; Cataliotti, A.; Cosentino, V.; et al. Characterization of IP-Based communication for smart grid using software-defined networking. IEEE Trans. Instrum. Meas. 2018, 67, 2410–2419. [Google Scholar] [CrossRef]
  41. Rehmani, M.H.; Davy, A.; Jennings, B.; Assi, C. Software defined networks-based smart grid communication: A comprehensive survey. IEEE Commun. Surv. Tutor. 2019, 21, 2637–2670. [Google Scholar] [CrossRef]
  42. Imran; Ghaffar, Z.; Alshahrani, A.; Fayaz, M.; Alghamdi, A.M.; Gwak, J. A topical review on machine learning, software defined networking, internet of things applications: Research limitations and challenges. Electronics 2021, 10, 880. [Google Scholar]
  43. Keshari, S.K.; Kansal, V.; Kumar, S. A systematic review of quality of services (QoS) in software defined networking (SDN). Wirel. Pers. Commun. 2021, 116, 2593–2614. [Google Scholar] [CrossRef]
  44. Li, Y.; Xia, S.; Cao, B.; Liu, Q. Lyapunov optimization based trade-off policy for mobile cloud offloading in heterogeneous wireless networks. IEEE Trans. Cloud Comput. 2019, 10, 491–505. [Google Scholar] [CrossRef]
  45. Li, P.; Guo, S.; Pan, C.; Yang, L.; Liu, G.; Zeng, Y. Fast congestion-free consistent flow forwarding rules update in software defined networking. Future Gener. Comput. Syst. 2019, 97, 743–754. [Google Scholar] [CrossRef]
  46. Xia, J.; Zhang, S.; Lan, J. MFUC: Mitigating Transient Congestion for Multi-flow Updating in SDN. J. Phys. Conf. Ser. 2022, 2289, 012007. [Google Scholar] [CrossRef]
  47. Chu, C.Y.; Xi, K.; Luo, M.; Chao, H.J. Congestion-aware single link failure recovery in hybrid SDN networks. In Proceedings of the 2015 IEEE Conference on Computer Communications (INFOCOM), Hong Kong, China, 26 April–1 May 2015; pp. 1086–1094. [Google Scholar]
  48. Wang, Y.C.; You, S.Y. An efficient route management framework for load balance and overhead reduction in SDN-based data center networks. IEEE Trans. Netw. Serv. Manag. 2018, 15, 1422–1434. [Google Scholar] [CrossRef]
  49. Tsirigos, A.; Haas, Z.J. Multipath routing in the presence of frequent topological changes. IEEE Commun. Mag. 2001, 39, 132–138. [Google Scholar] [CrossRef]
  50. Balasubramanian, V.; Aloqaily, M.; Reisslein, M. An SDN architecture for time sensitive industrial IoT. Comput. Netw. 2021, 186, 107739. [Google Scholar] [CrossRef]
  51. Ren, J.; Mahfujul, K.M.; Lyu, F.; Yue, S.; Zhang, Y. Joint channel allocation and resource management for stochastic computation offloading in MEC. IEEE Trans. Veh. Technol. 2020, 69, 8900–8913. [Google Scholar] [CrossRef]
  52. Cui, Y.; Lau, V.K.; Wang, R.; Huang, H.; Zhang, S. A survey on delay-aware resource control for wireless systems—Large deviation theory, stochastic Lyapunov drift, and distributed stochastic learning. IEEE Trans. Inf. Theory 2012, 58, 1677–1701. [Google Scholar] [CrossRef] [Green Version]
  53. Boyd, S.; Boyd, S.P.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  54. Khattak, Z.K.; Awais, M.; Iqbal, A. Performance evaluation of OpenDaylight SDN controller. In Proceedings of the 2014 20th IEEE international conference on parallel and distributed systems (ICPADS), Hsinchu, Taiwan, 16–19 December 2014; pp. 671–676. [Google Scholar]
Figure 1. The structure of smart grid. (a) Power system layer; (b) Communication system layer.
Figure 1. The structure of smart grid. (a) Power system layer; (b) Communication system layer.
Applsci 12 07629 g001
Figure 2. Application of SDN in SG. By applying programmable SDN Controllers, the communication resource in SG will be dynamically rescheduled.
Figure 2. Application of SDN in SG. By applying programmable SDN Controllers, the communication resource in SG will be dynamically rescheduled.
Applsci 12 07629 g002
Figure 3. The visualization of our strategy. (a) Topology at time t; (b) Topology at time t + 1 . The red link represents the “to be congested” link, and the green represents the “no congestion” link. Our designed algorithm is expected to avoid selecting the “congestion link” to improve the next-coming transmission.
Figure 3. The visualization of our strategy. (a) Topology at time t; (b) Topology at time t + 1 . The red link represents the “to be congested” link, and the green represents the “no congestion” link. Our designed algorithm is expected to avoid selecting the “congestion link” to improve the next-coming transmission.
Applsci 12 07629 g003
Figure 4. The topology of the SDN network (with 10 nodes) generated by mininet during simulation. For an arbitrary node, it will select another node to perform one of the designed applications in Table 3 randomly.
Figure 4. The topology of the SDN network (with 10 nodes) generated by mininet during simulation. For an arbitrary node, it will select another node to perform one of the designed applications in Table 3 randomly.
Applsci 12 07629 g004
Figure 5. Performance comparison by QCORS w.r.t. different applications. (a) Comparison w.r.t. average delay. (b) Comparison w.r.t. packet loss.
Figure 5. Performance comparison by QCORS w.r.t. different applications. (a) Comparison w.r.t. average delay. (b) Comparison w.r.t. packet loss.
Applsci 12 07629 g005
Figure 6. Performance comparison w.r.t. different strategies. The black line is our proposed approach. (a) Average delay comparison. (b) Packet loss comparison. (c) Average jitter comparison.
Figure 6. Performance comparison w.r.t. different strategies. The black line is our proposed approach. (a) Average delay comparison. (b) Packet loss comparison. (c) Average jitter comparison.
Applsci 12 07629 g006
Table 1. The abbreviations and the corresponding definitions.
Table 1. The abbreviations and the corresponding definitions.
AbbreviationsDefinitions
AMIAdvanced Metering Infrastructure
DRDemand Response
DADistribution Automation
HANHome Area Network
LABERIO [33]LoAd-BalancEd Routing wIth OpenFlow
LOBUS [32]LOad-Balancing over UnStructured networks
NANNeighborhood Area Network
QoSQuality of Service
QCORS (our work)QoS-guaranteed and Congestion-controlled OpenFlow Routing Strategy
SGSmart Grid
WANWide Area Network
Table 2. Link load and congestion level mapping.
Table 2. Link load and congestion level mapping.
Value of Congestion LevelTraffic Load Range at Link sd
(1) No congestion C ( P s d t ) ¯ C ( P s d t ) l o w
(2) Low congestion C ( P s d t ) l o w C ( P s d t ) ¯ C ( P s d t ) h i g h
(3) Heavy congestion C ( P s d t ) ¯ C ( P s d t ) h i g h
Table 3. Smart grid applications setting.
Table 3. Smart grid applications setting.
ApplicationsIntervalSizePriorityLatency
Periodic AMI15 s1231≤15 s
AMI management300 s40002≤1 s
Periodic power quality3 s30001≤3 s
Power management300 s40002≤1 s
Requested AMIOn-demand1233≤5 s
Requested power qualityOn-demand20003≤5 s
Video surveillanceConstant250 KB/s0≤100 ms
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Su, Y.; Jiang, P.; Chen, H.; Deng, X. A QoS-Guaranteed and Congestion-Controlled SDN Routing Strategy for Smart Grid. Appl. Sci. 2022, 12, 7629. https://doi.org/10.3390/app12157629

AMA Style

Su Y, Jiang P, Chen H, Deng X. A QoS-Guaranteed and Congestion-Controlled SDN Routing Strategy for Smart Grid. Applied Sciences. 2022; 12(15):7629. https://doi.org/10.3390/app12157629

Chicago/Turabian Style

Su, Yueyuan, Ping Jiang, Huan Chen, and Xiaoheng Deng. 2022. "A QoS-Guaranteed and Congestion-Controlled SDN Routing Strategy for Smart Grid" Applied Sciences 12, no. 15: 7629. https://doi.org/10.3390/app12157629

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