欢迎访问《图学学报》 分享到:

图学学报

• 数字化设计 • 上一篇    下一篇

基于哈希的二维工程CAD 图拓扑关系认证技术

  

  1. 南京理工大学自动化学院, 江苏 南京 210094
  • 出版日期:2017-08-31 发布日期:2017-08-10
  • 基金资助:
    国家自然科学基金项目(61300160)

Topology Authentication of 2D Engineering CAD Drawings Based on Hashing

  1. School of Automation, Nanjing University of Science and Technology, Nanjing Jiangsu 210094, China
  • Online:2017-08-31 Published:2017-08-10

摘要: 针对二维工程CAD 图拓扑关系完整性认证问题,提出一种基于哈希的拓扑完整性
认证算法。该算法首先提取图纸的拓扑关系生成拓扑图;其次对图中的组件进行编码,并提出
一种局部拓扑量化模式(LTQP),实现各组件拓扑特征的量化;然后将组件按照其编码分成5 类,
基于各组件的LTQP 值,利用离散余弦变换生成每类组件的哈希序列;最后将每类组件的哈希
序列进行合并,得到完整的图纸哈希序列。实验结果表明,该算法对旋转、缩放和平移等非恶
意操作具有鲁棒性,同时对恶意拓扑攻击具有脆弱性,采用将组件分类来生成哈希序列的方式,
能够对受到拓扑攻击的组件的种类进行定位。

关键词: 工程CAD 图, 拓扑认证, 局部拓扑量化模式, 离散余弦变换, 哈希

Abstract: Since it’s difficult to authenticate the topological relation in the 2-dimensional engineering
CAD drawing, a topological integrity authentication algorithm is proposed based on Hashing in this
paper. Firstly, the algorithm extracts the topological relations of the drawings to generate the topology
graph. Secondly, the components in the engineering CAD drawing are encoded, and the local
topological quantization pattern (LTQP) is proposed to quantize the topological features of each
component. Then, the components are divided into five categories according to their coding, and a
Hash sequence is generated by discrete cosine transform based on the LTQP values. Finally, the Hash
sequence of each category is combined to obtain the complete Hash sequence of the drawing. The
experimental results show that the algorithmis robust to rotation, scaling and translation in
engineering CAD drawings, and is vulnerable to the change of topological connection. By classifying
the components to generate a Hash sequence, the algorithm can locate the type of components which
is subjected to the topology attack.

Key words: engineering CAD drawing, topology authentication, local topological quantization pattern;
discrete cosine transform,
Hashing