上海交通大学硕士学位论文基于UML的分销管理系统的分析与设计姓名:魏少华申请学位级别:硕士专业:软件工程指导教师:窦延平;李文军20081001UML1UMLERPERPUMLERPERPUMLERP1)ERPERPERPERPCRMERP2)3)UMLUMLUML4)UMLERP5)UMLUMLERPCRMUML2ApplyingUMLinDesignofDistributionManagementSystemAbstractInE-businessera,enterpriseorganizing,businessprocess,interactionapproacheswithvendor,cus-tomer,consumerandallothercooperatorschangealot.ImplementationofERPsystemhasbeenaveryimportantmeanintheenterpriseinformationmanagement,hencethedevelopmentofERPsystemandrele-vantsoftwareshavebeenamajorpartinsoftwaredevelopment.Insoftwaredevelopment,especiallyinERPsystemdesignandmodeling,objectorientedmodelingmethodandunifiedmodelinglanguage(UML)isthemostpopularapproach.ThepaperanalyzestheexistingproblemsinERPproductsandapplyUMLtodesignDistributionManagementSystemIndetails,thepaperhasmadeanalysisanddesignasbelow:1)studythedevelopmentofERP,makeasystematicalanalysisontheprincipleandmodulesofERPsystem;accordingtofuturedevelopmentpossibility,analyzethestatusandapproachesofintegrationbetweenERPandCRM;andstudythespecificrequirementsfromtheconsumergoodsindustry;2)makeacomparisonondifferentmodelingapproaches;objectorientedmodelingmethodisadoptedinthispaperforit’sobviousadvantageslikehigh-reusability,flexibilityandeasymain-tenance;3)makeananalysisonvariouskindsofUMLdiagrams,andmodelingmechanismofUML,studytheextensionofUMLactivitydiagram;itcanexpressERPsystemmodelclearlyandisconven-ientforsoftwarereuse,reconstitution,integrationandcollaborationwhenbuildsystemmodelbyUML;4)applyUMLanddesignthesystemframeandsub-moduleslikeDistribution,Inventory,Purchas-ing,withanemphasisondistributionprocesseslikeorderchecking,andpromotion;studymasterdatamodelingcollectively;5)introducethedevelopmentplatformandtools,studythereflectionbetweenERmodelandobjectmodelindatabaserealization.KEYWORDSUnifiedModelingLanguageUMLUMLActivityDiagramEnterpriseRe-sourcePlanningSystemERPDistributionManagementSystemCustomerRelationshipManage-mentCRMUMLUMLUML111.121ERPEnterpriseResourcePlanning[1]IT1.2[2]UML21)2)3)1)CRM---CustomerRelationshipManagement[3]2)E-Commerce3)VMI---VendorManagedInventoryVMIVMI1.3InternetJS1-1JSUML3/ERPJSJS1-1Fig.1-1JSITStrategyJS1.4ERPUMLERP1)ERPERPCRMERP2)3)UMLUML4)UMLERP5)UML42ERPERP2.1ERP2.1.1ERPERPEnterpriseResourcePlanningGartnerGroup[4]ERP[5]ERP[6]111-1ERPTable1-1DevelopementofERPI60MRPBOMII70MRPIII80MRP-IIIV90ERPMRPMaterialResourcePlanning,MRPUML5MRPMRPMRPMRP-IIManufacturingResourcePlanningMRP-IIMRPMRP-IIERPERPMRP-IIERPMRP-IISupplyChainsERPDSSDecisionSupportSystemERPITERPERP1)ERPMRPII[7]2)ERP/C/SRDBMSOOTGUI4GLERP3)ERP2.1.2ERPERPERPERPERPERPERPUML6[8][9]2.1.3ERP2.1.3.1ERPERPERPERPSAPR/3,Ora-cle[12]//ERPBDCEDISAPR/3ABAP/4ERPERPERPNewCentury[10]/2.1.3.2ERPERPII1990GartnerGroupERP2000GartnerERPII[11]GartnerERPIIERPIIERPGartnerERPIICollaborativecommerceC-commerce)ERPERPERPIIERP——ERPIISAPPeopleSoftUML7InternetB2BB2CERPIIERPIISAPR/3mySAP.com[13])SAP2.1.4ERPCRM2.1.4.1CRM1997GartnerGroupCRM[14][15]CRMSiebelOracleVantiveCRMCRMCRM1)CRMIT2)CRM[16]CRMCRMCRMCRMCRM2.1.4.2CRMERPCRMCRMCRMUML8[17]CRMERPCRMERP1)CRMERPOracleERPOracleCRMOracleCRMOracleERP2)ERP/CRMCRM/ERPSAPR/3BAPI2.2ERP2.2.1ERP[18]ERPERPERPERPUML9ERP41)2)3)4)2.2.2SoftwareLifeCycle1)[19]ERP2)UML102.2.3Prototyping1)2)3)4)2.2.41981Smalltalk80[20]1)2)3)4)CoddYourdon=+++UML11OOAOODOOTOOSM1)2)3)4)2.3ERPERPCRMERPUMLUML123UML1997OMGObjectManagementGroupUnifiedModelingLanguageUMLUMLUMLUMLUML3.1UMLUMLUMLUML[2131]1)UMLUMLUMLUML2)UMLUMLUMLUML9UsecaseDiagramStaticDiagramClassDiagramObjectDiagramPackageDiagramBehaviorDiagramStatusDiagramActivityDiagramUML13InteractiveDiagramSequenceDia-gramCollaborationDiagram(ImplementationDiagram)ComponentDiagramDeploymentDiagramUMLRUPUML3.2UMLUMLUMLUMLUMLUMLUML14UMLUMLUMLUML3.3UMLUMLUMLUMLUMLUML3-13-1UMLTable3-1UMLModellingSystem3.4UMLUML15ERPUMLUMLUMLUML[32~34]UMLUML3.5UMLUMLUML1644.1CRMCRM4.2B/S//Client/ServerC/S/Browser/ServerB/S/ERPC/SB/SC/SB/SThinClientB/S4-1UML17Web4-1B/SFig.4-1SystemArchitecturebasedonB/SModeWebWebHttpWeb4-11)2)3)4)UML18Web4.34-2124-2Fig.4-2OrganizationChartofDistributionCompany1)2)CRM4-3UML19SubsystemSubsystemSubsystemSubsystemSubsystemSubsystemSubsystemSubsystemSubsystem4-3Fig.4-3OverallPackageDiagram1)2)TQMTotalQualityManagement3)4)5)6)ERPUML207)8)9)[3537]4.4ERPCRMUMLUML215UML5.11)2)3)4)5)6)7)8)9)10)5-1UML22SubsystemSubsystemSubsystemSubsystemSubsystemSubsystemSubsystemSubsystemSubsystem5-1Fig.5-1OverallPackageDiagram5.25.2.15-2UML235-2Fig.5-2UsecaseDiagramofPurchasingModule5-25-3//////UML245-3Fig.5-3ClassDiagramofPurchasingModule5.2.25-4UML255-4Fig.5-4ActivityDiagramofPurchasingProcessUML265-45-55-5Fig.5-5SequenceDiagramofPurchasingProcess5.35.3.1UML275-65-6Fig.5-6UsecaseDiagramofInventoryModule5-65-7UML285-7Fig.5-7ClassDiagramofInventoryModule5.3.25-8UML295-8Fig.5-8ActivityDiagramofStockTakingProcess5-85-8UML305-95-9Fig.5-9SequenceDiagramofStockTakingProcess5.45.4.15-10UML315-10Fig.5-10UsecaseDiagramofDistributionModule5.4.2/65-115-115-11UML32/5-11Fig.5-11ActivityDiagramofSalesProcess5.4.35-12UML335-12Fig.5-12ActivityDiagramofSale