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

Block device data cache power-down protection method and system

A power-off protection and data cache technology, applied in the computer field, can solve problems such as synchronization, incomplete data protection when power-off, and no CPU cache support.

Inactive Publication Date: 2016-07-06
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is a deficiency in the ADR function of this platform that it does not support synchronizing the CPU cache to the memory when the power is off. UnCacheable), due to the frequent access of metadata cached by the organization and the need for power-off protection, the performance is severely degraded; (2) If the DRAM memory is set to write back to the CPU (WriteBack) mode, the power-off data protection will be incomplete and even cause data error problem

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
  • Block device data cache power-down protection method and system
  • Block device data cache power-down protection method and system
  • Block device data cache power-down protection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The core of the present invention is to provide a method and system for power-down protection of block device data cache, which can solve the problem of out-of-synchronization and protection of CPU cache by the platform, ensure complete power-down data protection, and have good performance at the same time.

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] Please refer to fi...

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 block device data cache power-down protection method and system. The method comprises the steps of setting a block device information protection region, a cache unit information protection region and a cache unit protection region in a power-down protection memory region; setting the block device information protection region, the cache unit information protection region and the cache unit protection region to be in a CPU direct-writing or no-cache mode; when a system does not lose power, storing block device cache data in a cache unit of the cache unit protection region; recording corresponding block device information in the block device information protection region and recording corresponding cache unit information in the cache unit information protection region; and when the system loses the power, according to the content recorded in the block device information protection region, the cache unit information protection region and the cache unit protection region, identifying a block device required to be subjected to data back-writing, and writing back the corresponding data of the block device into a storage medium. Therefore, the problems on asynchronism and protection of CPU caches can be solved and the complete data power-down protection is ensured; and the method and system have relatively good performance.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a system and method for power-down protection of block device data cache. Background technique [0002] In terms of computer data storage, there are mainly two methods of block device storage and file storage. In order to improve performance, computer systems often cache the data of block devices or files in the memory. When writing data, they are first written to the cache and then written back to the disk asynchronously. Including block device or file system metadata and application data, in order to ensure that the data is not lost when the system is powered off, a power-off protection function is required. There are two main methods of power-down protection. Method 1: When the power is off, the backup battery supplies power to the computer system as a whole or the computer system components except the external disk cabinet (via SAS or FC network) for a period of time. Duri...

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): G06F12/16
CPCG06F12/16
Inventor 施培任卓保特赵鹏
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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