CN114710199A - SDN-based dynamic deployment method and system for multiple controllers of satellite network - Google Patents

SDN-based dynamic deployment method and system for multiple controllers of satellite network Download PDF

Info

Publication number
CN114710199A
CN114710199A CN202210337675.XA CN202210337675A CN114710199A CN 114710199 A CN114710199 A CN 114710199A CN 202210337675 A CN202210337675 A CN 202210337675A CN 114710199 A CN114710199 A CN 114710199A
Authority
CN
China
Prior art keywords
leo satellite
satellite network
migration
leo
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.)
Granted
Application number
CN202210337675.XA
Other languages
Chinese (zh)
Other versions
CN114710199B (en
Inventor
万颖
钱克昌
王宇
熊达鹏
刘涵
吴署光
石成豪
温晓敏
胡豪杰
王梦阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peoples Liberation Army Strategic Support Force Aerospace Engineering University
Original Assignee
Peoples Liberation Army Strategic Support Force Aerospace Engineering University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Peoples Liberation Army Strategic Support Force Aerospace Engineering University filed Critical Peoples Liberation Army Strategic Support Force Aerospace Engineering University
Priority to CN202210337675.XA priority Critical patent/CN114710199B/en
Publication of CN114710199A publication Critical patent/CN114710199A/en
Application granted granted Critical
Publication of CN114710199B publication Critical patent/CN114710199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18513Transmission in a satellite or space-based system

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radio Relay Systems (AREA)

Abstract

The invention discloses a satellite network multi-controller dynamic deployment method and a system based on SDN, which comprises the steps of constructing a satellite network architecture based on SDN; acquiring global load information of the LEO satellite network, and judging the load state of the LEO satellite network based on three thresholds; if the LEO satellite network is in an overall overload state, a local overload state or an underload state, making a migration strategy based on the load state of the LEO satellite network; if the LEO satellite network is in a normal state, outputting LEO satellite network information; performing dynamic migration based on a migration strategy; updating the mapping relation between a LEO satellite switch node and a LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network; judging the load state of the current LEO satellite network based on the three thresholds, and outputting the related information of the current LEO satellite network if the load state of the current LEO satellite network is in a normal state; and if the LEO satellite network is in an abnormal state, repeating the steps until the load state of the current LEO satellite network is in a normal state.

Description

一种基于SDN的卫星网络多控制器动态部署方法及系统A method and system for dynamic deployment of satellite network multi-controller based on SDN

技术领域technical field

本发明涉及卫星网络技术领域,具体涉及一种基于SDN的卫星网络多控制器动态部署方法及系统。The invention relates to the technical field of satellite networks, in particular to a method and system for dynamic deployment of satellite network multi-controllers based on SDN.

背景技术Background technique

卫星网络具有体系结构庞大、卫星数量多且分布广、网络拓扑灵活多变等特征;软件定义网络(Software Define Network,SDN)是一种灵活的、可编程的、集中控制的新型网络架构,主要由控制平面、数据平面和应用平面构成,SDN基本架构如图1所示,SDN解耦了控制平面和数据平面,能够以全局视角分配网络资源,并制定有效的资源分配策略;控制平面作为SDN架构的核心组成部分,通常由一个或多个控制器组成;数据平面由简单的交换机等硬件转发设备组成,数据平面设备通过南向接口接收来自上层控制平面的决策指令,并根据控制平面下发的流规则进行相应的数据转发与处理;当转发设备接收到数据包时,首先会检查本地流表,寻找对应的流表项,若流表项存在且匹配成功则根据对应的转发路径进行转发,若匹配失败,则封装成Packet-in请求消息发送给控制器,随后控制器间进行通信寻找对应的转发策略,并封装成Packet-out消息返回给交换机,此外,数据平面还会将当前的网络状态、统计信息等数据通过南向接口返回给控制平面。Satellite network has the characteristics of huge architecture, large number and wide distribution of satellites, flexible and changeable network topology, etc. Software Defined Network (SDN) is a flexible, programmable, and centralized control new network architecture. It consists of control plane, data plane and application plane. The basic architecture of SDN is shown in Figure 1. SDN decouples the control plane and data plane, and can allocate network resources from a global perspective and formulate effective resource allocation strategies; the control plane is used as the SDN. The core component of the architecture is usually composed of one or more controllers; the data plane is composed of simple hardware forwarding devices such as switches. The data plane devices receive decision-making instructions from the upper-layer control plane through the southbound interface, and issue them according to the control plane. When the forwarding device receives the data packet, it will first check the local flow table to find the corresponding flow table entry. If the flow table entry exists and the match is successful, it will be forwarded according to the corresponding forwarding path. , if the match fails, it is encapsulated into a Packet-in request message and sent to the controller, and then the controllers communicate with each other to find the corresponding forwarding strategy, and encapsulate it into a Packet-out message and return it to the switch. In addition, the data plane will also send the current Data such as network status and statistics are returned to the control plane through the southbound interface.

将SDN技术应用于卫星网络中具有简化卫星节点功能、增强卫星网络的控制能力、降低网络维护与建设成本以及实现网络资源灵活管理的优势,将SDN技术应用于卫星网络中能缓解卫星网络拓扑时变、星间链路变化频繁、卫星资源有限等多个问题,可以更好地满足空间网络的功能需求,控制平面可获取卫星网络全局视图,灵活管控卫星网络,卫星节点可分离控制与转发功能,降低星载设备的复杂性;同时,卫星控制器节点可以实时监测网络节点变化,随时掌握卫星网络负载情况。Applying SDN technology to satellite networks has the advantages of simplifying satellite node functions, enhancing satellite network control capabilities, reducing network maintenance and construction costs, and realizing flexible management of network resources. The control plane can obtain a global view of the satellite network, flexibly manage and control the satellite network, and the satellite nodes can separate the control and forwarding functions , reduce the complexity of the on-board equipment; at the same time, the satellite controller node can monitor the changes of the network nodes in real time and grasp the satellite network load situation at any time.

目前,基于SDN的卫星网络多控制器部署研究,主要从控制器静态部署和控制器动态部署两个角度来进行分析;卫星网络多控制器静态部署方法不考虑网络流量、拓扑的动态变化,始终认为网络的流量和网络结构与初始时刻保持一致,能够保证在某一状态下的网络性能达到最优,但却无法达到整体性能最优,无法应对空间信息网络的突发性任务引起的流量剧增、控制器容量不足,出现控制器停滞甚至导致整个网络瘫痪的现象,对网络的安全性与可靠性无形中产生了威胁,对整个网络的性能造成了影响;卫星网络多控制器动态部署方法,能够积极应对不同网络用户、服务需求下,卫星数据流量发生的激烈变化时产生的网络流量分布不均,控制器负载不均的现象。At present, the research on multi-controller deployment of satellite network based on SDN is mainly analyzed from the perspective of static deployment of controllers and dynamic deployment of controllers; the static deployment method of multi-controller of satellite network does not consider the dynamic changes of network traffic and topology, and always It is believed that the network traffic and network structure are consistent with the initial time, which can ensure the optimal network performance in a certain state, but cannot achieve the optimal overall performance, and cannot cope with the traffic surge caused by the sudden task of the spatial information network. increase, the controller capacity is insufficient, the controller stagnates or even causes the entire network to be paralyzed, which poses a threat to the security and reliability of the network, and affects the performance of the entire network; the dynamic deployment method of satellite network multi-controller , can actively deal with the phenomenon of uneven distribution of network traffic and uneven load of the controller when the satellite data traffic changes drastically under the needs of different network users and services.

由于当前传统的基于SDN的卫星网络多控制器的动态部署方法在应对卫星网络数据流量剧烈变化时,无法适应当前LEO卫星网络网络拓扑变化,部分LEO卫星控制器节点可能会出现异常状态,如整体过载状态、局部过载状态及欠载状态;当LEO卫星控制器节点整体过载或是局部过载时,LEO卫星控制器节点的性能将遭到冲击,无法正常处理LEO卫星交换机节点的相关数据,导致整个卫星网络的处理性能受到影响;当LEO卫星控制器节点出现欠载情况时,LEO卫星控制器节点的处理能力得不到合理使用,造成卫星资源的浪费。Because the current traditional SDN-based multi-controller dynamic deployment method for satellite networks cannot adapt to the current LEO satellite network topology changes when dealing with drastic changes in satellite network data traffic, some LEO satellite controller nodes may appear abnormal, such as the overall Overload state, partial overload state and underload state; when the LEO satellite controller node is overloaded as a whole or partially overloaded, the performance of the LEO satellite controller node will be impacted, and the relevant data of the LEO satellite switch node cannot be processed normally, resulting in the entire The processing performance of the satellite network is affected; when the LEO satellite controller node is under-loaded, the processing capacity of the LEO satellite controller node cannot be reasonably used, resulting in a waste of satellite resources.

发明内容SUMMARY OF THE INVENTION

针对上述问题,本发明的一个目的是提供一种基于SDN的卫星网络多控制器动态部署方法,该方法基于SDN的卫星网络架构,将卫星网络中的主控制器部署在地面站,区域控制器部署在GEO卫星,部分的LEO卫星部署从控制器;该方法针对卫星网络的流量变化,重新调整卫星控制域的划分,采用“三门限”交换机迁移策略,通过动态迁移LEO卫星交换机节点,动态改变LEO卫星控制器节点与交换机节点的映射关系,解决当前卫星网络流量分布不均问题,提高卫星节点资源利用率、卫星网络的服务质量与处理性能。In view of the above problems, an object of the present invention is to provide a method for dynamically deploying multiple controllers in a satellite network based on SDN. The method is based on the satellite network architecture of SDN. Deployed on GEO satellites, some LEO satellites are deployed from controllers; this method readjusts the division of satellite control domains according to the traffic changes of the satellite network, adopts the "three-threshold" switch migration strategy, and dynamically changes the LEO satellite switch nodes through dynamic migration. The mapping relationship between LEO satellite controller nodes and switch nodes solves the problem of uneven distribution of current satellite network traffic, and improves satellite node resource utilization, satellite network service quality and processing performance.

本发明的第二个目的是提供一种基于SDN的卫星网络多控制器动态部署系统。The second object of the present invention is to provide an SDN-based multi-controller dynamic deployment system for satellite networks.

本发明所采用的第一个技术方案是:一种基于SDN的卫星网络多控制器动态部署方法,包括以下步骤:The first technical solution adopted by the present invention is: an SDN-based multi-controller dynamic deployment method for satellite networks, comprising the following steps:

S100:构建基于SDN的卫星网络架构;S100: Build an SDN-based satellite network architecture;

S200:获取LEO卫星网络全局负载信息,基于三个门限判定LEO卫星网络的负载状态;所述LEO卫星网络的负载状态包括整体过载状态、局部过载状态、欠载状态和正常状态;S200: Acquire global load information of the LEO satellite network, and determine the load state of the LEO satellite network based on three thresholds; the load state of the LEO satellite network includes an overall overload state, a partial overload state, an underload state, and a normal state;

S300:若所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态,则基于所述LEO卫星网络的负载状态制定迁移策略;若所述LEO卫星网络处于正常状态,则输出LEO卫星网络信息;S300: If the LEO satellite network is in an overall overload state, a partial overload state or an underload state, formulate a migration strategy based on the load state of the LEO satellite network; if the LEO satellite network is in a normal state, output the LEO satellite network information;

S400:基于所述迁移策略进行动态迁移;S400: Perform dynamic migration based on the migration strategy;

S500:更新LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系以获得当前LEO卫星网络;S500: Update the mapping relationship between the LEO satellite switch node and the LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network;

S600:基于三个门限判断当前LEO卫星网络的负载状态,若当前LEO卫星网络的负载状态处于正常状态,则输出当前LEO卫星网络相关信息;若当前LEO卫星网络的负载状态不处于正常状态,则重复上述步骤S200~S500,直至当前LEO卫星网络的负载状态处于正常状态。S600: Judging the load state of the current LEO satellite network based on three thresholds, if the current load state of the LEO satellite network is in a normal state, output relevant information of the current LEO satellite network; if the current load state of the LEO satellite network is not in a normal state, then The above steps S200 to S500 are repeated until the current load state of the LEO satellite network is in a normal state.

优选地,所述步骤S200包括:Preferably, the step S200 includes:

基于LEO卫星网络全局负载信息判断LEO卫星网络负载是否大于第一门限,若大于第一门限,则判定LEO卫星网络处于整体过载状态;Determine whether the LEO satellite network load is greater than the first threshold based on the global load information of the LEO satellite network, and if it is greater than the first threshold, then determine that the LEO satellite network is in an overall overload state;

若小于第一门限,则进一步判断任一LEO卫星控制器节点负载是否大于第二门限,若大于第二门限,则判定LEO卫星网络处于局部过载状态;If it is less than the first threshold, it is further judged whether the load of any LEO satellite controller node is greater than the second threshold, and if it is greater than the second threshold, it is judged that the LEO satellite network is in a local overload state;

若小于第二门限,则进一步判断任一LEO卫星控制器节点负载是否小于第三门限,若小于第三门限,则判定LEO卫星网络处于欠载状态;If it is less than the second threshold, it is further judged whether the load of any LEO satellite controller node is less than the third threshold, and if it is less than the third threshold, it is judged that the LEO satellite network is in an underload state;

若大于第三门限,则判定LEO卫星网络处于正常状态。If it is greater than the third threshold, it is determined that the LEO satellite network is in a normal state.

优选地,所述步骤S300包括:若所述LEO卫星网络处于整体过载状态,则制定以下迁移策略:Preferably, the step S300 includes: if the LEO satellite network is in an overall overload state, formulating the following migration strategy:

S311:添加LEO卫星控制器节点,将过载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S311 : add a LEO satellite controller node, and determine the overloaded LEO satellite controller node as the migrated LEO satellite controller node;

S312:基于优先迁移率在所述迁移LEO卫星控制器节点中选择待迁移的LEO卫星交换机节点;S312: Select the LEO satellite switch node to be migrated from the migrated LEO satellite controller nodes based on the priority mobility rate;

S313:基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对所述目标函数进行求解以确定新添加LEO卫星控制器节点的位置;并将所述新添加LEO卫星控制器节点作为目标域。S313: constructing an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay and the load balancing of the post-migration LEO satellite network, and solving the objective function to determine the position of the newly added LEO satellite controller node; And use the newly added LEO satellite controller node as the target domain.

优选地,所述步骤S300包括:若LEO卫星网络处于局部过载状态,则制定以下迁移策略:Preferably, the step S300 includes: if the LEO satellite network is in a local overload state, formulating the following migration strategy:

S321:筛选出任一过载的LEO卫星控制器节点,将所述过载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S321: Screen out any overloaded LEO satellite controller node, and determine the overloaded LEO satellite controller node as the migration LEO satellite controller node;

S322:基于优先迁移率在所述迁移LEO卫星控制器节点中选择待迁移的LEO卫星交换机节点;S322: Select the LEO satellite switch node to be migrated from the migrated LEO satellite controller nodes based on the priority mobility rate;

S323:基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数进行求解以选择出合适的卫星控制器节点作为目标域。S323: Construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and solve the objective function to select a suitable satellite controller node as the target domain.

优选地,所述步骤S300包括:若LEO卫星网络处于欠载状态,则制定以下迁移策略:Preferably, the step S300 includes: if the LEO satellite network is in an underload state, formulating the following migration strategy:

S331:筛选出任一欠载的LEO卫星控制器节点,将所述欠载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S331: Screen out any underloaded LEO satellite controller node, and determine the underloaded LEO satellite controller node as the migration LEO satellite controller node;

S332:基于优先迁移率在所述迁移LEO卫星控制器节点中选择待迁移的LEO卫星交换机节点;S332: Select the LEO satellite switch node to be migrated from the migrated LEO satellite controller nodes based on the priority mobility rate;

S333:基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数进行求解以选择出合适的卫星控制器节点作为目标域。S333: Construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and solve the objective function to select a suitable satellite controller node as the target domain.

优选地,所述优先迁移率通过以下公式表示:Preferably, the preferential mobility is expressed by the following formula:

Figure BDA0003577219410000041
Figure BDA0003577219410000041

式中,Qj为LEO卫星交换机节点sj优先迁移率;λj为迁移LEO卫星交换机节点sj的数据流请求速率;dij为迁移LEO卫星交换机节点sj与迁移LEO卫星控制器节点ci之间的最短距离;fi为LEO卫星控制器ci的处理能力。In the formula, Q j is the priority mobility rate of the LEO satellite switch node s j ; λ j is the data flow request rate of the migrated LEO satellite switch node s j ; d ij is the migration LEO satellite switch node s j and the migrated LEO satellite controller node c The shortest distance between i ; f i is the processing capability of the LEO satellite controller c i .

优选地,所述目标函数通过以下公式表示:Preferably, the objective function is represented by the following formula:

Wmin=α×BL+β×newcost+γ×newTa W min =α×BL+β×newcost+γ×newT a

式中,Wmin为基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数的最小值;BL为迁移后LEO卫星网络的负载均衡参数;newcost为LEO卫星网络迁移开销进行归一化之后的值;newTa为迁移后LEO卫星控制链路时延进行归一化后的值;α、β、γ分别为LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数的不同权重,α+β+γ=1,0≤α,β,γ≤1。In the formula, W min is the minimum value based on the migration cost of the LEO satellite network, the LEO satellite control link delay after migration, and the load balancing parameters of the LEO satellite network after migration; BL is the load balancing parameter of the LEO satellite network after migration; newcost is LEO satellite network migration cost after normalization; newT a is the normalized value of the LEO satellite control link delay after migration; α, β, γ are the LEO satellite network migration cost, the post-migration LEO satellite Control link delay and different weights of load balancing parameters of the LEO satellite network after migration, α+β+γ=1, 0≤α,β,γ≤1.

优选地,采用鲸鱼优化算法和模拟退火算法对目标函数进行求解。Preferably, the objective function is solved by using the whale optimization algorithm and the simulated annealing algorithm.

优选地,所述步骤S400包括:Preferably, the step S400 includes:

迁移LEO卫星控制器节点选取待迁移LEO卫星交换机节点,并向待迁移的LEO卫星交换机节点部署迁移规则,待迁移LEO卫星交换机节点向目标域发送请求,目标域接受待迁移LEO卫星交换机节点的请求,将待迁移LEO卫星交换机节点迁移至目标域下;The migration LEO satellite controller node selects the LEO satellite switch node to be migrated, deploys migration rules to the LEO satellite switch node to be migrated, the LEO satellite switch node to be migrated sends a request to the target domain, and the target domain accepts the request of the LEO satellite switch node to be migrated , migrate the LEO satellite switch node to be migrated to the target domain;

若LEO卫星网络处于欠载状态,将待迁移LEO卫星交换机节点迁移至目标域下后,关闭欠载的LEO卫星控制器节点。If the LEO satellite network is in an underload state, after migrating the LEO satellite switch node to be migrated to the target domain, shut down the underloaded LEO satellite controller node.

本发明所采用的第二个技术方案是:一种基于SDN的卫星网络多控制器动态部署系统,包括卫星网络构建模块、负载状态判定模块、迁移策略制定模块、迁移模块、更新模块和判断模块;The second technical solution adopted by the present invention is: an SDN-based satellite network multi-controller dynamic deployment system, comprising a satellite network construction module, a load state determination module, a migration strategy formulation module, a migration module, an update module and a judgment module ;

所述卫星网络构建模块用于构建基于SDN的卫星网络架构;The satellite network building module is used to construct an SDN-based satellite network architecture;

所述负载状态判定模块用于获取LEO卫星网络全局负载信息,基于三个门限判定LEO卫星网络的负载状态;所述LEO卫星网络的负载状态包括整体过载状态、局部过载状态、欠载状态和正常状态;The load state determination module is used to obtain the global load information of the LEO satellite network, and determine the load state of the LEO satellite network based on three thresholds; the load state of the LEO satellite network includes an overall overload state, a partial overload state, an underload state and a normal state. state;

所述迁移策略制定模块用于当所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态时,基于所述LEO卫星网络的负载状态制定迁移策略,以及当所述LEO卫星网络处于正常状态时,输出LEO卫星网络信息;The migration strategy formulation module is configured to formulate a migration strategy based on the load state of the LEO satellite network when the LEO satellite network is in an overall overload state, a partial overload state or an underload state, and when the LEO satellite network is in a normal state In state, output LEO satellite network information;

所述迁移模块用于基于所述迁移策略进行动态迁移;The migration module is configured to perform dynamic migration based on the migration strategy;

所述更新模块用于更新LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系以获得当前LEO卫星网络;The update module is used to update the mapping relationship between the LEO satellite switch node and the LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network;

所述判断模块用于基于三个门限判断当前LEO卫星网络的负载状态,若当前LEO卫星网络的负载状态处于正常状态,则输出当前LEO卫星网络相关信息。The judging module is used for judging the load state of the current LEO satellite network based on three thresholds, and if the current load state of the LEO satellite network is in a normal state, outputting the relevant information of the current LEO satellite network.

上述技术方案的有益效果:The beneficial effects of the above technical solutions:

(1)本发明公开的一种基于SDN的卫星网络多控制器动态部署方法基于SDN的卫星网络架构,将卫星网络中的主控制器部署在地面站,区域控制器部署在GEO卫星,部分的LEO卫星部署从控制器;本发明借助铱星网络拓扑着重对LEO卫星网络的控制器动态部署进行研究。(1) A kind of SDN-based satellite network multi-controller dynamic deployment method disclosed in the present invention is based on the SDN-based satellite network architecture, the main controller in the satellite network is deployed on the ground station, the regional controller is deployed on the GEO satellite, and part of the The LEO satellite is deployed from the controller; the present invention focuses on the research on the dynamic deployment of the controller of the LEO satellite network by means of the Iridium network topology.

(2)本发明公开的一种基于SDN的卫星网络多控制器动态部署方法针对卫星网络的流量变化,重新调整卫星控制域的划分,采用“三门限”交换机迁移策略,通过动态迁移LEO卫星交换机节点,动态改变LEO卫星控制器节点与交换机节点的映射关系,解决当前卫星网络流量分布不均问题,提高卫星节点资源利用率、卫星网络的服务质量与处理性能。(2) A kind of SDN-based satellite network multi-controller dynamic deployment method disclosed in the present invention readjusts the division of satellite control domains according to the traffic changes of the satellite network, adopts the "three-threshold" switch migration strategy, and dynamically migrates the LEO satellite switches by dynamically migrating LEO satellite switches. Node, dynamically change the mapping relationship between LEO satellite controller nodes and switch nodes, solve the problem of uneven distribution of current satellite network traffic, improve satellite node resource utilization, satellite network service quality and processing performance.

(3)本发明公开的一种基于SDN的卫星网络多控制器动态部署方法针对LEO卫星控制器节点的部署问题,采用“三门限”交换机迁移策略,通过交换机迁移机制,使用鲸鱼优化算法与模拟退火算法相结合的算法,以优化网络的迁移开销和卫星控制链路时延、负载均衡为目标,动态改变控制器与交换机间的映射关系,从而满足正常的卫星通信需求。(3) A kind of SDN-based satellite network multi-controller dynamic deployment method disclosed in the present invention is aimed at the deployment problem of LEO satellite controller nodes, adopts the "three threshold" switch migration strategy, and uses the whale optimization algorithm and simulation through the switch migration mechanism. The algorithm combined with the annealing algorithm aims to optimize the network migration overhead, satellite control link delay and load balancing, and dynamically changes the mapping relationship between the controller and the switch to meet the normal satellite communication requirements.

(4)本发明公开的一种基于SDN的卫星网络多控制器动态部署方法解决了不同网络用户、服务需求和任务等发生变化时,卫星网络产生数据流量突变时,卫星网络可能出现的控制器整体过载状态、局部过载状态及欠载状态下的控制器动态部署问题。(4) The SDN-based multi-controller dynamic deployment method for a satellite network disclosed in the present invention solves the problem that when different network users, service requirements and tasks change, and the satellite network produces sudden changes in data traffic, the controllers that may appear in the satellite network The problem of dynamic deployment of controllers in the overall overload state, partial overload state and underload state.

(5)本发明将SDN引入卫星网络的研究中,对控制平面采用分布式部署方式,在地面站部署主控制器,在GEO卫星部署区域控制器,在部分LEO卫星部署从控制器;综合考虑到卫星网络中LEO卫星具有传输时延短、数量多、应用场景丰富等特征,进一步提高卫星网络管理的灵活性,能够为用户提供高效率、高标准的服务。(5) The present invention introduces SDN into the research of satellite network, adopts a distributed deployment mode for the control plane, deploys the master controller on the ground station, deploys the regional controller on the GEO satellite, and deploys the slave controller on some LEO satellites; comprehensively consider In the satellite network, LEO satellites have the characteristics of short transmission delay, large number, and rich application scenarios, which further improves the flexibility of satellite network management and can provide users with high-efficiency and high-standard services.

附图说明Description of drawings

图1为SDN的基本架构图;Figure 1 is the basic architecture diagram of SDN;

图2为本发明的一个实施例提供的一种基于SDN的卫星网络多控制器动态部署方法的流程示意图;2 is a schematic flowchart of a method for dynamically deploying multiple controllers in a satellite network based on SDN according to an embodiment of the present invention;

图3为本发明的一个实施例提供的一种基于SDN的卫星网络多控制器动态部署方法的流程图;3 is a flowchart of a method for dynamically deploying multiple controllers in an SDN-based satellite network according to an embodiment of the present invention;

图4为本发明一个实施例提供的一种基于SDN的卫星网络多控制器动态部署方法的详细过程示意图;4 is a schematic diagram of a detailed process of a method for dynamically deploying multiple controllers in a satellite network based on SDN according to an embodiment of the present invention;

图5为本发明的一个实施例提供的一种基于SDN的卫星网络多控制器动态部署系统的结构示意图。FIG. 5 is a schematic structural diagram of an SDN-based satellite network multi-controller dynamic deployment system according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明的实施方式作进一步详细描述。以下实施例的详细描述和附图用于示例性地说明本发明的原理,但不能用来限制本发明的范围,即本发明不限于所描述的优选实施例,本发明的范围由权利要求书限定。The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The detailed description of the following embodiments and the accompanying drawings are used to illustrate the principle of the present invention by way of example, but not to limit the scope of the present invention, that is, the present invention is not limited to the described preferred embodiments, and the scope of the present invention is defined by the claims. limited.

在本发明的描述中,需要说明的是,除非另有说明,“多个”的含义是两个或两个以上;术语“第一”“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性;对于本领域的普通技术人员而言,可视具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise specified, the meaning of "plurality" is two or more; the terms "first", "second", etc. are only used for the purpose of description and cannot be understood For indicating or implying relative importance; for those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

实施例一Example 1

图2、图3和图4为本发明的一个实施例,针对LEO卫星网络拓扑,提供的一种基于SDN的卫星网络多控制器动态部署方法,主要包括以下步骤:Fig. 2, Fig. 3 and Fig. 4 are an embodiment of the present invention, for LEO satellite network topology, a kind of SDN-based satellite network multi-controller dynamic deployment method is provided, which mainly includes the following steps:

S100:构建基于SDN的卫星网络架构;S100: Build an SDN-based satellite network architecture;

将卫星网络中的主控制器部署在地面站,区域控制器部署在GEO卫星,部分的LEO卫星部署从控制器;借助铱星网络拓扑着重对LEO卫星网络的控制器动态部署进行研究;The main controller in the satellite network is deployed on the ground station, the regional controller is deployed on the GEO satellite, and some LEO satellites are deployed on the slave controller; with the help of the Iridium network topology, the dynamic deployment of the controller in the LEO satellite network is focused on research;

本发明使用铱星网络拓扑研究LEO卫星网络控制器部署问题,该网络拓扑由6条极地轨道,每条轨道上11颗卫星,共计66颗LEO卫星组成,轨道平面间隔30°,轨道高度781千米,轨道倾角86.4°;本发明将66颗LEO卫星都认为是LEO卫星交换机节点,带内部署即为将控制器部署在LEO卫星交换机节点上,此时部署了控制器的LEO卫星交换机节点的传播时延可不计,此外该部署方式所产生的控制链路与数据链路重合,信息传输过程互不影响。The present invention uses the iridium network topology to study the LEO satellite network controller deployment problem. The network topology is composed of 6 polar orbits, 11 satellites on each orbit, a total of 66 LEO satellites, the orbit plane interval is 30°, and the orbit height is 781 thousand. m, the orbit inclination angle is 86.4°; the present invention regards 66 LEO satellites as LEO satellite switch nodes, and in-band deployment is to deploy the controller on the LEO satellite switch node. At this time, the LEO satellite switch node where the controller is deployed is The propagation delay can be ignored. In addition, the control link and the data link generated by this deployment method overlap, and the information transmission process does not affect each other.

S200:获取LEO卫星网络全局负载信息,基于三个门限判定LEO卫星网络的负载状态;LEO卫星网络的负载状态包括整体过载状态、局部过载状态、欠载状态和正常状态;S200: Acquire global load information of the LEO satellite network, and determine the load state of the LEO satellite network based on three thresholds; the load state of the LEO satellite network includes an overall overload state, a partial overload state, an underload state and a normal state;

对LEO卫星控制器节点进行负载监测,获取LEO卫星网络全局负载信息,基于LEO卫星网络全局负载信息判断LEO卫星网络全局负载是否大于第一门限(整体过载门限),若大于第一门限,则判定LEO卫星网络处于整体过载状态;若小于第一门限,则进一步判断任一LEO卫星控制器节点负载是否大于第二门限(局部过载门限),若大于第二门限,则判定LEO卫星网络处于局部过载状态,若小于第二门限,则进一步判断任一LEO卫星控制器节点负载是否小于第三门限(欠载门限),若小于第三门限,则判定LEO卫星网络处于欠载状态,若大于第三门限,则判定LEO卫星网络处于正常状态,输出LEO卫星网络信息;Perform load monitoring on the LEO satellite controller node, obtain the global load information of the LEO satellite network, and judge whether the global load of the LEO satellite network is greater than the first threshold (overall overload threshold) based on the global load information of the LEO satellite network. The LEO satellite network is in an overall overload state; if it is less than the first threshold, it is further judged whether the load of any LEO satellite controller node is greater than the second threshold (local overload threshold), and if it is greater than the second threshold, it is determined that the LEO satellite network is in partial overload If it is less than the second threshold, it is further judged whether the load of any LEO satellite controller node is less than the third threshold (underload threshold). If the threshold is set, it is determined that the LEO satellite network is in a normal state, and the LEO satellite network information is output;

其中,第一门限为

Figure BDA0003577219410000071
Among them, the first threshold is
Figure BDA0003577219410000071

当大于第一门限时,即

Figure BDA0003577219410000072
时,则表明LEO卫星网络全局负载出现整体过载现象;When it is greater than the first threshold, that is
Figure BDA0003577219410000072
When , it indicates that the global load of the LEO satellite network has an overall overload phenomenon;

当小于第一门限时,即

Figure BDA0003577219410000073
时,则进一步基于第二门限进行判断。When it is less than the first threshold, that is
Figure BDA0003577219410000073
, the judgment is further based on the second threshold.

第二门限为ri=0.8,The second threshold is ri = 0.8,

当大于第二门限时,即当

Figure BDA0003577219410000074
ri>0.8时,则表明LEO卫星网络全局负载出现局部过载现象;When it is greater than the second threshold, that is, when
Figure BDA0003577219410000074
When r i > 0.8, it indicates that the global load of the LEO satellite network is partially overloaded;

当小于第二门限时,即当

Figure BDA0003577219410000075
ri<0.8时,则进一步基于第三门限进行判断;When it is less than the second threshold, that is, when
Figure BDA0003577219410000075
When r i <0.8, the judgment is further based on the third threshold;

其中,i为LEO卫星控制器节点集合中的一个卫星控制器节点ciWherein, i is a satellite controller node c i in the LEO satellite controller node set;

C={c1,..,ci,..,cm}为LEO卫星控制器节点的集合。C= { c 1 ,..,ci ,..,cm } is the set of LEO satellite controller nodes.

第三门限为ri=0.2,The third threshold is ri = 0.2,

当小于第三门限时,即当

Figure BDA0003577219410000076
ri<0.2时,则表明LEO卫星网络存在部分LEO卫星控制器节点的欠载现象;When it is less than the third threshold, that is, when
Figure BDA0003577219410000076
When r i < 0.2, it indicates that some LEO satellite controller nodes are underloaded in the LEO satellite network;

当大于第三门限时,即当

Figure BDA0003577219410000081
0.2<ri<0.8时,则LEO卫星网络处于正常状态。When it is greater than the third threshold, that is, when
Figure BDA0003577219410000081
When 0.2<r i <0.8, the LEO satellite network is in a normal state.

其中,in,

Figure BDA0003577219410000082
Figure BDA0003577219410000082

Figure BDA0003577219410000083
Figure BDA0003577219410000083

式中,ri为LEO卫星控制器节点ci控制域范围内所有LEO卫星交换机节点的数据流请求速率与LEO卫星控制器处理能力的比值;λj为LEO卫星交换机节点sj的数据流请求速率;Hij为LEO卫星控制器节点ci与LEO卫星交换机节点sj的连接关系;fi为LEO卫星控制器节点ci的处理能力;j为LEO卫星交换机节点集合中的一个卫星交换机节点sj;S={s1,…,sj,…sn}为LEO网络中卫星交换机节点的集合;

Figure BDA0003577219410000084
为整个LEO卫星网络控制器节点的平均资源利用率,体现当前LEO卫星控制器节点的资源利用情况;m为LEO卫星控制器节点的数量。In the formula, ri is the ratio of the data flow request rate of all LEO satellite switch nodes within the control domain of LEO satellite controller node c i to the processing capability of the LEO satellite controller; λ j is the data flow request of LEO satellite switch node s j rate; H ij is the connection relationship between the LEO satellite controller node c i and the LEO satellite switch node s j ; f i is the processing capability of the LEO satellite controller node c i ; j is a satellite switch node in the LEO satellite switch node set s j ; S={s 1 ,...,s j ,...s n } is the set of satellite switch nodes in the LEO network;
Figure BDA0003577219410000084
is the average resource utilization rate of the entire LEO satellite network controller node, reflecting the current resource utilization of the LEO satellite controller node; m is the number of LEO satellite controller nodes.

S300:若所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态,则基于所述LEO卫星网络的负载状态制定迁移策略;若所述LEO卫星网络处于正常状态,则输出LEO卫星网络信息;S300: If the LEO satellite network is in an overall overload state, a partial overload state or an underload state, formulate a migration strategy based on the load state of the LEO satellite network; if the LEO satellite network is in a normal state, output the LEO satellite network information;

根据LEO卫星网络的负载状态实现卫星交换机节点迁移策略,包括:According to the load status of the LEO satellite network, the satellite switch node migration strategy is implemented, including:

①正常状态:正常状态表示当前的LEO卫星网络全局负载状态正常,此时不需要迁移卫星交换机节点;①Normal status: The normal status indicates that the current global load status of the LEO satellite network is normal, and the satellite switch node does not need to be migrated at this time;

②整体过载状态:整体过载状态表示当整个LEO卫星网络流量过载时,此时部署的LEO卫星控制器节点无法正常处理网络数据,整个LEO卫星网络处于超载,可能会呈现出“瘫痪”的现象,此刻需要增加LEO卫星控制器节点,即在整体过载状态下,LEO卫星网络中的LEO卫星控制器节点无法处理整个网络所产生的数据,需要添加部分的LEO卫星控制器节点,且需要将其他卫星控制域内的部分卫星交换机节点迁移至新添加的LEO卫星控制域内;②Overall overload status: The overall overload status means that when the entire LEO satellite network is overloaded, the deployed LEO satellite controller nodes cannot process network data normally, and the entire LEO satellite network is overloaded and may appear “paralyzed”. At this moment, it is necessary to add LEO satellite controller nodes, that is, in the overall overload state, the LEO satellite controller nodes in the LEO satellite network cannot process the data generated by the entire network, and some LEO satellite controller nodes need to be added. Some satellite switch nodes in the control domain are migrated to the newly added LEO satellite control domain;

③局部过载状态:局部过载状态表示从网络整体上来看当前的LEO卫星网络控制器节点能够处理卫星数据,但部分的LEO卫星控制器节点存在过载现象,无法成功处理数据,此时需要筛选出过载的LEO卫星控制器节点,通过迁移过载卫星控制器控制域内的LEO卫星交换机节点的方法,减轻该LEO卫星控制器节点的负担;即当出现局部过载状态时,通过判断过载LEO卫星控制器节点的状况,迁移过载控制器控制域内的LEO卫星交换机节点至其他LEO卫星控制器节点的控制域内;③ Local overload state: The local overload state means that the current LEO satellite network controller node can process satellite data from the overall network point of view, but some LEO satellite controller nodes are overloaded and cannot process the data successfully. At this time, it is necessary to filter out the overload. The LEO satellite controller node of the LEO satellite controller can reduce the burden of the LEO satellite controller node by migrating the LEO satellite switch node in the control domain of the overloaded satellite controller; condition, migrate the LEO satellite switch node in the control domain of the overload controller to the control domain of other LEO satellite controller nodes;

④欠载状态:从LEO卫星网络的资源利用率出发,由于欠载现象的发生,导致部分的卫星资源浪费,此时考虑休眠或关闭部分LEO卫星控制器节点,在其他LEO卫星控制器节点的处理能力范围内,迁移该LEO卫星控制器节点下的LEO卫星交换机节点至其他控制域内;即通过迁移欠载LEO卫星控制器节点控制域内的卫星交换机节点至其他LEO卫星控制器节点的控制域下,随后关闭该LEO卫星控制器节点。④Underload state: Starting from the resource utilization rate of the LEO satellite network, due to the occurrence of underload phenomenon, some satellite resources are wasted. At this time, consider hibernating or shutting down some LEO satellite controller nodes. Migrate the LEO satellite switch node under the LEO satellite controller node to other control domains within the scope of processing capacity; that is, by migrating the satellite switch node in the control domain of the underloaded LEO satellite controller node to the control domain of other LEO satellite controller nodes , and then shut down the LEO satellite controller node.

若所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态,则基于所述LEO卫星网络的负载状态制定迁移策略包括:If the LEO satellite network is in an overall overload state, a partial overload state or an underload state, formulating a migration strategy based on the load state of the LEO satellite network includes:

(1)若LEO卫星网络处于整体过载状态,则执行整体过载门限机制:(1) If the LEO satellite network is in an overall overload state, the overall overload threshold mechanism is implemented:

S311:添加LEO卫星控制器节点,确定过载的LEO卫星控制器节点为迁移LEO卫星控制器节点;S311 : adding a LEO satellite controller node, and determining that the overloaded LEO satellite controller node is a migrated LEO satellite controller node;

S312:基于优先迁移率在迁移LEO卫星控制器节点内的卫星交换机节点中,选择待迁移的LEO卫星交换机节点;S312: Select the LEO satellite switch node to be migrated among the satellite switch nodes in the migrated LEO satellite controller node based on the priority mobility rate;

S313:确定待迁移的LEO卫星交换机节点后,基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数使用鲸鱼优化算法与模拟退火算法相结合的混合算法进行求解,从而确定最佳的新添加LEO卫星控制器节点的位置;将新添加LEO卫星控制器节点作为目标域。S313: After determining the LEO satellite switch node to be migrated, construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and use the whale optimization algorithm and simulation for the objective function A hybrid algorithm combined with an annealing algorithm is used to solve the problem to determine the optimal position of the newly added LEO satellite controller node; the newly added LEO satellite controller node is used as the target domain.

(2)若LEO卫星网络处于局部过载状态,则执行局部过载门限机制:(2) If the LEO satellite network is in a local overload state, the local overload threshold mechanism is implemented:

S321:筛选出任一出现过载的LEO卫星控制器节点,将该过载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S321: Screen out any overloaded LEO satellite controller node, and determine the overloaded LEO satellite controller node as the migration LEO satellite controller node;

S322:基于优先迁移率在迁移LEO卫星控制器节点内的卫星交换机节点中,选择待迁移的LEO卫星交换机节点;S322: Select the LEO satellite switch node to be migrated among the satellite switch nodes in the migrated LEO satellite controller node based on the priority mobility rate;

S323:确定待迁移的LEO卫星交换机节点后,基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数使用鲸鱼优化算法与模拟退火算法相结合的混合算法进行求解,选择出合适的卫星控制器节点作为目标域。S323: After determining the LEO satellite switch node to be migrated, construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and use the whale optimization algorithm and simulation for the objective function A hybrid algorithm combined with an annealing algorithm is used to solve the problem, and an appropriate satellite controller node is selected as the target domain.

(3)若LEO卫星网络处于欠载状态,则执行欠载门限机制:(3) If the LEO satellite network is in an underload state, the underload threshold mechanism is implemented:

S331:筛选出任一出现欠载的LEO卫星控制器节点,将该欠载的LEO卫星控制器节点锁定为迁移LEO卫星控制器节点;S331: Screen out any underloaded LEO satellite controller node, and lock the underloaded LEO satellite controller node as the migration LEO satellite controller node;

S332:基于优先迁移率在迁移LEO卫星控制器节点内的卫星交换机节点中,选择待迁移的LEO卫星交换机节点;S332: Select the LEO satellite switch node to be migrated among the satellite switch nodes in the migrated LEO satellite controller node based on the priority mobility rate;

S333:确定待迁移的LEO卫星交换机节点后,基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数使用鲸鱼优化算法与模拟退火算法相结合的混合算法进行求解,选择出合适的卫星控制器节点作为目标域。S333: After determining the LEO satellite switch node to be migrated, construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and use the whale optimization algorithm and simulation for the objective function A hybrid algorithm combined with an annealing algorithm is used to solve the problem, and an appropriate satellite controller node is selected as the target domain.

其中,步骤S212、S222和S232中确定迁移LEO卫星控制器节点后,基于优先迁移率在迁移LEO卫星控制器节点内的卫星交换机节点中,选择待迁移的LEO卫星交换机节点具体为:Wherein, after determining to migrate the LEO satellite controller node in steps S212, S222 and S232, selecting the LEO satellite switch node to be migrated among the satellite switch nodes in the migrated LEO satellite controller node based on the priority mobility rate is specifically:

当迁移LEO卫星控制器节点确定后,需要考虑如何选择迁移卫星交换机节点;当LEO卫星控制器节点出现负载较重时,一般来讲,迁移数据请求率最大的卫星交换机节点最为合适,但一味追求请求率最大的卫星交换机节点被迁移有欠考虑,此时还需判断LEO卫星控制器节点目标域的负载情况及LEO卫星控制器节点的处理能力;请求率较大的卫星交换机节点对卫星网络传输的扰动影响较大,且交互时间较长;另一方面,较大的请求速率,增大了卫星控制器目标域的负载压力,可能存在处理能力不足的现象;因此,从对卫星网络的扰动影响来讲,本发明优先选择迁移请求率较小、距离迁移控制器节点较远的边缘卫星交换机节点;After the migration of the LEO satellite controller node is determined, it is necessary to consider how to select the migration satellite switch node; when the LEO satellite controller node is under heavy load, generally speaking, it is most suitable to migrate the satellite switch node with the largest data request rate, but blindly pursue The satellite switch node with the largest request rate is not considered to be migrated. At this time, it is necessary to judge the load of the target domain of the LEO satellite controller node and the processing capacity of the LEO satellite controller node; the satellite switch node with a large request rate transmits the satellite network. On the other hand, the larger request rate increases the load pressure on the target domain of the satellite controller, and there may be a phenomenon of insufficient processing capacity; therefore, from the disturbance to the satellite network In terms of influence, the present invention preferentially selects an edge satellite switch node with a smaller migration request rate and a farther distance from the migration controller node;

本发明综合LEO卫星控制器负载和链路距离,提出了LEO卫星交换机节点优先迁移率这一概念,优先迁移率越大的卫星交换机节点,其优先级越高,越先被迁移;其中,LEO卫星交换机节点sj优先迁移率表示Qj如下:The invention integrates the load of the LEO satellite controller and the link distance, and proposes the concept of the priority mobility rate of the LEO satellite switch node. The satellite switch node with a higher priority mobility rate has a higher priority and is migrated first; The priority mobility representation Q j of the satellite switch node s j is as follows:

Figure BDA0003577219410000101
Figure BDA0003577219410000101

式中,Qj为LEO卫星交换机节点sj优先迁移率;λj为迁移LEO卫星交换机节点sj的数据流请求速率;dij为迁移LEO卫星交换机节点sj与迁移LEO卫星控制器节点ci之间的最短距离;fi为LEO卫星控制器ci的处理能力。In the formula, Q j is the priority mobility rate of the LEO satellite switch node s j ; λ j is the data flow request rate of the migrated LEO satellite switch node s j ; d ij is the migration LEO satellite switch node s j and the migrated LEO satellite controller node c The shortest distance between i ; f i is the processing capability of the LEO satellite controller c i .

当LEO卫星交换机的请求率(即LEO卫星交换机节点sj的数据流请求速率λj)越小,链路距离(即LEO卫星交换机节点sj与LEO卫星控制器节点ci最短距离dij)越大,则Qj越大,说明sj优先级越高,则LEO卫星交换机节点sj最先从LEO卫星控制器节点ci中被迁移。When the request rate of the LEO satellite switch (ie the data flow request rate λ j of the LEO satellite switch node s j ) is smaller, the link distance (ie the shortest distance d ij between the LEO satellite switch node s j and the LEO satellite controller node c i ) The larger the value is, the larger Q j is, indicating that the priority of s j is higher, and the LEO satellite switch node s j is first migrated from the LEO satellite controller node c i .

其中,步骤S213、S223和S233中确定待迁移的LEO卫星交换机节点后,基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡进一步选择目标域具体为:Wherein, after determining the LEO satellite switch node to be migrated in steps S213, S223 and S233, the target domain is further selected based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay and the load balancing of the post-migration LEO satellite network, specifically: :

目标域的选择即为解决待迁移的LEO卫星交换机节点往哪儿迁移的问题,选择合适的LEO卫星控制器节点来管控待迁移的LEO卫星交换机节点;目标域的选择主要与卫星网络迁移开销、迁移后卫星控制链路时延和迁移后卫星网络的负载均衡参数有关;The selection of the target domain is to solve the problem of where to migrate the LEO satellite switch nodes to be migrated, and to select an appropriate LEO satellite controller node to manage and control the LEO satellite switch nodes to be migrated; the selection of the target domain is mainly related to satellite network migration costs, migration The post-satellite control link delay is related to the load balancing parameters of the post-migration satellite network;

(1)卫星网络迁移开销(1) Satellite network migration cost

LEO卫星交换机节点的迁移开销主要由LEO卫星网络通信开销和LEO卫星迁移规则部署开销组成;LEO卫星交换机节点进行迁移时,会产生迁移请求,存在LEO卫星通信开销,LEO卫星交换机节点实现迁移的前提是LEO卫星控制器节点部署了迁移规则至迁移LEO卫星交换机节点的流表中,产生了LEO卫星迁移规则部署开销;即LEO卫星网络迁移开销表示为:cost=costcom+costrule,其中,cost为LEO卫星网络迁移开销,costcom为LEO卫星通信开销,costrule为LEO卫星迁移规则部署开销;The migration cost of the LEO satellite switch node is mainly composed of the LEO satellite network communication cost and the LEO satellite migration rule deployment cost. When the LEO satellite switch node is migrated, a migration request will be generated, and there is LEO satellite communication cost. The premise of the migration of the LEO satellite switch node It is the LEO satellite controller node that deploys the migration rules to the flow table of the migration LEO satellite switch nodes, resulting in the LEO satellite migration rule deployment overhead; that is, the LEO satellite network migration overhead is expressed as: cost=cost com + cost rule , where cost is the LEO satellite network migration cost, cost com is the LEO satellite communication cost, and cost rule is the LEO satellite migration rule deployment cost;

LEO卫星通信开销主要包括两个方面:一是待迁移LEO卫星交换机节点与迁移LEO卫星控制器节点的建立通信关系产生的开销,二是请求进行迁移时,待迁移LEO卫星交换机节点与目标域之间的通信开销,LEO卫星通信开销costcom表示如下:The overhead of LEO satellite communication mainly includes two aspects: one is the overhead generated by the establishment of the communication relationship between the LEO satellite switch node to be migrated and the LEO satellite controller node to be migrated; The communication cost between LEO satellite communication cost com is expressed as follows:

Figure BDA0003577219410000111
Figure BDA0003577219410000111

式中,costcom为LEO卫星通信开销;dij为迁移LEO卫星交换机节点sj与迁移LEO卫星控制器节点ci之间的最短距离;dwj为迁移LEO卫星交换机节点sj与目标域cw之间的最短距离;λj为迁移LEO卫星交换机节点sj的数据流请求速率;In the formula, cost com is the LEO satellite communication overhead; d ij is the shortest distance between the migration LEO satellite switch node s j and the migration LEO satellite controller node c i ; d wj is the migration LEO satellite switch node s j and the target domain c The shortest distance between w ; λ j is the data flow request rate of migrating LEO satellite switch node s j ;

LEO卫星迁移规则部署开销costrule表示为:The LEO satellite migration rule deployment cost cost rule is expressed as:

costrule=ξ×dij×Hij cost rule =ξ×d ij ×H ij

式中,costrule为LEO卫星迁移规则部署开销;ξ为flow_mod流规则数据包的平均大小;dij为迁移LEO卫星交换机节点sj与迁移LEO卫星控制器节点ci之间的最短距离;Hij为迁移LEO卫星控制器节点ci与迁移LEO卫星交换机节点sj的连接关系;该LEO卫星迁移规则部署开销仅与迁移的LEO卫星交换机节点有关。In the formula, cost rule is the deployment cost of LEO satellite migration rules; ξ is the average size of flow_mod flow rule data packets; d ij is the shortest distance between the migration LEO satellite switch node s j and the migration LEO satellite controller node c i ; H ij is the connection relationship between the migrated LEO satellite controller node c i and the migrated LEO satellite switch node s j ; the deployment cost of the LEO satellite migration rule is only related to the migrated LEO satellite switch node.

(2)迁移后LEO卫星控制链路时延(2) Delay of LEO satellite control link after migration

迁移后的LEO卫星控制链路时延主要包括迁移后的LEO卫星控制器控制域内LEO卫星交换机节点至LEO卫星控制器节点的星间链路传播时延、网络排队时延和LEO卫星任务处理时延;The post-migration LEO satellite control link delay mainly includes the inter-satellite link propagation delay from the LEO satellite switch node to the LEO satellite controller node in the control domain of the migrated LEO satellite controller, the network queuing delay and the LEO satellite task processing time. extend;

Figure BDA0003577219410000121
Figure BDA0003577219410000121

式中,Ta为迁移后LEO卫星控制链路时延;Ti为LEO卫星控制器节点ci的控制域内的总时延;Tcc为整个LEO卫星网络中控制器节点间总的传播时延;Tqi为LEO卫星控制器节点ci控制域内的排队时延;

Figure BDA0003577219410000122
为LEO卫星控制器节点ci的处理时延;
Figure BDA0003577219410000123
为LEO卫星控制器节点ci与LEO卫星交换机节点间的传播时延。In the formula, T a is the LEO satellite control link delay after migration; T i is the total delay in the control domain of the LEO satellite controller node c i ; Tcc is the total propagation delay between controller nodes in the entire LEO satellite network ; T qi is the queuing delay in the control domain of the LEO satellite controller node c i ;
Figure BDA0003577219410000122
is the processing delay of the LEO satellite controller node c i ;
Figure BDA0003577219410000123
is the propagation delay between the LEO satellite controller node c i and the LEO satellite switch node.

(3)迁移后LEO卫星网络的负载均衡参数(3) Load balancing parameters of the LEO satellite network after migration

通过LEO卫星网络负载均衡参数可评价LEO卫星控制器节点负载的差异程度,采用方差法计算各个LEO卫星控制器节点的负载与整个网络LEO卫星控制器节点平均负载的差异度,其结果越接近于0,表明各LEO卫星控制器节点负载越均衡,LEO卫星控制器节点的平均负载

Figure BDA0003577219410000124
表示为:The load balancing parameters of the LEO satellite network can be used to evaluate the degree of difference in the load of the LEO satellite controller nodes. The variance method is used to calculate the difference between the load of each LEO satellite controller node and the average load of the LEO satellite controller nodes of the entire network. The closer the result is to 0, indicating that the load of each LEO satellite controller node is more balanced, and the average load of the LEO satellite controller node
Figure BDA0003577219410000124
Expressed as:

Figure BDA0003577219410000125
Figure BDA0003577219410000125

式中,

Figure BDA0003577219410000126
为LEO卫星控制器节点的平均负载;m为LEO卫星控制器节点的数量;
Figure BDA0003577219410000127
为LEO卫星控制器节点ci的负载;In the formula,
Figure BDA0003577219410000126
is the average load of LEO satellite controller nodes; m is the number of LEO satellite controller nodes;
Figure BDA0003577219410000127
is the load of the LEO satellite controller node c i ;

则迁移后LEO卫星网络的负载均衡参数表示为:Then the load balancing parameters of the LEO satellite network after migration are expressed as:

Figure BDA0003577219410000128
Figure BDA0003577219410000128

式中,BL为迁移后LEO卫星网络的负载均衡参数;

Figure BDA0003577219410000129
为LEO卫星控制器节点的平均负载;m为LEO卫星控制器节点的数量;
Figure BDA00035772194100001210
为LEO卫星控制器节点ci的负载;In the formula, BL is the load balancing parameter of the LEO satellite network after migration;
Figure BDA0003577219410000129
is the average load of LEO satellite controller nodes; m is the number of LEO satellite controller nodes;
Figure BDA00035772194100001210
is the load of the LEO satellite controller node c i ;

迁移LEO卫星交换机目标域的选择问题是LEO卫星交换机迁移问题的关键所在,需综合LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数对目标域进行分析;为了更好地权衡LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数这三个目标,需对LEO卫星网络迁移开销cost和迁移后LEO卫星控制链路时延Ta进行归一化处理,即为:The problem of selecting the target domain for migrating LEO satellite switches is the key to the migration of LEO satellite switches. It is necessary to comprehensively analyze the migration cost of the LEO satellite network, the delay of the LEO satellite control link after the migration, and the load balancing parameters of the LEO satellite network after the migration. Analysis: In order to better balance the three goals of LEO satellite network migration cost, post-migration LEO satellite control link delay, and post-migration LEO satellite network load balancing parameters, it is necessary to analyze the migration cost of LEO satellite network and the post-migration LEO satellite network migration cost. The control link delay T a is normalized, that is:

Figure BDA0003577219410000131
Figure BDA0003577219410000131

Figure BDA0003577219410000132
Figure BDA0003577219410000132

则目标函数Wmin定义为Then the objective function W min is defined as

Wmin=α×BL+β×newcost+γ×newTa W min =α×BL+β×newcost+γ×newT a

式中,Wmin为基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数的最小值,以确定目标域的选择;BL为迁移后LEO卫星网络的负载均衡参数;newcost为LEO卫星网络迁移开销cost进行归一化之后的值;newTa为迁移后LEO卫星控制链路时延进行归一化后的值;α、β、γ分别为三个0~1的数,分别代表LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数的不同权重,α+β+γ=1,0≤α,β,γ≤1。In the formula, W min is the minimum value of the LEO satellite network migration overhead, the post-migration LEO satellite control link delay, and the load balancing parameters of the post-migration LEO satellite network to determine the target domain selection; BL is the post-migration LEO satellite network The load balancing parameter of the LEO satellite network; newcost is the normalized value of the LEO satellite network migration cost; newT a is the normalized value of the LEO satellite control link delay after the migration; α, β, γ are three The numbers from 0 to 1 represent the different weights of LEO satellite network migration overhead, post-migration LEO satellite control link delay, and post-migration LEO satellite network load balancing parameters, α+β+γ=1, 0≤α,β , γ≤1.

鲸鱼优化算法(Whale Optimization Algorithm,WOA)是一种新的群智能优化算法,该算法具有结构简单、参数少、搜索能力强且易于实现等优势特征,但该算法易陷入局部最优;考虑到模拟退火算法的全局搜索能力较强,因此将鲸鱼优化算法与模拟退火算法相结合以提升算法的全局搜索能力;因此,在目标函数确定后,使用鲸鱼优化算法与模拟退火算法相结合的混合算法进行求解,选择出合适的卫星控制器节点作为目标域。Whale Optimization Algorithm (WOA) is a new swarm intelligence optimization algorithm. The algorithm has the advantages of simple structure, few parameters, strong search ability and easy implementation, but it is easy to fall into local optimum; considering The global search ability of the simulated annealing algorithm is strong, so the whale optimization algorithm and the simulated annealing algorithm are combined to improve the global search ability of the algorithm; therefore, after the objective function is determined, a hybrid algorithm combining the whale optimization algorithm and the simulated annealing algorithm is used. Solve the problem and select the appropriate satellite controller node as the target domain.

进一步的,在一个实施例中,目标域的选择还考虑星间链路的可靠性。Further, in one embodiment, the selection of the target domain also considers the reliability of the inter-satellite link.

本发明采用“三门限”LEO卫星交换机节点的迁移策略,主要通过动态迁移LEO卫星交换机节点,解决当前LEO卫星网络流量分布不均问题,包括LEO卫星网络整体过载的情况、LEO卫星网络局部过载的情况以及LEO卫星网络中存在部分卫星控制器节点欠载的情况;本发明的LEO卫星控制器节点的动态部署策略主要是通过迁移LEO卫星控制器节点下的LEO卫星交换机节点来实现,LEO卫星交换机节点迁移过程中会产生迁移开销,迁移前后LEO卫星控制器节点的负载、网络时延也会发生变化;因此本发明以迁移开销、负载均衡和时延为目标,来制定LEO卫星交换机节点迁移策略。The invention adopts the migration strategy of "three thresholds" LEO satellite switch nodes, mainly through dynamic migration of LEO satellite switch nodes, to solve the problem of uneven distribution of current LEO satellite network traffic, including the situation of the overall overload of the LEO satellite network and the partial overload of the LEO satellite network. The situation and the situation that some satellite controller nodes are underloaded in the LEO satellite network; the dynamic deployment strategy of the LEO satellite controller node of the present invention is mainly realized by migrating the LEO satellite switch node under the LEO satellite controller node, and the LEO satellite switch Migration overhead will be generated in the process of node migration, and the load and network delay of LEO satellite controller nodes will also change before and after migration; therefore, the present invention aims at migration overhead, load balance and delay to formulate a migration strategy for LEO satellite switch nodes .

S400:基于迁移策略进行动态迁移,即将待迁移LEO卫星交换机节点迁移至目标域下;S400: Perform dynamic migration based on the migration strategy, that is, migrate the LEO satellite switch node to be migrated to the target domain;

(1)若LEO卫星网络处于整体过载状态,则执行以下迁移操作:(1) If the LEO satellite network is in an overall overload state, perform the following migration operations:

迁移LEO卫星控制器节点(即过载的LEO卫星控制器节点)向待迁移的LEO卫星交换机节点部署迁移规则,待迁移LEO卫星交换机节点向新添的LEO卫星控制器节点(目标域)发送请求,新添的LEO卫星控制器节点接受待迁移LEO卫星交换机节点的请求,将所选择的待迁移LEO卫星交换机节点迁移至新添LEO卫星控制器节点以实现LEO卫星交换机节点的动态迁移。The migrated LEO satellite controller node (that is, the overloaded LEO satellite controller node) deploys migration rules to the LEO satellite switch node to be migrated, and the to-be-migrated LEO satellite switch node sends a request to the newly added LEO satellite controller node (target domain), The newly added LEO satellite controller node accepts the request of the LEO satellite switch node to be migrated, and migrates the selected LEO satellite switch node to be migrated to the newly added LEO satellite controller node to realize dynamic migration of the LEO satellite switch node.

(2)若LEO卫星网络处于局部过载状态,则执行以下迁移操作:(2) If the LEO satellite network is in a local overload state, perform the following migration operations:

迁移LEO卫星控制器节点(即过载的LEO卫星控制器节点)选取待迁移LEO卫星交换机节点,并向待迁移的LEO卫星交换机节点部署迁移规则,待迁移LEO卫星交换机节点向目标域(合适的LEO卫星控制器节点)发送请求,目标域接受待迁移LEO卫星交换机节点的请求,将所选择的待迁移LEO卫星交换机节点迁移至目标域下以实现LEO卫星交换机节点的动态迁移。Migrating the LEO satellite controller node (that is, the overloaded LEO satellite controller node) selects the LEO satellite switch node to be migrated, and deploys migration rules to the LEO satellite switch node to be migrated. The satellite controller node) sends a request, the target domain accepts the request of the LEO satellite switch node to be migrated, and migrates the selected LEO satellite switch node to be migrated to the target domain to realize the dynamic migration of the LEO satellite switch node.

(3)若LEO卫星网络处于欠载状态,则执行以下迁移操作:(3) If the LEO satellite network is in an underload state, perform the following migration operations:

迁移LEO卫星控制器节点(即欠载的LEO卫星控制器节点)选取待迁移LEO卫星交换机节点,并向待迁移的LEO卫星交换机节点部署迁移规则,待迁移LEO卫星交换机节点向目标域(合适的LEO卫星控制器节点)发送请求,目标域接受待迁移LEO卫星交换机节点的请求,将所选择的待迁移LEO卫星交换机节点迁移至目标域下,并关闭上述欠载的LEO卫星控制器节点,以实现LEO卫星交换机节点的动态迁移。Migrating the LEO satellite controller node (ie, the underloaded LEO satellite controller node) selects the LEO satellite switch node to be migrated, and deploys migration rules to the LEO satellite switch node to be migrated. The LEO satellite controller node) sends a request, the target domain accepts the request of the LEO satellite switch node to be migrated, migrates the selected LEO satellite switch node to be migrated to the target domain, and closes the above-mentioned underloaded LEO satellite controller node. Realize dynamic migration of LEO satellite switch nodes.

S500:更新LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系以获得当前LEO卫星网络;S500: Update the mapping relationship between the LEO satellite switch node and the LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network;

LEO卫星交换机节点实现迁移后,LEO卫星控制器节点控制域内的LEO卫星交换机节点的数量、网络负载等情况均会产生变化,因此需要将LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系进行更新。After the LEO satellite switch node is migrated, the number and network load of the LEO satellite switch nodes in the control domain of the LEO satellite controller node will change. The mapping relationship is updated.

S600:LEO卫星网络更新后,基于三个门限负载监测模块对当前LEO卫星网络中的LEO卫星控制器节点进行判断,若判断出当前LEO卫星网络的负载状态处于正常状态,则输出当前LEO卫星网络相关信息;若判断出当前LEO卫星网络的负载状态不处于正常状态,则重复上述步骤S200~S500,直至判断出当前LEO卫星网络的负载状态处于正常状态。S600: After the LEO satellite network is updated, judge the LEO satellite controller nodes in the current LEO satellite network based on the three threshold load monitoring modules. If it is judged that the load state of the current LEO satellite network is in a normal state, output the current LEO satellite network Relevant information; if it is determined that the current load state of the LEO satellite network is not in a normal state, repeat the above steps S200 to S500 until it is determined that the current load state of the LEO satellite network is in a normal state.

实施例二Embodiment 2

图5为本发明的一个实施例提供的一种基于SDN的卫星网络多控制器动态部署系统,包括卫星网络构建模块、负载状态判定模块、迁移策略制定模块、迁移模块、更新模块和判断模块;5 is an SDN-based satellite network multi-controller dynamic deployment system provided by an embodiment of the present invention, including a satellite network construction module, a load state determination module, a migration strategy formulation module, a migration module, an update module, and a judgment module;

卫星网络构建模块用于构建基于SDN的卫星网络架构;The satellite network building block is used to construct the SDN-based satellite network architecture;

负载状态判定模块用于获取LEO卫星网络全局负载信息,基于三个门限判定LEO卫星网络的负载状态;LEO卫星网络的负载状态包括整体过载状态、局部过载状态、欠载状态和正常状态;The load status determination module is used to obtain the global load information of the LEO satellite network, and determine the load status of the LEO satellite network based on three thresholds; the load status of the LEO satellite network includes the overall overload status, partial overload status, underload status and normal status;

迁移策略制定模块用于当所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态时,基于所述LEO卫星网络的负载状态制定迁移策略,以及当所述LEO卫星网络处于正常状态时,输出LEO卫星网络信息;The migration strategy formulation module is configured to formulate a migration strategy based on the load state of the LEO satellite network when the LEO satellite network is in an overall overload state, a partial overload state or an underload state, and when the LEO satellite network is in a normal state , output LEO satellite network information;

迁移模块用于基于所述迁移策略进行动态迁移;The migration module is configured to perform dynamic migration based on the migration strategy;

更新模块用于更新LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系以获得当前LEO卫星网络;The update module is used to update the mapping relationship between the LEO satellite switch node and the LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network;

判断模块用于基于三个门限判断当前LEO卫星网络的负载状态,若当前LEO卫星网络的负载状态处于正常状态,则输出当前LEO卫星网络相关信息。The judging module is used for judging the load state of the current LEO satellite network based on the three thresholds, and if the current load state of the LEO satellite network is in a normal state, it outputs relevant information of the current LEO satellite network.

结合本发明需做出以下说明:第一,无论哪种网络状态(整体过载状态、局部过载状态或欠载状态),均采用同样的LEO卫星交换机节点迁移方式;第二,当前网络中所有的LEO卫星交换机节点均不存在失效现象;第三,可见的LEO卫星间即可连。The following descriptions need to be made in conjunction with the present invention: First, no matter what kind of network state (overall overload state, partial overload state or underload state), the same LEO satellite switch node migration method is adopted; There is no failure phenomenon in the LEO satellite switch nodes; thirdly, the visible LEO satellites can be connected.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (10)

1.一种基于SDN的卫星网络多控制器动态部署方法,其特征在于,包括以下步骤:1. a kind of satellite network multi-controller dynamic deployment method based on SDN, is characterized in that, comprises the following steps: S100:构建基于SDN的卫星网络架构;S100: Build an SDN-based satellite network architecture; S200:获取LEO卫星网络全局负载信息,基于三个门限判定LEO卫星网络的负载状态;所述LEO卫星网络的负载状态包括整体过载状态、局部过载状态、欠载状态和正常状态;S200: Obtain global load information of the LEO satellite network, and determine the load state of the LEO satellite network based on three thresholds; the load state of the LEO satellite network includes an overall overload state, a partial overload state, an underload state, and a normal state; S300:若所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态,则基于所述LEO卫星网络的负载状态制定迁移策略;若所述LEO卫星网络处于正常状态,则输出LEO卫星网络信息;S300: If the LEO satellite network is in an overall overload state, a partial overload state or an underload state, formulate a migration strategy based on the load state of the LEO satellite network; if the LEO satellite network is in a normal state, output the LEO satellite network information; S400:基于所述迁移策略进行动态迁移;S400: Perform dynamic migration based on the migration strategy; S500:更新LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系以获得当前LEO卫星网络;S500: Update the mapping relationship between the LEO satellite switch node and the LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network; S600:基于三个门限判断当前LEO卫星网络的负载状态,若当前LEO卫星网络的负载状态处于正常状态,则输出当前LEO卫星网络相关信息;若当前LEO卫星网络的负载状态不处于正常状态,则重复上述步骤S200~S500,直至当前LEO卫星网络的负载状态处于正常状态。S600: Judging the load state of the current LEO satellite network based on three thresholds, if the load state of the current LEO satellite network is in a normal state, output relevant information of the current LEO satellite network; if the load state of the current LEO satellite network is not in a normal state, then The above steps S200 to S500 are repeated until the current load state of the LEO satellite network is in a normal state. 2.根据权利要求1所述的卫星网络多控制器动态部署方法,其特征在于,所述步骤S200包括:2. The method for dynamically deploying multiple controllers in a satellite network according to claim 1, wherein the step S200 comprises: 基于LEO卫星网络全局负载信息判断LEO卫星网络负载是否大于第一门限,若大于第一门限,则判定LEO卫星网络处于整体过载状态;Based on the global load information of the LEO satellite network, determine whether the load of the LEO satellite network is greater than the first threshold, and if it is greater than the first threshold, it is determined that the LEO satellite network is in an overall overload state; 若小于第一门限,则进一步判断任一LEO卫星控制器节点负载是否大于第二门限,若大于第二门限,则判定LEO卫星网络处于局部过载状态;If it is less than the first threshold, it is further judged whether the load of any LEO satellite controller node is greater than the second threshold, and if it is greater than the second threshold, it is judged that the LEO satellite network is in a local overload state; 若小于第二门限,则进一步判断任一LEO卫星控制器节点负载是否小于第三门限,若小于第三门限,则判定LEO卫星网络处于欠载状态;If it is less than the second threshold, it is further judged whether the load of any LEO satellite controller node is less than the third threshold, and if it is less than the third threshold, it is judged that the LEO satellite network is in an underload state; 若大于第三门限,则判定LEO卫星网络处于正常状态。If it is greater than the third threshold, it is determined that the LEO satellite network is in a normal state. 3.根据权利要求1所述的卫星网络多控制器动态部署方法,其特征在于,所述步骤S300包括:若所述LEO卫星网络处于整体过载状态,则制定以下迁移策略:3. The satellite network multi-controller dynamic deployment method according to claim 1, wherein the step S300 comprises: if the LEO satellite network is in an overall overload state, then formulating the following migration strategy: S311:添加LEO卫星控制器节点,将过载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S311 : add a LEO satellite controller node, and determine the overloaded LEO satellite controller node as the migrated LEO satellite controller node; S312:基于优先迁移率在所述迁移LEO卫星控制器节点中选择待迁移的LEO卫星交换机节点;S312: Select the LEO satellite switch node to be migrated from the migrated LEO satellite controller nodes based on the priority mobility rate; S313:基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对所述目标函数进行求解以确定新添加LEO卫星控制器节点的位置;并将所述新添加LEO卫星控制器节点作为目标域。S313: constructing an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and solving the objective function to determine the position of the newly added LEO satellite controller node; And use the newly added LEO satellite controller node as the target domain. 4.根据权利要求1所述的卫星网络多控制器动态部署方法,其特征在于,所述步骤S300包括:若LEO卫星网络处于局部过载状态,则制定以下迁移策略:4. The satellite network multi-controller dynamic deployment method according to claim 1, wherein the step S300 comprises: if the LEO satellite network is in a local overload state, then formulating the following migration strategy: S321:筛选出任一过载的LEO卫星控制器节点,将所述过载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S321: Screen out any overloaded LEO satellite controller node, and determine the overloaded LEO satellite controller node as the migration LEO satellite controller node; S322:基于优先迁移率在所述迁移LEO卫星控制器节点中选择待迁移的LEO卫星交换机节点;S322: Select the LEO satellite switch node to be migrated from the migrated LEO satellite controller nodes based on the priority mobility rate; S323:基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数进行求解以选择出合适的卫星控制器节点作为目标域。S323: Construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and solve the objective function to select an appropriate satellite controller node as the target domain. 5.根据权利要求1所述的卫星网络多控制器动态部署方法,其特征在于,所述步骤S300包括:若LEO卫星网络处于欠载状态,则制定以下迁移策略:5. The satellite network multi-controller dynamic deployment method according to claim 1, wherein the step S300 comprises: if the LEO satellite network is in an underload state, then formulating the following migration strategy: S331:筛选出任一欠载的LEO卫星控制器节点,将所述欠载的LEO卫星控制器节点确定为迁移LEO卫星控制器节点;S331: Screen out any underloaded LEO satellite controller node, and determine the underloaded LEO satellite controller node as the migration LEO satellite controller node; S332:基于优先迁移率在所述迁移LEO卫星控制器节点中选择待迁移的LEO卫星交换机节点;S332: Select the LEO satellite switch node to be migrated from the migrated LEO satellite controller nodes based on the priority mobility rate; S333:基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡构建目标函数,对目标函数进行求解以选择出合适的卫星控制器节点作为目标域。S333: Construct an objective function based on the migration cost of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing of the post-migration LEO satellite network, and solve the objective function to select a suitable satellite controller node as the target domain. 6.根据权利要求3至5中任一项所述的卫星网络多控制器动态部署方法,其特征在于,所述优先迁移率通过以下公式表示:6. The method for dynamically deploying multiple controllers in a satellite network according to any one of claims 3 to 5, wherein the priority mobility is represented by the following formula:
Figure FDA0003577219400000021
Figure FDA0003577219400000021
式中,Qj为LEO卫星交换机节点sj优先迁移率;λj为迁移LEO卫星交换机节点sj的数据流请求速率;dij为迁移LEO卫星交换机节点sj与迁移LEO卫星控制器节点ci之间的最短距离;fi为LEO卫星控制器ci的处理能力。In the formula, Q j is the priority mobility rate of the LEO satellite switch node s j ; λ j is the data flow request rate of the migrated LEO satellite switch node s j ; d ij is the migration LEO satellite switch node s j and the migrated LEO satellite controller node c The shortest distance between i ; f i is the processing capability of the LEO satellite controller c i .
7.根据权利要求3至5中任一项所述的卫星网络多控制器动态部署方法,其特征在于,所述目标函数通过以下公式表示:7. The satellite network multi-controller dynamic deployment method according to any one of claims 3 to 5, wherein the objective function is represented by the following formula: Wmin=α×BL+β×newcost+γ×newTa W min =α×BL+β×newcost+γ×newT a 式中,Wmin为基于LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数的最小值;BL为迁移后LEO卫星网络的负载均衡参数;In the formula, W min is the minimum value based on the migration overhead of the LEO satellite network, the post-migration LEO satellite control link delay, and the load balancing parameter of the post-migration LEO satellite network; BL is the load balancing parameter of the post-migration LEO satellite network; newcost为LEO卫星网络迁移开销进行归一化之后的值;newTa为迁移后LEO卫星控制链路时延进行归一化后的值;α、β、γ分别为LEO卫星网络迁移开销、迁移后LEO卫星控制链路时延和迁移后LEO卫星网络的负载均衡参数的不同权重,α+β+γ=1,0≤α,β,γ≤1。newcost is the normalized value of the LEO satellite network migration cost; newT a is the normalized value of the LEO satellite control link delay after migration; α, β, and γ are the LEO satellite network migration cost, after migration The LEO satellite controls the link delay and different weights of the load balancing parameters of the LEO satellite network after migration, α+β+γ=1, 0≤α,β,γ≤1. 8.根据权利要求3至5中任一项所述的卫星网络多控制器动态部署方法,其特征在于,采用鲸鱼优化算法和模拟退火算法对目标函数进行求解。8. The method for dynamically deploying multiple controllers in a satellite network according to any one of claims 3 to 5, wherein the objective function is solved by using a whale optimization algorithm and a simulated annealing algorithm. 9.根据权利要求3至5中任一项所述的卫星网络多控制器动态部署方法,其特征在于,所述步骤S400包括:9. The method for dynamically deploying multiple controllers in a satellite network according to any one of claims 3 to 5, wherein the step S400 comprises: 迁移LEO卫星控制器节点选取待迁移LEO卫星交换机节点,并向待迁移的LEO卫星交换机节点部署迁移规则,待迁移LEO卫星交换机节点向目标域发送请求,目标域接受待迁移LEO卫星交换机节点的请求,将待迁移LEO卫星交换机节点迁移至目标域下;The migration LEO satellite controller node selects the LEO satellite switch node to be migrated, deploys migration rules to the LEO satellite switch node to be migrated, the LEO satellite switch node to be migrated sends a request to the target domain, and the target domain accepts the request of the LEO satellite switch node to be migrated , migrate the LEO satellite switch node to be migrated to the target domain; 若LEO卫星网络处于欠载状态,将待迁移LEO卫星交换机节点迁移至目标域下后,关闭欠载的LEO卫星控制器节点。If the LEO satellite network is in an underload state, after migrating the LEO satellite switch node to be migrated to the target domain, shut down the underloaded LEO satellite controller node. 10.一种基于SDN的卫星网络多控制器动态部署系统,包括卫星网络构建模块、负载状态判定模块、迁移策略制定模块、迁移模块、更新模块和判断模块;10. An SDN-based satellite network multi-controller dynamic deployment system, comprising a satellite network construction module, a load state determination module, a migration strategy formulation module, a migration module, an update module and a judgment module; 所述卫星网络构建模块用于构建基于SDN的卫星网络架构;The satellite network building module is used to construct an SDN-based satellite network architecture; 所述负载状态判定模块用于获取LEO卫星网络全局负载信息,基于三个门限判定LEO卫星网络的负载状态;所述LEO卫星网络的负载状态包括整体过载状态、局部过载状态、欠载状态和正常状态;The load state determination module is used to obtain the global load information of the LEO satellite network, and determine the load state of the LEO satellite network based on three thresholds; the load state of the LEO satellite network includes an overall overload state, a partial overload state, an underload state and a normal state. state; 所述迁移策略制定模块用于当所述LEO卫星网络处于整体过载状态、局部过载状态或欠载状态时,基于所述LEO卫星网络的负载状态制定迁移策略,以及当所述LEO卫星网络处于正常状态时,输出LEO卫星网络信息;The migration strategy formulation module is configured to formulate a migration strategy based on the load state of the LEO satellite network when the LEO satellite network is in an overall overload state, a partial overload state or an underload state, and when the LEO satellite network is in a normal state In state, output LEO satellite network information; 所述迁移模块用于基于所述迁移策略进行动态迁移;The migration module is configured to perform dynamic migration based on the migration strategy; 所述更新模块用于更新LEO卫星网络中LEO卫星交换机节点与LEO卫星控制器节点的映射关系,以获得当前LEO卫星网络;The update module is used to update the mapping relationship between the LEO satellite switch node and the LEO satellite controller node in the LEO satellite network to obtain the current LEO satellite network; 所述判断模块用于基于三个门限判断当前LEO卫星网络的负载状态,若当前LEO卫星网络的负载状态处于正常状态,则输出当前LEO卫星网络相关信息。The judging module is used for judging the load state of the current LEO satellite network based on three thresholds, and if the current load state of the LEO satellite network is in a normal state, outputting the relevant information of the current LEO satellite network.
CN202210337675.XA 2022-04-01 2022-04-01 SDN-based dynamic deployment method and system for multiple controllers of satellite network Active CN114710199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210337675.XA CN114710199B (en) 2022-04-01 2022-04-01 SDN-based dynamic deployment method and system for multiple controllers of satellite network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210337675.XA CN114710199B (en) 2022-04-01 2022-04-01 SDN-based dynamic deployment method and system for multiple controllers of satellite network

