The invention provides a well site test data processing method and device based on a knowledge graph, and the method comprises the steps: carrying out the format recognition of received well site test historical data, so as to generate a format recognition result; establishing a mind map according to the format recognition result; generating a knowledge graph of the well site test data according to the mind map; and processing historical data of the well site test and new data of the well site test according to the knowledge graph. According to the well site test data processing method and device based on the knowledge graph, the functions of data storage, management, sharing, query, centralized display and the like of the whole process of the well site test can be achieved, the relationship between the data is established, the data query efficiency is improved, and support is provided for technical breakthrough.