Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

117 results about "Portable document format" patented technology

The Portable Document Format (PDF) (redundantly: PDF format) is a file format developed by Adobe in the 1990s to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems. Based on the PostScript language, each PDF file encapsulates a complete description of a fixed-layout flat document, including the text, fonts, vector graphics, raster images and other information needed to display it. PDF was standardized as ISO 32000 in 2008, and no longer requires any royalties for its implementation.

File conversion method, device, equipment and program product

The invention provides a file conversion method and device, equipment and a program product, and the method comprises the steps: obtaining a to-be-converted file which is an image file or a portable document format file, i.e., a PDF file; identifying elements in the to-be-converted file, determining attributes of the identified elements based on an identification result, and performing logic layering on the identified elements; the elements comprise texts; generating a structured document based on the logical layering result and the attributes of the identification elements; and converting the structured document or the edited structured document into an editable file in a portable document format, so that the PDF can be edited. According to the method and the device, the automatic conversion from the image or the PDF to the editable PDF is realized, and in the conversion process, through the structured document generated in the middle, while the logic level of the document is improved, a user is supported to carry out instant editing, and the editing efficiency and convenience are improved.
Owner:UCWEB

PDF document content processing method and device, equipment, storage medium and program product

The invention discloses a PDF (Portable Document Format) document content processing method and device, equipment, a storage medium and a program product, and relates to the technical field of document structured processing. Preprocessing the PDF document to obtain a to-be-processed data set corresponding to each page of the PDF document; determining the page type of each page of the PDF document based on all the to-be-processed data sets and the image of each page of the PDF document; and based on the to-be-processed data set corresponding to each directory page and the image of the directory page, extracting a hierarchical structure relationship of each title data in the directory page, and constructing a directory tree. And matching the title data of the directory page and the title data of the non-directory page based on the semantic similarity and the text similarity between the title data of the directory page and the title data of the non-directory page, and correspondingly filling the content data under each title node of the directory tree according to a matching result to obtain a structured representation result of the PDF document. According to the method and the device, the semantic reduction degree and the structural quality of the PDF document are improved.
Owner:CHENGDOU HUAQIYUN TECH CO LTD

Graph retrieval enhancement generation method based on telecom specification multi-mode knowledge graph

The invention discloses a graph retrieval enhancement generation method based on a telecom specification multi-modal knowledge graph, and belongs to the technical field of multi-modal knowledge graphs. The method comprises the following steps of: firstly, analyzing titles, texts, pictures and tables in a PDF (Portable Document Format) by virtue of layout analysis, OCR (Optical Character Recognition) and LLM tools through a telecom standard analysis agent; calling a telecom specification multi-modal extraction agent, and extracting chart names and description information from pictures and tables by using a multi-modal large model; the method comprises the following steps: constructing a title hierarchical structure and extracting a triple from a text block, and constructing a multi-modal, multi-hierarchy and multi-granularity telecommunication specification knowledge graph comprising a title, the text block, a picture, a table and the triple; and finally, calling a telecommunication specification multi-granularity retrieval agent, and deeply combining the knowledge graph with the large model, thereby solving the problem that the traditional RAG cannot perform multi-hop reasoning and relieving the illusion problem possibly occurring in the question and answer process of the large model.
Owner:KEDADUOCHUANG CLOUD NETWORK TECH CO LTD

Multi-modal PDF document analysis method and device, equipment and medium

The invention provides a multi-mode PDF (Portable Document Format) document analysis method, device and equipment and a medium, and the method comprises the following steps: loading a PDF document and carrying out preprocessing, including page splitting and content cleaning, to generate standardized document data; dynamically extracting contents in the standardized document data, wherein the contents comprise paragraphs, pictures and table elements; processing the dynamically extracted pictures, including shielding meaningless pictures based on a preset rule, and analyzing picture contents by using a multi-modal model to generate readable picture information; processing the dynamically extracted table, including optimizing and merging the table structure into a single element format to generate structured table data; combining paragraphs, readable picture information and structured table data, converting the paragraphs, the readable picture information and the structured table data into a complete structured document format, and inserting in key positions to enhance coherence context description; and outputting the complete structured document format as a final analysis result. According to the method, the analysis precision and the knowledge extraction efficiency of the complex PDF document can be remarkably improved.
Owner:深圳市和讯华谷信息技术有限公司

