Check patentability & draft patents in minutes with Patsnap Eureka AI!

OFD file online analysis and browsing method and device

A file and browser technology, applied in the Internet field, can solve the problems of OFD file decompression occupying system resources, high browser pressure, low stability, etc., to achieve the effect of improving page turning responsiveness and facilitating selection or copying

Inactive Publication Date: 2020-01-21
BEIJING THUNISOFT INFORMATION TECH
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] (1) As existing browsers continue to increase the security requirements for plug-ins, the stability of browsing based on plug-ins is getting lower and lower;
[0016] (2) The Canves method cannot select and copy text when the client browses;
[0017] (3) The decompression of the OFD file occupies system resources;
[0018] (4) When browsing large files, parsing and drawing all files will cause a lot of pressure on the browser

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 file online analysis and browsing method and device
  • OFD file online analysis and browsing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063]The idea of ​​the present invention is to select the file through the browser when previewing the OFD file, and upload the file to the server, and the ID code of the file will be attached to the upload. The server will first extract all the resources under the Res directory in the OFD file to the folder named by the document ID on the server, and parse OFD. Generate standard HTML and CSS, and then trigger the pre-generation service to start generating HTML and CSS of other page number files page by page from this page onwards. After the page is turned by the client, if the server does not have the corresponding HTML and CSS files, after the page is generated, the pre-generation service will be triggered again from the page turned; if the server has already pre-generated the corresponding HTML and CSS files, the pre-generated files are directly used for front-end display.

[0064] The client refers to the user, and the server refers to the online analysis and browsing de...

Embodiment 2

[0095] Embodiment 2 of the present invention provides a device for online parsing and browsing of OFD files, including: a receiving module, an parsing module, a display module and a saving module.

[0096] Receiving module: receiving the OFD file, and extracting public resource files in the OFD file.

[0097] Parsing module: parse the Document.xml file in the OFD file, and parse the page specified by the client to browse and generate HTML and CSS; pre-generate and save the HTML and CSS of the page after the specified page;

[0098] Display module: render the generated HTML and CSS of the specified page.

[0099] Save module: used to save the pre-generated HTML and CSS, which is convenient for the client to directly retrieve the HTML and CSS of the corresponding page after turning the page.

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 file online analysis and browsing method and device, and the method comprises the steps: analyzing a file of a specified page number of a client, generating standard HTMLand CSS, triggering a pre-generation service, and starting to generate HTML and CSS of other page number files page by page after the specified page; after page turning of the client, if the server does not pre-generate the corresponding HTML and CSS files, generating a page after page turning, and continuing to trigger the pre-generation service again from the page after page turning; and if theserver pre-generates the HTML and CSS files corresponding to the page turning page, directly utilizing the pre-generated files to perform front-end display. According to the method, the OFD files donot need to be completely decompressed, and the page turning response capability is improved by pre-generating the files. According to the invention, the text format can be directly generated, so thata user can select or copy characters on a webpage conveniently.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and device for online parsing and browsing of OFD files. Background technique [0002] OFD is one of my country's electronic format document standards. It is the format standard for the exchange and storage of electronic documents in my country. It has the characteristics of a fixed format. The solidified results of typesetting requirements for various documents can be carried by this standard. At present, most OFD files are browsed through the client. With the widespread use of OFD files, there is an imminent need for how to open, display and even manipulate OFD files in a browser. [0003] There are two main solutions for browsing OFD documents online: [0004] The first method: browser plug-in method, the main operation steps are: [0005] (1) Install the OFD reading plug-in of the browser; [0006] (2) The installed plug-in displays the OFD file by calling the local r...

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/9577
Inventor 贺敏赵岳刘明王建超鲍宁赵臣
Owner BEIJING THUNISOFT INFORMATION TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More