CN102520888A - Data processing method for RAID5 band and RAID5 processing system - Google Patents

Data processing method for RAID5 band and RAID5 processing system Download PDF

Info

Publication number
CN102520888A
CN102520888A CN2011104374626A CN201110437462A CN102520888A CN 102520888 A CN102520888 A CN 102520888A CN 2011104374626 A CN2011104374626 A CN 2011104374626A CN 201110437462 A CN201110437462 A CN 201110437462A CN 102520888 A CN102520888 A CN 102520888A
Authority
CN
China
Prior art keywords
data
raid5
write
band
high priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104374626A
Other languages
Chinese (zh)
Inventor
王积宇
金振成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIHAI SHENGYUN TECHNOLOGY CO., LTD.
Original Assignee
Clouds Creators Information Technology (tianjin) Co Ltd
SHENZHEN CHUANGXINKE INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Clouds Creators Information Technology (tianjin) Co Ltd, SHENZHEN CHUANGXINKE INFORMATION TECHNOLOGY Co Ltd filed Critical Clouds Creators Information Technology (tianjin) Co Ltd
Priority to CN2011104374626A priority Critical patent/CN102520888A/en
Publication of CN102520888A publication Critical patent/CN102520888A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data processing method for an RAID5 band and an RAID5 processing system. The method includes: setting high priority for data to be written when the data to be written cannot fill the RAID5 band and if the data to be written are required to be written to an RAID5 magnetic disk in real time; and judging whether the high priority is set for the received data or not when the RAID5 processing system receives the data to be written, and timely writing the received data to the corresponding RAID5 band if the high priority is set for the received data.

Description

The data processing method of RAID5 band and RAID5 disposal system
Technical field
The present invention relates to data processing technique, particularly the data processing method and the RAID5 disposal system of raid-array (RAID:Redundant Array of Independent Disk) 5 bands.
Background technology
In data processing technique, RAID is combined into a logic hard disk by different way with a plurality of independent physical hard disks, thereby improves the readwrite performance and the data security of hard disk.At present, according to the various combination mode, can be divided into different RAID ranks, RAID rank commonly used is: 0,1,2,3,4,5,6,01,10 etc.Describe the RAID rank below emphatically and be 5 RAID, be called for short RAID5.
The I/O of RAID5 handles, and particularly writes request, is that unit carries out with band (strip), and RAID5 guarantees the data security on this band depositing check bit on each band.But RAID5 do not require an independent hard disk and deposits checking data, but the verification data interaction is deposited on each different hard disk, and Fig. 1 shows the structured data repository of RAID5.In Fig. 1, P (Parity) representes checking data, when the data of writing to RAID5 can be filled up whole band fully, goes out the checking data of this band according to the RAID5 algorithm computation.With band 1 is example; When band 1 is write full data; According to the RAID5 algorithm such as XOR (xor; The expression with
Figure BDA0000124071380000011
) calculation check data; Be specially:
Figure BDA0000124071380000012
still; When the data that will write can not completely be filled up whole band; Just need read earlier on other disks that this band takies data then verification go out checking data P, just can on this this band, continue to write the above-mentioned data that will write.
That is to say; When the data that will write can not completely be filled up whole band, need read the data on other hard disks that this band takies earlier and calculate checking data P, and then write the data that this will write; This way can write by delayed data; And when the data that will write were some crucial metadata, this crucial metadata data write latency was handled and can be influenced service feature.
Summary of the invention
The invention provides the data processing method and the RAID5 disposal system of RAID5 band, in time write the disk of RAID5 with the data that realize writing will be realistic the time RAID5 disk.
Technical scheme provided by the invention comprises:
A kind of data processing method of RAID5 band comprises:
When the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5;
When the RAID5 disposal system receives the data that will write, judge whether the data of this reception have been set up high priority, if the data that then in time will receive write corresponding RAID5 band.
A kind of RAID5 disposal system comprises:
Receiving element is used to receive the data that the user will write;
Judging unit is used to judge whether the data that said receiving element receives have been set up high priority; Wherein, when the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5;
Writing unit is used in the judged result of said judging unit when being, the data that in time said receiving element received write corresponding RAID5 band.
Can find out by above technical scheme, among the present invention, when the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5; When the RAID5 disposal system receives the data that will write; Whether the data of judging this reception have been set up high priority; If; The data that then in time will receive write corresponding RAID5 band, and the data that promptly realized writing will be realistic the time RAID5 disk in time write the purpose of RAID5 disk.
Description of drawings
Fig. 1 shows the structured data repository of RAID5;
The process flow diagram that Fig. 2 provides for the embodiment of the invention;
The RAID5 disposal system structural drawing that Fig. 3 provides for the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
Method provided by the invention comprises flow process shown in Figure 2:
Referring to Fig. 2, the process flow diagram that Fig. 2 provides for the embodiment of the invention.As shown in Figure 2, this flow process can may further comprise the steps:
Step 201 when the data that will write can not be filled up the RAID5 band, if these data that will write are asked to write in real time the disk of RAID5, then is provided with high priority for these data that will write.
Here, high priority can be according to the actual conditions setting, such as, greater than certain certain threshold value etc., the present invention does not specifically limit.
In addition, in this step 201, the said data that are asked to write in real time the disk of RAID5 comprise at least: crucial metadata, and some other needs of confirming according to actual conditions in time write the data of disk.
Step 202 when the RAID5 disposal system receives the data that will write, judges whether the data of this reception have been set up high priority, if the data that then in time will receive write corresponding RAID5 band.
That is to say; When being provided with high priority for the data that will write; This high priority will pass to the RAID5 disposal system; When the RAID5 disposal system identifies the data of high priority, in time this high-priority data is write in the shared disk of corresponding RAID5 band, promptly reached the purpose of real-time processing high-priority data.
Preferably; Among the present invention; When the data of judging reception when the RAID5 disposal system are not set up high priority, then can handle the data on other hard disks that the RAID5 band that will write such as the data that read this reception takies according to existing mode; And utilize the data computation checking data that reads, and the said data that will write at said RAID5 band based on this checking data.
So far, accomplishing method provided by the invention describes.
More than method provided by the invention is described, describe down in the face of RAID5 disposal system provided by the invention.
Referring to Fig. 3, the RAID5 disposal system structural drawing that Fig. 3 provides for the embodiment of the invention.As shown in Figure 3, this RAID5 disposal system comprises:
Receiving element is used to receive the data that the user will write;
Judging unit is used to judge whether the data that said receiving element receives have been set up high priority; Wherein, when the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5;
Writing unit is used in the judged result of said judging unit when being, the data that in time said receiving element received write corresponding RAID5 band.
Preferably, among the present invention, the said data that are asked to write in real time the disk of RAID5 comprise at least: crucial metadata.
In addition; Among the present invention; The said write unit, further in the judged result of said judging unit for not the time, read the data on other hard disks that RAID5 band that the data of this reception will write takies; And utilize the data computation checking data that reads, and the said data that will write at said RAID5 band based on this checking data.
So far, accomplish RAID5 disposal system structrual description provided by the invention.
Can find out by above technical scheme, among the present invention, when the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5; When the RAID5 disposal system receives the data that will write; Whether the data of judging this reception have been set up high priority; If; The data that then in time will receive write corresponding RAID5 band, and the data that promptly realized writing will be realistic the time RAID5 disk in time write the purpose of RAID5 disk.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (6)

1. the data processing method of a RAID5 band is characterized in that, this method comprises:
When the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5;
When the RAID5 disposal system receives the data that will write, judge whether the data of this reception have been set up high priority, if the data that then in time will receive write corresponding RAID5 band.
2. method according to claim 1 is characterized in that, the said data that are asked to write in real time the disk of RAID5 comprise at least: crucial metadata.
3. method according to claim 1 is characterized in that, this method further comprises:
When the RAID5 disposal system is not set up high priority in the data of judging reception; Read the data on other hard disks that RAID5 band that the data of this reception will write takies; And utilize the data computation checking data that reads, and the said data that will write at said RAID5 band based on this checking data.
4. a RAID5 disposal system is characterized in that, said RAID5 disposal system comprises:
Receiving element is used to receive the data that the user will write;
Judging unit is used to judge whether the data that said receiving element receives have been set up high priority; Wherein, when the data that will write can not be filled up the RAID5 band,, then high priority is set for these data that will write if these data that will write are asked to write in real time the disk of RAID5;
Writing unit is used in the judged result of said judging unit when being, the data that in time said receiving element received write corresponding RAID5 band.
5. RAID5 disposal system according to claim 4 is characterized in that, the said data that are asked to write in real time the disk of RAID5 comprise at least: crucial metadata.
6. RAID5 disposal system according to claim 4; It is characterized in that; The said write unit, further in the judged result of said judging unit for not the time, read the data on other hard disks that RAID5 band that the data of this reception will write takies; And utilize the data computation checking data that reads, and the said data that will write at said RAID5 band based on this checking data.
CN2011104374626A 2011-12-23 2011-12-23 Data processing method for RAID5 band and RAID5 processing system Pending CN102520888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104374626A CN102520888A (en) 2011-12-23 2011-12-23 Data processing method for RAID5 band and RAID5 processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104374626A CN102520888A (en) 2011-12-23 2011-12-23 Data processing method for RAID5 band and RAID5 processing system

Publications (1)

Publication Number Publication Date
CN102520888A true CN102520888A (en) 2012-06-27

Family

ID=46291833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104374626A Pending CN102520888A (en) 2011-12-23 2011-12-23 Data processing method for RAID5 band and RAID5 processing system

Country Status (1)

Country Link
CN (1) CN102520888A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413203A (en) * 2018-04-28 2019-11-05 伊姆西Ip控股有限责任公司 For managing the method, equipment and computer program product of storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650675A (en) * 2009-08-28 2010-02-17 中兴通讯股份有限公司 Method and device for writing data by utilizing exclusive or check disk array
CN101763220B (en) * 2008-12-25 2011-06-08 成都市华为赛门铁克科技有限公司 Data updating method, controller and storage system
CN102096558A (en) * 2011-01-20 2011-06-15 杭州华三通信技术有限公司 Data storage method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763220B (en) * 2008-12-25 2011-06-08 成都市华为赛门铁克科技有限公司 Data updating method, controller and storage system
CN101650675A (en) * 2009-08-28 2010-02-17 中兴通讯股份有限公司 Method and device for writing data by utilizing exclusive or check disk array
CN102096558A (en) * 2011-01-20 2011-06-15 杭州华三通信技术有限公司 Data storage method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413203A (en) * 2018-04-28 2019-11-05 伊姆西Ip控股有限责任公司 For managing the method, equipment and computer program product of storage system
CN110413203B (en) * 2018-04-28 2023-07-18 伊姆西Ip控股有限责任公司 Method, apparatus and computer readable medium for managing a storage system

Similar Documents

Publication Publication Date Title
CN101727299B (en) RAID5-orientated optimal design method for writing operation in continuous data storage
EP2778888B1 (en) Selecting between non-volatile memory units having different minimum addressable data unit sizes
US9128846B2 (en) Disk array device, control device and data write method
US9798620B2 (en) Systems and methods for non-blocking solid-state memory
CN102945201B (en) The non-volatile media log recording of verification msg set
CN102682012A (en) Method and device for reading and writing data in file system
WO2017173623A1 (en) Method and storage device for processing stripes in storage device
CN103793182A (en) Scalable storage protection
CN102520890B (en) RS (Reed-Solomon) - DRAID( D redundant array of independent disk) system based on GPUs (graphic processing units) and method for controlling data of memory devices
CN102184079B (en) Method for optimizing writing performance of redundant array of independent disk (RAID5)-grade disk array
CN104765575A (en) Information storage processing method
CN102982122A (en) Repeating data deleting method suitable for mass storage system
CN103019893A (en) Multi-disk fault-tolerant two-dimensional hybrid disk RAID4 system architecture and read-write method thereof
CN104765574A (en) Data cloud storage method
CN105677508A (en) Method and system for modifying erasure code data in cloud storage
CN102750195A (en) Method for cluster file system data fault tolerance
CN103729149A (en) Data storage method
CN102096558A (en) Data storage method and device
Wu et al. FastGC: Accelerate garbage collection via an efficient copyback-based data migration in SSDs
CN102270102B (en) Method for optimizing writing performance of RAID6 (Redundant Array of Independent Disks) disk array
US9213486B2 (en) Writing new data of a first block size to a second block size using a write-write mode
CN103927136A (en) Identification method and device for input and output IO types
CN109375868B (en) Data storage method, scheduling device, system, equipment and storage medium
CN104778100A (en) Safe data backup method
CN102495680A (en) Reconstruction method of RAID (Redundant Array of Independent Disks) system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Hing Road two No. 6 Wuhan University Shenzhen research building B403-III

Applicant after: Shenzhen Anyun Information Technology Co., Ltd.

Applicant after: Clouds creators information technology (Tianjin) Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Hing Road two No. 6 Shenzhen building B403 - III University Wuhan University

Applicant before: Shenzhen Chuangxinke Information Technology Co., Ltd.

Applicant before: Clouds creators information technology (Tianjin) Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN UNITED INFORMATION TECHNOLOGY CO., LTD. TO: SHENZHEN ANYUN INFORMATION TECHNOLOGY CO., LTD.

ASS Succession or assignment of patent right

Free format text: FORMER OWNER: COOL CLOUDZ INFORMATION TECHNOLOGY (TIANJIN) CO., LTD.

Effective date: 20150714

Owner name: BEIHAI YUNSHENG TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SHENZHEN ANYUN INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20150714

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150714

Address after: 536000, Taiwan Road, the Guangxi Zhuang Autonomous Region, Beihai, northeast of Jilin Road (China Electronics Beihai Industrial Park, East 14 room)

Applicant after: BEIHAI SHENGYUN TECHNOLOGY CO., LTD.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Hing Road two No. 6 Wuhan University Shenzhen research building B403-III

Applicant before: Shenzhen Anyun Information Technology Co., Ltd.

Applicant before: Clouds creators information technology (Tianjin) Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120627