Satellite network routing simulation method and device, computer device and storage medium

By acquiring node image files and topology diagrams to create inter-satellite and intra-satellite network topologies and performing routing simulations, the problem of inflexible topology simulation in satellite network simulation is solved, achieving flexible and accurate simulation of large-scale satellite network topologies.

CN119089619BActive Publication Date: 2026-06-23ZHEJIANG LAB

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG LAB
Filing Date
2024-11-07
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing satellite network simulation technologies cannot realistically simulate large-scale satellite network topologies, and the flexibility of topology adjustments is limited.

Method used

By acquiring node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams, inter-satellite and intra-satellite network topologies are created, and routing simulation is performed based on these topologies, including IP address allocation and routing protocol configuration, to achieve virtualized satellite network routing simulation.

Benefits of technology

It enables flexible simulation of large-scale satellite network topology, improves the flexibility and accuracy of satellite network routing simulation, and supports diverse research scenarios and personalized settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089619B_ABST
    Figure CN119089619B_ABST
Patent Text Reader

Abstract

The application relates to a satellite network routing simulation method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a preset node mirror file, an inter-satellite network topology graph and an intra-satellite network topology graph; the inter-satellite network topology graph comprises a plurality of satellite nodes; the intra-satellite network topology graph comprises at least two devices in a single satellite node; based on the node mirror file, the inter-satellite network topology graph and the intra-satellite network topology graph, an inter-satellite network topology and an intra-satellite network topology are created; routing simulation is respectively performed based on the inter-satellite network topology and the intra-satellite network topology, and routing simulation results are obtained. The method can improve the flexibility of satellite network routing simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of space network technology, and in particular to a satellite network routing simulation method, apparatus, computer equipment, and storage medium. Background Technology

[0002] Currently, satellite network simulation technology is often carried out using real physical equipment in conjunction with simulation software. However, due to the limitations of hardware equipment, the network simulation environment built often cannot realistically simulate large-scale satellite network topologies, nor can it achieve dynamic adjustments to the topology structure.

[0003] It is evident that the current field of satellite network simulation still suffers from a lack of flexibility in routing simulation. Summary of the Invention

[0004] Therefore, it is necessary to provide a satellite network routing simulation method, apparatus, computer equipment, and storage medium that can improve the flexibility of routing simulation in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a satellite network routing simulation method, which includes:

[0006] Obtain preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagrams include multiple satellite nodes; the intra-satellite network topology diagrams include at least two types of devices in a single satellite node;

[0007] Based on the node image file, the inter-satellite network topology diagram, and the intra-satellite network topology diagram, create the inter-satellite network topology and the intra-satellite network topology;

[0008] Routing simulations were performed based on the inter-satellite network topology and the intra-satellite network topology, respectively, and the routing simulation results were obtained.

[0009] In some embodiments, the process of obtaining preset node image files, inter-satellite network topology maps, and intra-satellite network topology maps includes:

[0010] Obtain the image file input by the user;

[0011] Based on the image generation file, obtain the base image file and routing protocol software corresponding to the image generation file;

[0012] Based on the image generation file, the base image file, and the routing protocol software, a node image file is generated.

[0013] In some embodiments, creating the inter-satellite network topology and intra-satellite network topology based on the node image file, the inter-satellite network topology map, and the intra-satellite network topology map includes:

[0014] The inter-satellite network topology diagram is analyzed to obtain the inter-satellite network topology rules;

[0015] Based on the inter-satellite network topology rules, the node image file is instantiated to obtain multiple satellite instances and inter-satellite link instances; each inter-satellite link instance is connected to a satellite instance at both ends.

[0016] An inter-satellite network topology is created based on multiple satellite instances, inter-satellite link instances, and inter-satellite network topology rules.

[0017] In some embodiments, creating the inter-satellite network topology and intra-satellite network topology based on the node image file, the inter-satellite network topology map, and the intra-satellite network topology map further includes:

[0018] The intra-satellite network topology diagram is analyzed to obtain the intra-satellite network topology rules;

[0019] Based on the aforementioned intra-satellite network topology rules, create virtual switch instances, virtual network device instances, and intra-satellite link instances;

[0020] Based on the virtual switch instance, virtual network device instance, and intra-satellite link instance, the intra-satellite network topology is obtained.

[0021] In some embodiments, the routing simulation based on the inter-satellite network topology and the intra-satellite network topology, respectively, to obtain the routing simulation results, include:

[0022] IP address allocation and routing protocol configuration are performed based on the inter-satellite network topology and intra-satellite network topology, respectively.

[0023] Routing simulation was performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain the routing simulation results.

[0024] In some embodiments, the IP address allocation based on the inter-satellite network topology and the intra-satellite network topology respectively includes:

[0025] Based on the number of inter-satellite link instances in the inter-satellite network topology, determine the first network number of inter-satellite IP addresses;

[0026] Based on the first network number, determine the first IP address network number and the first subnet mask bit width for each inter-satellite link;

[0027] Based on the network number of the first IP address and the number of bits of the first subnet mask, an IP address is allocated to each inter-satellite link instance;

[0028] Based on the number of satellite node instances in the inter-satellite network topology and the number of intra-satellite network devices in the intra-satellite network topology, the second number of networks and devices with intra-satellite IP addresses are determined.

[0029] Based on the second number of networks and the number of devices, determine the second IP address network number and the second subnet mask bit width within a single satellite node instance;

[0030] Based on the second IP address network number and the second subnet mask bit width, IP addresses are allocated to the virtual switch instance, virtual network device instance, and intra-satellite link instance in each satellite node instance.

[0031] In some embodiments, the routing simulation based on the inter-satellite network topology and the intra-satellite network topology, respectively, to obtain the routing simulation results, include:

[0032] Network interconnection simulations were performed on the inter-satellite network topology and the intra-satellite network topology, respectively, and the network interconnection simulation results were obtained.

[0033] Routing convergence simulations were performed on the inter-satellite network topology and the intra-satellite network topology, respectively, and the routing convergence simulation results were obtained.

