dump data variables - aiegoo/sensor GitHub Wiki
raw-data table definition
- 테이블 목록 / table list
olorasys_cultasset 데이터베이스 내 테이블의 목록입니다. (각 테이블별 필드명은 최대한 알아보시기 쉽게 구성되어 있습니다. 예를 들면 이름은 name, 종류는 type, ... 등...)
the following is the table list of olorsys_cultasset db
(Field name is easily readable and self-explanatory, for example, name , type etc.)
Location: 문화재 지점 정보 / the target building or structure sensor data is coming from
ㄴ LocationSub: 문화재 지점별 건물 정보 (여러 부속건물로 만들어져 있을 경우) / the sub or detailed subjects of the building or structure ( when there are annexes or complex of buildings)
Device: 센서노드 등록정보 / sensor node registration id
ㄴ DeviceData: 센서노드 데이터 / sensor node data
ㄴ DeviceDataDefault: 영점조절값 (기울기센서 설치 후 X,Y축 0으로 보정, 균열센서 설치 후 이격 mm 0으로 보정시의 값) / zero-calibration value (re-calibrate the settings to 0 by adjusting x,y axis value for tilt and crack discrepancy sensors
ㄴ DeviceDataRecent: 가장 최근 데이터 1식 보관 (실시간 데이터 디스플레이용) / most recent data set (for live monitoring sysem)
상기 6개 이외의 테이블들은 분석작업에는 불필요할 것 같습니다. (로그인 사용자 정보, 환경설정값, 초기 개발시 썼던 이벤트 테이블 등...)
DeviceData 테이블이 가장 비대하고 또 중요하다고 보입니다. 실제 센서 데이터를 담고 있습니다.
- DeviceData 테이블 / deviceData table
해당 테이블의 각 필드별 설명은 아래와 같습니다. / description of each fields for the table
[DeviceData 테이블 구조] deviceData Table schema
deviceIndex = Device 테이블에서 참조하는 센서노드 IDX / sensor node IDX which is referenced in the Device Table (Device, Location/LocationSub 테이블과 join 하여 데이터 뽑아내시면 어느 문화재의 무슨 센서인지 확인하기 수월합니다.)
registDate = 데이터 수집 시간 (수신시간과 수집시간은 다르나, 구형센서는 수집시간=수신시간입니다) / Data gathering period
type = 데이터 종류 / Data type ㄴ TEMPHUMI : 온/습도 (구형 및 신형 동일) ㄴ INCLINOMETER : 구형 기울기센서 ㄴ ANGLE : 신형 기울기센서 ㄴ CRACK : 구형 이격센서 ㄴ DISTANCE : 신형 이격센서 ㄴ VIBRATION : 구형 진동센서 ㄴ OSCILLATION : 신형 진동센서 ㄴ 기타 DOOROPEN, SMOKE, ... 등이 있으나 현재는 사용하지 않습니다. (연기, 침입감지 등) / others such as 'door open', smoke, etc.
data1 = 1번 데이터 필드 / data field for 1 ㄴ TEMPHUMI의 경우 : 온도 / in case of Temphumi, it's temperature ㄴ INCLINOMETER의 경우 : X축 기울기값 / for INCLI..., it's a X-axis incline value ㄴ ANGLE의 경우 : X축 수집주기내(5분 기본) 평균 기울기 / in case of Angle, mean incline value for the x-axis gathering period ㄴ CRACK의 경우 : 이격거리 (mm) / in case of crack, the discrepancy in mm ㄴ DISTANCE의 경우 : 수집주기내 (10분 기본) 평균 이격거리 (mm) / mean crack discrepancy for the gathering period (10 min default) ㄴ VIBRATION의 경우 : 수집주기내 (5분 기본) 최대 진동량 (mm/s^2) / in case of vibration, max vibration frequency (mm/s^2) for the data span period (default 5 minutes) ㄴ OSCILLATION의 경우 : 수집주기내 (5분 기본) 평균 진동량 (mm/s^2) / In Osci..., mean oscillation (mm/s^2) for 5 minutes
data2 = 2번 데이터 필드 / Data field for 2 ㄴ TEMPHUMI의 경우 : 습도 / in case of TemPHumi, it's humidity ㄴ INCLINOMETER의 경우 : Y축 기울기값 / Y-axis incline-meter (tilt) ㄴ ANGLE의 경우 : Y축 수집주기내(5분 기본) 평균 기울기 / mean angle ㄴ DISTANCE의 경우 : 수집주기내 (10분 기본) 최대 이격거리 (mm) / maximum crack distance ㄴ VIBRATION의 경우 : 수집주기내 (5분 기본) 평균 진동량 (mm/s^2) / mean vibration ㄴ OSCILLATION의 경우 : 수집주기내 (5분 기본) 최대 진동량 (mm/s^2) / maximum oscillation
data3 = 3번 데이터 필드 / data field for 3 ㄴ ANGLE의 경우 : X축 수집주기내(5분 기본) 최대 기울기 / maximum slant angle for x-axis for 5 minutes ㄴ DISTANCE의 경우 : 수집주기내 (10분 기본) 최소 이격거리 (mm) / minimum crack distance for 10 minutes ㄴ OSCILLATION의 경우 : 수집주기내 (5분 기본) 최소 진동량 (mm/s^2) / minimum oscillation for 5 minutes
data4 = 4번 데이터 필드 / data field for 4 ㄴ ANGLE의 경우 : Y축 수집주기내(5분 기본) 최대 기울기 / maximum tilt for y-axis for 5 minutes ㄴ DISTANCE의 경우 : 센서 온도 / sensor temperature
data5 = 5번 데이터 필드 ㄴ ANGLE의 경우 : X축 수집주기내(5분 기본) 최소 기울기 / minimum slant for x-axis for 5 minutes
data6 = 6번 데이터 필드 ㄴ ANGLE의 경우 : Y축 수집주기내(5분 기본) 최소 기울기 / minimum slant for y-axis for 5 minutes
data7 = 7번 데이터 필드 ㄴ ANGLE의 경우 : 센서 온도 / sensor temperature
data8 ~ data10 = reserved
savedDate = 데이터 수신시간 (신형 센서에만 해당) /// for latest sensors only