Unlock instant, AI-driven research and patent intelligence for your innovation.

Control method and electronic device

A control method and technology of electronic equipment, applied in the direction of program control device, program loading/starting, etc., can solve problems such as uncontrollable and difficult to locate functions, and achieve the effect of improving performance

Active Publication Date: 2016-09-28
LENOVO (BEIJING) LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In this way, when the loader loads the program in the operating system, the relocation of the functions included in the program is largely uncontrollable, which causes the problem that it is not easy to locate the functions in the program

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
  • Control method and electronic device
  • Control method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Hereinafter, the control method and the electronic device according to the embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0025] According to one aspect of the embodiments of the present invention, there is provided a control method, which is applied to control the loading of a program by a loader, wherein the program includes a plurality of functions, and the control method includes: loading the loader on the Before the program, create a function relocation table, where the function relocation table includes one or more functions to be relocated among the multiple functions and their custom addresses; and, the loader is based on the The function relocation table loads the program to load the one or more functions to be relocated to its custom address.

[0026] Through the control method according to the embodiment of the present invention, each function in the program can be located when the loader loads the p...

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

A control method and electronic device are provided. The control method is applied to control loading of a program by a loader, wherein the program includes a plurality of functions, and the control method includes: creating a function relocation table before the loader loads the program, wherein the function relocation table includes a plurality of functions one or more functions to be relocated in the function and their custom addresses; and the loader loads a program according to the function relocation table to load the one or more functions to be relocated to its custom addresses. Through the control method and electronic device according to the embodiments of the present invention, the precise control of the relocation address of the function in the process of loading the program by the loader is realized, thereby improving the performance of the system.

Description

Technical field [0001] The invention relates to a control method and electronic equipment. Background technique [0002] In current electronic devices, the operating system uses a loader to load the program or dynamic library, and when the loader loads the program or dynamic library, the loader relocates the program or dynamic library. [0003] Usually, the execution of a program or dynamic library involves one or more dependent libraries, and when the program or dynamic library is executed, the loader will load all dependent libraries and relocate these dependent libraries. [0004] In the prior art, each function usually includes multiple functions. In a broad sense, dynamic libraries and dependent libraries can also be regarded as programs, and these libraries include multiple functions. [0005] In this way, when the loader loads the program in the operating system, the relocation of the functions included in the program is largely uncontrollable, which causes the problem of diffi...

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): G06F9/445
Inventor 黄绍华郭琦陆见微
Owner LENOVO (BEIJING) LTD