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

Application loading method and apparatus, computer device and storage medium

An application program and computer technology, applied in the computer field, can solve the problems of long time and consumption, and achieve the effect of obvious improvement of efficiency, reduction of time consumption, and guarantee of normal loading.

Active Publication Date: 2018-11-23
SHENZHEN TENCENT NETWORK INFORMATION TECH CO LTD
View PDF12 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for loading an application program, a computer device and a storage medium, which can solve the problem that the related technology takes a long time

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
  • Application loading method and apparatus, computer device and storage medium
  • Application loading method and apparatus, computer device and storage medium
  • Application loading method and apparatus, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

[0031] figure 1 It is a flowchart of an application loading method provided by an embodiment of the present invention. The method is executed by computer equipment, see figure 1 , The method includes:

[0032] 101. Map an application program to a memory buffer, where the image size of the application program is a preset multiple of the size of the memory buffer, and the value of each bit of the memory buffer is a first value.

[0033] Among them, the image size of the application (image_size) refers to the size of the application after it is normally mapped to the memory.

[0034] In the embodiment of the present invention, the computer device can scale the application program, map the application program to a memory buffer smaller than the image 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 an application loading method and apparatus, a computer device and a storage medium, and belongs to the technical field of computers. The method comprises the steps of mappingan application to a memory buffer area, wherein the value of each bit of the memory buffer area is a first value; changing the value of the corresponding bit for mapping a re-positioned address in a re-positioned table of the application to the memory buffer area to a second value; during application loading, when the value of the corresponding bit for mapping the address of the application to thememory buffer area is the first value, loading the application according to the address; and when the value of the corresponding bit for mapping the address of the application to the memory buffer area is the second value, after the address is re-positioned, loading the application according to the re-positioned address. During application loading, whether the address needs to be re-positioned can be judged quickly, so that the consumed time is greatly reduced, and the efficiency is improved obviously.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to an application program loading method, device, computer equipment and storage medium. Background technique [0002] When the linker generates an application executable file, it will set the default base address when the executable file is loaded. The default base address of the application is generally set to 0x00400000h, and the default base address of the dynamic link library is generally set to 0x10000000. When loading the application, when a dynamic link library in the application is loaded into the memory, it will be loaded to the default base address first. If the default base address of the dynamic link library is loaded with the base address of other dynamic link libraries. Conflict, if the default base address has been allocated to other dynamic link libraries, the base address of the dynamic link library needs to be relocated to realize the normal loading and runn...

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
CPCG06F9/44521
Inventor 陈小虎
Owner SHENZHEN TENCENT NETWORK INFORMATION TECH 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