Main Control Server : : 2020-02-24 1. Main Control Server Service Architecture 2. Main Control Server Data Architecture 3. Main Control Server Data Interfaces 4. Watchdog Service Architecture 5. Kakao Service Architecture 6. Program Configuration 1 Software Architectur e
1. Main Control Server Service Architecture CaptainService DataService MonitorProxy LPRService SecurityService EventService Basic Service Gateway Service IMcsCaptainService ▪ Interface ▪ Methods RequestGatewayRegistration RestartDataService RestartEventService RestartSecurityService StartFailover ▪ Events ServerConnected IMonitorProxy ▪ Interface ▪ Methods GetHealthData GetServiceStatus ▪ Interface IWachableService IsAlive GetVersion IMcsDataService ▪ Interface ▪ Interface IRemoteDataService IRemoteService IDataStore IDataTransachable IRemoteTransactionalDataStore ▪ MCS Data Architecture Monitor Proxy Captain Service Failover Data Service LPR Service LPR Security Service Event Service Main Control Server Service Base ISecurityService ▪ Interface ▪ Methods ConnectServer Login Logout GetSessions GetSessionID GetServer SubscribeToEvents GetMachineInformation ▪ Interface IRemoteService IsAlive GetVersion IMcsEventService ▪ Interface ▪ Methods SubcribeToEvents MainDBMirroringStatus SubDBMirroringStatus RequestLPRCommand RequestRemoteLogOff RequestClientAction SubscribeToEvents GetMachineInformation ▪ Interface IEventService ReportEvent LPRService ▪ Class ▪ Methods StartService KeepAliveMonitor RequestLPRCommand ▪ LPR Local Service RemoteLPRAdapter StartService StopService LPRLocalProcess SetCarService SetStauts ▪ Business Logic CarService CarScanProcess GetLightDisplayMessage CarServiceEvent
2. Main Control Server Data Architecture DataService Basic Service Data Service Main Control Server Service Base IPCSDataStore ▪ Class ▪ Interface IDataService IDataStore ITransactionalDataStore IDataChangeNotification IDataTransactable DataStore ▪ Class (IPCSDataStore) ▪ Methods BeginTransaction CommitTransaction RollbackTransaction DataStore DataService SqlDataService ▪ Class (IPCSDataStore) ▪ Methods BeginTransaction CommitTransaction RollbackTransaction DataStore IDbDataService ▪ Interface (IDataService) ▪ Methods SqlDdapter DatabaseName OpenConnection CloseConnection IDataTransactable Database Database Adapter Access ISqlTransManager MCS Local Data Cache Cache CRUD Transaction Entkty IPCS Entity Transaction Entity Insert, Update, Delete Transaction (Begin, Commit, Rollback) IDataService SQL Database Adapter IDataService DB SqlDataService Transaction
3. Main Control Server Data Interfaces IDataStore ▪ Interface ▪ Methods AddEntity<T> DeleteEntity<T> FindEntity<T> GetEntityList<T> UpdateEntity<T> IDataTransactable ▪ Interface ▪ Methods BeginTransaction CommitTransaction RollbackTransaction ITransactionalDataStore ▪ Interface ▪ Methods AddEntity<T> DeleteEntity<T> UpdateEntity<T> IDataChangeNotification ▪ Interface ▪ Methods GetChangeByEntity<T> ▪ Events DataChanged IDbDataService ▪ Interface : IDataService ▪ Methods CanAccessDatabase InitializeDataService IDataService ▪ Interface : IDataStore : ITransactionDataStore : IDataChangeNotification : IDataTransactable ▪ Events ConnectionLost ConnectionRestored MainDatabaseMirroringError SubDatabaseMirroringError IRemoteDataService ▪ Interface : IRemoteService : IDataStore : IDataTransactable : IRemoteTransactionDataStore ▪ Methods UpdateCustomField GetFilteredEntityList<T> SubcribeToChanges GetDBSchema IRemoteService ▪ Interface ▪ Methods IsAlive IRemoteTransactionalDataStore ▪ Interface ▪ Methods AddEntityTrans<T> DeleteEntityTrans<T> UpdateEntityTrans<T> Entity Insert, Update Delete IPCS Entity Transaction (Begin, Commit, Rollback) IDataService CRUD Entity MCS , entity Insert, Update, Delete
4. Watchdog Service Architecture Main Control Server Security Service Event Service Data Service Monitor Proxy Watchdog Gateway Watchdog Monitor Etc Server Security Service Event Service Data Service Monitor Proxy Watchdog Monitor Kakao Server Security Service Event Service Data Service Monitor Proxy Watchdog Monitor Client New Client
5. Kakao Service Architecture E-LPR Main Control Server Security Service Event Service Data Service Caption Service Watchdog Monitor Watchdog Gateway Client Kakao Server Caption Service Event Service Data Service Kakao Service Manager Kakao T Service Kakao T Process Kakao T Adapter Watchdog Monitor InOutProcess
6. Program Configuration Config View Client LPR View Client Kakao Server Service Base Watchdog Server Service Base Main Control Server Service Base Parking API Service Service Base System Resource - LPR 50M e-biz - : 1 - : 1 - CPU: 0~1% - MCS Memory: 52M - WDS Memory: 26M - LPRViewer Memory: 148M - : 2020 2 26 - : 3 - : 1 - CPU: 0~3% - MCS Memory: 122M - WDS Memory: 30M - LPRViewer Memory: 210M - : 2020 3 4
- - : LPR . - : LPR . ( , ) - , , - : - : . - : . - - - / - 2 ,5 .10 . 4 - / - / - - - / / - , ( ) - : LPR . - 2
- ( ) - (LagTime ) - ( ) - 1. LPR LOOPON/OFF - 2. LPR LOOP_STAT
FUNCTION LIST - 1 DB LPR EQPMDEF.iLotArea EQPMDEF.iEqpm ( ) LPR ( ) LPR ( . ) ( ) ( ) -> ( ParkingAreaStatus.iFullCnt - iStayCnt > 0) . 1. LPR LOOPON/OFF 2. LPR LOOP_STAT TCP/IP ARCS . AMANO_REMOTE . https://221.151.112.190:28443/svn/Parking/trunk/doc/ / .xlsx LPR LPR LPR - IP/PORT/CH - . ( , , , ) - GigaE / / - LPR EQPMDEF LPR - -
FUNCTION LIST - 2 LPR LPR - ( ) - ( LagTime ) - ( ) -> , FC_MASTER.InCarTimeTable , , - - LPR DB EQPMDEF or DB LPR ( LPR ) - ( ) - ( ) - ( ) - ( ) . ( or ) . ( ) ( ) - - , 10 , 2 , 5 , CUSTDEF DB - iTendatedFlg (0: 1: 2:2 3:5 4:10 ) - iTendatedRule (0: 1: 2: 3: 4: 5: ) , 10 , 2 , 5 , DB . , , , , , , , DB . BUSINESSCARDEF
FUNCTION LIST - 3 DB . acPlate varchar(20) acMemo varchar(100) DB . BUSINESSCARDEF . ( ) -> LPR / IP ( 1) 1 . ( , ) 1 . ( , ) ( 2) 1 . 2 . 10 ( 3) ( : 5 ) ( ) 1 1 2 2 ( : 5 ) : ( ) 1 : YY-MM-DD 2 : 10 : /
- - PC 17 - - Service Base - UI ( ) PC ( LPR Viewer)