华中科技大学硕士学位论文人员培训工作流系统的设计与实现姓名:杨琦伟申请学位级别:硕士专业:软件工程指导教师:吴涛20060701IVWeb(WebServices)WebWebWebK2.NETWebWebVAbstractWiththeincreasingprosperityofthee-businessenvironment,collaborativemodelofenterprise-to-enterpriseorsector-to-sectoristhemostpotentialmodel.Therearetwokeytechnicalissuesintheimplementationofthismodel.Thefirstone,traditionalsolutionsoftenoperateontheexclusivevalue-addednetwork,whicharemaintainedcostly,complexandrigidity,andcannotbeenaffordedbymostmedium-sizedandsmallbusinessenterprises.Anotherchallengeisensuringthatthesystemcanbeexpandedasneedschangeandintegration.ThelatestWebservicestechnology,whichmakesenterprisesandtheirpartnerscouldexchangetheirinformationeachotherbasedonitscomponents,opennessandselfdescribedattributes,hasbecomeoneofthebestreplacementsoftraditionalprogram.Andworkflowtechnologyisthebestoptiontoresolvethesecondproblem.Usingworkflowtechnology,itisflexibletoachieveanyrequirementchangesthroughmodifyingbusinessprocesses.ThroughcombiningWebservicesandworkflowtechnology,resolvingtheexpansionproblemofthesystemwouldbecomeveryeasy.Basedontheanalysisofsomecases,withabusinessprocessmanagementsystemintegratedwebservice—K2.NET,firstly,thepaperdesignsadistributed,webserviceandworkflowbasedtrainingplatform,whichismulti-participants,transplantableandsuitablefordynamiccooperationenvironment.Thistrainingplatformrealizesthecooperationwithcompanies,isomerismofthisbusinesscircumstance,distributionofmulti-internet,thecontrolofdifferentroles.Moreover,itadoptsformalprocessarchitectonic,whichcanfulfillabasicapplyingtrainingflowandthreemodifiedapplicationflowaccordingtotherequirements.Forspecialrequirementsofthepermissionstrategy,proposinganapprovedpolicyalgorithmswhichcouldadapttovarietychangesofstrategies.Finally,thispaperdiscussestheassetsmanagementtechnologywhichsupportsstrategicagileextendedflow,andmakessomeresearchesonminingthepotentialvalueofassetsinformationinnewcondition.Experimentresultshows,thisleaveworkflowmanagementsystemcansatisfytherequirementandhasaniceperformance.However,somebugsstillexist.Forinstance,VItheefficiencyofcodesexecutingisnothigh.Thisproblemcanbesolvedthroughcodeoptimizationandpredigestthestatusmachine.Insummary,thewholesystemconsultstheconstructedmodelproposedbytheunionofinternationalworkflow.Itisalightweightworkflow.Comparedtonormalworkflow,thissystem,whichisbasedontherequirementofmedium-sizedenterprise,hasmorestraightforwardfunctionstructure,shorterdevelopedcirculationandlowercost,andalsohasnicermaneuverability,maintainability,stabilityandexpansibility.Therefore,thisleaveworkflowmanagementinformationhastheabilityofreplacingthetraditionalmanualwork.Itcanreducealotoftheexecutingtimeandmostofcontrivedmistakes,whichenhancestheefficiencyandassuresthequality.Keywords:TrainingWebServiceWorkflowFormalizationIII111.11.1.1WorkflowManagementCoalitionWfMC[1]19701968FritzNordsieck1970[2]MichaelD.ZismanSCOOPClarenceA.EllisGaryJ.NuttOfficeTalkAnatolHoltPaulCashmanARPANETSCOOPOfficeTalkAnatolHoltPetri[3]SCOOPOfficeTalk80Forms-rootingApplication[4]80FileNetViewStar2[5]FileNet1984WorkflowBusinessSystemViewStar1988ViewStarActionTechnology80Coordinator90Client/ServerCORBA[6]SCMSupplyChainManagementCRMCustomerRelationshipManagement1993WfMC[7]2001.1.23[5]1234InternetWfMSWeb1.2[8]Run-time41.2.1WfMC19941129WfMSWorkflowReferenceModelWfMS1.1API13241.1WfMCWFMSWFMSWFMSWFMSWFMC[9]WorkflowProcessDefinitionLanguageWPDLWPDL[10]WORKFLOWACTIVITYWPDLWPDL5WPDL[3,4]1.2.21TaskFlowTask[11]DirectedAcyclicGraphNode1.2WFMSWIDE[12]IBMFLOWMARK[13]1.22StateEventStateTransitionHierarchyConcurrencyCommunicationReactiveSystem[14]StateTransitionStateTransitionTaskFlow1.3Statecharts[15]UML[16]61.33RelationshipCapturingRelationshipTriggersEnablingDisabling[17][16]1.41.44CommunicationBased[18]1.5CommunicationBased7ActionTechActionWorkflow[19](Customer)(Performer)(Propose)(Agreement)(Performance)(Satisfaction)1.55[20]Petri[21]Petri1962CarlAdamPetri[22]TimePetriNets[23]ColouredPetriNets[24,25]ObjectPetriNets[26,27]Predicate/TransitionPetriNets[28]StochasticPetrinets[29]PetriParallelismConcurrencySynchronizationResourceSharing[30]Petri[31][32-35]8[36][37,38]Petri[39-41](ResourceManager)Petri[38]Petri[31,32]1.2.390OOAOODOOPWfMSOOOOWfMS1[42]OOPL92OOWfMSWfMSOOPWfMSInConcert[43]RDBMSCodAlf[44]OSFDECOODC++FlowMark[45]C++ObjectStoreOODBMSOOWfMS[46]1.3Web10WebWebWebTATAHRTAXMLWebServiceK2.netCBACContext-basedAccessControl,K2.NETWebK2ASP.NETWebASP.NETWebWebK2K2WebRationalRobotK2.NETWEB1122.12.1.1123TA2.1.2.NET122.1.3123132.1.4K22.1.52.1.6142.1.72.2N[47]N[48]15.NETN.NETFramework[49]1005000.NETPresentationLayerBusinessLogicLayerInfrastructureandServiceLayer2.1UserInterfaceComponentsApplicationComponentsServiceInterfacesBusinessWorkflowComponentsBusinessEntitiesComponentsK2.NETSystemSecurityDataAccessLogicComponentsServiceAgentsDataSourceExternalServicesPresentationLayerBusinessLogicLayerInfrastructureandServiceLayer2.1162.2.1UserInterfaceComponentsApplicationComponentsASP.NETWebWeb2.2.2ServiceInterfaceXML