Patent ID: 8719810

Claim:
A program upgrade apparatus for a mobile terminal, the apparatus comprising: a first memory for storing a reference version of a program comprising reference data and for storing at least one upgrade package comprising upgrade data, where the at least one upgrade package respectively corresponds to at least one upgraded version of the program; a second memory for loading an upgraded version of the program; a communication unit for communicating with an external system; and a control unit for controlling the communication unit to download the upgrade package in response to an upgrade notification message received from the external system, installing the upgrade package corresponding to a specific upgrade version in the first memory, generating the specific upgrade version of the program by merging the upgrade package and the reference version in the second memory based on map data included in the upgrade package, and operating the mobile terminal with the specific upgrade version of the program, wherein the upgrade data is generated on the basis of a difference between the reference version and the upgrade version of the program, wherein the control unit checks whether the upgrade package includes the map data for mapping the upgrade data to the reference data, and generates, when the upgrade package does not include the map data, the map data by comparing the reference data and the upgrade data, and wherein the map data comprises indexes each corresponding to a result of the comparison of the reference data and the upgrade data in units of a block, and each of the indexes comprising a block index c, a block index m, or a block index d, indicating commands “copy”, “modify”, and “shift”, respectively.