Abstract
In order to improve the mapping efficiency of network intelligent mapping algorithm, this paper proposes a secure virtual network intelligent mapping algorithm under cloud computing. Firstly, the network virtualization technology is analyzed, and a network virtualization example diagram is proposed. Then the energy consumption model and network load model of virtual network mapping problem are constructed to analyze the mapping reliability. Finally, the virtual network mapping strategy is optimized by cloud computing technology to realize the research on intelligent mapping algorithm of secure virtual network under cloud computing. Experimental results show that the percentage of nodes used by the proposed algorithm is much lower than that of other mapping algorithms compared, and the energy consumption is about 8100RMB/h at 60,000 unit time point, which is much lower than that of other methods, indicating that the proposed algorithm has high mapping efficiency.
1. Introduction
As a milestone technology, cloud computing has greatly promoted the development of information society, and cloud computing has achieved rapid development. Google, Amazon, Microsoft, IBM, Alibaba, and other large companies have put forward their own cloud computing platforms, and the research on various related technologies of cloud computing has also shown a trend of flowering [1]. To put it simply, cloud computing is a parallel computing model based on the Internet. In a data center, thousands of servers connect to a physical resource pool. Users can access the computing resources and complete their own computing tasks. Cloud computing center is essentially a large-scale server cluster, which provides powerful computing capacity and improves its resource utilization. It is one of the pursuits of cloud computing providers. Network virtualization is one of the key technologies for the development of the Internet in the future. Its purpose is to overcome the chronic problems in the current Internet and promote the development of the Internet [2, 3]. In network virtualization, a major challenge is how to construct a virtual network in the underlying network, or how to allocate resources to the virtual network is an important problem, often referred to as the virtual network mapping problem [4].
As one of the core technologies of cloud computing, virtual network technology greatly improves the effective utilization of physical resources. With the continuous development of virtualization network, its characteristics of environment customization, isolation, and security are gradually improved. In the past decade, a large number of heuristic algorithms have emerged, some of which have solved the problem of virtual network resource allocation in a relatively mature way [5]. A better mapping solution can not only improve the efficiency of virtual network operation, but also facilitate the completion of parallel jobs. It also reduces the amount of electricity used in data centers and the heat generated by servers, thereby saving infrastructure providers money. In a data center, the entire underlying topology is likely to change. Searching for a better virtual network resource redistribution algorithm that supports the change of the underlying topology can further improve the adaptability and survivability of the virtual network, improve the service quality of cloud computing, and provide better services for users. With the development of technology, cloud computing users can enjoy better services while using lower prices. From the perspective of The Times, the improvement of resource utilization rate is also in line with the pace of the current society, to achieve the purpose of green computing, in line with the concept of “green IT.”
Therefore, Rong put forward, based on the cost and power consumption of joint optimization of SDN virtual network mapping algorithm [5], the mapping of virtual node and link to evaluate the cost and power consumption, on the basis of modeling VNE costs and the cost of power function, and meet the demand of resource constraints such as modeling the VNE model based on minimizing the total cost function. The optimization problem as an integer linear programming problem, difficult to solve directly, batch virtual network mapping strategy based on time window dynamic processing request online, and then to a specific time window VNR and transform it into a virtual node mapping subproblem and virtual link subproblems, and application of heuristic algorithms to solve two subproblems, which determine the VNR mapping strategy, this algorithm effectively reduces the energy cost, but the mapping efficiency is not good. Gang et al., based on the virtual software-defined network mapping algorithm of topology segmentation and cluster analysis [6], reduced the complexity of physical network by topology segmentation based on the shortest hop number. Through cluster analysis based on node topology and resource attributes, the link constraints are distributed to node bandwidth resources, and the degree of node constraints are considered, and the nodes that do not meet the link requirements are remapped, so as to optimize the node-link mapping process. This algorithm effectively improves the mapping efficiency, but the node energy consumption is too large. In view of the above problems, this paper designs the intelligent mapping algorithm of secure virtual network under cloud computing, puts forward the example diagram of network virtualization according to the network virtualization technology, then constructs the energy consumption model and network load model of virtual network mapping problem, analyzes the mapping reliability, and finally determines the virtual network mapping strategy through the optimization of cloud computing technology to realize the research on the intelligent mapping algorithm of secure virtual network under cloud computing. The experimental results show that the percentage of nodes used in this algorithm is far lower than other compared mapping algorithms, and the average energy consumption is far lower than other methods, which can effectively reduce the complexity of network mapping and improve the efficiency of network mapping.
2. Network Virtualization Technology
The original network structure followed the principle of simple access, but the development of network structure has become very complex, and the construction of new network architecture has become extremely difficult. As a new technology, network virtualization has gradually become one of the key technologies to solve the problem of network rigidity.
As shown in Figure 1, network virtualization technology allows the underlying infrastructure to be abstracted into a unified programming interface using virtualization technology on top of the original network architecture, mapping multiple completely isolated virtual networks with completely different topologies onto the same underlying infrastructure [7]. Virtualization technology provides a virtualization view of resources being used to instantiate virtual machines (VMs). Virtual monitor devices or hypervisors manage isolated virtual machines to control multiple access to physical resources. The multivariate theory of network virtualization stipulates that networks are fully virtualized and services are provided independently by potential communication infrastructure providers [8].

Figure 2 shows a two-tier model of virtualization technology, where infrastructure providers (InPs) are responsible for allocating physical network resources to service providers (SPs), including CPU, memory, and link resources of physical network nodes. Service providers (SPs) are responsible for providing services externally using the resources allocated to them [9–12]. This model makes the virtual network with node and link constraints act on the infrastructure. The underlying infrastructure directly allocates a physical node to each virtual node requested by the virtual network and a physical network path or link to each virtual link. Obviously, a virtual network can be mapped onto one or more physical networks. This approach allows infrastructure providers to independently manage their own underlying infrastructure, while service providers focus on providing E2E services to end users [13].

Virtualization technology’s four-tier business model to describe, request, create, and manage virtual networks. As shown in Figure 3, the model is composed of four roles: infrastructure providers (InPs), virtual network provider (VNP), virtual network operator (VNO) and service providers (SPs) [14–17]. SPs request resources from the VNP to provide services to users. The VNP is responsible for creating virtual networks based on SPs requests, while the VNO is responsible for managing the virtual networks that are successfully established. VNP and VNO separate SPs from the task of creating and managing virtual networks in a two-tier model to focus on providing services to end users.

Network virtualization technologies have evolved from virtual LANS (VLANs), VPNS, active programming networks, and overlay networks to multiple network theories, which enable multiple and heterogeneous physical networks to provide flexible and scalable cloud computing services. Based on the concept of network virtualization and virtualization technologies, traffic loads and communication operations can be easily controlled and managed to better support on-demand parallel processing systems for big data applications, online gaming, high definition television (HDTV), and on-demand bandwidth, such as MapReduce [18, 19]. Two virtual nodes from the same virtual network request can be mapped to two different physical nodes, while two virtual nodes from different virtual network requests can be mapped to the same physical node, and the main resources of the virtual node and virtual link request are CPU and bandwidth, respectively. Virtual network technology has the advantages of fast and convenient network construction, reducing network investment, saving use cost, network security and reliability, and simplifying users’ maintenance and management of the network. Many device-based virtualization providers also provide additional functional modules to improve the overall performance of secure virtual network intelligent mapping algorithm, which can obtain better performance and more perfect functions than the standard operating system.
3. Intelligent Mapping Algorithm for Secure Virtual Network in Cloud Computing
3.1. Energy Consumption Model of Virtual Network Mapping
Based on the existing research results of energy saving virtual network and energy consumption models of various network components, considering time cost and environmental factors, this paper establishes the energy consumption model of multidomain virtual network mapping problem. The energy consumption model consists of three parts:
The energy consumption model for virtual network mapping is established in an environment where all physical nodes in the entire multidomain physical network remain closed until the first virtual network mapping (for example, ) is executed. After performing the node mapping of the first virtual network, multiple physical nodes will be activated to a smooth working state. In this section, constraints are considered for mapping each virtual node: CPU, node storage, node location, and node processing time [20]. Node storage and node processing time have little effect on the energy cost of active/nonactive physical nodes. The effect of node location on energy consumption of physical nodes will be deferred to the third part of this section [21, 22]. Therefore, this section focuses on the impact of CPUS on power consumption of physical nodes. In this paper, the well-known Server Energy Cost Model (Server Energy Cost Model) is adopted to quantify the CPU Energy consumption of nodes to physical network.
CPU utilization dominates the energy consumption variation of mapped physical nodes [23–25]. If an underlying physical node is not mapped by any virtual node, the energy consumption of the physical node is 0. See the lower part of equation (1) for details. This section uses physical node as an example.
Node is closed at the beginning [26, 27]. After the virtual network mapping is completed, is mapped by the virtual node . See formula (1) for detailed energy consumption.
is the basic energy consumption of physical node . represents the total energy consumption of a physical node at maximum CPU utilization [28]. . indicates the CPU usage factor of a physical node. The mapped physical node must have sufficient CPU resources to accommodate the mapped virtual node . For the remaining virtual nodes in the first virtual network, formula (1) is adopted in this paper to measure the node energy consumption of the virtual network [29]. The reason for this is that the multidomain physical network is shut down. All physical components are turned off. was the first virtual network to be mapped to .
After the first virtual network mapping is completed, physical nodes that are partially powered coexist with physical nodes that are shut down. Then, the remaining virtual network mapping is carried out [30–32]. The detailed energy consumption of the remaining virtual network mapping is shown in formula (2). If the mapped physical node is initially closed, the energy consumption is shown in equation (1).
In the energy consumption of virtual link research, no matter the first or any virtual network, each virtual link will be mapped to a separate physical path [33].
A mapped physical path can consist of one or more directly connected physical links. In other words, there are multiple transit physical nodes on the physical path mapping this virtual link. These terminal physical nodes, including source nodes and end nodes, are responsible for forwarding or receiving packets [34]. The energy consumption of such nodes (all expressed as ) is shown as where refers to the basic energy consumption of the transit node. is different from in equations (1) and (2). As for , it is used to measure the energy consumption of the transit node that forwards or receives data packets [35]. Whether the node remains idle or full, the value of remains constant. For simplicity, this section sets the same value for all transit nodes. The variable is used to calculate the number of times the transit node forwards or receives packets. In the research of multidomain virtual network mapping, the whole underlying multidomain physical network is composed of several different physical networks distributed by region. These physical networks are distributed in different geographical locations. Therefore, researchers must consider the impact of the location of physical network distribution on the energy cost of virtual network mapping. This section considers the power expenditure used to calculate the energy consumption of virtual network mapping. In actual production and life, electricity charges in different areas are different. Therefore, in the long run, the energy price of different regions will affect the mapping income and mapping energy consumption.
In this context, this paper investigates energy prices (electricity prices) in major Chinese cities. Five major cities are selected in this paper: B, S, N, C, and X. Figure 4 is drawn in this paper. Figure 4 records hourly electricity prices in five cities since June 2020.

Obviously, electricity prices are different in different cities/regions. Even within the same city/region, electricity prices can change over time. In order to quantify the impact of electricity price attributes on virtual network mapping energy consumption, this paper adopts the duration simulation mode (see simulation experiment Settings).
represents the electricity price in any hour . . The definition of binary variable is the same as that in the previous chapter.
As shown in Figure 4, the electricity prices of the five cities show different states at different stages. In order to ensure the load balance of the network, different virtual nodes in the same model will be mapped to different physical nodes, especially when the virtual nodes have no location requirements, which is particularly important to ensure that a better mapping scheme can be found in a short execution time and the global optimal solution can be obtained.
3.2. Network Load Modeling
The network load modeling environment needs to comprehensively consider the corresponding network load of virtual networks mapped to the underlying network, the modeling network load is
In equation (5), represents the network load mapped from to .
Among them, where represents the node load mapped from to . indicates the link load mapped from to .
In equation (6), is expressed as
In equation (7), represent node mapping identifier, and, represent mapping to .
Otherwise, ; , , and represent the weight factor, , represents the minimum positive number, and avoid the denominator being 0. , , and represent the remaining CPU capacity, storage capacity, and TCAM capacity of after the first virtual network mapping.
In equation (7), is expressed as
In equation (7), is expressed as
In equation (7), in is expressed as
In equation (10), represents the intermediate node mapping identifier, , and represents that is the intermediate node of the underlying path carrying . Otherwise . represents the TCAM capacity consumption of the intermediate node carrying the underlying path of .
In equation (10), is expressed as
In equation (11), represents the TCAM capacity consumption factor of the intermediate node, .
In equation (12), is expressed as where represents the link mapping identifier, , and represents that is mapped to ; otherwise, .
represents the remaining bandwidth capacity of after the first virtual network mapping.
In equation (12), is expressed as
3.3. Mapping Reliability Analysis
Comprehensively consider the mapping reliability corresponding to virtual networks mapped to the underlying network, and model the mapping reliability :
In equation (14), is mapping reliability corresponding to mapping to .
Among them,
In equation (15), represents the node reliability mapped from to . represents the link reliability mapped from to .
In equation (15), is expressed as
In equation (15), is expressed as
Considering the objective functions and constraints of equations (5) and (14), the intelligent mapping problem of secure virtual network can be modeled as an optimization model based on network load minimization and mapping reliability maximization:
In the above formula, represents the risk constraint of secure virtual network under cloud computing.
3.4. Optimization Problem Solving
In the previous section, the optimization problem modeled by equation (18) is a multiobjective optimization problem, which is difficult to be solved by traditional tools. Therefore, this section proposes cloud computing technology to optimize and determine the virtual network mapping strategy. Firstly, the ideal point method is applied to transform the original multiobjective optimization problem into a single objective optimization problem with ideal solutions of two subproblems, namely, the network load minimization subproblem and the mapping reliability maximization subproblem. Secondly, the two-stage virtual network mapping algorithm is applied to solve the two subproblems, respectively, and the ideal solutions of the corresponding subproblems are obtained. Finally, cloud computing technology is used to solve the single objective optimization problem.
The main steps of solving the optimization problem modeled by equation (18) are summarized as follows:
Step 1. Initialize.
Set the particle swarm size , the maximum number of iterations of the algorithm , the current number of iterations , , and and randomly generate the initial position vector and initial velocity vector of each particle.
Step 2. Fitness function evaluation.
According to the initial position vector , firstly, Dijkstra’s algorithm is used to determine the optimal path between and , and then calculate the fitness function value . If , set and ; if , set and .
Step 3. Update speed and position vectors.
Update the velocity vector and position vector of particles, respectively.
Step 4. Terminate judgment conditions.
If , where is the decision threshold, the algorithm will terminate; if , the algorithm terminates; otherwise, , return to step 2, and continue to execute until the algorithm terminates. The modeling optimization problem is a multiobjective optimization problem. The two-stage virtual network mapping algorithm is applied to solve the two subproblems, respectively; improve the optimal design, optimal plan, optimal management, and optimal control; and obtain the ideal solution of the corresponding subproblem, so as to realize the solution of the optimization problem.
4. Experiment
4.1. Experimental Environment and Parameter Setting
In order to verify the mapping efficiency of this algorithm, simulation experiments are carried out in this paper. In this section, this paper focuses on the simulation environment and parameter setting. Since the network virtualization technology was put forward, the actual prototype and simulation platform based on network virtualization technology have not been fully developed in academia and industry. Therefore, the simulation of the algorithm in this paper is carried out on the self-developed simulation platform. In this simulation, five different underlying physical networks are distributed in a () two-dimensional plane. These five distributed physical networks are generated by Waxman method model and meet the geographical distribution. Each physical network is connected through inter domain links. The bandwidth of each inter domain link is set as an integer and meets the uniform distribution in the [300500] interval. Each underlying physical network is a medium-sized network in VNE research. See Table 1 for detailed parameters of each physical network.
For the parameter setting of virtual network service, see Table 2 for details. In addition, the simulation experiment will last 100000 time units. A unit of time represents one minute. The simulation time is long enough to obtain the long-term stability of the mapping algorithm. The simulation parameters related to energy consumption are set as follows: , , and are set to 150 W, 300 W, and 15 W. and are set to 150 W and 30 W, respectively. The energy price changes every 3000 unit time. The actual electricity prices of five major cities in China are used to represent the electricity prices of five underlying physical networks. The weight factor is set to 100. is set to 0.1. is set to 0.15.
In this section, the cost and power combined optimization algorithm (C-P algorithm), topology segmentation, and clustering analysis algorithm (TS-C algorithm), and TR-CL and EERID-DP algorithm are selected as EERID comparison algorithms. In particular, the C-P algorithm is the most classical heuristic algorithm in the academic world. Ts-c algorithm and TR-CL algorithm are typical energy-saving mapping algorithms in academia. Eri-DP algorithm is a heuristic algorithm based on the direct product value of equation (18). In order to adapt to the simulation conditions of EERID algorithm and meet the requirements (such as energy consumption per hour and node location), all comparison algorithms are modified and updated in this paper.
4.2. Experimental Result
This section consists of two parts. The two parts are as follows: proving that the intelligent mapping algorithm of secure virtual network under cloud computing is a polynomial time mapping algorithm and verifying the mapping efficiency of the intelligent mapping algorithm of secure virtual network under cloud computing. (1)It is proved that the algorithm in this paper is a polynomial time algorithm: in Table 3, this paper records the average algorithm execution time and mean square deviation time of all selected mapping algorithms. The simulation experiment is run on a small server equipped with Intel Core CPU i7-4790 3.6ghz processor, 32.00 g RAM memory, and Windows 8 operating system. The specific settings of the underlying physical network are consistent with those in the previous section. For virtual network service settings, the number of virtual nodes is fixed at 10. Other parameter settings (such as node connection probability and resource demand) are the same as those described in the previous section. In order to obtain stable and convincing results (i.e., the confidence interval is greater than 95%), this virtual network mapping experiment is repeated 100 times. As can be seen from Table 3, the average mapping execution time of C-P algorithm is 2.76 milliseconds. The average mapping execution time of TS-C algorithm is 3.46 milliseconds. The average mapping execution time of TR-CL algorithm is 2.93 milliseconds. The average mapping execution time of EERID-DP strategy is 3.57 milliseconds. The average mapping execution time of this algorithm is 3.66 milliseconds. As for the mean square deviation results, TR-CL algorithm has the highest mean square deviation among all algorithms. There is little difference in the mean square deviation of other mapping algorithms. Based on the above simulation results, the algorithm can complete the mapping of a given virtual network in polynomial time. Compared with the comparison algorithm selected in this section, although this algorithm needs more time to calculate the mapping scheme of virtual network, the additional time is not particularly much(2)Verify the mapping efficiency of this algorithm: in Figures 5 and 6, this paper plots the average energy consumption (Figure 5) and the average percentage of physical nodes used (Figure 6) of all selected mapping algorithms. By observing the simulation results in Figure 5, we can see that with the continuous extension of simulation time, the energy consumption of all virtual network mapping algorithms increases


However, in the end, the energy consumption of all mapping algorithms will converge to a stable state, and the occupied physical resources and newly released physical resources will reach a dynamic balance. As can be seen from Figure 5, the energy consumption of the algorithm in this paper is much lower than that of other remaining algorithms, especially compared with the existing energy-saving algorithms (TS-C algorithm and TR-CL). For example, at 60000 unit time points, the energy consumption of the algorithm proposed in this paper is about 8100 RMB/H. Among other mapping algorithms, the best performing TS-C algorithm consumes 9700 RMB/h. The energy consumption of TS-C algorithm is nearly 18% higher than that of this algorithm. There are two reasons for this high energy consumption: the efficient node sorting method of this algorithm and the mapping strategy of integrating the priority mapping of virtual components. As for the node sorting method used in this algorithm, this paper integrates a variety of network topology attributes. The calculated node ranking value can reveal the ability of nodes in the whole network and mapping. For TS-C algorithm, the algorithm only uses the product of CPU and its adjacent link bandwidth as the basis for node ranking. The calculated ranking value cannot fully reflect the mapping ability of nodes in the whole network. As for the mapping strategy adopted by the algorithm, this algorithm adopts the mapping strategy of integrating the priority mapping of used virtual components. Such a strategy is conducive to make full use of the used network elements (nodes) for virtual network mapping, maximize resource utilization, and avoid wasting the use of new network elements.
For TS-C algorithm, TS-C algorithm maps all virtual nodes to physical nodes with high node sorting value. TS-C algorithm does not consider the use of dormant physical nodes as little as possible and only maps the nodes with the highest ranking value. Such a mapping will lead to an increase in the energy cost of TS-C algorithm. At the same time, resource fragmentation and low utilization rate are further aggravated. Figure 5 records a performance comparison of the percentage of physical nodes used by all mapping algorithms. The percentage of nodes used in this algorithm is much lower than other mapping algorithms compared. The conclusions drawn from Figure 6 are consistent with those drawn from Figure 5. The specific reasons and description are similar to the previous paragraph.
5. Conclusion
This paper proposes an intelligent mapping algorithm for secure virtual networks under cloud computing. Network virtualization technology is analyzed, energy consumption model and network load model of virtual network mapping are constructed, mapping reliability is analyzed, virtual network mapping strategy is optimized by cloud computing technology, and virtual network intelligent mapping is realized. The conclusions are as follows: (1)The percentage of nodes used by the proposed algorithm is much lower than that of other mapping algorithms compared. The energy consumption at 60,000 unit time point is about 8100RMB/h, and the average energy consumption is much lower than that of other methods, indicating that the proposed algorithm has high mapping efficiency(2)The proposed algorithm can complete the mapping of a given virtual network in polynomial time, and the percentage of nodes used by the proposed algorithm is far lower than that of other mapping algorithms compared(3)The energy consumption of the proposed algorithm is about 8100RMB/h, and the average energy consumption is much lower than that of other methods
Data Availability
The author can provide all the original data involved in the research.
Conflicts of Interest
The authors indicate that there was no conflict of interest in the study.