Data classification system and method for building classification tree for the same
First Claim
Patent Images
1. A data classification system, comprising:
- a fetch unit, for receiving data including at least one datum, and fetching a data information contained in the data, wherein the data information comprises a coordinate information, and the coordinate information comprises a longitude and a latitude;
a classification tree module, for classifying the data in a manner of a tree structure according to the data information, and building a classification tree, wherein the classification tree comprises a plurality of nodes, each comprising a center position, a maximum distance of the data in the node to the center position; and
a data repository, for storing the classification tree and the data,wherein the classification tree module obtains the data and adds it into a node, then calculates the center position of the node according to the coordinate information corresponding to the data, a distance of the coordinate information of each of the data to the center position, and obtains the maximum distance, thereafter determines whether the maximum distance is greater than a predetermined distance, if the maximum distance is greater than the predetermined distance, the classification tree module calculates a maximum longitude difference and a maximum latitude difference of the data according to the longitude and the latitude of each of the data, if the maximum longitude difference is greater than the maximum latitude difference the classification tree module arranges all data according to the longitudes thereof, and takes a longitude median of the data as a center to divide the node into a first sub-node and a second sub-node, and if the maximum longitude difference is smaller than the maximum latitude difference, the classification tree module arranges all data according to the latitudes thereof, and takes a latitude median of the data as a center to divide the node into the first sub-node and the second sub-node.
1 Assignment
0 Petitions
Accused Products
Abstract
A data classification system is provided. The data classification system includes a fetch unit, a classification tree module, and a data repository. The fetch unit is adapted for receiving data including at least one datum, and fetching a data information contained in the data. The classification tree module is adapted for classifying the data in a manner of a tree structure according to the data info illation, and building a classification tree thereby. The data repository is adapted for storing the classification tree and the data.
-
Citations
20 Claims
-
1. A data classification system, comprising:
-
a fetch unit, for receiving data including at least one datum, and fetching a data information contained in the data, wherein the data information comprises a coordinate information, and the coordinate information comprises a longitude and a latitude; a classification tree module, for classifying the data in a manner of a tree structure according to the data information, and building a classification tree, wherein the classification tree comprises a plurality of nodes, each comprising a center position, a maximum distance of the data in the node to the center position; and a data repository, for storing the classification tree and the data, wherein the classification tree module obtains the data and adds it into a node, then calculates the center position of the node according to the coordinate information corresponding to the data, a distance of the coordinate information of each of the data to the center position, and obtains the maximum distance, thereafter determines whether the maximum distance is greater than a predetermined distance, if the maximum distance is greater than the predetermined distance, the classification tree module calculates a maximum longitude difference and a maximum latitude difference of the data according to the longitude and the latitude of each of the data, if the maximum longitude difference is greater than the maximum latitude difference the classification tree module arranges all data according to the longitudes thereof, and takes a longitude median of the data as a center to divide the node into a first sub-node and a second sub-node, and if the maximum longitude difference is smaller than the maximum latitude difference, the classification tree module arranges all data according to the latitudes thereof, and takes a latitude median of the data as a center to divide the node into the first sub-node and the second sub-node. - View Dependent Claims (2, 3, 4)
-
-
5. A method for building the classification tree, preformed by a data classification system configured with a classification tree module, the method comprising:
-
obtaining, by a processor, data including at least one datum, each of the data corresponding to a coordinate information, and the coordinate information comprises a longitude and a latitude of each of the data; adding the data into a node; calculating a center position of the node according to the coordinate information corresponding to the data; calculating a distance of the coordinate information of each of the data to the center position, and obtaining a maximum distance; determining whether the maximum distance is greater than a predetermined distance; and dividing the node into a first sub-node and a second sub-node if the maximum distance is greater than the predetermined distance, and adding the data to one of the first sub-node and the second sub-node according to the coordinate information corresponding to each of the data, wherein the step of dividing the node into the first sub-node and the second sub-node comprises; calculating a maximum longitude difference and a maximum latitude difference of the data according to the longitude and the latitude of each of the data; arranging all data according to the longitudes thereof if the maximum longitude difference is greater than the maximum latitude difference, and taking a longitude median of the data as a center to divide the node into the first sub-node and the second sub-node; and arranging all data according to the latitudes thereof if the maximum longitude difference is smaller than the maximum latitude difference, and taking a latitude median of the data as a center to divide the node into a first sub-node and a second sub-node. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification