With the development of a new round of scientific and technological revolution and industrial transformation, new information technologies such as 5G technology, big data and artificial intelligence have become an important driving force to promote the development of digital economy. In the context of the era of artificial intelligence, Shanxi Province, as a relatively latecomer in the economic development of domestic provinces, should seize the opportunity to keep up with the trend of The Times. Through the analysis of some data of Shanxi's digital economy in recent years and the comparison with other provinces, it is found that Shanxi has some problems in digital infrastructure, industrial digitization, digital industrialization and digital government construction. With artificial intelligence as the background, through investigation, literature and other methods to accelerate the construction of digital infrastructure, expand the scale of digital industrialization, implement industrial digital transformation projects, and strengthen the construction of digital government as basic measures, Shanxi can realize the rapid development of digital economy. These measures are of great significance for Shanxi Province to formulate corresponding measures from the perspective of problems in the process of digital economy development, so as to achieve industrial transformation and high-quality economic development