[0034] Based on the network interconnection simulation results and the routing convergence simulation results, the routing simulation results are obtained.

[0035] Secondly, this application provides a satellite network routing simulation device, the satellite network routing simulation device comprising:

[0036] The acquisition module is used to acquire preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagrams include multiple satellite nodes; the intra-satellite network topology diagrams include at least two types of devices in a single satellite node;

[0037] A creation module is used to create inter-satellite network topologies and intra-satellite network topologies based on the node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams.

[0038] The simulation module is used to perform routing simulations based on the inter-satellite network topology and the intra-satellite network topology, respectively, and obtain the routing simulation results.

[0039] Thirdly, this application provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method described above.

[0040] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.

[0041] The aforementioned satellite network routing simulation method, apparatus, computer equipment, and storage medium acquire preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams. The inter-satellite network topology diagram includes multiple satellite nodes; the intra-satellite network topology diagram includes at least two types of devices within a single satellite node. Based on the node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams, inter-satellite network topology and intra-satellite network topology diagrams are created. Routing simulation is performed based on the inter-satellite network topology and intra-satellite network topology diagrams respectively to obtain routing simulation results. Flexible topology arrangement can be performed according to the preset node image files and the inter-satellite network topology diagrams and intra-satellite network topology diagrams, and further dynamic configuration is possible, thereby achieving virtualized satellite network routing simulation. This enables large-scale satellite network topology simulation, avoiding the low flexibility problem caused by hardware device simulation, thus improving the flexibility of satellite network routing simulation. Attached Figure Description

[0042] Figure 1 This is an application environment diagram of a satellite network routing simulation method in one embodiment;

[0043] Figure 2 This is a flowchart illustrating a satellite network routing simulation method in one embodiment;

[0044] Figure 3 This is a block diagram of a satellite network routing simulation system in one embodiment;

[0045] Figure 4 This is a flowchart illustrating a satellite network routing simulation method in another embodiment;

[0046] Figure 5 This is a schematic diagram of the inter-satellite network topology in another embodiment;

[0047] Figure 6 This is a schematic diagram of the intra-satellite network topology in another embodiment;

[0048] Figure 7 This is a structural block diagram of a satellite network routing simulation device in one embodiment;

[0049] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0051] The satellite network routing simulation method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. Terminal 102, through communication with server 104, obtains preset node image files, inter-satellite network topology maps, and intra-satellite network topology maps. The inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two types of devices in a single satellite node. Based on the node image files, inter-satellite network topology maps, and intra-satellite network topology maps, inter-satellite network topologies and intra-satellite network topologies are created. Routing simulations are performed based on the inter-satellite network topologies and intra-satellite network topologies respectively to obtain routing simulation results. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.

[0052] In one embodiment, such as Figure 2 As shown, a satellite network routing simulation method is provided, which is applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:

[0053] Step S110: Obtain the preset node image file, inter-satellite network topology map, and intra-satellite network topology map.

[0054] The node image file can be a data file containing all the configuration information and software environment of a single satellite node, such as the operating system, applications, and configuration parameters. It is understandable that there can be multiple preset node image files to meet the needs of different types of satellite nodes in both inter-satellite and intra-satellite network topologies.

[0055] The inter-satellite network topology diagram includes multiple satellite nodes and describes the connections between different satellite nodes. The intra-satellite network topology diagram includes at least two types of devices within a single satellite node and describes the connections between devices within that single satellite node. It is understood that a single satellite node may include devices such as virtual switches and virtual network devices, and the intra-satellite network topology diagrams for different satellite nodes may be the same or different.

[0056] Step S120: Based on the node image file, the inter-satellite network topology diagram, and the intra-satellite network topology diagram, create the inter-satellite network topology and the intra-satellite network topology.

[0057] The inter-satellite network topology can include satellite node instances and inter-satellite link instances. Satellite node instances are used to simulate satellite nodes, and inter-satellite link instances represent the connections between any two satellite node instances. For example, the inter-satellite network topology graph can be parsed to obtain the required satellite node instances and the topological connections between them. Furthermore, multiple satellite node instances can be created based on node image files, and inter-satellite link instances between these multiple satellite node instances can be generated.

[0058] The intra-satellite network topology can include device instances within satellite nodes and intra-satellite link instances. Device instances are used to simulate functional devices within satellite nodes, and intra-satellite link instances can represent the connection relationships between pairs of device instances. For example, the intra-satellite network topology diagram can be parsed to obtain the required device instances and the topological connection relationships between device instances, thereby creating multiple device instances and generating intra-satellite link instances between multiple device instances.

[0059] Step S130: Perform routing simulation based on inter-satellite network topology and intra-satellite network topology respectively to obtain routing simulation results.

[0060] Routing simulation is used to simulate the behavior and functions of routers in a real network environment. In this embodiment, routing simulation can be performed using virtualization technology, network simulation tools, routing protocol software, and other software. In this embodiment, routing simulation based on inter-satellite network topology and intra-satellite network topology can simulate the communication between satellite node instances and device instances, thereby realistically simulating the satellite network topology and routing convergence process. This embodiment does not limit the simulation order of inter-satellite network topology and intra-satellite network topology; that is, inter-satellite network topology and intra-satellite network topology can be simulated simultaneously or sequentially, and the order can be determined according to actual needs.

[0061] This embodiment provides a satellite network routing simulation method. It acquires preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams. The inter-satellite network topology diagram includes multiple satellite nodes; the intra-satellite network topology diagram includes at least two types of devices within a single satellite node. Based on the node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams, inter-satellite network topologies and intra-satellite network topologies are created. Routing simulation is performed based on the inter-satellite network topologies and intra-satellite network topologies respectively to obtain routing simulation results. The method allows for flexible topology arrangement based on the preset node image files and the inter-satellite and intra-satellite network topology diagrams, and further dynamic configuration, thereby achieving virtualized satellite network routing simulation. This enables large-scale satellite network topology simulation, avoiding the low flexibility issues associated with hardware device simulation, thus improving the flexibility of satellite network routing simulation.

[0062] In some embodiments, the process of obtaining preset node image files, inter-satellite network topology maps, and intra-satellite network topology maps includes:

[0063] Obtain the image file input by the user;

[0064] Based on the image generation file, obtain the base image file and routing protocol software corresponding to the image generation file;

[0065] Node image files are generated based on the image generation file, the base image file, and the routing protocol software.

[0066] The image generation file can be a configuration file used to specify the base image file, routing protocol software, etc. The image generation file can be written by the user or obtained from a third party. Furthermore, the image generation file may also include one or more of the following: third-party libraries required for the routing protocol software to run, routing protocol software execution scripts, routing protocol software execution commands, and other business software; this embodiment does not impose such limitations.

[0067] The base image file can be an existing distribution that can be used to simulate satellite nodes. The routing protocol software can be any open-source routing protocol software, such as FFRouting, BIRD, or the system routing module that comes with a Linux distribution.

[0068] Based on the image generation file, obtain the corresponding base image file. This can be done by searching and calling, downloading and calling, or other methods to obtain the corresponding base image file, as specified in the image generation file.

[0069] Based on the image generation file, the system retrieves the corresponding routing protocol software. This can be done by calling the appropriate routing protocol software specified in the image generation file. If the corresponding routing protocol software is not present in the runtime environment, an error message can be displayed, prompting the user to install it first. Alternatively, the corresponding routing protocol software installation package can be obtained from the network and installed before use.

[0070] Node image files are generated based on image generation files, base image files, and routing protocol software. This can be achieved by using configuration information in the image generation files, combined with the base image files and routing protocol software, and then using virtualization technology to configure the base image files and routing protocol software to obtain the node image files.

[0071] This embodiment provides a satellite network routing simulation method that generates node image files based on image generation files, base image files, and routing protocol software. This supports diverse satellite network simulation needs and enables highly personalized settings to meet different research scenarios, thereby improving the flexibility of satellite network routing simulation.

[0072] In some embodiments, creating the inter-satellite network topology and intra-satellite network topology based on node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams includes:

[0073] The inter-satellite network topology diagram is analyzed to obtain the inter-satellite network topology rules;

[0074] Based on the inter-satellite network topology rules, the node image file is instantiated to obtain multiple satellite instances and inter-satellite link instances; each inter-satellite link instance is connected to a satellite instance at both ends.

[0075] An inter-satellite network topology is created based on multiple satellite instances, inter-satellite link instances, and inter-satellite network topology rules.

[0076] The inter-satellite network topology diagram can be a file specified by the parsing software, which allows the software to parse the topology rules.

[0077] Based on inter-satellite network topology rules, node image files are instantiated. This can be done by determining the configuration information of each satellite node based on the satellite node objects recorded in the inter-satellite network topology rules, and then instantiating the node image file according to the configuration information to obtain a configured satellite instance. Correspondingly, the connection relationships between satellite instances can be established based on the satellite instances and the inter-satellite network topology rules. It can be understood that in the inter-satellite network topology rules, each end of an inter-satellite link is connected to a satellite instance; therefore, inter-satellite link instances can be generated according to the corresponding format.

[0078] An inter-satellite network topology can be created based on multiple satellite instances, inter-satellite link instances, and inter-satellite network topology rules. This can be achieved by combining the established satellite instances and inter-satellite link instances into an inter-satellite network topology according to the inter-satellite network topology rules.

[0079] This embodiment provides a satellite network routing simulation method that instantiates node image files based on inter-satellite network topology rules to obtain multiple satellite instances and inter-satellite link instances, thereby obtaining the inter-satellite network topology. This method improves the accuracy of network simulation and enhances the flexibility and scalability of the simulation environment, better supporting various satellite network research and development work, thus achieving the effect of improving the flexibility of satellite network routing simulation.

[0080] In some embodiments, creating the inter-satellite network topology and intra-satellite network topology based on node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams further includes:

[0081] The intra-satellite network topology diagram is analyzed to obtain the intra-satellite network topology rules;

[0082] Based on the satellite network topology rules, create virtual switch instances, virtual network device instances, and satellite link instances;

[0083] The intra-satellite network topology is obtained based on virtual switch instances, virtual network device instances, and intra-satellite link instances.

[0084] The intra-satellite network topology diagram can be a graph depicting the connection relationships between multiple devices within a single satellite node. Alternatively, it can be a file specified by the parsing software for parsing the topology rules.

[0085] Based on the intra-satellite network topology rules, virtual switch instances, virtual network device instances, and intra-satellite link instances can be created using existing virtualization software.

[0086] Based on the virtual switch objects and virtual network device objects recorded in the satellite network topology rules, the configuration information of each device instance is determined, and virtual switch instances and virtual network device instances are created according to the configuration information. Correspondingly, the connection relationships between device instances can be established based on the virtual switch instances, virtual network device instances, and the satellite network topology rules. It can be understood that in the satellite network topology rules, each end of a satellite link is connected to a device instance; therefore, satellite link instances can be generated according to the corresponding format.

[0087] This embodiment provides a satellite network routing simulation method that, based on intra-satellite network topology rules, creates virtual switch instances, virtual network device instances, and intra-satellite link instances to obtain the intra-satellite network topology. This improves the accuracy of network simulation and enhances the flexibility and scalability of the simulation environment, better supporting various satellite network research and development work, thereby achieving the effect of improving the flexibility of satellite network routing simulation.

[0088] In some embodiments, routing simulations are performed based on inter-satellite network topology and intra-satellite network topology, respectively, and the resulting routing simulation results include:

[0089] IP address allocation and routing protocol configuration are performed based on inter-satellite network topology and intra-satellite network topology, respectively.

[0090] Routing simulation was performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain the routing simulation results.

[0091] IP address allocation can be performed on each instance in the inter-satellite network topology and intra-satellite network topology.

[0092] IP address allocation and routing protocol configuration are performed based on both inter-satellite network topology and intra-satellite network topology. For example, in the inter-satellite network topology, IP addresses can be allocated to each inter-satellite link instance, such as configuring the IP address network number and subnet mask bit width for each instance. In the intra-satellite network topology, IP addresses can be assigned to each virtual switch instance, virtual network device instance, and intra-satellite link instance separately to ensure that each node and link has a unique identifier.

