Device data protection based on network topology

By generating passphrases and keys based on network topology, it automatically encrypts and decrypts device data, solving the problem of unprotected sensitive data during device replacement and achieving fast and secure device replacement and data protection.

CN113906715BActive Publication Date: 2024-09-17SCHNEIDER ELECTRIC USA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080041321.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-04
Filing Date
2020-05-28
Publication Date
2024-09-17
Estimated Expiration
2040-05-28

AI Technical Summary

Technical Problem

In networked industrial systems, sensitive data may be unprotected during device replacement and exposed to attacks, leading to system failure or damage.

Method used

Automatically encrypt and decrypt sensitive device data by using device characterization data to generate passphrases and derive cryptographic keys based on network topology, providing data confidentiality and integrity protection and enabling rapid device installation and replacement without user interaction.

Benefits of technology

It realizes the security protection of sensitive device data, ensures the convenience of device replacement and data confidentiality, avoids system failures and data leaks, and improves the overall security and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113906715B_ABST
    Figure CN113906715B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a rapid device installation and replacement (DI&R) service in a network while providing confidentiality and integrity protection for sensitive device data. In one embodiment, this protection is provided by generating a passphrase using specific characterization data associated with each device in the network. The passphrase may be related to the topology of the device. In one embodiment, the passphrase is a concatenation of specific device characterization data relative to the topology. In an embodiment, the concatenation includes arranging the characterization data based on the order of each device relative to the topology. A cryptographic key is derived based on the passphrase. The cryptographic key is used to automatically encrypt and decrypt sensitive device data without user intervention. In one embodiment, the cryptographic key is used to automatically decrypt sensitive device data used to configure a replacement device for the network.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This international application is based on and claims the benefit of U.S. patent application No. 16 / 430,663, filed on June 4, 2019, and entitled “DECIVE DATA PROTECTION BASED ON NETWORK TOPOLOGY,” the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to protecting sensitive data of devices in a network system, and more particularly, to protecting device data based on network topology. Background Art

[0004] There are many industries that have evolved to integrate complex industrial processes with networked systems. Networked systems may include, for example, distributed computerized control devices that control various aspects of complex industrial processes used in the industry. In these types of systems, many of the computerized control devices may be replaced with replacement devices. For example, the replacement device may be physically installed and configured to operate in the same manner as the original device being replaced. In this case, the system may be shut down for a period of time while the original device is physically removed from its location. During the installation of the replacement device, certain sensitive device data may be accessed in order to configure the replacement device for the network. For example, after the replacement device is installed and connected to the network, operating parameters and configuration data may be downloaded to the replacement device via the network connection. However, in many cases, this may leave sensitive device data unprotected or exposed to attack. Summary of the invention

[0005] According to the present disclosure, a rapid device installation and replacement (DI&R) service is implemented by using certain device characterization data to generate a passphrase, which provides data confidentiality and strong integrity protection of sensitive device data without requiring user interaction. In many implementations, the passphrase is based on the topology associated with the interconnected devices of the network. For example, the passphrase can be a cascade of device characterization data organized in a specific arrangement relative to the topology. Then, a cryptographic key is derived based on the passphrase and used to protect (e.g., encrypt / decrypt / hash) sensitive device data without user intervention. In subsequent rapid device replacement events, the device's characterization data is used to re-derive the cryptographic key. In some implementations, the encrypted sensitive device data used to configure the replacement device is accessed and tested for validity. Then, the verified sensitive device data is decrypted and loaded into the replacement device, which will restore the normal operation of the original device in the network. In this way, a rapid device replacement is implemented that provides data confidentiality while also maintaining the convenience of device replacement without requiring user interaction.

[0006] In one aspect, a controller device for providing device data protection based on a network topology includes a memory storing a plurality of configuration data and processing logic operably coupled to the memory. The processing logic can identify a replacement device associated with at least one device among a plurality of devices in a network. Characterization data characterizing each of the plurality of devices and the replacement device is determined. A passphrase associated with a topology including the plurality of devices and the replacement device is generated based on the characterization data. A key derivation function using the passphrase as input is executed to generate a cryptographic key. Configuration data associated with replacement of at least one device with the replacement device is encrypted using the cryptographic key.

[0007] On the other hand, a method for providing device data protection based on network topology includes: receiving characterization data characterizing each of a plurality of devices in the network; deriving, by a controller device, a password phrase related to the topology of the plurality of devices based on the characterization data; generating, by the controller device, a cryptographic key based at least on the password phrase; and using the cryptographic key to decrypt configuration data for configuring a replacement device in the network.

[0008] In yet another aspect, a non-transitory computer-readable storage medium for providing device data protection based on network topology includes executable instructions that, when executed by a controller device, cause the controller device to: receive characterization data characterizing each of a plurality of devices in a network. Based on the characterization data, derive a passphrase associated with a topology of the plurality of devices. Generate a cryptographic key based on at least the passphrase. Using the cryptographic key, configuration data is decrypted to configure a replacement device for the network.

[0009] In one example, the replacement device is configured to operate as a replacement for the controller device based on the configuration data when an event associated with the replacement is detected. In this example, the event includes, but is not limited to, at least one of: a configuration change event, an operator command event, an error notification event, a restart event, or a scheduling event. For deriving a passphrase, characterization data for each of a plurality of devices associated with the topology is cascaded. For cascading, the characterization data is arranged based on an order of each of the plurality of devices relative to the topology. In yet another example, the decrypted configuration data of the replacement device is verified based on a calculated hash value associated with the plurality of devices. For verification, the calculated hash value is compared with a hash value extracted from the decrypted configuration data.

[0010] If the compared hash values ​​do not match each other, an alarm or error code is generated indicating that the configuration of the replacement device cannot be restored. If the compared hash values ​​match, then the decrypted sensitive device data is valid and the configuration of the replacement device can continue. Once the sensitive device data is decrypted and verified, the sensitive device data is loaded into the configuration of the replacement device. Thus, the replacement device can resume normal operation in place of the original device in the network.

[0011] This summary is provided to introduce in simplified form some concepts that will be further described in the detailed description below. This summary is not intended to identify the key features or essential features of the claimed subject matter, nor is it intended to be used to help determine the scope of the claimed subject matter. Other features will be apparent in part and pointed out in part below. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] A more detailed description of the disclosure, briefly summarized above, can be obtained by reference to various embodiments, some of which are shown in the accompanying drawings. Although the drawings illustrate selected embodiments of the disclosure, these drawings are not to be considered limiting of its scope, as the disclosure may admit to other equally effective embodiments.

[0013] Figure 1A-Figure 1C is a block diagram showing a system architecture for providing device data protection based on network topology according to an embodiment of the present disclosure.

[0014] Figure 2A-2C is a flowchart illustrating a background triggering process for providing device data protection based on the network topology of all managed devices in the network according to an embodiment of the present disclosure.

[0015] Figure 3A-3E is a flowchart illustrating a background triggering process for providing device data protection based on network topology when replacing a device in a network according to an embodiment of the present disclosure.

[0016] Figure 4The present invention is a flowchart of a method for providing device data protection based on network topology in rapid device replacement of a managed device according to an embodiment of the present disclosure.

[0017] Figure 5 The present invention is a flowchart of a method for providing device data protection based on network topology in a fast device replacement of a controller device according to an embodiment of the present disclosure.

[0018] Figure 6 is a block diagram illustrating a system including one or more machines in which embodiments of the present disclosure may be used.

[0019] Wherever possible, identical reference numerals are used to refer to identical elements in the drawings. However, elements disclosed in one embodiment may be beneficially utilized on other embodiments without specific recitation. DETAILED DESCRIPTION

[0020] Aspects of the present disclosure generally relate to implementing rapid device installation and replacement (DI&R) services in a network while providing confidentiality and integrity protection for sensitive device (configuration) data, such as device configuration files, user / password identifiers, device firmware files, etc. The technology of the present disclosure provides such protection by generating a passphrase using certain characterization data associated with each device in the network. For example, the passphrase may be related to the topology associated with the device. Topology refers to the physical design or arrangement / layout of interconnected devices in a network. For example, the passphrase may be a cascade of device characterization data, which is organized in a specific arrangement relative to the topology. Cryptographic keys are then derived based on the passphrase. The cryptographic keys are used to automatically encrypt and decrypt sensitive device data without user intervention. For example, at least one of the cryptographic keys is used to automatically decrypt sensitive device data to configure a replacement device for the network. Once decrypted, the sensitive device data can be loaded into the replacement device so that the device can operate as a replacement for the original device in the network. Therefore, the technology of the present disclosure advantageously allows any device of the network to be quickly and securely swapped out without adversely affecting service time or compromising system integrity.

[0021] Figure 1A-Figure 1C 1 is a block diagram showing a system architecture 100 for providing device data protection based on a network topology according to an embodiment of the present disclosure. Figure 1AAs shown, the system architecture 100 includes an isolation environment 101 in communication with one or more servers 103 (e.g., via a network connection), and the server 103 is associated with a distributed computing environment 105 coupled to the isolation environment 101. Aspects of the present disclosure can be implemented in conjunction with the distributed computing environment 105, which includes many types of computer system configurations, including personal computers, handheld devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, etc. Aspects of the present disclosure can also be practiced in conjunction with the distributed computing environment 105, in which tasks are performed by local and remote processing devices linked by a communication network (by hardwired links, wireless links, or by a combination of hardwired links or wireless links). In the distributed computing environment 105, program modules can be in local and remote memory storage devices, such as the server 103.

[0022] In implementation, server 103 can be used as a storage device of distributed computing environment 105. Server 103 can be a computer system, a mainframe, a workstation, a personal computer (PC), a mobile phone, a palm-sized computing device, etc. Server 103 can run "host" software, which is an operating system that manages hardware and other types of system resources, which can include processors, memory, I / O devices to provide functions such as inter-process communication, scheduling, memory and data management. In some implementations, isolation environment 101 can also be referred to as a network, such as an industrial process control network. In some implementations, isolation environment (network) 101 can include a public network (e.g., the Internet), a home or private network (e.g., a local area network (LAN) or a wide area network (WAN)), a wired network (e.g., Ethernet), a wireless network (e.g., an 802.11 network or a Wi-Fi network), a cellular network (e.g., a long-term evolution (LTE) network), a router, a hub, a switch, a server computer and / or a combination thereof.

[0023] In some implementations, the isolation environment 101 may include several interconnected devices, such as managed devices 110a-n, managed by one or more controller devices (such as controller device 120). The interconnected devices may be implemented as part of a process control system for various industries (e.g., chemical processing, pulp and paper manufacturing, power generation, oil and gas processing, telecommunications, hospital campuses, etc.). The controller device 120 may be a type of computer or processing device that can receive commands and data and send them to hardware devices (e.g., managed devices 110a-n) to control specific aspects of a process or the entire process. In an illustrative example, the controller device 120 may control various aspects of an automation system to perform integrated energy generation and management of part or all of a facility. The managed devices 110a-n may receive commands from the controller device 120 to implement the entirety of a portion of a controlled process. For example, the managed devices 110a-n may include a central processing unit that implements certain control functions in accordance with the instructions of the controller device 120.

[0024] In order to maintain the operational health of the process control system of the isolated environment 101, any of the managed devices 110a-n or the controller device 120 may be installed and / or replaced. For example, the original device of the isolated environment 101 may be replaced by a replacement device based on a triggering event, such as when an operator command is received to pause or restart the original device, when the operation of the original device is damaged or fails, or when the original device is scheduled for replacement, etc. During the installation of the replacement device, certain sensitive device data 111a-n and 121 may be accessed to configure the replacement device to operate in the network. The sensitive device data 111a-n and 121 associated with each managed device 110a-n and 120 may include, but is not limited to, configuration data / files, including passwords / user IDs and other types of sensitive device data. In some cases, access to sensitive device data may cause problems because this may leave the data unprotected or vulnerable to attack, resulting in various types of system failures or damage, thereby adversely affecting system performance.

[0025] Implementations of the present disclosure address the above and other deficiencies by implementing a rapid device installation and replacement (DI&R) service that simultaneously provides secure data protection for sensitive device data based on network topology. In some implementations, the techniques of the present disclosure may be implemented in DI&R processing logic 125 (e.g., hardware / software) of a controller device 120. For example, the DI&R processing logic 125 may be preloaded or loaded into the firmware of the device as needed. According to the present disclosure, the DI&R processing logic 125 provides data confidentiality and strong integrity protection for sensitive device data 111a-n and 121 by using certain device characterization data to generate a passphrase associated with the topology of devices 110a-n and 120.

[0026] Go to Figure 1B , showing another view of the system architecture. In this example, the DI&R processing logic 125 initially instructs the controller device 120 to query all managed devices 110a-n for device characterization data (device identification information) DII1-n. For example, the device characterization data DII1-n characterizes each device and may include, but is not limited to, a device serial number, a device business reference number, device location information, device order sorting information, etc. In order to query the managed devices 110a-n, the controller device 120 may use various techniques. For example, the controller device 120 may send a command or instruction to the managed devices 110a-n of each corresponding device to provide their device characterization data DI11-n. In response to the command, the devices 110a-n may return the device characterization data DI11-n for processing by the controller device 120. In an alternative implementation, the controller device 120 may query the hardware storage device of the managed devices 110a-n for information related to the device characterization data DI11-n. In some implementations, the controller device 120 may store the device characterization data DI11-n in a memory or other type of storage device. The querying of the device characterization data DII1 - n may be implemented, for example, at the time of initial construction of the system architecture, or subsequently by the controller device 120 as needed.

[0027] Based on the device characterization data DII1-n, a passphrase (e.g., text data) 123 associated with the topology of the managed devices 110a-n is generated. For example, the passphrase 123 can be a concatenation of specific portions and / or combinations of the device characterization data DII1-n of the devices. In some implementations, the concatenation includes arranging the device characterization data DII1-n based on the order of each device relative to the topology. For example, the device characterization data DII1 and DII2 of the managed devices 110a and 110b can be used to generate the passphrase 123, respectively. In this example, DII1 can include a device serial number DII1=XXX, and DII2=456, which can include a device commercial reference number. Thus, the pass phrase is generated as a test string = "DII1|DII2|...|DIIn,"...|DIIn" (the "|" in the text indicates concatenation) or as an example, "XXX|456...". In some cases, the order of the devices in the test string may be determined based on location information, device hierarchy, function, priority, or other types of device information. In alternative implementations, the concatenation of the device characterization data DII1-n may be unordered, and other arrangements of the data are possible.

[0028] Then, cryptographic keys (e.g., Key 1 and Key 2) are derived based on the passphrase 123. For example, the passphrase is used as input data to a key derivation function 127. In some implementations, the key derivation function 127 may include various types of cryptographic hash functions based on hash algorithms, such as ARGON2, PBKDF2, SCRYPT, or BCRYPT. Based on the passphrase, the key derivation function 127 returns an output key 129. The output key 129 may be divided into two keys, Key 1 and Key 2, where Key 1 is an encryption / decryption key (minimum length of 128 bits) and Key 2 is a hash-based message authentication code (HMAC) key (minimum length of 128 bits). In some implementations, the output key length is 256 bits, which satisfies the minimum key length of Key 1 of 128 bits and the hash length of Key 2 of 128 bits. In alternative implementations, the length of the output key 129 may be less than 256 bits, however, this may include a corresponding security sacrifice.

[0029] The controller device 120 automatically encrypts and decrypts the sensitive device data 111a-n and 121 based on the cryptographic keys (key 1 and key 2) derived from the output key 129. For example, key 1 (encryption / decryption key) is used to encrypt the sensitive device data 111a-n and 121. Key 2 (hash key) is used as an input to a cryptographic hash algorithm that also receives unencrypted sensitive device data 111a-n and 121 and returns a hash value 128. Hash value 128 represents a unique (e.g., 256-bit) signature of, for example, text. Hash value 128 is then used to ensure that the sensitive device data 111a-n and 121 has not been changed or tampered with after being encrypted.

[0030] Once the sensitive device data 111a-n and 121 are encrypted, an encrypted data object 155 including the encrypted sensitive device data 111a-n and 121 and the hash value 128 is generated and archived for subsequent retrieval. For example, the encrypted data object 155 may be stored in the data storage 150 of the server 103. In some implementations, the encrypted data object 155 may be tagged with a unique tag to associate it with the controller device 120. For example, a unique identifier (e.g., a MAC address) of the controller device 120 may be used to create a unique tag for the encrypted data object 155. This ensures that the controller device 120 accesses the correct encrypted data object 155. In some implementations, the addresses of one or more managed devices 110a-n and the unique identifier of the controller device 120 may be used to create a unique tag for the encrypted data object 155. In other implementations, the unique tag may include date / time information for versioning control of the encrypted data object 155.

