Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

XML file preprocessing method, apparatus, reading method and device

A file reading and preprocessing technology, applied in the computer field, can solve the problems of inconvenient management, hidden dangers, troubles, etc., and achieve the effect of reducing processing links and improving efficiency

Active Publication Date: 2009-02-18
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has the problem of inconvenient management, because when an XML file must correspond to an index file, when multiple XML files are read, due to the existence of multiple index files, the management of the files will be relatively cumbersome and exist. Hidden danger, after writing XML content to form an XML file, it is more troublesome when it is necessary to traverse the XML again to create an index file

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 preprocessing method, apparatus, reading method and device
  • XML file preprocessing method, apparatus, reading method and device
  • XML file preprocessing method, apparatus, reading method and device

Examples

Experimental program
Comparison scheme
Effect test

example 2

[0094] ---pointer

[0095]

[0096] ------Node 1

[0097]

[0098] The years evaporate,

[0099]

[0100]

[0101] The sword is still bright.

[0102]

[0103]

[0104] -----Node 2

[0105]

[0106] The blood washes the sand field,

[0107]

[0108]

[0109] The rivers return to their hometown.

[0110]

[0111]

[0112]

[0113] --- string table

[0114]

[0115]

[0116]

[0117] Please refer to image 3 Shown is a schematic structural diagram of an XML file preprocessing device according to the present invention.

[0118] An XML file preprocessing device 100, comprising: an acquisition unit 111, configured to acquire parameters indicating the physical position and size of each XML node in the XML file in the XML file; a first configuration unit 112, configured to convert the parameters Store in a preset data structure, and set the data struc...

example 3

[0186]

[0187]

[0188]    ------Node 1

[0189]

[0190] The years evaporate,

[0191]

[0192]

[0193] The sword is still bright.

[0194]

[0195]

[0196] -----Node 2

[0197]

[0198] Hot blood washes the battlefield,

[0199]

[0200]

[0201] The rivers return to their hometown.

[0202]

[0203]

[0204]

[0205]

[0206]

[0207]

[0208]

[0209]When reading the XML file shown in Example 3, first, the reading unit 212 reads the header information set in the XML file, and the first indicating unit 2111 identifies the read key field indexOfIndex according to the information. The information is a pointer, and the information adjacent to the key field in the pointer: start="20" length="2" is provided to the reading unit 212, and the reading unit 212 reads the index unit according to the indication of the information Take, after determining that...

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 XML preprocessing method and device. It includes the following steps: getting each XML node physical position and size parameter from the XML file; storing the parameter in the presetting data structure and storing it in the XML file; setting pointer pointed to the data structure in the presetting position of the XML file. The invention also discloses XML fetch method and device. The method includes the following steps: getting physical position and size parameter indicated for index cell; reading the index cell by the parameter indication; getting the physical position and size parameter indicated for each XML node; reading the XML node by the parameter indication. The invention also discloses XML file structure. It can avoid uneasy management caused by many index files and XML files while reading the many XML files.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically relates to an XML file preprocessing method and device, an XML file structure, and an XML file reading method and device. Background technique [0002] The traditional data files of electronic computers are mainly stored and read in binary mode. Data files in this mode must be read, written and modified by special programs. Therefore, in data representation, scalability, user management and Web applications There are greater difficulties. With the development of computer technology, the application of the Web is becoming more and more extensive. Due to the weakness of the interaction and display of binary data files at the Web level, they are gradually replaced by a new technology—XML (Extensible Markup Language, Extensible Markup Language) ). XML is a meta-markup language that provides a format for describing structural data that can be widely implemented and is...

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 KINGDEE SOFTWARE(CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products