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

Virtual hard disk data storage, reading method and device

A data storage and data reading technology, applied in the software field, can solve problems such as unusable pre-reading mechanism and low efficiency of hard disk data reading

Inactive Publication Date: 2017-05-31
BEIJING QIHOO TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Then, the above-mentioned storage method in reverse order leads to the fact that when reading a piece of data, its read-ahead mechanism cannot actually be used, resulting in low reading efficiency of hard disk data.

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
  • Virtual hard disk data storage, reading method and device
  • Virtual hard disk data storage, reading method and device
  • Virtual hard disk data storage, reading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0114] refer to figure 1 , shows a flow chart of the steps of an embodiment of a virtualized hard disk data storage method according to an embodiment of the present invention, which may specifically include the following steps:

[0115] Step S110: pre-apply for at least one storage block with a specified capacity at the end of the storage space of the physical hard disk corresponding to the end of the virtualized hard disk.

[0116] The embodiment of the present invention can be applied to multiple systems that use virtualized hard disks to write data. A hard disk can include tracks, cylinders, and sectors. When it is necessary to write data into the hard disk, first determine which track or sector the data needs to be written into, and then obtain the corresponding physical address of the track and sector, and then write the data into the corresponding hard disk according to the physical address. Location.

[0117] For the solution where multiple systems share one virtuali...

Embodiment 2

[0144] refer to figure 2 , shows a flow chart of the steps of an embodiment of a virtualized hard disk data storage method according to an embodiment of the present invention, which may specifically include the following steps:

[0145] Step S210: pre-apply for at least one storage block with a specified capacity at the end of the storage space of the physical hard disk corresponding to the end of the virtualized hard disk.

[0146] Step S220: Determine whether a write request to be stored at the end of the virtualized hard disk is received; if a write request to be stored at the end of the virtualized hard disk is received, proceed to step S230.

[0147] In the embodiment of the present invention, at the end of the storage space of the corresponding physical hard disk of the virtualized hard disk, pre-apply for at least one storage block with a specified capacity, and pre-determine whether to receive a write request that needs to be stored at the end of the virtualized hard ...

Embodiment 3

[0163] refer to image 3 , shows a flow chart of the steps of an embodiment of a virtualized hard disk data storage method according to an embodiment of the present invention, which may specifically include the following steps:

[0164] Step S310: Register the hard disk filter driver with the system; the hard disk filter driver is used to intercept read requests / write requests to storage blocks, and to apply for storage blocks.

[0165] In the embodiment of the present invention, the hard disk filter driver can be registered in the system in advance, and the hard disk filter driver can be used to intercept the read request / write request sent to the hard disk, and adjust it according to actual needs. In addition, the hard disk filter driver can also Can be used to apply for storage blocks.

[0166] In practical applications, many systems are equipped with a filter driver mechanism, which may have multiple layers of filter drivers. The virtualized hard disk in the embodiment of...

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 embodiment of the invention provides a virtual hard disk data storage, reading method and device. The method comprises the steps that in the tail of the storage space of the entity hard disk corresponding to the tail of the virtual hard disk, at least a storage block with specified capacity are applied in advance; the case that whether or not the write requests needed to be stored in the tail of the virtual hard disk are received is evaluated; if the write requests needed to be stored in the tail of the virtual hard disk are received, then beginning from the sorted last storage block, in the storage block, the data corresponding to the write requests are written in a positive sequence into the storage block. Compared with the former technical solutions, the present device writes data to a storage block in a positive sequence, thereby the defect that the pre-read mechanism cannot be used by the system is avoided, the problem that the pre-read mechanism inherent in the system does not work properly is solved, and the efficiency of reading the backup data in the virtual hard disk is improved.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a virtualized hard disk data storage and reading method and a virtualized hard disk data storage and reading device. Background technique [0002] With the development of computers, in order to flexibly provide different systems based on one piece of hardware, the technology of virtualized hard disks has emerged. Virtualized hard disks are used by virtual machines. Through virtualized hard disks, multiple systems can share one system file. The virtual hard disk is based on the physical hard disk, and a section of storage space is divided from the physical hard disk for use by the system of the virtual hard disk. System files are stored at the head of the storage space of the physical hard disk corresponding to the virtualized hard disk, that is, according to the usual storage method of system files, system files are stored in the front disk, cylinder and sector of the physical h...

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): G06F3/06
Inventor 李文杰
Owner BEIJING QIHOO 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