Patent attributes
A blockchain-based data processing method is applied to a terminal device provided with a trusted execution environment, and includes: acquiring a data upload request of a user, the data upload request including to-be-uploaded data to be uploaded to a blockchain; transferring, through a first trusted application for performing data upload processing on the terminal device, the to-be-uploaded data in the data upload request to the trusted execution environment of the terminal device, wherein the trusted execution environment is provided with a verification rule for performing data verification on the to-be-uploaded data of the first trusted application; determining, by using the trusted execution environment, whether the to-be-uploaded data complies with the verification rule; and if it is determined that the to-be-uploaded data complies with the verification rule, acquiring verified to-be-uploaded data from the trusted execution environment based on the first trusted application, and uploading the verified to-be-uploaded data.