CN111698703B - Network reliability optimization method based on business priority and load balancing - Google Patents
Network reliability optimization method based on business priority and load balancing Download PDFInfo
- Publication number
- CN111698703B CN111698703B CN202010450336.3A CN202010450336A CN111698703B CN 111698703 B CN111698703 B CN 111698703B CN 202010450336 A CN202010450336 A CN 202010450336A CN 111698703 B CN111698703 B CN 111698703B
- Authority
- CN
- China
- Prior art keywords
- network
- virtual network
- virtual
- physical
- physical network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
- H04W72/566—Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
- H04W72/569—Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种基于业务优先级和负载均衡的网络可靠性优化方法,应用于虚拟化无线传感网,其更新虚拟化无线传感网中虚拟网的资源分配映射的步骤包括:在第一时刻,标记需要迁徙的虚拟网,并计算此刻物理网络层的负载均衡率;在第二时刻,对于一个需要迁徙的虚拟网,如果其新的资源分配映射执行后,物理网络层的负载均衡率小于所述第一时刻的负载均衡率,则执行该虚拟网新的资源分配映射。本发明基于业务优先级和负载均衡理论分析,对网络可靠性进行优化,从而提升虚拟化无线传感网服务质量,延长服务时间。
The present invention provides a network reliability optimization method based on business priority and load balancing, which is applied to a virtualized wireless sensor network. The step of updating the resource allocation mapping of the virtual network in the virtualized wireless sensor network includes: in the first At the first moment, mark the virtual network that needs to be migrated, and calculate the load balancing rate of the physical network layer at this moment; at the second moment, for a virtual network that needs to be migrated, if its new resource allocation mapping is executed, the load balancing rate of the physical network layer will be If the load balancing rate is less than the load balancing rate at the first moment, a new resource allocation mapping of the virtual network is performed. The present invention optimizes network reliability based on theoretical analysis of business priority and load balancing, thereby improving the service quality of the virtualized wireless sensor network and extending the service time.
Description
技术领域Technical field
本发明涉及无线传感网的资源管理领域,特别涉及一种基于业务优先级和负载均衡的虚拟化网络可靠性优化方法。The invention relates to the field of resource management of wireless sensor networks, and in particular to a virtualized network reliability optimization method based on business priority and load balancing.
背景技术Background technique
随着物联网技术(IoT)的快速发展和应用,以无线传感网(Wireless SensorNetworks,WSN)为代表的传感网(Sensor Networks)已应用到工业、医疗、交通、环境等各个领域。传感网是由具有计算、通信、感知能力的传感器节点以自由式进行组织与结合进而形成的网络。由于无线传感网分布比较广,一般其传感器节点的供电都由自身携带的电源提供。With the rapid development and application of Internet of Things technology (IoT), sensor networks (Sensor Networks) represented by Wireless Sensor Networks (WSN) have been applied to various fields such as industry, medical care, transportation, and environment. Sensor network is a network formed by free organization and combination of sensor nodes with computing, communication and sensing capabilities. Since wireless sensor networks are widely distributed, the power supply of sensor nodes is generally provided by their own power supplies.
为了最大化传感器节点的资源利用率,保证传感网上业务的正常运营,无线传感网的资源分配和可靠性优化已成为一个研究重点。因为虚拟化技术可以有效提升网络资源的利用率和网络业务的可靠性,基于虚拟化的无线虚拟化传感网技术(VirtualizedWireless Sensor Networks)已经被提出,并得到较大范围的应用。虚拟化无线传感网环境下,现有的传感网被划分为物理网络层和虚拟网络层。物理网络层的物理网络节点包括物理传感器,为虚拟网络层的虚拟网提供物理网络资源。虚拟网络层的各个虚拟网根据业务需要,租用物理网络层的资源,从而在虚拟网上实现各种业务的运营服务。关于传感网的资源分配和网络可靠性优化问题,已有研究可以分为传统网络环境、网络虚拟化环境两种。In order to maximize the resource utilization of sensor nodes and ensure the normal operation of services on the sensor network, resource allocation and reliability optimization of wireless sensor networks have become a research focus. Because virtualization technology can effectively improve the utilization of network resources and the reliability of network services, wireless virtualized sensor network technology (VirtualizedWireless Sensor Networks) based on virtualization has been proposed and has been widely used. In the virtualized wireless sensor network environment, the existing sensor network is divided into a physical network layer and a virtual network layer. The physical network nodes of the physical network layer include physical sensors and provide physical network resources for the virtual network of the virtual network layer. Each virtual network in the virtual network layer rents the resources of the physical network layer according to business needs, thereby realizing various business operation services on the virtual network. Regarding the resource allocation and network reliability optimization of sensor networks, existing research can be divided into two types: traditional network environment and network virtualization environment.
在传统网络环境下,主要采用路由协议优化、故障快速恢复两种策略。在路由协议优化方面,文献[任秀丽,陈洋.无线传感网中数据传输延时优化的路由协议[J].计算机应用,2019,40(1):196-201.]以解决无线传感网中数据包的可靠传输为目标,基于网络探测技术,对数据传输效率进行分析,从而对丢包率较高的传输链路进行路由优化。文献[王君洪,陈跃东,陈孟元.基于模糊认知图的智能配电网WSNs实时性与可靠性优化研究[J].传感技术学报,2016,29(2):213-219.]针对智能电网故障率高的问题,通过对路由路径和网络参数进行调整,实现无线传感网的可靠性优化。文献[王冠,王瑞尧.基于簇头优化的自供能无线传感网络路由算法[J].计算机应用,2018,6(1721):1725-1736.]以解决无线传感网中数据传输成功率低的问题为目标,优化了分组算法中的簇头选择机制,从而确保各个分组中传感网的可靠性。In traditional network environments, two strategies are mainly used: routing protocol optimization and rapid fault recovery. In terms of routing protocol optimization, the literature [Ren Xiuli, Chen Yang. Routing protocol for data transmission delay optimization in wireless sensor networks [J]. Computer Applications, 2019, 40(1):196-201.] to solve the problem of wireless transmission With the goal of reliable transmission of data packets in the sensor network, the data transmission efficiency is analyzed based on network detection technology, so as to optimize the routing of transmission links with high packet loss rates. Literature [Wang Junhong, Chen Yuedong, Chen Mengyuan. Research on real-time and reliability optimization of smart distribution network WSNs based on fuzzy cognitive graph [J]. Journal of Sensing Technology, 2016, 29(2): 213-219.] For smart grid To solve the problem of high failure rate, the reliability of wireless sensor network can be optimized by adjusting routing paths and network parameters. Literature [Wang Guan, Wang Ruiyao. Self-powered wireless sensor network routing algorithm based on cluster head optimization [J]. Computer Applications, 2018, 6(1721): 1725-1736.] to solve the problem of low data transmission success rate in wireless sensor networks Taking the problem as the goal, the cluster head selection mechanism in the grouping algorithm is optimized to ensure the reliability of the sensor network in each group.
在网络虚拟化环境下,主要包括提高利用率的最优资源分配、考虑生存性的资源分配两种策略。文献[Delgado C,Canales M,Ortín J,et al.Joint applicationadmission control and network slicing in virtual sensor networks[J].IEEEInternet of Things Journal,2017,5(1):28-43.]采用穷举搜索方法求解最优化的业务调度顺序,从而提升传感网的服务质量。文献[Soualah O,Aitsaadi N,Fajjari I.A novelreactive survivable virtual network embedding scheme based on game theory[J].IEEE Transactions on Network and Service Management,2017,14(3):569-585.]以解决虚拟传感网中接入控制中存在的效率低的问题,将网络切片和接纳控制技术进行结合,提高了传感网接入控制的灵活性。在考虑生存性的虚拟资源映射算法方面,文献[10]采取链路冗余的方式解决链路故障问题。文献[Shahriar N,Chowdhury S R,Ahmed R,etal.Virtual network survivability through joint spare capacity allocation andembedding[J].IEEE Journal on Selected Areas in Communications,2018,36(3):502-518.]将容量备份与虚拟网嵌入过程合并,从而有效提升了网络的可靠性。In a network virtualization environment, there are two main strategies: optimal resource allocation to improve utilization and resource allocation considering survivability. Literature [Delgado C, Canales M, Ortín J, et al.Joint applicationadmission control and network slicing in virtual sensor networks [J]. IEEEInternet of Things Journal, 2017, 5(1): 28-43.] uses an exhaustive search method Solve the optimal business scheduling sequence to improve the service quality of the sensor network. Literature[Soualah O,Aitsaadi N,Fajjari I.A novelreactive survivable virtual network embedding scheme based on game theory[J].IEEE Transactions on Network and Service Management,2017,14(3):569-585.] to solve the problem of virtual sensor network In order to solve the problem of low efficiency in access control, network slicing and admission control technology are combined to improve the flexibility of sensor network access control. Regarding the virtual resource mapping algorithm that considers survivability, literature [10] adopts link redundancy to solve the link failure problem. Literature [Shahriar N, Chowdhury S R, Ahmed R, etal.Virtual network survivability through joint spare capacity allocation and embedding[J]. IEEE Journal on Selected Areas in Communications, 2018,36(3):502-518.] Combine capacity backup with The virtual network embedding process is merged, thereby effectively improving the reliability of the network.
已有研究在资源分配过程和发生故障情况下对资源进行优化。资源分配时,采用预留资源,容易造成资源浪费。发生故障情况下对资源进行优化,影响虚拟网的服务质量。另外,由于资源分配的不均衡性,容易导致部分物理网络节点因长时间承载虚拟网的业务而耗尽其能量,导致物理网络层不可用。所以,需要对物理网络节点上承载虚拟业务的资源进行均衡配置,从而保证物理网络层稳定运行。There have been studies on optimizing resources during the resource allocation process and in the event of failures. When allocating resources, reserved resources are used, which can easily lead to resource waste. Optimizing resources in the event of a failure affects the service quality of the virtual network. In addition, due to the imbalance of resource allocation, it is easy for some physical network nodes to exhaust their energy by carrying virtual network services for a long time, causing the physical network layer to become unavailable. Therefore, it is necessary to balance the allocation of resources carrying virtual services on physical network nodes to ensure stable operation of the physical network layer.
发明内容Contents of the invention
本发明目的在于提供一种虚拟化无线传感网的优化方法,基于业务优先级和负载均衡理论分析,对网络可靠性进行优化,从而提升虚拟化无线传感网服务质量,延长服务时间。The purpose of the present invention is to provide an optimization method for a virtualized wireless sensor network, which optimizes network reliability based on theoretical analysis of business priority and load balancing, thereby improving the service quality of the virtualized wireless sensor network and extending the service time.
本发明提供的技术方案为一种基于业务优先级和负载均衡的网络可靠性优化方法,其更新虚拟化无线传感网中虚拟网的资源分配映射的步骤包括:在第一时刻,标记需要迁徙的虚拟网,并计算此刻物理网络层的负载均衡率;在第二时刻,对于一个需要迁徙的虚拟网,如果其新的资源分配映射执行后,物理网络层的负载均衡率小于所述第一时刻的负载均衡率,则执行该虚拟网新的资源分配映射。The technical solution provided by the present invention is a network reliability optimization method based on business priority and load balancing. The steps of updating the resource allocation mapping of the virtual network in the virtualized wireless sensor network include: at the first moment, marking the need for migration virtual network, and calculate the load balancing rate of the physical network layer at this moment; at the second moment, for a virtual network that needs to be migrated, if its new resource allocation mapping is executed, the load balancing rate of the physical network layer is less than the first If the load balancing rate at the time is determined, the new resource allocation mapping of the virtual network will be performed.
优选的,所述标记需要迁徙的虚拟网的方法为:在一个时刻,选出所述物理网络层中剩余生命周期小于一个阈值的物理网络节点,标记该物理网络节点其所承载各虚拟业务对应的虚拟网为需要迁徙的虚拟网。Preferably, the method of marking the virtual network that needs to be migrated is: at a moment, select a physical network node whose remaining life cycle is less than a threshold in the physical network layer, and mark the physical network node corresponding to each virtual service it carries. The virtual network is the virtual network that needs to be migrated.
进一步的一个改进在于,对于多个需要迁徙的虚拟网,优先为其中时延要求值最低的虚拟网提供新的资源分配映射。A further improvement is that for multiple virtual networks that need to be migrated, the virtual network with the lowest delay requirement is given priority to provide new resource allocation mapping.
进一步的一个改进在于,对于一个需要迁徙的虚拟网,在获得新的资源分配映射后即尝试执行迁徙。A further improvement is that for a virtual network that needs to be migrated, migration is attempted after obtaining a new resource allocation mapping.
进一步的一个改进在于,对于一个需要迁徙的虚拟网,其新的资源分配映射通过求解在物理网络层的最短路径获得。同时,对于新的资源分配映射,可以通过物理网络节点之间路径的跳数判断其对应虚拟网络节点之间的时延,以便判断新的资源分配映射的是否符合虚拟网的时延要求条件。A further improvement is that for a virtual network that needs to be migrated, its new resource allocation mapping is obtained by solving the shortest path at the physical network layer. At the same time, for the new resource allocation mapping, the delay between the corresponding virtual network nodes can be judged by the hop count of the path between the physical network nodes, so as to determine whether the new resource allocation mapping meets the delay requirements of the virtual network.
进一步的一个改进在于,对于一个需要迁徙的虚拟网,如果其新的资源分配映射的路径跳数大于该虚拟网的时延要求值,则不执行其新的资源分配映射。A further improvement is that for a virtual network that needs to be migrated, if the path hop count of its new resource allocation mapping is greater than the delay requirement of the virtual network, its new resource allocation mapping will not be performed.
进一步的一个改进在于,所述更新虚拟化无线传感网中虚拟网的资源分配映射的步骤包括:A further improvement is that the step of updating the resource allocation mapping of the virtual network in the virtualized wireless sensor network includes:
S100,在一个时刻,获取所述虚拟化无线传感网物理网络层中剩余生命周期小于一个阈值的物理网络节点,并标记这些物理网络节点所承载的虚拟网为需要迁徙的虚拟网;获取该时刻物理网络层的负载均衡系数 S100, at a moment, obtain the physical network nodes whose remaining life cycle is less than a threshold in the physical network layer of the virtualized wireless sensor network, and mark the virtual networks carried by these physical network nodes as virtual networks that need to be migrated; obtain the The load balancing coefficient of the physical network layer at any time
S200,遍历全部需要迁徙的虚拟网的,从其中时延要求值最低的虚拟网开始,为其分配通过最短路径算法获得的新的资源分配映射;如果在新的资源分配映射满足该虚拟网的时延要求和物理网络层的负载均衡要求,则按照新的资源分配映射迁徙该虚拟网,否则,不迁徙该虚拟网;S200: Traverse all virtual networks that need to be migrated, starting from the virtual network with the lowest delay requirement, and allocate to it a new resource allocation mapping obtained through the shortest path algorithm; if the new resource allocation mapping satisfies the requirements of the virtual network If the delay requirements and the load balancing requirements of the physical network layer are met, the virtual network will be migrated according to the new resource allocation mapping. Otherwise, the virtual network will not be migrated;
S300,重复执行步骤S100和S200,并计为一次优化,如果,重复次数超过预设的优化次数阈值,或者,没有需要迁徙的虚拟网,则,优化过程结束。S300: Repeat steps S100 and S200 and count it as one optimization. If the number of repetitions exceeds the preset optimization number threshold, or there is no virtual network that needs to be migrated, the optimization process ends.
进一步的一个改进在于,所述步骤S100包括以下步骤:A further improvement is that step S100 includes the following steps:
S101,对于任一物理网络节点ni∈N,计算其剩余生命周期 S101, for any physical network node n i ∈N, calculate its remaining life cycle
S102,将剩余生命周期小于生命周期阈值/>的物理网络节点放入集合Θ;S102, the remaining life cycle Less than life cycle threshold/> The physical network nodes are put into the set Θ;
S103,将集合Θ中每个物理网络节点上的承载的虚拟业务所对应的虚拟网放入虚拟网集合Ω,标记为需要迁移的虚拟网;S103. Put the virtual network corresponding to the virtual service carried on each physical network node in the set Θ into the virtual network set Ω, and mark it as a virtual network that needs to be migrated;
S104,计算物理网络层当前的负载均衡系数,并赋值给 S104, calculate the current load balancing coefficient of the physical network layer and assign it to
进一步的一个改进在于,所述步骤S200包括以下步骤:A further improvement is that step S200 includes the following steps:
S201,遍历集合Ω中的各个虚拟网,计算其时延要求,即对于集合Ω内的任一个虚拟网有一个时延要求Hx;S201. Traverse each virtual network in the set Ω and calculate its delay requirements. That is, for any virtual network in the set Ω There is a delay requirement H x ;
S202,对集合Ω中的各个虚拟网,按照每个虚拟网的时延要求的值进行升序排列,得到集合Ωord;S202: Arrange each virtual network in the set Ω in ascending order according to the value of the delay requirement of each virtual network to obtain the set Ω ord ;
S203,选择集合Ωord中的一个虚拟网初始化循环变量x=1,即第一次执行本步骤应选择选择集合Ωord中时延要求的值最小的一个虚拟网,以后每次执行本步骤前,x依次递增一;S203, select a virtual network in the set Ω ord Initialize the loop variable x=1, that is, when executing this step for the first time, you should select a virtual network with the smallest delay requirement in the set Ω ord . Before each subsequent execution of this step, x is incremented by one;
S204,对于当前的虚拟网的虚拟业务,使用Dijkstra算法求解中的最短路径,以此获得一个新的承担当前虚拟网/>的虚拟业务的物理网络层的拓扑结构,并计算该拓扑结构的路径跳数/> S204, for the current virtual network For virtual services, use the Dijkstra algorithm to solve the shortest path to obtain a new virtual network that assumes the current virtual network/> The topology structure of the physical network layer of the virtual service, and calculate the number of path hops of the topology/>
S205,判断当前虚拟网的是否小于其时延要求Hx。如果大于,执行步骤S203;S205, determine the current virtual network Whether it is less than its delay requirement H x . If greater, execute step S203;
S206,计算物理网络层在该虚拟网新的拓扑结构下的负载均衡系数ηreload,判断是否满足如满足,跳转到步骤S208;S206: Calculate the load balancing coefficient η reload of the physical network layer under the new topology of the virtual network, and determine whether it satisfies If satisfied, jump to step S208;
S207、如果步骤204中Dijkstra算法求解还有其他路径,则选择其中一个次最短路径的作为当前的虚拟网的拓扑结构进行映射,返回步骤S205;S207. If there are other paths solved by the Dijkstra algorithm in step 204, select one of the sub-shortest paths as the current virtual network. Map the topology structure and return to step S205;
S208、执行迁徙,将选中的虚拟网映射到当前拓扑结构的路径上,返回步骤S203。S208. Execute migration and transfer the selected virtual network Map to the path of the current topology structure and return to step S203.
进一步的一个改进在于,所述步骤S300包括以下步骤:A further improvement is that step S300 includes the following steps:
S301,判断是否超过优化次数阈值T,如已超过,结束;S301, determine whether the optimization times threshold T is exceeded. If it has been exceeded, end;
S302,对每个物理节点ni∈N,评价其剩余生命周期是否小于阈值如满足,结束;如不满足,执行步骤S102。S302. For each physical node n i ∈N, evaluate whether its remaining life cycle is less than the threshold. If satisfied, end; if not satisfied, execute step S102.
为实现无线传感网资源的负载均衡,确保物理节点的生命周期尽可能长,从而保证虚拟网的服务质量,本发明提出的基于业务优先级和负载均衡的网络可靠性优化方法(Network reliability optimization algorithm based on service priority andload balancing in wireless sensor network(NROA-SPoLB))。该算法包括S100选择需要迁移的虚拟网、S200迁移虚拟网、S300评价所有物理节点的生命周期是否满足阈值三个步骤。在步骤S100中,通过选择需要优化的物理节点,将不满足生命周期的物理节点的所有虚拟业务进行迁移。这样的好处是给物理网络节点预留更大的空间,防止再次映射时将其资源耗尽。在步骤S200中,对于需要迁移的虚拟业务,其时延越短,越需要先迁移,从而获得较短的链路,满足时延要求。在步骤S300中,设置优化次数阈值T对算法的执行次数进行限制,防止过度计算,导致计算资源开销过大。其次,判断所有物理节点ni∈N的生命周期是否满足阈值可以有效防止因迁移导致部分物理节点资源被过度使用。In order to achieve load balancing of wireless sensor network resources and ensure that the life cycle of physical nodes is as long as possible, thereby ensuring the service quality of the virtual network, the present invention proposes a network reliability optimization method based on business priority and load balancing. algorithm based on service priority and load balancing in wireless sensor network (NROA-SPoLB)). The algorithm includes three steps: S100 to select the virtual network that needs to be migrated, S200 to migrate the virtual network, and S300 to evaluate whether the life cycle of all physical nodes meets the threshold. In step S100, by selecting physical nodes that need to be optimized, all virtual services of physical nodes that do not meet the life cycle are migrated. The advantage of this is to reserve more space for physical network nodes to prevent their resources from being exhausted when re-mapping. In step S200, for the virtual services that need to be migrated, the shorter their delay, the more they need to be migrated first, so as to obtain shorter links and meet the delay requirements. In step S300, an optimization times threshold T is set to limit the number of execution times of the algorithm to prevent over-calculation, which may lead to excessive computing resource overhead. Secondly, determine whether the life cycle of all physical nodes n i ∈N meets the threshold It can effectively prevent some physical node resources from being overused due to migration.
附图说明Description of the drawings
构成本申请的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The description and drawings that constitute a part of this application are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached picture:
图1为本发明的一种基于业务优先级和负载均衡的网络可靠性优化方法的流程示意图,以及Figure 1 is a schematic flow chart of a network reliability optimization method based on business priority and load balancing according to the present invention, and
图2为在一个包含对比方法的实施例中虚拟网数量对有效节点占比的影响示意图,以及Figure 2 is a schematic diagram of the impact of the number of virtual networks on the proportion of effective nodes in an embodiment including a comparison method, and
图3为在一个包含对比方法的实施例中物理网络节点规模对有效节点占比的影响示意图。Figure 3 is a schematic diagram of the impact of physical network node scale on the proportion of effective nodes in an embodiment including a comparison method.
具体实施方式Detailed ways
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of this application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
在本发明的方案中,为解决无线传感器设备的可靠性低的问题,本发明提供了一种基于业务优先级和负载均衡的网络可靠性优化方法。In the solution of the present invention, in order to solve the problem of low reliability of wireless sensor equipment, the present invention provides a network reliability optimization method based on business priority and load balancing.
为实现无线传感网资源的负载均衡,确保物理节点的生命周期尽可能长,从而保证虚拟网的服务质量,本发明提出的基于业务优先级和负载均衡的网络可靠性优化方法(Network reliability optimization algorithm based on service priority andload balancing in wireless sensor networks(NROA-SPoLB))如图1所示。该方法包括步骤S100至S300:In order to achieve load balancing of wireless sensor network resources and ensure that the life cycle of physical nodes is as long as possible, thereby ensuring the service quality of the virtual network, the present invention proposes a network reliability optimization method based on business priority and load balancing. The algorithm based on service priority and load balancing in wireless sensor networks (NROA-SPoLB) is shown in Figure 1. The method includes steps S100 to S300:
S100,选择需要迁移的虚拟网;S100, select the virtual network that needs to be migrated;
S200,依次迁移虚拟网;S200, migrate virtual networks in sequence;
S300,如果存在需要迁徙的虚拟网,重复S100和S200,否则结束。S300, if there is a virtual network that needs to be migrated, repeat S100 and S200, otherwise end.
在步骤S100中,通过选择需要优化的物理节点,将不满足生命周期的物理节点的所有虚拟业务进行迁移。这样的好处是给物理网络节点预留更大的空间,防止再次映射时将其资源耗尽。In step S100, by selecting physical nodes that need to be optimized, all virtual services of physical nodes that do not meet the life cycle are migrated. The advantage of this is to reserve more space for physical network nodes to prevent their resources from being exhausted when re-mapping.
在步骤S200中,对于需要迁移的虚拟业务,其时延越短,越需要先迁移,从而获得较短的链路,满足时延要求。In step S200, for the virtual services that need to be migrated, the shorter their delay, the more they need to be migrated first, so as to obtain shorter links and meet the delay requirements.
在步骤S300中,设置优化次数阈值T对算法的执行次数进行限制,防止过度计算,导致计算资源开销过大。其次,判断所有物理节点ni∈N的生命周期是否满足阈值可以有效防止因迁移导致部分物理节点资源被过度使用。In step S300, an optimization times threshold T is set to limit the number of execution times of the algorithm to prevent over-calculation, which may lead to excessive computing resource overhead. Secondly, determine whether the life cycle of all physical nodes n i ∈N meets the threshold It can effectively prevent some physical node resources from being overused due to migration.
本发明的各个实施例方法基于一种网络虚拟化环境,该网络虚拟化环境中,无线传感网被虚拟化后分为物理网络层和虚拟网络层形成虚拟化无线传感网,虚拟网络层同时提供多个虚拟网向多个虚拟业务提供服务。中国专利CN110933728A公开了一种虚拟化无线传感网的映射装置,其控制层相当于本发明的虚拟网络层,其传感基础设施层相当于本发明的物理网络层,本发明方法一个实施例可运行于该公开控制层控制器中。本发明的一个运行于云计算资源管理平台的实施例,属于资源编排服务(Resource OrchestrationService,ROS)的配置方法,其中:The methods of various embodiments of the present invention are based on a network virtualization environment. In the network virtualization environment, the wireless sensor network is virtualized and divided into a physical network layer and a virtual network layer to form a virtualized wireless sensor network. The virtual network layer Provide multiple virtual networks to provide services to multiple virtual services at the same time. Chinese patent CN110933728A discloses a mapping device for a virtualized wireless sensor network. Its control layer is equivalent to the virtual network layer of the present invention, and its sensing infrastructure layer is equivalent to the physical network layer of the present invention. An embodiment of the method of the present invention. Can run in this public control layer controller. An embodiment of the present invention running on a cloud computing resource management platform belongs to the configuration method of Resource Orchestration Service (ROS), wherein:
物理网络层的结构拓扑使用无向图G(N,L)表示。其中,N表示物理网络节点集合,E表示物理网络链路集合。对于任一物理网络节点ni∈N,其至少包括CPU计算能力C(ni)、节点位置P(xi,yi)、剩余能量三个自身属性,下标i表示该物理网络节点的索引号。L为物理网络节点之间物理网络链路的集合,对于一个物理网络节点ni与物理网络节点nj之间的物理网络链路lij∈L,其至少包含带宽B(lij)这一自身属性,其中,i≠j,lij=lji。The structural topology of the physical network layer is represented by an undirected graph G(N,L). Among them, N represents the set of physical network nodes, and E represents the set of physical network links. For any physical network node n i ∈N, it at least includes CPU computing power C( ni ), node position P(xi , y i ), residual energy Three self-attributes, the subscript i represents the index number of the physical network node. L is the set of physical network links between physical network nodes. For a physical network link l ij ∈L between a physical network node n i and a physical network node n j , it at least includes the bandwidth B(l ij ). Self-property, among which, i≠j, l ij =l ji .
虚拟网络层提供的一个虚拟网的结构拓扑使用无向图Gv(Nv,Lv)表示。其中,Nv表示虚拟网络节点集合,Lv表示虚拟网络链路集合。对于一个虚拟网络节点其至少包括的自身属性为CPU计算能力/>对于一个虚拟网络节点/>与虚拟网络节点/>之间的虚拟网络链路/>其包括的自身属性至少包括带宽/> The structural topology of a virtual network provided by the virtual network layer is represented by an undirected graph G v (N v , L v ). Among them, N v represents the set of virtual network nodes, and L v represents the set of virtual network links. For a virtual network node The at least one attribute it includes is CPU computing power/> For a virtual network node/> with virtual network nodes/> virtual network link/> Its own attributes include at least bandwidth/>
本发明的各个实施例中,对于一个指向一个具体虚拟业务的虚拟网络请求,作为一个响应的,在虚拟网络层产生一个虚拟网为该虚拟业务提供服务,该虚拟网具有一个时延限制条件,以描述其业务服务质量。在本发明的一个实施例中,作为响应M个虚拟网络请求的所产生M个虚拟网,使用表示M个虚拟网的集合,该集合各个虚拟网对应的时延限制条件共K个,K个时延限制条件的集合表示为/>且显然,M≥K。对于虚拟网的迁徙,即,作为对于同一个虚拟网络请求的响应,在一个外部条件下,一个虚拟网/>其在物理网络层的实际资源分配映射发生了变化,从而,在物理网络层的拓扑结构不改变的情况下,其拓扑结构中物理网络节点或者物理网络链路的属性发生变化。In various embodiments of the present invention, for a virtual network request pointing to a specific virtual service, as a response, a virtual network is generated at the virtual network layer to provide services for the virtual service, and the virtual network has a delay limit condition, to describe the quality of its business services. In one embodiment of the present invention, M virtual networks are generated in response to M virtual network requests, using Represents a set of M virtual networks. There are K delay constraints corresponding to each virtual network in the set. The set of K delay constraints is expressed as/> and Obviously, M≥K. For virtual network migration, that is, as a response to the same virtual network request, under an external condition, a virtual network/> Its actual resource allocation mapping in the physical network layer has changed. Therefore, without changing the topology of the physical network layer, the attributes of the physical network nodes or physical network links in the topology have changed.
本发明的各个实施例中,作为对一个虚拟网络请求的响应,在为一个虚拟网分配物理网络层资源的时刻,即,为其若干虚拟网络节点分配物理网络节点的CPU资源,和/或,为其若干虚拟网络链路分配物理网络链路的带宽资源时,对于一个物理网络节点ni,使用Cinit(ni)表示其在该时刻前的,即未完成分配前的,初始CPU计算能力,使用Cused(ni)表示其在该时刻后的,即分配完成后的,已使用CPU计算能力,对于一个物理网络链路lij,使用Binit(lij)表示其在该时刻前的,即未完成分配前的,初始带宽,使用Bleft(lij)表示其在该时刻后的,即分配完成后的,剩余带宽。In various embodiments of the present invention, as a response to a virtual network request, when allocating physical network layer resources to a virtual network, that is, allocating CPU resources of physical network nodes to several of its virtual network nodes, and/or, When allocating the bandwidth resources of physical network links to several virtual network links, for a physical network node n i , use C init (n i ) to represent its initial CPU calculation before that moment, that is, before the allocation is completed. Capability, use C used (n i ) to represent its used CPU computing power after this moment, that is, after the allocation is completed. For a physical network link l ij , use B init (l ij ) to represent its usage at this moment. The initial bandwidth before, that is, before the allocation is completed, uses B left (l ij ) to represent the remaining bandwidth after this moment, that is, after the allocation is completed.
本发明的各个实施例中,对于物理网络节点,以其剩余能量作为衡量其生命周期的一个标准,该剩余生命周期越大,表示物理网络节点承担虚拟网络业务的可靠性越好。在本发明的一个实施例中,使用公式(1)描述物理网络节点ni∈N的在一个具体时刻t的剩余生命周期 In various embodiments of the present invention, the remaining energy of a physical network node is used as a criterion to measure its life cycle. The larger the remaining life cycle, the better the reliability of the physical network node in undertaking virtual network services. In one embodiment of the present invention, formula (1) is used to describe the remaining life cycle of the physical network node n i ∈ N at a specific time t
其中,表示该物理网络节点的在时刻t前的总能量消耗,/>表示该物理网络节点在时刻t的剩余能量。从公式(1)可知,一个物理网络节点在一个时刻的剩余生命周期与其总能量消耗成反比,与其剩余能量成正比。/>取值为时刻t前历史上的发送数据的能耗Esend与接收数据的能耗Ereceive之和。in, Indicates the total energy consumption of the physical network node before time t,/> Indicates the remaining energy of the physical network node at time t. It can be seen from formula (1) that the remaining life cycle of a physical network node at a moment is inversely proportional to its total energy consumption and directly proportional to its remaining energy. /> The value is the sum of the historical energy consumption of sending data E send and the energy consumption of receiving data E receive before time t.
示范性的,一个物理网络节点发送k比特数据的能耗Esend使用公式(2)计算。Exemplarily, the energy consumption E send of a physical network node sending k-bit data is calculated using formula (2).
接收k比特数据的能耗Ereceive使用公式(3)计算。The energy consumption E receive for receiving k-bit data is calculated using formula (3).
Ereceive=kE0 (3) Ereceive =kE 0 (3)
其中,E0表示射频能耗系数,与物理网络节点其本身的物理属性相关;pre表示指示符向量,用于调整拓扑距离dij与能耗之间的指数增长关系,对于一个物理网络节点设有一个阈值d0,拓扑距离dij在小于该阈值时具有一个指定的指数pre,在大于该阈值时具有一个更大的指数pre,如,当dij<d0时,优选的pre=2;当dij≥d0时,优选的pre=4。d0是dij的阈值,优选的,εfs表示能量衰减系数,ε表示多径衰减系数。dij表示物理网络节点ni∈N与它的下一跳的物理网络节点nj∈N之间的拓扑距离,优选该距离为欧氏距离时,可使用公式(4)计算。Among them, E 0 represents the radio frequency energy consumption coefficient, which is related to the physical attributes of the physical network node itself; pre represents the indicator vector, which is used to adjust the exponential growth relationship between the topological distance d ij and energy consumption. For a physical network node, There is a threshold d 0 . The topological distance d ij has a specified index pre when it is less than the threshold, and has a larger index pre when it is greater than the threshold. For example, when d ij <d 0 , the preferred pre=2 ; When d ij ≥ d 0 , preferred pre=4. d 0 is the threshold of d ij , preferably, ε fs represents the energy attenuation coefficient, and ε represents the multipath attenuation coefficient. d ij represents the topological distance between the physical network node n i ∈N and its next-hop physical network node n j ∈N. When the distance is preferably Euclidean distance, it can be calculated using formula (4).
基于上述示例性描述,可以得到的一个计算过程可如公式(5)所示。Based on the above exemplary description, it can be obtained A calculation process of can be shown as formula (5).
本发明构思的一个方面在于,要保证每个物理网络节点在所有时刻都有较大的生命周期,需要让各个业务均匀的分配在物理网络节点上,以避免部分物理网络节点因能耗过多而提前失能。本发明的一个实施例中,使用ηreload表示一个物理网络层在一个时刻t的负载均衡率,使用公式(6)计算。One aspect of the concept of the present invention is to ensure that each physical network node has a large life cycle at all times, and each service needs to be evenly distributed on the physical network nodes to avoid excessive energy consumption of some physical network nodes. And premature disability. In one embodiment of the present invention, η reload is used to represent the load balancing rate of a physical network layer at a time t, and is calculated using formula (6).
其中,分别表示其所有物理网络节点中剩余能量的最大值和最小值。从公式(6)可知,物理网络层在一个具体时刻的负载均衡率ηreload是一个大于1的数,该数值越接近1,表示其所有物理网络节点的剩余能量越均衡,可以通过该类公式判断其各个物理网络节点的能耗是否均衡,一般的,在同一资源分配策略下物理网络层的负载均衡率ηreload基本上是稳定。类似的,使用/>表示上一次资源分配策略实施后的物理网络层的负载均衡率。当/> 时,表示当前的资源分配策略,可以更好的满足物理网络层网络资源的负载均衡。in, Respectively represent the maximum and minimum values of the remaining energy in all its physical network nodes. It can be seen from formula (6) that the load balancing rate η reload of the physical network layer at a specific moment is a number greater than 1. The closer the value is to 1, the more balanced the remaining energy of all physical network nodes is. This type of formula can be used Determine whether the energy consumption of each physical network node is balanced. Generally, the load balancing rate η reload of the physical network layer is basically stable under the same resource allocation strategy. Similarly, use/> Indicates the load balancing rate of the physical network layer after the last resource allocation policy was implemented. When/> When , it indicates that the current resource allocation strategy can better meet the load balancing of network resources at the physical network layer.
本发明构思的一个方面在于,虚拟网x中从一个虚拟网络节点到另一个虚拟网络节点的通讯时长,或者说时延Tx属于时间维度,不便于计算,为了将一个虚拟网的时延与物理网络层的属性进行关联,本发明将虚拟网络节点之间的时延Tx转换为其映射的物理网络节点之间的跳数Hx。在本发明的一个实施例中,一个虚拟网的跳数Hx使用公式(7)计算。One aspect of the concept of the present invention is that the communication time from one virtual network node to another virtual network node in the virtual network x, or the time delay T The attributes of the physical network layer are associated, and the present invention converts the delay T x between virtual network nodes into the number of hops H x between its mapped physical network nodes. In one embodiment of the invention, a virtual network The number of hops H x is calculated using formula (7).
其中,表示虚拟网x中各个虚拟网络链路的数据处理时长和传输时长的平均值。in, Indicates the average data processing time and transmission time of each virtual network link in virtual network x.
示范的,基于上述各个实施例的,在一个完整的实施例中,通过以下具体步骤实现本发明方法步骤S100至S300。Exemplarily, based on the above embodiments, in a complete embodiment, steps S100 to S300 of the method of the present invention are implemented through the following specific steps.
本实施例由一个运行于云计算平台的资源编排模块实现,云计算平台连接并调配一个无线传感网的物理网络节点的资源并向多个业务提供虚拟化无线传感网服务,其中,由其资源编排模块根据虚拟网络请求调整虚拟化无线传感网的物理网络层的拓扑结构,以保证物理网络层各个物理网络节点的有效节点占比。This embodiment is implemented by a resource orchestration module running on a cloud computing platform. The cloud computing platform connects and allocates resources of physical network nodes of a wireless sensor network and provides virtualized wireless sensor network services to multiple businesses. Among them, Its resource orchestration module adjusts the topology structure of the physical network layer of the virtualized wireless sensor network according to virtual network requests to ensure the effective node proportion of each physical network node in the physical network layer.
本实施例中,基于响应或者API调用的,云计算平台向资源编排模块提供一个物理网络层的拓扑结构G(N,E),在该拓扑结构状态下,该物理网络层实际承载的全部业务对应于M个虚拟网,全部虚拟网的集合为资源编排模块通过本发明方法,向云计算平台提供该物理网络层的拓扑结构下的新的资源分配策略G′(N′,E′),G′(N′,E′)与G(N,E)拓扑结构相同,但是物理网络节点合物理网络链路的属性不同,以便云计算平台调整物理网络层提供更新的虚拟化无线传感网服务。In this embodiment, based on response or API call, the cloud computing platform provides the resource orchestration module with a topology structure G(N,E) of the physical network layer. In this topology state, all services actually carried by the physical network layer are Corresponding to M virtual networks, the set of all virtual networks is The resource orchestration module provides the cloud computing platform with the new resource allocation strategy G′(N′,E′), G′(N′,E′) and G(N) under the topological structure of the physical network layer through the method of the present invention. ,E) The topology is the same, but the attributes of the physical network nodes and physical network links are different, so that the cloud computing platform can adjust the physical network layer to provide updated virtualized wireless sensor network services.
具体的,资源编排模块被配置为根据以下步骤提供新的拓扑结构G′(N′,E′)。Specifically, the resource orchestration module is configured to provide a new topology G′(N′,E′) according to the following steps.
S100,根据物理网络层的一个拓扑结构G(N,E),从该拓扑结构下其承载的全部虚拟网中,提取需要迁移的虚拟网。S100: According to a topology structure G(N,E) of the physical network layer, extract the virtual network that needs to be migrated from all the virtual networks carried by the topology structure.
示范的,本步骤包括以下子步骤S101至S104。其中,Exemplarily, this step includes the following sub-steps S101 to S104. in,
S101,对于任一物理网络节点ni∈N,使用公式(1)计算其剩余生命周期 S101, for any physical network node n i ∈N, use formula (1) to calculate its remaining life cycle
S102,将剩余生命周期小于生命周期阈值的物理网络节点放入集合Θ;对于不同的物理网络节点,可以有不同的生命周期阈值;同一物理网络节点,在不同时刻,可以有不同的生命周期阈值。S102, set the remaining life cycle to be less than the life cycle threshold The physical network nodes are put into the set Θ; for different physical network nodes, there can be different life cycle thresholds; the same physical network node can have different life cycle thresholds at different times.
S103,将集合Θ中每个物理网络节点上的承载的业务所对应的虚拟网放入虚拟网集合Ω,标记为需要迁移的虚拟网;S103. Put the virtual network corresponding to the services carried on each physical network node in the set Θ into the virtual network set Ω, and mark it as a virtual network that needs to be migrated;
S104,使用公式(6)计算物理网络层当前的负载均衡系数,并赋值给 S104, use formula (6) to calculate the current load balancing coefficient of the physical network layer and assign it to
S200,迁移虚拟网。S200, migrate virtual network.
示范的,本步骤包括以下子步骤S201至S208。其中,Exemplarily, this step includes the following sub-steps S201 to S208. in,
S201,遍历集合Ω中的各个虚拟网,使用公式(7)计算其时延要求,即对于集合Ω内的任一个虚拟网有一个时延要求Hx;S201, traverse each virtual network in the set Ω, and use formula (7) to calculate its delay requirement, that is, for any virtual network in the set Ω There is a delay requirement H x ;
S202,对集合Ω中的各个虚拟网,按照每个虚拟网的时延要求进行升序排列,得到集合Ωord;S202: Arrange each virtual network in the set Ω in ascending order according to the delay requirement of each virtual network to obtain the set Ω ord ;
S203,选择集合Ωord中的一个虚拟网初始化循环变量x=1,即第一次执行本步骤应选择选择集合Ωord中时延要求值最小的一个虚拟网,以后每次执行本步骤时,x依次递增一;S203, select a virtual network in the set Ω ord Initialize the loop variable x=1, that is, when executing this step for the first time, the virtual network with the smallest delay requirement in the set Ω ord should be selected. Each time this step is executed in the future, x will be incremented by one;
S204,对于当前的虚拟网使用Dijkstra算法求解最短路径,以此获得一个新的承担当前虚拟网/>的虚拟业务的物理网络层的一个拓扑结构,并计算该拓扑结构的路径跳数/>所述拓扑结构包含为所有承担该虚拟业务的若干物理网络节点合若干物理网络链路;S204, for the current virtual network Use Dijkstra's algorithm to find the shortest path to obtain a new virtual network that assumes the current virtual network/> A topology structure of the physical network layer of the virtual service, and calculate the number of path hops of the topology/> The topology structure includes a number of physical network nodes and a number of physical network links that bear the virtual service;
S205,判断当前虚拟网在选取的路径下的是否小于其时延要求Hx。如不满足,迁移失败,不进行迁移,转步骤S203;S205: Determine whether the current virtual network is under the selected path. Whether it is less than its delay requirement H x . If it is not satisfied, the migration fails and the migration is not performed, and the process goes to step S203;
S206,计算计算物理网络层在该虚拟网新的拓扑结构下负载均衡系数ηreload,即在该虚拟网新的资源分配映射下的负载均衡系数,判断是否满足 如满足,跳转到步骤S208;S206: Calculate the load balancing coefficient η reload of the physical network layer under the new topology of the virtual network, that is, the load balancing coefficient under the new resource allocation mapping of the virtual network, and determine whether it satisfies If satisfied, jump to step S208;
S207、如果步骤204中Dijkstra算法求解还有其他路径,则选择其中一个次最短路径的作为当前的虚拟网的拓扑结构进行映射,返回步骤S205;S207. If there are other paths solved by the Dijkstra algorithm in step 204, select one of the sub-shortest paths as the current virtual network. Map the topology structure and return to step S205;
S208、执行迁徙,将选中的虚拟网映射到当前拓扑结构的路径上,返回步骤S203;该虚拟网被认为是时延敏感的虚拟网。S208. Execute migration and transfer the selected virtual network Map to the path of the current topology structure and return to step S203; the virtual network is considered to be a delay-sensitive virtual network.
S300,评价所有物理节点的生命周期是否满足阈值;重复执行步骤S100和S200,并计为一次优化,如果,重复次数超过预设的优化次数阈值,或者,没有需要迁徙的虚拟网,则,优化过程结束。S300: Evaluate whether the life cycle of all physical nodes meets the threshold; repeat steps S100 and S200 and count it as an optimization. If the number of repetitions exceeds the preset optimization number threshold, or there is no virtual network that needs to be migrated, then the optimization The process ends.
示范的,本步骤包括以下子步骤S301至S302。其中,Exemplarily, this step includes the following sub-steps S301 to S302. in,
S301,判断是否超过优化次数阈值T,如已超过,结束;S301, determine whether the optimization times threshold T is exceeded. If it has been exceeded, end;
S302,对每个物理节点ni∈N,评价生命周期是否满足阈值如满足,结束;如不满足,放入待优化集合Θ,如集合Θ不空,返回步骤S102。S302. For each physical node n i ∈N, evaluate whether the life cycle meets the threshold. If satisfied, end; if not satisfied, put into the set Θ to be optimized. If the set Θ is not empty, return to step S102.
采用上述方法实施例的,本发明提供以下不同具体环境为多个具体实施例,以进一步说明本发明带来的效果。Using the above method embodiments, the present invention provides the following different specific environments as multiple specific embodiments to further illustrate the effects of the present invention.
各个具体实施例中,考虑到最大化恢复可用节点算法(maximizing recovery ofavailable nodes Algorithm,MRANA)是比较典型的网络可靠性优化方法,将本发明算法与算法MRANA进行比较。其中,MRANA算法选择所有不可用节点,采用最短路径法重新映射其上的虚拟网。在评估指标方面,采用物理网络层有效节点占比进行评价。物理网络有效节点占比是指物理网络节点中剩余生命周期大于该阈值的物理网络节点数量,在总的物理网络节点数量中的占比。In each specific embodiment, considering that the maximizing recovery of available nodes Algorithm (MRANA) is a relatively typical network reliability optimization method, the algorithm of the present invention is compared with the algorithm MRANA. Among them, the MRANA algorithm selects all unavailable nodes and uses the shortest path method to remap the virtual network on them. In terms of evaluation indicators, the proportion of effective nodes in the physical network layer is used for evaluation. The proportion of effective physical network nodes refers to the number of physical network nodes with remaining life cycles greater than the threshold, as a proportion of the total number of physical network nodes.
具体实施例一Specific embodiment one
本实施例中,虚拟网络层中,虚拟网的数量从50个增加到100个,用于模拟不同规模的虚拟网请求数量对算法性能的影响。对于每个虚拟网络,虚拟网络节点数量服从(2,4)的均匀分布,每个虚拟网络节点的CPU资源服从(1,5)的均匀分布。每条虚拟网络链路的带宽资源服从(1,3)的均匀分布。在参数设置方面,物理网络节点的剩余生命周期阈值设置为10%,ε的取值设置为100,εfs的取值设置为10,E0的取值设置为50,节点初始能量设置为100,1bit数据的传输能耗为0.02。In this embodiment, in the virtual network layer, the number of virtual networks is increased from 50 to 100 to simulate the impact of the number of virtual network requests of different sizes on algorithm performance. For each virtual network, the number of virtual network nodes obeys the uniform distribution of (2, 4), and the CPU resources of each virtual network node obeys the uniform distribution of (1, 5). The bandwidth resources of each virtual network link obey the uniform distribution of (1, 3). In terms of parameter settings, the remaining life cycle threshold of the physical network node is set to 10%, the value of ε is set to 100, the value of ε fs is set to 10, the value of E 0 is set to 50, and the initial energy of the node is set to 100 , the transmission energy consumption of 1 bit data is 0.02.
本实施例中,物理网络节点数量保持为200个,虚拟网数量对有效节点影响的比较结果如图2所示。图中,X轴表示虚拟网数量从50个增加到100个。从图可知,随着虚拟网数量的增加,两种算法下有效节点的占比都在增加,说明虚拟网数量增加,两种算法都可以优化较多的物理网络节点。两种算法比较来说,本发明算法的网络优化能力较强,说明本发明算法能够更好的对网络资源进行优化。In this embodiment, the number of physical network nodes is maintained at 200, and the comparison results of the impact of the number of virtual networks on effective nodes are shown in Figure 2. In the figure, the X-axis represents the increase in the number of virtual networks from 50 to 100. It can be seen from the figure that as the number of virtual networks increases, the proportion of effective nodes under both algorithms increases, indicating that both algorithms can optimize more physical network nodes as the number of virtual networks increases. Comparing the two algorithms, the network optimization capability of the algorithm of the present invention is stronger, indicating that the algorithm of the present invention can better optimize network resources.
具体实施例二Specific embodiment two
本实施例中,无线传感网中的物理网络层的物理网络节点从100个增加到500个,每个物理网络节点的CPU资源服从(40,50)的均匀分布。每条物理网络链路的带宽资源服从(20,30)的均匀分布。In this embodiment, the number of physical network nodes in the physical network layer in the wireless sensor network increases from 100 to 500, and the CPU resources of each physical network node obey the uniform distribution of (40, 50). The bandwidth resources of each physical network link obey the uniform distribution of (20, 30).
本实施例中,虚拟网络数量保持为70个,物理网络规模对有效节点影响的比较结果如图3所示。图中,X轴表示物理网络节点数量从100个增加到500个的网络拓扑。从图可知,随着物理网络节点数量的增加,两种算法下有效节点的占比都在增加,说明物理网络节点数量增加,虚拟网可以选择的物理网络资源快速增加,从而更好的实现网络资源优化。从两种算法比较来说,本发明算法的网络优化能力较强。In this embodiment, the number of virtual networks remains at 70, and the comparison results of the impact of physical network scale on effective nodes are shown in Figure 3. In the figure, the X-axis represents the network topology when the number of physical network nodes increases from 100 to 500. It can be seen from the figure that as the number of physical network nodes increases, the proportion of effective nodes under both algorithms increases, indicating that the number of physical network nodes increases, and the physical network resources that can be selected by the virtual network increase rapidly, thereby better realizing the network Resource optimization. Comparing the two algorithms, the algorithm of the present invention has stronger network optimization capabilities.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010450336.3A CN111698703B (en) | 2020-05-25 | 2020-05-25 | Network reliability optimization method based on business priority and load balancing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010450336.3A CN111698703B (en) | 2020-05-25 | 2020-05-25 | Network reliability optimization method based on business priority and load balancing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111698703A CN111698703A (en) | 2020-09-22 |
CN111698703B true CN111698703B (en) | 2024-02-20 |
Family
ID=72478258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010450336.3A Active CN111698703B (en) | 2020-05-25 | 2020-05-25 | Network reliability optimization method based on business priority and load balancing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111698703B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112600708A (en) * | 2020-12-14 | 2021-04-02 | 国网河南省电力公司信息通信公司 | Delay-sensitive virtual network resource allocation method under network slice |
CN112543508B (en) * | 2020-12-17 | 2024-12-20 | 国网安徽省电力有限公司信息通信分公司 | Wireless resource allocation method and network architecture for 5G network slicing |
CN112866337A (en) * | 2020-12-30 | 2021-05-28 | 浙江德源智能科技股份有限公司 | High-speed carrying system decision method and device based on intelligent sensing |
CN114554610A (en) * | 2022-03-07 | 2022-05-27 | 广东电网有限责任公司 | Method, device, electronic equipment and medium for resource allocation in 5G converged network |
CN115243377A (en) * | 2022-06-30 | 2022-10-25 | 河南中烟工业有限责任公司 | Virtual wireless sensor network resource allocation method and system based on reinforcement learning, electronic device and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710488A (en) * | 2012-06-07 | 2012-10-03 | 北京邮电大学 | Method for realizing virtual network mapping |
CN103259744A (en) * | 2013-03-26 | 2013-08-21 | 北京航空航天大学 | Method for mapping mobile virtual network based on clustering |
CN103517279A (en) * | 2013-09-23 | 2014-01-15 | 西安交通大学 | Method for combining dynamic radio resource allocation and mobility load balancing in LTE system |
CN106454948A (en) * | 2016-10-11 | 2017-02-22 | 重庆邮电大学 | Node re-distribution method in wireless network virtualization |
CN106487707A (en) * | 2016-09-29 | 2017-03-08 | 北京邮电大学 | A kind of virtual fault tolerant network mapping method of power communication and device |
CN106507490A (en) * | 2016-11-15 | 2017-03-15 | 重庆邮电大学 | A Time-Frequency Resource Mapping Method Based on Wireless Virtual Network Life Cycle |
CN110933728A (en) * | 2019-12-26 | 2020-03-27 | 北京智芯微电子科技有限公司 | Mapping method, device and storage medium of virtualized wireless sensor network |
CN111130904A (en) * | 2019-12-30 | 2020-05-08 | 重庆邮电大学 | A Virtual Network Function Migration Optimization Algorithm Based on Deep Deterministic Policy Gradient |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7142866B2 (en) * | 2003-09-09 | 2006-11-28 | Harris Corporation | Load leveling in mobile ad-hoc networks to support end-to-end delay reduction, QoS and energy leveling |
US9378068B2 (en) * | 2013-03-13 | 2016-06-28 | International Business Machines Corporation | Load balancing for a virtual networking system |
-
2020
- 2020-05-25 CN CN202010450336.3A patent/CN111698703B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710488A (en) * | 2012-06-07 | 2012-10-03 | 北京邮电大学 | Method for realizing virtual network mapping |
CN103259744A (en) * | 2013-03-26 | 2013-08-21 | 北京航空航天大学 | Method for mapping mobile virtual network based on clustering |
CN103517279A (en) * | 2013-09-23 | 2014-01-15 | 西安交通大学 | Method for combining dynamic radio resource allocation and mobility load balancing in LTE system |
CN106487707A (en) * | 2016-09-29 | 2017-03-08 | 北京邮电大学 | A kind of virtual fault tolerant network mapping method of power communication and device |
CN106454948A (en) * | 2016-10-11 | 2017-02-22 | 重庆邮电大学 | Node re-distribution method in wireless network virtualization |
CN106507490A (en) * | 2016-11-15 | 2017-03-15 | 重庆邮电大学 | A Time-Frequency Resource Mapping Method Based on Wireless Virtual Network Life Cycle |
CN110933728A (en) * | 2019-12-26 | 2020-03-27 | 北京智芯微电子科技有限公司 | Mapping method, device and storage medium of virtualized wireless sensor network |
CN111130904A (en) * | 2019-12-30 | 2020-05-08 | 重庆邮电大学 | A Virtual Network Function Migration Optimization Algorithm Based on Deep Deterministic Policy Gradient |
Non-Patent Citations (1)
Title |
---|
低能耗高收益的无线传感器网络虚拟资源映射方法;李鹏;《中国优秀硕士学位论文全文数据库 信息科技辑》;第三章 * |
Also Published As
Publication number | Publication date |
---|---|
CN111698703A (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111698703B (en) | Network reliability optimization method based on business priority and load balancing | |
WO2023039965A1 (en) | Cloud-edge computing network computational resource balancing and scheduling method for traffic grooming, and system | |
CN108156041B (en) | A Differentiated Virtual Optical Network Mapping Method Based on Security Awareness | |
WO2019072162A1 (en) | Virtual network mapping method, device and storage medium | |
CN106789744B (en) | High throughput resource scheduling method with time delay perception based on fusion network virtualization | |
WO2019134197A1 (en) | Method and system for selecting minimum load router based on naive bayes classifier | |
CN113784373A (en) | Combined optimization method and system for time delay and frequency spectrum occupation in cloud edge cooperative network | |
CN103096415B (en) | Route optimizing device and method catering to perceive wireless mesh network | |
CN111756654B (en) | A Reliability-Based Resource Allocation Method for Large-Scale Virtual Networks | |
CN106537824B (en) | Method and apparatus for the response time for reducing information centre's network | |
CN111756656B (en) | A Resource Allocation Method for Power Communication Network Based on Reliability and Historical Data | |
CN103888976A (en) | Link selection method combined with network scheduling and routing | |
CN111510319B (en) | Network slice resource management method based on state perception | |
JP2017500816A (en) | Traffic engineering for large data center networks | |
CN108471358B (en) | Virtual network protective mapping method based on minimum spanning tree | |
CN115809148B (en) | Load balancing task scheduling method and device for edge computing | |
CN108347380B (en) | A Virtual Optical Network Collaborative Mapping Method Based on Spectral Dispersion Perception | |
CN101119307A (en) | a routing method | |
CN111756655B (en) | Virtual network resource migration method based on resource reservation | |
CN105024935B (en) | A kind of efficient resource allocation method based on susceptibility in reconfigurable network | |
CN114363738B (en) | Virtual network mapping method facing data center resource perception | |
CN116489158A (en) | Load balancing method for container migration in cloud environment | |
CN112653580B (en) | A method of virtual network resource allocation based on active detection under network slicing | |
CN112929856B (en) | Route calculation method and device for alleviating congestion in mobile ad hoc networks | |
CN112600708A (en) | Delay-sensitive virtual network resource allocation method under network slice |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |