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

图学学报 ›› 2025, Vol. 46 ›› Issue (6): 1216-1223.DOI: 10.11996/JG.j.2095-302X.2025061216

• 制造产品核心工业软件 • 上一篇    下一篇

基于命令流的云端CAD文件存储方法

薛顺聪1(), 杜晓兵2, 邵鑫1, 高朵花2, 王添3, 杨炯1()   

  1. 1 郑州大学机械与动力工程学院河南 郑州 450001
    2 厦门卡伦特科技有限公司福建 厦门 361023
    3 中车工业研究院有限公司北京 100070
  • 收稿日期:2025-08-14 接受日期:2025-10-10 出版日期:2025-12-30 发布日期:2025-12-27
  • 通讯作者:杨炯(1990-),男,教授,博士。主要研究方向为CAD软件开发、曲线曲面基本理论等。E-mail:yangjiong@zzu.edu.cn
  • 第一作者:薛顺聪(1999-),男,博士研究生。主要研究方向为CAD工业软件开发。E-mail:xuesc972@163.com
  • 基金资助:
    国家重点研发工业软件项目(2023YFB3306600)

Cloud-based CAD file storage method based on command stream

XUE Shuncong1(), DU Xiaobing2, SHAO Xin1, GAO Duohua2, WANG Tian3, YANG Jiong1()   

  1. 1 School of Mechanical and Power Engineering, Zhengzhou University, Zhengzhou Henan 450001, China
    2 Xiamen Current Technology Corporation Limited, Xiamen Fujian 361023, China
    3 CRRC Industrial Institute Corporation Limited, Beijing 100070, China
  • Received:2025-08-14 Accepted:2025-10-10 Published:2025-12-30 Online:2025-12-27
  • First author:XUE Shuncong (1999-), PhD candidate. His main research interest covers CAD industrial software development. E-mail:xuesc972@163.com
  • Supported by:
    National Key Research and Development Industrial Software Project(2023YFB3306600)

摘要:

为实现云端CAD文件的快速存储,提出一种基于命令流的云端CAD文件存储方法。构建命令流数据存储模型,将客户端操作命令分类表示为命令流,并以键值对的形式进行增量传输存储;构建命令流日志模型,以命令作为最小事务单元,将用户建模操作表示为可记录、可重放和可验证的操作日志序列,实现命令流原子性写入、命令重放、版本追踪与状态恢复。同时,搭建云端CAD文件存储架构,包括交互模块、命令流处理模块和数据存储模块,采用双层存储模式分别存储命令流、几何和拓扑数据。经实例测试,表明该方法能够快速且准确对云端三维CAD文件进行传输,验证了该方法的有效性。

关键词: CAD, 命令流, 增量传输, 日志模型, 双层存储

Abstract:

To enable rapid storage of 3D CAD files in the cloud, a cloud CAD file storage method based on command streams was proposed. A command-stream data-storage model was constructed; client operation commands ware classified and represented as command streams, and incrementally transmitted and stored as key-value pairs. A command stream log model was also built, taking commands as the smallest transaction unit, representing user modeling operations as recordable, replayable, and verifiable operation-log sequences, to enable atomic writes of command streams, command replay, version tracking, and state recovery. Meanwhile, a cloud-CAD file storage architecture was established, including an interaction module, a command-stream processing module, and a data-storage module; a two-layer storage mode was adopted to store command streams, geometric and topological data, respectively. Through case testing, the method was demonstrated to enable rapid and accurate transfer 3D CAD files in the cloud, verifying its effectiveness.

Key words: CAD, command stream, incremental transmission, log model, dual-tier storage

中图分类号: