This application provides a method and
system for automatic auditing of data usage logs supporting smart contracts, relating to the field of
industrial internet auditing technology. The method includes: capturing data usage events from a
data source system, generating structured data usage credentials, and submitting them to a
blockchain network for storage; when a new data usage credential storage event is detected, automatically retrieving a verifiable policy contract from the
blockchain based on the data asset identifier in the data usage credential; executing predefined audit rule assertion logic in the verifiable policy contract, automatically running logical judgments through a
blockchain virtual machine, and generating a first audit judgment result; obtaining a behavior anomaly probability
score through a behavior
anomaly detection array; and generating an audit judgment result containing compliance judgment status and
risk level based on the first audit judgment result and the behavior anomaly probability
score, and storing automated audit records on the blockchain. This solves the technical problems in existing technologies.