A data migration method, applied in a network system, which includes a first storage system, a second storage system, a domain name system, and a location server, wherein the first storage system is a storage system after a data migration, and the second storage system is a storage system before the data migration, wherein each storage system (20, 21) includes a plurality of storage regions, and each storage region is referred to as a bucket; wherein the method comprises: creating, by the first storage system, based on metadata of a first bucket in the second storage system, a second bucket in the first storage system, wherein an identifier of the second bucket is the same as an identifier of the first bucket; sending, by the first storage system, a location update request to the location server, wherein the location update request is used to indicate the location server to update location information of the first bucket from being located in the second storage system to being located in the first storage system; updating, by the location server, the location information of the first bucket from the second storage system to the first storage system, wherein the location server modifies a value of a location information field of the first bucket in the second storage system from an identifier of the second storage system to an identifier of the first storage system; sending, by the location server, response information to the first storage system to notify the first storage system that the modification of the location information is completed; migrating, by the first storage system, data in the first bucket from the second storage system, and storing the data in a second bucket in the first storage system; receiving, by the first storage system, a data access request, wherein the data access request is used to access the data in the first bucket; and determining, by the first storage system based on a type of the data access request and a migration status of the data, that the first storage system or the second storage system processes the data access request. creating, by the first storage system, based on metadata of a first bucket in the second storage system, a second bucket in the first storage system, wherein an identifier of the second bucket is the same as an identifier of the first bucket; sending, by the first storage system, a location update request to the location server, wherein the location update request is used to indicate the location server to update location information of the first bucket from being located in the second storage system to being located in the first storage system; updating, by the location server, the location information of the first bucket from the second storage system to the first storage system, wherein the location server modifies a value of a location information field of the first bucket in the second storage system from an identifier of the second storage system to an identifier of the first storage system; sending, by the location server, response information to the first storage system to notify the first storage system that the modification of the location information is completed; migrating, by the first storage system, data in the first bucket from the second storage system, and storing the data in a second bucket in the first storage system; receiving, by the first storage system, a data access request, wherein the data access request is used to access the data in the first bucket; and determining, by the first storage system based on a type of the data access request and a migration status of the data, that the first storage system or the second storage system processes the data access request.