Unlock instant, AI-driven research and patent intelligence for your innovation.
Safe Android APP function pluggable method
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A functional and safe technology, applied in the field of Android applications, can solve problems such as security risks and repeated update troubles, and achieve the effect of ensuring application security.
Active Publication Date: 2017-10-20
镇江优宜供应链管理有限公司
View PDF9 Cites 14 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0004] The purpose of the present invention is to provide a safe Android App function plug-in method, which solves the problems in the prior art that users re-update the entire application, there are security risks, and repeated updates are relatively troublesome
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0050] Embodiment 1, modular update, refer to figure 2 ,
[0051] Step 1. Carry out large-grained plug-in, and choose modular update
[0052] Step 2. Pre-register 6 processes in the AndroidManifest.xml file of the host application.
[0053] Each process contains 1 Service proxy component, 1 ContentProvider component, 1 Activity started in standard mode, and 5 Activities started in singleTop, singleTask, and singleInstance modes.
[0054] Step 3. Update the module to compile and generate a dex file, randomly generate a DES key, encrypt the file with the key, and pack the APK;
[0055] 3.1) Compile resource and java code, generate dex file and resource id;
[0056] 3.2) Encrypt the dex file with a randomly generated key, and append the key to the end of the dex file;
[0057] 3.3) Package the compiled resource files and encrypted dex files into an APK package and sign the APK. The signature file must be consistent with the application release, and deploy the signed APK on t...
Embodiment 2
[0068] Embodiment 2, thermal repair, refer to image 3 ,
[0069] Step 1. Carry out small-grained plug-in, and select hot repair;
[0070] Step 2, dynamic code injection, providing a dex jar package and packaging it into the host application;
[0071] 2.1) Write a switch in the Application class in the host program to control whether to perform code injection;
[0072] 2.2) Write a class file containing at least one class and generate a jar package of a dex file, named hotPatch.jar, and package it into the host application when the host application is packaged;
[0073] Step 3. Compile the java code to generate a dex file, generate a random DES key to encrypt the dex file, and deploy the file on the server;
[0074] 3.1) Compile the repaired class to generate a dex file;
[0075] 3.2) Randomly generate a DES key, use the key to encrypt the dex file, and append the key to the end of the dex file;
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
Login to View More
Abstract
The invention discloses a safe Android APP function pluggable method. The method comprises the following steps of: 1) dividing into modularized updating and thermal remediation according to a pluggable granularity; 2) pre-registering a proxy component, providing a jarpackage of a quoted dex file and compiling a corresponding dynamically injected code; 3) compiling and generating a dex file by a plug-in module, randomly generating a DES secret key, encrypting the dex file, adding the secret key to the end of the dex file, and carrying out packaging and signing; 4) pushing an updating module by a server, and downloading a new module by an App; 5) detecting the safety of the plug-in module; 6) installing a loading plug-in; and 7) restarting an application. According to the method, the new function addition and BUG fixing are separated, and compared with the traditional APP development process, the plug-in effect is greatly enhanced in the aspects of development efficiency, software deployment and user experience.
Description
technical field [0001] The invention belongs to the technical field of Android applications and relates to a safe Android App function plug-in method. Background technique [0002] Mobile applications are becoming more and more popular, and more and more fields are involved, resulting in an increasingly large application scale. Developers often update applications frequently due to changing user needs. For the traditional development mode, each application update requires the user to download and install the entire application package again. This development mode is very unfriendly to users. Many users may refuse to upgrade the application because they think it is troublesome and waste traffic. This phenomenon has a serious impact on the rapid iteration of mobile applications and bug fixes. Therefore, the traditional development model is no longer competent for the development of mobile applications. At present, there are many open source plug-in frameworks, but most of th...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.