[go: up one dir, main page]

CN1352844A - Packet based client/server protocol - Google Patents

Packet based client/server protocol Download PDF

Info

Publication number
CN1352844A
CN1352844A CN00805503A CN00805503A CN1352844A CN 1352844 A CN1352844 A CN 1352844A CN 00805503 A CN00805503 A CN 00805503A CN 00805503 A CN00805503 A CN 00805503A CN 1352844 A CN1352844 A CN 1352844A
Authority
CN
China
Prior art keywords
packet
pdu
data
alphanumeric
packets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN00805503A
Other languages
Chinese (zh)
Inventor
P·R·西蒙斯
D·C·于勒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koninklijke Philips NV
Original Assignee
Koninklijke Philips Electronics NV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koninklijke Philips Electronics NV filed Critical Koninklijke Philips Electronics NV
Publication of CN1352844A publication Critical patent/CN1352844A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5603Access techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种用于客户机/服务器数据交换的方法和系统。在数据通信网上传送和接收协议数据单元(PDU)包含的步骤有:接收用于传送的PDU;将该PDU编码为多个字母数字的数据分组,使得每个数据分组小于预定的尺寸;使这个或每个数据分组关联一地址帧,该地址帧包括这个或每个数据分组的目的地;传送这个或每个数据分组。该数据分组最好由SMS或小区广播来传送。

A method and system for client/server data exchange. Transmitting and receiving a protocol data unit (PDU) over a data communications network includes the steps of: receiving the PDU for transmission; encoding the PDU into a plurality of alphanumeric data packets such that each data packet is smaller than a predetermined size; making the or each data packet is associated with an address frame including the destination of the or each data packet; transmitting the or each data packet. The data packets are preferably delivered by SMS or cell broadcast.

Description

基于分组的客户机/服务器协议Packet-based client/server protocol

本发明涉及紧凑的、基于分组的数据通信协议,该协议尤其适合在GSM型移动电话上使用。The present invention relates to a compact, packet-based data communication protocol, which is especially suitable for use on GSM-type mobile phones.

因特网和实际上的大多数数据通信网都以基于分组的数据通信协议为基础。最常用的协议是因特网协议(IP),并且这是因特网所基于的基本协议。基于分组的协议将传送数据分为多个分组,每个都作为独立的协议数据单元(PDU)在网络上传送。分组由路由节点在网络上路由,该路由节点维护路由表来指示它们自己之间和其它节点之间的路由,并根据网络业务量和其它因素来调整它们转发业务量的路由。在传送时每个分组会被编号,使得数据在收到后可重新排序以及请求重新传送丢失的分组。The Internet and indeed most data communication networks are based on packet-based data communication protocols. The most commonly used protocol is the Internet Protocol (IP), and this is the basic protocol on which the Internet is based. Packet-based protocols divide transmitted data into packets, each transmitted over the network as a separate protocol data unit (PDU). Packets are routed on the network by routing nodes, which maintain routing tables to indicate routes between themselves and other nodes, and adjust the routes of their forwarded traffic according to network traffic and other factors. Each packet is numbered as it is transmitted, allowing data to be reordered upon receipt and retransmission of lost packets requested.

在固定线路连接不可用的地方,远端接入数据网正常地由某种形式的移动电话系统来进行。最普遍的系统是GSM(组专用移动)系统,该系统中通过提供有限带宽和各种连接可靠性的移动电话系统接入数据网。不幸的是,有限的带宽通常将数据传送和接收的速率限制至9600bps。与各种连接可靠性相结合的这个限制与假定数据链路有高带宽且很少或无分组丢失的基于分组的协议相冲突。另外,对于GSM系统,一些分组的最小尺寸在有些情况下将太大。Where fixed line connections are not available, remote access to the data network is normally performed by some form of mobile telephone system. The most common system is the GSM (Group Specific Mobile) system, in which access to the data network is via a mobile telephone system offering limited bandwidth and various connection reliability. Unfortunately, limited bandwidth typically limits the rate at which data can be transmitted and received to 9600bps. This limitation, combined with various connection reliability, conflicts with packet-based protocols, which assume high-bandwidth data links with little or no packet loss. Also, for the GSM system, the minimum size of some packets will in some cases be too large.

依照本发明的第一方面,在数据通信网上传送协议数据单元(PDU)的方法包含的步骤有:According to a first aspect of the present invention, a method for transmitting a Protocol Data Unit (PDU) over a data communication network comprises the steps of:

接收用于传送的PDU;Receive PDUs for transmission;

将该PDU编码为多个字母数字的数据分组,使得每个数据分组小于预定的尺寸;encoding the PDU into a plurality of alphanumeric data packets such that each data packet is smaller than a predetermined size;

使这个或每个数据分组关联一个地址帧,该地址帧包括这个或每个数据分组的目的地;并associating the or each data packet with an address frame including the destination of the or each data packet; and

传送这个或每个数据分组。This or each data packet is transmitted.

本发明的一个特别优点是为移动电话提供因特网接入,而不需要调整移动电话当前正在其上运行的GSM协议或基础设施。A particular advantage of the present invention is to provide Internet access to mobile phones without the need to adapt the GSM protocol or infrastructure on which the mobile phone is currently running.

