replication(本文转自网络