天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁(yè) > 科技論文 > 軟件論文 >

微服務(wù)通信框架的設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-11-23 16:47
【摘要】:隨著軟件技術(shù)的發(fā)展,以及系統(tǒng)應(yīng)用規(guī)模的不斷擴(kuò)大,軟件架構(gòu)從簡(jiǎn)單的MVC架構(gòu)逐漸演化到面向服務(wù)架構(gòu)。面向服務(wù)架構(gòu)由于其具有粗粒度、松耦合的架構(gòu)模式和定義規(guī)范明確的通信方式等優(yōu)點(diǎn),而廣泛地應(yīng)用于大型企業(yè)系統(tǒng)。但由于傳統(tǒng)的基于ESB的面向服務(wù)架構(gòu)存在服務(wù)調(diào)用性能壓力較大、服務(wù)化架構(gòu)線性拓展較難等不足之處,國(guó)內(nèi)外互聯(lián)網(wǎng)企業(yè)采用了另一種更加靈活的服務(wù)架構(gòu)風(fēng)格,即微服務(wù)架構(gòu)。微服務(wù)架構(gòu)具有去中心化、模塊高度自治、拓展靈活等諸多優(yōu)點(diǎn),可以使用較低的成本實(shí)現(xiàn)企業(yè)的研發(fā)需求,提高研發(fā)效率。本文通過(guò)對(duì)公司業(yè)務(wù)系統(tǒng)進(jìn)行需求調(diào)研,設(shè)計(jì)實(shí)現(xiàn)了滿足具體業(yè)務(wù)需求的微服務(wù)通信框架。本通信框架包括四個(gè)模塊:基于Netty設(shè)計(jì)實(shí)現(xiàn)的用于底層網(wǎng)絡(luò)傳輸?shù)耐ㄐ拍K、建立在通信模塊之上用于對(duì)傳輸消息描述和規(guī)范的私有協(xié)議棧模塊、用于微服務(wù)架構(gòu)下分布式組網(wǎng)中服務(wù)節(jié)點(diǎn)之間進(jìn)行服務(wù)路由、信息提供的目錄服務(wù)器服務(wù)注冊(cè)中心模塊、用于抵御高并發(fā)和惡劣網(wǎng)絡(luò)環(huán)境等分布式環(huán)境下可能出現(xiàn)的異常因素而導(dǎo)致系統(tǒng)工作異常的服務(wù)熔斷器模塊。本文按照軟件工程的思想和方法,結(jié)合公司具體的業(yè)務(wù)需求,通過(guò)構(gòu)建用例模型分析需求,用系統(tǒng)架構(gòu)圖對(duì)框架做出了展示。運(yùn)用類圖、時(shí)序圖和流程圖展示了本人主要負(fù)責(zé)并完成的通信模塊、私有協(xié)議棧模塊、服務(wù)注冊(cè)中心模塊以及服務(wù)熔斷器模塊。最后通過(guò)測(cè)試驗(yàn)證了本框架的功能。該通信框架上線之后,根據(jù)基準(zhǔn)測(cè)試和線上服務(wù)運(yùn)行結(jié)果表明,公司多條業(yè)務(wù)系統(tǒng)整體靈活性得到了大幅度提升,單點(diǎn)壓力顯著降低。業(yè)務(wù)整體穩(wěn)定性和運(yùn)行效率也有了較大的提升。同時(shí),業(yè)務(wù)組開(kāi)發(fā)人員的額外工作量也明顯下降,資源的利用率得到了顯著的提升。
[Abstract]:With the development of software technology and the expansion of system application scale, software architecture has evolved from simple MVC architecture to service-oriented architecture. Service-Oriented Architecture (SOA) is widely used in large enterprise systems due to its advantages of coarse-grained, loosely coupled architecture patterns and well-defined communication methods. However, because the traditional service-oriented architecture based on ESB has some disadvantages, such as the pressure of service invocation performance and the difficulty of linear expansion of service-oriented architecture, Internet enterprises at home and abroad have adopted another more flexible service architecture style. Microservice architecture. Micro-service architecture has many advantages, such as decentralization, high autonomy of modules, flexible development and so on. It can realize the R & D demand of enterprises and improve R & D efficiency with lower cost. In this paper, we design and implement a micro service communication framework to meet the specific business requirements by researching the requirements of the company's business system. The communication framework consists of four modules: the communication module designed and implemented based on Netty for the underlying network transmission, the private protocol stack module built on the communication module to describe and standardize the transmission messages. It is used for service routing between service nodes in distributed network under microservice architecture. Directory server service registry module provides information. A service fuse module used to resist possible anomalies in distributed environments, such as high concurrency and bad network environments, resulting in abnormal system performance. According to the idea and method of software engineering and combined with the specific business requirements of the company, this paper analyzes the requirements by constructing the use case model, and presents the framework with the system architecture diagram. The class diagram, timing diagram and flow chart are used to show the communication module, the private protocol stack module, the service registry module and the service fuse module. Finally, the function of this framework is verified by testing. The results of benchmark test and online service operation show that the overall flexibility of the company's multiple business systems has been greatly improved and the single point pressure has been significantly reduced. Business overall stability and operational efficiency has also been greatly improved. At the same time, the additional workload of business group developers is also significantly reduced, and the utilization of resources has been significantly improved.
【學(xué)位授予單位】:北京交通大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP311.52