通过把数据重新分组为小于预定尺寸的数据分组,每个分组在有限的数据通信链路上成功传送的可能性显著提高。另外,由于分组能够快速重传,所以单个或多个分组的丢失不会招致大的开销。通过对PDU重新分组而不考虑它们的内容,而避免在对PDU重新分组之前从组成的PDU中重新组装数据的协议开销。编码、压缩和纠错是可用的扩展,不需要更多的开销或协议层。By repackaging data into data packets smaller than a predetermined size, the probability of successful transmission of each packet over a limited data communication link is significantly increased. In addition, the loss of single or multiple packets does not incur large overhead since packets can be retransmitted quickly. By regrouping the PDUs without regard to their content, the protocol overhead of reassembling data from the composed PDUs prior to regrouping the PDUs is avoided. Encoding, compression, and error correction are available extensions that require no further overhead or protocol layers.

编码PDU的步骤包含若PDU不全是字母数字则应用一个字母数字编码方案的步骤。该字母数字编码方案最好是uuencoding(电子邮件中用于对二进制数据进行文本化编码的工具)编码。The step of encoding the PDU includes the step of applying an alphanumeric encoding scheme if the PDU is not all alphanumeric. The alphanumeric encoding scheme is preferably uuencoding (a tool used in electronic mail to textually encode binary data) encoding.

uuencoding编码能使数据在现有的基于文本的链路上发送,该链路具有未加修改的保留特征。uuencoding enables data to be sent over existing text-based links with unmodified reserved features.

对PDU进行编码的步骤包含:确定PDU的长度;从该PDU产生一个数据分组,其中如果该PDU大于预定的尺寸,它就被分成一序列的数据分组。The step of encoding the PDU comprises: determining the length of the PDU; generating a data packet from the PDU, wherein if the PDU is larger than a predetermined size, it is divided into a sequence of data packets.

产生数据分组的步骤可以进一步包含的步骤是使产生的数据分组关联一个分组标识符,其中如果PDU被分成一序列的数据分组,则每个数据分组的分组标识符将标识它为被分开的PDU的一部分,并标识该数据分组在该序列中的相关位置。The step of generating data packets may further comprise the step of associating the generated data packets with a packet identifier, wherein if the PDU is divided into a sequence of data packets, the packet identifier of each data packet will identify it as a divided PDU and identifies the relative position of the data packet in the sequence.

最好地,地址帧可以包含一个短消息业务(SMS)地址,这个或每个数据分组都由SMS传送。Preferably, the address frame may contain a Short Message Service (SMS) address by which the or each data packet is conveyed.

短消息业务(SMS)是所有GSM业务用户可用的一种功能。对短字母数字消息,SMS是双向业务。通常,SMS消息被限制到严格地包含字母和数字共160字节,这限制它们仅用于诸如交通和新闻更新等个人消息和业务。Short Message Service (SMS) is a function available to all GSM service users. For short alphanumeric messages, SMS is a two-way service. Typically, SMS messages are limited to a strict 160 bytes of letters and numbers, which limits their use to personal messages and business such as traffic and news updates.

通常,SMS禁止消息使用的保留字符(例如控制字符)与被传送的数据中的这种字符相冲突。通过使用uuencoding编码,这样的冲突很容易且简单地解决了。由于SMS系统通常未充分使用,故将WWW数据捎带在现有SMS业务链路上一般不会影响SMS系统的性能。然而,现有的链路和基础协议的使用大大降低了数据传送的复杂性,因为不需要迎合握手等的信号交互。由于握手等可在别处处理,所以复杂性的降低进而又减少了在头标帧中所需的数据开销。因此本发明提供了一种强大的通信机制,而不带有从基础上提供一种全新机制的复杂性。Often, SMS prohibits messages from using reserved characters (such as control characters) that conflict with such characters in the data being transmitted. By using uuencoding encoding, such conflicts are easily and simply resolved. Since SMS systems are generally underutilized, piggybacking WWW data on existing SMS traffic links generally does not affect the performance of the SMS system. However, the use of existing links and underlying protocols greatly reduces the complexity of data transfer, as there is no need to cater for signal interactions such as handshaking. This reduction in complexity in turn reduces the data overhead required in header frames, since handshaking etc. can be handled elsewhere. The present invention thus provides a powerful communication mechanism without the complexity of providing a fundamentally new mechanism.

在SMS的替代方案中,地址帧可以包含一个小区广播地址,并且这个或每个数据分组由小区广播来传送。In the SMS alternative, the address frame may contain a cell broadcast address, and the or each data packet is transmitted by the cell broadcast.

小区广播提供了一个简单有效的方式,使许多没有固定因特网链路的用户得到万维网类型的数据。Cell broadcasting provides a simple and efficient way to make World Wide Web-type data available to many users who do not have a fixed Internet link.

将PDU编码为多个字母数字数据分组的步骤包含压缩PDU的步骤。The step of encoding the PDU into a plurality of alphanumeric data packets includes the step of compressing the PDU.

