In order to effectively utilize and configure the overall energy of Wireless Sensor Network (WSN) in the process of earthquake monitoring, the energy configuration strategy GD based on Longitude and Latitude Coding (GeoHash) algorithm and Differential Evolution (DE) algorithm is proposed. In order to improve the utilization rate of network resources, the GD strategy forms three-layer network architecture by building intermediate service layer to connect sensor nodes and sink nodes. Then the GeoHash algorithm is used to divide the earthquake monitoring area, and the sensor nodes are coded and initialized. Finally, GD strategy optimizes the server nodes through the differential evolution algorithm and finds the best configuration scheme that conforms to the fitness function value. Through the comparison between the GD strategy and the other five algorithms, the final experimental results show that the GD strategy has excellent performance in terms of energy consumption, fitness function value, and overall network complexity. The GD strategy can reduce the cost and achieve the purpose of energy load balancing in wireless sensor networks.