Patent ID: 9613223
Date: 2017-04-04
CPC Classifications: G06F

Claim:
1. A method for application management, comprising: receiving an original application by an application management system; injecting a license code and a permission code into the original application through a repackaging process by the application management system to generate a repackaged application; and publishing the repackaged application by the application management system for a user device to download and install the repackaged application, wherein the user device stores a permission setting of a system function, wherein the user device executes a client program, when the user device executes the repackaged application, the license code of the repackaged application sends a license check request to activate the client program to send a license check response according to license information of the repackaged application, the license check response indicates whether the repackaged application is allowed to be further executed, and when the license check response indicates that the repackaged application is not allowed to be further executed, the license code terminates the repackaged application, and wherein the permission code intercepts a call of the repackaged application on the system function, and sends a permission check request to activate the client program to send a permission check response according to the permission setting, and the permission code executes the system function, not to execute the system function, or respond the system function with fake information according to the permission check response, wherein when the repackaged application loads a new program code during execution of the repackaged application, the permission code transmits the new program code to the client program, the client program modifies the new program code to enable the permission code to intercept a call of the new program code on the system function and send the permission check request to activate the client program to send the permission check response according to the permission setting, and then the permission code allows adding the new program code to the repackaged application.