US 11,928,165 B2
Method for segmenting PDF document and method for loading PDF document in webpage
Wei Bao, Shenzhen (CN)
Assigned to SHENZHEN SEKORM COMPONENT NETWORK CO., LTD, Shenzhen (CN)
Filed by SHENZHEN SEKORM COMPONENT NETWORK CO., LTD, Shenzhen (CN)
Filed on Dec. 28, 2021, as Appl. No. 17/563,068.
Claims priority of application No. 202011619052.9 (CN), filed on Dec. 30, 2020.
Prior Publication US 2022/0207090 A1, Jun. 30, 2022
Int. Cl. G06F 16/93 (2019.01); G06F 16/958 (2019.01)
CPC G06F 16/93 (2019.01) [G06F 16/958 (2019.01)] 9 Claims
OG exemplary drawing
 
1. A method for loading a PDF document in a webpage, comprising:
a webpage server segmenting a PDF document by using a method for segmenting a PDF document, in order to obtain multiple PDF sub-documents and PDF secondary sub-documents, and providing each of the PDF sub-documents and PDF secondary sub-documents with a corresponding network address;
the webpage server receiving a visit request transmitted from an intelligent terminal for visiting the PDF document, and the webpage server transmitting back one of the PDF sub-documents or one of the PDF secondary sub-documents of the PDF document corresponding to the visit request;
the intelligent terminal receiving and displaying the PDF sub-document or PDF secondary sub-document;
the webpage server receiving successive visit, requests transmitted from the intelligent terminal, and the webpage server transmitting back adjacently arranged PDF sub-documents or PDF secondary sub-documents among the PDF sub-documents or PDF secondary sub-documents;
the intelligent terminal receiving and displaying the PDF sub-documents or PDF secondary sub-documents; and
repeatedly executing the steps of the webpage server receiving successive visit requests transmitted from the intelligent terminal the webpage server transmitting back adjacently arranged PDF sub-documents or PDF secondary sub-documents among the PDF sub-documents or PDF secondary sub-documents and the intelligent terminal receiving and displaying the PDF sub-documents or PDF secondary sub-documents to realize continuous displaying of the PDF sub-documents and the PDF secondary sub-documents of the PDF document,
wherein the method for segmenting a PDF document comprises:
inspecting whether the PDF document includes an original directory structure or not;
if the PDF document includes an original directory structure, segmenting the PDF document into multiple PDF sub-documents according to the original directory structure; and
if the PDF document does not include an original directory structure, segmenting the PDF document into multiple PDF sub-documents according to document contents of the PDF document and a lexical database corresponding to the PDF document.