发明名称 Progressive page loading
摘要 Various embodiments provide an ability to load documents and access page content associated with documents while the documents are still being loaded. In at least some embodiments, while a document's structure is being processed in the background, individual pages can be requested. The same can be said for individual documents that comprise a part of a package that contains multiple documents. In at least some embodiments, multiple threads are utilized to enable a document's structure to be built and to enable a user to access portions of the document while the document is being built or loaded.
申请公布号 US9235559(B2) 申请公布日期 2016.01.12
申请号 US200812061627 申请日期 2008.04.02
申请人 Microsoft Technology Licensing, LLC 发明人 Singh Harvinder P.;Gurcan Ahmet;Basak Arindam;McGatha Jesse D.;Slone Justin A.;Dunietz Jerry J.
分类号 G06F17/00;G06F17/22;G06F17/21;G06F17/24;G06F17/30 主分类号 G06F17/00
代理机构 代理人 Lee Sunah;Drakos Kate;Minhas Micky
主权项 1. A system comprising: one or more computer readable storage media devices; computer-readable instructions on the one or more computer readable storage media devices which, when executed, provide a progressive loader configured to use multiple threads, the multiple threads comprising at least a background thread and a user thread, the multiple threads being usable to: enable a document's structure to be built;enable access to portions of the document while the document is being loaded;parse, via the background thread, the document and build an object model associated with the document;enable, via the user thread, an application programing interface (API) call into the object model to consume portions of the document;traverse, based on the API call, the object model while the object model is being built to determine whether a requested portion of the document is represented in the object model;determine that the requested portion of the document is not yet represented in the object model that is being built;responsive to a determination that the requested portion of the document is not yet represented in the object model, block the user thread until a portion of the object model associated with the requested portion of the document is built;build, via the background thread, the portion of the object model associated with the requested portion of the document;message the user thread to indicate that the portion of the object model associated with the requested portion of the document has been built; andunblock the user thread in response to the message.
地址 Redmond WA US