【正文】
.................................... 7 本文的組織安排 .................................................... 8 工作流技術(shù)概述 ........................................................ 9 工作流的相關(guān)概念 .................................................. 9 工作流技術(shù)的發(fā)展與產(chǎn)品 ........................................... 10 工作流管理系統(tǒng) ................................................... 11 工作流管理系統(tǒng)的功能 ....................................... 11 工作流管理系統(tǒng)的體系結(jié)構(gòu) ................................... 12 工作流參考模型 ................................................... 16 小結(jié) ............................................................. 17 3 輕量級(jí)工作流管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) ....................................... 18 輕量級(jí)工作流管理系統(tǒng)概念 ......................................... 18 傳統(tǒng)工作流管理系統(tǒng) ......................................... 18 輕量級(jí)工作流管理系統(tǒng) ....................................... 19 系統(tǒng)概述 ......................................................... 19 匿名用戶角色 .............................................. 19 職員角色部分 ............................................... 19 管理員角色功能部分 ......................................... 19 系統(tǒng)預(yù)覽 ......................................................... 20 系統(tǒng)特點(diǎn) ......................................................... 22 系統(tǒng)需求分析 ..................................................... 23 可登陸用戶的基本功能 ........................................... 23 公司職員具有的功能 ............................................. 23 系統(tǒng)管理員具有的功能 ........................................... 23 系統(tǒng)基本框架 ..................................................... 23 功能上劃分 ..................................................... 24 角色上劃分 ..................................................... 25 數(shù)據(jù)庫(kù)的設(shè)計(jì) ..................................................... 27 數(shù)據(jù)庫(kù)需求分析 ................................................. 27 數(shù)據(jù)庫(kù)概念結(jié)構(gòu)設(shè)計(jì) ............................................. 27 數(shù)據(jù)庫(kù)邏輯結(jié)構(gòu)設(shè) 計(jì) ............................................. 32 模型( Model)層的設(shè)計(jì) (部分 ) ...................................... 34 用戶模型類( ) ........................................ 34 工作流模型 類( ) .................................. 37 業(yè)務(wù)邏輯層設(shè)計(jì)(部分類) ......................................... 39 數(shù)據(jù)庫(kù)幫助類( )(部分) ........................ 39 用戶操作類( ) .................................... 47 界面層的設(shè)計(jì)(部分) ............................................. 52 配置 文件 ............................................ 52 用戶登陸 ....................................................... 54 工作流管理 ................................................. 57 結(jié)束語(yǔ) ............................................................................................................................. 59 致謝 ......................................................................................................................................... 60 參 考 文 獻(xiàn) ......................................................................................................................... 61 通用的輕量級(jí)工作流系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn) 學(xué) 生:梅小虎 指導(dǎo)教師:張彬橋 (三峽大學(xué) 電氣信息學(xué)院) 摘要 : 工作流 管理系統(tǒng)是近年來(lái)在計(jì)算機(jī)應(yīng)用領(lǐng)域發(fā)展最為迅速的技術(shù)之一。工作流 術(shù)的主 要特點(diǎn)是過(guò)程的自動(dòng)化處理,這些過(guò)程包含以人和以機(jī)器為基礎(chǔ)的活動(dòng)的 結(jié)合,特別是對(duì)那些與 IT 應(yīng)用程序、工具交互的過(guò)程進(jìn)行自動(dòng)化處理。 傳統(tǒng)工作流管理系統(tǒng)的設(shè)計(jì)從提供功能齊全的工作流服務(wù)角度出發(fā),不可避免地導(dǎo)致了系統(tǒng)架構(gòu)極為龐大,系統(tǒng)的復(fù)雜性也隨著增大。由于這些問(wèn)題的存在,使得傳統(tǒng)的工作流管理系統(tǒng)不能快速地根據(jù)具體的應(yīng)用需求定制,靈活地集成到應(yīng)用系統(tǒng)。輕量級(jí)工作流架構(gòu)的核心部分,由幾個(gè)組件提供工作流的基本功能。具體研究?jī)?nèi)容如下: ,并對(duì)主流的開源工作流管理系統(tǒng)進(jìn)行深入的分析和對(duì)比。 關(guān)鍵詞:工作流、工作流建模、輕量級(jí)工作流管理系統(tǒng) Abstract: Workflow management system is one of the most rapidly developed tehnology int puter area primary characterictic is automation of processes,Which involving binations of some activities technology’s introduction lowers the coupling between process logic and business logic of the application system,then reducing plexity of the application development process,raising the application system development efficiency and maintainability. The purpose design of traditional workflow architectures aims at providing full fledged support for the widest possible application ,most workflow management system,both products and research prototypes,are heavyweight,monolithic,and package a prehensive set of features in anallornothing ,current workflow systems are hard to integrate with other environments. The solution to the previous probles introduced here is a lightweight workflow architecture that enables software developers to pick and choose the workflow featuresthety the core of the architecture,several ponents provide basic workflow functionality. In the paper,firstly,the workflow management system is divided into three layers, namely view、 business logic and data ,give an elaboration on workflow engine and process definition as follows: investigations and researches on actualities of workflow technology,as well as give deeply analysis and parisons on mainstream open source workflow management system. on work flow theory,and based on design principle of sufficient,flexible and lowcost,we make researches on the lightweight workflow management system,as well as elaborate on its design and implementation put emphasize on the core modules in workflow engine such as workflow process template management,workflow instance management,the list ofworkitem management,transfer services,time constraints services,and so on. Also,we discuss design and implementation of process definition tools. Keyword:Workflow,workflow modeling, Lightweight WorkflowManagement System 前言 工作流技術(shù)起源于二十世紀(jì)七十年代中期辦公自動(dòng)化領(lǐng)域的研究,由于當(dāng)時(shí)計(jì)算機(jī)尚未普及,網(wǎng)絡(luò)技術(shù)水平還很低以及理論基礎(chǔ)匱乏,這項(xiàng)新技術(shù)并未取得成功。 進(jìn)入九十年代以后,隨著個(gè)人計(jì)算機(jī)、網(wǎng)絡(luò)技術(shù)的普及和推廣,以及信息化建設(shè)的日益完善,使得工作流技術(shù)的研究與開發(fā)進(jìn)入了一個(gè)新的熱潮。 1994 年,工作流管理聯(lián)盟發(fā)布了用于工作流管理系統(tǒng)之間互操作的工作流參考模型,并相繼制定了一系列工業(yè)標(biāo)準(zhǔn)。 自 20 世紀(jì) 90 年代中期至今,互聯(lián)網(wǎng)技術(shù)在我國(guó) 迅速發(fā)展和普及,引出了 Intra、Extra、 Inter、政府上網(wǎng)工程、企業(yè)上網(wǎng)工程、電子政府、電子商務(wù)、電子管理、政府內(nèi)部網(wǎng)、企業(yè)網(wǎng)、數(shù)字神經(jīng)系統(tǒng)和數(shù)字化辦公等一系列新概念,這些新概念的提出背后都或多或少的存在著工作流的思想,只不過(guò)有些概念體現(xiàn)的工作流思想少些,而有些概念的核心思想就是工作流的思想,如辦公自動(dòng)化等?,F(xiàn)代化企業(yè)為了增強(qiáng)工作效率、縮短信息傳播周期、固化業(yè)務(wù)模式、增加核心競(jìng)爭(zhēng)力,已經(jīng)將企業(yè)經(jīng)營(yíng)過(guò)程的各個(gè)領(lǐng)域各個(gè)環(huán)節(jié)均納入了企業(yè)信息化的部分。無(wú)論是辦公自動(dòng)化系統(tǒng)還是具體業(yè)務(wù)系統(tǒng),都是為企業(yè)提供軟件服務(wù)的,都是本著服務(wù)于企