Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for buffering node elements when rapidly processing large-scale XML file

A file and element technology, which is applied in the caching field of node elements when quickly processing large XML files, can solve problems such as delaying query response time, affecting XML file processing efficiency, increasing system load, etc., to reduce system resource overhead, query/update The effect of processing flexibility, improving processing efficiency and processing speed

Active Publication Date: 2012-07-04
ELECTRIC POWER RES INST OF STATE GRID ZHEJIANG ELECTRIC POWER COMAPNY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] When XQuery Update Facility handles the query / update tasks of large XML files, querying and updating files takes up a lot of memory space and time, which affects the processing efficiency of XML files, and greatly increases the load of the system and delays the query response time

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
  • Method for buffering node elements when rapidly processing large-scale XML file
  • Method for buffering node elements when rapidly processing large-scale XML file
  • Method for buffering node elements when rapidly processing large-scale XML file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Taking the insertion operation of an XML file as an example, the specific implementation process of the present invention is illustrated:

[0030] ①

[0031] ② George

[0032] ③ john

[0033] ④ Reminder

[0034] ⑤Don't forget the meeting!

[0035] ⑥

[0036] 1. Import the file into the computer memory, and add location and type information for each node while importing. Such as:

[0037] Location

Types of

data

0

0

note

6

0

to

10

2

George

21

0

from

27

2

john

38

0

heading

47

2

Reminder

65

0

the body

71

0

Don't forget the meeting!

[0038] 2. Insert a line after line 4 of the XML file: 2010-08-01 , the corresponding cache file is created.

[0039]

[0040] The ECCB element data in element data 1 and element data 2 are respectively:

[0041]

[...

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

When processing inquiry / update task of large-scale XML file currently, massive internal memory space and time are required, processing efficiency of XML file is influenced, and load of system is greatly improved. The invention discloses a method for buffering node elements when rapidly processing large-scale XML file, including that: an XML file is read into an internal memory, an XML node is analyzed when reading, position and type of node are taken as additional information to be stored into the internal memory, the XML node modified by user is buffered by virtue of a buffer zone, and meanwhile completeness of index information is maintained. The invention buffers content modified by user and processes the content modified by user only, and the processing method reduces usage of internal memory and reduces inquiry response time.

Description

technical field [0001] The invention relates to the W3C standard "Extensible Markup Language (XML) 1.1 (Second Edition"), and relates to a cache processing method for input and edited elements before being saved to a disk when processing large XML file node elements. Background technique [0002] XML data is semi-structured, and there is a structural relationship between node elements, so the necessary structural information needs to be saved in its index records, which leads to changes in the structural relationship of nodes when XML data is updated. [0003] At present, the query languages ​​for XML mainly include Quilt, XML Query Language (XML Query Language, XQuery), XML Path Language (XML Path Language, XPath), and XML Transformation Language (Yet Another Transformation Language, YA TL). The most widely used of these are XQuery and XPath. These two query languages ​​have powerful functions, concise and easy-to-understand syntax, are applicable to various XML data sourc...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 吴俊黄晓明陆承宇楼伯良王松阮黎翔董毅
Owner ELECTRIC POWER RES INST OF STATE GRID ZHEJIANG ELECTRIC POWER COMAPNY