The invention discloses a data protection method based on a block chain. The method comprises the following steps: S1, collecting multi-source heterogeneous data; s2,
processing the collected multi-source heterogeneous data into a
data stream with a specified format, and extracting a starting time, an ending time and a service type from the
data stream to generate a data
fingerprint; s3, assembling the obtained
start time, end time, service type and data
fingerprint into a message; and S4, storing the generated message on the block chain, wherein the
original data is still stored in the local
database and / or the local file. According to the invention, the multi-source heterogeneous data is converted into the message only containing the
start time, the end time, the service type and the data
fingerprint, and the message is stored on the block chain, so that the technical problem that in the prior art, the overhead of computing resources, storage resources and bandwidth resources of the block chain is too large due to the fact that all
data needs to be recorded and chained one by one is solved; and the problems that the interactive data between the
client and the security company is easy to delete and tamper, and the security and completeness of the data cannot be ensured can be solved.