Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SERVICE PLUG-IN LOADING IMPLEMENTATION METHOD AND APPARATUS, AND TERMINAL DEVICE
Document Type and Number:
WIPO Patent Application WO/2021/196597
Kind Code:
A1
Abstract:
Provided are a service plug-in loading implementation method and apparatus, and a terminal device. The method comprises: according to issued configuration information, acquiring, from the configuration information, a file acquisition path and a loading mode of a service plug-in to be loaded (S110); if the loading mode is an uninstalled plug-in loading mode, acquiring an installation package file of the plug-in according to the file acquisition path, and independently allocating at least one file path to the service plug-in according to a package name parsed from the installation package file (S120); generating a corresponding first class loader according to the uninstalled plug-in loading mode and generating a resource file of the plug-in, and constructing a context on the basis of the resource file and the first class loader (S130); and on the basis of a pre-defined interface, performing class loading by means of a class loader and introducing the context, such that plug-in resources are acquired by means of the context, and service requirements are met during a running process (S140). The method is compatible with two plug-in loading modes, such that the problem of a system being unable to run a third-party application by default can be fully solved, and rapid development, etc. can also be realized.

Inventors:
ZHANG JIANFEI (CN)
Application Number:
PCT/CN2020/125564
Publication Date:
October 07, 2021
Filing Date:
October 30, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SHENZHEN CHUANGWEI RGB ELECTRONICS CO LTD (CN)
SHENZHEN COOCAA NETWORK TECHNOLOGY CO LTD (CN)
International Classes:
G06F9/445
Foreign References:
CN106775793A2017-05-31
CN104731625A2015-06-24
CN103744669A2014-04-23
US20160315806A12016-10-27
CN111475227A2020-07-31
Other References:
ANONYMOUS: "Plug-in Development - Dynamic Loading Technology to Install and Uninstall APK", CSDN, 21 September 2016 (2016-09-21), XP055855615, Retrieved from the Internet [retrieved on 20211027]
Attorney, Agent or Firm:
CHOFN INTELLECTUAL PROPERTY (CN)
Download PDF: