Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software architecture recovery method based on functional structure

A technology of software architecture and functional structure, applied in software maintenance/management, reverse engineering, etc., can solve problems such as unreasonable and difficult to understand software architecture, improve accuracy, reduce iteration and maintenance risks, and improve iteration and maintenance The effect of maintenance

Active Publication Date: 2021-06-18
BEIHANG UNIV
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above analysis, the embodiment of the present invention aims to provide a software architecture restoration method based on the functional structure, to solve the problem that the software architecture is difficult to understand or even incomprehensible due to the fact that the existing software architecture restoration process does not fully consider the functional structure. reasonable question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software architecture recovery method based on functional structure
  • Software architecture recovery method based on functional structure
  • Software architecture recovery method based on functional structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Preferred embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and together with the embodiments of the present invention are used to explain the principle of the present invention, but not to limit the scope of the present invention.

[0052] A specific embodiment of the present invention discloses a software architecture recovery method based on functional structure, the flow chart is as follows Figure 1-2 As shown, the method includes the following steps:

[0053]Step S1: Build the functional structure knowledge of the software whose architecture is to be restored; each function in the functional structure knowledge includes parent functions and / or sub-functions, and includes function-related classes; wherein, the lowest-level function in the functions Directly include the functionally related class;

[0054] Considering the fun...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a software system structure recovery method based on a functional structure, belongs to the technical field of software system recovery, and solves the problem that a software system structure recovered by an existing mode is difficult to understand. The method comprises the following steps: constructing functional structure knowledge, wherein each function comprises a parent function and / or a child function and a function related class, and the lowest-layer function in the functions comprises function related classes; respectively mapping the parent function, the child function and the lowest layer function into a parent component, a child component and a leaf component, and dividing the function related class into the corresponding leaf component; removing classes included in the component from all classes to obtain unrecovered classes; calculating the correlation between each unrecovered class and each leaf component, and dividing the class with the correlation exceeding a correlation threshold value into the leaf component with the highest correlation; traversing all unrecovered classes repeatedly, and obtaining updated components; if all the classes are recovered, recovering the software system structure of the software based on the updated components.

Description

technical field [0001] The invention relates to the technical field of software system restoration, in particular to a method for restoring a software system structure based on a functional structure. Background technique [0002] Software architecture is regarded by relevant scholars and practitioners as an important basis for software development and evolution, but there are three problems in the process of software development and evolution: First, in the context of agile development, practitioners believe that "workable The software is better than the broad document”, they simply designed a software architecture without sufficient verification, or did not design the corresponding software architecture, and began to realize the software system only through the requirements provided by users. Second, even if the software architecture is designed and fully verified, there are problems in the development process that do not follow the designed software architecture, resultin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/70G06F8/74
CPCG06F8/70G06F8/74
Inventor 张莉贾航葛宁周雨飞李延旭王茵迪
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products