The invention belongs to the field of network information safety, relates to a universal
adaptation method, in particular to a method for universal
adaptation for communication with safety device interfaces. A
configuration generation tool, a configuration loading unit, a
workflow engine unit, a node
assembly and a universal
adaptation system are involved in the method, wherein the
configuration generation tool is used for generating a
communication interface protocol structure configuration file and an interactive
workflow configuration file, the configuration loading unit is used for loading a corresponding configuration file, the
workflow engine unit is used for creating a workflow instance and starting the workflow instance according to workflow configuration information, the node
assembly is obtained after interactive actions are abstracted, and the universal adaptation
system is composed of a communication protocol
assembly providing a support for the communication capacity and is in communication with the safety device interfaces. The method for universal adaptation for communication with the safety device interfaces can rapidly adapt to a
communication interface protocol, when interfaces of different safety devices and assemblies are connected, nearly no coding development is needed, only configuration is needed, and the adaptation efficiency is effectively improved.