Resource access driven distributed transaction coordination system
AssigneeElectronic Arts Inc.
InventorsLin Yan, Zhaoquan Zheng, Shengyong Li, Chuan Ye, Daniel Windrem, Ryan Thomas Butterfoss
Life of this patent
Estimating the term…
Abstract
Resource access driven distributed transaction coordination system is described. A method may include receiving a request to perform a migration of user data from a first user account to a second user account and restricting access to a distributed resource as a result of receiving the request. When a distributed process requests access to a distributed resource, and that distributed process doesn't have any pending tasks, account migration may be performed.
Claims17
A method comprising:
- receiving, by a processing device of a server, a migration request from a game client for migrating game data from a first video game account to a second video game account, wherein the migration request comprises a user identifier and a password;
- responsive to receiving the migration request:
- authenticating the migration request based on the user identifier and the password;
- migrating resource access data associated with the first video game account to the second video game account;
- restricting access to a distributed resource associated with the game data by activating a flag in a distributed resource check table to indicate that the distributed resource is blocked;
- generating a list of migration tasks to be completed for migrating the game data;
- issuing, based on the resource access data, an access token to the game client;
- responsive to receiving, from the game client, a game start request comprising the access token:
- authenticating the game client based on the access token;
- determining, based on the distributed resource check table, that the migration tasks are pending for the game client;
- migrating the game data by performing the migration tasks specified by the list of migration tasks;
- resetting the flag in the distributed resource check table to indicate that the distributed resource is unlocked;
- receiving a request from a distributed process to access the distributed resource;
- and
- responsive to determining that the distributed process has no pending tasks associated with the migration of the game data, allowing the distributed process to access to the distributed resource.
A non-transitory machine-readable storage medium storing instructions which, when executed, cause a processing device to perform operations comprising:
- receiving a migration request from a game client for migrating game data from a first video game account to a second video game account, wherein the migration request comprises a user identifier and a password;
- responsive to receiving the migration request:
- authenticating the migration request based on the user identifier and the password;
- migrating resource access data associated with the first video game account to the second video game account;
- restricting access to a distributed resource associated with the game data by activating a flag in a distributed resource check table to indicate that the distributed resource is blocked;
- generating a list of migration tasks to be completed for migrating the game data;
- issuing, based on the resource access data, an access token to the game client;
- responsive to receiving, from the game client, a game start request comprising the access token:
- authenticating the game client based on the access token;
- determining, based on the distributed resource check table, that the migration tasks are pending for the game client;
- migrating the game data by performing the migration tasks specified by the list of migration tasks;
- resetting the flag in the distributed resource check table to indicate that the distributed resource is unlocked;
- receiving a request from a distributed process to access the distributed resource;
- and
- responsive to determining that the distributed process has no pending tasks associated with the migration of the game data, allowing the distributed process to access to the distributed resource.
An apparatus comprising:
- a memory to store a plurality of distributed resources and a distributed resource check table;
- a processing device, coupled to the memory, the processing device to:
- receive a migration request from a game client for migrating game data from a first video game account to a second video game account, wherein the migration request comprises a user identifier and a password;
- responsive to receiving the migration request:
- authenticate the migration request based on the user identifier and the password;
- migrate resource access data associated with the first video game account to the second video game account;
- restrict access to a distributed resource associated with the game data by activating a flag in a distributed resource check table to indicate that the distributed resource is blocked;
- generate a list of migration tasks to be completed for migrating the game data;
- issue, based on the resource access data, an access token to the game client;
- responsive to receiving, from the game client, a game start request comprising the access token:
- authenticate the game client based on the access token;
- determine, based on the distributed resource check table, that the migration tasks are pending for the game client;
- migrate the game data by performing the migration tasks specified by the list of migration tasks;
- reset the flag in the distributed resource check table to indicate that the distributed resource is unlocked;
- receive a request from a distributed process to access the distributed resource;
- and
- responsive to determining that the distributed process doesn't have any tasks associated with the migration of the game data, allow the distributed process to access to the distributed resource.
Dependencies are inferred from the claim text.