The comprehensive analysis of geological setting, accumulation condition, trapping mechanism and distribution regularity of oil-gas of the Upper Triassic in Sichuan Basin reveals that the gas accumulation in Xujiahe Formation is a layered lithologic giant gas province. Coal source rocks in layers expelled hydrocarbon evaporatively. This paper classifies the diagenetic facies quantitatively using compaction percentage, cementation percentage and corrosion percentage, and defines eight diagenetic subfacies and twenty diagenetic microfacies. Besides, the origin of diagenetic facies is analyzed by using Ro and formation water parameter. This kind of giant gas province originated mainly from stable large-scale continental depressions, gentle foreland slopes and paralic facies in central China. It is characterized by large-area layered distribution, no obvious trap and cap formation, large-scale resource, low-abundance reserves, and difficult to exploit.