依据上述的方法接收在数据通信网上传送的协议数据单元(PDU)的方法包含的步骤有,接收多个字母数字数据分组,移去与每个数据分组相关联的地址帧,并从该多个接收到的字母数字数据分组中重新产生一个PDU。重新产生一个PDU的步骤包括对该多个接收到的字母数字数据分组进行uudecoding解码。The method of receiving a protocol data unit (PDU) transmitted over a data communications network according to the above method comprises the steps of receiving a plurality of alphanumeric data packets, removing an address frame associated with each data packet, and deriving from the plurality of A PDU is regenerated from the received alphanumeric data packet. The step of regenerating a PDU includes uudecoding the plurality of received alphanumeric data packets.

重新产生PDU的步骤包括,依靠与每个数据分组相关联的分组标识符来对接收到的字母数字数据分组排序,移去与每个数据分组相关联的分组标识符并再结合成数据分组。对接收到的字母数字数据分组排序的步骤包括检测没有接收到的数据分组并请求其重传的步骤。The step of regenerating the PDU includes sorting the received alphanumeric data packets by a packet identifier associated with each data packet, removing the packet identifier associated with each data packet and recombining into data packets. The step of ordering the received alphanumeric data packets includes the step of detecting data packets not received and requesting their retransmission.

依据本发明的另一方面,在数据通信网上传送协议数据单元(PDU)的系统包含一个接收用于传送的PDU的接收机,一个将该PDU编码为多个数字字符数据分组使得每个数据分组小于预定尺寸的编码器,一个使这个或每个数据分组关联一个地址帧的地址系统,该地址帧包含这个或每个数据分组的目的地,以及一个发送这个或每个数据分组的发送机。According to another aspect of the present invention, a system for transmitting protocol data units (PDUs) over a data communications network includes a receiver for receiving a PDU for transmission, a receiver for encoding the PDU into a plurality of numeric character data packets such that each data packet An encoder smaller than a predetermined size, an address system that associates the or each data packet with an address frame containing the or each data packet's destination, and a transmitter that sends the or each data packet.

如果PDU不全是字母数字,则编码器可能会应用一个字母数字编码方案。If the PDU is not all alphanumeric, the encoder may apply an alphanumeric encoding scheme.

发送机最好包含一个短消息业务(SMS)系统来定址并传送这个或每个数据分组。The sender preferably includes a Short Message Service (SMS) system to address and transmit the or each data packet.

该系统进一步包含一个接收机,用于接收被上述系统的传送单元在数据通信网上传送的协议数据单元(PDU),该接收机包含一个接收系统用于接收多个字母数字数据分组,一个处理器用于移去与每个数据分组相关联的地址帧,并从该多个接收到的字母数字数据分组中重新产生一个PDU。该处理器可被配置为对该多个接收到的字母数字数据分组进行uudecode译码。该处理器可被配置为依靠与每个数据分组相关联的分组标识符来对接收到的字母数字数据分组排序,移去与每个数据分组相关联的分组标识符并再结合该数据分组。优选地,该处理器可被配置为检测没有接收到的数据分组并请求其重传。The system further comprises a receiver for receiving protocol data units (PDUs) transmitted over the data communication network by the transmitting unit of the above system, the receiver comprising a receiving system for receiving a plurality of alphanumeric data packets, a processor for The address frame associated with each data packet is removed and a PDU is regenerated from the plurality of received alphanumeric data packets. The processor may be configured to uudecode decode the plurality of received packets of alphanumeric data. The processor may be configured to sort the received alphanumeric data packets by a packet identifier associated with each data packet, remove the packet identifier associated with each data packet and rejoin the data packets. Preferably, the processor is configured to detect data packets not received and request their retransmission.

优选地,接收机是一个例如GSM移动电话的SMS接收机,字母数字数据分组由SMS来接收。可选择地,接收机可以是小区广播接收机,字母数字数据分组由小区广播接收。Preferably, the receiver is an SMS receiver, such as a GSM mobile phone, and the alphanumeric data packets are received by SMS. Alternatively, the receiver may be a cell broadcast receiver, the alphanumeric data packets being received by cell broadcast.

发送机也可以是一个GSM移动电话。The sender can also be a GSM mobile phone.

PDU包含浏览万维网和/或与万维网交互所产生的数据,其中该系统还包含一个万维网服务器作为用于PDU的网关传送PDU至万维网,并从万维网接收PDU。The PDU contains data generated by browsing and/or interacting with the World Wide Web, wherein the system further includes a Web Server as a gateway for the PDU to transmit the PDU to the World Wide Web and receive the PDU from the World Wide Web.

在本发明的优选方面,该PDU包含浏览万维网和/或与万维网交互所产生的数据,其中该SMS系统被安置于也作为PDU网关传送PDU至万维网并从万维网接收PDU的万维网服务器中。In a preferred aspect of the invention, the PDU contains data resulting from browsing and/or interacting with the World Wide Web, wherein the SMS system is housed in a Web Server that also acts as a PDU Gateway to transmit PDUs to and receive PDUs from the World Wide Web.

在SMS的环境里,字母数字字符包含以下设置:In the context of SMS, alphanumeric characters include the following settings:

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz<>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz<>

现在仅以举例并参照附图的方式来对本发明的实施方案进行描述,其中:Embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

图1是在本发明中使用的数据通信网的示意性框图;Figure 1 is a schematic block diagram of a data communication network used in the present invention;

图2a和2b是依照本发明在数据通信会话中传送和接收的数据分组格式的代表;以及Figures 2a and 2b are representations of the format of data packets transmitted and received in a data communication session in accordance with the present invention; and

图3a-3e和4a-4e是依照参考图2定义的格式在数据通信会话中传送和接收的数据分组的例子。Figures 3a-3e and 4a-4e are examples of data packets transmitted and received in a data communication session according to the format defined with reference to Figure 2 .

图1是本发明中或针对本发明使用的数据通信网的示意性框图。GSM业务提供者有一个包含多个传输小区10的移动电话网。这个网络链接到一个SMS系统20,该SMS系统20进而又链接到万维网(WWW)服务器30,该万维网服务器30连接到WWW40。在其中一个小区10的传送区域的移动电话用户50,使用安装在他的移动电话50上的微浏览器浏览WWW。由于用户与该微浏览器交互,所以向WWW要数据的请求就由微浏览器发出。请求由移动电话作为被定址到WWW服务器30的SMS消息编码并传送。此消息被视作一条普通SMS消息并由小区10转发至SMS系统20。SMS系统20将此消息传到WWW服务器30。在接收到SMS消息后,WWW服务器30将其解码为一条接着要处理的适当的HTTP(超文本传输协议)请求。Fig. 1 is a schematic block diagram of a data communication network used in or for the invention. The GSM service provider has a mobile telephone network comprising a plurality of transmission cells 10 . This network is linked to an SMS system 20 which in turn is linked to a World Wide Web (WWW) server 30 which is connected to WWW40. A mobile phone user 50 in the delivery area of one of the cells 10 uses a microbrowser installed on his mobile phone 50 to browse the WWW. Since the user interacts with the microbrowser, requests for data from the WWW are sent by the microbrowser. The request is encoded and transmitted by the mobile phone as an SMS message addressed to the WWW server 30 . This message is treated as a normal SMS message and forwarded by the cell 10 to the SMS system 20 . The SMS system 20 forwards this message to the WWW server 30 . Upon receipt of the SMS message, WWW server 30 decodes it into an appropriate HTTP (Hypertext Transfer Protocol) request which is then processed.

响应该HTTP请求通过WWW40由WWW服务器30接收的数据,被编码为一条定址到移动电话50的微浏览器的SMS消息。该WWW服务器30将该消息传至SMS系统20,SMS系统20通过小区10将它传送到移动电话50上。移动电话接收到消息,对其解码并传至微浏览器以进行诸如给用户显示WWW页的适当动作。The data received by WWW server 30 via WWW 40 in response to the HTTP request is encoded as an SMS message addressed to the microbrowser of mobile phone 50 . The WWW server 30 forwards the message to the SMS system 20 which transmits it to the mobile phone 50 via the cell 10 . The mobile phone receives the message, decodes it and passes it to the microbrowser for appropriate action such as displaying a WWW page to the user.

图2a和b是依据本发明产生的数据分组格式的代表。被移动电话50和WWW服务器30使用来根据请求产生SMS消息并对接收到的消息进行解码的传输协议分为两层:会话层负责将数据和请求编码并解码成SMS格式的消息,传输层负责准备并确定SMS消息的地址,以及对接收到的消息进行错误检查。由于对SMS消息的尺寸有限制,所以超过此限制的请求或响应必须被分成多个离散的分组。传输层把这样的消息分成多个分组,每个分组作为一条独立的SMS消息进行传输,接收到的分组消息由传输层重新组装。Figures 2a and b are representations of the format of data packets produced in accordance with the present invention. The transport protocol used by the mobile phone 50 and the WWW server 30 to generate SMS messages upon request and to decode received messages is divided into two layers: the session layer is responsible for encoding and decoding data and requests into messages in SMS format, and the transport layer is responsible for Prepares and addresses SMS messages, and performs error checking on received messages. Since there is a limit on the size of SMS messages, requests or responses exceeding this limit must be broken into discrete packets. The transport layer divides such messages into multiple packets, and each packet is transmitted as an independent SMS message, and the received packet messages are reassembled by the transport layer.

SMS允许必须uuencoded编码的160个7比特字符的消息或不需要uuencoded编码的140个8比特字符的消息。剩下的描述涉及到160个7比特字符的消息,但有经验的读者将会明白,本发明适合于任一种类型。SMS allows messages of 160 7-bit characters that must be uuencoded or 140 8-bit characters that do not need to be uuencoded. The remainder of the description refers to messages of 160 7-bit characters, but the experienced reader will understand that the invention is applicable to either type.

图2a代表了会话层准备的消息。每条消息包含一个CommandID域100,指示消息涉及的命令类型(打开,关闭,请求,发送或再次请求),一个MsgSize域110指示特定消息的字符长度(这被编码为使用7的比特值loendian即尺寸=字节1+字节2*27),一个头标域120(在下面讨论),一个包含数据的数据域130(URI,由服务器发送的数据或再次请求消息的分组数),以及当它为最后一条消息时的一个指示下一个CommandID或NULL的结尾域。Figure 2a represents the messages prepared by the session layer. Each message contains a CommandID field 100 indicating the type of command the message refers to (open, close, request, send or request again), and a MsgSize field 110 indicating the character length of the particular message (this is encoded using a 7 bit value loendian i.e. size=byte 1+byte 2*2 7 ), a header field 120 (discussed below), a data field 130 containing data (URI, data sent by the server or packet number of the re-request message), and A trailing field indicating the next CommandID or NULL when it is the last message.

