Abstract:Current defect analysis is based on data level analysis and prediction, and the value contribution to software testing work is limited. This paper designs a software defect management system based on three-layer knowledge model. By introducing the structure of the knowledge base into software defect management, the defect analysis is upgraded from the data management level to the knowledge management level. Through the three-layer knowledge base structure of fact knowledge layer, middle layer and strategy layer, the technical data and management process data generated by the software during the software development test process are collected and precipitated, the software defect prediction rules are extracted, and a strategy report capable of guiding the software test work is generated.It helps to fundamentally improve the level and efficiency of software testing.