Method for enhancing classification-based software demand tracking link recovery through knowledge learning and electronic device
A technology for software requirements and knowledge learning, applied in the computer field, can solve problems such as limited application, lack of requirements and code semantics, time-consuming and labor-intensive, etc., to ensure accuracy, reduce workload, and reduce recovery costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2021-06-22
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of computer technology, and in particular relates to a classification-based software requirement tracking link recovery method and an electronic device enhanced through knowledge learning. Background technique
[0002] Requirements-to-Code (requirements to code, R2C) is a tracking relationship between software requirements and codes. It builds a logical abstraction bridge between requirements written in natural language description and source code written in programming language. R2C links can help developers better understand the logic and purpose of source code, and help locate codes affected by changes in requirements, thereby greatly reducing the maintenance cost of software projects. R2C links can also be used to automatically select relevant test cases for execution, which makes automated testing projects more efficient. However, R2C links are often lost or wrongly linked in actual work, and most R2C links are ...
Examples
Embodiment approach
[0115] 1. It is possible to construct a demand-code knowledge map similar to the definition of the present invention, and add / delete different entity relationships; and then use the TransR+DKRL expanded knowledge representation learning algorithm and other knowledge representation learning algorithms to construct relationship feature vectors;
[0116] 2. The inference rules based on intimacy analysis can be used to expand the training set with different threshold settings.