[0093] Routing protocol configuration can involve selecting an appropriate routing protocol, such as OSPF, BGP, or RIP. Further, it can involve configuring routing tables, setting route priorities, and metric values.

[0094] Routing simulation is performed based on the configured inter-satellite and intra-satellite network topologies to obtain simulation results. This simulation can be initiated after IP address allocation and routing protocol configuration. During the simulation, the transmission path of data packets in the network is simulated, and the routing process and results are recorded.

[0095] This embodiment provides a satellite network routing simulation method that allows for dynamic and flexible adjustment of the topology and corresponding configuration parameters by customizing IP addresses and routing protocols. Furthermore, it verifies key indicators such as network connectivity, latency, and packet loss rate under more diverse conditions, thereby improving the flexibility of satellite network routing simulation.

[0096] In some embodiments, IP address allocation based on inter-satellite network topology and intra-satellite network topology respectively includes:

[0097] Based on the number of inter-satellite link instances in the inter-satellite network topology, determine the first network number of inter-satellite IP addresses;

[0098] Based on the first network number, determine the first IP address network number and the first subnet mask bit width for each inter-satellite link;

[0099] IP addresses are allocated to each inter-satellite link instance based on the network number of the first IP address and the number of bits of the first subnet mask.

[0100] Based on the number of satellite node instances in the inter-satellite network topology and the number of intra-satellite network devices in the intra-satellite network topology, the second number of networks and devices with intra-satellite IP addresses are determined.

[0101] Based on the second network number and the number of devices, determine the second IP address network number and the second subnet mask bit width within a single satellite node instance;

[0102] Based on the second IP address network number and the second subnet mask bit width, IP addresses are allocated to the virtual switch instance, virtual network device instance, and intra-satellite link instance in each satellite node instance.

[0103] The first network number is the number of inter-satellite IP addresses. After calculating the number of inter-satellite IP addresses, this number can be recorded as the first network number. The second network number is the number of intra-satellite IP addresses within a single satellite node instance. After calculating the number of intra-satellite IP addresses within a single satellite node instance, this number can be recorded as the second network number. The first network number and the second network number can also be recorded as the inter-satellite network number and the intra-satellite network number, respectively. The specific naming rules are not limited in this embodiment.

[0104] Based on the number of inter-satellite link instances in the inter-satellite network topology, the first number of networks for inter-satellite IP addresses is determined. Since each inter-satellite link instance is connected to a satellite node instance at both ends, each satellite node can be considered a sub-network. Communication between satellite nodes requires a router. Therefore, the number of networks that need to be assigned IP addresses, i.e., the first number of networks, can be determined by the number of inter-satellite link instances.

[0105] Based on the first number of networks, determine the first IP address network number and the first subnet mask bit width for each inter-satellite link. This can be done by calculating the IP address network number and subnet mask bit width for each inter-satellite link based on the determined first number of networks, and recording the IP address network number as the first IP address network number and the subnet mask bit width as the first subnet mask bit width. The network number is used to identify different subnets, and the subnet mask bit width is used to determine the size of each subnet.

[0106] Based on the first IP address network number and the first subnet mask bit width, IP addresses are allocated to each inter-satellite link instance. This can be done by assigning a specific IP address to each inter-satellite link instance based on the calculated IP address network number and subnet mask bit width. The IP address allocation can involve assigning an IP address to each satellite node at both ends of the inter-satellite link. Furthermore, when the inter-satellite link instance includes a bridge or virtual switch, an IP address can also be assigned to the bridge or virtual switch.

[0107] Based on the number of satellite node instances in the inter-satellite network topology and the number of intra-satellite network devices in the intra-satellite network topology, the number of second networks and devices for intra-satellite IP addresses can be determined. This can be done by determining the number of networks to be allocated, denoted as the number of second networks, and the number of devices in each network, based on the number of satellite node instances in the inter-satellite network topology and the number of device instances within each satellite node.

[0108] Based on the second number of networks and devices, the second IP address network number and the second subnet mask bit width within a single satellite node instance are determined. This can be achieved by calculating the IP address network number and subnet mask bit width within each satellite node based on the determined second number of networks and devices, and then recording the IP address network number as the second IP address network number and the subnet mask bit width as the second subnet mask bit width. The network number is used to identify different subnets, and the subnet mask bit width is used to determine the size of each subnet.

[0109] Based on the second IP address network number and the second subnet mask bit width, IP addresses are allocated to the virtual switch instance, virtual network device instance, and intra-satellite link instance in each satellite node instance. This can be done by assigning specific IP addresses to the virtual switch instance, virtual network device instance, and intra-satellite link instance in each satellite node instance according to the calculated network number and subnet mask bit width.

[0110] This embodiment provides a satellite network routing simulation method. By sequentially determining the number of first networks, second networks, and devices, and allocating the corresponding IP address network number and subnet mask bits, it can systematically assign appropriate IP addresses to each node and link in the inter-satellite network and intra-satellite network. This ensures the rationality and uniqueness of address allocation, thereby more accurately simulating the communication behavior of satellite networks, evaluating the performance of different routing protocols, optimizing network design, and improving the flexibility of satellite network routing simulation.

[0111] In some embodiments, routing simulations are performed based on inter-satellite network topology and intra-satellite network topology, respectively, and the resulting routing simulation results include:

[0112] Network interconnection simulations were performed on the inter-satellite network topology and the intra-satellite network topology, respectively, and the network interconnection simulation results were obtained.

[0113] Routing convergence simulations were performed on the inter-satellite network topology and the intra-satellite network topology respectively, and the routing convergence simulation results were obtained.

[0114] Based on the network interconnection simulation results and the routing convergence simulation results, the routing simulation results are obtained.

[0115] Among them, network connectivity simulation is used to verify whether the nodes in the network can communicate with each other. This can be achieved by checking whether data packets can be successfully transmitted from the source node to the target node, and whether the routing table in the network is correctly generated, thereby ensuring the basic connectivity of the network and discovering and resolving configuration errors or connection problems in the network.

[0116] Routing convergence simulation is used to evaluate the convergence speed and stability of routing protocols when network topology changes. For example, it can evaluate situations such as link failures and node failures in the network, and observe how the routing protocol recalculates the routing table and restores network connectivity. This allows for the evaluation of the routing protocol's performance and ensures that the network can quickly restore connectivity in the event of a network failure.

[0117] This embodiment provides a satellite network routing simulation method that, through network interconnection simulation and routing convergence simulation, can provide strong support for optimizing satellite network design and routing protocol configuration, thereby improving the accuracy and reliability of the simulation and providing important reference for the operation and maintenance of actual networks.

[0118] To more clearly illustrate the technical solution of this application, a detailed embodiment is also provided.

[0119] In one embodiment, a satellite network routing simulation method is provided, applied to a satellite network routing simulation system, such as... Figure 3 As shown, the satellite network routing simulation system includes:

[0120] Satellite node image management module 51 is used to create, save, delete, and load satellite node image files;

[0121] Network topology parsing module 52 is used to parse inter-satellite network topology diagrams and intra-satellite network topology diagrams;

[0122] The network topology creation module 53 creates an inter-satellite network topology, i.e., satellite node instances, inter-satellite link instances, etc., based on the parsing results of the inter-satellite network topology diagram; and creates an intra-satellite network topology, i.e., switch instances, network device instances, intra-satellite link instances, etc., based on the parsing results of the intra-satellite network topology diagram.

[0123] IP address allocation module 54 is used to allocate IP addresses for inter-satellite links and intra-satellite links;

[0124] The routing configuration module 55 is used to configure the routing protocol and its parameters;

[0125] Network connectivity simulation module 56 is used to simulate the network connectivity of inter-satellite links and intra-satellite links;

[0126] The routing convergence simulation module 57 is used to simulate the convergence of routes when a satellite node fails.

[0127] like Figure 4 As shown, the satellite network routing simulation method in this embodiment includes:

[0128] Step S210: Construct satellite node mirror units.

[0129] Install satellite node image management software. You can choose third-party software such as LXD or Docker.

[0130] Create and write the satellite node image generation file according to the syntax of the selected satellite node image management software. The image generation file specifies the base image, routing protocol software, third-party libraries required for the routing protocol software to run, routing protocol software execution scripts or commands, and other business software.

[0131] The base image can be the base image of a Linux distribution.

[0132] For routing protocol software, you can choose open-source routing protocol software, such as FFRouting, BIRD, etc., or the system routing module that comes with the Linux distribution.

[0133] This embodiment does not specifically limit the third-party libraries required for the operation of the routing protocol software. These libraries can be determined based on the selected routing protocol software to ensure that the selected routing protocol software can operate normally.

[0134] In this embodiment, the routing protocol software execution script or command is related to the selected routing protocol software. For example, if the routing protocol software execution command is relatively simple, the command can be used directly; if the execution command is relatively complex, the execution command can be encapsulated in a script, and the script can be used to run the routing protocol software.

[0135] Other business software is related to the actual business scenario. This embodiment does not specifically limit the content of other business software. When required by the business scenario, it can be packaged into the satellite node mirror unit.

[0136] Based on the satellite node image generation file, execute the image building command in the satellite node image management software to generate the satellite node image file.

[0137] Step S220: Create the inter-satellite network topology.

[0138] Obtain the inter-satellite network topology map. The inter-satellite network topology map can be created by the user or exported by third-party software, such as STK (Satellite Tool Kit).

[0139] Parsing inter-satellite network topology diagrams involves two scenarios. The first scenario involves parsing custom inter-satellite network topology diagrams, where the parsing rules are the same as those defined for the inter-satellite network topology diagrams. The second scenario involves parsing inter-satellite network topology diagrams exported by third-party software, where the parsing rules must comply with the inter-satellite network topology rules defined by the third-party software.

[0140] Based on the inter-satellite network topology analysis results, satellite instances and inter-satellite link instances are created using satellite node image files.

[0141] Satellite instances can be represented by running instances of satellite nodes. In satellite node image management software, running instances of satellite nodes are created using satellite node image files. One running instance of a satellite node represents one satellite. When creating a satellite instance, an instance name can be specified. The naming rules for instance names are not unique. In a specific embodiment, the naming method can be used, such as "prefix-serial number". For example, if the prefix is ​​"st" and the serial number is 1 or 3, then the names of the satellite instances are "st-1" and "st-3".

[0142] An inter-satellite link instance is represented by a bridge and two pairs of virtual network devices, with both ends of the inter-satellite link being satellite instances. For example, assuming the virtual network device identifiers are veth-1-0, veth-1-1, veth-2-0, and veth-2-1, and the satellite instance identifiers at both ends of the inter-satellite link are st-1 and st-2, then veth-1-1 is connected to st-1, veth-2-1 is connected to st-2, veth-1-0 is connected to one port of the bridge, and veth-2-0 is connected to the other port of the bridge. veth-1-0 and veth-1-1 are a pair of virtual network devices that are directly connected, and veth-2-0 and veth-2-1 are another pair of virtual network devices. When creating an inter-satellite link instance, an instance name can be specified, and the naming rules for instance names are not unique. In one specific embodiment, the naming rule of "prefix_serial number_satellite instance name 1_satellite instance name 2" can be adopted. For example, if the prefix is ​​"link" and the serial number is 3, and the names of the two satellite instances are st-1 and st-2 respectively, then the name of the inter-satellite link instance is "link_3_st-1_st-2".

[0143] In one specific embodiment, such as Figure 5 As shown, satellite nodes include satellite nodes 1 to 12, etc., where adjacent satellite node instances are connected to each other through inter-satellite link instances, namely inter-satellite link 1-2, inter-satellite link 2-3, ..., inter-satellite link 11-12, etc.

[0144] Step S230: Create the intra-satellite network topology.

[0145] Obtain the intra-satellite network topology map, which can be user-defined. The intra-satellite network topology map can include: virtual switches, virtual network devices, and the link relationships between switches and network devices. The intra-satellite network topology map can be the same or different for each satellite.

[0146] The rules for parsing intra-satellite network topology diagrams can be the same as those for parsing inter-satellite network topology diagrams, which will not be elaborated here in this embodiment.

[0147] Based on the above intra-satellite network topology analysis results, create virtual switch instances, virtual network device instances, and intra-satellite link instances.

[0148] A virtual switch instance can be represented by a running instance of a bridge device. One running instance of a bridge device represents one virtual switch instance. When creating a virtual switch instance, an instance name must be specified, and the naming rules for instance names are not unique. In a specific embodiment, the naming rule can refer to "prefix_serial number". For example, if the prefix is ​​"switch" and the serial number is 1, then the name of the virtual switch instance is "switch-1".

[0149] Virtual network device instances can be represented using network namespace instances. One network namespace instance represents one virtual network device. When creating a virtual network device instance, an instance name must be specified, and the naming rules for instance names are not unique. In a specific embodiment, the naming rule can refer to "prefix_serial number". For example, if the prefix is ​​"pc" and the serial number is 1, then the name of the virtual network device instance is "pc-1".

[0150] An intra-satellite link instance can be represented by a pair of virtual network devices. One end of the intra-satellite link is a switch, and the other end is a network device. Assuming the virtual network device pair is identified as veth-1-0 and veth-1-1, the switch is identified as switch-1, and the network device is identified as pc-1, then veth-1-0 is connected to pc-1, and veth-1-1 is connected to switch-1. veth-1-0 and veth-1-1 are a pair of virtual network devices and are directly connected. When creating an intra-satellite link instance, an instance name must be specified. The naming rules for instance names are not unique. In a specific embodiment, the naming rule can refer to "prefix_serial number_switch instance name_network device instance name". For example, if the prefix is ​​"inner", the serial number is 1, the name of the switch instance is switch-1, and the name of the network device instance is pc-1, then the name of the intra-satellite link instance is "inner_1_switch-1_pc-1".

[0151] In one specific embodiment, such as Figure 6As shown, it includes virtual switch instance 1 and virtual switch instance 2, and 6 virtual network devices, namely virtual network device 1 to virtual network device 6. Virtual switch instance 1 is connected to virtual network device 1, virtual network device 2, virtual network device 3 and virtual switch instance 2 through intra-satellite link instances. Virtual switch instance 2 is connected to virtual network device 4, virtual network device 5 and virtual network device 6 through intra-satellite link instances.

[0152] Step S240, IP address allocation.

[0153] The number of inter-satellite IP addresses is determined based on the number of inter-satellite links in the inter-satellite network topology. Then, the network number of the IP address and the number of bits of the subnet mask for each inter-satellite link are determined. Each satellite is considered a sub-network. Networks between different satellites are not interconnected and must go through a router to connect.

[0154] Based on the inter-satellite network topology resolution results and the created inter-satellite link instances, IP addresses are assigned to all inter-satellite link instances. Each inter-satellite link is assigned 3 IP addresses, and they are all within the same network segment. These three IP addresses are identified as IP1, IP2, and IP3. IP1 is assigned to the bridge, IP2 is assigned to veth-1-1 connected to satellite st-1, and IP3 is assigned to veth-2-1 connected to satellite st-2. The IP addresses assigned to different inter-satellite link instances are from different network segments.

[0155] The number of networks and devices with IP addresses within a satellite is determined based on the number of satellites and the number of network devices within the satellite. This then determines the network number and subnet mask bit length of the IP address to be assigned to each satellite. All network devices within each satellite form a local area network (LAN), meaning all network devices are in the same network segment, and the LANs of any two satellites are not interconnected.

[0156] Based on the satellite network topology resolution results and the created satellite link instances, IP addresses are assigned to all satellite link instances. For example, assuming that the number of network devices in a satellite is n and the number of switches is m, then the number of IP addresses assigned to the satellite is n+m. Each network device in the satellite is assigned one IP address, and each virtual switch in the satellite is assigned one IP address.

[0157] Step S250, routing protocol configuration.

[0158] Configure the dynamic routing protocol to be used, such as OSPF.

[0159] Configure the relevant parameters based on the selected routing protocol.

[0160] Step S260, network connectivity simulation.

[0161] Based on the inter-satellite network topology and the IP addresses allocated in step S240, network interconnection between different satellites is simulated. The simulation tool can be a secondary development based on the ping tool, or a completely customized network testing tool.

[0162] Based on the intra-satellite network topology and the IP addresses allocated in step S240, network interconnection between network devices within a single satellite is simulated. The simulation tool can be a secondary development based on the ping tool, or a completely customized network testing tool.

[0163] Based on the inter-satellite network topology, intra-satellite network topology, and the IP addresses allocated in step S240, network interconnection between network devices in different satellites is simulated. The simulation tool can be a secondary development based on the ping tool, or a completely customized network testing tool.

[0164] Step S270, route convergence simulation.

[0165] One approach is to randomly select a satellite, stop its running instance, and thus simulate the failure of a routing node.

[0166] By repeating step S260, the routing convergence can be simulated.