[0031] In some implementations, the cryptographic keys (Key 1 and Key 2) derived from the output key 129 are deleted, for example, to ensure that they are not improperly accessed or remain unsecured. Because the keys are deleted, during a subsequent rapid device replacement event, the sensitive device data 111a-n and 121 of the managed devices 110a-n are used to re-derive the cryptographic keys (Key 1 and Key 2). For example, if the replacement device 110f is tasked with replacing a managed device (e.g., 101c) in the managed devices 110a-n (as shown by arrow 159), the replacement device 110r can be configured by the controller device 120 using the sensitive device data. The controller device 120 can, for example, store a copy of the sensitive device data 111a-n and 121 so that it can configure any replacement device to operate normally in the isolation environment 101.

[0032] Due to the change in topology associated with the insertion of the replacement device 110f in the isolation environment 101, the controller device 120 updates the encrypted data object 155 archived at the server 102. For example, the DI&R processing logic 125 instructs the controller device 120 to retrieve the device characterization data DII1-n again from all managed devices 110a-n (which now also includes the replacement device 110f). Based on the device characterization data DII1-n, a new passphrase 123 associated with the topology is generated. A new cryptographic key 129 is derived based on the new passphrase 123. The sensitive device data 111a-n is then encrypted, and a new hash value 128 is generated based on the key 1 and key 2 portions of the new cryptographic key 129. Once encrypted and classified in the updated encrypted data object 155, the encrypted data object 155 is marked and archived again at the server 103.

[0033] exist Figure 1C , another view of the system architecture 100 is shown. In this example, the replacement device 120r is tasked with replacing the controller device 120 in the isolation environment 101 (as shown by arrow 160). Here, the replacement device 120r is loaded with DI&R processing logic 125. For example, the DI&R processing logic 125 can be pre-loaded or loaded into the firmware of the replacement device 120r as needed. Since the topology of the managed devices 110a-n has not changed, the replacement device 120r can be configured with sensitive device data of the previously archived encrypted data object 155. For example, the encrypted data object 155 is retrieved from the server 103, decrypted and applied to the replacement device 120r (e.g., hardware memory).

[0034] To decrypt the encrypted data object 155, the same cryptographic key 129 used to encrypt the data is recreated. At this point, the DI&R processing logic 125 queries all managed devices 110a-n in the isolation environment 101 for the same device characterization data DII1-n previously obtained. Based on the device characterization data DII1-n, the previous passphrase 123 associated with the topology is regenerated. Key 1 and Key 2 of the cryptographic key 129 are derived based on the previous passphrase and are used to decrypt the sensitive device data of the encrypted data object 155.

[0035] In some implementations, the sensitive device data of the encrypted data object 155 is tested for validity before it is loaded into the replacement device 120r. For example, the DI&R processing logic 125 can verify the sensitive device data based on the hash value associated with the managed device 110a-n. This ensures that the sensitive device data has not been changed or tampered with since it was encrypted. For example, after the cryptographic key is generated, a hash value 128 of the sensitive device data of each managed device is also generated and stored in the encrypted data object 155 along with the encrypted sensitive device data for later retrieval.

[0036] To verify the sensitive device data of the encrypted data object 155, the previously stored hash value is extracted from the encrypted data object 155. The extracted hash value is compared to the calculated hash value 128, which is recalculated based on the sensitive device data 111a-n associated with the managed device 110a-n. For example, key 2 of the recreated cryptographic key 129 is fed into the cryptographic hash algorithm along with the unencrypted sensitive device data 111a-n and 121. The cryptographic hash algorithm then returns the hash value 128.

[0037] If the compared hash values ​​do not match each other, the controller device 120 generates an alarm or error code indicating that the configuration of the replacement device 120r cannot be restored. If the compared hash values ​​match, the decrypted sensitive device data is valid, and the configuration of the replacement device 102r can continue. Once the sensitive device data is verified and decrypted, the DI&R processing logic 125 loads the sensitive device data into the configuration of the replacement device 120r. The replacement device 120r can then resume normal operation in the isolation environment 101 in place of the original device (e.g., the controller device 120).

[0038] Figure 2A-2Cis a flow chart illustrating a background trigger process 200, which is performed, for example, by the DI&R processing logic 125 of the controller device 120 to provide device data protection based on the network topology of all managed devices (e.g., managed devices 110a-n) in a network (e.g., the isolation environment 101). The background trigger process 200 can be implemented in conjunction with the controller device 120, the managed device 210 (which can be the same as the managed device 110a-n), and the data storage device 250 (which can be the same as the data storage device 150 of the server 103). In some implementations, activation of the background trigger process 200 can result in a list of background processes being implemented using data associated with the DI&R service. For example, the background trigger process 200 can be initially activated to provide protection for sensitive device data during a subsequent rapid device replacement event.

[0039] Go to Figure 2A , the background trigger process 200 begins at step 202, where the controller device 120 queries and receives device identification information (DII) associated with the managed device 210. For example, the device identification information characterizes each device and may include, but is not limited to, a device serial number, a device business reference number, device location information, device order sorting information, etc. In order to query the managed device 210, the controller device 120 may execute a query command. For example, the controller device 120 may loop through each managed device to execute the query command or execute an instruction. In response to the query command, each managed device 110a-n may return a response including device characterization data DII1-n, which is then stored by the controller device 120.

[0040] At step 204, an input string (also referred to as a passphrase) is generated based on the received DII. For example, the passphrase may be a concatenation of certain portions and / or combinations of the DII. In some implementations, the concatenation includes arranging the DII based on the order of each device relative to the topology. In some cases, the order of the devices may be determined based on location information, device hierarchy, functionality, priority, or other types of device information. In alternative implementations, the concatenation of the DII may be unordered, and other arrangements are possible.

[0041] At step 206, an output key (also referred to as a cryptographic key) is generated based on the input string. For example, the input string or pass phrase is used as an input to a key derivation function to derive one or more keys. For example, the key derivation function may include various types of cryptographic hash functions, as discussed further below. The output key length has a specific length (e.g., 256 bits) to meet a minimum key length for security. In alternative implementations, the length of the output key may have other lengths, but this may have a corresponding impact on security.

[0042] As shown in steps 208 and 210 in the optional path, in some implementations, the resulting output key or cryptographic key can be split into two keys. In step 208, an encryption / decryption key of a specific length (e.g., 128 bits) is extracted from a portion of the cryptographic key. In step 210, a hash key of a specific length (e.g., 128 bits) is extracted from another portion of the cryptographic key. The key derived from the cryptographic key is used to automatically protect sensitive device data of the managed device 210.

[0043] Steering Figure 2B , showing the continuation of the background triggering process 200. In this example, alternative techniques that may be implemented to protect sensitive device data (also referred to as DI&R data objects) associated with each of the managed devices are shown. For example, in one implementation, a hash-based message authentication code (HMAC) may be used, while in an alternative implementation, it is not used. Instead, AES-GCM (Advanced Encryption Standard - Galois Counter Mode) is used as the encryption algorithm, which makes HMAC redundant.

[0044] In an alternative implementation, a hash-based message authentication code (HMAC) can be generated based on the unencrypted DI&R data object. HMAC is a message authentication code generated based on a cryptographic key and a hash function. HMAC is used to provide data integrity and authentication of the message. In some implementations, various types of hash functions, such as SHA-256 or SHA-3, can be used for the calculation of the HMAC. In step 212, a hash value is generated based on the sensitive device data and a hash key derived from the output key by using, for example, a SHA-256 hash function. As step 213, the sensitive device data is hashed based on the HMAC and the hash value. In step 214, the hashed sensitive device data of each managed device is encrypted based on the encryption key derived from the output key.

[0045] If AES-GCM is used as the encryption algorithm, there is no need to generate an HMAC hash for the sensitive device data. This is because AES-GCM provides authenticated encryption and decryption, which makes the HMAC step redundant. Therefore, in an alternative implementation of step 215, the sensitive device data is encrypted for each managed device based on an encryption key derived from the output key. For example, the original DI&R data object is fed into the encryption algorithm because AES_GCM provides authenticated encryption and authenticated decryption.

[0046] Go to Figure 2C, showing another continuation of the background trigger process 200. At step 216, the encrypted sensitive device data of each managed device is hashed based on, for example, a SHA-256 hash function and a hash key derived from the output key. Once the hash is generated, at step 217, the hashes are concatenated together into a hash list and the encrypted sensitive device data is bundled together into a single object. At step 218, the encrypted data object and the hashed encrypted sensitive device data object are transmitted to a remote or local server. At step 219, the sensitive device data is stored on the server for later retrieval.

[0047] Figure 3A-3E 1 is a flow chart illustrating a background trigger process 351, which is executed, for example, by the DI&R processing logic 125 of the controller device 120 to provide device data protection based on the network topology when implementing a replacement device, such as the controller device 120 in a network (e.g., the isolated environment 101). As shown, the background trigger process 351 can be implemented in conjunction with the controller device 120, one or more managed devices 310 (which can be the same as the managed devices 110a-n), and the data storage device 350 (which can be the same as the data storage device 150 of the server 103). In some implementations, activation of the background trigger process 351 can result in a list of background processes being implemented using data associated with the DI&R service. For example, the background trigger process 351 can be activated when a rapid device replacement event is detected, such as a configuration change event, an operator command event, an error notification event, a restart event, or a scheduling event.

[0048] about Figure 3A , the background trigger process 351 begins at step 352, where the controller device 120 sends a request command to the data storage device 350 to receive the encrypted sensitive device data stored thereon. In response, the data storage device 350 can transmit or otherwise provide access to the encrypted sensitive device data. The controller device 120 then decrypts the encrypted sensitive device data. In order to decrypt the retrieved encrypted sensitive device data, the same cryptographic key used to encrypt the data will be recreated. At this point, the controller device 120 first queries the managed devices in step 354 and receives DII (device identification information) data that characterizes each of the managed devices.

[0049] Steering Figure 3B, in step 356, an input string (pass phrase) is generated based on the DII data. For example, the pass phrase can be a cascade of certain parts and / or combinations of the device characterization data DII of each of the managed devices. In some implementations, the cascade includes arranging the DII data according to the order of each device relative to the topology. In step 358, an output key (password key) is generated based on the input string. For example, a key derivation function using a hash algorithm, such as ARGON2, PBKDF2, SCRYPT, or BCRYPT, takes the input string as input and returns an output key. The output key is then divided into at least two keys. For example, in step 360, the output key is divided into an encryption / decryption key, and in step 362, the output key is divided into a hash key. In step 364, the sensitive device data of each managed device is hashed based on the hash key.

[0050] exist Figure 3C , the background trigger process 351 continues, where the hashes of each encrypted sensitive device data are concatenated together into a hash list and then verified. To verify the encrypted sensitive device data, a previously stored hash value is extracted from the encrypted sensitive device data. The extracted hash value is compared to a calculated hash value that is recalculated based on the sensitive device data associated with the managed device. The advantage of the verification step is that it ensures that the sensitive device data has not been changed or tampered with after being encrypted.

[0051] At 365, each encrypted sensitive device data object is decrypted and a hash value is calculated. At step 366, the corresponding hash value is extracted from the previously hashed sensitive device data. The calculated hash value is then compared to the extracted hash value for each managed device. If the compared hash values ​​do not match each other, the background trigger process 351 continues on the "failure" path. If the compared hash values ​​match, the background trigger process 351 continues on the "success" path.

[0052] Go to Figure 3D , if the compared hash values ​​do not match, the background trigger process 351 can jump to step 368, where the "fail" path can include rejecting the encrypted sensitive device data and generating an error code. Otherwise, if the compared hash values ​​match, the background trigger process 351 continues at step 367, where it is determined that the encrypted sensitive device data is valid and the configuration of the replacement device can continue. The sensitive device data is decrypted using the encryption / decryption key and then loaded into the configuration of the replacement device. As a result, the replacement device can resume normal operation in place of the original device in the network.

[0053] Figure 4 is a flow chart of method 400 according to an embodiment of the present disclosure. In one embodiment, Figure 1A-Figure 1C The controller device 120 may execute method 400 to provide device data protection based on network topology during rapid device replacement of managed devices. Method 400 may be executed by processing logic (e.g., DI&R logic 125) of the controller device 120. The processing logic may include hardware (circuits, dedicated logic, etc.), software (such as software running on a general-purpose computer system or a dedicated machine), or a combination of both. Optionally, in some other embodiments, one or more processors of the controller device 120 executing the method may execute routines, subroutines, or operations that may perform method 400 and each of its individual functions. In certain embodiments, a single processing thread may execute method 400. Alternatively, two or more processing threads may execute method 400, with each thread performing one or more individual functions, routines, subroutines, or operations. It should be noted that Figure 4 The blocks of method 400 described in the accompanying drawings may be performed simultaneously, or in an order different from that described.

[0054] refer to Figure 4 In block 410, method 400 identifies a replacement device associated with at least one of a plurality of devices in a network. For example, a controller device may identify a replacement device to be configured as a replacement for an original device in the network based on detected events, such as configuration change events, operator command events, error notification events, restart events, scheduling events, etc. In block 420, characterization data is determined for characterizing each of a plurality of devices and the replacement device. For example, the controller device queries all managed devices and receives device characterization data in response, the device characterization data may include, but is not limited to, a device serial number, a device business reference number, device location information, device sequence sorting information, etc.

[0055] In block 430, a passphrase is generated related to a topology including a plurality of devices and a replacement device based on the characterization data. For example, the passphrase may be a concatenation of device characterization data organized in a particular arrangement relative to the topology. In block 440, a key derivation function is executed using the passphrase as input to generate a cryptographic key. For example, the passphrase is used as input data to a key derivation function that returns the cryptographic key as output. In block 450, configuration data associated with replacement of at least one device with the replacement device is encrypted using the cryptographic key. For example, sensitive device data is encrypted based on an encryption / decryption key portion of the cryptographic key.

[0056] Figure 5 is a flow chart of method 500 according to an embodiment of the present disclosure. In one embodiment, Figure 1A-Figure 1CThe controller device 120 may execute method 500 to provide device data protection based on network topology during rapid device replacement of the controller device. Method 500 may be executed by processing logic (e.g., DI&R logic 125) of the controller device 120. The processing logic may include hardware (circuits, dedicated logic, etc.), software (e.g., software running on a general-purpose computer system or a dedicated machine), or a combination of both. Alternatively, in some other embodiments, one or more processors of the controller device 120 executing the method may execute routines, subroutines, or operations that may perform method 500 and each of its individual functions. In certain embodiments, a single processing thread may execute method 500. Alternatively, two or more processing threads may execute method 500, where each thread performs one or more individual functions, routines, subroutines, or operations. It should be noted that Figure 5 The blocks of method 500 depicted in FIG. 5 may be performed concurrently or in an order different than depicted.

[0057] refer to Figure 5 , at box 510, method 500 receives characterization data for each of a plurality of devices in a network. For example, a controller device may receive device characterization data, which may include, but is not limited to, a device serial number, a device business reference number, device location information, device order sorting information, etc. In box 520, a passphrase associated with a topology of the plurality of devices is derived based on the characterization data. For example, the passphrase may be a cascade of device characterization data organized in a particular arrangement relative to the topology. In box 530, a cryptographic key is generated based at least on the passphrase. For example, the passphrase is used as input data to a key derivation function, which returns the cryptographic key as an output. In box 540, the cryptographic key is used to decrypt configuration data for configuring a replacement device in the network. For example, sensitive device data is decrypted based on an encryption / decryption key portion of the cryptographic key.

[0058] Figure 6 6 is a block diagram illustrating a system 600 including one or more machines 610, 620, and 630 in which a set of instructions may be executed for causing the machine to perform any one or more of the methodologies discussed herein. In alternative embodiments, the system 600 may be connected (e.g., networked) to other machines in a LAN, an intranet, an extranet, or the Internet. The machines 610, 620, and 630 may be connected to Figure 1A-Figure 1C For example, machine 610 may be the same as one of the managed devices 110a-n, machine 620 may be the same as controller device 120, and machine 630 may be the same as Figure 1A-Figure 1C The same as server 103.

