节点文献

基于Web服务的分布式信息共享系统的研究与实现

Research And Implementation of Distributed Information Sharing System Based on Web Service

【作者】 张莉

【导师】 高海昌;

【作者基本信息】 西安电子科技大学 , 计算机软件与理论, 2014, 硕士

【摘要】 随着企业信息化的日益发展,涉及到的各不相同的操作系统、通信协议、数据库、数据结构和其他相关服务使得开发维护企业内部的应用系统更加复杂化。随着消息传递技术的不断成熟,为了更好的在分布式系统平台之间进行数据交换保证实现企业信息化,面向消息的中间件技术脱颖而出,它能高效可靠地进行分布式系统中各应用软件之间的异构通信。本文主要研究使用ActiveMQ开源框架来解决该系统中代理之间的消息传递问题,选用此框架中点对点模型结合设计的用户权限控制进行消息传送,同时也实现以发布/订阅主题为主的消息共享功能平台。本文介绍了基于Web服务的分布式信息共享系统,该系统采用REST风格以分布式形式提供用户Web服务、消息传递、持久化存储等若干关键技术,完成企业各部门的用户间发布/订阅主题等功能服务。本文的工作主要包括:(1)为了适应不同的用户需求,本文明确出该系统的各个功能模块,同时设计出该系统的软件技术架构以及系统分布式部署的网络结构来实现。该系统采用REST架构,通过URI的形式为用户提供主题的发布、订阅、删除等功能操作的Web服务。本文也制定设计出该系统的各功能模块的处理流程和实现所用技术来适应系统中用户的需求。(2)系统采用Spring Boot框架进行快速应用开发部署,在MySQL数据库上通过Hibernate和JPA技术设计并实现系统的持久化存储。(3)该系统具有分布式特点,该系统的Web服务可以部署于多台服务器上。服务器之间的通信服务满足JMS规范,确定ActiveMQ开源框架提供的系统网络拓扑结构以及所使用的消息传递模型,并制定针对该系统涉及到用户权限操作的有效的代理消息传递类,以提供可异构集成的高吞吐量的数据请求服务。(4)以该系统中主题的订阅、用户的删除和数据的发布为典型功能案例,设计出它们在该系统架构的控制层中相应的类关系和各个功能案例的详细处理流程。本文最后制定了系统测试的基本目标,采用以功能模块测试为重点的测试计划进行可用性测试和稳定性测试,结果表明该系统可以满足项目需求,可以提供可靠的分布式信息共享,进而通过该应用系统的运行验证了论文设计的可行性。目前,该系统已成功交付甲方并上线运行。

【Abstract】 The level of the enterprise information to gradually raise, the application system inside the enterprise to be increasingly complex; the construction of each system involved in operating system, communication protocol, database, data structure and other related services each are not identical. Along with the messaging technology matures, in order to be better to exchange data between the distributed system, message-oriented middleware technology come to the fore. It can be efficient and reliable for heterogeneous communication between the application software in distributed system. This article mainly adopts the Active MQ open source framework to solve the message transfer problems between agencies in the system, uses point to point model in Active MQ combined with the design of user access control for message transmission.This thesis introduces a distributed information sharing system based on Web service, which uses the REST style in a distributed form to provide the user Web service, message passing, persistent storage and several other key technologies, to complete the publish / subscribe theme functions among the enterprise departments. The main work of this thesis include:(1)In order to adapt to different user needs, this thesis definite the function modules of the Web services based distributed information sharing system, and design a software architecture of the system and the network structure to realize the distributed deployment. The system adopts the RESTFul Web service architecture, in the form of a URI to provide users with a variety of functions, such as some operations on the theme of publication, subscription, delete, etc.. This thesis determined the processing process of each function module of the system and the realization of the technology used to adapt to the needs of users in the system.(2)The system adopts Spring Boot framework for rapid application development and deployment, designs and implements the system persistent storage through Hibernate and JPA techniques in My SQL database.(3)The system has distributed characteristic, the Web services can be deployed on multiple servers. Communication between the servers meets the JMS specification, which uses the system network topology structure of Active MQ for messaging, to provide heterogeneous integrated data request service of high throughput.(4)With subscribing the theme, deleting the user and releasing the data in this system as typical functional cases, the thesis designs their corresponding class relations and the processing flow of each function case in the control layer of system architecture.Finally, the thesis formulates the basic aim of the system testing, which using the test plans to function module test focused usability testing and stability testing; The results show that the system can meet the needs of the project, provide reliable distributed information sharing. Through the application system is proved the feasibility of design. At present, the system has been successfully delivered to Party A and running on the line.

【关键词】 企业消息传递RESTFul Web服务JMSActiveMQ
【Key words】 Enterprise messagingRESTFul Web ServiceJMSActive MQ
  • 【分类号】TP311.52;TP393.09
  • 【被引频次】3
  • 【下载频次】229
  • 攻读期成果
节点文献中: