Multi-thread program plagiarism detection method based on dynamic birthmarks and related equipment

A program and birthmark technology, applied in the field of multi-threaded program plagiarism detection based on dynamic birthmarks, can solve problems such as impact, uncertainty of the results of dynamic monitoring program operation, difficulty in applying multi-threaded program plagiarism detection, etc., to improve stability, good effect

Active Publication Date: 2021-03-26
BEIJING UNIV OF POSTS & TELECOMM
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for multi-threaded programs, the nature of thread interleaving has a great impact on program dynamic monitoring and birthmark extraction
The running process of multi-threaded programs is uncertain, which makes the results of dynamic monitori

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
  • Multi-thread program plagiarism detection method based on dynamic birthmarks and related equipment
  • Multi-thread program plagiarism detection method based on dynamic birthmarks and related equipment
  • Multi-thread program plagiarism detection method based on dynamic birthmarks and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0034] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present specification shall have ordinary meanings understood by those skilled in the art to which the present disclosure belongs. "First", "second" and similar words used in one or more embodiments of the present specification do not indicate any order, quantity or importance, but are only used to distinguish different components. "Comprising" or "comprising" and similar words mean that the elements or items appearing before the word include the elements or items listed after the word and their equivalents, without excluding other elements or items.

[0035] As mentioned in the back...

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 multi-thread program plagiarism detection method based on dynamic birthmarks and related equipment. The method comprises the steps of inserting a custom function into a to-be-tested program by adopting a dynamic instrumentation technology to obtain a system call sequence; processing the system call sequence by utilizing a D-Kgram algorithm with a variableK value, and respectively generating a plurality of sub-sequences of which the gram lengths are different K values; performing single-thread screening on the plurality of sub-sequences to obtain a feature sub-sequence set; respectively constructing dynamic birthmarks of the original program and the suspicious program; converting the dynamic birthmarks into vectors, and obtaining the similarity between the original program and the suspicious program by using a cosine similarity method; and calculating the mean value of the similarity under multiple inputs, and obtaining a conclusion whether the suspicious program plagiarizes the original program or not according to the detection threshold. According to the method and the related equipment provided by the invention, the influence of threadinterleaving characteristics on the dynamic birthmarks can be effectively avoided, so that the plagiarism detection effect is better.

Description

technical field [0001] One or more embodiments of this specification relate to the field of software plagiarism detection, and in particular to a dynamic birthmark-based multi-thread program plagiarism detection method and related equipment. Background technique [0002] In recent years, software plagiarism has intensified. On the one hand, software plagiarism affects the cultivation of computer-related majors, and on the other hand, it poses a serious threat to the protection of software intellectual property rights. Therefore, software plagiarism detection technology has become the focus of research. [0003] In software intellectual property disputes, the plaintiff may not be able to obtain the source code of the defendant, and the software birthmark technology is applicable to the scenario where the source code of the software cannot be obtained. Therefore, software birthmarking techniques that only require binary executable files have received increasing attention. So...

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): G06F21/10G06F8/75
CPCG06F21/10G06F8/751G06F2221/033
Inventor 周文安吴梦远陆祉丞谢逸凡
Owner BEIJING UNIV OF POSTS & TELECOMM
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