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

Cache-based read-write data processing method and cache-based read-write data processing system

A processing method and processing system technology, applied in the direction of electrical digital data processing, memory systems, instruments, etc., can solve problems such as object-map object lock competition, affecting read and write performance, and achieve the effect of reducing the need for locks and improving performance

Inactive Publication Date: 2020-10-30
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a cache-based read and write data processing method and system, which are used to solve the existing object-map object lock competition and affect the read and write performance problems

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
  • Cache-based read-write data processing method and cache-based read-write data processing system
  • Cache-based read-write data processing method and cache-based read-write data processing system
  • Cache-based read-write data processing method and cache-based read-write data processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to clearly illustrate the technical features of this solution, the present invention will be described in detail below through specific implementation modes and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting the...

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 cache-based read-write data processing method and system, and the processing of write data comprises the steps of writing received write request data into a cache, and settingan object state corresponding to an object bitmap in a memory into a cache; when the data accumulation in the cache reaches a threshold value, setting the state of the object in the cache to be the existing state; placing the object bitmap in the memory into a disk, and covering the object bitmap in the underlying storage; and putting the data in the cache into a disk. According to the invention,object _ map in a memory is utilized; when a data writing request occurs, the method comprises writing data into a cache without putting into a disk; when the data in the cache reaches a certain threshold value, object _ map in the memory at the moment is firstly subjected to disk placement, and then the data in the cache is subjected to disk brushing and placement, so that the data can be directly read from the memory during reading, and the object _ map can be updated once only by obtaining a lock once after multiple times of writing. The requirement for a lock is reduced, and the data writing performance is improved.

Description

technical field [0001] The invention relates to the technical field of data reading and writing, in particular to a cache-based reading and writing data processing method and system. Background technique [0002] object-map (that is, object bitmap, each object corresponds to a part of the data in the bitmap, and uses this part of data to record the state of the object) depends on the exclusive-lock (exclusive lock, exclusive lock) feature. Image object allocation is thin-provisioning (thin volume). When the object-map feature is enabled, there will be an object_map object that records a bitmap of the existence status of all objects in the volume, and the bit identifies the status of an object. There are 3 statuses (including non-existent, existing, and pending deletion) to mark objects Whether it really exists, so that you can directly judge whether an object exists in the upper layer, which can speed up IO, export, etc. [0003] However, when the client writes to the volu...

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/0877
CPCG06F12/0877
Inventor 彭泽张端
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD