Font Size: a A A

The Research And Implementation Of Message System

Posted on:2017-04-11Degree:MasterType:Thesis
Country:ChinaCandidate:R Z WuFull Text:PDF
GTID:2308330503468506Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the proliferation of smart phones and the development of mobile communications technology, more and more mobile applications that can provide a good interactive and real time communications are welcome, such as microblog and WeChat. Now our country is entering a new era of mobile Internet. On this important turning point, more and more small and medium-sized enterprises want to take advantage of this opportunity of the mobile Internet to realize great-leap-forward development. Push Technology which is an essential technology is playing an increasingly important role in the mobile Internet era. Now there are varieties of push technology on the market with their own advantages. But for small and medium enterprises, it is still hard to find a technology solution that can support quickly integrate and implement, and can be second customization development, without caring about the underlying push technology. This paper is trying to address these current problems encountered by small and medium-sized enterprises, design a message system that can be fast accessed, and take the initiative to push the message.By analyzing and comparing the current push technology, we find that the short push based on HTTP protocol is more stable and the long push based on Websocket protocol is more available. Then this paper puts forward the HTTP protocol and Websocket protocol as the transport layer of message system. In the session layer, we put forward Single-mode and dual-mode connection, and use unified session management towards them. What’s more, in the presentation layer of message system, we make a specification about message initialization, connections, closing connection, handling messages and other processes. All functions provided by the messaging system abstract unified Application Program Interface. This paper also study the method to improve the stability of the push message system. Finally we get an efficient messaging system by using the Netty library.In this paper, we have carried out the functionality and performance testing towards message system, and the message system performs well. At last, through the analysis of the results, we hope that the message system can support distributed deployment.
Keywords/Search Tags:Message System, Push, Long Connection, Short Connection
PDF Full Text Request
Related items