Satellite control method and apparatus
By designing a distributed controller and employing an automatic switching method across multiple architecture modes, the problems of resource redundancy and erroneous switching in aerospace satellite controllers were solved, achieving efficient disaster recovery backup and management.
Patent Information
- Application Number
- CN202511066625.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-07-31
AI Technical Summary
Existing aerospace satellite controllers suffer from high resource redundancy and inaccurate switching of backup controllers during disaster recovery. In particular, when the primary and backup controllers fail simultaneously, manual intervention is required. Furthermore, existing technologies are prone to erroneous switching due to unstable factors.
The system adopts a distributed controller design, which evaluates and selects the optimal controller to take over the faulty controller through status monitoring and feedback among controllers in a preset area. It utilizes multiple architecture modes to achieve automatic switching and reduce dependence on ground systems.
It achieves resource savings by eliminating the need for a backup controller, accurately monitors and switches faulty controllers, and improves the rationality and management efficiency of disaster recovery backup.
Smart Images

Figure CN120578111B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerospace measurement and control technology, and in particular to a satellite control method and device. Background Art
[0002] Existing disaster recovery processes for space satellite controllers utilize multi-layered redundancy and dynamic response mechanisms, combining autonomous algorithms with ground-based collaborative control to ensure system resilience in the event of extreme failures. For example, hardware-level redundancy and disaster recovery can employ a dual-machine hot backup mechanism, switching the primary controller to the backup controller when primary system parameters become abnormal. However, this approach carries high disaster recovery costs and results in significant resource redundancy. In particular, when both the primary and backup controllers fail, failures require close-quarters maintenance personnel, making it unsuitable for satellite internet.
[0003] In addition, there are many factors that affect controller failure, and some are caused by unstable factors. The existing technology immediately triggers the switching operation when the main system parameters are abnormal, which often causes the main controller to trigger the switching of the backup controller when there is no actual failure. Summary of the Invention
[0004] In response to the problems in the prior art, embodiments of the present invention provide a satellite control method and apparatus, which can at least partially solve the problems in the prior art.
[0005] In one aspect, the present invention provides a satellite control method, comprising:
[0006] In response to first status information of a first target controller in a preset area, sending monitoring result information to a second target controller in the preset area;
[0007] receiving feedback information from the second target controller regarding the monitoring result information, and if it is determined that the feedback information is the first state information, and state information subsequently acquired within a first preset time period and the feedback information are the first state information, determining that the first target controller is in the first state, and acquiring second state information of the third target controller;
[0008] A fourth target controller is determined according to the second state information, and the fourth target controller is controlled to take over the first target controller.
[0009] The step of determining the fourth target controller according to the second state information includes:
[0010] evaluating the state of the third target controller according to the second state information to obtain state evaluation information;
[0011] The third target controller is filtered according to the state evaluation information to obtain the fourth target controller.
[0012] The control of the fourth target controller to take over the first target controller comprises:
[0013] The fourth target controller is controlled to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite where the first target controller is located.
[0014] The architecture mode comprises a first architecture mode, and the control of the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located comprises:
[0015] If it is determined that the duration of the interrupted connection between the first target device and the first target controller reaches a second preset duration, the first target device is controlled to send a connection establishment request to a controller corresponding to controller address information pre-configured in a preset area in the first target device according to the controller address information.
[0016] A connection establishment message response is received by the first target device from the fourth target controller in response to the connection establishment request, a first connection relationship between the first target device and the fourth target controller is established, and the fourth target controller takes over the first target controller through the first connection relationship.
[0017] The architecture mode comprises a first architecture mode, and the control of the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located comprises:
[0018] If it is determined that the duration of the interrupted connection between the first target device and the first target controller reaches a second preset duration, the first target device is controlled to periodically query whether a controller switching configuration file exists in the first target device; the controller switching configuration file comprises address information of the fourth target controller.
[0019] If it is determined that the controller switching configuration file exists in the first target device, the first target device is controlled to establish a second connection relationship with the fourth target controller through the address information of the fourth target controller, so that the fourth target controller takes over the first target controller through the second connection relationship.
[0020] Before the controller switching configuration file is stored in the first target device, the satellite control method further comprises:
[0021] receiving, by the first target device, a controller switching configuration file from a ground network management system in response to a fault prompt message sent by the fourth target controller to the ground network management system, and storing the controller switching configuration file to the first target device; the fault prompt message carries address information of the fourth target controller and first state information of the first target controller.
[0022] Accordingly, the fourth target controller takes over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite.
[0023] In response to the action of modifying, by the fourth target controller, the configuration information of the network management server of the first target device to the address information of the third target controller, restarting the first target device, and sending a third connection relationship establishment request to the fourth target controller;
[0024] In response to the third connection relationship established by the fourth target controller according to the third connection relationship establishment request, the fourth target controller takes over the first target controller through the third connection relationship.
[0025] Accordingly, the fourth target controller takes over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite.
[0026] Accordingly, the fourth target controller takes over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite.
[0027] Accordingly, the fourth target controller takes over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite.
[0028] In one aspect, the application provides a satellite control device, comprising:
[0029] The sending unit is configured to send monitoring result information to a second target controller in a preset area in response to first state information of a first target controller in the preset area;
[0030] The determining unit is configured to receive feedback information of the second target controller for the monitoring result information, and determine that the first target controller is in a first state if it is determined that the feedback information is the first state information, and state information obtained in a subsequent first preset time length and the feedback information are the first state information, and obtain second state information of a third target controller;
[0031] The control unit is configured to determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0032] In another aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory and a bus, wherein:
[0033] The processor and the memory complete mutual communication through the bus;
[0034] The memory stores program instructions executable by the processor, and the processor calling the program instructions can execute the following method:
[0035] In response to first state information of a first target controller in a preset area, monitoring result information is sent to a second target controller in the preset area;
[0036] Feedback information of the second target controller for the monitoring result information is received, and the first target controller is determined to be in a first state if it is determined that the feedback information is the first state information, and state information obtained in a subsequent first preset time length and the feedback information are the first state information, and second state information of a third target controller is obtained;
[0037] A fourth target controller is determined according to the second state information, and the fourth target controller is controlled to take over the first target controller.
[0038] An embodiment of the present application provides a non-transient computer readable storage medium, comprising:
[0039] The non-transient computer readable storage medium stores computer instructions, and the computer instructions make the computer execute the following method:
[0040] In response to first state information of a first target controller in a preset area, monitoring result information is sent to a second target controller in the preset area;
[0041] receive feedback information of the second target controller for the monitoring result information, if it is determined that the feedback information is the first state information, and the state information obtained in the subsequent first preset time length and the feedback information are the first state information, then determine that the first target controller is in the first state, and obtain second state information of a third target controller;
[0042] determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0043] The embodiment of the application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to realize the following method.
[0044] in response to first state information of a first target controller in a preset area, send monitoring result information to a second target controller in the preset area;
[0045] receive feedback information of the second target controller for the monitoring result information, if it is determined that the feedback information is the first state information, and the state information obtained in the subsequent first preset time length and the feedback information are the first state information, then determine that the first target controller is in the first state, and obtain second state information of a third target controller;
[0046] determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0047] The satellite control method and device provided by the embodiment of the application, in response to first state information of a first target controller in a preset area, send the first state information to a second target controller in the preset area; receive state feedback information fed back by the second target controller for the first state information, if it is determined that all the state feedback information is the first state information, and the first state information is continuously obtained by the second target controller and a local controller, then determine that the first target controller is in the first state, and obtain second state information of the second target controller and the local controller; determine a third target controller according to the second state information, and control the third target controller to take over the first target controller, on the one hand, without designing a backup controller, so as to save resources, and on the other hand, the controller that really fails can be accurately monitored, and the rationality of disaster recovery backup is improved. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to make the technical solutions of the embodiments of the present application or the prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description only aim to explain some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative effort based on these drawings. In the drawings:
[0049] Figure 1 FIG. 1 is a flowchart of a satellite control method according to an embodiment of the present application.
[0050] Figure 2 FIG. 2 is a structural diagram of an inter-satellite controller and equipment according to an embodiment of the present application.
[0051] Figure 3 FIG. 3 is a switching system architecture diagram of a disaster recovery backup of an inter-satellite controller according to an embodiment of the present application.
[0052] Figure 4 FIG. 4 is a controller state monitoring and maintenance flowchart according to an embodiment of the present application.
[0053] Figure 5 FIG. 5 is a switching strategy execution flowchart according to an embodiment of the present application.
[0054] Figure 6 FIG. 6 is a controller switching mode 1 flowchart according to an embodiment of the present application.
[0055] Figure 7 FIG. 7 is a controller switching mode 2 flowchart according to an embodiment of the present application.
[0056] Figure 8 FIG. 8 is a controller switching mode 3 flowchart according to an embodiment of the present application.
[0057] Figure 9 FIG. 9 is a NETCONF protocol controller switching flowchart according to an embodiment of the present application.
[0058] Figure 10 FIG. 10 is a structural diagram of a satellite control device according to an embodiment of the present application.
[0059] Figure 11 FIG. 11 is an electronic equipment entity structure diagram according to an embodiment of the present application. DETAILED DESCRIPTION
[0060] To make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, further detailed descriptions of the embodiments of the present application are given below with reference to the drawings. Here, the illustrative embodiments of the present application and their descriptions are used to explain the present application but are not used as limitations of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other at will without conflicts.
[0061] Figure 1 is a flowchart of a satellite control method provided by an embodiment of the present application, as shown in Figure 1 The satellite control method provided by the embodiment of the present application includes the following steps.
[0062] Step S1: In response to first state information of a first target controller in a preset area, monitoring result information is sent to a second target controller in the preset area.
[0063] Step S2: Feedback information of the second target controller for the monitoring result information is received. If it is determined that the feedback information is the first state information, and the state information obtained in a subsequent first preset time length and the feedback information are the first state information, it is determined that the first target controller is in a first state, and second state information of a third target controller is obtained.
[0064] Step S3: A fourth target controller is determined according to the second state information, and the fourth target controller is controlled to take over the first target controller.
[0065] In the above step S1, the device sends monitoring result information to a second target controller in a preset area in response to first state information of a first target controller in the preset area. The device can be a computer device executing the method, and specifically can be an on-board computer in a satellite in the preset area. It should be noted that the data acquisition and analysis in the embodiment of the present application are authorized by a user.
[0066] The satellite control method can be specifically a disaster recovery backup processing method of an inter-satellite controller, which is executed in multiple satellites distributed in a preset area, and each satellite includes a controller and a device connected to the controller. As shown in Figure 2 Each satellite is deployed with an on-board controller, i.e., a controller, which is used to control three types of network element devices in the satellite, specifically including an on-board base station, an on-board core network, and an on-board router. Figure 3 As shown in
[0067] All controllers within a predefined area are decentralized, with status monitoring and maintenance performed on all controllers within the area. The predefined area can be determined by the number of satellites included; for example, the number of satellites within the predefined area can be less than 10. Controllers are distributed across satellite nodes and rely on intersatellite links to periodically broadcast heartbeat messages for status monitoring. Each controller can obtain information and current status from other controllers within the area. This information can include the controller URL, three types of payload network element management information (network element URL, payload management protocol, and port), and topology status.
[0068] The first state information may specifically be fault state information, the first target controller is the controller in the fault state, and the second target controller is the controller of other satellites in the preset area except the first target controller and the local controller in the local satellite node.
[0069] The first status information can be obtained through periodic status monitoring. The interval for periodic status monitoring can be set independently based on actual conditions and can be selected as one hour. When a faulty first target controller is detected, the local controller in the local satellite node sends the first status information to a second target controller within a preset area. That is, the satellite node that first detects the faulty controller notifies the controllers of other satellites within the preset area, excluding the faulty controller, that a controller fault has occurred. This notification is made through monitoring result information, which can specifically include an identifier of the faulty controller.
[0070] like Figure 4 As shown, a scenario with four controllers in a predefined area is used as an example. Satellite A's controller, controller A, invokes a status monitoring task to simultaneously monitor the status of controllers B, C, and D. Controller B then invokes a status monitoring task to simultaneously monitor the status of controllers A, C, and D. Similarly, controllers C and D monitor the status of the other three controllers. The monitoring results include a faulty monitoring result and a normal monitoring result. When controller A detects a faulty monitoring result for controller B, it stores the first monitoring result, with controller A as the monitoring party, in satellite A's memory.
[0071] In the step S2, the device receives feedback information of the second target controller for the monitoring result information, and if it is determined that the feedback information is the first state information, and the state information obtained in the subsequent first preset time length and the feedback information is the first state information, it is determined that the first target controller is in the first state, and the second state information of the third target controller is obtained. Taking controller A as an example of monitoring that controller B is in failure, controller A sends the first monitoring result of controller B to controller C and controller D, controller C receives the failure monitoring result of controller B, obtains the second monitoring result of controller B, and sends the second monitoring result as the response of controller C to controller A and stores it; controller D receives the failure monitoring result of controller B, obtains the third monitoring result of controller B, and sends the third monitoring result as the response of controller D to controller A and stores it. If the first monitoring result, the second monitoring result and the third monitoring result are all first state information, i.e. failure information, it means that the first judgment condition is met. The second monitoring result and the third monitoring result are the feedback information sent by controller C and controller D to controller A respectively.
[0072] The determination that the state information obtained in the subsequent first preset time length and the feedback information is the first state information comprises:
[0073] The timing is started at the moment when it is determined that all the feedback information is the first state information, and if it is determined that the second target controller and the local controller obtain the first state information in each state monitoring period in the first preset time length, it is determined that the second target controller and the local controller continuously obtain the first state information. The first preset time length can be set autonomously according to actual conditions, and is determined according to the time interval of periodic state monitoring, for example, it can be 10 times the time interval of periodic state monitoring.
[0074] Taking the time interval of periodic state monitoring as 1 hour as an example, the following is illustrated:
[0075] In the first hour, if the first monitoring result, the second monitoring result and the third monitoring result are all first state information, the monitoring task of controller B in the next hour is continued to start, and if the first monitoring result, the second monitoring result and the third monitoring result of controller B in the subsequent 10 hours are all first state information, it is determined that controller B is in the first state, i.e. the second judgment condition is met, and the second state information of the third target controller is obtained. The third target controller is the second state information of controller A of the local satellite and controller C and controller D of the satellites in the region.
[0076] If the first monitoring result, the second monitoring result and the third monitoring result are not all the first state information when the monitoring task of the controller B is continuously started in the next hour, the state monitoring task of the controller A to the controller B, the controller C and the controller D is restarted, and the state monitoring task of the controller B to the controller A, the controller C and the controller D is restarted, and so on.
[0077] In the step S3, the device determines a fourth target controller according to the second state information, and controls the fourth target controller to take over the first target controller. The determination of the fourth target controller according to the second state information comprises:
[0078] evaluating the state of the third target controller according to the second state information to obtain state evaluation information;
[0079] screening the third target controller according to the state evaluation information to obtain the fourth target controller.
[0080] The second state information can be controller-related component state information, which specifically can include component health status (such as fault state and response time, etc.), power status, inter-satellite link communication quality, storage space, current number of network elements in the network, and hardware life, etc. The state evaluation information can be used to intuitively represent the controller-related component state information, and the state evaluation information can specifically be state evaluation information in the form of scores.
[0081] The controller whose controller-related component state information has at least one item lower than a preset state evaluation score is removed, and a notification message is sent to the controllers of the remaining satellites in the preset area. The preset state evaluation score can be set autonomously according to actual conditions, and can be 10 points, for example. Figure 5 As shown in FIG. 5, if the score of a controller-related component state information of the controller A, for example, the health status is 8 points, the controller A is eliminated from the election, and at this time, the controllers of the remaining satellites in the preset area are the controller C, the controller D and the controller E. The notification message can carry a prompt message that the controller A is eliminated from the election, informing the controller C, the controller D and the controller E that the controller A does not need to be added to the subsequent weight score calculation.
[0082] According to the state evaluation information corresponding to the controllers of the remaining satellites in the preset area, the state evaluation information can reflect the comprehensive state score of the controller-related components, and the comprehensive state score of the controller-related components corresponding to each controller of the remaining satellites in the preset area can be calculated according to the controller-related component state information. The corresponding weight of each controller-related component state information can be set, for example, the health status is 25%, the power status is 20%, the inter-satellite link communication quality is 15%, the storage space is 15%, the current number of network elements in the network is 10%, and the hardware life is 15%.
[0083] The state evaluation information corresponding to each of the controllers of the remaining satellites in each area can be calculated according to the following formula:
[0084]
[0085] where S represents the state evaluation information, such as the state evaluation information of the controller C can be represented as SC, w i represents the weight corresponding to the state information of the controller-related component i, x i represents the score corresponding to the state information of the controller-related component i, where the score is greater than 10 points.
[0086] The controller with the highest comprehensive state score of the controller-related component is taken as the fourth target controller. The controllers C, D and E broadcast the comprehensive state scores of the controller-related components to other controllers through the comprehensive evaluation message after the final evaluation. Each controller determines whether it is the highest score according to the comprehensive state score list of the controller-related components. If the comprehensive state score of the controller-related component of the controller C is 80 points, the comprehensive state score of the controller-related component of the controller D is 70 points, and the comprehensive state score of the controller-related component of the controller E is 60 points, the controller C is taken as the third target controller.
[0087] The satellite control method further comprises:
[0088] If it is determined that the controller with the highest comprehensive state score of the controller-related component is not unique, a random number corresponding to each of the controllers with the highest comprehensive state score of the controller-related component is generated;
[0089] The controller corresponding to the maximum random number is taken as the fourth target controller. If the comprehensive state score of the controller-related component of the controller C is 80 points, the comprehensive state score of the controller-related component of the controller D is 80 points, and the comprehensive state score of the controller-related component of the controller E is 60 points, the controller E exits the election, a random number c is generated by the controller C, a random number d is generated by the controller D, the random number c is notified to the controller D by broadcasting, the random number d is notified to the controller C by broadcasting, and the third target controller is determined by the controller C and the controller D by comparing the numerical values of the random number c and the random number d, if the random number c is greater than the random number d, the controller C is taken as the fourth target controller.
[0090] When the second state information of the controller A is optimal, the fourth target controller can also be the controller A.
[0091] The control of the fourth target controller taking over the first target controller comprises:
[0092] The fourth target controller is controlled to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite where the first target controller is located.
[0093] The architecture mode includes a first architecture mode, that is, an architecture mode in which the fourth target controller serves as a server and the first target device serves as a client; accordingly, controlling the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located includes:
[0094] If it is determined that the duration of the disconnection between the first target device and the first target controller reaches a second preset duration, controlling the first target device to send a connection establishment request to the controller corresponding to the controller address information according to the controller address information pre-configured in the preset area of the first target device;
[0095] The first target device receives a connection establishment message response from the fourth target controller in response to the connection establishment request, and establishes a first connection relationship between the first target device and the fourth target controller, so that the fourth target controller takes over the first target controller through the first connection relationship. The second preset duration can be set independently according to actual circumstances.
[0096] The controller acts as a server. Usually, the client, i.e., the device, actively initiates an initial connection request to the controller to establish an initial connection. When the controller changes, the URL information of the network management server on the device can be modified before the device can initiate a connection request to the new controller. The present invention provides three implementation methods: one is for the device to actively switch using a preset mechanism; one is to use the in-satellite management component to transfer the switching configuration file and trigger the switch; and one is for the controller to modify the device configuration through a direct connection interface to change the connection, such as Figure 6 As shown, the first implementation method is described here as follows:
[0097] The controller automatic switching is completed by relying on the configuration information and process stored in the device itself without intervention of a third-party device or system. First, the URL information of all controllers in a preset area is collected and preconfigured to all devices in the preset area. When the device (first target device) in satellite B and the controller (first target controller) are disconnected for a period of time, the device in satellite B starts to autonomously decide to select a controller. The device in satellite B initiates a connection request to the controllers of satellites in the preset area according to the preconfigured URL list, and the controllers except the controller (fourth target controller) of satellite C do not reply, and the controller of satellite C replies a connection response, and the controller switching is successful after the connection is established, and the device on the failed satellite is taken over. The main process of the application is autonomously decided and implemented by the device, which reduces the dependence on the ground and improves the management efficiency.
[0098] The architecture mode includes a first architecture mode, and the fourth target controller is controlled to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located, and the architecture mode includes:
[0099] If it is determined that the disconnection duration between the first target device and the first target controller reaches a second preset duration, the first target device is controlled to periodically query whether a controller switching configuration file exists in the first target device; the controller switching configuration file includes address information of the fourth target controller.
[0100] If it is determined that the controller switching configuration file exists in the first target device, the first target device is controlled to establish a second connection relationship with the fourth target controller through the address information of the fourth target controller, so that the fourth target controller takes over the first target controller through the second connection relationship.
[0101] Before storing the controller switching configuration file into the first target device, the satellite control method further includes:
[0102] The controller switching configuration file is fed back to the controller of the first target satellite by the ground network management system through the first target device, and the controller switching configuration file is stored into the first target device; the failure prompt message is sent to the ground network management system in advance by the fourth target controller, and the failure prompt message carries the address information of the fourth target controller and the first state information of the first target controller.
[0103] As Figure 7 shown, the second implementation manner is described as follows:
[0104] When the controller (the fourth target controller) of the satellite C confirms that the controller (the first target controller) of the satellite B is faulty, a fault prompt message is sent to the ground network management system, the ground network management system generates a controller switching configuration file, and the controller switching configuration file is uploaded to the management component of the satellite B through a feeder link, and the management component of the satellite B uses a script to deliver the controller switching configuration file to a specified path of the device (the first target device) of the satellite B.
[0105] The controller switching configuration file delivered by the on-board management component contains URL information of the backup controller (the fourth target controller). The device (the first target device) of the satellite B opens a controller switching configuration file storage space, and periodically queries whether the controller switching configuration file exists in the file storage path when the disconnection with the first target controller lasts for a certain time. If it is determined that the controller switching configuration file exists, the controller switching is successful after the connection is established, and the device of the faulty satellite is taken over. The specific description is as follows:
[0106] When the device of the satellite B queries the controller switching configuration file, the switching process is triggered. The URL information of the controller of the satellite C is obtained and configured in the device of the satellite B, and then a connection request is initiated to the controller of the satellite C. After the connection is established, the controller switching is successful, and the device of the faulty satellite is taken over. The controller switching configuration file can also be cleared so that if the subsequent controller C fails, a new backup controller can take over. The present application is implemented by the control of the ground network management system, so that the ground operation and maintenance constraints are increased, and the network management and control ability is improved.
[0107] The architecture mode includes a first architecture mode. Correspondingly, the fourth target controller taking over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located comprises:
[0108] In response to an action of modifying, by the fourth target controller, configuration information of a network management server of the first target device to address information of the third target controller, restarting the first target device, and sending a third connection relationship establishment request to the fourth target controller;
[0109] In response to a third connection relationship established by the fourth target controller according to the third connection relationship establishment request, so that the fourth target controller takes over the first target controller through the third connection relationship, as shown in the following: Figure 8 The third implementation manner is described as follows:
[0110] The direct connection interface is added on the equipment of satellite B, and the username and password authentication management module is added. The controller of satellite C first obtains the equipment IP of satellite B controlled by the controller of satellite B from the local database, authenticates the username and password through HTTPS, modifies the network management server URL configuration information of the equipment through the direct connection interface after the authentication is passed, restarts the equipment after the modification is successful, initiates a connection establishment request to the address of the controller of satellite C after the equipment is restarted successfully, processes the request and establishes a response after the controller of satellite C receives the request, so that the initial connection is established, and the formal management is started.
[0111] The controller modifies the equipment parameters through the direct connection interface, so that the controller can be quickly switched.
[0112] The architecture mode includes a second architecture mode. Correspondingly, the fourth target controller takes over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located, including:
[0113] The fourth target controller obtains the first communication configuration information of the first target device, and sends a connection request to the network configuration protocol port of the first target device according to the first communication configuration information;
[0114] The fourth target controller receives the session connection sent by the first target device according to the connection request, interacts with the first target device through the session connection, obtains second communication configuration information adapted to the first target device and the fourth target controller, and establishes a fourth connection relationship based on the network configuration protocol according to the second communication configuration information, so that the fourth target controller takes over the first target controller through the fourth connection relationship, as shown in the figure, and the description is as follows: Figure 9
[0115] The initial connection establishment of NETCONF (network configuration protocol) is the process of establishing a communication session between a client and a server. The process includes three steps of transport layer connection establishment, capability set exchange and session initialization. In the NETCONF protocol management, the controller belongs to the client, and the equipment belongs to the server. In the present application, the equipment does not need to be pre-installed with information or added with new functions when the controller is switched. The controller of satellite C has obtained the first communication configuration information of the equipment of satellite B in advance, including the URL, the port number used by the protocol and the SSH username and password information.
[0116] When the satellite C controller starts to take over the satellite B device, the NETCONF port of the device is connected by using the SSH, the SSH connection is established, the authentication and authorization are completed, and the transport layer session connection is established.
[0117] Then the capability exchange is started, which is a mutual exchange process, the second communication configuration information of both sides is determined by sending a hello message, and specifically includes the protocol version, operation and data model supported by both sides. Finally, the NETCONF session is formally established, and the satellite C controller can start to send RPC requests to obtain configurations and a series of operations, so as to take over the satellite B device.
[0118] The satellite control method provided by the embodiment of the application adopts a distributed design of multiple controllers in a region, selects a switching controller by combining a plurality of factors, and proposes a method for solving controller switching based on different architecture modes of a client and a server. A solution is provided for disaster recovery backup of on-board controllers, and the reliability of network node management and control on the satellite is improved.
[0119] The satellite control method provided by the embodiment of the application responds to first state information of a first target controller in a preset region, sends monitoring result information to a second target controller in the preset region, receives feedback information of the second target controller for the monitoring result information, determines that the first target controller is in a first state if the feedback information is the first state information and state information obtained in a subsequent first preset time length and the feedback information are the first state information, obtains second state information of a third target controller, determines a fourth target controller according to the second state information, and controls the fourth target controller to take over the first target controller. On the one hand, a standby controller does not need to be designed, so that resources are saved. On the other hand, a controller that actually fails can be accurately monitored, and the rationality of disaster recovery backup is improved.
[0120] Further, the fourth target controller is determined according to the second state information, and the method comprises the following steps.
[0121] The state of the third target controller is evaluated according to the second state information, and state evaluation information is obtained. Refer to the above embodiment for description.
[0122] The third target controller is screened according to the state evaluation information, and the fourth target controller is obtained. Refer to the above embodiment for description.
[0123] The satellite control method provided by the embodiment of the application can reasonably select a controller for taking over a controller that fails.
[0124] Further, the fourth target controller is controlled to take over the first target controller, and the method comprises the following steps.
[0125] The fourth target controller is controlled to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite in which the first target controller is located.
[0126] The satellite control method provided by the embodiment of the present application can further reasonably select a controller for taking over a malfunctioning controller.
[0127] Further, the architecture mode comprises a first architecture mode, and correspondingly, the fourth target controller is controlled to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite in which the first target controller is located.
[0128] If it is determined that the connection interruption duration between the first target device and the first target controller reaches a second preset duration, the first target device is controlled to send a connection establishment request to a controller corresponding to controller address information preconfigured in a preset area in the first target device according to the controller address information; the above embodiment can be referred to for illustration, and no further description is given.
[0129] A connection establishment message response feedback by the fourth target controller to the connection establishment request is received by the first target device, a first connection relationship between the first target device and the fourth target controller is established, so that the fourth target controller takes over the first target controller through the first connection relationship. The above embodiment can be referred to for illustration, and no further description is given.
[0130] The satellite control method provided by the embodiment of the present application is independently decided and implemented by the device to take over and switch control, reduces the dependence on the ground, and improves the management efficiency.
[0131] Further, the architecture mode comprises a first architecture mode, and correspondingly, the fourth target controller is controlled to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite in which the first target controller is located.
[0132] If it is determined that the connection interruption duration between the first target device and the first target controller reaches a second preset duration, the first target device is controlled to periodically query whether a controller switching configuration file exists in the first target device; the controller switching configuration file comprises address information of the fourth target controller; the above embodiment can be referred to for illustration, and no further description is given.
[0133] If it is determined that the controller switching configuration file exists in the first target device, the first target device is controlled to establish a second connection relationship with the fourth target controller through address information of the fourth target controller, so that the fourth target controller takes over the first target controller through the second connection relationship.
[0134] The satellite control method provided by the embodiment of the application is implemented by the control of the ground network management system, so that the constraint of ground operation and maintenance is increased, and the network management and control capability is improved.
[0135] Further, before storing the controller switching configuration file into the first target device, the satellite control method further comprises:
[0136] The controller switching configuration file is fed back to the first target satellite by the ground network management system through the first target device, and the controller switching configuration file is stored into the first target device; the fault prompt message is sent to the ground network management system by the fourth target controller in advance, and the fault prompt message carries the address information of the fourth target controller and the first state information of the first target controller. The above embodiment can be referred to for explanation, and details are not repeated.
[0137] The satellite control method provided by the embodiment of the application ensures that the device can periodically query the controller switching configuration file by storing the controller switching configuration file into the device in advance.
[0138] Further, the architecture mode comprises a first architecture mode; correspondingly, the control of the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite of the first target controller comprises:
[0139] The third connection relationship is established in response to the third connection relationship established by the fourth target controller according to the third connection relationship establishment request, so that the fourth target controller takes over the first target controller through the third connection relationship. The above embodiment can be referred to for explanation, and details are not repeated.
[0140] The satellite control method provided by the embodiment of the application achieves the purpose of fast controller switching by modifying the device parameters through the direct interface.
[0141] Further, the architecture mode comprises a second architecture mode; correspondingly, the control of the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite of the first target controller comprises:
[0142] The fourth target controller obtains first communication configuration information of the first target device, and sends a connection request to a network configuration protocol port of the first target device according to the first communication configuration information.
[0143] The fourth target controller receives a session connection sent by the first target device according to the connection request, and performs information interaction with the first target device through the session connection to obtain second communication configuration information adapted to the first target device and the fourth target controller, and establishes a fourth connection relationship based on the network configuration protocol according to the second communication configuration information, so that the fourth target controller takes over the first target controller through the fourth connection relationship.
[0144] The satellite control method provided by the embodiment of the application can realize controller switching based on the second architecture mode without the need of pre-setting information of the device or adding new functions to the device.
[0145] Figure 10 is a structural schematic diagram of a satellite control device provided by an embodiment of the application, as shown in Figure 10 The satellite control device provided by the embodiment of the application comprises a sending unit 1001, a determining unit 1002 and a control unit 1003, wherein:
[0146] The sending unit 1001 is configured to send monitoring result information to a second target controller in a preset area in response to first state information of a first target controller in the preset area; the determining unit 1002 is configured to receive feedback information of the second target controller for the monitoring result information, and determine that the first target controller is in a first state if the feedback information is the first state information, and state information obtained in a subsequent first preset time length and the feedback information are the first state information; and the control unit 1003 is configured to determine a fourth target controller according to second state information of a third target controller, and control the fourth target controller to take over the first target controller.
[0147] Specifically, the sending unit 1001 in the device is configured to send monitoring result information to a second target controller in a preset area in response to first state information of a first target controller in the preset area; the determining unit 1002 is configured to receive feedback information of the second target controller for the monitoring result information, and if it is determined that the feedback information is the first state information, and the state information obtained in a subsequent first preset time length and the feedback information are the first state information, it is determined that the first target controller is in a first state, and second state information of a third target controller is obtained; the control unit 1003 is configured to determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0148] The satellite control device provided by the embodiment of the application responds to first state information of a first target controller in a preset area, sends monitoring result information to a second target controller in the preset area, receives feedback information of the second target controller for the monitoring result information, determines that the first target controller is in a first state if it is determined that the feedback information is the first state information, and the state information obtained in a subsequent first preset time length and the feedback information are the first state information, obtains second state information of a third target controller, determines a fourth target controller according to the second state information, and controls the fourth target controller to take over the first target controller. On the one hand, a standby controller does not need to be designed, thereby saving resources. On the other hand, a controller that truly fails can be accurately monitored, thereby improving the rationality of disaster recovery backup.
[0149] The embodiment of the satellite control device provided by the embodiment of the application can be specifically used to execute the processing procedure of each method embodiment described above, and the functions thereof will not be described herein again. The detailed description can be referred to the description of the method embodiments.
[0150] Figure 11 The electronic device entity structure schematic diagram provided by the embodiment of the application is shown in FIG. 1, which includes a processor 1101, a memory 1102 and a bus 1103. Figure 11
[0151] The processor 1101, the memory 1102 and the bus 1103 complete mutual communication through the bus 1103.
[0152] The processor 1101 is configured to call program instructions in the memory 1102 to execute the method provided by each method embodiment described above, for example, including:
[0153] The processor 1101 is configured to call program instructions in the memory 1102 to execute the method provided by each method embodiment described above, for example, including:
[0154] receive feedback information of the second target controller for the monitoring result information, determine the first target controller as the first state if the feedback information is determined as the first state information and the state information obtained in the subsequent first preset time length and the feedback information are the first state information, and obtain second state information of a third target controller;
[0155] determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0156] The embodiment discloses a computer program product, the computer program product comprises a computer program stored on a non-transitory computer readable storage medium, the computer program comprises program instructions, when the program instructions are executed by a computer, the computer can execute the method provided by each method embodiment, for example, comprising:
[0157] in response to the first state information of the first target controller in a preset area, send monitoring result information to a second target controller in the preset area;
[0158] receive feedback information of the second target controller for the monitoring result information, determine the first target controller as the first state if the feedback information is determined as the first state information and the state information obtained in the subsequent first preset time length and the feedback information are the first state information, and obtain second state information of a third target controller;
[0159] determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0160] The embodiment provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program enables the computer to execute the method provided by each method embodiment, for example, comprising:
[0161] in response to the first state information of the first target controller in a preset area, send monitoring result information to a second target controller in the preset area;
[0162] receive feedback information of the second target controller for the monitoring result information, determine the first target controller as the first state if the feedback information is determined as the first state information and the state information obtained in the subsequent first preset time length and the feedback information are the first state information, and obtain second state information of a third target controller;
[0163] determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller.
[0164] Those skilled in the art will appreciate that embodiments of the application can be readily used as a method, a system or a computer program product. Accordingly, the application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer-readable program code.
[0165] The application is described in reference to the flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 means for carrying out each of the
[0166] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 means for carrying out each of the
[0167] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 means for carrying out each of the
[0168] In the description of the present specification, the description of the terms "one embodiment", "one specific embodiment", "some embodiments", "for example", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in one or more embodiments or examples.
[0169] The specific embodiments described above further illustrate the purposes, technical solutions and beneficial effects of the present application. It should be understood that the above description is only for specific embodiments of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A satellite control method, characterized in that: include: In response to first status information of a first target controller in a preset area, sending monitoring result information to a second target controller in the preset area; receiving feedback information from the second target controller regarding the monitoring result information, and if it is determined that the feedback information is the first state information, and state information subsequently acquired within a first preset time period and the feedback information are the first state information, determining that the first target controller is in the first state, and acquiring second state information of the third target controller; determining a fourth target controller according to the second state information, and controlling the fourth target controller to take over the first target controller; The controlling the fourth target controller to take over the first target controller includes: controlling the fourth target controller to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite where the first target controller is located; The architecture mode includes the first architecture mode; accordingly, controlling the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located includes: If it is determined that the duration of the disconnection between the first target device and the first target controller reaches a second preset duration, controlling the first target device to send a connection establishment request to the controller corresponding to the controller address information according to the controller address information pre-configured in the preset area of the first target device; The first target device receives a connection establishment message response from the fourth target controller in response to the connection establishment request, and establishes a first connection relationship between the first target device and the fourth target controller, so that the fourth target controller takes over the first target controller through the first connection relationship.
2. The satellite control method according to claim 1, wherein: The determining a fourth target controller according to the second state information includes: evaluating the state of the third target controller according to the second state information to obtain state evaluation information; The third target controller is filtered according to the state evaluation information to obtain the fourth target controller.
3. The satellite control method according to claim 1, wherein: The architecture mode includes the first architecture mode, and accordingly, controlling the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located includes: If it is determined that the duration of the disconnection between the first target device and the first target controller reaches a second preset duration, controlling the first target device to periodically query whether a controller switching configuration file exists in the first target device; the controller switching configuration file includes address information of the fourth target controller; If it is determined that the controller switching configuration file exists in the first target device, the first target device is controlled to establish a second connection relationship with the fourth target controller through the address information of the fourth target controller, so that the fourth target controller takes over the first target controller through the second connection relationship.
4. The satellite control method according to claim 3, wherein: Before storing the controller switching configuration file to the first target device, the satellite control method further includes: The first target device receives the controller switching configuration file of the first target satellite in response to the fault prompt message fed back by the ground network management system, and stores the controller switching configuration file in the first target device; the fault prompt message is sent to the ground network management system in advance by the fourth target controller, and the fault prompt message carries the address information of the fourth target controller and the first status information of the first target controller.
5. The satellite control method according to claim 1, wherein: The architecture mode includes the first architecture mode; accordingly, controlling the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located includes: In response to the fourth target controller modifying the configuration information of the network management server of the first target device to the address information of the third target controller, restarting the first target device and sending a third connection relationship establishment request to the fourth target controller; In response to the third connection relationship established by the fourth target controller according to the third connection relationship establishment request, the fourth target controller takes over the first target controller through the third connection relationship.
6. The satellite control method according to claim 1, wherein: The architecture mode includes the second architecture mode; accordingly, controlling the fourth target controller to take over the first target controller according to the architecture mode between the fourth target controller and the first target device in the first target satellite where the first target controller is located includes: acquiring, through the fourth target controller, first communication configuration information of the first target device, and sending a connection request to a network configuration protocol port of the first target device according to the first communication configuration information; The fourth target controller receives the session connection sent by the first target device according to the connection request, interacts with the first target device through the session connection, obtains second communication configuration information adapted to the first target device and the fourth target controller, and establishes a fourth connection relationship based on the network configuration protocol according to the second communication configuration information, so that the fourth target controller takes over the first target controller through the fourth connection relationship.
7. A satellite control device, characterized in that: include: a sending unit, configured to send monitoring result information to a second target controller within a preset area in response to first state information of a first target controller within the preset area; a determining unit, configured to receive feedback information from the second target controller regarding the monitoring result information, and if it is determined that the feedback information is the first state information, and if state information subsequently acquired within a first preset time period and the feedback information are the first state information, determine that the first target controller is in the first state, and acquire second state information of the third target controller; a control unit, configured to determine a fourth target controller according to the second state information, and control the fourth target controller to take over the first target controller; The control unit is specifically used for: controlling the fourth target controller to take over the first target controller according to an architecture mode between the fourth target controller and a first target device in a first target satellite where the first target controller is located; The architecture mode includes a first architecture mode; accordingly, the control unit is further specifically configured to: If it is determined that the duration of the disconnection between the first target device and the first target controller reaches a second preset duration, controlling the first target device to send a connection establishment request to the controller corresponding to the controller address information according to the controller address information pre-configured in the preset area of the first target device; The first target device receives a connection establishment message response from the fourth target controller in response to the connection establishment request, and establishes a first connection relationship between the first target device and the fourth target controller, so that the fourth target controller takes over the first target controller through the first connection relationship.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Disaster recovery backup method and system for satellite control center of low-earth-orbit satellite ground measurement and control system
CN110737191A
Cell switching method, cell controller, electronic equipment and storage medium
CN115643619A