硕士学位论文(工程硕士)国税与地税联合办公系统的设计与实现THEDESIGNANDIMPLEMENTATIONOFINTEGRATESYSTEMWITHTHECTAISANDLTAIS孙天策2006年6月国内图书分类号:TP311国际图书分类号:621.3工程硕士学位论文国税与地税联合办公系统的设计与实现硕士研究生:孙天策导师:秦兵副教授副导师:雷军红高级工程师申请学位:工程硕士学科、专业:软件工程所在单位:软件学院答辩日期:2006年6月授予学位单位:哈尔滨工业大学ClassifiedIndex:TP311U.D.C.:621.3DissertationfortheMaster’sDegreeinEngineeringTHEDESIGNANDIMPLEMENTATIONOFINTEGRATESYSTEMWITHCTAISANDLTAISCandidate:Supervisor:AssociateSupervisor:AcademicDegreeAppliedfor:Speciality:Affiliation:DateofDefence:Degree-Conferring-Institution:SunTianceAssociateProfessorQinBingSr.EngineerLeiJunhongMasterofEngineeringSoftwareEngineeringSchoolofSoftwareJune,2006HarbinInstituteofTechnology哈尔滨工业大学工程硕士学位论文摘要目前国税和地税分别部署着税收征管系统,两套系统针对不同的税种管理着相同的纳税人,并且两套系统有着几乎相同运作流程。但是目前它们还处在相当孤立的局面,在它们之间没有任何数据上共享的或者业务上整合,这就必然带来一些收税征管工作中的问题。本系统希望能集成国税和地税当前的系统,使其在业务上能够使用一个统一的流程。本系统遵照SOA(面向服务的体系结构)理念分析当前两套系统的业务功能,将其分别整理为服务的提供方、服务的代理方和服务的消费方。然后运用相关技术将其实现。本系统主要使用基于J2EE的EAI(企业应用集成)设计技术。在原有系统的改造上使用基于J2EE的多层结构,并运用面向对象的设计模式理论将原有系统重构,使其能较为容易的被集成。本课题的主要设计内容和创新点在于运用EAI技术实现了两个基于J2EE系统的整合。其中主要实现了应用接口的整合,应用流程的整合和数据校验三个部分。应用接口部分设计了同步接口和异步接口两种方式用于系统的交互。数据校验部分使用了基于XML格式的数据格式与数据语义的双重校验。而流程整合是EAI设计的主体,流程整合包含流程控制、数据交换方案、业务对象管理三个部分;主要采用基于JAVA的面向对象设计思想,结合XML技术实现了流程运转。综上所述,设计EAI是本课题的核心。在我们已经建立的EAI框架上实现了国地税联合登记这项业务。昀后通过系统的功能测试和性能测试以证明设计的正确性。关键词联合办公;面向服务的体系结构;企业应用集成;--I哈尔滨工业大学工程硕士学位论文AbstractTheCountrytaxandLocaltaxdeploysrevenuefromtaxtoadvertiseforthetubesystemrespectivelycurrently,twosetsofsystemsgrowtomanagesametaxpayertodifferenttax,andtwosetsofsystemshavetooperateprocessalmostandsamealike.Buttheystillareplacedinequalisolatedsituationcurrently,havingnodataupthesharebetweenthemoforbusinessupintegration,thisbringsbyallmeanssomecollecttaxtoadvertisefortubeworkinofproblem.Thissystemhopesitcanintegratethecountrytaxandgroundsystemwithcurrenttax,canmakeituseaprocessforunifyonthebusiness.ThissystemactsaccordingtotheSOA(Service-OrientedArchitecture)principleanalyticalcurrenttwosetsofbusinessfunctionsofsystems,tidyuptoprovideasquarefortheservicerespectivelyit,serviceofagencysquareandtheconsumptionsquareoftheservice.Thenmakeuseofarelatedtechniquewillinfactnow.ThissystemmainlyusesaccordingtotheEAI(enterpriseapplicationintegration)designtechniqueoftheJ2EE.UseaccordingtomanylayerstructureoftheJ2EEontheoriginalsystematicreformation,andmakeuseofthedesignmodetheoriesoffacetotheobjectoriginalsystematicrebuild,makeitcanbemoreeasyofdriveintegrated.ThedatachecksthedualofdataformatandthedatalanguagerighteousnessthatthepartusedaccordingtotheXMLformattocheck.ButtheprocessintegrationisthecorpusoftheEAIdesign,theprocessintegrationincludestheprocesscontrol,datatoexchangeaproject,thebusinessobjecttomanagethreeparts;MaintheadoptionfacestotheobjectdesignthoughtaccordingtotheJAVA,combiningtheXMLtechniquetocarryoutprocessanoperation.Inoneword,thedesignEAIisthecoreofthistopic.EAIframehadalreadybuildupatusupcarriedoutthecountrygroundataxtounitetoregisterthisbusiness.Passthefunctiontestandperformancetestofthesystemfinallytoprovetheaccuracyofdesign.KeywordsCon-office,Service-OrientedArchitecture,EnterpriseApplicationIntegration--II哈尔滨工业大学工程硕士学位论文目录摘要...........................................................................................................................IAbstract......................................................................................................................II第1章绪论..............................................................................................................11.1课题的背景及研究目的..................................................................................11.2与课题相关的国内外研究综述......................................................................21.2.1国地税整合系统的研究现状....................................................................21.2.2SOA及EAI的研究现状..............................................................................31.3本论文的主要工作内容..................................................................................7第2章主要应用技术..............................................................................................82.1企业应用集成(EAI)...................................................................................82.1.1应用接口层................................................................................................92.1.2应用整合层................................................................................................92.1.3流程整合层..............................................................................................102.2J2EE体系结构................................................................................................112.2.1无状态J2EE..............................................................................................122.2.2有状态J2EE..............................................................................................142.3本章小结........................................................................................................16第3章联合办公系统的设计................................................................................173.1系统设计思想........................