[0167] This embodiment provides a satellite network routing simulation method that, by creating satellite node mirror units, can dynamically create inter-satellite and intra-satellite network topologies within limited hardware resources. It supports custom routing protocol algorithms, dynamically adjusts routing parameters and routing node states, and realistically simulates satellite network topology and routing convergence processes. Specifically, it acquires preset node mirror files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams. The inter-satellite network topology diagram includes multiple satellite nodes; the intra-satellite network topology diagram includes at least two types of devices within a single satellite node. Based on these diagrams, inter-satellite and intra-satellite network topologies are created. Routing simulation is then performed based on both topologies to obtain simulation results. Flexible topology arrangement is possible based on the preset node mirror files and the inter-satellite and intra-satellite network topology diagrams, and further dynamic configuration is possible. This achieves virtualized satellite network routing simulation, enabling large-scale satellite network topology simulation and avoiding the limited flexibility of hardware-based simulation, thus improving the flexibility of satellite network routing simulation. By generating node image files based on image generation files, base image files, and routing protocol software, diverse satellite network simulation needs can be met, enabling highly personalized settings to satisfy different research scenarios and thus improving the flexibility of satellite network routing simulation. Instantiating node image files based on inter-satellite network topology rules yields multiple satellite instances and inter-satellite link instances, resulting in an inter-satellite network topology. This improves the accuracy of network simulation and enhances the flexibility and scalability of the simulation environment, better supporting various satellite network research and development efforts. Similarly, creating virtual switch instances, virtual network device instances, and intra-satellite link instances based on intra-satellite network topology rules further enhances the accuracy of network simulation, improves the flexibility and scalability of the simulation environment, and better supports various satellite network research and development efforts. Finally, customizing IP addresses and routing protocols allows for dynamic and flexible adjustment of the topology and corresponding configuration parameters, further validating key indicators such as network connectivity, latency, and packet loss rate under more diverse conditions, thus further improving the flexibility of satellite network routing simulation. By sequentially determining the number of first networks, second networks, and devices, and allocating the corresponding IP address network number and subnet mask bits, a suitable IP address can be systematically assigned to each node and link in the inter-satellite network and intra-satellite network. This ensures the rationality and uniqueness of the address allocation, thereby more accurately simulating the communication behavior of satellite networks, evaluating the performance of different routing protocols, optimizing network design, and improving the flexibility of satellite network routing simulation.Network interoperability simulation and routing convergence simulation can provide strong support for optimizing satellite network design and routing protocol configuration, thereby improving the accuracy and reliability of simulation and providing important reference for the operation and maintenance of actual networks.

[0168] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0169] Based on the same inventive concept, this application also provides a satellite network routing simulation device for implementing the satellite network routing simulation method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more satellite network routing simulation device embodiments provided below can be found in the limitations of the satellite network routing simulation method described above, and will not be repeated here.

[0170] In one embodiment, such as Figure 7 As shown, a satellite network routing simulation device is provided, including: an acquisition module 100, a creation module 200, and a simulation module 300, wherein:

[0171] The acquisition module 100 is used to acquire preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagrams include multiple satellite nodes; the intra-satellite network topology diagrams include at least two types of devices in a single satellite node;

[0172] The creation module 200 is used to create inter-satellite network topology and intra-satellite network topology based on the node image file, inter-satellite network topology diagram and intra-satellite network topology diagram;

[0173] The simulation module 300 is used to perform routing simulations based on the inter-satellite network topology and the intra-satellite network topology respectively, and obtain routing simulation results.

[0174] In one embodiment, the satellite network routing simulation apparatus further includes a node image file generation module, used for:

[0175] Obtain the image file input by the user;

[0176] Based on the image generation file, obtain the base image file and routing protocol software corresponding to the image generation file;

[0177] Based on the image generation file, the base image file, and the routing protocol software, a node image file is generated.

[0178] In one embodiment, the creation module 200 is further configured to:

[0179] The inter-satellite network topology diagram is analyzed to obtain the inter-satellite network topology rules;

[0180] Based on the inter-satellite network topology rules, the node image file is instantiated to obtain multiple satellite instances and inter-satellite link instances; each inter-satellite link instance is connected to a satellite instance at both ends.

[0181] An inter-satellite network topology is created based on multiple satellite instances, inter-satellite link instances, and inter-satellite network topology rules.

[0182] In one embodiment, the creation module 200 is further configured to:

[0183] The intra-satellite network topology diagram is analyzed to obtain the intra-satellite network topology rules;

[0184] Based on the aforementioned intra-satellite network topology rules, create virtual switch instances, virtual network device instances, and intra-satellite link instances;

[0185] Based on the virtual switch instance, virtual network device instance, and intra-satellite link instance, the intra-satellite network topology is obtained.

[0186] In one embodiment, the simulation module 300 is further configured to:

[0187] IP address allocation and routing protocol configuration are performed based on the inter-satellite network topology and intra-satellite network topology, respectively.

[0188] Routing simulation was performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain the routing simulation results.

[0189] In one embodiment, the simulation module 300 is further configured to:

[0190] Based on the number of inter-satellite link instances in the inter-satellite network topology, determine the first network number of inter-satellite IP addresses;

[0191] Based on the first network number, determine the first IP address network number and the first subnet mask bit width for each inter-satellite link;

[0192] Based on the network number of the first IP address and the number of bits of the first subnet mask, an IP address is allocated to each inter-satellite link instance;

[0193] Based on the number of satellite node instances in the inter-satellite network topology and the number of intra-satellite network devices in the intra-satellite network topology, the second number of networks and devices with intra-satellite IP addresses are determined.

[0194] Based on the second number of networks and the number of devices, determine the second IP address network number and the second subnet mask bit width within a single satellite node instance;

[0195] Based on the second IP address network number and the second subnet mask bit width, IP addresses are allocated to the virtual switch instance, virtual network device instance, and intra-satellite link instance in each satellite node instance.

[0196] In one embodiment, the simulation module 300 is further configured to:

[0197] Network interconnection simulations were performed on the inter-satellite network topology and the intra-satellite network topology, respectively, and the network interconnection simulation results were obtained.

[0198] Routing convergence simulations were performed on the inter-satellite network topology and the intra-satellite network topology, respectively, and the routing convergence simulation results were obtained.

[0199] Based on the network interconnection simulation results and the routing convergence simulation results, the routing simulation results are obtained.

[0200] Each module in the aforementioned satellite network routing simulation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.

[0201] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a satellite network routing simulation method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0202] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0203] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the satellite network routing simulation method of any of the above embodiments.

[0204] Obtain preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagrams include multiple satellite nodes; the intra-satellite network topology diagrams include at least two types of devices in a single satellite node;

[0205] Based on the node image file, the inter-satellite network topology diagram, and the intra-satellite network topology diagram, create the inter-satellite network topology and the intra-satellite network topology;

[0206] Routing simulations were performed based on the inter-satellite network topology and the intra-satellite network topology, respectively, and the routing simulation results were obtained.

[0207] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the satellite network routing simulation method of any of the above embodiments:

