`
dodoflying
  • 浏览: 179812 次
社区版块
存档分类
最新评论

Design a message format

阅读更多
Where there is communication,there is message exchange.
In a SMS(short message system),there are binary stream based protocols,such as SMPP,SGIP,CNGP,SMGP,etc.
Using binary messages results in efficient exchanges because the message payloads are compact.However,because they are also intended to save space,binary messages sacrifice self-descriptiveness.Consequentyly,both client and server must know the format of binary messages in advance,which means that client and server are tightly coupled.
Extensible Markup Language(XML) messages are at the complex end of the range of messge formats.The MIDP specification does not require XML support.However,developers are free to add XML support to a MIDP application by incorporating additional libraries.
For XML parsing and general processing,developer can choose DOM(Document Object Model) and the SAX(Simple API for XML).
Developer should take care when adding XML support to an application.In addition to the costs in size and bandwidth,there are non-trivial costs in memory,processing, and storage.Developers are advised to measure these costs when deciding to support XML.
分享到:
评论

相关推荐

    Head First Web Design

    Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First Web Design uses a visually rich format specifically designed to take ...

    Cisco Press - OSPF Network Design Solutions, 2nd Edition

    Hello Protocol Packet Format 125 Exchange Process/Protocol 126 Flooding Process/Protocol 127 Manipulating LSAs 128 Understanding LSA Group Pacing 128 How to Configure LSA Group Pacing 130 ...

    UG6.0快捷键大全

    MESSAGE Deforms a surface region using a law defined by a function. SYNONYMS overcrown, global deformation, surface feature HELP DSN_global_shaping_by_function BITMAP globalshaping ACTIONS ...

    S7A驱动720版本

    S7A驱动,7.20版本, Version history S7A OPC server and FIX driver for Siemens S7/S5 communication via Ethernet TCP/IP, MPI or Profibus Version 7.20 Date: 26.02.2007 ...

    Preparing Written Messages

    - **Format and Layout**: The format and layout of a document determine its overall appearance and structure. In IT, choosing an appropriate format and layout can help make technical information more ...

    Senfore_DragDrop_v4.1

    A batch file, convert_forms_to delphi_4_format.bat, is supplied in the demo directory which automates the conversion process. The C++ Builder demo forms are distributed in binary format. 7) If ...

    PCI Express System Architecture

    *Split transaction protocol *Packet format and definition, including use of each field *ACK/NAK protocol *Traffic Class and Virtual Channel applications and use *Flow control initialization and ...

    Head First iPhone and iPad Development, 3rd Edition

    Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First iPhone and iPad Development has a visually rich format designed for the way...

    ant design vue中日期选择框混合时间选择器的用法说明

    首先时间格式化用到moment方法,需要在页面中引入moment组件 ...<a> triggerNode[removed] format=YYYY-MM-DD HH:mm:ss v-decorator=[ 'pushtime', { rules: [{ required: true, message: '请输入发布时间!' }]

    VANET仿真,用matlab实现仿真测试的源码

    Originally reactive protocols were not design for the characteristic of highly mobility during route discovery. Due to dynamically modification to the VANET this changes very often due to breakdown ...

    Sakemail

    ), now SakEmail deletes the invalid chars.- Applied a patch from Matjaz Bravc, that resolve the problem of localized dates, letting you choose (in design time) if you want localized dates (NOT ...

    BobBuilder_app

    This format ensures a semi sorted key list, in that within a page the data is not sorted but pages are in sort order relative to each other. So a look-up for a key just compares the first keys in the ...

    ICS delphixe10源码版

    ICS - Internet Component Suite - V8 - ...buy a gift certificate at Amazon in the UK. I will then use it to buy books. Here is the direct URL at Amazon UK (nearest to my home, please don't use another): ...

    VB编程资源大全(英文源码 其它)

    It will allow you to graphically design your message box, specify how you want it to look and will create the source code for you and put it into the clipboard where you <END><br>47,vb2word.zip ...

    Clever Internet Suite (SRC) v9.1.0.0

    With SMTP relay, a mail message may pass through a number of intermediate relay or gateway hosts on its path from sender to recipient. HTML Parser - parse HTML Tags: links, images, tables, meta tags ...

    Mastering EJB 3.0 4th(E)

    This edition features chapters on session beans and message-driven beans, EJB-Java EE integration and advanced persistence concepts. In-depth coverage of the Java Persistence API and using POJO ...

    Artech House - SMS and MMS Interworking in Mobile Networks

    2.4.1 SCCP Message Format 38 2.4.2 SCCP Layer Architecture 38 2.4.3 SCCP Routing 39 2.5 Transaction Capability Application Part (TCAP) 42 2.5.1 Main Features of TCAP 43 2.5.2 TCAP Architecture 43 ...

Global site tag (gtag.js) - Google Analytics