Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bit string merge sort device, method, and program

A technology of bit sequence and sorting method, which is applied in the field of bit sequence merge sorting device, can solve the problems of unimproved retrieval processing delay, complex decision processing, and poor storage capacity reduction effect, and achieve the effect of high-speed merge sort method

Inactive Publication Date: 2010-11-10
KOUSOKUYA
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0021] As described above, in the retrieval process using the Patricia tree, there are advantages such as that the retrieval can be performed only by checking the necessary bits, and that all keywords need only be compared once. However, there are disadvantages such as the following. Two links from the node increase the storage capacity, complex judgment processing due to the existence of backlinks, delay in retrieval processing due to comparison with index keys after returning from the backlink, addition and deletion, etc. Data maintenance is difficult
[0023] However, in the technique disclosed in the following Patent Document 3, since one node necessarily occupies the index key area and the pointer area, one pointer is used to store the lower left and right nodes in a continuous area, so for example Figure 1B The left pointer 1740c and right pointer 1741h shown as the bottom part of the Patricia tree also need to allocate a storage area with the same capacity as the node, and the reduction effect of the storage capacity is not very good
In addition, it does not improve the delay of retrieval processing caused by backlinks, and it is difficult to perform processing such as addition and deletion.
[0024] Therefore, when sorting and merging a large amount of data is to be performed, a large amount of computer resources will be occupied for a long time, and the cost is very high

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
  • Bit string merge sort device, method, and program
  • Bit string merge sort device, method, and program
  • Bit string merge sort device, method, and program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] First, refer to Figure 2A as well as Figure 2B , an example in which the coupled node tree of the first embodiment is stored in an array will be described. The data indicating the location of the link destination held by the branch node can also be used as the address information of the storage device, but by using an array composed of array elements that can store the larger storage capacity of the area occupied by the branch node or the leaf node, it can be The node position is represented by the array number, which can reduce the information amount of the position information.

[0085] Figure 2A It is a figure explaining the structural example of the coupled node tree stored in the array of this embodiment.

[0086] refer to Figure 2A , the node 101 is arranged in the array element of the array number 10 of the array 100 . A node 101 is composed of a node type 102 , an identification bit position 103 and a representative node number 104 . The node type 102 ...

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

It is possible to realize a high-speed merge sort method using a coupled node tree. A minimum or a maximum key is extracted from a plurality of sorted key storage regions containing a key formed by a sorted bit string. A coupled node tree for merging is generated by adding a processing source identifier to identify the sorted key storage region as an extraction source. A write-out of a key into the merged key storage region by the minimum value or the maximum value search of the coupled node tree, a deletion of the key, and an extraction of the key from the sorted key storage region are repeatedly executed for an insert process.

Description

technical field [0001] The present invention relates to a device and method for merging and sorting bit sequences, and a program for enabling a computer to execute the method. Background technique [0002] In recent years, the informatization of society has continued to develop, and large-scale databases have been used everywhere. In order to search for records from such a large-scale database, the items in the records corresponding to the addresses where the records are stored are usually searched as index keys to search for desired records. Moreover, character strings in full-text search can also be regarded as index keywords of documents. [0003] Moreover, since these index keywords are expressed by bit sequences, the retrieval of the database can be attributed to the retrieval of bit sequences. [0004] On the other hand, as the processing related to the database, as described in the following patent document 1 and the following patent document 2, record merge sorting...

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): G06F17/30G06F7/24G06F12/00
CPCG06F7/32
Inventor 新庄敏男国分光裕
Owner KOUSOKUYA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products