• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (7): 148-153.

• 论文 • 上一篇    下一篇

工作流信息图示模型的分析与改进

曹蔚然1,刘天华1,牛连强2   

  1. (1.沈阳师范大学软件学院,辽宁 沈阳110034;2.沈阳工业大学软件学院,辽宁 沈阳 110023)
  • 收稿日期:2009-11-10 修回日期:2010-11-09 出版日期:2011-07-21 发布日期:2011-07-25
  • 作者简介:曹蔚然(1974),男,辽宁本溪人,硕士,讲师,研究方向为工作流技术、计算机网络和图像处理。刘天华(1966),男,辽宁沈阳人,博士,教授,研究方向为计算机网络。牛连强(1965),男,辽宁盖县人,硕士,教授,研究方向为计算机辅助设计、可视化技术与仿真、软件工程等。
  • 基金资助:

    辽宁省教育厅科研项目(2009A664)

Analysis and Improvement on Workflow Information Graph Presentation Models

CAO Weiran1,LIU Tianhua 1,NIU Lianqiang2   

  1. (1.School of Software,Shenyang Normal University,Shenyang 110034;
    2.School of Software,Shenyang University of Technology,Shenyang 110023,China)
  • Received:2009-11-10 Revised:2010-11-09 Online:2011-07-21 Published:2011-07-25

摘要:

以往的工作流信息图示模型只有当前节点状态,且图示信息种类扩充困难,因此用户无法全面掌握流程进展情况,当流程需要用户参与选择时,用户就难于选择合适的下一环节或流程,且现存模型在设计上存在层次不清、程序难于维护的缺点。基于上述考虑,本文提出了一个改进的模型。新模型在原有模型基础上增加了同级节点状态和历史节点状态,并结合软件设计理论对模型的设计进行了优化,极大降低了软件层间耦合度。改进后的模型使软件层次分明、易于维护,可有效应对需求变更,使得软件在不改变程序结构的前提下,方便地增加图示信息种类,以向用户提供丰富的流程信息。经实际应用表明,这种模型可有效地提高开发效率,提供丰富的图示信息,能够更好地满足软件开发和用户的需求。

关键词: 工作流, JBPM, 流程信息, 节点状态, 图示模型, 软件分层理论, 面向对象设计原则, 抽象工厂模式

Abstract:

General workflow information graphical representation models only show the current node status, and the graphical representation information is difficult to expand, so the users cannot fully grasp the progress of the process. When the process requires the users to participate in the selection, the users will feel difficult to select the appropriate next link or process. Furthermore, some weaknesses exist in the former model such as unclear design hierarchy, being difficult to maintain. Based on the above considerations, an improved model is put forward accompanied with an increase of peer node status and history node status compared with the original model, combined with the optimization of model design on the basis of the layered software theory, the objectoriented design principle and the abstract factory pattern of the software design theory. And a reflex mechanism is applied to the abstract factory pattern in the improved model. This new model greatly reduces the degree of coupling between the software layers. The improved model keeps the software structured, easytomaintain, and can respond effectively to requirement Changes. In addition, the graphical information can easily be added to the software without changing the overall structure of the program,which provides the users with rich information.Through practical applications, the key configuration and code implementation are displayed, and the graphical result is shown. The practical application shows that this model has greatly increased the development efficiency and provides rich graphical information, thus it meets the development needs and user requirements properly.

Key words: workflow;JBPM;process information;node status;graph presentation model;layered software theory;objectoriented design principle;abstract factory pattern