Publications (2)

Publication Number Publication Date
CN114710199A true CN114710199A (en) 2022-07-05
CN114710199B CN114710199B (en) 2022-10-21

Family

ID=82173210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210337675.XA Active CN114710199B (en) 2022-04-01 2022-04-01 SDN-based dynamic deployment method and system for multiple controllers of satellite network

Country Status (1)

Country Link
CN (1) CN114710199B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117811639A (en) * 2023-12-28 2024-04-02 中国电信股份有限公司卫星通信分公司 Network function deployment method and device of network and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276662A (en) * 2017-07-27 2017-10-20 大连大学 A kind of software definition Information Network multi-controller dynamic deployment method
US20180084476A1 (en) * 2016-09-17 2018-03-22 Hughes Network Systems, Llc Radio resource management and routing for fixed data circuits in an ngso satellite data communications system
US20200252123A1 (en) * 2019-01-31 2020-08-06 Thales Distributed-demodulation satellite communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180084476A1 (en) * 2016-09-17 2018-03-22 Hughes Network Systems, Llc Radio resource management and routing for fixed data circuits in an ngso satellite data communications system
CN107276662A (en) * 2017-07-27 2017-10-20 大连大学 A kind of software definition Information Network multi-controller dynamic deployment method
US20200252123A1 (en) * 2019-01-31 2020-08-06 Thales Distributed-demodulation satellite communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117811639A (en) * 2023-12-28 2024-04-02 中国电信股份有限公司卫星通信分公司 Network function deployment method and device of network and readable storage medium

Also Published As

Publication number Publication date
CN114710199B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN111147307B (en) Reliable deployment method of service function chain based on deep reinforcement learning
CN107276662B (en) A kind of software definition Information Network multi-controller dynamic deployment method
CN112600717B (en) Hardware-in-the-loop test device for satellite network management and control protocol based on SDN
CN113794494B (en) Edge computing system and computing unloading optimization method for low-orbit satellite network
CN110572448A (en) distributed edge cloud system architecture
Li et al. Dynamic placement of multiple controllers based on SDN and allocation of computational resources based on heuristic ant colony algorithm
CN114710437B (en) Internet of things edge network routing system combining block chains
Guo et al. On the role of communications plane in distributed optimization of power systems
CN108234169B (en) Real-time dynamic optimization method for distributed simulation network structure
CN116233133B (en) A method for digital twin-assisted data center network load balancing
CN113032149B (en) Edge computing service placement and request distribution method and system based on evolution game
CN114710199B (en) SDN-based dynamic deployment method and system for multiple controllers of satellite network
Kovalenko et al. Clustering algorithms for UAV placement in 5G and Beyond Networks
CN106878420A (en) A kind of server load balancing method and device based on SDN
CN115664501A (en) Adaptive weight scheduling method and system based on space-based distributed satellite cluster
CN114422455B (en) Multidimensional resource management architecture and method based on space-air-ground integrated network
CN119906979A (en) A wireless communication network method and system for a mobile emergency station
Divya et al. ReTra: reinforcement based traffic load balancer in fog based network
Alsubaie et al. A platform for disaster response planning with interdependency simulation functionality
CN115189910A (en) Network digital twin-based deliberate attack survivability evaluation method
CN119005639A (en) Distributed power distribution management method and platform for power distribution cabinet
Mobasheri et al. Toward developing fog decision making on the transmission rate of various IoT devices based on reinforcement learning
CN101370031B (en) Satellite network simulation platform construction method based on open-source fire wall and mobile proxy technology
CN118714662A (en) A quality-of-service-aware air-ground integrated network resource orchestration method
Yang et al. Dynamic load balancing of multiple controller based on intelligent collaboration in sdn

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