Gongzizhen is a famous modern thinking of philosopher, Liang praised him and Wei Yuan, both are important thinkers of the middle of the Qing Dynasty in China over the past three hundred years of academic history, their influenced has been extended to the Guangxu period, they are the times a turning point of Chin dynasty, leading the outstanding figures of the era. In addition, he has many talents, extraordinary achievements in literature, art, worthy of study. This paper intends to specifically ”Ding-An Poetry Collection” explore Gongzizhen as a philosopher thinker, in the modern of chaos, how to settle their own life with religion. In this thesis, in addition to the foreword, epilogue, is divided into three main points: First of its, in the Buddhist thinking and outlook on life; Secondly, we discussed the religious practices described in his word; then theory is what kind of attitude to face when he met a soul mate in life. So many setbacks in the accession to the inner-world and outer-world was born between the thinker and soulful poet, the lyrics into the stylistic, showing the most wayward, sincerely style, and egolism.