CN1352844A - Packet based client/server protocol - Google Patents
Packet based client/server protocol Download PDFInfo
- 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
Links
- 238000004891 communication Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 16
- 230000008569 process Effects 0.000 claims description 3
- 241001269238 Data Species 0.000 claims 3
- 238000012163 sequencing technique Methods 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 abstract description 5
- 238000001514 detection method Methods 0.000 description 9
- 230000004044 response Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000001172 regenerating effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
- H04L12/56—Packet switching systems
- H04L12/5601—Transfer mode dependent, e.g. ATM
- H04L2012/5603—Access techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/08—Upper 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
本发明涉及紧凑的、基于分组的数据通信协议,该协议尤其适合在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
响应该HTTP请求通过WWW40由WWW服务器30接收的数据,被编码为一条定址到移动电话50的微浏览器的SMS消息。该WWW服务器30将该消息传至SMS系统20,SMS系统20通过小区10将它传送到移动电话50上。移动电话接收到消息,对其解码并传至微浏览器以进行诸如给用户显示WWW页的适当动作。The data received by
图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
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
头标域的内容涉及到可选数据。每个头标域包含一个跟随着以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:
内容类型域包含例如其中一种以下类型的标识符:
编码域可对应例如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:
代理简档用于依靠存取数据的设备类型,来调整数据类型和/或业务或服务器传送的内容。由于不同浏览器(特别是在移动电话中)所支持的功能有差异,所以仅凭借名称来标识浏览器是不够的。一个简档标识了浏览器的主要功能,例如支持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
图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 (
接收到后,传输层确定只需要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,
已接收并解码该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 (
传输层构造了有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
图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 (
接收到后,传输层确定只需要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,
已接收并解码该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
传输层构造了有MsgID 1,分组号0,检错0和分组总数0的第一个SMS分组。该SMS分组被传送到移动电话并进行解码和解压缩,重组由微浏览器显示的数据。The transport layer constructs the first SMS packet with
优选地,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)
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)
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 |
-
1999
- 1999-12-01 GB GBGB9928354.1A patent/GB9928354D0/en not_active Ceased
-
2000
- 2000-11-15 KR KR1020017009660A patent/KR20010101900A/en not_active Application Discontinuation
- 2000-11-15 WO PCT/EP2000/011431 patent/WO2001041391A2/en not_active Application Discontinuation
- 2000-11-15 JP JP2001541204A patent/JP2003516039A/en not_active Withdrawn
- 2000-11-15 CN CN00805503A patent/CN1352844A/en active Pending
- 2000-11-15 EP EP00974555A patent/EP1180291A2/en not_active Ceased
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 |