Unlock instant, AI-driven research and patent intelligence for your innovation.

How to read pdf files remotely

A remote reading and file technology, applied in the field of remote reading PDF files, can solve the problems of unable to read and access PDF files, and achieve the effect of improving user experience

Active Publication Date: 2018-04-27
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the current PDF readers are all local PDF readers, they can only read and access local PDF files, but cannot read and access PDF files on the Internet.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] Embodiment 1 provides a method for remotely reading PDF files, the method comprising the following steps:

[0023] (1), the client sends an http request to the server, obtains the length of the PDF file to be read, and creates a temporary file locally, wherein the extension of the temporary file is pdf, and the length of the temporary file is the same as the length of the obtained PDF file to be read.

[0024] (2), the client sends an http request to the server to obtain the header data and tail data of the PDF file to be read, and save the obtained header data and tail data to the temporary file created in step (1), The header data and the tail data are acquired according to a preset data length, specifically, the lengths of the header data and the tail data in this embodiment are both 100KB.

[0025] (3) Parse the PDF header information from the temporary file, search for the xref identifier from the end of the temporary file forward, and parse the object table in the...

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 relates to the technical field of computer software and networks, and provides a method for remotely reading a PDF file in order to read and access the PDF file on the Internet. The method comprises the steps that the length of the PDF file to be read is acquired, and a temporary file is locally created; head data and tail data of the PDF file to be read are acquired, and the acquired head data and tail data are saved in the temporary file; PDF head information is analyzed from the temporary file, xref identities are looked up from the tail to the head of the temporary file, object tables in the xref identities are analyzed after the xref identities are looked up, when a startxref identity is recognized, a next xref table is acquired according to the startxref identity, and then all the xref tables are acquired according to the method; a decoder of a local PDF reader reads the xref tables in the temporary file, and all object objects of the xref tables are read and analyzed. According to the method, the PDF file on the Internet does not need to be read by downloading the PDF file to the locality, and therefore the user experience in the Internet is improved.

Description

technical field [0001] The invention belongs to the technical field of computer software and network, in particular to a method for remotely reading PDF files. Background technique [0002] PDF (short for Portable Document Format, meaning "Portable Document Format") is a file format developed by Adobe Systems for file exchange in a manner independent of applications, operating systems, and hardware. PDF files are based on the PostScript language image model, which can guarantee accurate colors and accurate printing effects no matter what kind of printer is used, that is, PDF will faithfully reproduce every character, color and image of the original. Portable Document Format is an electronic file format. This file format has nothing to do with the operating system platform, that is to say, PDF files are universal whether they are in Windows, Unix or Apple's Mac OS operating system. This feature makes it an ideal document format for electronic document distribution and digit...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/21G06F17/30
CPCG06F16/9574G06F40/106
Inventor 杨毅王昆张言涛
Owner SICHUAN CHANGHONG ELECTRIC CO LTD