Method and system for providing time-critical services using a flow control environment

By using container virtualization technology and software containers in the flow control environment in industrial automation systems, a dedicated virtual communication network is provided, which solves the problems of communication interruption and high resource consumption, and realizes secure transmission and network isolation of time-critical services. Simplifies management process.

CN117795934BActive Publication Date: 2024-11-12SIEMENS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280055644.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-08-13
Filing Date
2022-07-14
Publication Date
2024-11-12
Estimated Expiration
2042-07-14

AI Technical Summary

Technical Problem

Communication interruptions and data transmission problems in industrial automation systems lead to duplicate or incomplete transmission of service requests, especially in real-time communication networks, and existing virtualization solutions consume high resources and are complex in management.

Method used

Through container virtualization technology, a dedicated virtual communication network is provided, and software containers and reverse proxy in the flow control environment can be used to achieve secure decoupling and network isolation of services, avoiding high resource consumption and management complexity.

Benefits of technology

It realizes the simple provision of time-critical services in industrial automation systems, ensures the secure, rapid transmission and network isolation of service requests, and reduces resource management needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117795934B_ABST
    Figure CN117795934B_ABST
Patent Text Reader

Abstract

The invention relates to a method for providing time-critical services by means of a flow control environment, wherein a server component (113) is allocated to each service, the server component comprising at least one application instance and being formed by a flow control component that can be loaded into a flow control environment (112) and can be executed in the flow control environment. A separate virtual communication network (114) is provided for each server component by means of the flow control environment. A reverse proxy (101) of a subnet (100) of the flow control environment forwards a service access request (11) for using a service outside the subnet to the corresponding server component through the virtual communication network of the server component according to a predetermined forwarding rule (121). The virtual communication network is used for all application instances of the corresponding server component to forward the service access request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and a system for providing time-critical services, in particular in industrial automation systems. Background Art

[0002] Industrial automation systems usually include a large number of automation devices that are interconnected via an industrial communication network and control or regulate systems, machines or devices within the scope of manufacturing automation or process automation. Due to the time-critical basic conditions in industrial automation systems, real-time communication protocols such as PROFINET, PROFIBUS, real-time Ethernet or time-sensitive networks (TSN) are mainly used for communication between automation devices. In particular, control services or control applications can be automatically and application-dependently allocated according to the currently available servers or virtual machines of the industrial automation system.

[0003] Interruptions in communication connections between computer units or automation devices of industrial automation systems may lead to undesirable or unnecessary duplication of service request transmissions. In addition, untransmitted or incompletely transmitted messages may, for example, prevent the industrial automation system from transitioning to or remaining in a safe operating state. Problems may arise in Ethernet-based communication networks when network resources for transmitting data streams or data frames with real-time requirements compete with the transmission of data frames with large user data content and without special quality of service requirements. This ultimately results in data streams or data frames with real-time requirements not being transmitted according to the requested or required quality of service.

[0004] A method for providing a control application is known from EP 3 751 421 A1, wherein the communication network address of a flow control component providing the control application and the identifier of the flow control component or a server device on which the flow control component is executed are queried by a monitoring device. The configuration control device generates configuration information of a forwarding device from the queried communication network address and identifier and the name of the control application. The forwarding device receives a use request of the control application from a terminal device and forwards it to the corresponding flow control component according to the configuration information.

[0005] The older international patent application WO 2022 / 042905 A1 relates to a method for providing time-critical services, each of the services being assigned at least one server component, the server component being formed by a flow control component that can be loaded into and executed in a flow control environment. A functional unit for processing a communication protocol stack is available to the server component, which is connected to a functional unit for processing a communication protocol stack assigned to the flow control environment. The services each include a directory service component for determining the services provided with the aid of the flow control environment. The directory service components are connected to each other via separate communication interfaces. An aggregator component formed by another flow control component is connected to the separate communication interface and makes information about the services provided by the server component available outside the flow control environment.

[0006] Users of control applications for industrial automation systems implemented using container virtualization or similar virtualization concepts expect that the integration of such applications into their existing infrastructure is as simple as possible. Access to such virtualized control applications is usually achieved via a reverse proxy. Automatic integration of virtualized control applications with reverse proxies is important for both users and developers so that the virtualized control applications can be used easily and quickly. In particular, secure separation between different virtualized control applications within an application environment is very important so that critical influences, in particular access to communications and data from other virtualized control applications, can be excluded. However, previous IT (Information Technology) solutions required a very high level of resources and management, which is very problematic in industrial automation systems. Summary of the invention

