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

A data structure management method and device

A management method and data structure technology, applied in the field of communication, can solve the problem of not considering the impact of data transmission quantity transmission, etc., to achieve the effect of convenient deletion

Active Publication Date: 2019-06-04
曙光云计算技术(日照)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At the same time, the elimination strategy usually uses the LRU (Least Recently Used) algorithm to disconnect the connection that has not been transmitted for the longest time. However, this elimination algorithm may delete (eliminate) long-term data due to network congestion and other reasons. There are no incoming connections. In addition, the elimination algorithm does not consider the impact of the number of data transmissions on transmission. At the same time, in the case of DDos (Distributed Denial of Service) attacks, this algorithm is also easy to delete active and effective connections.

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
  • A data structure management method and device
  • A data structure management method and device
  • A data structure management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0044] According to an embodiment of the present invention, a data structure management method is provided.

[0045] Such as figure 1 As shown, the management method according to the embodiment of the present invention includes:

[0046] Step S101, obtaining information of m linked list items in the linked list, where m is a positive integer;

[0047] Step S103, according to the information of the m linked list items, the activity of the m linked list items is obtained;

[0048] Step S105,...

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 present invention proposes a data structure management method and device. The management method includes: acquiring information of m linked list items in a linked list, wherein m is a positive integer; acquiring information of m linked list items according to information of m linked list items Activity; compare the activity of m linked list items, and delete the linked list item with the smallest activity. The present invention obtains the information of m linked list items in the linked list, and according to the information of m linked list items, obtains the activity of m linked list items, and compares the activity of m linked list items, and deletes the linked list item with the smallest activity. The invention deletes linked list items according to activity, which not only considers the time factor, but also considers the factor of data transmission, so as to avoid deleting the connection or valid connection whose data has not arrived for a long time due to network congestion and other reasons.

Description

technical field [0001] The present invention relates to the communication field, in particular to a data structure management method and device. Background technique [0002] With the rapid development of the network, the network environment is becoming more and more complex, and it is more difficult to guarantee the original order of the data transmitted in the network. At the same time, the data structure connected to the server usually adopts the sequence table structure, for the insertion and deletion of the sequence table, etc. The operation time complexity is O(n), where n is the length of the linear table. However, when the concurrent server uses the sequential table structure to store the connected clients, the efficiency of the sequential table structure is not efficient enough. [0003] At the same time, the elimination strategy usually uses the LRU (Least Recently Used) algorithm to disconnect the connection that has not been transmitted for the longest time. Howe...

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): H04L12/883H04L49/9015
CPCH04L49/9015
Inventor 张晨星
Owner 曙光云计算技术(日照)有限公司