Database transparent encryption and decryption implementation method and system based on virtual block device
A technology of transparent encryption and decryption and virtual block device, applied in the field of transparent encryption and decryption of databases, it can solve the problems of low efficiency, not achieving complete transparency, and poor fuzzy query support, and achieve the effect of simple configuration and transparent application.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] see figure 1 and Figure 5 , figure 1 A schematic diagram of the steps of a method for implementing transparent encryption and decryption of a database based on a virtual block device provided by an embodiment of the present invention is as follows:
[0037] Figure 5 It is the kernel architecture diagram of Device Mapper. Device Mapper is a general device mapping mechanism that supports logical volume management in the linux2.6 kernel. It provides a highly modular architecture for block device drivers. DM can flexibly manage virtual volumes in the system. block device.
[0038] Device Mapper is a kernel-based advanced volume management technology framework in Linux systems. Docker's devicemapper storage driver is based on the framework's thin provisioning and snapshot functions to manage images and containers. Note: Device Mapper is a technical framework of Linux, and devicemapper is a storage driver provided by Docker Engine based on DeviceMapper.
[0039]device...
Embodiment 2
[0048] see figure 2 , figure 2 A schematic diagram of the detailed steps of a method for implementing transparent encryption and decryption of a database based on a virtual block device provided by an embodiment of the present invention is as follows:
[0049] Step S200, creating a virtual disk;
[0050] In some implementations, the virtual disk is created by fallocate -l 16G / home / postgres.vol.
[0051] Step S210, format the virtual disk in luks mode;
[0052] In some implementations, the virtual disk is formatted using cryptsetup luksFormat / home / postgres.vol.
[0053] In some embodiments, LUKS (Linux Unified Key Setup) is a standard for Linux hard disk encryption. By providing a standard on-disk format, it not only facilitates compatibility between distributions, but also provides secure management of multiple user passwords. Compared with existing solutions, LUKS stores all necessary setting information in the partition information header, enabling users...
Embodiment 3
[0075] see image 3 , image 3 A schematic diagram of a system module for realizing transparent encryption and decryption of a database based on a virtual block device provided by an embodiment of the present invention is as follows:
[0076] PostgreSQL encryption module 10, used for automatically encrypting the data under the block device through dm-crypt when the user writes data, and then writing it to the disk;
[0077] The PostgreSQL decryption module 20 automatically decrypts the data under the block device and returns it to the application program when the user reads the data.
[0078] In some implementations, transparent data encryption can literally be divided into three parts, data, encryption, and transparency. Data, plaintext data that users need to protect. Encryption and information security have always been accompanied by the development of the world. Encryption is an important means of information security. Commonly used encryption methods can be d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com