The invention discloses a railway sensitive data
watermark tracing method based on invisible characters, and the method comprises the following steps: S1,
watermark information preprocessing: calculating
watermark information needing to be written into abstract information with a
fixed length, then generating an invisible character string according to a coding rule, and then carrying out the fragmentation of the invisible character string; s2, watermark information writing: traversing
result set metadata to determine a written column and a position thereof, and correspondingly writing invisible character string fragments; and S3, watermark
traceability: reading the provided
data set file according to rows, extracting invisible character strings, comparing the invisible character strings with pre-stored watermark information, calculating a matching degree, and outputting a
traceability result. According to the method,
watermark embedding and
traceability of the railway sensitive data are achieved, effective protection is provided for railway data safety, an
original data structure is not changed, the influence on an existing
system is small, meanwhile, high universality and expandability are achieved, and the method is suitable for protection requirements of various railway sensitive data.