Patent ID: 7707409

Claim:
A method of authenticating software, the method comprising: receiving, at the mobile terminal, a download file from a server being in data communication with the mobile terminal, wherein the download file comprises software data and a first error code, and wherein the software data is a data file containing at least a portion of software; generating a second error code for the software data; storing the software data on the mobile terminal if the first error code corresponds to the second error code; generating a first authentication key based on the mobile terminal identifier and the first error code; receiving, at a mobile terminal, an execution instruction for software installed in the mobile terminal; generating a third error code for the software, wherein the third error code is configured to determine whether an error has occurred in the installed software; generating a second authentication key based on a mobile terminal identifier of the mobile terminal and the third error code, wherein the mobile terminal identifier includes an electronic serial number (ESN) of the mobile terminal; executing the installed software only if the second authentication key corresponds to the first authentication key stored in the mobile terminal, wherein the installed software is configured to use resources of the mobile terminal; and after the installed software is executed, controlling the amount of the resources of the mobile terminal which can be used by the installed software based on security level information, wherein the resources of the mobile terminal comprise at least one of the following: an electronic serial number (ESN) of the mobile terminal, subscriber information, channel allocation or stability of the mobile terminal and wireless network, a mobile identification number (MIN) of the mobile terminal, the current state of the mobile terminal, a phone call function and a function of sending a short message service (SMS) message.