Method and apparatus for broadcasting data packets in a process control environment

By introducing BLE bridging devices into industrial process control environments and utilizing encryption and authentication mechanisms, the compatibility and security issues between BLE communication protocols and industrial communication protocols are resolved. This enables secure and efficient data transmission and interoperability between devices, while reducing maintenance and expansion costs.

CN111556474BActive Publication Date: 2024-09-27FISHER CONTROLS INT LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010082966.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-02-08
Filing Date
2020-02-07
Publication Date
2024-09-27
Estimated Expiration
2040-02-07

AI Technical Summary

Technical Problem

Existing industrial communication protocols are incompatible with Bluetooth Low Energy (BLE) communication protocols in process control environments, leading to interoperability and security issues between devices, especially when broadcasting data packets, making data vulnerable to access by unauthorized devices.

Method used

By introducing a BLE bridging device between field and remote devices, and utilizing encryption algorithms and authentication mechanisms, random values ​​and encryption keys are generated to ensure the secure transmission and reception of data packets. This includes the encryption and authentication of the payload, and the generation of message authentication codes using AES-128 block cipher and CBC-MAC to ensure data integrity and confidentiality.

Benefits of technology

It improves the security and interoperability of BLE networks in process control environments, ensures that only authorized devices can access data packets, reduces maintenance and expansion costs, reduces the need for lookup tables, and improves the speed and efficiency of communication between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111556474B_ABST
    Figure CN111556474B_ABST
Patent Text Reader

Abstract

An exemplary method includes: in response to receiving a byte array including process data, determining whether to send auxiliary data from a field device based on a counter, the auxiliary data including an encryption key identifier and an initialization vector; when the auxiliary data is to be sent, sending a first data packet including the auxiliary data to a remote device; and determining a value of a source bit based on a connection type between the field device and the remote device, the source bit and the counter included in associated data. The method also includes: generating a random value based on the source bit and the initialization vector; encrypting a payload including the byte array based on the encryption key identifier and the random value; and sending a second data packet to the remote device, the second data packet including the associated data and the encrypted payload.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to process control systems and, more particularly, to methods and apparatus for broadcasting data packets in a process control environment. Background Art

[0002] Industrial communication protocols are implemented to manage industrial process control operations associated with field devices and other types of process devices located in an industrial process control environment. Examples of such industrial communication protocols include the Highway Addressable Remote Transducer (HART) communication protocol, the PROFIBUS communication protocol, the FOUNDATION Fieldbus communication protocol, the MODBUS communication protocol, etc.

[0003] The Bluetooth Low Energy (BLE) communication protocol is implemented as a wireless personal area network communication protocol that facilitates wireless communication between BLE compatible devices. Examples of such BLE compatible devices include desktop computers, laptop computers, tablet devices, smartphones, and personal digital assistants (PDAs). Conventionally, data formatted according to the BLE communication protocol is incompatible with data formatted according to the above-mentioned industrial communication protocols. Summary of the invention

[0004] Disclosed herein are methods and apparatus for broadcasting data packets in a process control environment. An exemplary method for sending process data associated with a process control system to a remote device includes: in response to receiving a byte array including process data from a field device microcontroller, determining whether to send auxiliary data from the field device based on a counter, the auxiliary data including an encryption key identifier and an initialization vector; when the auxiliary data is to be sent, sending a first data packet including the auxiliary data to the remote device; and determining a value of a source bit based on a connection type between the field device and the remote device, the source bit and the counter being included in the associated data. The method also includes: generating a random value based on the source bit and the initialization vector; encrypting a payload including the byte array based on the encryption key identifier and the random value; and sending a second data packet to the remote device, the second data packet including the associated data and the encrypted payload.

[0005] An exemplary apparatus for sending process data associated with a process control system to a remote device includes: a security manager, which is used to: in response to receiving a byte array including process data from a field device microcontroller, determine whether to send auxiliary data from the field device based on a counter, the auxiliary data including an encryption key identifier and an initialization vector; when the auxiliary data is to be sent, send a first data packet including the auxiliary data to the remote device; determine the value of a source bit based on a connection type between the field device and the remote device, the source bit and the counter are included in the associated data; generate a random value based on the source bit and the initialization vector; and encrypt a payload including the byte array based on the encryption key identifier and the random value. The apparatus also includes: a Bluetooth Low Energy (BLE) interface, which is used to send a second data packet to the remote device, the second data packet including the associated data and the encrypted payload.

[0006] An exemplary tangible computer-readable storage medium includes instructions that, when executed, cause a field device to send process data associated with a process control system to a remote device, the field device to at least: in response to receiving a byte array including process data from a field device microcontroller, determine based on a counter whether to send auxiliary data from the field device, the auxiliary data including an encryption key identifier and an initialization vector; when the auxiliary data is to be sent, send a first data packet including the auxiliary data to the remote device; and determine a value of a source bit based on a connection type between the field device and the remote device, the source bit and the counter included in the associated data. The instructions also cause the field device to: generate a random value based on the source bit and the initialization vector; encrypt a payload including the byte array based on the encryption key identifier and the random value; and send a second data packet to the remote device, the second data packet including the associated data and the encrypted payload.

[0007] Another exemplary method of obtaining process data associated with a process control system received from a field device includes: in response to receiving a data packet, identifying at a computing device associated data and a payload included in the data packet, the associated data including a source bit; determining at the computing device a type of connection between the field device and the computing device based on the source bit; and determining at the computing device an encryption key identifier and an initialization vector based on an auxiliary data packet received prior to the data packet. The method also includes: generating at the computing device a random value based on the source bit and the initialization vector, the random value indicating an input to a data encryption algorithm used by the field device to encrypt the payload; and extracting from the payload the process data associated with the process control system using the data encryption algorithm based on the encryption key identifier and the random value at the computing device.

[0008] Another exemplary tangible computer-readable storage medium includes instructions that, when executed, cause a computing device to obtain process data associated with a process control system received from a field device, the computing device to at least: in response to receiving a data packet, identify associated data and a payload included in the data packet, the associated data including a source bit; determine a type of connection between the field device and the computing device based on the source bit; determine an encryption key identifier and an initialization vector based on an auxiliary data packet received prior to the data packet. The instructions are also to: generate a random value based on the source bit and the initialization vector, the random value indicating an input to a data encryption algorithm used by the field device to encrypt the payload; and extract process data associated with the process control system from the payload using the data encryption algorithm based on the encryption key identifier and the random value.

[0009] An exemplary system for obtaining process data received from a field device associated with a process control system includes: a field device for broadcasting a data packet including a payload and associated data, the payload including process data associated with the process control system, the associated data including a source bit. The system also includes a computing device for: in response to receiving the data packet, identifying a source bit and a payload included in the data packet; determining a type of connection between the field device and the computing device based on the source bit; and determining an encryption key identifier and an initialization vector based on an auxiliary data packet received prior to the data packet. The computing device is also for: generating a random value based on the source bit and the initialization vector, the random value indicating an input to a data encryption algorithm used by the field device to encrypt the payload; and extracting the process data associated with the process control system from the payload using the data encryption algorithm based on the encryption key identifier and the random value. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 is a schematic diagram of an example environment according to the teachings of the present disclosure, the example environment including an example field device having an example network bridge to bridge communications between the field device and an example remote device over an example BLE network.

[0011] Figure 2 According to the teachings of this disclosure Figure 1 Another schematic diagram of an exemplary environment of Figure 1 An exemplary field device having an exemplary network bridge to bridge communications between the field device and first to third exemplary remote devices via an exemplary BLE network.

[0012] Figure 3 is included in Figure 1-Figure 2 In an exemplary field device Figure 1-Figure 2A block diagram of an exemplary implementation of a field device BLE bridge apparatus.

[0013] Figure 4 is included in Figure 1 and / or Figure 3 A block diagram of an exemplary implementation of a remote device BLE bridge apparatus in a remote device.

[0014] Figure 5 is a block diagram of an exemplary implementation of attribute protocol packets.

[0015] Figure 6 yes Figure 5 An example implementation of an ATT payload.

[0016] Figure 7 Is Figure 1-Figure 4 Exemplary field devices and / or Figure 1 , Figure 3 and / or Figure 4 Implementation of an exemplary nonce value generated by an exemplary remote device.

[0017] Fig. 8A is an illustrative example of a counter mode encryption method.

[0018] Figure 8B is an illustrative example of a Cipher Block Chaining - Message Authentication Code (CBC-MAC) method for generating a message authentication code.

[0019] Fig.9A is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 An exemplary field device BLE bridge is used to broadcast the Figure 1-Figure 4 Data grouping of an exemplary field device.

[0020] Fig. 9B is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary field device BLE bridge 104 may construct a data packet based on the payload 600 and the flag 602 when the payload 600 is to be authenticated.

[0021] Fig. 9C is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary field device BLE bridge 104 may construct a data packet based on the payload 600 and the tag 602 when the data packet is to be authenticated and encrypted.

[0022] Fig.9D is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4An exemplary field device BLE bridge is used to send data packets via a direct connection.

[0023] Fig. 10A is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 An exemplary remote device BLE bridge is provided to extract process data from an authenticated payload.

[0024] Fig. 10B is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 An exemplary remote device BLE bridge is provided to extract process data from an encrypted payload.

[0025] Fig. 10C is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 An exemplary remote device BLE bridge is used to extract process data from a payload sent via a direct connection.

[0026] Fig.11 is a block diagram of an exemplary processor platform configured to execute machine-readable instructions to implement Figure 9A-9D methods and / or Figure 1-Figure 4 An exemplary field device BLE bridge is provided to implement the examples disclosed herein.

[0027] Fig.12 is a block diagram of an exemplary processor platform configured to execute machine-readable instructions to implement Figure 10A-10C methods and / or Figure 1-Figure 4 An exemplary remote device BLE bridge is provided to implement the examples disclosed herein.

[0028] The drawings are not drawn to scale. Wherever possible, the same reference numbers will be used throughout the drawings and accompanying written description to refer to the same or like parts. DETAILED DESCRIPTION

[0029] In recent years, Technology has been increasingly utilized in industrial applications to facilitate communication between devices. Bluetooth is a wireless technology standard for exchanging data over short distances using short-wavelength ultra-high frequency radio waves in the Industrial, Scientific and Medical (ISM) radio band (e.g., 2.4 to 2.4835 GHz). Conventional methods for implementing Bluetooth in industrial applications (e.g., process control systems) include communicative coupling of an industrial protocol communicator (e.g., a highway addressable remote transducer (HART) modem) to a typical Bluetooth radio (e.g., a Bluetooth radio operating based on Bluetooth Core Specification Version 5.0). For example, a field device (e.g., a field device with sufficient power budget to operate a Bluetooth radio) can encapsulate HART information in a Bluetooth packet and send the Bluetooth packet to a remote client, where the remote client receives the information via a typical Bluetooth radio coupled to a host processor via a bus communication.

[0030] Bluetooth Low Energy (Bluetooth LE or BLE) is a wireless communication technology based on standard Bluetooth technology (e.g., operating in the same spectrum range of the 2.4-2.4835 GHz ISM band), designed to significantly reduce power consumption and cost while maintaining a communication range similar to that of classic Bluetooth. BLE is different from and incompatible with classic Bluetooth. For example, BLE uses a different set of channels compared to classic Bluetooth. In such an example, BLE can have 40 2-MHz channels compared to 79 1-MHz channels of classic Bluetooth. In another example, BLE does not support a serial port profile (SPP) for replacing a serial communication interface (e.g., RS-232 communication, RS-485 communication, etc.).

[0031] Examples disclosed herein use BLE to form a communication bridge between one or more low-power devices to improve communication interoperability, reduce the cost and complexity of performing communications, and increase the speed of communication between devices. In some disclosed examples, a BLE bridge device facilitates one or more client devices (e.g., Emerson AMS TREX TM ) and a server device (e.g., a field device, a controller, a valve positioner, etc.). For example, a BLE bridge device can be coupled and / or communicatively coupled to a field device (such as a local controller, a headless controller (e.g., a PLC-type device), a valve positioner, a pressure transmitter, a temperature transmitter, a level transmitter, etc.). For example, a BLE bridge device can be used to establish peer-to-peer communications with one or more client devices, one or more field devices, etc., and / or a combination thereof.

