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

Software homology detection method, device and equipment and storage medium

A detection method and homology technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as redundancy of detection results, inability to remove the influence of identification software code propagation, false positives, etc.

Pending Publication Date: 2020-11-13
北京鸿渐科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current detection methods have a good effect on the identification of code plagiarism, which can identify which codes are plagiarized, but there is also a defect, that is, the influence of the propagation of the identification software code cannot be removed
For example, there is a software A that is very popular and was first developed, and is referenced by many other software. If software B references software A, and software C also uses software A, then the current homology detection method may not only It is reported that B references software A, and it may also report that B also references software C, but in fact, software A is the final result that should be found, which will cause redundancy or false positives in the detection results

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
  • Software homology detection method, device and equipment and storage medium
  • Software homology detection method, device and equipment and storage medium
  • Software homology detection method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0018] The software homology detection method provided in the embodiment of this application can be applied to figure 1 The software homology detection system shown. Such as figure 1 As shown, the software homology detection system includes: a client 11 and a server 12 . Wherein, the client 11 includes electronic devices such as smart phones, desktop computers, notebook computers, a...

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 embodiment of the invention provides a software homology detection method and device, equipment and a storage medium. The method comprises the steps of obtaining at least one code file of to-be-detected software; performing fingerprint calculation on each code file to obtain first fingerprint information corresponding to each code file; for the first fingerprint information corresponding to each code file, determining whether second fingerprint information the same as the first fingerprint information exists in a database or not, the database storing a plurality of code files and fingerprint information corresponding to each code file, and at least one code file not belonging to the database; if second fingerprint information the same as the first fingerprint information exists in thedatabase, determining a target code file according to a code file corresponding to the second fingerprint information, and the target code file being the earliest source file of at least one code file; and determining the homology of the software corresponding to the target code file and the to-be-detected software. According to the embodiment of the invention, the software homology detection precision can be improved, and the false alarm rate is reduced.

Description

technical field [0001] The embodiments of the present application relate to the technical field of computer software, and in particular to a software homology detection method, device, equipment and storage medium. Background technique [0002] Source code (also called source program) refers to an uncompiled text file written in accordance with a certain programming language specification, which is a series of human-readable computer language instructions. There are many identical or similar code fragments in the source code of a software system, these code fragments are called clone codes, and they have homology. Software homology detection refers to detecting whether there are code fragments that are the same as or similar to other software in the source code of the tested software, so as to serve as an important basis for whether the software is reused or plagiarized. [0003] Common source code homology detection methods include text similarity and functional similarity...

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/36G06F40/194
CPCG06F11/3604G06F40/194Y02D10/00
Inventor 马骁
Owner 北京鸿渐科技有限公司