웹 기반 원격 제어를 위한 내장형 시스템용 네트워크 모듈 및 웹 서버

A Network Module and a Web Server for Web-based Remote Control of Embedded Systems

  • 선동국 (중앙대학교 컴퓨터공학과) ;
  • 김성조 (중앙대학교 컴퓨터공학과) ;
  • 이재호 (한국전자통신연구원 임베디드S/W 기술센터) ;
  • 김선자 (한국전자통신연구원 임베디드S/W 기술센터)
  • 발행 : 2004.06.01

초록

정보가전의 원격 제어 및 모니터링을 위해서는 실시간 운영체제와 함께 TCP/IP 프로토콜 같은 네트워크 모듈이 요구된다. 하지만 수백 KByte의 코드 크기와 수십 KByte의 메모리를 요구하는 전통적인 TCP/IP는 8비트 또는 16비트 CPU를 사용하고 상대적으로 메모리 자원이 부족한 소형 정보가전에서 이용하기에는 너무 크고 비효율적이다. 따라서 소형 정보가전에 적합하도록 프로토콜 스택의 크기가 소형화된 마이크로 TCP/IP 프로토콜 스택의 개발이 요구되며, 인터넷을 통하여 이들을 원격으로 제어 및 모니터링하기 위해서는 내장형 웹 서버 및 내장형 CGI기술의 개발 또한 필요하다. 본 연구에서는 웹을 기반으로 정보가전을 원격에서 제어하기 위한 마이크로 TCP/IP프로토콜 및 웹 서버를 구현하였다. 이를 위해서 우선 소형 내장형 시스템과 인터넷의 연동 및 정보가전의 웹 기반 제어에 필요한 요구사항을 조사하였다. 그 다음 구현된 마이크로 TCP/IP 프로토콜 스택 및 소형 웹 서버의 성능 및 목적 코드 크기를 타깃 운영체제인 QPlus의 네트워크 모듈 및 RTIP와 비교하였다. TCP/IP의 목적코드 크기는 RTIP와 QPlus의 네트워크 모듈에 비해 각각 약 2/3와 약 1/4정도 크기로 줄일 수 있었다. 지연확인 응답을 사용하지 않은 경우에 약 2.9Mbps의 속도를 나타내어, 본 연구에서 구현한 모듈의 성능은 RTIP 및 QPlus의 네트워크 모듈과 비슷하였다.

Remote control and monitoring of information appliances require RTOS and TCP/IP network module to communicate each other. Traditional TCP/IP protocol stacks, however, require relatively large resources to be useful in small 8 or 16-bit systems both in terms of code size and memory usage. It motivates design and implementation of micro TCP/IP that is lightweight for embedded systems. Micro embedded web server is also required to control and monitor information appliances through the Web. In this paper, we design and implement micro TCP/IP and Web server for information appliances. For this goal, we investigate requirements for the interoperability of embedded systems with the Internet and the Web-based control of embedded systems. Next, we compare our micro TCP/IP protocol stack with that of RTIP and QPlus in terms of object code size and performance. The size of micro TCP/IP protocol stack can be reduced by 3/2 and 1/4, respectively, comparing with that of RTIP and QPlus. We also show that the performance of our micro TCP/IP is similar to that of RTIP and QPlus since it handles 2.9Mbps when delayed ACK is not adapted.

키워드

참고문헌

  1. '홈네트워킹 올가이드', 프로그램 세계 2001년 8월호, 신영미디어
  2. Express Logic Inc, 'NetX Technical Features,' Web page, URL http://www.expresslogic.com/nxtech.html
  3. Micro Digital Inc, 'TCP/IP' stack for smx,' Web page, URL : http://www.smxinfo.com/rtos/tcpip/smxnet.htm
  4. CMX Systems, 'CMX-MicorNet true TCP/IP Networking,' Web page, URL : http://www.cmx.com/micronet.htm
  5. Blunk Microsystems, 'Embedded TCP/IP Protocol Stack for Embedded Networking,' Web page, URL : http://www.blunkmicro.com/tcp.htm
  6. ETRI and DASAN Co, '확장 가능 조립형 실시간 OS QPlus(Q+)', Web page, URL : http://embenix.com/qplus/
  7. ETRI and DASAN Co, '확장 가능 조립형 실시간 OS QPlus(Q+)', Web page, URL : http://qplus.etri.re.kr
  8. 솔래시스템, 'ezTCP,' Web page, URL :http://www.eztcp.com
  9. 박성수, '무선 관리단,무선 네트워킹 기술동향', 전파지. 무선 관리단, 2003.3 URL: http://www.korea.or.kr/korea/radar/200303/sub10.html
  10. 박천교, '홈 네트워크 기술 및 시장동향', ITFIND주간기술동향, ETRI IT정보센터, 통권1086호, pp. 27-28
  11. EBSnet, 'TCP-IP Networking Software for Embedded Systems, Webpage http;//www.ebsnetinc.com/
  12. InterNiche Technologies Inc, 'NicheS tack Portable TCP/IP Protocol Stack,' Web page, http://www.iniche.com/products/tcpip.htm
  13. 'IPIC-A Match Head Sized Web-Server,' Web page, URL : http://www.-ccs.cs.umass.edu/~shri/iPic.html
  14. Adam Dunkels, 'Full TCP/IP in 8 Bits,' April 2002, Web page, URL : http://www.sics.se/~adam/publications.html
  15. Thomas Herbert. 'Embedding TCP/IP,' Web page. URL : http://www.embedded.com/internet/0001/000lial.htm
  16. Van Jacobson and Michael J. Karels, 'Congestion avoidance and control,' SIGCOMM'88, ACM Compo Comm. Rev. Vol. 18, No.4
  17. SIGCOMM'88, ACM Comp. Comm. Rev. v.18 no.4 Congestion avoidance and control Van Jacobson;Michael J. Karels