Patent ID: 8909790

Claim:
A method for controlling a virtual role, comprising: initiating, by a source virtual role client, a virtual role trip request to a control server requesting a trip for a virtual role of the source virtual role client, wherein the virtual role trip request carries an identification of a destination virtual role client; determining, by the control server, whether life status data of the virtual role meets a pre-set trip condition and whether a virtual role of the destination virtual role client is in the destination virtual role client, wherein the life status data is information indicating what the virtual role is doing; when the life status data of the virtual role meets the pre-set trip condition and the virtual role of the destination virtual role client is in the destination virtual role client, establishing, by the control server, a session between the source virtual role client and the destination virtual role client; sending, by the control server, attribute information of the virtual role obtained from the source virtual role client to the destination virtual role client; displaying, by the destination virtual role client, the virtual role in a local user interface based on the attribute information of the virtual role; determining, by the control server, whether the trip of the virtual role meets a pre-set trip ending condition, if the trip of the virtual role meets the pre-set trip ending condition, instructing the destination virtual role client to hide the virtual role and delete data of the virtual role from the destination virtual role client; instructing the source virtual role client to display the virtual role; and deleting the session between the source virtual role client and the destination virtual role client, wherein the trip ending condition comprise: trip duration of the virtual role reaches a pre-set maximum trip duration; or the destination virtual role client initiates an ending trip request; or the source virtual role client initiates an ending trip request; or the life status data of the virtual role meets the pre-set trip ending condition.