家庭開放平臺中消息中間件的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-11-24 13:16
【摘要】:近年來,包括智能機(jī)頂盒、智能手機(jī)、可穿戴設(shè)備在內(nèi)的智能終端發(fā)展迅猛。目前,中國已經(jīng)成為世界上最大的智能終端制造和消費(fèi)國,制造的機(jī)頂盒占全球市場的80%以上。建立中國移動家庭開放平臺的目的是為了實(shí)現(xiàn)對智能機(jī)頂盒的統(tǒng)一配置與管理,包括內(nèi)容的下發(fā)、固件版本更新等。在家庭開放平臺中,子系統(tǒng)間,特別是終端管理門戶與終端遠(yuǎn)程服務(wù)子系統(tǒng)、應(yīng)用管理門戶與應(yīng)用遠(yuǎn)程服務(wù)子系統(tǒng)、屏幕管理門戶與屏幕遠(yuǎn)程服務(wù)子系統(tǒng)間存在大量的業(yè)務(wù)交互。傳統(tǒng)的RPC方法的同步、緊密耦合的特征不適用于家庭開放平臺中數(shù)據(jù)同步的需求。另外,家庭開放平臺中缺乏日志模塊,無法記錄操作員的日志數(shù)據(jù)以及業(yè)務(wù)對象的狀態(tài)變化。針對系統(tǒng)的這一現(xiàn)狀,論文基于開源消息中間件RocketMQ設(shè)計(jì)并實(shí)現(xiàn)了適用于家庭開放平臺的數(shù)據(jù)同步與廣播通知模塊,并使用Spring AOP結(jié)合消息中間件,設(shè)計(jì)并實(shí)現(xiàn)了日志模塊。本文的主要工作如下:(1)基于開源消息中間件RocketMQ進(jìn)行二次開發(fā),實(shí)現(xiàn)了家庭開放平臺中系統(tǒng)間的解耦合,提供了可靠的消息同步與廣播通知服務(wù);(2)針對窄帶寬條件下的消息傳輸,在消息中間件中引入自適應(yīng)算術(shù)編碼,保障了窄帶寬條件下的傳輸效率;(3)針對可能傳輸?shù)挠脩裘舾行畔?在消息中間件中引入加密算法,保證了數(shù)據(jù)的安全性;(4)基于Spring AOP實(shí)現(xiàn)了對方法的攔截,利用FreeMarker、值棧以及反射機(jī)制生成日志內(nèi)容,結(jié)合消息中間件,將分散的日志進(jìn)行統(tǒng)一收集并完成持久化。另外,基于REST約束規(guī)范,在管理門戶提供了日志的查詢接口。在論文的最后,通過功能測試,驗(yàn)證了系統(tǒng)滿足設(shè)計(jì)目標(biāo)。
[Abstract]:In recent years, intelligent terminals, including smart set-top boxes, smart phones and wearable devices, have developed rapidly. At present, China has become the world's largest intelligent terminal manufacturing and consumption countries, manufacturing set-top boxes accounted for more than 80 percent of the global market. The purpose of setting up China Mobile Home Open platform is to realize the unified configuration and management of intelligent set-top box, including content distribution, firmware version update and so on. In the home open platform, the subsystem, especially the terminal management portal and the terminal remote service subsystem, the application management portal and the application remote service subsystem, There is a lot of business interaction between screen management portal and screen remote service subsystem. The traditional RPC method of synchronization and tight coupling is not suitable for data synchronization in open home platform. In addition, there is no log module in the open home platform to record the log data of the operator and the change of the state of the business object. Aiming at the present situation of the system, this paper designs and implements the data synchronization and broadcast notification module based on open source message middleware (RocketMQ), and uses Spring AOP and message middleware to design and implement the log module. The main work of this paper is as follows: (1) based on open source messaging middleware RocketMQ, the system decoupling is realized, and reliable message synchronization and broadcast notification services are provided. (2) for message transmission under narrow bandwidth, adaptive arithmetic coding is introduced into message middleware to ensure transmission efficiency under narrow bandwidth; (3) for the user sensitive information that may be transmitted, encryption algorithm is introduced into the message middleware to ensure the security of the data; (4) based on Spring AOP, the method is intercepted, the content of log is generated by using FreeMarker, value stack and reflection mechanism, and the distributed log is collected and persisted by using message middleware. In addition, based on REST constraint specification, log query interface is provided in the management portal. At the end of the thesis, it is verified that the system meets the design goal through the function test.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號】:TP311.52
本文編號:2353866
[Abstract]:In recent years, intelligent terminals, including smart set-top boxes, smart phones and wearable devices, have developed rapidly. At present, China has become the world's largest intelligent terminal manufacturing and consumption countries, manufacturing set-top boxes accounted for more than 80 percent of the global market. The purpose of setting up China Mobile Home Open platform is to realize the unified configuration and management of intelligent set-top box, including content distribution, firmware version update and so on. In the home open platform, the subsystem, especially the terminal management portal and the terminal remote service subsystem, the application management portal and the application remote service subsystem, There is a lot of business interaction between screen management portal and screen remote service subsystem. The traditional RPC method of synchronization and tight coupling is not suitable for data synchronization in open home platform. In addition, there is no log module in the open home platform to record the log data of the operator and the change of the state of the business object. Aiming at the present situation of the system, this paper designs and implements the data synchronization and broadcast notification module based on open source message middleware (RocketMQ), and uses Spring AOP and message middleware to design and implement the log module. The main work of this paper is as follows: (1) based on open source messaging middleware RocketMQ, the system decoupling is realized, and reliable message synchronization and broadcast notification services are provided. (2) for message transmission under narrow bandwidth, adaptive arithmetic coding is introduced into message middleware to ensure transmission efficiency under narrow bandwidth; (3) for the user sensitive information that may be transmitted, encryption algorithm is introduced into the message middleware to ensure the security of the data; (4) based on Spring AOP, the method is intercepted, the content of log is generated by using FreeMarker, value stack and reflection mechanism, and the distributed log is collected and persisted by using message middleware. In addition, based on REST constraint specification, log query interface is provided in the management portal. At the end of the thesis, it is verified that the system meets the design goal through the function test.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號】:TP311.52
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 楊文濤;劉衛(wèi)忠;鄭立新;鄒雪城;;多階上下文自適應(yīng)二進(jìn)制算術(shù)編碼實(shí)現(xiàn)[J];華中科技大學(xué)學(xué)報(bào)(自然科學(xué)版);2007年03期
2 徐晶,許煒;消息中間件綜述[J];計(jì)算機(jī)工程;2005年16期
,本文編號:2353866
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2353866.html
最近更新
教材專著