Method and system for processing data

A data processing system and data processing technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems such as data inconsistency, achieve the effect of ensuring final consistency and preventing data inconsistency

Active Publication Date: 2016-02-17
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the performance difference between memory and disk, the read and write performance of the storage system can be significantly improved through the cache system, but it is powerless to deal with the data inconsistency caused by the host concurrently accessing multiple controller caches

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 and system for processing data
  • Method and system for processing data
  • Method and system for processing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings, which cannot be used to limit the protection scope of the present invention.

[0043] In view of the problems of cache consistency in distributed storage, the present invention proposes a cache consistency decision-making method based on a message mechanism, which ensures that the cache data distributed on each controller can still guarantee the final consistency under the condition of concurrent access , to prevent the resulting data inconsistency.

[0044] Specifically, to achieve the above purpose, the present invention proposes a data processing method, such as figure 1 As shown, the method includes:

[0045] S101. Receive a data read and write request.

[0046] In the embodiment of the present invention, data read and write requests are received through the data request interface, that is, the e...

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 method and a system for processing data. The method comprises: receiving a data reading-writing request and sending the request to a preset Leader controller; the Leader controller determining whether the data reading-writing request can be sent to a preset Follower controller for direct processing according to a preset controller state bitmap; when the Follower controller can directly process the data reading-writing request, the data reading-writing request being sent to the Follower controller and being directly processed, and feeding back a feedback message which can be directly processed; when the Follower controller cannot directly process the data reading-writing request, the data reading-writing request being recorded as a waiting message, and the waiting message being broadcasted to all Follower controllers. Through the scheme, cache data distributed on each controller can be ensured to be consistent finally under a condition of concurrent access, and a problem of inconsistent data caused thereby is prevented.

Description

technical field [0001] The invention relates to the field of SAN storage systems, in particular to a data processing method and system. Background technique [0002] The status of the cache in the storage system is self-evident. Since the delay of memory access is 5-6 orders of magnitude faster than that of the disk, the common practice is to use the memory as the cache of the storage system to directly store the IO from the host instead of Direct access to disk media. Due to the performance difference between memory and disk, the read and write performance of the storage system can be significantly improved through the cache system, but it is powerless to solve the data inconsistency problem caused by the host concurrently accessing multiple controller caches. Contents of the invention [0003] In order to solve the above problems, the present invention proposes a data processing method and system, which can ensure that the cached data distributed on each controller can ...

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
CPCG06F3/0656G06F3/0658
Inventor 张书宁文中领卓保特
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products