ISSN:1000-8365 CN:61-1134/TG
Your Position :Home->Articles Online->2020 Vol.41 No.9

View Full-text
Source Code Protection Method Based on Industrial Soft PLC
Author of the article:DU Yinxue;DU Liqiang;GAO Lingbao;DU Haiping;ZHENG Dong′e
Author's Workplace:KOCEL Intelligent Casting Industry Innovation Center Co.,Ltd.,Yinchuan 750021,China
Key Words:keyword detection XML text source code:ST language soft PLC
Abstract:
In view of the status analysis of the risk of leakage,reverse engineering and tampering in source code download,as well as the common source code protection methods for these risks,a detection algorithm based on soft PLC source code downloaded to industrial control computer were studied.Converted the ST source code to XML text,extracted the attributes of each line of XML text markup,and then queried the occurrence times of the keyword in XML text according to the keyword.When the keyword appears more than the number of times set,would appear prompt,at the same time to terminate the soft PLC program download,on the basis of keyword detection also increased the file size detection algorithm;When the file was larger than the default value,it would also delete the contents of the file,ensuring the security of the source code.The results show that through the propose software PLC source code Detection,Coding-Detection library realize the corresponding functions,and solve the source code down to the software PLC program problem.