Unlock instant, AI-driven research and patent intelligence for your innovation.

Message call-back method and device

A message encapsulation and message technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as processing exceptions and message errors

Active Publication Date: 2014-01-22
MAIPU COMM TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Subsequent messages to be processed can occupy the cache unit of the BD ring with the serial number 3. At this time, the processing device returns the message with the BD serial number 3. By default, this message will be stored according to the buffer unit of the BD ring with the serial number 3. The callback function currently stored in is called back to the corresponding interface, resulting in an error in the callback message and causing a processing exception

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
  • Message call-back method and device
  • Message call-back method and device
  • Message call-back method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] The embodiment of the present invention provides a message callback method, such as figure 1 As shown, the method includes:

[0029] 101. Receive the processed message after the header information is encapsulated and sent by the message processing device.

[0030] Among them, the header information is usually encapsulated during the transmission process of the message. In the embodiment of the present invention, the encryption and decryption driver module receives the message processed by the encryption and decryption chip. The serial number is encapsulated into the header information together. Of course, the encapsulated header information may also contain other information required for transmission or processing, such as encrypted key vectors, etc., which is not limited in this embodiment of the present invention. After the encryption and decryption chip encrypts and decrypts the message, it does not change the header information encapsulated in the message, and repl...

Embodiment 2

[0038] The embodiment of the present invention provides a message callback method, such as figure 2 As shown, the method may include:

[0039] 201. A message to be processed is received.

[0040] Among them, part of the processing links in a processing flow can be handled by a message processing device with a specific function. Therefore, when a message to be processed is received, the message to be processed needs to be sent to the message processing device. After the processing of the message is completed, the processed message needs to be sent to the interface waiting for the message. For example, in a network router, the hardware encryption and decryption chip realizes the encryption and decryption operations of the message. The IPSec protocol layer module sends the message to be encrypted or decrypted to the encryption and decryption driver layer, and the encryption and decryption driver layer module receives the message to be encrypted. After decrypting the message, i...

Embodiment 3

[0072] Another embodiment of the present invention provides a message callback device, such as Figure 5 As shown, the device may include:

[0073] A receiving module 51, configured to receive the processed message sent by the message processing device after encapsulating the header information;

[0074] The obtaining module 52 is used to obtain the packet sequence number and the buffer descriptor BD sequence number from the header information of the processed packet received by the receiving module 51, wherein the BD sequence number is the same as that of the BD ring One-to-one correspondence of cache units;

[0075] A matching module 53, configured to match the packet serial number acquired by the acquiring module 52 with the packet serial number stored in the cache unit of the BD ring;

[0076] The callback module 54 is configured to, when the matching result of the matching module 53 indicates that the packet serial number obtained in the encapsulated header information ...

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 a message call-back method and a device and relates to the field of message communication. The method and the device can realize correct call-back of processed messages. The method mainly comprises the steps of: receiving the processed messages transmitted by a message processing device, acquiring message serial numbers of the processed messages and BD (Buffer Descriptor) serial numbers from packaged header information of the processed messages, and if the message serial numbers acquired from the packaged header information are matched with message serial numbers stored in cache units of a BD ring, calling back the processed messages according to call-back functions stored in the cache units of the BD ring, wherein the header information of the processed messages is packaged, and the BD serial numbers correspond to the cache units of the BD ring one to one. The method and the device are mainly used for a message call-back course.

Description

technical field [0001] The invention relates to the field of message communication, in particular to a message callback method and device. Background technique [0002] In a message communication system, the message callback process is usually: when a message in an operation process requires specific processing before subsequent operations can be performed, the message to be processed is sent to a specific function module for processing, and the specific function module then The processed message is sent back to continue the subsequent operation of the operation process. For example, in a network router, the message of the IPSec protocol layer is transmitted to the encryption and decryption chip, and the encryption and decryption chip encrypts and decrypts the message and sends it back to the IPSec protocol layer. [0003] In practical applications, a virtual BD (Buffer Description, buffer descriptor) ring is usually used to cache and sort packets. Save the serial number i...

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): H04L29/06H04L12/861
Inventor 杨大川
Owner MAIPU COMM TECH CO LTD