当前位置:主页 > 科技论文 > 软件论文 >

事件驱动的服务生成系统

发布时间:2018-11-19 07:30
【摘要】:在传统互联网背景下,服务架构主要以SOA(Service Oriented Architecture)为主,它具有代码重用性、松耦合、平台独立性及语言无关的特性。尽管SOA具有如此多的优势,但它在实时性和主动性方面还存在着一些局限性,不能满足未来物联网对服务架构的需求。物联网环境下服务具有实时、动态交互等特性,并且可以基于我们感兴趣的事件主动与我们交互。为了实现这种架构,需要集成SOA和EDA,生成EDSOA(基于事件驱动的服务架构)也就成了必然趋势,EDSOA具有松耦合、高度集成、动态交互、实时性、主动性等特点,能够很好的适应物联网背景下的需求。鉴于此,本文研究提出了事件驱动的服务生成系统的设计和实现,具体从以下几个方面进行研究:首先原子服务具有事件驱动的特性,所以本文选择使用java和Scala语言基于Actor模型生成原子服务;其次,将原子服务整合成复合服务,服务之间有订阅的事件,事件之间有逻辑关系,事件是从发布订阅系统中获取,所以本文开发ChatAgent管理系统实现服务向发布订阅系统订阅、发布、取消订阅;再者,由于原有的SOA平台是不具有事件的,所以本文对SOA插件进行开发,添加相应的组件,例如事件、逻辑、事件和服务之间的连线;接着,本文还实现了服务生成管理模块的一些功能,包括wsdl文件一键式生成服务框架代码、搜索功能、上传wsdl及xsd文件、添加类型功能。最后,本文对已经完成的系统进行了相应的测试,实验结果表明,本文所设计和研发的系统能够满足预期的需求。
[Abstract]:In the context of traditional Internet, SOA (Service Oriented Architecture) is the main service architecture, which has the characteristics of code reuse, loose coupling, platform independence and language independence. Although SOA has so many advantages, it still has some limitations in real-time and initiative, which can not meet the needs of the Internet of things for service architecture in the future. In the Internet of things environment, services have real-time, dynamic interaction and can actively interact with us based on the events we are interested in. In order to realize this architecture, it is necessary to integrate SOA and EDA, to generate EDSOA (event-driven service architecture). EDSOA has the characteristics of loose coupling, high integration, dynamic interaction, real-time, initiative, etc. Be able to adapt to the needs of the Internet of things. In view of this, this paper studies the design and implementation of event-driven service generation system, which is studied from the following aspects: firstly, atomic service has the characteristics of event-driven. So this paper chooses to use java and Scala language to generate atomic service based on Actor model. Secondly, the atomic service is integrated into a composite service. There are subscription events among the services, and there are logical relations between the events. The events are obtained from the publish / subscribe system. So this paper develops a ChatAgent management system to realize the service to the publish / subscribe system. Publish or unsubscribe; Furthermore, because the original SOA platform does not have events, this paper develops the SOA plug-in and adds the corresponding components, such as events, logic, events and services; Then, this paper also implements some functions of service generation management module, including wsdl file one-key generation service framework code, search function, upload wsdl and xsd files, add type function. Finally, the system has been tested. The experimental results show that the system designed and developed in this paper can meet the expected requirements.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.52;TP393.09

【参考文献】

相关期刊论文 前6条

1 乔秀全;章洋;吴步丹;程渤;赵帅;马华东;陈俊亮;;事件驱动、面向服务的物联网服务提供方法[J];中国科学:信息科学;2013年10期

2 孙其博;刘杰;黎,

本文编号:2341557


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2341557.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户0e383***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com