The invention relates to the technical field of electronic file anti-counterfeiting, and particularly discloses a non-inductive
watermark electronic file anti-counterfeiting method based on
evolutionary computation, which comprises the following steps of: S1, converting each page of document of an electronic file into a
grayscale image, and generating an
image sequence; s2, finding and recording optimal embedding positions, optimal rotation angles and position sequence information corresponding to a plurality of
watermark images for each page of document by using an
evolutionary computation method, and generating an optimal
insertion position sequence of the non-inductive
watermark; s3, the optimal
insertion position sequence is packaged and encrypted to generate a secret key; s4, during anti-counterfeiting
verification, information is inversely solved through the secret key, and whether the watermark exists or not and whether the position of the watermark is consistent or not are checked page by page by using configuration information in the secret key, so that the authenticity and integrity of the file are judged; the optimal fusion position of the watermark and the file content can be intelligently found, the imperceptible watermark is generated,
verification is carried out through the
encryption key, and the problems that the electronic file is easy to tamper and counterfeit, and
verification is difficult are effectively solved.