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

Parallel XSLT (Extensible Style-sheet Language Transformation) conversion method and device for use in multi-thread environment

A conversion device and multi-threaded technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as performance optimization, conversion efficiency reduction, biased XPath expressions, etc., to improve performance and efficiency, improve conversion The effect of efficiency and conversion cost balance

Active Publication Date: 2014-04-16
BEIJING INFORMATION SCI & TECH UNIV +1
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among these methods, the XPath query optimization method mainly deals with the efficiency of redundant path queries caused by complex XPath expressions, which greatly improves the efficiency of searching XML source documents, but is biased towards the optimization of XPath expressions rather than Fundamental performance optimization for XSLT
The optimization method using the XSLT element association diagram is oriented to a specific conversion process. When the coverage rate of the XML source document is above 70%, this method may have the opposite effect, which will reduce the conversion efficiency.
Ce Dong and Bailey James proposed the method of template instantiation, which is mainly aimed at the exchange and query of high data volume on the server side, which reduces the running time to a certain extent and improves the conversion efficiency, but it takes some time for static analysis. And this method does not consider the expression contained between "[" and "]" in XPath

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
  • Parallel XSLT (Extensible Style-sheet Language Transformation) conversion method and device for use in multi-thread environment
  • Parallel XSLT (Extensible Style-sheet Language Transformation) conversion method and device for use in multi-thread environment
  • Parallel XSLT (Extensible Style-sheet Language Transformation) conversion method and device for use in multi-thread environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0054] The conversion process of XSLT is a process of converting the input document tree into the result document tree. The process is as follows figure 1 . The principle of XSLT parallel transformation is to split a single XSLT file into multiple XSLT modules that can be parallelized. In the parallel model, such as multi-threading, multiple transformation modules are used to simultaneously transform the XML source document to be transformed. The advantage of execution is to reduce the total conversion time, so as to achieve the purpose of improving performance.

[0055] attached figure 2 A model diagram for XSLT parallel transformation in a multi-threaded environment. Wherein, the task of each conversion thread is to use an XSLT file to convert the XML source document to be converted. Since the XSLT file used by ...

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

Along with the gradual increasing scale of an XML (Extensive Makeup Language) document and more and more complex structure, the conversion performance problem of XSLT (Extensible Style-sheet Language Transformation) becomes a major problem which limits development. The invention provides a parallel XSLT conversion method and device. An XSLT file is partitioned into a plurality of conversion modules, and parallel XSLT conversion is performed by using a multi-thread environment, so that the conversion efficiency is increased. The XSLT file and the conversion situation of training data by each conversion module are analyzed, and automatic parallel partition of the XSLT file can be realized, so that the defects of manual partition are avoided; and moreover, the quantity optimization and conversion cost of each conversion module obtained by partitioning are balanced, so that the XSLT conversion performance and efficiency of a source document in a multi-thread environment can be improved effectively.

Description

technical field [0001] The invention relates to computer document processing technology, in particular to a method and device for automatically parallelizing XSLT files and merging conversion results in a multi-thread environment to improve the XSLT conversion efficiency of XML documents. Background technique [0002] Documents are the most commonly used information resources, but there are currently more than 10,000 documents in the world, and there are more than 300 commonly used document formats, and the compatibility with each other is poor. In order to achieve better compatibility among various document formats, many document standards are provided in the prior art. Extensible Markup Language XML (eXtensible Markup Language) has become the basis for describing various document format standards due to its verifiability, scalability and interoperability. [0003] XSLT (eXtensible Style sheet Language Transformation) is a rule-based transformation language that can transf...

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/22
Inventor 高晓光侯霞李宁
Owner BEIJING INFORMATION SCI & TECH UNIV
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