1. Why are there two access points?
In the world, there is usually only one GPRS access method. Why are there CMWAP and CMNET in China? (The reason why the access point is configured separately for MMS is that the MMS Service needs to connect to a dedicated server, which is not discussed here.
In fact, CMWAP and CMNET are only two GPRS access methods manually divided by mobile devices. The former was set up for mobile WAP Internet access, while the latter mainly used GPRS internet access services for PCs, laptops and PDAs. There is no difference in their implementation methods, but because of their different positioning, CMWAP has some restrictions and their charges are also different compared with CMNET.
1. Differences
CMNET and CMWAP are two different APN (Access Point name) of China Mobile GPRS network. The reason for this classification is to control. CMNET provides the NAT service. Mobile phones using this service can directly access the internet. CMWAP only provides WAP proxy and HTTP proxy. The mobile phone can only access IP addresses (10, *) in the GPRS network ,*,*,*). Therefore, CMWAP is mainly used for mobile WAP Internet access, while CMNET is used for PCs, laptops, PDAs, and other devices to achieve GPRS internet access. There is no difference between the two mobile Internet access methods. China Mobile's mobile Internet access targets are located differently, so their application scope is different from the self-paid standards.
2. What is WAP?
WAP is only a GPRS application mode, and it has nothing to do with the GRPS access mode. WAP applications adopt the "terminal + WAP Gateway + WAP Server" mode, which is different from the general "terminal + server" mode of Internet. The main purpose is to achieve WAP-WEB protocol conversion through WAP gateway to save network traffic and compatible with existing WEB applications.
From a technical perspective, the WAP Gateway is only a host that provides proxy services. It is not necessarily provided by network operators. But as far as I know, the mobile GPRS network currently only has one WAP Gateway: 10.0.0.172, which is provided by mobile and used for the WAP browsing (HTTP) service. Note that there is a difference between the WAP Gateway and the LAN gateway in the general sense. The standard WAP Gateway only implements the HTTP Proxy function and does not complete the functions of the LAN gateway such as routing and NAT. This determines the restrictions on the application.
3. Limitations of mobile on CMWAP
In order to distinguish between the two in applications, mobile imposes certain limitations on CMWAP, mainly because it can only access IP addresses in the GPRS network (10. *. *. *), but cannot access the Internet through routing. (Mobile networks in a few regions may not have this restriction .) We use CMWAP to browse Web pages on the Internet through the WAP Gateway Protocol or its HTTP proxy service.
Speaking of this, it naturally reminds me of the company's network. I believe many working friends have similar experiences. The company's network does not provide routes and NAT on the gateway, but only provides an HTTP proxy that can access the Internet. In this way, we cannot directly use non-HTTP application software such as QQ and MSN (Fortunately, they also provide HTTP proxy connection methods ). The same is true for CMWAP.
4. Applicability
Users with smart phones must be concerned about whether the application software on the mobile phone is applicable to their networks. Users who use the CMNET service can select Network Software for various mobile phones, while users who use CMWAP can consider which applications to choose by testing the mobile phone access network.
China Mobile's WAP Gateway only provides HTTP Proxy protocol (port 80 and port 8080) and WAP Gateway Protocol (Port 9201), so that mobile phones can work in WAP access mode, application network requests must be based on the HTTP protocol and support the HTTP Proxy protocol or WAP gateway protocol.
For example, the common mobile phone JAVAQQ software programs are socket and HTTP. Currently, the JAVAQQ that can be used for CMWAP on the internet is based on the HTTP protocol. For example, JAVAQQ 2004 explicitly marks "kjava qq http" in the program startup screen ", the SIS version of QQ and agilemessenger (S60 MSN client) is a common socket connection method, so it cannot be used for CMWAP.
The scope of application is the most important concern. CMNET has full Internet access, which is not mentioned here. Let's take a look at CMWAP. With the limitations mentioned above, the application scope of CMWAP depends on the support provided by WAP Gateway. Currently, mobile WAP Gateway only provides HTTP Proxy protocol (port 80 and port 8080) and WAP Gateway Protocol (Port 9201 ).
Therefore, only applications that meet the following conditions can work normally in the mobile CMWAP access mode:
1. The network request of the application is based on the HTTP protocol.
2. Applications Support HTTP Proxy protocol or WAP gateway protocol.
5. How can I identify whether an application's network request is based on the HTTP protocol?
This is really hard to answer. to fully implement this, we need to analyze the communication packets intercepted by the application. Here we provide a few simple methods for the majority of cainiao friends: in terms of performance, if its network request is in the form of a URL, it is usually based on the HTTP protocol, for example, a Web browser. If the port connecting to the server is port 80, it may be based on the HTTP protocol. If it is true that it cannot be accurately determined, you can directly look at the next condition. (The application meeting the second condition must be based on the HTTP protocol)
6. How can I differentiate an application that supports the HTTP Proxy protocol or the WAP gateway protocol?
First, check whether there are any proxy server options in its settings (usually the proxies not explicitly stated on S60 are specifically HTTP proxies). If yes, it indicates that it supports the HTTP Proxy protocol. If not, perform the following steps:
Remove the proxy Server setting item from the advanced settings of the GPRS Access Point: Server Address and Server Port. If the application can work normally, it is based on the WAP gateway protocol, such as Java programs and S60 built-in browsers. If the proxy server settings in the advanced settings of the GPRS access point cannot work normally, the application supports the HTTP Proxy Protocol (the proxy settings are read from the system ). If it still cannot work normally, this application generally does not support HTTP proxy or WAP Gateway.
7. Human Factors
Because CMWAP is an APN built by China Mobile, many WAP billing services can only be charged through CMWAP. Therefore, China Mobile will offer a certain discount on traffic fees for users using CMWAP, for example, mobile devices in many provinces and cities will launch an inaccessible gprs traffic package, for example, 10 RMB/5 MB gprs traffic (cmwap only ). However, CMNET does not support service billing. Therefore, there is naturally no special offer, so it is billed Based on Traffic strictly.