MOBILE SERVICE UPGRADE METHOD AND APPARATUS, AND TERMINAL
This application provides a mobile service upgrade method. In the method, each service kit in a mobile service is independently packaged into an APK based on a plugin-based idea, and then the kit is upgraded in real time when a user uses an application and the application invokes the kit. Compared w...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application provides a mobile service upgrade method. In the method, each service kit in a mobile service is independently packaged into an APK based on a plugin-based idea, and then the kit is upgraded in real time when a user uses an application and the application invokes the kit. Compared with a full silent upgrade of the mobile service, this method shortens upgrade time and improves upgrade flexibility. Further, the APK of the kit includes a dependency relationship between the kit and a dependent kit, and the kit and the dependent kit may be upgraded together during upgrading. This avoids an invocation failure caused because a version cannot meet a requirement. In addition, in a kit loading process, this application further provides a class loader selection method. A routing table is used to record a correspondence between the kit and a class loader, and the class loader is selected according to the routing table, so as to avoid a problem of incorrect class loading that may be caused by a parents delegation model in the conventional technology. |
---|