Transparent encryption and decryption method for database based on multi-level view and trigger
A transparent encryption and decryption, trigger technology, applied in the fields of digital data protection, electrical digital data processing, special data processing applications, etc. Text query, good application transparency, and the effect of ensuring transparency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2011-11-16
- Estimated Expiration
- Not applicable · inactive patent
Abstract
Description
technical field
[0001] The invention relates to the field of computer data security, in particular to a method for encrypting and decrypting data in a relational database. Background technique
[0002] With the rapid development of computer technology, the application of database has been very extensive and has penetrated into various fields. Government organizations, commercial organizations, and financial institutions all use database servers to save various sensitive data such as important personnel information, trade records, and market decision-making information. The importance of these data is unquestionable, it is related to the security of the country and the rise and fall of enterprises. Therefore, how to effectively ensure the security of the database system and realize the confidentiality, integrity, validity and availability of data has become an important research topic for people in the industry. At present, the mainstream commercial databases used in China ...
Examples
Embodiment Construction
[0029] The present invention realizes the automatic encryption and decryption of sensitive data by realizing the multi-level view and combining the trigger based on the row identification on the basis of the common view and trigger of the relational database, so as to achieve the goal of being transparent to the application, and the application system does not need Transformation; through multi-level views, accurate judgment of database query behavior can be realized, so that for different types of query behavior, a special ciphertext and plaintext data caching strategy based on the LRU cache management mechanism can be constructed, and batch pre-processing of ciphertext data can be constructed. Decryption processing strategy to achieve efficient ciphertext query.
[0030] (1): Sensitive field encryption
[0031] In the method of the present invention, for each table that needs to encrypt sensitive fields:
[0032] Step 1: Change the sensitive field data type
[0033] The data...