A transparent encryption and decryption method, system and storage medium based on multi-thread environment

A transparent encryption and decryption, multi-threaded technology, applied in the field of data protection, can solve problems such as unresponsiveness, affecting user experience, black screen, etc., to avoid mutual exclusion problems, avoid early release, and avoid errors.

Active Publication Date: 2022-03-15
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
  • A transparent encryption and decryption method, system and storage medium based on multi-thread environment
  • A transparent encryption and decryption method, system and storage medium based on multi-thread environment
  • A transparent encryption and decryption method, system and storage medium based on multi-thread environment

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 present invention proposes a transparent encryption and decryption method, computer equipment and storage medium based on a multi-thread environment. The transparent encryption and decryption method includes: obtaining a file descriptor FD, receiving an operation request from the first thread for a file; using an atomic operation function To operate the global VFDSet, search for the corresponding virtual file descriptor VFD in the global VFDSet through the file descriptor FD, if the virtual file descriptor VFD is not found, judge the current state of the file descriptor FD, if the current state is marked as closed state, the virtual file system will directly return an error message and end the process; if the current state is marked as an initialization state, call the I / O function of the operating system to directly perform plaintext operations on the file; if the virtual file descriptor VFD is found, based on The virtual file descriptor VFD implements transparent encryption and decryption operations on files at the virtual file system layer. The invention can solve the problem of mutual exclusion between multi-threads and avoid file data errors.

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
Patent Type & Authority Patents(China)
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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products