【相似文獻(xiàn)】

相關(guān)期刊論文 前10條

1 ;Web服務(wù)≠SOA[J];軟件世界;2006年23期

2 周正午;盧朝霞;;基于面向服務(wù)架構(gòu)的異地醫(yī)保系統(tǒng)研究[J];網(wǎng)絡(luò)與信息;2007年12期

3 陳傳波;張彬彬;;面向服務(wù)架構(gòu)的遷移方法研究[J];計(jì)算機(jī)工程與科學(xué);2008年02期

4 韓燈亮;;基于面向服務(wù)架構(gòu)的系統(tǒng)改造與實(shí)現(xiàn)探討[J];電腦知識(shí)與技術(shù);2008年11期

5 張景霞;梁永全;;面向服務(wù)架構(gòu)淺析[J];赤峰學(xué)院學(xué)報(bào)(自然科學(xué)版);2008年09期

6 冉建華;;面向服務(wù)架構(gòu)在數(shù)字景區(qū)管理中應(yīng)用的探討[J];鐵路計(jì)算機(jī)應(yīng)用;2009年09期

7 黃小慶;關(guān)維德;周宇;夏安邦;;面向服務(wù)架構(gòu)中的服務(wù)分類及其應(yīng)用[J];計(jì)算機(jī)集成制造系統(tǒng);2009年09期

8 王松;劉文才;;采用面向服務(wù)架構(gòu)實(shí)現(xiàn)敏捷企業(yè)[J];重慶教育學(xué)院學(xué)報(bào);2006年06期

9 陽(yáng)亮;胡曉慶;方儀;;面向服務(wù)架構(gòu)應(yīng)用技術(shù)研究[J];電腦知識(shí)與技術(shù);2008年35期

10 ;讀者來(lái)信[J];互聯(lián)網(wǎng)周刊;2008年05期

相關(guān)會(huì)議論文 前6條

1 雷傲雄;謝旭升;鄧華鋒;;基于SOA方法的企業(yè)服務(wù)架構(gòu)研究[A];全國(guó)第20屆計(jì)算機(jī)技術(shù)與應(yīng)用學(xué)術(shù)會(huì)議(CACIS·2009)暨全國(guó)第1屆安全關(guān)鍵技術(shù)與應(yīng)用學(xué)術(shù)會(huì)議論文集(下冊(cè))[C];2009年

2 楊占才;張桂英;王紅;;面向服務(wù)架構(gòu)的可移植測(cè)試程序集開(kāi)發(fā)技術(shù)研究[A];2012航空試驗(yàn)測(cè)試技術(shù)學(xué)術(shù)交流會(huì)論文集[C];2012年

3 張桂英;范利花;楊占才;;面向服務(wù)架構(gòu)的可移植TPS軟件實(shí)現(xiàn)技術(shù)[A];面向航空試驗(yàn)測(cè)試技術(shù)——2013年航空試驗(yàn)測(cè)試技術(shù)峰會(huì)暨學(xué)術(shù)交流會(huì)論文集[C];2013年

