OFD document webpage end browsing method and system
A document and webpage technology, applied in the Internet field, can solve problems such as browser freezes, long server parsing time, and long waiting time, and achieve the effect of simplifying HTML document structure, reducing rendering pressure, and reducing waiting time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] The steps of the inventive OFD document web page browsing method include:
[0051] Step S1, the browser opens the OFD document, and transmits the OFD document identifier to the server.
[0052]Step S2, the server searches the server cache according to the OFD document identifier. If the server cache misses, the server directly reads and parses the specified page file of the OFD document without decompression, returns the page structure information of the OFD document to the browser, and updates the server at the same time Cache, save the OFD document and its page structure information to the server cache; if the server cache hits, directly return the page structure information of the OFD document to the browser.
[0053] The server cache in the present invention is a two-level cache including a local cache and a remote cache. The functions of local cache and remote cache are the same, storing resource information of OFD documents, including background image, font, text...
Embodiment 2
[0064] On the basis of the first embodiment, a page turning step is also included.
[0065] During the page turning process, if the page is turned within a group, the value of the current page n is automatically updated, and then the page data loading process is executed cyclically. If there is a cross-group page turning, in addition to updating the value of the current page n, the value of the current group m will also be updated, and then the process of group data loading will be executed cyclically. Specifically include:
[0066] Step S6, the user performs a page turning operation;
[0067] Step S7, judging whether it is page turning within the group, if yes, then jump to step S5, if not, then jump to step S4.
Embodiment 3
[0069] This embodiment provides a system for browsing an OFD document on a web page, including a browser end and a server end.
[0070] The server end includes a local cache and a remote cache, the remote cache interacts with at least one local cache, the local cache is used to store data of a single local server, and the remote cache stores data of all servers in a cluster environment.
[0071] The browser end includes a receiving module, a grouping module, a display module and a saving module;
[0072] Receiving module: used to receive the OFD document, and transmit the OFD document identification to the server;
[0073] Grouping module: group OFD files in units of pages, generate HTML grouping tags for all groups, and generate all HTML page tags under the current grouping;
[0074] Display module: used to display the OFD file to be browsed by the user;
[0075] Save module: used to save the background image and text information of browsed pages and pre-generated pages.
...
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