Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Transparent encryption and decryption method and system based on multi-thread environment and storage medium

A transparent encryption and decryption, multi-threaded technology, applied in the field of data protection, can solve problems such as reduced program running efficiency, affecting user experience, black screen, etc.

Active Publication Date: 2020-10-27
ZHENGZHOU XINDA JIEAN INFORMATION TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a multi-threaded environment, when the application layer has frequent file operations, due to the influence of the mutual exclusion lock, the program operation efficiency will drop, and there is a high probability that the process of the application layer will not respond, freeze, black screen and other problems, seriously affecting the user experience

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
  • Transparent encryption and decryption method and system based on multi-thread environment and storage medium
  • Transparent encryption and decryption method and system based on multi-thread environment and storage medium
  • Transparent encryption and decryption method and system based on multi-thread environment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0058] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0059] figure 1 A basic frame diagram of a transparent encryption and decryption system of the present invention is shown.

[0060] Such as figure 1 As shown, the transparent encryption and decryp...

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 a transparent encryption and decryption method based on a multi-thread environment, computer equipment and a storage medium, and the method comprises the steps of obtaining a file descriptor FD, and receiving an operation request of a first thread for a file; using an atomic operation function to operate the global VFDSet, searching a virtual file descriptor VFD corresponding to the file descriptor FD in the global VFDSet through the file descriptor FD, judging the current state of the file descriptor FD if the virtual file descriptor VFD is not searched, directly returning error information by the virtual file system if the current state is marked as a closed state, and ending the process; if the current state is marked as the initialized state, calling an I / O function of an operating system to directly perform plaintext operation on the file; and if the virtual file descriptor VFD is found, realizing transparent encryption and decryption operation on the file in the virtual file system layer based on the virtual file descriptor VFD. According to the invention, the problem of mutual exclusion among multiple threads can be solved, and file data errors are avoided.

Description

technical field [0001] The invention relates to the technical field of data protection, in particular to a transparent encryption and decryption method, system and storage medium based on a multi-thread environment. Background technique [0002] In the actual operation of the transparent encryption and decryption system, there is a problem of multi-thread concurrency. When multiple threads operate a file at the same time, mutual exclusion is required for accessing and destroying data shared by threads in the virtual file layer. The global VFDSet and the virtual file descriptor VFD are shared by threads at the virtual file layer. The virtual file descriptor VFD is consistent with the real file descriptor. The global VFDSet is a collection of virtual file descriptors VFD. The global VFDSet and virtual file descriptor VFD data are required to be opened and closed as well as read and write operations on files. In order to avoid data errors, mutual exclusion locks need to be add...

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
CPCG06F21/602
Inventor 李刚张嵩李铭乐武宗品武耀威魏康威柯永裕王旭东刘小风
Owner ZHENGZHOU XINDA JIEAN INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products