Method and device for reading data in blocks and computer storage medium
The invention discloses a method and device for reading data in blocks and a computer storage medium. By reading target data with the large data size in blocks, the processing pressure is effectivelyrelieved and the processing efficiency is improved when data blocks are processed. The method compris...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method and device for reading data in blocks and a computer storage medium. By reading target data with the large data size in blocks, the processing pressure is effectivelyrelieved and the processing efficiency is improved when data blocks are processed. The method comprises the steps that when data is read from the target data in blocks, the reading start position andthe reading block length are determined; the total data length of the target data is determined; and the data blocks are read from the target data in a cursor type on the basis of the start position,the block length and the total data length, and a cursor reading result is determined, wherein the cursor reading result comprises identifier information for representing whether or not the target data is completely read.
本发明公开种分块读取数据的方法、装置及计算机存储介质,通过对较大数据量的目标数据进行分块读取,使得在对分块数据处理时,有效减轻处理压力,提升了处理效率。该方法包括:从目标数据中分块读取数据时,确定读取的起始位置以及确定读取的分块长度;确定所述目标数据的数据总长度;基于所述起始位置、所述分块长度以及所述数据总长度,从所述目标数据中游标式读取分块数据,确定游标读取结果,所述游标读取结果包括表示所述目标数据是否读 |
---|