Patent ID: 8990115
Filing Date: 2015-03-24
Classification: G06F,G06Q,G07F

Abstract:
1. An apparatus for injecting an application program comprising: a processor configured to provide a receiving unit, an embedding unit and a combining unit; wherein the receiving unit is configured to receive a function library and a first jar package, and the receiving unit is further configured to provide the function library and the first jar package to the embedding unit, wherein the first jar package contains a content service program provided by a content service provider, and wherein the function library includes a payment-related interface and a login verification interface of an instant messaging service; wherein the payment-related interface is pre-configured between the content service provider and the instant messaging service provider; the embedding unit is configured to modify the first jar package and the function library, wherein the modification comprises (i) injecting the login verification interface and the payment-related interface into the first jar package, and (ii) configuring the login verification interface as to be called before the content service program is executed, the embedding unit is further configured to provide the first jar package which has been modified by the embedding unit and the function library which has been modified by the embedding unit to the combining unit; and the combining unit is configured to combine the first jar package which has been modified by the embedding unit and the function library which has been modified by the embedding unit to form a second jar package, and to modify a value of an attribute which is in the second jar package and which originally belongs to the first jar package to make the value of the attribute which has been modified by the combining unit reflect a corresponding attribute of the second jar package.