论文部分内容阅读
将依据CDT规约采集的多通道二进制数据解析为具体电力数值是电子自动化系统的关键技术。本文遵循软件工程的方法进行设计,为软件开发提供支持。设计内容以CDT规约为基础,从三个方面展开研究:首先,设计了数据存储表的逻辑结构及维护表之间完整性的外键;然后,通过流程图设计了数据解析流程并对各步骤进行了简要说明;最后,设计了基于CRC的数据校验流程以及校验码生成算法。本文设计具有思路清晰和编程简单的特点,能够提高开发的效率和通用性。
The resolution of multi-channel binary data collected under the CDT protocol into specific power values is a key technology in electronic automation systems. This article follows the method of software engineering design, support for software development. Design content based on the CDT protocol, from three aspects: First, the design of the logical structure of the data storage table and maintain the integrity of the table foreign key; and then, through the design of the flow chart data analysis process and the steps A brief description is given. Finally, a CRC-based data verification process and a check-code generation algorithm are designed. This design has clear thinking and programming features that can improve the efficiency and versatility of development.