一种自适应网关设备及服务器的硬件驱动方法
2021-07-15牛津文
牛津文



摘 要:近年来,国产化芯片技术日趋成熟,应用领域不断扩大,尤其是变电站自动化领域,越来越多的全国产化自动化设备投入使用。但与之前采用进口成熟芯片的硬件平台驱动及接口不同,国产化硬件平台在硬件架构、硬件驱动、接口实现方面存在较大差异,因此移植现有软件平台至国产化硬件平台以及开发国产硬件平台的驱动适配接口将是关键点及难点。本文提供一种自适应网关机及服务器的硬件驱动方法,有效解决电力监控系统自动化设备无法自动匹配不同硬件平台驱动的问题。
关键词:B+树;驱动建模;动态匹配;接口固化
中图分类号:TP316 文献标识码:A 文章编号:1003-5168(2021)06-0029-04
A Hardware Drive Method of Adaptive Gateway Device and Server
NIU Jinwen
(Xuji Group Co., Ltd.,Xuchang Henan 461000)
Abstract: In recent years, localized chip technology has become increasingly mature, and the application field has been expanding, especially in the field of substation automation, more and more national production automation equipment has been put into use. However, unlike the previous hardware platform drivers and interfaces that used imported mature chips, the localized hardware platform has big differences in hardware architecture, hardware drivers, and interface implementation, therefore, transplanting the existing software platform to the domestic hardware platform and developing the driver adaptation interface of the domestic hardware platform will be the key and difficult points. This paper provided an adaptive gateway machine and server hardware drive method, which effectively solved the problem that the automation equipment of the power monitoring system could not automatically match the drive of different hardware platforms.
Keywords: B + tree;driver modeling;dynamic matching;interface solidification
网关机[1]及服务器等变电站自动化系统及设备是确保电网安全稳定运行的关键设备,目前,变电站监控系统[2]的核心芯片大量依靠进口,操作系统仍大量采用国外系统,存在巨大安全隐患。2019年以来,国产化系统及设备逐步得到推广,有助于解决变电站电力监控系统的安全隐患。另外,在国产芯片及器件普遍使用的情形下,其与之前采用的成熟进口芯片的驱动及接口必然存在较大差异,因此移植现有软件平台至国产化硬件平台,开发国产硬件平台的驱动适配接口将是关键点及难点。
本文提出一种自适应网关机及服务器[3]的硬件驱动方法,该方法包括建立通用驱动接口动态库,包含所有硬件的驱动接口程序;对所有硬件的驱动接口进行模型创建;对加载的硬件驱动接口模型与硬件的驱动接口程序进行动态匹配;成功匹配后,对动态匹配成功的接口程序进行固化,实现硬件驱动接口固化[4]。……
