With the rapid development of the digital era, the network technologyhas become more mature, and Internet products with various functions haveemerged at the historic moment, which has promoted the continuous prosperity of the digital economy. The Internet has penetrated into all aspects of our lives.People are immersed in WeChat, email, Tiktok, online games and other majorplatforms. The focus of learning, work and entertainment has shifted fromoffline to online, which has also formed a large number of digital properties.With the aging of the first generation of netizens, people have gradually paidattention to the economic and spiritual value contained in digital property. Inpractice, disputes over the inheritance of digital heritage have also occurredfrequently. However, since the first case of digital property disputes in ourcountry, there have been significant controversies and no consensus has beenreached on issues such as the nature of digital heritage. The current Civil Codeonly provides general provisions for the protection of digital property and doesnot provide detailed provisions on the inheritance of digital heritage. In reality,network service providers often refuse to inherit digital heritage, and thereare also practical difficulties in defining the value of digital heritage, leadingto a dual dilemma of theory and reality in the inheritance of digital heritage.This article attempts to use legal and economic analysis methods to explore amore effective approach to digital heritage inheritance. Response methods forresource allocation efficiency.