Font Size: a A A

The Research And Design Of Protocol Buffer-Based Instant Messaging Of Enterprise

Posted on:2015-02-08Degree:MasterType:Thesis
Country:ChinaCandidate:J Y DouFull Text:PDF
GTID:2298330431464393Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the popularization of3G technology, the speed of network has become increasinglyfaster.As an irreplacable communication tool,instant messaging (IM) application is transferringfrom traditional desktop to mobile platform. Market demand on IM is rising, especiallyenterprise inner tools. For internal communication, convenient management, informationsecurity and other reasons, a lot of large and small businesses have begun to develop or purchaseenterprise-class communication systemsEvery single enterprise needs to put massive human resources and capital resources intodeveloping its own IM application, while almost all the open source softwares are based onXMPP protocol and use XML as their transport format.However they lack the exploration andapplication of other transmission formats, and the support for mainstream mobileplatform,expecilly iOS.Due to above consideration, this paper aims to research on delivering an iOS IM client appbased on Protocol Buffers technology. It utilizes Google Protocol Buffers as file transferformat.Compared with conventional formats like XML and JSON, the spped is faster and thesize of data is smaller. The database uses lightweight SQLite to store all kinds of information. Itis possible to install this app on iOS, which is one of the most popular cellphone operatingsystems currently. One can transfer text, audio or image in one-on-one or group discussionthrough this app. Thus, we could conclude that it enables most functionalities on IM apps. Inaddition, it has department list which most enterprises may need in their daily work because itsvery convenient for insiders to communicate with each other.In my research process, the reusability and expansibility of software get constructivelyimproved by using software engineering and Design Patterns.For instance, inherent classes helpto solve codes duplication issue between one-on-one chatting and group chatting; Database isdesigned in Singleton Pattern; Delegation method is used to the reconnection after Socket break;Notification Pattern is utilized to distribute messages. This article mainly introduces thetechnologies being used during research and realization, protocol design and implementation,Protocol Buffers functional analysis, long Socket connection realization. It serves to providesome new ideas and methods for developing enterprise IM apps.
Keywords/Search Tags:Instant Messaging, iOS, Protocol Buffers, Concurrency Programming
PDF Full Text Request
Related items