A Parallelization Method Based on Embedded Browser CSS Engine
An embedded browser and engine technology, applied in the field of cascading style sheet CSS engine processing, can solve the problems of matching efficiency affecting page loading, no selector classification and DOM node group matching, page parsing, etc., to achieve a good user experience Effects, effects that reduce processing latency and speed up response
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0043] The present invention provides a kind of processing method based on embedded browser CSS engine parallelization, and concrete embodiment is as follows:
[0044] 1. When the browser parses the page, it first enters the main thread of page parsing;
[0045] 2. When the main thread encounters a CSS style sheet or image resource during execution, the newly opened thread starts to load the resource;
[0046] 3. The main thread continues to execute, and when it encounters a CSS style, it starts to call the CSS style parser for style analysis, and at the same time assigns a unique ID number to this style;
[0047] 4. After the style analysis is completed, the processing results will be delivered to the main thread, and the main thread will be arranged according to the ID number;
[0048] 5. After the page parsing in the main thread encounters HTML, the page parsing ends, and the CSS selector is called for selector matching;
[0049] 6. The selector type will be scanned in th...
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