Intelligent interaction method and system for document

By introducing the ChatGPT natural language processing model into PDF reading tools, a conversational reading interface is generated, solving the problem of outdated interfaces in traditional PDF reading tools and achieving a personalized reading experience and efficient document processing.

CN119645268BActive Publication Date: 2025-10-17SHENZHEN MAIFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411812189.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-10-17
Estimated Expiration
2044-12-10

AI Technical Summary

Technical Problem

Traditional PDF reading tools have outdated interfaces, lack personalized function options, and cannot meet users' customized reading needs.

Method used

This paper provides a document intelligent interaction method that uses the ChatGPT natural language processing model to generate a conversational reading interaction interface, including a tool area, a document outline area, a document current reading area, and a conversation window area. The document assistant monitors the user's content selection in real time and generates responses.

Benefits of technology

It improves the efficiency and experience of PDF reading, and provides personalized features such as document summarization, knowledge extension, and mind map generation to meet users' diverse reading needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645268B_ABST
    Figure CN119645268B_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent interaction method and system of document.The method includes receiving the document uploaded by user, generates document list;Receive the reading request of target document in the document list by user, generate conversational reading interaction interface, the conversational reading interaction interface includes tool area, document outline area, document current reading area and conversation window area;The document summary of the target document is generated and shown in the conversation window area by document assistant, and the document assistant includes ChatGPT natural language processing model;The content selection of the target document in the document current reading area by user is monitored in real time and the question of user is obtained;The answer of the question is generated by the document assistant and is shown in the conversation window area.The application provides a kind of document reading scheme that can be intelligently interacted, improves user reading experience, and can better meet the reading demand of user.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of document processing, and in particular to an intelligent interaction method and system for a document. BACKGROUND

[0002] With the rapid development of Internet technology, online document management and sharing are becoming more and more popular. Taking PDF documents as an example, PDF has become one of the most commonly used document formats due to its cross-platform compatibility and format consistency. Users not only want to view PDF documents online on multiple terminals, but also want to provide customized reading according to user needs, and use AI to analyze document content to improve document processing efficiency and reading experience. Traditional PDF reading tools have an old interface and only provide basic reading functions, which is not convenient for extending personalized function options.

[0003] Therefore, the prior art still needs to be improved and developed. SUMMARY

[0004] The main purpose of the present application is to solve the technical problems mentioned in the background art of the existing document reading tools.

[0005] The first aspect of the present application provides an intelligent interaction method for a document, comprising:

[0006] receiving a document uploaded by a user, and generating a document list;

[0007] receiving a reading request of a target document in the document list by the user, and generating a conversational reading interaction interface, the conversational reading interaction interface comprising a tool area, a document outline area, a document current reading area, and a conversation window area;

[0008] generating and displaying a document summary of the target document in the conversation window area by a document assistant, the document assistant comprising a ChatGPT natural language processing model;

[0009] monitoring and obtaining a question of the user in real time by selecting the content of the target document in the document current reading area;

[0010] generating an answer to the question by the document assistant and displaying it in the conversation window area.

[0011] In an optional embodiment of the first aspect of the present application, the receiving of the reading request of the target document in the document list by the user and the generation of the conversational reading interaction interface comprise:

[0012] receiving a reading request of a target document in the document list by the user, obtaining a document link of the target document and initialization data of the conversational reading interaction interface;

[0013] generating a partition framework of the conversational reading interaction interface based on the initialization data;

[0014] generating a tool set in a tool area of the partition framework;

[0015] obtaining a table of contents of the target document based on the link;

[0016] generating a collapsible and expandable outline tree in a document outline area of the partition framework based on the table of contents;

[0017] displaying a first page of the target document in a document current reading area.

[0018] In an optional implementation of the first aspect of the present application, the generating and displaying of the document summary of the target document in the conversation window area by the document assistant comprises:

[0019] judging whether the page displayed in the document current reading area is the first page of the target document;

[0020] if the current page displayed in the document current reading area is the first page of the target document, obtaining a summary page of the target document by the document assistant, and displaying the full-text summary of the target document in the conversation window area;

[0021] if the current page displayed in the document current reading area is not the first page of the target document, performing content reading and semantic understanding on the current page displayed in the document current reading area by the document assistant, obtaining a page summary of the current page, and displaying the page summary in the conversation window area.

[0022] In an optional implementation of the first aspect of the present application, the real-time monitoring of the user's content selection on the target document in the document current reading area and the obtaining of the user's question comprise:

[0023] obtaining a cursor style of the document current reading area;

[0024] judging whether the cursor style is a text selection cursor;

[0025] binding a highlight selection function to the text selection cursor when the cursor style is the text selection cursor;

[0026] real-time monitoring a moving path of the text selection cursor;

[0027] converting text symbols passed by the moving path into a highlight display style when the text selection cursor selects the text;

[0028] obtaining a text collection in the highlight display style and generating a question input pop-up window.

[0029] receiving a user inputted question through the question input pop-up window.

[0030] In an optional implementation of the first aspect of the present application, the generating an answer to the question by the document assistant and displaying the answer in the conversation window area comprises:

[0031] keyword extraction on the text set of the question by the document assistant;

[0032] knowledge extension on the text set based on the keywords;

[0033] acquiring semantics of the question, and obtaining the answer to the question from the knowledge extension based on the semantics;

[0034] binding and displaying the text set of the question and the answer in the conversation window area.

[0035] In an optional implementation of the first aspect of the present application, after the binding and displaying the text set of the question and the answer in the conversation window area, further comprising:

[0036] obtaining a plurality of associated questions from a historical question record of the text set or a question association relationship library by the document assistant;

[0037] displaying the plurality of associated questions below the answer for the user to click to obtain a more in-depth answer by the document assistant.

[0038] In an optional implementation of the first aspect of the present application, the document uploading manner comprises local document uploading and URL link uploading.

[0039] If the document uploading manner is local document uploading, the receiving a user uploaded document and generating a document list comprises:

[0040] receiving a document selected by the user based on clicking an upload local document option;

[0041] performing legal compliance detection on the document and user rights verification;

[0042] after the legal compliance detection and the user rights verification pass, slicing and uploading the document to an oss system for unified storage management, and generating a document list;

[0043] If the document uploading manner is URL link uploading, the receiving a user uploaded document and generating a document list comprises:

[0044] receiving a URL link uploaded by the user;

[0045] performing legality and compliance detection on the URL link and user right checking;

[0046] after the legality and compliance detection and the user right checking pass, downloading a document based on the URL link and performing document format and document size checking;

[0047] after the document format and the document size checking pass, slicing and uploading the document to an oss system for unified storage management and generating a document list.

[0048] The second aspect of the present application provides a smart interactive system of a document, the smart interactive system comprising:

[0049] a document receiving module configured to receive a document uploaded by a user and generate a document list;

[0050] a reading request receiving module configured to receive a reading request of a target document in the document list by a user, generate a conversational reading interactive interface, and the conversational reading interactive interface comprises a tool area, a document outline area, a document current reading area and a conversation window area;

[0051] an abstract generating module configured to generate and display a document abstract of the target document in the conversation window area by a document assistant, and the document assistant comprises a ChatGPT natural language processing model;

[0052] a question obtaining module configured to monitor and obtain a question of a user in real time by selecting content of the target document in the document current reading area;

[0053] an answer displaying module configured to generate an answer to the question by the document assistant and display the answer in the conversation window area. BRIEF DESCRIPTION OF DRAWINGS

[0054] Figure 1 a flowchart of an exemplary smart interactive method of a document of the present application.

[0055] Figure 2 an interaction mode flowchart of an exemplary document uploading part of the present application.

[0056] Figure 3 a flowchart of an exemplary document interactive interface generation of the present application.

[0057] Figure 4 a flowchart of an exemplary document interactive dialogue of the present application.

[0058] Figure 5 a module composition schematic diagram of an exemplary smart interactive system of a document of the present application. DETAILED DESCRIPTION