[0032] In some disclosed examples, the field device is communicatively coupled to one or more remote devices (e.g., computing devices), such as an Emerson AMS Trex. For example, the remote device may be a computer that includes a standard operating system (e.g., Windows-based TM Operating systems, Apple Operating system, Android TM operating system, A computing device that runs a software application related to process control on a processor (such as an operating system, etc.). In such an example, the remote device can communicate with the field device via BLE.

[0033] In some disclosed examples, the BLE bridge device facilitates the transmission of information from the field device to the remote device. The field device may support industrial communication protocols, such as the HART protocol. For example, the HART protocol defines data packets to be constructed based on the Bell 202 modem standard. As a result, there is no need to send HART data packet support information (e.g., HART preamble, HART address, etc.) to the remote device via BLE. For example, the HART preamble is used for carrier detection and synchronization according to the Bell 202 modem standard, and it is not necessary to include it in the BLE data packet, because there is no Bell 202 modem for detection or synchronization. For example, the BLE bridge device can receive a HART protocol data packet from a field device, remove the HART protocol information from the HART protocol data packet, and send the payload data of the HART protocol data packet (e.g., only the payload data is sent) to the remote device via BLE. In such examples, the remote device can reconstruct the HART protocol data packet including the payload data, and send the reconstructed HART protocol data packet to the application operating on the remote device.

[0034] In some examples, the BLE bridge of the field device encrypts the payload data and / or adds a message authentication code (MAC) to the data packet before transmitting to the remote device. For example, the field device BLE bridge can encrypt the payload of the data packet using an encryption algorithm such as an AES-128 block cipher to encrypt the packet. In such examples, the field device BLE bridge uses an encryption key and a random value (nonce value) as input to the encryption algorithm. For example, the encryption key can be a pre-shared key accessible by the field device BLE bridge (e.g., stored on the field device, stored on separate hardware, etc.). In some examples, the random value is a unique value generated based on the transmission characteristics of the data packet and / or other values ​​sent from the field device BLE bridge to the remote device as auxiliary data (e.g., in a separate data packet). For example, the random value can be generated by the field device BLE bridge based on a source bit, which indicates the transmission type of the data packet (e.g., broadcast transmission, direct connection data transmission, etc.) and an initialization vector (e.g., generated by the field device BLE bridge). Additionally or alternatively, the field device BLE bridge can authenticate the data packet. For example, the field device BLE bridge can authenticate (e.g., using a MAC) the payload and associated data (e.g., flags, counters, etc.) included in the data packet, and can further encrypt the payload and / or the MAC. In some such examples, the encryption of the MAC generates a message integrity check (MIC), which is sent within the data packet. In some examples, the field device BLE bridge can authenticate an unencrypted payload and send a data packet with an authenticated payload.

[0035] In some examples, authentication of the data packet includes generating a MAC and attaching the MAC to the payload. For example, the field device BLE bridge can generate a MAC using a cipher block chaining message authentication code (CBC-MAC) block cipher. Additionally or alternatively, the field device BLE bridge can generate a MAC based on other hash algorithms or functions (e.g., HMAC) or another block cipher. In addition, in some examples, the MAC is encrypted to generate a MIC before transmitting the data packet. In some examples, when the data packet has been encrypted and / or authenticated, the field device BLE bridge sends the data packet over the BLE network. In some such examples, in addition to the payload, the data packet also includes associated data, which provides information for decrypting and / or authenticating the payload of the data packet. In some examples, the data packet is received by other devices (e.g., remote devices) that can authenticate and / or decrypt the payload to access the process data within the payload (e.g., if the other device has the required information such as encryption key identifiers, source bits, etc.).

[0036] In some disclosed examples, the remote device includes a remote device BLE bridge that can receive, authenticate and / or decrypt the payload of a data packet. In some examples, the remote device accesses the associated data included in the data packet. In some such examples, the header data includes a source bit and a direction bit. In such examples, the remote device determines the type of connection between the field device and the remote device based on the source bit (e.g., broadcast transmission), and determines the transmission direction based on the direction bit (e.g., from the field device to the remote device). In some examples, the remote device BLE bridge also receives an encryption key identifier and an initialization vector in the auxiliary information. For example, a data packet including auxiliary information (e.g., data for decrypting, authenticating and / or processing data packets, which includes an encryption key identifier, an initialization vector and / or device information) can be interlaced between data packets including process data to provide the remote device with information for decrypting and / or authenticating the payload in future data packets. In such examples, the encryption key identifier identifies a pre-shared encryption key used by the field device BLE bridge to encrypt and / or authenticate the payload of the data packet based on the encryption key identifier included in the auxiliary information. In some examples, the remote device BLE bridge also generates a random value based on the source bits and the initialization vector, and inputs the random value and the encryption key into the encryption algorithm to decrypt the encrypted payload. Additionally or alternatively, the remote device BLE bridge inputs the random value and the encryption key into the algorithm to generate a MAC for authenticating the payload and header data of the data packet. Thus, when the data packet has been authenticated and / or the payload has been decrypted, the remote device BLE bridge is able to extract process data (e.g., process data associated with a process control system) from the payload.

[0037] In some disclosed examples, a field device BLE bridge facilitates the transmission of information from a remote device BLE bridge of a remote device to a field device. An exemplary field device BLE bridge may identify one or more protocols supported by a field device. In response to receiving a receive request from a remote device BLE bridge, the field device BLE bridge determines whether the receive request corresponds to a protocol supported by the field device. In response to determining that the receive request corresponds to a supported protocol, the field device BLE bridge approves the receive request and receives one or more data packets from the remote device. The exemplary field device BLE bridge removes BLE information from the received data packet, accesses the payload data using a random value generated using the associated data and auxiliary data of the data packet (e.g., as described above), and adds the supported protocol information (e.g., HART protocol preamble, HART protocol address, etc.) to the received data packet. The field device BLE bridge also sends the processed data packet to a microcontroller unit (MCU) of the field device via a UART terminal, an I2C bus, an SPI bus, etc. For example, an MCU may be a processor that performs process control operations (e.g., measuring valve position, sending information via an industrial communication protocol, etc.) of one or more field devices. In some disclosed examples, a field device BLE bridge removes BLE information from a data packet received from a remote device, accesses payload data, and sends the data packet to an MCU of the field device without adding supported protocol information to the data packet.

[0038] The examples disclosed herein improve communication interoperability between devices because the BLE bridging device can facilitate communication between (1) field devices using conventional industrial communication protocols and (2) remote devices via BLE. The examples disclosed herein reduce cost and complexity because the BLE bridging device can facilitate communication between field devices without the need for additional dedicated hardware (e.g., external communication gateway devices and corresponding hardware such as power supplies, circuit breakers, housings, etc.) for performing communication conversion and transmission. The examples disclosed herein can be implemented in a software application layer above the physical hardware layer of a BLE radio device (e.g., a BLE transceiver) in a remote device. As a result, since the remote device can use any conventional operating system and any conventional BLE radio device, the examples disclosed herein can improve interoperability between remote devices and field devices.

[0039] Known methods of Bluetooth or BLE communication (e.g., Bluetooth beacons) are subject to security concerns, such as interception of beacons or manipulation of data included in beacons, because any device with a Bluetooth radio can receive and access data in beacons. Therefore, for communication of data packets over a BLE network, it is desirable to authorize a device (e.g., a remote device) to access the information sent and encrypt the data included in the data packet. The examples disclosed herein improve the security of wireless broadcast data transmission over a BLE network in a process control environment by ensuring that the correct recipient (e.g., a specific client) is the only entity authorized to receive and access the broadcast data. For example, a process control environment may include multiple clients, each of which has a field device specific to the client. In such examples, a client field device may send proprietary information from a field device associated with a client to a remote device associated with the same client. The proprietary information will be securely transmitted and cannot be accessed by other clients in a process control system or other clients associated with other parts of the process control system. The examples disclosed herein protect such proprietary information while maintaining the convenience and range of transmission over a BLE network.

[0040] This increased security of broadcast transmissions within a process control system provides a new process that enables field devices to send information in a way that the field devices could not send before. For example, the examples disclosed herein allow authenticated and / or encrypted data packets sent from field devices to be received by a remote device via a wireless network (e.g., a BLE network), which further authenticates and / or decrypts the payload of the data. When the remote device does not have the information required to authenticate or decrypt the data packet (e.g., the device is not authorized by the field device), the remote device cannot access the process data. Therefore, only the intended and / or authorized recipients of the data packet can access the payload of the data packet, and those devices that are not authorized cannot access the broadcast data packets (e.g., other clients in the process control environment). This method of securely broadcasting data in a process control environment provides secure communication with a wide variety of devices while avoiding the scalability, interoperability, and continuous maintenance issues that are typically encountered when using BLE.

[0041] The examples disclosed herein provide improvements in scalability and interoperability. For example, broadcast transmissions can be received and sent by devices using any operating system (e.g., Microsoft, iOS, etc.), and are therefore not limited to devices using the same operating system. The examples disclosed herein also do not require distribution, updating, and maintenance tables (e.g., lookup tables commonly used for Bluetooth low energy communications) across all devices in a process control system because data is sent as plain text, authenticated plain text, and / or encrypted plain text. For example, known lookup tables for alarms and / or warnings used in maintenance process control systems require continuous updating, which makes maintenance alarm and warning tables impractical. The examples disclosed herein eliminate the need for such tables, thereby reducing the storage space required to maintain the tables and eliminating the need for continuous updating and maintenance.

[0042] Figure 1 1 is a schematic diagram of an example environment 100 including an example field device 102 having an example network bridge 104 (such as an example BLE bridge) to bridge communications between the field device 102 and an example remote device 106 via an example BLE network 108. In some examples, the remote device 106 is a computing device, such as an Emerson AMS Trex. For example, the remote device may be a computer system that includes a standard operating system (e.g., Windows-based TM Operating systems, Apple Operating system, Android TM operating system, The remote device 106 of the illustrated example includes a remote device BLE bridge 110 to receive communications from the field device 102 and also to send communications to the field device 102. In the illustrated example, the field device 102 is coupled to a fluid flow control assembly 112 operating in a process control environment 114. The fluid flow control assembly 112 of the illustrated example is a pneumatically actuated valve assembly.

[0043] In the illustrated example, the housing 116 of the field device 102 containing the network bridge 104 is coupled to a fluid flow control assembly 112, which includes at least an actuator 118 and a valve 120 (e.g., a butterfly valve, a stop valve, etc.). The actuator 118 of the illustrated example is actuated by a change in pneumatic pressure from a pneumatic tube connection 122. However, other valve assemblies, such as electrically actuated valve assemblies, hydraulically actuated valve assemblies, etc., may be used in addition or alternatively. Although the exemplary field device BLE bridge 104 is included in the housing 116 in the exemplary example, the exemplary field device BLE bridge 104 may alternatively be located elsewhere.

[0044] In the illustrated example, the field device 102 is a valve controller. Alternatively, the exemplary field device 102 may be a pressure transmitter, a temperature transmitter, a level transmitter, a pH transmitter, a valve positioner, etc. The illustrated example field device 102 controls, measures, and / or monitors one or more process control operations associated with the operation of the fluid flow control assembly 112. For example, the field device 102 may be implemented as a controller that controls, measures, and / or monitors the operation of an actuator 118 operably coupled to a valve 120 and sends information corresponding to the operation to an external device such as a remote device 106. In such examples, the controller may control the operation of the actuator 118 and / or the position of the valve 120 (e.g., the degree to which the valve is opened or closed by the actuator 118).

[0045] In the illustrated example, the field device 102 controls, measures, and / or monitors one or more process control operations associated with the fluid flow control assembly 112 (e.g., opening the valve 120, calibrating the valve 120, etc.) based on data (e.g., control commands, control signals, etc.) formatted according to the industrial communication protocol and transmitted to and / or from the field device 102 over the industrial communication network. In some examples, the industrial communication protocol may be one of a HART communication protocol, a PROFIBUS communication protocol, a FOUNDATION Fieldbus communication protocol, or a MODBUS communication protocol.

[0046] In the illustrated example, the field device 102 communicates with the remote device 106 via the BLE network 108 using the field device BLE bridge 104. In the illustrated example, the antenna is embedded in the front panel of the field device 102 (e.g., in the front panel of the housing 116). In some examples, the field device 102 transmits field device information such as process control parameters corresponding to the fluid flow control assembly 112 (e.g., actuator pressure, supply pressure, valve position, etc.) to the remote device 106. In some examples, the field device 102 transmits field device information such as configuration information, diagnostic information, etc. of the field device 102 (e.g., the identity of the user logged into the field device 102, the internal event log, the calibration version of the controller, the firmware version of the controller, the model of the fluid flow control assembly 112, etc.) to the remote device 106. In some examples, the field device 102 transmits field device information such as alarm information (e.g., calibration error, missing position feedback alarm, low supply pressure alarm, security exception, security exception of a port using a BLE radio, etc.) to the remote device 106.

[0047] In some examples, the remote device BLE bridge 110 of the remote device 106 transmits information to the field device 102 using the field device BLE bridge 104 via the BLE network 108. For example, the remote device 106 can obtain configuration information, such as a firmware version of the controller, from the field device 102. In response to the remote device 106 determining that the firmware version is not current, the remote device 106 can download the current version of the firmware to the field device 102. In another example, the remote device 106 can configure one or more parameters of the fluid flow control assembly 112 via the BLE network 108. For example, the remote device 106 can adjust overpressure alarm settings, measurement parameter units, minimum and / or maximum range settings of process control variables, etc.

[0048] Performing such actions wirelessly (e.g., downloading firmware, changing settings, calibrating the field device 102, etc.) reduces the complexity of performing operations (e.g., maintenance operations) on the fluid flow control assembly 112. For example, in the absence of the BLE network 108, a hot work permit may need to be obtained to open the housing 116 to access the controller. In another example, before performing work on the field device 102, it may be necessary to shut down process control operations in the process control environment 114 to prevent potential electric sparks from causing an explosion of a hazardous gas atmosphere. The exemplary field device BLE bridge 104 and remote device BLE bridge 110 reduce the complexity of maintenance operations by facilitating communication between the field device 102 and the remote device 106 via the BLE network 108.

[0049] Figure 2 yes Figure 1 Another schematic diagram of an exemplary environment 100 of Figure 1 An exemplary field device 102 having Figure 1 1 to bridge communications between remote device 1 200, remote device 2 202, and remote device 3 204. In the illustrated example, the field device BLE bridge 104 handles (e.g., is capable of handling, is capable of handling simultaneously, etc.) multiple BLE communication connections between the field device 102 and remote devices 1-3 200, 202, 204. In some examples, one or more of the remote devices 1-3 200, 202, 204 include Figure 1 For example, the field device 102 can send field device information to one or more of the remote devices 1-3 200, 202, 204 and / or receive information (e.g., firmware executable files, configuration settings, etc.) from one or more of the remote devices 1-3 200, 202, 204. Figure 2Only remote devices 1-3 200, 202, 204 are depicted, but fewer or more remote devices 1-3 200, 202, 204 may be used.

[0050] In the illustrated example, the field device 102 is communicatively coupled to a distributed control system (DCS) 206. For example, the DCS 206 may include one or more data acquisition and control systems including one or more controllers. The field device 102 of the illustrated example is communicatively coupled to the DCS 206 via a cable or other hardwired connection 208 including one or more wires. Additionally or alternatively, the example field device 102 may be connected to the DCS 206 via a wireless connection. For example, the field device 102 may be connected via the cable 208, a WirelessHART (WiHART) connection, a Wi-Fi Alternatively, the example field device 102 can communicate with one or more of the remote devices 1-3 200, 202, 204 via the field device BLE bridge 104 without being communicatively coupled to the DCS 206.

[0051] In the illustrated example, the field device 102 is communicatively coupled to a pressure transmitter 210 via a wireless connection 212. For example, the pressure transmitter may be a ROSEMOUNT TM 3051S Wireless Differential Pressure Flow Transmitter. Alternatively, the pressure transmitter 210 can be any other type of field device, such as a flow rate transmitter, a temperature transmitter, a valve positioner, etc. The wireless connection 212 of the illustrated example is a WiHART connection. Alternatively, any other wireless connection can be used. In the illustrated example, the field device 102 sends information to the pressure transmitter 210 and receives information from the pressure transmitter 210. For example, the pressure transmitter 210 can send information (e.g., pressure measurement results, diagnostics of the pressure transmitter 210, configuration parameters of the pressure transmitter 210, etc.) to the field device 102.

[0052] Figure 3 yes Figure 1-Figure 2 A block diagram of an exemplary implementation of a BLE bridge device, the BLE bridge device comprising Figure 1-Figure 21 and an exemplary field device 102 and an exemplary field device BLE bridge 104. In the illustrated example, the field device BLE bridge 104 includes an exemplary receiver transmitter (RX / TX) interface 300, an exemplary platform manager 302, an exemplary Bluetooth low energy (BLE) stack handler 304, an exemplary database 306, and an exemplary BLE interface 308. The platform manager 302 of the illustrated example includes an exemplary command processor 310, an exemplary protocol handler 312, an exemplary security manager 314, and an RX / TX interface handler 316. An exemplary field device MCU 318, an exemplary remote device 106, and an exemplary BLE network 322 are also shown.

[0053] exist Figure 3 In the illustrated example of , the field device BLE bridge 104 is a microcontroller (MCU) for performing communication operations between the field device MCU 318 and an external BLE compatible device (such as a remote device 106). The BLE interface 308 of the illustrated example facilitates BLE communication via a BLE network 322. The field device BLE bridge 104 of the illustrated example is included in the field device 102. Alternatively, the field device BLE bridge 104 may not be included in the field device 102, wherein the field device BLE bridge 104 is communicatively coupled to the field device 102 via a cable or other communication means. In some examples, the data packet sent from the field device MCU 318 to the field device BLE bridge 104 has a format defined by an industrial communication protocol supported by the field device 102. For example, the field device 102 may support the HART protocol. In such an example, the field device MCU 318 may send the data packet to the field device BLE bridge 104 via the receiver transmitter interface 300 in the HART protocol format.

[0054] In the illustrated example, the field device BLE bridge 104 includes a receiver transmitter interface 300 to enable communication between the field device BLE bridge 104 and the field device MCU 318. The receiver transmitter interface 300 of the illustrated example is a UART. For example, the receiver transmitter interface 300 can send information to the field device MCU 318 and / or receive information from the field device MCU 318 using an industrial communication protocol (e.g., a HART communication protocol, a PROFIBUS communication protocol, a WiHART communication protocol, etc.). Alternatively, the exemplary receiver transmitter interface 300 can be an inter-integrated circuit (I2C) bus, a serial peripheral interface (SPI) bus, or other similar interfaces between integrated circuits (e.g., microcontrollers, processors, etc.).

[0055] exist Figure 3In the illustrated example, the field device BLE bridge 104 includes a platform manager 302 to analyze and generate commands, convert data packets based on the identified protocol, and / or authenticate and / or encrypt the payload of the data packet. In the illustrated example, the platform manager 302 includes a command processor 310 to determine and direct communication operations based on the direction of data flow. In some examples, the command processor 310 identifies one or more supported protocols of the field device 102. For example, the command processor 310 can determine that the field device 102 supports the HART communication protocol and the PROFIBUS communication protocol. In such examples, the command processor 310 can obtain the supported protocols by querying the field device MCU 318, by querying the database 306, etc. For example, the command processor 310 can obtain the supported protocols in response to querying the field device MCU 318. In such examples, the command processor 310 can store information or values ​​corresponding to the identified supported protocols in the database 306 for future retrieval by the command processor 310. In another example, the command processor 310 may determine the supported protocols based on querying hard-coded parameters stored in the database 306 that correspond to the supported protocols of the field device 102 .

[0056] In some examples, the command processor 310 determines the direction of data flow based on the master and slave communication model. For example, the command processor 310 may determine that the data packet corresponds to a send request from the receiver transmitter interface 300 (e.g., a slave device sends a notification to the master device). In such an example, the command processor 310 may direct the data packet to be processed and sent from the receiver transmitter interface 300 to the BLE stack handler 304. In another example, the command processor 310 may determine that the data packet corresponds to a receive request from the BLE interface 308 (e.g., a master device sends a data packet to a slave device without a response from the slave device). In such an example, the command processor 310 may direct the data packet to be processed and sent from the BLE interface 308 to the receiver transmitter interface 300.

[0057] In some examples, the command processor 310 evaluates read and write BLE requests based on security information (e.g., security permissions, security rules, etc.). For example, the command processor 310 can determine that the received request is authorized based on comparing the instruction or operation code (opcode) of the received request with a list of authorized operation codes. In such examples, when the command processor 310 determines that the operation code is not authorized, the command processor 310 can deny the received request. For example, an unauthorized operation code can indicate that a user who sends information to the field device 102 via the field device BLE bridge 104 is not allowed to access information, change information, etc. in the field device 102.

[0058] In some examples, the command processor 310 performs a communication operation of the field device BLE bridge 104 based on determining whether the value of the opcode corresponds to a specific industrial communication protocol. For example, the command processor 310 can determine that the value of the opcode corresponding to the receive request at the BLE interface 308 corresponds to the HART protocol. The exemplary command processor 310 can determine that the field device 102 supports the HART protocol. In such examples, the command processor 310 can guide the BLE interface 308 to receive information from the remote device 106 based on a comparison of the protocol indicated by the opcode value with the supported protocol of the field device 102. In some examples, the command processor 310 rejects the receive request based on a mismatch between the protocol indicated by the opcode value and the supported protocol of the field device 102. In some examples, the command processor 310 guides the processing of data packets received from the field device MCU 318 and / or the remote device 106 by calling the protocol handler 312 to perform one or more operations.

[0059] In some examples, the command processor 310 processes radio-specific commands. For example, the command processor 310 may direct the BLE stack handler 304 to adjust or change the transmit power level of the BLE interface 308. For example, the command processor 310 may direct the BLE stack handler 304 to reduce the transmit power level of the BLE interface 308 to save power. In another example, the command processor 310 may direct the BLE stack handler 304 to increase the transmit power level of the BLE interface 308 to increase the transmission range of the BLE interface 308. In some examples, the command processor 310 processes radio-specific commands by executing a filter (e.g., a notch filter) when the command processor 310 detects a problem with the existing radio frequency of the BLE interface 308. In some examples, the command processor 310 processes radio-specific commands by shutting down the BLE interface 308 to provide a complete radio silence mode.

[0060] exist Figure 3In the illustrated example of , the platform manager 302 includes a protocol handler 312 to perform communication operations based on the direction of data flow between the field device MCU 318 and the remote device 106. In some examples, the protocol handler 312 performs communication operations based on the data flow from the field device MCU 318 to the field device BLE bridge 104. In such examples, the protocol handler 312 determines whether the data packet for transmission is the first data packet for the communication session. For example, in response to determining that the data packet is the first data packet of the communication session, the protocol handler 312 can read and store the protocol address (e.g., HART protocol address, PROFIBUS address, etc.) of the field device MCU 318. In response to determining that the data packet is not the first data packet of the communication session, the exemplary protocol handler 312 can remove the protocol address from the data packet.

[0061] In some examples, the protocol handler 312 includes the protocol address in the data packet to be sent to the remote device 106 for industrial communication protocol data packet reconstruction. For example, the first data packet to be sent to the remote device 106 may include the protocol address, and the remote device 106 may use the protocol address for future communication operations. Alternatively, the remote device 106 may send a read request to the field device 102, which includes an operation code that returns a protocol-specific address. Alternatively, the exemplary protocol handler 312 may define an operation code that returns a HART message with an address and an operation code that returns a HART message without an address. For example, the remote device 106 may send an operation code to cause the field device 102 to return a HART message with the address of the field device 102. In such examples, the protocol handler 312 may remove protocol information such as a HART preamble, a message integrity check, etc., and move the HART address to the data payload of the BLE data packet to be sent to the remote device 106 for data packet reconstruction.

[0062] In some examples, the protocol handler 312 removes protocol information (e.g., header data) from the data packet before sending the data packet via the BLE interface 308. For example, the field device MCU 318 can send a HART 5 formatted data packet to the protocol handler 312. In such examples, the protocol handler 312 can remove HART 5 protocol information, such as a HART 5 protocol preamble, a HART 5 protocol address, a HART 5 message integrity check, etc. from the HART 5 formatted data packet. In response to removing the protocol information from the data packet, the protocol handler 312 can concatenate the payload data, wherein the concatenated payload data can replace the removed protocol information. For example, instead of sending a first header and a first payload data, a second header and a second payload data, etc., the protocol handler 312 can generate a concatenated data packet that includes the first header, the first payload data, and the second payload data, but does not include the second header. In such examples, additional payload data may be advantageously included in the data packet to increase the amount of data (eg, process data) transmitted in the data packet.

[0063] The security manager 314 of the illustrated example operates to provide additional security for transmitting data packets (e.g., to the remote device 106). For example, the security manager 314 can authenticate or encrypt the data payload included in the data packet. In some examples, the command processor 310 identifies whether to send the payload of the data packet as plain text, authenticated plain text, and / or authenticated and encrypted plain text via the BLE interface 308. In some examples, the command processor 310 can determine that the data packet is to be broadcast as plain text via the BLE interface 308 because the information included in the data payload is not proprietary and / or can be viewed by any remote device in the exemplary remote devices 200-204. In some such examples, the command processor 310 can determine that the data packet will not be protected during transmission. For example, the command processor 310 can determine that the division or part of the process control system associated with the field device 102 does not require the data packet to be authenticated and / or encrypted. In some such examples, the owner (e.g., client) of the field device 102 does not care about other entities that access or view the data included in the data packet. In some alternative examples, the command processor 310 determines that the data packet is to be authenticated for transmission in order to protect the integrity of the data payload within the data packet. In addition, in some examples, the command processor 310 determines that the data packet is to be encrypted for transmission over the BLE interface 308. For example, the command processor 310 may determine that the data payload is intended for a specific client within a refinery where multiple clients operate (e.g., each client has its own field device throughout the refinery). In such examples, the data payload within the data packet is encrypted to ensure that the data packet is delivered to and accessible by the correct recipient, and other entities within the refinery (e.g., clients) cannot access the data included in the data packet.

[0064] In some examples, the command processor 310 determines that the data packet is to be encrypted before transmission (e.g., via broadcast transmission). In such examples, the security manager 314 generates a random value and uses the random value as an input to an encryption algorithm (e.g., an AES-256 encryption algorithm). The random value is generated by the security manager 314 of the illustrated example based on a source bit, a direction bit, a counter, and / or an initialization vector. For example, the security manager 314 determines the value of the source bit (e.g., 0 or 1), which indicates the transmission method of the data packet. For example, the security manager 314 determines whether the data packet is to be broadcast (e.g., via a BLE network 322) or to be sent via a direct connection (e.g., Wi-Fi Direct) between the field device 102 and the remote device 106. In some examples, a direct connection can refer to wireless data transmission between a first device (e.g., field device 102) and a second device (e.g., remote device 106) without being transmitted to any intermediate device (e.g., Bluetooth, Wi-Fi Direct, etc.) between the first device and the second device. Alternatively, in some examples, the direct connection may refer to a direct wired connection (e.g., an Ethernet cable) between the first device and the second device. The security manager 314 also determines a direction bit that indicates the direction of transmission of the data packet as from the field device 102 to the remote device 106 or from the remote device 106 to the field device 102. In the example shown, the security manager 314 determines a counter for a random value (e.g., a counter that increments after each transmission of the data packet) and / or an initialization vector (e.g., determined using a random number generator).

[0065] In some examples, the security manager 314 also uses an encryption key and inputs the encryption key into the encryption algorithm in combination with the random value. In some examples, the security manager 314 can access an encryption key database. In some such examples, the encryption key database includes pre-shared encryption keys. For example, the encryption key can be shared with the field device 102 and the remote device 106 as the intended recipients of the data packet. In some examples, the encryption algorithm used by the security manager 314 converts the plaintext data of the payload into ciphertext (e.g., encrypted text). In combination Fig. 8A The encryption algorithm used by the security manager 314 and the generation of ciphertext are further discussed.

[0066] When the command processor 310 determines that the payload data is to be authenticated, the security manager 314 of the illustrated example generates a message authentication code (MAC). In some examples, the security manager 314 generates a MAC to authenticate the payload and / or associated data, such as in conjunction with Figure 6-Figure 8BIn some examples, the MAC is appended to the payload before transmission. In some examples, the MAC can be appended to the payload before the payload is encrypted. Figure 8B Further discussion is given of generating a MAC using a Cipher Block Chaining Message Authentication Code (CBC-MAC) method. In some examples, the security manager 314 may generate a MAC based on a universal hash algorithm such as a universal hash MAC (UMAC), a VMAC, etc. In some alternative examples, the security manager 314 may generate a MAC based on a block cipher algorithm, such as a one-key MAC (OMAC), a parallelizable MAC (PMAC), etc. The MAC ensures that manipulation, deletion, and / or any other interference with data included in the header data and / or the payload is detected when the data packet is received at another device (e.g., at the remote device 106). The security manager 414 of the illustrated example also generates a message integrity check (MIC) by encrypting the MAC, such as in conjunction with Figure 6-Figure 8B Further discussion.

[0067] In the illustrated example, the security manager 314 also determines the values ​​of the authentication bit and the encryption bit. For example, the command processor 310 determines whether to authenticate the payload before transmission, and the security manager 314 determines that the authentication bit has a value of 0 or 1 based on the determination of the command processor 310. In addition, in the illustrated example, the security manager 314 determines the value of the encryption bit. For example, the command processor 310 determines whether the payload is to be encrypted, and the security manager 314 determines that the authentication bit will have a value of 0 or 1. Therefore, the remote device BLE bridge 110 uses the exemplary authentication bit and encryption bit to determine whether to authenticate and / or decrypt the payload after receiving the data packet.

[0068] In some examples, a flag included in the associated data of the data packet includes a direction bit and a source bit used in the generation of the random value. In some examples, the flag also includes an authentication bit and an encryption bit, as well as a version least significant bit, a version most significant bit, and / or other bits reserved for other information or future use. In addition, in some examples, the flag includes an auxiliary bit that indicates whether the data packet includes auxiliary information that can be used by the remote device 106 during authentication and / or decryption of the payload of the data packet. For example, when the data packet includes auxiliary information, the auxiliary bit can have a value of 1, while the auxiliary bit can have a value of 0 to indicate that the data packet does not include auxiliary information. The auxiliary information can include information used to generate the random value, such as an initialization vector. In addition, the auxiliary information can include information related to the encryption algorithm (e.g., Fig. 8ACCM encryption method) and / or MAC generation method (e.g., Figure 8B In some examples, the auxiliary data is interleaved with the data packets including the payload from the field device MCU 318. For example, the field device BLE bridge 104 can send the auxiliary information for every ten data packets sent to the remote device 106.

[0069] In some alternative examples, when data packets are sent via a direct connection, the data packets are typically authenticated and encrypted. In some examples, the data packets sent via the direct connection do not include auxiliary data (e.g., interleaved auxiliary data) because the field device 102 and the remote device 106 share auxiliary information (e.g., initialization vector, encryption key, etc.) during a handshake between the field device 102 and the remote device 106. For example, when the field device 102 and the remote device 106 first establish a direct connection, the initialization vector and encryption key are determined and further used in subsequent communications.

[0070] In some examples, when the command processor 310 determines that the payload is to be sent as plain text (e.g., the security manager 314 does not authenticate or encrypt the payload before transmission), the payload is directed to the security manager 314 for generating associated data. For example, the security manager 314 generates a flag for the data packet by determining the value of the source bit, the direction bit, the authentication bit, and / or the encryption bit. Additionally or alternatively, the security manager 314 can determine the value of the least significant bit of the version, the most significant bit of the version to be added to the header, and the auxiliary bit. When the data packet is sent as plain text data, the security manager 314 determines that the authentication bit and the encryption bit have a value of 0 (e.g., no authentication or encryption will be performed when the data packet is sent as plain text). In some examples, when the security manager 314 is to send auxiliary information in the data packet (e.g., every ten data packet transmissions include auxiliary information), the auxiliary information is in plain text form and is sent as a plain text payload.

[0071] In addition, the security manager 314 can decrypt the encrypted payload of the data packet received at the field device 102 (e.g., received from the remote device 106). For example, when a data packet is received at the field device 102 (e.g., via a direct connection), the data packet can be directed to the security manager 314 to authenticate and decrypt the payload before being sent to the field device MCU 318. When the security manager 314 receives a data packet including an encrypted payload, the security manager 314 can access the plaintext data included in the associated data included in the data packet. For example, the associated data includes a direction bit, a source bit, and a counter, which can be used to decrypt the encrypted payload. The security manager 314 also accesses auxiliary data and an initialization vector, which includes an encryption key identifier indicating to the security manager 314 which encryption key will be used to decrypt the payload. In some examples, the security manager 314 can access multiple pre-shared keys (e.g., keys known to the security manager 314). In some such examples, the pre-shared keys are included in an application located outside the field device 102 that can be accessed by the security manager 314. The auxiliary data and the associated data may be used to determine a random value used during encryption of the payload at the remote device 106 prior to transmission of the data packet to the field device 102. Figure 7 The generation of random value is discussed. When the security manager 314 has determined the random value, the random value is used in conjunction with the encryption key identifier to decrypt the payload. In some examples, the security manager 314 authenticates the integrity of the payload and / or header data after decrypting the payload (e.g., using a MAC). In some such examples, if it is determined that the payload and / or associated data is not authentic (e.g., the payload and / or associated data has been manipulated), the security manager 314 can discard the data packet. In some examples, the payload is authenticated and not encrypted. In such examples, the security manager 314 authenticates the payload and / or associated data (e.g., using a MAC), and directs the authenticated payload and / or associated data to the exemplary protocol handler 312.

[0072] In some examples, the security manager 314 directs the data packet including the associated data and the payload (e.g., as plain text) to the protocol handler 312 for further processing. For example, when the security manager 314 has authenticated the data packet and / or decrypted the payload, the security manager 314 can send the data packet as plain text to the protocol handler 312. In some examples, such as when the data packet is sent via a direct connection, the protocol handler 312 adds protocol information to the data packet (e.g., protocol preamble, protocol address, and protocol message integrity check) based on the supported protocol of the field device 102. For example, the BLE interface 308 can receive a data packet from the remote device 106, the data packet including an identifier corresponding to the HART 7 protocol. In such examples, the protocol handler 312 can add HART 7 protocol information such as the HART 7 protocol preamble, the HART 7 protocol address, the HART 7 message integrity check, etc. to the received data packet. In response to adding the protocol information to the received data packet, the example protocol handler 312 may direct the receiver transmitter interface 300 to send the processed data packet (eg, the received data packet with the added protocol information) to the example field device MCU 318 .

[0073] In some examples, the protocol handler 312 determines whether the data packet is correctly formed based on evaluating the industrial protocol command. For example, the protocol handler 312 can receive a data packet including an industrial protocol command. In such examples, the protocol handler 312 can determine whether the industrial protocol command is valid (e.g., HART command 0 is valid) or invalid (e.g., HART command 255 is invalid). The exemplary protocol handler 312 can accept the data packet based on verifying that the industrial protocol command is valid, or reject the data packet based on failing to verify that the industrial protocol command is valid.

[0074] In some examples, the protocol handler 312 determines whether the data packet is correctly formed based on the data length (e.g., number of bytes) corresponding to the industrial protocol command evaluated. For example, the protocol handler 312 can receive a data packet including an industrial protocol command with a corresponding data length of 8 bytes. In such examples, the protocol handler 312 can determine that the industrial protocol command is correctly formed by a maximum of 6 bytes. The exemplary protocol handler 312 can compare the received 8-byte data length with the correctly formed 6-byte length defined, and determine based on the comparison that the data packet is not correctly formed. In such examples, the protocol handler 312 can reject the data packet and / or send an error code to the sender of the data packet based on determining that the data packet is not correctly formed.

[0075] In some examples, the protocol handler 312 determines whether the data packet is correctly formed based on evaluating the range of parameter values. For example, the protocol handler 312 may receive a data packet including a value for a valve position set point parameter of 2000%. In such examples, the protocol handler 312 may determine that the valve position set point parameter is defined by a range of 0-100% to be correctly formed. The exemplary protocol handler 312 may compare the received set point of 2000% with the defined correctly formed range of 0-100%, and determine based on the comparison that the data packet is not correctly formed. In such examples, the protocol handler 312 may reject the data packet and / or send an error code to the sender of the data packet based on determining that the data packet is not correctly formed.

[0076] exist Figure 3 In the illustrated example, the RX / TX interface handler 316 will handle the communication operations between the field device MCU 318 and the BLE interface 308. In some examples, the RX / TX interface handler 316 receives data packets from the receiver transmitter interface 300 and sends the data packets to the BLE interface 308 through the BLE stack handler 304. For example, the RX / TX interface handler 316 includes a TX buffer to obtain data packets designated to be sent to the BLE interface 308 from the field device MCU 318. In some examples, the RX / TX interface handler 316 receives data packets from the BLE interface 308 and sends the data packets to the field device MCU 318. For example, the RX / TX interface handler 316 can obtain data packets designated to be sent to the field device MCU 318 from the BLE interface 308. The BLE interface 308 and the field device MCU 318 of the illustrated example support UART, I2C, SPI and / or other similar integrated circuit communication protocols.

[0077] In the illustrated example, the field device BLE bridge 104 includes a BLE stack handler 304 to manage a BLE interface 308. In some examples, the BLE stack handler 304 emulates a serial port connection over a Bluetooth wireless connection. For example, the BLE stack handler 304 can emulate a UART to facilitate communication between the BLE interface 308 and the platform manager 302.

[0078] In the illustrated example, the field device BLE bridge 104 includes a database 306 to record data (e.g., a mode of the field device 102, a protocol address, parameters of the BLE stack handler 304, parameters of the BLE interface 308, etc.). The exemplary database 306 can respond to queries for information related to the data in the database 306. For example, the database 306 can respond to queries for additional data by providing additional data (e.g., one or more data points), by providing an index associated with the additional data in the database 306, etc. When there is no additional data in the database 306, the exemplary database 306 can additionally or alternatively respond to the query by providing a null index, an end of a database identifier, etc.

[0079] The exemplary database 306 may be implemented by volatile memory (e.g., synchronous dynamic random access memory (SDRAM), dynamic random access memory (DRAM), RAMBUS dynamic random access memory (RDRAM), etc.) and / or non-volatile memory (e.g., flash memory). The exemplary database 306 may additionally or alternatively be implemented by one or more double data rate (DDR) memories (such as DDR, DDR2, DDR3, DDR4, mobile DDR (mDDR), etc.). The exemplary database 306 may additionally or alternatively be implemented by one or more mass storage devices (such as hard disk drives, compact disk drives, digital versatile disk drives, solid-state drives, etc.). Although in the illustrated example, the database 306 is shown as a single database, the database 306 may be implemented by any number and / or type of databases.

[0080] In the illustrated example, the field device BLE bridge 104 includes a BLE interface 308 for sending information to and / or receiving information from an external device such as the remote device 106. The BLE interface 308 of the illustrated example is a radio transceiver operating in the 2.4 GHz unlicensed ISM band. For example, the BLE interface 308 can operate the radio transceiver based on the connection interval, radio power level, latency, etc. implemented by the BLE stack handler 304.

[0081] Despite Figure 3 The implementation is illustrated in Figure 1-Figure 2 The exemplary method of the field device BLE bridge 104 is shown, but it can be Figure 3One or more of the elements, processes and / or devices illustrated in the example may be combined, divided, rearranged, omitted, eliminated and / or implemented in any other manner. In addition, the exemplary receiver transmitter interface 300, the exemplary platform manager 302, the exemplary command processor 310, the exemplary protocol handler 312, the exemplary security manager 314, the exemplary RX / TX interface handler 316, the exemplary BLE stack handler 304, the exemplary database 306, the exemplary BLE interface 308 and / or more generally, Figure 3 The exemplary field device BLE bridge 104 can be implemented by hardware, software, firmware, and / or any combination of hardware, software, and / or firmware. Thus, for example, the exemplary receiver transmitter interface 300, the exemplary platform manager 302, the exemplary command processor 310, the exemplary protocol handler 312, the exemplary security manager 314, the exemplary RX / TX interface handler 316, the exemplary stack handler 304, the exemplary database 306, the exemplary BLE interface 308, and / or more generally, any of the exemplary field device BLE bridge 104 can be implemented by one or more analog or digital circuits, logic circuits, programmable processors, programmable controllers, graphics processing units (GPUs), digital signal processors (DSPs), application specific integrated circuits (ASICs), programmable logic devices (PLDs), and / or field programmable logic devices (FPLDs). When any apparatus or system claim of this patent is read to cover pure software and / or firmware implementations, at least one of the exemplary receiver transmitter interface 300, exemplary platform manager 302, exemplary command processor 310, exemplary protocol handler 312, exemplary security manager 314, exemplary RX / TX interface handler 316, exemplary BLE stack handler 304, exemplary database 306, and / or exemplary BLE interface 308 is expressly defined herein as comprising a non-transitory computer-readable storage device or storage disk (such as a memory, a digital versatile disk (DVD), a compact disk (CD), a Blu-ray disk, etc.) that includes software and / or firmware. Further, Figure 3 An exemplary field device BLE bridge 104 may include in addition to Figure 3 In addition to or in place of the components, processes and equipment shown in Figure 3 The present invention may include one or more of the elements, processes, and devices shown in the embodiment of the present invention, and / or may include more than one of any or all of the elements, processes, and devices shown. As used herein, the phrase "in communication," including variations thereof, encompasses direct communication and / or indirect communication through one or more intermediate components, and does not require direct physical (e.g., wired) communication and / or constant communication, but rather includes selective communication at regular intervals, scheduled intervals, non-periodic intervals, and / or one-time events.

[0082] Figure 4 is included in Figure 1 and / or Figure 3 106 of the remote device 106. In the example shown, the remote device BLE bridge 110 includes an exemplary receiver transmitter (RX / TX) interface 400, an exemplary platform manager 402, an exemplary Bluetooth low energy (BLE) stack handler 404, an exemplary database 406, and an exemplary BLE interface 408. The platform manager 402 of the example shown includes an exemplary command processor 410, an exemplary protocol handler 412, an exemplary security manager 414, and an RX / TX interface handler 416. An exemplary host application 418, Figure 3 An exemplary BLE network 322 and Figure 1-Figure 3 An exemplary field device 102 is shown. Figure 4 In the illustrated example of , the remote device 106 allows user control of the BLE radio firmware for sending and / or receiving data over the BLE network 322, such as an Emerson AMS Trex, an Emerson remote sensor, etc. Alternatively, the remote device 106 may be an Android or iOS device that does not allow user control of the BLE radio firmware. In such an example, a platform manager 402 including a command processor 410, a protocol handler 412, a security manager 414, and an RX / TX interface handler 416 is included in the host application 418 to perform operations discussed in detail below.

[0083] The remote device BLE bridge 110 of the illustrated example includes Figure 1 and / or Figure 3 In the exemplary remote device 106 of . Additionally or alternatively, Figure 4 The remote device BLE bridge 110 may include a Figure 1-Figure 3 Any device (such as Figure 2 4). In the example shown, the remote device 106 is communicatively coupled to the field device 102 via the example BLE network 322. In some examples, the remote device 106 and the field device 102 are connected via a hardwired connection. Additionally or alternatively, the field device 102 can broadcast data packets (e.g., a unidirectional transmission of data) received by the remote device 106 (e.g., via the BLE interface 408).

[0084] exist Figure 4In the illustrated example, the remote device BLE bridge 110 includes a platform manager 402 to analyze and generate commands, authenticate and / or decrypt the payload of the data packet, and / or convert the data packet based on the identified protocol. In the illustrated example, the platform manager 402 includes a command processor 410 to determine and direct the communication operation based on the direction of data flow. In some examples, the command processor 410 identifies one or more supported protocols of the remote device 106. For example, the command processor 410 can determine that the remote device 106 supports the HART communication protocol and the PROFIBUS communication protocol. In such examples, the command processor 410 can obtain the supported protocols by querying the host application 418, by querying the database 406, etc. For example, the command processor 410 can obtain the supported protocols in response to querying the host application 418. In such examples, the command processor 410 can store information or values ​​corresponding to the identified supported protocols in the database 406 for future acquisition by the command processor 410. In another example, command processor 410 may determine the supported protocols based on querying hard-coded parameters stored in database 406 corresponding to the supported protocols of remote device 106 .

[0085] As combined Figure 3 As discussed, in some examples, the field device 102 can send data packets via the BLE network 322. In some such examples, the data packets are formatted according to the BLE protocol (e.g., in Figure 3The exemplary protocol handler 312 of the remote device BLE bridge 110 removes the HART 7 protocol) and sends it to the remote device 106. The exemplary BLE interface 408 of the remote device BLE bridge 110 receives the transmission from the field device 102 and passes the transmission to the exemplary RX / TX interface handler 416 via the exemplary BLE stack handler 404. The RX / TX interface handler 416 handles communication operations between the BLE interface 408 and the exemplary host application 418. In some examples, the RX / TX interface handler 416 receives data packets from the BLE interface 408 and sends the data packets to the receiver transmitter interface 400 via the BLE stack handler 304. For example, the RX / TX interface handler 416 includes a receiver (RX) to obtain data packets designated to be sent to the host application 418 from the BLE interface 408. In some examples, the RX / TX interface handler 416 receives data packets from the receiver transmitter interface 400 and sends the data packets to the BLE interface 408 via the BLE stack handler 404. For example, the RX / TX interface handler 416 includes a transmitter (TX) buffer to obtain data packets destined for transmission to the BLE interface 408 from the host application 418. The illustrated example BLE interface 408 and host application 418 support UART, I2C, SPI, and / or other similar integrated circuit communication protocols.

[0086] In some examples, the command processor 410 determines the direction of data flow based on the master and slave communication model. For example, the command processor 410 may determine that the data packet corresponds to a send request from the receiver transmitter interface 400 (e.g., a slave device sends a notification to the master device). In such examples, the command processor 410 may direct the data packet to be processed and sent from the receiver transmitter interface 400 to the BLE stack handler 404. In another example, the command processor 410 may determine that the data packet corresponds to a receive request from the BLE interface 408 (e.g., a master device sends a data packet to a slave device without a response from the slave device). In such examples, the command processor 410 may direct the data packet to be processed and sent from the BLE interface 408 to the receiver transmitter interface 400.

[0087] In some examples, the command processor 410 evaluates read and write BLE requests based on security information (e.g., security permissions, security rules, etc.). For example, the command processor 410 can determine that the received request is authorized based on comparing the opcode of the received request with a list of authorized opcodes. In such examples, when the command processor 410 determines that the opcode is not authorized, the command processor 410 can deny the received request. For example, an unauthorized opcode can indicate that a user sending information to the remote device 106 via the remote device BLE bridge 110 is not allowed to access the information, change the information, etc. on the remote device 106.

[0088] In some examples, the command processor 410 performs a communication operation of the remote device BLE bridge 110 based on determining whether the value of the opcode corresponds to a specific industrial communication protocol. For example, the command processor 410 may determine that the value of the opcode corresponding to the receive request at the BLE interface 408 corresponds to the HART protocol. The exemplary command processor 410 may determine that the host application 418 of the remote device 106 supports the HART protocol. In such examples, the command processor 410 may guide the BLE interface 408 to receive information from the field device 102 based on a comparison of the protocol indicated by the opcode value with the supported protocol of the host application 418. The command processor 410 rejects the receive request based on a mismatch between the protocol indicated by the opcode value and the supported protocol of the host application 418. In some examples, the command processor 410 guides the processing of the data packet received from the field device BLE bridge 104 by calling the protocol handler 412 to perform one or more operations.

[0089] In some examples, the command processor 410 processes radio-specific commands. For example, the command processor 410 may direct the BLE stack handler 404 to adjust or change the transmit power level of the BLE interface 408. For example, the command processor 410 may direct the BLE stack handler 404 to reduce the transmit power level of the BLE interface 408 to save power. In another example, the command processor 410 may direct the BLE stack handler 404 to increase the transmit power level of the BLE interface 408 to increase the transmission range of the BLE interface 408. In some examples, the command processor 410 processes radio-specific commands by executing a filter (e.g., a notch filter) when the command processor 410 detects a problem with the existing radio frequency of the BLE interface 408. In some examples, the command processor 410 processes radio-specific commands by completely shutting down the BLE interface 408 to enter a complete radio silence mode.

[0090] exist Figure 4In the illustrated example of FIG. 4 , the platform manager 402 includes a protocol handler 412 to perform communication operations based on the direction of data flow between the field device 102 and the remote device 106. In some examples, the protocol handler 412 performs communication operations based on the flow of data from the host application 418 to the remote device BLE bridge 110. In such examples, the protocol handler 412 determines whether the data packet received from the field device 102 is the first data packet for the communication session. For example, in response to determining that the data packet is the first data packet of the communication session, the protocol handler 412 can read and store the data packet received by the field device 102. Figure 3 The protocol address (e.g., HART protocol address, PROFIBUS address, etc.) used by the field device MCU 318 of the protocol handler 412 may be used for data packet reconstruction. In response to determining that the data packet is not the first data packet of the communication session, the exemplary protocol handler 412 may remove the protocol address from the data packet.

[0091] In some examples, the protocol handler 412 removes the protocol information from the data packet before sending the data packet to the security manager 414 and further to the host application 418. For example, as described in conjunction with Figure 3 As discussed, Figure 1-Figure 4 The field device BLE bridge 104 can send data packets to the remote device 106 via the BLE network 322 according to the BLE protocol. In such examples, the BLE protocol data packet is transmitted to the protocol handler 412 via the BLE interface 408 and the BLE stack handler 404. In some examples, the protocol handler 412 removes BLE protocol information from the data packet, such as removing the BLE protocol preamble, BLE protocol address, BLE message integrity check, etc. from the BLE protocol data packet. In some examples, when the protocol handler 412 has removed the BLE protocol information, the data packet is sent to the security manager 414.

[0092] When the security manager 414 of the illustrated example receives a packet from the protocol handler 412, the security manager 414 may authenticate and / or decrypt a payload included in the data packet to obtain process data (e.g., process data associated with the field device 102) and / or other data from the data packet (e.g., associated data). In some examples, the associated data included in the data packet includes an encryption bit and an authentication bit that indicate to the security manager 414 whether the payload of the data packet is encrypted and / or authenticated (e.g., using CBC-MAC), respectively. For example, the encryption bit may have a value of 0 to indicate that the payload is not encrypted, or a value of 1 to indicate that the payload is encrypted. Additionally or alternatively, the authentication bit may have a value of 0 to indicate that the payload is not encrypted. Figure 1-Figure 4The payload is authenticated at the field device BLE bridge (e.g., using a MAC) or has a value of 1 to indicate that the payload has been authenticated.

[0093] In some examples, the payload of the data packet may be encrypted before the data packet is transmitted (e.g., from the field device 102). In such examples, the security manager 414 will decrypt the payload to access the payload. In some examples, the security manager 414 may use the encryption key to decrypt the payload of the data packet. For example, the security manager 414 may have received auxiliary information that includes an encryption key identifier that identifies the encryption key that the security manager 414 used to decrypt the payload. In some examples, the encryption key is a pre-shared key that is stored internally (e.g., in the database 406) or externally (e.g., via app in the cloud, in a hardware authentication device that supports encryption keys, etc.) and is accessible by the security manager 414. For example, the security manager 414 can identify a pre-shared encryption key that will decrypt the payload based on the encryption key identifier stored in the header data and access the pre-shared encryption key from an external database.

[0094] Additionally, in some examples, the encryption key is used in conjunction with a random value generated by the security manager 414. For example, the encryption key and the random value can be used as a pair for an encryption algorithm (e.g., an AES-256 encryption algorithm, such as in conjunction with Fig. 8A In such examples, the security manager 414 is able to decrypt the ciphertext (e.g., the encrypted payload) because the associated data and the auxiliary data allow the security manager 414 to generate the ciphertext (e.g., the encrypted payload) during the encryption process (e.g., by Figure 3 The security manager 414 of FIG. 410 uses the random value as an input (e.g., an adder) and accesses the encryption key used in the encryption process (e.g., based on the encryption key identifier). Thus, in the example shown, the security manager 414 performs the following operations by reversing the random value of the encryption key used by the security manager 414: Figure 3 The encryption process used by the security manager 314 of the present invention and applying the same random value and encryption key to the reverse encryption algorithm to decrypt the encrypted payload. In some examples, when the security manager 414 has decrypted the payload, the security manager 414 can further access process data (e.g., alarms, alerts, process values, etc.) and / or other data included in the payload. Additionally or alternatively, after decrypting the payload, the decrypted payload can be directed to the protocol handler 412 and / or the host application 418 where the process data and / or other data are accessed.

[0095] In some examples, the security manager 414 generates the random value based on data included in the associated data of the data packet and auxiliary data (e.g., included in a previously received data packet). For example, the associated data may include a random value generated by Figure 3 The security manager 314 is used to generate data bits (such as direction bits and source bits) of random value before the data packet is transmitted from the field device 102 to the remote device 106. The security manager 414 can further use the counter included in the association data and the initialization vector included in the auxiliary data to generate the random value. Figure 7 Further discussed is the generation of a random value by the exemplary security manager 414. When the security manager 414 has the random value and the encryption key, the security manager 414 can decrypt and authenticate a payload included in a data packet.

[0096] In some examples, the exemplary security manager 414 protects the host application 418 from intentionally malformed data or partially malformed data (e.g., fuzzing) by determining whether the data packet is correctly formed. For example, when a data packet is received from the field device 102, the security manager 414 can determine whether a message authentication code (MAC) is included in the data packet (e.g., when the data packet includes a payload of authenticated plaintext). The security manager 414 generates a MAC and determines whether the payload data and / or associated data of the data packet has been modified based on the MAC attached to the received payload. When the MAC generated by the security manager 414 does not match the received MAC (e.g., the MAC attached to the payload), the security manager determines that the data packet has been malformed or manipulated, and the security manager 414 can discard the data packet to reduce the risk associated with sending the malformed or manipulated data packet to the host application 418. When the MAC generated by the security manager 414 matches the received MAC, the security manager 414 determines that the data packet is authentic and is then further processed by the remote device BLE bridge 110. In some examples, the MAC has been encrypted (e.g., via Figure 3 The security manager 414 may be configured to generate a message integrity check (MIC) before the remote device BLE bridge 110 receives the data packet. In such an example, the security manager 414 decrypts the MIC to create a MAC. For example, the security manager 414 may use Fig. 8A The CCM encryption method generates a MAC based on the MIC.

[0097] In some examples, the security manager 414 uses a Cipher Block Chaining Message Authentication Code (CBC-MAC) method to generate a MAC, such as in conjunction with Figure 8BFurther discussed. Additionally or alternatively, the security manager 414 can generate a MAC based on a universal hash algorithm, such as a universal hash MAC (UMAC), a VMAC, etc. In some examples, the security manager 414 can generate a MAC based on a block cipher algorithm, such as a one-key MAC (OMAC), a parallelizable MAC (PMAC), etc. The MAC ensures that when a data packet is received at the remote device BLE bridge 110, manipulation, deletion, and / or any other interference with data included in the associated data and / or payload is detected.

[0098] In some examples, the protocol handler 412 sends the data packet received from the field device 102 via the direct connection to the security manager 414 after removing the BLE protocol information (e.g., BLE protocol preamble, BLE protocol address, BLE message integrity check, etc.). In such examples, the security manager 414 decrypts the payload and MIC, and further authenticates the data packet received at the BLE interface 408. In some examples, the security manager 414 does not use auxiliary data during the decryption and authentication of the data packet received via the direct connection. For example, the field device 102 and the remote device 106 can share auxiliary information (e.g., encryption key identifier, initialization vector, etc.) during the handshake between the field device 102 and the remote device 106. The security manager 414 can further use the auxiliary information and the associated data of the data packet during the decryption and authentication process. In addition, in some examples, the remote device 106 sends the data packet to the field device 102 (e.g., via a direct connection). In such examples, the remote device 106 encrypts and authenticates the payload before transmitting the data packet.

[0099] In some examples, the protocol handler 412 receives the plaintext data returned from the security manager 414 and reconstructs the data packets according to the industrial protocol (e.g., HART communication protocol, PROFIBUS, MODBUS, etc.). Figure 3 The protocol handler 312 of the remote device BLE bridge 110 may include an industrial protocol address (e.g., a HART protocol address, a PROFIBUS address, etc.) in a data packet (e.g., a data packet sent from the field device 102) that is received by the remote device BLE bridge 110. The protocol handler 412 then uses the industrial protocol address for industrial communication protocol data packet reconstruction. In some such examples, the first data packet received by the remote device BLE bridge 110 may include an industrial protocol address that the remote device BLE bridge 110 can use for future communication operations at the host application 418. Alternatively, the remote device BLE bridge 110 may send a read request to the field device 102 that includes an operation code that returns a protocol-specific address.

[0100] In the example shown, the RX / TX interface handler 416 receives a data packet formatted according to the industrial protocol from the protocol handler 412 (e.g., after the data packet is reconstructed), and sends the data packet to the host application 418. For example, the RX / TX interface handler 416 includes a receiver (RX) to obtain a data packet designated to be sent to the host application 418 from the protocol handler 412. In some examples, the protocol handler 412 determines whether the data packet is correctly formed based on evaluating the industrial protocol command. For example, the protocol handler 412 can receive a data packet including an industrial protocol command. In such examples, the protocol handler 412 can determine whether the industrial protocol command is valid (e.g., HART command 0 is valid) or invalid (e.g., HART command 255 is invalid). The exemplary protocol handler 412 can accept the data packet based on verifying that the industrial protocol command is valid, or reject the data packet based on failing to verify that the industrial protocol command is valid.

[0101] In some examples, the RX / TX interface handler 416 handles communication operations between the host application 418 and the BLE interface 408. The BLE interface 408 and the host application 418 of the illustrated example support UART, I2C, SPI, and / or other similar integrated circuit communication protocols. In some examples, the RX / TX interface handler 416 receives data packets from the receiver transmitter interface 400 and sends the data packets to the BLE interface 408 via the BLE stack handler 404. For example, the RX / TX interface handler 416 includes a transmitter (TX) buffer to obtain data packets designated to be sent to the BLE interface 408 from the host application 418. In some examples, the data packet is formatted by the protocol handler 412 (e.g., according to the BLE protocol), and the payload of the data packet is constructed, authenticated, and / or encrypted by the security manager 414 before the RX / TX interface handler 416 sends the data packet to the BLE interface 408.

[0102] In the example shown, the remote device BLE bridge 110 includes a BLE stack handler 404 to manage the BLE interface 408. In some examples, the BLE stack handler 404 simulates a serial port connection on a Bluetooth wireless connection. For example, the BLE stack handler 404 can simulate a UART to facilitate communication between the BLE interface 408 and the platform manager 402. In the example shown, the remote device BLE bridge 110 includes a database 406 to record data (e.g., the mode of the remote device 106, the protocol address, the parameters of the BLE stack handler 404, the parameters of the BLE interface 408, etc.). The exemplary database 406 can respond to inquiries for information related to the data in the database 406. For example, the database 406 can respond to inquiries for additional data by providing additional data (e.g., one or more data points), by providing an index associated with the additional data in the database 406, by providing a pre-shared encryption key, etc. When there is no additional data in the database 406, the exemplary database 406 can respond to the query in addition or alternatively by providing an empty index, the end of the database identifier, etc.

[0103] The exemplary database 406 may be implemented by volatile memory (e.g., synchronous dynamic random access memory (SDRAM), dynamic random access memory (DRAM), RAMBUS dynamic random access memory (RDRAM), etc.) and / or non-volatile memory (e.g., flash memory). The exemplary database 406 may additionally or alternatively be implemented by one or more double data rate (DDR) memories (such as DDR, DDR2, DDR4, DDR4, mobile DDR (mDDR), etc.). The exemplary database 406 may additionally or alternatively be implemented by one or more mass storage devices (such as hard disk drives, compact disk drives, digital versatile disk drives, solid-state drives, etc.). Although in the illustrated example, the database 406 is shown as a single database, the database 406 may be implemented by any number and / or type of databases.

[0104] In the illustrated example, the remote device BLE bridge 110 includes a BLE interface 408 for sending information to and / or receiving information from an external device such as the field device 102. The BLE interface 408 of the illustrated example is a radio transceiver operating in the 2.4 GHz unlicensed ISM band. For example, the BLE interface 408 can operate the radio transceiver based on the connection interval, radio power level, latency, etc. implemented by the BLE stack handler 404.

[0105] Despite Figure 4 The implementation is illustrated in Figure 1-Figure 3 The remote device BLE bridge 110 is an exemplary method, but it can be Figure 4One or more of the elements, processes and / or devices illustrated in the example may be combined, divided, rearranged, omitted, eliminated and / or implemented in any other manner. In addition, an exemplary receiver transmitter (RX / TX) interface 400, an exemplary platform manager 402, an exemplary BLE stack processor 404, an exemplary database 406, an exemplary BLE interface 408, an exemplary command processor 410, an exemplary protocol handler 412, an exemplary security manager 414, an exemplary RX / TX interface handler 416, an exemplary host application 418 and / or more generally, Figure 4 The exemplary remote device BLE bridge 110 may be implemented by hardware, software, firmware, and / or any combination of hardware, software, and / or firmware. Thus, for example, an exemplary receiver transmitter (RX / TX) interface 400, an exemplary platform manager 402, an exemplary BLE stack handler 404, an exemplary database 406, an exemplary BLE interface 408, an exemplary command processor 410, an exemplary protocol handler 412, an exemplary security manager 414, an exemplary RX / TX interface handler 416, an exemplary host application 418, and / or more generally, Figure 4 Any of the exemplary remote device BLE bridges 110 can be implemented by one or more analog or digital circuits, logic circuits, programmable processors, programmable controllers, graphics processing units (GPUs), digital signal processors (DSPs), application specific integrated circuits (ASICs), programmable logic devices (PLDs), and / or field programmable logic devices (FPLDs). When any apparatus or system claim of this patent is read to cover pure software and / or firmware implementations, the exemplary receiver transmitter (RX / TX) interface 400, the exemplary platform manager 402, the exemplary BLE stack handler 404, the exemplary database 406, the exemplary BLE interface 408, the exemplary command processor 410, the exemplary protocol handler 412, the exemplary security manager 414, the exemplary RX / TX interface handler 416, the exemplary host application 418, and / or more generally, Figure 4 At least one of the exemplary remote devices BLE bridge 110 is expressly defined herein as comprising a non-transitory computer-readable storage device or storage disk (such as a memory, a digital versatile disk (DVD), a compact disk (CD), a Blu-ray disk, etc.) including software and / or firmware. Further, Figure 4 An exemplary remote device BLE bridge 110 may include in addition to Figure 1 In addition to or in place of the components, processes and equipment shown in Figure 4The present invention may include one or more of the elements, processes, and devices shown in the embodiment of the present invention, and / or may include more than one of any or all of the elements, processes, and devices shown. As used herein, the phrase "in communication," including variations thereof, encompasses direct communication and / or indirect communication through one or more intermediate components, and does not require direct physical (e.g., wired) communication and / or constant communication, but rather includes selective communication at regular intervals, scheduled intervals, non-periodic intervals, and / or one-time events.

[0106] Figure 5 5 is a block diagram of an exemplary implementation of an attribute (ATT) protocol packet 500. The ATT protocol packet 500 of the illustrated example is a standard Bluetooth Low Energy (BLE) data packet for sending information over a BLE network. In the illustrated example, the ATT protocol packet 500 includes a preamble 502, an access address 504, a protocol data unit (PDU) 506, and a cyclic redundancy check (CRC) 508. The preamble 502 of the illustrated example is a 2-byte value used for synchronization and timing of a data receiver (e.g., a remote device 106, a field device 102, etc.). For example, a preamble value of 0xAA in a BLE packet may indicate that the BLE packet is a broadcast packet. The access address 504 of the illustrated example is a 4-byte value that identifies a BLE device. For example, an access address value of 0x8E89BED6 of a BLE packet may indicate that the BLE packet is a broadcast packet.

[0107] exist Figure 5 In the illustrated example of , the exemplary PDU 506 may be a value represented by a number of bytes from 2 to 257 bytes. For example, Figure 3 The protocol handler 312 can be based on the Figure 3 The size of the PDU 506 is determined by the available power of the field device BLE bridge 104 to transmit the ATT protocol packet 500. The exemplary PDU 506 includes a link layer (LL) header 510, which is a 2-byte value that identifies the link layer. The exemplary PDU 506 includes an exemplary PDU payload 512, which is a value in the range of 0 to 251 bytes. The exemplary PDU 506 includes an optional (OPT.) exemplary message integrity check (MIC) 514, which is a 4-byte value for evaluating the data integrity of the BLE packet. The exemplary PDU payload 512 includes an exemplary L2CAP header 516, which is a 4-byte value that identifies the L2CAP layer.

[0108] Figure 5The exemplary PDU payload 512 of the illustrated example includes exemplary ATT data 518, which is a value in the range of 0 to 247 bytes. The exemplary ATT data 518 includes an exemplary ATT header 520 and an exemplary ATT payload 522. The exemplary ATT header 520 is a 3-byte value organized by an exemplary opcode 524 and an exemplary handle 526. The exemplary opcode 524 is a 1-byte value that may correspond to an instruction or operation to be performed. The exemplary handle 526 is a 2-byte value that corresponds to an attribute on a generic attribute (GATT) server on the GATT layer. The exemplary ATT payload 522 is a value in the range of 0 bytes to 244 bytes that corresponds to data (e.g., field device information, firmware executable files, process data, etc.) to be sent to the remote device 106 and / or other devices (e.g., other field devices).

[0109] exist Figure 5 In the illustrated example of , several elements of the ATT protocol packet 500 may be adjusted or removed. In some examples, when the ATT protocol packet 500 is sent to Figure 3 The protocol handler 312 removes the LL header 510, L2CAP header 516, MIC 514, etc. before transmitting to the remote device 106. Additionally or alternatively, the size of the PDU 506 can be increased or decreased based on the available power budget for data transmission from the field device 102 and / or adjusting the maximum transmission unit (MTU) parameter. Furthermore, in some examples, Figure 3 The exemplary security manager 314 of the embodiment adjusts the ATT payload 522 by appending association data and / or a message authentication code (MAC) to the plaintext payload data, such as in conjunction with Figure 6 Further discussion.

[0110] Figure 6 yes Figure 5 600 and an exemplary flag 602. In some examples, the ATT payload 522 may be included in a broadcast transmission or a direct connection transmission. For example, Figure 5 The ATT protocol packet 500 can be obtained from Figure 1-Figure 4 The exemplary field device 102 broadcasts and can be used by Figure 3 and / or Figure 4 Any device (e.g., a device having a BLE radio, such as a Figure 1 , Figure 3 and / or Figure 4In some examples, the direct connection prompts the field device 102 and the remote device 106 to send and receive the authenticated and encrypted ATT payload 522. In some examples, the direct connection is established via a wired connection (e.g., between the field device 102 and the remote device 106). Additionally or alternatively, the direct connection between the field device 102 and the remote device 106 can be established via a wireless connection (Wi-Fi Direct, etc.).

[0111] In the illustrated example, when the field device 102 is to broadcast the ATT protocol packet 500, the illustrated example ATT payload 522 includes associated data 604 and ciphertext 606. The exemplary associated data 604 also includes a flag 602, a counter 608, and authenticated plaintext 610. The illustrated example ciphertext 606 includes authenticated encrypted data 612 and a message integrity check (MIC) 614. The exemplary flag 602 includes an authentication bit 616, an encryption bit 618, a direction bit 620, a source bit 622, a version least significant bit 624, a version most significant bit 626, and an auxiliary bit 628.

[0112] As combined Figure 3 As discussed, Figure 3 The security manager 314 determines the value of the flag 602 based on the transmission characteristics of the ATT protocol packet 500. For example, the security manager 314 determines the value of the authentication bit 616, the encryption bit 618, the direction bit 620, the source bit 622, the version least significant bit 624, the version most significant bit 626, the auxiliary bit 628, and / or other bits indicating other information or reserved for future use. In the illustrated example, the security manager 314 determines the value of the authentication bit 616 and the encryption bit 618. For example, when the command processor 310 determines that the ATT protocol packet 500 is to be authenticated before transmission, the security manager 314 determines that the authentication bit 616 will have a value of 1. In addition, if the command processor 310 determines that the ATT protocol packet 500 is to be encrypted, the security manager 314 determines that the encryption bit 618 will have a value of 1. On the other hand, when the ATT protocol packet 500 is not encrypted, the security manager 314 determines that the encryption bit 618 will have a value of 0. Similarly, when the data packet is not authenticated, the security manager 314 determines that the authentication bit 616 is to have a value of zero.

[0113] In some examples, the security manager 314 determines the direction bit 620 and the source bit 622 based on the transmission characteristics of the ATT protocol packet 500. In some examples, the security manager 314 determines the direction bit 620, which indicates the transmission direction of the ATT protocol packet 500 as from the field device 102 to the remote device 106 (e.g., or another device) or from the remote device 106 to the field device 102. In some examples, the field device 102 sends the ATT protocol packet 500 to multiple devices (e.g., Figure 2 104). In some examples, the security manager 314 determines that the direction bit 620 has a value of 0 when the ATT protocol packet 500 is sent from the field device 102 to the remote device 106, and determines that the direction bit 620 has a value of 1 when the ATT protocol packet 500 is sent from the remote device 106 to the field device 102. Alternatively, the security manager 314 may determine that the direction bit 620 has a value of 0 when the ATT protocol packet 500 is sent from the remote device 106 to the field device 102, and may determine that the direction bit 620 has a value of 1 when the ATT protocol packet 500 is sent from the remote device 106 to the field device 102.

[0114] In some examples, the security manager 314 also determines a source bit 622. The example source bit 622 indicates the transmission method of the ATT protocol packet 500. For example, Figure 3 The command processor 310 determines that the ATT protocol packet 500 will be sent as a broadcast transmission or as a transmission via a direct connection. In some examples, the security manager 314 determines that the source bit 622 has a value of 0 when the ATT protocol packet 500 is sent via a broadcast transmission, and determines that the source bit 622 has a value of 1 when the ATT protocol packet 500 is sent via a connected data channel. Alternatively, the values ​​for different transmission media can be reversed (for example, using a value of 0 for transmission via a direct connection and a value of 1 for broadcast transmission). In the example shown, the security manager 314 also determines the values ​​of the version least significant bit 624 and the version most significant bit 626 to be added to the flag 602.

[0115] The security manager 314 also determines the value of the auxiliary bit 628, which indicates whether the payload 600 includes auxiliary plaintext information. The auxiliary plaintext information includes additional flags, an initialization vector (e.g., in conjunction with Figure 7 When the ancillary bit has a value of 0, no ancillary data is sent in payload 600. For example, when the ancillary bit is 0, payload 600 includes plaintext, authenticated plaintext (e.g., within associated data 604), and / or ciphertext data (e.g., included in ciphertext 606), and the transmission of the payload will include information from Figure 3information of the field device MCU 318. On the other hand, an auxiliary bit having a value of 1 indicates that the payload 600 includes plaintext data intended to be used by the device receiving the ATT protocol packet 500 (e.g., the remote device 106) for decryption and authentication of future ATT payloads 522. For example, the auxiliary data included as plaintext in the payload 600 (e.g., sent when the auxiliary bit is 1) may include an initialization vector and an encryption key identifier for use in authenticating and / or decrypting future ATT payloads 522. In some examples, if the remote device 106 receives an ATT protocol data packet 500 including an authenticated and / or encrypted payload, the remote device cannot authenticate and / or decrypt the payload 600 unless the auxiliary data has been received. In some such examples, the remote device 106 buffers the received ATT protocol packets until the auxiliary data is received. In some examples, data packets including auxiliary data are interleaved with other data packets including process payload data. For example. The payload 600 may include auxiliary data in every tenth broadcast of the ATT protocol packet 500 from the field device 102. In such an example, the remote device 106 may use the auxiliary plaintext information to authenticate and / or decrypt the received ATT protocol packet 500 until new auxiliary plaintext information is received.

[0116] In some examples, the command processor 310 identifies whether the payload 600 of the ATT payload 522 is to be sent as plain text, authenticated plain text, and / or encrypted plain text via the BLE interface 308. For example, the command processor 310 may determine that the payload 600 will be broadcast as plain text via the BLE interface 308 because the information included in the payload 600 is not proprietary and / or can be viewed by any remote device in the exemplary remote devices 200-204. In some such examples, the command processor 310 may determine that the payload 600 will not be protected during transmission. For example, the command processor 310 may determine that the division or portion of the process control system associated with the field device 102 does not require the payload 600 to be authenticated and / or encrypted. In some such examples, the owner of the field device 102 does not care about other parties accessing or viewing the data included in the payload 600. In some alternative examples, the command processor 310 determines that the payload 600 is to be authenticated for transmission in order to protect the integrity of the payload 600 within the ATT payload 522. Additionally, in some alternative examples, the command processor 310 determines that the payload 600 is to be encrypted for transmission over the BLE interface 308. For example, the command processor 310 may determine that the payload 600 is intended for a particular client in a refinery where multiple clients operate. In such examples, the payload 600 within the ATT payload 522 is encrypted to ensure that the payload 600 is delivered to the correct recipient and that other entities within the refinery cannot access data (e.g., plaintext process data) included in the payload 600.

[0117] When the command processor 310 determines that the payload 600 is to be authenticated and / or encrypted, the security manager 314 of the illustrated example generates a random value that is further used in the generation of a message authentication code (MAC) (e.g., to authenticate the ATT payload 522) and / or in the encryption of the payload 600. In the illustrated example, the command processor 310 determines whether the payload 600 is to be authenticated or encrypted, and does not create a partially authenticated and partially encrypted payload (e.g., the payload 600 is either fully authenticated or fully authenticated and encrypted). Fig. 8A Further discussion by Figure 3 The exemplary security manager 314 encrypts the payload 600 and combines Figure 8B The generation of the MAC used to authenticate the ATT payload 522 is discussed further below. To generate the random value, the security manager 314 uses a number of values ​​that are then sent to the remote device 106 in auxiliary plaintext information (such as an encryption key identifier and an initialization vector) and in the flags 602 (such as a counter 608, a direction bit 620, and / or a source bit 622). Figure 7 The generation of random values ​​is discussed further.

[0118] When command processor 310 determines that payload 600 is to be sent as authenticated plaintext, payload 600 is authenticated (e.g., using a combination of Figure 8B 604) and includes it in the associated data 604. For example, the byte array received from the field device MCU 318 is inserted into the authenticated plaintext 610 within the associated data 604. In such examples, there is no authenticated encrypted data 612 within the ciphertext 606 (e.g., no portion or segment of the payload 600 is encrypted). The associated data 604 also includes a counter 608. For each ATT payload 522 broadcast from the field device 102, the counter 608 is incremented (e.g., incremented by 1). In some examples, the counter 608 is reset (e.g., reset to 0) when, for example, the counter 608 rolls over, the device (e.g., the field device 102) undergoes a power cycle, etc. When the counter 608 and the byte array have been inserted into the associated data 604, a MAC is generated to authenticate the byte array (e.g., to create the authenticated plaintext 610), the counter 608, and the flag 602. As described above, there is no authenticated encrypted data 612, but the ciphertext 606 does include a MIC 614. The MIC 614 is created by encrypting a MAC generated based on the flag 602, the counter 608, and the authenticated plaintext 610. After the MIC 614 is completed, the MIC 614 and the associated data 604 are concatenated to produce the ATT payload 522. The ATT protocol packet 500 can then be broadcast by the field device 102 to send the payload 600 as authenticated plaintext, and can be received and authenticated by the remote device 106 and / or other devices capable of receiving the ATT protocol packet 500.

[0119] When the command processor 310 determines that the payload 600 is to be sent as authenticated encrypted data (e.g., ciphertext), the ATT payload 522 includes the authenticated encrypted data 612 and does not include the authenticated plaintext 610. In some examples, the byte array is received from the field device MCU 318 and inserted into the payload 600. The security manager 314 then authenticates the flag 602, the counter 608, and the byte array by generating a MAC. In addition, the security manager 314 encrypts the MAC to generate the MIC 614, and encrypts the byte array to generate the authenticated encrypted data 612. When the encryption process is complete, the security manager 314 can concatenate the associated data 604 including the flag 602 and the counter 608, the authenticated encrypted data 612, and the MIC 614 to generate the ATT payload 522 having the authenticated and encrypted payload 600. The field device 102 may also broadcast an ATT protocol packet 500 to transmit information included in the byte array (eg, generated by the field device MCU 318 ) to devices within BLE radio range (eg, the remote device 106 ).

[0120] When the field device 106 is to send an ATT protocol packet 500 over a direct connection (e.g., with a remote device 106), the payload 600 is authenticated and encrypted. However, in such examples, because the device receiving the ATT protocol packet 500 (e.g., the remote device 106) does not need the auxiliary information, the auxiliary bit is set to 0. This is due, for example, to a handshake that occurs prior to data transmission. During the handshake, the field device 102 shares the initialization vector and encryption key to be used by the remote device 106, and thus the remote device 106 already has the information required to complete the decryption and authentication of the payload 600. When the field device BLE bridge 104 receives a data packet having an industrial protocol from the field device MCU 318 (e.g., a data packet to be output over a direct connection), Figure 3The protocol handler 312 first determines the industrial protocol associated with the data packet. In order to send the ATT protocol packet 500 over a direct connection, the protocol handler 312 converts the industrial protocol packet into a BLE payload (e.g., payload 600). When the protocol handler 312 has created the payload 600, the security manager 314 generates a flag 602 (e.g., including a source bit 622 indicating the transmission type as a direct connection transmission) and a random value. The security manager 314 uses the random value to authenticate (e.g., by generating a MAC) the flag 602, the counter 608, and the payload 600. The payload 600 and the MAC are both encrypted (e.g., to create authenticated encrypted data 612 and MIC 614, respectively), and the associated data 604, the authenticated encrypted data 612, and the MIC 614 are concatenated to generate the ATT payload 522. The ATT protocol data packet 500 can then be sent to the remote device 106 via a direct connection, and the remote device 106 can authenticate and decrypt the ATT payload 522 based on auxiliary information (e.g., initialization vector, encryption key, etc.) shared during the handshake between the field device 102 and the remote device.

[0121] In some examples, when the command processor 310 determines that the payload 600 is to be sent as plaintext (e.g., the security manager 314 does not authenticate or encrypt the payload 600 prior to transmission), the ATT protocol packet 500 is directed to the security manager 314 for generating the flag 602. For example, the security manager 314 generates the flag 602 by determining the values ​​of the authentication bit 616, the encryption bit 618, the direction bit 620, and the source bit 622. Additionally or alternatively, the security manager 314 may determine the values ​​of the version least significant bit 624 and the version most significant bit 626 to be added to the header. When the payload 600 is to be sent as plaintext data, the security manager 314 determines that the authentication bit 616 and the encryption bit 618 have a value of 0 (e.g., no authentication or encryption will be performed when the data packet is sent as plaintext). The security manager 314 also determines the values ​​of the direction bit 618 and the source bit 620 in the manner previously discussed. In some examples, the security manager 314 determines that the auxiliary bit 628 has a value of 0 (eg, because the auxiliary information was not sent with the plaintext payload 600 ). Therefore, the security manager 314 generates a flag 602 and appends the flag 602 to the payload 600 of the ATT payload 522 .

[0122] In some examples, the remote device BLE bridge 110 Figure 4The security manager 414 of the remote device 106 can decrypt the encrypted payload 600 of the ATT protocol data packet 500 received at the remote device BLE bridge 110 of the remote device 106. For example, when the ATT protocol packet 500 is received at the remote device 106, the ATT payload 522 of the ATT protocol packet 500 can be directed to the security manager 414 to be directed to the remote device 106. Figure 4 The example protocol handler 412 and / or the example host application 418 of the security manager 414 authenticate and / or decrypt the ATT payload 522 before the example protocol handler 412 and / or the example host application 418. In some examples, the security manager 414 authenticates the integrity of the payload 600, the flag 602, and / or the associated data 604 (e.g., using a MAC). In some examples, the security manager 414 performs the authentication after decrypting the payload 600. Additionally or alternatively, the payload 600 may not be encrypted, and the security manager 414 may immediately authenticate the payload 600 (e.g., without necessarily requiring decryption). In some such examples, if it is determined that the payload 600 and / or the associated data 604 are not authentic (e.g., the MAC indicates that the payload 600, the flag 602, and / or the associated data 604 have been manipulated, abnormally formed, etc.), the security manager 414 may discard the ATT protocol packet 500. In conjunction with Figure 8B Authentication of the ATT protocol packet 500 at the remote device 106 is further discussed. In some examples, the payload 600 is not encrypted, and the ATT payload 522 can be directed to the protocol handler 412 and / or the host application 418 when the security manager 414 has authenticated the payload 600, the flag 602, and / or the associated data 604.

[0123] When the security manager 314 receives the ATT payload 522 including the authenticated and encrypted payload 600, the security manager 414 can decrypt the MIC 614 and the authenticated encrypted data 612. For example, the security manager 414 can receive an encryption key identifier in the auxiliary data (e.g., interwoven in the transmission of the data packet) that indicates to the security manager 414 which encryption key to use in decrypting the authenticated encrypted data 612. In some examples, the security manager 414 can access multiple pre-shared keys (e.g., keys known to the security manager 414). In some such examples, the pre-shared keys are included in an application located outside the remote device 106 that can be accessed by the security manager 414. The security manager 414 also accesses additional data (e.g., an initialization vector, additional flags, etc.) included in the auxiliary information previously sent in the ATT payload 522. Using this information, the security manager 414 can use the auxiliary information as well as the flag 602 and the counter 608 to generate a random value and decrypt the authenticated encrypted data 612. The additional data may be used to determine a random value used during encryption of the payload 600 by the field device 102 prior to transmission of the ATT protocol data packet 500 to the remote device 106. When the security manager 414 has determined the random value, the random value is used in conjunction with the encryption key identifier to decrypt the payload 600, such as in conjunction with the encryption key identifier. Fig. 8A and Figure 8B Further discussion.

[0124] Figure 7 Is Figure 1-Figure 4 An exemplary field device 102 and / or Figure 1 , Figure 3 and / or Figure 4 The exemplary random value 700 is used as an input to an exemplary encryption algorithm (e.g., an AES-128 block cipher), such as in conjunction with Fig. 8A and Figure 8B In some examples, the random value 700 is determined by Figure 3 Additionally or alternatively, the random value 700 is generated by the exemplary remote device BLE bridge 110 included in the example security manager 314. Figure 4 In the example shown, the random value 700 includes 13 bytes. Additionally or alternatively, the random value 700 may include a greater or lesser number of bytes.

[0125] The exemplary random value 700 is initially determined by, for example Figure 3 The security manager 314 transmits data packets (e.g., Figure 5The ATT protocol packet 500 is generated before being transmitted from the field device 102 to the remote device 106. In some examples, the security manager 314 generates the ATT protocol packet 500 based on the field device 102. Figure 6 The direction bit 618 and source bit 620 included in the flag 602 of Figure 6 discussed), and / or Figure 6 The security manager 314 generates the random value 700 based on the counter 608 of the counter 608. In the illustrated example, the security manager 314 generates the random value 700 as a 13-byte random value. In some examples, the 13-byte random value 700 includes a 3-byte counter 608 (e.g., a counter having bytes 0-2), a 9-byte initialization vector (e.g., an initialization vector having bytes 0-8), and a byte based on the direction bit 618 and the source bit 620. For example, the security manager 314 generates the exemplary zeroth byte 702 (e.g., byte 0) of the random value 700 based on the zeroth byte of the counter 608 (e.g., byte 0 of the counter 608). The security manager 314 also uses two bytes of the counter 608 (e.g., bytes 1 and 2 of the counter 608) to generate two additional bytes of the random value (e.g., the exemplary first byte 704 and the exemplary second byte 706). To generate the third byte 708 of the random value 700, the security manager 314 uses the direction bit 620 and the source bit 622 included in the flag 602.

[0126] The security manager 314 also generates the 9 bytes of the random value 700 using the 9-byte initialization vector. For example, the fourth byte 710 of the random value 700 includes the zeroth byte of the initialization vector, the fifth byte 712 of the random value 700 includes the first byte of the initialization vector, and so on. The last two bytes of the random value 700 (e.g., the exemplary eleventh byte 714 and the exemplary twelfth byte 716) include the final bytes of the initialization vector (e.g., the seventh and eighth bytes of the initialization vector). In addition, the fourth byte 708 of the random value 700 is the least significant byte of the initialization vector, and the twelfth byte 716 of the random value 700 is the most significant byte of the initialization vector. In some examples, the initialization vector is included in auxiliary information broadcast from the field device 102 (e.g., for broadcast data transmission). In such examples, Figure 4 The security manager 414 can use the initialization vector included in the auxiliary information to determine the random value. In some alternative examples, the initialization vector is obtained during a handshake between the field device 102 and the remote device 106 and can be used when sending data packets via a direct connection. In some examples, when the field device 102 is directly connected to the remote device 106, the initialization vector does not change throughout the connection session. When the random value 700 has been generated by Figure 3 An exemplary security manager 314 or Figure 4 When the security manager 414 generates the random number 700, it can be used as a combination of Fig. 8A and Figure 8B The input to the encryption algorithm is discussed further.

[0127] Fig. 8A is an illustrative example of a counter that employs the Cipher Block Chaining (CBC)-MAC (CCM) mode encryption method 800. In the CCM mode encryption method 800, the random value (e.g., Figure 7 700) and an exemplary encryption key 804 (e.g., in combination with Figure 6 The secret encryption key included in the auxiliary information discussed above) is used as input to the exemplary AES-256 block cipher 806. The random value 700 is further appended to a counter (e.g., different from Figure 6 804 ) to create input blocks 700a, 700b, and 700c. For example, a first input block 700a is generated by appending a random value 700 to a counter, wherein the counter has a value of 0. In addition, a second input block 700b is generated by appending a random value 700 to a counter, wherein the counter has a value of 1. Then, a final input block 700c is generated based on the random value 700 appended to the final value of the counter (e.g., depending on the size of the payload 600). Additionally or alternatively, the CCM mode encryption method 800 may use a different block cipher (e.g., an AES-128 block cipher). The AES-256 block cipher 806 outputs an exemplary first adder 808a based on the first input block 700a and the encryption key 804. In some examples, the payload 600 (e.g., including the CBC-MAC) is segmented into 128-bit data blocks, each 128-bit block is used as an input to the AES-128 block cipher 806, and is combined after the encryption process. Then adder 808 and Figure 6 For example, in Fig. 8A In the example, the first 128-bit plaintext portion 600a of the payload 600 can be combined with the adder 808 to generate a first 128-bit ciphertext output 810a. In some examples, the first 128-bit plaintext portion 600a is a CBC-MAC to be encrypted to create a MIC (e.g., using Figure 8B In such an example, the remaining 128-bit plaintext portion 600b-600c includes Figure 6 The payload is 600.

[0128] The CCM mode encryption method 800 also generates a second adder 808b based on inputting the second input block 700b and the encryption key 804 into the AES-256 block cipher 806, and combines the second adder 808b with the second 128-bit portion 600b of the payload 600. In such an example, the second 128-bit ciphertext output 810b is output by combining the second 128-bit ciphertext output 810b and the second adder 808b. The CCM mode encryption method 800 continues to generate 128-bit ciphertext outputs until the payload 600 has been completely encrypted. The final input block 700c is combined, and the encryption key 804 is input into the AES-256 block cipher 806 to produce the final adder 808c. The final adder 808c can be combined with the final 128-bit portion 600c of the payload 600 to generate the final 128-bit ciphertext output 810c. The final step of the CCM mode encryption method 800 includes concatenating the 128-bit ciphertext outputs 810a-810c to create an encrypted payload (e.g., Figure 6 In some examples, the payload 600 is process data associated with a process control system (e.g., process values, alarms, etc.). For example, the payload 600 may be a Figure 1-Figure 4 The adder 808 thus encrypts the payload 600 to create the example encrypted payload 810 .

[0129] In some examples, when payload 600 has been encrypted and associated data (e.g., Figure 6 When the associated data 604) has been appended to the authenticated encrypted data 612, the authenticated encrypted data 612 and the associated data 604 are authenticated. Figure 8B 604. The example CCM mode encryption method 800 can also be used to authenticate the encrypted data 612 and the associated data 604. Figure 8B The MAC generated by the method shown is encrypted to create a MIC (e.g., Figure 6 In some examples, when the payload 600 and the MIC 614 have been encrypted, the field device 102 sends a data packet with the authenticated encrypted data 612 (e.g., Figure 5 ATT protocol packet 500) is sent to Figure 1 , Figure 3 and / or Figure 4In some examples, the security manager 414 included in the remote device 106 receives the authenticated encrypted data 612 and the MIC 614 and uses the AES-256 block cipher 806 to decrypt the MIC 614 and the authenticated encrypted data 612. For example, the security manager 414 can generate the random value 700 (e.g., as combined with Figure 7 ), and can access the encryption key 804 used by the security manager 314 included in the field device 102. In some examples, the security manager 414 is combined with Figure 6 The encryption key 804 is identified from the auxiliary information discussed above and is accessed from the set of pre-shared keys. In the illustrated example, the security manager 414 also inputs the random value 700 and the encryption key 804 into an AES-256 block cipher 806, which outputs exemplary adders 808a-808c. In some examples, the adders 808a-808c are combined with corresponding 128-bit ciphertext outputs 810a-810c to decrypt the authenticated encrypted data 612, thereby generating the payload 600. In such examples, the payload 600 is a payload that can be accessed by the remote device 106 (e.g., by Figure 4 The plaintext data may be further accessed by the exemplary protocol handler 412 and / or the exemplary host application 418).

[0130] Figure 8B is used to generate a message authentication code (MAC) (for example, combined with Figure 6 812 for an exemplary payload (e.g., Figure 6 600) and / or exemplary associated data (e.g., Figure 6 In the example shown, the payload 600 and associated data 604 are segmented by the security manager 314 into block B0 814, block B1 816, and block B r 818. In some examples, between block B1 816 and block B r There are additional blocks between 818 that operate in the same manner as blocks 814-818. In some examples, each of blocks 814-818 includes 128 bits of data from payload 600 and / or associated data 604. Additionally or alternatively, each of blocks 814-818 may include 256 bits of data from payload 600 and / or associated data 604. In some examples, encryption (e.g., using CBC-MAC method 812) is performed prior to using CBC-MAC method 812. Fig. 8ACCM mode encryption method 800) payload 600 shown.

[0131] In the example shown, block B0 814 is input into the example AES-256 block cipher 806. In some examples, the CBC-MAC method 812 uses a different block cipher (e.g., AES-128) or uses a hash algorithm (e.g., HMAC). The AES-256 block cipher 806 also receives as input the example encryption key 804. In some examples, the security manager 314 determines the encryption key 804 to use based on the auxiliary information. In the example shown, the encryption key 804 is Fig. 8A 804. Alternatively, the CBC-MAC method 812 may use a different encryption key 804. Based on the input (e.g., block B0 814 and the encryption key 804), the AES-256 block cipher 806 outputs an exemplary first ciphertext block 820. In the example shown, the first ciphertext block 820 is combined (e.g., concatenated) with block B1 816, which is used as a new input to the AES-128 block cipher 806 along with the encryption key 804. The AES-128 block cipher 806 then outputs an exemplary second ciphertext block 822, and the process begins again (e.g., the second ciphertext block 822 is combined or concatenated with another block of plaintext data and input into the AES-128 block cipher 806). In the example shown, block B0 814 is combined (e.g., concatenated) with the encryption key 804. r 818 is combined with the ciphertext block output in the previous step to be used as input to the AES-128 block cipher 806, and the AES-256 block cipher 806 outputs a MAC. In some examples, the MAC output by the AES-256 block cipher 806 is a 3-byte MAC. In some examples, the MAC is then appended to the payload 600 and encrypted (e.g., using Fig. 8A CCM mode encryption method 800).

[0132] when Figure 1-Figure 4 When the exemplary remote device BLE bridge 110 receives a data packet including the MIC 614 at the remote device 106, Figure 4The exemplary security manager 414 of the remote device 106 may decrypt the MIC 614 to generate a MAC and then authenticate the payload 600 and associated data 604 using a CBC-MAC method 812. For example, the security manager 414 of the remote device 106 may use the CBC-MAC method 812, which is also used by the security manager 314 of the field device 102 to verify the MAC and thus authenticate the payload 600 and associated data 604 (e.g., to check for manipulation, deletion, etc. of the payload 600 or the associated data 604). The security manager 414 divides the payload 600 and associated data 604 into blocks 814-818. The security manager 414 also inputs the block B0 814 into the AES-256 block cipher 806 along with the encryption key 804 to generate a first ciphertext block 820. In some examples, the security manager 414 determines the encryption key 804 to use based on the auxiliary information. For example, the auxiliary information identifies the encryption key 804 used by the security manager 314 of the field device 102 when generating the MAC, which allows the security manager 414 of the remote device 106 to generate the same value for the MAC.

[0133] The security manager 414 also combines the first ciphertext block 820 with block B1 816 and uses the combined value along with the encryption key 804 as a new input to the AES-256 block cipher 806. Thus, the second ciphertext block 822 is output, and the process is repeated until the final block, block B1 816, is obtained. r 818 is combined with the previous ciphertext block and input into the AES-256 block cipher 806 along with the encryption key 804. The MAC is output by the AES-256 block cipher 806 and can be further compared with the value of the MAC attached to the payload 600 (e.g., originally the MIC 614, but now decrypted to the MAC). If the two values ​​match, the security manager 414 verifies the integrity of the data packet and accepts the data packet. On the other hand, if the security manager 414 determines that the values ​​of the two MACs do not match, the security manager 414 can reject the data packet.

[0134] exist Figure 9A-9D The diagram shows a method for implementing Figure 3 104 of the field device BLE bridge 104 of the exemplary hardware logic, machine readable instructions, hardware implemented state machine and / or any combination thereof. The machine readable instructions may be for a computer processor (e.g., the following in combination with Fig.11The program may be embodied in software stored on a non-transitory computer-readable storage medium such as a CD-ROM, floppy disk, hard drive, DVD, Blu-ray disk, or memory associated with the processor 1112, but the entire program and / or portions thereof may alternatively be executed by a device other than the processor 1112 and / or embodied in firmware or dedicated hardware. In addition, although reference is made to Figure 9A-9D The flowchart shown describes an exemplary procedure, but many other methods of implementing the exemplary field device BLE bridge 104 may be used instead. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured to perform the corresponding operations without executing software or firmware.

[0135] As mentioned above, Figure 9A-9D The exemplary processes of may be implemented using executable instructions (e.g., computer and / or machine readable instructions) stored on a non-transitory computer and / or machine readable medium (such as a hard drive, flash memory, read-only memory, compact disk, digital versatile disk, cache, random access memory, and / or any other storage device or storage disk) where information is stored for any duration (e.g., for an extended period of time, permanently, transiently, for temporary buffering, and / or for caching information). As used herein, the term "non-transitory computer readable medium" is expressly defined to include any type of computer readable storage device and / or storage disk and to exclude propagating signals and to exclude transmission media.

[0136] "Include" and "comprising" (and all forms and tenses thereof) are used herein as open-ended terms. Thus, whenever a claim employs any form of "include" or "comprising" (e.g., includes, comprises, contains, includes, has, etc.) as a preamble or in any kind of claim recitation, it should be understood that other elements, items, etc. may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the term "at least" is used as a transitional term, such as in the preamble of a claim, it is open-ended in the same manner as the terms "include" and "comprising" are open-ended. The term "and / or" when used, for example, in a form such as A, B, and / or C, refers to any combination or subset of A, B, C, such as (1) only A, (2) only B, (3) only C, (4) A and B, (5) A and C, (6) B and C, and (7) A and B and C. As used herein in the context of describing structures, components, items, objects, and / or things, the phrase “at least one of A and B” is intended to refer to implementations that include any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects, and / or things, the phrase “at least one of A or B” is intended to refer to implementations that include any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B. As used herein in the context of describing the execution or execution of processes, instructions, actions, activities, and / or steps, the phrase “at least one of A and B” is intended to refer to implementations that include any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B. Similarly, as used herein in the context of describing the execution or running of processes, instructions, actions, activities, and / or steps, the phrase "at least one of A or B" is intended to refer to an implementation that includes any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B.

[0137] Fig.9A is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 3 The exemplary field device BLE bridge 104 broadcasts from Figure 1-Figure 4 The exemplary process 900 begins at block 902, where the field device BLE bridge 104 receives a byte array from a field device microcontroller (MCU) 318 to send as plain text, authenticated plain text, or authenticated cipher text. For example, Figure 3The exemplary command processor 310 of FIG. 314 may receive a data packet from a field device MCU 318, the data packet including process data obtained by the field device 102. The command processor 310 is also instructed to receive a byte array as a data packet (e.g., Figure 5 ATT protocol packet 500) in the plaintext payload (e.g. Figure 6 The payload 600) is sent.

[0138] At block 904, the field device BLE bridge 104 determines a counter (eg, Figure 6 608) indicates whether auxiliary data is to be broadcast (e.g., in conjunction with Figure 6 For example, when auxiliary data is to be sent every ten messages, command processor 310 may determine the value of counter 608 to determine whether it is a multiple of 10. When command processor 310 determines that auxiliary data is to be broadcast, control of process 900 proceeds to block 910. When command processor 310 determines that auxiliary data is not to be broadcast, control of process 900 proceeds to block 906.

[0139] At block 906, the field device BLE bridge 104 sets the auxiliary bit (eg, Figure 6 For example, the security manager 314 can generate an auxiliary bit 628 that indicates whether the ATT payload 522 includes auxiliary information and determine that the value of the auxiliary bit is 0 (e.g., because the ATT payload 522 does not include auxiliary information). In some examples, the auxiliary bit 628 is included in Figure 6 The ATT payload 522 is within the flag 602 and can be set to a value of 0 (eg, no auxiliary information) or 1 (eg, the ATT payload 522 includes auxiliary information).

[0140] At block 908, the field device BLE bridge 104 determines that the payload (e.g., the payload 600) will be a byte array received from the field device MCU 318. For example, when the security manager 314 determines that auxiliary information is not to be sent in the ATT payload 522, the security manager 314 determines that the payload 600 will include a byte array (e.g., process data obtained by the field device 102).

[0141] The field device BLE bridge 104 further sets the auxiliary bit 628 to 1 (block 910). For example, the example security manager 314 can generate the auxiliary bit 628 of the flag 602 to be 1 because auxiliary information will be broadcast from the field device 102 within the ATT payload 522. At block 912, the field device BLE bridge 104 determines that the payload 600 will be an auxiliary data byte array. For example, when the security manager 314 determines that auxiliary data will be broadcast from the field device 102, the security manager 314 inserts the auxiliary data into the payload 600. In some examples, the auxiliary data includes an initialization vector (e.g., when generating Figure 7 The random value 700 may be used in the present invention), an encryption key identifier (e.g., used to select an encryption key), additional flags, and / or other information.

[0142] The field device BLE bridge 104 further generates the remaining flags 602 (block 914). For example, in addition to the previously generated auxiliary bits 628 (e.g., generated at block 906 or block 910), the security manager 314 may also generate an authentication bit 616, an encryption bit 618, a direction bit 620, a source bit 622, a version least significant bit 624, and / or a version most significant bit 626. The flags 602 indicate the state of the payload 600 (e.g., plain text, authenticated plain text, authenticated and encrypted plain text, etc.), the direction of the ATT protocol packet 500 (e.g., to or from the field device 102), the transmission type (e.g., broadcast or direct connection), and / or other information about the payload 600 or the ATT protocol data packet 500.

[0143] At block 916, the field device BLE bridge 104 constructs a data packet based on the payload 600 and the flag 602. For example, the security manager 314 constructs the ATT payload 522 based on the payload 600 and the flag 602. In some examples, the payload 600 includes associated data (e.g., Figure 6 The associated data 604) and the ciphertext (e.g., ciphertext 606) are included in the associated data 604. In such examples, the associated data 604 is not encrypted, but can be authenticated, and the ciphertext 606 is encrypted. In some examples, the byte array received from the field device MCU 318 is authenticated and not encrypted, and in such examples, the byte array is included in the associated data 604. Alternatively, the security manager 314 can determine that the byte array received from the field device MCU 318 is to be authenticated and encrypted, and the security manager 314 therefore includes the byte array in the ciphertext 606. Fig. 9B An implementation of block 916 is illustrated in which the byte array is authenticated and not encrypted. Fig. 9CThe implementation of block 916 is illustrated, where the byte array is authenticated and encrypted. When the byte array is to be broadcast as plain text, the payload 600 is not decomposed into the associated data 604 and the ciphertext 606. For example, the byte array is used as the payload 600 and is broadcast from the field device 102 along with the flag 602.

[0144] At block 918, the field device BLE bridge 104 broadcasts a data packet (e.g., an ATT protocol packet 500). For example, the security manager 314 may send the ATT protocol packet 500 including the payload 600 (e.g., as plain text, authenticated plain text, or authenticated and encrypted plain text) to the Figure 3 The BLE interface 308 also broadcasts the ATT protocol packet 500 via the exemplary BLE network 322 .

[0145] The field device BLE bridge 104 further increments the counter 608 (block 920). For example, the security manager 314 increments the counter 608 by 1 to update the counter 608. In some examples, the counter 608 indicates whether the payload 600 will include auxiliary information or a byte array received from the field device MCU 318. Additionally or alternatively, incrementing the counter 608 allows a new random value to be generated for the next data packet to be sent. For example, even when the initialization vector is the same, because the counter is incremented, the random value (e.g., Figure 7 The random value 700) is also unique.

[0146] Fig. 9B is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary field device BLE bridge 104 of FIG. 1 constructs a data packet based on the payload 600 and the flag 602 when the payload 600 is to be authenticated and not encrypted. The process 916 begins at block 922 where the field device BLE bridge 104 generates a random value (e.g., Figure 7 For example, the security manager 314 may generate the random value 700 based on the flag 602, the initialization vector, and / or the counter 608. For example, the security manager 314 may generate the random value 700 based on the direction bit 620 and the source bit 622 from the flag 602, the initialization vector, and the counter 608 used to generate the random value 700 (e.g., as combined with Figure 7 for further discussion).

[0147] At block 924, the field device BLE bridge 104 generates a cipher block chain (CBC)-message authentication code (MAC) of the associated data 604. For example, the security manager 314 may use a combination of Figure 8BThe discussed CBC-MAC (eg, also referred to herein as MAC) method 812 generates a CBC-MAC of the associated data 604. Thus, the MAC authenticates all of the associated data 604, including the flag 602, the counter 608, and / or the authenticated plaintext 610.

[0148] The field device BLE bridge 104 further generates a MIC (eg, Figure 6 MIC 614) (block 926). For example, the security manager 314 uses Fig. 8A The CBC-MAC generated at block 924 is encrypted using the CCM mode encryption method 800 of the process 900. At block 928, the field device BLE bridge 104 concatenates the association data 604 and the MIC 614. For example, the security manager 314 can concatenate the association data 604 and the MIC 614 to complete the construction of the ATT payload 522 to be sent in the ATT protocol data packet 500. When the association data 604 and the MIC 614 have been concatenated, control returns to block 918 of the process 900, where the authenticated data packet is broadcast by the field device 102.

[0149] Fig. 9C is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary field device BLE bridge 104 constructs a data packet based on the payload 600 and the tag 602 when the data packet is to be authenticated and encrypted. The exemplary process 916 begins at block 930 where the field device BLE bridge 104 generates a random value (e.g., Figure 7 For example, the security manager 314 may generate the random value 700 based on the flag 602, the initialization vector, and / or the counter 608. For example, the security manager 314 may generate the random value 700 based on the direction bit 620 and the source bit 622 from the flag 602, the initialization vector, and the counter 608 (e.g., as combined with Figure 7 for further discussion).

[0150] At block 932, the field device BLE bridge 104 generates a CBC-MAC of the associated data 604 and the payload 600. For example, the security manager 314 may use a combination of Figure 8BThe CBC-MAC method 812 discussed above is used to generate a CBC-MAC of the associated data 604 and the payload 600 (e.g., the payload 600 included in the ciphertext 606). Thus, the MAC authenticates the associated data 604, including the flag 602 and / or the counter 608, and all data in the payload 600. The field device BLE bridge 104 further generates a MIC (e.g., Figure 6 MIC 614) (block 934). For example, the security manager 314 uses Fig. 8A The CBC-MAC generated at block 934 is encrypted using the CCM mode encryption method 800 of FIG. 104. At block 936, the field device BLE bridge 104 encrypts the payload 600. For example, using the CCM mode encryption method 800, the security manager 314 can encrypt the payload 600. Encryption of the payload 600 occurs after the payload 600 is authenticated.

[0151] At block 938, the field device BLE bridge 104 concatenates the association data 604, the encrypted payload (e.g., the authenticated encrypted data 612), and the MIC 614. When the concatenation is complete, the ATT payload 522 includes the authenticated encrypted payload, and the ATT protocol data packet 500 is ready to be broadcast by the field device 102. Control of the process 916 then returns to block 918 of FIG. 9, where the field device 102 broadcasts the ATT protocol packet 500 (e.g., via Figure 3 BLE network 322).

[0152] Fig.9D is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary field device BLE bridge 104 can send data packets (e.g., Figure 5 The exemplary process 940 begins at block 942 where the field device BLE bridge 104 receives a signal from the field device MCU (e.g., Figure 3 The command processor 310 may receive an industrial protocol data packet from the field device MCU 318 for output. For example, the command processor 310 may receive an industrial protocol packet from the field device MCU 318, which may be sent to the device (e.g., Figure 1 , Figure 3 and / or Figure 4 remote device).

[0153] The field device BLE bridge 104 further determines the industrial protocol associated with the industrial protocol data packet to be output (block 944). For example, the protocol handler 312 can determine the industrial protocol of the industrial protocol data packet received from the field device MCU, such as the HART protocol, PROFIBUS protocol, etc.

[0154] At block 946, the field device BLE bridge 104 converts the industrial protocol data packet to a BLE payload (e.g., the ATT payload 522). For example, the protocol handler 312 may determine that the industrial protocol data packet supporting information (e.g., preamble, address, etc.) is to be removed to convert the industrial protocol data packet to a form consistent with the ATT payload 522.

[0155] The field device BLE bridge 104 further generates a random value (eg, Figure 7 The random value 700 is generated by the security manager 314 (block 948). For example, the security manager 314 can generate the random value 700 based on the flag 602, the initialization vector, and / or the counter 608. In some examples, the security manager 314 generates the random value 700 based on the direction bit 620 and the source bit 622 from the flag 602, the initialization vector, and the counter 608 used to generate the random value 700 (e.g., as combined with Figure 7 for further discussion).

[0156] At block 950, the field device BLE bridge 104 generates a CBC-MAC based on the payload 600 and the associated data 604. For example, the security manager 314 may use a combination of Figure 8B The CBC-MAC method 812 discussed is used to generate a CBC-MAC for the associated data 604 and the payload 600 (e.g., the payload 600 included in the ciphertext 606). Therefore, the MAC authenticates the associated data 604, including the flag 602 and / or the counter 608, and all data in the payload 600. The field device BLE bridge 104 also generates a MIC (e.g., Figure 6 MIC 614) (block 952). For example, the security manager 314 uses Fig. 8A The CBC-MAC generated at block 934 is encrypted using the CCM mode encryption method 800 of FIG. 104. At block 954, the field device BLE bridge 104 encrypts the payload 600. For example, using the CCM mode encryption method 800, the security manager 314 can encrypt the payload 600. Encryption of the payload 600 occurs after the payload 600 is authenticated.

[0157] At block 956, the field device BLE bridge 104 concatenates the association data 604, the encrypted payload (e.g., the authenticated encrypted data 612), and the MIC 614. When the concatenation is complete, the ATT payload 522 includes the authenticated and encrypted payload, and the ATT protocol data packet 500 is ready to be sent over the direct connection between the field device 102 and the remote device 106. The field device BLE bridge 104 further sends the data packet (e.g., the ATT protocol data packet 500) over the BLE connection (e.g., the direct connection between the field device 102 and the remote device 106) (block 958). For example, the BLE interface 308 can send the ATT protocol packet 500 to only the remote device 106 (e.g., the ATT protocol packet 500 is not broadcast on the BLE network 322 to any device within range of the field device 102).

[0158] At block 960 , the field device BLE bridge 104 increments a counter (eg, Figure 6 For example, the security manager 314 increments the counter 608 by 1 to update the counter 608. In some examples, incrementing the counter 608 allows a new random value to be generated for the next data packet to be sent over the BLE connection. For example, even when the initialization vector is the same, because the counter 608 is incremented, the random value (e.g., Figure 7 The random value 700) is also unique. At block 962, the field device BLE bridge 104 determines whether to send more data packets. For example, the command processor 310 can determine whether additional industrial protocol data packets are received from the field device MCU 318. When more data packets are to be sent, control of process 940 returns to block 942. When no more data packets are to be sent, control of process 940 ends.

[0159] exist Figure 10A-10C The diagram shows a method for implementing Figure 4 Flowchart of exemplary hardware logic, machine readable instructions, hardware implemented state machine and / or any combination thereof of the remote device BLE bridge 110. The machine readable instructions may be a flowchart of an ... Fig.12 The program may be embodied in software stored on a non-transitory computer-readable storage medium such as a CD-ROM, floppy disk, hard drive, DVD, Blu-ray disk, or memory associated with the processor 1212, but the entire program and / or portions thereof may alternatively be executed by a device other than the processor 1212 and / or embodied in firmware or dedicated hardware. In addition, although reference is made to Figure 10A-10CThe flowchart shown describes an exemplary procedure, but many other methods of implementing the exemplary remote device BLE bridge 110 may be used instead. For example, the order of execution of the blocks may be changed, and / or some of the blocks described may be changed, eliminated, or combined. Additionally or alternatively, any or all of the blocks may be implemented by one or more hardware circuits (e.g., discrete and / or integrated analog and / or digital circuits, FPGAs, ASICs, comparators, operational amplifiers (op-amps), logic circuits, etc.) that are configured to perform the corresponding operations without executing software or firmware.

[0160] As mentioned above, Figure 10A-10C The exemplary processes of can be implemented using executable instructions (e.g., computer and / or machine readable instructions) stored on a non-transitory computer and / or machine readable medium (such as a hard drive, flash memory, read-only memory, compact disk, digital versatile disk, cache, random access memory, and / or any other storage device or storage disk) where information is stored for any duration (e.g., for an extended period of time, transiently, for temporary buffering, and / or for information caching). As used herein, the term "non-transitory computer readable medium" is expressly defined to include any type of computer readable storage device and / or storage disk and to exclude propagating signals and to exclude transmission media.

[0161] "Include" and "comprising" (and all forms and tenses thereof) are used herein as open-ended terms. Thus, whenever a claim employs any form of "include" or "comprising" (e.g., includes, comprises, contains, includes, has, etc.) as a preamble or in any kind of claim recitation, it should be understood that other elements, items, etc. may be present without falling outside the scope of the corresponding claim or recitation. As used herein, when the term "at least" is used as a transitional term, such as in the preamble of a claim, it is open-ended in the same manner as the terms "include" and "comprising" are open-ended. The term "and / or" when used, for example, in a form such as A, B, and / or C, refers to any combination or subset of A, B, C, such as (1) only A, (2) only B, (3) only C, (4) A and B, (5) A and C, (6) B and C, and (7) A and B and C. As used herein in the context of describing structures, components, items, objects, and / or things, the phrase “at least one of A and B” is intended to refer to implementations that include any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B. Similarly, as used herein in the context of describing structures, components, items, objects, and / or things, the phrase “at least one of A or B” is intended to refer to implementations that include any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B. As used herein in the context of describing the execution or execution of processes, instructions, actions, activities, and / or steps, the phrase “at least one of A and B” is intended to refer to implementations that include any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B. Similarly, as used herein in the context of describing the execution or running of processes, instructions, actions, activities, and / or steps, the phrase "at least one of A or B" is intended to refer to an implementation that includes any of the following: (1) at least one A, (2) at least one B, and (3) at least one A and at least one B.

[0162] Fig. 10A is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary remote device BLE bridge 110 can receive a payload from an authenticated payload (e.g., Figure 6 The exemplary process 1000 begins at block 1002 where the remote device BLE bridge 110 receives a signal from a field device (e.g., Figure 1-4 The field device 102 receives a data packet with an authenticated payload (e.g., Figure 5 For example, Figure 4The BLE stack handler 404 may receive a payload having an authentication payload (e.g., including a Figure 4 The BLE interface 408 of the BLE network 322 sends (e.g., broadcasts) a data packet (e.g., ATT protocol packet 500) with a payload in authenticated plaintext 610. In such an example, the BLE stack handler 404 may direct the data packet to the Figure 4 The platform manager 402.

[0163] At block 1004, the remote device BLE bridge 110 determines whether auxiliary data has been received. For example, the security manager 414 may analyze Figure 5 to determine whether the ATT payload 522 includes auxiliary data (e.g., based on Figure 6 In some examples, the security manager 414 analyzes the flag 602 to determine the value of the auxiliary bit 628. In such examples, a value of 1 for the auxiliary bit 628 indicates that the data packet includes auxiliary data to be analyzed by, for example, the security manager 414. On the other hand, a value of 0 for the auxiliary bit 628 indicates that the auxiliary data is not included in the ATT payload 522. In some examples, the security manager 414 has previously received auxiliary data that can be used for the received data packet (e.g., from a data packet previously received by the remote device BLE bridge 110). When the remote device BLE bridge 110 determines that the security manager 414 has received the auxiliary data, control proceeds to block 1008. When the remote device BLE bridge 110 determines that the security manager 414 has not yet received the auxiliary data, control of the process 1000 proceeds to block 1006.

[0164] At block 1006, the remote device BLE bridge buffers the received data. For example, when the security manager 414 has not received the auxiliary data, the security manager 414 may store the data packets in Figure 4 Until the auxiliary data is received, the auxiliary data allows the security manager 414 to process the data packet and extract the payload 600.

[0165] At block 1008, the remote device BLE bridge 110 generates a random value (eg, Figure 7 The random value is 700). For example, Figure 4 The security manager 414 may be configured to be based on the flag 602, the initialization vector (e.g., as combined with Figure 7 discussed) and / or Figure 6In some examples, the security manager 414 generates the random value 700 based on the direction bit 620 and source bit 622 from the flag 602, the initialization vector, and the counter 608 (e.g., as combined with Figure 7 discussed).

[0166] At block 1010, the remote device BLE bridge 110 receives a signal from the remote device according to the MIC (eg, Figure 6 For example, the security manager 414 may generate a CBC-MAC by using Fig. 8A The exemplary CCM mode encryption method 800 of FIG. 1004 decrypts the MIC 614 to generate a CBC-MAC. In some examples, the security manager 414 uses the random value 700 generated at block 1008 and the MIC 614 as inputs to the CCM mode encryption method 800 to output a CBC-MAC.

[0167] The remote device BLE bridge 110 further authenticates the association data (e.g., the association data 604) and the payload 600 (block 1012). For example, the security manager 414 uses the MAC to use the combination Figure 8B The CBC-MAC method 812 discussed above is used to authenticate the associated data 604, including the flag 602, the counter 608, and the authenticated plaintext 610 (e.g., which includes the payload 600). Therefore, the MAC determines that the flag 602, the counter 608, and the authenticated plaintext 610 have not been manipulated, abnormally formed, etc. during transmission (e.g., from the field device 102 to the remote device 106). The remote device BLE bridge 110 further extracts the payload 600 (block 1014). For example, the security manager 414 extracts the payload 600 after the associated data 604 (e.g., including the flag 602, the counter 608, and the authenticated plaintext 610) has been authenticated. The extracted payload 600 can then be stored in the database 406 and / or sent to the remote device 106. Figure 4 Host application 418.

[0168] At block 1016, the remote device BLE bridge 110 determines whether to receive additional data packets. For example, Figure 4 The BLE interface 408 determines whether additional data packets are received at the remote device 106. When the BLE interface 408 receives additional data packets at the remote device 106, control of the process 1000 returns to block 1002. When no additional data packets are to be received, the process 1000 ends.

[0169] Fig. 10B is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary remote device BLE bridge 110 is configured to extract process data from the encrypted payload 810. The exemplary process 1018 begins at block 1020, where the remote device BLE bridge 110 receives a packet with an encrypted payload (e.g., Figure 5 The ATT payload 522, where Figure 6 The payload 600 is included in the authenticated encrypted data 612) of the data packet (e.g., Figure 5 ATT protocol packet 500). For example, Figure 4 The BLE stack handler 404 of the embodiment may receive an ATT protocol packet 500 having an authenticated and encrypted payload (e.g., a payload included in the authenticated encrypted data 612) sent (e.g., broadcasted) by the field device 102 over the BLE network 322. In such an example, upon receiving the ATT protocol packet 500, the BLE stack handler 404 may direct the ATT protocol packet 500 from the BLE interface 408 to the BLE interface 408. Figure 4 The platform manager 402.

[0170] The remote device BLE bridge 110 further determines whether auxiliary data has been received (block 1022). For example, the security manager 414 may analyze Figure 5 to determine whether the ATT payload 522 includes auxiliary data (e.g., based on Figure 6 In some examples, the security manager 414 analyzes the flag 602 to determine the value of the auxiliary bit 628. In such examples, a value of 1 for the auxiliary bit 628 indicates that the data packet includes auxiliary data (e.g., as plaintext) to be analyzed by, for example, the security manager 414. On the other hand, a value of 0 for the auxiliary bit 628 indicates that the auxiliary data is not included in the ATT payload 522. In some examples, the security manager 414 has previously received auxiliary data that can be used for the received data packet (e.g., from a data packet previously received by the remote device BLE bridge 110). When the remote device BLE bridge 110 security manager 414 has received the auxiliary data, control proceeds to block 1026. When the remote device BLE bridge 110 determines that the security manager 414 has not received the auxiliary data, control of the process 1018 proceeds to block 1024.

[0171] At block 1024, the remote device BLE bridge 110 buffers the received data. For example, when the security manager 414 has not received the auxiliary data, the security manager 414 may store the data packets in Figure 4Until the auxiliary data is received, the remote device BLE bridge 110 generates a random value (e.g., Figure 7 The random value 700) (block 1026). For example, Figure 4 The security manager 414 may be configured to be based on the flag 602, the initialization vector (e.g., as combined with Figure 7 discussed) and / or Figure 6 In some examples, the security manager 414 generates the random value 700 based on the direction bit 620 and source bit 622 from the flag 602, the initialization vector, and the counter 608 (e.g., as combined with Figure 7 discussed).

[0172] The remote device BLE bridge 110 further uses the random value 700 and the encryption key to decrypt the payload 600 (block 1028). For example, the security manager 414 may decrypt the payload using the random value 700 and the encryption key identified using the encryption key identifier (e.g., included in the auxiliary data). In some examples, the security manager 414 may use Fig. 8A The CCM mode encryption method 800 of the present invention is used to decrypt the payload 600. At block 1030, the remote device BLE bridge 110 receives the MIC (e.g., Figure 6 For example, the security manager 414 may use Fig. 8A CCM mode encryption method 800 to decrypt MIC 614 (e.g., including Figure 6 In some such examples, the decryption process includes the random value 700 and the encryption key for decrypting the payload (e.g., at block 1028).

[0173] At block 1032, the remote device BLE bridge 110 authenticates the associated data 604 and the plaintext payload 600 (e.g., the payload 600 in plaintext form after the decryption process at block 1028). For example, the security manager 414 may generate a MAC for the associated data 604 (e.g., the flag 602 and the counter 608) using the CBC-MAC method 812 and the payload 600, and may compare the value of the MAC generated using the CBC-MAC method 812 with the value of the MAC generated by decrypting the MIC 614. If the values ​​of the two MACs match, the security manager 414 confirms the authenticity of the payload 600. On the other hand, if the two values ​​do not match, the security manager 414 may reject the ATT protocol packet 500.

[0174] The remote device BLE bridge 110 further extracts the plaintext payload (e.g., the payload 600 after decryption and authentication). For example, the security manager 414 can access the plaintext data included in the payload 600 and store the plaintext data in Figure 4 In addition, the security manager 414 may send the extracted payload 600 to the Figure 4 1020. The exemplary host application 418 of the embodiment of the present invention is provided for further processing. At block 1036, the remote device BLE bridge 110 determines whether to receive additional data packets. For example, the BLE interface 408 can determine whether additional data packets are received at the remote device 106. When additional data packets are to be received at the remote device 106 via the BLE interface 408, control of the process 1018 returns to block 1020. When no additional data packets are to be received, the process 1018 ends.

[0175] Fig. 10C is a flowchart representing machine readable instructions that may be executed to implement Figure 1-Figure 4 The exemplary remote device BLE bridge 110 receives a payload (e.g., Figure 6 The exemplary process 1038 begins at block 1040, where Figure 1-Figure 4 The remote device 106 of the remote device BLE bridge 110 receives data from a field device (e.g., Figure 1-Figure 4 The field device 102 receives a data packet (e.g., Figure 5 ATT protocol packet 500). For example, Figure 4 The BLE stack handler 404 of the embodiment can receive the ATT protocol packet 500 having an authenticated and encrypted payload (e.g., a payload included in the authenticated encrypted data 612), which is sent by the field device 102 via a direct connection with the remote device 106. In such an example, upon receiving the ATT protocol packet 500, the BLE stack handler 404 can direct the ATT protocol packet 500 from the BLE interface 408 to the remote device 106. Figure 4 The platform manager 402.

[0176] At block 1042, the remote device BLE bridge 110 generates a random value (eg, Figure 7 The random value is 700). For example, Figure 4The security manager 414 can receive data for generating the random value 700 during a handshake when the field device 102 and the remote device 106 initialize a direct connection. In some such examples, the field device 102 and the remote device share an initialization vector, an encryption key identifier, and / or other information. In some examples, the security manager 414 uses an initialization vector (e.g., shared during a handshake), a key identifier included in an ATT payload (e.g., Figure 5 ATT payload 522) associated data (e.g., Figure 4 604) in the associated data (e.g., Figure 6 602) and a counter included in the associated data 604 (e.g., Figure 6 counter 608) to generate a random value 700.

[0177] The remote device BLE bridge 110 further decrypts the encrypted payload 600 (e.g., Figure 6 In the ciphertext 606 Figure 6 For example, the security manager 414 may use the random value 700 and an encryption key identified using an encryption key identifier (e.g., shared during a handshake) to decrypt the payload. In some examples, the security manager 414 may use Fig. 8A The CCM mode encryption method 800 of the present invention is used to decrypt the payload 600. At block 1046, the remote device BLE bridge 110 receives the MIC (e.g., Figure 6 For example, the security manager 414 may use the CCM mode encryption method 800 to decrypt the MIC 614 (e.g., included in Figure 6 In some such examples, the decryption process includes the random value 700 and the encryption key for decrypting the payload (e.g., at block 1044).

[0178] At block 1048, the remote device BLE bridge 110 authenticates the associated data 604 and the plaintext payload (e.g., the payload 600 in plaintext form after the decryption process at block 1044). For example, the security manager 414 may generate a MAC for the associated data 604 (e.g., the flag 602 and the counter 608) using the CBC-MAC method 812 and the payload 600. In such an example, the security manager 414 may compare the value of the MAC generated using the CBC-MAC method 812 with the value of the MAC generated by decrypting the MIC 614. If the values ​​of the two MACs match, the security manager 414 confirms the authenticity of the payload 600. On the other hand, if the two values ​​do not match, the security manager 414 may reject the ATT protocol packet 500.

[0179] The remote device BLE bridge 110 further determines the industrial protocol (block 1050). For example, Figure 4 The protocol handler 412 may determine the industrial protocol associated with the data packet (e.g., Figure 3 In some examples, the industrial protocol is implemented by the field device MCU 318. Figure 4 The host application 418 is used during further processing of the data packet. At block 1052, the remote device BLE bridge 110 reconstructs the industrial protocol from the BLE plaintext payload. For example, the protocol handler 412 can use the plaintext payload 600 (e.g., authenticated at block 1048) and add components of the industrial protocol (e.g., HART preamble, HART address, etc.) around the payload 600 to establish an industrial protocol (e.g., HART protocol, PROFIBUS protocol, etc.).

[0180] The remote device BLE bridge 110 further sends the industrial data packet to the host application 418 (box 1054). For example, when the protocol handler 412 has rebuilt the industrial protocol using the payload 600, the industrial data packet can be sent to the host application 418 for further processing. In such examples, when the industrial protocol packet is formatted according to the dedicated industrial protocol, the host application 418 can access the payload 600 from within the industrial protocol packet. At box 1056, the remote device BLE bridge 110 determines whether more data packets have been received. For example, the BLE interface 408 determines whether more data packets have been received and sends the received data packets to the security manager 414. When the remote device BLE bridge 110 determines that more data packets have been received, the control of the process 1038 returns to box 1040. When the remote device BLE bridge 110 determines that no more data packets have been received, the process 1038 ends.

[0181] Fig.11 is a block diagram of an exemplary processor platform configured to execute machine-readable instructions to implement Figure 9A-9D Methods and Figure 1-Figure 3 The processor platform 1100 may be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network), a mobile device (e.g., a cell phone, a smart phone, an iPad, etc.). TM tablet device, etc.), a personal digital assistant (PDA), an Internet appliance, or any other type of computing device.

[0182] The processor platform 1100 of the illustrated example includes a processor 1112. The processor 1112 of the illustrated example is hardware. For example, the processor 1112 may be implemented by one or more integrated circuits, logic circuits, microprocessors, GPUs, DSPs, or controllers of any desired family or manufacturer. The hardware processor may be a semiconductor-based (e.g., silicon-based) device. In this example, the processor implements Figure 3 An exemplary platform manager 302, an exemplary command processor 310, an exemplary protocol handler 312, an exemplary security manager 314, and an exemplary RX / TX interface handler 316 are shown.

[0183] The processor 1112 of the illustrated example includes a local memory 1113 (e.g., a cache). The processor 1112 of the illustrated example communicates with a main memory including a volatile memory 1114 and a non-volatile memory 1116 via a bus 1118. The volatile memory 1114 may be comprised of a synchronous dynamic random access memory (SDRAM), a dynamic random access memory (DRAM), Dynamic Random Access Memory The main memory 1114 and 1116 may be implemented by a memory controller.

[0184] The processor platform 1100 of the illustrated example also includes an interface circuit 1120. The interface circuit 1120 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), interface, a near field communication (NFC) interface, and / or a PCI Express interface. In the example shown, the interface circuit 1120 includes Figure 3 An exemplary receiver transmitter interface 300 and an exemplary BLE interface 308 are shown.

[0185] In the example shown, one or more input devices 1122 are connected to the interface circuit 1120. The input devices 1122 allow a user to enter data and / or commands into the processor 1112. The input devices may be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, buttons, a mouse, a touch screen, a trackpad, a trackball, isopoint, and / or a voice recognition system.

[0186] One or more output devices 1124 are also connected to the interface circuit 1120 of the illustrated example. The output device 1124 may be implemented, for example, by a display device (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display (LCD), a cathode ray tube display (CRT)), an in-plane switching (IPS) display, a touch screen, etc.), a tactile output device, a printer, and / or a speaker. Therefore, the interface circuit 1120 of the illustrated example typically includes a graphics driver card, a graphics driver chip, and / or a graphics driver processor.

[0187] The interface circuitry 1120 of the illustrated example also includes communication devices (such as transmitters, receivers, transceivers, modems, residential gateways, wireless access points, and / or network interfaces) to facilitate data exchange with external machines (e.g., any kind of computing device) via the network 1126. Communications may be via, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-sight wireless system, a cellular telephone system, and the like.

[0188] The processor platform 1100 of the illustrated example also includes one or more mass storage devices 1128 for storing software and / or data. Examples of such mass storage devices 1128 include floppy disk drives, hard disk drives, compact disk drives, Blu-ray disk drives, redundant array of independent disks (RAID) systems, and digital versatile disk (DVD) drives. In the illustrated example, the mass storage devices 1128 include Figure 3 An exemplary database 306 of .

[0189] Figure 9A-9D The machine-executable instructions 1132 may be stored in the mass storage device 1128, the volatile memory 1114, the non-volatile memory 1116, and / or on a removable, non-transitory computer-readable storage medium (such as a CD or DVD).

[0190] Fig.12 is a block diagram of an exemplary processor platform configured to execute machine-readable instructions to implement Figure 1-Figure 4 Methods and Figure 1-Figure 4 The processor platform 1200 may be, for example, a server, a personal computer, a workstation, a self-learning machine (e.g., a neural network), a mobile device (e.g., a cell phone, a smart phone, an iPad, etc.). TM tablet device, etc.), a personal digital assistant (PDA), an Internet appliance, or any other type of computing device.

[0191] The processor platform 1200 of the illustrated example includes a processor 1212. The processor 1212 of the illustrated example is hardware. For example, the processor 1212 may be implemented by one or more integrated circuits, logic circuits, microprocessors, GPUs, DSPs, or controllers of any desired family or manufacturer. The hardware processor may be a semiconductor-based (e.g., silicon-based) device. In this example, the processor implements Figure 4 An exemplary platform manager 402, an exemplary command processor 410, an exemplary protocol handler 412, an exemplary security manager 414, and an exemplary RX / TX interface handler 416 are shown.

[0192] The processor 1212 of the illustrated example includes a local memory 1213 (e.g., a cache). The processor 1212 of the illustrated example communicates with a main memory including a volatile memory 1214 and a non-volatile memory 1216 via a bus 1218. The volatile memory 1214 may be comprised of a synchronous dynamic random access memory (SDRAM), a dynamic random access memory (DRAM), Dynamic Random Access Memory The non-volatile memory 1216 may be implemented by flash memory and / or any other desired type of memory device. Access to the main memory 1214, 1216 is controlled by a memory controller.

[0193] The processor platform 1200 of the illustrated example also includes an interface circuit 1220. The interface circuit 1220 may be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB), interface, a near field communication (NFC) interface, and / or a PCI Express interface. In the example shown, the interface circuit includes Figure 4 An exemplary RX / TX interface 400 and an exemplary BLE interface 408 are shown.

[0194] In the example shown, one or more input devices 1222 are connected to the interface circuit 1220. The input devices 1222 allow a user to enter data and / or commands into the processor 1212. The input devices may be implemented by, for example, an audio sensor, a microphone, a camera (still or video), a keyboard, buttons, a mouse, a touch screen, a trackpad, a trackball, isopoint, and / or a voice recognition system.

[0195] One or more output devices 1224 are also connected to the interface circuit 1220 of the illustrated example. The output device 1224 can be implemented, for example, by a display device (e.g., a light emitting diode (LED), an organic light emitting diode (OLED), a liquid crystal display (LCD), a cathode ray tube display (CRT), an in-plane switching (IPS) display, a touch screen, etc.), a tactile output device, a printer, and / or a speaker. Therefore, the interface circuit 1220 of the illustrated example typically includes a graphics driver card, a graphics driver chip, and / or a graphics driver processor.

[0196] The interface circuitry 1220 of the illustrated example also includes communication devices (such as transmitters, receivers, transceivers, modems, residential gateways, wireless access points, and / or network interfaces) to facilitate data exchange with external machines (e.g., any kind of computing device) via the network 1226. Communications may be via, for example, an Ethernet connection, a digital subscriber line (DSL) connection, a telephone line connection, a coaxial cable system, a satellite system, a line-of-sight wireless system, a cellular telephone system, and the like.

[0197] The processor platform 1200 of the illustrated example also includes one or more mass storage devices 1228 for storing software and / or data. Examples of such mass storage devices 1228 include floppy disk drives, hard disk drives, compact disk drives, Blu-ray disk drives, redundant array of independent disks (RAID) systems, and digital versatile disk (DVD) drives. In the illustrated example, the mass storage devices 1228 include Figure 4 An exemplary database 406 of .

[0198] Figure 10A-10C The machine-executable instructions 1232 may be stored in the mass storage device 1228, the volatile memory 1214, the non-volatile memory 1216, and / or on a removable, non-transitory computer-readable storage medium (such as a CD or DVD).

[0199] In light of the foregoing, it will be appreciated that exemplary methods, apparatus, and articles for broadcasting data packets in a process control environment have been disclosed. The examples disclosed herein facilitate the transmission of information from a field device to a remote device via a BLE network. In some examples, a BLE bridge of a field device encrypts a payload and / or adds a message authentication code (MAC) to a data packet before transmitting it to a remote device. In some disclosed examples, a remote device includes a remote device BLE bridge that can receive, authenticate, and / or decrypt a payload of a data packet. When the data packet has been authenticated and / or the payload has been decrypted, the remote device BLE bridge can extract process data (e.g., process data associated with a process control system) from the payload.

[0200] The disclosed methods, apparatus, and articles improve the functionality of computing devices by securely broadcasting data in a process control environment while avoiding the scalability, interoperability, and continuous maintenance issues typically encountered when using BLE for broadcast transmissions. The examples disclosed herein also eliminate the need to maintain and update tables by sending process data as plain text. In addition, in some examples, a client field device can send proprietary information from a field device associated with a client to a remote device associated with the same client. Due to the authentication and / or encryption of data packets, the proprietary information is protected from interference from other clients within the process control system. Therefore, the disclosed methods, apparatus, and articles are directed to one or more improvements in computer functionality.

[0201] Although certain exemplary methods, apparatus, and articles have been disclosed herein, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers all methods, apparatus, and articles that fully fall within the scope of the claims of this patent.

Claims

1. A method for transmitting process data associated with a process control system to a remote device, the method comprising: In response to receiving a byte array including process data from a field device microcontroller, determining based on the counter whether to send auxiliary data from the field device, the auxiliary data including an encryption key identifier and an initialization vector; When auxiliary data is to be sent, sending a first data packet including the auxiliary data to the remote device; determining a value of a source bit based on a type of connection between the field device and the remote device, the source bit and the counter being included in associated data; generating a random value based on the source bits and the initialization vector; encrypting a payload including the byte array based on the encryption key identifier and the random value; as well as A second data packet is sent to the remote device, the second data packet including the associated data and an encrypted payload.

2. The method according to claim 1, further comprising: A message authentication code (MAC) is generated for the payload and the associated data.

3. The method according to claim 2, further comprising: The MAC is encrypted to generate a message integrity check (MIC), and the MIC, the associated data, and the encrypted payload are concatenated.

4. The method according to claim 1, wherein: The associated data further includes a direction bit for indicating a transmission direction of the second data packet.

5. The method according to claim 4, wherein: Generating the random value is also based on the direction bit and the counter.

6. The method according to claim 1, wherein: The auxiliary data included in the first data packet is in plain text.

7. The method according to claim 1, wherein: The associated data further includes an encryption bit and an authentication bit for indicating to the remote device that the payload of the second data packet is encrypted and authenticated, respectively.

8. The method according to claim 1, further comprising: The counter is incremented after sending the first data packet.

9. The method according to claim 1, wherein: The first data packet also includes an auxiliary bit to indicate to the remote device that auxiliary data is being sent.

10. An apparatus for transmitting process data associated with a process control system to a remote device, the apparatus comprising: A security manager that does the following: In response to receiving a byte array including process data from a field device microcontroller, determining based on the counter whether to send auxiliary data from the field device, the auxiliary data including an encryption key identifier and an initialization vector; When auxiliary data is to be sent, sending a first data packet including the auxiliary data to the remote device; determining a value of a source bit based on a type of connection between the field device and the remote device, the source bit and the counter being included in associated data; generating a random value based on the source bits and the initialization vector; and encrypting a payload including the byte array based on the included encryption key identifier and the random value; as well as A Bluetooth Low Energy (BLE) interface is provided to send a second data packet to the remote device, the second data packet comprising the association data and an encrypted payload.

11. The device according to claim 10, wherein: The security manager also generates a message authentication code (MAC) for the payload and the associated data.

12. The device according to claim 11, wherein The security manager also encrypts the MAC to generate a message integrity check (MIC), and concatenates the MIC, the associated data, and the encrypted payload.

13. The device according to claim 10, wherein: The associated data further includes a direction bit for indicating a transmission direction of the second data packet.

14. The device according to claim 13, wherein: The security manager generates the random value based on the direction bit and the counter.

15. The device according to claim 10, wherein: The auxiliary data included in the first data packet is in plain text.

16. A tangible computer readable storage medium comprising instructions that, when executed, cause a field device to transmit process data associated with a process control system to a remote device, the field device to at least: In response to receiving a byte array including process data from a field device microcontroller, determining based on the counter whether to send auxiliary data from the field device, the auxiliary data including an encryption key identifier and an initialization vector; When auxiliary data is to be sent, sending a first data packet including the auxiliary data to the remote device; determining a value of a source bit based on a type of connection between the field device and the remote device, the source bit and the counter being included in associated data; generating a random value based on the source bits and the initialization vector; encrypting a payload including the byte array based on the encryption key identifier and the random value; as well as A second data packet is sent to the remote device, the second data packet including the associated data and an encrypted payload.

17. The tangible computer readable storage medium of claim 16, wherein: The instructions also cause the field device to generate a message authentication code (MAC) for the payload and the associated data.

18. The tangible computer readable storage medium of claim 17, wherein: The instructions also cause the field device to encrypt the MAC to generate a message integrity check (MIC) and concatenate the MIC, the association data, and the encrypted payload.

19. The tangible computer readable storage medium of claim 16, wherein: The associated data further includes a direction bit for indicating a transmission direction of the second data packet.

20. The tangible computer readable storage medium of claim 19, wherein: Generating the random value is also based on the direction bit and the counter.

21. A method of obtaining process data received from a field device and associated with a process control system, the method comprising: In response to receiving a data packet, identifying, at a computing device, associated data and a payload included in the data packet, the associated data including a source bit; determining, at the computing device, a type of connection between the field device and the computing device based on the source bit; determining, at the computing device, an encryption key identifier and an initialization vector based on an auxiliary data packet received prior to the data packet; generating, at the computing device, a random value based on the source bits and the initialization vector, the random value indicative of an input to a data encryption algorithm used by the field device to encrypt the payload; as well as At the computing device, the process data associated with the process control system is extracted from the payload using the data encryption algorithm based on the encryption key identifier and the random value.

22. The method according to claim 21, wherein: The data packet also includes a message integrity check (MIC), which the computing device decrypts to generate a message authentication code (MAC) for the payload and the associated data.

23. The method according to claim 22, further comprising: A determination is made based on the MAC whether the payload or the associated data has been altered.

24. The method according to claim 21, wherein: The associated data also includes a direction bit for indicating a transmission direction of the data packet.

25. The method according to claim 24, wherein: Generating the random value is also based on the direction bit.

26. The method according to claim 21, wherein: The association data also includes a counter for generating the random value.

27. The method of claim 21, further comprising: adding, at the computing device, a protocol address corresponding to an industrial communication protocol to the payload; as well as At the computing device, a message is generated including the payload and the protocol address, the message corresponding to a data packet formatted according to the industrial communication protocol.

28. The method according to claim 27, further comprising: The message is sent to a host application running on the computing device.

29. A tangible computer readable storage medium comprising instructions that, when executed, cause a computing device to obtain process data associated with a process control system received from a field device, the computing device to perform at least the following operations: responsive to receiving a data packet, identifying associated data and a payload included in the data packet, the associated data including a source bit; determining a type of connection between the field device and the computing device based on the source bit; determining an encryption key identifier and an initialization vector based on an auxiliary data packet received prior to the data packet; generating a random value based on the source bits and the initialization vector, the random value indicating an input to a data encryption algorithm used by the field device to encrypt the payload; as well as The process data associated with the process control system is extracted from the payload using the data encryption algorithm based on the encryption key identifier and the random value.

30. The tangible computer readable storage medium of claim 29, wherein: The data packet also includes a message integrity check (MIC), and the instructions further cause the computing device to decrypt the MIC to generate a message authentication code (MAC) for the payload and the associated data.

31. The tangible computer readable storage medium of claim 30, wherein: The instructions also cause the computing device to determine, based on the MAC, whether the payload or the associated data has been altered.

32. The tangible computer readable storage medium of claim 29, wherein: The associated data also includes a direction bit for indicating a transmission direction of the data packet.

33. The tangible computer readable storage medium of claim 32, wherein: The computing device additionally generates the random value based on the direction bit.

34. The tangible computer readable storage medium of claim 29, wherein: When executed, the instructions further cause the computing device to: adding a protocol address corresponding to an industrial communication protocol to the payload; and A message is generated including the payload and the protocol address, the message corresponding to a data packet formatted according to the industrial communication protocol.

35. A system for obtaining process data received from a field device and associated with a process control system, the system comprising: a field device to broadcast a data packet including a payload and associated data, the payload including process data associated with a process control system, the associated data including a source bit; as well as Computing equipment to perform the following operations: in response to receiving the data packet, identifying the source bit and the payload included in the data packet; determining a type of connection between the field device and the computing device based on the source bit; determining an encryption key identifier and an initialization vector based on an auxiliary data packet received prior to the data packet; generating a random value based on the source bits and the initialization vector, the random value indicating an input to a data encryption algorithm used by the field device to encrypt the payload; as well as The process data associated with the process control system is extracted from the payload using the data encryption algorithm based on the encryption key identifier and the random value.

36. The system of claim 35, wherein: The data packet also includes a message integrity check (MIC), and the computing device also decrypts the MIC to generate a MAC for the payload and the associated data.

37. The system of claim 36, wherein: The computing device also determines, based on the MAC, whether the payload or the associated data has been altered.

38. The system of claim 35, wherein: The associated data also includes a direction bit for indicating a transmission direction of the data packet.

39. The system of claim 38, wherein: The computing device additionally generates the random value based on the direction bit.

40. The system of claim 35, wherein: The computing device is also used to perform the following operations: adding a protocol address corresponding to an industrial communication protocol to the payload; and A message is generated including the payload and the protocol address, the message corresponding to a data packet formatted according to the industrial communication protocol.