事件驅(qū)動的服務生成系統(tǒng)
發(fā)布時間:2018-11-19 07:30
【摘要】:在傳統(tǒng)互聯(lián)網(wǎng)背景下,服務架構主要以SOA(Service Oriented Architecture)為主,它具有代碼重用性、松耦合、平臺獨立性及語言無關的特性。盡管SOA具有如此多的優(yōu)勢,但它在實時性和主動性方面還存在著一些局限性,不能滿足未來物聯(lián)網(wǎng)對服務架構的需求。物聯(lián)網(wǎng)環(huán)境下服務具有實時、動態(tài)交互等特性,并且可以基于我們感興趣的事件主動與我們交互。為了實現(xiàn)這種架構,需要集成SOA和EDA,生成EDSOA(基于事件驅(qū)動的服務架構)也就成了必然趨勢,EDSOA具有松耦合、高度集成、動態(tài)交互、實時性、主動性等特點,能夠很好的適應物聯(lián)網(wǎng)背景下的需求。鑒于此,本文研究提出了事件驅(qū)動的服務生成系統(tǒng)的設計和實現(xiàn),具體從以下幾個方面進行研究:首先原子服務具有事件驅(qū)動的特性,所以本文選擇使用java和Scala語言基于Actor模型生成原子服務;其次,將原子服務整合成復合服務,服務之間有訂閱的事件,事件之間有邏輯關系,事件是從發(fā)布訂閱系統(tǒng)中獲取,所以本文開發(fā)ChatAgent管理系統(tǒng)實現(xiàn)服務向發(fā)布訂閱系統(tǒng)訂閱、發(fā)布、取消訂閱;再者,由于原有的SOA平臺是不具有事件的,所以本文對SOA插件進行開發(fā),添加相應的組件,例如事件、邏輯、事件和服務之間的連線;接著,本文還實現(xiàn)了服務生成管理模塊的一些功能,包括wsdl文件一鍵式生成服務框架代碼、搜索功能、上傳wsdl及xsd文件、添加類型功能。最后,本文對已經(jīng)完成的系統(tǒng)進行了相應的測試,實驗結果表明,本文所設計和研發(fā)的系統(tǒng)能夠滿足預期的需求。
[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
[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 喬秀全;章洋;吳步丹;程渤;趙帥;馬華東;陳俊亮;;事件驅(qū)動、面向服務的物聯(lián)網(wǎng)服務提供方法[J];中國科學:信息科學;2013年10期
2 孫其博;劉杰;黎,
本文編號:2341557
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2341557.html
最近更新
教材專著