Font Size: a A A

Design And Implementation Of Audio Communication Based On Jabber Protocol

Posted on:2007-09-23Degree:MasterType:Thesis
Country:ChinaCandidate:Y P ZhangFull Text:PDF
GTID:2178360182996036Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The Internet customer's quantity increase very quick alongwith the Internet development. Most of Internet customer isinstant messaging customer again at the same time. In 2005, IMcustomer has broken 900,000,000.It is on-line communication thatinstant messaging say in brief .It provided a platform of on-lineexchanges for the people. Now, the concept of the instantmessaging has already expanded completely. Instant messaging notonly can chat, also can audioly or video chat, transmittingdocuments etc.The protocol of the instant messaging have fourkinds: Instant Messaging and Presence Protocol (IMPP), Presenceand Instant Messaging Protocol (PRIM), SIP for Instant Messagingand Presence Leveraging Extensions (SIMPLE) and ExtensibleMessaging and Presence Protocol (XMPP).Currently, there are agreat many the instant messaging software for people. Thedifferent instant messaging can't communicate each other.The Jabber protocol is based on XMPP and opening the sourcecode.XML is its basic. The XML protocol is expansive. So thesystem of Jabber bear well expansiblely.It provides theconvenience of developing client application procedure orincreasing function of system for developer. The Jabber protocolincludes three top-class elements of XML in the data streamingof the context of XML :< Message/>, < presence/>, < iq/>. Eachelement includes a great deal of data by the different name spaceand attribute. All of these are the parts of Jabber. The elementof is used to include the message contents of twoJabbers customer sending each other, or more general message oftwo Jabber IDs. provide available information for aJabber entity. The Presence protocol mainly has two importantmissions. The first, renewing the customer presence. The second,managing subscription customer current the presence. setsup a basic session between two entities in the Jabber and itempower to transport requesting and responding of XML formatbetween entities. It is the main use of IQ to get or set the publiccustomer information.The structure of Jabber system is Client/Server. The Jabberserver is the core part of the Jabber system. The Jabber serverstructure has tow main characteristics:First,information ofJabber based on XML;Second,the Jabber system is a dispersivesystem , namely the Jabber server distribute in the networkeverywhere. It is the module that handled various different XMLpackets sealing the Jabber protocol. It emphasizes speciallythe flexible and expansile. It include three basic module:①session pool: A collection of Jabber client/server sessions.② XML parser: The XML parsing classes handle the incoming JabberXML data and transform it into Java packet objects that can beused by the Jabber server.③ Packet handlers: The server reactsto incoming packets. It is the module that handled variousdifferent XML packets sealing the Jabber protocol. The jabberdserver is a Jabber server of used the most extensive .It isconstitute by some modules. These modules complete the logicalindependent function of the Jabber system. The core of jabberdServer transmitting module. The function of this module iscarrying on resolution of XML's paring from a basic module toanother basic module.The design of Jabber client requested possibly simple. Thus,we can design a client that we like. Our Jabber client includes3 basic modules: the processing message module, paring XML aprocessing module, processing event module. The XML analyzes themold piece to be responsible for the news of XML that analyzesthe importation;The new processing mold piece then handle theanalytical news of XML, have the difference to chemical elementsof XML of a layer to should of processing procedure, theseprocessing procedure will make the different processingaccording to the different news type. Now, the multimediacommunication is an important direction of instance messaging.The GSM 06.10 standard is a audio code the standard that drawedup by European Telecommunications Standards Institute( ETSI) in1991.It adopts of is the GSM full speed rate to code the calculateway and the RPE-LTP speech codes the technique.In the Jabber protocol system, there have not a kind ofunitive audio communication standard. Our audio method is basedon the jingle protocol. It defines a frame. This frame that usesthe existing network protocol will initialize and manage Jabberaudio session. This method can complete following tow functions:negotiate the parameter for audio session and customize theinformation of these parameters. A end-to-end speech chat systemmainly involve the audio to collect and broadcast, the audio datacoding and decoding, the audio data sends out and receives. Whenwe coding, we will add a XML tag in the audio data. Realizingthe function of the audio data sending out and receiving baseon the socket. Every end has a socket and two sockets adopt UDPagreement.We hope carry out the multimedia communication based onJabber protocol when we research Jabber system and multimediacommunication at the first. Up to now, we have carried out audiocommunication based on Jabber protocol. But the videocommunication that used extensively has not realized. It willbecome our researching direction in the future.
Keywords/Search Tags:Implementation
PDF Full Text Request
Related items