应用激光, 2017, 37 (1): 118, 网络出版: 2017-06-27
通用型激光加工工艺控制软件的领域模型设计
Design of Domain-model for the Universal Laser Processing System Software
领域驱动设计 领域模型 激光加工 超聚合 薄层耦合 domain-driven design domain-model laser processing hyper-aggregation thin-layer coupling
摘要
领域驱动设计(Domain-Driven Design)是指导专业领域复杂软件开发的系统分析和设计方法, 其将着眼点集中于应用领域本身, 可以最大程度、最短路径反映领域专家的专业思维, 是工业领域很适用的软件开发模式, 但在激光加工专业领域尚未见到应用报道。提出了通用型激光加工工艺控制软件的用户界面层、应用层、领域层和基础结构层四层软件系统架构, 对激光加工工艺控制的核心业务及其相互关联关系进行了分析建模, 建立了一个由加工图形、加工参数、虚拟设备构成的加工任务超聚合领域模型, 并设计了“薄层耦合”的应用服务函数将领域层与其他层隔离, 有效提升了软件快速迭代、可移植性、扩展性和可维护性。
Abstract
Domain-Driven Design(DDD)is a system analysis and design method which guides the developmentof domain software in professional field. DDDfocus on the application domain that can reflectsthe field experts’ professional knowledge to the maximum extent with theshortest path.Therefore DDD is a very suitablesoftware development modelin the industrial field, but has not yet been seen in the field of laser processing applications.This work has designed the system framework of universallaser processing system software using the DDD method, which is consist of a four-layer-architecture as user interface layer, application layer, domain layer and infrastructurelayer. The core elements of laser processing technology and its interrelated relationship are analyzed and modeled, and then a processing task hyper-aggregation domain modelis established which includesgraphics processing, processing parametersand virtual devices. Ansimple application service functionwith the "Thin-layer Coupling" feature that make the domain-model layer is separated from other layers is designed, which can effectively improve the fast iterative, portability, expansibility and maintainability of the universal laser processing system software.
李春林, 张健, 曹宇, 刘文文, 何安. 通用型激光加工工艺控制软件的领域模型设计[J]. 应用激光, 2017, 37(1): 118. Li Chunlin, Zhang Jian, Cao Yu, Liu Wenwen, He An. Design of Domain-model for the Universal Laser Processing System Software[J]. APPLIED LASER, 2017, 37(1): 118.