CN-121979424-A - Document processing method, device, electronic equipment, storage medium and program product
Abstract
The application discloses a document processing method, a device, electronic equipment, a storage medium and a program product, which belong to the technical field of artificial intelligence, wherein the method comprises the steps of receiving a first input of a first document chapter mark in at least two document chapter marks under the condition of displaying a document display interface; the document display interface comprises a first PDF document and a document catalog corresponding to the first PDF document, wherein the document catalog comprises at least two document chapter identifications, and the document chapter content corresponding to the first document chapter identification is displayed in response to a first input.
Inventors
- HUANG ZIXUN
Assignees
- 维沃移动通信有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260123
Claims (11)
- 1. A document processing method, the method comprising: Receiving a first input of a first document chapter identifier of at least two document chapter identifiers under the condition of displaying a document display interface, wherein the document display interface comprises a first PDF document and a document catalog corresponding to the first PDF document, and the document catalog comprises the at least two document chapter identifiers; And in response to the first input, displaying the document chapter content corresponding to the first document chapter identification.
- 2. The method of claim 1, wherein prior to receiving the first input of a first document section identifier of the at least two document section identifiers, the method further comprises: Receiving a second input while displaying the document display interface; and responding to the second input, and displaying a document catalog corresponding to the first PDF document.
- 3. The method of claim 2, wherein the displaying a document catalog corresponding to the first PDF document in response to the second input comprises: and responding to the second input, displaying a document catalog corresponding to the first PDF document, and at least one of the document chapter abstract content, the keywords corresponding to the first PDF document, the terms corresponding to the first PDF document and the term paraphrasing thereof corresponding to the at least two document chapter identifiers.
- 4. The method according to claim 1, wherein the method further comprises: Receiving a fourth input, wherein the fourth input corresponds to the first information; in response to the fourth input, document content matching the first information is highlighted.
- 5. The method according to claim 1, wherein the method further comprises: Receiving a fifth input; and responding to the fifth input, and displaying at least one of each keyword corresponding to the first PDF document and the document position corresponding to each keyword.
- 6. The method of claim 5, wherein the method further comprises: receiving a sixth input of a first keyword of the keywords; highlighting document content matching the first keyword in response to the sixth input, or Receiving a seventh input of a first keyword of the respective keywords; and displaying document summary content matched with the first keyword in response to the seventh input.
- 7. The method according to claim 1, wherein the method further comprises: And displaying the document display interface under the condition of starting the PDF document auxiliary reading function.
- 8. A document processing apparatus is characterized in that the apparatus comprises a receiving module and a display module; The receiving module is used for receiving a first input of a first document chapter mark in at least two document chapter marks under the condition of displaying a document display interface, wherein the document display interface comprises a first PDF document and a document catalog corresponding to the first PDF document, and the document catalog comprises the at least two document chapter marks; the display module is used for responding to the second input received by the receiving module and displaying the document chapter content corresponding to the first document chapter mark.
- 9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the document processing method of any one of claims 1 to 7.
- 10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the document processing method according to any of claims 1 to 7.
- 11. A computer program product, stored in a storage medium, the program product being executed by at least one processor to implement the steps of the document processing method of any one of claims 1 to 7.
Description
Document processing method, device, electronic equipment, storage medium and program product Technical Field The application belongs to the technical field of artificial intelligence, and particularly relates to a document reading method, a document reading device, electronic equipment, a storage medium and a program product. Background At present, in the field of document processing and reading, a portable document format (Portable Document Format, PDF) document is made into a plurality of professional documents, such as common carriers of academic reports, technical manuals and the like, by virtue of the advantages of good cross-platform compatibility, content display stability and the like. However, a part of PDF documents need to search for specific contents in a page-by-page browsing mode, which results in a process of searching for specific contents in the PDF documents, which is time-consuming and labor-consuming and seriously affects the information viewing efficiency of the PDF documents. Disclosure of Invention The embodiment of the application aims to provide a document processing method, a device, electronic equipment, a storage medium and a program product, which can improve the information viewing efficiency of PDF documents. In a first aspect, an embodiment of the present application provides a document processing method, where the document processing method includes receiving a first input of a first document section identifier of at least two document section identifiers under a condition that a document display interface is displayed, the document display interface includes a first PDF document and a document directory corresponding to the first PDF document, the document directory includes at least two document section identifiers, and displaying document section contents corresponding to the first document section identifier in response to a second input. In a second aspect, an embodiment of the present application provides a document processing apparatus, where the document reading apparatus includes a receiving module and a display module. The receiving module is used for receiving a first input of a first document chapter mark in at least two document chapter marks under the condition of displaying a document display interface, wherein the document display interface comprises a first PDF document and a document catalog corresponding to the first PDF document, and the document catalog comprises at least two document chapter marks. And the display module is used for responding to the second input received by the receiving module and displaying the document chapter content corresponding to the first document chapter mark. In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect. In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect. In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect. In a sixth aspect, embodiments of the present application provide a computer program/program product stored in a storage medium, the program/program product being executable by at least one processor to implement the method according to the first aspect. In the embodiment of the application, under the condition of displaying a document display interface, a first input of a first document chapter mark in at least two document chapter marks is received, the document display interface comprises a first PDF document and a document catalog corresponding to the first PDF document, the document catalog comprises at least two document chapter marks, and then, the document chapter content corresponding to the first document chapter mark is displayed in response to a second input. According to the method and the device, the document catalog is generated for the PDF document, any one of at least two document chapter identifiers is input according to the user, and the user directly jumps to the document chapter corresponding to the first document chapter identifier in the document interface, so that the user can conveniently and quickly find the content required by the user, and the user does not need to find the specific content in the PDF document in a page-by-page browsing mode, so that the information viewing efficiency of the PDF document is improved. Drawings FIG. 1 is a flow chart of a document processing method provided b