During the Ming Dynasty, China and Korea exchanged frequently and recorded a large amount of written information, which is of great value for understanding the culture of that time. The large amount of data makes it difficult to conduct quantitative analysis by researchers, which makes the analysis limited. This paper carries out a research on the cognition and analysis method of Chinese and Korean envoys to foreign cultures in Ming Dynasty based on big data analysis technology. Based on the literature research, this paper determines the ontology model establishment method to efficiently detect the written records of Chinese and Korean envoys in Ming Dynasty. The established ontology model and the improved clustering analysis method can improve the efficiency of data detection, reduce the error of data detection, and provide data basis for the research of this paper. According to the technology of big data analysis, this paper analyzes the focus and status class of Chinese and Korean envoys in Ming Dynasty and analyzes cognition of the Chinese and Korean envoys for the foreign culture. The results show that the envoys of the Chinese and Korean pay different attention to the foreign culture due to their different cognition of the foreign culture, compared with Ming Dynasty envoys, Korean envoys paid 15.3 percent less attention to geography, 19.7 percent more to history, 11.7 percent more to people, and 16 percent less to customs. This reflects the two envoys’ different perceptions of the foreign culture. And the status class of the envoys exacerbates this difference. In the early Ming Dynasty, the creative diversity of Ming envoys was far lower than that of Korean envoys. As time went by, the creative diversity of Ming envoys increased. The results provide support for further understanding of Chinese and Korean culture and their relationship in Ming Dynasty.