• The role of SMS gateway in SMS information service? 1 Overview With the use of users who support Chinese mobile phones, short messages have become one of the most frequently used mobile phone users. In addition to a large number of mobile phone users to mobile phone users, the SMS information service business from the information platform to mobile phone users is also rapidly developed, which has become a means of obtaining information in time for users. With the support of the Wait Server (SP), users can use SMS on demand or website customization to get a lot of useful information, SP can also obtain income by providing paid information services, so the demand for SMS information service services Both. The construction of the SMS gateway (ISMG) can provide a safe and fast channel for data exchange between SP and short message center (SMSC) so that mobile phone users use SMS mode and SP two-way communication, receive information services provided by SP, and complete the corresponding Billing acquisition, business management, network management and other functions. 2 SMS Information Service Development 2.1 The development of SMS information services In view of the development of SMS business, the development of SMS information services has experienced the following two periods: (1) The first phase, with the SMS center as the main business And the period of information provided. At this stage, the SMS center is the only information provider and data transmission channel, resulting in less information, and the source of information is inconsistent. This stage is the independent development period of SMS information services. (2) The second phase is used as the main source of information on the Internet, and the SP on the Internet is directly communicated with each SMSC, and the interface is established. It is characterized by the provider of the information of the information, which makes up for the lack of SMSC. This stage is a dramatic extension of SMS business. At present, the SMS service is in the second phase of business development. Its main business characteristic mode is the short message of huge information on the Internet according to the user's requirements according to the user's requirements according to the original mobile phone information transmission method (short message). The manner is passed to the user. This development model provides a thorough separation of the traditional information and information services, which reflects a development model combining traditional business and the Internet. At this stage, China Mobile launched the "mobile dream network" business, and China Unicom also launched "Unicom's letter" business. 2.2 Business Type of SMS Information Services The following is the type of SMS information service provided to users with "Mobile Dream Network" as an example. SMS information service, information services, entertainment services, location services, communications services, and business services. Information services include: stock market information, such as custom or point-made market, price reminder, stock trend, market trend, expert assessment, etc., etc., customization, customizable or on-demand international, domestic, finance, technology, sports, entertainment All kinds of news; lottery information, customizable or on-demand information of various new lottery lottery information; foreign exchange market, customizable or on demand price; weather forecast, customizable or on-demand national provincial capital city, domestic tourist attractions, world big cities Weather forecast, and even professional weather forecast; online translation, it can be on demand in English-Chinese, Chinese-English word query. Entertainment services include: ringtone, picture download, customizable or on-demand mobile phone ringtones and boot logo pictures; daily humor, customizable or point-to-humorous, jokes; daily star, customizable, spurs, blood type, flower, every Day fortune, etc., electronic pets, you can make a variety of electronic pets; interactive games, customizable or on a variety of guess, riddles, etc.
Location services include: urban information inquiry, webcasting postal code, long-distance area number, bus route, surrounding environment and other information; commercial broadcasting, customizable or on-demand wireless advertising, discount / dining and entertainment. Communication services include: mobile e-mail, custom mail notifications, online SMS, mobile phone receiving / send mail; daily language, customizable or on-screen information; online chat, you can chat online with mobile OICQ. Business services include: Ticket service: You can streamline railway, flight information. 2.8 How to use SMS information services Mobile phone users can enjoy the above services through SMS using mobile phone on-demand or website customization. Mobile phone broadcast: User In the message body of the mobile phone, enter the service code that needs to be on-demand, then enter the SP service code in the "Send" number, send a text message; if the send is successful, it can be received later On-demand information. Website customized way: User login Provides a SP site for SMS information services, follow the prompts, registration into the SP user, and register the user's mobile phone number; SP will send the password to the user in SMS, the user uses this password The SP confirms that the confirmation can be customized to customize the service of the SP; the user customizes the required service on the page of the SP, and the SP will send information to the user's mobile phone according to the user's custom information. 2.4 The introduction of the SMS gateway In the early stage of the second phase of this SMS information service, the SP is generally connected to a SMSC connection with SM, and the SMSC is directly sent to the user by SMS. However, when the SP's SMS information service traffic is large, all SMS is responsible for forwarding SMSC directly connected to SP, causing the SMSC load to meet the needs of business development. Moreover, the GSM network specification is responsible for the forwarding of the user SMS service by the user's SMSC, if the SMSC is not connected to the SP of the service, when the user uses a SMS to play a SMS information service, uplink SMS cannot be sent to the SP . Therefore, with the development of the business, the forwarding of information text messages also requires the use of GSM network specifications, namely the user's SMSC's SMSC is responsible for the transmission of user SMS information services. However, how to access a large number of SPs to SMSCs around the land, how to ensure the consistency and security of access, how to provide users with quality services, which is the main problem that the business development needs to be solved. In order to solve this problem, the SMS gateway came into being. In the mode of the SMS gateway, the SMS gateway is a professional information allocation and the manager to implement the interaction between SP and SMSC. 3 SMS Net Tactics Composition The system consists of the system of the SMS gateway as an example. (1) SMS information service participates in the physical service provider (Service Provider Abbreviation SP): Information provider of SMS information services; Internet Short Message Gateway Abbreviation ISMG): Provides data exchange between SP and SMS centers, adopting CMPP (China Mobile Peer to Peer) Agreement is connected to SP, using SMPP3.3 protocol and SMS center connection; SMSC Center (Short Message Service Center Abbreviation SMSC): Send a short message to mobile phone users using the lettering network; (GATEWAY NAME Server Abblast GNS): Provides a routing query for SMS gateway.
(2) SMS information service business process users send text messages, such as information on demand, etc., SMS centers will send SMS content to the SMS gateway connected to the SMPP protocol. The SMS gateway will send the SMS content to the corresponding SP with the CMPP protocol according to the SMS transmission number (ie the SP service code), and processed by the SP. User Show SMS Business - ie MT business, such as SMS, ringtone download, etc., SP provides SP to send SMS content to the SMS gateway connected to the CMPP protocol, sent by the SMS gateway according to the user's mobile phone number segment to SMPP protocol The user belongs to the SMS center. (3) Information forwarding and routing between SMS networks and routing If the user's home SMS center and the SP connection providing the business are on different SMS gateways, the SMS gateway is forwarded by the SMS gateway. The road pills of the SP and SMS centers connected to each SMS gateway, maintained by the gathering gateway, and routing queries and routing updates by SMS gateways with CMPP protocol. Several SMS Gateways will have queried routing information locally, and the gates will also issue updated routing information to the CMPP protocol. 4 SMS Net Tactics SMS Gateway The role of the SMS gateway provides a safe and fast channel for data exchange between SP and short message centers, so that mobile phone users use SMS to use SMS and SP two-way communication, receive SP-supplied information services, and complete the corresponding The feature collection function. The SMS gateway includes communication software (using CMPP protocol) with SP within the responsible range. A protocol software (using SMPP protocol) with SMSC within the scope. Communication software (using CMPP protocol), service processing software, network management software, firewall software, and billing processing software, including the original living list. The functionality of the SMS gateway is: (1) SMPP proxy system Follow SMPP 3.3 Protocol to connect to the short message center in the GSM network, achieve efficient, reliable data transmission. The system supports the flow control function, which can transmit traffic control according to the traffic volume of the SMSC. (2) Communication agent system implements connection and protocol interoperability with content providers such as SP. It is based on the TCP / IP protocol, and a safe and efficient transmission channel is established with the CMPP protocol and SP. The system supports the flow control function, and can receive traffic control according to its own traffic. (3) The firewall is an important function component of the SMS gateway. It features the other related modules inside the SMS gateway to achieve packet filtering and proxy for internal access. (4) The short message gateway handling system completes the business processing of the gateway, including: Routing the network, establish a SMS gateway ID, user mobile phone number, SP ID, and its IP address, cached, establish a user mobile number The corresponding table of the SMSC (SMS Center) address, completes support for data distribution functions, and the provisioning and processing of the original bill. (5) SMS gateway billing system provides the original text record (CDR) of SMS gateway. (6) Business management systems include business management and network management monitoring. Business management mainly completes the statistical report on the business, generates reports, operators to add, modify, delete user data; network management monitoring mainly completes the management of monitoring, query, operation, and maintenance of gateway systems.
5 SMS Business Process (1) MO Business Process For MO Business, the user-owned SMS center will forward SMS to the SMS gateway responsible for connecting to the SMS center, and the SMS gateway is determined by the service code and the service code to forward the request to the corresponding SP; if the SP is responsible for the SP of the SMS gateway, the SMS gateway directly forwards; if the SP is not a SP that is responsible for the connection, you need to query the route to the network, query the route will forward the request to the responsible SMS. The gateway is forwarded to the SP by the responsible SMS gateway. (2) MT business process For MT services, the SMS gateway determines its home SMS center according to the receiving user mobile phone number, if the SMS center is responsible for connection by this SMS gateway, the service data is sent to the SMS center; otherwise querying the gateway gateway Routing, according to the routing results, send business data to the SMS gateway responsible for the connection, and then send it to the home SMS center, which is sent to the user. 6 SMS Gateway Route 6.1 The process of the route has two routes in the SMS business process: (1) SMS Center to the SP of the SP provides information service (2) SP information service content sent to the user's mobile phone home SMS The center's routing is widely distributed, and there is a wide range of geographical distributions because of mobile users, SMS centers, and providing services. It is impossible to have a SMS gateway to directly connect all SMS centers and SPs, providing services for web SMS users; but there are several SMSs The gateway is responsible for a part of the SMS Center and SP connection. This requires a routing relationship between the SMS gateway, so that any SMS user can find any SP for information on-demand, and any SP can send SMS information to any user. The SP and SP connected to the SMS gateway this routing does not have a clear law, and with the business of the business, the situation in SP changes very quickly, and all the SMS gateways are maintained to maintain this routing table, but by the gates gateway Maintain this routing table. When the SM gateway receives a SMS request to be sent to the SP, if the SP is not directly connected to this SMS gateway, the SMS gateway will initiate a routing query through the CMPP protocol, and the gates will respond with the CMPP protocol. The front transfer gateway address sent to the SMS gateway. After the SMS gateway queries the route, the SMS request is sent to the previous SMS gateway, and then the SP connected to the front to the gateway gateway, so that the information can be achieved by maximum of one forward to the SP. The user number is used by the route table attributed to the user, and the content is used to send a text message to the user, and its content is the user segment and the corresponding SMS address or the front conveyor gateway address, where the user segment is corresponding to the corresponding route of the front-transverse SMS gateway address. The table is also maintained by the grid gateway. When the SMS gateway is connected to the SP sending request, if the user-owned SMS center is not directly connected to this SMS gateway, the SMS gateway will launch a routing inquiry to the incoming gateway through the CMPP protocol, and the network will respond with the CMPP protocol. , Send the previous SMS gateway address to the SMS gateway. After the SMS gateway queries the route, the SMS gateway will be issued to the previous SMS gateway, and then forward the SMS center of the front to the front SMS gateway, and the update is achieved by one forward to the user. 6.2 Maintenance of the routing table (1) The routing table maintained by the gateway connection gateway is used to query the address of the forward gateway, including: a) service code, service code, SP corporate code, connection SP's SMS gateway IP address Table b) The routing table of the SMS gateway IP address of the SMS gateway IP address in the country is automatically generated by the CMPP protocol, and the routing table B is automatically generated by the CMPP protocol.
The gateway gateway is to maintain the routing table A. All SMS gateways require new SP or SP to increase service content, or newly connected SMS gateways in the net must report the routing update information to the gates of the gateway with the CMPP protocol. Or get all the routing tables for this gateway by the CMPP protocol. When the full network is changed, the incoming gateway can send the update information to the provincial gateway. (2) The routing table maintained by SMS gateway inside the provincial SMS gateway is used to query the address of the SP and SMS centers, including: a) the SP: service code, service code, SP corporate code, sp ip address of the SP address Table B) Mobile phone users of the province: The province's mobile phone number segment, the user belongs to the SMS center IP address routing table A, the routing table 6 is manually configured to increase the efficiency of routing queries, reduce the gathering gateway The pressure of the query, the provincial SMS gateway caches the route queried from the incoming gateway. The provincial SMS gateway can also apply for actions, obtain all routing tables from the incoming gateway. 7 Sweet Letter Gateway and SMS Center and SP connection (1) SMS gateway and SMS center connection SMS gateway and the SMS center should be interconnected. The main content of the SMS center should be transformed, the main content of the transformation is to expand the function on the basis of the original SMPP 3.3, so that the short message extension entity (SME) is a SMS gateway to get a short message to send success or not, To the SMS gateway to perform billing records, and the information that uses CMPP to transmit successfully or not to SP. (2) SMS gateway and SP connection provides services to the Internet only need to connect to the Internet, and can be connected to the SMS gateway via the Internet. Since the SMS gateway needs to be responsible for the routing query from the SP, the service only from a SP service can only be accessed from a SMS gateway to avoid the traffic message of the SMS information on demand service to send a routing chaotic. For a large SP, such as Sina.com, it allows it to access multiple SMS gateways to deliver SMS traffic. In this case, the SP will use the partition service to provide services. For example, it is assumed that Sina is connected to Beijing and Guangzhou two SMS gateways, and the Beijing gateway is responsible for the North of the North, the Guangzhou gateway is responsible for the business in the south. When Tianjin's SMS gateway, the network is queried to Sina's route. The gates will return to the address of the Beijing SMS gateway as the address of the forward gateway. When Guangxi's SMS gateway, the gateway querys the route of Sina, the gateway will Returns the address of the Guangzhou SMS gateway as the address of the forward gateway. 8 billing, network management and safety (1) SMS information service accounting method SMS information service accounting point is located in SMS gateway, information billing is completed by the provinces of GSM network. The SMS gateway generates a detailed billing record for all gateways, including short message sequence numbers, short message type, user type, billing mobile phone number, SP corporate code, third party number (received short message user number) , Service code, business code, user billing category, information fee, monthly fee, short message transmission status, short message transmission priority, information length, billing household home province, gateway code, forward gateway code, short message center code , Application time, process end time, etc. basic billing content. The SMS gateway will generate billing record file wells in a fixed-time / quantitative and parameter adjustable manner, and the accounting collection interface supports the FTP, FTAM and other protocols. The GSM network sets the collector to complete the timing acquisition of the original billing record. (2) The network management SMS gateway of SMS gateway provides SNMP interface, open interface protocol, and information format, open MIB libraries, support configuration, alarm, and performance data. Business management mainly completes the statistical report on the business, generates reports, operators to add, modify, delete user data; network management monitoring mainly completes the management of monitoring, query, operation, and maintenance of gateway systems.