[0007] The object of the present invention is to provide a method for providing time-critical services which can be easily implemented and which enables a safe decoupling between services provided by means of container virtualization or similar virtualization concepts, and to specify a suitable device for carrying out the method.

[0008] In the method according to the invention for providing time-critical services by means of a flow control environment, a service is each assigned a server component, which includes at least one application instance and is formed by a flow control component that can be loaded into the flow control environment and executed in the flow control environment. By means of the flow control environment, a dedicated virtual communication network is provided for each server component. The virtual communication network can in particular each include a virtual Ethernet point-to-point connection or can be formed by a virtual bridge within the flow control environment.

[0009] The flow control component is in particular or includes software containers, each of which is isolated from other software containers or container groups (such as pods) and runs in a flow control environment on the host operating system of the server device. In principle, alternative micro-virtualization concepts (such as snapshots) can also be used for the flow control component. In particular, the flow control component can be loaded into the flow control environment and executed in the flow control environment for each application instance. Advantageously, the software container uses the kernel of the host operating system of the server device and other software containers running on the corresponding server device respectively. For example, the memory mapping for the software container can be retrieved from a storage and provisioning system that can be read or written by a large number of users.

[0010] The flow control environment is preferably a container engine, through which virtual resources are created, deleted or linked. Virtual resources include software containers, virtual communication networks and connections assigned to them. For example, the control flow environment may include a program (Docker engine or Snap Core) running on a server device.

[0011] According to the present invention, the reverse proxy of the subnet including the flow control environment forwards the service access request for using the service outside the subnet to the corresponding server component through the virtual communication network of the server component according to the predetermined forwarding rule. The virtual communication network is used for all application instances of the corresponding server component to forward the service access request. In this way, the present invention realizes the improved automated network isolation of the virtualized control application or application, in particular the network isolation from the control application or application from other providers.

[0012] In particular, users, application developers and manufacturers of controlled machines or devices do not need detailed expertise on how to correctly and securely integrate reverse proxies and applications from any provider into their respective application environments. Furthermore, this does not require a cluster orchestration system, which typically requires a lot of resources for this purpose.

[0013] According to the present invention, a configuration unit for a reverse proxy determines globally valid access information for addressing information that is valid within a subnet and is assigned to a server component or its virtual communication network, and transmits forwarding rules mapping the access information to the reverse proxy. Preferably, at least one directory service component enables globally valid access information to be used for services outside the subnet.

[0014] The globally valid access information may include, for example, addressing information and access authorization. The access authorization is available after successful authentication of the user or device. Advantageously, the forwarding rules form authorization for the selected user or device to access the selected service. The addressing information valid within the subnet may be, for example, a communication network address, a port number, a host name or a fully qualified domain name.

[0015] According to the present invention, the configuration unit evaluates the event message from the flow control environment in order to determine whether to establish or delete a virtual communication network within the flow control environment. The virtual communication network to be newly established connects the configuration unit to the reverse proxy by means of a first control command for the flow control environment. On the contrary, the configuration unit terminates the connection between the virtual communication network to be deleted and the reverse proxy by means of a second control command for the flow control environment. In addition, once the connection between the virtual communication network to be deleted and the reverse proxy is terminated, the configuration unit removes the corresponding server component from the flow control environment by means of a third control command for the flow control environment. This ensures that the correct order of terminating the connection with the reverse proxy and deleting the corresponding server component is followed. This can therefore prevent the server component or software container from being unable to be deleted due to an existing connection with the reverse proxy.

[0016] In addition, according to a particularly preferred embodiment of the present invention, the configuration unit determines whether there is already an allocated virtual communication network for the flow control component to be loaded into the flow control environment and to be executed in the flow control environment. If there is an allocated virtual communication network, the configuration unit instructs the flow control environment to use the virtual communication network for the connection between the flow control component and the reverse proxy. On the contrary, if there is a lack of an allocated virtual communication network, the configuration unit advantageously instructs the flow control environment to establish a virtual communication network in the flow control environment for the server component formed by the flow control component, and uses the virtual communication network for the connection between the flow control component and the reverse proxy. Therefore, appropriate network isolation can be implemented for any virtualized control application or application according to its classification.

[0017] The system for providing time-critical services by means of a flow control environment according to the present invention is particularly used to perform the method according to the above description and comprises a flow control environment, a subnet having the flow control environment, a reverse proxy of the subnet, a configuration unit of the reverse proxy and a plurality of server components each assigned to the service. The server components each comprise at least one application instance and are formed by a flow control component that can be loaded into the flow control environment and executed in the flow control environment.

[0018] The flow control environment of the system according to the present invention is designed and configured to make a dedicated virtual communication network available for each server component. In contrast, the reverse proxy is designed and configured to forward service access requests for using services outside the subnet to the corresponding server component through the virtual communication network of the server component according to a predetermined forwarding rule. The virtual communication network is also designed and configured for all application instances of the corresponding server component to forward service access requests respectively.

[0019] The configuration unit of the reverse proxy of the system according to the present invention is designed and arranged to determine globally valid access information for addressing information valid in a subnet and assigned to a server component and / or its virtual communication network, respectively, and to send forwarding rules mapping the access information to the reverse proxy. The configuration unit is also designed and arranged to evaluate event messages from the flow control environment in order to determine whether to establish or delete a virtual communication network in the flow control environment.

[0020] In addition, the configuration unit of the system according to the present invention is designed and configured to connect the virtual communication network to be newly established to the reverse proxy server by means of a first control command for the flow control environment, and to terminate the connection between the virtual communication network to be deleted and the reverse proxy by means of a second control command for the flow control environment. Once the connection between the virtual communication network to be deleted and the reverse proxy has been terminated, the configuration unit is designed and configured to remove the corresponding server component from the flow control environment by means of a third control command for the flow control environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The present invention is explained in more detail below using embodiments with reference to the accompanying drawings.

[0022] Figure 1 An apparatus having a server component and a reverse proxy for providing services of an industrial automation system is shown. DETAILED DESCRIPTION

[0023] Figure 1 The apparatus shown in 1 comprises a server device 110 for providing a service or a control and monitoring application of an industrial automation system. The service or the control and monitoring application of the industrial automation system is an example of a time-critical service. For example, the service or the control and monitoring application can be provided based on the standard OPC UA. Therefore, the service or the control and monitoring application comprises an interface definition that can be used to permanently access the service or the control and monitoring application.

[0024] Figure 1 The arrangement shown in the figure also comprises a terminal 10 assigned to at least one user, which in the present exemplary embodiment sends a service access request 11 for using a service to an automation system or subnetwork 100 including a server device 110 via a communication network 20 and receives a response 12 or a measured value and status message from the server facility accordingly. The communication network 20 can be designed, for example, as a time-sensitive network, in particular according to the standards IEEE 802.1Q, IEEE 802.1AB, IEEE 802.1AS, IEEE 802.1BA or IEEE 802.1CB.

[0025] In this embodiment, the server device 110 implements the functions of a control device (e.g., a programmable logic controller) or a field device (e.g., a sensor or actuator) of an industrial automation system by means of a container virtualization server component 113. In this embodiment, the server device 110 is used to exchange control variables and measurement variables with a machine or device 200 controlled by the server device 110. In particular, the server device 110 is intended to determine appropriate control variables from recorded measurement variables.

[0026] In this embodiment, the terminal 10 is an operation and observation station and is used to visualize process data or measurement and control variables processed or recorded by the server device 110 or other automation equipment. In particular, the terminal 10 is used to display the value of the control circuit and modify the control parameters or programs.

[0027] The server components 113 are respectively assigned to the services, and the server components include at least one application instance and are formed by a flow control component that can be loaded into and executed in the flow control environment 112. In the present embodiment, the flow control component is loaded into and executed in the flow control environment 112 for each application instance. The flow control environment 112 is provided by means of the server device 110 and is installed there as an application program on the host operating system 111 of the server device 110.

[0028] In this embodiment, the flow control component is or includes a software container, each of which is isolated from other software containers, container groups or container boxes and runs in a flow control environment 112 on the host operating system 111 of the server device 110. The software containers each use the kernel of the host operating system 111 of the server device 110 in combination with other software containers running on the corresponding server device 110. The flow control environment 112 is particularly a container engine, through which virtual resources are created, deleted or linked. Virtual resources may include software containers, virtual communication networks and their attached connections.

[0029] In particular, isolation of flow control components or isolation of selected operating system resources from each other can be achieved through control groups and namespaces. Control groups can be used to define groups of processes to limit the resources available to selected groups. Namespaces can be used to isolate individual processes or control groups from other processes or control groups. For example, the memory mapping of a software container can be retrieved from a storage and provisioning system that can be read or written by a large number of users.

[0030] To provide time-critical services, a dedicated virtual communication network 114 is made available to each server component 113 by means of the flow control environment 112. In particular, the virtual communication networks 114 may each comprise a virtual Ethernet point-to-point connection, or may each be formed by a virtual bridge within the flow control environment 112.

[0031] The reverse proxy 101 of the host system or subnet 100 including the server device 110 and the flow control environment 112 forwards the service access request 11 for using the service outside the host system or subnet 100 to the corresponding server component 113 via the virtual communication network 114 according to the predetermined forwarding rule 121. The virtual communication network 114 is used for all application instances of the corresponding server component 113 to forward the service access request 11.

[0032] The configuration unit 102 for the reverse proxy 101 determines globally valid access information 131 for addressing information valid in the host system or subnet 100 and assigned to the server component 113 or its virtual communication network 114, respectively, and sends a forwarding rule 121 mapping the access information 131 to the reverse proxy 101. The addressing information valid in the host system or subnet 100 is, for example, a communication network address, a port number, a host name, or a fully qualified domain name. The directory service component 103 makes the globally valid access information 131 available to services outside the host system or subnet 100.

[0033] The globally valid access information 131 preferably comprises addressing information and access authorization, wherein the access authorization becomes available only after successful authentication of the user and / or device. The authorization referencing the selected user or device to access the selected service is also advantageously mapped by the forwarding rules 121 .

[0034] In addition, the configuration unit 102 determines whether an allocated virtual communication network 114 has been provided for the flow control component to be loaded into the flow control environment 112 and to be executed in the flow control environment. To determine this, the configuration unit 102 accesses the flow control information 122 stored in the database 120 of the server component 113 or its assigned flow control component.

[0035] If there is an allocated virtual communication network 114, the configuration unit 102 instructs the flow control environment 112 to use the virtual communication network 114 for the connection between the flow control component and the reverse proxy 101 with the help of the flow control information 122 exported from the database 120. On the contrary, if there is no allocated virtual communication network 114, the configuration unit 102 instructs the flow control environment 112 to establish a virtual communication network 114 within the flow control environment 112 for the server component 113 formed by the flow control component, and use the virtual communication network 114 for the connection between the flow control component and the reverse proxy 101.

[0036] In addition, the configuration unit 102 evaluates the event message 123 from the flow control environment 112 to determine whether to create or delete the virtual communication network 114 in the flow control environment 112. The configuration unit connects the virtual communication network to be newly created with the reverse proxy 101 by means of the first control command C1 for the flow control environment 112.

[0037] On the contrary, the configuration unit 102 terminates the connection between the virtual communication network 114 to be deleted and the reverse proxy 101 by means of the second control command C2 for the flow control environment 112. In addition, once the connection between the virtual communication network 114 to be deleted and the reverse proxy 101 has been terminated, the configuration unit 102 removes the corresponding server component 113 from the flow control environment 112 by means of the third control command C3 for the flow control environment 112.

Claims

1. A method for providing a time-critical service by means of a flow control environment, wherein: - assigning a server component (113) to each of the services, the server component comprising at least one application instance and being formed by a flow control component that can be loaded into the flow control environment (112) and can be executed in the flow control environment, - providing a dedicated virtual communication network (114) for each server component by means of the flow control environment, - a reverse proxy (101) of a subnet (100) including the flow control environment forwards a service access request (11) for using a service outside the subnet to a corresponding server component through the virtual communication network of the server component according to a predetermined forwarding rule (121), - using the virtual communication network for all application instances of the corresponding server components respectively to forward the service access request, a configuration unit (102) for the reverse proxy (101) determines globally valid access information (131) for addressing information valid in the subnet (100) and assigned to the server component (113) and / or the virtual communication network (114) of the server component, and sends forwarding rules (121) mapping the access information to the reverse proxy, - in order to determine whether to establish or delete a virtual communication network (114) within the flow control environment, the configuration unit (102) evaluates an event message (123) from the flow control environment (112), - the configuration unit connects the virtual communication network to be newly established with the reverse proxy (101) by means of a first control command (C1) for the flow control environment, - the configuration unit terminates the connection between the virtual communication network to be deleted and the reverse proxy by means of a second control command (C2) for the flow control environment, -Once the connection between the virtual communication network (114) to be deleted and the reverse proxy (101) has been terminated, the configuration unit (102) removes the corresponding server component (113) from the flow control environment with the help of a third control command (C3) for the flow control environment (112).

