System and method for ghost offset utilization in sequential byte stream semantics
Abstract
A system and method for releasing storage space at the beginning of a byte stream while maintaining sequential byte stream semantics is provided. A ghost offset is initialized when a file is instantiated or opened. When information is deleted at the beginning of the sequential byte stream, the ghost offset is incremented in the amount of the number of bytes being deleted. The ghost offset continues to increment while the file is opened and information is being deleted at the beginning of the data stream. The virtual offset is the ghost offset added to the real offset of a particular entry in the data stream which maintains sequential byte stream semantics. When the file is closed, storage space is released in the amount of the ghost offset. Applications are provided with virtual offsets corresponding to data locations which are converted to real offsets for accessing data in the data stream.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for managing a data stream, said method comprising: identifying a truncation amount corresponding to the data stream; incrementing a ghost offset in response to the identification, the ghost offset being a cumulated truncation amount; determining one or more real offsets corresponding to one or more data areas within the data stream; and calculating one or more virtual offsets corresponding to the data areas based upon the real offsets and the ghost offset.
- Claim 2Depends on #1
The method as described in claim 1 further comprising: removing the cumulated truncation amount of data from a front of the data stream.
- Claim 3Depends on #1
The method as described in claim 1 further comprising: storing the ghost offset and the real offset in a file system area; and providing the v
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