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

Agent method and device for dynamic library

A proxy device and dynamic library technology, applied in the computer field, can solve the problems of high modification cost, no modification support, and many interdependencies

Active Publication Date: 2021-12-10
北京顶象技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the inventor found that in the prior art Java language programming development, there is a problem that the code in the JAVA function cannot be modified after the code in the JNI dynamic library is modified. There may be multiple reasons for this problem: for example , the JNI dynamic library is provided by other parties (non-Java program openers) and does not support modification. For example, the compilation context of the JNI dynamic library is complex and depends too much on each other, so it is difficult to modify it, or for example, the source code of the JNI dynamic library has been lost and cannot be modified. Modify and recompile again, and it is possible that the JNI dynamic library will be reopened at a relatively high cost and the cost of modification will be too high

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
  • Agent method and device for dynamic library
  • Agent method and device for dynamic library
  • Agent method and device for dynamic library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0042] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

[0043] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

[0044] In all examples shown and discussed herein, any specific values ​​should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have dif...

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 dynamic library agent method and equipment. The method includes: obtaining modification information of the modified first function; and generating a proxy function used to proxy the association between the second function and the first function according to the modification information of the first function and the function information of the second function. Through the present invention, after the first function is modified, the dynamic library can work normally without modifying the second function in the dynamic library associated with the first function. Reduce the modification cost of the first function. It is especially suitable for application scenarios where the second function cannot be modified.

Description

technical field [0001] The present invention relates to the computer field, and more specifically, to a dynamic library agent method and device. Background technique [0002] In the Java language, Java code is compiled into bytecode and then runs on the Java Virtual Machine (Java Virtual Machine). However, because the Java virtual machine is added to the current host operating system, the Java bytecode execution speed is currently slower than that of the local machine, which will cause the performance of the program to degrade, and in order to ensure security, the Java virtual machine includes a security The sandbox restricts untrusted code from accessing important system resources, and can only access the limited resources provided in the sandbox, which also restricts the functions that can be realized by pure Java language. Therefore, JNI (Java NativeInterface) is introduced into the Java platform. JNI provides a number of application programming interfaces to realize com...

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): G06F8/20G06F8/30G06F21/52
CPCG06F8/22G06F8/31G06F21/52
Inventor 邱寅峰
Owner 北京顶象技术有限公司
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