PDF analysis method based on multiple models, electronic equipment and storage medium

The invention provides a PDF (Portable Document Format) analysis method based on multiple models, electronic equipment and a storage medium. The method comprises the following steps: acquiring all element types possibly appearing in a complex PDF by utilizing methods such as rule extraction, layout analysis, table identification, formula detection, formula identification, multi-modal large model chart2text, multi-modal large model paragraph sorting and the like. According to the method, complete structured analysis of the complex PDF can be realized, and scanning pieces and non-scanning pieces can be supported.
Owner:北京中科闻歌科技股份有限公司

Format conversion method of PDF (Portable Document Format) document, storage medium and computer equipment

The invention discloses a PDF document format conversion method, a storage medium and computer equipment. The format conversion method of the PDF document comprises the following steps: analyzing an original PDF document based on a preset document analysis algorithm to extract a plurality of original content blocks of the original PDF document; based on the structure type of each original content block, extracting document content and layout features included in the corresponding original content block; and performing semantic conversion on the document content and the layout features based on a pre-trained large model to obtain a plurality of target content blocks in a preset target format, and arranging each target content block in the target format document based on the position information of the original content block corresponding to each target content block. By means of the method, the content of the PDF document can be efficiently and accurately analyzed and converted into the corresponding target format document, the target format document can keep the document content and layout characteristics of the original PDF document, and the integrity and readability of the converted document are effectively improved.
Owner:XIAN YOUFANG DIGITAL TECH CO LTD

PDF (Portable Document Format) document structured extraction system based on multi-modal language model

The invention discloses a PDF (Portable Document Format) document structured extraction system based on a multi-modal language model, belongs to the technical field of document processing and optical character recognition, and aims at solving the technical problem of how to improve the existing OCR (Optical Character Recognition) technology to improve the analysis capability of a complex document structure and improve the recognition precision of handwritten forms and other non-standard fonts. According to the technical scheme, the system adopts a layered decoupling architecture and comprises an input layer, a preprocessing layer, a reasoning layer, an output layer and a monitoring and fault-tolerant module; wherein the output layer is used for multi-source data access and path management to realize a local file system or S3 cloud storage; the preprocessing layer is used for invalid document filtering and visual feature extraction; the reasoning layer is used for multi-modal model interaction and content processing; the output layer is used for outputting a content aggregation result; and the monitoring and fault-tolerant module is used for realizing real-time state monitoring, resource consumption analysis and exception handling.
Owner:JIANGSU HAIRUO INFORMATION TECHNOLOGY CO LTD

PDF (Portable Document Format) document structured loading method based on image recognition

The invention provides a PDF (Portable Document Format) document structured loading method based on image recognition, which relates to the technical field of image data processing, and comprises the following steps: setting a predetermined extraction scale of a document image based on margin information of a PDF document; obtaining an initial image of the PDF document with a predetermined coarse scale in predetermined extraction scales; introducing a preprocessing strategy to process the initial image to obtain a target image; a target feature parameter set of the target image is collected in a multi-dimensional mode, the loading engine classifier is activated to analyze the target feature parameter set, and a target engine category is determined; and carrying out structured loading on the initial image through the target engine category. The technical problem that in the prior art, due to the fact that a loading engine cannot be adaptively selected according to semantic features and layout forms of images in a PDF document, the image type PDF structure restoration effect is poor is solved, and the technical effect of improving complex PDF document structure reconstruction accuracy and data loading quality is achieved.
Owner:BEIJING GUANGLIANDA YUNTU DREAM TECH CO LTD

PDF (Portable Document Format) document conversion device and method, storage medium and computer equipment

The invention discloses a PDF document conversion device and method, a storage medium and computer equipment. The device comprises a data processing module which converts a PDF document into a to-be-processed image and obtains original image data of an embedded image; the layout analysis module performs region division on the to-be-processed image, and determines a text region, a formula region and a table region of the PDF document; the first recognition module performs content recognition on the text region, the formula region and the table region to generate a text recognition result, a formula recognition result and a table recognition result; the second recognition module generates an image recognition result based on the original image data; the semantic analysis module generates semantic representations of a text recognition result, a formula recognition result, a table recognition result and an image recognition result through a large language model; and the PowerPoint generation module maps the obtained recognition result and semantic representation to a PowerPoint template to generate a final PowerPoint. The accuracy and content richness of generating the presentation file based on the PDF document can be improved.
Owner:GUANGDONG SHANYI NETWORK TECHNOLOGY CO LTD

Document content extraction method, device and equipment and computer readable storage medium

The invention relates to a document content extraction method, device and equipment and a computer readable storage medium. A to-be-extracted target document is obtained, the target document is classified, the document type of the target document is determined, the document type of the target document comprises a portable document format type, a character type, a picture type, an office file type and a hypertext markup language type, and the target document is extracted based on the document type of the target document. And extracting the document content of the target document by adopting an extraction mode corresponding to the document type to obtain a target format document. Compared with the prior art, the document extraction speed can be increased, documents in any format can be compatible, all documents can be converted into the target format, all the documents can be compatible, the character attribute information, the category information, the position information and the background information of any document are reserved, and the document extraction efficiency is improved. And the loss of original information of the document is reduced.
Owner:BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1

Method, system and equipment for generating XML (Extensible Markup Language) file conforming to E2B standard and medium

The invention provides a method, a system, equipment and a medium for generating an XML (Extensible Markup Language) file conforming to an E2B standard, and relates to the field of medical supervision data submission, the method comprises the following steps: preprocessing an input PDF (Portable Document Format) file to generate a standardized image sequence; identifying text, table and formula elements in the image sequence through a multi-modal AI visual model, and performing semantic error correction in combination with a medical field dictionary to generate structured data; based on a preset E2B semantic mapping rule, converting the structured data into an XML node label; xML node labels are injected into the dynamically constructed XSD template, and an initial XML file is generated through multi-layer verification; and outputting the standardized XML file in combination with a self-adaptive rechecking mechanism. Through a multi-mode AI visual model, a UMLS medical ontology library, XSD drive verification and a self-adaptive rechecking mechanism, high-precision, compliant and credible conversion from an unstructured medical document to an E2B standard XML is achieved.
Owner:JIDIAN ZHICHUANG TECHNOLOGY (TIANJIN) CO LTD

PDF image screening method driven by intelligent analysis

The invention discloses a PDF (Portable Document Format) image screening method driven by intelligent analysis, which belongs to the technical field of document processing and comprises the following steps of: intelligently analyzing a plurality of PDF files to obtain a plurality of pieces of image information for format conversion; traversing the plurality of PDF files based on the plurality of bitmap formats for image capture; performing image content identification on the multiple pieces of image information according to the multiple pieces of image proportion data; identifying the plurality of pieces of image information based on a plurality of text data sets, and traversing a plurality of PDF files according to a plurality of image indexes; simulation preselection is carried out based on the target PDF file, full-text search is carried out based on multiple preselected images, preselected feedback information is sent to the remote control terminal, and an image screening instruction is generated to carry out intelligent screening response on the PDF images. According to the method and the device, the problems of low PDF file image processing efficiency and inaccurate information extraction in the prior art are solved, so that a user faces tedious manual screening and processing flows in document management and data analysis.
Owner:BEIJING GUANGLIANDA YUNTU DREAM TECH CO LTD

Multi-modal semantic understanding method and system for unstructured PDF (Portable Document Format) document

