1. Overview
This document explains how SP can use the mm7 API Program of China Mobile Group to connect to the MMS center to implement mm7 interface communication and develop value-added business applications.
This mm7 API is developed using pure Java and uses JDK 1.4.0. Therefore, when using this API for development, the JDK version must be JDK 1.4.0 or later. The communication bearer protocol used by this API is HTTP/1.1.
Acronyms:
Mm:Multimedia Message (multimedia message)
MMS:Multimedia Message Service (Multimedia Message Service)
Mmsc:Multimedia Message Service Center (Multimedia Message Service Center)
Vas:Value Added Service)
SP:Service Provider)
HTTP:Hypertext Transfer Protocol (Hypertext Transfer Protocol)
2. Concepts
2.1 enterprise code
Enterprise code is the identity of an enterprise. Address Translation, billing, and settlement on the network are all based on the enterprise code. Enterprise code data must be configured in the mmsc and boss systems. Enterprise code is represented by numbers. There are 6 digits in total, from "8xy000" to "8xy999". "XY" is the code of each mobile branch.
The enterprise code of the SP for MMS service is 8xy001-8xy999. (Currently, the enterprise code of the SMS service is 9xy001-9xy500, and the enterprise code of the WAP service is 9xy501-9xy999 .) The SP enterprise code of the MMS local business is determined by the local mobile companies according to the order of business license. For details about the "XY" distribution, see the relevant table.
2.2 Service Code
The service code is the number of the recipient to be entered when the user uses upstream services such as sending and uploading of MMS; or the number of the sender displayed on the user terminal when the SP sends or downloads downstream services to the user based on the user's on-demand requests. Service Code data needs to be configured on mmsc for routing search and status report return. The service code is represented by a number.
The service code length of national businesses is unified into 4 bits, that is, "1000"-"9999"; the length of local service code is unified into 5 bits, that is, "01000"-"09999 ".
The following numbers or segments are not currently assigned:
13xx (xx = 00-99), 20xx (xx = 01-99), 168x (x = 0-9), 186x (x = 0-9) 1258/1259, 172x (x = 0-9), 6xxx, and 7XXX.
You can query the distribution and usage of the above Code on www.monternet.com.
If the SP has carried out text message and other services, in principle, the MMS Service Code is allocated according to the original service code of the SP to ensure the user's usage habits.
Currently, the service code of the network-wide business is uniformly allocated by group companies.
2.3 Business Code
The Business Code indicates the business category and distinguishes the information service fees of different businesses. Business Code data needs to be configured in the mmsc and boss systems. The Business Code is represented by a number and cannot use 000.
To facilitate business statistics and analysis, the Business Code should be categorized as follows:
Internet broadcast class: starts with 1
WAP broadcast class: starts with 2
SMS broadcast class: starts with 3
STK live class: starts with 4
MMS class: starts with 0
The remaining content of the Business Code is determined by the SP on the premise that the principles are followed.
2.3.1 upstream business code specification
The upstream Service Code consists of three parts:
Business Code starting with 1st bits: 0, 7, and 9 is retained. Other codes are self-organized by the MMS sp.
2nd ~ 3-digit: Self-Organized by the MMS sp
Special case:If you send upstream MMS messages directly to the four service codes, the system adds the "0" Service Code by default. This service code is activated by default and is only used to send upstream MMS messages to the service code.