Method and system for establishing open source project knowledge graph

A knowledge map and project technology, applied in the establishment system of open source project knowledge map, the establishment field of open source project knowledge map, can solve the problem of low learning efficiency, inability to quickly obtain project code-related knowledge understanding, and inability to quickly find project code, etc. problem, to achieve the effect of improving learning efficiency

Inactive Publication Date: 2020-11-17
PEKING UNIV
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Therefore, for newly joined developers, they cannot quickly find the required project code, nor can they quickly

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 establishing open source project knowledge graph
  • Method and system for establishing open source project knowledge graph
  • Method and system for establishing open source project knowledge graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 It is a flow chart of steps in an embodiment of a method for establishing an open source project knowledge map provided by the present invention.

[0039] refer to figure 1 As shown, the method for establishing the knowledge map of open source projects provided by this embodiment is applied to open source projects in the open source community. This embodiment aims to obtain code knowledge information of open source projects and Relevant knowledge information to build the knowledge map of open source projects, so as to meet the learning needs of developers for unfamiliar codes. The specific knowledge map establishment method includes the following steps:

[0040] Step S101, predefine the data schema of the open source project knowledge map.

[0041] The code of an open source project is written in a specific programming language, and the programming language is a structured language. When a developer wants to understand a specific function in an unfamiliar sys...

Embodiment 2

[0094] refer to Figure 5 , shows a structural block diagram of an embodiment of an open source project knowledge map establishment system embodiment of the present invention, the system can be applied to open source projects, this embodiment aims to obtain code knowledge of open source projects from the perspective of developers learning code requirements Information and relevant knowledge information in the open source community to establish a knowledge map of open source projects to meet developers' learning needs for unfamiliar codes. The establishment system specifically includes:

[0095] The definition module 201 is used to predefine the data schema of the open source project knowledge map.

[0096] The essence of a knowledge graph is a knowledge base of a semantic network, which aims to describe the entities in various types of knowledge in the real world and the relationship between them. An entity can refer to an object in reality, or it can be an abstract concept, ...

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 method and a system for establishing an open source project knowledge graph. The method and the system specifically comprise the following steps: pre-defining a data mode of the open source project knowledge graph; obtaining knowledge information of the program code from the open source project code, obtaining knowledge information related to the open source project from an open source community where the open source project is located and a remote warehouse of the open source project, analyzing all knowledge information from different sources, and extracting a plurality of triples; and unifying and disambiguating all triples, constructing a knowledge graph of the open source project based on the data mode, and finally performing visual analysis and display on the knowledge graph. According to the embodiment of the invention, the knowledge graph of the open source project is established and is used for a developer to quickly and accurately retrieve the project code needing to be learned, and the code is understood through related code knowledge, so that the requirement of the newly added developer for quick learning of the open source project is met.

Description

technical field [0001] The invention relates to the technical field of open source projects, in particular to a method for establishing a knowledge map of an open source project and a system for establishing a knowledge map of an open source project. Background technique [0002] An open source project is an open source software project. Developers can modify the source code of the open source project through the open source community to customize their own personalized products. [0003] Large-scale open source projects are usually jointly developed by multiple developers, and attract many developers to learn the source code of the open source project. After continuous learning and technical experience, these developers may also enter the main part of the open source project. In the branch, contribute to the open source project. [0004] Most open source projects lack project architecture documents, and also lack management and retrieval functions for project code knowledg...

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): G06F16/36G06F8/20
CPCG06F8/22G06F16/367
Inventor 孙艳春黄罡孙志玉
Owner PEKING UNIV
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