Supercharge Your Innovation With Domain-Expert AI Agents!

XML document tree sequencing method

An extended markup language and document technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problem that the Prufer sequence cannot guarantee connectivity, does not maintain sequence parent-child relationship, and unifies non-leaf nodes and leaf nodes Complete processing and other issues to achieve the effect of saving disk storage space

Inactive Publication Date: 2006-10-11
TSINGHUA UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Currently, the biggest problem with Prufer sequences is that connectivity cannot be guaranteed, that is, the XML document subtrees corresponding to sequences are not connected, and Prufer sequences do not maintain the parent-child relationship between nodes in the sequence
In addition, the Prufer sequence can only process the non-leaf nodes of the XML document tree, and does not unify the complete processing of non-leaf nodes and leaf nodes, which brings inconvenience to many practical applications.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • XML document tree sequencing method
  • XML document tree sequencing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The extensible markup language document tree serialization method proposed by the present invention first traverses the extensible markup language document tree, and uses a depth-first traversal method to assign a unique number to each node in the document tree, and make the numbering continuous ; with the symbol string i(F i ) represents the information of the i-th node in the above-mentioned extensible markup language document tree, where i is the above-mentioned unique number, and F i is the number of the parent node of the i-th node; the sequence of the above-mentioned XML document tree is: 1(F 1 )2(F 2 )…3(F i )…n(F n ), the document nodes in the sequence are arranged in the order of numbers from 1 to n, where n represents the number of nodes in the XML document tree.

[0020] In the above method, the number of the root node of the XML document tree can be specified as 1, and the number of the parent node of the root node can be specified as 0.

[0021] The fo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for sequencing the expandable label language file tree, belonging to the network data processing technique. First, browsing the expandable label language tree; using depth priority browse method to evaluate each note of file tree with one unique serial number, while said serial numbers are continuous; using symbol sequence i (Fi) to express the information of i-th note, while Fi is the serial number of father note of i-th noter; the last sequence is: 1(F1)2(F2)- 3(Fi)-n(Fn), while the file notes of sequence are sequenced from 1 to n. The invention has the advantages that: it can keep the father-son relationship between notes and the order sequence between brother nodes; and it can uniformly treat the non-leaf note and the leaf note of expandable label language file tree; the size of invention is linear related to the size of expandable label language file tree, to save the memory space.

Description

technical field [0001] The invention relates to a serialization method of an extensible markup language document tree, which belongs to the technical field of network data processing. Background technique [0002] With the emergence of a large amount of eXtensible Markup Language (eXtensible Markup Language) data, eXtensible Markup Language is no longer simply to enhance the ability of applications to interpret and manipulate documents obtained from the Internet. It has gradually become an online data exchange and The de facto standard of data representation, and how to effectively store and query these XML data has become a hot spot in academic research. At present, one of the effective ways to solve the query problem of XML document tree is to serialize the XML document tree into a node label sequence of XML document, and then use the method of sequence matching (similar to string matching) to solve the query problem of XML documents. This is the so-called sequence match...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 冯建华钱乾李国良王建勇周立柱
Owner TSINGHUA UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More