CMPP Protocol Introduction

xiaoxiao2021-03-06  43

I want to study research and development, first charge electricity. CMPP

Introduction to the agreement

China Mobile Communications Internet SMS Gateway Interface Agreement (China Mobile Peer To Peer CMPP) is an official agreement between SMS participation nodes in China's mobile phone network. As a member of the Dream Network, the Value Value Service Manager of the Mobile Network To implement the SP portion according to this protocol specification, you can transfer your own SMS through the data channel of the mobile GSM network to the final mobile phone user.

In fact, the agreement specifies 3 aspects:

. Interface protocol between the Internet SMS gateway (ISMG) of the Internet SMS, ISMG

. Interface protocol between ISMG (such as mobile provinces, short message exchange between the city) is performed between ISMG)

. Interface protocols between ISMG and the Gateway Name Server GNS, DNS Servers on the Internet, such as SMS across provinces require GNS help to point out how the current ISMG will pass SMS.

Among them, the secondary side belongs to the internal implementation of the mobile short message system. For SP, it is probably "transparent" to look at it. Just achieve the correct interaction of SP with ISMG, you can implement access mobile dream network SMS system. We care about the development details of the SP end.

CMPP interactive mode

From the perspective of mobile phone users, there are two named methods according to the initiation / reception path of SMS:

MT (Short Message Mobile Terminated, SMMT), SMS Receive, SMS Send from SP to mobile phone users.

Mo (Short Message Mobile Orig Inn, SMMO), SMS Send, SMS Sends from the mobile phone user to the target SP.

These two types of SMS interactions, from the SP side, all of which belong to the Socket Transfer Application, the CMPP protocol is the application of the TCP / IP protocol as the underlying load protocol, which belongs to the TCP / IP protocol stack.

SP is connected to the interactive connection of ISMG and short connections.

The so-called short connection is a connection, transmits a message, then wait for the reply to remove the connection, obviously, the efficiency is very low, so, it is basically not considered (the actual application movement does not allow SP to use short connections, just do not understand why To write a document? Is ISMG will need?)

The so-called long connection is the SP established with the ISMG connection, and then continuously sends the packet (one CMPP message) to the ISMG, which is sent to send the next message to the ISMG response message returned without waiting for a message. At the same time, wait for the message to return information or wait for the ISMG to send to the SP. The transmission with the receiving message is not necessarily synchronized, and actually uses asynchronous (simultaneous duplex) mode. In terms of efficiency, it is clear that the asynchronous mode of the full duplex can meet the practical application needs.

转载请注明原文地址:https://www.9cbs.com/read-70759.html

New Post(0)