1. A method for synchronizing files applied to an electronic device, on which an application is installed, a plurality of files for the application are stored in a local storage in the electronic device, the plurality of files comprise a first file with a first state, and the electronic device is communicably coupled with a network storage, the method comprises: receiving a first instruction; executing the application according to the first instruction, the first file converts into a second state from the first state before the application is executed during a process for executing the application; writing, after the first file converts into the second state from the first state, the first file with the second state into the network storage by a first file system, in order to enable the application installed on another electronic device to be executed based on the first file with the second state in the network storage.