A Clustering Method Based on K-Means Algorithm