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

Queue construction method and device

A construction method and queue technology, applied in the field of queue construction methods and devices, can solve the problems of abnormally time-consuming new records and deleted records, and achieve the effect of reducing time-consuming

Active Publication Date: 2011-06-01
上海中兴思秸通讯有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, when the number of records is very large (usually more than tens of thousands), operations such as adding and deleting records will be extremely time-consuming

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
  • Queue construction method and device
  • Queue construction method and device
  • Queue construction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] The process described in this preferred embodiment is basically the same as that of the prior art, except that the relevant processing is added after the definition of the SNMP queue node structure extension.

[0054] Image 6 is a flow chart of SNMP queue creation according to an embodiment of the present invention, such as Image 6 As shown, the following steps S602 to S618 are included.

[0055] Step S602, providing a data table handle associated with the SNMP queue.

[0056] Step S604, judge whether the data table handle is valid, if yes, go to step S606, otherwise go to step S618.

[0057] Step S606, obtain the SNMP queue information structure (a free subscript) of this table from the globally allocated SNMP queue information structure array.

[0058] Step S608, judging whether the SNMP queue information structure of the table is obtained successfully, if yes, proceed to step S610, otherwise proceed to step S618.

[0059] Step S610, assign initial values ​​to a...

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 queue construction method and a queue construction device. The method comprises the following steps of: determining that a first node value and a second node value in a plurality of node values are the same in index values in a same dimension, wherein each node value of the plurality of node values comprises index values of a plurality of dimensions; setting the first node value and the second node value to be positioned in a bidirectional ring of the same level in the plurality of bidirectional rings in the queue, wherein the level of the bidirectional ring corresponds to the same dimension. The method and the device can realize construction of bidirectional ring by different levels, namely realizing transformation from bidirectional single-ring structure of a large number of nodes to multi-level bidirectional ring cascade structure of a small number of nodes, and further reduce time consumption for operation such as record adding and deletion.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a queue construction method and device. Background technique [0002] The Simple Network Management Protocol (SNMP for short) is currently the most widely used network management protocol in the TCP / IP network. In the embedded system, the real-time memory database is a common form of data management, which undertakes all the maintenance work of the data, including the realization support to the SNMP queue. When the SNMP Get-Next-Request operation is performed on the meter, the managed object needs to be returned to the manager in the form of lexicographical order according to the specification requirements of the SNMP protocol. The record table and index table in the real-time memory database cannot provide effective query for this kind of lexicographic sorting and return. At this time, it is necessary to provide a method to meet this operation requirement. The implementation ...

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
IPC IPC(8): H04L12/24H04L29/06
Inventor 叶旭光
Owner 上海中兴思秸通讯有限公司