Routing method and system based on software-defined satellite network
By adopting a software-defined network architecture in the low-orbit satellite network, dividing time slices and generating policy flow tables, the problem of ground network instability caused by orbital dynamics of low-orbit satellites is solved, and more efficient data packet forwarding and network stability are achieved. sex.
Patent Information
- Application Number
- CN202410884673.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Low-orbit satellites have ground network instability problems caused by orbital dynamics, high transmission delays and losses, and large signaling consumption caused by network topology dynamics.
Using the software-defined network (SDN) architecture, the satellite's orbital operation cycle is divided into multiple time slices, the network topology within each time slice is obtained, and the optimal path from any satellite node to the ground communication terminal is determined, and based on this Generate a policy flow table and deliver it to the programmable switch to implement data packet forwarding.
Through predictive routing planning and centralized configuration, the signaling consumption caused by the dynamic network topology is reduced, the stability and efficiency of the ground network are improved, and the instability problem of the ground network caused by orbit dynamics faced by low-orbit satellites is solved.
Smart Images

Figure CN118413476B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a routing method and system based on a software-defined satellite network. Background Art
[0002] In recent years, as the scale of the Internet continues to expand, the corresponding network traffic has also shown a blowout growth. Therefore, the traditional ground backbone Internet is facing the problem of longer and longer transmission distances and gradually insufficient coverage. In order to better solve the large-scale network interconnection required by globalization, satellite Internet came into being and has gone through decades of development, such as the early Iridium network and the current Starlink project.
[0003] However, with the development of satellite Internet to this day, there are still many shortcomings and problems to be solved. According to the general direction, these problems are mainly concentrated in two parts: satellite-to-ground communication and inter-satellite communication. Among them, inter-satellite communication can be divided into multi-layer and single-layer communication, specifically communication between high and low orbits or communication between low orbits. The orbits of high-orbit satellites are relatively static. In theory, three satellites can achieve full ground coverage and can achieve one-to-many communication with multiple low-orbit satellites at the same time. However, in addition to the high cost, the long communication links of high and low orbits bring high latency and high loss. Problems such as these cannot be ignored. In comparison, the transmission delay and transmission loss between low-orbit satellites are lower, but low-orbit satellites also face problems such as ground network instability caused by orbital dynamics.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a routing method and system based on a software-defined satellite network, aiming to solve the technical problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites.
[0006] To achieve the above object, the present application proposes a routing method based on a software-defined satellite network. The satellite network system includes a controller and a low-orbit satellite network. The routing method based on the software-defined satellite network is applied to the controller. The routing method based on the software-defined satellite network includes:
[0007] Divide the orbiting period of the satellite into multiple time slices, and obtain the network topology within each time slice;
[0008] Based on the network topology, determine the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice, and determine the strategy flow table of the satellite node in different time slices based on the optimal path;
[0009] The strategy flow table is sent to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network can forward the data packets sent by the ground communication terminal based on the strategy flow table.
[0010] In one embodiment, the step of determining the optimal path from any satellite node to a ground communication terminal in any network segment in each time slice based on the network topology includes:
[0011] Determine the weight value based on the transmission delay and transmission loss;
[0012] The optimal path from any satellite node to a ground communication terminal in any network segment in each time slice is determined according to the weight value.
[0013] In one embodiment, the step of determining the weight value based on the transmission delay and the transmission loss includes:
[0014] Determine the transmission delay based on the inter-satellite distance, the satellite-to-ground distance, the speed of light, and the data processing time;
[0015] Determine the transmission loss based on the signal transmission power and the loss factor;
[0016] The transmission delay and the transmission loss are normalized to obtain a normalized value of the transmission delay and a normalized value of the transmission loss, and a weight value is determined according to the normalized value of the transmission delay and the normalized value of the transmission loss.
[0017] In one embodiment, the method further comprises:
[0018] When the network topology state under the time slice is detected to be abnormal, a new strategy flow table of the satellite node under different time slices is regenerated;
[0019] Send the new strategy flow table to its corresponding satellite node.
[0020] In one embodiment, the satellite network system further includes a time module, and the controller is connected to a synchronization port of the time module; wherein the method further includes:
[0021] Time synchronization between the controller and the low-orbit satellite network is achieved through the synchronization port.
[0022] In one embodiment, a satellite network system includes a controller and a low-orbit satellite network, and the routing method based on the software-defined satellite network is applied to a programmable switch of a satellite node in the low-orbit satellite network, and the method includes:
[0023] Receive the strategy flow table sent by the controller, wherein the strategy flow table divides the orbiting period of the satellite into multiple time slices, obtains the network topology in each time slice, determines the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice based on the network topology, and determines the strategy flow table of the satellite node in different time slices based on the optimal path;
[0024] After receiving the data packet sent by the ground communication terminal, the data packet sent by the ground communication terminal is forwarded based on the policy flow table.
[0025] In one embodiment, after receiving the data packet sent by the ground communication terminal, the step of implementing forwarding of the data packet based on the policy flow table includes:
[0026] After receiving the data packet sent by the ground communication terminal, determining the target time slice of the current timestamp;
[0027] After extracting the destination address of the data packet, determining whether the destination address matches the address of any satellite node in the target time slice;
[0028] After determining that the destination address matches the address of any satellite node in the target time slice, an egress is set based on the destination address and forwarding of the data packet is achieved based on the policy flow table.
[0029] In one embodiment, the step of setting the egress based on the destination address and implementing forwarding of the data packet based on the policy flow table includes:
[0030] Based on the destination address, determining a topology switching condition of the data packet from a starting point to an end point;
[0031] When the topology switching situation is that the network topology is not switched, the optimal path corresponding to the destination address in the policy flow table of the target time slice is determined as the first path, and the forwarding of the data packet is realized based on the first path;
[0032] When the topology switching situation is switching the network topology, the corresponding time slice of the data packet from the starting point to the end point is determined, and the second path is determined according to the optimal path corresponding to the destination address in the policy flow table under different corresponding time slices, and the forwarding of the data packet is realized based on the second path.
[0033] In one embodiment, the satellite network system further includes a time module, and the time module is connected to the time port of the programmable switch; wherein,
[0034] After determining that the destination address matches the address of any satellite node in the target time slice, the step of setting an egress based on the destination address and implementing forwarding of the data packet based on the policy flow table also includes:
[0035] Determine a time message of the current timestamp;
[0036] Determine whether the source address of the time message comes from the time module;
[0037] When it is determined that the source address of the time message comes from the time module, the current time is updated based on the current timestamp.
[0038] In addition, to achieve the above-mentioned objectives, the present application also proposes a routing device based on a software-defined satellite network, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the routing method based on a software-defined satellite network as described above.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the routing method based on the software-defined satellite network as described above are implemented.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the routing method based on the software-defined satellite network as described above.
[0041] One or more technical solutions proposed in this application have at least the following technical effects:
[0042] The routing method and system based on software-defined satellite network proposed in the present application divides the orbiting period of the satellite into multiple time slices and obtains the network topology in each time slice; based on the network topology, determines the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice, and determines the strategy flow table of the satellite node in different time slices based on the optimal path; sends the strategy flow table to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network can realize the forwarding of the data packet sent by the ground communication terminal based on the strategy flow table, thereby solving the technical problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites. Compared with the prior art, the present application provides a new software-defined satellite network solution, which adopts a programmable architecture of a controller plus a programmable switch, and based on the predictability of the satellite network, uses the shortest path algorithm to plan the optimal route to the destination address in each time slice, and makes full use of the centralized configuration of the controller on the control plane, so as to realize the one-time sending of the strategy flow table to the low-orbit satellite node to reduce the signaling consumption caused by the dynamic network topology, thereby solving the problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0045] Figure 1 A flowchart diagram of a first embodiment of a routing method based on a software-defined satellite network provided in the present application;
[0046] Figure 2 A schematic diagram of the overall structure of a satellite network system is provided for the first embodiment of the routing method based on a software-defined satellite network of the present application;
[0047] Figure 3 A diagram of the network topology and single LEO node architecture within a time slice provided in Embodiment 1 of the routing method based on a software-defined satellite network of the present application;
[0048] Figure 4 A satellite-ground schematic diagram provided for the first embodiment of the routing method based on software-defined satellite network of the present application;
[0049] Figure 5A flowchart diagram of a second embodiment of a routing method based on a software-defined satellite network according to the present application;
[0050] Figure 6 A processing flow chart of a LEO node provided in Embodiment 2 of the routing method based on a software-defined satellite network of the present application;
[0051] Figure 7 A schematic diagram of a routing forwarding strategy provided for Embodiment 2 of the routing method based on a software-defined satellite network of the present application;
[0052] Figure 8 This is a schematic diagram of the module structure of a routing device based on a software-defined satellite network according to an embodiment of the present application;
[0053] Fig. 9 Schematic diagram of the structure of the satellite network system in the embodiment of the present application.
[0054] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0056] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0057] The main solution of the embodiment of the present application is: dividing the orbiting period of the satellite into multiple time slices, and obtaining the network topology within each time slice; based on the network topology, determining the optimal path from any satellite node to the ground communication terminal in any network segment within each time slice, and determining the strategy flow table of the satellite node in different time slices based on the optimal path; sending the strategy flow table to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network can realize the forwarding of data packets sent by the ground communication terminal based on the strategy flow table.
[0058] Due to existing technology, low-orbit satellites face the problem of unstable ground networks caused by orbital dynamics.
[0059] The present application provides a solution, which adopts a programmable architecture of a controller plus a programmable switch. Based on the predictability of the satellite network, the shortest path algorithm is used to plan the optimal route to the destination address in each time slice, and the centralized configuration of the controller on the control plane is fully utilized to achieve a one-time delivery of the policy flow table to the low-orbit satellite node to reduce the signaling consumption caused by the dynamic network topology, thereby solving the problem of ground network instability caused by the orbital dynamics faced by low-orbit satellites.
[0060] It can be seen from the above embodiments that the present application divides the orbiting period of the satellite into multiple time slices and obtains the network topology within each time slice; based on the network topology, determines the optimal path from any satellite node to the ground communication terminal in any network segment within each time slice, and determines the strategy flow table of the satellite node under different time slices based on the optimal path; sends the strategy flow table to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network can forward the data packet sent by the ground communication terminal based on the strategy flow table, thereby solving the technical problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites. Compared with the prior art, the present application provides a new software-defined satellite network solution, which adopts a programmable architecture of a controller plus a programmable switch, and based on the predictability of the satellite network, uses the shortest path algorithm to plan the optimal route to the destination address within each time slice, and makes full use of the centralized configuration of the controller on the control plane, so as to realize the one-time sending of the strategy flow table to the low-orbit satellite node to reduce the signaling consumption caused by the dynamic network topology, thereby solving the problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites.
[0061] Based on this, the embodiment of the present application provides a routing method based on a software-defined satellite network, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the routing method based on software-defined satellite network of the present application.
[0062] In this embodiment, the satellite network system includes a controller and a low-orbit satellite network. This embodiment is applied to the controller. The routing method based on the software-defined satellite network includes steps S10 to S30:
[0063] Step S10, dividing the orbiting period of the satellite into a plurality of time slices, and obtaining the network topology within each time slice;
[0064] It should be noted that the controller is an SDN (Software Defined Network) controller (it can be a ground control center or a high-orbit satellite). The SDN controller is responsible for updating and maintaining the network topology and configuring data forwarding strategies based on the network topology.
[0065] It should be noted that the operating period of a satellite around its orbit is the operating period of a low-orbit satellite around its orbit.
[0066] It should be noted that based on the regularity and predictability of low-orbit satellite network topology, multiple network topologies can be divided according to the satellite's orbital cycle. The network topology within each time slice can be regarded as a static and unchanging network topology. In this way, the optimal path from each low-orbit satellite node to other nodes (such as other satellite nodes or ground communication terminals) in any time slice can be determined in advance.
[0067] In the specific implementation, the entire constellation topology is divided into {[0,t1) [t1,t2) [t2,t3)...[tn-1,0)}∈N time slices, where , T represents the orbital period of the satellite, V T represents the satellite time step.
[0068] It should be noted that if Figure 2 As shown, the satellite network system includes a controller and a low-orbit satellite network. The low-orbit satellite network is composed of multiple low-orbit satellite nodes. The controller is a GEO-SDN Controller. The controller is connected to the low-orbit satellite network and is also connected to a ground control center (Ground Control Center).
[0069] In a feasible implementation, the satellite network system further includes a time module, and the controller is connected to a synchronization port of the time module; wherein the method further includes: achieving time synchronization between the controller and the low-orbit satellite network through the synchronization port.
[0070] It should be noted that the satellite network system includes a controller, a low-orbit satellite network and a time module, and the time synchronization between the controller and the low-orbit satellite network can be achieved through the synchronization port of the time module.
[0071] In the specific implementation, taking the polar orbit constellation as an example, Figure 3As shown in the figure, in a certain time slice, the network topology and single low-orbit satellite node architecture, the low-orbit satellite node in any time slice is connected to the nodes in the four directions of up, down, left and right, namely the four ports (upper port, lower port, left port and right port) on the programmable switch (i.e., P4 switch). The PA switch (Programming Protocol-independent Packet Processors, programmable switch) also includes three additional ports (management port, CPU port and time port), among which the management port and CPU port are connected to the controller for policy issuance and initial configuration, and the time port is connected to the time module for synchronizing the current time status. The time module periodically sends the current timestamp to the P4 switch. In addition, the time module is also connected to the controller through the synchronization port to achieve time synchronization between the controller and the low-orbit satellite network.
[0072] Step S20, based on the network topology, determining the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice, and determining the policy flow table of the satellite node in different time slices based on the optimal path;
[0073] It should be noted that since the programmable switch needs to match the destination address of the data packet to forward the data packet, the controller also needs to consider factors such as the distance between the satellite and the ground (that is, the distance from the satellite node to the ground communication terminal) when generating the policy flow table. Figure 4 As shown, the location of the ground communication terminal PST can be divided according to its IP network segment.
[0074] In a feasible implementation manner, the step of determining the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice based on the network topology includes: determining a weight value based on transmission delay and transmission loss; and determining the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice based on the weight value.
[0075] It should be noted that the transmission delay refers to the transmission delay between adjacent nodes between satellites or between satellites and the ground, and the transmission loss refers to the transmission loss between adjacent nodes between satellites or between satellites and the ground.
[0076] In a specific implementation, the optimal path refers to the forwarding path corresponding to when the sum of the weight values from the starting point (satellite node) to the end point (ground communication terminal) is the minimum.
[0077] In a feasible implementation manner, the step of determining the weight value based on the transmission delay and the transmission loss includes: determining the transmission delay based on the inter-satellite distance, the satellite-to-ground distance, the speed of light, and the data processing time; determining the transmission loss based on the signal transmission power and the loss factor; normalizing the transmission delay and the transmission loss to obtain a normalized value of the transmission delay and a normalized value of the transmission loss, and determining the weight value based on the normalized value of the transmission delay and the normalized value of the transmission loss.
[0078] In the specific implementation, the transmission delay is calculated as follows:
[0079]
[0080] In the formula, dis represents the distance between adjacent nodes between satellites or between satellites and the ground (i.e., the distance between satellites or the distance between satellites and the ground), c represents the speed of light, Indicates the time from when a node receives data to when it processes it (i.e., data processing time).
[0081] In the specific implementation, the transmission loss is calculated as follows:
[0082]
[0083] Where G represents the loss factor, Indicates the signal transmission power.
[0084] In a specific implementation, the normalized value of the transmission delay is calculated as follows:
[0085]
[0086] In the formula, d represents the transmission delay between adjacent nodes between satellites, d max represents the maximum transmission delay between adjacent nodes between satellites, d min Indicates the minimum transmission delay between adjacent nodes between satellites.
[0087] In the specific implementation, the normalized value of transmission loss is calculated as follows:
[0088]
[0089] Where p represents the transmission loss between adjacent nodes between satellites, max represents the maximum transmission loss between adjacent nodes between satellites, p min Indicates the minimum transmission loss between adjacent nodes between satellites.
[0090] In the specific implementation, the weight values between adjacent satellites are calculated as follows:
[0091] W=D+P
[0092] Where D represents the normalized value of transmission delay, and P represents the normalized value of transmission loss.
[0093] It should be noted that since the loss P usually dominates the spatial light transmission process, the P value is greater than D.
[0094] Step S30, sending the strategy flow table to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network can forward the data packets sent by the ground communication terminal based on the strategy flow table.
[0095] It should be noted that the programmable switch refers to the P4 switch, which can forward and route data packets according to the network topology under the current time slice.
[0096] In a feasible implementation, the method further includes: when an abnormality is detected in the network topology state under the time slice, regenerating a new strategy flow table of the satellite node under different time slices; and sending the new strategy flow table to its corresponding satellite node.
[0097] It should be noted that abnormal network topology status includes satellite node offline or link abnormality. When the network topology under the time slice is monitored to have a device (low-orbit satellite node) offline or a link abnormality (such as link disconnection), it is necessary to re-plan and generate a new policy flow table and then send it to each low-orbit satellite node.
[0098] In this embodiment, when a satellite node goes offline or a link anomaly causes the original network topology to change, the controller of the control plane will re-plan and configure the routes of each satellite node and re-send the policy flow table to each low-orbit satellite node, which can avoid affecting the transmission of data packets due to untimely updating of the policy flow table.
[0099] In the specific implementation, the controller needs to calculate the shortest path between each satellite node in advance, and also needs to send the policy table flow of each low-orbit satellite node to the corresponding low-orbit satellite node in the initial time period. The sending logic is as follows:
[0100]
[0101] The steps are detailed as follows:
[0102] Traverse the low-orbit satellite nodes and select one of the src_nodes as the starting point; 2-3. Traverse the low-orbit satellite nodes and select a dst_node different from the src_node as the end point;
[0103] 4-5. Select the corresponding table entry time_i_rte_table for time slice i;
[0104] 6-7. Set the key_match item of the table item time_i_rte_table according to the destination address of dst_node, and then select the port set_egress_port_direct from which the node src_node should forward the message within the time slice i according to the shortest path algorithm;
[0105] 8-9. Build a policy flow table and send it to the LEO (Low Earth Orbit) node (low-orbit satellite node) corresponding to src_node.
[0106] It is understandable that after the controller sends the policy flow table to the low-orbit satellite node, it only needs to monitor the status of the network topology.
[0107] This embodiment divides the orbiting period of the satellite into multiple time slices and obtains the network topology within each time slice; based on the network topology, determines the optimal path from any satellite node to the ground communication terminal in any network segment within each time slice, and determines the strategy flow table of the satellite node under different time slices based on the optimal path; sends the strategy flow table to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network can realize the forwarding of the data packet sent by the ground communication terminal based on the strategy flow table, thereby solving the technical problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites. Compared with the prior art, the present application provides a new SDN satellite network solution, which adopts a programmable architecture of a controller plus a P4 switch, and based on the predictability of the satellite network, uses the shortest path algorithm to plan the optimal route to the destination address within each time slice, and makes full use of the centralized configuration of the controller on the control plane, so as to realize the one-time sending of the strategy flow table to the low-orbit satellite node to reduce the signaling consumption caused by the dynamic network topology, thereby solving the problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites.
[0108] Based on this, the embodiment of the present application provides a routing method based on a software-defined satellite network, referring to Figure 5 , Figure 5 This is a flow chart of a second embodiment of a routing method based on a software-defined satellite network of the present application.
[0109] In this embodiment, the satellite network system includes a controller and a low-orbit satellite network. This embodiment is applied to a programmable switch of a satellite node in the low-orbit satellite network. The routing method based on the software-defined satellite network includes steps S10' to S20':
[0110] Step S10', receiving the strategy flow table sent by the controller, wherein the strategy flow table divides the orbiting period of the satellite into multiple time slices, and obtains the network topology in each time slice, determines the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice based on the network topology, and determines the strategy flow table of the satellite node in different time slices based on the optimal path;
[0111] It should be noted that the satellite network system includes a controller, a low-orbit satellite network and a time module, and the time synchronization between the controller and the low-orbit satellite network can be achieved through the synchronization port of the time module.
[0112] In the specific implementation, taking the polar orbit constellation as an example, Figure 2 As shown in the figure, in a certain time slice, the network topology and the single LEO node (low-orbit satellite node) architecture, the LEO node in any time slice is connected to the nodes in the four directions of up, down, left and right, that is, the four ports (upper port, lower port, left port and right port) on the programmable switch (i.e., P4 switch). The PA switch also includes three additional ports (management port, CPU port and time port), among which the management port and CPU port are connected to the controller for policy issuance and initial configuration, and the time port is connected to the time module for synchronizing the current time status. The time module periodically sends the current timestamp to the P4 switch. In addition, the time module is also connected to the controller through the synchronization port to achieve time synchronization between the controller and the low-orbit satellite network.
[0113] Step S20': after receiving the data packet sent by the ground communication terminal, forwarding the data packet sent by the ground communication terminal is implemented based on the policy flow table.
[0114] In a feasible implementation manner, after receiving the data packet sent by the ground communication terminal, the step of forwarding the data packet based on the policy flow table includes: after receiving the data packet sent by the ground communication terminal, determining the target time slice of the current timestamp; after extracting the destination address of the data packet, judging whether the destination address matches the address of any satellite node in the target time slice; after judging that the destination address matches the address of any satellite node in the target time slice, setting an exit based on the destination address and forwarding the data packet based on the policy flow table.
[0115] It should be noted that if the destination address of the data packet matches the address of any satellite node in the network topology, the data packet can be forwarded based on the policy flow table after the egress is set directly based on the destination address.
[0116] In a feasible implementation, the satellite network system also includes a time module, which is connected to the time port of the programmable switch; wherein, after determining that the destination address matches the address of any satellite node in the target time slice, the step of setting an exit based on the destination address and forwarding the data packet based on the policy flow table also includes: determining a time message of the current timestamp; judging whether the source address of the time message comes from the time module; and when determining that the source address of the time message comes from the time module, updating the current time based on the current timestamp.
[0117] It should be noted that when the source address of the time message does not come from the time module, the message needs to be discarded and the process ends.
[0118] In the specific implementation, Figure 6 As shown in the figure, the processing steps of the low-orbit satellite node (ie, LEO node) after receiving the data packet sent by the ground communication terminal are as follows:
[0119] 1. Receive data packets and parse them. After receiving the message, the P4 switch needs to extract and parse it to facilitate the acquisition of key information in the message in subsequent processing.
[0120] 2. Determine which time slice the current time belongs to.
[0121] 3. If the current time does not belong to the determined time slice, determine whether it belongs to the next time slice.
[0122] 4. If the current time belongs to the determined time slice, the destination address of the message is extracted to determine whether it matches a node address in the network topology within the time slice.
[0123] 5. If the address of any node in the topology does not match, determine whether the source address of the message comes from the time module.
[0124] 6. If the source address of the message does not come from the time module, the message is discarded and the process ends.
[0125] 7. If the destination address of the message matches the address of a node in the topology, set the exit and forward it according to the shortest path algorithm.
[0126] 8. If the source address of the message comes from the time module, time synchronization is performed to update the current time of P4.
[0127] In one embodiment, the steps of setting an exit based on the destination address and forwarding the data packet based on the policy flow table include: determining a topology switching situation of the data packet from a starting point to an end point based on the destination address; when the topology switching situation is a non-switched network topology, determining the optimal path corresponding to the destination address in the policy flow table of the target time slice as a first path, and forwarding the data packet based on the first path; when the topology switching situation is a switched network topology, determining the corresponding time slice of the data packet from the starting point to the end point, and determining a second path based on the optimal path corresponding to the destination address in the policy flow table under different corresponding time slices, and forwarding the data packet based on the second path.
[0128] It should be noted that when the network topology from the starting point to the end point of the data packet is not switched, the optimal path to the destination address can be directly found from the policy flow table corresponding to the target time slice, and the optimal path can be determined as the first path, and then the data packet can be forwarded according to the first path.
[0129] In the specific implementation, Figure 7 As shown in the figure, since the network topology within each time slice is static and unchanged, when the time corresponding to the data packet from the starting point to the end point is always within a single slice time n1, the route from PST0 (starting point) to PST1 (terminal) is planned according to the shortest path (i.e., the optimal path) of topo1 (s0-s1-s2-pst1). This situation is called single topology, that is, the data packet is always within a certain time slice from the starting point to the end point.
[0130] It should be noted that when the data packet switches the network topology from the starting point to the end point, it is necessary to determine the optimal path in each time slice, and then determine the second path based on these optimal paths.
[0131] In the specific implementation, when the data packet requests from PST0 (starting point) to PST2 (end point), when the data packet arrives at s4 from s3, the time slice is cut from n1 to n2, and the network topology changes from topo1 to topo2. For node s4, affected by its own processing logic, it will choose the current n2 time slice, with s4 as the starting point, and the optimal path to PST2 (s4-s5-s6-pst2). From a global perspective, (s0-s1-s2-s3-s4-s5-s6-pst2) is neither the optimal path from s0 to pst2 under topo1 nor topo2. Instead, it adopts the idea of a greedy algorithm and uses the optimal solution within the current time slice.
[0132] It should be noted that the reason for this design is that, first, if the optimal solution from s0 to pst2 is considered, the topology of the n1 and n2 time slices needs to be integrated, which requires the additional design of P4 table entries and the writing of corresponding forwarding logic and strategies. If there are more complex scenarios, that is, the span of multiple time slices, the complexity and volume of the entire system will increase exponentially. Second, considering that the relative position of the ground communication terminal PST remains unchanged, the total forwarding hops from the starting point to the end point will not change with the topology switch, that is, of and unchanged but and The rise and fall of h : The number of forwarding hops in different tracks, H v : The number of forwarding hops on the same track), so the greedy strategy reduces the complexity and approaches the optimal solution, and the error is generally , i represents node i (0<=i<=n, up to n nodes). In the case of cross-network topology, node i is transformed from the optimal solution to the local optimal solution, resulting in a deviation from the optimal delay and loss to the local delay and loss. .
[0133] It should be noted that in order to adapt to the shortest path strategy, the table entries and actions of the P4 switch are designed as shown in Table 1:
[0134]
[0135] Table 1
[0136] It should be noted that the P4 switch has designed a total of N time slices corresponding to the table time_rte_table. Each table entry is matched according to the destination address and contains the same four actions. The egress forwarding is performed according to the specific destination address, that is, the forwarding of the upper, lower, left and right ports, corresponding to the ports in the four directions of LEO. In addition, the table entry set_time_table is used to match the source address of the time module. The action stores the timestamp sent by the time module locally. According to the designed table entries, the internal data processing logic of the P4 switch is as follows (pseudo code):
[0137]
[0138] Among them, (t0t1...t n ) indicates the timestamp divided by time slice. When P4 receives the data packet and parses it, it first makes a conditional judgment based on the local timestamp local_metadata_timestamp to execute the corresponding table entry, and then matches the table entry based on the destination address. After the match is correct, it finally executes the corresponding action (the specific direction of forwarding is determined by the control plane sending a policy flow table control based on the path algorithm).
[0139] It should be noted that the time module is designed to make up for the lack of timing function in the P4 switch. It periodically informs the P4 switch of the current timestamp. The corresponding table designed by the P4 switch is set_time_table. After the time is informed, the current time is stored in the local variable. The sending period of the time module depends on the actual situation, but a certain accuracy must be guaranteed, that is, it is much smaller than the slicing time of the satellite topology. The time synchronization between time modules can be synchronized through the controller via the NTP protocol.
[0140] It should be noted that in order to cooperate with the P4 switch to perform forwarding, the controller needs to calculate the shortest path between each satellite node in advance, and also needs to send the policy table flow of each low-orbit satellite node to the corresponding low-orbit satellite node in the initial time period. The sending logic is as follows:
[0141]
[0142] The steps are detailed as follows:
[0143] 1. Traverse the low-orbit satellite nodes and select one of the src_nodes as the starting point;
[0144] 2-3. Traverse the low-orbit satellite nodes and select a dst_node different from src_node as the end point;
[0145] 4-5. Select the corresponding table entry time_i_rte_table for time slice i;
[0146] 6-7. Set the key_match item of the table item time_i_rte_table according to the destination address of dst_node, and then select the port set_egress_port_direct from which the node src_node should forward the message within the time slice i according to the shortest path algorithm;
[0147] 8-9. Build the strategy flow table and send it to the LEO node (low-orbit satellite node) corresponding to src_node.
[0148] For the controller, after sending the policy flow table to the low-orbit satellite node at one time, it only needs to monitor the status of the network topology. This can save the time required for the controller on the control plane to upload and then send the policy flow table when dynamically planning the data packet. This is very important in satellite networks with strong network dynamics and transmission losses. When a satellite node fails or the ground terminal network changes, the controller will re-send a new policy flow table.
[0149] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the routing method of the present application based on a software-defined satellite network. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0150] The present application provides a routing device based on a software-defined satellite network, and the routing device based on the software-defined satellite network includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the routing method based on the software-defined satellite network in the above-mentioned embodiment 1.
[0151] Reference below Figure 8 , which shows a schematic diagram of the structure of a routing device based on a software-defined satellite network suitable for implementing an embodiment of the present application. The routing device based on a software-defined satellite network in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The software-defined satellite network device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0152] like Figure 8As shown, the software-defined satellite network device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for device operation are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the software-defined satellite network device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a software-defined satellite network device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0153] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0154] The software-defined satellite network device provided by the present application adopts the routing method based on the software-defined satellite network in the above embodiment, which can solve the technical problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites. Compared with the prior art, the beneficial effects of the software-defined satellite network device provided by the present application are the same as the beneficial effects of the routing method based on the software-defined satellite network provided by the above embodiment, and the other technical features in the software-defined satellite network device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0155] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0156] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0157] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the routing method based on the software-defined satellite network in the above-mentioned embodiment.
[0158] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0159] The computer-readable storage medium may be included in a software-defined satellite network device; or may exist independently without being assembled into the software-defined satellite network device.
[0160] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by a software-defined satellite network device, the software-defined satellite network device: divides the orbiting period of the satellite into multiple time slices, and obtains the network topology within each time slice; based on the network topology, determines the optimal path from any satellite node to the ground communication terminal in any network segment within each time slice, and determines the strategy flow table of the satellite node in different time slices based on the optimal path; sends the strategy flow table to its corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network realizes the forwarding of data packets sent by the ground communication terminal based on the strategy flow table.
[0161] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0162] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0163] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0164] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned routing method based on software-defined satellite networks, and can solve the technical problem of ground network instability caused by orbital dynamics faced by low-orbit satellites. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the routing method based on software-defined satellite networks provided by the above-mentioned embodiments, and will not be repeated here.
[0165] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned routing method based on software-defined satellite network when executed by a processor.
[0166] The computer program product provided by the present application can solve the technical problem of unstable ground network caused by orbital dynamics faced by low-orbit satellites. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the method based on software-defined satellite network provided by the above embodiment, which will not be repeated here.
[0167] The present application also provides a satellite network system, referring to Fig. 9 , Fig. 9 The schematic diagram of the structure of the satellite network system of the hardware operating environment involved in the present application scheme is as follows. The satellite network system includes a controller and a low-orbit satellite network, the controller executes the method described above, the programmable switch of the satellite node in the low-orbit satellite network executes the method described above, and the controller and the low-orbit satellite network can exchange information.
[0168] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A routing method based on software-defined satellite network, characterized in that: The satellite network system includes a controller and a low-orbit satellite network. The routing method based on software-defined satellite network is applied to the controller. The method includes: Divide the orbiting period of the satellite into multiple time slices, and obtain the network topology within each time slice; Based on the network topology, determine the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice, and determine the strategy flow table of the satellite node in different time slices based on the optimal path; The strategy flow table is sent down to the corresponding satellite node, so that the programmable switch of the satellite node in the low-orbit satellite network forwards the data packet sent by the ground communication terminal based on the strategy flow table; after the programmable switch receives the data packet sent by the ground communication terminal, it determines the target time slice of the current timestamp, and after extracting the destination address of the data packet, it determines whether the destination address matches the address of any satellite node in the target time slice, and after determining that the destination address matches the address of any satellite node in the target time slice, sets the export based on the destination address and forwards the data packet based on the strategy flow table; so that the programmable switch determines the topology switching situation of the data packet from the starting point to the end point based on the destination address, when the topology switching situation is that the network topology is not switched, the optimal path corresponding to the destination address in the strategy flow table of the target time slice is determined as the first path, and the forwarding of the data packet is realized based on the first path, and when the topology switching situation is that the network topology is switched, the corresponding time slice of the data packet from the starting point to the end point is determined, and the second path is determined according to the optimal path corresponding to the destination address in the strategy flow table under different corresponding time slices, and the forwarding of the data packet is realized based on the second path.
2. The method according to claim 1, characterized in that The step of determining the optimal path from any satellite node to a ground communication terminal in any network segment in each time slice based on the network topology includes: Determine the weight value based on the transmission delay and transmission loss; The optimal path from any satellite node to a ground communication terminal in any network segment in each time slice is determined according to the weight value.
3. The method according to claim 2, characterized in that The step of determining the weight value based on the transmission delay and the transmission loss includes: Determine the transmission delay based on the inter-satellite distance, the satellite-to-ground distance, the speed of light, and the data processing time; Determine the transmission loss based on the signal transmission power and the loss factor; The transmission delay and the transmission loss are normalized to obtain a normalized value of the transmission delay and a normalized value of the transmission loss, and a weight value is determined according to the normalized value of the transmission delay and the normalized value of the transmission loss.
4. The method according to claim 1, characterized in that The method further comprises: When the network topology state under the time slice is detected to be abnormal, a new strategy flow table of the satellite node under different time slices is regenerated; Send the new strategy flow table to its corresponding satellite node.
5. The method according to claim 1, characterized in that The satellite network system further includes a time module, and the controller is connected to a synchronization port of the time module; wherein the method further includes: Time synchronization between the controller and the low-orbit satellite network is achieved through the synchronization port.
6. A routing method based on software-defined satellite network, characterized in that: The satellite network system includes a controller and a low-orbit satellite network. The routing method based on the software-defined satellite network is applied to a programmable switch of a satellite node in the low-orbit satellite network. The method includes: Receive the strategy flow table sent by the controller, wherein the strategy flow table divides the orbiting period of the satellite into multiple time slices, obtains the network topology in each time slice, determines the optimal path from any satellite node to the ground communication terminal in any network segment in each time slice based on the network topology, and determines the strategy flow table of the satellite node in different time slices based on the optimal path; After receiving the data packet sent by the ground communication terminal, forwarding the data packet sent by the ground communication terminal is realized based on the policy flow table; After receiving the data packet sent by the ground communication terminal, the step of implementing forwarding of the data packet based on the policy flow table includes: After receiving the data packet sent by the ground communication terminal, determining the target time slice of the current timestamp; After extracting the destination address of the data packet, determining whether the destination address matches the address of any satellite node in the target time slice; After determining that the destination address matches the address of any satellite node in the target time slice, setting an egress based on the destination address and implementing forwarding of the data packet based on the policy flow table; The step of setting the egress based on the destination address and implementing forwarding of the data packet based on the policy flow table comprises: Based on the destination address, determining a topology switching condition of the data packet from a starting point to an end point; When the topology switching situation is that the network topology is not switched, the optimal path corresponding to the destination address in the policy flow table of the target time slice is determined as the first path, and the forwarding of the data packet is realized based on the first path; When the topology switching situation is switching the network topology, the corresponding time slice of the data packet from the starting point to the end point is determined, and the second path is determined according to the optimal path corresponding to the destination address in the policy flow table under different corresponding time slices, and the forwarding of the data packet is realized based on the second path.
7. The method according to claim 6, characterized in that The satellite network system also includes a time module, which is connected to the time port of the programmable switch; wherein, After determining that the destination address matches the address of any satellite node in the target time slice, the step of setting an egress based on the destination address and implementing forwarding of the data packet based on the policy flow table also includes: Determine a time message of the current timestamp; Determine whether the source address of the time message comes from the time module; When it is determined that the source address of the time message comes from the time module, the current time is updated based on the current timestamp.
8. A satellite network system, characterized in that: The satellite network system includes a controller and a low-orbit satellite network, the controller executes a method as described in any one of claims 1-5, and the programmable switch of a satellite node in the low-orbit satellite network executes a method as described in any one of claims 6 or 7.