头标域的内容涉及到可选数据。每个头标域包含一个跟随着以NULL终结的串的值。一个头标可由以下项组成:The contents of the header field refer to optional data. Each header field contains a value followed by a NULL-terminated string. A header can consist of the following items:

描述 describe value 跟随的串 following string 头标域的结尾 end of header field 0 0  N/A N/A 数据域130的内容类型 Content Type of Data Field 130 1 1 看下文 see below 用户代理简档 user agent profile 2 2 看下文 see below 用户代理简档更新 User agent profile update 3 3 看下文 see below 附加的数据域130的URI URI of additional data field 130 4 4  URI串 URI string 称为当前URI的URI(由HDML微浏览器要求) A URI called the current URI (required by the HDML microbrowser) 5 5  URI串 URI string 在数据域130中使用的编码/压缩类型 Encoding/compression type used in data field 130 6 6 看下文 see below 在数据域130中的告警保持的类型 Type of alarm hold in data field 130 7 7 看下文 see below 在数据域130中的告警保持的名称 The name of the alarm hold in the data field 130 8 8 名称串 name string

内容类型域包含例如其中一种以下类型的标识符: 内容类型串 描述 0 不知道的数据类型-要被忽略 1 未编译的HDML 2 编译后的HDML 3 原始文本 8 PCC格式的图象(静态或动态) 9 矢量图格式(VGX)的图象 53 Huffman解码表 64+ 错误值 The content-type field contains, for example, one of the following types of identifiers: content-type string describe 0 Unknown data type - to be ignored 1 Uncompiled HDML 2 Compiled HDML 3 original text 8 Images in PCC format (static or dynamic) 9 Image in vector format (VGX) 53 Huffman decoding table 64+ error value

编码域可对应例如Huffman编码或游程长度编码等编码或压缩方案而指定一个值。The encoding field may specify a value corresponding to an encoding or compression scheme such as Huffman encoding or run-length encoding.

告警域的类型可指定涉及以下类型之一的告警的数据域:The type of alarm field specifies the data field that relates to one of the following types of alarms:

告警类型串 alarm type string 描述 describe 0 0 没有告警-用户没有被通报,没有将数据添加到告警列表 No alerts - the user was not notified and no data was added to the alert list 1 1 列表-将告警添加到告警列表,用户没有被通报 list - add alert to alert list, user is not notified 2 2 通报-将告警添加到告警列表且用户被通报,例如通过消息图标 Notify - the alert is added to the alert list and the user is notified, e.g. via the message icon 3 3 显示-到达时显示告警 show - show alert on arrival 4 4 如果是新的则显示-如果还没有存在于高速缓冲存储器里,就在到达时显示,否则在高速缓冲存储器里覆盖旧版本且不显示 Show if new - if not already in cache, show on arrival, otherwise overwrite old version in cache and don't show

代理简档用于依靠存取数据的设备类型,来调整数据类型和/或业务或服务器传送的内容。由于不同浏览器(特别是在移动电话中)所支持的功能有差异,所以仅凭借名称来标识浏览器是不够的。一个简档标识了浏览器的主要功能,例如支持HTML/HDML/WML,它可显示的图象类型,屏幕尺寸等。业务或服务器可使用这个信息来调整返回到浏览器的数据。Proxy profiles are used to tailor the type of data and/or content delivered by the service or server depending on the type of device accessing the data. Since different browsers (especially in mobile phones) support different features, it is not enough to identify a browser by name. A profile identifies the main functions of the browser, such as support for HTML/HDML/WML, the types of images it can display, screen size, etc. The business or server can use this information to adjust the data returned to the browser.

图2b代表了由传输层准备的消息。会话层消息将被处理,并且有必要的话会被分成最大长度为157字节的多个分组,如数据域200所示。对于每个分组,附带有一个头标,包括MessageID域210,分组号域220,检错域230和分组总数域240。MessageID域210标识与该分组关联的消息。如果该消息被分成多于一个的分组,则每个分组的头标将包含相同的MessageID,这样在接收到后,分组可以被辨别并合并在一起重新形成消息。因为分组可能以任意顺序接收且分组可能丢失,所以分组号和分组总数域(220,240)也用在这方面。分组号和总数域允许接收机重新对分组排序并请求重新传送丢失的分组。检错域230指示用于相随数据的检错类型。Figure 2b represents the messages prepared by the transport layer. Session layer messages are processed and, if necessary, divided into multiple packets with a maximum length of 157 bytes, as indicated by data field 200 . For each packet, there is a header attached, including a MessageID field 210, a packet number field 220, an error detection field 230 and a total number of packets field 240. MessageID field 210 identifies the message associated with the packet. If the message is divided into more than one packet, the header of each packet will contain the same MessageID so that upon receipt, the packets can be identified and merged together to reform the message. Since packets may be received in any order and packets may be lost, the Packet Number and Packet Total fields (220, 240) are also used in this regard. The packet number and total number fields allow receivers to reorder packets and request retransmission of lost packets. Error detection field 230 indicates the type of error detection used for the accompanying data.

