Order-preserving method and system for encrypting and decrypting messages by multiple encryption and decryption chips in parallel

A parallel processing and decryption chip technology, which is applied in the field of network communication, can solve the problem of inability to keep the order of messages, and achieve the effect of preventing out-of-order phenomena

Inactive Publication Date: 2013-02-13
OPZOON TECH
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method and system for ensuring the order of messages encrypted and decrypted by multiple encryption and decryption chips in parallel, so as to solve the problem that the order of messages cannot be guaranteed when multiple encryption and decryption chips simultaneously perform message encryption and decryption processing. The problem

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
  • Order-preserving method and system for encrypting and decrypting messages by multiple encryption and decryption chips in parallel
  • Order-preserving method and system for encrypting and decrypting messages by multiple encryption and decryption chips in parallel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Such as figure 1 As shown, this embodiment records a method for preserving the order of encryption and decryption of messages processed in parallel by multiple encryption and decryption chips, including the following steps:

[0030] S1: Set up a message processing circular linked list. After receiving a message, any CPU obtains the encryption and decryption key corresponding to the message, and puts the message and the corresponding encryption and decryption key into the message in sequence Process the corresponding node of the circular linked list;

[0031] S2: The CPU acquires an idle encryption and decryption chip, and sends the corresponding message to the encryption and decryption chip;

[0032] S3: The encryption and decryption chip reads the node data of the node corresponding to the message, encrypts and decrypts the message according to the type of encryption and decryption required for the message, and puts the message back to the corresponding node of the me...

Embodiment 2

[0048] Such as figure 2 As shown, this embodiment records an order-preserving system for multi-encryption and decryption chips to process message encryption and decryption in parallel, including:

[0049] The message processing circular linked list setting module 201 is used to set the message processing circular linked list;

[0050] The multi-core CPU 202 is configured to obtain the encryption and decryption key corresponding to the message after receiving the message, and put the message and the corresponding encryption and decryption key into the corresponding key of the message processing circular linked list in order. On the node; obtain an idle encryption and decryption chip, and deliver the corresponding message to the encryption and decryption chip;

[0051] The encryption and decryption chip 203 is used to read the node data of the corresponding node of the message, and after the message is encrypted and decrypted according to the type of encryption and decryption ...

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 discloses an order-preserving method for encrypting and decrypting messages by multiple encryption and decryption chips in parallel. The order-preserving method comprises the following steps of: S1, setting a message processing cyclic chain table, after any central processing unit (CPU) receives a message, acquiring an encryption and decryption key corresponding to the message, and putting the messages and the corresponding encryption and decryption keys to corresponding nodes of the message processing cyclic chain table; S2, acquiring idling encryption and decryption chips by the CPU, and sending the corresponding messages to the encryption and decryption chips; and S3, reading node data of the nodes corresponding to the messages, encrypting and decrypting the messages according to encryption and decryption types of the messages, and putting the messages back to the corresponding nodes of the message processing cyclic chain table. The invention also discloses an order-preserving system implementing the order-preserving method. By the method and the system, the order of the messages can be guaranteed when multiple encryption and decryption chips encrypt and decrypt the messages at the same time, and a disorder phenomenon during sending of the messages is avoided.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to an order-preserving method and system for parallel processing of message encryption and decryption by multiple encryption and decryption chips. Background technique [0002] Most high-end network devices with Internet Protocol Securit (IPSEC) functions use n (n greater than or equal to 1) general-purpose CPUs (such as intel’s atom general-purpose CPU) plus m (m greater than or equal to 2) dedicated encryption and decryption The CPU (such as the cavium encryption and decryption chip of Cavium Networks) is used to encrypt and decrypt the sent or received messages. However, in the prior art, when multiple encryption and decryption chips perform packet encryption and decryption processing at the same time, the sequence of the packets cannot be guaranteed. tertiary out-of-sequence probability), which in turn leads to packet loss or video mosaic, making network communica...

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 Applications(China)
IPC IPC(8): H04L9/18
Inventor 陈海滨
Owner OPZOON 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