Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Open source component duplicate checking method, system and device and readable storage medium

A technology for components and comparison files, applied in software maintenance/management, special data processing applications, instruments, etc., can solve the problems of low accuracy of duplicate checking, long matching time, and high hardware consumption, so as to improve the flexibility of duplicate checking. , Taking into account the accuracy of checking weights, the program achieves simple results

Active Publication Date: 2021-04-20
SECZONE TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this stage, there are mainly two ways to check the duplicates of open source components: Method 1, matching code line by line, this method can be located at the code level and has a high accuracy of duplicate checking; however, due to the huge amount of code in the open source library , in order to improve the matching efficiency, it is usually operated by loading memory, which leads to the problems of excessive hardware consumption and long matching time
Method 2: Use the hash value of the file itself or md5 to perform file-level matching. This method matches quickly, but because it cannot locate the code level, the accuracy of duplicate checking is low.

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
  • Open source component duplicate checking method, system and device and readable storage medium
  • Open source component duplicate checking method, system and device and readable storage medium
  • Open source component duplicate checking method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to describe the technical content and structural features of the present invention in detail, further description will be given below in conjunction with specific embodiments and accompanying drawings.

[0025] An embodiment of the present invention provides an open source component plagiarism checking method for judging the similarity between an open source component and an external comparison file. Such as figure 1 As shown, the duplicate checking method includes the following steps:

[0026] S101, making multiple matching templates 201, each matching template 201 includes a number of matching frames 202, each matching frame 202 in the same matching template 201 is the same, and the size, quantity and density of the matching frames 202 of different matching templates 201 are different.

[0027] S102, through the matching frame 202 of each matching template 201, the open source component is partially cut (such as figure 2 shown), that is, through multiple p...

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 discloses an open source component duplicate checking method, which comprises the following steps of: manufacturing a plurality of matching templates, wherein each matching template comprises a plurality of matching frames, and the matching frames of different matching templates are different in size and number; performing local cutting on the open source component through the matching box of each matching template, extracting feature information of each local part of the open source component under each matching template, and storing each piece of feature information; carrying out local cutting on the comparison file by adopting at least one of a plurality of matching templates to obtain feature information of each local part of the comparison file under the matching template; and comparing the feature information of the open source component under the same matching template with the feature information of the comparison file to obtain similarity. According to the method, the code level can be positioned to a certain extent, and hardware consumption and duplicate checking time consumption can be comprehensively considered; and a corresponding matching template can be selected according to a specific application scene. In addition, the invention further discloses an open source component duplicate checking system and device and a computer readable storage medium.

Description

technical field [0001] The invention relates to the technical field of data analysis and processing, in particular to an open source component plagiarism checking method, system, device and computer-readable storage medium. Background technique [0002] In order to avoid intellectual property disputes, open source components need to be checked for plagiarism before using them. At this stage, there are mainly two ways to check the duplicates of open source components: Method 1, matching code line by line, this method can be located at the code level and has a high accuracy of duplicate checking; however, due to the huge amount of code in the open source library , in order to improve the matching efficiency, it is usually operated by loading memory, which leads to the problems of excessive hardware consumption and long matching time. Method 2: Use the hash value of the file itself or md5 to perform file-level matching. This method matches quickly, but because it cannot locate...

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): G06F8/75G06F16/2455
CPCY02P90/30
Inventor 尹杰万振华王颉李华董燕
Owner SECZONE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products