[0059] In some embodiments, the machines 610, 620, and 630 of the system 600 may be connected to other computer systems via a network 601, such as a local area network (LAN), an intranet, an extranet, or the Internet. The computer system may operate as a server or client computer in a client-server environment, or as a peer computer in a peer-to-peer or distributed network environment. For example, the computer system may be provided by a personal computer (PC), a tablet computer, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a network device, a server, a network router, a switch or a bridge, or any device capable of executing a set of instructions (sequential or otherwise) specifying the actions to be taken by the device. In addition, the term "computer" shall include a collection of any computers that execute one or more sets of instructions, either individually or in combination, to perform any one or more of the methods described herein for supporting microservices for a blockchain consensus system.

[0060] The system 600 includes a processing device (e.g., a CPU 612, 622, 632), volatile memory 614, 624, 634, such as flash memory, random access memory (RAM), dynamic random access memory (DRAM, (such as synchronous DRAM (SDRAM) or DRAM (RDRAM)), static random access memory (SRAM), non-volatile memory 616, 626, 636 (e.g., read-only memory (ROM) or electrically erasable programmable ROM (EEPROM)), one or more input / output devices 618, 628, 638, a data storage device 621, and a network interface 619, 629, 639 for communicating via the network 601.

[0061] The processing devices 612, 622, 632 represent one or more general-purpose processing devices, such as microprocessors, central processing units, etc. More specifically, the processing devices may be complex instruction set computing (CISC) microprocessors, reduced instruction set computer (RISC) microprocessors, very long instruction word (VLIW) microprocessors, or processors implementing other instruction sets, or processors implementing a combination of instruction sets. The processing device 502 may also be one or more special-purpose processing devices, such as application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), digital signal processors (DSPs), network processors, etc. The processing devices 612, 622, 632 may execute processing logic (e.g., DI&R logic 125) for performing the operations and steps discussed herein.

[0062] The system 600 may also include a network interface device (e.g., network interfaces 619, 629, 639) that is communicatively coupled to the network 601. The computer system 500 may also include one or more input / output devices 618, 628, 638, including, but not limited to, a video display unit (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)), an alphanumeric input device (e.g., a keyboard), a cursor control device (e.g., a mouse), and a signal generating device (e.g., a speaker).

[0063] The data storage device 621 may include a computer-readable storage medium 623 (eg, a non-transitory computer-readable storage medium) on which instructions encoding any one or more of the methods or functions described herein may be stored, including instructions encoding Figure 1A-Figure 1C Instructions for DI&R logic to implement microservices that support blockchain consensus systems Figure 4 The method 400 of the system 600. During execution of instructions by the system 600, the instructions may also reside in whole or in part in the volatile memory 614 and / or the processing device 612, and thus, the volatile memory 614 and the processing device 612 may also constitute machine-readable storage media.

[0064] The non-transitory machine-readable storage medium 623 may also be used to store instructions to implement the DI&R logic 125, thereby providing device data protection based on the network topology to ensure confidentiality and integrity protection of sensitive device (configuration) data in the rapid device installation and replacement services described herein, and / or a software library containing methods for calling the above-mentioned applications. Although the machine-accessible storage medium 623 is shown as a single medium in the example embodiment, the term "machine-accessible storage medium" should be understood to include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) that store one or more instruction sets. The term "machine-accessible storage medium" should also be understood to include any medium that is capable of storing, encoding, or carrying an instruction set executed by a machine and causing the machine to perform any one or more methods of the present disclosure. Therefore, the term "machine-accessible storage medium" should be understood to include, but is not limited to, solid-state memory and optical and magnetic media.

[0065] In the foregoing, reference has been made to various embodiments. However, the scope of the present disclosure is not limited to the specifically described embodiments. On the contrary, any combination of the described features and elements, whether or not related to different embodiments, is contemplated to implement and practice the intended embodiments. In addition, although the embodiments may achieve advantages over other possible solutions or prior art, whether a particular advantage is achieved by a given embodiment does not limit the scope of the present disclosure. Therefore, the foregoing aspects, features, embodiments and advantages are merely illustrative and are not considered to be elements or limitations of the appended claims unless expressly stated in the claims.

[0066] The various embodiments disclosed herein may be implemented as systems, methods, or computer program products. Therefore, various aspects may take the form of a complete hardware embodiment, a complete software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware aspects, which may be generally referred to herein as a "circuit," "module," or "system." In addition, various aspects may take the form of a computer program product contained in one or more computer-readable media having a computer-readable program code contained thereon.

[0067] Any combination of one or more computer-readable media may be utilized. The computer-readable medium may be a non-transitory computer-readable medium. The non-transitory computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or apparatus, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of non-transitory computer-readable media may include the following: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. The program code embodied on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, fiber optic cable, RF, etc., or any suitable combination of the foregoing.

[0068] The computer program code for performing the operation of various aspects of the present disclosure can be written in any combination of one or more programming languages. In addition, such computer program code can be performed using a single computer system or by multiple computer systems that communicate with each other (e.g., using a local area network (LAN), a wide area network (WAN), the Internet, etc.). Although the various features above are described with reference to flow charts and / or block diagrams, it will be appreciated by those of ordinary skill in the art that each frame of the flow charts and / or block diagrams and the combination of the frames in the flow charts and / or block diagrams can be realized by computer logic (e.g., computer program instructions, hardware logic, a combination of the two, etc.). Typically, computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device. In addition, using a processor to execute such a computer program instruction produces a machine that can perform the function or action specified in the flow chart and / or block diagram block.

[0069] The flow charts and block diagrams in the accompanying drawings illustrate the architecture, function and / or operation of the possible embodiments of the various embodiments of the present disclosure. In this regard, each frame in the flow chart or block diagram can represent a module, a code segment or a code portion, which includes one or more executable instructions for realizing a specified logical function. It should also be noted that in some alternative embodiments, the functions mentioned in the frame may not occur in the order mentioned in the figure. For example, the two frames shown in succession can actually be performed substantially simultaneously, or these frames can sometimes be performed in reverse order, depending on the functions involved. It will also be noted that each frame of the block diagram and / or flow chart illustration and the combination of frames in the block diagram and / or flow chart illustration can be realized by a system based on special-purpose hardware or a combination of special-purpose hardware and computer instructions that performs a specified function or action.

[0070] It should be understood that the above description is intended to be illustrative rather than limiting. After reading and understanding the above description, many other embodiments are apparent. Although the present disclosure describes specific examples, it should be appreciated that the systems and methods of the present disclosure are not limited to the examples described herein, but can be modified to be implemented within the scope of the appended claims. Therefore, the description and the drawings are to be considered illustrative rather than restrictive. Therefore, the scope of the present disclosure should be determined with reference to the appended claims and the full scope of equivalents to which these claims are assigned.

Claims

1. A controller device for protecting device data based on a network topology, comprising: A memory for storing a plurality of configuration data; and processing logic, operatively coupled to the memory, for: identifying a replacement device associated with at least one device among a plurality of devices in a network; determining characterization data characterizing each of the plurality of devices and the replacement device; determining a topology including the plurality of devices and the replacement device; generating a passphrase by concatenating characterization data of each device within the determined topology in a predefined arrangement; performing a key derivation function using the passphrase as input to generate a cryptographic key, the cryptographic key being capable of being split into two keys, including an encryption key and a hash key; and The configuration data associated with replacement of the at least one device with the replacement device is encrypted using the generated encryption key, and the configuration data is hashed using the generated hash key to ensure that the configuration data has not been tampered with after being encrypted.

2. The controller device according to claim 1, wherein: The processing logic is also used to: querying each of the plurality of devices for the characterization data; and In response to the query, a unique identifier of each device in the plurality of devices and a serial order of the plurality of devices are received.

3. The controller device according to claim 2, wherein: The predefined arrangement is based on an order of each of the plurality of devices relative to the topology.

4. The controller device according to claim 1, wherein: The processing logic is also used to: Based on the configuration data, the replacement device is configured to operate as a replacement for the at least one device.

5. The controller device according to claim 4, wherein: The processing logic is also used to: An event associated with the replacement is detected, wherein the event comprises at least one of: a configuration change event, an operator command event, an error notification event, a restart event, or a scheduling event.

6. A method for protecting device data based on network topology, comprising: receiving characterization data characterizing each device of a plurality of devices in a network; Deriving, by the controller device, a passphrase associated with the topology of the plurality of devices based on the characterization data, comprises: determining a topology including the plurality of devices and a replacement device; generating a passphrase by concatenating characterization data of each device within the determined topology in a predefined arrangement; generating, by the controller device, a cryptographic key based at least on the passphrase, the cryptographic key being capable of being split into two keys, including a decryption key and a hash key; and Configuration data used to configure the replacement device in the network is decrypted using the generated decryption key, and the configuration data is verified using the generated hash key to ensure that the configuration data has not been tampered with after being encrypted.

7. The method according to claim 6, further comprising: Based on the configuration data, the replacement device is configured to operate as a replacement for the controller device.

8. The method according to claim 7, further comprising: An event associated with the replacement is detected, wherein the event comprises at least one of: a configuration change event, an operator command event, an error notification event, a restart event, or a scheduling event.

9. The method according to claim 6, wherein: The predefined arrangement is based on an order of each of the plurality of devices relative to the topology.

10. The method according to claim 6, further comprising: The decrypted configuration data of the replacement device is verified based on the calculated hash values ​​associated with the plurality of devices.

11. The method according to claim 10, wherein: The verification also includes: The calculated hash value is compared to the hash value extracted from the decrypted configuration data.

12. A non-transitory computer-readable storage medium comprising executable instructions for performing device data protection based on network topology, when the executable instructions are executed by a controller device, causing the controller device to: receiving characterization data characterizing each device of a plurality of devices in a network; determining, by the controller device, a topology of the plurality of devices; generating, by the controller device, a passphrase by concatenating characterizing data of each device within the determined topology in a predefined arrangement; generating a cryptographic key based at least on the passphrase, the cryptographic key being capable of being split into two keys, including a decryption key and a hash key; and Configuration data used to configure a replacement device in the network is decrypted using the generated cryptographic key, and the configuration data is verified using the generated hash key to ensure that the configuration data has not been tampered with after being encrypted.

13. The non-transitory computer-readable storage medium of claim 12, wherein: The controller device is also used for: Based on the configuration data, the replacement device is configured to operate as a replacement for the controller device.

14. The non-transitory computer-readable storage medium of claim 13, wherein: The controller device is also used for: An event associated with the replacement is detected, wherein the event comprises at least one of: a configuration change event, an operator command event, an error notification event, a restart event, or a scheduling event.

15. The non-transitory computer-readable storage medium of claim 12, wherein: The predefined arrangement is based on an order of each of the plurality of devices relative to the topology.

16. The non-transitory computer-readable storage medium of claim 12, wherein: The controller device is also used for: The decrypted configuration data of the replacement device is verified based on the calculated hash values ​​associated with the plurality of devices.

17. The non-transitory computer-readable storage medium of claim 16, wherein: For verification, the controller device is also used to: The calculated hash value is compared to the hash value extracted from the decrypted configuration data.