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

By acquiring and creating node mirror files and topology diagrams of satellite networks and performing routing simulation, the problem of insufficient flexibility in satellite network simulation in the existing technology is solved, flexible simulation and dynamic configuration of large-scale satellite network topology are realized, and simulation is improved Effect.

CN119089619AActive Publication Date: 2024-12-06ZHEJIANG LAB
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411579351.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2024-12-06
Estimated Expiration
2044-11-07

AI Technical Summary

Technical Problem

Existing satellite network simulation technology cannot truly simulate large-scale satellite network topology and topology dynamic adjustments, resulting in low routing simulation flexibility.

Method used

By obtaining preset node mirror files, inter-star network topology maps and in-star network topology maps, creating inter-star and in-star network topology, and routing simulation based on these topology, achieving flexible topology structure arrangement and dynamic configuration, supporting Diverse satellite network simulation needs.

Benefits of technology

Virtualized satellite network routing simulation is realized, and the satellite network topology can be simulated on a large scale, improving routing simulation flexibility, and avoiding the problem of insufficient flexibility brought about by hardware device simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089619A_ABST
    Figure CN119089619A_ABST
Patent Text Reader

Abstract

The invention 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 image file, an inter-satellite network topological graph and an intra-satellite network topological graph; the inter-satellite network topological graph comprises a plurality of satellite nodes; the in-satellite network topological graph comprises at least two devices in a single satellite node; creating an inter-satellite network topology and an intra-satellite network topology based on the node mirror image file, the inter-satellite network topological graph and the intra-satellite network topological graph; and performing routing simulation based on the inter-satellite network topology and the intra-satellite network topology to obtain a routing simulation result. By adopting the method, the flexibility of satellite network routing simulation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of space network technology, and in particular to a satellite network routing simulation method, device, computer equipment and storage medium. Background Art

[0002] Nowadays, satellite network simulation technology is often carried out through real physical equipment and simulation software. However, due to the limitations of hardware equipment, the constructed network simulation environment is often unable to truly simulate large-scale satellite network topology, nor can it achieve dynamic adjustment of topology structure.

[0003] It can be seen that the current satellite network simulation field still has the problem of low flexibility in routing simulation. Summary of the invention

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

[0005] In a first aspect, the present application provides a satellite network routing simulation method, the satellite network routing simulation method comprising: Obtaining a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes a plurality of satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; Based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, create an inter-satellite network topology and an intra-satellite network topology; Routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

[0006] In some embodiments, obtaining the preset node image file, the inter-satellite network topology map and the intra-satellite network topology map includes: Get the image generation file input by the user; Based on the image generation file, obtaining a basic image file and routing protocol software corresponding to the image generation file; A node image file is generated based on the image generation file, the basic image file and the routing protocol software.

[0007] In some embodiments, the creating the inter-satellite network topology and the intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map includes: Analyzing the inter-satellite network topology diagram to obtain inter-satellite network topology rules; Based on the inter-satellite network topology rule, the node image file is instantiated to obtain a plurality of satellite instances and inter-satellite link instances; each of the two ends of the inter-satellite link instance is respectively connected to a satellite instance; An inter-satellite network topology is created based on the plurality of satellite instances, the inter-satellite link instances and the inter-satellite network topology rules.

[0008] In some embodiments, the creating the inter-satellite network topology and the intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map further comprises: Analyzing the intra-satellite network topology diagram to obtain intra-satellite network topology rules; Based on the intra-satellite network topology rules, create a virtual switch instance, a virtual network device instance and an intra-satellite link instance; Based on the virtual switch instance, the virtual network device instance and the intra-satellite link instance, an intra-satellite network topology is obtained.

[0009] In some embodiments, performing routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results includes: Performing IP address allocation and routing protocol configuration based on the inter-satellite network topology and the intra-satellite network topology respectively; Routing simulation is performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain routing simulation results.

[0010] In some embodiments, the allocating IP addresses based on the inter-satellite network topology and the intra-satellite network topology respectively includes: Determining a first network number of the inter-satellite IP address based on the number of inter-satellite link instances in the inter-satellite network topology; Based on the first network number, determining a first IP address network number and a first subnet mask bit number of each intersatellite link; Allocating an IP address to each intersatellite link instance based on the first IP address network number and the first subnet mask bit number; Determine the number of second networks and devices of the intra-satellite IP address 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 a second IP address network number and a second subnet mask bit number within a single satellite node instance based on the second network number and the device number; Based on the second IP address network number and the second subnet mask bit number, IP addresses are allocated to the virtual switch instance, virtual network device instance and intra-satellite link instance in each satellite node instance.

[0011] In some embodiments, performing routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results includes: Performing network intercommunication simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain network intercommunication simulation results; Performing routing convergence simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing convergence simulation results; Based on the network intercommunication simulation result and the routing convergence simulation result, a routing simulation result is obtained.

[0012] In a second aspect, the present application provides a satellite network routing simulation device, the satellite network routing simulation device comprising: An acquisition module, used to acquire a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; A creation module, used to create an inter-satellite network topology and an intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map; The simulation module is used to perform routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

[0013] In a third aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above method when executing the computer program.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above method when executed by a processor.

[0015] The above-mentioned satellite network routing simulation method, device, computer equipment and storage medium obtain a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, create an inter-satellite network topology and an intra-satellite network topology; perform routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain a routing simulation result, and can flexibly arrange the topological structure according to the preset node image file and the inter-satellite network topology map and the intra-satellite network topology map, and can further perform dynamic configuration, thereby realizing virtualized satellite network routing simulation, and can realize large-scale satellite network topology structure simulation, avoiding the problem of low flexibility caused by hardware device simulation, thereby achieving the effect of improving the flexibility of satellite network routing simulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 An application environment diagram of a satellite network routing simulation method in an embodiment; Figure 2 A schematic diagram of a flow chart of a satellite network routing simulation method in one embodiment; Figure 3 A structural block diagram of a satellite network routing simulation system in one embodiment; Figure 4 A schematic diagram of a flow chart of a satellite network routing simulation method in another embodiment; Figure 5 is a schematic diagram of an intersatellite network topology in another embodiment; Figure 6 is a schematic diagram of an intra-satellite network topology in another embodiment; Figure 7 A structural block diagram of a satellite network routing simulation device in one embodiment; Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0018] The satellite network routing simulation method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 obtains the preset node image file, the intersatellite network topology map and the intrasatellite network topology map by communicating with the server 104; the intersatellite network topology map includes multiple satellite nodes; the intrasatellite network topology map includes at least two devices in a single satellite node; based on the node image file, the intersatellite network topology map and the intrasatellite network topology map, the intersatellite network topology and the intrasatellite network topology are created; routing simulation is performed based on the intersatellite network topology and the intrasatellite network topology respectively, and the routing simulation result is obtained. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0019] In one embodiment, Figure 2 As shown, a satellite network routing simulation method is provided, and the method is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included: Step S110, obtaining a preset node image file, an inter-satellite network topology map, and an intra-satellite network topology map.

[0020] The node image file may be a data file containing all configuration information and software environment of a single satellite node, such as an operating system, application program, configuration parameters, etc. It is understandable that the preset node image file may include multiple types to meet the requirements of different types of satellite nodes in the inter-satellite network topology diagram and the intra-satellite network topology diagram.

[0021] The inter-satellite network topology diagram includes multiple satellite nodes, which are used to describe the connection relationship between different satellite nodes. The intra-satellite network topology diagram includes at least two devices in a single satellite node, which is used to describe the connection mode between the devices in a single satellite node. It is understandable that a single satellite node may include devices such as a virtual switch and a virtual network device, and the intra-satellite network topology diagrams of different satellite nodes may be the same or different.

[0022] Step S120, creating an inter-satellite network topology and an intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map.

[0023] The intersatellite network topology may include satellite node instances and intersatellite link instances, wherein the satellite node instances are used to simulate satellite nodes, and the intersatellite link instances are used to represent the connection relationship between two satellite node instances. Exemplarily, the intersatellite network topology diagram may be parsed to obtain the required satellite node instances and the topological connection relationship between the satellite node instances. Furthermore, multiple satellite node instances may be created based on the node image file, and intersatellite link instances may be generated between multiple satellite node instances.

[0024] The intra-satellite network topology may include device instances and intra-satellite link instances in the satellite node. The device instances are used to simulate functional devices in the satellite node. The intra-satellite link instances may represent the connection relationship between two device instances. Exemplarily, the intra-satellite network topology diagram may be parsed to obtain the device instances to be generated and the topological connection relationship between the device instances, so that multiple device instances may be created and the intra-satellite link instances between the multiple device instances may be generated.

[0025] Step S130 , performing routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

[0026] 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 through virtualization technology, network simulation tools, routing protocol software and other software. In this embodiment, routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology, which can realize the simulation of communication between satellite node instances and device instances, thereby simulating the satellite network topology and routing convergence process. This embodiment does not limit the simulation order of the inter-satellite network topology and the intra-satellite network topology, that is, the inter-satellite network topology and the intra-satellite network topology can be performed simultaneously or successively, and the order can be determined according to actual needs.

[0027] The present embodiment provides a satellite network routing simulation method, which obtains a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, the inter-satellite network topology map and the intra-satellite network topology map are created; routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results, and a flexible topology structure arrangement can be performed according to the preset node image file and the inter-satellite network topology map and the intra-satellite network topology map, and further dynamic configuration can be performed, thereby realizing virtualized satellite network routing simulation, and realizing large-scale satellite network topology structure simulation, avoiding the problem of low flexibility caused by hardware device simulation, thereby achieving the effect of improving the flexibility of satellite network routing simulation.

[0028] In some embodiments, obtaining the preset node image file, the inter-satellite network topology map and the intra-satellite network topology map includes: Get the image generation file input by the user; Based on the image generation file, obtain the basic image file and routing protocol software corresponding to the image generation file; Generate a node image file based on the image generation file, the base image file, and the routing protocol software.

