The invention relates to a lossless
database watermarking scheme which comprises the following steps: S1, inputting
original data into a preprocessing module for preprocessing, and performing attribute selection on the
original data to obtain preprocessed data; s2,
processing the preprocessed data in a
watermark embedding module to obtain embedded data; s3, if the embedded data is not maliciously attacked, directly entering
mask generation and
watermark extraction in a
watermark extraction module for
processing, and then performing majority voting
processing to generate a watermark; and S4, if the embedded data is maliciously attacked, performing data partition processing in a watermark extraction module, performing
mask generation and watermark extraction processing, and finally performing majority voting processing to generate a watermark. The overall
system provided by the embodiment of the invention is zero in
distortion, does not modify the original
database while embedding the watermark information into the
database, is suitable for application scenes needing high-precision data, and has good robustness.