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

A kind of Android SO file protection method and device

A file and Android technology, applied in the computer field, can solve the problems of easy acquisition and embezzlement of SO files, low security, etc., and achieve the effect of avoiding embezzlement and improving security

Active Publication Date: 2018-08-03
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for protecting Android SO files, which are used to solve the technical problem that SO files are easily obtained and stolen in the prior art and have low security.

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 kind of Android SO file protection method and device
  • A kind of Android SO file protection method and device
  • A kind of Android SO file protection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] This embodiment provides a protection method for Android SO files, such as figure 1 As shown, the method includes:

[0045] Step S101, when the application program loads the SO file, obtain the environment information in which the SO file runs, wherein the SO file is an encrypted file;

[0046] Step S102, encrypting the environment information;

[0047] Step S103, sending the encrypted environment information to the server;

[0048] Step S104, when receiving the key returned by the server based on the encrypted environment information, decrypt and invoke the SO file based on the key.

[0049] It should be noted that the method provided in this embodiment is applied to a client, and the client is connected to the server through a wireless or limited network to implement communication.

[0050]In a specific implementation process, the client may be a smart phone, a tablet computer or a desktop computer, which is not limited here. The server may be an independent serve...

Embodiment 2

[0109] This embodiment provides a protection method for Android SO files, such as figure 2 As shown, the method includes:

[0110] Step S201, receiving the encrypted environment information sent by the client, wherein the environment information is used to represent the running environment of the SO file loaded by the application;

[0111] Step S202, judging whether the encrypted environment information meets the preset requirements;

[0112] Step S203, when the encrypted environment information meets the preset requirements, send a key to the client, so that the client can decrypt and invoke the SO file based on the key.

[0113] It should be noted that the method provided in this embodiment is applied to a server, and the server and the client in Embodiment 1 are connected through a wireless or limited network to implement communication.

[0114] In a specific implementation process, the client may be a smart phone, a tablet computer or a desktop computer, which is not li...

Embodiment 3

[0122] This embodiment provides a protection device for Android SO files, the device is a client, such as image 3 shown, including:

[0123] The obtaining module 301 is used to obtain the environment information of the operation of the SO file when the application program loads the SO file, wherein the SO file is an encrypted file;

[0124] An encryption module 302, configured to encrypt the environment information;

[0125] The first sending module 303 is configured to send the encrypted environment information to the server;

[0126] The decryption module 304 is configured to decrypt and call the SO file based on the key when receiving the key returned by the server based on the encrypted environment information.

[0127] In a specific implementation process, the client may be a smart phone, a tablet computer or a desktop computer, which is not limited here.

[0128] Since the device introduced in the third embodiment of the present invention is the device used to implem...

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

Disclosed are a method and device for protecting an Android SO file. The method comprises: when an application program loads an SO file, acquiring environmental information regarding the environment in which the SO file operates, wherein the SO file is an encrypted file; encrypting the environmental information; transmitting the encrypted environmental information to a server; and upon receiving a key returned by the server on the basis of the encrypted environmental information, decrypting, on the basis of the key, and invoking the SO file. The method and device provided in the present application can address the technical problem of low security in the art resulted from an SO file being easy to be obtained and misappropriated, and thus can improve the security of an SO file.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for protecting an Android SO file. Background technique [0002] With the increasing popularity of mobile devices, the mobile application industry, especially the Andriod application, has developed rapidly. Correspondingly, its development model and code framework have also undergone tremendous changes. Due to the increasingly rich functions of the program, in order to save development time, modular development has become a development trend, and the Android system also provides the files of independent modules and the way of loading and using independent modules. [0003] The independent module file is called SO file, which can be developed in C or C++ language. In order to ensure the availability and ease of use of the program, module developers often design the interface of the SO file to be more concise and easy to use. When the Android program is rele...

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): H04L29/06H04L9/32H04L9/06G06F21/60
CPCG06F21/602H04L9/0643H04L9/3249H04L63/0428H04L63/06
Inventor 周志刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD