75 lines
2.5 KiB
Markdown
75 lines
2.5 KiB
Markdown
FilterGW
|
|
[SERVER 8070] SC Connected.. IP : 138.252.11.113 PORT : 48208
|
|
[SERVER 8072] SC Disconnected.. IP : 138.252.11.81 PORT : 50335
|
|
|
|
TSS-FilterGW
|
|
[Client Connect : IP[138.252.11.111] / PORT [8070]
|
|
138.252.11.111:8070
|
|
|
|
|
|
filterGW 로그
|
|
[2022-04-10 03:50:56] : INFO : [SERVER 8070] SC Disconnected.. IP : 138.252.11.113 PORT : 49790
|
|
[2022-04-10 03:50:56] : INFO : [SERVER 8070] SC Connected.. IP : 138.252.11.113 PORT : 49838
|
|
[2022-04-10 03:51:00] : INFO : [SERVER 8072] SC Disconnected.. IP : 138.252.11.81 PORT : 64837
|
|
[2022-04-10 03:51:00] : INFO : [SERVER 8072] SC Connected.. IP : 138.252.11.81 PORT : 65146
|
|
|
|
|
|
|
|
|
|
|
|
1. restManager.getShipVO_SlotNO(msgs.substring(4,16).trim()) == null
|
|
[clientDataIn] 존재하지 않는 SLOT
|
|
2. *msgs.substring(3,4).equals("4")
|
|
[Send SOS]*
|
|
3. msgs.substring(3,4).equals("5") ,
|
|
1. thrManager.getOptions() = null
|
|
[Send Packet] Area is null
|
|
2. !targetAnalysis.AreaAnalysis(msgs, option.getArea())
|
|
[Send Packet] 위경도 입력범위 초과 :
|
|
3. restManager.getDistrictList() == null
|
|
[Send Packet] DistrictMap is null
|
|
4. !targetAnalysis.DistrictAnalysis(msgs, districtMap)
|
|
[Send Packet] 조업자제구역 :
|
|
5. restManager.getInOutList().get(slot.trim()) == null
|
|
[Send Packet] InOut is null
|
|
6. !targetAnalysis.InOutAnalysis(msgs, inout.getInout_part())
|
|
[Send Packet] 입항상태 :
|
|
|
|
-- getShipVO_SlotNO [FILTERING_GW_SELECT_SHIP]
|
|
SELECT SLOT_NO, MMSI, VPASS
|
|
FROM MV_ARS_SHIP [v_ars_ship]
|
|
WHERE SLOT_NO IS NOT NULL
|
|
|
|
|
|
-- restManager.getDistrictList()
|
|
SELECT zone_id, crdnt_seq, lo, la
|
|
FROM TB_DISTRICT_ZONE
|
|
ORDER BY zone_id, crdnt_seq
|
|
|
|
|
|
-- estManager.getInOutList()
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
- filterGW SendLog기준
|
|
- SendLog에 (D-MFHF -> FSO) 아닌것 제외
|
|
- AllLog에 [Send Packet] (.+) null$925 있는것 제외
|
|
- PaketLog_Filter에 존재하지 않는 SLOT 제외
|
|
|
|
```Txt
|
|
|
|
SendLog
|
|
[2022-04-10 16:41:00] : INFO : [Send Packet (D-MFHF -> FSO)] $925 020220410164059 MD016 1 28|78924290|22669620|0|0|1|0|0*68
|
|
[2022-04-10 16:41:00] : INFO : [Send Packet] 입항상태 : $925 020220410164059 MD016 1 28|78924290|22669620|0|0|1|0|0*68
|
|
[2022-04-07 13:52:07] : INFO : [Send Packet] 조업자제구역 : $925 33520220407135206 MD139 1 28|80079200|23620550|0|0|1|0|0*6C
|
|
|
|
AllLog
|
|
[2022-04-10 16:41:06] : INFO : [Send Packet] InOut is null$925 1020220410164105 MD016 1 28|80769190|23626520|0|0|1|0|0*7B
|
|
|
|
PaketLog_Filter
|
|
[2021-09-27 11:42:42] : INFO : [clientDataIn] 존재하지 않는 SLOT : $925 51020210927114242 MD135 1 28|78734150|22715990|0|0|0|1|0*67
|
|
|
|
``` |