Project knowledge tree construction and retrieval method

A project and knowledge technology, applied in the field of information security, can solve the problems of not selling to China, no public matching method, military software is not allowed, etc., to achieve the effect of high readability and friendly display method

Pending Publication Date: 2020-07-03
北京关键科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] At present, Black duck has been maturely applied and occupies the main global user base of source code analysis. However, due to trade restrictions in the United States, the open source code base of this software is not sold to China. Only by uploading source code files or binary files, you can use the software online. The detection service scans and analyzes software composition, which has confidentiality and security issues, which is not allowed for military software, so military software cannot use this software service for code composition analysis
Black duck did not disclose how to match, and related information was found on the Internet

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
  • Project knowledge tree construction and retrieval method
  • Project knowledge tree construction and retrieval method
  • Project knowledge tree construction and retrieval method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The implementation of the project knowledge tree construction and retrieval method of the present invention will be described in detail below with reference to the accompanying drawings.

[0025] In order to overcome the above technical problems, the present invention is realized through the following technical solutions: establish a knowledge map construction and retrieval method based on the combination of item structure and code multi-level features, the method includes: item structure extraction, file multi-level feature extraction, project Knowledge map construction and feature retrieval.

[0026] The construction and retrieval methods of the project knowledge tree shown according to the embodiment of the present invention include:

[0027] Traverse all folders and files of the project to build the project directory tree;

[0028] Extracting the feature of each file of the project, the feature of each file includes the file feature of the file and the function fea...

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 project knowledge tree construction and retrieval method. The method comprises the steps of traversing all folders and files of a project to construct a project directory tree; extracting features of each file of the project, wherein the features of each file comprise file features of the file and function features of each function in the file; constructing a project knowledge tree for describing the project by using a plurality of Json object arrays based on the project directory tree and the characteristics of each file of the project; and using a retrieval mode based on a project retrieval structure or a retrieval mode based on file features and function features to realize retrieval of the project knowledge tree through a Solr full-text retrieval engine. Through the method and the device, the fragments of the files and the file functions which are the same as those of the tested project can be quickly positioned, so that the carding association relationship is clearer, and the project knowledge base has better readability.

Description

technical field [0001] The invention relates to the field of information security, in particular to a method for constructing and retrieving project knowledge trees. Background technique [0002] With the development of informatization, the application of software is becoming more and more extensive, and more and more open source projects are used by software and hardware companies, which brings about license permission issues, security issues, how to evaluate the proportion of source code, etc. . In order to solve these problems, a code composition analysis system is needed, which can collect open source project and version information, and can analyze the code composition, permission issues and security issues of the tested project. [0003] When there are a large number of source code warehouses (including project information, version information, and project release packages), the remaining core part is how to detect the composition of the project under test. It is unr...

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): G06F16/36G06F16/31G06F16/33G06F8/75
CPCG06F16/367G06F16/322G06F16/313G06F16/334G06F8/75
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