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.

Active Publication Date: 2020-02-07
BEIJING THUNISOFT INFORMATION TECH
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] 1. The opening of the webpage is slow, especially for OFD documents opened for the first time and with a large number of pages. Due to the long parsing time of the server, the waiting time will be very long;
[0013] 2. The page turning is stuck and not smooth, especially for documents with a large number of pages, such as documents with thousands of pages, the page turning experience is quite poor;
[0014] 3. The HTML page document structure i

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • OFD document webpage end browsing method and system
  • OFD document webpage end browsing method and system

Examples

Experimental program
Comparison scheme
Effect test

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.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an OFD document webpage end browsing method and system, and the method comprises the steps: a browser transmitting an OFD document identification to a server, and the server returning the page structure information of an OFD document to the browser; and the browser grouping the OFD documents according to the received information, generating HTML tags of all groups, and generating HTML tags containing pages under the current group; if the current page is the nth page, the browser querying whether the (n-1)th page, the nth page, the (n + 1)th page and the (n + 2)th page are loaded or not in a browser cache, if yes, not processing, and if not, requesting corresponding page data to be loaded to the server. An asynchronous loading mode is adopted, loading is carried out according to needs, waiting time of a browser end is shortened, an HTML document structure is simplified, rendering pressure of a browser can be reduced, and response speed of the browser is improved.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and system for browsing an OFD document on a web page. Background technique [0002] For a long time, most of my country's formatted electronic documents use foreign software products and foreign standards, such as the PDF (Portable Document Format) portable document format that is often used in daily work. In my country, PDF is widely used in electronic publishing, electronic books, document management and other fields. In the field of archives, the sub-standard PDF / A of PDF is mainly used as the long-term preservation format of digital archives. [0003] In addition to foreign standards, some manufacturers’ private format standards are also in use, such as the Founder Apabi CEBX format (Common E-document of Blending XML) used by party committees, the scholar SEP format used by government agencies, and the SEP format used by academic fields. CNKI CAJ format, etc. [0004] ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/957
CPCG06F16/9574
Inventor 刘明赵岳赵国华赵臣张创伟宁柯琳
Owner BEIJING THUNISOFT INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products