DOI QR코드

DOI QR Code

Design and Implementation of Slotmachine Accounting Protocols (SAS-G2S) Converter

슬롯머신 회계 프로토콜 (SAS-G2S) 컨버터의 설계 및 구현

  • Received : 2015.10.29
  • Accepted : 2015.12.02
  • Published : 2015.12.31

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년 공인 정합성 및 안정성을 테스트를 시험을 통과하였다.

Keywords

References

  1. Gaming Standards Association, "Slot Accounting System Protocol-Version 6.02", Nov. 2005.
  2. Gaming Standards Association, "G2S Message Protocol v2.0.3-Game to System", 2009.
  3. Python Standard Library, "threading Higher-level threading interface", 2015
  4. Python Standard Library, "ctypes; A foreign function library for Python" 2015
  5. Jake VanderPlas, "Why Python is Slow: Looking Under the Hood", 2015
  6. RadBlue Inc., "G2S : Why a standard protocol really better", 2015
  7. K.-H. Park, S.-J. Yoo, Y. Sohn, W. Lee, S.-Y. Heo, "An home-delivery service management system using OMA DM agent," Journal of the Korea Industrial Information System Society, Vol. 13, No. 2, pp. 8-17, 2008.
  8. K. Jung, J. S. Lee, Y.-W. Kim, "Design and Implementation of tiny UDP/IPv6 Protocols for Sensor Networks", Journal of the Korea Industrial Information System Society, Vol. 13, No. 4, pp. 73-82, 2008.
  9. I.-G. Oh, J.-I Lee, "A Study for Vulnerability of Security of the UPnP Home-Networking", Journal of the Korea Industrial Information System Society, Vol. 12, No. 2, pp. 30-36, 2007.
  10. S.-M. Kim, H. Ahn, "Open source-based G2S (game to system) engine design and implementation", Contemporary Engineering Sciences, Vol. 7, 2014, no. 22, 1171-1179. https://doi.org/10.12988/ces.2014.49146
  11. Gamma, Erich, et al. Design patterns: elements of reusable object-oriented software. Pearson Education, 1994.
  12. Monterang Inc. "Desgin and Implementation of Casino accounting protocol converting system," Final Report, Small and Medium Business Adminstration, 2015.
  13. S.-M. Kim, "Design of International Standard Protocol(SAS to G2S) Converter for Slot Machine," Master Thesis, Seoul National University of Science and Technology, Aug. 2015.