Blockchain technology has been applied to the government's supervision mechanism of the platform ecosystem, considering the inaccurate timing of the Chinese government's supervision of the platform ecosystem. This study establishes a game model to study the government's decision-making behavior, total social welfare, and participants in the platform ecosystem. Research suggests that although government regulation can improve overall social welfare, excessive regulation inhibits the development of platform enterprises. Hence, this study further analyzes the government's regulatory interval facing the platform ecosystem, constructs an application scenario of blockchain that enables timely government regulation, and establishes the regulatory interval as the trigger mechanism of smart contracts in the blockchain. The smart contract can send an alarm, and the government can intervene in the platform ecosystem for supervision if the evaluation result is within the regulatory interval. The government will not intervene in the platform ecosystem for regulation (if the government is inside the platform ecosystem at this time, the government will withdraw; if it is not inside the platform ecosystem, it will remain unchanged) if the assessment result exceeds the regulatory range.