Getting started in WAP (1)

xiaoxiao2021-03-06  167

The new technology of the foreword international Internet has emerged. With the domestic China Mobile Communications and China Unicom launched WAP mobile Internet business, this emerging technology has gradually exposed the head in the domestic exhibition. 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 site developer, we should follow up in this wireless network of wireless networks, and the Internet era is a constantly eliminated era. Only when you have the latest technology, you can follow Internet flying a general 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, and the wireless network has more waiting delay 3, the wireless network has a poor stability 4, the CPU, memory, and the CPU, memory of the wireless access device. Display screen and so on, the WAP architecture has a different place in a normal web site. First, WAP technology is based on the current Web architecture, and extends to the wireless network environment, which makes the industry developed by the industry It can have wireless network independence, device platform independent, and mutual operation. 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 that WAP Gateway acts as a middleman's role in the process of wireless network data transmission, has her, now I have cast funds, equipment, manpower, etc. Was abandoned by the WAP website, 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, called "Web Application Server", but its overall architecture and the above picture are still the same, here no longer repeat. Next, let's take a look, in order to access our website on your phone, how to set the Web Server that exists.

I. Internet Information Server (IIS) setting method: Open [Start] -> [Procedural] -> [WINDOWSNT4.0 OPTION PACK] -> [Internet Service Administrator] -> [Internet Service Administrator] In the open window, select "Properties" in the open window, increase 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 I. Personal Web Server41. 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, establish other MIME types three, Linux (Apache) login in the system, in the command line, enter "ps -ef" command to see if the current WWW service is normal, then Use VI to edit the "/etc/httpd/conf/srm.conf" file, add the following types at AddType:

转载请注明原文地址:https://www.9cbs.com/read-128087.html

New Post(0)