Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for loading SO (Shared Object) file in application program

An application program and file technology, applied in the computer field, can solve the problem of low security, achieve the effect of improving security, avoiding the leakage of user information, and ensuring information security

Active Publication Date: 2018-04-03
SHANGHAI PEOPLENET SECURITY TECH
View PDF5 Cites 9 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 loading SO files in application programs, so as to solve the problem of low security of loading SO files in current application programs and improve the security of loading SO files in application programs

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
  • Method and device for loading SO (Shared Object) file in application program
  • Method and device for loading SO (Shared Object) file in application program
  • Method and device for loading SO (Shared Object) file in application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

[0028] Currently, SO files compiled from code written in C or C++ may be attacked or implanted with viruses, posing a threat to user information security. An embodiment of the present invention provides a method for loading SO files in an application program, aiming to solve this problem.

[0029] figure 1 It is a schematic flowchart of Embodiment 1 of the method for loading an SO file in an application provided by the embodiment of the present invention. This embodiment is applicable to the situation that the S...

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 method and a device for loading an SO (Shared Object) file in an application program. The method comprises the steps of acquiring a shell code of the application program anda current SO file of the application program when an application program running command is received; calling the shell code, and encrypting the current SO file by use of a first encryption algorithmto obtain a current proof test value; calling the shell code to compare whether the current proof test value is consistent with a factory proof test value pre-stored in the application value, whereinthe factory proof test value is the proof test value formed after a factory SO file of the application program is encrypted by use of the first encryption algorithm; when determining that the currentproof test value is the same as the factory proof test value, loading the current SO file of the application program according to the running command. According to the method and the device for loading the SO file in the application program, whether the current SO file and the factory SO file are the same is verified through the shell code, only when the current SO file and the factory SO file aredetermined to be the same, the current SO file is loaded, therefore, the safety for loading of the SO file in the application program is improved.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a method and device for loading SO files in application programs. Background technique [0002] With the development of communication and computer technology, terminal devices such as mobile phones are used more and more widely. In the development process of the Android (Android) mobile application program, how to prevent the application program from being decompiled is an important measure to ensure the security of the application program. [0003] At present, in order to prevent the application program from being decompiled, some core functions of the application program will be written in C or C++ language. For ease of use, the code written in C or C++ language will be compiled into SO files and provided externally. Load the compiled SO file directly in the application program, and use the JAVA local call (Java Native Interface, JNI) technology to make the cal...

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/12
CPCG06F9/44521G06F21/125
Inventor 谈剑锋董亚琴杨德光姜立稳
Owner SHANGHAI PEOPLENET SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products