An autonomous controllability detection method and system for mixed-source software

A detection method and software technology, which is applied in the field of self-controllability detection of mixed-source software, can solve problems such as effective detection of self-controllability of mixed-source software, and achieve the effects of preventing potential risks, strong practicability, and simple operation

Active Publication Date: 2019-06-21
中国软件评测中心(工业和信息化部软件与集成电路促进中心)
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the problem that there is no effective detection of independent controllability of mixed-source software in the prior art, the present invention proposes a method and system for independent development and detection of mixed-source software, starting from two aspects of code static analysis and dynamic execution, through Check whether the code of the mixed-source software is consistent with the software design documentation, and whether there are unexecuted codes in the code, so as to verify whether the code is completely independently developed, and effectively prevent potential risks brought by non-independent software

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
  • An autonomous controllability detection method and system for mixed-source software
  • An autonomous controllability detection method and system for mixed-source software
  • An autonomous controllability detection method and system for mixed-source software

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0068] This embodiment provides a method for detecting the independent controllability (development) of mixed-source software, which statically analyzes the code of the mixed-source software, generates software design documentation, and compares it with the submitted software documentation. Determine whether the mixed-source software is self-developed based on the consistency with the software design documentation; when the code is inconsistent with the software design documentation and the developer cannot reasonably explain it, it is judged as non-independent development; when the code is consistent with the software design documentation or not When there is consistency but the developer can reasonably explain it, perform dynamic tracking, and judge whether the mixed-source software is self-developed by the coverage of the test case on the software code; when the code of the mixed-source software cannot be covered by the test case and the developer cannot explain it reasonably...

no. 2 example

[0105] This embodiment provides a mixed-source software autonomous controllability detection system, Figure 9 Shown is a schematic structural diagram of the mixed-source software autonomous controllability detection system of this embodiment. Such as Figure 9 As shown, the mixed-source software autonomous controllability detection system includes: a front end, a back end and a data access interface, wherein the data access interface is connected to the front end and the back end at the same time, and is used for data transmission between the front end and the back end; The front end is used to analyze the source code to form a unified data model, and the back end is used to complete autonomous controllability detection and analysis based on the data model.

[0106] Such as Figure 9 As shown, the front end includes: a source code analysis module, a source code management module, and a dynamic execution tracking module; wherein,

[0107] The source code management module i...

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 provides an autonomous controllability detection method and system for mixed-source software. The method and system are used for solving the problem that in the prior art, whether the mixed-source software has autonomous controllability or not cannot be detected. The method comprises the steps of importing source codes, analyzing the source codes and judging whether a test is executed or not; And dynamically executing tracking and consistency analysis. For uncovered functions, variables and codes, or for differences between the codes and design description documents, software developers need to give reasonable explanations and codes which cannot be explained and are judged to be non-autonomous development. From two aspects of code static analysis and dynamic execution, for the inconsistent places and redundant codes, if reasonable explanation cannot be given, it is judged that the software does not have autonomous controllability. The method is easy to operate and high inpracticability, whether the software is developed autonomously or not can be rapidly and accurately detected, and therefore the software covering the autonomously-controllable coat is found out, andpotential risks caused by non-autonomously-controllable software are effectively prevented.

Description

technical field [0001] The invention belongs to the field of software testing, and in particular relates to a method and system for autonomous controllability detection of mixed-source software. Background technique [0002] With more and more open source software, software development is transitioning from "writing some code + calling system libraries" to "writing a small amount of code + open source code", that is, mixed source software. At present, mixed-source software has become a new mode of software development. With the help of regular open source software, developers can complete software development with only a small amount of changes on this basis, thus saving a lot of time and money, and improving software quality. has also been improved. [0003] However, many developers use informal open source software, or although they use formal open source software, they do not fully understand and master these codes, and are only satisfied with being able to achieve speci...

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): G06F11/36
Inventor 于秀山刘然李密丹于长钺刘建鹏
Owner 中国软件评测中心(工业和信息化部软件与集成电路促进中心)
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