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

Call method, device and electronic equipment of non-public library in mobile terminal

A mobile terminal, non-public technology, applied in the field of non-public library invocation, electronic equipment and storage media, can solve the problems of poor practicability, only applicable, slow speed, etc., and achieve the effect of fast link speed and improved practicability

Active Publication Date: 2021-07-27
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The calling method, device, electronic equipment and storage medium of the non-public library in the mobile terminal proposed by this application are used to solve the related technology. The existing method of bypassing the system dynamic link non-public library restriction needs to read and parse the so file , not only slow, but also only applicable to non-public libraries that have already been loaded, and the problem of poor practicability

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
  • Call method, device and electronic equipment of non-public library in mobile terminal
  • Call method, device and electronic equipment of non-public library in mobile terminal
  • Call method, device and electronic equipment of non-public library in mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The embodiment of the present application will be described in detail below, and examples of the embodiment are illustrated in the drawings in which the same or similar elements are represented by the same or similar numerals. The following is exemplary, and is intended to be used to explain the present application without understanding the limitation of the present application.

[0018] In the present application, for the related art, the existing method of the existing bypassing the system dynamic link non-public library restrictions need to be read and parse the SO file, not only slow, but only suitable for the unloadful library that has been loaded, practicality The problem, proposes a method of calling the non-public library in the mobile terminal.

[0019] The calling method of the non-public library provided in the mobile terminal provided herein can obtain the call request of the application, and obtain the return address of the application according to the ID of th...

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 application proposes a calling method, device, electronic equipment and storage medium of a non-public library in a mobile terminal, belonging to the technical field of computer applications. The method includes: obtaining the call request of the application program, the call request includes the identification of the application program and the identification of the non-public library; according to the identification of the application program, obtaining the return address of the application program; writing the jump function into the address corresponding to the preset address In the memory, the target address of the jump function is the return address, and the default address is the legal address of the operating system in the mobile terminal; modify the return address to the default address; call the non-public library according to the default address and the identification of the non-public library The system interface function corresponding to the library to open the non-public library. Therefore, through this method of calling the non-public library in the mobile terminal, it is possible to bypass the system's restriction on the dynamic link of the non-public library for the application, not only does not need to read and parse the file, the link speed is fast, and the non-public library can be loaded now library, improving usability.

Description

Technical field [0001] The present application relates to the field of computer applications, in particular, to a method, apparatus, electronic device, and storage medium in a non-public library in a mobile terminal. Background technique [0002] Starting with Android 7.0, the system blocks the application dynamic link non-public NDK library to improve the security of the system. However, for some special needs, such as insert, hot repair, etc., there is a need to dynamically link non-public libraries, and therefore need to bypass the system. [0003] In the existing related techniques, by reading the SO file under the / proc / directory, parse the reposition table in the SO file (ELF format), use the SO base address plus the address in the relocation table, calculate the desired Call the address of the function to achieve the purpose of calling the non-public NDK library function. However, this method needs to read and resolve the SO file, not only slower, but only the non-publi...

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): G06F9/445
CPCG06F9/44521
Inventor 桂敬文
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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