Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a distributed congestion avoidance routing algorithm for a satellite-ground integrated network. The specific technical scheme is as follows:
a distributed congestion avoidance routing algorithm for a satellite-to-ground integrated network, the algorithm comprising: data arrives at the access satellite; updating the virtual address of the gateway node by taking the access satellite as a source node, and calculating the distance from the access satellite to each gateway node; selecting the gateway node with the minimum distance as a destination node; taking the access satellite as a current node, judging whether the current node is a target node or not, and if so, outputting an optimal path; if not, judging the alternative forwarding direction according to the virtual addresses of the current node and the destination node, judging the next hop forwarding direction according to the link congestion condition, and skipping the data to the next hop node; and repeating the process by taking the next hop node as the current node until the current node is the destination node.
In one possible design, the satellite nodes are numbered using two-dimensional arrays (v, h) with the virtual addresses of the two satellites being (v, h), respectivelyi,hi) And (v)j,hj) Obtaining the distance between the two satellites by the following formula:
d(Si,Sj)=|hi-hj|+min{|vi-vj|,n2-|vi-vj|}
in the formula, a two-dimensional array (v)d,hd) V is the serial number in the satellite orbit plane, h is the serial number of the orbit plane of the satellite, v is more than or equal to 1 and less than or equal to n2,1≤h≤n1,d(Si,Sj) Representing the distance between the two satellites.
In one possible design, let the virtual address of the current node be (v)c,hc) The virtual address of the destination node is (v)d,hd) The lateral distance n between the current node and the destination nodeH=|hd-hcL, longitudinal distance nV=min{|vd-vc|,n2-|vd-vc|}。
In one possible design, after the transverse distance and the longitudinal distance between the current node and the destination node are obtained, if the transverse distance and the longitudinal distance are both 0, the data is transmitted to the destination node; if the transverse distance is not 0, the longitudinal distance is 0, and the alternative forwarding direction is transverse forwarding; if the transverse distance is 0, the longitudinal distance is not 0, and the alternative forwarding direction is longitudinal forwarding; and if the transverse distance and the longitudinal distance are not 0, the alternative forwarding directions comprise transverse forwarding and longitudinal forwarding.
In one possible design, the algorithm further includes: the current node monitors the congestion condition of an inter-satellite link connected with the current node in real time, and if the buffer occupancy of the link is smaller than a congestion state threshold value, the link is judged to be in an idle state; and if the buffer occupancy of the link is larger than the congestion state threshold, judging that the link is in the congestion state.
In one possible design, determining an alternative forwarding direction according to virtual addresses of a current node and a destination node, and determining a next-hop forwarding direction according to a link congestion condition includes:
if only one alternative forwarding direction is available, judging whether the link of the direction is congested, if not, forwarding along the direction, and if so, entering a buffer queue to wait for the link to be idle;
if there are two alternative directions, judging whether the links of the two directions are congested, if one direction is idle and the other direction is congested, selecting the idle direction for forwarding; if the two directional links are congested, judging the length of a buffer queue of the two directional links, selecting the direction with the short buffer queue as a forwarding direction, and adding data into the direction buffer queue; and if the two direction links are not congested, selecting the direction with longer distance for forwarding.
In one possible design, the access satellite accesses the terrestrial core network through a gateway station corresponding to the destination node.
In a possible design, after the backhaul data sent by the ground core network reaches the gateway node, the gateway node is used as a source node, the access satellite node is used as a destination node, the backhaul data jumps step by step between the source node and the destination node, and finally returns to the user through a satellite-to-ground link accessed to the satellite node.
The technical scheme of the invention has the following main advantages:
the distributed congestion avoidance routing algorithm for the satellite-ground integrated network disclosed by the invention is characterized in that the distance from the access satellite to each gateway node is calculated, and the gateway node with the minimum distance is selected as a target node. The routing algorithm is added with the multi-gateway node selection problem, the target node is determined by relying on the virtual address information of the satellite, the coverage relation of the satellite to the ground area does not need to be calculated, and the calculation cost is reduced. In the step-by-step skipping process of the source node and the destination node, the alternative forwarding direction is judged through the virtual addresses of the current node and the destination node, the next-hop forwarding direction is judged according to the link congestion state, each node can judge the forwarding direction only through the link state information of the node, congestion can be avoided, the transmission overhead of signaling information is reduced, agent agents are not needed, and the method is simple and easy to implement.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme provided by the embodiment of the invention is described in detail below with reference to the accompanying drawings.
The distributed congestion avoidance routing algorithm for the satellite-ground integrated network, provided by the embodiment of the invention, is suitable for satellite network constellation configuration and inter-satellite link design shown in figure 1. The satellite network space section mainly comprises low earth orbit satellites and inter-satellite links. The constellation configuration adopts a low-orbit near-polar orbit Walker constellation, n1Each track surface is distributed in a pi shape, and n is uniformly distributed in each track surface2And (4) a satellite. The satellite has on-board processing and forwarding functions. Each satellite can establish four inter-satellite links, which establish the same-orbit inter-satellite links with the front and rear satellites in the orbital plane and establish the different-orbit inter-satellite links with the left and right satellites in the orbital plane. Wherein, 1 st and n th1A 'gap' is formed between the orbital planes, and an inter-satellite link is not established. At deltamaxIs a polar region latitude threshold value, when satellite subsatellite point latitude | delta | is greater than deltamaxAnd when the satellite is in the polar region, disconnecting the inter-orbital satellite link connected with the satellite. And when the satellite flies out of the polar region, the inter-heterotactic inter-satellite link is rebuilt.
The embodiment of the invention provides a satellite-ground integrated network-oriented distributed congestion avoidance routing algorithm, as shown in fig. 2, the algorithm comprises:
the data arrives at the access satellite.
And updating the virtual address of the gateway node by taking the access satellite as a source node, and calculating the distance from the access satellite to each gateway node.
And selecting the gateway node with the minimum distance as the destination node.
Taking the access satellite as a current node, judging whether the current node is a target node or not, and if so, outputting an optimal path; if not, judging the alternative forwarding direction according to the virtual addresses of the current node and the destination node, judging the next hop forwarding direction according to the link congestion condition, and skipping the data to the next hop node; and repeating the process by taking the next hop node as the current node until the current node is the destination node.
The distributed congestion avoidance routing algorithm for the satellite-ground integrated network, provided by the embodiment of the invention, selects the gateway node with the minimum distance as the destination node by calculating the distance from the access satellite to each gateway node. The problem of multi-gateway node selection is added in a routing algorithm, a target node is determined by relying on virtual address information of a satellite, the coverage relation of the satellite to a ground area does not need to be calculated, and calculation cost is reduced. In the step-by-step skipping process of the source node and the destination node, the alternative forwarding direction is judged through the virtual addresses of the current node and the destination node, the next-hop forwarding direction is judged according to the link congestion state, each node can judge the forwarding direction only through the link state information of the node, congestion can be avoided, the transmission overhead of signaling information is reduced, agent agents are not needed, and the method is simple and easy to implement.
In the satellite-ground integrated network system, a gateway station establishes a satellite-ground link with a satellite with the largest air elevation angle above the gateway station, and the satellite is called a gateway satellite. In the process of satellite movement, the gateway satellite corresponding to the gateway station is continuously updated, so that the gateway station always selects the satellite with the largest elevation angle to become the gateway satellite. The gateway satellites correspond to the gateway stations one by one, the number of the gateway nodes is equal to that of the gateway stations, and no gateway station exists in the polar region. In the satellite network, each satellite has the same performance, and can be called a gateway node along with the movement of the satellite. After receiving the data of the ground user, a certain access satellite becomes a source node, the satellite selects a gateway node as a destination node at the source node, and then hop-by-hop forwarding is carried out between the source node and the destination node to complete the routing process.
In the embodiment of the invention, the access satellite is used as a source node, the distance between the access satellite and each gateway node is calculated, and the gateway node with the minimum distance is selected as a destination node. Therefore, it is necessary to provide an inter-satellite distance obtaining method, and optionally, the embodiment of the present invention obtains the inter-satellite distance by:
a two-dimensional array (v,h) numbering the satellite nodes to make the virtual addresses of two satellites respectively be (v)i,hi) And (v)j,hj) Obtaining the distance between the two satellites by the following formula:
d(Si,Sj)=|hi-hj|+min{|vi-vj|,n2-|vi-vj|}
in the formula, v in the two-dimensional array (v, h) is the number in the satellite orbital plane, h is the number in the orbital plane of the satellite, and v is more than or equal to 1 and less than or equal to n2,1≤h≤n1,d(Si,Sj) Representing the distance between the two satellites.
Based on the above, let the virtual address of the current node be (v)c,hc) The virtual address of the destination node is (v)d,hd) Defining a lateral distance n between the current node and the destination nodeH=|hd-hcL, longitudinal distance nV=min{|vd-vc|,n2-|vd-vc|}。
Further, the gateway node selection method is as follows: each node SkComputing and gateway nodes GiSelecting the gateway node with the smallest distance as the destination node G (S)k). (when the gateway node with the smallest distance is not unique, the gateway node with the smallest number is selected.)
That is, the access satellite selects the gateway node with the smallest distance as the destination node by the above method. And after the destination node is determined, the access satellite accesses the ground core network through the gateway station corresponding to the destination node.
How to judge the alternative forwarding direction according to the virtual addresses of the current node and the destination node is exemplified as follows:
after the transverse distance and the longitudinal distance between the current node and the target node are obtained, if the transverse distance and the longitudinal distance are both 0, the data are transmitted to the target node; if the transverse distance is not 0, the longitudinal distance is 0, and the alternative forwarding direction is transverse forwarding; if the transverse distance is 0, the longitudinal distance is not 0, and the alternative forwarding direction is longitudinal forwarding; and if the transverse distance and the longitudinal distance are not 0, the alternative forwarding directions comprise transverse forwarding and longitudinal forwarding.
And after the alternative forwarding direction is determined, determining the next hop forwarding direction according to the congestion condition of the link. In the embodiment of the invention, the link congestion condition is determined by the following modes:
the current node monitors the congestion condition of the inter-satellite link connected with the current node in real time, and if the occupancy of the link cache is smaller than the congestion state threshold TCJudging that the link is in an idle state; if the link buffer occupation amount is larger than the congestion state threshold TCThen, the link is determined to be in a congested state.
Specifically, determining an alternative forwarding direction according to virtual addresses of a current node and a destination node, and determining a next-hop forwarding direction according to a link congestion status, as shown in fig. 3, includes:
if only one alternative forwarding direction exists, judging whether the link of the direction is congested, if not, forwarding along the direction, and if so, entering a buffer queue to wait for the link to be idle.
If there are two alternative directions, judging whether the links of the two directions are congested, if one direction is idle and the other direction is congested, selecting the idle direction for forwarding; if the two directional links are congested, judging the length of a buffer queue of the two directional links, selecting the direction with the short buffer queue as a forwarding direction, and adding data into the direction buffer queue; and if the two direction links are not congested, selecting the direction with longer distance for forwarding.
And the data jumps step by step between the source node and the destination node through the routing algorithm, and the data transmission path determined through the process is the optimal path of the algorithm.
Based on the same reason, after the backhaul data sent by the ground core network reaches the gateway node, the gateway node is used as a source node, the access satellite node is used as a destination node, the backhaul data jumps step by step between the source node and the destination node, and finally returns to the user through a satellite-ground link accessed to the satellite node.
The following describes beneficial effects of the distributed congestion avoidance routing algorithm for a satellite-ground integrated network according to the embodiment of the present invention with reference to specific examples:
and carrying out simulation verification on the distributed congestion avoidance routing algorithm facing the satellite-ground integrated network by adopting a simulation method. The constellation configuration adopts polar orbit constellation, the orbit height is 1200km, the number n1 of orbit surfaces is 18, and the number n of satellites in each orbit surface2Total number of satellites N36sat648, the phase difference Δ f between adjacent orbiting satellites is 5deg, and the threshold value of the polar region dimension is δmax70deg, with the number of gateway stations set to NGThe simulation time was 24h, 12.
Simulation results of the distributed congestion avoidance routing algorithm for the satellite-ground integrated network and the minimum delay routing algorithm provided by the prior art are shown in fig. 4 to fig. 6. Simulation results show that compared with a minimum delay routing algorithm, the distributed congestion avoidance routing algorithm for the satellite-ground integrated network has smaller average propagation delay difference, and the overall load balance and packet loss rate performance of the network are greatly improved, which shows that the routing algorithm of the embodiment of the invention has congestion avoidance capability.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. In addition, "front", "rear", "left", "right", "upper" and "lower" in this document are referred to the placement states shown in the drawings.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.