The invention provides an industrial protocol
conversion method and device, a terminal and a medium, and relates to the
industrial internet technology, and the method comprises the steps: respectively extracting a semantic entity and a physical operation entity from an upstream
application protocol message and a downstream
industrial equipment protocol message, and calculating the comprehensive similarity between the semantic entity and the physical operation entity; constructing an industrial protocol
knowledge graph based on the similarity so as to execute bidirectional conversion between the upstream protocol request and the downstream protocol message based on the
knowledge graph; acquiring
access time sequence data of each downstream
protocol entity in real time; and predicting the access demand of each downstream
protocol entity in a future time window based on the data, and dynamically adjusting
polling strategies and protocol conversion
resource allocation for different downstream protocol entities according to a prediction result. According to the method, the industrial protocol
knowledge graph is constructed, and the
polling frequencies and protocol conversion
resource allocation of different equipment registers are dynamically adjusted, so that instruction
semantics can be intelligently understood, the mapping relation is adaptively learned, and load balancing is realized.