Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Business plug-in loading implementation method and device and terminal equipment

A business plug-in and implementation method technology, applied in the computer field, can solve problems such as no system authority, no device, long application design cycle, unfavorable business functions, etc., and achieve the effect of decoupling engineering complexity, fast update, and small system resources

Active Publication Date: 2020-07-31
SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the development of an application often requires many processes, resulting in a long application design cycle, which is not conducive to the timely launch of business functions
Although there is also a plug-in loading method proposed at present, that is, a plug-in is dynamically loaded in an application process in the device to provide services, but most of the existing devices can only load the plug-in for the installed installation package (APK) in the system. For third-party applications, there are often problems with no system permissions, so they cannot be installed and run normally on the device, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Business plug-in loading implementation method and device and terminal equipment
  • Business plug-in loading implementation method and device and terminal equipment
  • Business plug-in loading implementation method and device and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Please refer to figure 1 , this embodiment proposes a method for implementing service plug-in loading, which can be applied to devices supporting different service functions, such as smart screens supporting home appliance control and user interaction. The terminal equipment using this method can not only solve the problem that the system cannot run third-party business applications by default, but also achieve the smallest changes to the system framework and system resources, decoupling engineering complexity, etc. Such as figure 1 As shown, the implementation method of loading the business plug-in will be described in detail below.

[0047] Step S110, according to the configuration information received from the server, and obtain the file acquisition path and loading method of the service plug-in to be loaded from the configuration information.

[0048] Exemplarily, when receiving the configuration information sent from the server, the device can read the relevant i...

Embodiment 2

[0073] Please refer to Figure 4 , based on the method for implementing business plug-in loading in the above embodiment 1, this embodiment proposes a device 10 for implementing business plug-in loading, which includes:

[0074] The plug-in information acquisition module 110 is used to obtain the file acquisition path and loading method of the service plug-in to be loaded according to the configuration information received from the server; the loading method includes loading without a plug-in mode and installed plugin loading mode.

[0075]The file path distribution module 120 is used to obtain the installation package file of the service plug-in according to the file obtaining path if the loading method in the plug-in information obtaining module is the loading method of the uninstalled plug-in, and obtain the installation package file of the business plug-in according to the The package name information parsed from the installation package file independently allocates at le...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a service plug-in loading implementation method and device and terminal equipment, and the method comprises the steps: obtaining a file obtaining path and a loading mode of a to-be-loaded service plug-in from configuration information according to the issued configuration information; if the loading mode is a non-installed plug-in loading mode, obtaining aninstallation package file of the plug-in according to the file obtaining path, and independently allocating at least one file path to the service plug-in according to a package name analyzed from theinstallation package file; generating a corresponding first class loader according to the loading mode of the uninstalled plug-in, generating a resource file of the plug-in, and constructing a context based on the resource file and the first class loader; performing class loading by using a class loader based on the predefined interface, and introducing context, so plug-in resources are obtainedthrough the context in the running process, and service requirements are met. The method provided by the invention is compatible with two plug-in loading modes, can well solve the problem that the system cannot run the third-party application by default, and can also realize rapid development and the like.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device and terminal equipment for realizing loading of business plug-ins. Background technique [0002] For terminal devices that support multiple business functions, such as smart screens, in order to respond to customer business needs, it is often necessary to quickly develop new business functions. However, the development of an application often requires many processes, resulting in a long application design cycle, which is not conducive to the timely launch of business functions. Although there is also a plug-in loading method proposed at present, that is, a plug-in is dynamically loaded in an application process in the device to provide services, but most of the existing devices can only load the plug-in for the installed installation package (APK) in the system. For third-party applications, there are often problems such as lack of system permissions a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445
CPCG06F9/44526
Inventor 张建飞
Owner SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products