Abstract

Network Function Virtualization (NFV) can provide the resource according to the request and can improve the flexibility of the network. It has become the key technology of the Internet of Things (IoT). Resource scheduling for the virtual network function service chain (VNF-SC) is the key issue of the NFV. Energy consumption is an important indicator for the IoT; we take the energy consumption into the objective and define a novel objective to satisfying different objectives of the decision-maker. Due to the complexity of VNF-SC deployment problem, through taking into consideration of the heterogeneity of nodes (each node only can provide some specific VNFs), and the limitation of resources in each node, a novel optimal model is constructed to define the problem of VNF-SC deployment problem. To solve the optimization model effectively, a weighted center opposition-based learning is introduced to brainstorm optimization to find the optimal solution (OBLBSO). To show the efficiency of the proposed algorithm, numerous of simulation experiments have been conducted. Experimental results indicate that OBLBSO can improve the accuracy of the solution than compared algorithm.

1. Introduction

Internet of Things (IoT) is turning into the future generation of wireless network communication technology and sensor networks. IoT devices are cost-effective, so distributed expensive devoted spectrum to the IoT would be inefficient. Therefore, the problem of resource allocation that satisfies the constraints of network operation is particularly important. The IoT can work as an additional layer on the basic network of any communication technology [1, 2]. The spectrum access problem solution for the IoT network is a combination of low-cost networks that can be combined. The use of a variety of network technologies is to serve the traffic of the IoT [3]. Eternal virtualization has many advantages, which can improve VONs with different widely used topologies. In addition, it can enable VONs to share physical network explorer between different users and applications, reduce physical resource management, and provide simple spectrum allocation [47]. However, how to map a large number of von of different topologies to the physical network while achieving certain goals, such as energy consumption, blocking rate, and network performance, is a challenge [8, 9]. In recent years, there has been a lot of research focused on the VONs mapping problem and related issues [10]. Virtualization (NFV) with Network Function Virtualization makes it possible to manage mobility within the infrastructure such as the Service Function Chaining (SFC). With the change of Network load and node and link state in the infrastructure, the migration of Virtual Network Function (VNF) in SFC can improve the utilization rate of underlying resources and meet the requirements of different slices for delay. In addition, the flexible arrangement of VNF also provides a favorable condition for saving system energy consumption. Under the mechanism of VNF sharing, VNF migrates servers with low resource utilization, and shutdown of the corresponding server can achieve the purpose of reducing energy consumption [11, 12].

In this work, we studied the spectrum allocation of VON mapping service chain (VNF-SC) in the IoT. Different from the previous work, we have studied the IoT, that is, each node can only provide some specific VNFs, and the system resources of all nodes are limited. The major contributions of this study are summarized as follows: (i)Energy consumption is an important indicator for the IoT; we take the energy consumption into the objective and define a novel objective to satisfying different objectives of the decision-maker(ii)Due to the complexity of VNF-SC deployment problem, through taking into consideration of the heterogeneity of nodes (each node only can provide some specific VNFs), and the limitation of resources in each node, a novel optimal model is constructed to define the problem of VNF-SC deployment problem(iii)Since a large number of variables are in the optimal model, it has numerous local optimal solutions. For the sake of jumping out the local optimal, a weighted center opposition learning strategy is proposed. Based on this, an improved brain storm optimization algorithm, which can improve the accuracy of the solution, is proposed. Experimental results demonstrate that the proposed algorithm can obtain a better solution than the compared algorithm

Last few years, some studies have been conducted on network scheduling issues using VNF-scs, mainly focusing on service link routing and VNF deployment issues (e.g., [1315]). Literature [16] minimizes the sum of the three costs of cloud resource cost, bandwidth cost, and reconstruction cost. The characteristic of reconstruction cost is the loss of revenue generated by network operators due to bit loss. Considering the constraints of flexible optical network and DC capacity, an effective algorithm based on noncooperative mixed strategy game is proposed [17]. In order to solve the relatively long setup delay and complicated network control problems, we designed a configuration framework with resource predeployment to solve the above problems [18]. The proposed game model enables tenants to compete for VNF-SC supply services based on the incentives of income and service quality, so it can encourage tenants to choose more reasonable supply solutions. In order to meet the needs of users and maximize the benefits of suppliers, a VNF deployment algorithm based on eigenvalue decomposition is proposed [19]. So far, most of the literatures, such as literature [20], have studied the issues related to the migration of virtual machines under a certain migration trigger time, but such a migration strategy does not consider multiple SFC business scenarios at the same time. Literature [21] studies the VNF migration problem under the one-to-one mapping relationship between service functional chain VNF and node VNF instances. In the shared state of VNF instances, if the performance of a slice fails to meet user requirements, the current research cannot formulate an effective strategy to achieve VNF migration. Literature [22] proposed a VNF migration algorithm based on MDP theory to deal with the constantly changing workload, and its migration strategy was aimed at minimizing energy consumption and reconfiguration cost caused by VNF migration. Literature [23] established a cost model and proposed a greedy algorithm to optimize the migration of VNF, but this scheme can only solve the problem of resource allocation in a single scheduling cycle. Literature [24] makes backup for the whole SFC, which increases the resource overhead. In literature [25], a reliability perception method combining VNF deployment and routing optimization is proposed, which adopts a backup sharing method to reduce resource consumption. While using the backup mechanism to improve reliability, the link length of SFC is increased, and the end-to-end delay of SFC is increased to a certain extent. In literature [26], no backup mechanism was adopted. PageRank thought was adopted when deploying VNF, and reliability and delay were considered at the same time. However, when deploying VNF, the source node and destination node were not considered, so the delay was increased. Literature [27] did not adopt the backup mechanism and proposed the SFC mapping algorithm based on queue awareness to improve the stability and reliability of the network, which took into account the source nodes and destination nodes. Literature [27] does not constrain VNF types but assumes that each physical node can carry any type of VNF. Literature [27] pointed out that adjacent VNF in the same SFC can be aggregated, that is, deployed on the same physical node, but it did not provide a specific polymerization method.

3. Problem Description and Modeling

3.1. Network and VNF-SC Description

is an undirected graph, and we use it to denote an IoT, where is nodes set in the network. denotes the number of nodes, is the th optical node. denotes the set of links. represents the link between and . represents the number of links. Each link has frequency slots (FSs), and the indexes of FSs on each link are .

Each VNF-SC is a task. Now, we have a set of VNF-SCs, denoted by , where represents the tasks (VNF-SCs) number, and is the th VNF-SC. can be described as , where and represent source node and destination node, and is the of virtual network functions to be realized in , and denotes the number of virtual network functions in , i.e., some nodes should be chosen in the selected path to realize these virtual network functions. represents the frequency slots numbers of required, where is the original number of frequency slots occupied by . What is more, .

4. Energy Model

The total energy consumption of telecommunications networks supporting virtual network functions consists of two parts. Let denotes the number of virtual network functions deployed on node :

Since server energy consumption is positively correlated with CPU utilization, the total energy consumption of VNF deployed on node can be derived as

Among them, represents the startup energy consumption of the node , and represents the peak load energy consumption of the node. Let denote the energy consumption of node : where means some VNF instance is deployed on the node . When it is equal to 1, the node must be opened to carry the VNF instance. Represents the link bandwidth utilization, let denote the bandwidth utilization of link :

The energy consumption of the link can be calculated as follows:

Among them, is the start-up energy consumption of the link , and is the peak load energy consumption of the link. represents the on/off status of the dollar link ; when it is equal to 1, the link must be powered on to the VNF-SC. Therefore, the total energy consumption of NFV-SC can be calculated as

The other two objectives are given in the [28]. The objective function is expressed by where and denotes the maximum index of used frequency slots and ratio of resource used. Some constraint conditions should be satisfied. These constraint conditions are given in our previous paper [29]. To solve the optimization model, we propose an improved brain storm optimization algorithm, and the algorithm will be described in the following sections.

5. Proposed Algorithm

5.1. Bounding-Box Determines the Search Area

The basic idea of the Bounding box algorithm is to determine the possible Bounding rectangular regions of unknown nodes by measuring their distance from unknown nodes and using their distance. Finally, the center of masses of all Bounding regions is taken as the estimated position of unknown nodes. Although the algorithm is simple and easy to implement, its positioning accuracy is relatively low. References [30] put forward individual Bounding box initiative-inspired optimization algorithm to improve convergence speed and avoid overturning ambiguity in the positioning process. However, due to the impact of ranging errors, the real position of unknown nodes may fall outside the Bounding box region, reducing convergence speed and solving accuracy. To avoid this phenomenon, this paper improves the Bounding box method and determines the search area through multiple signal measurements and compensated measurement distances. The individual heuristic algorithm is initialized in the search area to improve convergence speed and solution accuracy. Assuming that there are m anchor nodes in the communication range of the unknown node, the coordinates of the unknown node satisfy equation (8):

5.2. Weighted Center Opposition Learning Strategy

The Opposition based Learning (OBL) strategy was proposed by Tizhoosh in 2005 [31]. It has been widely used in various algorithms, effectively improving the efficiency of solving the global optimum. The basic idea of the reverse learning strategy is as follows: in the search process, the initial position and its reverse position relative to the center are considered simultaneously, so as to enhance the diversity of individual groups and improve the global search capability of the algorithm. Let point is a point in dimensional space, and . and are the minimum and maximum value of point in dimension , respectively. Then, the opposite point of point is

Literature [32] proposed that the search population takes the mean mixing center as the symmetric center of reverse learning to guide the population evolution. Among them, the mean blending center is determined by the fitness value of the mean value of all individuals and the mean value of some better individuals. As the center of the mixed mean is located in the center of the group, individual positions can be integrated in the search process, which will promote the group to draw closer to the center in the early stage and accelerate the convergence speed. After convergence, individuals can jump out of the optimal group and, thus, have a higher probability to search for the global optimal solution. Inspired by his ideas, we propose a weighted center reverse learning strategy. The basic idea is that the weight of all individuals in the population is given according to their fitness value, the weighted center of the population is calculated according to the weight and individual position, and the weighted center is taken as the symmetric center of reverse learning. Since fitness values of all individuals are taken into account, the weighted center can better reflect the central trend of the population in the current environment. Therefore, this paper uses the weighted center as the symmetric center of reverse learning to guide population evolution.

The fitness value of an individual is the value of the objective function. When solving the weight center, the individual weight is calculated as follows:

and , respectively, represent the values of individual I and the weighted center on dimension . can be calculated by

Opposition point position of point on dimension with the weighted center as the symmetric point can be calculated by where is the value of point on dimension , is the value of point on dimension after opposite learning by weighted center, and is the dynamic learning factor.

6. Brain Storm Optimization

Swarm intelligence optimization algorithm is an optimization algorithm inspired by the biological behavior of nature. It is considered as a young and promising swarm intelligence optimization algorithm, which simulates the brainstorm process of human beings in solving problems.

6.1. Brainstorming Process

When we come across a difficult problem that cannot be solved by one person alone, we will gather people with different knowledge backgrounds to brainstorm, and usually, the problem will be solved with a high probability. The specific steps of the brainstorming process are as follows:

1 Propose problems that need to be solved and gather people with different knowledge backgrounds;
2 These people come up with many solutions based on this problem and following the four principles;
3 Find several parties as owners of the problem and choose from each of these ideas the best solution they think will solve the problem;
4 Select some solutions to come up with more solutions, and the better solution in Step 3 has a greater probability of being selected;
5 Similar to step 3, the problem owner selects several better solutions;
6 Randomly select a solution and use its functions and characteristics as clues to generate more solutions;
7 Let the owner of the problem choose a few better solutions from all the solutions;
8 End up with a solution that’s good enough;

In this paper, a weighted center opposition based learning is introduced to brainstorm optimization to find the optimal solution (OBLBSO), the improved Brain Storm Optimization is shown in Algorithm 2.

1 individuals are randomly generated;
2 The individuals were clustered in the decision space and divided into clusters;
3 Evaluate individual fitness value;
4 The individuals in each cluster were sorted and the best individuals in each cluster were recorded as the center of the cluster;
5 A random number between 0 and 1 is generated randomly. If the random number is less than the preset probability of , an individual will be generated randomly to replace a cluster center;
6 Randomly generate a number between 0 and 1;
7 if is less than the default probability of then
8 Random into a random number between 0 and 1, and randomly choose a cluster;
9 If the random number is less than , the center of the cluster is selected and a new individual is generated through Gaussian variation;
10 Otherwise, other individuals in the cluster are selected and new individuals are generated by Gaussian variation;
11 else
12 Randomly generate a number between 0 and 1;
13 If the random number is less than , then a new individual is generated based on the center of the two clusters through Gaussian variation. Otherwise, two individuals selected at random based on two clusters will be generated by Gaussian variation;
14 end
15 The newly generated individuals were compared with the existing ones, and the well-preserved individuals were taken as the next generation of new individuals;
16 If a preset maximum number of iterations is reached, stop, or skip to Step 2.

The brain storm optimization algorithm is a new one which simulates the brain storm conference process design. When solving the static single objective optimization problem, the detailed steps of the algorithm are shown in Algorithm 1. Static single objective brainstorm optimization algorithm mainly consists of three parts: individual clustering in decision space, generating new individuals, and selecting better individuals.

7. Experiments and Analysis

In order to verify the effectiveness and effectiveness of the algorithm, experiments are carried out on the NSFNET topology.

7.1. Parameters Setting
7.1.1. Network Parameters

There are kinds of VNFs, and each data center can provide 2-5 types of VNFs. Each VNF-sc requires at least one VNF, and the required frequency slots meet uniform distribution [5, 10]. In addition, in [0.5, 1.5], the required frequency-to-slot ratio satisfies a uniform distribution after implementing the corresponding VNFs. Each fiber can accommodate 1000 frequency slots, that is, . In the proposed improved brain storm optimization algorithm, the following parameters are chosen: population size , maximum iterations , .

7.2. Experimental Results

And compared with several other algorithms, the algorithm proposed in the literature [33] (LBA for short) is used for improvement. The second is the LF-LBA algorithm, including minimum priority strategy and LBA algorithm. In addition, we also compared OBLBSO with the ARA (artificial raindrop algorithm, ARA) proposed in the literature [34].

For the sake of verifying the performance of the model and algorithm, two experimental scenarios were carried out. In the first scenario, we fixed the number of target nodes as and , i.e., and . The number of destination nodes generated in and randomly. Figure 1 shows the experimental results when . Experimental results when is shown in Figure 2. Figure 3 shows the experimental results when . Experimental results when is shown in Figure 4. Number of connection requests are set as , and 0.25, 0.5, 1, 2, and 4, respectively.

In the second scene, we fixed and to . Figure 5, respectively, showss, , , , , and . The result obtained in the NSFNST topology at the time. In each experiment, set the number of connection requests to and select to be 0.2, 0.4, 0.6, 0.8, and 1, respectively.

7.3. Experimental Analysis

The experimental results obtained under NSFNET topology are shown in the figure. When , and are selected as 1, 0, 0 1, therefore, the objective function is to minimize the maximum use frequency slot index (MIUFS). It can be seen from the experimental that the OBLBSO achieves better results than the other algorithm. Generally speaking, the minimum priority strategy can reduce the maximum index of the frequency slot used. However, VNF dependencies can disable it. Therefore, in some cases, LBA can achieve a better solution than LF-LBA, and in other cases, LF-LBA is a better solution than LBA. OBLBSO can find the optimal routing and VNFs deployment plan for all VNF-SCs. Therefore, in the three algorithms, OBLBSO can get the optimal solution. When the number of connection requests is , the MIUFS obtained by OBLBSO is 3.7%-4.5% less than the MIUFS obtained by the other algorithms. When the number of connection requests is , the MIUFS obtained by OBLBSO is 7.9%-9.0% less than the MIUFS obtained by the other algorithms, respectively. In other words, as the number of connection requests increases, OBLBSO can obtain a smaller total power consumption and save more power than other algorithms.

When , and are selected as 0,1,0, the experimental results are shown in Figure 2. Similar to the experimental results in Figure 1, we can also see that the OBLBSO achieves better results than the other algorithms. In addition, based on the experimental results, we cannot distinguish between LBA and LF-LBA.

Figure 3 shows the experimental results when , and are selected as 1, 0, and 0. Figure 4 shows the experimental results at . It can be seen from the experimental results that the OBLBSO can obtain a better solution than the two other algorithms.

It can be seen from the experimental results that using OBLBSO can get better results than ARA. On this basis, the individual location update strategy has been improved. This algorithm, like the particle swarm algorithm and the DE algorithm, uses the location of other individuals and their past location information, thereby enhancing the search capability and improving the convergence speed.

8. Conclusion

The deployment of VNFs of VNF-SC in flexible optical networks between data centers is studied. In an elastic optical network between data centers, each data center can only provide specific VNFs, and system resources are limited. A mixed integer linear programming model is established, and an improved brainstorming optimization algorithm (OBLBSO) is proposed to solve the model. A simulation experiment was carried out on a widely used network topology.

Data Availability

All the data can be found in the manuscript.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (No. 62006205, 62002307), Innovation Team Support Plan of University Science and Technology of Henan Province (No. 19IRTSTHN014), Foundation of Henan Educational Committee under Contract (No. 21A520039), and Nanhu Scholars Program for Young Scholars of XYNU, Youth Sustentation Fund of Xinyang Normal University (No.2019-QN-040).