Joke Collection Website - Public benefit messages - Business process of SMS gateway

Business process of SMS gateway

There are two routing processes in SMS business process:

(1) Route from SMS center to SP providing information service.

(2) The route of SP's information service content to the SMS center where the user's mobile phone belongs.

Due to the large number of mobile phone users, SMS centers and SP providing services, which are widely distributed in the region, it is impossible to have a SMS gateway that can directly connect all SMS centers and SP to provide services for SMS users in the network. Instead, there are several SMS gateways, each of which is responsible for the connection between SMS centers and SP in some areas. This requires that there is a routing relationship between SMS gateways, any SMS user can find any SP request information, and any SP can send SMS information to any user.

There are no clear rules for the routing information of SMS gateway connected between SP and SP, and the situation of SP changes rapidly with the development of business. It is impossible for all SMS gateways to maintain this routing table, but tandem gateways do.

When SMS gateway receives SMS request and needs to send it to SP, if SP is not directly connected to SMS gateway, SMS gateway will send a routing query to tandem gateway through CMPP protocol, and tandem gateway will reply with CMPP protocol and send the address of SMS forwarding gateway to SMS gateway. After the SMS gateway finds the route through this process, it sends a SMS request to the SMS forwarding gateway, and then the SMS forwarding gateway forwards it to the connected SP, so that the information can be forwarded to the SP at most once.

The routing table of user number and user home is used to send short messages to users, and its contents are user number segment and corresponding short message center address or forward short message gateway address, wherein the routing table corresponding to user number segment and forward short message gateway address is also maintained by tandem gateway.

When the SMS gateway receives the SMS sending request from SP, if the SMS center to which the user belongs is not directly connected with the SMS gateway, the SMS gateway will initiate a routing query to the tandem gateway through CMPP protocol, and the tandem gateway will reply with CMPP protocol and send the address of the SMS forwarding gateway to the SMS gateway. After the short message gateway finds the route through this process, it sends a request to the short message forwarding gateway, and then the short message forwarding gateway forwards it to the connected short message center, so that the information can be forwarded to the user at most once. (1) tandem gateway

The routing table maintained by the tandem gateway is used to query the address of the forwarding gateway, including:

A) routing table of service code, service code, SP enterprise code and IP address of SMS gateway connected to SP

B) the routing table of the national user's mobile phone number segment and the IP address of the short message gateway of the province to which the user belongs.

Routing table A of tandem gateway is automatically generated by CMPP protocol, and routing table B is manually configured.

In order to maintain routing table A, tandem gateway requires that all SMS gateways have newly added SP or SP to increase service content, or that there is a newly connected SMS gateway in the network, it must report routing update information to tandem gateway with CMPP protocol, or tandem gateway can obtain all routing tables of the gateway with CMPP protocol.

When the whole network changes, the tandem gateway can send the updated information to the provincial gateway.

(2) short message gateway in the province

The routing table maintained by the SMS gateway in the province is used to query the addresses of SP and SMS center, including:

A) For directly connected SP: service code, service code, SP enterprise code and SP IP address routing table.

B) For mobile phone users in this province: the routing table of the mobile phone number segment in this province and the IP address of the short message center to which the user belongs.

Routing table a and routing table 6 of SMS gateway are manually configured.

In order to improve the efficiency of route query and reduce the query pressure of tandem gateway, SMS gateway is saved to cache the routes queried by tandem gateway. The short message gateway in the province can also take the initiative to apply for all routing tables from the tandem gateway.