IP Library Granted Patent US 11,386,136
Granted Patent B2
US 11,386,136 · App. 16/641,414 · Granted Jul 12, 2022

Automatic construction method of software bug knowledge graph

Inventors: Bin Li (Jiangsu, CN); Dingshan Chen (Jiangsu, CN); Xiaobing Sun (Jiangsu, CN)
Assignee: Yangzhou University
G06F16/367G06F8/427G06F11/3624G06F40/211G06F40/253G06F40/289G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,386,136
App. No.
16/641,414
Granted
Jul 12, 2022
Kind
B2
Abstract

Provided is an automatic construction method of a software bug knowledge graph. The method includes extraction of a relationship triple of a bug and domain classification of the bug. Specifically, the method includes: collecting bug information in a bug library and processing bug description information, obtaining a verb phrase and a noun phrase in a description sentence by means of natural language processing, and then obtaining a relationship triple of the bug according to a dependency relationship between words related to the bug information, extracting a domain feature of the bug, performing learning and training with a semi-supervised classifier to enable the classifier automatically to classify unlabeled triples, storing all the classified relationship triples in a graph database, and thus constructing a software bug knowledge graph.

Claims (10)

1. An automatic construction method of a software bug knowledge graph, comprising:

(1) scraping bug information in a related bug library, scraping a BugID, bug description information, and four main properties of platform, product, component and status in a bug report, and performing natural language processing, wherein the natural language processing mainly comprises steps of word segmentation and part-of-speech tagging;

(2) identifying a noun phrase (NP), a verb phrase (VP), and a verb phrase with an open clausal complement (VVP) through regular expressions for phrase identification and according to part-of-speech tags of words in a sentence subjected to natural language processing;

(3) performing dependency syntax parsing on the bug description information to find out a dependency relationship between specific “dependent” and “dominant” words, and extracting a grammatical structure in a bug description sentence;

(4) constructing a relationship triple of the bug description information according to the dependency relationship between words and based on the NP and the VP extracted in step (2), wherein the constructed relationship triple is (NP1, VP, NP2), the bug description sentence usually comprises more than one relationship triple;

(5) adding the BugID in the bug information scraped in step (1) to supplement the relationship triple of the bug description information extracted in step (4), so as to generate a relationship quadruple of a bug, wherein the generated relationship quadruple is (BugID, NP1, VP, NP2);

(6) using property X of the bug collected in step (1) to form a property triple of the bug, wherein the property triple is (BugID, property, X), the property triple is used for further description of the bug information and is prepared for subsequent construction of a software bug knowledge graph;

(7) extracting a domain feature for bug classification according to the property triple, and using the domain feature to promote a learning and training process of a classifier in a form of (BugID, NP1, VP, NP2, features);

(8) performing the learning and training process with a semi-supervised support vector machine (SVM) classifier by using the extracted domain feature, and performing domain classification for the bug; and,

(9) after labeling by the classifier, storing data of the labeled bug of each type in a visual database and generating the software bug knowledge graph.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 24, 2020
From: LI, BIN; CHEN, DINGSHAN; SUN, XIAOBING
To: YANGZHOU UNIVERSITY
Reel/Frame 052003/0096 →
Priority Claims (1)
CN 201810047681.5 · Jan 12, 2018 · national
Continuity (1)
Related Publication 20200257717A1 · Aug 13, 2020