Patent ID: 8375454

Claim:
A method for locking an application program, applied in a communication environment including a terminal and a device connected to the terminal, comprising: judging whether a first unlocking key of the application program exists in the terminal when running the application program stored in the terminal; generating and storing, by the terminal, the first unlocking key in the case that the first unlocking key does not exist in the terminal, and sending the generated first unlocking key to the device, judging whether the device has locked the application program, proceeding to step one in the case that the device has not locked the application program; otherwise proceeding to step two; step one: locking, by the device, the application program, generating a second unlocking key, notifying the second unlocking key to a user, and proceeding to step two; step two: performing an authentication process for the user using the second unlocking key; sending the first unlocking key to the device in the case that the first unlocking key exists in the terminal, judging whether the device has locked the application program, proceeding to step three in the case that the device has not locked the application program; otherwise, proceeding to step four; step three: locking, by the device, the application program, generating a second unlocking key, notifying the second unlocking key to the user, and proceeding to step four; step four: performing a verification process for the user using the second unlocking key.