1/39
Mini-TOS 개발
Implement of simple Terminal Operating System
IKE Lab.
부산대학교정보지식공학 연구실
2/39
Implement of simple Terminal Operating System
Mini-TOS 개발 - Implement of simple Terminal Operating System
개요
디자인
구현
예제
시연
목차
IKE Lab. Dept. of Logistics Information Technology Pusan National University
3/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
개요 Implement of simple Terminal Operating System
컨테이너 터미널의 구조
안벽 ( 선석 , Berth) 에이프런 (Apron)
CY(Container Yard) 게이트 (Gate)
신선대 컨테이너 터미널 조감도
4/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
개요 Implement of simple Terminal Operating System
컨테이너 터미널의 장비
야드 크레인 (RTGC)
야드 트럭 (Yard tractor) 안벽 크레인 (Container crane)
야드 샤시 (Yard chassis)
야드 크레인 (RMGC)
5/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
개요 Implement of simple Terminal Operating System
컨테이너 터미널의 운영 4 대 요소
컨테이너 터미널 육송과 해송의 접점으로 컨테이너를 선박에 싣고 내리거나 잠시 보관
컨테이너 터미널 구성요소 – 장비 , 장비 기사 , 단말기 , 선박 , 운영자 , 장치장 , 선석 ,
게이트 , CFS, 정비소 , 노동자 , etc…
터미널 외부환경 터미널 운영에 필요한 외부사건이 발생하는 곳
터미널 외부환경 구성요소 - 선사 , 포워딩 업체 , 운송사 , 화주 , EDI, etc…
터미널 운영시스템 (TOS) 배나 현장에 가지 않아도 DB 를 검색 하여 운영자에게 상황 정보 제공
운영 자동화 지원
의사 결정 지원
현장 작업자 에게 작업 송신
작업 지시결과 수신
운영자 선박 도착 전에 양 /적하 계획을 세움
양 /적하 계획에 따라 운영 상황 지시 및 통제
장비 기사와 교신 하여 예외 상황 해결
6/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
개요 Implement of simple Terminal Operating System
컨테이너 터미널 프로세스
Gate
In
Gate Out
Discharge
Load
자료출처 – 항만물류시스템 백인태 저
터미널 작업 시뮬레이션 보기
7/39
플래너가 양 /적하 계획 수립 , 오퍼레이터가 운영 상황 통제 , 야드 트럭이 컨테이너 운반 , 야드
크레인으로 장치 , 안벽크레인이 하역 하기 위한 정보시스템
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
터미널 업무 자동화 지원을 위한 간단한 터미널 운영시스템 구현
개요
Mini-TOSplanner
operator
yard crane driver
yard tractor driver
quay crane driver
8/39
DB 연동 TOS
환경 구축
• Planner 가 web 에 접속 하여 QC working schedule 수립
• 각종 장비의 운전기사들이 단말기로 web 을 통해 접속 하여 TOS 로 부터 작업 스케쥴을 할당 받음
• 운영자는 web 에 접속하여 터미널 상황 모니터링 및 YT 배차
Web 기반 환경
• 야드나 장비 모니터를 통해 터미널 상황 정보 제공
• 각 장비의 기사가 TOS 의 작업 지시 를 단말기로 수신
• 작업 지시 결과를 TOS 에 전송
단말기 ↔ Mini-
TOS
Interaction
• 일반적인 컨테이너 터미널의 장치 반영
• DB 를 통한 데이터의 입 , 출력 및 업데이트
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
주요 내용
개요
9/39
DBPlannerConsole
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
Mini-TOS 시스템 구조도
개요
Planner
계획 모듈
QCdata
terminal
QC DRIVER
YCdata
terminal
YC DRIVER
YTdata
terminal
YT DRIVER
운영 모듈
Operator
QC monitor
YCmonitor
YTconsol
Yardmonitor
Equipment console
통제 모듈
QC
Work
ing
sch
ed
ule
QCWorking schedule
YCJob list
YT Job
QCWorkin
g schedul
e
DB
10/39
수평 장치장을 대상으로 하며 게이트 반 /출입은 고려 하지 않음
플래너는 선박 도착전에 플래닝할 준비가 되어 있음
플래닝할 수 있는 사전 정보 및 관련 전자문서 들을 알고 있음
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
가정
개요
터미널 레이아웃 Vertical Layout
• 2QC, 2YC, 4YT
• 4Blocks
A2 B2
A1 B1
11/39
※ 작업할 선박에 대한 컨테이너 정보는 사전에 플래너가 입수※ Planned = 0 적하계획이 안됨 , Planned = 1 적하계획이 되어 있음
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
Data Flow Diagram for Planner
디자인
PlannerQC /
QC /
QC WorkingSchedule
QC/
(Planned = 1)
12/39
Data Flow Diagram for Operator
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System디자인
Operator
Containerinformation
QC WorkingSchedule
YT stateinformation
YC J ob list
Give YT job
Add YC’s discharge
job
YT ID, J ob type,EQ ID
Container ID,Location
State = move
Add YC’s load job
Container ID,Location
13/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
Data Flow Diagram for QC
디자인
QC WorkingSchedule
QC
J ob list
QC ID
YT YT
YT
(state = wait)YT ID
YT YT
(YT State = idle)
J ob type
YT YT
YT ID
YT ID
YT (J ob type = None, YT State = idle)
QC Working
Schedule
QC WorkingSchedule
Container Container ID
ContainerContainer ID
14/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
Data Flow Diagram for YT
디자인
YT
YT
YT ID
YT YT
(state = wait)YT ID
15/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
Data Flow Diagram for YC
디자인
YC
YC
J ob list
QC ID
YT YT
YT
(state = wait)YT ID
YT YT
(J ob type = None, YT State = idle)
J ob type
YT YT
YT ID
YT ID
YT (YT State = idle)
YC
YC
Container Container ID
ContainerContainer ID
16/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System디자인
Sequence Diagram for Discharge
Planner Operator QC YT YC
: Planner : DB
QC WS
QC WS
: Operator : QC : YT : YC
YT
YC
YC
YT
WS
YT
YT
YT
YT ( )
YC
YT
YT
YT ( )
17/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System디자인
Sequence Diagram for Load
Planner Operator QC YT YC
: Planner : DB
QC WS
QC WS
: Operator : QC : YT : YC
YT
YC
YC
YT
WS
YT
YT
YT
YT ( )
YC
YT
YT
YT ( )
18/39
※ CONTAINER Table 의 PLAN 은 적하계획이 세워지면 load 라고 표기※ YT Table 의 EID= qc1 STATE= wait 일 경우 QC1 에서 작업을 대기 , EID= qc1 STATE= move 일 경우 QC1 으로 오고 있는 중 , EID= qc1 STATE= idle 일 경우 QC1 이 작업을 마친 상태
※ JOB_LIST 의 JLOCATION 은 YC 나 QC 가 상 /하차 할 위치를 나타냄 , YC 나 QC 가 YT 의 하차를 완료하면 JOB_LIST 에서 하차된 잡이 사라지며 JLOCATION 의 값은 CONTAINER table 의 LOCATION 에 업데이트 된다 .
CONTAINER
EQUIPMENT
YT_STATE
QC_JOB_LIST
YC_JOB_LIST
WORKING_PLACE
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating SystemDB 디자인
Database Design
CON_ID LOCATION PLAN
YT_ID JTYPE CID EID STATE
EQ_ID ETYPE
NUMBER EQID JOBTYPE CONID JLOCATION
E_ID J_TYPE C_ID J_LOCATION NUM
WP_ID WTYPE
19/39
Command Window for Planner
QC ID : SubmitQC1
‘QC1’ Job List
Refresh
Container
con1con2con3con4con5
JobType
ddddl
Assign the Discharge Job to ‘QC1’, ‘ship1’
Container : con12
PlannedPosition
block1block1block1block1 ship1
※ Discharge 일 경우 플래너가 서류를 보고 양하 계획을 세움 DB 에 컨테이너 정보 저장 됨※ Load 일 경우 블록에 있는 컨테이너가 적하 후보가 되며 , 플래너는 야드 모니터를 보고 적하 계획함※ Plan 열 0= 기본값 1= 수출 2= 수입 3= 환적 4= 반출
Ship ID : ship1
Assign the Load Job to ‘QC1’, ‘ship1’AssignContainer : con25
Select the QC & ship
Current Position
ship1ship1ship1ship1block1
AssignBlock ID: block1
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
User Interface Design – Planner
UI 디자인
20/39
QC Operator’s Terminal
Login your QC
QC ID : Loginqc1
Working schedule
Refresh working schedule
CurrentPosition
Available YT ID
Yt1, yt2ship1
Container
con1Yt1, yt2ship1con2Yt1, yt2ship1con3
yt3yt3con5ship1con7ship1con8
JobType
dddlll
※ 작업할 YT 를 선택하면 DB 의 yt 상태가 IDLE 로 전환 되며 Operator 가 다음위치를 정해주어야 함
※ 링크가 걸린 yt1 은 현재 QC 앞에 대기하고 있다는 것을 나타내며 yt2 는 현재 QC 앞으로 오고 있는 것을 나타냄
※ 작업할 YT 를 선택하면 DB 의 container table 의 location 열의 값이 선택된 yt 로 변경 됨
PlannedPosition
block1block1block1ship1ship1ship1
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System
User Interface Design – QC Operator’s Terminal
UI 디자인
21/39
YC Operator’s Terminal
Login your YC
YC ID : Connectyc1
Job list
Available YT ID
yt1
Container
con1con2con3
yt4con4yt3con5
con6
JobType
ddddld
Refresh job list
※ 작업할 YT 를 선택하면 DB 의 YT 상태가 IDLE 로 전환 되며 Operator 가 다음위치를 정해주어야 함
※ 링크가 걸린 yt1 은 현재 YC 앞에 대기하고 있다는 것을 나타내며 yt4는 현재 YC 앞으로 오고 있는 것을 나타냄
※ 작업할 YT 를 선택하면 DB 의 container table 의 location 열의 값이 선택된 yt 로 변경 됨
CurrentPosition
ship1ship1ship1yt3
ship1ship1
PlannedPosition
block1block1block1ship1block1ship1
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating SystemUI 디자인
User Interface Design – YC Operator’s Terminal
22/39
YT Operator’s Terminal
Login your YT
YT ID : Loginyt1
‘yt1’ Conneted
Get your new job
Logout
EQ ID
qc1
JobType
d Arrival
※ Arrival 버튼을 클릭할 경우 YT 상태 (State) 가 wait 가 된다 . 이후 상 /하차가 완료되면 YT 상태는 idle 이 되며 Operator 의 이동지시를 받는다 .
State
move
Container
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating SystemUI 디자인
User Interface Design – YT Operator’s Terminal
23/39
Command Window of CT Equipment for Port Operator
QC Monitor YC Monitor Yard Truck Monitor
Yard Monitor
Container IDcon2
‘Block1’ State
con3con4con6
con16con17
Refresh
plan110000
Container IDcon22
‘Block2’ State
con23con24con26
con126con127
plan110000
Container IDcon42
‘Block3’ Stateplan
1Container ID
con52
‘Block4’ State
con53con54con56
con156con157
plan110000
con516con62
con137
000
con32con43con54con66
con176con217
110000
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating SystemUI 디자인
User Interface Design – Yard Monitor for Operator
24/39
Command Window of CT Equipment for Operator
QC Monitor Refresh
‘QC1’ working schedule
YC Console
Assign the Discharge Job to ‘YC1’
Assign
YC ID : Selectyc1
‘YC1’ Job List
Yard Truck Console
Available YT ID
Yt1, yt2
Container
con1Yt1, yt2con2Yt1, yt2con3
con5
JobType
dddl
YT State
Equipment
qc1
JobType
d
ContainerYT ID
yt1qc1d con2yt2yc1lyt3yc1d con4yt4
State
waitmovewait
move
Yard Monitor
‘QC2’ working schedule
※ YC Monitor 에서 YC 에 양하 작업을 할당할 경우 Location 은 장치할 위치를 의미하며 , 적하작업을 할당할 경우 꺼낼 위치를 의미한다 . ※ YT Monitor 에서 YT 에 작업을 할당할 경우 YT State = move 가 된다 .
Assign the Load Job to ‘YC1’
Container : con5
Assign
Container : con4
Assign the Discharge Job to YT
Assign
Equipment : qc1
Assign the Load Jobto YT
YT ID : yt1
Assign
Equipment : yc1
YT ID : yt1
Refresh Refresh
CurrentPosition
ship1ship1ship1yt3
PlannedPosition
block1block1block1ship1
Available YT ID
Yt1, yt2
Container
con11Yt1, yt2con12Yt1, yt2con13
con15con16
JobType
dddll
CurrentPosition
ship1ship1ship1block1block1
PlannedPosition
block1block1block1ship1ship1
Available YT ID
yt4
Container
con1con2con3con5con6
JobType
dddld
CurrentPosition
ship1ship1ship1yt3
ship1
PlannedPosition
block1block1block1ship1block1
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating SystemUI 디자인
User Interface Design – Operator
25/39
Program language : Python 2.5, MysqldbDBMS : MYSQLWeb server : IIS
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
개발 환경
OS : Windows XPInter(R) core(TM)2 Quad cpu Q6600 @ 2.4GHz 2GB RAM
26/39
IIS
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
Web server 구현
27/39
MySQL DB
IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
DB 구현
28/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
UI 구현 – Window for operator
29/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
UI 구현 – Window for Planner
30/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
UI 구현 – Terminal(RDT) for drivers
31/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System구현
Python Code
32/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System예제
QC - Discharge
33/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System예제
QC - Load
34/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System예제
YC - Discharge
35/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System예제
YC - Load
36/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System예제
YT - Discharge
37/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System예제
YT - Load
38/39IKE Lab. Dept. of Logistics Information Technology Pusan National University
Implement of simple Terminal Operating System시연
Mini-TOS 시연
Web address
• PLANER - http://164.125.62.127/cgi-bin/planner1.py
• OPERATOR - http://164.125.62.127/cgi-bin/main.html
• QC - http://164.125.62.127/cgi-bin/qc1.py
• YC - http://164.125.62.127/cgi-bin/yc1.py
• YT - http://164.125.62.127/cgi-bin/yt1.py
39/39
Thank You!!