XML (extensible markup language) parallel parsing method for multi-core fragmentation
A parsing method and multi-core technology, applied in the field of multi-core fragmented XML parallel parsing, can solve problems such as busy processors, and achieve the effect of improving XML access rate and processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0072] Such as figure 1 Shown, the inventive method comprises the steps:
[0073] The first step is to construct multi-threaded parallelism: load the XML document that needs to be parsed into the memory, and divide the XML document parsing into multiple threads through user settings. During the operation, the user can set the number of threads according to the computer configuration , and finally get the result of XML parsing quickly through the system multi-threaded parallel parsing of XML:
[0074] 1) Use the FORK-JOIN structure to describe how to create concurrent threads. In the FORK-JOIN structure, a FORK statement generates a new concurrent thread path, and the concurrent thread uses the JOIN statement at its end. After both the original thread and the newly spawned thread reach the JOIN statement, the code continues to execute in a sequential manner. If more concurrent threads are needed, more FORK statements need to be executed.
[0075] 2) Put the thread from FORK ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com