1 / 22

An Efficient Embedded Web Server for Web-based Network Element Management

An Efficient Embedded Web Server for Web-based Network Element Management. Mi-Joung choi, Hong-Taek Ju, Hyun-Jun Cha, Sook-Hyang Kim and J.Won-Ki hong. Introduction. Web-based network element management

jalila
Download Presentation

An Efficient Embedded Web Server for Web-based Network Element Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An Efficient Embedded Web Server for Web-based Network Element Management Mi-Joung choi, Hong-Taek Ju, Hyun-Jun Cha, Sook-Hyang Kim and J.Won-Ki hong

  2. Introduction • Web-based network element management • It gives an administrator the ability to configure and monitor network device over the Internet using a Web browser. • The Most direct way to accomplish this is to embed a Web server into a network device and use that server to provide a Web-based management user interface constructed using HTML, graphics and other features of Web browsers

  3. Embedded Web Server (EWS) • A Web server can be embedded in a device • the resource requirement of the Web server are reduced, therefore, a portable set of code that can run on embedded system with limited computing resources. • Provide remote access to the device from a Web browser.

  4. Embedded Web Server (EWS) • Embedded system utilization • Convey the state information of embedded systems to a Web browser. • EWSs are also used to transfer user commands from a Web browser to an embedded system, and implement control commands through the embedded system application • EWSs are placed in network devices, such as routers, switches and hubs

  5. EWS-WebMUI • WebMUI • Web-based Management User Interface. • WebMUI is a direct result of embedding a Web server, Web documents and management applications into an embedded system. • The Web documents give a display form of management information, which is a collection of manageable data that is monitored or configured for managing an embedded system

  6. EWS-WebMUI • Part (a), (b) • (a) Static information, like menu, image…etc • (b) Dynamic information • Advantages • Ubiquity • User-friendliness • Low development cost • High maintainability

  7. EWS Requirements • The development of an EWS must take into account the relative scarcity of system resources • Since network devices need high reliability, at the very least it must protect against propagation of internal failure to the whole system • Security

  8. EWS Design Issues • Protocol Consideration: HTTP/1.1 • Explicit Cache control • caching is desirable for static Web document since static information (like logos, embedded graphics) do not change • Persistent TCP connection • It allows multiple requests to be pipelined on a single connection

  9. EWS Design Issues • Embedded API Consideration • Common Gateway Interface (CGI) • Each URL is mapped to a CGI script that generates the Web page • Server-Side Include (SSI) • Web pages are first developed and prototyped using conventional Web authoring tools and browsers

  10. EWS Architecture • The overall EWS consists of 5 parts • HTTP engine • API module • Virtual file system • Configuration module • Security module

  11. EWS Architecture • Application module • Support two API styles: CGI and SSI • Security • Security is accomplished by defining security realms on a server and username/password access to each realm • Configuration module • The administrator can set the EWS configuration from any standard web browser

  12. EWS Architecture • Virtual file system • Provide a limited set of read-only files built into the ROM

  13. EWS Architecture • Web Compiler • Support any format, such as Java, GIF, JPEG, HTML, text, etc. • It compiles these files into intermediate C-codes and then compile and link them with the Web Server codes • Optionally, the Web compiler can also compress Web documents. HTML is easily compressed as much as 50% with almost no run time memory required for decompression

  14. EWS Architecture • Web Compiler • The Web document is stored in compressed form, transmitted directly, and decompressed by the Web browser • HTTP/1.1 conveys compressed document information in the Accept_Encoding and Content_Encoding header fields • Web Compiler makes it possible to minimize the application memory footprint through intelligent compression

  15. EWS Architecture • HTTP engine • Serve client’s requests • Unlike general Web servers that start a new thread or process whenever a new connection is made, an HTTP engine normally supports multiple simultaneous users while running as a single process

  16. EWS Process Structure • Finite state machine • EWS is designed as a finite state machine, which processes an HTTP request as a sequence of discrete steps • In order to support multiple connections in a single thread environment, multiple FSMs are run by a scheduling system

  17. EWS Process Structure • Scheduling system • A pointer to the function being run • A variable holding the state in the FSM • A flag indicating whether the FSM can be run or blocked • It allocates an available FSM for an accepted connection, checks each FSM to see if it’s blocked or runable and moves the FSM one step if it’s runable

  18. EWS Process Structure • Scheduling system • With multiple finite state machines in a single thread, several connections can be activated at once, where each state machine, representing a specific connection, is scheduled to process in a round robin manner.

  19. Conclusion • Web servers are already being built into many network devices today • Expect this trend to grown even further to home appliances, medical instruments, industrial equipment.

More Related