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

A Hierarchical Architecture Recognition Method Based on Code Vocabulary and Structural Dependency

A layered architecture and recognition method technology, applied in code compilation, program code conversion, instrumentation, etc., can solve problems such as recovery result gaps and neglect, and achieve the effects of low execution cost, high recognition accuracy, and high degree of automation

Active Publication Date: 2022-05-13
SOUTHEAST UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current research on the directional architecture recovery of layered patterns is mainly based on the structural dependencies between program entities, that is, layered pattern recognition is performed directly on the program dependency graph, which ignores the fact that layered patterns are mainly used for separation of concerns in the system characteristics, resulting in a large gap between the restoration result and the actual level of the target system

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
  • A Hierarchical Architecture Recognition Method Based on Code Vocabulary and Structural Dependency
  • A Hierarchical Architecture Recognition Method Based on Code Vocabulary and Structural Dependency
  • A Hierarchical Architecture Recognition Method Based on Code Vocabulary and Structural Dependency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Embodiment 1: For the convenience of description, the present invention takes the identification process of the spring-petclinc open source project as an example, and further introduces the present invention with reference to the accompanying drawings and specific implementations.

[0058] Step 1) Obtain the keyword set W corresponding to 6 packages in spring-petclinic and the dependency relationship set E between program entities by statically analyzing the program source code, and the specific process includes:

[0059] (11) Convert the source code of the target system into an AST abstract syntax tree structure through the static code analysis tool JDT;

[0060] (12) Traverse the AST tree nodes, and extract the vocabulary of the corresponding position in the source code file and the dependencies between classes from the nodes;

[0061] (13) Using regular expressions to extract the vocabulary contained in the annotations that cannot be obtained by the AST tree;

[006...

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 present invention proposes a layered architecture recognition method based on code vocabulary and structural dependencies, which extracts key words in source codes to perform responsibility clustering, and then utilizes dependencies between program entities to identify software system levels; The characteristics and application scenarios of the layer mode, the recognition accuracy is higher, and the recognition results are easier to help designers understand the current state of the system.

Description

technical field [0001] The present invention is a layered architecture identification method based on code vocabulary and structure dependency, which is mainly used for the problem of reverse system layered structure restoration in the case of architecture deviation and missing documents. Background technique [0002] Software systems will become more and more complex with the evolution process, but the system architecture information is not synchronized and documented in a timely manner, which leads to the fact that the architecture of existing software systems often deviates from the original architecture over time. The lack of architectural information and the problem of architectural deviation will become more and more serious with the evolution of the system. If the software architecture or structural complexity cannot be effectively controlled, the life cycle of the software system will eventually come to an end and cannot be continuously evolved. In order to solve suc...

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 Patents(China)
IPC IPC(8): G06F8/41
CPCG06F8/433
Inventor 李必信杜鹏程王璐璐孔祥龙廖力周颖
Owner SOUTHEAST 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