METHOD AND APPARATUS FOR DATA ACCESS

정보 기술 분야에 속하는 데이터 액세스를 위한 방법 및 장치. 방법은 그 안에서 판독 주소를 운반하는 제1 디스크 팩의 데이터 판독 요청을 획득하는 단계(101); 판독 주소에 따라 제1 디스크 팩의 제1 스트라이프 위치 범위를 결정하는 단계(102) - 제1 스트라이프 위치 범위는 적어도 하나의 제1 스트라이프를 포함함 -; 제1 스트라이프 위치 범위 내에 모든 제1 스트라이프 상에서 데이터를 순차적으로 판독하는 단계(103); 현재 제1 스트라이프 상의 데이터가 성공적으로 판독되지 않은 경우, 성공적으로 판독되지 않은 제1 스트...

Full description

Saved in:
Bibliographic Details
Main Authors CHEN XIAOLIANG, SHI YUQING, WANG TIANKE, LEI YONG
Format Patent
LanguageEnglish
Korean
Published 05.09.2016
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:정보 기술 분야에 속하는 데이터 액세스를 위한 방법 및 장치. 방법은 그 안에서 판독 주소를 운반하는 제1 디스크 팩의 데이터 판독 요청을 획득하는 단계(101); 판독 주소에 따라 제1 디스크 팩의 제1 스트라이프 위치 범위를 결정하는 단계(102) - 제1 스트라이프 위치 범위는 적어도 하나의 제1 스트라이프를 포함함 -; 제1 스트라이프 위치 범위 내에 모든 제1 스트라이프 상에서 데이터를 순차적으로 판독하는 단계(103); 현재 제1 스트라이프 상의 데이터가 성공적으로 판독되지 않은 경우, 성공적으로 판독되지 않은 제1 스트라이프의 데이터 판독 결과를 사전 설정 패딩 데이터로서 설정하고, 모든 제1 스트라이프들 상의 데이터가 완전히 판독될 때까지 다음 제1 스트라이프 상의 데이터를 계속 판독하고, 다양한 제1 스트라이프들의 데이터 판독 결과들을 반환하는 단계(104)를 포함한다. 성공적으로 판독되지 않은 제1 스트라이프의 데이터 판독 결과는 사전 설정 패딩 데이터로서 설정되며, 모든 제1 스트라이프들 상의 데이터가 완전히 판독될 때까지 다음 제1 스트라이프 상의 데이터가 계속 판독되고, 다양한 제1 스트라이프들의 데이터 판독 결과들이 반환되며, 이러한 방식으로, 성공하지 않은 데이터 판독이 발생할 때 데이터 손실 및 액세스 중단의 지속기간이 감소된다. The present invention discloses a data access method and apparatus, and belongs to the field of information technologies. The method includes: acquiring a data read request that is for a first disk group and carries a read address; determining a first-stripe location range of the first disk group according to the read address; sequentially reading data from first stripes within the first-stripe location range; setting a data reading result for a first stripe whose data is not successfully read to preset padding data, and continuing to read data from a next first stripe until data is read from all the first stripes; and returning a data reading result for each first stripe. In the present invention, a data reading result for a first stripe whose data is not successfully read is set to preset padding data, data reading proceeds to a next first stripe until data is read from all first stripes, and a data reading result for each first stripe is returned, which reduces data loss and shortens access interruption time when data is not successfully read.
Bibliography:Application Number: KR20167020719