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

An optimization method and system for an open source project knowledge map

A technology of knowledge graph and optimization method, applied in the optimization system of knowledge graph of open source projects and the optimization field of knowledge graph of open source projects, can solve the problems of broken knowledge link, redundant knowledge graph, low validity of knowledge information, etc., to achieve optimization time cost , the effect of improving learning efficiency and usability

Active Publication Date: 2021-06-25
PEKING UNIV
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the knowledge map of the above-mentioned open source project still has defects: 1. The iteration of the project code may cause information changes between different versions of the program, that is, the data format, expression form, etc. are inconsistent, resulting in the interruption of knowledge links. Developers lack the knowledge information of historical version codes, resulting in problems such as the mismatch between the read materials and the actual project version used; 2. Extensive data sources make the entire knowledge map too complicated, which affects the time overhead of subsequent algorithms, and most of the knowledge information The effectiveness is not high, and it is not conducive to developers to learn efficiently

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
  • An optimization method and system for an open source project knowledge map
  • An optimization method and system for an open source project knowledge map
  • An optimization method and system for an open source project knowledge map

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

[0031] refer to figure 1 As shown, the optimization method of the open source project knowledge map provided in this embodiment is applied to the open source project in the open source community, and the specific open source project knowledge map optimization method includes the following steps:

[0032] Step S101, constructing the original knowledge graph of the open source project for the historical release version and the current version of the open source project.

[0033] 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, while a relationship is the connection between entities and its sema...

Embodiment 2

[0075] refer to Figure 6 , which shows a structural block diagram of an embodiment of an optimization system for an open source project knowledge map provided by the present invention, and the optimization system for an open source project knowledge map specifically includes:

[0076] The first building module 201 is used to build the original knowledge graph of the open source project for the historical release version and the current version of the open source project.

[0077] The first fusion module 202 is used to link the knowledge of the original knowledge graph of the historical release version to the knowledge of the original knowledge graph of the current version to generate a knowledge graph of multi-version knowledge fusion.

[0078] A pruning module 203, configured to prune the knowledge map of the multi-version knowledge fusion to generate a target knowledge map, including: cleaning the edge subgraph and non-core subgraph of the multi-version knowledge fusion kno...

Embodiment 3

[0081] refer to Figure 7 , which shows a flow chart of the steps of an embodiment of an optimization method for an open source project knowledge map provided by the present invention. The specific method for optimizing the knowledge map of an open source project includes the following steps:

[0082] Step S301, constructing the original knowledge graph of the open source project respectively for the historical release version and the current version of the open source project.

[0083] Step S302, pruning the knowledge graph of multi-version knowledge fusion to generate a target knowledge graph, including: cleaning the edge subgraph and non-core subgraph of the multi-version knowledge fusion knowledge graph, and retaining the largest connected subgraph As the main part of the knowledge graph, the target knowledge graph is further obtained.

[0084] Step S303, using the OpenKE framework to design a knowledge embedding model TransE, and training the model TransE, and generating...

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 present invention provides a method and system for optimizing the knowledge map of open source projects. The method and system specifically include: respectively constructing the original knowledge maps of each release version of the open source project; linking the knowledge of multiple original knowledge maps to generate A knowledge map of multi-version knowledge fusion; pruning the knowledge map of multi-version knowledge fusion to generate a target knowledge map; using the OpenKE framework to design a knowledge embedding model TransE, and training the model TransE; through the model TransE , generating an embedded representation of the target knowledge graph. The method and system provided by the embodiments of the present invention generate a knowledge map of multi-version knowledge fusion of open source projects, pruning the knowledge map and generating embedded representations, and optimizing the knowledge map of open source projects from multiple perspectives to make it more Help developers learn the project code well.

Description

technical field [0001] The present invention relates to the technical field of open source projects, in particular to an optimization method for an open source project knowledge graph and an optimization system for an open source project knowledge graph. 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] In order to help new developers quickly find the project code they need, and obtain relevant knowledge and annotations of the project...

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 Patents(China)
IPC IPC(8): G06F8/71G06F8/30G06F16/36G06F16/901
CPCG06F8/31G06F8/71G06F16/367G06F16/9024
Inventor 孙艳春黄罡孙志玉
Owner PEKING UNIV