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

Method, device, device and storage medium for processing data location of storage device

A storage device and data location technology, applied in the storage field, can solve the problem of low processing performance, achieve the effect of reducing IO times, ensuring integrity, and improving restart speed

Active Publication Date: 2021-09-21
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a processing method, device, device, and storage medium for storing device data locations, so as to solve the defects of low processing performance in the prior art

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, device, device and storage medium for processing data location of storage device
  • Method, device, device and storage medium for processing data location of storage device
  • Method, device, device and storage medium for processing data location of storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] This embodiment provides a method for processing a data location of a storage device, which is used for correspondingly processing the location information of the data of the storage device. The executor of this embodiment is a processing device for the data location of the storage device, and the device may be set in a computer device including the storage device.

[0034] Such as figure 1 As shown, it is a schematic flow chart of the method for processing the data location of the storage device provided in this embodiment, and the method includes:

[0035] Step 101, when the device restarts, write the first location information set of the historical data stored in the storage device into the memory, the historical data and its corresponding location information are correspondingly stored in the storage device, and the first location information set is used to represent the data A collection of location information.

[0036] Specifically, the device restart refers to...

Embodiment 2

[0048] This embodiment provides a further supplementary description of the method for processing the data location of the storage device provided in the first embodiment.

[0049] As an implementable manner, on the basis of the first embodiment above, optionally, the method may further include:

[0050] Every time the set time is reached, an updated position information set is generated according to the current existing position information in the memory and stored in the storage device. The current existing position information in the memory includes the current position generated when the previous time arrives at the set time The location information included in the location information set and the current location information updated after the previous arrival at the set time.

[0051] Specifically, the second location information set stored in the storage device may be regularly updated, an updated location information set is generated, and stored in the storage device. T...

Embodiment 3

[0080] This embodiment provides a processing device for storing device data locations, which is used to execute the method in the first embodiment above.

[0081] Such as image 3 As shown in , it is a schematic structural diagram of an apparatus for processing data locations of storage devices provided in this embodiment. The processing device 30 of the data location of the storage device includes a first processing module 31 , a second processing module 32 and a generating module 33 .

[0082] Among them, the first processing module 31 is used to write the first location information set of the historical data stored in the storage device into the memory when the device is restarted, and the historical data and corresponding location information are correspondingly stored in the storage device. The information set is used to represent a collection of data location information; the second processing module 32 is used to write the location information of the updated data store...

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 present application provides a processing method, device, device, and storage medium for storing device data locations. The method includes: when the device is restarted, writing the first location information set of historical data stored in the storage device into the memory, and the history The data and its corresponding location information are correspondingly stored in the storage device; if there is update data in the storage device, the location information of the update data stored in the storage device corresponding to the update data is written into the In memory: generating a second location information set in the memory according to the first location information set and the location information of the update data, and storing it in the storage device. By combining the first location information set of historical data and the location information of updated data obtained from the log, complete location information can be quickly constructed in memory, which not only ensures the integrity of space allocation information, but also improves IO while reducing IO. Restart speed.

Description

technical field [0001] The present application relates to the field of storage technologies, and in particular to a method, device, device and storage medium for processing data locations of a storage device. Background technique [0002] Space management is an important part of the storage system. The traditional space management method is to allocate a storage area in the storage system to store space allocation information. Changes in the space mapping relationship will change the space allocation information in this area. [0003] The existing space management method introduces random writes and additionally increases the IO of the storage system, which reduces the overall throughput of the storage system and affects the processing performance of the storage system. [0004] Therefore, how to effectively manage the storage space has become an urgent technical problem to be solved. Contents of the invention [0005] The present application provides a method, device, de...

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): G06F3/06
CPCG06F3/061G06F3/0629G06F3/0676G06F11/3034G06F11/3433G06F3/0644G06F3/0673G06F3/0619G06F3/0604G06F11/3438
Inventor 马井玮
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD