Data processing method and device

A data processing and data technology, applied in the direction of response error generation, redundant code error detection, input/output to record carrier, etc., can solve the problem of large consumption of storage space resources, to ensure integrity and reduce storage space Resource consumption and the effect of ensuring data consistency

Active Publication Date: 2015-11-25
ZHEJIANG UNIVIEW TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a data processing method and device to solve the problem that a large amount of redundant backup space or even redundant equipment needs to be reserved in the existing implementation of array backup or device backup, and the consumption of storage space resources is too large

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings For further detailed explanation.

[0019] See figure 1 , figure 1 A schematic flow chart of a data processing method provided by an embodiment of the present invention, such as figure 1 As shown, the data processing method may include:

[0020] Step 101. When the target disk fails during the array reconstruction process, add a new disk to the array to replace the target disk to respond to data reading and writing, and update the stripe attributes corresponding to the array; wherein, the old data stripe The data on the new disk is invalid data, and the data on...

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 data processing method and device. The method comprises the following steps: when a target disk is in failure in an array reconstruction process, inserting a new disk into an array to replace the target disk of responding to data read-write, and updating stripe attributes corresponding to the new array, wherein data on the new disk in an old data stripe is invalid data, data on the new disk in a new data stripe is valid data, the old data stripe and the new data stripe are stripes where the new disk is positioned, the old data stripe is the stripe where data, written in before the new disk is added, is positioned and the new data stripe is the stripe where data, written in after the new disk is added, is positioned; when a data reading request is received, carrying out data reading according to stripe attributes corresponding to the array. By adopting the method and device provided by the invention, under the circumstance that a large amount of redundant backup space or redundant equipment is not required to be reserved, normal read-write of new data can be realized, that old data is read as far as possible is realized and resource consumption of storage space is reduced.

Description

technical field [0001] The invention relates to the technical field of video surveillance, in particular to a data processing method and device. Background technique [0002] In the field of video surveillance applications, when multiple disks in the storage device array fail, it may cause the array to fail, resulting in the inability to read and write video data normally. [0003] In view of the above problems, in the prior art, array backup or device backup is usually used to ensure the reliability of video data reading and writing, that is, when the array fails, the online video service of the array is backed up to a redundant array or redundant device superior. [0004] However, it has been found in practice that in the existing implementation of array backup or device backup, in order to ensure that the number of backup arrays or devices is consistent with the number of arrays and disks of the original storage device, it is necessary to reserve a large amount of redund...

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/06G06F11/10
Inventor 姚婷
Owner ZHEJIANG UNIVIEW 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