XML file preprocessing method, apparatus, file structure, reading method and device

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

Active Publication Date: 2007-04-18
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF1 Cites 7 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, file structure, reading method and device
  • XML file preprocessing method, apparatus, file structure, reading method and device
  • XML file preprocessing method, apparatus, file structure, reading method and device

Examples

Experimental program
Comparison scheme
Effect test

example 2

[0107] ---pointer

[0108]

[0109] ------Node 1

[0110]

[0111] The years evaporate,

[0112]

[0113]

[0114] The sword is still bright.

[0115]

[0116]

[0117] -----Node 2

[0118]

[0119] The blood washes the sand field,

[0120]

[0121]

[0122] The rivers return to their hometown.

[0123]

[0124]

[0125]

[0126] --- string table

[0127]

[0128]

[0129]

[0130] Please refer to FIG. 3 , which is a schematic structural diagram of an XML file preprocessing device according to the present invention.

[0131] 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 stru...

example 3

[0199]

[0200]

[0201] ------Node 1

[0202]

[0203] The years evaporate,

[0204]

[0205]

[0206] The sword is still bright.

[0207]

[0208]

[0209] -----Node 2

[0210]

[0211] The blood washes the sand field,

[0212]

[0213]

[0214] The rivers return to their hometown.

[0215]

[0216]

[0217]

[0218]

[0219]

[0220]

[0221]

[0222] 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...

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 ...

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 KINGDEE SOFTWARE(CHINA) CO LTD
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