Data reduction with end-to-end security
By using a storage controller to decrypt and reduce data in a distributed storage system, and using encryption keys related to storage array characteristics to re-encrypt, the problem of poor data reduction after encryption is solved and efficient and secure data storage is achieved. and transmission.
Patent Information
- Application Number
- CN201780073208.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-12-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2039-01-12
AI Technical Summary
Existing distributed storage systems are difficult to achieve effective data reduction after data encryption, resulting in exponential growth in storage requirements and affecting performance and cost-effectiveness.
By implementing end-to-end secure data reduction in the storage system, the storage controller is used to provide a decryption key for decryption when receiving encrypted data, and after performing the data reduction operation, the encryption key related to the storage array characteristics is used for re-encryption to ensure that the data is Security and reduction effects during storage and transmission.
It achieves cross-array data reduction, reduces storage requirements, improves the security and efficiency of data storage, and avoids the problem of data reduction failure caused by changes in encryption methods.
Smart Images

Figure CN109997142B_ABST
Abstract
Description
[0001] Related Applications
[0002] This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Patent Application No. 15 / 402,195, filed on January 9, 2017, the entire contents of which are hereby incorporated by reference herein. Background Art
[0003] With the increase of computer memory storage and data bandwidth, the amount and complexity of data managed by enterprises every day are also increasing. Large-scale distributed storage systems (such as data centers) usually run many business operations. Data centers (which can also be referred to as server rooms) are centralized repositories (repositories) for storing, managing and disseminating data related to one or more businesses, which are physical or virtual. Distributed storage systems can be coupled to client computers interconnected by one or more networks. If any part of the distributed storage system has poor performance, the company's operations may be impaired. Distributed storage systems therefore maintain high standards to obtain data availability and high-performance functionality. Because distributed storage systems can include a large amount of sensitive information, data encryption can be used to protect the system from data leakage, which can increase complexity and affect performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] The present disclosure is illustrated by way of example and not limitation in the figures of the accompanying drawings.
[0005] Figure 1 is a block diagram illustrating a storage system in which embodiments of the present disclosure may be implemented.
[0006] Figure 2 is a block diagram illustrating secure data reduction with end-to-end security in a storage controller according to an embodiment.
[0007] Figure 3 is a flow chart illustrating a method for end-to-end secure data reduction of write requests to a storage array according to an embodiment.
[0008] Figure 4 is a flow chart illustrating a method for end-to-end secure data reduction of read requests to a storage array according to an embodiment.
[0009] Figure 5 is a block diagram illustrating an exemplary computer system according to an embodiment. DETAILED DESCRIPTION
[0010] Various aspects of the present disclosure relate to providing data reduction with end-to-end security. Many conventional distributed storage systems implement data encryption to prevent the negative effects of data leakage. Some embodiments relate to the use of "host-side" encryption, in which the host machine (or client device or client application, etc.) uses an encryption key associated with the host to encrypt data and send the encrypted data to the storage system. The encrypted data can then be stored in the storage system in its encrypted state and decrypted by the host (or client or application) only when the data is subsequently read. Although this method can provide secure data storage, it may lead to an exponential growth in data storage requirements because conventional data reduction methods may not work for encrypted data. For example, many data reduction methods involve identifying commonly occurring data portions within and between data files and storing those portions only once, thereby generating significant cost savings for data storage. Typical encryption methods generate randomly occurring data. Therefore, the same content encrypted with different encryption keys may appear different, thereby reducing or eliminating the effectiveness of data reduction.
[0011] Aspects of the present disclosure address the above and other deficiencies by implementing data reduction in a storage system with end-to-end security. A host system may provide decryption key information to a storage system that may be used to decrypt data to be written to a storage array. Upon receiving a request to write encrypted data to a storage array, a secure data reduction system may identify an appropriate decryption key for the data. The data may then be decrypted, and a data reduction operation may then be performed on the decrypted data. Once reduced, the data may then be encrypted using an encryption key associated with the characteristics of the storage array for storage in the storage array. Thus, in various embodiments, the same encryption mode may be used to encrypt all data in the array, regardless of the encryption mode used by the client prior to sending the data, which may facilitate data reduction across arrays while still providing secure data storage.
[0012] In an illustrative example, a storage controller coupled to a storage array including one or more storage devices may receive a request to write encrypted data to a volume residing on the storage array, wherein the encrypted data includes data encrypted by a first encryption key, the first encryption key being associated with at least one characteristic of the data. In some embodiments, the characteristic of the data may include a volume on the storage array where the data is stored, a range of volumes residing on the storage array, a set of blocks associated with a volume residing on the storage array, a unique identifier associated with a client (or owner of the data), a client application identifier, or any other similar information associated with the data. The storage controller determines a decryption key for decrypting the encrypted data, decrypts the encrypted data using the decryption key, and performs at least one data reduction operation (e.g., data compression, deduplication, etc.) on the decrypted data. The storage controller then encrypts the reduced data using a second encryption key to generate second encrypted data and stores the second encrypted data to the volume on the storage array.
[0013] The storage controller may reverse the process in response to receiving a subsequent request to read data from the storage array. The storage controller may decrypt the data using a decryption key associated with the array and perform data operations to reverse any data reduction performed in the process of storing the data (e.g., data "re-duplication," "rehydration," or other similar operations to reconstruct the reduced data). The storage controller may then determine an encryption key associated with the characteristics of the data and encrypt the data using the encryption key. A response to the read request may then be provided, the response including the encrypted data.
[0014] Figure 1 1 is a block diagram illustrating a storage system 100 in which embodiments of the present disclosure may be implemented. The storage system 100 may include a storage controller 110 and a storage array 130, which represents any number of data storage arrays or groups of storage devices. As shown, the storage array 130 includes storage devices 135A-n, which represent any number and type of storage devices (e.g., solid state drives (SSDs)). The storage controller 110 may be directly coupled to a client device 125, and the storage controller 110 may be remotely coupled to a client device 115 via a network 120. Client devices 115 and 125 represent any number of clients that may utilize the storage controller 110 to store and access data in the storage system 100. Note that some systems may include only a single client device that is directly or remotely connected to the storage controller 110.
[0015] The storage controller 110 may include software and / or hardware configured to provide access to the storage devices 135A-n. Although the storage controller 110 is shown as being separate from the storage array 130, in some embodiments, the storage controller 110 may be located within the storage array 130. The storage controller 110 may include or be coupled to a base operating system (OS), a volume manager, and additional control logic, such as virtual copy logic 140, for implementing the various techniques disclosed herein.
[0016] Depending on the embodiment, the storage controller 110 may include and / or execute on any number of processing devices, and may include and / or execute on a single host computing device, or be distributed across multiple host computing devices. In some embodiments, the storage controller 110 may generally include or execute on one or more file servers and / or block servers. The storage controller 110 may use any of a variety of techniques to replicate data across devices 135A-n to prevent data loss due to failure of a device or a storage location within a device. The storage controller 110 may also utilize any of a variety of data reduction techniques to reduce the amount of data stored in the devices 135A-n by removing duplicate common data (e.g., deduplication, data compression, pattern removal, zero removal, etc.).
[0017] In one embodiment, the storage controller 110 can use logical volumes and media to track client data stored in the storage array 130. Media is defined as a logical grouping of data, and each medium has an identifier used to identify the logical grouping of data. A volume is a single accessible storage area with a single file system, or in other words, a logical grouping of data that is viewed as a single "unit" by the host. In one embodiment, the storage controller 110 stores storage volumes 142 and 146. In other embodiments, the storage controller 110 can store any number of additional or different storage volumes. In one embodiment, the storage volume 142 can be a SAN volume that provides block-based storage. The SAN volume 142 can include block data 144 controlled by a server-based operating system, where each block can be controlled as a separate hard drive. Each block in the block data 144 can be identified by a corresponding block number and can be formatted separately. In one embodiment, the storage volume 146 can be a NAS volume that provides file-based storage. The NAS volume 146 can include file data 148 organized according to the mounted file system. Files in the file data 148 can be identified by file names and can include multiple underlying data blocks that are not individually accessible by the file system.
[0018] In one embodiment, storage volumes 142 and 146 may be a logical organization of data physically located on one or more storage devices 135A-n in storage array 130. Data associated with storage volumes 142 and 146 is stored at one or more locations on storage devices 135A-n. A given request received by storage controller 110 may indicate at least a volume and a block address or file name, and storage controller 110 may determine one or more locations on storage devices 135A-n that are targeted by the given request.
[0019] In one embodiment, the storage controller 110 includes a secure data reduction module 140 to provide end-to-end secure data reduction. The secure data reduction module 140 may receive a request to write encrypted data to a logical volume (e.g., a SAN volume, a NAS volume, etc.) residing on the storage array 130. In some embodiments, the request may be received from a client device such as the client device 115 or 125. The encrypted data may consist of data encrypted by the client device 115, 125 using an encryption key associated with at least one characteristic of the data. In some embodiments, the encryption key may be associated with at least one of: a volume residing on the storage array, a range of logical volumes residing on the storage array, a set of blocks associated with a volume residing on the storage array, a client identifier, a client application identifier, or any other similar information associated with the data.
[0020] In response to receiving the request, the secure data reduction module 140 may determine a decryption key for decrypting the encrypted data. The decryption key may be associated with the same characteristic (or characteristics) of the data as the encryption key. For example, the data may have been encrypted using a private key of a key pair and the decryption key may be a public key of the key pair, both of which are associated with the same characteristic of the data. In some embodiments, the data reduction module 140 may determine the decryption key by accessing a key mapping table 143, which maps encryption and decryption key information to characteristics of data stored (or to be stored) in the storage array 130. Alternatively, the data reduction module 140 may communicate with a key management service 160 to determine the decryption key. In one embodiment, the key management service 160 may be a component of the storage system directly connected to the storage controller 110. In another embodiment, the storage key management service 160 may be external to the storage system 100, connected via the network 120. Once the decryption key has been determined, it may be stored in the key cache 141 for use with subsequent requests that include encrypted data associated with the same characteristic. Therefore, in some embodiments, repeated determination of the same decryption key may be avoided by accessing the key cache 141 .
[0021] The secure data reduction module 140 may then use the decryption key to decrypt the encrypted data. Once the data has been decrypted, the secure data reduction module 140 may then perform at least one data reduction operation on the decrypted data. For example, a deduplication operation may be performed to remove duplicate portions of the data. Additionally or alternatively, a data compression operation may be performed to compress the data.
[0022] Once the data has been reduced, the secure data reduction module 140 can encrypt the reduced data using an encryption key associated with the characteristics of the storage array 130. It is worth noting that the key used to encrypt the data before being stored in the array can be for a key pair different from the key pair used by the client to encrypt the data. In other words, the data received by the secure data reduction module 140 from the client can be encrypted with one key, while the secure data reduction module 140 can use a completely different key to encrypt the reduced data before being stored in the storage array 130. In some embodiments, the same encryption key can be used to encrypt all data stored in the storage array. Alternatively, a policy can be implemented to encrypt different parts of the storage array using different keys. For example, encryption keys can be assigned based on volumes, specific groups of volumes, client identifiers, tenant identifiers (for multi-tenant storage systems), etc. Once encrypted for storage, the secure data reduction module 140 can then store the encrypted data to the logical volume of the storage array 130.
[0023] In some embodiments, the secure data reduction module 140 may process a read request received from a client device 115, 125 by reversing the steps used to process a write request. Upon receiving a request to read encrypted data from a logical volume of a storage array, the secure data reduction module 140 may decrypt the encrypted data using an encryption key associated with a characteristic of the storage array as described above. In some embodiments, the secure data reduction module 140 may perform at least one of a data operation to reconstruct the deduplicated data (e.g., data "duplication", data "rehydration", etc.) or a data decompression operation to reverse the modifications made to the data by the data reduction operation performed when writing the data to the storage array.
[0024] The secure data reduction module 140 may then encrypt the reconstructed data using an encryption key associated with the characteristics of the data as described above. The secure data reduction module 140 may determine the encryption key to be used to encrypt the data by accessing the key cache 141, using information in the key mapping table 143, communicating with the key management service 160, or in any other manner. Once the data has been encrypted, the secure data reduction module 140 may then provide a response to the read request by sending the encrypted data to the requesting client device 115, 125.
[0025] In various embodiments, a plurality of mapping tables may be maintained by the storage controller 110. These mapping tables may include a media mapping table and a volume-to-media mapping table. These tables may be utilized to record and maintain mappings between media and underlying media and between volumes and media. The storage controller 110 may also include an address translation table having a plurality of entries, wherein each entry maintains a virtual-to-physical mapping for a corresponding data component. This mapping table may be used to map logical read / write requests from each of the client devices 115 and 125 to physical locations in the storage devices 135A-n.
[0026] In alternative embodiments, the number and types of client computers, initiator devices, storage controllers, networks, storage arrays, and data storage devices are not limited to Figure 1 . One or more clients may operate offline at different times. Additionally, during operation, as users connect, disconnect, and reconnect to the storage system 100, the individual client computer connection types may change. Further, the systems and methods described herein may be applied to a directly attached storage system or a network attached storage system and may include a host operating system configured to perform one or more aspects of the described methods. Many such alternatives are possible and contemplated.
[0027] The network 120 can utilize various technologies, including wireless connections, direct local area network (LAN) connections, wide area network (WAN) connections such as the Internet, routers, storage area networks, Ethernet, and the like. The network 120 may include one or more LANs that may also be wireless. The network 120 may further include remote direct memory access (RDMA) hardware and / or software, transmission control protocol / Internet protocol (TCP / IP) hardware and / or software, routers, repeaters, switches, meshes, and the like. Protocols such as Fibre Channel, Fibre Channel over Ethernet (FCoE), iSCSI, Infiniband, NVMe-F, PCIe, and any emerging storage interconnects may be used in the network 120. The network 120 may be docked with a set of communication protocols for the Internet such as the transmission control protocol (TCP) and the Internet protocol (IP) or TCP / IP. In one embodiment, the network 120 represents a storage area network (SAN) that provides access to a merged block-level data storage device. The SAN may be used to enhance storage devices accessible to the initiator devices so that the devices 135A-n appear to the initiator devices 115 and 125 as locally attached storage devices.
[0028] Client devices 115 and 125 represent any number of fixed or mobile computers, such as desktop personal computers (PCs), servers, server farms, workstations, laptops, handheld computers, servers, personal digital assistants (PDAs), smart phones, etc. In general, client devices 115 and 125 include one or more processing devices, each of which includes one or more processor cores. Each processor core includes circuitry for executing instructions according to a predefined general instruction set. For example, the x86 instruction set architecture may be selected. Alternatively, the . or any other general purpose instruction set architecture. The processor core may access the cache memory subsystem to obtain data and computer program instructions. The cache subsystem may be coupled to a memory hierarchy including random access memory (RAM) and storage devices.
[0029] In one embodiment, client device 115 includes application 112 and client device 125 includes application 122. Applications 112 and 122 may be any computer application designed to implement or provide various functionalities utilizing data from block data 144 or file data 148 in storage volumes 142 and 146. Applications 112 and 122 may issue requests to read data from or write data to volumes 142 and 146 within storage system 100. For example, as noted above, a request may be to write encrypted data to or read encrypted data from a logical volume (e.g., SAN volume 142 or NAS volume 146).
[0030] In some embodiments, before sending a request to write encrypted data, the application 112, 122 may first encrypt the data using an encryption key associated with the characteristics of the data as described above. The application 112, 122 may select an encryption key by accessing information stored locally on the applicable client device 115, 125. Alternatively, the application 112, 122 may communicate with the key management service 160 to select an appropriate encryption key for the data. Similarly, when encrypted data is received in response to a read request, the application 112, 122 may use these methods to identify and select a decryption key for decrypting the encrypted data received in response to the request. In other embodiments, the encryption of data for write requests and the decryption of data received for read requests may be performed by another component of the storage system located between the client device 115, 125 and the storage controller 110 (e.g., by a network firewall device, a dedicated device for performing encryption / decryption, etc.).
[0031] In response to a read request or a write request, the secure data reduction module 140 can use the techniques described herein to perform end-to-end secure data reduction operations on data in the storage system. Thus, the benefits of higher security can be maintained through encryption of data objects while additionally achieving the benefits of data reduction before storage in the storage array. Furthermore, by decrypting data as it is received from a client and performing data reduction on the decrypted data, the benefits of data reduction can be achieved across multiple tenants in a multi-tenant implementation.
[0032] Figure 21 is a block diagram illustrating a secure data reduction module 140 in a storage controller 110 according to an embodiment. In one embodiment, the secure data reduction module 140 includes a client interface 242, a decryption manager 244, a data reduction manager 246, and an encryption manager 248. This arrangement of modules can be logically separated, and in other embodiments, these modules, interfaces, or other components can be combined together or separated in another component. In one embodiment, a data store 250 is connected to the secure data reduction module 140 and includes a mapping table 252 and policy data 254. In another embodiment, the mapping table 252 and the policy data 254 can be located elsewhere. For example, the mapping table 252 and the policy data 254 can be stored in different volumes managed by the storage controller 110 or can be stored in the memory of the storage controller 110.
[0033] In one embodiment, the storage controller 110 may include a secure data reduction module 140 and a data repository 250. In another embodiment, the data repository 250 may be external to the storage controller 110 and may be connected to the storage controller 110 through a network or other connection. In other embodiments, the storage controller 110 may include different and / or additional components that are not shown to simplify the description. The data repository 250 may include one or more mass storage devices, which may include, for example, flash memory, magnetic or optical disks, or tape drives; read-only memory (ROM); random access memory (RAM); 3D XPoint, erasable programmable memory (e.g., EPROM and EEPROM); flash memory; or any other type of storage medium.
[0034] In one embodiment, the client interface 242 manages communications with client devices (such as client devices 115 or 125) in the storage system 100. The client interface 242 may receive an I / O request from an application 112 or 122 over the network 120 to access the data storage volumes 142 and 146. In one embodiment, the I / O request includes a request to write encrypted data to a logical volume (e.g., SAN volume 142, NAS volume 146, etc.) residing on the storage array 130. As noted above, the encrypted data may consist of data encrypted by the client device 115 or 125 using an encryption key associated with at least one characteristic of the data. In some embodiments, the encryption key may be associated with at least one of the following: a volume residing on the storage array, a range of logical volumes residing on the storage array, a group of blocks associated with a volume residing on the storage array, a client identifier, a client application identifier, or any other similar information associated with the data. The request may include the encrypted data and the location (e.g., volume, volume group, block group, etc.) where the data should be stored. In some embodiments, the request may include additional data for identification data, such as a client identifier that identifies the client that submitted the request, a host identifier (identifying the host that submitted the request), an application identifier (identifying the application that submitted the request), or other similar information.
[0035] In response to receiving the request, decryption manager 244 may be invoked to decrypt the encrypted data. Decryption manager 244 may determine a decryption key for decrypting the data. The decryption key may be associated with the same characteristic (or characteristics) of the data as the encryption key used to encrypt the data. For example, the data may have been encrypted with a private key of a key pair and the decryption key may be a public key of the key pair, both of which are associated with the same characteristic of the data.
[0036] In one embodiment, the decryption manager 244 may determine the decryption key by determining a security identifier associated with a characteristic (or characteristics) of the data. In some embodiments, the decryption manager 244 may determine the security identifier by accessing a mapping table (e.g., mapping table 242) accessible to the storage controller 110. The mapping table may map the security identifier to a combination of one or more characteristics of the data stored in the storage array 130. For example, one security identifier may be assigned to a specific host identifier. Another security identifier may be assigned to a series of volumes for the host identifier. Thus, different hosts (or clients, applications, etc.) may have different security identifiers. Similarly, a single host (or client, application, etc.) may have multiple security identifiers.
[0037] In some embodiments, a single host (or client, application, etc.) may have conflicting security identifiers in mapping table 242. For example, host 1 may have one security identifier assigned to volume 1-100 in the storage system, and a second security identifier assigned to only volume 1-10. In such cases, decryption manager 244 may determine the appropriate security identifier for the request by accessing a predefined policy for the storage system. The policy may be stored in policy data 254 and implemented to resolve conflicting security identifier assignments. For example, a policy for host 1 may indicate that when conflicting security identifiers are found, the maximum granularity definition should be used. Thus, in the above example, the second security identifier may be selected (e.g., for volume 1-10). Alternatively, the minimum granularity definition may be used, resulting in the selection of the first security identifier (e.g., for volume 1-100).
[0038] Once the security identifier has been determined, the decryption manager 244 can determine the decryption key. In one embodiment, the decryption manager 244 can access a mapping table that stores mappings between security identifiers and decryption keys. This mapping table can be stored locally to the storage controller 110, or in another location within the storage system 100. The mapping table can be stored in the mapping table 252 with security identifier mapping information, or in a separate key mapping table (e.g., Figure 1 In another embodiment, the decryption manager 244 can access the key cache (e.g., Figure 1 The decryption key is identified by using a key cache 141 of the storage controller 110, where key information for previously processed write requests is stored in the memory of the storage controller 110. In some embodiments where the decryption key in the key cache has expired or resulted in an invalid decryption operation, the decryption manager 244 can determine a new decryption key according to the above process.
[0039] In another embodiment, the decryption manager 244 may communicate with a key management service (e.g., Figure 1 The decryption manager 244 may communicate with the key management service 160 of the storage array to determine the decryption key. The decryption manager 244 may send the security identifier in a request to the key management service and receive a response with the decryption key information. In another embodiment, the decryption manager 244 may determine the decryption key by detecting a physical device attached to an input port associated with the storage array and receiving the decryption key from the physical device. For example, a universal serial bus (USB) device including the decryption key may be inserted into a USB port of the storage array. The decryption manager 244 may then receive the decryption key from the USB device.
[0040] Once the decryption key has been determined, the decryption manager 244 may store the decryption key in a key cache (e.g., key cache 141) for use with subsequent requests that include encrypted data associated with the same characteristic. Thus, repeated determination of the same decryption key may be avoided by accessing the key cache. The decryption manager 244 may then use the decryption key to decrypt the encrypted data.
[0041] The data reduction manager 246 may then be called to perform at least one data reduction operation on the decrypted data. For example, a deduplication operation may be performed to remove duplicate portions of the data. Additionally or alternatively, a data compression operation may be performed to compress the data. In some embodiments where data is stored in a storage array 130 for multiple clients (e.g., in a multi-tenant system), a data reduction operation may be performed to achieve data reduction across all clients (e.g., all tenants). Any conventional method may be used to perform deduplication and / or data compression operations.
[0042] The encryption manager 248 may then be called to encrypt the reduced data to generate encrypted data for the storage array. In some embodiments, the encryption manager 248 may use an encryption key associated with at least one characteristic of the storage array. As noted above, the key used to encrypt the data before being stored in the storage array may be for a key pair different from the key pair used by the client to encrypt the data. In other words, the data received from the client may be encrypted with one key, while the encryption manager 248 may use a completely different key to encrypt the reduced data before being stored in the storage array. In some embodiments, the same encryption key may be used to encrypt all data stored in the storage array. Alternatively, a policy may be implemented (and stored in the policy data 254) to encrypt different portions of the storage array using different keys. For example, encryption keys may be assigned based on volumes, client identifiers, tenant identifiers (for multi-tenant storage systems), etc. Once encrypted for storage, the secure data reduction module 140 may then store the encrypted data to a logical volume of the storage array.
[0043] In one embodiment, the client interface 242 may receive an I / O request that includes a request to read encrypted data from a logical volume (e.g., SAN volume 142, NAS volume 146, etc.) residing on the storage array 130. Upon receiving a request to read encrypted data from a logical volume of the storage array, the decryption manager 244 may be called to decrypt the encrypted data using an encryption key associated with a characteristic of the storage array as described above. The data reduction manager 246 may then be called to perform at least one data operation to reverse any data reduction performed in the process of storing the data. For example, the data reduction manager 246 may perform at least one of a data operation (e.g., a duplication operation, a rehydration operation, etc.) to reconstruct the deduplicated data or a data decompression operation to reverse modifications made to the data by the data reduction operation performed when writing the data to the storage array.
[0044] The encryption manager 248 may then be called to determine an encryption key associated with the characteristics of the data. In an embodiment, the encryption manager 248 may use any of the methods described above for determining an encryption key. For example, the encryption manager 248 may access a local key cache (e.g., Figure 1 , accessing a key mapping table (e.g., mapping table 252 or Figure 1 The encryption manager 248 may then use the determined encryption key to encrypt the reconstructed data. Once the data has been encrypted, the client interface 242 may then provide a response to the read request by sending the encrypted data to the requesting client device 115, 125.
[0045] Figure 3 is a flow chart illustrating a method 300 for end-to-end secure data reduction of write requests to a storage array according to an embodiment. The method 300 may be performed by processing logic including hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.), software (e.g., instructions running on a processing device to perform hardware emulation), or a combination thereof. In one embodiment, the method 300 may be performed by, for example, Figure 1 and Figure 2 The method 300 is performed by the secure data reduction module 140 shown in FIG.
[0046] refer to Figure 3At block 305 of method 300, processing logic receives a request to write encrypted data to a volume residing on a storage array. In some embodiments, the volume may be a logical volume. In some embodiments, the encrypted data includes data that has been encrypted by an encryption key associated with at least one characteristic of the data. For example, the encryption key may be associated with at least one of: a volume residing on a storage array, a logical volume range residing on a storage array associated with a client writing the data, a set of blocks associated with a volume residing on a storage array, a client identifier, a client application identifier, or other similar information.
[0047] At block 310, processing logic determines a decryption key for decrypting the encrypted data, wherein the decryption key is associated with at least one characteristic of the data. At block 315, processing logic decrypts the encrypted data using the decryption key determined at block 310 to generate decrypted data. At block 320, processing logic performs at least one data reduction operation on the decrypted data from block 315 to generate reduced data. For example, processing logic may perform a deduplication operation on the decrypted data. Additionally or alternatively, processing logic may perform a data compression operation on the decrypted data.
[0048] At block 325, processing logic encrypts the reduced data using an encryption key associated with at least one characteristic of the storage array to generate new encrypted data to be stored on the storage array. At block 330, processing logic stores the encrypted data from block 325 to a volume on the storage array. After block 330, Figure 3 The method terminates.
[0049] Figure 4 4 is a flow chart illustrating a method 400 for end-to-end secure data reduction of read requests from a storage array according to an embodiment. The method 400 may be performed by processing logic including hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.), software (e.g., instructions running on a processing device to perform hardware emulation), or a combination thereof. In one embodiment, the method 400 may be performed by, for example, Figure 1 and Figure 2 The method 400 is performed by the secure data reduction module 140 shown in FIG.
[0050] refer to Figure 4, at block 405 of method 400, processing logic receives a request to read encrypted data from a logical volume of a storage array. At block 410, processing logic decrypts the encrypted data using a decryption key associated with at least one characteristic of the storage array. At block 415, processing logic performs at least one operation for reconstructing deduplicated data (e.g., a data duplication operation, a data rehydration operation, etc.) or a data decompression operation on the decrypted data from block 410. At 420, processing logic determines an encryption key associated with at least one characteristic of the data. At block 425, processing logic encrypts the data from block 420 using an encryption key associated with at least one characteristic of the data to generate new encrypted data. At block 430, processing logic provides a response to the request, the response including the new encrypted data from block 425. After block 430, Figure 4 The method terminates.
[0051] Figure 5 A diagrammatic representation of a machine in the exemplary form of a computer system 500 is illustrated, within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. In alternative embodiments, the machine may be connected (e.g., networked) to other machines in a local area network (LAN), an intranet, an extranet, or the Internet. The machine may operate as a server or client in a client-server network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a web appliance, a server, a network router, a switch or a bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specifies the actions to be taken by the machine. Further, although only a single machine is illustrated, the term "machine" should also be considered to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein. In one embodiment, computer system 500 may represent a server, such as storage controller 110 running secure data reduction module 140 , or a client, such as client device 115 or 125 .
[0052] The exemplary computer system 500 includes a processing device 502, a main memory 504 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM)), a static memory 506 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 518 that communicate with each other via a bus 530. The data storage device 518 may be a Figure 1An example of any of the storage devices 135A-n in or Figure 2 250 in the data storage library 250 of FIG. Any signal provided by the various buses described herein may be time multiplexed with other signals and provided by one or more common buses. Additionally, the interconnections between circuit components or blocks may be shown as buses or as single signal lines. Each bus may alternatively be one or more single signal lines, and each of these single signal lines may alternatively be a bus.
[0053] Processing device 502 represents one or more general-purpose processing devices such as a microprocessor, a central processing unit, etc. More specifically, the processing device may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computer (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor that implements other instruction sets or a processor that implements a combination of instruction sets. Processing device 502 may also be one or more special-purpose processing devices, such as an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. Processing device 502 is configured to execute processing logic 526, which may be Figure 1 and Figure 2 An example of a secure data reduction module 140 shown in , or an example of an application 112 or 122, may be used to perform the operations and steps discussed herein.
[0054] The data storage device 518 may include a machine-readable storage medium 728 having stored thereon one or more sets of instructions 522 (e.g., software) embodying any one or more of the methodologies for implementing the functionality described herein, including instructions for causing the processing device 502 to execute the secure data reduction module 140 or the applications 112 or 122. The instructions 522 may also reside, completely or at least partially, within the main memory 504 and / or within the processing device 502 during execution thereof by the computer system 500; the main memory 504 and the processing device 502 also constitute machine-readable storage media. The instructions 522 may further be sent or received over the network 520 via the network interface device 508.
[0055] As described herein, the machine-readable storage medium 528 may also be used to store instructions to execute methods for performing data refreshes in a distributed storage system without destroying application state. Although the machine-readable storage medium 528 is shown as a single medium in an exemplary embodiment, the term "machine-readable storage medium" should be considered 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 sets of instructions. Machine-readable media include any mechanism for storing information in a form (e.g., software, processing applications) that is readable by a machine (e.g., a computer). Machine-readable media may include, but are not limited to, magnetic storage media (e.g., floppy disks); optical storage media (e.g., CD-ROMs); magneto-optical storage media; read-only memory (ROM); random access memory (RAM); erasable programmable memory (e.g., EPROM and EEPROM); flash memory; or another type of medium suitable for storing electronic instructions.
[0056] The foregoing description sets forth many specific details of examples such as specific systems, components, methods, etc., in order to provide a good understanding of several embodiments of the present disclosure. However, it will be apparent to those skilled in the art that at least some embodiments of the present disclosure may be practiced without these specific details. In other cases, well-known components or methods are not described in detail or are presented in a simple block diagram format in order to avoid unnecessarily obscuring the present disclosure. Therefore, the specific details set forth are merely exemplary. Specific embodiments may differ from these exemplary details and are still contemplated to be within the scope of the present disclosure.
[0057] Unless specifically stated otherwise, as will be apparent from the following discussion, it should be appreciated that throughout the specification, discussions utilizing terms such as "receiving," "determining," "decrypting," "executing," "encrypting," "storing," etc. refer to actions and processes of a computer system or similar electronic computing device that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission, or display devices.
[0058] References throughout this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or".
[0059] Although the operations of the methods herein are shown and described in a particular order, the order of the operations of each method may be changed so that certain operations may be performed in reverse order, or so that certain operations may be performed at least partially simultaneously with other operations. In another embodiment, instructions or sub-operations of different operations may be performed in an intermittent and / or alternating manner.
Claims
1. A system for data reduction, the system comprising: A storage array, the storage array comprising one or more storage devices; as well as a storage controller coupled to the storage array, the storage controller comprising a processing device, the processing device configured to: receiving a first request from a first client device to write first encrypted data to a logical volume residing on a storage array, wherein the first encrypted data comprises first data encrypted by a first encryption key, wherein the first encryption key is a private key in a key pair and is associated with the logical volume; obtaining a stored first decryption key, wherein the first decryption key is a public key in the key pair and is associated with the logical volume; decrypting the first encrypted data using the obtained first decryption key to generate first decrypted data; performing at least one of a data deduplication operation or a data compression operation on the first decrypted data to generate first reduced data; and The first reduced data is encrypted using a second encryption key to generate second encrypted data, wherein the second encryption key is associated with at least one characteristic of the storage array.
2. The system according to claim 1, wherein: To determine the first decryption key, the processing device is configured to: determining a security identifier associated with at least one of: the logical volume, a range of logical volumes on the storage array, or a client identifier associated with the first data; and A mapping table is accessed, the mapping table storing a mapping between the security identifier and the first decryption key.
3. The system according to claim 1, wherein: To determine the first decryption key, the processing device is configured to: determining a security identifier associated with at least one of: the logical volume, a range of logical volumes on the storage array, or a client identifier associated with the first data; sending a second request for the first decryption key to a key management service, the second request including the security identifier; and A response is received with the first decryption key.
4. The system according to claim 1, wherein: To determine the first decryption key, the processing device is configured to: detecting a physical device on an input port associated with the storage array; and The first decryption key is received from the physical device.
5. The system according to claim 1, wherein: The processing device is further used for: receiving a second request from a second client device to read the second encrypted data from the logical volume on the storage array; decrypting the second encrypted data using a second decryption key to generate second decrypted data, wherein the second decryption key is associated with the second encryption key; performing at least one of a data reconstruction operation or a data decompression operation on the second decrypted data; encrypting the second decrypted data using the first encryption key to generate third encrypted data; and The third encrypted data is provided to the second client device.
6. A method for data reduction, the method comprising: receiving a first request from a first client device to write first encrypted data to a logical volume residing on a storage array, wherein the first encrypted data comprises first data encrypted by a first encryption key, wherein the first encryption key is a private key in a key pair and is associated with the logical volume; obtaining a stored first decryption key, wherein the first decryption key is a public key in the key pair and is associated with the logical volume; decrypting the first encrypted data using the obtained first decryption key to generate first decrypted data; performing at least one of a data deduplication operation or a data compression operation on the first decrypted data to generate first reduced data; as well as The first reduced data is encrypted using a second encryption key to generate second encrypted data, wherein the second encryption key is associated with at least one characteristic of the storage array.
7. The method according to claim 6, wherein: The first encryption key and the first decryption key are associated with at least one characteristic of the first data, and wherein the at least one characteristic of the data comprises at least one of: a logical volume range residing on the storage array, a group of blocks associated with the volume residing on the storage array, a client identifier, or a client application identifier.
8. The method according to claim 7, wherein: Determining the first decryption key includes: determining a security identifier associated with the at least one characteristic of the first data; and A mapping table is accessed, the mapping table storing a mapping between the security identifier and the first decryption key.
9. The method according to claim 7, wherein: Determining the first decryption key includes: determining a security identifier associated with the at least one characteristic of the first data; sending a second request for the first decryption key to a key management service, the second request including the security identifier; and A response is received with the first decryption key.
10. The method according to claim 7, wherein: Determining the first decryption key includes: identifying a plurality of security identifiers associated with the at least one characteristic of the first data; accessing a policy definition map associated with the first data; selecting a first security identifier of the plurality of security identifiers based on the policy definition mapping; and The first decryption key is determined using the first security identifier.
11. The method according to claim 6, wherein: Determining the first decryption key includes: detecting a physical device on an input port associated with the storage array; and The first decryption key is received from the physical device.
12. The method according to claim 6, wherein: The at least one data reduction operation includes at least one of a data deduplication operation or a data compression operation.
13. The method according to claim 7, wherein: The second encryption key is associated with at least one characteristic of the storage array.
14. The method according to claim 6, further comprising: receiving a second request to read the second encrypted data from the volume on the storage array; decrypting the second encrypted data using a second decryption key to generate second decrypted data, wherein the second decryption key is associated with the second encryption key; encrypting the second decrypted data using the first encryption key to generate third encrypted data; and A response to the request is provided, the response including the third encrypted data.
15. The method according to claim 14, further comprising: At least one of a data reconstruction operation or a data decompression operation is performed on the second decrypted data.
16. A non-transitory computer-readable storage medium storing instructions that, when executed, cause a processing device to: receiving a first request from a first client device to write first encrypted data to a logical volume residing on a storage array, wherein: The first encrypted data includes first data encrypted by a first encryption key, wherein the first encryption key is a private key in a key pair and is associated with the logical volume; obtaining a stored first decryption key, wherein the first decryption key is a public key in the key pair and is associated with the logical volume; decrypting the first encrypted data using the obtained first decryption key to generate first decrypted data; performing at least one of a data deduplication operation or a data compression operation on the first decrypted data to generate first reduced data; and The first reduced data is encrypted using a second encryption key to generate second encrypted data, wherein the second encryption key is associated with at least one characteristic of the storage array.
17. The non-transitory computer-readable storage medium of claim 16, wherein: The first encryption key and the first decryption key are associated with the at least one characteristic of the first data, and wherein the at least one characteristic of the data comprises at least one of: a logical volume range residing on the storage array, a group of blocks associated with the volume residing on the storage array, a client identifier, or a client application identifier.
18. The non-transitory computer-readable storage medium of claim 17, wherein: To determine the first decryption key, the processing device is configured to: identifying a plurality of security identifiers associated with the at least one characteristic of the first data; accessing a policy definition map associated with the first data; selecting a first security identifier among the plurality of security identifiers based on the policy definition mapping; and The first decryption key is determined using the first security identifier by accessing at least one of a mapping table or a key management service.
19. The non-transitory computer-readable storage medium of claim 16, wherein: The processing device is further used for: receiving a second request to read the second encrypted data from the volume on the storage array; decrypting the second encrypted data using a second decryption key to generate second decrypted data, wherein the second decryption key is associated with the second encryption key; encrypting the second decrypted data using the first encryption key to generate third encrypted data; and A response to the request is provided, the response including the third encrypted data.
20. The non-transitory computer-readable storage medium of claim 19, wherein: The processing device is further used for: At least one of a data reconstruction operation or a data decompression operation is performed on the second decrypted data.
Citation Information
Patent Citations
Data reduction with end-to-end security
US20180196947A1
Method and system for protecting disk data
CN102930223A
Single-use authentication methods for accessing encrypted data
CN102948114A
Securing encrypted virtual hard disks
CN103563278A
Encrypted transport solid-state disk controller
CN103620690A
