发明名称 Asynchronous error checking in structured documents
摘要 Systems and methods perform asynchronous error checking on a structured document. In accordance with the systems/methods, a first thread, such as a main application thread of a document editor, parses the document to identify one or more new elements included therein and create copies of the one or more new elements. A second thread, such as a background thread, applies error checking to the copies of the one or more new elements to generate error results corresponding to the one or more new elements. The first thread the uses the error results to indicate errors in association with the one or more new elements.
申请公布号 US9524307(B2) 申请公布日期 2016.12.20
申请号 US201313827313 申请日期 2013.03.14
申请人 Microsoft Technology Licensing, LLC 发明人 Arkhipov Mikhail
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人 Tabor Ben;Minhas Micky
主权项 1. A method for performing error checking on a structured document, comprising: performing by a first thread executing on at least one of one or more processors that are capable of performing multi-threaded executions: identifying one or more new elements in the document;assigning an identifier (ID) to each new element; andstoring a copy of each new element in a first queue, the copy of each new element including the ID associated with the new element and at least one of text and structural information associated with the new element; and performing by a second thread executing on the at least one of the one or more processors: retrieving each copy of each new element from the first queue;applying error checking to each retrieved copy of each new element to detect errors associated therewith; andin response to detecting an error associated with a retrieved copy of a respective new element, generating an error checking result comprising at least the ID associated with the retrieved copy of the respective new element.
地址 Redmond WA US