4 王斌;趙云;尹云輝;;面向服務(wù)架構(gòu)的復(fù)雜工業(yè)過(guò)程建模研究[A];2009中國(guó)控制與決策會(huì)議論文集(1)[C];2009年

5 吳奎;;面向服務(wù)架構(gòu)的通用決策支持平臺(tái)構(gòu)想[A];2013第一屆中國(guó)指揮控制大會(huì)論文集[C];2013年

6 康占祥;范利花;張桂英;楊占才;;ATML模型在面向服務(wù)架構(gòu)TPS軟件中應(yīng)用方法研究[A];面向航空試驗(yàn)測(cè)試技術(shù)——2013年航空試驗(yàn)測(cè)試技術(shù)峰會(huì)暨學(xué)術(shù)交流會(huì)論文集[C];2013年

相關(guān)重要報(bào)紙文章 前10條

1 張倩;促成Coty并購(gòu):SOA如何做“紅娘”[N];中國(guó)計(jì)算機(jī)報(bào);2007年

2 張志君;構(gòu)筑企業(yè)生態(tài)圈更為重要[N];山西經(jīng)濟(jì)日?qǐng)?bào);2007年

3 蒲公英;現(xiàn)在部署面向服務(wù)架構(gòu)[N];科技日?qǐng)?bào);2005年

4 ;面向服務(wù)架構(gòu)加快企業(yè)創(chuàng)新[N];中國(guó)證券報(bào);2005年

5 本報(bào)記者 王薇;建立面向服務(wù)架構(gòu) 保險(xiǎn)企業(yè)創(chuàng)新不斷[N];中國(guó)保險(xiǎn)報(bào);2005年

6 ;分析師建議放棄SOA[N];計(jì)算機(jī)世界;2009年

7 曲飚;面向目標(biāo)的知識(shí)管理[N];計(jì)算機(jī)世界;2004年

8 王澤蘊(yùn);Rosanne Sac cone:BEA的又一任女CMO[N];中國(guó)計(jì)算機(jī)報(bào);2006年

9 ;如何以標(biāo)準(zhǔn)化的名義復(fù)制成功?[N];中國(guó)電子報(bào);2004年

10 郭瑩;你能Away誰(shuí)?[N];中國(guó)計(jì)算機(jī)報(bào);2005年

相關(guān)博士學(xué)位論文 前3條

1 裴科;PRSoC三層服務(wù)架構(gòu)及其URAP協(xié)議研究[D];太原理工大學(xué);2010年

2 韋韞;基于面向服務(wù)架構(gòu)的網(wǎng)絡(luò)化協(xié)同制造資源重組優(yōu)化研究[D];南京理工大學(xué);2011年

3 劉文彬;面向服務(wù)架構(gòu)的旋轉(zhuǎn)機(jī)械智能診斷維修系統(tǒng)及工程應(yīng)用研究[D];北京化工大學(xué);2008年

相關(guān)碩士學(xué)位論文 前10條

1 房海群;教育云計(jì)算服務(wù)架構(gòu)研究與應(yīng)用實(shí)現(xiàn)[D];電子科技大學(xué);2015年

2 李蘇璇;基于微服務(wù)架構(gòu)的SaaS應(yīng)用構(gòu)建方法研究[D];華南理工大學(xué);2016年

3 方雄飛;基于Mule ESB的山洪預(yù)警及洪水推演系統(tǒng)研究與實(shí)現(xiàn)[D];華中科技大學(xué);2015年

4 劉美伶;廣州煌尚塑料包裝有限公司O2O網(wǎng)絡(luò)銷售系統(tǒng)分析與設(shè)計(jì)[D];江西財(cái)經(jīng)大學(xué);2016年

5 王禹亭;移動(dòng)云服務(wù)架構(gòu)設(shè)計(jì)與計(jì)算卸載策略研究[D];吉林大學(xué);2017年

6 張彬彬;面向服務(wù)架構(gòu)的應(yīng)用遷移方法及其應(yīng)用研究[D];華中科技大學(xué);2006年

7 魯U(kuò),

本文編號(hào):2352121


資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2352121.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶e99cd***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com