Unlock instant, AI-driven research and patent intelligence for your innovation.

Encryption and decryption method and device for preventing apk from being installed by unauthorized mobile phones

An encryption method and technology of an encryption device, applied in the field of communication, can solve the problems of consuming a lot of energy, not directly providing an Apk file download address, complicated process, etc., and achieving the effect of saving development costs

Active Publication Date: 2015-08-19
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in Android mobile phones, there are two main methods to prevent Apk from being used by unauthorized devices: 1. The download address of the Apk file is not directly provided, and the real download address is provided to the user after the user successfully authorizes it; the disadvantage of this solution is , after the user obtains the authorization and downloads the Apk file, he can spread the Apk file to other unauthorized users; 2. The Apk is available for all users to download, but before using the functions in the Apk, they need to pass the authorization first; the disadvantage of this solution is , the process for developers to access the authorization scheme is very complicated. For small and medium developers, it takes a lot of energy to implement

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
  • Encryption and decryption method and device for preventing apk from being installed by unauthorized mobile phones
  • Encryption and decryption method and device for preventing apk from being installed by unauthorized mobile phones
  • Encryption and decryption method and device for preventing apk from being installed by unauthorized mobile phones

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The flow of the encryption method for preventing Apk from being installed by an unauthorized mobile phone in a preferred embodiment of the present invention is as follows: figure 1 As shown, it specifically includes the following steps: S1. Decompress the Apk file uploaded by the developer, and obtain the AndroidManifest.xml file in its manifest file, wherein the AndroidManifest.xml file is a registry file of Android, and it can be declared in this file that the defined Therefore, the AndroidManifest.xml file is a file required by every application located in the application root directory; S2. Generate a key k1 through a random algorithm, and use the key k1 to encrypt the AndroidManifest.xml file. At this time, the Apk file It is a file that does not contain Android Manifest.xml. In order to prevent this file from being mistaken for a standard Apk file by an Android client (such as an Android phone), the Apk file after removing the Android Manifest.xml file is saved as ...

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 relates to an encrypting and decrypting method and an encrypting and decrypting device for protecting Apk (android package) from being installed by non-authorized mobile phones. The encrypting method includes the steps: decompressing an Apk file to acquire an xml (extensible markup language) file in the Apk file; generating a secret key k1 through the random algorithm, using the secret key k1 for encrypting the xml file, and storing the Apk file with the xml file removed to be an opks file; using an appointed secret key k2 for encrypting the secret key k1 and a client identification number provided by an Android client to obtain a ciphertext sf1. Therefore, even if the client transmits the loaded Apk file to other users to install, the Apk file cannot be installed successfully due to different identification numbers. In addition, protection can be realized only by uploading a common Apk file by Apk developers, no complex access authorization scheme is needed, and thereby development cost is greatly saved.

Description

technical field [0001] The present invention relates to the technical field of communication, and more specifically relates to an encryption and decryption method and device for preventing Apk from being installed by unauthorized mobile phones. Background technique [0002] With the development of technology, smart phones are becoming more and more popular. In the existing Android mobile phones, the Android installation package (Android Package, APK) is generally used to realize the installation of the program. The APK is a file format similar to SymbianSis or Sisx, and it can be executed by directly transferring the APK file to the Android emulator or Android mobile phone. Install. [0003] At present, in Android mobile phones, there are two main methods to prevent Apk from being used by unauthorized devices: 1. The download address of the Apk file is not directly provided, and the real download address is provided to the user after the user successfully authorizes it; the...

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): H04W12/02H04W12/04H04W12/06H04W12/033H04W12/041
Inventor 阳波魏伟
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD