US 11,861,203 B2
Method, apparatus and electronic device for cloud service migration
Yubin Su, Hangzhou (CN)
Assigned to ALIBABA GROUP HOLDING LIMITED, Grand cayman (KY)
Appl. No. 16/765,755
Filed by Alibaba Group Holding Limited, Grand Cayman (KY)
PCT Filed Nov. 14, 2018, PCT No. PCT/CN2018/115383
§ 371(c)(1), (2) Date May 20, 2020,
PCT Pub. No. WO2019/100984, PCT Pub. Date May 31, 2019.
Claims priority of application No. 201711186691.9 (CN), filed on Nov. 24, 2017.
Prior Publication US 2020/0293216 A1, Sep. 17, 2020
Int. Cl. G06F 3/00 (2006.01); G06F 3/06 (2006.01); H04L 67/1097 (2022.01)
CPC G06F 3/0647 (2013.01) [G06F 3/0604 (2013.01); G06F 3/067 (2013.01); G06F 3/0632 (2013.01); H04L 67/1097 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method comprising:
executing a cloud service on a cloud server, the cloud service comprising a first application hosted within an availability zone of a source cluster;
queuing a set of data requests in an original processing queue associated with the first application, the set of data requests received while the first application is active;
obtaining a migration request associated with the cloud service, the migration request comprising a scheduled migration time to migrate the cloud service from the source cluster to a target cluster;
instantiating a new instance of the cloud service, the new instance of the cloud service comprising a second application executing on a second cloud server within a second availability zone of a target cluster, wherein the first application and second application provide a same functionality;
migrating, based on the scheduled migration time and a migration priority order, disk data associated with the first application to a disk associated with the new instance of the cloud service;
configuring a data operation of the cloud service for a disk associated with the first application as a data operation for the disk associated with the new instance of the cloud service;
enqueuing a data request comprising a data operation of the cloud service for the disk associated with the new instance to a second processing queue of the new instance for processing;
transferring one or more of the set of data requests from the original processing queue to the second processing queue, the second processing queue including data requests from the original processing queue and data requests enqueued for the disk associated with the new instance;
determining that data involved in the data request does not exist in the disk associated with the new instance, and, in response to the determination, configuring the migration priority of the data involved in the data request to a first migration priority from a second migration priority, wherein the first migration priority causes the data involved in the data request to be migrated earlier than the second migration priority; and
migrating the disk data associated with the original instance to the disk associated with the new instance of the cloud service instantiated in the target cluster in a descending order of migration priorities.