Through the investigation and analysis on Dunhuang Documents like "Ju Zhu Li Ri"(annotated calendar),"Kang Zairong Jian Zhai Wen",P.2729v,"Tai Shi Za Zhan Li" written before the early 9th century,this article concludes that Han Chinese people in Dunhuang were still able to maintaining and even continuing their way of life as well as the belief under the rule of Tibetan.In the view of faith,the traditional behaviors of house construction vow and even the traditional number divination along with the related belief were saved,where we can find Taoism which had overwhelmed by Tibetan."Tai Shi Za Zhan Li" were written by Taoist who known or witnessed the war between Tang Dynasty’s army and Tibetan,as a result,the Taoism divination and magic behaviors reflected mood in against aggression and domination of Tibetan and spread secretly.