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

Encryption and decryption method and device for distributed storage system communication protocol

A technology of distributed storage and system communication, applied in the encryption field of decryption method and device, communication protocol of distributed storage system, can solve problems such as ciphertext cracking, and achieve the effect of improving security and increasing the difficulty of being cracked.

Active Publication Date: 2020-03-10
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The RC4 encryption algorithm, whether it is encryption or decryption, only performs an XOR operation, which means that once the subkey sequence repeats, the ciphertext is very likely to be cracked

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
  • Encryption and decryption method and device for distributed storage system communication protocol
  • Encryption and decryption method and device for distributed storage system communication protocol
  • Encryption and decryption method and device for distributed storage system communication protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] Please refer to figure 1 , an encryption method for a distributed storage system communication protocol, comprising the following steps:

[0064] Step S101: The sender obtains the original data to be encrypted.

[0065] Step S102: The sender constructs a message of the communication protocol of the distributed storage system, and the message of the communication protocol of the distributed storage system includes seven fields, wherein the first field is a random number occupying one byte, and the second field is a random number occupying one byte. A four-byte magic number, the third field is the length value of the fourth field, which occupies one byte, the fourth field is random length and random content garbage text, the fifth field is the temporary request key, and the sixth field is Temporary response key, the seventh field is the original data to be encrypted on the sender.

[0066] It is worth noting that the seven fields of the message of the distributed storag...

Embodiment 2

[0077] Please refer to figure 2 , a decryption method of a distributed storage system communication protocol, comprising the following steps:

[0078] Step S201: the receiving end receives the encrypted message from the sending end.

[0079] Step S202: The receiving end constructs a message of the distributed storage system communication protocol. The message of the distributed storage system communication protocol includes seven fields, wherein the first field is a random number occupying one byte, and the second field is a random number occupying one byte. The four-byte magic number 0x195E8FF1, the third field is the length value of the fourth field, which occupies one byte, the fourth field is garbage text with random length and random content, the fifth field is the temporary request key, and the sixth field It is the temporary response key, and the seventh field is the original data to be decrypted on the receiving end.

[0080] Step S203: the receiving end obtains the...

Embodiment 3

[0091] Please refer to image 3 , an encryption device for a distributed storage system communication protocol, comprising the following units:

[0092] An original data obtaining unit 301, configured for the sending end to obtain the original data to be encrypted;

[0093] The message construction unit 302 at the sending end is used for the sending end to construct a message of the distributed storage system communication protocol. The message of the distributed storage system communication protocol includes seven fields, wherein the first field is a random field occupying one byte. number, the second field is a magic number that occupies four bytes, the third field is the length value of the fourth field that occupies one byte, the fourth field is garbage text with random length and random content, and the fifth field is a temporary request key, the sixth field is the temporary response key, and the seventh field is the original data to be encrypted on the sender;

[0094] S...

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 relates to the technical field of data security of storage systems, and discloses an encryption and decryption method and apparatus of a communication protocol of a distribution storage system. The encryption method comprises the following steps: a sending end obtains to-be-encrypted original data; the sending end constructs a message of the communication protocol of the distribution storage system; the sending end obtains a shared key of an encryption algorithm; the sending end encrypts a second field to the sixth field in the message through the shared key by using the encryption algorithm; and the sending end encrypts a seventh field in the message through a temporary request key of a fifth field in the message by using the encryption algorithm, and the sending end sends the encrypted message to a receiving end. The invention designs an encryption method with variable length and without repeated sequence for the RC4 encryption algorithm, thereby increasing the breaking difficulty of the encrypted data and improving the data transmission security.

Description

technical field [0001] The invention relates to the technical field of storage system data security, in particular to an encryption and decryption method and device for a communication protocol of a distributed storage system. Background technique [0002] A distributed storage system stores data dispersedly on multiple independent devices. Distributed storage systems often consist of multiple nodes, and large-scale distributed storage may transmit control data and file data across computer rooms and on the public network. Especially in the Internet environment, some attackers may infer the content of the message based on the length of the message, and then crack the storage communication device to intercept key content information. How to ensure safe and reliable data transmission on the public network has become a fundamental issue in building a distributed storage system. [0003] The distributed storage communication protocol is the basis of the distributed storage sys...

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): H04L9/06H04L29/08
CPCH04L9/065H04L67/1097
Inventor 李强
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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