150 likes | 350 Views
UCP Server for SMSC. Universal Computer Protocol Server for Short Messaging Service Center. A project report Submitted by NETAJI RAO DUMPALA Regd. No.: 94036304. Introduction. ?. 7333 7337 8888 555. Introduction. Types of short messages. MO – MT AO – MT MO – AT AO – AT.
E N D
UCP Server for SMSC Universal Computer Protocol Server for Short Messaging Service Center A project report Submitted by NETAJI RAO DUMPALA Regd. No.: 94036304.
Introduction ? 7333 7337 8888 555
Introduction Types of short messages MO – MT AO – MT MO – AT AO – AT AO : Application Originated MO : Mobile Originated AT : Application Terminated MT : Mobile Terminated
Position of the UCP Server • From the SMSC view, EMI is nothing but the UCP Server EMI – External Machine Interface ESME – External Short Message Entity SMSC – Short Messaging Service Center PLMN – Public Land Mobile Network
What UCP Server does? • The objective of the UCP server is to accept short message data from the ESME (External Short Message Entity) and forward it to SMSC and vice versa. • To an ESME, the UCP server has to provide access to the SMSC functions like • Submission of Short Messages • Reception of Short Messages • Reception of Notifications related to submitted Short Messages • Operate on submitted Short Messages: query, delete and modify.
UCP packet structure stx <header> / <data> / <checksum> etx E.g.: stx03/00107/O/51/01727654321/12345/55555/1/01724444444// 0100////////////3//4432204D657373616765/////////////99etx Here stx = 02(hex) and etx = 03(hex). • As separator between header and data, between data and checksum, as well as between parameters, a “/” (2F(hex)) is used.
UCP packet structure Header: TRN : Transaction Reference Number LEN : Length of the packet O/R : Operation or Response OT : Operation Type Data: The <data> fields depend on the Operation Type Checksum: The <checksum> is derived by the addition of all bytes of the header, data field separators and data fields E.g.: stx03/00107/O/51/01727654321/12345/55555/1/01724444444// 0100////////////3//4432204D657373616765/////////////99etx
The Modules The modules in the UCP server are • UCP decoder • UCP operation handler • UCP response handler • AT (Application Terminated) message handler • UCP encoder
Testing • Unit Testing Sample Test Records:
Testing • System Testing Sample Test cases:
Conclusions • To allow applications to send and receive large number of short messages, an interface is needed to communicate with the SMSC. • The UCP server acts as the interface between application and the SMSC. The UCP server uses Universal Computer Protocol (UCP). • Applications like SMS gateway that follow UCP can communicate with the SMSC through the UCP server.
Future enhancements The following enhancements can be done in future • List operation (OP61) • Change password in OP60 • Legacy operations (OP 01, 02, 03, 30) • Services limited by the SMSC