0% found this document useful (0 votes)
164 views24 pages

WDP by James

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1/ 24

WAP Logo 의 경우 일

정한 사용 양식이 있
다.

WDP(Wireless
Datagram Protocol)

백준선
beck100@hanmail.net

1/24
Reference Model
Manageme
nt Entities
handles
protocol
initializatio
n,
configurati
on, and
error
conditions
that are
not
handled by
the
protocol
itself

2/24
Contents
 WDP Architecture
 General Description
 Example of Implementation in
CDMA SMS

3/24
WDP Architecture(1/2)

4/24
WDP Architecture(2/2)
 Services offered by WDP : application
addressing by port, optional segmentation and
reassembly and optional error detection
 Bearer adaptation : maintain the same
service offering at the Transport Service
Access Point
 Protocol performance over each bearer may
vary. However, the WDP service and primitives
will remain the same.

5/24
General
Description(1/2)
 WDP layer operates above the
data capable bearer service
 Offers a consistent service to the
upper layer protocol
 The port number identifies the
higher layer entity above WDP

6/24
General
Description(2/2)

7/24
WDP Management
Entity(1/1)
 Used as an interface between the WDP layer and the
environment of the device
 Provides information to the WDP layer about changes
in the devices environment
 The mobile is within a coverage area applicable the the
bearer service being invoked
 The mobile having sufficient power and the power being
on
 Sufficient resources(processing and memory)within the
mobile are available to WDP
 The WDP protocol is correctly configured
 The user is willing to receive/transmit data

8/24
WDP Management
Entity(2/2)
 May be used as the interface to the user
for setting various configuration
parameters used by WDP (e.g. Device
address)
 In general : deal with all issues related
to initialization, configuration, dynamic
re-configuration, and resources, and
they pertain to the WDP layer

9/24
Processing Errors
 When : WDP datagrams are sent from a
WDP provider to another
(e.g. there is no application listening to
the destination port, receiver might not
have enough buffer space to receive a
large message)
 WCMP(Wireless Control Message

Protocol) provides an efficient error


handling mechanism for WDP
10/24
WDP Conformance
 A minimum set of WDP features that
need to be implemented
 Ensure that implementations from

multiple vendors will be able to


interoperate
e.g.) WDP-C-001 : WDP client
functions/status=M/requirement : WDP
ANSI-C-000 or WDP-CDMA-C-000 or
WDP-CT-002 or etc…
11/24
WDP Adaptation layer
Segmentation and Re-
assembly
 Criteria
 The application(or higher communication layers)
that are likely to use the bearer service : to estimate
if the typical payload of those applications can be
handled by the new bearer service
 The bearer service Maximum Transfer Unit(MTU)

- If the application typical payload exceed the bearer


MTU, support for SAR SHOULD be included in the
new bearer service specification

12/24
Example of WDP bearer
dependent Profiles(1/2)
 WDP over CDMA bearer services

13/24
Example of WDP
bearer dependent
Profiles(2/2)
 WDP over CDMA SMS

SMS
Messa
ge
Center

14/24
Implement the
WDP(1/9)
 Following fields are necessary
 Destination port
 Source port
 SAR(Segmentation and
Reassembly)
- bearer dependent way
- underlying bearer
15/24
Implement the
WDP(2/9)
 Mapping of WDP for IP
 When IP is used as a routing protocol
 UDP is adopted as the WDP protocol
definition
e.g.) GSM Circuit Switched Data, GSM GPRS,
ANSI-136 R-Data, CDPD, CDMA-Packet Data
etc.

16/24
Implement the
WDP(3/9)
 Mapping of WDP to CDMA SMS
 WDP sends datagrams in the User Data
subparameter of IS-637 SMS point-to-point
message
 A datagram consists of a four-byte header
followed by the data
 Datagrams may be too long to fit in one SMS
message – segmented and reassembled at the
destination

17/24
Implement the
WDP(4/9)
 SMS message containing WDP datagrams
MUST use the WAP teleservice
 Datagram structure (sent over IS-637)
Field Length(bits)
SOURCE_PORT 16
DESTINATION-PORT 16
DATA N*8

 SMS User Data


The CHARi fields structure is

18/24
Implement the
WDP(5/9)
Field Length(bits)
MSG-TYPE 8
TOTAL-SEGMENTS 8
SEGMENT-NUMBER 8
DATAGRAM (NUM_FIELDS-3)*8

 MSG_TYPE : set ‘00000000’- indicate that this


is a WDP message (distinguishes WDP
message from other WAP messages)

19/24
Implement the
WDP(6/9)
 TOTAL_SEGMENTS : This field shall not be set
to ‘00000000’.
 SEGMENT_NUMBER : In the first segment of a
datagram this field shall be set to ‘00000000’.
 DATAGRAM : Fill this field with the datagram
bytes of the segment of the datagram
NUM_FIEDLS field of the User Data
subparameter shall be set to the number of
datagram bytes in the segment plus 3.

20/24
Implement the
WDP(7/9)
 Use of MESSAGE_ID Field
 IS-637 SMS endpoint has restarted and the first segment
of the first WDP datagram – random number in the range
of 0 through 65535.
 First segment of WDP datagram – endpoint MUST
increment the MESSAGE_ID value from the last WDP
datagram sent
 Reference number provided via a short message entity
interface protocol
 Not first segment of a WDP datagram – Equal to the
MESSAGE_ID field from the SMS message containing the
first segment of the WDP datagram

21/24
Implement the
WDP(8/9)
 Segmentation and Reassembly
Use five parameters in a WAP SMS
message
 The Originating Address parameter from the
SMS Transport layer
 MESSAGE_ID from the SMS message
Identifier subparameter
 MSG_TYPE
 TOTAL_SEGMENT
 SEGMENT_NUMBER

22/24
Implement the
WDP(9/9)

23/24
Total 12 개의 port 가 정의되어

Port Number Definitions


있다 .
WDP Spec. Appendix B. 참조

Example
P ort Number Definitions
P ort Number Application/ P rotocol
WAP WTA secure connectionless session service
2805 P rotocol : WS P / WTLS / Datagram
WAP WTA secure session service
2923 P rotocol : WS P / WTP / WTLS / Datagram
WAP P ush connectionless session service (client side)
2948 P rotoco : WS P / Datagram
WAP P ush secure connectionless session service (clinet side)
2949 P rotocol : WS P / WTLS / Datagram
WAP connectionless session service1
9200 P rotocol : WS P / Datagram

24/24

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy