Write access control for input / output channels in industrial process automation environment
By limiting write access to a single writer user account in process automation systems, the system stabilizes actuator behavior and process control loops, preventing conflicts and race conditions.
Patent Information
- Application Number
- JP2024056812
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-03-29
AI Technical Summary
In industrial process automation environments, multiple writer user accounts accessing output channels can lead to conflicting or disruptive control, causing actuators to behave erratically and affecting process control loops.
Implementing a system that limits write access to a single writer user account at a time, using a cross-platform process automation server to manage access and ensure only one active writer account can write to a given output channel, thereby preventing conflicting commands.
This approach reduces the risk of conflicting control signals and race conditions, ensuring stable operation of actuators and process control loops by allowing only one active writer account to access output channels.
Smart Images

Figure 2024144403000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to controlling write access to input / output channels within an industrial process automation environment. [Background technology]
[0002] A process automation facility may include distributed control nodes (DCNs). A number of DCNs have physical input and output (I / O) channels in the form of sensors and actuators, etc. The DCNs may host servers that provide read and write access to such I / O channels via user accounts. The user accounts may include one or more reader user accounts that are authorized to read values from the I / O channels. Alternatively or additionally, the user accounts may include one or more writer user accounts that can read from and write to input channels as well as output channels (e.g., actuators). In some situations, different user accounts may be assigned different roles by the server, and the roles may be assigned read / write permissions to the I / O channels under the control of the server. Summary of the Invention [Means for solving the problem]
[0003] Multiple reader user accounts may be able to safely read from an I / O channel, but multiple writer user accounts writing to an output channel may cause the actuators of the output channel to receive conflicting or confusing control signals. This may result in the actuators behaving erratically or unpredictably. This may have adverse effects on any process control loops that include the actuators. Other output channels may be used to provide data to downstream processes hosted in other DCNs, for example. Multiple writer user accounts writing to these other output channels may result in conflicting and / or unpredictable data being provided to the downstream processes. This may have adverse effects on any process control loops controlled by the downstream processes.
[0004] Implementations of the present disclosure provide permission for a single active writer user account to access a given output channel (e.g., an actuator in a process automation facility) of a distributed control node (DCN) hosted by a server, for example, by restricting a server to a single writer user account at a time, or by restricting write access to a given output channel to a single writer user account at any time. By restricting write access in this manner, the risk of a shared output channel receiving conflicting commands and / or being subject to race conditions may be avoided or reduced.
[0005] In various implementations, the 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 the cross-platform process automation server to write to an input / output (I / O) channel whose 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 to use). In response to determining that the writer account is unavailable (e.g., in use), the method may further include rejecting 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] The writer account may be accessible by different cross-platform process automation clients (e.g., belonging to different platforms) at different times, using different login credentials, for example. As an example, assume that a first cross-platform process automation client accesses the writer account at a first time point T1 using a first login credential. Also assume that a second cross-platform process automation client, different from the first cross-platform process automation client, accesses the writer account at a second time point T2 using a second login credential (different from the first login credential). In this example, if T2 is sufficiently distant in time from T1, the first cross-platform process automation client may access the writer account of the cross-platform process automation server, for example, to write a first control signal (e.g., for clockwise control) to an output channel (e.g., an actuator) of a DCN hosting the cross-platform process automation server. In that case, the output channel may be immediately controlled by the first control signal. The second cross-platform process automation client may, for example, securely access a writer account of the cross-platform process automation server at T2 to write a second control signal (e.g., for controlling a counterclockwise direction) to an output channel (e.g., an actuator) of the DCN hosting the cross-platform process automation server. The output channel may be immediately controlled by the second control signal in response to receiving the second control signal.
[0007] However, if T2 is too close in time to T1 (e.g., approximately the same), implementations of the present disclosure may allow one and only one client between the first and second cross-platform process automation client (and / or other clients, if any) to access the writer account. Continuing with this example, if the cross-platform process automation server receives a request to access the writer account from the first cross-platform process automation client prior to receiving a request to access the writer account from the second cross-platform process automation client (and / or any additional clients), the first cross-platform process automation client may be granted access to the writer account, but the second cross-platform process automation client (and any additional clients, if any) is not granted access to the writer account. As another non-limiting example, a first cross-platform process automation client may be recognized (e.g., labeled) as having a higher priority than other cross-platform process automation clients, such as a second cross-platform process automation client, and correspondingly, the first cross-platform process automation client may be granted access to the writer account, but the second cross-platform process automation client (and any additional clients, if any) is not granted access to the writer account.
[0008] Continuing with this 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, e.g., actuators) controlled by the cross-platform process automation server.
[0009] In other words, following authenticating the cross-platform process automation client to access a reader account on the cross-platform process automation server, the method may further include reading from the I / O channel by the cross-platform process automation client via the cross-platform process automation server.
[0010] In some implementations, 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 in communication with the OPC UA server (e.g., over one or more networks). In some implementations, the I / O channels may correspond to (e.g., operatively coupled to) sensors, or actuators, or other applicable components of a distributed control node (DCN) that hosts the OPC UA server. The DCN may include any number of I / O channels.
[0011] In some implementations, determining whether the writer account is available includes determining whether the writer semaphore is locked or unlocked. In these implementations, if the writer semaphore is determined to be locked, the writer account may 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 may be determined to be available or free.
[0012] In various implementations, the method may further include, in response to determining that the writer account is available, retrieving login credentials for accessing the writer account of the cross-platform process automation server, and authenticating the cross-platform process automation client to access the writer account of the cross-platform process automation server based on the login credentials. In some implementations, the request may include 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. In various implementations, the method may further include receiving input from the cross-platform process automation client to be written to the I / O channel, and writing to the I / O channel based on the input received from the cross-platform process automation client. The input may include, for example, a control signal for controlling the I / O channel. In some implementations, in some cases, the I / O channel may be controlled by the control signal upon receiving the control signal.
[0013] In various implementations, the method may further include detecting a disconnection between the cross-platform process automation client and a 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 method may further include determining that the writer account of the cross-platform process automation server becomes available. In some implementations, determining that the writer account of the cross-platform process automation server becomes available can be based on determining that the writer semaphore is released, which means that the writer semaphore is unlocked.
[0014] In various implementations, the method may further include having the cross-platform process automation client monitor the writer semaphore to receive notification when the writer semaphore is released / unlocked. By monitoring the writer semaphore, the cross-platform process automation client may receive timely notification that the writer semaphore is released / unlocked (indicating that the writer account becomes available). In response to receiving the notification indicating that the writer account becomes available, the cross-platform process automation client may resend a request to access the writer account to the cross-platform process automation server to write to the I / O channel.
[0015] Additionally, some implementations include one or more processors of one or more computing devices, where the one or more processors are operable to execute instructions stored in associated memory, the instructions configured to cause performance of any of the methods described above. Some implementations also include one or more non-transitory computer-readable storage media that store computer instructions executable by the one or more processors to perform any of the methods described above.
[0016] In another aspect, a system may include one or more processors and a memory that stores instructions that, in response to execution 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 the cross-platform process automation server to write to an input / output (I / O) channel coupled to and operatively 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 implementations, the system may further include instructions for, in response to determining that the writer account is unavailable, denying a request from the user to access the writer account of the cross-platform process automation server and / or providing the cross-platform process automation client access to a reader account of the cross-platform process automation server.
[0018] It should be appreciated that all combinations of the above concepts and additional concepts described in more detail herein are contemplated as being part of the subject matter disclosed herein, for example, all combinations of claimed subject matter appearing at the end of this disclosure are contemplated as being part of the subject matter disclosed herein. [Brief description of the drawings]
[0019] [Figure 1] FIG. 1 illustrates generally an environment in which selected aspects of the present disclosure may be implemented, according to various embodiments. [Diagram 2] FIG. 1 illustrates generally an example of how the techniques described herein may be implemented, according to various embodiments. [Diagram 3] FIG. 1 illustrates an exemplary method for carrying out selected aspects of the present disclosure. [Figure 4] FIG. 1 illustrates generally an exemplary computer architecture on which selected aspects of the present disclosure may be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] Implementations described herein relate to managing access to shared input / output (I / O) channels, such as sensors, actuators, and / or other components for process automation equipment. In various implementations, a single active writer user account is permitted to write to a given output channel (e.g., actuators in a process automation equipment) of a distributed control node (DCN) hosting a server. In some implementations, a server is limited to a single writer user account at a time. In some implementations, 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 may be avoided or reduced.
[0021] 1, an exemplary environment 100 in which various aspects of the present disclosure may be implemented is generally illustrated. A process automation management system 102 is operably coupled to a process automation network 106 within a process automation facility 108. The process automation facility 108 may take many 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 natural gas refinery, a catalyst factory, a manufacturing facility, an offshore oil platform, etc.
[0022] 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 beyond, and / or other types of communication networks of various types of topologies (e.g., mesh). Process automation is often employed in scenarios where failure costs tend to be high, both in terms of personnel safety and financial costs to stakeholders. Thus, in various implementations, the process automation network 106 may be configured with redundancy and / or backups to provide high availability (HA) and / or high quality of service (QoS).
[0023] The process automation management system 102 may be connected to multiple client devices. For example, the process automation management system 102 may be connected to one or more local client devices (e.g., 122-A and 122-C) and / or connected to one or more remote client devices (e.g., 122-B). The local client devices 122-A or 122-C may 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 may be connected to the process automation management system 102 via one or more wide area networks 120 (e.g., the Internet). The local and remote client devices may be operable by personnel, such as a system integrator, to configure and / or interact with various aspects of the process automation management system 102.
[0024] In some implementations, the process automation management system 102 may include an access decision module 107 and a database 105 that stores information used by the access decision module 107 to implement selected aspects of the present disclosure. Various aspects of the process automation management system 102, such as the access decision module 107, may be implemented using any combination of hardware and software. In some implementations, 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 and in FIG. 1, for example, the process automation management system 102 is implemented within the process automation facility 108, for example, within a single building, or across a single campus of buildings, or in other industrial infrastructure. In such implementations, the process automation management system 102 may be implemented on one or more local computing systems, such as on one or more server computers.
[0025] In addition to the process automation management system 102, various nodes (e.g., one or more DCNs) may be operatively coupled to the process automation network 106. In FIG. 1, for example, N (a positive integer) DCNs (a first DCN 110-1, a second DCN 110-2, ..., and an Nth DCN 110-N) are operatively coupled to the process automation network 106. Each DCN 110 may host a corresponding cross-platform process automation server 112-1, 112-2, ..., or 112-N. Each DCN 110 may also include circuitry and / or logic (not shown), which may 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.
[0026] Each DCN (e.g., 110-1) may have a specific role to play within the process automation network 106. A “compute” DCN may, for example, control a process loop (e.g., a chemical process loop) in which various “field” devices (e.g., devices with sensors and / or actuators) interface with each other to execute several functional control blocks (FBs). In some implementations, software components implemented on any DCN mentioned herein may convert analog signals to digital and / or convert signals, for example, between different units of measurement. Additionally, in some implementations, software components implemented on the DCN 110 may be configured to convert data between various protocols. For example, a particular vendor's DCN (or other legacy devices) may not be natively configured to communicate data using OPC Unified Architecture (OPC UA). In some such implementations, a separate DCN 110 may be deployed to convert this data from the vendor's proprietary format to OPC UA. Some such DCNs 110 are sometimes referred to as "gateways" or "bridges" because they form a link between legacy technologies and standards such as OPC UA.
[0027] Each DCN may have one or more input / output (I / O) components accessible as “channels” that define at least some of its operational technology (OT) capabilities and, more generally, its role in the process automation equipment 108. For example, a first DCN 110-1 includes a flow transmitter (FT) component 114-1 (as an input channel) and an actuator (e.g., a valve) 116-1 (as an output channel).
[0028] The actuator 116-1 (as well as other actuators described herein) may be any electrical, hydraulic, mechanical, and / or pneumatic component that is controllable to affect some aspect of the process automation workflow occurring in the process automation equipment 108. For example, the first DCN 110-1 may 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 actuators 116 include, but are not limited to, valves, pistons, rotors, switches, heaters, coolers, agitators, injectors, devices for creating vacuum, belts, tracks, gears, grippers, motors, relays, servo mechanisms, and the like.
[0029] Each DCN 110 may have different OT capabilities relative to one or more (e.g., all) of the other DCNs 110. In FIG. 1, for example, the second DCN 110-2 includes an 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) may take a variety of forms including, but not limited to, a pressure sensor, a temperature sensor, a flow sensor (e.g., FT component 114), various types of proximity sensors, a light sensor (e.g., a photodiode), a pressure wave sensor (e.g., a microphone), a humidity sensor (e.g., a humistor), a radiation dosimeter, a laser absorption spectrograph (e.g., a multi-pass optical cell), and the like. Like the first DCN 110-1, the fourth DCN 110-4 also includes both an FT component 114-4 and an actuator 116-4.
[0030] Unlike DCNs 110-1 through 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 “compute-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 an at least partially automated process. For example, the Nth DCN 110-N may control a single process loop (e.g., a chemical process control loop) that involves one or more other DCNs 110. In some cases, a compute DCN (e.g., the Nth DCN 110-N) may perform a role similar to an autopilot on an airplane, where the compute DCN receives various signals and controls various actuators based on those signals and various criteria and / or thresholds. For example, the Compute DCN may monitor various sensors (e.g., sensor 118-3) to ascertain data about chemical levels, flow rates (e.g., across valves), tank temperatures, control rates, etc., and may control one or more actuators (e.g., actuator 116-1 and / or actuator 116-4) based on this data and / or a comparison of this data to various criteria and / or thresholds. For example, the Compute DCN (e.g., 110-N) may control actuator 116-4 by sending a corresponding command to the fourth DCN 110-4, which may in some cases conform to a protocol specific to the fourth DCN 110-4.
[0031] Multiple DCNs may have multiple physical I / O components and thus multiple I / O channels that may be accessed by other devices or systems, such as, for example, other DCNs, access determination module 107. To control access to these I / O channels, each DCN 110 may host a cross-platform process automation server, such as, for example, an OPC UA server, that provides access to various data resources of the DCN 110, including 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 running on a DCN 110 (e.g., 113 running 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 an input channel associated with a sensor, such as, for example, an FT component 114-1. Similarly, 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 to provide control signals or commands to an actuator, such as actuator 116-1. Although not shown in FIG 1, any of the DCNs 110-1-110-N may also host their own OPC UA clients along with their respective OPC UA servers 112-1-112-N.
[0032] As an example, an OPC UA server (e.g., 112-1) running on the first DCN 110-1 may be reachable, for example, by an OPC UA client using the following connection string: opc.tcp: / / 10.0.1.1:48010. In this example, the "opc.tcp" string may specify the connection protocol to be used. The number "10.0.1.1" may be the IP address of the first DCN 110-1 running the OPC UA server 112-1. The number "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 then provide access to I / O channels or other data (e.g., sensor readings stored in memory, results of calculations, semaphore values, etc.) associated with the first DCN 110-1. Each of the I / O channels may be referenced using a node ID. As a non-limiting example, actuator 116-1 may be referenced using the following node ID: ns=5;i=5242.
[0033] In some situations, multiple OPC UA clients (e.g., 113) may attempt to read from an input channel (e.g., FT component 114-1) of a DCN (e.g., first DCN 110-1) at the same time by connecting to a server (e.g., server 112-1) running on the DCN and / or referencing the input channel using a node ID for the input channel. In some situations, multiple OPC UA clients may attempt to write to an output channel (e.g., actuator 116-1) of a DCN (e.g., first DCN 110-1) at the same time by connecting to a server (e.g., server 112-1) running on the DCN and / or referencing the output channel using a node ID for the output channel.
[0034] In the above situation, multiple OPC UA clients may be able to safely read from an input channel at the same time, but multiple OPC UA clients may write to an output channel (e.g., actuator 116-1) at the same time, causing the output channel to receive conflicting or confusing control signals, thereby causing the output channel to behave erratically or unpredictably. This may have adverse effects on any process control loop that includes the actuator. To avoid or reduce the risk of an output channel receiving conflicting control signals at the same time, implementations of the present disclosure provide components such as individual OPC UA servers 112-1-112-N and / or access decision module 107 to limit the number of OPC UA clients connected as writers with an OPC UA server to one at any given moment. Alternatively, if there are multiple OPC UA clients simultaneously writing to a given output channel (e.g., actuator 116-1), individual OPC UA servers 112-1 through 112-N and / or access determination module 107 can limit write access to the given output channel to a single OPC UA client from among the multiple OPC UA clients.
[0035] As a non-limiting example, an individual OPC UA server 112 and / or access decision module 107 may authorize an OPC UA client that first connects to an OPC UA server among multiple OPC UA clients attempting to write to a given output channel of a DCN on which the OPC UA server runs. In this example, the individual OPC UA server 112 and / or access decision module 107 may reject the connection of the OPC UA server to the rest of the OPC UA clients other than the OPC UA client that first connects to the OPC UA server. The individual OPC UA server 112 and / or access decision module 107 may further authorize the OPC UA client that first connects to the OPC UA server to write to the given output channel.
[0036] As another non-limiting example, an individual OPC UA server 112 and / or access determination module 107 can allow all OPC UA clients of a plurality of OPC UA clients attempting to write to a given output channel of the DCN on which the OPC UA server runs to connect with the OPC UA server. The access determination module 107 can then allow the OPC UA client that first connects to the OPC UA server to write to the given output channel, and only that OPC UA client.
[0037] 2 illustrates an example of how the techniques described herein may be implemented, according to various embodiments. As illustrated in FIG. 2, multiple cross-platform process automation (PA) clients 213-1, 213-2, ... 213-M may each and respectively send a write request to the cross-platform PA server 212 to write to the output channel 220 of the DCN 210-J that hosts 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 with a connection request A (e.g., a writer user account connection request) at t_1 to write to the output channel 220 (e.g., a control signal A for controlling the output channel 220 at approximately a given instant T).
[0038] The multiple cross-platform PA clients may further include a second cross-platform PA client 213-2 that attempts to connect to the cross-platform PA server 212 at t_2 (following t_1) with a connection request B to write (e.g., a control signal B for controlling the output channel 220 at approximately the given instant T) to the output channel 220. The multiple cross-platform PA clients may further include an Mth cross-platform PA client 213-M that attempts to connect to the cross-platform PA server 212 at t_m (also following t_1) with a connection request m to write (e.g., a control signal m for controlling the output channel 220 at approximately the given instant T) to the output channel 220.
[0039] The cross-platform PA server 212 can either consult its local records or access the above-mentioned PA management system 102 to select and / or authorize one of multiple cross-platform PA clients to write to the output channel 220. For example, the cross-platform PA server 212 can be limited, e.g., 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 can be accessed by different cross-platform PA clients (e.g., using different login credentials) at different times.
[0040] Continuing with the above example, if a first cross-platform PA client 213-1 sends a connection request A to the cross-platform PA server 212 to access a writer account (e.g., a writer account associated with the cross-platform PA server 212) before 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 can determine that the first cross-platform PA client 213-1 should access the writer account associated with the cross-platform PA server 212. In response to a determination by the PA management system 102 that the first cross-platform PA client 213-1 should access a writer account associated with the cross-platform PA server 212, the first cross-platform PA client 213-1 may connect with the cross-platform PA server 212 to access a writer account (e.g., a single writer account that the cross-platform PA server 212 has) for the first cross-platform PA client 213-1 to write to the output channel 220 (e.g., with a control signal A).
[0041] 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 should not have access to a writer account associated with the cross-platform PA server 212. In some implementations, the PA management system 102 or the cross-platform PA server 212 may reject the corresponding connection requests (e.g., connection request B, ..., and connection request m) by denying their access to the writer account or by denying connections of these cross-platform PA clients to the cross-platform PA server 212. In some implementations, in response to a determination by the cross-platform PA server 212 and / or the PA management system 102 that all cross-platform PA clients 213-2, ..., 213-M other than the first cross-platform PA client 213-1 should not have access to a writer account associated with the cross-platform PA server 212, these cross-platform PA clients 213-2, ..., 213-M may each be permitted to read from one or more additional I / O channels of DCN 210-J using their respective reader accounts.
[0042] In other words, in some implementations, the cross-platform PA server 212 and / or PA management system 102 may allow one and only one writer account at a given moment for a cross-platform PA client to write to one or more output channels of DCN 210-J (e.g., based on node ID), while allowing multiple reader accounts for different cross-platform PA clients to simultaneously read data from a given I / O channel of DCN 210-J (e.g., see dashed lines in FIG. 2 ).
[0043] 3 is a flowchart illustrating an example method 300 for implementing selected aspects of the present disclosure, according to implementations disclosed herein. For convenience, the operations of the flowchart are described with reference to a system that performs 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 decision 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). Moreover, while the operations of the method 300 are shown in a particular order, this is not intended to be limiting. One or more operations may be rearranged, omitted, or added.
[0044] In block 302, the system may receive a request from a cross-platform process automation client (e.g., running automatically on the same or a different DCN or on a client device such as 122-A, which may or may not be operated by a human) via a cross-platform process automation server, such as server 112-1, 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 OPC UA client hosted by a DCN within the process automation facility. The cross-platform process automation server may be, for example, an OPC UA server (e.g., 112) hosted by another DCN within the process automation facility 108.
[0045] In block 304, the system may determine, for example, via the cross-platform PA server 212 and / or the access determination module 107, whether a writer account is available. For example, the system may determine whether a 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 may determine that the writer account is unavailable. The writer account may be the one and only active writer account associated with the cross-platform process automation server at a given moment. In other words, the system may allow the one and only active writer account at a given moment to write to an I / O channel of the DCN hosting the cross-platform process automation server. In some implementations, the determination of block 304 includes determining whether a writer semaphore is locked or unlocked. In these implementations, if the writer semaphore is determined as locked, the writer account may be determined as unavailable, and if the writer semaphore is determined as unlocked, the writer account may be determined as available.
[0046] In block 306A, in response to determining that the writer account is unavailable, the system may deny the request to access the writer account of the cross-platform process automation server. For example, the system may generate and forward a message to the cross-platform process automation client, where the message indicates that the writer account is currently unavailable. In some cases, the message may further prompt or request the cross-platform process automation client to resend the request at a later time.
[0047] In 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 implementations, in response to determining that the writer account is unavailable, the system may provide the cross-platform process automation client with access to a reader account associated with the cross-platform process automation server. For example, the access determination module 107 described above 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.
[0048] In response to determining that the writer account is available, the system may retrieve login credentials for accessing the writer account of the cross-platform process automation server at block 308. In some implementations, the login credentials may be included in a request to access the writer account of the cross-platform process automation server.
[0049] At block 310, the system may authenticate the cross-platform process automation client to access a writer account of the cross-platform process automation server based on the login credentials. As mentioned above, in some implementations, the request may include login credentials received by the cross-platform process automation server from the cross-platform process automation client to access a writer account of the cross-platform process automation server.
[0050] At block 312, the system may receive an input from a cross-platform process automation client to be written to the I / O channel. The input may be, for example, a control signal for controlling the I / O channel, or other similar signal. For example, the I / O channel may be a valve, and the control signal may turn the valve to the 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).
[0051] In various implementations, the system may further 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 may release the writer semaphore such that the writer semaphore is unlocked.
[0052] In various implementations, the system may allow a cross-platform process automation client that has been denied write access to view the writer semaphore to receive notification when the writer semaphore is released / unlocked. In these implementations, the cross-platform process automation client may be notified that the writer semaphore is unlocked (indicating that the writer account becomes available). The cross-platform process automation client may then resend the request for writing to the cross-platform process automation server to access the writer account.
[0053] 4 is a block diagram of an exemplary computing device 410 that may be utilized to possibly perform one or more aspects of the techniques described herein. The computing device 410 typically includes at least one processor 414 that communicates with a number of peripheral devices via a bus subsystem 412. These peripheral devices may include, for example, a storage subsystem 424 including 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 enable user interaction with the computing device 410. The network interface subsystem 416 provides an interface to external networks and is coupled to corresponding interface devices in other computing devices.
[0054] The user interface input devices 422 may include a keyboard and pointing devices such as a mouse, trackball, touchpad, or graphics tablet, a scanner, a touch screen integrated into a display, a voice recognition system, an audio input device such as a microphone, and / or other types of input devices. In general, use of the term "input device" is intended to include all possible types of devices and methods for inputting information into the computing device 410 or onto a communications network.
[0055] The user interface output devices 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 flat panel device such as a cathode ray tube (CRT), a liquid crystal display (LCD), a projection device, or some other mechanism for creating a visible image. The display subsystem may also provide a non-visual display, such as via an audio output device. In general, use of the term "output device" is intended to include all possible types of devices and methods for outputting information from the computing device 410 to a user or to another machine or computing device.
[0056] 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 logic for performing selected aspects of the method of FIG. 3, as well as for implementing the various components illustrated in FIGS. 1-2.
[0057] These software modules are generally executed by the processor 414 alone or in combination with other processors. The memory 425 used within the storage subsystem 424 may include several 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 may provide persistent storage for program and data files and may include a hard disk drive, a floppy disk drive with associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules implementing the functionality of some implementations may be stored by the file storage subsystem 426 within the storage subsystem 424 or within other machines accessible by the processor 414.
[0058] The bus subsystem 412 provides a mechanism for allowing the various components and subsystems of the computing device 410 to communicate with each other as intended. Although the bus subsystem 412 is shown diagrammatically as a single bus, alternative implementations of the bus subsystem may use multiple buses.
[0059] The computing device 410 can be of different types, including a workstation, a server, a computing cluster, a blade server, a server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, the description of the computing device 410 shown in Figure 4 is only a specific example to illustrate some implementations. Numerous other configurations of the computing device 410 are possible having more or fewer components than the computing device shown in Figure 4.
[0060] Although several implementations have been described and illustrated herein, various other means and / or structures for performing the functions and / or obtaining the results and / or one or more of the advantages described herein may be utilized, and each of such variations and / or modifications are deemed to be within the scope of the implementations described herein. More generally, all parameters, dimensions, materials, and configurations described herein are exemplary, and the actual parameters, dimensions, materials, and / or configurations will depend on the particular application or applications for which the teachings are used. Those skilled in the art will recognize, or be able to ascertain, at most using routine experimentation, numerous equivalents to the specific implementations described herein. Thus, the above implementations are presented by way of example only, and it should be understood that within the scope of the appended claims and their equivalents, implementations may be practiced other than as specifically described and claimed. Implementations of the present disclosure are directed to each individual feature, system, article, material, kit, and / or method described herein. In addition, any combination of two or more such features, systems, articles, materials, kits, and / or methods is included within the scope of the present disclosure, if such features, systems, articles, materials, kits, and / or methods are not mutually inconsistent. [Explanation of symbols]
[0061] 100 Example Environment 102 Process automation management system, PA management system, Process automation (PA) management system 105 Database 106 Process Automation Network 107 Access Decision Module 108 Process Automation Equipment 110, 210-J DCN 110-1 1st DCN, DCN 110-2 Second DCN, DCN 110-3 3rd DCN, DCN 110-4 4th DCN, DCN 110-NNth DCN, DCN, Compute DCN 112 OPC UA Server, Cross-platform PA Server 112-1 Cross-platform process automation server, OPC UA server, server 112-2~112-N Cross-platform process automation server, OPC UA server 113 OPC UA Client 114-1 Flow Transmitter (FT) components, FT components 114-2, 114-4 FT components 116, 116-4 Actuator 116-1 Actuators (e.g., valves), actuators 118-3 Sensor 120 Wide Area Network 122-A, 122-C Local client device, client device 122-B Remote Client Device 212 Cross-platform PA Server 213-1 Cross-platform Process Automation (PA) client, the first cross-platform PA client 213-2 Cross-platform Process Automation (PA) client, 2nd cross-platform PA client, cross-platform PA client 213-M Cross-Platform Process Automation (PA) Client, Mth Cross-Platform PA Client, Cross-Platform PA Client 220 output channels 410 Computing Devices 412 Bus Subsystem 414 processor 416 Network Interface Subsystem 420 User Interface Output Device 422 User Interface Input Devices 424 Memory Subsystem 425 Memory Subsystem, Memory 426 File Storage Subsystem 430 Main Random Access Memory (RAM) 432 Read-Only Memory (ROM)
Claims
1. 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 whose 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; in response to determining that the writer account is unavailable; rejecting the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server; providing the cross-platform process automation client with access to a reader account of the cross-platform process automation server; A method comprising:
2. in response to determining that the writer account is available, retrieving from the cross-platform process automation client login credentials for accessing the writer account; authenticating the cross-platform process automation client to access the writer account of the cross-platform process automation server based on the retrieved login credentials for accessing the writer account; The method of claim 1, further comprising:
3. detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server; in response to detecting the disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, releasing a writer semaphore so that the writer account becomes available for access by additional cross-platform process automation clients; The method of claim 2, further comprising:
4. receiving input from the cross-platform process automation client to be written to the I / O channel; writing to the I / O channel based on the input received from the cross-platform process automation client; The method of claim 2, further comprising:
5. having the cross-platform process automation client monitor the writer semaphore to receive notification when the writer semaphore is released. The method of claim 1, further comprising:
6. The method further comprising: following authenticating the cross-platform process automation client to access the reader account of the cross-platform process automation server; reading from the I / O channel by the cross-platform process automation client via the cross-platform process automation server. The method of claim 1, further comprising:
7. The method of 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 in addition to the I / O channel.
8. The method of 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. 1. A system comprising: a cross-platform process automation client for requesting access to a writer account of a cross-platform process automation server to write to an input / output (I / O) channel whose access is controlled by the cross-platform process automation server; the cross-platform process automation server for receiving the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server; Equipped with and determining, by the cross-platform process automation server, whether the writer account is free or in use in response to receiving the request to access the writer account at the cross-platform process automation server; the cross-platform process automation server in response to determining that the writer account is in use; rejecting the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server; The system is for providing the cross-platform process automation client with access to a reader account of the cross-platform process automation server.
10. the cross-platform process automation server responds to the writer account being free; Retrieving from the cross-platform process automation client login credentials for accessing the writer account; 10. The system of claim 9, further comprising: a processor configured to: authenticate the cross-platform process automation client to access the writer account of the cross-platform process automation server based on the retrieved login credentials for accessing the writer account.
11. 10. The system of claim 9, wherein the cross-platform process automation server is responsive to detecting, by the cross-platform process automation server, a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server to determine that the writer account is freely accessible to additional cross-platform process automation clients.
12. the cross-platform process automation server is for receiving input from the cross-platform process automation client to be written to the I / O channel; 11. The system of claim 10, wherein the cross-platform process automation server is to write to the I / O channel based on the input received from the cross-platform process automation client.
13. 10. The system of claim 9, wherein the cross-platform process automation server is adapted to cause the cross-platform process automation client to monitor a writer semaphore to receive notification when the writer account changes from busy to free.
14. 2. The method of claim 1, wherein 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, followed by the cross-platform process automation client to read from the I / O channel.
15. The method of 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. 1. A cross-platform process automation server comprising: one or more processors; and a memory storing instructions that, when executed, cause 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 whose access is controlled by the cross-platform process automation server; determining whether the writer account is free or in use in response to the request to access the writer account of the cross-platform process automation server; in response to the writer account being in use; rejecting the request from the cross-platform process automation client to access the writer account of the cross-platform process automation server; providing the cross-platform process automation client with access to a reader account of the cross-platform process automation server; A cross-platform process automation server that lets you:
17. In response to the writer account being available, Retrieving from the cross-platform process automation client login credentials for accessing the writer account; authenticating the cross-platform process automation client to access the writer account of the cross-platform process automation server based on the retrieved login credentials for accessing the writer account; 20. The cross-platform process automation server of claim 16, further comprising instructions for:
18. In response to detecting a disconnection between the cross-platform process automation client and the writer account of the cross-platform process automation server, determining that the writer account is freely accessible to additional cross-platform process automation clients.
20. The cross-platform process automation server of claim 16, further comprising instructions for:
19. receiving input from the cross-platform process automation client to be written to the I / O channel; writing to the I / O channel based on the input received from the cross-platform process automation client; 20. The cross-platform process automation server of claim 18, further comprising instructions for:
20. 20. The cross-platform process automation server of 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.
Citation Information
Patent Citations
Data processor
JP2002334068A
Controlling access to documents using file locking
JP2011520200A
On-vehicle device, information processing method, and computer program
JP2022139769A
