Technique For Skipping Irrelevant Portions Of Documents During Streaming XPath Evaluation
    1.
    发明申请
    Technique For Skipping Irrelevant Portions Of Documents During Streaming XPath Evaluation 审中-公开
    在XPath评估过程中跳过不相关部分文档的技术

    公开(公告)号:US20140215311A1

    公开(公告)日:2014-07-31

    申请号:US14231491

    申请日:2014-03-31

    CPC classification number: G06F17/2247 G06F17/22 G06F17/30929

    Abstract: A method and apparatus are described for summarizing a document. For each node in the document that satisfies a marking criteria, a start and end mark pair is stored in a summary in document order. The start mark specifies a location in the document where the node starts, and the end mark specifies a location in the document where the node ends. When evaluating a query for a hierarchical path, the document is streamed into memory until the mark of a tag matches a start mark in the summary. If that tag does not fit within the path, then streaming of the document may resume at the end mark, thereby skipping the node during streaming evaluation. Translation information may be used to indicate a logical position relative to the marks in the summary when the document is modified.

    Abstract translation: 描述用于总结文档的方法和装置。 对于满足标记条件的文档中的每个节点,开始和结束标记对将以文档顺序存储在摘要中。 开始标记指定文档中节点启动的位置,结束标记指定节点结束的文档中的位置。 当评估分层路径的查询时,文档将流式传输到内存中,直到标记的标记与摘要中的起始标记相匹配。 如果该标签不适合路径,则可以在结束标记处恢复文档的流传输,从而在流评估期间跳过该节点。 当文档被修改时,翻译信息可以用于指示在摘要中相对于标记的逻辑位置。

    Technique for skipping irrelevant portions of documents during streaming XPath evaluation

    公开(公告)号:US10037311B2

    公开(公告)日:2018-07-31

    申请号:US14231491

    申请日:2014-03-31

    CPC classification number: G06F17/2247 G06F16/835 G06F17/22

    Abstract: A method and apparatus are described for summarizing a document. For each node in the document that satisfies a marking criteria, a start and end mark pair is stored in a summary in document order. The start mark specifies a location in the document where the node starts, and the end mark specifies a location in the document where the node ends. When evaluating a query for a hierarchical path, the document is streamed into memory until the mark of a tag matches a start mark in the summary. If that tag does not fit within the path, then streaming of the document may resume at the end mark, thereby skipping the node during streaming evaluation. Translation information may be used to indicate a logical position relative to the marks in the summary when the document is modified.

Patent Agency Ranking