Web page display method and device
A webpage display and original webpage technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as frequent input and output operations, consume large processor resources, and affect user experience, so as to improve performance and user experience experience, reduce resource consumption, and avoid the effects of input and output operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] see figure 1 , the present embodiment provides a method for displaying a web page, including:
[0040] 101: Parsing and typesetting the downloaded original web page data into a DOM tree;
[0041] Specifically, the downloaded original web page data is parsed and typesetting into a DOM tree by means of a parsing and typesetting engine.
[0042] A DOM tree can generally occupy about 200k of storage space.
[0043] 102: Serialize the DOM tree into an array, and store the array in memory after compression;
[0044] To serialize the DOM tree into an array, you can use the following method to achieve:
[0045] Serialize the root node, child nodes, and public data of the DOM tree in sequence, and write the serialization results of the root node, child nodes, and public data of the DOM tree into the sequential data stream in turn, and convert the sequential data stream into an array. The public data includes, but is not limited to: focus list, current focus information, page...
Embodiment 2
[0056] see figure 2 , the present embodiment provides a device for displaying web pages, including:
[0057] Parsing and typesetting module 201, for parsing and typesetting the downloaded original webpage data into a Document Object Model DOM tree;
[0058]The serialization compression module 202 is used to serialize the DOM tree into an array, and store the array in memory after compression;
[0059] The acquisition module 203 is used to take out the compressed array from the memory when the content of the webpage needs to be displayed;
[0060] The decompression and deserialization module 204 is used to decompress the compressed array and deserialize the decompressed array into a DOM tree;
[0061] The drawing module 205 is used to draw the DOM tree on the screen through the rendering engine.
[0062] see image 3 , the serialization compression module 202 includes: a serialization unit 202a and a compression unit 202b,
[0063] The serialization unit 202a is used to s...
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