[0059] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0060] In the description of the embodiments disclosed in the present invention, if there are terms, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. can refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0061] Taking PDF reading tools as an example, there are currently a variety of solutions for online preview of PDF documents on the market, mainly including: 1) General PDF readers: such as Adobe Acrobat Reader, Foxit Reader, etc. These software provide basic PDF browsing and editing functions, but are mainly desktop applications. 2) Online PDF preview tools: such as cloud services such as Google Docs and Microsoft OneDrive, which allow users to preview and edit PDF documents online, but the functions are relatively limited. 3) Browser plug-ins: such as open source projects such as PDF.js and kkfileview, which preview PDF documents directly through the browser and are suitable for web page embedding, but lack personalized customization capabilities. In general, the interface of traditional PDF reading tools is outdated, and they only provide basic reading functions, which makes it inconvenient to expand personalized function options.

[0062] In order to solve the above problems existing in the prior art PDF document reading, see Figure 1 In a first aspect, the present invention provides a method for intelligent document interaction. Of course, in the present invention, the type of the document includes but is not limited to a PDF document. The method for intelligent document interaction includes:

[0063] S100. Receive documents uploaded by users and generate a document list. In the present invention, the document uploading methods include local document uploading and URL link uploading. The page will combine user rights and interests to prioritize the verification of the legality of the document. After passing the verification, the large file to be uploaded will be divided into multiple smaller fragments, making full use of network bandwidth and server resources, and concurrently uploaded to OSS for unified storage management.

[0064] Specifically, if the document uploading manner is local document uploading, the receiving the user uploaded document and generating the document list comprises: receiving the document selected by the user based on clicking the local document uploading option;

[0065] Performing legal compliance detection on the document and user right benefit verification; after the legal compliance detection and the user right benefit verification pass, slicing and concurrently uploading the document to the oss system for unified storage management, and generating the document list.

[0066] If the document uploading manner is URL link uploading, the receiving the user uploaded document and generating the document list comprises: receiving the URL link uploaded by the user; performing legal compliance detection on the URL link and user right benefit verification; after the legal compliance detection and the user right benefit verification pass, downloading the document based on the URL link, and performing document format and document size verification; after the document format and the document size verification pass, slicing and concurrently uploading the document to the oss system for unified storage management, and generating the document list. The document uploading complete flow of the intelligent interaction method of the document can be as shown in Figure 2

[0067] S200, receiving the user reading request for the target document in the document list, generating a conversational reading interaction interface, the conversational reading interaction interface comprising a tool area, a document outline area, a document current reading area and a conversation window area; in the present application, the user creates a conversation through URL or local document uploading and performs conversation management. When the user selects or switches the document, the document link of the target document is automatically obtained, and the PDF content is read by using the pdf-dist plug-in. The document is displayed in the customized UI interface, for example, functions such as generating and viewing thumbnails and outlines, content search, page switching and zooming are supported.

[0068] In an optional embodiment of the first aspect of the present application, the receiving the user reading request for the target document in the document list and generating a conversational reading interaction interface comprises: receiving the user reading request for the target document in the document list, obtaining the document link of the target document and the initialization data of the conversational reading interaction interface; generating the partition framework of the conversational reading interaction interface based on the initialization data; generating a tool set in the tool area of the partition framework; obtaining the directory of the target document based on the link; generating a foldable and unfoldable outline tree in the document outline area of the partition framework based on the directory; displaying the first page of the target document in the document current reading area.

[0069] ​Specifically, the process of generating the conversational reading interaction interface is as follows: first, the document clicking condition is listened to, the document link of the target conversation is obtained based on the document clicking condition, the PDF viewer and the fragment loading parameter are initialized. A customized static PDF preview interface, a small window view and a toolbar are generated. A small amount of document content parsed in the visual area is rendered to the page node, a text node is generated and mounted, and more document pages are dynamically loaded when the page is scrolled. After the page initialization is completed, the page number is obtained, the placeholder thumbnail is generated, and the document data is dynamically converted into a thumbnail to replace the placeholder when scrolling. The outline data is generated and combined with the tree-shaped control to display, and hierarchical expansion or folding is supported. When the user switches the page or searches the content, the corresponding document content is dynamically rendered, the visual area is scrolled, and the matched text is highlighted when searching. When the user adjusts the zoom ratio, the main content and the document node are subjected to corresponding zooming operation. When the page is closed or destroyed, the corresponding listening task is cancelled. The complete steps of generating the conversational reading interaction interface according to the present application can be shown as follows. Figure 3

