现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
6期
62-64,68
,共4页
工作流%动态工作流%修改策略%状态迁移策略
工作流%動態工作流%脩改策略%狀態遷移策略
공작류%동태공작류%수개책략%상태천이책략
workflow%dynamic workflow%strategy modification%state migration strategy
为了使工作流系统能够在运行过程中支持过程定义的动态可变,探讨工作流在过程方面发生动态修改的分类,分析重启、继续执行、迁移等多种动态修改策略的优缺点,重点研究了迁移策略的实现,提出了一种基于迁移策略的动态工作流的设计方法。该方法首先加载数据表中的过程定义信息,并根据反射机制动态创建相应的工作流对象及其方法。然后设计了一种迁移策略执行算法,根据迁移规则XML配置文件,动态完成运行时的旧工作流到新工作流的转换,从而提高了工作流系统的动态性。
為瞭使工作流繫統能夠在運行過程中支持過程定義的動態可變,探討工作流在過程方麵髮生動態脩改的分類,分析重啟、繼續執行、遷移等多種動態脩改策略的優缺點,重點研究瞭遷移策略的實現,提齣瞭一種基于遷移策略的動態工作流的設計方法。該方法首先加載數據錶中的過程定義信息,併根據反射機製動態創建相應的工作流對象及其方法。然後設計瞭一種遷移策略執行算法,根據遷移規則XML配置文件,動態完成運行時的舊工作流到新工作流的轉換,從而提高瞭工作流繫統的動態性。
위료사공작류계통능구재운행과정중지지과정정의적동태가변,탐토공작류재과정방면발생동태수개적분류,분석중계、계속집행、천이등다충동태수개책략적우결점,중점연구료천이책략적실현,제출료일충기우천이책략적동태공작류적설계방법。해방법수선가재수거표중적과정정의신식,병근거반사궤제동태창건상응적공작류대상급기방법。연후설계료일충천이책략집행산법,근거천이규칙XML배치문건,동태완성운행시적구공작류도신공작류적전환,종이제고료공작류계통적동태성。
In order to make the workflow system to support the dynamic variable of procedure definition in operation pro-cess,the classification of workflow which may occur the dynamic modification in the process is discussed. The advantages and disadvantages of dynamic modification strategies,including restart,continuous execution and migration are analyzed. The imple-mentation of migration strategy is researched emphatically. A design method of dynamic workflow based on migration strategy is proposed. The information of process definition in the data table is loaded,and the appropriate workflow objects and their methods according to the reflection mechanism are dynamically created in this method. An executing algorithm of migration strate-gy is also designed. According to the migration rules which are written by XML,the workflow system accomplishes the conver-sion from the old workflow to the new workflow to improve the dynamic property of the workflow system.