Grid-Resource-Discovery-Based-on-Centralized-and-Hierarchical-Architectures