Font Size: a A A

Messaging Middleware Customer Service Protocol Design And Implementation Research

Posted on:2008-03-27Degree:MasterType:Thesis
Country:ChinaCandidate:J C WuFull Text:PDF
GTID:2208360212975291Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As time goes on, an increasing number of projects use the Message Oriented Middleware (MOM) product, demand on MOM product spread widely. Consequently, developing of MOM gets the recognitions of IT field and academe day by day. The way of MOM product implementation varies one from another, but the implementation of client-server(C/S) Protocol is always the important part in MOM. Design of C/S protocol directly affects the efficiency, security, scalability and flexibility of middleware. This paper attempts to make some progress in this regard.This paper mainly focuses on research of the two kinds of protocols, text protocol and binary protocol.The design in this paper is based on XML format, which is determined by the merits of XML. The advantages of XML include following aspects: strongly readable, easy implementing, self describing and easy integrating with WEB Application. Validation of XML has some common open standards and certification tools, which provide a convenient way of protocol validation.This paper design and implement the C/S protocol of a Message Oriented Middleware, describe the detailed format of protocol and the detailed process of design, list several common and typical examples in Message Oriented Middleware.Although XML format has many advantages, XML has drawbacks too. In fact, the drawbacks of XML are the inherent drawbacks of text format. The drawbacks or problems of text format include: increased resources occupancy, reduced processing efficiency and increased network traffic. Meanwhile, there are many problems not found in binary format but found in text format, such as character Encoding and character Set. These problems are inherent drawbacks of text format. Until now, there's no good solution for these problems, which can leave out the drawbacks of text format and keep down the advantages of binary format. The WBXML specification in WAP field makes a big progress in this aspect.WBXML specification replaces a XML tag with a single byte integer, partitions the tag values with code spaces and code pages, defines the global only single value for structure and control tags, describes the grammar of the binary XML format, techniques make a big contributions to XML's efficiency. Later, Marc Girardot and Neel Sundaresan make some improvements of protocol based on WBXML, they separate the content information of document from the document structure, encode the common primitive data types and test the performance of improved protocol. As expected, the performance of protocol advances tremendously.It is necessary that binary XML is better than XML on the performance. But two authors do not explain the factors that could affect the performance, the degree of the effect and the characteristics that are used for binary XML application. The design will not be accepted and applied widely if these problems are not resolved. Meanwhile, the design by two authors will not be compatible with WBXML.This paper makes changes on the design details considering the characteristic of general application, which makes the design much more universal and applicable, especially in the application of MOM. Following, the paper resolves the compatibility of design and WBXML, which makes the design compatible with mobile application. After that, the paper makes the implementation of design and strict performance testing, draws the testing curve from which it sums up the two critical factories that could affect the performance -- the size of doc and the tag proportion in doc, and makes detailed analysis on how these two factors will affect the performance of design. At last, this paper brings forward the application characteristic for design which makes progress for this design application.After all of the works, this paper describe the future of this design, that is developing XML oriented Compression Algorithm...
Keywords/Search Tags:XML, WBXML, Protocol Design, Message Oriented Middleware
PDF Full Text Request
Related items