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

Data read-write method and device, electronic equipment and storage medium

A technology of data reading and writing and data writing, which is applied in the computer field, can solve problems such as storage system performance bottlenecks, increase the frequency of garbage collection, etc., and achieve the effects of improving access performance, improving performance, and alleviating performance degradation

Inactive Publication Date: 2020-09-04
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the access frequency of metadata is much higher than that of user data, its frequent updates will generate a large amount of invalid data, which increases the frequency of garbage collection and often becomes the performance bottleneck of the storage system.

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
  • Data read-write method and device, electronic equipment and storage medium
  • Data read-write method and device, electronic equipment and storage medium
  • Data read-write method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0054] In the traditional real-time compression storage system, the data is usually compressed and written to the storage device in a sequential manner. When the data is updated, the updated data is still written to the storage device sequentially after being compressed, so that the original data in the storage device is stored. Marked as invalid data, it is necessary to perform garbage collection on invalid data to reuse storage space when the storage space is insufficient. The com...

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 data reading and writing method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a data writing request,and obtaining to-be-written data corresponding to the data writing request; compressing the to-be-written data to generate compressed data; writing the compressed data into a data block of a hard disk, and determining metadata information representing the writing position of the compressed data; and writing the metadata information into a storage-level memory, wherein the metadata information isupdated in an overwriting manner. Known from above, according to the invention, metadata and user data are separately stored; to-be-written user data is compressed and then written into a hard disk; the metadata information is written into the storage-level memory, the metadata is not compressed any more, an overwriting mode is adopted when the metadata is updated, the access performance of the metadata is improved, meanwhile, performance reduction caused by high-frequency garbage collection is relieved, and the performance of a real-time compression storage system is effectively improved.

Description

technical field [0001] The present application relates to the field of computer technology, and more specifically, to a method and device for reading and writing data, an electronic device, and a computer-readable storage medium. Background technique [0002] At present, the emergence and wide application of big data have brought great challenges to the growth of storage capacity. There are two ways to deal with the growth of storage capacity. One is to expand storage capacity, but this will increase costs; the other is to compress data to reduce storage capacity consumption and save costs. The real-time compression storage system compresses the data before it is written into the storage device, which not only reduces the storage space occupation, but also further reduces the access to the storage device (disk or solid state disk), thereby improving the performance of the storage system. [0003] The traditional real-time compression storage system writes the compressed dat...

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/0608G06F3/064G06F3/0671
Inventor 刘文国
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
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