Method and device based on reverse engineering for automatically generating software documents

An automatic generation and reverse engineering technology, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve the problem of difficult to understand document comprehension, and achieve the effect of easy to understand results, wide application and low error rate

Inactive Publication Date: 2013-10-02
BEIJING INFORMATION SCI & TECH UNIV +1
View PDF3 Cites 44 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the documents generated by the system are still difficult to understand in terms of comprehension, and there are deficiencies

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
  • Method and device based on reverse engineering for automatically generating software documents
  • Method and device based on reverse engineering for automatically generating software documents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0037] Such as figure 1 As shown, this embodiment provides a method for automatically generating software documentation based on reverse engineering, including:

[0038] Step 1, scan and analyze the source program to obtain function comments, function details, mutual calling relationship between functions and mutual inclusion relationship between functions;

[0039] Step 2, perform natural language recognition on function comments and function details, and extract function information;

[0040] Step 3, based on the detailed information of the functions, combined with the mutual call relationship between functions and the mutual inclusion relationship between functions, generate a global function call relationship d...

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 method and device based on reverse engineering for automatically generating software documents. The method and device based on the reverse engineering for automatically generating the software documents comprises scanning source programs, obtaining function comments, function detail information and a mutual call relation and a mutual inclusion relation among functions, identifying and abstracting function information of functions through a natural language, generating a global function call relation graph and a global function inclusion relation graph respectively based on the function information of the functions and the mutual call relation and mutual inclusion relation among functions, automatically generating software design description documents based on the function information of the functions, the function detail information and the global function call relation graph, generating a system function graph based on the function information of the functions and the global function inclusion relation graph, and generating software requirement specification documents automatically based on the system function graph. According to the method and device based on the reverse engineering for automatically generating the software documents, the software requirement specification documents and the software design description documents are generated automatically, the reverse engineering from codes to documents is achieved, and the method and device based on the reverse engineering for automatically generating the software documents is wide in application and strong in adaptability.

Description

technical field [0001] The invention relates to the technical field of reverse engineering, in particular to a method and device for automatically generating software documents based on reverse engineering. Background technique [0002] Reverse engineering comes from the field of hardware. It refers to the process of developing complex hardware systems by checking samples. It mainly refers to studying other people's systems and discovering their working principles to achieve the purpose of replicating hardware systems. With the development of the software industry, the term reverse engineering was introduced into the field of software engineering. Reverse engineering is used to transform from the low-level abstraction level of the source program code to a higher abstraction level representation, such as control flow diagram, data flow diagram, class relationship diagram etc. Reverse engineering is a design recovery process in which reverse engineering tools extract data, ar...

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): G06F17/21
Inventor 牟永敏
Owner BEIJING INFORMATION SCI & TECH UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products