We use cookies to improve your experience with our site.

SmartPipe:基于计算反射的工业应用互操作

SmartPipe: Towards Interoperability of Industrial Applications via Computational Reflection

  • 摘要: 随着以云计算、大数据、人工智能、物联网、5G为代表的新一代信息技术的迅猛发展,工业领域正在进入智能制造的新时代。工业应用的互操作是实现智能制造的关键要求之一,然而实现遗产工业应用的互操作具有以下挑战:1)通过异构通信协议传输的底层数据语义信息不足,2)在源代码缺失的情况下复杂的业务逻辑难以被理解,3)对应用的重新设计成本较高且存在潜在风险。为了解决这些问题,本文提出了一种基于计算反射实现工业应用互操作的方法SmartPipe。SmartPipe可以在没有源代码的情况下将工业应用的现有功能开放为API,同时允许应用本身保持不变。
    计算反射是计算系统提供对其自身的精确自描述的能力,它要求系统的状态与行为(基层实体)和系统自述(元层实体)之间具有双向因果关联,即基层实体被具化为元层实体且对元层实体的操纵会反映至基层实体。计算反射在实现时可以分为以系统的状态为基层实体的结构反射和以系统的行为为基层实体的行为反射,通常来说行为反射的实现相对于结构反射来说更为困难。在本文中,由于需要对工业应用的行为进行调整,因此本文提出的SmartPipe是基于行为反射进行实现的。
    简单来说,对应用程序实现行为反射就是构建应用程序的行为和一组可操作的数据之间的具有双向因果关联的映射。首先,本文提出了一个应用运行时行为模型作为工业应用的自描述,其中包含用于描述应用执行行为的执行变化模型和用于描述执行行为所需数据的数据变化模型。在此基础上,本文设计了一个计算反射框架以支持构造应用运行时行为模型(即具化过程),生成对应于应用特定功能的模型片段(即操纵过程)并将模型片段转换为封装了目标功能的API(即反映过程),从而使得开发者可以在不进行源代码级别应用重构的前提下调整工业应用的行为。最后,本文在一个真实的卷绕机(用于生产涤纶纺丝的设备)控制应用上验证了SmartPipe的有效性,结果表明SmartPipe相比传统方法而言更适用于工业场景。

     

    Abstract: With the advancement of new information technologies, a revolution is being taken place to bring the industry into a new era of intelligent manufacturing. One of the key requirements of intelligent manufacturing is the interoperability of industrial applications. However, it is challenging to realize the interoperability for legacy industrial applications due to 1) the deficient semantic information of data transmitted over heterogeneous communication protocols, 2) the difficulty to understand the complex process of business logic with no source code, and 3) the high cost and potential risk of reengineering the applications. To address the issues, in this paper, we propose an approach named SmartPipe to exposing existing functionalities of an industrial application as APIs without source code while simultaneously allowing the application to remain unchanged. We design a behavioral runtime model (BRM) as the self-representation of the industrial applications, based on which a computational reflection framework is designed to flexibly construct the model and generate APIs that encapsulate specific functionalities. We validate SmartPipe on a real industrial application that controls the spin-draw winding machine. Results show that our approach is effective and more suitable for industrial scenes compared with traditional approaches.

     

/

返回文章
返回