hottub.patents
US 12,809,635 B2#3064817 Most CitedActiveUnited States (USPTO)Utility

Prefetching system and method for a file system in user space

0Forward Citations (#3064817 Global)
0.0/yrCitation Velocity (#3064817 Global)
0.00Citation PageRank (#3064817 Global)
5Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A data system and a data reading method are provided in the present disclosure. The data system includes a processor, a memory, and a storage device. The processor includes a file system in user space. The memory includes a memory buffer. The user file space system receives a reading request sent by an application end. The file system in user space reads prefetch data of a target file pre-stored in at least one buffer block of the memory buffer according to the reading request. In response to the file system in user space determining that a total reading amount of a last buffer block with stored data from the at least one buffer block being currently read exceeds a preset total amount, the file system in user space prefetches a next batch of prefetch data of the target file from the storage device and stores it in another buffer block. Therefore a data reading operation of high efficiency is achieved.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    An electronic data system, comprising: a processor circuit comprising a file system in user space; a non-cache memory circuit comprising a memory buffer and electrically coupled to the processor; and a storage device electrically coupled to the processor and the memory, wherein the file system in user space receives a reading request sent by an application end, and the file system in user space reads prefetch data of a target file pre-stored in at least one buffer block of the memory buffer based on the reading request, wherein in response to the file system in user space determining that a total amount of data read from a last buffer block combined with stored data from the at least one buffer block being currently read exceeds a preset total amount, the file system in user space prefetches a next batch of prefetch data of the target file from the storage device and stores the next batch of prefetch data in another buffer block of the memory buffer; wherein sizes of buffer blocks incl

  2. Claim 2Depends on #1

    The data system according to claim 1, wherein the preset total amount is half of a buffer size of the last buffer block with stored data from the at least one buffer block.

  3. Claim 3Depends on #1

    The data system according to claim 1, wherein the prefetch data and the next batch of prefetch data are sequential data.

  4. Claim 4Depends on #1

    The data system according to claim 1, wherein the sizes of buffer blocks included in the at least an initially built portion of the plurality of the buffer blocks built by the file system in user space based on the target file sequentially increase by an arithmetic progression.

  5. Claim 5Depends on #1

    The data system according to claim 1, wherein in response to the file system in user space having prefetched the next batch of prefetch data of the target file from the storage device, and a number of a plurality of buffer blocks built by the file system in user space based on the target file having reached an upper limit, the file system in user space adds a new buffer block in the memory buffer and starts to recycle from a first existing buffer block.

  6. Claim 6Depends on #5

    The data system according to claim 5, wherein in response to a count value for a buffer block to be recycled being 0, the file system in user space recycles the buffer block to be recycled, wherein in response to the count value for the buffer block to be recycled not being 0, the file system in user space suspends the recycling of the buffer block to be recycled, wherein the count value for the buffer block to be recycled is determined based on a number of reading operations that currently read the buffer block to be recycled.

  7. Claim 7Depends on #1

    The data system according to claim 1, wherein a number of a plurality of buffer blocks built by the file system in user space based on the target file has an upper limit of number, and/or a total buffer size of the plurality of buffer blocks has an upper limit of buffer size.

  8. Claim 8Depends on #1

    The data system according to claim 1, wherein the file system in user space receives another reading request sent by another application end, and the file system in user space uses the at least one buffer block based on the reading request.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the priority benefit of Taiwan application serial no. 112142745, filed on Nov. 7, 2023. The entirety of the above-mentioned patent applications are hereby incorporated by reference herein and made a part of this specification. TECHNICAL FIELD The present disclosure relates to a data reading technology and in particular to a data system and a data reading method. BACKGROUND Generally data reading refers to reading a file from a storage device (e.g., a hard disk) by an operating system (OS). However, conventional data reading methods take relatively long time for data transfer. In addition, when a plurality of data reading requests correspond to data of a same file, a conventional system reads the data of this file repeatedly from the storage device, therefore the time spent on data reading is increased. SUMMARY The present disclosure provides a data system and a data reading method allowing data reading operations of high efficiency. The data system according to the present disclosure comprises a processor, a memory, and a storage device. The processor comprises a file system in user space. The memory comprises a memory buffer and is electrically coupled to the processor. The storage device is electrically coupled to the processor and the memory. The file system in user space receives a reading request sent by an application end; and the file system in user space reads, based on the read request, prefetch data of a target file which is pre-stored in at least one buffer block of the memory buffer. In response to the file system in user space determining that a total reading amount for a last buffer block with stored data from the at least one buffer block being currently read exceeds a preset total amount, the file system in user space prefetches a next batch of prefetch data of the target file from the storage device and stores it in another buffer block. The data reading method according to the present

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (5)

PatentTitleYearCitations

Non-Patent Literature (7)

  • R. Andersen and B. Vinter,
  • “
  • Transparent remote file access in the minimum intrusion grid,
  • ”
  • 14th IEEE International Workshops on Enabling Technologies: Infrastructure for Collaborative Enterprise (WETICE'05), Link
  • ö
  • ping, Sweden, 2005, pp. 311-316 (Section 3.6), doi: 10.1109/WETICE.2005.59. (Year: 2005).