Supercharge Your Innovation With Domain-Expert AI Agents!

XML data storage and access method based on relational database

A technology for data storage and access methods, which is applied in electrical digital data processing, special data processing applications, instruments, etc., and can solve problems such as application performance impact and frequent database access.

Active Publication Date: 2006-08-30
北京神舟航天软件技术股份有限公司
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, frequent access to the database will have a great impact on the performance of the application.

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 data storage and access method based on relational database
  • XML data storage and access method based on relational database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Next, the method for mapping XML data to relational data and persisting it is firstly introduced in the present invention. The so-called persistence simply means storing binary data objects such as Java classes in the database. The use of XML helps to simplify the persistence process of objects, making data persistence a common development process.

[0024] like figure 1 As shown, the method includes the following steps:

[0025] Step 10) Use the SAX interface to implement parsing of XML data.

[0026] In practice, you can use the SAX interface provided in the libxml2 library to implement parsing of XML data. The full name of SAX is Simple APIs for XML, that is, XML Simple Application Programming Interface. SAX provides a mode for sequential access to XML documents. Its basic principle is that the user of the interface provides a processor that conforms to the definition. When XML analysis encounters a specific event, it calls the processing function of the specifi...

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 storing XML data by mapping the XML data into relation data on the basis of relation database and accessing the XML data through DOM interface. The method realizes node-level operation on document by system built-in functions, and permanent DOM interface, thus providing users with more flexible and granular operating mode. As compared with memory-based DOM implementing mode, the method need not completely analyze contents of document before DOM operation, able to operate larger-scale XML data and providing co-current control function of multiuser co-current operation.

Description

technical field [0001] The present invention relates to a method for storing and accessing XML data, in particular to a method for mapping XML data to relational data on the basis of a relational database for storage, and operating the interface through a DOM (Document Object Model, Document Object Model) The method of access. Background technique [0002] XML is the abbreviation of Extensible Markup Language. After it was proposed by the Internet Society (W3C) in 1998, it has been widely used and has become the de facto standard of data exchange and the basis of many emerging technologies such as Web Service. [0003] XML data is structured, which is ideal for large and complex documents. Users can specify not only a vocabulary that defines the elements in a document, but also the relationships between elements. XML also provides a client-side include mechanism that can integrate data from multiple sources and display it as a single document. Data can also be rearranged...

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 Applications(China)
IPC IPC(8): G06F17/30
Inventor 汪源
Owner 北京神舟航天软件技术股份有限公司
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