Check patentability & draft patents in minutes with Patsnap Eureka AI!

Dynamic library calling method and device, electronic equipment and storage medium

A dynamic library and target application technology, applied in the computer field, can solve the problem that the dynamic library is easily obtained illegally, and achieve the effect of avoiding illegal use and safe dynamic library calls

Pending Publication Date: 2021-10-22
LAUNCH TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present application provides a dynamic library calling method, device, electronic equipment and storage medium to solve the problem in the prior art that the dynamic library of the application program is easily obtained illegally

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
  • Dynamic library calling method and device, electronic equipment and storage medium
  • Dynamic library calling method and device, electronic equipment and storage medium
  • Dynamic library calling method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] figure 1 It shows a schematic flowchart of the first method for invoking a dynamic library provided by the embodiment of the present application. The execution subject of the method for invoking a dynamic library is an electronic device, such as a computer, a mobile terminal, and the like. Such as figure 1 The dynamic library calling method shown is detailed as follows:

[0060] In S101, a first folder is created.

[0061] In the embodiment of the present application, after the target application program is started, it executes the corresponding pieces of running code in the application program in order or according to the user's operation instructions to realize the corresponding functions. Wherein, if it is detected that the current running code contains a dynamic library call instruction (that is, the function code used to call the dynamic library), then according to the dynamic library call instruction, a first folder is created, and the first folder is used for s...

Embodiment 2

[0077] figure 2 It shows a schematic flow diagram of the second dynamic library calling method provided by the embodiment of the present application. The method in this embodiment is further improved on the basis of the dynamic library calling method in the first embodiment, and is the same as the first embodiment No longer. Such as figure 2 The dynamic library calling method shown is detailed as follows:

[0078] In S201, a first folder is created.

[0079] In S202, create a first preset number of obfuscation files in the first folder, wherein the size of the obfuscation files is consistent with the size of the encrypted target dynamic library.

[0080] In S203, the encrypted target dynamic library is decrypted into the first folder, and the name format of the decrypted target dynamic library is consistent with that of the obfuscated file.

[0081] In S204, the target dynamic library is called to execute the target function.

[0082] In S205, delete the first folder. ...

Embodiment 3

[0148] image 3 It shows a schematic structural diagram of a dynamic library calling device provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown:

[0149] The dynamic library calling device includes: a first creation unit 31 , a second creation unit 32 , a decryption unit 33 , and a calling unit 34 . in:

[0150] The first creation unit 31 is configured to create a first folder.

[0151] The second creation unit 32 is configured to create a first preset number of obfuscation files in the first folder, wherein the size of the obfuscation files is consistent with the size of the encrypted target dynamic library.

[0152] The decryption unit 33 is configured to decrypt the encrypted target dynamic library into the first folder, and the name format of the decrypted target dynamic library is consistent with the obfuscation file.

[0153] The calling unit 34 is 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is suitable for the technical field of computers, and provides a dynamic library calling method and device, electronic equipment and a storage medium. The method comprises the steps of creating a first folder, and creating a first preset number of confused files in the first folder, wherein the size of the confused files is consistent with that of an encrypted target dynamic library; decrypting the encrypted target dynamic library into the first folder, wherein the name format of the decrypted target dynamic library is consistent with the confusion file; and calling the target dynamic library, and executing a target function. According to the embodiment of the invention, dynamic library calling can be safely realized, and the dynamic library is prevented from being illegally used.

Description

technical field [0001] The application belongs to the field of computer technology, and in particular relates to a dynamic library calling method, device, electronic equipment and storage medium. Background technique [0002] With the development of software technology, various application programs have more and more software functions, which bring great convenience to people. In an application program, a corresponding function is often implemented efficiently and conveniently by calling a dynamic library (also called a dynamic link library, Dynamic Link Library, abbreviated as DLL). [0003] At present, when an application program calls a dynamic library, the dynamic library usually needs to be loaded into a local operating system before being called and running. However, the non-encrypted dynamic library that is invoked to run in the local operating system may be illegally obtained and used by other pirated programs, thereby bringing certain losses to the developers of th...

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
IPC IPC(8): G06F9/448
CPCG06F9/4482
Inventor 刘均李森
Owner LAUNCH TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More