Software Information Organization with Unified Knowledge Graphs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing software organization methods fail to effectively organize the rich information comprising code, data, resources, and documents, leading to inefficiencies in automatic code generation, system reconstruction, and code quality inspection.
Innovation Solution
A software information organization method and device that generates separate knowledge graphs for code and non-code data using different extraction methods, combining them into a unified knowledge graph to reduce redundancy and enhance search efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If separate knowledge graphs are generated for code and non-code data using different extraction methods, then information extraction accuracy is improved, but system complexity increases
Solution Approach 1:
The patent segments the software information organization task into two distinct parts: generating a first knowledge graph from code using static analysis, and generating a second knowledge graph from non-code data using natural language processing. This segmentation allows each extraction method to be optimized for its specific data type, improving accuracy while managing complexity through modular design.
2Productivity
If individual software information is combined into one knowledge graph, then search efficiency is improved, but information redundancy increases
Solution Approach 1:
The patent merges multiple software information knowledge graphs into a unified knowledge graph that consolidates common structures, entities, and relationships across different software projects. This merging eliminates redundant information while preserving unique characteristics, thereby improving search efficiency without excessive redundancy.
Solution Approach 2:
The unified knowledge graph serves multiple functions: it stores information from individual software projects, enables cross-software similarity analysis, supports code quality inspection across projects, and facilitates system reconstruction. This multi-functionality justifies the consolidation of information while maintaining organizational efficiency.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A software information organization method and device and a computer-readable medium, relating to the technical field of computer software analysis, and capable of effectively organizing various information included in software by means of a knowledge graph, and determining software similarity on the basis of the knowledge graph. The software information organization method comprises: loading first software (31), the first software (31) comprising code, data, resources, and documents (S201); acquiring first information from the code of the first software (31), and generating a first knowledge graph on the basis of the first information (S202); acquiring second information from the data, resources, and documents of the first software (31), and generating a second knowledge graph on the basis of the second information (S203); and combining the first knowledge graph and the second knowledge graph into a third knowledge graph (S204).