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

家庭开放平台中消息中间件的设计与实现

发布时间:2018-11-24 13:16
【摘要】:近年来,包括智能机顶盒、智能手机、可穿戴设备在内的智能终端发展迅猛。目前,中国已经成为世界上最大的智能终端制造和消费国,制造的机顶盒占全球市场的80%以上。建立中国移动家庭开放平台的目的是为了实现对智能机顶盒的统一配置与管理,包括内容的下发、固件版本更新等。在家庭开放平台中,子系统间,特别是终端管理门户与终端远程服务子系统、应用管理门户与应用远程服务子系统、屏幕管理门户与屏幕远程服务子系统间存在大量的业务交互。传统的RPC方法的同步、紧密耦合的特征不适用于家庭开放平台中数据同步的需求。另外,家庭开放平台中缺乏日志模块,无法记录操作员的日志数据以及业务对象的状态变化。针对系统的这一现状,论文基于开源消息中间件RocketMQ设计并实现了适用于家庭开放平台的数据同步与广播通知模块,并使用Spring AOP结合消息中间件,设计并实现了日志模块。本文的主要工作如下:(1)基于开源消息中间件RocketMQ进行二次开发,实现了家庭开放平台中系统间的解耦合,提供了可靠的消息同步与广播通知服务;(2)针对窄带宽条件下的消息传输,在消息中间件中引入自适应算术编码,保障了窄带宽条件下的传输效率;(3)针对可能传输的用户敏感信息,在消息中间件中引入加密算法,保证了数据的安全性;(4)基于Spring AOP实现了对方法的拦截,利用FreeMarker、值栈以及反射机制生成日志内容,结合消息中间件,将分散的日志进行统一收集并完成持久化。另外,基于REST约束规范,在管理门户提供了日志的查询接口。在论文的最后,通过功能测试,验证了系统满足设计目标。
[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.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.52

【参考文献】

相关期刊论文 前2条

1 杨文涛;刘卫忠;郑立新;邹雪城;;多阶上下文自适应二进制算术编码实现[J];华中科技大学学报(自然科学版);2007年03期

2 徐晶,许炜;消息中间件综述[J];计算机工程;2005年16期



本文编号:2353866

资料下载
论文发表

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


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

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