Satellite software on-orbit maintenance system and method based on micro-service
Through the microservice-based satellite software in-orbit maintenance system, the problems of shortage of resources, concentrated functions and high risks in the existing technology are solved, and reliable in-orbit maintenance and resource conservation of satellite software are achieved.
Patent Information
- Application Number
- CN202411611753.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-12
AI Technical Summary
Existing satellite software processing methods cannot effectively deal with resource shortage when the data saving upload rate is low. They rely too much on nodes, have too concentrated functions, are risky and have no reliability explanation, and it is difficult to cherish resources and software iteration on-site operating systems.
The microservice-based satellite software in-orbit maintenance system is adopted, including self-management microservice units, task management microservice units, file management microservice units, software version management microservice units and software operation management microservice units, which interact through lightweight communication protocols to achieve independent development, deployment and expansion.
It effectively avoids the problem of over-concentration of functions, reduces the risk of overall problems in the software, improves resource utilization and computing resources savings, and realizes reliable on-orbit maintenance of satellite-borne software.
Smart Images

Figure CN119536782A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of satellite data technology, and in particular relates to a microservice-based satellite software on-orbit maintenance system and method. Background Art
[0002] Microservices is a software architecture pattern that splits a monolithic application into a cluster of services, each of which focuses on a specific business function. Each microservice can be independently developed, deployed and expanded, and interacts through lightweight communication mechanisms. Existing satellite software processing methods do not consider how to deal with the situation of scarce upstream resources when the data upload rate is low, over-reliance on nodes, excessive concentration of functions, high risks and no reliability description. At the same time, in view of the characteristics of precious resources and difficult software iteration of the onboard operating system, the present invention hopes to complete the on-orbit remote maintenance of the onboard software through a unique microservice architecture design. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a satellite software on-orbit maintenance system and method based on microservices.
[0004] The technical solution of the present invention is: a microservice-based satellite software on-orbit maintenance system includes a self-management microservice unit, a task management microservice unit, a file management microservice unit, a software version management microservice unit and a software operation management microservice unit;
[0005] The self-managing microservice unit is used to complete the status management and version management of the satellite software on-orbit maintenance system;
[0006] The task management microservice unit is used to receive, assign and respond to file upload tasks;
[0007] The file management microservice unit is used to complete file upload tasks, including file upload, file download, and file management;
[0008] The software version management microservice unit is used to complete the installation and upgrade of the satellite software on-orbit maintenance system;
[0009] The software operation management microservice unit is used to complete the management of the satellite software on-orbit maintenance system.
[0010] Furthermore, the self-management microservice unit, the task management microservice unit, the file management microservice unit, the software version management microservice unit and the software operation management microservice unit all interact using a communication protocol.
[0011] The beneficial effects of the present invention are as follows: the microservice architecture design of the present invention splits a single application into multiple microservices based on services, each service focuses on a specific business function, each microservice can be independently developed, deployed and expanded, and interacts through a lightweight communication mechanism, thereby effectively avoiding the problem of over-concentration of functions and reducing the risk of overall software problems.
[0012] Based on the above method, the present invention also proposes a microservice-based satellite software on-orbit maintenance method, comprising the following steps:
[0013] S1. Use the task management microservice unit and the file management microservice unit to complete the file upload task;
[0014] S2. Based on the file upload task, the software version management microservice unit is used to complete the installation and upgrade of the satellite software on-orbit maintenance system;
[0015] S3. Use the software operation management microservice unit to complete the management of the satellite software on-orbit maintenance system.
[0016] Furthermore, S1 includes the following sub-steps:
[0017] S11, using the task management microservice unit to receive the file upload task, and assigning the file upload task to the file management microservice unit;
[0018] S12. Utilize the file management microservice unit to receive task parameters corresponding to the file upload task, and execute the file upload task;
[0019] S13. Use the task management microservice unit to integrate the file upload task process of the file management microservice unit, and reply to the file upload task to complete the file upload.
[0020] Furthermore, the task parameters corresponding to the file upload task include the file name, the file path, the file target path, whether the file needs to be differentiated, whether the file needs to be compressed, and the file checksum.
[0021] Furthermore, S2 includes the following sub-steps:
[0022] S21. Utilize the task management microservice unit to parse the file upload task;
[0023] S22. Analyze the task parameters corresponding to the file upload task using the file management microservice unit;
[0024] S23, based on the task parameters corresponding to the file upload task, using the task management microservice unit to receive the on-orbit maintenance system installation task;
[0025] S24. Decompress and statically verify the on-orbit maintenance system installation task using the software version management microservice unit;
[0026] S25, using the software version management microservice unit to add the decompressed and statically verified on-orbit maintenance system installation task to the software status management list for verification;
[0027] S26. Use the task management microservice unit to integrate the on-orbit maintenance system installation task process after operation verification to complete the installation and upgrade of the on-orbit maintenance system.
[0028] Furthermore, S3 includes the following sub-steps:
[0029] S31, using the task management microservice unit to receive the software management task;
[0030] S32, using the file management microservice unit to receive task parameters corresponding to the software management task, and execute the software management task;
[0031] S33, parsing software management tasks using the task management microservice unit;
[0032] S34. Utilize the software operation management microservice unit to execute the file download operation when there is a file download operation in the parsed software management task, so as to complete the management of the satellite software on-orbit maintenance system.
[0033] The beneficial effects of the present invention are:
[0034] (1) The task management microservice of the present invention is responsible for the on-orbit maintenance of other software, and the self-management microservice is responsible for the on-orbit maintenance of the software itself, thereby realizing the on-orbit maintenance of other software and itself;
[0035] (2) The present invention takes into account the resource issues of the satellite-ground injection channel and supports file differentiation and compression to reduce the injection data, thereby improving the effective utilization rate of the injection channel. When there is no service request on the satellite server based on the microservice architecture, the corresponding microservice will be activated on demand according to the combination of different modes and states of the task management microservice, saving precious computing resources on the satellite. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a schematic diagram of the structure of the satellite software on-orbit maintenance system based on microservices;
[0037] Figure 2 It is a flowchart of the on-orbit maintenance method of satellite software based on microservices;
[0038] Figure 3 Flowchart for quick file upload;
[0039] Figure 4A flowchart for software installation / upgrade functions;
[0040] Figure 5 Flowchart of software management functions. DETAILED DESCRIPTION
[0041] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0042] like Figure 1 As shown, the present invention provides a microservice-based satellite software on-orbit maintenance system, which includes a self-management microservice unit, a task management microservice unit, a file management microservice unit, a software version management microservice unit, and a software operation management microservice unit;
[0043] The self-managing microservice unit is used to complete the status management and version management of the satellite software on-orbit maintenance system;
[0044] The task management microservice unit is used to receive, assign and respond to file upload tasks;
[0045] The file management microservice unit is used to complete file upload tasks, including file upload, file download, and file management;
[0046] The software version management microservice unit is used to complete the installation and upgrade of the satellite software on-orbit maintenance system;
[0047] The software operation management microservice unit is used to complete the management of the satellite software on-orbit maintenance system.
[0048] In an embodiment of the present invention, the self-management microservice unit, the task management microservice unit, the file management microservice unit, the software version management microservice unit and the software operation management microservice unit all interact using a communication protocol.
[0049] Microservices interact using lightweight communication protocols. Each microservice can be independently expanded and upgraded to achieve high availability and easy scalability. Through the microservice architecture, this software can achieve loosely coupled, highly available, scalable and easy-to-maintain system design. The on-orbit maintenance software realizes the on-orbit maintenance function of the satellite-borne software by realizing the rapid upload of files, installation, upgrade and management of application software.
[0050] Based on the above system, the present invention also proposes a satellite software on-orbit maintenance method based on microservices, such as Figure 2 As shown, the following steps are included:
[0051] S1. Use the task management microservice unit and the file management microservice unit to complete the file upload task;
[0052] S2. Based on the file upload task, the software version management microservice unit is used to complete the installation and upgrade of the satellite software on-orbit maintenance system;
[0053] S3. Use the software operation management microservice unit to complete the management of the satellite software on-orbit maintenance system.
[0054] In this embodiment of the present invention, S1 includes the following sub-steps:
[0055] S11, using the task management microservice unit to receive the file upload task, and assigning the file upload task to the file management microservice unit;
[0056] S12. Utilize the file management microservice unit to receive task parameters corresponding to the file upload task, and execute the file upload task;
[0057] S13. Use the task management microservice unit to integrate the file upload task process of the file management microservice unit, and reply to the file upload task to complete the file upload.
[0058] In the embodiment of the present invention, the task parameters corresponding to the file upload task include the file name, the file path, the file target path, whether the file needs to be differentiated, whether the file needs to be compressed, and the file check code.
[0059] In this embodiment of the present invention, S2 includes the following sub-steps:
[0060] S21. Utilize the task management microservice unit to parse the file upload task;
[0061] S22. Analyze the task parameters corresponding to the file upload task using the file management microservice unit;
[0062] S23, based on the task parameters corresponding to the file upload task, using the task management microservice unit to receive the on-orbit maintenance system installation task;
[0063] S24. Decompress and statically verify the on-orbit maintenance system installation task using the software version management microservice unit;
[0064] S25, using the software version management microservice unit to add the decompressed and statically verified on-orbit maintenance system installation task to the software status management list for verification;
[0065] S26. Use the task management microservice unit to integrate the on-orbit maintenance system installation task process after operation verification to complete the installation and upgrade of the on-orbit maintenance system.
[0066] In this embodiment of the present invention, S3 includes the following sub-steps:
[0067] S31, using the task management microservice unit to receive the software management task;
[0068] S32, using the file management microservice unit to receive task parameters corresponding to the software management task, and execute the software management task;
[0069] S33, parsing software management tasks using the task management microservice unit;
[0070] S34. Utilize the software operation management microservice unit to execute the file download operation when there is a file download operation in the parsed software management task, so as to complete the management of the satellite software on-orbit maintenance system.
[0071] In the embodiment of the present invention, Figure 3 As shown in FIG. 1 , the fast file upload function flow of the present invention can upload the files to be uploaded to the satellite through the ground client.
[0072] Step A1101, the ground end of the on-orbit maintenance application software determines the status of the data transmission channel link by checking the status of the communication ports for data uplink and data downlink. The next step can be performed only when the channel link status is normal.
[0073] Step A1102: The ground terminal of the on-orbit maintenance application software provides a user interface for inputting parameters for rapid file upload, and the user inputs parameters related to rapid file upload, including parameters such as file name, file path, file target path, whether the file needs to be differentiated, whether the file needs to be compressed, and file checksum;
[0074] Step A1103: The ground terminal of the on-orbit maintenance application software determines whether file difference needs to be performed according to the parameters input by the user, and then performs the file difference operation;
[0075] Step A1104: The ground terminal of the on-orbit maintenance application software determines whether file compression is required according to the parameters input by the user, and then performs a file compression operation;
[0076] Step A1105: The ground terminal of the on-orbit maintenance application software checks the file size to determine whether it exceeds the size of the latest uploaded data packet, thereby determining whether the file needs to be split;
[0077] Step A1106: The ground end of the on-orbit maintenance application software encapsulates the file upload data packet to form an upload data frame, and starts sending the data frame to the upload port of the data support software;
[0078] Step A1201, the data support software receives the data from the ground end, and sends it to the target satellite software of the target satellite device through the satellite service system through the knowledge channel;
[0079] Step A1301, the task management microservice of the on-board server of the on-orbit maintenance application software receives the data frame and parses the file fast upload task, on the one hand replies to the task processing progress of the ground end, on the other hand forwards the task to the file management microservice, which specifically processes the task;
[0080] Step A1202: The data support software receives data from the onboard server and sends it to the ground terminal through a downlink channel;
[0081] Step A1302, the file management microservice of the on-board server of the on-orbit maintenance application software receives the file fast upload task parameters, receives and verifies the relevant data, and makes a resend request to the ground end for the missing data by the task management microservice; when the data is completely received and verified, it starts to choose whether to perform file decompression, file merging (file difference inverse operation) and other operations according to the relevant parameters; after the task is completed, the task management microservice is notified;
[0082] Step A1303: The task management microservice of the on-board server of the on-orbit maintenance application software integrates the task process of the file management microservice and sends it to the ground terminal through the data support software;
[0083] Step A1203: the data support software forwards the process parameters of the task execution to the ground terminal;
[0084] Step A1107, the ground end of the on-orbit maintenance application software receives the data frame from the data downlink port of the data support software and parses its content to determine whether the file upload task is completed, and displays the task completion progress to the user through the UI.
[0085] In the embodiment of the present invention, Figure 4 The figure shows the software installation / upgrade function flow of the present invention. After the software to be installed / upgraded transmits the file installation / upgrade package to the satellite through the file upload function, the satellite server of the remote operation application software unpacks and installs / upgrades it. The installed / upgraded application software can be managed by the remote operation application software later.
[0086] Step B2101, the ground end of the on-orbit maintenance application software determines the status of the data transmission channel link by checking the status of the communication ports for data uplink and data downlink. The next step can be performed only when the channel link status is normal;
[0087] Step B2102: The ground terminal of the on-orbit maintenance application software provides the user with an input interface for software installation / upgrade parameters, and the user inputs software installation / upgrade related parameters, including software installation / upgrade version, software installation / upgrade path, software name, and software startup method;
[0088] Step B2103: The ground terminal of the on-orbit maintenance application software performs a legality monitoring based on the parameters input by the user, and the following steps can be performed only after the parameters are legal.
[0089] Step B2104: The ground terminal of the on-orbit maintenance application software constructs a software installation / upgrade task and a file upload task according to the parameters input by the user, uses the file quick upload function of steps B1101 to B1107 to first upload the installation / upgrade file, then uploads the software installation / upgrade task, and executes the software installation / upgrade task;
[0090] Steps B2201 to B2204, the data support software communicates with the ground end and the satellite end of the on-board maintenance software through the data transmission channel;
[0091] Step B2301, the task management microservice of the on-board server of the on-orbit maintenance application software receives the data frame and parses the file fast upload task, on the one hand replies to the task processing progress of the ground end, on the other hand forwards the task to the file management microservice, which specifically processes the task;
[0092] Step B2302, the file management microservice of the on-board server of the on-orbit maintenance application software receives the task parameters for rapid file upload, receives and verifies the relevant data, and makes a resend request to the ground end for the missing data by the task management microservice; when the data is completely received and verified, it starts to choose whether to perform operations such as file decompression and file merging (file differential inverse operation) according to the relevant parameters; after the task is completed, the task management microservice is notified;
[0093] Step B2303: The task management microservice of the on-board server of the on-orbit maintenance application software receives the data frame and parses the software installation task, and on the one hand, replies to the task processing progress of the ground end, and on the other hand, forwards the task to the software version management microservice, which specifically processes the task;
[0094] Step B2304: The software version management microservice of the on-board server of the on-orbit maintenance application software receives the software installation / upgrade task parameters, decompresses the software installation / upgrade package and performs static verification; and informs the task management microservice of the task completion status;
[0095] Step B2305: The software operation management microservice of the on-board server of the on-orbit maintenance application software receives the software installation / upgrade task parameters, manages and registers the installed / upgraded software, adds it to the software status management list, and verifies it; and informs the task management microservice of the task completion status;
[0096] Step B2306: The task management microservice of the on-board server of the on-orbit maintenance application software integrates the task process of the software version management microservice and the task process of the software operation management microservice and sends them to the ground terminal through the data support software;
[0097] Step B2105: The ground end of the on-orbit maintenance application software receives the data frame from the data support software data downlink port and parses its content to determine whether the software installation / upgrade task is completed, and displays the task completion progress to the user through the UI.
[0098] In the embodiment of the present invention, Figure 5 The software management function flow of the present invention is shown in the figure. This software manages other application software through the integrated electronic subsystem, including operations on them, such as starting, shutting down, uninstalling, etc.; interaction with their application functions, such as inputting and changing parameters, obtaining their operating parameters, changing data storage paths, etc.; and software operation scheduling, including stopping the addition of subsequent processes when system resources are insufficient, uploading the operating status of the application software to the ground, etc. The application software management function is considered to be performed in the form of graphical interface operation through the ground client software.
[0099] Step C3101: The ground end of the on-orbit maintenance application software determines the status of the data transmission channel link by checking the status of the communication ports for data uplink and data downlink. The next step can be performed only when the channel link status is normal;
[0100] Step C3102: The ground terminal of the on-orbit maintenance application software provides the user with an input interface for software management parameters, and the user inputs parameters such as software operation type and software operation parameters;
[0101] Step C3103: The ground terminal of the on-orbit maintenance application software performs a legality monitoring based on the parameters input by the user, and the following steps can be performed only after the parameters are legal.
[0102] Step C3104: The ground terminal of the on-orbit maintenance application software constructs a software management task and a file upload task according to the parameters input by the user, uses the file quick upload function of steps C1101 to C1107 to first upload the installation file, then uploads the software management task, and executes the software management task;
[0103] Steps C3201 to C3204, the data support software communicates with the ground end and the satellite end of the on-board maintenance software through the data transmission channel;
[0104] Step C3301: The task management microservice of the on-board server of the on-orbit maintenance application software receives the data frame and parses the file fast upload task, and on the one hand, replies to the task processing progress of the ground end, and on the other hand, forwards the task to the file management microservice, which specifically processes the task;
[0105] Step C3302, the file management microservice of the on-board server of the on-orbit maintenance application software receives the file fast upload task parameters, receives and verifies the relevant data, and makes a resend request to the ground end for the missing data by the task management microservice; when the data is completely received and verified, it starts to choose whether to perform file decompression, file merging (file difference inverse operation) and other operations according to the relevant parameters; after the task is completed, the task management microservice is notified;
[0106] Step C3303: The task management microservice of the on-board server of the on-orbit maintenance application software receives the data frame and parses the software management task, and on the one hand, replies to the task processing progress of the ground end, and on the other hand, forwards the task to the software operation management microservice, which specifically processes the task;
[0107] Step C3304: The software operation management microservice of the on-board server of the on-orbit maintenance application software determines whether a file download operation is involved, and if so, performs the software download operation; then performs other software management operations; and informs the task management microservice of the task completion status;
[0108] Step C3305: The task management microservice of the on-board server of the on-orbit maintenance application software integrates the task process of the software operation management microservice and sends it to the ground terminal through the data support software;
[0109] Step C3105: The ground end of the on-orbit maintenance application software receives the data frame from the data support software data downlink port and parses its content to determine whether the software installation task is completed, and displays the task completion progress to the user through the UI.
[0110] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A satellite software on-orbit maintenance system based on microservices, characterized in that: Including self-management microservice unit, task management microservice unit, file management microservice unit, software version management microservice unit and software operation management microservice unit; The self-management microservice unit is used to complete the status management and version management of the satellite software on-orbit maintenance system; The task management microservice unit is used to receive, assign and reply to file upload tasks; The file management microservice unit is used to complete file upload tasks, including file upload, file download and file management; The software version management microservice unit is used to complete the installation and upgrade of the satellite software on-orbit maintenance system; The software operation management microservice unit is used to complete the management of the satellite software on-orbit maintenance system.
2. The microservice-based satellite software on-orbit maintenance system according to claim 1, characterized in that: The self-management microservice unit, the task management microservice unit, the file management microservice unit, the software version management microservice unit and the software operation management microservice unit all interact using a communication protocol.
3. A satellite software on-orbit maintenance method based on microservices, characterized in that: The following steps are involved: S1. Use the task management microservice unit and the file management microservice unit to complete the file upload task; S2. Based on the file upload task, the software version management microservice unit is used to complete the installation and upgrade of the satellite software on-orbit maintenance system; S3. Use the software operation management microservice unit to complete the management of the satellite software on-orbit maintenance system.
4. The microservice-based satellite software on-orbit maintenance method according to claim 3, characterized in that: The S1 comprises the following sub-steps: S11, using the task management microservice unit to receive the file upload task, and assigning the file upload task to the file management microservice unit; S12. Utilize the file management microservice unit to receive task parameters corresponding to the file upload task, and execute the file upload task; S13. Use the task management microservice unit to integrate the file upload task process of the file management microservice unit, and reply to the file upload task to complete the file upload.
5. The microservice-based on-orbit satellite software maintenance method according to claim 4, characterized in that: The task parameters corresponding to the file upload task include the file name, file path, file target path, whether the file needs to be differentiated, whether the file needs to be compressed, and the file check code.
6. The microservice-based satellite software on-orbit maintenance method according to claim 3, characterized in that: The S2 comprises the following sub-steps: S21. Utilize the task management microservice unit to parse the file upload task; S22. Analyze the task parameters corresponding to the file upload task using the file management microservice unit; S23, based on the task parameters corresponding to the file upload task, using the task management microservice unit to receive the on-orbit maintenance system installation task; S24. Decompress and statically verify the on-orbit maintenance system installation task using the software version management microservice unit; S25, using the software version management microservice unit to add the decompressed and statically verified on-orbit maintenance system installation task to the software status management list for verification; S26. Use the task management microservice unit to integrate the on-orbit maintenance system installation task process after operation verification to complete the installation and upgrade of the on-orbit maintenance system.
7. The microservice-based on-orbit satellite software maintenance method according to claim 3, characterized in that: The S3 comprises the following sub-steps: S31, using the task management microservice unit to receive the software management task; S32, using the file management microservice unit to receive task parameters corresponding to the software management task, and execute the software management task; S33, parsing software management tasks using the task management microservice unit; S34. Utilize the software operation management microservice unit to execute the file download operation when there is a file download operation in the parsed software management task, so as to complete the management of the satellite software on-orbit maintenance system.
Citation Information
Patent Citations
Satellite ground station monitoring management architecture based on micro-service
CN112787708A
File-based method and system for supporting multi-application multi-version incremental upgrade
CN117270930A
Satellite constellation software on-orbit upgrade and maintenance system and method
CN117931256A
Method for achieving software development transaction and electronic device
WO2015144012A1