第一范文网 - 专业文章范例文档资料分享平台

基于OA系统的工作流引擎设计与实现

来源:用户分享 时间:2025/7/15 15:29:22 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

XX大学本科学生毕业设计

基于OA系统的工作流引擎设计与实现

学 生: 学 号: 指导教师:

专 业:计算机科学与技术

XX大学计算机学院

二OO八年六月

I

XX大学本科学生毕业设计

摘 要

工作流管理系统是一个软件系统,它用于工作流的定义和管理,并按照在计算机中制定好的工作逻辑推进工作流实例的执行,实现自动传递文档、信息或者任务。工作流引擎在工作流管理系统中处于核心地位,是系统的任务调度器和资源分配器。它可以创建新的流程、基于过程模型生成工作项、支持活动的执行、分配资源以及记录工作流的相关信息。目前,工作流技术在办公自动化(Office Automation, OA)系统中的应用月来越广泛,对OA系统中的工作流引擎进行探索具有重要的应用价值。

本文结合一般的办公室办公自动化的需求,从软件生存周期的角度,使用面向对象的设计方法,给出了一个结构清晰、配置简单的工作流引擎设计方案。重点介绍来了引擎的设计与实现。该引擎借鉴了已有的工作流引擎的设计,在保证实用性的基础上,在权限和流程管理方面进行了针对性的取舍。最后给出了重要功能的部分代码,并进行了详细的描述。

经过测试应用,该引擎可以支持灵活的流程定制,配置部署简单,达到了预定目标。

关键词:JSP, Spring, Hibernate, Ajax , JavaScript

I

XX大学本科学生毕业设计

ABSTRACT

Workflow Management System is a software system. It is mainly used for the definition and management of workflow. It makes the workflow instance executes fluently with some scheduled rules to achieve the goal that pass documents, information or tasks automanticlly. Workflow engine is the kernel of a workflow management system. It is a distributor of tasks and resources, which can create new processes, create work items based on process models, support executions of activities, and allocate resources and record information of the workflow. Nowadays, as there are more and more workflow applications in office automation, it is very important to do research in workflow fields. From the perspective of the software life cycle,this paper proposes a well-structed, easy-to-deploy workflow engine solution with the general demands for office automation, which was designed in an Object-oriented way. The designment and implementation will be focused on. This engine has referenced other engines and has done some choices on the basis of normal function. At last, an implementation is showed with detailed description of some important part.

After testing, this engine is easy-to-use and meets the requirements.

Keywords: JSP, Spring, Hibernate, Ajax , JavaScript

2

XX大学本科学生毕业设计

目录

摘 要 ............................................................................................................................................... I ABSTRACT ........................................................................................................................................ 2 1 引言 .............................................................................................................................................. 5

1.1 课题的背景与目标 .......................................................................................................... 5 1.2 课题研究内容及文本组织 .............................................................................................. 6 2 相关技术及原理 .......................................................................................................................... 7

2.1 工作流技术 ...................................................................................................................... 7

2.1.1 工作流引擎核心功能 .......................................................................................... 7 2.1.2 两种现有工作流引擎 .......................................................................................... 8 2.2 Spring框架 ................................................................................................................... 10

2.2.1 Spring 声明式事务管理 .................................................................................. 11 2.2.2 Spring Web MVC ................................................................................................ 14

3 工作流引擎需求分析 ................................................................................................................ 17

3.1 相关概念介绍 ................................................................................................................ 17 3.2 总体需求 ........................................................................................................................ 17

3.2.1 基于业务的需求分析 ........................................................................................ 17 3.2.2 需求描述 ............................................................................................................ 18 3.3 任务实时通知 ................................................................................................................ 18 3.4 多种业务流程的文件存储问题 .................................................................................... 19 3.5 文件权限问题 ................................................................................................................ 19 3.6 业务流程的基本模式 .................................................................................................... 19 3.7 用例阐述 ........................................................................................................................ 20

3.7.1启动流程 ................................................................................................................. 20 3.7.2 挂起流程 ................................................................................................................ 20 3.7.3 激活流程 ................................................................................................................ 21 3.7.4 终止流程 ................................................................................................................ 21 3.7.4 接收任务 ................................................................................................................ 21 3.7.5 打开工作项 ............................................................................................................ 22 3.7.6 保存文件 ................................................................................................................ 22 3.7.7 发送文件 ................................................................................................................ 22 3.7.8 挂起工作项 ............................................................................................................ 22 3.7.9 恢复工作项 ............................................................................................................ 23 3.7.10 驳回文件 .............................................................................................................. 23 3.7.11 跟踪流程状态 ...................................................................................................... 23

4 设计 ............................................................................................................................................ 25

4.1 时序图 ............................................................................................................................ 25

4.1.1 执行工作项 ........................................................................................................ 25 4.1.2 提交任务 ............................................................................................................ 26 4.1.3 实例化流程 ........................................................................................................ 27 4.2 数据库设计 .................................................................................................................... 28 4.3 流程路由机制 ................................................................................................................ 33 4.4 流程的控制模型 ............................................................................................................ 34

3

搜索更多关于: 基于OA系统的工作流引擎设计与实现 的文档
基于OA系统的工作流引擎设计与实现.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c3nimd8gav46i8st1cmtk_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top