[0208] Obtain preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagrams include multiple satellite nodes; the intra-satellite network topology diagrams include at least two types of devices in a single satellite node;

[0209] Based on the node image file, the inter-satellite network topology diagram, and the intra-satellite network topology diagram, create the inter-satellite network topology and the intra-satellite network topology;

[0210] Routing simulations were performed based on the inter-satellite network topology and the intra-satellite network topology, respectively, and the routing simulation results were obtained.

[0211] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0212] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0213] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0214] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A satellite network routing simulation method, characterized in that, The satellite network routing simulation method includes: Obtain preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagram includes multiple satellite nodes; the intra-satellite network topology diagram includes at least two types of devices in a single satellite node; the node image file includes: all configuration information of a single satellite node and data files of the software environment; Based on the node image file, inter-satellite network topology diagram, and intra-satellite network topology diagram, an inter-satellite network topology and an intra-satellite network topology are created. This creation includes: parsing the intra-satellite network topology diagram to obtain intra-satellite network topology rules; creating virtual switch instances, virtual network device instances, and intra-satellite link instances based on the intra-satellite network topology rules; and obtaining the intra-satellite network topology based on the virtual switch instances, virtual network device instances, and intra-satellite link instances. Routing simulations were performed based on the inter-satellite network topology and the intra-satellite network topology, respectively, to obtain routing simulation results; the routing simulations performed based on the inter-satellite network topology and the intra-satellite network topology to obtain routing simulation results include: IP address allocation and routing protocol configuration are performed based on the inter-satellite network topology and intra-satellite network topology, respectively. Routing simulation is then performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain routing simulation results. The IP address allocation based on the inter-satellite network topology and intra-satellite network topology includes: determining the first number of networks for inter-satellite IP addresses based on the number of inter-satellite link instances in the inter-satellite network topology; determining the first IP address network number and first subnet mask bit width for each inter-satellite link based on the first number of networks; allocating IP addresses to each inter-satellite link instance based on the first IP address network number and first subnet mask bit width; determining the second number of networks and devices for intra-satellite IP addresses based on the number of satellite node instances in the inter-satellite network topology and the number of intra-satellite network devices in the intra-satellite network topology; determining the second IP address network number and second subnet mask bit width within a single satellite node instance based on the second IP address network number and second subnet mask bit width; and allocating IP addresses to virtual switch instances, virtual network device instances, and intra-satellite link instances within each satellite node instance based on the second IP address network number and second subnet mask bit width. Alternatively, network interconnection simulations can be performed on the inter-satellite network topology and the intra-satellite network topology respectively to obtain network interconnection simulation results; routing convergence simulations can be performed on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing convergence simulation results; and routing simulation results can be obtained based on the network interconnection simulation results and the routing convergence simulation results.

2. The satellite network routing simulation method according to claim 1, characterized in that, Before obtaining the preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams, the following steps are included: Obtain the image file input by the user; Based on the image generation file, obtain the base image file and routing protocol software corresponding to the image generation file; Based on the image generation file, the base image file, and the routing protocol software, a node image file is generated.

3. The satellite network routing simulation method according to claim 1, characterized in that, The creation of the inter-satellite network topology and intra-satellite network topology based on the node image file, inter-satellite network topology map, and intra-satellite network topology map includes: The inter-satellite network topology diagram is analyzed to obtain the inter-satellite network topology rules; Based on the inter-satellite network topology rules, the node image file is instantiated to obtain multiple satellite node instances and inter-satellite link instances; each inter-satellite link instance is connected to a satellite node instance at both ends. An inter-satellite network topology is created based on multiple satellite node instances, inter-satellite link instances, and inter-satellite network topology rules.

4. A satellite network routing simulation device, characterized in that, The satellite network routing simulation device includes: The acquisition module is used to acquire preset node image files, inter-satellite network topology diagrams, and intra-satellite network topology diagrams; the inter-satellite network topology diagrams include multiple satellite nodes; the intra-satellite network topology diagrams include at least two types of devices in a single satellite node; the node image files include: all configuration information of a single satellite node and data files of the software environment; A creation module is used to create inter-satellite network topologies and intra-satellite network topologies based on the node image file, the inter-satellite network topology diagram, and the intra-satellite network topology diagram. The creation of the inter-satellite network topology and intra-satellite network topology based on the node image file, the inter-satellite network topology diagram, and the intra-satellite network topology diagram includes: parsing the intra-satellite network topology diagram to obtain intra-satellite network topology rules; creating virtual switch instances, virtual network device instances, and intra-satellite link instances based on the intra-satellite network topology rules; and obtaining the intra-satellite network topology based on the virtual switch instances, virtual network device instances, and intra-satellite link instances. The simulation module is used to perform routing simulations based on the inter-satellite network topology and the intra-satellite network topology respectively, and obtain routing simulation results. The steps of performing routing simulations based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results include: performing IP address allocation and routing protocol configuration based on the inter-satellite network topology and the intra-satellite network topology respectively; performing routing simulations based on the configured inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results; the steps of performing IP address allocation based on the inter-satellite network topology and the intra-satellite network topology respectively include: determining the first network number of inter-satellite IP addresses based on the number of inter-satellite link instances in the inter-satellite network topology; determining the first IP address network number and the first subnet mask bit width for each inter-satellite link based on the first IP address network number and the first subnet mask bit width; and performing routing simulations for each inter-satellite link instance based on the first IP address network number and the first subnet mask bit width. IP address allocation; based on the number of satellite node instances in the inter-satellite network topology and the number of intra-satellite network devices in the intra-satellite network topology, determine the second network number and device number of intra-satellite IP addresses; based on the second network number and device number, determine the second IP address network number and second subnet mask bit width within a single satellite node instance; based on the second IP address network number and second subnet mask bit width, allocate IP addresses to virtual switch instances, virtual network device instances, and intra-satellite link instances in each satellite node instance; or, perform network interconnection simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain network interconnection simulation results; perform route convergence simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain route convergence simulation results; based on the network interconnection simulation results and the route convergence simulation results, obtain route simulation results.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 3.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 3.