Method and apparatus for selective address space aggregation
By using node filters in the aggregation server of the OPC UA system to filter node images based on node description information, the system startup delay and security issues are solved, achieving faster startup time and higher security.
Patent Information
- Application Number
- CN202080027153.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-10
- Filing Date
- 2020-04-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-04-08
AI Technical Summary
In an OPC UA system, it may take many minutes to aggregate nodes in the aggregation server when the system starts, resulting in startup delays, and a large amount of data that is not interesting to the operator, increasing the security risk of the system.
By introducing node filters in the aggregation server, node images are filtered based on node description information in the remote address space, and only nodes of interest are aggregated, thereby reducing the number of agent nodes, reducing system startup time and resource consumption, and providing firewall functions to improve Security.
It achieves shortened system startup time, resource saving and improved security. By reducing unnecessary information accessible to the client, it improves the operator's identification speed of interesting data and the security of the system.
Smart Images

Figure CN113615147B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an aggregation server for aggregating a reduced set of nodes of a remote address space in an Open Platform Communications Unified Architecture (OPC UA), a node description information generator, a system including the aggregation server, the node description information generator, and a method for filtering an aggregated node image. Background Art
[0002] OPC UA is a standard specification that defines the communication of online data from various devices made by different manufacturers. Future distributed control systems (DCS) will run on OPC UA-connected devices. OPC UA is a platform-independent, service-oriented client-server architecture that transmits machine data as control values, measurement values, and parameters and describes the machine data semantically.
[0003] UA servers receive and expose information from devices, such as sensor data. UA servers support an information model that defines how to type and categorize information. The representation of this information is called the server address space. UA clients are applications that connect to UA servers. For example, clients are used to find information from the server's address space in order to read and write server data, to subscribe to certain changes such as data changes or events such as alarms, and to call server methods. Communication between clients and servers is handled by services. The address space is the actual representation of the information exposed by the UA server. It is formed by nodes and references, which can be explored and displayed by UA clients. Nodes can be compared to objects in object-oriented programming languages. Nodes include properties, methods, and events. Properties can have values that can be read, methods can be called by commands, and events can be sent to exchange certain information between devices. Events are alarms and conditions that occur, for example, when data changes. Events include reception timestamps, messages, and severity. References are used to relate nodes to each other, and properties are used to describe nodes. The information model is based on nodes.
[0004] The OPC-UA system may be organized according to an aggregation architecture. The aggregation architecture includes an aggregated server and an aggregation server, also referred to as an aggregating server in this disclosure.
[0005] Aggregated servers represent entities of the automation system. These are basic servers, which can represent a single component (e.g. a field device) or a subsystem consisting of an entire automation system, a collection of parts or components of an automation system. The nodes created and managed by the aggregated servers form the remote address space. The counterpart to the remote address space is the aggregated address space, which is formed by the nodes in the aggregated servers.
[0006] The Aggregation Server is the core of the Aggregation Architecture. It connects to the Base Servers via OPC UA Services and aggregates their type, instance and structure information.
[0007] Therefore, a single server can be used to connect to multiple other servers and be used to represent their information in a unified manner. In this way, a client connected to the server can access the data of multiple servers from a single source.
[0008] The nodes aggregated in the aggregation server are images of the remote nodes of the aggregated server. In the present disclosure, these nodes are also referred to as "proxy nodes".
[0009] The Aggregate Node Manager is a central singleton that manages nodes in the address space of the aggregated servers. OPC UA Clients provide functionality for connecting to aggregated servers and for accessing nodes in the address space of aggregated servers. The Aggregate Node Manager creates one OPC UA Client per Base Server and then navigates through each Base Server with the help of the corresponding Client. The Node Manager forwards all requests (read, write, subscribe, etc.) to and from the Base Node in the aggregated Server via the corresponding OPC UA Client connected to that particular Server.
[0010] An OPC UA system may contain hundreds or even thousands of nodes. In particular, when starting the system, it may take several minutes to aggregate all nodes in the aggregation server. Usually, only a part of the data included in the nodes is of interest to the operator, so that it may happen that the client has to process a large amount of data (which the client must sort or process before creating its view) or that irrelevant data is presented through the client's view. In addition, the more data available at the client, the more information about the system may be provided to a potential adversary, facilitating his attack on the system. Summary of the invention
[0011] Therefore, there may be a desire to speed up the startup of the system and enhance the security of the system.
[0012] This problem is solved by the subject matter disclosed in the present invention. Various embodiments are also provided by the present invention.
[0013] The described embodiments similarly relate to an aggregation server, a controller, a method for forwarding node data, a computer program element, and a computer readable medium.Although different combinations of the embodiments may not be described in detail, synergistic effects may be generated from different combinations of the embodiments.
[0014] Further, it should be noted that all embodiments of the present invention can be implemented in the order of steps as described, but this is not necessarily the only and basic order of the steps of the method. Without departing from the corresponding method embodiment, another order of the disclosed steps can be adopted to implement the method proposed herein, unless explicitly mentioned to the contrary below.
[0015] Technical terms are used as per their common sense. If specific meanings are conveyed to certain terms, the definitions of the terms are given below in the following contexts, where the term is used.
[0016] According to an aspect, an aggregation server is provided. The aggregation server includes: a remote node input interface, the remote node input interface is configured to receive a node image representing a node in a remote address space; an address space description interface, the address space description interface is configured to import node description information of a node in a remote address space to be aggregated; an aggregation module, the aggregation module is configured to instantiate a proxy node based on the received node data of the node in the remote address space; and a node filter, the node filter is positioned between the remote node input interface and the aggregation module, the node filter is configured to filter the received node image from the remote node input interface according to the imported node description information of the node in the remote address space to be aggregated.
[0017] The remote node input interface can be a client running on an aggregation server connected to a remote node server, which is also referred to as an aggregated server or a server to be aggregated. The input interface can include several such clients, each of which is connected to a different UA server. The connection can be an industrial Ethernet connection or a connection according to any other protocol for transmitting and exchanging data. The structured node data of the node provided by the remote node server and available at the input interface is referred to as a "node image" in this disclosure, so that it can be distinguished from the node object or node located on the UA server. Therefore, the "node image" can be considered here as a copy of the node data of a node, which is transmitted from the server to the client on the aggregation server. The node image is received at the input interface, and they are not directly aggregated by the aggregation module, but are first filtered by the filter, resulting in selective address space aggregation. The "aggregated node" is a node of the aggregated server, whose structured data is collected by the aggregation server, merged and represented based on the information model of the aggregation server. The corresponding node is instantiated by the aggregation module, which can be an OPC UA aggregation node manager, and stored in the aggregation server as a proxy node, so that they can be accessed by the OPC UA server in the aggregation server and provided to external clients. The filter reduces the number of nodes in the remote address space to a lower number of nodes of interest, which are selected based on the filter information imported by the aggregation server. The filter information is node description information for each of the nodes in the remote address space to be aggregated. The "node description information" can be an attribute that describes the node, such as defined in OPC UA.
[0018] According to an embodiment, the node filter is configured to reduce the number of nodes present in the remote address space to a lower number of nodes represented by the proxy node.
[0019] Filtering has several effects. Due to the reduction of agent nodes to be instantiated, the time for setting up or starting the system (which usually takes up to several minutes) is reduced, processing resources are saved, and power consumption is reduced. In addition, non-essential information is not presented by external clients, resulting in a better overview and faster identification of data and values of interest to the operator. Another important aspect is improved security. By reducing the address space, access to the server is limited due to the limitation of information, which can be used to attack the aggregation server or the aggregated UA server or system. Therefore, it can be said that the filter provides firewall functionality.
[0020] According to an embodiment, the address space description interface is a file interface. The file to be read can be generated by such a tool, which has access to the node descriptions of all nodes in the remote address space and can be configured to select the node descriptions of those nodes to be aggregated. The file format can be binary, ASCII, xml or similar formats. Depending on security requirements, the file can also be hashed and / or encrypted. Alternatively, the address space description interface is a digital data connection interface, through which an electrical (i.e. wired) or electromagnetic (i.e. wireless) or optical connection to a data provider is possible. Data can be provided using a client-server relationship, wherein, for example, a client (such as a UDP or TCP client, or a client according to another standard) is located on an aggregation server. In another example, the provider and the aggregation server may include a communication unit according to a wireless standard. The provider of the node description information may be an application or server that reads the node description data from an OPC UA server through a file, wireless or wired interface, as further explained below.
[0021] According to the example, the generated file to be read by the aggregation server is a node set file. A node set file is a possible technical implementation of data exchange in the form of an xml file in an OPC UA environment. In OPC UA, a node set file describes the address space of a UA server. One or more nodes may be described in a single node set file. If there are several servers, there may be one node set file for each of the OPC UA servers to be aggregated.
[0022] According to an example, the generated file to be read by the aggregation server is a single file including node set file data of one or more node set files.
[0023] Since the aggregation performs a transformation of the aggregated address space, according to an example, when generating a file to be read by an aggregating server, the transformation may have been performed so that the aggregating server can directly derive its address space from the generated file.
[0024] According to an embodiment, the node description information of the nodes in the remote address space to be aggregated is related to the technical application. For example, in order to control the valves in the factory, the measurement data such as pressure and temperature and the machine status related to the valve may be needed at the external client, while other measurement data of the factory are not of interest to this example of the technical application. The nodes related to this application can be distributed on several servers. Then, the tool can be configured to read the node descriptions of all servers, select those nodes related to this technical application, and provide the descriptions of these nodes to the aggregation server by writing one or more reduced node set files.
[0025] According to an embodiment, each of the proxy nodes is instantiated such that it includes data of corresponding nodes in the remote address space to be aggregated, wherein the data is merged and represents data of corresponding nodes in the remote address space according to an information model of the aggregation server.
[0026] According to an embodiment, the aggregation server is an Open Platform Communications Unified Architecture aggregation server.
[0027] According to an aspect, a node description information generator is provided, which is configured to generate node aggregation description information to be imported by an aggregation server for filtering node images to be aggregated. The node description information generator includes: a generator input interface, the generator input interface is configured to receive node description information of nodes in a remote address space; a generator processing module, the generator processing module is configured to generate node aggregation description information based on the received node description information and based on the node aggregation configuration; and a generator output interface, the generator output interface is configured to output the generated node aggregation description information.
[0028] In the example, the node description information generator is an engineering tool configured to read node description input information and to generate node description output information, wherein the node description output information is a subset of the node description input information. The subset is then used as the input of the filter for the aggregation server, and corresponds to the node to be aggregated by the aggregation server. The node description information generator can have another interface, through which the generator can be configured. This configuration interface can be another file interface, or a wired or wireless console interface, a Web interface, or it can even be implemented as a client-server architecture. It can also be a combination of the listed interface types. For example, an operator at an external OPC UA client can select a technical application, and the co-located generator client can automatically log in to the generator server running on the generator. The nodes associated with the technical application can be configured at the generator-client, in a file read by the generator, or can be identified by a node description.
[0029] The node description input information may be contained in one or several files read by the generator, which include descriptions of all nodes in the remote address space, and which may be configured to select the node descriptions of those nodes to be aggregated. Preferably, one or more files are XML-node set files written by the OPC UA server of the remote address space. As described above, the node description output information may preferably also be a node set file (however, in principle, any other form such as, for example, a binary format may be used instead of the input and output node set files) or a digital data connection as described above.
[0030] According to aspects, a system is provided, which includes an aggregation server according to an embodiment as described above and a node description information generator according to an embodiment as described above. The aggregation server is connected to the node description information generator via an interface (e.g., a file interface), through which the aggregation server is enabled to receive node description information. The file can be written by the generator and read by the aggregation server at the start of the system, in regular time events, on scheduled events, or on unscheduled events. Unscheduled events may occur when an operator accesses a file or when a data change is detected. For example, a scheduled event may occur when a data change is foreseen at a scheduled time.
[0031] According to an embodiment, the system further comprises a client device. The client device comprises a first client for accessing the aggregation server and for representing (i.e., for example, displaying) filtered (i.e., reduced) aggregated nodes. The filtered aggregated nodes are nodes configured according to the node description information generator. For example, the nodes are selected according to a specific technical application.
[0032] The client device may be an external OPC UA client device, or include an external OPC UA client from a functional perspective or from a software perspective. The client device may also include a console. A console is a device or part of a device that acts as a human-man interface, and may be implemented as hardware, software, or both. For example, an operator may view node data (e.g., measurement data) in a console view, and may insert instructions into the console view. Communication with an aggregation server may be achieved by connecting a client device to an actual client (such as, for example, a first client) of the aggregation server in the sense of client-server communication. In a stricter sense, a console may be software that allows, for example, a data view and allows receiving input from an operator. In a simple case, the console is a command window. On a hardware device, more than one software console or software application window may be run in parallel, so that a view of a second application is possible as long as the configuration of the generator is adjusted so as to also provide a node set description of a second technical application.
[0033] According to another embodiment, the client device of the system also includes a second client for accessing the node description information generator. The second client is the counterpart of the server for the node description information generator. This connection allows the generator to be reconfigured during the runtime of the system. For example, the operator wants to change the technical application or add sensor data of another sensor to the current application, making it necessary to view other nodes or additional nodes in addition to the nodes of the previous application. Changes in technical applications lead to reconfiguration of the generator. Reconfiguration again leads to changes in the filter configuration so that new nodes can be aggregated. Previously aggregated nodes (i.e., proxy nodes in the aggregation server) that are no longer of interest can be deleted or hidden.
[0034] According to another aspect, a method for filtering an aggregate node image is provided. The method comprises the following steps:
[0035] S1, receiving, by an aggregation server, a node image representing a node in a remote address space;
[0036] S2: the aggregation server imports the node description information of the nodes in the remote address space to be aggregated;
[0037] S3: the aggregation server filters the received node image according to the node description information; and
[0038] S4 aggregates the filtered node images by the aggregation server.
[0039] Steps S1 and S2 may be performed in the given order, or simultaneously, or in reverse order.
[0040] The aggregation server receives the node images and independently imports the node description information of the nodes in the remote address space to be aggregated; that is, a reduced set of node description information. The aggregation server filters the images so that only those images that are contained in the received node description information remain. Finally, the aggregation server instantiates the resulting node images into proxy nodes. These proxy nodes reflect the views of the clients connected to the aggregation server.
[0041] According to an embodiment, the method further comprises the following steps:
[0042] S5: The node description information generator receives the node description information of the node in the remote address space;
[0043] S6: generating, by the node description information generator, aggregate description information based on the received node description information and based on the node aggregation configuration; and
[0044] S7: The node description information generator outputs the generated node aggregation description information, and provides the generated node aggregation description information to the aggregation server.
[0045] Steps S5 to S7 represent the generation of input data for step S2. The node description information generator receives a complete set of nodes from the OPC UA server as input, and its nodes form a remote address space. Data transmission can be performed using a file (e.g., a node set file). The generator also receives additional configuration information, for example, via a configuration file or via a client-server connection, and generates a file with a reduced set of descriptions of the nodes. The reduced set of node descriptions corresponds to the nodes that will be viewed by the OPC UA client outside the aggregation server. The aggregation server reads the file containing the reduced set of node descriptions and imports the node description information, which is the input for the above-mentioned step S3.
[0046] According to an embodiment, the aggregation server of the method is an Open Platform Communications Unified Architecture (OPC UA) aggregation server.
[0047] According to an aspect, a computer program element is provided, which, when executed by a processor, instructs an aggregation server to perform steps S2 to S5 as described above. The computer program element may be a part of a computer program, but it may also be the entire program itself. For example, the computer program element may be used to update an already existing computer program to obtain the present invention.
[0048] According to an aspect, a computer readable medium is provided on which a program product according to the invention is stored. A computer readable medium may be regarded as a storage medium such as, for example, a USB stick, a CD, a DVD, a data storage device, a hard disk or any other medium on which a program element as described above may be stored. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The following drawings illustrate embodiments of the invention.
[0050] Figure 1 A block diagram of an aggregation server and a node description information generator according to an embodiment is shown.
[0051] Figure 2 A flow chart of a method for filtering an aggregate node image according to an embodiment is shown. DETAILED DESCRIPTION
[0052] Figure 1 1 shows a block diagram of a system 190 mainly including an aggregation server 100, a node description information generator 110, a client device 170 and OPC UA servers 130, 132, 134, 136. The nodes 150, 152, 154, 156 form a remote address space 140. Figure 1In the example, four servers 130, 132, 134, 136, each of which contains four nodes, are shown exemplarily. In this example, it is assumed that the nodes of several servers are associated with technical applications. For example, nodes 151, 153 and 157 (black boxes) respectively contained in servers 130, 132 and 136 are considered to be associated with technical application 1 (such as, for example, measurements of several sensors distributed to several servers 130, 132, 136). Servers 130, 132, 134, 136 each export (export) a file (e.g., node set files 120, 122, 124 and 126) containing node descriptions of all nodes (i.e., each of the four nodes 150 of server 130, each of the four nodes 152 of server 132, etc.). The node description information generator 110 imports the node descriptions contained in files 120, 122, 124, 126 via the generator input interface 114. The generator 110 is configured to generate additional files (e.g., Figure 1 ), which contains descriptions of only those nodes 151, 153, 157 that are associated with application 1.
[0053] The node set file includes a node description for one server. Thus, instead of writing one file 112, the generator may write several reduced node set files (i.e., one node set file for each of the servers 130, 132, 134, 136). This option allows configuration of the aggregation server to select which of the servers 130, 132, 134, 136 are to be aggregated entirely by OPC UA services (e.g., browsing and reading), and which of the servers 130, 132, 134, 136 are to be aggregated by the reduced node set file. Alternatively, as described above, the file 112 may be a single file that contains the reduced node sets for all servers 130, 132, 134, 136.
[0054] The configuration may be performed by reading a configuration file 160 via a file interface 118, which reads and parses the configuration information and passes the information to a write routine in the generator processing module 116 of the node description information generator 110. Alternatively, the generator 110 may be configured by a connection to a configuration server 117 that may be part of the generator 110. A client anywhere in the system may connect to the configuration server 117, such as, for example, by a generator configuration client 174 in a client device 170. As a further possibility, the configuration file 160 may be sent to the generator input interface 114 via a wired or wireless file transfer technique to a memory location where the file 160 is expected to be located. The configuration may be changed during normal operation of the system 190 by modifying the configuration file 160 or by a client-server connection.
[0055] The aggregation server 100 imports the node description information from the file 112 through the address space description interface 101 and provides it to the filter 102 .
[0056] The filter 102 filters the nodes 150, 152, 154, 156 in the remote address space (the filter 102 has access to the nodes through the remote node input interface 103) so that the aggregation module 107 aggregates only the nodes 151, 153 and 157 associated with the application 1. The result of the filtering is the proxy nodes 104, 106 and 108. The proxy node data is displayed by an external client device 170 including a console or application software.
[0057] The external client 170 or alternatively another client or device may include a further client 174 which may connect to the configuration server 117 running on the hardware of the generator 110, for example, in order to define which of the nodes 150, 152, 154, 156 are to be associated with the application 1. Alternatively, the configuration client 174 may write or modify the configuration file 160. In this case, the configuration file 160 may be located on the aggregation server 100 and may be read by the generator 110 through an interface similar to the export / import interface for the file 112 containing the reduced node description or the reduced node set file 112, respectively.
[0058] Figure 2 A method 200 for filtering and aggregating node images is shown. Steps S5 to S7 describe the generation of node description information for the reduced set of nodes to be aggregated, while steps S1 to S4 describe Figure 1 A filtering process in the aggregation server 110 imports the generated reduced node set information.
[0059] Starting from step S5, the node description information generator 100 receives 202 the remote address space 140 (see Figure 1 ). In step S6, the node description information generator 110 generates 204 aggregation description information based on the received node description information and based on the node aggregation configuration; and in step S7, the generated node aggregation description information is output 206 by the node description information generator 110 and provided to the aggregation server 100.
[0060] In step S1, a node image representing a node in a remote address space 140 is received by the aggregation server 208. In step S2, the aggregation server 100 imports 210 node description information of the nodes in the remote address space 140 to be aggregated. In step S3, the aggregation server 100 filters 212 the received node image according to the node description information; in step S4, the aggregation server 100 aggregates 214 the filtered node image.
[0061] Therefore, the corresponding aggregation server, node description information generator and system and method allow for reduced time for setting up or starting the system, allow for saving processing resources, especially in client devices and aggregation servers, and allow for reduced power consumption in these devices. In addition, by reducing the accessible information at the client device, security is enhanced.
Claims
1. An aggregation server (100), comprising: a remote node input interface (103) configured to receive a node image representing a node in a remote address space (140); an address space description interface (101) configured to import node description information of nodes (150, 152, 154, 156) in the remote address space (140) to be aggregated; a node filter (102) positioned between the remote node input interface (103) and an aggregation module (107), the node filter (102) being configured to filter the received node image from the remote node input interface (103) so as to reduce the number of the nodes (150, 152, 154, 156) to a lower number of nodes of interest, wherein the nodes of interest are selected based on node description information imported via the address space description interface (101); as well as An aggregation module (107) is configured to instantiate a proxy node (104, 106, 108), wherein the proxy node represents the node of interest.
2. The aggregation server (100) according to claim 1, wherein: The address space description interface (101) is a file interface or a digital data connection interface.
3. The aggregation server (100) according to claim 1, wherein: The node description information of the nodes (151, 153, 157) in the remote address space (140) to be aggregated is related to a technical application.
4. The aggregation server (100) according to any one of the preceding claims 1 to 3, wherein: Each of the proxy nodes (104, 106, 108) is instantiated so that it includes data of a corresponding node (150, 152, 156) in the remote address space (140) to be aggregated, wherein the data is merged and represented according to an information model of the aggregation server (100).
5. The aggregation server (100) according to any one of the preceding claims 1 to 3, wherein: The aggregation server (100) is an Open Platform Communications Unified Architecture (OPC UA) aggregation server.
6. A node description information generator (110), configured to generate node aggregation description information to be imported by an aggregation server (102) for filtering node images to be aggregated, comprising: A generator input interface (114) configured to receive node description information of a node in a remote address space; a generator processing module (116) configured to generate node aggregation description information based on the received node description information and based on the node aggregation configuration, wherein the node aggregation description information includes only descriptions of nodes of interest associated with the application; as well as A generator output interface (115), wherein the generator output interface (115) is configured to output the generated node aggregation description information.
7. The node description information generator (110) according to claim 6, further comprising A configuration interface (117, 118), wherein the configuration interface comprises a configuration server (117) and / or a file interface (118) for configuring the node description information generator (110).
8. A system (190) for selective address space aggregation, comprising: The aggregation server (100) according to any one of claims 1 to 5; as well as The node description information generator (110) according to claim 6 or 7.
9. The system (190) of claim 8, further comprising A client device (170) includes a first client (174) for accessing the aggregation server (100) and representing filtered aggregated nodes (104, 106, 108).
10. The system (190) of claim 9, wherein: The client device (170) further comprises a second client (174), wherein the second client (174) is used to connect to the configuration server (117) of the node description information generator (110).
11. A method (200) for filtering an aggregate node image, comprising the following steps: S1 receiving (208) a node image representing a node in a remote address space by an aggregation server; S2 importing (210) by the aggregation server node description information of nodes in the remote address space to be aggregated; S3 filtering (212) by the aggregation server the received node image to reduce the number of the nodes (150, 152, 154, 156) to a lower number of nodes of interest, wherein the nodes of interest are selected based on the node description information; and S4 The filtered node images of the nodes of interest are aggregated (214) by the aggregation server.
12. The method (200) of claim 11, wherein: The method (200) further comprises: S5 The node description information generator receives (202) the node description information of the node in the remote address space; S6: the node description information generator generates (204) aggregation description information based on the received node description information and based on the node aggregation configuration; and S7: The node description information generator outputs (206) the generated node aggregation description information and provides the generated node aggregation description information to the aggregation server (100).
13. The method (200) according to claim 11 or 12, wherein: The aggregation server (100) is an Open Platform Communications Unified Architecture (OPC UA) aggregation server.
14. A computer program product comprising a computer program which, when executed by a processor, instructs an aggregation server (100) to perform steps S1 to S4 of claim 11 and steps S5 to S7 of claim 12.
15. A computer readable medium having a computer program stored thereon, which, when executed by a processor, instructs an aggregation server (100) to perform steps S1 to S4 of claim 11 and steps S5 to S7 of claim 12.
