A 3D Coordinate Model Construction Method for Software Complex Networks

A three-dimensional coordinate, complex network technology, applied in software design and other directions, can solve problems such as irregularity, complex and chaotic visualization of network images

CN106502669BActive Publication Date: 2019-05-03BEIHANG UNIV
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-05-03

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a three-dimensional coordinate model construction method of a software complex network, and belongs to the field of software complex networks. The method comprises the steps that firstly, target structured software is determined, a complete software source code is obtained, static scanning is performed on the target software source code, functions in software and a calling relation between the functions are analyzed, then, the functions are adopted as network nodes, the function calling relation is adopted as a network side, a function calling network is constructed, function calling sequence information is added into the function calling network, according to the function calling sequence information and the function calling topological structure, a set of unique three-dimensional coordinates are generated for each function node and written into the network nodes, the function calling coordinate network based on the function calling sequence of the structured software is obtained, and the three-dimensional coordinates are used for guiding network visualization work. The obtained network nodes are much orderly, and logic information related to software operation can be provided for the complex network model.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention is applied to the field of software complex network, and is a method for constructing a software complex network model based on software codes. Background technique

[0002] With the digitalization of systems in various fields, the proportion of computer software used in various systems is increasing, and in some systems it even exceeds the proportion of hardware in the system, and the importance of software has risen sharply. At the same time, on the other hand, due to the increase in software applications, scale and complexity, the number of software defects has increased sharply, resulting in frequent software problems. What's worse is that the increase of software defect density increases geometrically with the increase of software scale, and it has exceeded the control of developers, which is very dangerous for the system. For this reason, software engineering thinking and UML are applied to the software development process; methods...

Examples

Embodiment Construction

[0023] On the basis of the function call network of the existing structured software, the present invention adds information such as function call order, and calculates and generates a group of unique three-dimensional coordinates for each function node. In order to facilitate those of ordinary skill in the art to understand and implement the present invention, the present invention will be further described in detail and in-depth below in conjunction with the accompanying drawings.

[0024] The three-dimensional coordinate model construction method of the software complex network of the present invention comprises five steps, such as figure 1 shown. Step 1, first determine the target structured software, and obtain its complete software source code. Step 2: Perform a static scan on the source code of the target software, and analyze the functions in the software and the calling relationship between the functions. Step 3, then use functions as network nodes and function call...