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

File pre-reading method and device

A pre-reading and file technology, applied in the field of information processing, can solve problems such as improving the efficiency of file pre-reading, and achieve the effect of improving efficiency

Active Publication Date: 2018-07-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a file pre-reading method to solve the problem in the prior art that the efficiency of file pre-reading needs to be improved

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
  • File pre-reading method and device
  • File pre-reading method and device
  • File pre-reading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0072] Such as Figure 5 Shown, is the schematic flow chart of this method, comprises the following steps:

[0073] Step 501: Scan the disk to obtain the disk cluster distribution of each file to be read in advance.

[0074] Step 502: Determine the total data volume of each file to be pre-read, and determine a piece of continuous storage space in the disk whose storage capacity is greater than or equal to the total volume.

[0075] Wherein, the total data volume of each file to be read in advance may be determined before step 501, that is to say, the specific execution timing may be determined according to timing requirements, which is not limited in this embodiment of the present application.

[0076] Step 503: Move each file to be pre-read from the corresponding disk cluster to the continuous storage space.

[0077] Step 504: Determine the disk cluster occupied by each file to be pre-read.

[0078] Step 505: Determine the order of disk cluster numbers occupied by the file...

Embodiment 3

[0089] Based on the same application concept, the embodiment of this application also provides a device corresponding to the file pre-reading method. Since the problem-solving principle of this device is similar to the method of the embodiment of this application, the implementation of this device can refer to the implementation of the method , the repetitions will not be repeated.

[0090] Such as Figure 6As shown, it is a schematic structural diagram of the file pre-reading device provided by the embodiment of the present application, including:

[0091] A disk cluster determining module 601, configured to determine the disk cluster occupied by each file to be read in advance;

[0092] The reading order determination module 602 is used to determine the order of the disk clusters occupied by the files to be read in advance as the reading order of the files to be read in advance; the order of the disk clusters is used to characterize the mechanical The order of the disk clu...

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 application relates to the technical field of information processing, in particular to a file pre-reading method and device, and aims to solve the problem that file pre-reading efficiency needs to be increased in the prior art. The method provided by the embodiment of the application comprises the following steps: determining disk clusters occupied by files to be pre-read; determining the sequence of the disk clusters occupied by the files to be pre-read as a reading sequence of the files to be pre-read; reading the files to be pre-read according to the determined reading sequence. By adopting the file pre-reading method and device provided by the embodiment of the application, the files are not read according to the logical deviation sequence of the files any more, but are read according to the sequence of the disk clusters in a file pre-reading process, namely, the files to be pre-read are read in order according to the storage characteristics of the files in disks and a magnetic head addressing sequence, so that a magnetic head does not need to be addressed repeatedly, thereby increasing the file pre-reading efficiency.

Description

technical field [0001] The present application relates to the technical field of information processing, in particular to a file pre-reading method and device. Background technique [0002] Large-scale software (such as large-scale online games and commercial software) takes a long time to start, which causes long waiting time for users and poor user experience. Therefore, in the prior art, the waiting time is reduced by using software startup acceleration technology. [0003] During the initial software startup process, the files required for startup are read from the disk after startup. However, it takes a long time to read a file from a disk. Therefore, the existing method for accelerating software startup is usually to increase the startup speed by pre-reading files. [0004] The so-called file pre-reading refers to reading the required files from the disk into the cache. Therefore, the process of software startup acceleration is generally: first read the files requir...

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/445G06F12/0862G06F17/30
CPCG06F9/445G06F12/0862G06F16/172
Inventor 谢磊
Owner TENCENT TECH (SHENZHEN) CO LTD