The invention discloses a dwg file and pdf file consistency
verification method based on an information abstract
algorithm, and relates to the technical field of
electronic submission of drawings in the investigation and design industry, and the method comprises the following steps: obtaining specified key content in a first dwg file, generating a first information abstract according to the specified key content, and when the first dwg file is printed as a pdf file, generating a second information abstract according to the specified key content, and when the first dwg file is printed as the pdf file, verifying the consistency of the first dwg file and the pdf file; the first information abstract is written into pdf file
metadata, when a second dwg file and the pdf file are uploaded, a second information abstract is generated according to the specified key content in the second dwg file, the first information abstract is extracted from the
metadata in the pdf file, and the first information abstract is compared with the second information abstract. And determining a consistency result of the second dwg file and the pdf file, so that direct information of the reviewed dwg file and the pdf file is free from tampering, loss and omission through consistency comparison.