[0070] S300, a document summary of the target document is generated and displayed in the conversation window area through a document assistant, and the document assistant includes a ChatGPT natural language processing model; in the present application, while the document content is rendered, the corresponding document assistant is created using ChatGPT, and the document summary is displayed on the right side of the chat area. The user can dynamically summarize chapters, knowledge points and cases, key word training, knowledge extension and the like through the corresponding prompt through the chat mode.

[0071] In an optional embodiment of the first aspect of the present application, the document summary of the target document generated and displayed in the conversation window area through the document assistant includes: judging whether the page displayed in the current reading area of the document is the first page of the target document; if the current page displayed in the current reading area of the document is the first page of the target document, the summary page of the target document is obtained through the document assistant, and the full text summary of the target document is displayed in the conversation window area; if the current page displayed in the current reading area of the document is not the first page of the target document, the content of the current page displayed in the current reading area of the document is read and semantically understood through the document assistant, and the page summary of the current page is obtained. The page summary is displayed in the conversation window area.

[0072] ​In the present application, after the tool area, the document outline area, and the document current reading area are loaded, the system creates a corresponding ChatGPT document assistant, creates a thread to send a corresponding summary prompt, generates a document summary and displays it in the chat area (i.e., the conversation window area). If the user is not satisfied with the first generated summary page summary or page summary content, the user can click the regenerate summary button to generate it again, or chat with AI to obtain more document-related knowledge points.

[0073] S400, real-time monitoring of the user's content selection in the document current reading area of the target document and obtaining the user's questions; in an optional embodiment of the first aspect of the present application, the real-time monitoring of the user's content selection in the document current reading area of the target document and obtaining the user's questions comprises: obtaining the cursor style of the document current reading area; determining whether the cursor style is a text selection cursor; when the cursor style is the text selection cursor, binding a highlight selection function to the text selection cursor; real-time monitoring the movement path of the text selection cursor; when the text selection cursor selects text, converting the characters passed by the movement path into a highlight display style; obtaining a character set in the highlight display style and generating a question input pop-up window; receiving the user's input question through the question input pop-up window. In the present application, a quick instruction function can also be generated at the top of the question input pop-up window, which includes but is not limited to listing keywords, extracting main points, extracting cases, summarizing chapters, generating research reviews, and proposing future development directions. After the user clicks the corresponding quick instruction function, the document assistant will send the corresponding answer generated according to the full text.

[0074] S500, generating the answer to the question by the document assistant and displaying it in the conversation window area. In an optional embodiment of the first aspect of the present application, the generating the answer to the question by the document assistant and displaying it in the conversation window area comprises: keyword extraction of the character set of the question by the document assistant; knowledge extension of the character set based on the keywords; obtaining the semantics of the question, and obtaining the answer to the question from the knowledge extension based on the semantics; binding and displaying the character set of the question and the answer in the conversation window area.

[0075] In an optional implementation of the first aspect of the present application, after the text set of the question and the answer are displayed in the conversation window area, the method further comprises: obtaining a plurality of associated questions from the history question record of the text set or a question association library by the document assistant; and displaying the plurality of associated questions below the answer for the user to click to obtain a more in-depth explanation by the document assistant. In the present application, for example, three related questions are listed below each answer to provide more directions for the user's conversation. For more explanation, click the "Tell me more" button to receive more explanation. When the user wants to change the question that the user has sent and resend it again, just click the edit button next to the question, and the question will be copied to the input box, or select the text content of the answer, select the explanation or reference. The interaction flow of the conversation part of the present application can be as shown in Figure 4

[0076] In other optional implementations of the first aspect of the present application, the intelligent interaction method of the document of the present application can also provide a function of generating a mind map based on the summary of the document. Specifically, on the basis of quickly understanding and assisting in reading the document content through the AI conversation with the ChatGPT document assistant, the user additionally provides the function of generating a mind map. The user clicks to generate a mind map, analyzes the file content by means of AI, summarizes the viewpoints of the file according to the prompt words, and outputs in markdown syntax, and then uses markmap to convert the text into a mind map and render it to the corresponding node on the page for display. The user can perform operations such as zooming in and out, downloading markdown text or png image, regenerating, etc., to facilitate the user to summarize and spread.

[0077] In summary, the present application provides an online reading and intelligent conversation solution based on documents, which helps users easily read and edit PDF files or links on multiple devices. With the help of AI tools, users can quickly understand and assist in reading PDF content, including chapter, knowledge point and case summary, keyword extraction, and knowledge expansion. Our service aims to improve document processing efficiency and reading experience, and provide users with more efficient, secure and personalized PDF reading experience.

[0078] Referring to Figure 5 , the second aspect of the present application provides an intelligent interaction system of a document, the intelligent interaction system comprising:

[0079] a document receiving module 10 for receiving a document uploaded by a user and generating a document list;

[0080] ​The reading request receiving module 20 is configured to receive a reading request of a target document in the document list, and generate a conversational reading interactive interface, which includes a tool area, a document outline area, a document current reading area, and a conversation window area.

[0081] The abstract generating module 30 is configured to generate and display a document abstract of the target document in the conversation window area by a document assistant, wherein the document assistant includes a ChatGPT natural language processing model.

[0082] The question obtaining module 40 is configured to monitor and obtain a question of a user in real time in the document current reading area.

[0083] The answer displaying module 50 is configured to generate an answer to the question by the document assistant and display the answer in the conversation window area.

[0084] In an optional implementation of the second aspect of the present application, the reading request receiving module includes:

[0085] A request receiving unit is configured to receive a reading request of a target document in the document list, and obtain a document link of the target document and initialization data of the conversational reading interactive interface.

[0086] A framework generating unit is configured to generate a partition framework of the conversational reading interactive interface based on the initialization data.

[0087] A tool set generating unit is configured to generate a tool set in the tool area of the partition framework.

[0088] A directory obtaining unit is configured to obtain a directory of the target document based on the link.

[0089] An outline establishing unit is configured to generate a hierarchical foldable and unfoldable outline tree in the document outline area of the partition framework based on the directory.

[0090] A default displaying unit is configured to display a first page of the target document in the document current reading area.

[0091] In an optional implementation of the second aspect of the present application, the abstract generating module includes:

[0092] A first page judging unit is configured to judge whether a page displayed in the document current reading area is a first page of the target document.

[0093] An abstract page displaying unit is configured to, if a current page displayed in the document current reading area is the first page of the target document, obtain an abstract page of the target document by a document assistant, and display a full-text abstract of the target document in the conversation window area.

[0094] a page summary display unit, configured to, if the current page displayed in the document current reading area is not a first page of the target document, perform content reading and semantic understanding on the current page displayed in the document current reading area by the document assistant, obtain a page summary of the current page, and display the page summary in the conversation window area.

[0095] In an optional implementation of the second aspect of the present application, the question obtaining module comprises:

[0096] a cursor style obtaining unit, configured to obtain a cursor style of the document current reading area;

[0097] a cursor judging unit, configured to judge whether the cursor style is a text selection cursor;

[0098] a cursor function binding unit, configured to bind a highlight selection function to the text selection cursor when the cursor style is the text selection cursor;

[0099] a cursor path monitoring unit, configured to monitor a moving path of the text selection cursor in real time;

[0100] a highlight processing unit, configured to convert text symbols passed by the moving path into a highlight display style when the text selection cursor selects the text;

[0101] a text collection obtaining unit, configured to obtain a text collection in the highlight display style and generate a question input pop-up window;

[0102] a question obtaining unit, configured to receive a question input by a user through the question input pop-up window.

[0103] In an optional implementation of the second aspect of the present application, the answer display module comprises:

[0104] a keyword extraction unit, configured to extract keywords from the text collection of the question by the document assistant;

[0105] a knowledge extension unit, configured to extend knowledge based on the keywords and the text collection;

[0106] an answer obtaining unit, configured to obtain semantics of the question, and obtain an answer to the question from the knowledge extension based on the semantics;

[0107] a conversation display unit, configured to display the text collection of the question and the answer in the conversation window area.

[0108] In an optional implementation of the second aspect of the present application, the answer display module further comprises:

[0109] The association question obtaining unit is configured to obtain a plurality of association questions from historical question records of the character set or a question association relationship library by the document assistant.

[0110] The association question display unit is configured to display the plurality of association questions below the answer, so that the user can click the association questions to obtain a more in-depth answer by the document assistant.

[0111] In an optional implementation of the second aspect of the present application, the document uploading manner includes local document uploading and URL link uploading.

[0112] If the document uploading manner is local document uploading, the receiving of the document uploaded by the user and the generation of the document list include:

[0113] receiving the document selected by the user based on clicking the local document uploading option;

[0114] performing legal compliance detection on the document and user right benefit verification;

[0115] After the legal compliance detection and the user right benefit verification pass, the document is sliced and uploaded to an oss system for unified storage management, and a document list is generated;

[0116] If the document uploading manner is URL link uploading, the receiving of the document uploaded by the user and the generation of the document list include:

[0117] receiving the URL link uploaded by the user;

[0118] performing legal compliance detection on the URL link and user right benefit verification;

[0119] After the legal compliance detection and the user right benefit verification pass, a document is downloaded based on the URL link, and document format and document size verification are performed;

[0120] After the document format and the document size verification pass, the document is sliced and uploaded to an oss system for unified storage management, and a document list is generated.

[0121] Furthermore, while operations are depicted in a particular order, this should not be understood as requiring such order nor that all illustrated operations be performed to achieve desirable results. Similarly, while several specific implementation details are discussed, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0122] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. A document intelligent interaction method for a PDF reader, characterized in that: include: Receive documents uploaded by users and generate a document list; receiving a user's request to read a target document in the document list, and generating a conversational reading interactive interface, wherein the conversational reading interactive interface includes a tool area, a document outline area, a document current reading area, and a conversation window area; Generate and display a document summary of the target document in the conversation window area by a document assistant, wherein the document assistant includes a ChatGPT natural language processing model; Real-time monitoring of the user's content selection of the target document in the current reading area of ​​the document and obtaining the user's questions; Generate an answer to the question through the document assistant and display it in the conversation window area; The receiving a user's request to read a target document in the document list and generating a conversational reading interaction interface includes: receiving a user's request to read a target document in the document list, and obtaining a document link of the target document and initialization data of the conversational reading interaction interface; Generating a partition framework of the conversational reading interaction interface based on the initialization data; generating a tool set in a tool area of ​​the partition framework; Obtaining a thumbnail directory of the target document based on the link; Generate a hierarchically foldable and expandable outline tree in the document outline area of ​​the partition framework based on the directory; Displaying the first page of the target document in the current reading area of ​​the document; The generating and displaying of the document summary of the target document in the conversation window area by the document assistant includes: Determine whether the page displayed in the current reading area of ​​the document is the homepage of the target document; If the current page displayed in the current reading area of ​​the document is the homepage of the target document, obtaining the summary page of the target document through the document assistant, and displaying the full text summary of the target document in the session window area; If the current page displayed in the current reading area of ​​the document is not the homepage of the target document, the document assistant reads the content and performs semantic understanding on the current page displayed in the current reading area of ​​the document to obtain a page summary of the current page, and displays the page summary in the conversation window area; Generating the answer to the question by the document assistant and displaying it in the conversation window area includes: Extracting keywords from the text set of the question by the document assistant; Performing knowledge extension on the text set based on the keywords; Obtaining the semantics of the question, and obtaining an answer to the question from the knowledge extension based on the semantics; Binding the text set of the question and the answer to the question and displaying them in the conversation window area; After the text set of the question and the answer are bound and displayed in the conversation window area, the method further includes: Obtaining, by the document assistant, a number of related questions from historical question records of the text collection or a question association database; A number of the related questions are displayed below the answer, so that the user can click on them to obtain a more in-depth answer through the document assistant.

2. The intelligent document interaction method according to claim 1, characterized in that: The real-time monitoring of the user's selection of the content of the target document in the current reading area of ​​the document and obtaining the user's question includes: Get the cursor style of the current reading area of ​​the document; Determine whether the cursor style is a text selection cursor; When the cursor style is the text selection cursor, binding a highlight selection function to the text selection cursor; Performing real-time monitoring on the movement path of the text selection cursor; When the text selection cursor selects a word, the word symbol passed by the movement path is converted into a highlight display style; Obtaining a text set in the highlighted display style and generating a question input pop-up window; The question input pop-up window receives the question input by the user.

3. The intelligent document interaction method according to claim 1, characterized in that: The document uploading method includes local document uploading and URL link uploading; If the document upload method is local document upload, then receiving the document uploaded by the user and generating a document list includes: Receive the document selected by the user based on clicking the upload local document option; Conduct legal compliance checks on the documents and verify user rights; After the legal compliance test and the user rights verification are passed, the document will be sliced ​​and uploaded to the OSS system for unified storage management, and a document list will be generated; If the document is uploaded by a URL link, the steps of receiving the document uploaded by the user and generating a document list include: Receive URL links uploaded by users; Conduct legal compliance checks on the URL link and verify user rights; After the legal compliance check and the user rights verification are passed, the document is downloaded based on the URL link and the document format and file size are verified; After the document format and the document size are verified, the document is sliced ​​and uploaded to the OSS system for unified storage management, and a document list is generated.

4. An intelligent document interaction system for a PDF reader, characterized in that: The intelligent interactive system includes: The document receiving module is used to receive documents uploaded by users and generate a document list; a reading request receiving module, configured to receive a user's reading request for a target document in the document list and generate a conversational reading interactive interface, wherein the conversational reading interactive interface includes a tool area, a document outline area, a document current reading area, and a conversation window area; a summary generation module, configured to generate and display a document summary of the target document in the conversation window area through a document assistant, wherein the document assistant includes a ChatGPT natural language processing model; A question acquisition module, configured to monitor in real time the user's selection of the content of the target document in the current reading area of ​​the document and acquire the user's question; an answer display module, configured to generate an answer to the question through the document assistant and display the answer in the conversation window area; The reading request receiving module includes: a request receiving unit, configured to receive a user's request to read a target document in the document list, and obtain a document link of the target document and initialization data of the conversational reading interaction interface; A framework generating unit, configured to generate a partition framework of the conversational reading interaction interface based on the initialization data; A toolset generating unit, configured to generate a toolset in a tool area of ​​the partition framework; A directory obtaining unit, configured to obtain the directory of the target document based on the link; An outline creation unit, configured to generate a hierarchically foldable and expandable outline tree in a document outline area of ​​the partition framework based on the directory; A default display unit, configured to display the first page of the target document in the current reading area of ​​the document; The summary generation module includes: a homepage determination unit, configured to determine whether the page displayed in the current reading area of ​​the document is the homepage of the target document; a summary page display unit, configured to obtain the summary page of the target document through the document assistant if the current page displayed in the current reading area of ​​the document is the homepage of the target document, and display the full text summary of the target document in the conversation window area; a page summary display unit configured to, if the current page displayed in the current reading area of ​​the document is not the homepage of the target document, read the content and perform semantic understanding on the current page displayed in the current reading area of ​​the document by means of a document assistant, obtain a page summary of the current page, and display the page summary in the conversation window area; The answer display module includes: A keyword extraction unit, configured to extract keywords from the text set of the question using the document assistant; A knowledge extension unit, configured to perform knowledge extension on the text set based on the keywords; an answer acquisition unit, configured to acquire the semantics of the question and obtain an answer to the question from the knowledge extension based on the semantics; A conversation display unit, configured to bind the text set of the question and the answer and display them in the conversation window area; The answer display module also includes: A related question acquisition unit, configured to acquire a number of related questions from the historical question records of the text set or the question association relationship library through the document assistant; The related question display unit is used to display a number of the related questions below the answer, so that the user can click on them to obtain more in-depth answers through the document assistant.