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

Control method and device for disk sectors

A disk sector and control method technology, applied in the storage field, can solve the problems that the sector does not support write commands or read commands smaller than the sector size, and does not support virtual block write commands, so as to save sector space and memory resources, avoiding the effects of memory resources

Active Publication Date: 2016-02-03
ZHEJIANG UNIVIEW TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, with the rapid development of storage technology, in some application scenarios, it is often encountered that the write command or read command is smaller than the sector size, and the current sector does not support the write command or read command smaller than the sector size
For example, in block virtualization disk array management, each disk is divided into tens of thousands of virtual blocks. In order to manage these virtual blocks, it is necessary to write the management data of virtual blocks to sectors, and each virtual block occupies a Sector, the management data of each virtual block may only be a few bytes, which is far smaller than the sector size of 512K, so the sector does not support the write command of the management data of the virtual block

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 device for disk sectors
  • Control method and device for disk sectors
  • Control method and device for disk sectors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Aiming at the problems existing in the prior art, an embodiment of the present invention proposes a method for controlling a disk sector, which can be applied to a storage device and controls the writing process or reading process of the disk sector. Wherein, each track on the disk is equally divided into several arc segments, and these arc segments are the sectors of the disk, and the read and write of the disk is based on the sector as the basic unit. When receiving a write command or a read command greater than or equal to the sector size (such as an integer multiple of the sector size), it will be processed in an existing manner, and this process will not be repeated in this embodiment. When receiving a write command or a read command smaller than the sector size, such as a write command or a read command of the management data of a virtual block, the technical solution proposed in the embodiment of the present invention can be adopted, and subsequent write commands ...

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 provides a control method and device for disk sectors. The method comprises the steps that write commands with the size smaller than that of the sectors are received, and the sectors corresponding to the write commands and sector command structures corresponding to the sectors are determined; if a sector state is a pre-read issuing state, the write commands are added into an issuing chain table; if the sector state is a write combining issuing state, the write commands are added into a wait chain table; when a pre-read command returns, the write commands in the issuing chain table are combined in the processes of pre-reading and caching contained pre-read data, and the combined data are written into the sectors; when a write combining command returns, if write commands exist in the wait chain table, the write commands in the wait chain table are added into the issuing chain table, the write commands in the issuing chain table are combined in the processes of pre-reading and caching the contained pre-read data, and the combined data are written into the sectors. By means of the technical scheme, the sectors can support the write commands with the size smaller than that of the sectors, space of the sectors is saved, the write command processing performance is improved, and memory resources are saved.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method and device for controlling disk sectors. Background technique [0002] Currently, data can be written to and read from disk. Each track on the disk is equally divided into several arcs, and these arcs are the sectors of the disk. The read and write of the disk is based on the sector. Therefore, the data is written to the sector of the disk, and Read data from a sector of a disk. [0003] When writing data to or reading data from a sector, the sector only supports write or read commands whose data volume is larger than the size of the sector, and the write or read commands issued by the file system are all sector-sized Integer multiples of . For example, the sector size may be 512K, the write command is used to write 1M (512K*2) or 2M data into the sector, and the read command is used to read 1M or 2M data from the sector. [0004] However, with the rapid development...

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 ZHEJIANG UNIVIEW 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