图3a-3e代表了依据本发明使用一种协议在数据通信会话中发送和接收的数据分组。图3a代表了由会话层响应移动电话的微浏览器对URI(通用资源指示器)“http://hdmlhost/home.hdml”的请求而准备的数据分组。会话层确定该消息用于一个请求(commandID=3),MsgSize是29(头标4+URI串25),且不需要头标域。所以,图3a的消息传至传输层。Figures 3a-3e represent data packets sent and received in a data communication session using a protocol according to the present invention. Figure 3a represents the data packets prepared by the session layer in response to the request of the mobile phone's microbrowser for the URI (Universal Resource Indicator) "http://hdmlhost/home.hdml". The session layer determines that the message is for a request (commandID=3), MsgSize is 29 (header 4+URI string 25), and no header field is required. Therefore, the message of Figure 3a is passed to the transport layer.

接收到后,传输层确定只需要1个SMS消息,因此分配messageID1,分组号0,检错级别0(不检错)和分组总数0。该信息与会话消息连接产生图3b的SMS分组,后者接着被发送出去。After receiving it, the transport layer determines that only one SMS message is needed, so it allocates messageID1, packet number 0, error detection level 0 (no error detection) and total number of packets 0. This information is concatenated with the session message to generate the SMS packet of Figure 3b, which is then sent out.

已接收并解码该SMS消息后,服务器通过HTTP请求URI并接收响应的200字节数据。Having received and decoded the SMS message, the server requests the URI over HTTP and receives 200 bytes of data in response.

服务器的会话层处理该数据,将数据取出并分配一个commandID4(发送),一个编码成79+1*27的消息长度207(头标6+数据200+终结符1)。增加了内容类型1(HDML)的头标域,紧接着是数据(200字节)和下一个commandID 0(没有更多的消息)。如图3c所示的组装消息被传至服务器的传输层。The session layer of the server processes the data, fetches the data and assigns a commandID4 (send), a message length 207 encoded into 79+1*2 7 (header 6+data 200+terminator 1). A header field of content type 1 (HDML) is added, followed by data (200 bytes) and next commandID 0 (no more messages). The assembled message as shown in Figure 3c is passed to the transport layer of the server.

传输层构造了有MsgID 1,分组号0,检错0和分组总数1的第一个SMS分组。如图3d所示的合成的SMS消息不可能保留所有的会话层消息,因而只能包含带有9字节头标的第一个151字节。如图3e所示,除了分组号为1之外,与第一个SMS分组有相同的传输层数据的第二个SMS分组产生出来而容纳数据的最后49字节。两个SMS分组都传送到移动电话并进行解码,重组由微浏览器显示的数据。The transport layer constructs the first SMS packet with MsgID 1, packet number 0, error detection 0 and total number of packets 1. The synthesized SMS message shown in Fig. 3d cannot retain all the session layer messages, so it can only contain the first 151 bytes with a 9-byte header. As shown in Figure 3e, a second SMS packet having the same transport layer data as the first SMS packet is generated to accommodate the last 49 bytes of data, except that the packet number is 1. Both SMS packets are sent to the mobile phone and decoded, reconstituting the data for display by the microbrowser.

图4a-4d代表了依据本发明使用一个协议在数据通信会话中发送和接收的数据分组。图4a代表了由会话层响应移动电话的微浏览器对URI(通用资源指示器)http://hdmlhost/home.hdml的请求而预备的数据分组。该会话层确定消息用于一个请求(commandID=3),MsgSize是29(头标4+URI串25),且不需要头标域。所以,图4a的消息传至传输层。Figures 4a-4d represent data packets sent and received in a data communication session using a protocol according to the present invention. Figure 4a represents the data packets prepared by the session layer in response to a request by the mobile phone's microbrowser for the URI (Universal Resource Indicator) http://hdmlhost/home.hdml. The session layer determines that the message is for a request (commandID=3), the MsgSize is 29 (header 4+URI string 25), and no header field is required. So, the message of Figure 4a is passed to the transport layer.

接收到后,传输层确定只需要1个SMS消息,因此分配messageID1,分组号0,检错级别0(不检错)和分组总数0。该信息与会话消息连接产生图4b的SMS分组,后者接着被发送出去。After receiving it, the transport layer determines that only one SMS message is needed, so it allocates messageID1, packet number 0, error detection level 0 (no error detection) and total number of packets 0. This information is concatenated with the session message to generate the SMS packet of Figure 4b, which is then sent out.

已接收并解码该SMS消息后,服务器通过HTTP请求URI并接收响应的200字节数据。因为服务器和客户机都支持Huffman编码数据压缩,所以200字节被服务器压缩为87字节。Having received and decoded the SMS message, the server requests the URI over HTTP and receives 200 bytes of data in response. Because both the server and the client support Huffman coded data compression, 200 bytes are compressed to 87 bytes by the server.

