Supercharge Your Innovation With Domain-Expert AI Agents!

Complex structure data automatic encryption and decryption method and system

A technology of encryption and decryption and complex structure, which is applied in the direction of digital data protection, etc., to achieve the effect of reducing later maintenance costs and reducing the amount of code modification

Active Publication Date: 2022-04-08
好享家舒适智能家居股份有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Purpose of the invention: To propose a method and system for automatic encryption and decryption of complex structured data to solve the above-mentioned problems existing in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Complex structure data automatic encryption and decryption method and system
  • Complex structure data automatic encryption and decryption method and system
  • Complex structure data automatic encryption and decryption method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] In one embodiment, in order to overcome the problems existing in the prior art, an automatic encryption and decryption method for complex structure data is proposed, and the method of uniformly processing all database operations carrying sensitive information is referred to as the mapper method. This method builds data security The encryption and decryption framework, according to the actual application requirements, uses the data security encryption and decryption framework to encrypt or decrypt the received data.

[0065] Specifically, such as image 3 As shown, a complex structure data automatic encryption and decryption method includes the following steps:

[0066] Step 1. Construct the encryption and decryption execution framework, and preset the encryption and decryption strategy, and use it as the basis for the execution of the encryption and decryption process;

[0067] Step 2. Construct the data encryption and decryption processor execution chain;

[0068] St...

Embodiment 2

[0072] In a further embodiment based on Embodiment 1, the implementation process of encryption includes:

[0073] a. Trigger the corresponding parameter encryption processor according to the data received by the data security encryption and decryption framework;

[0074] b. Execute the parameter encryption processor to obtain the encryption parameters, and call the execution chain of the data encryption and decryption processor to trigger the data encryption and decryption processor to perform data encryption;

[0075] c. Store the encrypted data in the database.

[0076] In a further embodiment, when the automatic encryption process obtains the data received by the data security encryption and decryption framework, it first stores the data through the constructed cache center; secondly, loads the metadata information of the data stored in the cache center and triggers parameter encryption The processor parses the parameters that need to be encrypted; then, the execution chai...

Embodiment 3

[0108] In a further embodiment based on the first embodiment, the implementation process of decryption includes:

[0109] a. Read the data to be decrypted in the database and trigger the corresponding result parser;

[0110] b. The execution result parser obtains the decryption field, and calls the data encryption and decryption processor to execute the chain to decrypt the data;

[0111] c. Output the decrypted data.

[0112] In a further embodiment, when the result parser obtains the decrypted field, if the required data information cannot be loaded, the obtained data is parsed through the reflection mechanism, and the parsing result is stored in the cache center for use as the next Metadata for one read.

[0113] In a further embodiment, a result parsing factory is constructed to generate a result parser object. In the process of triggering the result parser to parse the parameters that need to be decrypted, if it fails to load into the corresponding result parser, creat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an automatic encryption and decryption method and system for complex structure data, relates to the technical field of data encryption and decryption, and aims to solve the encryption and decryption difficulty of complex data in the prior art. And based on an annotation idea, uniformly intercepting and processing parameter encryption and result decryption of all database operation mapping methods through an interceptor. The automatic encryption and decryption method comprises the following steps that an encryption and decryption strategy is preset and serves as an execution basis of the encryption and decryption process; constructing a data encryption and decryption processor execution chain; and calling a data encryption and decryption processor to execute a chain triggering data encryption and decryption function according to requirements based on the encryption and decryption strategy. The encryption and decryption processes are all realized in the framework, developers do not need to rewrite business codes, and the developers can use the framework only by introducing the framework and making some simple configurations in practical application, so that the code modification amount and the later maintenance cost of the developers are greatly reduced.

Description

technical field [0001] The invention relates to the technical field of data encryption and decryption, in particular to a method and system for automatic encryption and decryption of complex structured data. Background technique [0002] Today is an era of vigorous development of Internet technology applications. Internet applications have brought a lot of convenience to the work and life of the public. With the growth of electronic data, user data is often stored in the form of a server-side database. However, the method of storing data in plain text is often obtained by lawbreakers through hacking techniques, resulting in the leakage of user data and serious threats to user privacy and property security. [0003] In order to avoid leakage of user data, the data encryption method is used to encrypt the data before the sensitive information of the user is stored in the database. One encryption method often used in the existing technology is to separately encrypt or decrypt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/60
Inventor 汪浩李郃杨芃
Owner 好享家舒适智能家居股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More