Abstract
This paper describes design and implementation experience of SAS-G2S slotmachine accounting protocol middleware system that converts the legacy binary format SAS (Slot Accounting System) protocol with servers with recent standards G2S protocol. The paper examines the difference of two protocols such as link control, message format, and parameters. The converter architecture uses bridge and connector patterns and implemented in C++ and Python mixed language on Linux environment. The prototype system uses a 1GMHz-512MB linux machine and has passed Korean official protocol compatibility and performance test in 2015.
본 연구에서는 카지노 슬롯머신의 회계관리에 사용되고 있는 기존의 SAS 프로토콜을 사용하는 단말기들을 근래에 정의된 인터넷기반의 G2S 프로토콜 서버와 연동하기위한 SAS대G2S 변환 미들웨어시스템을 설계하였다. 두 프로토콜이 갖는 차이점, 폴링방식과 메시지방식, 바이너리 포맷과 XML 포맷, 매칭되지 않는 메시지 등의 문제들을 해결한다. 소프트웨어 구조는 브리지 패턴을 바탕으로 하고 프로토콜을 커넥터 패턴을 바탕으로 하고, 리눅스환경에서 C++와 Python 언어로 구현하였다. 1GMHz-512MB 정도의 사양의 임베디드 시스템의 시작품으로 제품화되어, 2015년 공인 정합성 및 안정성을 테스트를 시험을 통과하였다.