To improve the efficiency and accuracy of carbonate reservoir research, a unified reservoir knowledge base linking geological knowledge management with reservoir research is proposed. The reservoir knowledge base serves high-quality analysis, evaluation, description and geological modeling of reservoirs. The knowledge framework is divided into three categories: technical service standard, technical research method and professional knowledge and cases related to geological objects. In order to build a knowledge base, first of all, it is necessary to form a knowledge classification system and knowledge description standards; secondly, to sort out theoretical understandings and various technical methods for different geologic objects and work out a technical service standard package according to the technical standard; thirdly, to collect typical outcrop and reservoir cases, constantly expand the content of the knowledge base through systematic extraction, sorting and saving, and construct professional knowledge about geological objects. Through the use of encyclopedia based collaborative editing architecture, knowledge construction and sharing can be realized. Geological objects and related attribute parameters can be automatically extracted by using natural language processing (NLP) technology, and outcrop data can be collected by using modern fine measurement technology, to enhance the efficiency of knowledge acquisition, extraction and sorting. In this paper, the geological modeling of fracture-cavity reservoir in the Tarim Basin is taken as an example to illustrate the construction of knowledge base of carbonate reservoir and its application in geological modeling of fracture-cavity carbonate reservoir.