| CPC G06F 21/53 (2013.01) [G06F 21/6209 (2013.01)] | 15 Claims |

|
1. A file access method, comprises:
displaying, by a first electronic device, a shared interface sent by a second electronic device that establishes a communication connection to the first electronic device, wherein the shared interface comprises a sandbox file corresponding to an application of the second electronic device;
receiving, by the first electronic device, a trigger operation performed by a user on the sandbox file;
sending, by the first electronic device, an access request to the second electronic device;
receiving, by the first electronic device, mapping information sent by the second electronic device; and
accessing, by the first electronic device, the sandbox file based on the mapping information, wherein the mapping information corresponds to the sandbox file and is determined by the second electronic device based on the access request, and the mapping information comprises a mapping file corresponding to the sandbox file, a path of the mapping file, and a correspondence between the path of the mapping file and file index information of the sandbox file.
|