发明名称 Systems and methods for efficiently storing index data on an electronic device
摘要 A method for efficiently storing index data on an electronic device may include storing index data in data pages within an indexing data structure on the electronic device. The method may also include providing at least one directory for the indexing data structure. The method may also include dynamically modifying how many directory levels are provided for the indexing data structure in response to changes to the data pages within the indexing data structure.
申请公布号 US8930371(B1) 申请公布日期 2015.01.06
申请号 US200812164913 申请日期 2008.06.30
申请人 Amazon Technologies, Inc. 发明人 Retzlaff, III James R.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Lee & Hayes, PLLC 代理人 Lee & Hayes, PLLC
主权项 1. A method for efficiently storing index data on an electronic book (e-book) reader, comprising: storing the index data in data pages within an indexing data structure on the e-book reader, wherein the indexing data structure is stored in a disk file; providing at least one directory for the indexing data structure; and dynamically modifying how many directory levels are provided for the indexing data structure in response to changes to a number of data pages within the indexing data structure, wherein the dynamically modifying includes: identifying an unused memory location within the indexing data structure; andremoving a directory level when changes to the data pages within the indexing data structure includes moving a data page from within the indexing data structure to the unused memory location within the indexing data structure causing the number of data pages within the indexing data structure to decrease such that a directory page corresponding to a lower-level directory is sufficiently large to store the entire lower level directory, wherein each directory page stores a directory of one or more of the data pages, andthe moving the data page to the unused memory location frees disk space formerly storing the data page at the end of the disk file on the e-book reader.
地址 Reno NV US