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

Linked list realization method, device, equipment and readable storage medium

An implementation method and linked list technology, applied in the direction of instruments, input/output to record carriers, and other database retrieval, can solve problems such as memory occupation, difficult maintenance of linked lists, unfavorable linked list modification, deletion and search, etc.

Active Publication Date: 2020-05-15
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the traditional linked list implementation method is not conducive to maintenance operations such as modification, deletion, and search of the linked list, because each time it is necessary to traverse and search from the first node of a linked list
This will not only take up a lot of memory, but also make the linked list difficult to maintain, and it is easy to make mistakes when operating pointers, thus reducing the performance of the storage system

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
  • Linked list realization method, device, equipment and readable storage medium
  • Linked list realization method, device, equipment and readable storage medium
  • Linked list realization method, device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] The embodiment of the invention discloses a link list realization method, device, equipment and readable storage medium, so as to realize a link list structure which is easy to maintain in a storage system.

[0048] see figure 1 , a method for implementing a linked list provided by an embodiment of the present invention, comprising:

[0049] S101. Obtain the number of linked lists to be implemented in the current storage system, the number of nodes inc...

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 linked list implementation method. The linked list implementation method comprises the steps of acquiring the number of linked lists to be implemented in a current storage system, the number of nodes included in each linked list and virtual disk index values stored in all the nodes in each linked list; recording a virtual disk index value stored by a head node in each linked list to obtain a first array; according to a preset reference value and a virtual disk index value stored by each node in each linked list, calculating an offset corresponding to each node in eachlinked list, and obtaining a second array; and determining the first array and the second array as linked lists in the current storage system. According to the method, the first array and the secondarray are used for replacing a linked list structure in the storage system, so that the linked list structure is simplified, the performance of the storage system is improved, and convenience is provided for linked list maintenance operation. Correspondingly, the invention also discloses a linked list realization device and equipment and a readable storage medium, which also have the above technical effects.

Description

technical field [0001] The present invention relates to the technical field of data storage, and more specifically, to a linked list realization method, device, equipment and readable storage medium. Background technique [0002] The linked list is one of the main data structures used by the cache module in the storage system when storing data. In the storage system, there are generally multiple linked lists, and each linked list includes multiple nodes; when you want to find a node, you need to first determine the linked list to which the node you want to find belongs, and start from the first node of the linked list, according to The next pointer is searched one by one until the node to be searched is found. That is to say, the linked list in the storage system is generally a one-way linked list. [0003] The number of virtual disks in the storage system is large, and each virtual disk needs to correspond to a different linked list, and the number of linked lists is limi...

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): G06F16/901G06F3/06
CPCG06F3/0604G06F3/0656
Inventor 程雨佳
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD