Research and design on general communication protocol analysis system for power information collecting

There are many communication protocols in domestic power information collecting system,so compiling parsing codes for each protocol individually is not only a huge workload and easy to make mistakes,but also has a poor reusability and difficult to maintain.Recognizing this,a system is put forward in which the general communication protocol parsing engine is constructed by defining data-format with script and decoupling the parsing and define module at the same time.It can not only simplify the development,but also significantly enhance the maintainability and meet the requirement of parsing speed.The power information collecting systems based on this design are running in Guangdong,Hunan,Shanxi,Hainan province,etc.