System and Method for Exchanging Data Between a Server and a Client in an Industrial Data Network
20220345354 · 2022-10-27
Inventors
Cpc classification
H04L67/565
ELECTRICITY
H04L12/66
ELECTRICITY
H04L67/12
ELECTRICITY
International classification
H04L12/66
ELECTRICITY
Abstract
A system and a method for exchanging data between a server and a client in an industrial data network, wherein the server employs a first information model for information interchange and the client employs a second information model for information interchange, where the method includes converting the first and the second information models in a first and a second machine-interpretable description, deducing similarities between elements of the first and the second machine-interpretable description, proposing and implementing a mapping of at least one element of the first information model to an element of the second information model based on the deduced similarities in text and in structure and, employing, by a gateway entity, the mapping for a data exchange between the server and the client such that the semantic mapping of virtually any input, vendor-specific metadata, and any output model (including OPC UA-based models) is achieved.
Claims
1. A method for exchanging data between a server and a client in an industrial data network, the server employing a first information model for information interchange, and the client employing a second information model for information interchange, the method comprising: converting the first and the second information models in a first and a second machine-interpretable description; deducing similarities between elements of the first and the second machine-interpretable description; proposing and implementing a mapping of at least one element of the first information model to an element of the second information model based on the deduced similarities in text and in structure; and employing, by a gateway entity, the mapping for a data exchange between the server and the client.
2. The method according to claim 1, wherein the server comprises an industrial controller, and the first information model comprises a tag-based information model described by first meta-data which is utilized as the first machine-interpretable description.
3. The method according to claim 1, wherein the client comprises an application employing a standardized Open Platform Communications Unified Architecture (OPC UA) information model as the second information model.
4. The method according to claim 4, wherein the OPC UA information model is converted into a Resource Description Framework/Web Ontology Language (RDF/OWL) representation, the RDF/OWL representation comprising the second machine-interpretable representation.
5. The method according to claim 3, further comprising: building, during said deducing similarities, a number of full-text similarity indices over the machine-interpretable description, each similarity index covering a specific type of a standardized information model; and choosing an index of the indices for said deduction.
6. The method according to claim 4, further comprising: building, during said deducing similarities, a number of full-text similarity indices over the machine-interpretable description, each similarity index covering a specific type of a standardized information model; and choosing an index of the indices for said deduction.
7. The method according to claim 1, further comprising: storing, after said proposing and implementing, mapping information in a data structure (KP) comprising a Knowledge Pack, and deploying said data structure to the gateway entity.
8. A system for exchanging data between a server and a client in an industrial data network, the server employing a first information model for information interchange, and the client employing a second information model for information interchange, the system comprising: a converter for converting the first and the second information models in a first and a second machine-interpretable description; a deducer for deducing similarities between elements of the first and the second machine-interpretable description; a suggester for proposing and implementing, based on the deduced similarities in text and in structure, a mapping of at least one element of the first information model to an element of the second information model; and a gateway entity employing the mapping for a data exchange between the server and the client.
9. The system according to claim 8, wherein the server comprises an industrial controller, the first information model comprises a tag-based information model described by first meta-data which is utilized as the first machine-interpretable description.
10. The system according to claim 8, wherein the client comprises an application employing a standardized Open Platform Communications Unified Architecture (OPC UA) information model as the second information model.
11. The system according to claim 9, wherein the client comprises an application employing a standardized Open Platform Communications Unified Architecture (OPC UA) information model as the second information model.
12. The system according to claim 10, wherein the converter is configured to convert the OPC UA information model into a Resource Description Framework/Web Ontology Language (RDF/OWL) representation, the RDF/OWL representation being the second machine-interpretable representation.
13. The system according to claim 10, wherein the deducer is configured to build a number of full-text similarity indices over the machine-interpretable description, each similarity index covering a specific type of a standardized information model, and configured to choose an index of the indices for the deduction of the similarities.
14. The system according to claim 12, wherein the deducer is configured to build a number of full-text similarity indices over the machine-interpretable description, each similarity index covering a specific type of a standardized information model, and configured to choose an index of the indices for the deduction of the similarities.
15. The system according to claim 8, wherein the system is configured to store the mapping information in a data structure (KP) comprising a Knowledge Pack, and configured to deploy said data structure to the gateway entity.
16. The system according to claim 9, wherein the system is configured to store the mapping information in a data structure (KP) comprising a Knowledge Pack, and configured to deploy said data structure to the gateway entity.
17. The system according to claim 10, wherein the system is configured to store the mapping information in a data structure comprising a Knowledge Pack, and configured to deploy said data structure to the gateway entity.
18. The system according to claim 12, wherein the system is configured to store the mapping information in a data structure comprising a Knowledge Pack, and configured to deploy said data structure to the gateway entity.
19. The system according to claim 13, wherein the system is configured to store the mapping information in a data structure comprising a Knowledge Pack, and configured to deploy said data structure to the gateway entity.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] An example of the invention will be explained via the drawings, in which:
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
[0042] In the process of mapping the metadata of existing automation systems and devices into a standardized information models there are three distinguishable phases: Definition, Mapping, and Instantiation (see the right-hand side of
[0043] In the Definition phase, OPC UA information models including Companions are chosen that should be used to describe an existing automation system or device. For example, in order to create an OPC UA machine interface for injection molding machine, then the following standardized models may be chosen as target models: [0044] Device Information Model (OPC UA DI)—Companion [0045] Specification featuring an Information Model for Devices; EUROMAP 77 Companion Specification, which describes the interface for data exchange between injection molding machines (IMM) and manufacturing execution systems (MES); [0046] EUROMAP 83 Companion Specification, which is a standardized model for general information regarding plastics and rubber machines.
[0047] In the Instantiation phase, an OPC UA machine interface for a device (or machine) is created by instantiating standard models for the machine.
[0048] The Definition and Instantiation phases belong to a common practice when OPC UA information models are used. These phases are completed with existing OPC UA information modelling tools such as, SiOME. Thus, they are not subject of this work.
[0049] In the Mapping phase, metadata (simple tags or engineering object models) must be mapped, from an existing automation system or device, into instantiated (target) models. The Mapping phase is nowadays accomplished manually. It requires a lot of know-how, is time-consuming and error prone.
[0050] Applicants' instant invention solves the problem of mapping by utilizing a Semantic Mapping approach. Semantic mapping automatically maps data from origin models to target models via deduction of textual and structure-based similarities and the sophisticated combination of the results.
[0051] In the following, the approach is motivated and explained in more detail with examples. It should be noted that during the mapping phase, new instances may be created. Thus, the border between the Instantiation and Mapping phases is not strict. It should also be noted that the information flow between Definition, Instantiation, and Mapping exist, but this information is not marked with arrows (they represent phases rather than the processing components).
[0052] The left-hand side of
[0053] With the metadata coming from an existing system (e.g., this data can be exported from an engineering platform) being examined in closer detail, an example of such platform is Siemens TIA Portal. Shown in
[0054] One excerpt of an AutomationML file for our example is shown in
[0055]
[0056] The two examples of existing metadata (see
[0057] With the case of standardized OPC UA information models 1022 (see the right-hand side of
[0058]
[0059] Manufacturing Execution Systems (MES) are used to collect the information generated by IMM. MES provides a central point for both easier quality assurance and the management of jobs and datasets. The goal of EUROMAP 77 is to enable a unique interface for IMM and MES, thereby ensuring the interoperability among different vendors.
[0060] The model shown in
[0061] In the present example, focus is placed only on the InjectionUnit part of the model (marked with the dashed circumfencing line in
[0062] The goal is to generate an interface based on OPC UA information models including Companion Specifications (e.g., EUROMAP), and to link it to the variables and methods of an existing vendor-specific model (examples are provided in
[0063] In order to obtain the goal, an approach for Semantic Mapping is implemented (see
[0064] The method for Semantic Mapping, based on the combination of full-text similarity search with structure-based search, is accomplished in three steps: [0065] Convert OPC UA information models to RDF/OWL (to make them accessible for semantic search). [0066] Deduce similarities (build similarity indexes). [0067] Suggest and implement Semantic Mapping.
[0068] Initially, OPC UA Information must be made machine-interpretable. In order to enable search over semantic structures of information models, we convert OPC UA information models in a machine-interpretable version of them. For this purpose, we use W3C standards RDF and OWL. In Appendix A.2 an excerpt of InjectionUnitsType definition from OPC UA EUROPMAP77 Companion specification is shown. InjectionUnitsType, its Instance Declaration (InjectionUnit_<Nr>), and variables (BarrelId, ScrewDiameter etc.) are shown in the right-hand side of
[0069] Second, Similarity Indexes must be built. For the purpose of enabling full-text similarity search, a similarity index for information models must be built. An index for unstructured text is not requires to be built, however. Instead, we do this for structured information. By converting OPC UA information models in a machine-interpretable form, a knowledge graph is created. In this graph, standardized concepts are connected with semantic relations. By building a full-text similarity index over such a knowledge graph, the matching of semantically close concepts becomes enables. The results obtained from full-text similarity search cannot be obtained neither via structured nor via full-text search queries, separately. The combination of both brings the benefit.
[0070] In Natural Language Processing (NLP) and text mining there exists several methods to build similarity indexes, e.g., statistic semantics methods like Random Projection, Random Indexing, Singular Value Decomposition, and others.
[0071] A specific implementation of this approach could, e.g., use GraphDB. GraphDB utilizes the Semantic Vectors for building similarity indexes. The RDF graph is enriched with semantic similarity indices, based on a highly scalable vector space model. Various indices are defined, which cover specific types of standardized models. For example, in a single knowledge graph, there could be one index covering OPC UA Object Types defined in a Companion specification, another one could cover OPC UA Objects, followed yet another for Variable Tapes, Variables, Properties, and so on. It is possible to also build indexes depending on the input from existing, vendor-specific models. For example, with the input focused on InjectionUnitsType of the whole IMM_MES_Inference (see
[0072] In accordance with the invention, it is also possible to also re-structure the knowledge graph into a new knowledge graph that is more suitable for Semantic Mapping of an existing input data model. The re-structuring of one model into another one can be also performed with structure-based queries (SPARQL queries). Information represented in RDF/OWL supports SPARQL querying. Consequently, this is yet an additional benefit of converting OPC UA information models in RDF/OWL.
[0073]
[0074] Third, Semantic Mapping is implemented. Semantic Mapping combines full-text similarity search with structure-based search. With reference to the example from
[0075] It is common that by mapping existing vendor-specific metadata, a tag or a tree (e.g., a data point with its data type) is mapped to a graph (an OPC UA-based model). The mapping is easier when starting it from the leaves of a tree, see
[0076] There can be a need to find out whether there exists an unknown node that has two leaf nodes as shown in
[0077] Results from the query from
[0078] In general, leaf nodes can be connected over n other nodes to a parent node. For example, BarrelID and Index are connected over the InjectionUnit node to the IMM_MES_Interface node, see
[0079] It should be noted in the example for an existing vendor-specific model (see
[0080]
[0081] Finally, the created mapping will be used in a gateway entity or gateway device for performing data exchange between e.g. a PLC and a MES system or, in general, between a client and a server.
[0082]
[0083] The method comprises converting the first 620, 621, 1021, 1221, 1921 and the second information models 222, 622, 1022, 1222, 1922 in a first and a second machine-interpretable description, as indicated in step 2010.
[0084] Next, similarities between elements of the first and the second machine-interpretable description are deduced, as indicated in step 2020.
[0085] Next, a mapping of at least one element of the first information model to an element of the second information model based on the deduced similarities in text and in structure is proposed and implemented, as indicated in step 2030.
[0086] Next, a gateway entity employs the mapping for a data exchange between the server 101, 201 and the client 102, 202, as indicated in step 2040.
[0087] The system and method provide the following advantages: [0088] Benefits in terms of the time a user needs to spend on the mapping, and occurrence of the achieved mapping. [0089] The method is general in a sense that it provides the semantic mapping of virtually any input, vendor-specific metadata, and any output model (including OPC UA-based models). [0090] The method solution is extensible in terms of adding new Knowledge Packs (to support the mapping information of new models) and is easy to be maintained (when integrating existing knowledge with the new one).
[0091] Thus, while there have been shown, described and pointed out fundamental novel features of the invention as applied to a preferred embodiment thereof, it will be understood that various omissions and substitutions and changes in the form and details of the methods described and the devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit of the invention. For example, it is expressly intended that all combinations of those elements and/or method steps which perform substantially the same function in substantially the same way to achieve the same results are within the scope of the invention. Moreover, it should be recognized that structures and/or elements and/or method steps shown and/or described in connection with any disclosed form or embodiment of the invention may be incorporated in any other disclosed or described or suggested form or embodiment as a general matter of design choice. It is the intention, therefore, to be limited only as indicated by the scope of the claims appended hereto.