Data writing method, device and equipment and storage medium

A technology for writing data and data, which is applied in the input/output process of data processing, electrical digital data processing, instruments, etc., and can solve the problems of strip data not being able to be updated normally, data loss, etc.

Active Publication Date: 2020-05-15
北京浪潮数据技术有限公司
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the application program is updating the internal data of the stripe, if the system suddenly loses power, because the data update contains actual data and verification data, the stripe data may not be updated normally, that is, only part of the data is updated. Circumstances that will result in data loss

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0036] see figure 1 , which shows a flowchart of a method for writing data provided by an embodiment of the present invention, which may include:

[0037] S11: Determine that the data currently to be written into the disk array is the target data, and the address information in the disk array where the target data needs to be written is the target address information.

[0038] The execution subject of a method for writing data provided by the embodiment of th...

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 writing method, device and equipment and a storage medium. The method comprises the steps: determining data to be written into a disk array currently as target data, andtaking the information, to be written into an address in the disk array, of the target data as target address information; caching the destination data and the destination address information into anonvolatile memory of a specified controller, and writing the destination data into an address corresponding to the destination address information in the disk array; if abnormal power failure occursin the process of writing the target data, reading the target data and the target address information cached in the specified controller after re-powering on, and writing the read target data into anaddress, corresponding to the read target address information, in the disk array. According to the invention, the smooth writing of the data into the disk array can be realized, and the possibility ofdata loss is greatly reduced.

Description

technical field [0001] The present invention relates to the technical field of data storage, more specifically, to a method, device, device and storage medium for writing data. The method, device, device and storage medium for writing data. Background technique [0002] Currently, the main types of parity RAID (Redundant Array of Independent Disks, which may be referred to as disk array) adopted by the storage system are RAID5 and RAID6, and data protection is performed by parity data inside the RAID stripe. When the application program is updating the internal data of the stripe, if the system suddenly loses power, because the data update contains actual data and verification data, the stripe data may not be updated normally, that is, only part of the data is updated. will result in data loss. Contents of the invention [0003] The purpose of the present invention is to provide a method, device, equipment and storage medium for writing data, which can realize the smooth ...

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/0619G06F3/0656G06F3/065G06F3/0679G06F3/0689
Inventor 刘丹
Owner 北京浪潮数据技术有限公司
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