On-orbit upgrade method for aerospace software
An aerospace software and abstract syntax tree technology, applied in software engineering design, software maintenance/management, program code conversion, etc., can solve problems such as limited computing power and memory capacity of aerospace vehicle systems, complex system integration, and difficulty in repairing in time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 As shown, Embodiment 1 of the present invention provides an on-orbit upgrade method 100 for aerospace software, and the method includes the following steps:
[0043] In the storage path input step 110, an input box is displayed on the display interface, so that the user can input the file storage path of the target code to be upgraded in the input box. Among them, the file storage path of all aerospace software in the spacecraft method has a backup record in the ground system, and the user can find the file storage path of the object code that needs to be upgraded in the backup record.
[0044] The code reading step 120 is to read the target code according to the file storage path.
[0045] The code parsing step 130 is parsing the target code into an abstract syntax tree through syntax analysis and lexical analysis, and saving corresponding version data and version identification. Wherein, the version identifier represents the version record of the ta...
Embodiment 2
[0052] Such as image 3 As shown, Embodiment 2 of the present invention provides an on-orbit upgrade method for aerospace software. On the basis of Embodiment 1 above, the method further includes the following steps:
[0053] Safety checking step 210, if the target code is not the initial version, analyze the abstract syntax tree of the current version and the previous version, traverse all subtrees of the two abstract syntax trees, and check the changes of functions, global variables and types safety.
[0054] Such as Figure 4 As shown, the security check step 210 includes a static analysis step 211 and a fixed point determination step 212 . The static analysis step 211 uses a static analysis method based on abstract interpretation to convert the abstract syntax tree into a state transition system, and selects a program control flow graph to represent the state transition relationship of the source code. The fixed point determination step 212 tracks the change of the type...
Embodiment 3
[0062] Such as Image 6 As shown, Embodiment 3 of the present invention provides an on-orbit upgrade method for aerospace software, including the following steps:
[0063] Step A: An input box is displayed on the display interface, and the user inputs the file storage path of the target code to be upgraded in the input box. Jump to step B after reading;
[0064] Step B: read the object code file, parse the object code into an abstract syntax tree through syntax analysis and lexical analysis, and save the corresponding version data and version identification. Jump to step C after the parsing is completed;
[0065] Step C: judging whether the object code is an initial version according to the version identifier. If the program is the initial version, go to step D; if not, go to step E;
[0066] Step D: Extract the long loop code from the target code, and insert the on-orbit upgrade marker corresponding to the long loop code into the target code. Skip to step F after complet...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com