Download Latest Version Monitoring_20131125.zip (4.6 MB)
Email in envelope

Get an email when there's a new version of GEMS IoT

Home / Gateway
Name Modified Size InfoDownloads / Week
Parent folder
Gateway_Doc 2013-11-21
readme_gateway.txt 2013-11-21 4.7 kB
Server2.1.zip 2013-10-30 65.0 kB
Node2.1.zip 2013-10-30 72.6 kB
GTWY_20100728_REV2.0.zip 2013-10-30 208.5 kB
GTWY_20131016_REV2.1.zip 2013-10-16 31.1 kB
Totals: 6 Items   381.8 kB 0
==========================================
Description
==========================================
1. 동작 환경
- 리눅스 환경에서 동작을 기본으로 한다.
- 윈도우 환경에서 사용할 경우 cygwin을 이용한 리눅스 에뮬레이터를 이용한다.

2. BOOT & Main Gateway 주요 기능
- 게이트웨이 프로그램은 크게 BOOT 프로그램과 Main Gateway 프로그램으로 나뉘어 져 있다. 
- BOOT 프로그램은 게이트웨이 시스템이 이상동작 없이 원활이 동작되도록 감시하는 역할을 수행함과 동시에 복구 역할을 담당한다.
- BOOT 프로그램은 Main Gateway 프로그램을 실행을 시켜주고 Main Gateway 프로그램을 감시하여 이상종료에 대하여 다시 주 게이트웨이 프로그램을 실행시켜 주는 프로그램이다. 
- Main Gateway 프로그램은 BOOT프로그램에 의하여 실행된다.
- Main Gateway 프로그램은 게이트웨이 핵심 프로그램으로 데이터 획득, 저장, 전송을 담당하는 프로그램이다. 
- Main Gateway 프로그램의 주요 역할로는 싱크노드로부터 센서네트워크 데이터를 받아서 메모리에 저장을 하고 주기적으로 메모리에 저장된 데이터를 원격지 서버에 전송하는 역할을 담당한다. 



1. Operation Environment
- It runs on Linux by default.
- When using it on Windows, you must use a Linux emulator using cygwin.

2. Main features of BOOT & Main Gateway
- The gateway programs are largely divided into BOOT program and Main Gateway program. 
- The BOOT program monitors the gateway system for its smooth operation without any problem and restores it when it has a trouble.    
- The BOOT program starts and monistors the Main Gateway program, and restarts the Main Gateway program when it stops abnormally.
- The Main Gateway program is started by the BOOT program. 
- The Main Gateway program is a core gateway program that acquires, stores, and sends data.  
- One important role of the Main Gateway program is to receive sensor network data from sink nodes and save them in the memory, as well as to periodically send the saved data to the remote server.  



==========================================
  각 폴더 및 파일 설명 등
==========================================
  1. g_boot.c : 게이트웨이 시스템이 이상동작 없이 원활이 동작되도록 감시하는 역할을 수행함과 동시에 복구 역할을 담당한다.
  2. g_main.c : 게이트웨이 코어 프로그램 시작을 담당한다.
  3. g_node.c : 게이트웨이 코어 프로그램과 싱크노드와 통신을 담당한다.
  4. g_srvr.c : 게이트웨이 코어 프로그램과 서버와 통신을 담당한다.
  5. g_srvr_cdsk.c : 서버와 통신을 위한 소켓통신 유틸리티 함수를 담고 있다.
  6. g_queue.c : 싱크노드와 서버와 통신을 이용해서 전달받은 데이터를 저장하는 큐함수를 담고 있다.
  7. g_timer : 게이트웨이 코어 프로그램이을 동작시키는 스케줄러 역할을 담당한다.
  8. g_ubuf.c : 게이트웨이 코어 프로그램이 싱크노드와 서버와 통신을 할때 데이터 버퍼 역할을 담당한다.
  9. g_util.c : 게이트웨이 코어 프로그램 수행에 필요한 각종 유틸 함수를 담고 있다.
  
  
  1. g_boot.c : This monitors the gateway system for its smooth operation without any problem and restores it when it has a trouble.
  2. g_main.c : This starts the gateway core program.
  3. g_node.c : This is in charge of communication between the gateway core program and the sink node.
  4. g_srvr.c : This is in charge of communication between the gateway core program and the server.
  5. g_srvr_cdsk.c : This contains the socket communication utility function for communication with the server.
  6. g_queue.c : This contains a queue function for saving the data received through communication with sink node and server. 
  7. g_timer : This plays the role of a scheduler for starting the gateway core program.
  8. g_ubuf.c : This plays the role of a data buffer when the gateway core program communicates with sink node and server.
  9. g_util.c : This contains various utility functions required for running the gateway core program.


==========================================
  각 폴더 및 파일 설명 등
==========================================

1. Server2.1.zip : 게이트웨이 독립으로 사용할 수 있도록 가상의 서버 역활을 수행
2. Node2.1.zip : 게이트웨이 독립으로 사용할 수 있도록 가상의 노드 역활을 수행
Source: readme_gateway.txt, updated 2013-11-21