Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for detecting software code risk, equipment and storage medium

A technology for detecting software and codes, applied in the field of code detection, to achieve the effects of reducing the risk of plagiarism, improving accuracy, and high comparison efficiency

Pending Publication Date: 2021-11-30
SECZONE TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to improve software development, there is no software code risk detection and there is a problem of plagiarism code risk, the application provides a method, system, device and storage medium for detecting software code risk

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 system for detecting software code risk, equipment and storage medium
  • Method and system for detecting software code risk, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The following is attached Figure 1-2 The application is described in further detail.

[0060] The embodiment of the present application discloses a method for detecting software code risks. The method is based on a third-party library component analysis system. When developing software, the user will store the software code in the third-party library component. Since the software code developed by the user There is a risk of plagiarizing open source codes, and the method for detecting software code risks is used to perform risk detection on software codes in third-party library components to determine whether there is a risk of code plagiarism in the software codes.

[0061] Such as figure 1 As shown, the method includes the following steps:

[0062] S101. Receive a code risk detection request input by a user.

[0063] Specifically, during the software development process, users can input the code risk detection request into the third-party library component analysi...

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 system for detecting software code risks, equipment and a storage medium. The method comprises: receiving a code risk detection request; for the source code segment of the target function, calling an open source code corresponding to the target function in a pre-stored database; performing primary similarity comparison on the source code segment and the open source code to obtain a first similarity value; if the first similarity value is higher than a preset first similarity standard value, outputting a risk early warning with the first similarity value; otherwise, carrying out secondary similarity comparison on the source code segment and the open source code to obtain a second similarity value, wherein the comparison methods adopted by the primary similarity comparison and the secondary similarity comparison are different; and if the second similarity value is higher than a preset second similarity standard value, outputting a risk early warning with the second similarity value. The source code segment and the open source code are subjected to similarity comparison twice, so that the risk of code plagiarism is reduced.

Description

technical field [0001] The present invention relates to the technical field of code detection, in particular to a method, system, device and storage medium for detecting software code risks. Background technique [0002] Software development is the process of building a software system or a software part of the system according to user requirements. Software development is a system engineering including requirements capture, requirements analysis, design, implementation and testing. Software is generally implemented using some programming language. [0003] Open source code, also known as open source code, refers to a software distribution model. Some software authors will disclose the source code, which is called "source code disclosure". All programs that publish software source code can be called open source software. Open source software is software released under an open source license. , to protect software users' right to freely use and access source code. [0004...

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
IPC IPC(8): G06F11/36
CPCG06F11/3608G06F11/3688
Inventor 万振华
Owner SECZONE TECH CO LTD