Patent ID: 8914326

Claim:
A method for executing a file upon switching between system states in a portable terminal, the portable terminal comprising a first system platform and a second system platform, a state in which the execution of the file is controlled by the first system platform being a first state, and a state in which the execution of the file is controlled by the second system platform being a second state, the method comprising: detecting, by the first system platform in the first state, whether the file being executed by the first system platform has been executed for a time period not less than a preset time period or whether a backup label indicative of a backup operation is preset for the file; backuping, by the first system platform, the file to obtain a backup file for the second system platform, only if the file has been executed for a time period not less than the preset time period or a backup label is preset for the file; and switching to the second state, and continuing, by the second system platform, the execution of the file based on the backup file.