[0029] Among them, the image generation file can be a configuration file for specifying a basic image file, routing protocol software, etc. The image generation file can be written by the user himself or obtained from a third party. Furthermore, the image generation file can also include one or more of a third-party library required for the operation of the specified routing protocol software, a routing protocol software operation script, a routing protocol software operation command, and other business software, which is not limited in this embodiment.

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

[0031] Based on the image generation file, the base image file corresponding to the image generation file is obtained, which can be obtained by searching and calling, downloading and calling or other obtaining and calling methods according to the base image file specified in the image generation file.

[0032] Based on the image generation file, the routing protocol software corresponding to the image generation file is obtained, and the corresponding routing protocol software can be called according to the routing protocol software specified in the image generation file. When the corresponding routing protocol software does not exist in the running environment, an error message can be fed back to prompt the user to install it first and then call it, or the corresponding routing protocol software installation package can be obtained from the network for installation and then call it.

[0033] Based on the image generation file, the basic image file and the routing protocol software, the node image file is generated. The basic image file and the routing protocol software can be configured using virtualization technology according to the configuration information in the image generation file, combined with the basic image file and the routing protocol software, to obtain the node image file.

[0034] A satellite network routing simulation method provided in this embodiment generates a node image file based on an image generation file, a basic image file, and a routing protocol software, supports diverse satellite network simulation requirements, and achieves highly personalized settings to meet different research scenarios, thereby achieving the effect of improving the flexibility of satellite network routing simulation.

[0035] In some embodiments, based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, creating the inter-satellite network topology and the intra-satellite network topology includes: Analyze the inter-satellite network topology diagram 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 instances and inter-satellite link instances; each inter-satellite link instance is connected to a satellite instance at both ends; An inter-satellite network topology is created based on multiple satellite instances, inter-satellite link instances and inter-satellite network topology rules.

[0036] The inter-satellite network topology map may be a file specified by the analysis software, so that the analysis software can perform analysis of topology rules.

[0037] Based on the intersatellite network topology rules, the node image file is instantiated, and the configuration information of each satellite node can be determined according to the satellite node object recorded in the intersatellite network topology rules, and the node image file is instantiated according to the configuration information to obtain the configured satellite instance. Correspondingly, the connection relationship between the satellite instances can be established according to the satellite instances and the intersatellite network topology rules. It can be understood that in the intersatellite network topology rules, the two ends of the intersatellite link are respectively connected to a satellite instance, so the intersatellite link instance can be generated according to the corresponding format.

[0038] Based on multiple satellite instances, inter-satellite link instances and inter-satellite network topology rules, an inter-satellite network topology is created. The established satellite instances and inter-satellite link instances are combined into an inter-satellite network topology according to the inter-satellite network topology rules.

[0039] A satellite network routing simulation method provided in this embodiment instantiates a node image file based on an inter-satellite network topology rule to obtain multiple satellite instances and inter-satellite link instances, thereby obtaining an inter-satellite network topology. This can improve the accuracy of network simulation and enhance the flexibility and scalability of the simulation environment, and can better support various satellite network research and development work, thereby achieving the effect of improving the flexibility of satellite network routing simulation.

[0040] In some embodiments, based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, creating the inter-satellite network topology and the intra-satellite network topology further includes: Analyze the intra-satellite network topology diagram to obtain the intra-satellite network topology rules; Based on the intra-satellite network topology rules, create virtual switch instances, virtual network device instances, and intra-satellite link instances; Based on the virtual switch instance, the virtual network device instance and the intra-satellite link instance, the intra-satellite network topology is obtained.

[0041] The intra-satellite network topology map may be a map describing the connection relationship between multiple devices in a single satellite node. The intra-satellite network topology map may also be a file specified by the parsing software for the parsing software to parse the topology rules.

[0042] Based on the intra-satellite network topology rules, virtual switch instances, virtual network device instances and intra-satellite link instances are created, which can utilize existing virtualization software.

[0043] According to the virtual switch object and virtual network device object recorded in the intra-satellite network topology rules, the configuration information of each device instance is determined, and the virtual switch instance and virtual network device instance are created according to the configuration information. Accordingly, the connection relationship between the device instances can be established according to the virtual switch instance and the virtual network device instance, as well as the intra-satellite network topology rules. It can be understood that in the intra-satellite network topology rules, the two ends of the intra-satellite link are respectively connected to a device instance, so the intra-satellite link instance can be generated according to the corresponding format.

[0044] A satellite network routing simulation method provided in this embodiment creates a virtual switch instance, a virtual network device instance and an intra-satellite link instance based on the intra-satellite network topology rules to obtain the intra-satellite network topology, which can improve the accuracy of network simulation and enhance the flexibility and scalability of the simulation environment. It can better support various satellite network research and development work, thereby achieving the effect of improving the flexibility of satellite network routing simulation.

[0045] In some embodiments, routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively, and the routing simulation results obtained include: Perform IP address allocation and routing protocol configuration based on inter-satellite network topology and intra-satellite network topology respectively; Routing simulation is performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain routing simulation results.

[0046] The IP address allocation may be to allocate an IP address to each instance in the inter-satellite network topology and the intra-satellite network topology.

[0047] IP address allocation and routing protocol configuration are performed based on the inter-satellite network topology and the intra-satellite network topology, respectively. For example, in the inter-satellite network topology, IP address allocation may be performed for each inter-satellite link instance, for example, an IP address network number, subnet mask bit number, etc. may be configured for each inter-satellite link instance. In the intra-satellite network topology, IP addresses may be allocated to each virtual switch instance, virtual network device instance, and intra-satellite link instance, respectively, to ensure that each node and link has a unique identifier.

[0048] Routing protocol configuration may include selecting a suitable routing protocol, such as OSPF, BGP, RIP, etc. Furthermore, it may include configuring routing tables, setting routing priorities and metrics, etc.

[0049] Based on the configured inter-satellite network topology and intra-satellite network topology, routing simulation is performed to obtain routing simulation results. Routing simulation can be started after completing IP address allocation and routing protocol configuration. During the simulation process, the transmission path of the data packet in the network is simulated, and the routing selection process and results are recorded.

[0050] A satellite network routing simulation method provided in this embodiment can realize dynamic and flexible adjustment of the topology structure and corresponding configuration parameters by customizing the configuration of IP addresses and routing protocols, and further verify key indicators such as network connectivity, delay, packet loss rate, etc. under more diverse conditions, thereby achieving the effect of improving the flexibility of satellite network routing simulation.

[0051] In some embodiments, performing IP address allocation based on inter-satellite network topology and intra-satellite network topology respectively includes: Determining a first network number of the inter-satellite IP address based on the number of inter-satellite link instances in the inter-satellite network topology; Based on the first network number, determining a first IP address network number and a first subnet mask bit number of each intersatellite link; Allocating an IP address to each intersatellite link instance based on the first IP address network number and the first subnet mask bit number; Determine the number of second networks and devices of the intra-satellite IP address 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 a second IP address network number and a second subnet mask bit number within a single satellite node instance based on the second network number and the device number; Based on the second IP address network number and the number of bits of the second subnet mask, IP addresses are allocated to the virtual switch instance, virtual network device instance and intra-satellite link instance in each satellite node instance.

[0052] The first network number is the number of networks of the inter-satellite IP address. After the number of networks of the inter-satellite IP address is calculated, the network number can be recorded as the first network number. The second network number is the number of networks of the intra-satellite IP address in a single satellite node instance. After the number of networks of the intra-satellite IP address in a single satellite node instance is calculated, the network 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. The specific naming rules are not limited in this embodiment.

[0053] Based on the number of inter-satellite link instances in the inter-satellite network topology, the first network number of the inter-satellite IP address is determined. Since both ends of each inter-satellite link instance are respectively connected to a satellite node instance, each satellite node can be considered as a sub-network, and the interconnection between satellite nodes needs to be connected through routers. Therefore, the number of inter-satellite link instances can be used to determine the number of networks that need to be assigned IP addresses, that is, the first network number.

[0054] Based on the first network number, determining the first IP address network number and the first subnet mask bit number of each intersatellite link may be performed by calculating the IP address network number and the subnet mask bit number of each intersatellite link according to the determined first network number, and recording the IP address network number as the first IP address network number, and recording the subnet mask bit number as the first subnet mask bit number. The network number is used to identify different subnets, and the subnet mask bit number is used to determine the size of each subnet.

[0055] Based on the first IP address network number and the first subnet mask bit number, an IP address is allocated to each intersatellite link instance, and a specific IP address is allocated to each intersatellite link instance according to the calculated IP address network number and the subnet mask bit number. The allocation of the IP address may be to allocate an IP address to the satellite nodes at both ends of the intersatellite link respectively. Furthermore, when the intersatellite link instance includes a bridge or a virtual switch, an IP address may also be allocated to the bridge or the virtual switch.

[0056] 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 network number and device number of the intra-satellite IP address are determined. The number of networks to be allocated, recorded as the second network number, and the number of devices in each network can be determined based on the number of satellite node instances in the inter-satellite network topology and the number of device instances in each satellite node.

[0057] Based on the second network number and the number of devices, the second IP address network number and the second subnet mask bit number within the single satellite node instance are determined, which can be to calculate the IP address network number and the subnet mask bit number within each satellite node according to the determined second network number and the number of devices, and record the IP address network number as the second IP address network number, and record the subnet mask bit number as the second subnet mask bit number. The network number is used to identify different subnets, and the subnet mask bit number is used to determine the size of each subnet.

[0058] Based on the second IP address network number and the number of second subnet mask bits, IP addresses are allocated to the virtual switch instance, virtual network device instance and intra-satellite link instance in each satellite node instance. Specific IP addresses can be allocated to the virtual switch instance, virtual network device instance and intra-satellite link instance in each satellite node instance based on the calculated network number and the number of subnet mask bits.

[0059] A satellite network routing simulation method provided in this embodiment can systematically allocate appropriate IP addresses to each node and link in the inter-satellite network and the intra-satellite network by determining the first network number, the second network number and the device number in sequence, and allocating the corresponding IP address network number and the number of subnet mask bits, thereby ensuring the rationality and uniqueness of the address allocation, thereby more accurately simulating the communication behavior of the satellite network, evaluating the performance of different routing protocols, optimizing the network design, and achieving the effect of improving the flexibility of satellite network routing simulation.

[0060] In some embodiments, routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively, and the routing simulation results obtained include: Conduct network intercommunication simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain the network intercommunication simulation results; Perform routing convergence simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing convergence simulation results; Based on the network intercommunication simulation results and the routing convergence simulation results, a routing simulation result is obtained.

[0061] Among them, network intercommunication simulation is used to verify whether the nodes in the network can communicate with each other. It can be achieved by checking whether the data packet can be successfully transmitted from the source node to the target node, and whether the routing table in the network is generated correctly, so as to ensure the basic connectivity of the network and discover and solve configuration errors or connection problems in the network.

[0062] Routing convergence simulation is used to evaluate the convergence speed and stability of routing protocols when the network topology changes. For example, it can be used to evaluate link failures, node failures, etc. in the network, and observe how the routing protocol recalculates the routing table and restores network connectivity. This can evaluate the performance of the routing protocol and ensure that the network can quickly restore connectivity in the event of a network failure.

[0063] A satellite network routing simulation method provided in this embodiment can provide strong support for optimizing satellite network design and routing protocol configuration through network intercommunication simulation and routing convergence simulation, thereby improving the accuracy and reliability of simulation and providing an important reference basis for the operation and maintenance of the actual network.

[0064] In order to more clearly illustrate the technical solution of the present application, the present application also provides a detailed embodiment.

[0065] In one embodiment, a satellite network routing simulation method is provided, which is applied to a satellite network routing simulation system, such as Figure 3 As shown, the satellite network routing simulation system includes: Satellite node image management module 51, used to create, save, delete, and load satellite node image files; A network topology analysis module 52, used for analyzing the inter-satellite network topology map and the intra-satellite network topology map; The network topology creation module 53 creates an inter-satellite network topology, i.e., a satellite node instance, an inter-satellite link instance, etc., according to the parsing result of the inter-satellite network topology map; creates an intra-satellite network topology, i.e., a switch instance, a network device instance, an intra-satellite link instance, etc., according to the parsing result of the intra-satellite network topology map; An IP address allocation module 54, for allocating IP addresses for inter-satellite links and intra-satellite links; A routing configuration module 55, used to configure routing protocols and parameters of routing protocols; A network connectivity simulation module 56, used to simulate the network connectivity of inter-satellite links and intra-satellite links; A routing convergence simulation module 57, used to simulate the convergence of routing in the event of a satellite node failure; like Figure 4 As shown, the satellite network routing simulation method of this embodiment includes: Step S210, constructing a satellite node mirror unit.

[0066] Install satellite node image management software. You can choose third-party software for satellite node image management software, such as lxd, Docker, etc. Create and compile satellite node image generation files according to the syntax of the selected satellite node image management software. In the image generation file, the basic image, routing protocol software, third-party libraries required for the routing protocol software to run, routing protocol software running scripts or commands, and other business software are specified.

[0067] The base image may be a base image of a selected Linux distribution.

[0068] The routing protocol software can be open source routing protocol software, such as FFRouting, BIRD, etc., or the system routing module that comes with the Linux distribution; This embodiment does not specifically limit the third-party library required for the operation of the routing protocol software, and may be determined according to the selected routing protocol software to ensure that the selected routing protocol software can operate normally; The routing protocol software running script or command in this embodiment is related to the selected routing protocol software. For example, if the running command of the routing protocol software is relatively simple, the command can be used directly; if the running command is relatively complex, the running command can be encapsulated into a script and the script can be used to run the routing protocol software.

[0069] Other business software is related to the actual business scenario. This embodiment does not specifically limit the specific content of other business software. If the business scenario requires it, it can be packaged into the satellite node mirror unit.

[0070] Based on the satellite node image generation file, the image building command is executed in the satellite node image management software to generate the satellite node image file.

[0071] Step S220: creating an inter-satellite network topology.

[0072] 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).

[0073] There are two cases for parsing the intersatellite network topology map. The first case is parsing a customized intersatellite network topology map, and the parsing rules are the same as the definition rules of the intersatellite network topology map. The second case is parsing the intersatellite network topology map exported by third-party software, and the parsing rules need to comply with the intersatellite network topology rules defined by the third-party software.

[0074] According to the intersatellite network topology analysis results, satellite instances and intersatellite link instances are created using satellite node image files.

[0075] A satellite instance can be represented by a running instance of a satellite node. In the satellite node image management software, a satellite node image file is used to create a running instance of a satellite node, wherein a satellite node running instance represents a satellite. When creating a satellite instance, an instance name can be specified. The naming rule of the instance name is not limited to uniqueness. In a specific embodiment, the "prefix-serial number" method can be used for naming. For example, if the prefix is ​​"st" and the serial number is 1 or 3, the name of the satellite instance is "st-1" or "st-3".

[0076] The intersatellite link instance is represented by a bridge and two pairs of virtual network devices, and both ends of the intersatellite link are satellite instances. For example, assuming that the virtual network devices are identified as veth-1-0, veth-1-1, veth-2-0, and veth-2-1, and the satellite instances at both ends of the intersatellite link are identified as 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, veth-2-0 is connected to another port of the bridge, veth-1-0 and veth-1-1 are a pair of virtual network devices, and the two are directly connected, and veth-2-0 and veth-2-1 are another pair of virtual network devices. When creating an intersatellite link instance, you can specify the instance name, and the naming rules of the instance name are not limited to uniqueness. In a specific embodiment, the naming rule of "prefix_serial number_satellite instance name 1_satellite instance name 2" can be adopted. For example, the prefix is ​​"link", 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 intersatellite link instance is "link_3_st-1_st-2".

[0077] In a specific embodiment, Figure 5 As shown, satellite nodes include satellite node 1 to satellite node 12, wherein adjacent satellite node instances are connected in pairs through inter-satellite link instances, and the inter-satellite link instances are inter-satellite link 1-2, inter-satellite link 2-3, ..., inter-satellite link 11-12, etc.

[0078] Step S230: Create an intra-satellite network topology.

[0079] The intra-satellite network topology map is obtained. The intra-satellite network topology map can be created by a user, wherein the intra-satellite network topology map may include: a virtual switch, a virtual network device, and a link relationship between a switch and a network device. The intra-satellite network topology map of each satellite may be the same or different.

[0080] The parsing rules for parsing the intra-satellite network topology map may be the same as the parsing rules for the inter-satellite network topology map, which will not be described in detail in this embodiment.

[0081] According to the above intra-satellite network topology analysis results, a virtual switch instance, a virtual network device instance and an intra-satellite link instance are created.

[0082] The virtual switch instance can be represented by a running instance of a bridge device. A running instance of a bridge device represents a virtual switch instance. When creating a virtual switch instance, an instance name must be specified, and the naming rule of the instance name is not limited to uniqueness. 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".

[0083] A virtual network device instance can be represented by a network namespace instance. A network namespace instance represents a virtual network device. When creating a virtual network device instance, an instance name must be specified. The naming rule of the instance name is not limited to uniqueness. 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".

[0084] The 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 that 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, veth-1-1 is connected to switch-1, and veth-1-0 and veth-1-1 are a pair of virtual network devices, which are directly connected; when creating an intra-satellite link instance, the instance name must be specified, and the naming rule of the instance name is not limited to uniqueness. In a specific embodiment, the naming rule can refer to "prefix_serial number_switch instance name_network device instance name", for example, 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".

[0085] In a specific embodiment, Figure 6 As 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, wherein 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, and 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.

[0086] Step S240, IP address allocation.

[0087] The number of networks of the intersatellite IP address is determined according to the number of intersatellite links in the intersatellite network topology, and then the IP address network number and subnet mask bits of each intersatellite link are determined. A satellite is considered to be a subnetwork, and the networks between different satellites are not interconnected and must be connected through routers.

[0088] According to the intersatellite network topology analysis results and the created intersatellite link instances, IP addresses are assigned to all intersatellite link instances. Three IP addresses are assigned to each intersatellite link, and they are in the same network segment. The three IP addresses are identified as IP1, IP2, and IP3, among which 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 IPs assigned to different intersatellite link instances are IPs of different network segments.

[0089] The number of networks and devices with IP addresses within the satellite are determined based on the number of satellites and the number of network devices within the satellite, and then the network number and subnet mask bits of the IP addresses to be assigned within each satellite are determined. All network devices within each satellite form a local area network, that is, all network devices are in the same network segment, and the local area networks of any two satellites are not interconnected.

[0090] According to the intra-satellite network topology analysis results and the created intra-satellite link instances, IP addresses are assigned to all intra-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 an IP address, and the virtual switch in the satellite is assigned an IP address.

[0091] Step S250: routing protocol configuration.

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

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

[0094] Step S260: network connectivity simulation.

[0095] According to the intersatellite network topology and the IP addresses allocated in step S240, the network intercommunication between different satellites is simulated. The simulation tool can be secondary developed based on the ping tool, or a completely customized network test tool can be developed.

[0096] According to the intra-satellite network topology and the IP address allocated in step S240, the network interconnection between network devices in a single satellite is simulated. The simulation tool can be secondary developed based on the ping tool, or a completely customized network test tool can be used.

[0097] According to the inter-satellite network topology, the intra-satellite network topology, and the IP address allocated in step S240, the network interconnection between network devices in different satellites is simulated. The simulation tool can be secondary developed based on the ping tool, or a completely customized network test tool can be developed.

[0098] Step S270: routing convergence simulation.

[0099] Among them, a satellite can be randomly selected and its running instance can be stopped to simulate the failure of a routing node; By repeatedly executing step S260, routing convergence can be simulated.

[0100] The present embodiment provides a satellite network routing simulation method, which can dynamically create inter-satellite and intra-satellite network topologies in limited hardware resources by creating a satellite node mirror unit, supports custom routing protocol algorithms, dynamically adjusts routing parameters and routing node states, and can truly simulate satellite network topology and routing convergence processes. Among them, by obtaining a preset node mirror file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; based on the node mirror file, the inter-satellite network topology map and the intra-satellite network topology map, create an inter-satellite network topology and an intra-satellite network topology; perform routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively, and obtain routing simulation results, and can flexibly arrange topological structures according to the preset node mirror file and the inter-satellite network topology map and the intra-satellite network topology map, and can further perform dynamic configuration, thereby realizing virtualized satellite network routing simulation, and realizing large-scale satellite network topology structure simulation, avoiding the problem of low flexibility caused by hardware device simulation, thereby achieving the effect of improving the flexibility of satellite network routing simulation. By generating node image files based on image generation files, basic image files and routing protocol software, it supports diversified satellite network simulation requirements and realizes highly personalized settings to meet different research scenarios, thereby achieving the effect of improving the flexibility of satellite network routing simulation. By instantiating node image files based on intersatellite network topology rules, multiple satellite instances and intersatellite link instances are obtained, thereby obtaining intersatellite network topology, which can improve the accuracy of network simulation, enhance the flexibility and scalability of the simulation environment, and better support various satellite network research and development work, thereby achieving the effect of improving the flexibility of satellite network routing simulation. By creating virtual switch instances, virtual network device instances and intrasatellite link instances based on intrasatellite network topology rules, the intrasatellite network topology is obtained, which can improve the accuracy of network simulation, enhance the flexibility and scalability of the simulation environment, and better support various satellite network research and development work, thereby achieving the effect of improving the flexibility of satellite network routing simulation. By customizing the IP address and routing protocol, the dynamic and flexible adjustment of the topology structure and the corresponding configuration parameters can be realized, and the key indicators such as network connectivity, delay, and packet loss rate under more diverse conditions can be further verified, thereby achieving the effect of improving the flexibility of satellite network routing simulation. By determining the first network number, the second network number and the number of devices in turn, and allocating the corresponding IP address network number and the number of subnet mask bits, it is possible to systematically allocate appropriate IP addresses to each node and link in the inter-satellite network and the intra-satellite network, ensuring the rationality and uniqueness of the address allocation, thereby more accurately simulating the communication behavior of the satellite network, evaluating the performance of different routing protocols, optimizing the network design, and achieving the effect of improving the flexibility of satellite network routing simulation.Through network intercommunication simulation and routing convergence simulation, strong support can be provided 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.

[0101] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0102] Based on the same inventive concept, the embodiment of the present application also provides a satellite network routing simulation device for implementing the satellite network routing simulation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more satellite network routing simulation device embodiments provided below can refer to the limitations of the satellite network routing simulation method above, and will not be repeated here.

[0103] In one embodiment, Figure 7 As shown, a satellite network routing simulation device is provided, comprising: an acquisition module 100, a creation module 200 and a simulation module 300, wherein: The acquisition module 100 is used to acquire a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; A creation module 200, configured to create an inter-satellite network topology and an intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map; The simulation module 300 is used to perform routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

[0104] In one embodiment, the satellite network routing simulation device further includes a node image file generation module, which is used to: Get the image generation file input by the user; Based on the image generation file, obtaining a basic image file and routing protocol software corresponding to the image generation file; A node image file is generated based on the image generation file, the basic image file and the routing protocol software.

[0105] In one embodiment, the creation module 200 is further used to: Analyzing the inter-satellite network topology diagram to obtain inter-satellite network topology rules; Based on the inter-satellite network topology rule, the node image file is instantiated to obtain a plurality of satellite instances and inter-satellite link instances; each of the two ends of the inter-satellite link instance is respectively connected to a satellite instance; An inter-satellite network topology is created based on the plurality of satellite instances, the inter-satellite link instances and the inter-satellite network topology rules.

[0106] In one embodiment, the creation module 200 is further used to: Analyzing the intra-satellite network topology diagram to obtain intra-satellite network topology rules; Based on the intra-satellite network topology rules, create a virtual switch instance, a virtual network device instance and an intra-satellite link instance; Based on the virtual switch instance, the virtual network device instance and the intra-satellite link instance, an intra-satellite network topology is obtained.

[0107] In one embodiment, the simulation module 300 is further configured to: Performing IP address allocation and routing protocol configuration based on the inter-satellite network topology and the intra-satellite network topology respectively; Routing simulation is performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain routing simulation results.

[0108] In one embodiment, the simulation module 300 is further configured to: Determining a first network number of the inter-satellite IP address based on the number of inter-satellite link instances in the inter-satellite network topology; Based on the first network number, determining a first IP address network number and a first subnet mask bit number of each intersatellite link; Allocating an IP address to each intersatellite link instance based on the first IP address network number and the first subnet mask bit number; Determine the number of second networks and devices of the intra-satellite IP address 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 a second IP address network number and a second subnet mask bit number within a single satellite node instance based on the second network number and the device number; Based on the second IP address network number and the second subnet mask bit number, IP addresses are allocated to the virtual switch instance, virtual network device instance and intra-satellite link instance in each satellite node instance.

[0109] In one embodiment, the simulation module 300 is further configured to: Performing network intercommunication simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain network intercommunication simulation results; Performing routing convergence simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing convergence simulation results; Based on the network intercommunication simulation result and the routing convergence simulation result, a routing simulation result is obtained.

[0110] Each module in the above satellite network routing simulation device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0111] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a satellite network routing simulation method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0112] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0113] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the satellite network routing simulation method of any of the above embodiments is implemented: Obtaining a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes a plurality of satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; Based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, create an inter-satellite network topology and an intra-satellite network topology; Routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

[0114] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the satellite network routing simulation method of any of the above embodiments is implemented: Obtaining a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes a plurality of satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; Based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, create an inter-satellite network topology and an intra-satellite network topology; Routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

[0115] 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, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0116] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0118] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A satellite network routing simulation method, It is characterized in that The satellite network routing simulation method comprises: Obtaining a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes a plurality of satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; Based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map, create an inter-satellite network topology and an intra-satellite network topology; Routing simulation is performed based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

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

3. The satellite network routing simulation method according to claim 1, It is characterized in that The creating of the inter-satellite network topology and the intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map comprises: Analyzing the inter-satellite network topology diagram to obtain inter-satellite network topology rules; Based on the inter-satellite network topology rule, the node image file is instantiated to obtain a plurality of satellite instances and inter-satellite link instances; each of the two ends of the inter-satellite link instance is respectively connected to a satellite instance; An inter-satellite network topology is created based on the plurality of satellite instances, the inter-satellite link instances and the inter-satellite network topology rules.

4. The satellite network routing simulation method according to claim 3, It is characterized in that The creating the inter-satellite network topology and the intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map further comprises: Analyzing the intra-satellite network topology diagram to obtain intra-satellite network topology rules; Based on the intra-satellite network topology rules, create a virtual switch instance, a virtual network device instance and an intra-satellite link instance; Based on the virtual switch instance, the virtual network device instance and the intra-satellite link instance, an intra-satellite network topology is obtained.

5. The satellite network routing simulation method according to claim 1, It is characterized in that The performing routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results comprises: Performing IP address allocation and routing protocol configuration based on the inter-satellite network topology and the intra-satellite network topology respectively; Routing simulation is performed based on the configured inter-satellite network topology and intra-satellite network topology to obtain routing simulation results.

6. The satellite network routing simulation method according to claim 5, It is characterized in that The performing of IP address allocation based on the inter-satellite network topology and the intra-satellite network topology respectively comprises: Determining a first network number of the inter-satellite IP address based on the number of inter-satellite link instances in the inter-satellite network topology; Based on the first network number, determining a first IP address network number and a first subnet mask bit number of each intersatellite link; Allocating an IP address to each intersatellite link instance based on the first IP address network number and the first subnet mask bit number; Determine the number of second networks and devices of the intra-satellite IP address 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 a second IP address network number and a second subnet mask bit number within a single satellite node instance based on the second network number and the device number; Based on the second IP address network number and the second subnet mask bit number, IP addresses are allocated to the virtual switch instance, virtual network device instance and intra-satellite link instance in each satellite node instance.

7. The satellite network routing simulation method according to claim 1, It is characterized in that The performing routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results comprises: Performing network intercommunication simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain network intercommunication simulation results; Performing routing convergence simulation on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing convergence simulation results; Based on the network intercommunication simulation result and the routing convergence simulation result, a routing simulation result is obtained.

8. A satellite network routing simulation device, It is characterized in that The satellite network routing simulation device comprises: An acquisition module, used to acquire a preset node image file, an inter-satellite network topology map and an intra-satellite network topology map; the inter-satellite network topology map includes multiple satellite nodes; the intra-satellite network topology map includes at least two devices in a single satellite node; A creation module, used to create an inter-satellite network topology and an intra-satellite network topology based on the node image file, the inter-satellite network topology map and the intra-satellite network topology map; The simulation module is used to perform routing simulation based on the inter-satellite network topology and the intra-satellite network topology respectively to obtain routing simulation results.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Satellite service processing method and system based on virtualization and storage medium

    CN109818669A

  • Satellite-ground cooperative task management system

    CN110120833A

  • Protocol testing method of satellite communication simulation platform based on network virtualization

    CN114422010A

  • Satellite network simulation system, test method, equipment, storage medium and product

    CN114422018A

  • Constellation network simulation method and device based on container, equipment and storage medium

    CN115242655A