Foreword
The new technology of the Internet is endless. With the domestic China Mobile Communications and China Unicom launched WAP mobile Internet business, this emerging technology has gradually exposed the foot in China. In fact, in 1997, WAP Forum was initiated by Ericsson, Nokia, Motorola, Phone.com and other companies, and many companies in the industry have joined and submitted the first edition of WAP standard in April 1998. WAP's full name is "Wireless Application Protocol", with the aim of delivering and displaying data on mobile phones and other wireless devices, as well as various telecommunications services. According to the investigation of the Global Mobile Magazine, there is currently at least 200 million wireless users, and Nokia has pointed out that the number of users will exceed 1 billion in 2005. In the face of such a large number of use groups, many large companies have rushing WAP, and the domestic leading website such as Sina, Netease, Sohu, etc. have launched WAP technology-based websites. I believe that with the WTO's approach, China's Internet development will be faster and faster, and the domestic WAP website will be more and more to adapt to the development of fast WAP business. As a Web website developer, we should follow up in this global wireless network revolution. The Internet era is a constantly eliminated era, only to master the latest technologies, you can fly on the Internet. Footsteps. Chapter 1 WAP Technology Architecture Wi-Fi and our currently familiar wired networks are very different: First, the market form is different. The wireless Internet device is designed from the beginning, even if it is not used. Users can also quickly use the mobile phone to quickly find the information you want on the Internet. 2. On the market size, the user's growth rate of the wireless network is amazing. There are more than 500 million mobile users around the world before 2001, which is expected to exceed 1 billion major off in 2004, so the growth rate is Full confidence in the prospects of WAP. 3, there is a wide user's wireless network, which is expected to be very high, users hope that WAP can be perfect like voice technology, and to be more fast, easy to use, and more. 4, WAP phones are not designed for surfing on the Internet, the purpose is to enable users to easily quickly and easily access to the Internet. Second, the environment of the network is different, the bandwidth of the wireless network is small
2,
Wireless networks have more waiting delay 3, and the stability of wireless networks is worse. 4, the CPU, memory, and display screens of wireless access devices are limited to the above, and WAP architecture is different from ordinary For a web site, first, WAP technology is based on the current Web architecture and extends to the wireless network environment, which enables the industry to have wireless network independence, device platform independence, and interoperability. WAP can be used along the current Web architecture, so that the funds, equipment, manpower, etc. of the Web are currently put on, and can continue to be retained and along. WAP different pointed out that she is more than a thing called WAP GATEWAY, what role is GATEWAY? In terms of Internet equipment, Gateway is similar to Proxy. When the client wants to get the leaves of a website, it is made by the Proxy agent, and then handed over to the client. In addition to the WML files of the required websites in addition to the agent mobile phone, WAP Gateway has to act as the role of the HTTP protocol and WAP protocol, which makes the mobile phone to obtain information. WAP Gateway has been set up by the Telecommunication Bureau or ISP, while a general website, as long as it adds related MIME format settings in Web Server, you can directly let the user's mobile phone access.
Architecture is described below: Wireless Equipment (Mobile Phone, PDA) <----> (WAP Agreement) <----> WAP Gateway <---> (HTTP Agreement) <----> Web Server <- -> Database server can be seen, WAP Gateway acts as a middleman's role in the process of wireless network data transmission, with her, now I have already cast funds, equipment, manpower, etc., etc., it is not WAP. The website is discarded, the opposite is to better utilize almost all resources. In addition, as Nokia and other companies, integrate the WAP gateway and the web server together, known as "Web Application Server", but its overall architecture is still the same, and it is no longer repeated here. Next, let's take a look, in order to access our website on your phone, how to set the Web Server that exists. INTERNET Information Server (IIS)
Setting: Open [Start] -> [Procedural] -> [Microsoft Internet Information Server] -> [Internet Service Administrator] Select Server in the open window, Right click on "Properties", add the following MIME format: File type MIME · WML text / vnd.wap.wml · WMLC Application / VND.Wap.Wmlc · WMLS text / vnd.wap.wmlscript · WMLSC Application / VND.WAP. WMLScriptc · WBMP image / vnd.wap.wbmp
Second, Personal Web Server4
1. Open the Registry Editor, build a primary key ".wml" below HKEY_CLASSES_ROOT; 2. Under HKEY_CLASSES_ROOT / .WML Next, a string is newly established, named "content type", value "text / vnd.wap.wml"; 3. In HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / MIME / DATABASE / CONTENT TYPE, "TEXT / VND.WAP.WML" 4. In the "text / vnd.wap.wml" primary key, next, the name "extension", the value is ".wml"; 5. Repeat the above 2, 3, 4 steps in turn, establish other MIME types, Linux (Apache)
Log in to the system as an administrator, in the command line, enter "ps -ef" command to see if the current WWW service is normal, then use VI to edit "/etc/httpd/conf/srm.conf" file, at Addtype Addition of the following type: AddType text / vnd.wap.wml .wmlAddType application / vnd.wap.wmlc .wmlcAddType text / vnd.wap.wmls .wmlscriptAddType application / vnd.wap.wmlsc .wmlscriptcAddType image / vnd.wap.wbmp .wbmp After saving, restart HTTPD. After this, our web server can make mobile phone access, of course, for ordinary HTML files, mobile phones are unrecognizable, mobile phone wants to read the file type From above, we can also guess, right WML file. Before starting to design WML, we will be familiar with our WAP website development environment.