This paper proposes a method of computing information credibility based on the theory of ontology by simulating the interpersonal interactive process in social network. The credibility of information is considered from the two aspects : the credibility of the information content itself and the credibility of the information dissemination nodes. The method also considers the influence of time factor and the punishment of spiteful nodes. The analysis and simulation experiments show that the method has better feasibility.