Abstract:Analyzed the current routine embedded software refactoring mode in aerospace, points out its shortcomings of low security and low flexibility, this paper proposes a software reconstruction scheme based on dynamic loading mechanism module. The scheme has the characteristics of safe, efficient, flexible, and can also update the software without interrupting system under the condition of the current task. Using the godson CPU hardware platform, combining with specific experiment, verified the file system establishing, module loading, unloading process execution, fully proves the rationality and feasibility of the scheme. The experimental results show that this scheme can effectively reduce difficulty and cost of the in-orbit spacecraft software maintenance, and also improve the team collaborative in application software developmenting, also have certain reference value to other embedded software development design.