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

Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information

A technology for operating system and prefetching information, applied in the direction of program loading/starting, memory system, program control device, etc., can solve problems such as accelerating the startup of the operating system, and achieve the goal of improving startup speed, reducing the number of reads and writes, and reducing startup time Effect

Active Publication Date: 2012-10-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the prior art has at least the following problems: Since many system services and third-party application programs are startup items that users want to start when they turn on the computer, there are certain services that users do not want to disable. Some startup items, but also want to obtain faster startup speed, the method of accelerating the startup of the operating system in the prior art cannot meet this requirement

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 acceleratively starting operating system, and method, device and terminal for generating prefetched information
  • Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information
  • Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] Please refer to figure 2 , which shows a method flowchart of the method for generating prefetch information provided in Embodiment 1 of the present invention. The method for generating prefetch information can be used in a terminal or a server. That is to say, the terminal itself that needs to accelerate the startup speed can generate and use the prefetch information; or the server can generate the prefetch information, and then the server can provide the prefetch information to the terminal that needs to speed up the startup speed of the operating system. terminal use. The method for generating prefetch information may include:

[0079] Step 202, extracting input / output information and page fault information during the startup process of the operating system;

[0080] First, the log file during the startup process of the operating system can be captured, and the log file includes IO information and page fault information of each process at startup.

[0081] Step 2...

Embodiment 2

[0101] Please refer to image 3 , which shows a method flowchart of the method for accelerating the startup of the operating system provided by Embodiment 2 of the present invention. The method for accelerating the startup of the operating system can be used in a terminal. The terminal can be any hardware device running an operating system, such as a desktop computer, a notebook computer, a tablet computer, and a smart phone, and including two levels of memory inside. A database may be pre-established in the terminal for storing the prefetching information generated by the method for generating prefetching information provided in Embodiment 1. The method for accelerating the startup of the operating system may include:

[0102] Step 302, obtaining prefetch information of at least one process to be accelerated during the startup process of the operating system, the prefetch information includes the file path, offset value and length value of the data block required by the pro...

Embodiment 3

[0111] Please refer to Figure 4 , which shows a method flowchart of the method for accelerating the startup of the operating system provided by Embodiment 3 of the present invention. The method for accelerating the startup of the operating system can be used in a terminal. The terminal can be any hardware device running an operating system, such as a desktop computer, a notebook computer, a tablet computer, and a smart phone, and including two levels of memory inside. The terminal may pre-set up a database for storing the prefetching information generated by the method for generating prefetching information provided in Embodiment 1. The method for accelerating the startup of the operating system may include:

[0112] Step 401, obtaining prefetch policy information;

[0113] After the terminal is powered on, a prefetch driver may be loaded when the driver is loaded, and the prefetch driver may obtain prefetch policy information, and the prefetch policy information may be in...

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 a method and a device for acceleratively starting an operating system and a method, a device and a terminal for generating prefetched information, and belongs to the field of operating systems. The method for acceleratively starting the operating system includes acquiring at least one piece of prefetched information, which contains file paths of data blocks required by a process, deviation values and length values, of the to-be-accelerated process in a starting procedure of the operating system; and setting positions which are indicated by the file paths and the deviation values as starting positions according to the prefetched information, reading the data blocks with the reading lengths equal to the length values into a cache of the system, and completing the starting procedure of the process by the aid of the data blocks in the cache of the system. By means of prefetching the data blocks required by the integral or partial process in the starting procedure, frequency of page faults in the starting procedure and read-write frequency for a low-speed memory are greatly reduced, starting time of each process corresponding to a program can be effectively shortened, and the effect of remarkably increasing the starting speed of the operating system is achieved.

Description

technical field [0001] The invention relates to the field of operating systems, in particular to a method and device for accelerating the startup of the operating system in the kernel layer of the operating system, a method and device for generating prefetch information, and a terminal. Background technique [0002] Terminals such as desktop computers, notebooks, smart phones, and tablet computers have been widely used in people's daily life, and these terminals usually use operating systems and third-party application programs running on the basis of the operating systems to provide services for users. Wherein, the startup process of the operating system is a process that these terminals must go through before providing services normally. [0003] The startup process of the operating system usually needs to go through several stages such as pressing the power button, running the bootloader, loading the operating system kernel, loading drivers, starting system services and t...

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/445
CPCG06F9/445G06F9/4401G06F12/0862G06F9/4406
Inventor 毕廷礼方斌聂科峰李世平
Owner TENCENT TECH (SHENZHEN) 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