Journal of Graphics ›› 2025, Vol. 46 ›› Issue (6): 1216-1223.DOI: 10.11996/JG.j.2095-302X.2025061216
• Core Industrial Software for Manufacturing Products • Previous Articles Next Articles
XUE Shuncong1(
), DU Xiaobing2, SHAO Xin1, GAO Duohua2, WANG Tian3, YANG Jiong1(
)
Received:2025-08-14
Accepted:2025-10-10
Online:2025-12-30
Published:2025-12-27
Contact:
YANG Jiong
About author:First author contact:XUE Shuncong (1999-), PhD candidate. His main research interest covers CAD industrial software development. E-mail:xuesc972@163.com
Supported by:CLC Number:
XUE Shuncong, DU Xiaobing, SHAO Xin, GAO Duohua, WANG Tian, YANG Jiong. Cloud-based CAD file storage method based on command stream[J]. Journal of Graphics, 2025, 46(6): 1216-1223.
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.txxb.com.cn/EN/10.11996/JG.j.2095-302X.2025061216
| 命令 | 数据 |
|---|---|
| 拉伸 | { ID:“…” Command:“拉伸” Parameters:{ ID:“…” Sketch:“Profile_1 Direct:1/2/3 Bool:0/1/2/3 Others:“…” } Others:“…” } |
Table 1 Command stream data of the stretch command
| 命令 | 数据 |
|---|---|
| 拉伸 | { ID:“…” Command:“拉伸” Parameters:{ ID:“…” Sketch:“Profile_1 Direct:1/2/3 Bool:0/1/2/3 Others:“…” } Others:“…” } |
| 字段 | 含义 |
|---|---|
| CommandID | 命令ID |
| ModelID | 所属模型ID |
| UserID | 用户ID |
| Timestamp | 时间戳 |
| CommandType | 命令类型 |
| CommandData | 命令流数据 |
| Dependencies | 前置命令依赖 |
| Version | 版本号 |
| Checksum | 命令完整性校验 |
| Status | 命令状态 |
Table 2 The data structure of the log model
| 字段 | 含义 |
|---|---|
| CommandID | 命令ID |
| ModelID | 所属模型ID |
| UserID | 用户ID |
| Timestamp | 时间戳 |
| CommandType | 命令类型 |
| CommandData | 命令流数据 |
| Dependencies | 前置命令依赖 |
| Version | 版本号 |
| Checksum | 命令完整性校验 |
| Status | 命令状态 |
| 对比项 | Onshape | 本文架构 |
|---|---|---|
| 架构类型 | 云端SaaS (纯web) | 命令流增量存储架构 |
| 命令机制 | FeatureScript | 键值对命令流 |
| 数据组织 | 版本树结构(差分快照) | 数据存储模型+日志模型 |
| 计算位置 | 云端计算为主 | 客户端+云端混合 |
| 性能优化 | 差分存储与压缩 | 命令流增量传输+异步写入 |
| 优势 | 高度集成、实时协同强 | 易扩展、高效同步 |
Table 3 Comparison of architectures
| 对比项 | Onshape | 本文架构 |
|---|---|---|
| 架构类型 | 云端SaaS (纯web) | 命令流增量存储架构 |
| 命令机制 | FeatureScript | 键值对命令流 |
| 数据组织 | 版本树结构(差分快照) | 数据存储模型+日志模型 |
| 计算位置 | 云端计算为主 | 客户端+云端混合 |
| 性能优化 | 差分存储与压缩 | 命令流增量传输+异步写入 |
| 优势 | 高度集成、实时协同强 | 易扩展、高效同步 |
| 序号 | 配置项 | 详细描述 |
|---|---|---|
| 1 | 处理器 | 12th Gen Intel(R) Core(TM) i7-12700KF (3.60 GHz) |
| 2 | 内存 | 32 G |
| 3 | 显卡 | NVIDIA RTX 5070 |
| 4 | 操作系统 | Windows 11 (64位) |
| 5 | 网络环境 | 下载带宽:80 Mbps 上传带宽:20 Mbps |
| 6 | 浏览器 | Microsoft Edge v141.0.3537.92 |
Table 4 testing environment
| 序号 | 配置项 | 详细描述 |
|---|---|---|
| 1 | 处理器 | 12th Gen Intel(R) Core(TM) i7-12700KF (3.60 GHz) |
| 2 | 内存 | 32 G |
| 3 | 显卡 | NVIDIA RTX 5070 |
| 4 | 操作系统 | Windows 11 (64位) |
| 5 | 网络环境 | 下载带宽:80 Mbps 上传带宽:20 Mbps |
| 6 | 浏览器 | Microsoft Edge v141.0.3537.92 |
| 测试对象 | 卡伦特CAD | Onshape | |
|---|---|---|---|
| 平均命令 流传输延迟 | 平均系统 响应时间 | 平均系统 响应时间 | |
| 绘制草图 | 45 | 140 | 367 |
| 简单零件建模 | 52 | 40 | 256 |
| 绘制曲面 | 50 | 44 | 281 |
| 复杂零件修改 | 56 | 203 | 343 |
Table 5 The results of the tests/ms
| 测试对象 | 卡伦特CAD | Onshape | |
|---|---|---|---|
| 平均命令 流传输延迟 | 平均系统 响应时间 | 平均系统 响应时间 | |
| 绘制草图 | 45 | 140 | 367 |
| 简单零件建模 | 52 | 40 | 256 |
| 绘制曲面 | 50 | 44 | 281 |
| 复杂零件修改 | 56 | 203 | 343 |
| [1] |
程锦, 叶虎强, 谭建荣, 等. 三维CAD技术研究进展及其发展趋势综述[J]. 机械工程学报, 2023, 59(23): 158-185.
DOI |
|
CEHNG J, YE H Q, TAN J R, et al. Review of research progress and development trends of 3D CAD technology[J]. Journal of Mechanical Engineering, 2023, 59(23): 158-185 (in Chinese).
DOI |
|
| [2] |
高亮, 李培根, 黄培, 等. 数字化设计类工业软件发展策略研究[J]. 中国工程科学, 2023, 25(2): 254-262.
DOI |
|
GAO L, LI P G, HUANG P, et al. Development strategies of industrial software for digital design[J]. Strategic Study of CAE, 2023, 25(2): 254-262 (in Chinese).
DOI |
|
| [3] |
罗军舟, 金嘉晖, 宋爱波, 等. 云计算: 体系架构与关键技术[J]. 通信学报, 2011, 32(7): 3-21.
DOI |
| LUO J Z, JIN J H, SONG A B, et al. Cloud computing: architecture and key technologies[J]. Journal on Communications, 2011, 32(7): 3-21 (in Chinese). | |
| [4] | 赵飞宇. 云架构CAD软件及其关键技术与应用综述[J]. 计算机集成制造系统, 2022, 28(4): 959-978. |
| ZHAO F Y. Key technologies and applications for cloud CAD software[J]. Computer Integrated Manufacturing Systems, 2022, 28(4): 959-978 (in Chinese). | |
| [5] | 潘华, 王淑营, 孙林夫, 等. 面向产业链协同SaaS平台多源信息动态集成安全技术研究[J]. 计算机集成制造系统, 2015, 21(3): 813-821. |
| PAN H, WANG S Y, SUN L F, et al. Multi-source dynamic integration security for SaaS collaborative platform of industrial chain[J]. Computer Integrated Manufacturing Systems, 2015, 21(3): 813-821 (in Chinese). | |
| [6] |
TANG H T, ZHOU J X, SHEN X, et al. Research and development on CAD/CAE integration of casting process system based on IGES neutral file[J]. Materials Science Forum, 2013, 762: 230-235.
DOI URL |
| [7] |
XIAO W L, LIU Y Z, LI R, et al. Reconsideration of T-spline data models and their exchanges using STEP[J]. Computer-Aided Design, 2016, 79: 36-47.
DOI URL |
| [8] |
HALLMANN M, GOETZ S, SCHLEICH B. Mapping of GD&T information and PMI between 3D product models in the STEP and STL format[J]. Computer-Aided Design, 2019, 115: 293-306.
DOI URL |
| [9] |
SAORÍN J L, DE LA TORRE-CANTERO J, MELIÁN DÍAZ D, et al. Cloud-based collaborative 3D modeling to train engineers for the industry 4.0[J]. Applied Sciences, 2019, 9(21): 4559.
DOI URL |
| [10] | 梅敬成. CrownCAD构建“工业大脑”[J]. 软件和集成电路, 2021(10): 76-81. |
| MEI J C. CrownCAD builds an “Industrial brain”[J]. Software and Integrated Circuit, 2021(10): 76-81 (in Chinese). | |
| [11] | WU D Z, TERPENNY J, SCHAEFER D. A survey of cloud-based design and engineering analysis software tools[EB/OL]. [2025-06-14]. https://asmedigitalcollection.asme.org/IDETC-CIE/proceedings-abstract/IDETC-CIE2016/50077/V01AT02A016/256826. |
| [12] | 谢华成, 陈向东. 面向云存储的非结构化数据存取[J]. 计算机应用, 2012, 32(7): 1924-1928, 1942. |
|
XIE H C, CHEN X D. Cloud storage-oriented unstructured data storage[J]. Journal of Computer Applications, 2012, 32(7): 1924-1928, 1942 (in Chinese).
DOI URL |
|
| [13] | GUO H X, LIU S L, PAN H, et al. ComplexGen: cad reconstruction by B-Rep chain complex generation[J]. ACM Transactions on Graphics (TOG), 2022, 41(4): 129. |
| [14] | WU R D, XIAO C, ZHENG C X. DeepCAD: a deep generative network for computer-aided design models[C]// 2021 IEEE/CVF International Conference on Computer Vision. New York: IEEE Press, 2021: 6752-6762. |
| [15] | 孔兰菊, 李庆忠, 史玉良, 等. 面向SaaS应用基于键值对模式的多租户索引研究[J]. 计算机学报, 2010, 33(12): 2239-2247. |
|
KONG L J, LI Q Z, SHI Y L, et al. Research on index of multi-tenant based on key-values for SaaS application[J]. Chinese Journal of Computers, 2010, 33(12): 2239-2247 (in Chinese).
DOI URL |
|
| [16] |
陈付梅, 韩德志, 毕坤, 等. 大数据环境下的分布式数据流处理关键技术探析[J]. 计算机应用, 2017, 37(3): 620-627.
DOI |
|
CHEN F M, HAN D Z, BI K, et al. Key technologies of distributed data stream processing based on big data[J]. Journal of Computer Applications, 2017, 37(3): 620-627 (in Chinese).
DOI |
| [1] | WU Haoyu, YANG Xiaochao, WANG Wei, ZHAO Gang. Simulation technology for braiding process of composite materials based on kinematic principles [J]. Journal of Graphics, 2025, 46(5): 1061-1071. |
| [2] | XUE Yutong, WANG Aizeng, YUE Yike, HE Chuan, ZHAO Gang. Complex shell structure analysis and optimization based on isogeometric analysis and simulated annealing algorithm [J]. Journal of Graphics, 2024, 45(3): 575-584. |
| [3] | LI Hong-xuan, ZHANG Song-yang, REN Bo. High-capacity clipped robust image steganography based on multilevel invertible neural networks [J]. Journal of Graphics, 2023, 44(6): 1149-1161. |
| [4] | YAN Guang-wei, LIU Run-ze, JIAO Run-hai, HE Hui. Detection method of dropped anti-vibration hammer for transmission line based on improved Cascade RCNN [J]. Journal of Graphics, 2023, 44(5): 849-860. |
| [5] | ZOU Qiang. A note on solid modeling: history, state of the art, future [J]. Journal of Graphics, 2022, 43(6): 987-1001. |
| [6] | LENG Jue-lin , , ZHANG Zhe , , LIU Tian-tian , , ZHENG Peng . A shape matching algorithm based on geometric moments and its applications on CAD models [J]. Journal of Graphics, 2021, 42(4): 608-614. |
| [7] | ZHANG Wei-jin, CHEN Wu-qin . Automatic Design Algorithm of Pile Foundation Cap Based on Revit [J]. Journal of Graphics, 2019, 40(4): 771-777. |
| [8] | ZHANG Chao . 4D-BIM Based Quality and Safety Management for Qugang Highway [J]. Journal of Graphics, 2019, 40(4): 778-782. |
| [9] | ZHAI Jin-you1, DAI Ji-yang1,2, WANG Jia-qi1, YING Jin1 . Multi-Objective Identification of UAV Based on Deep Residual Network [J]. Journal of Graphics, 2019, 40(1): 158-164. |
| [10] | YE Ying, ZHANG Qi, SU Zhiyong . Retrieval of 2D Engineering CAD Drawings Based on Hashing [J]. Journal of Graphics, 2018, 39(5): 963-969. |
| [11] | WANG Yeming . Research and Practice on the Integration of CAD into Civil Engineering Drawing Teaching Through Assignment-Driven Approach [J]. Journal of Graphics, 2018, 39(5): 1009-1013. |
| [12] | WANG Min, ZHANG Zongbo, NIU Wenjie, CAO Qingyuan. Research on Teaching Reform of “Mechanical CAD Foundation” Course Combine with Cloud Classroom [J]. Journal of Graphics, 2018, 39(2): 367-372. |
| [13] | ZHAO Yan. Practice on Integrating 3D Printing Technology to Engineering Graphics Teaching [J]. Journal of Graphics, 2017, 38(增刊): 52-55. |
| [14] | DU Ying, ZHANG Yujia, ZHANG Yanhua, SUN Yaming. Process Management and Application of Standard Templates in Engineering Drawings Design Based on AutoCAD [J]. Journal of Graphics, 2017, 38(增刊): 65-71. |
| [15] | MU Haozhi 1,WANG Xiaofei 1,CAI Bing 2,NIU Xinghua 1. Teaching Research and Practice of Computer Experiment on CAD of Engineering Drawing Course Based on the “Internet Plus” [J]. Journal of Graphics, 2017, 38(5): 772-778. |
| Viewed | ||||||
|
Full text |
|
|||||
|
Abstract |
|
|||||