
[ Article ]
Journal of the KNST - Vol. 8, No. 4, pp.810-815
ISSN: 2635-4926
(Print)
Print publication date 31 Dec 2025
Received 19 Nov 2025
Revised 03 Dec 2025
Accepted 29 Dec 2025
RTOS PLC 로그 데이터 암호화 및 역재생 시스템 설계
Design of an Encryption-based Log Data Replay System for RTOS-based PLC
Correspondence to: *JooHun Kim Technology & Research Institute, KTE Co., Ltd. 95-12, Noksansaneop-daero, Gangseo-gu, Busan 46752, Republic of Korea Fax: +82-51-600-3552 E-mail: jhkim4@kte.co.kr
Ⓒ 2025 Korea Society for Naval Science & Technology
초록
본 논문에서는 RTOS 기반 PLC 로그 데이터를 안전하게 관리하고 재생하기 위한 암호화 기반 로그 처리 시스템을 설계, 구현하였다. 제안된 시스템은 FTP 서버에서 수집한 로그를 암호화해 데이터베이스에 저장하고, 복호화를 통해 HMI에서 실시간으로 재생한다. 또한 PyQt5 기반 GUI를 통해 태그 단위 모니터링을 구현, 운전 상태와 제어 동작을 직관적으로 분석할 수 있도록 하였다.
Abstract
In this paper, we designed and implemented an encryption-based log processing system for safely managing and reproducing RTOS-based PLC log data. The proposed system encrypts the logs collected from the FTP server, stores them in the database, and plays them in real-time on the HMI through decryption. In addition, through the PyQt5-based GUI, tag-wise monitoring was implemented, allowing intuitive analysis of driving conditions and control actions.
Keywords:
Programmable Logic Controller, Real-time Operating System, Log Data, Encryption, Data Replay키워드:
프로그래머블 로직 컨트롤러, 실시간 운영체제, 로그 데이터, 암호화, 역재생References
- The Cryptography Developers, “Fernet (symmetric encryption),” Cryptography.io, 2025. Available From: https://cryptography.io/en/latest/fernet/
- Riverbank Computing, “PyQt5 Reference Guide,” 2025. Available From: https://www.riverbankcomputing.com/static/Docs/PyQt5/
- Pyton Software Foundation, “collections-Container datatypes,” Python Documentation, 2025. Available From: https://docs.python.org/3/library/collections.html
-
J.-H. Kim, S.-J. Lee and S. M. Nam, “Hardware Design and Implementation of a Miniaturized Control System Using RTOS-based PLC,” Journal of the Korea Society for Naval Science and Technology, Vol. 7(Special Issue), pp. 463-468, 2024.
[https://doi.org/10.31818/JKNST.2024.12.7.4.463]
- The Pandas Development Team. “pandas Documentation,” pandas.pydata.org, 2025.
- Microsoft. “Clustered and Nonclustered Index Described,”Microsoft Learn, 2025.
- National Cyber Security Center, “Announcement of the Revision of the Encryption Module Implementation Guide (GVI Part 2),” 2025. Available From: https://www.ncsc.go.kr/main/cop/bbs/selectBoardArticle.do?bbsId=CryptoNotice_main&nttId=218030