Method and device for accelerating starting of application program

An application program and sequence technology, applied in the Internet field, can solve problems such as slow application program startup, and achieve the effects of reducing the number of jumps, improving efficiency, and increasing startup speed

Active Publication Date: 2015-04-29
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a method for accelerating application program startup, so as to solve the problem in the prior art that the application program starts too slowly due to low disk I / O efficiency

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
  • Method and device for accelerating starting of application program
  • Method and device for accelerating starting of application program
  • Method and device for accelerating starting of application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 The implementation process of the method for accelerating application startup provided by the first embodiment of the present invention is shown, and the details are as follows:

[0025] In step S101, receiving and parsing the portable executable file of the application program and the symbol file of the application program, inserting into the application program an identifier that can be used to record the data code running information of the application program according to the symbol file .

[0026] Specifically, the portable executable body is the full Chinese name of Portable Execute, and its English abbreviation is PE. Common files with EXE, DLL, OCX, SYS, and COM suffixes are all PE files, and PE files are Microsoft Windows operating systems. On program files, which may be executed indirectly, such as DLL files.

[0027] The symbol file (Symbol Files) is a data information file, which contains the debugging information of the application binary file (s...

Embodiment 2

[0045] figure 2 The flow chart of the method for accelerating application startup provided by the second embodiment of the present invention is shown, and the details are as follows:

[0046] In step S201, the portable executable file of the application program is compiled to generate a symbol file corresponding to the portable executable file.

[0047] In the Windows system, for the C++ application program, it can be compiled with the Visual C++ compiler to obtain the PDB file. The structure of the PDB file is composed of the following parts:

[0048] Database Header (Database Header);

[0049] List of Record Entries;

[0050] Application information block (AppInfo Block) (optional);

[0051] SortInfo Block (SortInfo Block) (optional);

[0052] Database record information (Sequence of raw record data);

[0053] The location information of the application information block (AppInfo Block) and the sorting information block (SortInfo Block) is determined in the database h...

Embodiment 3

[0061] image 3 It is a schematic flowchart of the method for accelerating application startup provided in the third embodiment of the present invention, and is described in detail as follows:

[0062] In step S301, the portable executable file of the application program and the symbol file of the application program are received and analyzed, and an identifier that can be used to record the data code running information of the application program is inserted into the application program according to the symbol file ;

[0063] In step S302, run the application program inserted with the identification information, and acquire the data code running information of the identification record;

[0064] In step S303, change the storage location information of the data code in the portable executable file according to the recorded running information of the data code.

[0065] In step S304, when the system reads the data code of the application program on the hard disk, it reads mul...

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 field of the Internets and provides a method for accelerating the starting of an application program. The method comprises the following steps: receiving and analyzing the transplantable actuator file of the application program and the symbol file of the application program, and inserting identifiers capable of being used for recording the data code running information of the application program in the application program according to the symbol file; running the application program in which identifier information is inserted, and obtaining the data code running information that the identifiers record; changing the position information of data codes stored in the transplantable actuator file according to the recorded running information of the data codes. The memory position of the data codes is correspondingly changed through recording the running information of program codes, so that when the application program runs, the I/O skip times of a hard disk can be effectively reduced, and the efficiency of reading the data of the hard disk is improved. Therefore, the purpose of raising the starting speed of the application program is achieved.

Description

technical field [0001] The invention belongs to the field of the Internet, and in particular relates to a method and a device for accelerating application program startup. Background technique [0002] When the application starts, it can be divided into two types according to the timing of the startup: cold startup and warm startup. In a hosted application environment, cold startup refers to NET Framework system assemblies and application code are not in memory, so they need to be fetched from disk; a warm start refers to a subsequent launch of the application, or when most of the system code has been previously used by another managed application Application launch while present in memory. [0003] Since the startup speed of the application directly affects the user's impression of the first experience of the application, it is particularly important to improve the startup speed of the application. When the application starts, especially when the application is cold star...

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 TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products