Data writing method and device

A data writing and data technology, applied in the computer field, can solve the problems of occupying storage space and less use probability, and achieve the effect of reducing memory cost, efficient CPU resources, and increasing system reliability

Pending Publication Date: 2021-12-17
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the verification data will only be used when the data is lost, and the probability of using it is relatively small, but it must be stored in the same way as the fragmented data, so it takes up storage space

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 writing method and device
  • Data writing method and device
  • Data writing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035]The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0036] figure 1 It is a schematic diagram of the distributed system provided by the embodiment of this application. The system includes a server cluster 100, for example, the server cluster 100 includes n+m servers, where m is the number of servers that are allowed to fail in the predetermined n+m servers, figure 1 Server 1 - Server 3 are schematically shown in . In the server cluster 100, each server includes a network interface controller (NIC), and each server is connected to each other through its NIC. The server cluster 100 is, for example, an application server cluster corresponding to an application (APP), or a storage device cluster, and the like. The memory of each server constitutes the distributed memory 10 in the distributed system, such as figure 1 As shown in , the distributed memory 10 includes uniformly addressed...

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 embodiment of the invention provides a distributed memory read-write method and device. The method comprises the steps of forming n data fragments and m verification fragments according to to-be-written data; respectively carrying out data compression on the m verification fragments so as to respectively generate m compressed verification fragments; and respectively writing the n data fragments and the m compression verification fragments. Through the method provided by the embodiment of the invention, the data storage space is saved, and the storage cost is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for writing data into a computer. Background technique [0002] In order to ensure the reliability of the data, the data is generally divided into multiple fragments, and then the verification data is generated according to the fragmentation, and the fragmentation data and verification data are stored on different devices. In this way, if there is data damage, Then the damaged data can be recovered by verifying the fragments. For example, now commonly used disk array (Redundant Arrays of Independent Disks, RAID) algorithm and erasure coding (Erasure Coding, EC) algorithm. [0003] However, the verification data will only be used when the data is lost, and the probability of using it is relatively small, but it must be stored in the same way as the fragmented data, so it takes up storage space. Contents of the invention [0004] The embodiment o...

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
IPC IPC(8): G06F11/10
CPCG06F11/1076G06F11/10
Inventor 赵智杰陈晓雨严雪过
Owner HUAWEI TECH CO LTD
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