Satellite network simulation method and system based on virtualization and distribution
By adopting virtualization and distributed methods in satellite network simulation, the problems of high cost and low efficiency of simulation environment construction in the existing technology are solved, and more efficient and flexible satellite network simulation is achieved.
Patent Information
- Application Number
- CN202510245317.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-06-20
AI Technical Summary
The existing satellite network simulation methods rely on physical hardware platforms and closed system architectures, and are difficult to adapt to the rapid deployment and flexible expansion of large-scale networks, resulting in high cost and low efficiency in building simulation environments.
The satellite network simulation method based on virtualization and distributed is adopted, and the main node receives and compares the star cluster topology information, generates target instructions, and the working node performs simulation tasks to realize dynamic state monitoring and adjustment.
It reduces the construction cost of the simulation environment, improves network simulation efficiency, can carry larger-scale satellite network simulation, and improves the adaptability and flexibility of the system.
Smart Images

Figure CN120185682A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of satellite technology, and particularly to a satellite network simulation method and system based on virtualization and distribution. Background Art
[0002] With the continuous growth of the global demand for satellite communication networks, satellite networks are increasingly widely used in multiple fields such as military, meteorology, navigation, and communication. Compared with traditional terrestrial communication networks, satellite networks have a larger coverage area, a more flexible deployment method, and stronger disaster resistance capabilities. However, due to the characteristics of satellite networks such as a large number of nodes, fast dynamic topology changes, and high communication delays, their design, optimization, and verification face many challenges. At the same time, current network simulation methods mainly rely on physical hardware platforms and closed system architectures, making it difficult to adapt to the rapid deployment and flexible expansion of large-scale networks.
[0003] Therefore, how to reduce the construction cost of the simulation environment, improve the network simulation efficiency, and thus support larger-scale satellite network simulations has become an important research direction. Summary of the Invention
[0004] This application provides a satellite network simulation method and system based on virtualization and distribution, achieving the technical effects of reducing the construction cost of the simulation environment, improving the network simulation efficiency, and thus supporting larger-scale satellite network simulations.
[0005] To achieve the above objectives, the main technical solutions adopted in this application include: In a first aspect, an embodiment of this application provides a satellite network simulation method based on virtualization and distribution, which is applied to a satellite network simulation system. The system includes a master node and worker nodes; the method includes: Receiving, by the master node, new constellation topology information sent upstream; Determining, by the master node, corresponding target instructions based on the comparison result between the new constellation topology information and the pre-stored historical topology information; Executing, by the worker nodes, corresponding simulation tasks based on the obtained target instructions; Updating, by the master node, the current state of the constellation based on the feedback of the execution results of the obtained simulation tasks.
[0006] A satellite network simulation method based on virtualization and distribution provided by this embodiment receives new constellation topology information through the master node, compares it with the pre-stored historical topology information, and determines the target instructions. This process ensures that the system can adapt to topology changes and generate accurate task instructions. Then, the worker nodes execute the simulation tasks according to the target instructions to ensure the efficiency and accuracy of task execution. Finally, the master node updates the current state of the constellation based on the feedback of the simulation task execution results, so as to realize dynamic state monitoring and adjustment.
[0007] In one embodiment, the target instructions include creation instructions and change instructions; the process of determining the corresponding target instructions by the master node based on the comparison result between the new constellation topology information and the pre-stored historical topology information includes: The master node compares the new constellation topology information with the pre-stored historical topology information to obtain the comparison result; If the comparison result is that the new constellation topology information does not exist in the historical topology information, the master node generates a creation instruction for the new constellation topology information; If the comparison result is that the new constellation topology information already exists in the historical topology information, the master node analyzes the topology change and generates a change instruction for the link change of the constellation.
[0008] In this embodiment, the master node receives the new constellation topology information sent upstream and compares it with the pre-stored historical topology information. If the new topology information does not exist in the historical topology information, the master node will generate a new topology creation instruction; if the new topology information already exists, the master node will analyze the topology change and generate a link change instruction. This processing method not only optimizes the processing flow of topology change, improves the adaptability and flexibility of the system to topology change, but also can reduce redundant operations, improve resource utilization rate, and ensure the efficient operation of the system.
[0009] In one embodiment, when the target instruction is a creation instruction, the worker node creates virtualization containers locally to simulate satellites and ground stations; wherein, the virtualization containers adopt the LXD system for operation.
[0010] This embodiment can efficiently manage virtualization containers and improve the flexibility and scalability of network communication by applying containerization technology and combining LXD for container management. Each virtualization container runs independently to ensure efficient data transmission between satellites and ground stations.
[0011] In one embodiment, the virtualization containers achieve network connection through bridge or Vxlan technology, supporting dynamic adjustment of the network connection links between satellites and between satellite and ground; If the virtualized containers are on the same working node, network connections are made through a bridge; If the virtualized containers are on different working nodes, network connections are made through Vxlan.
[0012] In one embodiment, when the target instruction is a change instruction, the working node changes the network connection links between satellites and between satellites and ground stations; wherein, the change instruction includes adding satellites and / or ground stations, deleting satellites and / or ground stations, modifying the attributes of network connection links, and adjusting the network connection links between satellites and / or between satellites and ground stations.
[0013] In this embodiment, the working node changes the network connection links between satellites and between satellites and ground stations according to the change instruction, which can achieve dynamic adjustment and optimization of network connections.
[0014] In one embodiment, the system further includes a message middleware, and the method further includes: Transmitting task instructions and status information between the master node and the working node through the message middleware.
[0015] In this embodiment, task instructions and status information are transmitted between the master node and the working node through the message middleware, which improves communication efficiency and reliability, decouples system components at the same time, and enhances flexibility.
[0016] In one embodiment, the method further includes: The working node queries whether a lease is bound to the message middleware; In the case where the lease is not bound, the working node binds a lease with the message middleware and reports the configuration information of the working node to the message middleware; wherein, the configuration information includes the available CPU, available memory, and remaining hard disk space; In the case where the lease is already bound, the working node checks the expiration of the lease and renews the lease when the lease has expired; The working node listens to the messages in the message middleware to complete initialization.
[0017] In this embodiment, the working node queries whether a lease has been bound. If no lease has been bound, it binds to the message middleware and reports the configuration information of the working node, including the available CPU, available memory, and remaining hard disk space. This process ensures that the system can obtain and share the resource status of the working node in real time, providing a basis for subsequent task scheduling and resource allocation. If the working node has already bound a lease, it checks the validity period of the lease to ensure that the lease remains valid within the validity period. Once it is found that the lease has expired, the working node automatically renews the lease to avoid service interruption or abnormal resource allocation caused by the expiration of the lease. In addition, the working node also listens to the messages in the message middleware, completes initialization, and executes corresponding operations. This mechanism ensures that the system can continue to run in a dynamically changing environment, maintaining effective monitoring and management of resources and status, thereby enhancing the stability and real-time response ability of the system.
[0018] In a second aspect, an embodiment of the present application provides a satellite network simulation system based on virtualization and distribution. The system includes a master node and working nodes; wherein, The master node is configured to receive new constellation topology information sent upstream; The master node is configured to determine a corresponding target instruction based on the comparison result between the new constellation topology information and the pre-stored historical topology information; The working nodes are configured to execute corresponding simulation tasks based on the obtained target instructions; The master node is configured to update the current state of the constellation based on the execution result feedback of the obtained simulation tasks.
[0019] In a third aspect, an embodiment of the present application provides a computer device, including: A memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the above-mentioned satellite network simulation method based on virtualization and distribution.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the above-mentioned satellite network simulation method based on virtualization and distribution. Description of the Drawings
[0021] To more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0022] Figure 1 It is a flowchart of a satellite network simulation method based on virtualization and distribution provided by an embodiment of the present application; Figure 2 It is a flowchart of step S3 provided by an embodiment of the present application; Figure 3 It is a block diagram of a satellite network simulation system based on virtualization and distribution provided by an embodiment of the present application; Figure 4 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. Specific Embodiments
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.
[0024] According to an embodiment of the present application, an embodiment of a satellite network simulation method based on virtualization and distribution is provided. It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0025] In this embodiment, a satellite network simulation method based on virtualization and distribution is provided. Figure 1 It is a flowchart of a satellite network simulation method based on virtualization and distribution provided by an embodiment of the present application, applied to a satellite network simulation system, and the system includes a master node and worker nodes; as Figure 1 shown, the process includes the following steps: Step S1, receiving new constellation topology information sent upstream through the master node.
[0026] Specifically, the master node is a physical machine running on an actual physical server and serves as the control center of the satellite network simulation system. The master node receives the constellation topology information from the upstream node or user input through the physical network interface, and this information may be sent to the master node via the HTTP interface. In addition, this information describes the structure of the satellite network, including the connection relationships between satellites (inter-satellite links), the connection relationships between satellites and ground stations (satellite-ground links), and the attributes of the links (such as bandwidth, latency, etc.).
[0027] Step S3: Based on the comparison result between the new constellation topology information and the pre-stored historical topology information by the master node, determine the corresponding target instruction.
[0028] Specifically, in the dynamic simulation environment, the topology information is updated periodically to reflect the real-time changes of the satellite network. The master node judges whether it is necessary to update or create a new topology structure by comparing the received latest topology information with the historical topology information. If the received topology information does not exist in the historical topology information, the master node will instruct the worker nodes to create a new constellation topology and store it. On the contrary, if the topology information already exists, the master node will further analyze the changes in the topology structure, such as adding satellites, removing links, adjusting link attributes, etc., and process these changes in a timely manner.
[0029] In addition to the management of topology information, the master node also undertakes the responsibility of managing the resources of the worker nodes. The resource status of each worker node, such as CPU, GPU, hard disk space, etc., is monitored and allocated by the master node. With the change of topology information, the master node dynamically allocates tasks according to the current topology structure and the resource status of the worker nodes. The task content includes but is not limited to creating new virtualization containers, adjusting existing network connection links, deleting unnecessary resources, etc. The master node is not only responsible for task allocation but also needs to ensure the load balance of the system to ensure the stability and efficiency of the simulation process.
[0030] The master node is also responsible for maintaining the current state of the satellite network to ensure that all system states can be effectively managed. This includes real-time monitoring of the constellation topology structure, the operating states of satellites and ground stations, and the attributes of the links (such as bandwidth, latency, etc.). The master node's real-time grasp of this information helps it make quick decisions, thus ensuring that the satellite network simulation system can cope with complex changes and ensure the simulation accuracy. Through this refined management, the system can efficiently simulate the dynamic changes of the satellite network, and thus provide strong support for the design, optimization, and verification of the satellite network.
[0031] In addition, the master node also maintains an IP pool for managing the IP addresses of virtualized containers (simulating satellites and ground stations). When new satellites, ground stations, or network links need to be added, the master node selects unused IP segments from the IP pool for allocation. When satellites, ground stations, or network links are removed, the master node reclaims the IP segments used by these items. The reclaimed IP segments are put back into the IP pool and marked as unused for subsequent allocation. This IP allocation method supports dynamic allocation and recycling of IP addresses, can adapt to frequent changes in the satellite network topology, and ensures the stability and reliability of the network.
[0032] Step S5: Based on the obtained target instructions, the worker nodes execute corresponding simulation tasks.
[0033] Specifically, the worker nodes are physical machines running on an actual physical server. The worker nodes execute the link change tasks of the satellite constellation according to the task instructions issued by the master node. These tasks include: creating new inter-satellite or satellite-ground links according to the task instructions. For example, the network connection between virtualized containers on different worker nodes is realized through Vxlan technology. The worker nodes adjust the attributes of the links, such as bandwidth and latency, according to the task instructions. This can be achieved by modifying the configuration of virtual network devices. When certain links are removed from the topology information, the worker nodes will delete the corresponding network connections.
[0034] In addition, the worker nodes are responsible for managing virtualized containers, which are used to simulate the behaviors of satellites and ground stations. According to the instructions of the master node, the worker nodes create virtualized containers using LXD technology. Resources (such as CPU, memory, and storage) are allocated to each container and network parameters are set. The containers are dynamically started or stopped according to the task requirements to simulate the operation of satellites and ground stations. When a certain satellite or ground station is no longer needed, the worker nodes will delete the corresponding container.
[0035] Step S7: Based on the feedback of the execution results of the obtained simulation tasks, the master node updates the current state of the satellite constellation.
[0036] Specifically, the worker nodes feedback the status information of task execution so that the master node can update the current state of the satellite constellation.
[0037] A satellite network simulation method based on virtualization and distribution provided by this embodiment. The master node receives new satellite constellation topology information and compares it with the pre-stored historical topology information to determine the target instructions. This process ensures that the system can adapt to topology changes and generate accurate task instructions. Then, the worker nodes execute simulation tasks according to the target instructions to ensure the efficiency and accuracy of task execution. Finally, the master node updates the current state of the satellite constellation based on the feedback of the execution results of the simulation tasks, thereby realizing dynamic status monitoring and adjustment.
[0038] Figure 2 This is the flowchart of step S3 provided by the embodiments of the present application. The target instructions include creation instructions and change instructions. The process may include the following steps: Step S31, compare the new star cluster topology information with the pre-stored historical topology information through the master node to obtain a comparison result.
[0039] Step S33, if the comparison result shows that the new star cluster topology information does not exist in the historical topology information, generate a creation instruction for the new star cluster topology information through the master node.
[0040] Step S35, if the comparison result shows that the new star cluster topology information already exists in the historical topology information, analyze the topology change through the master node and generate a change instruction for the link change of the star cluster.
[0041] Specifically, the master node compares the received new topology information with the pre-stored historical topology information to determine whether there are differences: if the new star cluster topology information does not exist in the historical topology information, it means this is a completely new star cluster or topology structure. The master node will generate a creation instruction for the new star cluster topology information. These instructions will be sent to the worker nodes through the message middleware to create corresponding virtualized containers on the worker nodes. If the new topology information already exists in the historical topology information, the master node will further analyze the topology change, such as adding satellites, removing links, or adjusting link attributes, and generate a change instruction for the links of the star cluster. These instructions are also sent to the worker nodes through the message middleware so that the worker nodes can adjust the inter-satellite and satellite-ground network connection links according to the instructions.
[0042] In this embodiment, the master node receives the new star cluster topology information sent upstream and compares it with the pre-stored historical topology information. If the new topology information does not exist in the historical topology information, the master node will generate a new topology creation instruction; if the new topology information already exists, the master node will analyze the topology change and generate a link change instruction. This processing method not only optimizes the processing flow of topology change, improves the adaptability and flexibility of the system to topology change, but also can reduce redundant operations, improve resource utilization rate, and ensure the efficient operation of the system.
[0043] In one embodiment, when the target instruction is a creation instruction, the worker node creates a virtualized container locally to simulate satellites and ground stations; wherein, the virtualized container operates using the LXD system.
[0044] Specifically, if the worker node receives a creation instruction, it will use LXD technology to create a new virtualized container. Start the container to simulate the behavior of satellites or ground stations. Each virtualized container represents a satellite or a ground station, processing and forwarding real data packets.
[0045] It should be noted here that each satellite and ground station has a unique ID for identification to distinguish different entities, and is included in the topological information sent by the user input or upstream. The corresponding relationships between satellites, ground stations, and working nodes are recorded in the message middleware. Based on these corresponding relationships, the master node assigns tasks to the correct working nodes. For example, the master node knows that satellite A (ID = 1) is responsible for working node X, so it sends tasks related to satellite A to the message middleware, and working node X can obtain the instructions that satellite A needs to operate from it. The unique ID ensures that the system can precisely manage each satellite and ground station, avoiding confusion and errors. By recording the corresponding relationships through the message middleware, the communication between the master node and the working nodes is more efficient, reducing unnecessary query and synchronization operations. In addition, the system supports dynamic adjustment and expansion. For example, when a new satellite is added, the master node can dynamically update the corresponding relationships. The working nodes also feedback the status information of satellites and ground stations according to the corresponding relationships, and the master node obtains this information through the message middleware and updates the current status of the satellite constellation.
[0046] Through the application of containerization technology and the combination of LXD for container management in this embodiment, virtualized containers can be efficiently managed, enhancing the flexibility and scalability of network communication. Each virtualized container runs independently to ensure efficient data transmission between satellites and ground stations.
[0047] In one implementation, the virtualized containers achieve network connection through bridge or Vxlan technology, supporting dynamic adjustment of the network connection links between satellites and between satellite and ground. If the virtualized containers are on the same working node, they are network-connected through the bridge. If the virtualized containers are on different working nodes, they are network-connected through Vxlan.
[0048] Specifically, the bridge is mainly used for the network connection between satellites and ground stations within the same working node. The bridge creates a virtual Ethernet device to connect multiple network interfaces together to form a shared network space. Vxlan is mainly used for the network connection between satellites and ground stations between different working nodes and is suitable for interconnecting devices across multiple physical networks.
[0049] That is to say, if the newly added container is on the same working node, the network interface of the new container is connected to the existing network environment through bridge technology. If the newly added container is on different working nodes, a cross-node network connection is established through Vxlan technology.
[0050] In one embodiment, when the target instruction is a change instruction, the working node changes the inter-satellite and satellite-ground network connection links; wherein, the change instruction includes adding satellites and / or ground stations, deleting satellites and / or ground stations, modifying the attributes of the network connection links, and adjusting the inter-satellite and / or satellite-ground network connection links.
[0051] Specifically, if the working node receives a change instruction, it will adjust the network connection links between existing virtual containers and modify the attributes of the links (such as bandwidth, latency, bit error rate, etc.). Adding satellites and / or ground stations indicates that the working node creates new virtual containers and adds them to the existing constellation network. Deleting satellites and / or ground stations indicates that the working node removes existing virtual containers and their associated network connections. Modifying the attributes of the network connection links indicates adjusting the attributes of existing links, such as bandwidth, latency, bit error rate, etc. Adjusting the inter-satellite and / or satellite-ground network connection links indicates changing the connection state of the links, such as adding links, removing links, or reconfiguring the connection relationships of the links.
[0052] In this embodiment, the working node changes the inter-satellite and satellite-ground network connection links according to the change instruction, which can achieve dynamic adjustment and optimization of the network connection.
[0053] In one embodiment, the system further includes a message middleware, and the method further includes: Transmitting task instructions and status information between the master node and the working node through the message middleware.
[0054] Specifically, the master node generates task instructions according to topology changes, publishes them to a specific queue or topic through the message middleware, and the working node listens and obtains the tasks. After the working node executes the tasks, it sends the execution results and status information to the feedback queue of the message middleware, and the master node listens and updates the constellation status. In a large-scale constellation simulation scenario, multiple master nodes may be required to cooperate in processing tasks. Through information sharing by the message middleware, the problem of information inconsistency caused by direct communication between master nodes can be avoided. The distributed nature of the message middleware supports horizontal scaling and can handle large-scale tasks and high-concurrency scenarios. New working nodes can dynamically join or leave the system without affecting the operation of the master node.
[0055] In this embodiment, the message middleware transmits task instructions and status information between the master node and the working node, improving communication efficiency and reliability, while decoupling system components and enhancing flexibility.
[0056] In one embodiment, the method further includes: Querying by the working node whether to bind a lease to the message middleware; In the case of an unbound lease, the working node binds a lease with the message middleware and reports the configuration information of the working node to the message middleware; where the configuration information includes the available CPU, available memory, and remaining hard disk space. In the case of a bound lease, the working node checks the expiration status of the lease and renews the lease when it has expired; the working node listens for messages in the message middleware to complete initialization.
[0057] Specifically, when the working node starts, it first checks whether a lease has been bound to the message middleware. A lease is a mechanism used to ensure that the working node has the right to access the services of the message middleware and keeps the connection with the message middleware valid. If the working node has not bound a lease, it will apply for a new lease from the message middleware. At the same time, the working node reports its own configuration information to the message middleware, including the available CPU, available memory, remaining hard disk space, etc. If the working node has already bound a lease, it will check whether the lease has expired. A lease usually has a validity period, and if this period is exceeded, the lease will become invalid. If the lease has expired, the working node will initiate a lease renewal request to update the validity period of the lease and ensure that the connection with the message middleware remains valid. After completing the lease binding or renewal, the working node enters the listening state and continuously listens for information in the message middleware. At this time, the working node is ready to receive task instructions from the master node and execute the corresponding simulation tasks. The initialization process of the same master node is similar to that of the working node and will not be elaborated here.
[0058] In this embodiment, the working node queries whether a lease has been bound. If no lease has been bound, it binds with the message middleware and reports the configuration information of the working node, including the available CPU, available memory, and remaining hard disk space. This process ensures that the system can obtain and share the resource status of the working node in real time, providing a basis for subsequent task scheduling and resource allocation. If the working node has already bound a lease, it will check the validity period of the lease to ensure that the lease remains valid within the validity period. Once it is found that the lease has expired, the working node will automatically renew the lease to avoid service interruption or abnormal resource allocation caused by lease expiration. In addition, the working node also listens for messages in the message middleware to complete initialization and perform corresponding operations. This mechanism ensures that the system can continue to run in a dynamically changing environment, maintaining effective monitoring and management of resources and status, thereby improving the stability and real-time response ability of the system.
[0059] Correspondingly, please refer to Figure 3 is a block diagram of a satellite network simulation system based on virtualization and distribution provided by an embodiment of the present application. The system includes a master node 101 and a working node 103; where The master node 101 is used to receive new constellation topology information sent upstream. The master node 101 is used to determine the corresponding target instruction based on the comparison result between the new constellation topology information and the pre-stored historical topology information; The worker node 103 is used to execute the corresponding simulation task based on the obtained target instruction; The master node 101 is used to update the current state of the constellation based on the feedback of the execution result of the obtained simulation task.
[0060] In some alternative embodiments, the target instructions include creation instructions and change instructions; the master node determines the corresponding target instruction based on the comparison result between the new constellation topology information and the pre-stored historical topology information and performs the following operations: The master node compares the new constellation topology information with the pre-stored historical topology information to obtain a comparison result; If the comparison result indicates that the new constellation topology information does not exist in the historical topology information, the master node generates a creation instruction for the new constellation topology information; If the comparison result indicates that the new constellation topology information already exists in the historical topology information, the master node analyzes the topology change and generates a change instruction for the link change of the constellation.
[0061] In some alternative embodiments, when the target instruction is a creation instruction, the worker node creates virtualized containers locally to simulate satellites and ground stations; among them, the virtualized containers operate using the LXD system.
[0062] In some alternative embodiments, the virtualized containers achieve network connection through bridge or Vxlan technology, supporting dynamic adjustment of the network connection links between satellites and between satellite and ground; If the virtualized containers are on the same worker node, the network connection is achieved through a bridge; If the virtualized containers are on different worker nodes, the network connection is achieved through Vxlan.
[0063] In some alternative embodiments, when the target instruction is a change instruction, the worker node changes the network connection links between satellites and between satellite and ground; among them, the change instruction includes adding satellites and / or ground stations, deleting satellites and / or ground stations, modifying the attributes of the network connection links, and adjusting the network connection links between satellites and / or between satellite and ground.
[0064] In some alternative embodiments, the system further includes a message middleware: The message middleware is used to transfer task instructions and status information between the master node and the worker node.
[0065] In some alternative embodiments, the system further includes performing the following operations: The worker node queries whether to bind a lease to the message middleware; In the case of an unbound lease, the working node binds the lease with the message middleware and reports the configuration information of the working node to the message middleware; wherein, the configuration information includes the available CPU, the available memory, and the remaining hard disk space. In the case of a bound lease, the working node checks the expiration of the lease and renews the lease when the lease has expired; the working node listens for messages in the message middleware to complete initialization.
[0066] Please refer to Figure 4 , Figure 4 FIG. Figure 4 shows a schematic structural diagram of a computer device provided by an embodiment of the present application. As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (such as a server array, a set of blade servers, or a multi-processor system). Figure 3 In
[0067] FIG., a single processor 10 is taken as an example.
[0068] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiments.
[0069] The memory 20 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the computer device and the like. In addition, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided with respect to the processor 10, and these remote memories may be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0070] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, a hard disk, or a solid-state drive; the memory 20 may further include a combination of the above-mentioned types of memory.
[0071] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0072] The embodiments of the present application further provide a computer-readable storage medium. The methods according to the embodiments of the present application can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code originally stored in a remote storage medium or a non-transitory machine-readable storage medium and to be downloaded through a network and stored in a local storage medium, so that the methods described herein can be stored in such software processes on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.
[0073] The systems and devices illustrated in the above embodiments may be specifically implemented by a computer chip or an entity, or by a product with a certain function. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0074] For the convenience of description, when describing the above device, it is divided into various units according to functions for separate description. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0075] Those skilled in the art should understand that the embodiments of the present application can be provided as methods and systems. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0076] The present application is described with reference to the flowcharts and / or block diagrams of methods and systems according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, as well as the combination of flows and / or blocks in the flowchart and / or block diagram. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more flows and / or Figure 1 blocks.
[0077] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one or more flows and / or Figure 1 blocks.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more flows and / or Figure 1 blocks.
[0079] It should also be noted that the term "comprise", "include" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, commodity or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, commodity or device comprising said element.
[0080] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference can be made to the relevant part of the method embodiment for the related content.
[0081] The above description is only for the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, various modifications and changes can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
[0082] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A satellite network simulation method based on virtualization and distribution, characterized in that: Applied to a satellite network simulation system, the system includes a master node and a working node; the method includes: Receiving new constellation topology information sent from upstream through the master node; Determining, by the master node, a corresponding target instruction based on a comparison result between the new constellation topology information and pre-stored historical topology information; Executing the corresponding simulation task based on the acquired target instruction by the working node; The master node updates the current state of the star cluster based on the obtained execution result feedback of the simulation task.
2. The method according to claim 1, characterized in that The target instruction includes a creation instruction and a change instruction; the determining, by the master node based on a comparison result between the new constellation topology information and the pre-stored historical topology information, the corresponding target instruction includes: The master node compares the new constellation topology information with the pre-stored historical topology information to obtain the comparison result; If the comparison result is that the new star cluster topology information does not exist in the historical topology information, generating a creation instruction for new star cluster topology information through the master node; If the comparison result is that the new star cluster topology information already exists in the historical topology information, the master node analyzes the topology change and generates a change instruction for link change of the star cluster.
3. The method according to claim 1 or 2, characterized in that: In the case where the target instruction is a creation instruction, a virtualized container is created locally by the working node to simulate a satellite and a ground station; wherein the virtualized container is operated by the LXD system.
4. The method according to claim 3, characterized in that The virtualized container realizes network connection through bridge or Vxlan technology, and supports dynamic adjustment of network connection links between satellites and satellites and ground; If the virtualized containers are in the same working node, a network connection is established through a bridge; If the virtualized containers are in different working nodes, network connection is performed through Vxlan.
5. The method according to claim 1 or 2, characterized in that: When the target instruction is a change instruction, the inter-satellite and satellite-to-ground network connection links are changed through the working node; wherein the change instruction includes adding a new satellite and / or ground station, deleting a satellite and / or ground station, modifying the properties of the network connection link, and adjusting the inter-satellite and / or satellite-to-ground network connection links.
6. The method according to claim 1, characterized in that The system further includes a message middleware, and the method further includes: Task instructions and status information are transmitted between the master node and the working node through the message middleware.
7. The method according to claim 6, characterized in that The method further comprises: Querying, through the working node, whether to bind a lease to the message middleware; In the case where the lease is not bound, the working node is bound to the message middleware for the lease and the configuration information of the working node is reported to the message middleware; wherein the configuration information includes the available CPU, the available memory and the remaining hard disk space; In the case where the lease has been bound, checking the expiration of the lease through the working node, and renewing the lease when the lease has expired; The working node monitors the messages in the message middleware to complete the initialization.
8. A satellite network simulation system based on virtualization and distribution, characterized in that: The system includes a master node and a working node; wherein, The master node is used to receive new constellation topology information sent from upstream; The master node is used to determine the corresponding target instruction based on the comparison result between the new star cluster topology information and the pre-stored historical topology information; The working node is used to execute the corresponding simulation task based on the acquired target instruction; The master node is used to update the current state of the star cluster based on the obtained execution result feedback of the simulation task.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the virtualization and distributed satellite network simulation method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the virtualization and distribution-based satellite network simulation method described in any one of claims 1 to 7.
Citation Information
Cited By
SAR satellite power adjustment method and device based on image analysis, and storage medium
CN120896649A
Power regulation method and device of sar satellite based on image analysis and storage medium
CN120896649B