XML file data access method

A file data and file technology, applied in the field of efficient and fast data access, can solve problems such as difficult and efficient acquisition of required data

Inactive Publication Date: 2006-06-21
WUXI EVERMORE SOFTWARE
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0023] These two analysis methods are based on sequential reading and writing of files. For some applications that store data in XML format b

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 file data access method
  • XML file data access method

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0033] Such as figure 1 Shown is a schematic flow diagram of the basic technical solution for data access of XML files of the present invention, the steps are as follows:

[0034] Step 101: Import an index file of an XML file into the memory;

[0035] Step 102: Search for identification information in the index file according to a predefined rule, and obtain positioning parameters of the identification information;

[0036] Step 103: Extract the corresponding data object from the XML file according to the positioning parameter of the identification information.

[0037] In step 102, the predefined rule may be a string matching rule. Since the XML file describes data in plain text, and string matching is often applied in a plain text format, the string matching rule is adopted. However, according to the structure of the index file, the pre-defined rules adopted will also change, and it is not limited to the way of string matching.

[0038] In order to accurately locate the data ob...

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 an XML file data access method, which comprises the following steps: judging the index file of XML file exists; establishing the index file if not existing; reading the index file of XML file in the internal memory; finding the mark information in the index file according to the predefined regulation; obtaining the location parameter of marked information; prompting the data object or element in the XML file according to the location parameter of marked information. The invention quickens the data access speed of large-type XML file, which makes the user feel better operation.

Description

Technical field [0001] The invention relates to an XML file data access method, in particular to a method for efficient and fast data access to an XML file by establishing an index file of the XML file. Background technique [0002] The traditional data files of electronic computers are mainly stored and read in a binary manner. This binary data file must be read and written and modified by a special program, so there are greater difficulties in data representation, scalability, user management, and Web applications. With the development of computer technology, the application of the Web has become more and more extensive. Due to the weakness of the interaction and display of binary data files at the Web level, it has gradually been replaced by a new technology-XML (eXtensible Markup Language, Extensible Markup Language) ). XML is a meta-marking language. It provides a structured data description format that can be widely executed and easy to configure. This format is easy to und...

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
CPCG06F16/81
Inventor 郭伟
Owner WUXI EVERMORE SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products