| CPC H04L 67/06 (2013.01) | 20 Claims |

|
1. A method implemented by a first electronic device, wherein the method comprises:
displaying a first image comprising one or more shared files;
detecting, from a user, a first operation for content sharing;
determining the one or more shared files in response to the first operation;
detecting, from the user, a second operation selecting a second electronic device;
obtaining, in response to the second operation, a second image;
identifying the second image to obtain a target area;
obtaining positioning information of a target object in the target area when a location of the one or more shared files is in the target area;
comparing the positioning information with preset positioning information of a second electronic device, wherein the preset positioning information resides in the first electronic device;
identifying the target object as the second electronic device when the positioning information is consistent with preset positioning information of the second electronic device;
sending, to the second electronic device, a connection request to establish a connection to the second electronic device;
receiving, from the second electronic device, a connection confirmation message; and
sending, to the second electronic device using the connection, the one or more shared files.
|