The invention discloses a multi-modal semantic understanding method and system oriented to an unstructured PDF document, and relates to the related field of data processing.The method comprises the steps that a relational knowledge representation plan is called to analyze a target PDF document, a target relation framework is obtained, cross-modal alignment processing is conducted on the target relation framework, and a target alignment framework is obtained; performing multi-modal interaction analysis on the target alignment framework to obtain target fusion information; performing reconstruction processing on the target PDF document based on the target fusion information to obtain a target reconstruction document; and taking the semantic information of the target reconstructed document as multi-modal semantic understanding of the target PDF document. The technical problem that the semantic understanding precision is insufficient due to the fact that modal semantic association is missing and interaction is insufficient in existing unstructured PDF document-oriented multi-modal semantic understanding is solved, and the technical effect of improving the semantic understanding precision by integrating the multi-modal information in the document is achieved.
Owner:BEIJING GUANGLIANDA YUNTU DREAM TECH CO LTD

Method and system for translating PDF (Portable Document Format) text containing complex features

The invention belongs to the technical field of text translation, and provides a method and a system for translating a PDF (Portable Document Format) text containing complex features. The method comprises the steps that a PDF analysis engine is initialized, a PDF file is read, and basic information of the PDF file is extracted; judging whether the PDF file is a complex file or not, and recording complex features; preprocessing an image in the complex document, and calling a corresponding text detection model according to the complex features to perform text region identification; and extracting layout information of the text in the text area, translating the text in the text area through a translation model, performing typesetting according to the layout information after a final translation result is obtained, and outputting a target translation file in a user-defined manner. According to the method, the complex content in the PDF document can be intelligently identified, and the original document format is completely reserved in the translation process; meanwhile, multi-language translation is supported, and the accuracy of PDF document translation is guaranteed.
Owner:AFIRSTSOFT CO LTD

PDF (Portable Document Format) file table analysis method

The invention relates to a PDF (Portable Document Format) file table analysis method. The PDF file table analysis method comprises the following steps: a PDF document to picture format conversion step: converting a PDF document page to be analyzed into a picture format; a table region detection step: inputting the converted picture into a pre-trained table recognition OCR model, wherein the model can recognize a table region frame range in the picture; and a table area cutting step: cutting the original picture according to the table position coordinate P provided by the model, and only reserving the picture of the table area frame part. A picture-to-HTML format conversion step: adopting a pre-trained OCR (Optical Character Recognition) model to identify a table space structure in the table picture and contained cell text information and structural features, and then converting the table space structure, the cell text information and the structural features from the picture format into structured table data based on the extracted table space structure, the extracted cell text information and the extracted structural features, and further converting into a table in an HTML format. According to the invention, the accuracy and efficiency of extracting the table information from the PDF file can be improved.
Owner:GUANGZHOU ZIWEIYUN TECH CO LTD

Method, system and equipment for automatically removing watermarks from PDF (Portable Document Format) document and medium

The invention provides a PDF document automatic watermark removing method, system and device and a medium, and the method comprises the steps: analyzing a to-be-processed PDF document, so as to detect whether a PDF page in the analyzed to-be-processed PDF document contains a watermark element of a non-standard watermark type or not; if yes, allocating the PDF page to a first task node in a format conversion task pool, and executing a format conversion task for the PDF page allocated by the first task node through the first task node to obtain a picture file corresponding to the PDF page; distributing the picture file to a second task node in the watermark removing task pool, and executing a watermark removing task for the distributed picture file through the second task node to obtain a new picture file; and generating the watermarking-free PDF document based on the new picture file. According to the method, the standard watermark and the non-standard watermark in the PDF document can be removed efficiently with high quality, and the processes of reading, printing, sharing and the like of the PDF document are smoother.
Owner:WANGXU TECH CO LTD

Structured decomposition and information identification method of multi-modal data, medium and equipment

The invention provides a structural decomposition and information identification method of multi-modal data, a medium and equipment, and the method comprises the steps: obtaining to-be-processed multi-modal literature data, the multi-modal literature data being documents or pictures, the types of the documents including word documents and PDF (Portable Document Format) documents; the method comprises the following steps: converting to-be-processed multi-modal literature data into to-be-processed literature data in an image form, preprocessing the to-be-processed literature data to obtain input image data, inputting the input image data into a field fine-tuning DETR model, identifying a logic region category of the input image data through the field fine-tuning DETR model, obtaining a region category identification result, and outputting the region category identification result. The logic region category comprises a title region, an author region, an abstract region, a text region, an illustration region, a table region, a formula region, a footer region and a reference region; and carrying out differential information extraction on each region category identification result to obtain information corresponding to each region category identification result so as to realize accurate identification of information in the multi-modal data.
Owner:HANGZHOU LIWU YINGJI TECHNOLOGY CO LTD

Classifier for identifying suspicious PDF files to limit deep-scanning

A cloud-based network security system (NSS) is described. The NSS extracts information about a document (e.g., a portable document format (PDF) file) and uses heuristic rules to analyze the information to predict whether the document contains malicious software. Specifically, prior to detonation of the document, object features, code features, and embedded features of the document are extracted. The extracted information is input to a classification engine that applies sets of heuristic rules to groups of the features of the document to provide an output indicating a prediction of whether the document contains malware. A routing engine provides the document for further analysis (e.g., deep scanning) if the document is suspicious or bypasses the further analysis if the document is benign. Security policies can then be applied based on the classification.
Owner:NETSKOPE INC

PDF (Portable Document Format) document processing method and device, equipment and medium

The invention relates to the technical field of computers, and discloses a PDF (Portable Document Format) document processing method, device and equipment and a medium, the method comprises the following steps: carrying out global layout analysis on a PDF document to detect element information of all structural elements in the PDF document, the element information comprising bounding box coordinates, element categories and a reading sequence; based on the bounding box coordinates, cutting out a corresponding local area from the PDF document, and performing content identification on different types of structural elements corresponding to the local area; according to the element category and the reading sequence, carrying out recombination and logic division on a content recognition result obtained by carrying out content recognition to obtain a plurality of logic parts; and for each logic part, constructing a cue word, calling a large language model to carry out thinking chain reasoning so as to extract structured information corresponding to the logic part, and merging the structured information to generate a JSON file. According to the method and the device, the PDF document processing accuracy is improved.
Owner:传申弘安智能(深圳)有限公司 +1

PDF (Portable Document Format) image quick retrieval system fusing content awareness

The invention discloses a PDF image quick retrieval system fused with content awareness, which belongs to the field of document retrieval, and comprises a retrieval task receiving module used for receiving a PDF image retrieval task of a target user; the retrieval expansion module is used for performing verification expansion on the retrieval target words to generate a retrieval keyword list; the content perception retrieval module is used for performing content association retrieval on the PDF file to obtain a plurality of associated image blocks; the deep retrieval module is used for performing deep retrieval on the plurality of associated image blocks to obtain a PDF image retrieval result; and the retrieval feedback module is used for feeding back the PDF image retrieval result to the target user. According to the method and the device, the technical problems of low PDF document image retrieval efficiency and insufficient retrieval result accuracy in the prior art are solved, and the technical effect of improving the accuracy and the efficiency of PDF image retrieval through a mode of combining content perception and depth feature twin constraint is achieved.
Owner:BEIJING GUANGLIANDA YUNTU DREAM TECH CO LTD

Method for identifying PDF (Portable Document Format) file layout based on mask processing

The invention discloses a PDF (Portable Document Format) file layout identification method based on mask processing, and aims to realize accurate identification of various layout elements such as titles, texts, page headers, page footers, tables and pictures in PDF files. According to the method, characters and coordinates in a PDF file are analyzed through MuPDF, different color masks are adopted to replace texts and punctuation marks respectively, original content of a non-text area is reserved, a page picture subjected to mask processing is generated, a training data set is constructed based on the page picture, training is conducted through a target detection model (such as YOLO), and a high-precision layout recognition model is obtained. According to the method, the accuracy and the automation level of PDF layout recognition are effectively improved, and the method has a wide application prospect.
Owner:GOKE HUANYU (NANJING) ELECTRONIC TECH CO LTD

Training Data for Training Artificial Intelligence Agents to Automate Multimodal Software Usage

A system for automating software usage includes an agent configured to automate. The agent is trained on one or more training data sets. The one or more training datasets include one or more of a first training dataset including documents containing text interleaved with images, a second training dataset including text embedded in images, a third training dataset including recorded videos of software usage, a fourth training dataset including portable document format (PDF) documents, a fifth training dataset including recorded videos of software tool usage trajectories, a sixth training dataset including images of open-domain web pages, a seventh training dataset including images of specific-domain web pages, and / or an eighth training dataset including images of agentic trajectories of the agent performing interface automation task workflows.
Owner:ANTHROPIC PBC

PDF (Portable Document Format) document structured analysis method based on weighted overlap ratio

The invention discloses a PDF (Portable Document Format) document structured analysis method based on weighted overlap ratio, which comprises the following steps of: performing layout analysis, standardization and sorting processing on an original PDF document to obtain a layout frame of the original PDF document and a corresponding category label data set; carrying out content object extraction on the original PDF document and constructing to obtain a content object box set of the original PDF document; based on a weighted coincidence degree scoring method, obtaining an optimal attribution layout of the original PDF document content object, and identifying an abnormal scene; based on a configurable rule engine, performing cross validation and deviation correction on the layout frame and the content object frame, and dynamically updating the layout-document content object tree; and based on the dynamically updated layout-document content object tree, outputting an analysis result, and converting and storing the analysis result. According to the method, the problems of inaccurate layout identification, wrong content classification, document content missing and the like are solved, and high-precision, high-robustness and high-flexibility structured analysis of the complex PDF document is realized.
Owner:IOL WUHAN INFORMATION TECH CO LTD

PDF (Portable Document Format) document content identification method and device, equipment and storage medium

The invention provides a PDF (Portable Document Format) document content identification method and device, equipment and a storage medium. The method comprises the following steps: acquiring an access link of an unanalyzed document; downloading the target PDF document from the object storage service according to the access link; when the content region corresponding to the page type in the target PDF document is a text region, dividing the content region into a text region, a table region and an image region according to the page type corresponding to each content region; and when the content region is a text region, extracting a native text character sequence from the text region, and performing similarity calculation on the native text character sequence to generate a semantic coherent paragraph text. According to the method, the sentences with similar semantics in the text region are automatically divided into the same text block based on the cosine similarity, so that the text content with coherent and complete semantics is analyzed from the document, the problem that text paragraphs are broken after document recognition is solved, and the semantic coherence of the document content is effectively improved.
Owner:SHENZHEN ISSMART SCI & TECH CO LTD

Portable document format file editing method, related device and medium

The invention provides a portable document format file editing method, a related device and a medium. The method comprises the following steps: in response to an editing mode entering instruction, downloading an editing engine code from a public access space through an editing engine driving thread; obtaining a content stream queue from the target portable document format file by using the editing engine code; extracting each text object from the content stream queue, and integrating the text objects in the unit area of the target portable document format file into a unit editor corresponding to the unit area; in response to an editing instruction for the unit area, editing the text object in a unit editor corresponding to the unit area, and synthesizing an edited content stream queue based on the edited text object; and performing page rendering based on the edited content stream queue. According to the embodiment of the invention, PDF file editing can be carried out without depending on an editing execution end. The embodiment of the invention is applied to scenes such as document processing, online editing and multi-terminal collaborative editing.
Owner:TENCENT TECH WUHAN

Method and system for automatically converting PCB (Printed Circuit Board) work manuscript data output into PDF (Portable Document Format) and storage medium

The invention provides a method and system for automatically converting PCB work manuscript data output into PDF and a storage medium, and the method comprises the steps: firstly, configuring a gs software package under genesis software; then processing before outputting the work manuscript; obtaining the size of a Set jointed board, judging that the set edge is in the X direction or the Y direction according to the size of the Set jointed board, and adding the inverted corresponding position of the hole symbol graph according to the judgment result; and selecting an output layer name, automatically adding a symbol, and outputting the file in the pdf format to a specified folder. By introducing an automatic program to process customer manuscript and work manuscript PDF data, the working efficiency can be remarkably improved, and errors and cost are reduced.
Owner:VICTORY GIANT TECH HUIZHOU CO LTD

Screen-awareness adjust visualization

A system and method for providing screen-aware adjustment visualizations associated with displays are provided. The system may facilitate training a large language model to generate a plurality of types of content to improve text content associated with at least one document. The system may further facilitate extracting and reconstructing items of content from a portable document format document. The system may further maintain a semantic order of elements associated with the content. The system may further dynamically organize the content within a display of a device.
Owner:META PLATFORMS INC

PDF (Portable Document Format) self-adaptive partitioning method, device, equipment, medium and product

The invention discloses a PDF self-adaptive partitioning method and device, equipment, a medium and a product, and relates to the technical field of data processing, and the method comprises the steps: carrying out the structure reconstruction of an analyzed original PDF document flow, and obtaining a reconstructed PDF document flow; identifying special semantic units, titles and guiding keywords of the reconstructed PDF document flow, integrally replacing the identified special semantic units, judging the continuity of the identified titles, determining segmentation priorities of the titles according to judgment results, and performing segmentation on the titles according to the segmentation priorities. Carrying out semantic binding on the guiding keyword meeting the requirement and the subsequent text to obtain a to-be-segmented PDF document stream; according to the method, the to-be-segmented PDF document stream is subjected to self-adaptive segmentation according to the segmentation priority by adopting the preset multi-level separators, the preliminary segmentation result is obtained, and compared with fixed-length segmentation, the coherence and semantic integrity of the document after PDF segmentation can be guaranteed.
Owner:BEIJING WISDOM TOOTH TECH CONSULTING CO LTD +1

PDF (Portable Document Format) file word embedding method and device and related medium

The invention discloses a PDF (Portable Document Format) file character embedding method and device and a related medium, and the method comprises the following steps: analyzing a content stream of a PDF file to establish a first data set mapped between a text object and a candidate font in the content stream; counting fonts in the first data set and carrying out combination and deduplication to generate a second data set; the measurement parameters in the second data set are analyzed to screen fonts needing to be reserved, and a third data set is obtained; performing font cutting processing on the third data set to construct subset fonts to obtain a fourth data set; generating a subset font dictionary, a font stream and font mapping based on the fourth data set, and associating with a preset document resource to obtain a fifth data set; and embedding the font binary data in the fifth data set into the PDF file to generate a target PDF file. According to the method, the font binary data in the fifth data set obtained through final calculation is embedded into the PDF file, so that the font resource volume of the PDF file is reduced, and the rendering efficiency is improved.
Owner:SHENZHEN JINNIU TECH CO LTD

File conversion method capable of reserving PDF (Portable Document Format) file format

The invention relates to the technical field of data processing, and provides a file conversion method for reserving a PDF file format in order to solve the problem that an existing PDF conversion tool cannot completely reserve an original text structure of a PDF file and convert the original text structure into an Excel format, the invention provides a file conversion method for reserving the PDF file format, the PDF file is read to obtain text information and layout information, and position coordinates of pixel points corresponding to the text information are obtained; generating an XML file through the position coordinates and the layout information; obtaining size information of the PDF file according to the layout information, establishing a two-dimensional list according to the size information, analyzing the XML file, and storing text information in the XML file into the two-dimensional list; and compressing null rows and null columns in the list, and writing data in the two-dimensional list into the Excel object. According to the method, not only are the text layout and structure in the PDF file reserved, but also the accuracy and efficiency of data conversion can be remarkably improved.
Owner:SHANGHAI DINGZAN INFORMATION TECH CO LTD