Controlling write access to input / output channels in industrial process automation environment
Improves the stability of output channels by limiting write access for each output channel to a single active writer user account in industrial process automation environments, resolving issues with conflicts and unpredictable signals caused by multiple writer user accounts and process control loop reliability.
Patent Information
- Application Number
- CN202410358254.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-01
AI Technical Summary
In an industrial process automation environment, concurrent writes to output channels by multiple writer user accounts can lead to conflicting and unpredictable control signals, affecting the stability of the process control loop.
Use processors to manage writer account availability by limiting write access per output channel to a single active writer user account, denying multiple write requests and providing reader account access to avoid conflicts and contention situation.
It effectively avoids or reduces the risk of the output channel receiving conflicting commands and competition conditions, ensuring the stability and predictability of the output channel, and improving the reliability of the process control loop.
Smart Images

Figure CN118740413A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to industrial process automation and, more particularly, to controlling write access to input / output channels in an industrial process automation environment. Background Art
[0002] A process automation facility may include a distributed control node (DCN). Many DCNs have physical input and output (I / O) channels in the form of sensors and actuators, etc. The DCN may host a server that provides read and write access to such I / O channels via a user account. A user account may include one or more reader user accounts that are allowed to read values from an I / O channel. Alternatively or additionally, a user account may include one or more writer user accounts that may read from an input channel as well as an output channel, and write to an output channel (e.g., an actuator). In some cases, a server may assign different roles to different user accounts, and may assign roles to I / O channels under the control of the server. Summary of the invention
[0003] While multiple reader user accounts may safely read from an I / O channel, multiple writer user accounts writing to an output channel may cause the output channel's actuator to receive conflicting or confusing control signals. This may cause the actuator to behave incorrectly or unpredictably. This may negatively affect any process control loop that includes the actuator. Other output channels may be used to provide data to downstream processes, for example, hosted at other DCNs. Multiple writer user accounts writing to other output channels may cause conflicting and / or unpredictable data to be provided to downstream processes. This may also negatively affect any process control loop controlled by downstream processes.
[0004] Embodiments of the present disclosure provide for granting a single active writer user account access to a given output channel of a distributed control node (DCN) hosted by a server (e.g., an actuator within a process automation facility), for example, by limiting the server to a single writer user account immediately, or by limiting write access to a given output channel to a single writer user account at any time. By limiting write access in this manner, the risk of a shared output channel receiving conflicting commands and / or experiencing a race condition can be avoided or reduced.
[0005] In various embodiments, a method may be implemented using one or more processors and may include: receiving a request from a cross-platform process automation client to access a writer account of a cross-platform process automation server to write to an input / output (I / O) channel to which access is controlled by the cross-platform process automation server; and in response to receiving the request to access the writer account of the cross-platform process automation server, determining whether the writer account is available (e.g., free for use). In response to determining that the writer account is not available (e.g., in use), the method may also include: denying the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server, and providing the cross-platform process automation client with access to a reader account of the cross-platform process automation server.
[0006] For example, the writer account can be accessed by different cross-platform process automation clients (e.g., belonging to different platforms) at different times using different login credentials. As a working example, it is assumed that the first cross-platform process automation client uses the first login credential to access the writer account at a first time point T1. It is also assumed that the second cross-platform process automation client, which is different from the first cross-platform process automation client, uses the second login credential (different from the first login credential) to access the writer account at a second time point T2. In this working example, if T2 is far enough away from T1 in time, the first cross-platform process automation client can access the writer account of the cross-platform process automation server, for example, write the first control signal (e.g., for clockwise control) to the output channel (e.g., actuator) of the DCN hosting the cross-platform process automation server. In this case, the output channel can be immediately controlled by the first control signal. The second cross-platform process automation client can safely access the writer account of the cross-platform process automation server at T2, for example, to write the second control signal (e.g., for counterclockwise control) to the output channel (e.g., actuator) of the DCN hosting the cross-platform process automation server. In response to receiving the second control signal, the output channel may be immediately controlled by the second control signal.
[0007] However, if T2 is too close in time to (e.g., approximately the same as) T1, embodiments of the present disclosure may allow one and only one of the first cross-platform process automation client and the second cross-platform process automation client (and / or other clients, if any) to access the writer account. Continuing with the working example, if the cross-platform process automation server receives a request to access the writer account from the first cross-platform process automation client before receiving a request to access the writer account from the second cross-platform process automation client (and / or any other client), the first cross-platform process automation client may be granted access to the writer account, while the second cross-platform process automation client (and any other client, if any) is not granted access to the writer account. As another non-limiting example, the first cross-platform process automation client may be identified as having (e.g., marked with) a higher priority than other cross-platform process automation clients (such as the second cross-platform process automation client), and accordingly, the first cross-platform process automation client may be granted access to the writer account, while the second cross-platform process automation client (and any other client, if any) is not granted access to the writer account.
[0008] Continuing with the working example, the second cross-platform process automation client (and any additional clients, if any) may be granted access to or assigned a reader account associated with the cross-platform process automation server. After being granted access to the reader account, the second cross-platform process automation client (and / or any additional clients, if any) may read from one or more I / O channels (including output channels, such as actuators) controlled by the cross-platform process automation server.
[0009] In other words, after authenticating the cross-platform process automation client to access the reader account of the cross-platform process automation server, the method may further include reading from the I / O channel by the cross-platform process automation client and via the cross-platform process automation server.
[0010] In some embodiments, the cross-platform process automation server may be an open platform communications (OPC) unified architecture (UA) server, and the cross-platform process automation client is an OPC UA client that communicates with the OPC UA server (e.g., via one or more networks). In some embodiments, the I / O channels may correspond to (e.g., be operably coupled to) sensors or actuators or other applicable components of a distributed control node (DCN) hosting the OPC UA server. The DCN may include any number of I / O channels.
[0011] In some embodiments, determining whether the writer account is available includes determining whether a writer semaphore is locked or unlocked. In these embodiments, if the writer semaphore is determined to be locked, the writer account can be determined to be unavailable or "in use". On the other hand, if the writer semaphore is determined to be unlocked or released, the writer account can be determined to be available or free.
[0012] In various embodiments, the method may further include: in response to determining that the writer account is available, retrieving login credentials to access the writer account of the cross-platform process automation server; and authenticating the cross-platform process automation client based on the login credentials to access the writer account of the cross-platform process automation server. In some embodiments, the above request may include login credentials received by the cross-platform process automation server from the cross-platform process automation client to access the writer account of the cross-platform process automation server. In various embodiments, the method may further include: receiving input to be written to the I / O channel from the cross-platform process automation client; and writing to the I / O channel based on the input received from the cross-platform process automation client. For example, the input may include a control signal to control the I / O channel. In some embodiments, optionally, the I / O channel can be controlled by the control signal immediately upon receiving the control signal.
[0013] In various embodiments, the method may further include: detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server. In these embodiments, in response to detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, the method may further include: determining that the writer account of the cross-platform process automation server becomes available. In some embodiments, determining that the writer account of the cross-platform process automation server becomes available may be based on determining that a writer semaphore is released, meaning that the writer semaphore is unlocked.
[0014] In various embodiments, the method may further include: subscribing the writer semaphore for the cross-platform process automation client to receive a notification when the writer semaphore is released / unlocked. By subscribing to the writer semaphore, the cross-platform process automation client may receive a notification (indicating that the writer account has become available) that the writer semaphore has been released / unlocked in a timely manner. In response to receiving the notification indicating that the writer account has become available, the cross-platform process automation client may resend a request to access the writer account to the cross-platform process automation server in order to write to the I / O channel.
[0015] In addition, some embodiments include one or more processors of one or more computing devices, wherein the one or more processors are operable to execute instructions stored in an associated memory, and wherein the instructions are configured to cause the execution of any of the foregoing methods. Some embodiments also include one or more non-transitory computer-readable storage media storing computer instructions that can be executed by the one or more processors to perform any of the foregoing methods.
[0016] In another aspect, a system may include one or more processors and a memory storing instructions that, in response to being executed by the one or more processors, cause the one or more processors to: receive a request from a cross-platform process automation client to access a writer account of a cross-platform process automation server to write to an input / output (I / O) channel that is coupled to and operably controlled by the process automation server; and, in response to receiving the request to access the writer account of the cross-platform process automation server, determine whether the writer account is available.
[0017] In various embodiments, the system may further include instructions for, in response to determining that the writer account is unavailable, denying a request from a user to access a writer account of the cross-platform process automation server and / or providing the cross-platform process automation client with access to a reader account of the cross-platform process automation server.
[0018] It should be understood that all combinations of the aforementioned concepts and additional concepts described in more detail herein are contemplated as part of the subject matter disclosed herein. For example, all combinations of the claimed subject matter appearing at the end of this disclosure are considered to be part of the subject matter disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 An environment is schematically depicted in which selected aspects of the present disclosure may be implemented, according to various embodiments.
[0020] Figure 2 Examples of how the techniques described herein may be implemented according to various embodiments are schematically depicted.
[0021] Figure 3 Example methods for carrying out selected aspects of the present disclosure are shown.
[0022] Figure 4 An example computer architecture is schematically illustrated upon which selected aspects of the present disclosure may be implemented. DETAILED DESCRIPTION
[0023] Embodiments described herein relate to managing access to shared input / output (I / O) channels (such as sensors, actuators, and / or other components) for process automation facilities. In various embodiments, a single active writer user account is allowed to write to a given output channel (e.g., an actuator within a process automation facility) of a distributed control node (DCN) hosting a server. In some embodiments, the server is immediately limited to a single writer user account. In some embodiments, if multiple writer user account requests to write to a given channel are received, write access to the given channel is limited to a single writer user account. By limiting write access, the risk of a shared output channel receiving conflicting commands and / or experiencing a race condition can be avoided or reduced.
[0024] Reference now Figure 1 , schematically depicts an example environment 100 in which various aspects of the present disclosure may be implemented. A process automation management system 102 is operably coupled to a process automation network 106 in a process automation facility 108. The process automation facility 108 may take a variety of forms and may be designed to implement any number of at least partially automated processes. For example, the process automation facility 108 may take the form of a chemical processing plant, an oil or gas refinery, a catalyst plant, a manufacturing facility, an offshore oil platform, and the like.
[0025] The process automation network 106 may be implemented using various wired and / or wireless communication technologies, including, but not limited to, the Institute of Electrical and Electronics Engineers (IEEE) 802.3 standard (Ethernet), IEEE 802.11 (Wi-Fi), cellular networks (such as 3GPP Long Term Evolution (“LTE”)), or other wireless protocols designated as 3G, 4G, 5G, and higher, and / or other types of communication networks in various types of topologies (e.g., mesh). Process automation is often employed in scenarios where the cost of failure (in both the personal safety of participants and the financial cost) tends to be large. Therefore, in various embodiments, the process automation network 106 may be configured with redundancy and / or backup to provide high availability (HA) and / or high quality of service (QoS).
[0026] The process automation management system 102 can be connected to multiple client devices. For example, the process automation management system 102 can be connected to one or more local client devices (e.g., 122-A and 122-C), and / or to one or more remote client devices (e.g., 122-B). The local client device 122-A or 122-C can be connected to the process automation management system 102 via one or more local area networks (e.g., the process automation network 106), and the remote client device 122-B can be connected to the process automation management system 102 via one or more wide area networks 120 (e.g., the Internet). The local client devices and the remote client devices can be operated by personnel such as system integrators to configure various aspects of the process automation management system 102 and / or interact with various aspects of the process automation management system 102.
[0027] In some embodiments, the process automation management system 102 may include an access determination module 107 and a database 105 that stores information used by the access determination module 107 to practice selected aspects of the present disclosure. Various aspects of the process automation management system 102, such as the access determination module 107, may be implemented using any combination of hardware and software. In some embodiments, the process automation management system 102 may be implemented across multiple computer systems as part of what is often referred to as a "cloud infrastructure" or simply "the cloud." However, this is not required, for example, in Figure 1 In the embodiment, the process automation management system 102 is implemented within a process automation facility 108, such as a single building or a single campus or other industrial infrastructure across a single building. In such an embodiment, the process automation management system 102 can be implemented on one or more local computing systems, such as on one or more server computers.
[0028] In addition to the process automation management system 102, various nodes (e.g., one or more DCNs) may be operably coupled to the process automation network 106. Figure 1 In the embodiment, for example, N (positive integer) DCNs (first DCN 110-1, second DCN 110-2, ... and NDCN 110-N) are operably coupled to the process automation network 106. Each DCN 110 can host a corresponding cross-platform process automation server 112-1, 112-2, ... or 112-N. Each DCN 110 can also include circuit systems and / or logic (not shown) that can take various forms, such as a processor that executes instructions in a memory, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.
[0029] Each DCN (e.g., 110-1) may have a specific role to play in the process automation network 106. For example, a "computing" DCN may control a process cycle (e.g., a chemical process cycle) in which various "field" devices (e.g., devices with sensors and / or actuators) interface with each other to perform a certain number of functional control blocks (FBs). In some embodiments, for example, software components implemented on any DCN mentioned herein may convert analog signals to digital; and / or convert signals between different measurement units. In addition, in some embodiments, software components implemented on the DCN 110 may be configured to convert data between various protocols. For example, a DCN (or other legacy device) of a particular vendor may not be natively configured to transmit data using the OPC Unified Architecture (OPC UA). In some such embodiments, another DCN 110 may be deployed to convert the data from the vendor's proprietary format to OPC UA. Some such DCNs 110 may be referred to as "gateways" or "bridges" because they form a link between legacy technologies and standards such as OPC UA.
[0030] Each DCN may have one or more input / output (I / O) components that may be accessed as “channels” and that define its operational technology (OT) capabilities and, more generally, at least some of its roles at the process automation facility 108. For example, the first DCN 110-1 includes a flow transmitter (FT) component 114-1 (as an input channel) and an actuator (e.g., valve) 116-1 (as an output channel).
[0031] The actuator 116-1 (and other actuators described herein) can be any electric, hydraulic, mechanical, and / or pneumatic component that can be controlled to affect some aspect of the process automation workflow occurring at the process automation facility 108. For example, the first DCN 110-1 can operate the actuator 116-1 to perform its function in response to various signals (such as sensor signals or commands). Some non-limiting examples of the actuator 116 include, but are not limited to, valves, pistons, rotors, switches, heaters, coolers, agitators, ejectors, devices that generate vacuum, belts, tracks, gears, fixtures, motors, relays, servo mechanisms, and the like.
[0032] Each DCN 110 may have different OT capabilities relative to one or more (e.g., all) other DCNs 110. Figure 1, the second DCN 110-2 includes the FT component 114-2 but does not include an actuator. The third DCN 110-3 includes a sensor 118-3 but does not include an actuator. The sensor 118-3 (and other sensors mentioned herein) can take various forms, including but not limited to pressure sensors, temperature sensors, flow sensors (e.g., FT component 114), various types of proximity sensors, light sensors (e.g., photodiodes), pressure wave sensors (e.g., microphones), humidity sensors (e.g., hygroresistors), radiation dosimeters, laser absorption spectrometers (e.g., multi-channel optical units), etc. Similar to the first DCN 110-1, the fourth DCN 110-4 also includes both the FT component 114-4 and the actuator 116-4.
[0033] Unlike DCNs 110-1 to 110-4, the Nth DCN 110-N does not include any input / output (actuator or sensor) components. Instead, the DCN 110-N may be a "computation-only" DCN whose role is to facilitate collaboration between itself and one or more other DCNs 110 on the process automation network 106 to implement at least partially automated processes. For example, the Nth DCN 110-N may control a single process loop (e.g., a chemical process control loop) involving one or more other DCNs 110. In some cases, a computational DCN (e.g., the Nth DCN 110-N) may perform a role similar to an autopilot on an airplane—the computational DCN may receive various signals and control various actuators based on these signals and various criteria and / or thresholds. For example, the computing DCN may monitor various sensors (e.g., sensor 118-3) to determine data regarding chemical levels, flow rates (e.g., across a valve), tank temperature, control rates, etc., and may control one or more actuators (e.g., actuator 116-1 and / or actuator 116-4) based on such data and / or comparisons of such data to various criteria and / or thresholds. For example, the computing DCN (e.g., 110-N) may control actuator 116-4 by sending corresponding commands to fourth DCN 110-4 that may optionally conform to a protocol specific to fourth DCN 110-4.
[0034] Many DCNs may have multiple physical I / O components, and therefore multiple I / O channels, which may be accessed, for example, by other devices or systems (such as other DCNs, access determination module 107, etc.). To control access to these I / O channels, each DCN 110 may host a cross-platform process automation server, such as an OPC UA server, which provides access to various data resources of the DCN 110 (including, for example, the I / O channels of the DCN). A client application (which may be a "cross-platform process automation client", such as an OPC UA client operating on the DCN 110 (e.g., 113 executing on the Nth DCN 110-N)) may connect to a cross-platform process automation server (e.g., OPC UA server 112-1) hosted by a corresponding DCN (e.g., 110-1) so that it can read data from input channels associated with, for example, sensors (such as, FT component 114-1, etc.). Likewise, a client application (e.g., OPC UA client 113) may connect to a server (e.g., OPC UA server 112-1) hosted by a DCN (e.g., 110-1) to write data to an output channel, for example, to provide a control signal or command to an actuator such as actuator 116-1. Figure 1 1 through 110-N-1, but any of the DCNs 110-1 through 110-N-1 may also host its own OPC UA client alongside its respective OPC UA server 112-1 through 112-N-1.
[0035] As an example, an OPC UA server (e.g., 112-1) executing on a first DCN 110-1 may be reached, for example, by an OPC UA client using the following connection string: opc.tcp: / / 10.0.1.1:48010. In this example, the characters "opc.tcp" may specify the connection protocol to be used. The numbers "10.0.1.1" may be the IP address of the first DCN 110-1 executing the OPC UA server 112-1. The numbers "48010" may be the TCP port on which the OPC UA server 112-1 is listening and accepting connections. This OPC UA server 112-1 may in turn provide access to I / O channels or other data associated with the first DCN 110-1 (e.g., sensor readings stored in memory, results of calculations, semaphore values, etc.). Each of the I / O channels may be referenced using a node ID. As a non-limiting example, the following node ID may be used to reference the actuator 116 - 1 : ns=5; i=5242.
[0036] In some cases, multiple OPC UA clients (e.g., 113) may attempt to simultaneously read from an input channel (e.g., FT component 114-1) of a DCN (e.g., first DCN 110-1) by connecting to a server (e.g., server 112-1) executing on the DCN and / or referencing an input channel having a node ID for the input channel. In some cases, multiple OPC UA clients may attempt to simultaneously write to an output channel (e.g., actuator 116-1) of a DCN (e.g., first DCN 110-1) by connecting to a server (e.g., server 112-1) executing on the DCN and / or referencing an output channel having a node ID for the output channel.
[0037] In the above situation, while multiple OPC UA clients may safely read from the input channel at the same time, multiple OPC UA clients writing to the output channel (e.g., actuator 116-1) at the same time may cause the output channel to receive conflicting or confused control signals, which causes the output channel to behave incorrectly or unpredictably. This may negatively affect any process control loop that includes the actuator. In order to avoid or reduce the risk of output channels receiving conflicting control signals at the same time, embodiments of the present disclosure provide components such as respective OPC UA servers 112-1 to 112-N and / or access determination module 107 to limit the number of OPC UA clients connected to the OPC UA server as a writer to one at any time. Alternatively, given multiple OPC UA clients writing to a given output channel (e.g., actuator 116-1) at the same time, the respective OPC UA servers 112-1 to 112-N and / or access determination module 107 can limit write access to the given output channel to a single OPC UA client among the multiple OPC UA clients.
[0038] As a non-limiting example, the respective OPC UA server 112 and / or the access determination module 107 may authorize an OPC UA client that first connects to the OPC UA server among a plurality of OPC UA clients that attempt to write to a given output channel of the DCN on which the OPC UA server is executed. In this example, the respective OPC UA server 112 and / or the access determination module 107 may deny the OPC UA server connections to the remaining OPC UA clients except for the OPC UA client that first connects to the OPC UA server. The respective OPC UA server 112 and / or the access determination module 107 may further authorize the OPC UA client that first connects to the OPC UA server to write to the given output channel.
[0039] As another non-limiting example, the respective OPC UA server 112 and / or the access determination module 107 may allow all OPC UA clients of a plurality of OPC UA clients that attempt to write to a given output channel of the DCN on which the OPC UA server is executed to connect to the OPC UA server. The access determination module 107 may then authorize and only authorize the OPC UA client that first connects to the OPC UA server to write to the given output channel.
[0040] Figure 2 Schematically depicts examples of how the techniques described herein may be implemented according to various embodiments. Figure 2 As shown, multiple cross-platform process automation (PA) clients 213-1, 213-2, ... 213-M may each and separately send a write request to a cross-platform PA server 212 to write to an output channel 220 of a DCN 210-J hosting the cross-platform PA server 212. The multiple cross-platform PA clients may include, for example, a first cross-platform PA client 213-1 that attempts to connect to the cross-platform PA server 212 at t_1 using a connection request A (e.g., a writer user account connection request) to write to the output channel 220 (e.g., a control signal A to control the output channel 220 at approximately a given time T).
[0041] The plurality of cross-platform PA clients may also include, for example, a second cross-platform PA client 213-2, which attempts to connect to the cross-platform PA server 212 at t_2 (after t_1) using a connection request B to write to the output channel 220 (e.g., control signal B to control the output channel 220 approximately at a given time T). The plurality of cross-platform PA clients may also include, for example, an Mth cross-platform PA client 213-M, which attempts to connect to the cross-platform PA server 212 at t_m (also after t_1) using a connection request m to write to the output channel 220 (e.g., control signal m to control the output channel 220 approximately at a given time T).
[0042] The cross-platform PA server 212 may consult its local records or access the aforementioned PA management system 102 to select and / or authorize one of the multiple cross-platform PA clients to write to the output channel 220. For example, the cross-platform PA server 212 may be restricted, for example by the PA management system 102, to running a single active writer user account at a given moment, where the single active writer user account may be accessed by different cross-platform PA clients (e.g., using different login credentials) at different points in time.
[0043] Continuing with the above example, if the first cross-platform PA client 213-1 sends a connection request A to access a writer account of the cross-platform PA server 212 (e.g., a writer account associated with the cross-platform PA server 212) earlier than any other connection requests (e.g., connection request B, ..., connection request m) from other cross-platform PA clients (e.g., 213-2, ..., 213-M), the PA management system 102 may determine that the first cross-platform PA client 213-1 will access the writer account associated with the cross-platform PA server 212. In response to the PA management system 102 determining that the first cross-platform PA client 213-1 will access the writer account associated with the cross-platform PA server 212, the cross-platform PA client 213-1 may connect with the first cross-platform PA server 212 for the first cross-platform PA client 213-1 to access the writer account (e.g., a single writer account that the cross-platform PA server 212 has) to write to the output channel 212 (e.g., using control signal A).
[0044] Continuing with the above example, the cross-platform PA server 212 and / or the PA management system 102 may determine that all cross-platform PA clients other than the first cross-platform PA client 213-1 will not be able to access the writer account associated with the cross-platform PA server 212. In some embodiments, the PA management system 102 or the cross-platform PA server 212 may deny the corresponding connection requests (e.g., connection request B, ..., and connection request m) by denying their access to the writer account or by denying the connection of these cross-platform PA clients to the cross-platform PA server 212. In some embodiments, in response to the cross-platform PA server 212 and / or the PA management system 102 determining that all cross-platform PA clients 213-2, ..., 213-M other than the first cross-platform PA client 213-1 should not access the writer account associated with the cross-platform PA server 212, these cross-platform PA clients 213-2, ..., 213-M may each be granted a corresponding reader account to read from one or more additional I / O channels of the DCN 210-J.
[0045] In other words, in some embodiments, the cross-platform PA server 212 and / or PA management system 102 may authorize one and only one writer account at a given time for a cross-platform PA client to write to one or more output channels of the DCN 210-J (e.g., based on the node ID), while authorizing multiple reader accounts for different cross-platform PA clients to read data from a given I / O channel of the DCN 210-J at the same time (e.g., see Figure 2 ).
[0046] Figure 3300 is a flowchart illustrating an example method 300 for practicing selected aspects of the present disclosure according to embodiments disclosed herein. For convenience, the operations of the flowchart are described with reference to a system performing the operations. The system may include various components of various computer systems, such as one or more components of a process automation (PA) management system 102, including an access determination module 107 and / or a database 105, and / or one or more components of one or more DCNs, including a cross-platform PA server (e.g., 112, 212). In addition, although the operations of method 300 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, omitted, or added.
[0047] At box 302, a system (e.g., via a cross-platform process automation server such as server 112-1) may receive a request from a cross-platform process automation client (e.g., automatically running on the same or different DCN or on a client device (such as 122-A, which may or may not be operated by a human) to access a writer account associated with the cross-platform process automation server to write to an I / O channel controlled by the cross-platform process automation server. The cross-platform process automation client may be, for example, an OPA UA client hosted by a DCN in a process automation facility. The cross-platform process automation server may be, for example, an OPA UA server (e.g., 112) hosted by another DCN in the process automation facility 108.
[0048] At box 304, the system (e.g., by the cross-platform PA server 212 and / or the access determination module 107) can determine whether the writer account is available. For example, the system can determine whether the writer account associated with the cross-platform process automation server is currently being used. If the system determines that the writer account is currently being used, the system can determine that the writer account is unavailable. The writer account can be one and only one active writer account associated with the cross-platform process automation server at a given moment. In other words, the system can allow one and only one active writer account at a given moment to write to the I / O channel of the DCN hosting the cross-platform process automation server. In some embodiments, the determination of box 304 includes: determining whether the writer semaphore is locked or unlocked. In these embodiments, if the writer semaphore is determined to be locked, the writer account can be determined to be unavailable, and if the writer semaphore is determined to be unlocked, the writer account can be determined to be available.
[0049] At block 306A, in response to determining that the writer account is unavailable, the system can deny the request to access the writer account of the cross-platform process automation server. For example, the system can generate and forward a message to the cross-platform process automation client, wherein the message indicates that the writer account is currently unavailable. Optionally, the message can also encourage or request the cross-platform process automation client to resend the request later.
[0050] At block 306B, the system may additionally / optionally provide the cross-platform process automation client with access to a reader account associated with the cross-platform process automation server. In some embodiments, the system may provide the cross-platform process automation client with access to a reader account associated with the cross-platform process automation server in response to determining that the writer account is unavailable. For example, the access determination module 107 may create or assign a reader account to the cross-platform process automation client to read from one or more I / O channels of the DCN hosting the cross-platform process automation server.
[0051] At block 308, the system may retrieve login credentials to access the writer account of the cross-platform process automation server in response to determining that the writer account is available. In some implementations, the login credentials may be included in a request to access the writer account of the cross-platform process automation server.
[0052] At block 310, the system may authenticate the cross-platform process automation client based on the login credentials to access the writer account of the cross-platform process automation server. As described above, in some embodiments, the request may include the login credentials received by the cross-platform process automation server from the cross-platform process automation client to access the writer account of the cross-platform process automation server.
[0053] At block 312, the system may receive input to be written to the I / O channel from the cross-platform process automation client. The input may be, for example, a control signal or other similar signal that controls the I / O channel. For example, the I / O channel may be a valve, and the control signal may turn the valve right at a given moment (e.g., the current moment). At block 314, the system may write to the I / O channel based on the input received from the cross-platform process automation client. In this case, the I / O channel may be controlled based on the input (e.g., the control signal written to the I / O channel).
[0054] In various embodiments, the system can also detect a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server. In these implementations, in response to detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, the system can release the writer semaphore so that the writer semaphore is unlocked.
[0055] In various embodiments, the system can subscribe to a writer semaphore for a cross-platform process automation client that is denied write access to receive notification when the writer semaphore is released / unlocked. In these embodiments, the cross-platform process automation client can be notified that the writer semaphore is unlocked (indicating that the writer account becomes available). The cross-platform process automation client can then resend a request for writes to the cross-platform process automation server to access the writer account.
[0056] Figure 4 4 is a block diagram of an example computing device 410 that may optionally be used to perform one or more aspects of the techniques described herein. The computing device 410 generally includes at least one processor 414 that communicates with a number of peripheral devices via a bus subsystem 412. These peripheral devices may include a storage subsystem 424, including, for example, a memory subsystem 425 and a file storage subsystem 426, a user interface output device 420, a user interface input device 422, and a network interface subsystem 416. The input and output devices allow for user interaction with the computing device 410. The network interface subsystem 416 provides an interface to an external network and is coupled to corresponding interface devices in other computing devices.
[0057] User interface input devices 422 may include a keyboard, a pointing device (such as a mouse, trackball, touchpad, or graphics tablet), a scanner, a touch screen incorporated into a display, an audio input device such as a voice recognition system, a microphone, and / or other types of input devices. In general, the use of the term "input device" is intended to include all possible types of devices and ways to input information into computing device 410 or over a communication network.
[0058] User interface output device 420 may include a display subsystem, a printer, a fax machine, or a non-visual display, such as an audio output device. The display subsystem may include a cathode ray tube (CRT), a flat panel device (such as a liquid crystal display (LCD)), a projection device, or some other mechanisms for creating a visible image. The display subsystem may also provide a non-visual display such as via an audio output device. Typically, the use of the term "output device" is intended to include devices and methods of all possible types of information output from computing device 410 to a user or another machine or computing device.
[0059] Storage subsystem 424 stores programming and data structures that provide the functionality of some or all of the modules described herein. For example, storage subsystem 424 may include an executable Figure 3 Selected aspects of the method and implementation Figure 1-2 The logic of the various components is depicted in .
[0060] These software modules are typically executed by the processor 414 alone or in combination with other processors. The memory 425 used in the storage subsystem 424 may include multiple memories, including a main random access memory (RAM) 430 for storing instructions and data during program execution and a read-only memory (ROM) 432 in which fixed instructions are stored. The file storage subsystem 426 can provide persistent storage for program and data files, and can include a hard drive, a floppy disk drive and associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules that implement the functionality of certain embodiments may be stored by the file storage subsystem 426 in the storage subsystem 424, or stored in other machines accessible to the processor 414.
[0061] The bus subsystem 412 provides a mechanism for the various components and subsystems of the computing device 410 to communicate with each other as intended. Although the bus subsystem 412 is shown schematically as a single bus, alternative implementations of the bus subsystem may use multiple busses.
[0062] Computing device 410 may be of different types, including a workstation, server, computing cluster, blade server, server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, Figure 4 The description of computing device 410 depicted in FIG. 4 is intended only as a specific example for purposes of illustrating some embodiments. Many other configurations of computing device 410 are possible, with more Figure 4 The computing device depicted may have more or fewer components.
[0063] Although several embodiments have been described and illustrated herein, various other devices and / or structures for performing functions and / or obtaining results and / or one or more of the advantages described herein may be utilized, and each of such variations and / or modifications is considered to be within the scope of the embodiments described herein. More generally, all parameters, dimensions, materials, and configurations described herein are meant to be exemplary, and actual parameters, dimensions, materials, and / or configurations will depend on the specific application or applications for which the teachings are used. Those skilled in the art will recognize or be able to determine many equivalents of the specific embodiments described herein using no more than routine experiments. Therefore, it should be understood that the foregoing embodiments are presented only by way of example, and within the scope of the appended claims and their equivalents, the embodiments may be practiced in a manner different from that specifically described and claimed. The embodiments of the present disclosure relate to each respective feature, system, article, material, kit, and / or method described herein. In addition, if such features, systems, articles, materials, kits, and / or methods are not inconsistent with each other, any combination of two or more such features, systems, articles, materials, kits, and / or methods is included within the scope of the present disclosure.
Claims
1. A computer-implemented method comprising: receiving a request from a cross-platform process automation client to access a writer account of a cross-platform process automation server to write to an input / output (I / O) channel to which access is controlled by the cross-platform process automation server; In response to receiving the request to access the writer account of the cross-platform process automation server, determining whether the writer account is available; as well as In response to determining that the writer account is unavailable, denying the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server, and The cross-platform process automation client is provided access to a reader account of the cross-platform process automation server.
2. The method according to claim 1, further comprising: In response to determining that the writer account is available, retrieving login credentials for accessing the writer account from the cross-platform process automation client; as well as The cross-platform process automation client is authenticated to access the writer account of the cross-platform process automation server based on the retrieved login credentials for accessing the writer account.
3. The method according to claim 2, further comprising: detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server; as well as In response to detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, a writer semaphore is released such that the writer account becomes available for access by another cross-platform process automation client.
4. The method according to claim 2, further comprising: receiving input from the cross-platform process automation client to be written to the I / O channel; as well as The I / O channel is written based on the input received from the cross-platform process automation client.
5. The method according to claim 1, further comprising: A writer semaphore is subscribed for the cross-platform process automation client to receive a notification when the writer semaphore is released.
6. The method according to claim 1, wherein: After authenticating the cross-platform process automation client to access the reader account of the cross-platform process automation server, the method further includes: The I / O channel is read by the cross-platform process automation client and via the cross-platform process automation server.
7. The method according to claim 1, wherein: The cross-platform process automation server is hosted by a distributed control node (DCN), the distributed control node comprising one or more additional I / O channels in addition to the I / O channel.
8. The method according to claim 1, wherein: The request includes login credentials received by the cross-platform process automation server from the cross-platform process automation client for accessing the writer account of the cross-platform process automation server.
9. A system comprising: a cross-platform process automation client requesting access to a writer account of a cross-platform process automation server to write to an input / output (I / O) channel to which access is controlled by the cross-platform process automation server; as well as the cross-platform process automation server, the cross-platform process automation server receiving the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server; wherein the cross-platform process automation server determines whether the writer account is free or in use in response to receiving the request to access the writer account of the cross-platform process automation server, and Wherein, in response to determining that the writer account is in use, the cross-platform process automation server will: denying the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server, and The cross-platform process automation client is provided access to a reader account of the cross-platform process automation server.
10. The system of claim 9, wherein: In response to the writer account being idle, the cross-platform process automation server will: retrieving login credentials for accessing the writer account from the cross-platform process automation client; as well as The cross-platform process automation client is authenticated to access the writer account of the cross-platform process automation server based on the retrieved login credentials for accessing the writer account.
11. The system of claim 9, wherein: In response to the cross-platform process automation server detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, the cross-platform process automation server will determine that the writer account is free for access by another cross-platform process automation client.
12. The system of claim 10, wherein: The cross-platform process automation server will receive input from the cross-platform process automation client to be written to the I / O channel; The cross-platform process automation server will write to the I / O channel based on the input received from the cross-platform process automation client.
13. The system of claim 9, wherein: The cross-platform process automation server will subscribe to a writer semaphore for the cross-platform process automation client to receive notifications when the writer account changes from being in use to being free.
14. The method of claim 1, wherein: After the cross-platform process automation server authenticates the cross-platform process automation client to access the reader account of the cross-platform process automation server, the cross-platform process automation client will read from the I / O channel.
15. The method according to claim 1, wherein: The cross-platform process automation server is hosted by a distributed control node (DCN) that includes one or more additional I / O channels.
16. A cross-platform process automation server comprising one or more processors and a memory storing instructions, the instructions when executed causing the one or more processors to: receiving a request from a cross-platform process automation client to access a writer account of a cross-platform process automation server to write to an I / O channel to which access is controlled by the cross-platform process automation server, In response to the request to access the writer account of the cross-platform process automation server, determining whether the writer account is free or in use; and In response to the writer account being in use, denying the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server, and The cross-platform process automation client is provided access to a reader account of the cross-platform process automation server.
17. The cross-platform process automation server of claim 16, further comprising instructions for: In response to the writer account being idle: retrieving login credentials for accessing the writer account from the cross-platform process automation client; and The cross-platform process automation client is authenticated to access the writer account of the cross-platform process automation server based on the retrieved login credentials for accessing the writer account.
18. The cross-platform process automation server of claim 16, further comprising instructions for: In response to detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, it is determined that the writer account is free for access by another cross-platform process automation client.
19. The cross-platform process automation server of claim 18, further comprising instructions for: receiving input from the cross-platform process automation client to be written to the I / O channel; and The I / O channel is written based on the input received from the cross-platform process automation client.
20. The cross-platform process automation server according to claim 16, wherein: The cross-platform process automation server is hosted by a distributed control node (DCN) that includes one or more additional I / O channels.
