The embodiment of the invention provides a data flow detection method and
system based on a block chain, and the method comprises the steps: generating a to-be-verified block chain for a verificationstrategy of a specific target data business when a
server receives a data flow obtaining request, sent by a user terminal, for the target data business, thereby considering the difference of differentdata businesses, and improving the
verification efficiency. Therefore, the security and pertinence of the
authentication process are improved, the user terminal can calculate the to-be-verified fieldaccording to the block chain generation field in the to-be-verified block chain to generate the corresponding
verification field, and the to-be-verified field is randomly added, so that the difficulty of
cracking by a
hacker can be improved, the
authentication success rate is further improved. And lastly, legal state detection is carried out after the
verification block chain is formed, the userterminal is allowed to access the
data stream address of the target data service after the detection is passed, and verification is repeatedly carried out by monitoring the access information of the user terminal in real time during the period, so that the
authentication success rate and security are further improved.