IP Library Granted Patent US 9,584,332
Granted Patent B2
US 9,584,332 · App. 14/395,831 · Granted Feb 28, 2017

Message processing method and device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,584,332
App. No.
14/395,831
Granted
Feb 28, 2017
Kind
B2
Abstract

A message processing method and device, the method comprises: allocating a node to an input message in a cache space for saving the message, and taking the location corresponding to the cache space as index information of a descriptor of the message; and extracting the descriptor information of the message; framing and saving the descriptor information and node information of the message in a node linked list. The abovementioned solution can achieve uniform memory of unicast and multicast messages, and the descriptor linked list corresponds to the packet entity caching resource, thereby significantly reducing the overheads for managing the unicast and multicast messages, so as to improve the node aggregation capability.

Claims (34)

1. A message processing method, comprising:

allocating a node to an input message in a cache space, saving said message, and taking a location corresponding to said cache space as index information of a descriptor of said message;

extracting descriptor information of said message;

framing and saving said descriptor information and node information of said message in a node linked list;

wherein the allocating step specifically comprises:

applying for a node in a cached idle linked list, and

enqueuing and saving said node, if adjacent nodes in a same queue have a multicast attribute, inserting an empty node between said adjacent nodes; a multicast pointer of a previous node pointing to an address of said empty node, and the multicast pointer of said empty node pointing to next node.

2. The method of claim 1 , wherein saving said message comprises:

saving said message in an external memory unit in accordance with a cache address corresponding to said node.

3. The method of claim 2 , wherein, after saving said message into said external memory unit according to said cache address corresponding to said node, further comprising:

after receiving a dequeue command, obtaining a linked list pointer of said node according to said dequeue command, and reading data corresponding to said node according to a mapping relationship between said linked list pointer and said external memory unit.

4. The method of claim 3 , wherein, said descriptor information comprises one or more of following information:

a unicast information of said message, a multicast information of said message, an index information, a message tail attribute of the current node, an effective number of bytes, and a queue number.

5. The method of claim 2 , wherein, said descriptor information comprises one or more of following information:

a unicast information of said message, a multicast information of said message, an index information, a message tail attribute of the current node, an effective number of bytes, and a queue number.

6. The method of claim 1 , wherein, said descriptor information comprises one or more of following information:

a unicast information of said message, a multicast information of said message, an index information, a message tail attribute of the current node, an effective number of bytes, and a queue number.

7. A message processing device, comprising hardware performing instructions stored in a non-transitory computer readable medium which executes steps in following modules:

a first module, configured to: allocate a node to an input message in a cache space, save said message, and take a location corresponding to said cache space as index information of a descriptor of said message;

a second module, configured to: extract descriptor information of said message;

a third module, configured to: frame and save said descriptor information and node information of said message in a node linked list;

wherein said first module comprises a first unit configured to:

apply for a node in a cached idle linked list and maintain a corresponding linked list pointer, and

enqueue and save said node, if adjacent nodes in a same queue have multicast attribute, insert an empty node between said adjacent nodes; a multicast pointer of a previous node pointing to an address of said empty node, and the multicast pointer of said empty node pointing to next node.

8. The device of claim 7 , wherein, said first module comprises:

a second unit, configured to: save said message in an external memory unit according to a cache address corresponding to said node.

9. The device of claim 8 , wherein, said device further comprises:

a fourth module, configured to: after receiving a dequeue command, obtain the linked list pointer of said node according to said dequeue command, and according to a mapping relationship between said linked list pointer and said external memory unit, read the data corresponding to said node.

10. The device of claim 9 , wherein, said descriptor information comprises one or more of:

a unicast information of said message, a multicast information of said message, an index information, a message tail attribute of the current node, an effective number of bytes, and a queue number.

11. The device of claim 8 , wherein, said descriptor information comprises one or more of:

a unicast information of said message, a multicast information of said message, an index information, a message tail attribute of the current node, an effective number of bytes, and a queue number.

12. The device of claim 7 , wherein, said descriptor information comprises one or more of:

a unicast information of said message, a multicast information of said message, an index information, a message tail attribute of the current node, an effective number of bytes, and a queue number.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 16, 2023
From: ZTE CORPORATION
To: SANECHIPS TECHNOLOGY CO., LTD.
Reel/Frame 062777/0001 →
CHANGE OF NAME Recorded May 3, 2017
From: ZTE MICROELECTRONICS TECHNOLOGY CO., LTD
To: SANECHIPS TECHNOLOGY CO., LTD.
Reel/Frame 042389/0938 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 26, 2015
From: ZTE CORPORATION
To: ZTE CORPORATION; ZTE MICROELECTRONICS TECHNOLOGY CO.LTD
Reel/Frame 037145/0039 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 22, 2014
From: GAO, JIWEI; HUANG, WEI
To: ZTE CORPORATION
Reel/Frame 034001/0676 →