服务器的会话层处理数据,将压缩后的数据取出并分配一个commandID 4(发送),一个编码成96+0*27的消息长度96(头标8+数据87+终结符1)。增加了内容类型1,2(HDMLC)和huffman编码(6,1,0)的头标域,紧接着是数据(87字节)和下一个commandID0(没有更多的消息)。如图4c所示的组装消息被传至服务器的传输层。The session layer of the server processes the data, extracts the compressed data and assigns a commandID 4 (send), a message length 96 (header 8+ data 87+ terminator 1) encoded into 96+0*2 7 . A header field with content type 1, 2 (HDMLC) and huffman encoding (6, 1, 0) is added, followed by data (87 bytes) and the next commandID0 (no more messages). The assembled message as shown in Figure 4c is passed to the transport layer of the server.

传输层构造了有MsgID 1,分组号0,检错0和分组总数0的第一个SMS分组。该SMS分组被传送到移动电话并进行解码和解压缩,重组由微浏览器显示的数据。The transport layer constructs the first SMS packet with MsgID 1, packet number 0, error detection 0 and total number of packets 0. The SMS packets are transmitted to the mobile phone and decoded and decompressed, reconstituting the data for display by the microbrowser.

优选地,uuencoding编码方案应用于接收的数据分组,目的是避免传送SMS不支持的非字母数字字符的尝试。Preferably, a uuencoding encoding scheme is applied to received data packets in order to avoid attempts to transmit non-alphanumeric characters not supported by SMS.

虽然以上的描述与通过将数据进行分组并使用SMS的数据传送有关,但很显然本发明适用于诸如小区广播等的许多传送协议和机制。在小区广播和SMS告警中,没有从电话中进行用于数据的初始请求。一个URI在WWW服务器中创建,并根据例如要接收某个数据的预先请求或向一些/全部用户通报一个事件的业务提供者的一个决定等许多标准来传送给电话。由于小区广播分组的最大尺寸是88字节,因此传输层将修改消息长度。如前面所描述的,一个小区广播消息利用告警域来标识被传送数据的类型和当广播到达后是否应/应怎样通报给用户。尽管小区广播仅仅是相应小区中从服务器到任何接收者的一个单向传送机制,但它也可使用本发明的协议,例如广播带本地信息(例如知名商店的本地分店在哪里等)的寻呼等。Although the above description relates to data transfer by packetizing data and using SMS, it is clear that the invention is applicable to many transfer protocols and mechanisms such as cell broadcast. In cell broadcast and SMS alerts, there is no initial request for data from the phone. A URI is created in the WWW server and transmitted to the phone according to many criteria such as a prior request to receive certain data or a decision of the service provider to notify some/all users of an event. Since the maximum size of a cell broadcast packet is 88 bytes, the transport layer will modify the message length. As previously described, a Cell Broadcast message uses the Alert field to identify the type of data being transmitted and whether/how the user should be notified when the broadcast arrives. Although cell broadcast is only a one-way transfer mechanism from the server to any recipient in the corresponding cell, it can also use the protocol of the present invention, such as broadcasting a page with local information (such as where is the local branch of a well-known store, etc.) wait.

Claims (19)

1. the method for a transport protocol data unit on data communication network (PDU) comprises following steps:
The PDU that reception is used to transmit;
This PDU is encoded to a plurality of alphanumeric packets, makes each packet less than predetermined size;
Make this or the related address frame of each packet, this address frame comprise the destination of this or each packet; And
Transmit this or each packet.
2. according to the process of claim 1 wherein that the step of coding PDU comprises if PDU is not the step that alphanumeric is then used an alphanumeric coding scheme entirely.
3. according to the method for claim 2, the step that the step of the PDU that wherein encodes comprises has:
Determine the length of PDU;
Produce a data grouping from this PDU, if wherein this PDU is greater than predetermined size, it just is divided into the packet of a sequence.
4. according to the method for claim 3, wherein producing the step that the step of packet further comprises is the related packet identifier of packet that makes generation, if wherein PDU is divided into the packet of a sequence, then the packet identifier of each packet will identify it and be the part of separated PDU, and identify the relevant position of this packet in this sequence.
5. according to the method for arbitrary aforementioned claim, the step that wherein PDU is encoded to a plurality of alphanumeric data groupings comprises the step of compressing PDU.
6. any one method and be received in the method for the protocol Data Unit (PDU) that transmits on the data communication network in the aforementioned claim of foundation comprises following steps:
Receive a plurality of alphanumeric data groupings;
Remove the address frame that is associated with each packet; And,
From these a plurality of alphanumeric data groupings that receive, produce a PDU again.
7. according to the method for claim 6, wherein producing the step that the step of PDU comprises again has: rely on each packet associated packet identifier and come alphanumeric data packet sequencing to receiving, remove with each packet associated packet identifier and combine this packet again.
8. the system of a transport protocol data unit on data communication network (PDU) comprises:
The receiver of the PDU that reception is used to transmit;
One is encoded to the grouping of a plurality of numeric character datas with this PDU and makes the encoder of each packet less than preliminary dimension;
An address system that makes this or the related address frame of each packet, this address frame comprise the destination of this or each packet; And,
A transmitter that sends this or each packet.
9. according to the system of claim 8, if wherein PDU is not alphanumeric then alphanumeric coding scheme of encoder applies entirely.
10. according to the system of claim 9, wherein encoder is configured to determine the length of this PDU, and produces a data grouping from this PDU, if wherein this PDU is greater than predetermined size, then encoder is configured to this PDU is divided into a sequence of data packets.
11. system according to claim 10, wherein encoder is configured to make related packet identifier of packet of generation, if wherein PDU is divided into the packet of a sequence, then the packet identifier of each packet sign it be the part of separated PDU, and identify the relevant position of this packet in this sequence.
12. according to any one system in the claim 8 to 11, wherein encoder is configured to compress this PDU.
13. the system of the protocol Data Unit (PDU) that a reception is transmitted on data communication network by any one system in the claim 8 to 12, comprise a receiver and be used to receive the grouping of a plurality of alphanumeric datas, processor is used for removing the address frame that is associated with each packet and produces a PDU again from these a plurality of alphanumeric datas groupings that receive.
14. system according to claim 13, wherein this processor is configured to rely on each packet associated packet identifier and comes alphanumeric data packet sequencing to receiving, removes with each packet associated packet identifier and combines this packet again.
15. according to any one system in the claim 8 to 14, wherein this PDU comprise browse the World Wide Web (WWW) and/or with the mutual data that produce in World Wide Web (WWW), wherein this system further comprises a Web server, transmits PDU to the World Wide Web (WWW) as gateway, and receives PDU from the World Wide Web (WWW).
16. an energy is read by machine and encodes and is used for the program storage device that enforcement of rights requires the instruction repertorie of 1 to 7 any one method.
17. an energy is read by machine and the program storage device of the instruction repertorie that is used for implementing any one system of claim 8 to 15 of encoding.
18. computer data signal that is used for the instruction repertorie of enforcement of rights requirement 1 to 7 any one method with carrier format realization, coding.
19. computer data signal with the instruction repertorie that carrier format realizes, coding is used for implementing any one system of claim 8 to 15.
CN00805503A 1999-12-01 2000-11-15 Packet based client/server protocol Pending CN1352844A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB9928354.1 1999-12-01
GBGB9928354.1A GB9928354D0 (en) 1999-12-01 1999-12-01 Packet based client/server protocol

Publications (1)

Publication Number Publication Date
CN1352844A true CN1352844A (en) 2002-06-05

Family

ID=10865480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN00805503A Pending CN1352844A (en) 1999-12-01 2000-11-15 Packet based client/server protocol

Country Status (6)

Country Link
EP (1) EP1180291A2 (en)
JP (1) JP2003516039A (en)
KR (1) KR20010101900A (en)
CN (1) CN1352844A (en)
GB (1) GB9928354D0 (en)
WO (1) WO2001041391A2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1182748C (en) * 2001-11-27 2004-12-29 斯伦贝谢(北京)智能卡科技有限公司 Implementation method and system for radio value-adding business based on short message service
DE10222156A1 (en) * 2002-05-17 2003-11-27 Siemens Ag Transmission efficient handling of multi media information uses a process to identify and optimize useful data content that is set against price categories
WO2005041600A1 (en) * 2003-10-23 2005-05-06 Bsite International Ltd Method and system for distributed mobile collaboration
SE526391C2 (en) * 2003-12-12 2005-09-06 Scania Cv Abp Procedure for processing data to be transmitted via SMS and data transmitted via SMS
KR100793349B1 (en) * 2006-01-26 2008-01-11 삼성전자주식회사 Multicast Traffic Forwarding Apparatus and Control Method in System Supporting PPP Multilink

Also Published As

Publication number Publication date
EP1180291A2 (en) 2002-02-20
JP2003516039A (en) 2003-05-07
GB9928354D0 (en) 2000-01-26
WO2001041391A3 (en) 2001-11-29
KR20010101900A (en) 2001-11-15
WO2001041391A2 (en) 2001-06-07

Similar Documents

Publication Publication Date Title
JP6648211B2 (en) Method and apparatus for performing extended file distribution in multicast communication or broadcast communication
US5627829A (en) Method for reducing unnecessary traffic over a computer network
US7630394B2 (en) Method, apparatus and computer-readable code for data compression of network packets
RU2461147C2 (en) Method of processing radio protocol in mobile communication system and mobile communication transmitter
US6888807B2 (en) Applying session services based on packet flows
US20060034274A1 (en) System and method for variable length acknowledgements in a shared resource network
US20020156896A1 (en) System and method for providing a gateway between mobile two-way messaging devices and remote computer networks
US9092319B2 (en) State memory management, wherein state memory is managed by dividing state memory into portions each portion assigned for storing state information associated with a specific message class
JP2006526968A (en) Method and apparatus for translating resource names in a wireless environment
US11115498B2 (en) Multi-path management
CN1593051A (en) Extension header compression
CN1181695C (en) WAPTV
KR20170097548A (en) Contents Transmission Method in Heterogeneous Network and Apparatus therefor
US8009694B2 (en) Wireless services provider network system and method
US6493766B1 (en) Method, client device, server and article of manufacture for compressing universal resource identifiers using left/right string substitution
CN1352844A (en) Packet based client/server protocol
Chakravarthi M2M communication protocols
EP1358751A2 (en) Improvements in or relating to wireless communication systems
CN119697281A (en) Source end information transparent transmission method, message processing method, device, equipment and medium
CN114301997A (en) Internet of things equipment and cloud platform communication method based on network application layer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication