Recently, Internet becomes more and more popular, and it's a trend that embedded equipment will connect to Internet. Under this background, the technology that using Web browser to control or maintains equipment will be focal point. The time that using control panel with some button and LCD to control equipment will past! Also, we must have an embedded web server on equipment for using web browser to control the equipment. It's more meaning for mobile phone that has a mobile phone web server. The web server not only gives a function that remote control the mobile phone, but also sharing information and resource on the mobile phone.The paper discussion that use memory pool allocation as plan of web server memory allocation, and use ring queue as data structure of web server's buffer. Since web server could run at efficiency and stability base on rare resource platform such as mobile phone. In practice using, the web server just use very little memory.After test in practice, the plan of web server memory allocation could run perfect on mobile phone, and it's running efficiency is very higher than general memory allocation of operation system. It's proofed that the custom plan of memory allocation which for mobile phone web server is very efficiency and stability. |