Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Safe Android APP function pluggable method

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

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
  • Safe Android APP function pluggable method
  • Safe Android APP function pluggable method
  • Safe Android APP function pluggable method

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;

[0076] 3.3) Deploy the dex file on the server;

[0077] Step 4, load the u...

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 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 jar package 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
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F21/51
CPCG06F8/61G06F8/62G06F8/65G06F9/44505G06F9/44594G06F21/51G06F2221/033
Inventor 孙钦东张雪熊建芬何少鹏
Owner 镇江优宜供应链管理有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products