Spacecraft flight program injection method and device
By responding to the maintenance mode and orbital control instructions monitoring results of the spacecraft flight program, preset frame formation strategies and injection strategies are adopted to solve the problem that the spacecraft flight program injection method cannot take into account multiple aspects, and the comprehensive performance and safety of injection is improved .
Patent Information
- Application Number
- CN202411272153.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-10
AI Technical Summary
The existing spacecraft flight program injection method cannot fully take into account the high requirements of spacecraft flight program bearing, adaptation of emergency conditions, program injection update timeliness and safety, resulting in complex control strategies and ineffective resolution.
A spacecraft flight program injection method is proposed. By selecting the maintenance mode of the spacecraft flight program in response, the spacecraft flight program carried based on the preset frame grouping strategy is called, and the target data injection strategy is called according to the monitoring results of the orbital control instructions. Cross-cover or seamless injection strategy, adapts to normal and emergency conditions, and ensures the safety and efficiency of the injected flight procedures.
It achieves a comprehensive consideration of spacecraft flight procedures, improves the comprehensive performance of injection, ensures the safety and efficiency of flight procedures, and adapts to maintenance needs under different working conditions.
Smart Images

Figure CN119292622A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerospace measurement and control technology, and in particular to a method and device for injecting a spacecraft flight program. Background Art
[0002] Spacecraft require autonomous and flexible control strategies. The existing method is to inject spacecraft flight programs into the spacecraft, control the spacecraft through the spacecraft flight programs, and then complete the space measurement and control mission.
[0003] With the increasing requirements of space measurement and control missions, control strategies have become more complex, and higher requirements have been put forward on many aspects involved in injecting spacecraft flight programs, such as spacecraft flight program carrying, adaptation to emergency conditions, timeliness and safety of program injection updates. The existing spacecraft flight program injection methods cannot fully take into account all of the above aspects. Summary of the invention
[0004] In view of the problems in the prior art, an embodiment of the present invention provides a method and device for injecting a spacecraft flight program, which can at least partially solve the problems in the prior art.
[0005] On the one hand, the present invention provides a method for injecting a spacecraft flight program, comprising:
[0006] In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0007] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0008] The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
[0009] Wherein, carrying the spacecraft flight program based on a preset framing strategy includes:
[0010] Acquire the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, and the second longest byte length of the data tube user injection format;
[0011] If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of half of the difference is used as the used byte length of the digital tube user injection format.
[0012] The triggering action of responding to the selection of the maintenance mode of the spacecraft flight program, calling the spacecraft flight program carried based on the preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode includes:
[0013] In response to a triggering action of a maintenance mode of a spacecraft flight program selected by a digital management user according to working condition information, the spacecraft flight program carried based on a preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode;
[0014] Among them, the target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting. The deleting and adding corresponds to the normal working condition, and the deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting all correspond to the emergency working condition.
[0015] The step of calling the target data injection strategy according to the monitoring result of the orbit control instruction includes:
[0016] If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is greater than or equal to the preset time interval, determining the cross-coverage injection strategy as the target data injection strategy;
[0017] The cross-coverage injection strategy is that there is a supplementary injection interval between any two adjacent injection contents.
[0018] The step of calling the target data injection strategy according to the monitoring result of the orbit control instruction includes:
[0019] If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is less than the preset time interval, determining the seamless connection injection strategy as the target data injection strategy;
[0020] The seamless injection strategy is that there is no supplementary injection interval between any two adjacent injections.
[0021] In one aspect, the present invention provides a spacecraft flight program injection device, comprising:
[0022] A maintenance unit, configured to respond to a triggering action of selecting a maintenance mode of a spacecraft flight program, call a spacecraft flight program carried based on a preset framing strategy, and maintain the spacecraft flight program according to the selected target maintenance mode;
[0023] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0024] The injection unit is used to call the target data injection strategy according to the monitoring result of the orbit control instruction, and inject the flight program of the spacecraft that has completed maintenance according to the target data injection strategy.
[0025] Wherein, the spacecraft flight program injection device is also used for:
[0026] Acquire the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, and the second longest byte length of the data tube user injection format;
[0027] If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of half of the difference is used as the used byte length of the digital tube user injection format.
[0028] Wherein, the maintenance unit is specifically used for:
[0029] In response to a triggering action of a maintenance mode of a spacecraft flight program selected by a digital management user according to working condition information, the spacecraft flight program carried based on a preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode;
[0030] Among them, the target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting. The deleting and adding corresponds to the normal working condition, and the deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting all correspond to the emergency working condition.
[0031] In another aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein:
[0032] The processor and the memory communicate with each other via the bus;
[0033] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the following method:
[0034] In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0035] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0036] The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
[0037] An embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
[0038] The non-transitory computer-readable storage medium stores computer instructions, which cause the computer to execute the following method:
[0039] In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0040] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0041] The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
[0042] The spacecraft flight program injection method and device provided in the embodiment of the present invention respond to the trigger action of selecting the maintenance mode of the spacecraft flight program, call the spacecraft flight program carried by the preset framing strategy, and maintain the spacecraft flight program according to the selected target maintenance mode; wherein the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions; the target data injection strategy is called according to the monitoring results of the orbit control instruction, and the spacecraft flight program that has completed maintenance is injected according to the target data injection strategy, which can comprehensively take into account the many aspects involved in injecting the spacecraft flight program and improve the comprehensive performance of the spacecraft flight program injection. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0044] Figure 1 It is a flowchart of a method for injecting a spacecraft flight program provided in one embodiment of the present invention.
[0045] Figure 2It is a flowchart of a method for injecting a spacecraft flight program provided by another embodiment of the present invention.
[0046] Figure 3 It is a schematic diagram illustrating the cross-coverage injection strategy provided by an embodiment of the present invention.
[0047] Figure 4 It is a schematic diagram of the structure of a spacecraft flight program injection device provided by one embodiment of the present invention.
[0048] Figure 5 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.
[0050] Figure 1 FIG. 1 is a flow chart of a method for injecting a spacecraft flight program according to an embodiment of the present invention. Figure 1 As shown, the spacecraft flight program injection method provided by the embodiment of the present invention includes:
[0051] Step S1: In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0052] The preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is adapted to normal working conditions and emergency working conditions respectively.
[0053] Step S2: calling the target data injection strategy according to the monitoring result of the orbit control instruction, and injecting the flight program of the spacecraft that has completed maintenance according to the target data injection strategy.
[0054] In the above step S1, the device responds to the trigger action of selecting the maintenance mode of the spacecraft flight program, calls the spacecraft flight program carried based on the preset framing strategy, and maintains the spacecraft flight program according to the selected target maintenance mode;
[0055] The preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is adapted to normal working conditions and emergency working conditions respectively. The device can be a computer device that executes the method, for example, it can include a spacecraft flight control server. It should be noted that the acquisition and analysis of data involved in the embodiments of the present invention are authorized by the user.
[0056] The spacecraft flight program is carried based on a preset framing strategy, including:
[0057] Acquire the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, and the second longest byte length of the data tube user injection format;
[0058] If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of half of the difference is used as the used byte length of the digital tube user injection format.
[0059] By eliminating the conflict between the frame requirements of the spacecraft remote control data frame format and the digital tube user injection format and appropriately shortening the maximum length of the digital tube user injection format, a framing strategy is constructed in which each remote control data frame carries two digital tube users.
[0060] Appropriately shorten the maximum length of the data tube user injection format to maximize the spacecraft remote control data frame to carry the flight program content, such as Figure 2 The specific strategies are as follows:
[0061] Assume that m is the first longest byte length of the spacecraft remote control data frame format, n is the second longest byte length of the digital tube user injection format, l is the used byte length of the digital tube user injection format, and r is the sum of the frame header and frame tail byte lengths of the spacecraft remote control data frame format. It is known that m, n, l and r are integers. If n<(mr)<2n, then take l=[(mr) / 2], that is, the integer part of (mr) / 2, so that each remote control data frame of the spacecraft carries two digital tube user injection format frames, thereby maximizing the capacity of carrying spacecraft flight programs.
[0062] The triggering action of selecting the maintenance mode of the spacecraft flight program in response to the above-mentioned operation, calling the spacecraft flight program carried by the preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode, includes:
[0063] In response to a triggering action of a maintenance mode of a spacecraft flight program selected by a digital management user according to working condition information, the spacecraft flight program carried based on a preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode;
[0064] The target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and adding only without deleting. The deleting and adding corresponds to the normal working condition, and deleting first and then adding, deleting and adding in blocks at a time, and adding only without deleting all correspond to the emergency working condition. The specific description is as follows:
[0065] The "delete and add" mode means that each injected data block first deletes the old data of the specified time period, and then updates the new data of the same time period to ensure the safety of the injection implementation. This mode is selected under normal circumstances.
[0066] The "delete first, then add" mode refers to a mode in which the first injected data block deletes the old data of the specified time period, and the subsequent injected data blocks update the new data of the same time period. This mode is selected when it is necessary to delete the old data on the spacecraft first in an emergency situation.
[0067] The "one-time deletion and block addition" mode means that the first injected data block deletes the old data of all flight programs in the RAM area, and the subsequent injected data blocks update the new data for a specified time period. This mode is selected when it is necessary to delete all old data on the spacecraft in an emergency.
[0068] The "only add but not delete" mode refers to a mode in which new data in a specified time period is updated only by injecting data blocks. This mode is selected in emergency situations when it is necessary to add some instructions during a certain time period on the spacecraft without affecting the instructions on it.
[0069] In the above step S2, the device calls the target data injection strategy according to the monitoring result of the orbit control instruction, and injects the flight program of the spacecraft that has completed maintenance according to the target data injection strategy. The flight program of the spacecraft that has completed maintenance can be injected into the spacecraft flight controller, and the spacecraft flight control can be realized through the spacecraft flight controller.
[0070] The method of calling the target data injection strategy according to the monitoring result of the orbit control instruction includes:
[0071] If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is greater than or equal to the preset time interval, determining the cross-coverage injection strategy as the target data injection strategy;
[0072] The cross-coverage injection strategy is that there is a supplementary injection interval between any two adjacent injection contents. Figure 3 The specific instructions are as follows:
[0073] Under normal circumstances, that is, the above time interval is greater than or equal to the preset time interval, reflecting that the orbit control instructions implemented on the ground are relatively sparse, the flight program data injection uses a cross-coverage method. In principle, the update cycles of each flight program injection content cover several cycles after the next flight program data injection time. For example, when a spacecraft flies around the earth, each injection of the spacecraft flight program can correspond to the spacecraft flying 4-5 circles around the earth. When the spacecraft has flown 3-4 circles around the earth, the next spacecraft flight program can be injected.
[0074] This can ensure that when a data injection fails, the spacecraft flight program data will still have a certain degree of accuracy before the next data injection, and there will be sufficient measurement and control arcs to supplement the current injection before the next scheduled injection time. That is, the flight program injection content starts after leaving the current backup injection station, and at least covers the period after the next flight program injection backup station leaves the station.
[0075] The method of calling the target data injection strategy according to the monitoring result of the orbit control instruction includes:
[0076] If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is less than the preset time interval, determining the seamless connection injection strategy as the target data injection strategy;
[0077] The seamless connection injection strategy is that there is no supplementary injection interval between any two adjacent injections. The specific description is as follows:
[0078] In special circumstances, that is, the above time interval is less than the preset time interval, reflecting that the orbit control instructions implemented on the ground are relatively dense. In order to avoid injecting data of two orbit controls at the same time before one orbit control, some data injection is injected in a seamless manner.
[0079] The spacecraft flight program injection method provided by the embodiment of the present invention has the following beneficial technical effects:
[0080] 1. A method for generating spacecraft injection data and constructing injection strategies is designed.
[0081] 2. The framing requirements and conflicts between the spacecraft remote control data frame format and the digital tube user injection format were solved, and a framing strategy was constructed in which each remote control data frame carries two digital tube users, which improves the maximum carrying capacity of the spacecraft remote control data frame and increases the efficiency of flight program injection.
[0082] 3. Created four RAM area flight program maintenance modes, and solved the problem of flight program maintenance mode selection under different spacecraft working conditions.
[0083] 4. The safety issue of flight program injection has been solved, and a cross-coverage injection strategy and seamless maintenance mode for relay updates of flight programs in the RAM area have been established.
[0084] The spacecraft flight program injection method provided in the embodiment of the present invention responds to the trigger action of selecting the maintenance mode of the spacecraft flight program, calls the spacecraft flight program carried by the preset framing strategy, and maintains the spacecraft flight program according to the selected target maintenance mode; wherein the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions; calls the target data injection strategy according to the monitoring results of the orbit control instruction, and injects the spacecraft flight program that has completed maintenance according to the target data injection strategy, which can comprehensively take into account the many aspects involved in injecting the spacecraft flight program and improve the comprehensive performance of the spacecraft flight program injection.
[0085] Further, carrying the spacecraft flight program based on a preset framing strategy includes:
[0086] Obtain the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, as well as the second longest byte length of the data tube user injection format; refer to the above embodiment for description and no further details will be given.
[0087] If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of one-half of the difference is used as the byte length used for the data pipe user injection format. The above embodiment can be referred to for explanation and will not be repeated here.
[0088] Further, the triggering action of selecting the maintenance mode of the spacecraft flight program in response to calling the spacecraft flight program carried based on the preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode includes:
[0089] In response to the triggering action of the digital management user selecting the maintenance mode of the spacecraft flight program according to the working condition information, the spacecraft flight program carried by the preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode; the above-mentioned embodiment can be referred to for description and will not be repeated here.
[0090] The target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and adding only without deleting. The deleting and adding corresponds to the normal working condition, and deleting first and then adding, deleting and adding in blocks at a time, and adding only without deleting all correspond to the emergency working condition. The above embodiments can be referred to for explanation and will not be repeated here.
[0091] Furthermore, calling the target data injection strategy according to the monitoring result of the orbit control instruction includes:
[0092] If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is greater than or equal to the preset time interval, the cross-coverage injection strategy is determined as the target data injection strategy; refer to the above embodiment for description and no further details are given.
[0093] The cross-coverage injection strategy is that there is a supplementary injection interval between any two adjacent injection contents. Please refer to the above embodiment for explanation, and no further description is given.
[0094] Furthermore, calling the target data injection strategy according to the monitoring result of the orbit control instruction includes:
[0095] If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is less than the preset time interval, the seamless connection injection strategy is determined to be the target data injection strategy; the above embodiment can be referred to for description and will not be repeated here.
[0096] The seamless connection injection strategy is that there is no supplementary injection interval between any two adjacent injections. Please refer to the above embodiment for explanation, which will not be described in detail.
[0097] Figure 4 FIG. 1 is a schematic diagram of the structure of a spacecraft flight program injection device provided by an embodiment of the present invention. Figure 4 As shown, the spacecraft flight program injection device provided by the embodiment of the present invention includes a maintenance unit 401 and an injection unit 402, wherein:
[0098] The maintenance unit 401 is used to respond to the triggering action of selecting the maintenance mode of the spacecraft flight program, call the spacecraft flight program carried by the preset framing strategy, and maintain the spacecraft flight program according to the selected target maintenance mode; wherein the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is adapted to normal working conditions and emergency working conditions respectively; the injection unit 402 is used to call the target data injection strategy according to the monitoring results of the orbit control command, and inject the spacecraft flight program that has completed maintenance according to the target data injection strategy.
[0099] Specifically, the maintenance unit 401 in the device is used to respond to the trigger action of selecting the maintenance mode of the spacecraft flight program, call the spacecraft flight program carried by the preset framing strategy, and maintain the spacecraft flight program according to the selected target maintenance mode; wherein the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is adapted to normal working conditions and emergency working conditions respectively; the injection unit 402 is used to call the target data injection strategy according to the monitoring results of the orbit control instruction, and inject the spacecraft flight program that has completed maintenance according to the target data injection strategy.
[0100] The spacecraft flight program injection device provided in the embodiment of the present invention responds to the trigger action of selecting the maintenance mode of the spacecraft flight program, calls the spacecraft flight program carried by the preset framing strategy, and maintains the spacecraft flight program according to the selected target maintenance mode; wherein the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions; the target data injection strategy is called according to the monitoring results of the orbit control instruction, and the spacecraft flight program that has completed maintenance is injected according to the target data injection strategy, which can comprehensively take into account the many aspects involved in injecting the spacecraft flight program and improve the comprehensive performance of the spacecraft flight program injection.
[0101] Furthermore, the spacecraft flight program injection device is also used for:
[0102] Acquire the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, and the second longest byte length of the data tube user injection format;
[0103] If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of half of the difference is used as the used byte length of the digital tube user injection format.
[0104] Furthermore, the maintenance unit 401 is specifically used for:
[0105] In response to a triggering action of a maintenance mode of a spacecraft flight program selected by a digital management user according to working condition information, the spacecraft flight program carried based on a preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode;
[0106] Among them, the target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting. The deleting and adding corresponds to the normal working condition, and the deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting all correspond to the emergency working condition.
[0107] The embodiment of the spacecraft flight program injection device provided by the embodiment of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments. Its functions are not repeated here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0108] Figure 5 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as Figure 5 As shown, the electronic device includes: a processor (processor) 501, a memory (memory) 502 and a bus 503;
[0109] The processor 501 and the memory 502 communicate with each other via a bus 503;
[0110] The processor 501 is used to call the program instructions in the memory 502 to execute the methods provided by the above method embodiments, for example, including:
[0111] In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0112] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0113] The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
[0114] This embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can perform the methods provided by the above method embodiments, for example, including:
[0115] In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0116] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0117] The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
[0118] This embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program enables the computer to execute the methods provided by the above method embodiments, for example, including:
[0119] In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode;
[0120] Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions;
[0121] The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
[0122] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0124] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0126] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0127] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for injecting a spacecraft flight program, characterized in that: include: In response to a triggering action of selecting a maintenance mode of a spacecraft flight program, calling a spacecraft flight program carried based on a preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode; Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions; The target data injection strategy is called according to the monitoring result of the orbit control instruction, and the flight program of the spacecraft that has completed maintenance is injected according to the target data injection strategy.
2. The method for injecting a spacecraft flight program according to claim 1, characterized in that: The spacecraft flight program is carried based on a preset framing strategy, including: Acquire the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, and the second longest byte length of the data tube user injection format; If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of half of the difference is used as the used byte length of the digital tube user injection format.
3. The method for injecting a spacecraft flight program according to claim 1, characterized in that: The triggering action of selecting the maintenance mode of the spacecraft flight program in response to the above-mentioned operation, calling the spacecraft flight program carried by the preset framing strategy, and maintaining the spacecraft flight program according to the selected target maintenance mode, includes: In response to a triggering action of a maintenance mode of a spacecraft flight program selected by a digital management user according to working condition information, the spacecraft flight program carried based on a preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode; Among them, the target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting. The deleting and adding corresponds to the normal working condition, and the deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting all correspond to the emergency working condition.
4. The method for injecting a spacecraft flight program according to claim 1, characterized in that: The method of calling the target data injection strategy according to the monitoring result of the orbit control instruction includes: If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is greater than or equal to the preset time interval, determining the cross-coverage injection strategy as the target data injection strategy; The cross-coverage injection strategy is that there is a supplementary injection interval between any two adjacent injection contents.
5. The method for injecting a spacecraft flight program according to claim 1, characterized in that: The method of calling the target data injection strategy according to the monitoring result of the orbit control instruction includes: If it is determined that the time interval between the current orbit control instruction corresponding to the current moment and the predicted next orbit control instruction is less than the preset time interval, determining the seamless connection injection strategy as the target data injection strategy; The seamless injection strategy is that there is no supplementary injection interval between any two adjacent injections.
6. A spacecraft flight program injection device, characterized in that: include: A maintenance unit, configured to respond to a triggering action of selecting a maintenance mode of a spacecraft flight program, call a spacecraft flight program carried based on a preset framing strategy, and maintain the spacecraft flight program according to the selected target maintenance mode; Wherein, the preset framing strategy is a framing strategy in which each remote control data frame carries two digital tube user injection format frames, and the maintenance mode is respectively adapted to normal working conditions and emergency working conditions; The injection unit is used to call the target data injection strategy according to the monitoring result of the orbit control instruction, and inject the flight program of the spacecraft that has completed maintenance according to the target data injection strategy.
7. The spacecraft flight program injection device according to claim 6, characterized in that: The spacecraft flight program injection device is also used for: Acquire the sum of the first longest byte length of the spacecraft remote control data frame format and the frame header and frame tail byte lengths, and the second longest byte length of the data tube user injection format; If it is determined that the difference between the first longest byte length and the sum of the frame header and frame tail byte lengths is greater than the second longest byte length and less than twice the second longest byte length, the integer part of half of the difference is used as the used byte length of the digital tube user injection format.
8. The spacecraft flight program injection device according to claim 6, characterized in that: The maintenance unit is specifically used for: In response to a triggering action of a maintenance mode of a spacecraft flight program selected by a digital management user according to working condition information, the spacecraft flight program carried based on a preset framing strategy is called, and the spacecraft flight program is maintained according to the selected target maintenance mode; Among them, the target maintenance mode includes one of deleting and adding, deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting. The deleting and adding corresponds to the normal working condition, and the deleting first and then adding, deleting and adding in blocks at a time, and only adding without deleting all correspond to the emergency working condition.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. 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 5 are implemented.