Method and device for sorting data, and a computer product
First Claim
1. A sorting device comprising:
- a distribution analyzing unit which analyzes a distribution of a sort target data group consisting of a plurality of sort target data;
a setting unit which sets sorting segments for dividing the sort target data group into segments based on an analysis result of said distribution analyzing unit;
an appearance frequency calculation unit which calculates an appearance frequency of a sort target data corresponding to each sorting segment based on a sorting key;
a sorting mode selection unit which selects a first sorting mode if the appearance frequency is equal to or higher than a preset threshold value and selecting a second sorting mode if the appearance frequency is lower than the threshold value, for each sorting segment; and
a sorting execution unit which executes sorting for each of the sorting segments based on the sorting mode selected by said sorting mode selection unit.
1 Assignment
0 Petitions
Accused Products
Abstract
The sorting device comprises a distribution monitoring and cell splitting section which analyzes a distribution of a sort target data group consisting sort target data and obtains an appearance frequency of the sort target data for each sorting segment based on a sorting key. A sorting segment setting section sets sorting segments for dividing the sort target data group into segments based on the analysis by the distribution monitoring and cell splitting section. A sorting mode selection section selects a quick sorting mode if the appearance frequency is equal to or higher than a preset threshold and selects a radic sorting mode if the appearance frequency is lower than the threshold, for each sorting segment. A sorting execution section executes sorting for each sorting segment based on the selected sorting mode.
16 Citations
9 Claims
-
1. A sorting device comprising:
-
a distribution analyzing unit which analyzes a distribution of a sort target data group consisting of a plurality of sort target data;
a setting unit which sets sorting segments for dividing the sort target data group into segments based on an analysis result of said distribution analyzing unit;
an appearance frequency calculation unit which calculates an appearance frequency of a sort target data corresponding to each sorting segment based on a sorting key;
a sorting mode selection unit which selects a first sorting mode if the appearance frequency is equal to or higher than a preset threshold value and selecting a second sorting mode if the appearance frequency is lower than the threshold value, for each sorting segment; and
a sorting execution unit which executes sorting for each of the sorting segments based on the sorting mode selected by said sorting mode selection unit. - View Dependent Claims (2, 3, 4)
-
-
5. A sorting method comprising:
-
a distribution analyzing step of analyzing a distribution of a sort target data group consisting of a plurality of sort target data;
a setting step of setting sorting segments for dividing the sort target data group into segments based on the result of analysis in the distribution analyzing step;
an appearance frequency calculation step of obtaining an appearance frequency of a sort target data corresponding to each sorting segment based on a sorting key;
a sorting mode selection step of selecting a first sorting mode if the appearance frequency is equal to or higher than a preset threshold value and selecting a second sorting mode if the appearance frequency is lower than the threshold value, for each sorting segment; and
a sorting execution step of executing sorting for each of the sorting segments based on the sorting mode selected in the sorting mode selection step. - View Dependent Claims (6, 7, 8)
-
-
9. A computer readable medium for storing instructions, which when executed on a computer, causes the computer to perform:
-
a distribution analyzing step of analyzing a distribution of a sort target data group consisting of a plurality of sort target data;
a setting step of setting sorting segments for dividing the sort target data group into segments based on the result of analysis in the distribution analyzing step;
an appearance frequency calculation step of obtaining an appearance frequency of a sort target data corresponding to each sorting segment based on a sorting key;
a sorting mode selection step of selecting a first sorting mode if the appearance frequency is equal to or higher than a preset threshold value and selecting a second sorting mode if the appearance frequency is lower than the threshold value, for each sorting segment; and
a sorting execution step of executing sorting for each of the sorting segments based on the sorting mode selected in the sorting mode selection step.
-
Specification