Method, device and terminal for accelerating web page startup based on object pool
A technology of object pools and web pages, applied in the Internet field, can solve problems such as time-consuming and reduced user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] A method for accelerating web page startup based on an object pool, the method is as follows figure 1 shown, including:
[0055] S101. In response to a webpage start instruction, request a webpage environment object from an object pool; the object pool is used to manage the webpage environment object, and the webpage environment object stores an operating environment required for loading a webpage.
[0056] Specifically, the object pool manages web page environment objects through a stack. The web page environment object is transmitted to the application program that needs to open the web page through a pop action, and the web page environment object is pushed into the object pool through a push action.
[0057] Each webpage environment object includes a webpage initialization method and a release method. The webpage environment object loads the webpage runtime environment through the webpage initialization method. Each webpage environment object managed by the object...
Embodiment 2
[0078] A method for accelerating web page startup based on an object pool, comprising:
[0079] S201. In response to a webpage start instruction, request a webpage environment object from an object pool; the object pool is used to manage the webpage environment object, and the webpage environment object stores an operating environment required for loading a webpage.
[0080] Specifically, the object pool manages web page environment objects through queues. The webpage environment object is transferred to the application program that needs to open the webpage through the action of entering the queue, and the webpage environment object is pushed into the object pool through the action of removing the queue.
[0081] Each webpage environment object includes a webpage initialization method and a release method. The webpage environment object loads the webpage runtime environment through the webpage initialization method. Each webpage environment object managed by the object pool ...
Embodiment 3
[0100] A web page startup acceleration device based on an object pool, such as Image 6 shown, including:
[0101] The web page start command response module 301 is used to request the web page environment object from the object pool in response to the web page start command;
[0102] The object pool module 302 is configured to manage the web page environment object through the object pool, and the web page environment object stores the running environment required for loading the web page;
[0103] A webpage environment object acquisition module 303, configured to acquire the webpage environment object;
[0104] A webpage loading module 304, configured to load a webpage through the webpage environment object;
[0105] The webpage closing instruction response module 305 is configured to release the webpage environment object and return the webpage environment object to the object pool in response to the webpage closing instruction.
[0106] Further, it also includes:
[01...
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