1. A modeling method of a semantic gateway comprising the steps of:inputting a plurality of protocol data from a plurality of devices that each communicate using a different respective protocol to the semantic gateway, the plurality of devices being heterogeneous devices capable of mutually exchanging and converting data in a given industrial application scenario and including a first device that communicates according to a first protocol with first protocol data and a second device that communicates according to a second protocol different from the first protocol with second protocol data;
performing, at the semantic gateway, a protocol analysis by finding a first rule of the first protocol corresponding to the first protocol data and a second rule of the second protocol corresponding to the second protocol data from a protocol library, and then performs an analysis on communication protocol layers of the first rule of the first protocol and the second rule of the second protocol to obtain first data information and second data information including a format, code, or signal level of the first protocol data and the second protocol data;
performing, at the semantic gateway, a syntax induction on first information data and the second information data according to the first rule and the second rule, respectively to obtain a first protocol ontology instance that corresponds only to the first protocol data according to the first protocol and a second protocol ontology instance that corresponds only to the second protocol data according to the second protocol;
performing, at the semantic gateway, a semantic query and matching operation for the plurality of protocol ontology instances in a dictionary library, which includes a set of information describing the type, format, structure, and usage of data collected in the library, using a plurality of attributes, methods, events and relations in each of the protocol ontology instances, respectively, to obtain a set of vocabularies having the same meaning and to obtain a plurality of model ontologies corresponding to the plurality of protocol ontology instances using the set of vocabularies, the plurality of model ontologies including a first model ontology corresponding to only the first protocol and a second model ontology corresponding to only the second protocol, wherein the attributes of the protocol includes control methods or encoding methods, the methods of the protocol include linking, sending data, and receiving data, the events of the protocol are triggered by a message, and the relation of the protocol indicates a level or dependency of the protocol with respect to other related protocols; and
merging, at the semantic gateway, the plurality of model ontologies to generate a generic model which includes a mapping between data communicated by the first device according to the first protocol and data communicated by the second device according to the second protocol which have the same semantics but different expression forms in one field in the general model, respectively.