Check patentability & draft patents in minutes with Patsnap Eureka AI!

A plug-in loading method and device for android system

A loading device and plug-in technology, which is applied to program control devices, program loading/starting, instruments, etc., can solve problems such as low conversion rate and inconvenient user operation, and achieve the effect of eliminating the need for installation and uninstallation, and closing plug-in functions.

Inactive Publication Date: 2019-11-22
SHENZHEN ZHANGWAN NETWORK TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a plug-in loading method and device for the Android system, aiming to solve the problem in the prior art that more and more applications of the same series need to be installed by the user, and the traditional method needs to guide the user through installation Downloading and installing a new application brings great inconvenience to user operations and a low conversion rate

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
  • A plug-in loading method and device for android system
  • A plug-in loading method and device for android system
  • A plug-in loading method and device for android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] see figure 1 , shows the plug-in loading method for the Android system provided by the embodiment of the present invention.

[0034] The described plug-in loading method for the Android system is applied in a terminal device, and specifically includes the following steps:

[0035] In step S101, receiving an operation instruction from a program or a user on a plug-in entry;

[0036] In the embodiment of the present invention, the plug-in is: a dex or apk file running without installation.

[0037] In step S102, according to the operation instruction, it is judged whether the plug-in exists;

[0038] In the embodiment of the present invention, if it is determined that the plug-in does not exist, the latest plug-in is downloaded.

[0039] In step S103, if it is determined that the plug-in exists, start a plug-in process to parse and run the installation package of the plug-in;

[0040] In the embodiment of the present invention, if it is determined that the plug-in exi...

Embodiment 2

[0053] see figure 2 , as another embodiment of the present invention, when the application needs to add new functions, the method further includes:

[0054] In step S201, a dynamic function list is obtained;

[0055] In step S202, check whether the plug-ins corresponding to the functions in the list exist;

[0056] In step S203, if it exists, the installation package of the plug-in is parsed; if not, the plug-in file corresponding to the function is downloaded.

[0057] In step S204, the plug-in is preloaded;

[0058] In step S205, the function selected by the user is received;

[0059] In step S206, the plug-in corresponding to the selected function is started, and at this time, the user can start to interact with the new function.

[0060] As can be seen from the above, the plug-in loading method for the Android system provided by the present invention can split its own application through the plug-in, and some functions can be implemented in the plug-in, and then downl...

Embodiment 3

[0062] see image 3 , is the plug-in loading device for the Android system provided by the embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The plug-in loading device for the Android system includes: a receiving module 101 , a judging module 102 , an analyzing module 103 , a starting module 104 , an injecting module 105 , and a callback module 106 . The plug-in loading device for the Android system may be a software unit, a hardware unit or a combination of software and hardware built in the terminal device.

[0063] A receiving module 101, configured to receive an operation instruction from a program or a user on a plug-in entry;

[0064] A judging module 102, configured to judge whether the plug-in exists according to the operation instruction;

[0065] The parsing module 103 is used to start the plug-in process to analyze and run the installation package of the plug-in if ...

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 invention provides a method and a device used for loading a plug-in of an Android system. The method comprises the following steps of receiving an operating instruction of a program or a user to a plug-in entry; judging whether the plug-in exists according to the operating instruction; if judging that the plug-in exists, starting plug-in process analysis and running an installation package of the plug-in; starting a proxy class corresponding to the plug-in; instantiating the plug-in class and dynamically injecting an attribute value corresponding to the proxy class into the plug-in class to complete loading of the plug-in; and carrying out call-back on the life cycle of the plug-in class to simulate the environment when the Android runs. According to the method and the device, the own application can be split through the plug-in, some functions can be realized in the plug-in, the application is downloaded when needed and pre-integration or installation is not needed. If a new function is added, updating of the application is not needed, plug-in management is only reserved to dynamically update the own application through a way of adding the plug-in; and when the function needs improvement or extension, the plug-in is updated without frequent installation or unloading.

Description

technical field [0001] The invention relates to the technical field of plug-ins, in particular to a plug-in loading method and device for an Android system. Background technique [0002] In the existing technology, with the continuous iteration of the Android system and applications, the size of the application package continues to increase, and the project becomes more and more bloated; the addition of new functions of the project cannot determine the compatibility with the user; the occurrence of serious abnormalities is often triggered But to move the whole body, we can only release a patch version urgently to force users to update. As a result, frequent updates can easily reduce user stickiness. Or the continuous development of the company's business, more and more businesses, and more and more applications of the same series that need to be installed by users. The traditional method needs to guide users to download and install new applications through installation, whi...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445
CPCG06F9/44526
Inventor 陈乔何意
Owner SHENZHEN ZHANGWAN NETWORK TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More