2. The method according to claim 1, wherein: The globally valid access information (131) comprises addressing information and access authorization, and wherein the access authorization is provided after successful authentication of a user and / or device.

3. The method according to claim 2, wherein: The forwarding rules (121) map authorizations for selected users and / or devices to access selected services.

4. The method according to any one of claims 1 to 3, wherein: The addressing information valid within the subnet (100) includes a communication network address, a port number, a host name and / or a fully qualified domain name.

5. The method according to any one of claims 1 to 3, wherein: The configuration unit (102) determines whether an allocated virtual communication network (114) already exists for a flow control component to be loaded into the flow control environment (112) and to be executed in the flow control environment, wherein, if the allocated virtual communication network exists, the configuration unit instructs the flow control environment to use the virtual communication network for the connection between the flow control component and the reverse proxy (101).

6. The method according to claim 5, wherein: If the allocated virtual communication network (114) is missing, the configuration unit (102) instructs the flow control environment (112) to establish a virtual communication network within the flow control environment for the server component (113) formed by the flow control component, and use the virtual communication network for the connection between the flow control component and the reverse proxy.

7. The method according to any one of claims 1 to 3, wherein: The flow control components are or include software containers, each of which runs in isolation from other software containers or groups of containers within the flow control environment (112) on a host operating system (111) of a server device (110).

8. The method according to claim 7, wherein: The flow control environment is a container engine, which is used to create, delete and / or link virtual resources, wherein the virtual resources include software containers, virtual communication networks and connections assigned to the software containers and virtual communication networks.

9. The method according to any one of claims 1 to 3, wherein: The flow control component is loaded into the flow control environment for each application instance and executed in the flow control environment.

10. The method according to any one of claims 1 to 3, wherein: In order to use the service outside the subnet, at least one directory service component (103) provides the globally valid access information (131).

11. The method according to any one of claims 1 to 3, wherein: The virtual communication networks (114) each include a virtual Ethernet point-to-point connection and / or are each formed by a virtual bridge within the flow control environment (112).

12. A system for providing time-critical services via a flow control environment, comprising: - flow control environment (112), - a subnet (100) comprising said flow control environment, - a reverse proxy (101) of said subnet, - a configuration unit (102) for the reverse proxy (101), - a plurality of server components (113) each assigned to a service, each of which comprises at least one application instance and is formed by a flow control component that can be loaded into the flow control environment (112) and can be executed in the flow control environment, -in, The flow control environment is designed and configured to provide a dedicated virtual communication network (114) for each server component. wherein the reverse proxy is designed and configured to forward a service access request (11) for using a service outside the subnet to a corresponding server component through the virtual communication network of the server component according to a predetermined forwarding rule, - wherein the virtual communication network is designed and configured for all application instances of the corresponding server components to respectively forward the service access requests, wherein the configuration unit (102) for the reverse proxy (101) is designed and arranged to determine globally valid access information (131) for addressing information valid in the subnet (100) and assigned to the server component (113) and / or the virtual communication network (114) of the server component, and to send forwarding rules (121) mapping the access information to the reverse proxy, - wherein the configuration unit is further designed and arranged to evaluate an event message (123) from the flow control environment (112) in order to determine whether to establish or delete a virtual communication network (114) within the flow control environment, - wherein the configuration unit is further designed and configured to connect the virtual communication network to be newly established with the reverse proxy (101) by means of a first control command (C1) for the flow control environment, wherein the configuration unit is further designed and arranged to terminate the connection between the virtual communication network to be deleted and the reverse proxy by means of a second control command (C2) for the flow control environment, -Wherein, once the connection between the virtual communication network (114) to be deleted and the reverse proxy (101) has been terminated, the configuration unit is also designed and configured to remove the corresponding server component (113) from the flow control environment with the help of a third control command (C3) for the flow control environment (112).