Since the reform and opening up, my country's economy and society have been in a state of vigorous development, and the construction of various fields has also achieved fruitful progress. Energy has become the guarantee for the survival and development of contemporary society, but the massive consumption of energy has caused many adverse effects on the ecological environment in which we live, such as air pollution, land desertification, serious soil erosion, and destruction of ecological diversity, etc. Our country is facing a serious energy shortage crisis. The main purpose of this paper is to study the current situation of energy consumption based on intelligent algorithms. This paper analyzes the energy policy factors, and analyzes the Pearson correlation coefficient between the indicators of the national energy policy factors. The research results show that the energy industry fixed asset investment IFA, coal consumption ratio PCC, and electricity consumption TEC have strong correlations with China's natural gas demand greater than 0.8. The negative correlation between coal consumption ratio PCC and natural gas is in line with reality.