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

Loading and linking method and device of dynamic link library

A dynamic link library, the same technology, applied in the direction of program control device, program loading/starting, etc., can solve problems such as inability to share

Active Publication Date: 2013-10-23
LENOVO (BEIJING) LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, even dynamic link library files with the same function cannot be shared between computer systems using the same operating system and processors with different instruction set architectures.

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
  • Loading and linking method and device of dynamic link library
  • Loading and linking method and device of dynamic link library
  • Loading and linking method and device of dynamic link library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] Embodiments of the present invention provide a method for loading and linking a dynamic link library, such as figure 1 shown, including:

[0020] S101. After loading the application program, load the dynamic link library that the application program needs to call into the memory.

[0021] Described dynamic link library is the executable code file that compilation produces, has included at least one function, has included sum (x, y), max (x, y, z), sin (x) in the dynamic link library aa.dll for example Three functions are used to calculate the sum of x, y, the maximum value of x, y and z, and the sine function value of x. These three functions can be used in different function modules of the application.

[0022] When an application program is being executed, first the application program is loaded into the memory, and then the dynamic link library that the application program needs to call is also loaded into the memory. The application program and the dynamic link li...

Embodiment 2

[0031] Embodiments of the present invention provide a method for loading and linking a dynamic link library, such as figure 2 shown, including:

[0032] S201. After loading the application program, load the dynamic link library that the application program needs to call into the memory.

[0033] Described dynamic link library is the executable code file that compilation produces, has included at least one function, has included sum (x, y), max (x, y, z), sin (x) in the dynamic link library aa.dll for example Three functions are used to calculate the sum of x, y, the maximum value of x, y and z, and the sine function value of x. These three functions can be used in different function modules of the application.

[0034] When an application program is being executed, first the application program is loaded into the memory, and then the dynamic link library that the application program needs to call is also loaded into the memory. The application program and the dynamic link l...

Embodiment 3

[0054] The embodiment of the present invention provides a dynamic link library loading and linking device 30, such as image 3 As shown, a processor unit 31 and an analog processor unit 32 are included.

[0055] The processor unit 31 is configured to, after the application program is loaded, load the dynamic link library that the application program needs to call into the memory.

[0056] Described dynamic link library is the executable code file that compilation produces, has included at least one function, has included sum (x, y), max (x, y, z), sin (x) in the dynamic link library aa.dll for example Three functions are used to calculate the sum of x, y, the maximum value of x, y and z, and the sine function value of x. These three functions can be used in different function modules of the application.

[0057] When an application program is being loaded, firstly, the processor unit 31 loads the application program into the memory, and then also loads the dynamic link librar...

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 provides loading and linking method and device of a dynamic link library. The loading and linking method and device of the dynamic link library enable the devices which utilize the same operation system and a processor with different instruction set to share the dynamic link library with same functions. The method includes that after loading of the application program, a dynamic link library needed to be called by the application program is loaded into the memory; a processor unit responses the application program to call instructions of the dynamic link library; if the first code instruction set type of the dynamic link library is different from the second code instruction set type of the processor unit, a simulating processing unit is started to run the dynamic link library of the first code instruction set type to acquire executing results. The code type of the executing results belongs to the second code instruction set type. The loading and linking method and device of the dynamic link library is applicable to the technical field of the dynamic link library.

Description

technical field [0001] The invention relates to the technical field of dynamic link libraries, in particular to a method and a device for loading and linking dynamic link libraries under different code instruction set types of processors. Background technique [0002] A dynamic link library is a set of executable codes, which are used to complete the calculation and processing of certain data in the application program. For example, when creating an application program, there is no need to create a program from scratch, but the dynamic link library can be called to realize some calculation processing work of the application program. However, the files in the dynamic link library must be the same as the instruction set of the application program, so that when the dynamic link library is called, the computer system can execute the dynamic link library called by the application program. [0003] With the rapid development of computer technology, the processors and operating sy...

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/445
Inventor 李佳陆见微郭琦黄少华
Owner LENOVO (BEIJING) 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