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

A cache consistency data flushing method based on dual control

A technology of caching data and consistency, which is applied in the direction of electronic digital data processing, memory system, protection of stored content to prevent loss, etc., to achieve the effect of improving market competitiveness and improving consistency

Active Publication Date: 2018-03-02
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the consistency of the cached data of the two controllers cannot be judged, the outdated cached data may be written back

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
  • A cache consistency data flushing method based on dual control
  • A cache consistency data flushing method based on dual control
  • A cache consistency data flushing method based on dual control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] In order to make the purpose, technical solution and advantages of the present invention clearer, the dual-control-based cache consistency data flushing method of the present invention will be described in detail below with reference to the accompanying drawings.

[0013] The first technical problem to be solved by the present invention is to judge the data consistency of the dual-control cache, and then solve the difficult problem of maintaining the consistency of the dual-control cache. In order to achieve the above purpose, the dual-control-based cache consistency data flashing method described in this invention, through reasonable planning of the non-volatile memory, the non-volatile memory includes a super block area, a metadata area and a cache data area, wherein the metadata The cache area is used to store metadata, and the cache data area is used to cache data; the cache consistency data flushing method uses the cache super block information to simplify the dual-...

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 cache consistency data flashing method based on dual-controllers. By rationally planning non-volatile memory and caching super-block information, the dual-controller state switching process is simplified, and the dual-controller state switching is abstracted as super-block information. value change, the super block information value can be effectively changed through the dual-control state switching; at the same time, the cache data and metadata are stored in the non-volatile memory. After the system is accidentally powered off, the cache data will not be lost. The block information judges the validity of the cache data, correctly writes back to the disk, and maintains the cache consistency of the dual-control system.

Description

technical field [0001] The invention relates to the field of computer systems and storage, in particular to a dual-control-based cache consistency data flashing method. Background technique [0002] In a dual-controller storage system, when a request to read or write a data block is sent to the disk, the request first passes through the cache, and the flushing of the cache to the disk is completed asynchronously by threads. The cache data consistency between the two controllers is particularly important to the system. When the system is powered off and restarted, the cache data needs to be flushed back to the disk. The consistency judgment of the cache data includes judging whether the cache data of the two controllers are synchronized or which controller cache data is valid. If the cache data consistency of the two controllers cannot be judged, the outdated cache data may be flushed back. [0003] Non-volatile memory is a kind of non-volatile memory, which uses the revers...

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): G06F12/0806G06F12/16G06F12/0804
Inventor 缪祥虎
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD