Document editing method and device, equipment and storage medium

By receiving input content in the document viewing interface and determining the presentation location of the response content as the editing area or interactive panel, the problem of limited document editing on mobile terminals is solved, the rapid editing and interactive capabilities of mobile terminals are expanded, and the document editing efficiency is improved.

CN120706394AActive Publication Date: 2025-09-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510798891.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-13
Publication Date
2025-09-26
Estimated Expiration
2045-06-13

AI Technical Summary

Technical Problem

Existing document editing applications on mobile devices can usually only conduct question-and-answer interactions, and cannot generate and edit documents in the same application, and the editing function is limited to the computer.

Method used

Provided are a method and device that receive input content in a document viewing interface and determine the presentation location of response content as an editing area or an independent interactive panel based on the input content, thereby expanding the response method and presentation location of the input content and improving the interactive capabilities of document editing.

Benefits of technology

It enables rapid editing and response based on input content in mobile terminals, expands the interactive capabilities of documents, and improves document editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120706394A_ABST
    Figure CN120706394A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a document editing method and device, equipment and a storage medium. The method comprises the following steps: presenting a viewing interface of a document, wherein the viewing interface comprises an input control and an editing area; receiving input content via the input control; and in the viewing interface, providing response content for the input content, in which a presentation position of the response content is determined based on the input content, the presentation position comprising an editing area or an interactive panel independent of the editing area. In this way, the editing efficiency of the document can be improved, and the interaction ability about the document is enriched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for editing documents. Background Art

[0002] With the development of computer technology, the application of intelligent generation and editing technologies is becoming increasingly widespread. For example, in interactive applications targeting media content, media content or media materials can be intelligently generated, and intelligent editing can be used to quickly process media content. For another example, in interactive applications targeting document content, corresponding generation tools or editing tools can be called to quickly process documents. Summary of the Invention

[0003] In a first aspect of the present disclosure, a method for editing a document is provided. The method comprises: presenting a viewing interface for the document, the viewing interface comprising an input control and an editing area; receiving input content via the input control; and providing, in the viewing interface, response content to the input content, wherein a presentation location of the response content is determined based on the input content, and the presentation location comprises the editing area or an interactive panel independent of the editing area.

[0004] In a second aspect of the present disclosure, a device for editing a document is provided. The device includes an interface presentation module, a first content receiving module, and a content response module. The interface presentation module is configured to present a viewing interface for the document, the viewing interface including input controls and an editing area; the first content receiving module is configured to receive input content via the input controls; and the content response module is configured to provide response content to the input content in the viewing interface, wherein the presentation location of the response content is determined based on the input content, and the presentation location includes the editing area or an interactive panel independent of the editing area.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] In a fifth aspect of the present disclosure, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer-executable instructions, which, when executed by a device, cause the device to perform the method of the first aspect.

[0008] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] Figure 1 A schematic diagram illustrating an example environment in which embodiments according to the present disclosure may be implemented;

[0011] Figures 2A to 2H shows an example interface according to some embodiments of the present disclosure;

[0012] Figures 3A to 3F shows example interfaces according to yet other embodiments of the present disclosure;

[0013] Figure 4 A flowchart illustrating an example process for editing a document according to some embodiments of the present disclosure is shown;

[0014] Figure 5 A schematic structural block diagram showing an example apparatus for editing a document according to some embodiments of the present disclosure; and

[0015] Figure 6 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0016] 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.

[0017] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.

[0018] In the description of the embodiments of the present disclosure, 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 term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0019] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0020] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.

[0021] As mentioned above, with the development of computer technology, the application of intelligent generation and editing technologies is becoming increasingly widespread. For example, intelligent generation and editing technologies can be applied in interactive applications for media content, and in interactive applications for document content, corresponding generation and editing tools can be used to process documents.

[0022] In document editing technologies, mobile interactive applications typically rely solely on question-and-answer interaction. Documents generated within one application must be copied to a third-party application for editing. Some applications support both document creation and editing within the same application, but these only work on desktop devices and are not applicable to mobile devices.

[0023] In existing document editing applications, only the document content can be edited, but no interaction such as question and answer is possible regarding the document content.

[0024] Embodiments of the present disclosure provide a solution for editing documents. The solution includes: presenting a viewing interface for the document, the viewing interface including an input control and an editing area; receiving input content via the input control; and providing, in the viewing interface, a response to the input content, wherein the response content is presented in a location determined based on the input content, including the editing area or an interactive panel independent of the editing area.

[0025] In this way, embodiments of the present disclosure can determine corresponding response content based on input content within a document viewing interface, and determine the presentation location of the response content as an editing area or interactive panel within the interface. Thus, embodiments of the present disclosure can effectively expand the response methods for input content and the presentation location of the response content, expand document-based interactive capabilities, and improve document editing efficiency.

[0026] Various example implementations of this solution are described in detail below in conjunction with the accompanying drawings.

[0027] Sample Environment

[0028] Figure 1 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .

[0029] In this example environment 100, electronic device 110 may run an application 120 that supports document editing. Application 120 may be any suitable type of application for editing documents, examples of which may include, but are not limited to, virtual interaction applications, content generation applications, content editing applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.

[0030] exist Figure 1 In the environment 100 , if the application 120 is in an active state, the electronic device 110 may present an interface 150 for supporting document editing through the application 120 .

[0031] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0032] The server 130 may be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports document editing in the electronic device 110.

[0033] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0034] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.

[0035] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0036] Example Interaction

[0037] Figures 2A to 2H 200A to 200H according to some embodiments of the present disclosure. Figure 1 The electronic device 110 is provided as shown.

[0038] In some embodiments, as Figure 2A As shown, electronic device 110 can present interactive interface 200A. As an example, interactive interface 200A can be an interface of a virtual interactive application, such as a conversation interface, or an interface presenting content including media content, documents, etc., or an interface for implementing virtual social interaction, content creation, etc.

[0039] refer to Figure 2A As shown, the exemplary interactive interface 200A presented by the electronic device 110 is a conversation interface in an interactive application. As an example, the conversation interface 200A may correspond to the user 140 and the conversation party 201. The conversation party 201 in this solution may correspond to a physical object or a virtual object, without limitation.

[0040] In this solution, the virtual object can be any suitable processing entity, such as an agent or bot. As an example, the virtual object can be implemented based on any suitable machine learning model, such as a generative model such as a language model.

[0041] Conversation interface 200A may include a conversation area 205. Electronic device 110 provides a first interaction portal 210 in conversation interface 200A. For example, electronic device 110 may receive a user's first interaction content 215 via first interaction portal 210, and may present the first interaction content 215 in conversation area 205. For example, first interaction content 215 may include at least one of the following: text content, audio content, video content, image content, document content, etc.

[0042] In some scenarios, in conversation interface 200A, electronic device 110 may also receive a document generation request from user 140 via first interaction portal 210. For example, electronic device 110 may determine user 140's document generation request based on first interaction content 215. For example, the document generation request may be associated with at least one of the document type, content subject, content type, and purpose corresponding to first interaction content 215.

[0043] Taking conversation party 201 as an example, conversation party 201 can be associated with a pre-trained model. After electronic device 110 determines a document generation request based on first interaction content 215, it can invoke the pre-trained model to process the document generation request and present processing information 215' corresponding to the document generation request in conversation interface 200A. Processing information 215' can, for example, include at least one of the following: the processing status, processing progress, and analysis process of the document generation request.

[0044] In some embodiments, after invoking the model to process the document generation request, the electronic device 110 may also present a viewing interface for the document generated based on the document generation request. For example, the electronic device 110 may present information such as the processing status, progress, analysis process, and content of the generated document in the document viewing interface. For example, the electronic device 110 may stream the content of the generated document in the viewing interface.

[0045] Figure 2B Another example conversation interface 200B between user 140 and conversation party 201 is shown. In conversation interface 200B, electronic device 110 may receive second interaction content 215a from user 140 via first interaction portal 210. For example, second interaction content 215a may indicate the content of the conversation between user 140 and conversation party 201, and may include, for example, a query, prompt text, etc.

[0046] refer to Figure 2B As shown, in response to receiving the second interactive content 215a, the electronic device 110 can present reply content 215a' to the second interactive content 215a in the conversation interface 200B. As an example, the reply content 215a' can include at least one of the following: text content, image content, video content, document content, etc.

[0047] In some embodiments, for example, where reply content 215a' is text content, electronic device 110 may receive a preset operation, such as a selection or trigger operation, for the target conversation content in reply content 215a'. In response to the preset operation on the target conversation content in reply content 215a', electronic device 110 may present an operation panel 220. Operation panel 220 provides at least one operation control.

[0048] As an example, the operation controls provided in the operation panel 220 may indicate any of the following functions: like, dislike, copy, text-to-audio, voice playback, edit, create, share, collect, etc.

[0049] In some scenarios, electronic device 110 may provide an edit control 225 in operation panel 220. For example, edit control 225 may indicate a document generation request associated with the selected target conversation content. For example, via edit control 225, electronic device 110 may trigger a process such as generating a document based on the selected target conversation content, editing the generated document, etc. The document generation request may be associated with at least one of the document type, content subject, content type, and purpose of the document.

[0050] As an embodiment, in response to triggering the edit control 225 , the electronic device 110 may call a pre-trained model to process the document generation request.

[0051] In some embodiments, the electronic device 110 may present processing information corresponding to the document generation request in the conversation interface 200B. For example, the processing information may include at least one of the following: processing status, processing progress, and analysis process of the document generation request.

[0052] In some embodiments, after invoking the model to process the document generation request, the electronic device 110 may also present a viewing interface for the document generated based on the document generation request. For example, the electronic device 110 may present information such as the processing status, progress, analysis process, and content of the generated document in the document viewing interface. For example, the electronic device 110 may stream the content of the generated document in the viewing interface.

[0053] Figure 2C An exemplary viewing interface 200C of a document according to an embodiment of the present disclosure is shown. As an example, the electronic device 110 may present the viewing interface 200C based on a response to the first interactive content 215 in the conversation interface 200A, or may present the viewing interface 200C based on triggering the edit control 225 in the conversation interface 200B.

[0054] refer to Figure 2C As shown, the exemplary viewing interface 200C of the document may include a document editing area 230. In the editing area 230, the electronic device 110 may present the generated document content. For example, the electronic device 110 may present the generated document content in the editing area 230 in a streaming output manner.

[0055] For example, if the length of the generated document content exceeds one page of interface 200C, electronic device 110 may receive a first preset operation on the document content in interface 200C, such as in editing area 230, so that the user can view the entire content of the generated document. For example, the first preset operation on the document content may include an upward or downward sliding operation.

[0056] In some embodiments, the electronic device 110 may also receive a selection or trigger operation on at least a portion of the content of the document in the editing area 230 .

[0057] like Figure 2C As shown, in viewing interface 200C, electronic device 110 may further provide a first input control 240. Through first input control 240, electronic device 110 may receive input content from user 140. As an example, the received input content may be associated with a portion of the document content selected in editing area 230, or may be associated with the entire document content presented in editing area 230.

[0058] In some embodiments, in response to determining a corresponding document generation request in conversation interface 200A or 200B, electronic device 110 may also switch conversation area 205 in the conversation interface to editing area 230 corresponding to viewing interface 200C to display the generated document. Furthermore, electronic device 110 may also switch first interaction entry 210 in conversation interface 200A or 200B to first input control 240 in viewing interface 200C to receive input content for the generated document.

[0059] Continue to refer Figure 2C As shown, the electronic device 110 may also provide a set of interactive controls 250 associated with the generated document in the viewing interface 200C. As an example, the set of interactive controls 250 may include at least one of the following: text-to-audio, voice input, summarization, continuation, smart image matching, video generation, script generation, template citation, template modification, etc.

[0060] As an example, in response to triggering a text-to-audio control, the electronic device 110 may call a model to convert the generated document into audio content for user playback.

[0061] As an example, in response to triggering the voice input control, the electronic device 110 may receive voice content for the generated document and trigger a corresponding interaction process based on the received voice content.

[0062] As an example, in response to triggering the summary control, the electronic device 110 may further generate text content that meets preset requirements based on the generated document content, such as a description text within 50 words or within 200 words.

[0063] As an example, in response to triggering the continue writing control, the electronic device 110 may continue to generate additional content based on the currently generated document to supplement or improve the current document content.

[0064] As an example, in response to triggering the smart image matching control, the electronic device 110 can generate or search for image content that matches the document content based on the currently generated document content, and add the corresponding image content at the corresponding position of the document content, such as the initial position of the document, the middle position of the document and / or the end position of the document.

[0065] As an example, in response to triggering a generate video control or a generate script control, the electronic device 110 may generate video content or script content in a preset format based on the currently generated document content.

[0066] As an example, in response to triggering a reference template control or a modified template control, the electronic device 110 can call the template data in the associated template library to facilitate the user to find or select the corresponding template data therefrom, and adjust the current document content based on the selected template data to present the generated document content in accordance with the presentation style corresponding to the selected template data.

[0067] In some embodiments, in response to triggering the first input control 240, the electronic device 110 may present a corresponding input panel and receive input content via the input panel. Figure 2D shown.

[0068] refer to Figure 2D In the illustrated interface 200D, the electronic device 110 may receive, via the input panel, first input content 245. The first input content 245 may correspond to the entire document content in the editing area 230, or may correspond to a portion of the document content selected from the editing area 230.

[0069] In some scenarios, the first input content 245 may indicate an edit request associated with the generated document. For example, the edit request may include performing at least one of the following operations on the entire document content or the selected portion of the document content in the edit area 230: modify, delete, or replace.

[0070] In some embodiments, before triggering the first input control 240, the electronic device 110 may receive a selection of a portion of the document content 235 from the editing area 230. As an example, the selected portion of the document content 235 may indicate at least one of the following in the generated document: a word, a sentence, or a paragraph. As an example, the electronic device 110 may provide a selected identifier at the presentation location of the selected portion of the document content 235 to distinguish between the selected document content and the unselected document content. After selecting the portion of the document content 235, in response to triggering the first input control 240, the electronic device 110 receives first input content 245, which is associated with the selected portion of the document content 235.

[0071] In some embodiments, the partial document content 235 may be determined based on a user selection or trigger, or based on content input by the user via the first input control 240. For example, the user may input search information via the first input control 240, and the search information may be "Search for XXX." In response to receiving the search information, the electronic device 110 may search for corresponding content in the document presented in the editing area 230 based on the search information, as the partial document content 235.

[0072] In some embodiments, the first input content 245 may indicate a supplement, modification, or deletion of the portion of the document content 235. As an example, the electronic device 110 may insert supplemental content generated based on the first input content 245 into the editing area at a location associated with the selected portion of the document content 235. As an example, the electronic device 110 may also modify the portion of the document content 235 selected in the editing area 230 into regenerated content, which may be generated based on the portion of the document content 235 and the first input content 245. As an example, the electronic device 110 may also delete the selected portion of the document content 235 from the editing area 230 based on the first input content 245.

[0073] like Figure 2D As shown, the electronic device 110 can also present a set of editing controls 260 at an associated position of the input panel, such as above. The set of editing controls 260 can correspond to the entire document content in the editing area 230 or to a portion of the document content 235 selected from the editing area 230.

[0074] As an example, a set of editing controls 260 may include at least one of the following: an expression adjustment control, a continuation control, an expansion control, an abbreviation control, and the like.

[0075] Taking the selected portion of the document content 235 as an example, the expression adjustment control can indicate the modification of the expression words and sentences in the portion of the document 235 to adjust the expression method, expression tone, etc. corresponding to the portion of the document content 235. The continuation control can indicate the addition of additional content on the basis of the portion of the document content 235 as a supplement or improvement to the information expressed by the portion of the document content 235. The expansion control can indicate the expansion rewriting of the portion of the document content 235 to increase the number of words or content details of the rewritten text, thereby enriching the description content or information corresponding to the portion of the document content 235. The abbreviation control can indicate the rewriting of the portion of the document content 235 to reduce the number of words or content details of the rewritten text, so that the modified content is more concise than the portion of the document content 235 and reduces redundant descriptions.

[0076] In some embodiments, after receiving a selection of the portion of the document content 235, the electronic device 110 may determine an editing request associated with the portion of the document content 235 in response to a confirmation operation on the first input content 245, or in response to a triggering operation on any editing control in a set of editing controls 260.

[0077] In some embodiments, the electronic device 110 may call a pre-trained model to process the edit request and may present an information panel. Figure 2E Information panel 270 is shown.

[0078] refer to Figure 2E As shown, electronic device 110 may provide descriptive information 275 for the edit request in information panel 270. As an example, descriptive information 275 may include analysis and processing of the edit request. For example, electronic device 110 may present descriptive information 275 in information panel 270 in the form of a streaming output.

[0079] In some embodiments, in response to completing the analysis and processing of the edit request, the electronic device 110 may obtain response content for the first input content 245, such as modified content after editing the portion of the document content 235. The modified content is obtained by modifying the portion of the document content 235 based on the edit request. As an example, the modified content may be obtained by calling a pre-trained model to edit the portion of the document content 235 based on the edit request, that is, the modified content may be the output content of the model.

[0080] refer to Figure 2F As shown, in response to the analysis and processing of the editing request, or in response to obtaining the modified content 235 ′, the electronic device 110 can stop displaying the information panel 270 and can also replace part of the document content 235 with the modified content 235 ′ in the editing area 230 .

[0081] In this way, the embodiment of the present disclosure can obtain the modified content 235' for the partial document content 235 based on the first input content 245 in the viewing interface, and can replace the selected partial document content 235 with the modified content 235' in the editing area 230, thereby realizing rapid editing of the document and improving document editing efficiency.

[0082] The above is the process of inputting the content 245 to instruct editing of the selected part of the document content 235 .

[0083] In some embodiments, if all document content in the editing area 230 is selected or no document content is selected before receiving the first input content 245, the electronic device 110 may determine, in response to receiving the first input content 245, that the first input content 245 indicates editing of all document content in the editing area 230. For example, the electronic device 110 may rewrite, adjust the order, continue, abbreviate, or expand all document content in the editing area 230.

[0084] For example, after receiving first input content 245 associated with the entire document content, electronic device 110 may provide response content to the first input content 245 and present the response content in the viewing interface. For example, the entire document content in editing area 230 may be replaced with the response content to the first input content 245.

[0085] In some embodiments, in response to receiving a preset operation in the viewing interface, the electronic device 110 may switch the viewing interface to a conversation interface with the conversation party 201. As an example, the preset operation may indicate a confirmation operation on the modified content 235' or a confirmation operation on the document content in the viewing interface 200F.

[0086] Comprehensive Reference Figure 2F and Figure 2G As shown, in the viewing interface 200F, in response to confirmation of the modified content 235 ′ or confirmation of the document content within the viewing interface 200F, the electronic device 110 may present a conversation interface 200G with the conversation party 201 .

[0087] refer to Figure 2G As shown, in response to confirmation of the modified content 235 ′ or the entire document content in the document viewing interface 200F, the electronic device 110 may present content items 280 associated with the generated document in the conversation interface 200G.

[0088] As an example, the content item 280 may include a subject name of the generated document, at least a portion of the document content, and the like.

[0089] In some embodiments, the electronic device 110 may also provide a set of interactive controls 285 associated with the generated document in the content item 280. For example, the set of interactive controls 285 may include at least one of the following: a copy control, a save control, a download control, an expand control, and the like.

[0090] As an example, the copy control can indicate copying the generated document; the save control can indicate saving the generated document to a preset path; the download control can indicate downloading the generated document to a preset path and saving it; the expand control can indicate expanding and presenting the entire contents of the generated document in the session interface, or it can indicate jumping to the document viewing interface to present the entire contents of the generated document.

[0091] In some embodiments, the electronic device 110 may receive a trigger for the content item 280 in the conversation interface and present the viewing interface of the document again. The electronic device 110 may also continue to edit the document content in the viewing interface, for example, receiving a modification or replacement of the document content, or receiving input or other interactive operations on the document content.

[0092] In some embodiments, during the processing of a document generation request or after the processing of the document generation request is completed, the electronic device 110 may present a content item 280 corresponding to the document to be generated or the generated document in the conversation interface. For example, during the processing of the document generation request, the content item 280 may indicate processing progress information of the document generation request; after the processing of the document generation request is completed, the content item 280 may indicate the subject name of the generated document, at least a portion of the document content, etc.

[0093] In some embodiments, during the document generation request processing, or after the document generation request is processed, the electronic device 110 can continue to receive input information from the user 140 in the conversation interface. Figure 2H As shown, after presenting the content item 280 in the conversation interface 200H, the electronic device 110 may continue to receive input information 290 from the user 140 and trigger a conversation process based on the input information 290 .

[0094] In some scenarios, the electronic device 110 may switch the first style corresponding to the content item 280 to the second style in response to receiving the input information 290, for example Figure 2H In this way, the embodiment of the present disclosure can reduce the display area of ​​the content item 280 in the conversation interface, thereby ensuring the information presentation rate in the conversation interface 200H.

[0095] Figures 3A to 3F 300A to 300F according to some embodiments of the present disclosure. Figure 1 The electronic device 110 is provided as shown.

[0096] In some embodiments, as Figure 3AAs shown, electronic device 110 can present interactive interface 300A. As an example, interactive interface 300A can be an interface of a virtual interactive application, such as a conversation interface, or an interface presenting content including media content, documents, etc., or an interface for implementing virtual social interaction, content creation, etc.

[0097] refer to Figure 3A As shown, interface 300A may be a document management interface within application 120. For example, electronic device 110 may present a document list 301 within interface 300A. Document list 301 may be empty or include at least one document description. The document description may include at least one of the following: an image identifier, a document name, a subject description, and a creation or update time.

[0098] In some embodiments, the electronic device 110 may provide a second interaction portal 310 in the interface 300A. As an example, the electronic device 110 may receive a user's third interaction content 315 via the second interaction portal 310. As an example, the third interaction content 315 may include at least one of the following: text content, audio content, video content, image content, document content, etc.

[0099] In some embodiments, electronic device 110 may receive a document generation request from user 140 via second interaction portal 310 in interface 300A. For example, electronic device 110 may determine user 140's document generation request based on received third interaction content 315. For example, the document generation request may be associated with at least one of the document type, content subject, content type, and purpose corresponding to third interaction content 315.

[0100] In some embodiments, after determining the document generation request, the electronic device 110 may call a pre-trained model to process the document generation request and generate a document.

[0101] In some embodiments, the electronic device 110 may also present a document viewing interface to present processing information of the document generation request and the generated document. For example, the processing information may include at least one of the following: processing status, processing progress, analysis process, etc. of the document generation request.

[0102] In some embodiments, the electronic device 110 may provide a template entry in the document management interface 300A. In response to triggering the template entry, the electronic device 110 may present at least one candidate template. For example Figure 3B Interface 300B is shown.

[0103] refer to Figure 3BAs shown, the electronic device 110 can present a set of template tags 320 in the interface 300B. In response to triggering any tag in the set of template tags 320, the electronic device 110 can search for a set of candidate document templates associated with the tag and present them in the interface 300B.

[0104] In some embodiments, in response to triggering a target document template 325 from a set of candidate document templates, the electronic device 110 may determine a document generation request associated with the target document template 325. Furthermore, the electronic device 110 may also call a pre-trained model to process the document generation request to generate a document associated with the target document template 325.

[0105] Figure 3C An exemplary viewing interface 300C of a document according to an embodiment of the present disclosure is shown. As an example, the electronic device 110 may present the viewing interface 300C based on a response to the third interactive content 315 in the interface 300A, or may present the viewing interface 300C based on a triggering of the target template 325 in the interface 300B.

[0106] refer to Figure 3C As shown, the exemplary viewing interface 300C of a document may include a document editing area 330. In the editing area 330, the electronic device 110 may present the generated document content. For example, the electronic device 110 may present the generated document content in the editing area 330 in a streaming output manner.

[0107] For example, if the length of the generated document content exceeds one page of the interface 300C, the electronic device 110 may receive a second preset operation on the document content in the interface 300C, such as in the editing area 330, so that the user can view the entire content of the generated document. For example, the second preset operation on the document content may include an upward or downward sliding operation.

[0108] In some embodiments, the electronic device 110 may also receive a selection or trigger operation on at least a portion of the content of the document in the editing area 330 .

[0109] like Figure 3C As shown, in viewing interface 300C, electronic device 110 may further provide a second input control 340. Through second input control 340, electronic device 110 may receive second input content from user 140. As an example, the received second input content may be associated with a portion of the document content selected in editing area 330, or may be associated with the entire document content presented in editing area 330.

[0110] In some embodiments, the electronic device 110 may further provide a set of interactive controls 350 associated with the generated document in the viewing interface 300C. For example, the set of interactive controls 350 may include at least one of the following: text-to-audio, voice input, summarization, continuation, smart image matching, video generation, script generation, template citation, template modification, etc.

[0111] As an example, in response to triggering a text-to-audio control, the electronic device 110 may call a model to convert the generated document into audio content for user playback.

[0112] As an example, in response to triggering the voice input control, the electronic device 110 may receive voice content for the generated document and trigger a corresponding interaction process based on the received voice content.

[0113] As an example, in response to triggering the summary control, the electronic device 110 may further generate text content that meets preset requirements based on the generated document content, such as a description text within 50 words or within 300 words.

[0114] As an example, in response to triggering the continue writing control, the electronic device 110 may continue to generate additional content based on the currently generated document to supplement or improve the current document content.

[0115] As an example, in response to triggering the smart image matching control, the electronic device 110 can generate or search for image content that matches the document content based on the currently generated document content, and add the corresponding image content at the corresponding position of the document content, such as the initial position of the document, the middle position of the document and / or the end position of the document.

[0116] As an example, in response to triggering a generate video control or a generate script control, the electronic device 110 may generate video content or script content in a preset format based on the currently generated document content.

[0117] As an example, in response to triggering a reference template control or a modified template control, the electronic device 110 can call the template data in the associated template library to facilitate the user to find or select the corresponding template data therefrom, and adjust the current document content based on the selected template data to present the generated document content in accordance with the presentation style corresponding to the selected template data.

[0118] In some embodiments, in response to triggering the second input control 340, the electronic device 110 may present a corresponding input panel and receive second input content via the input panel. As an example, the second input content may indicate a query request associated with the generated document. For example, a query request associated with the selected portion of the document content or the entire document content in the editing area 330. For example, the core idea of ​​the document content, the story summary, etc.

[0119] In some embodiments, in response to confirmation of the second input content, the electronic device 110 may present an interactive panel associated with the second input content. Figure 3D or Figure 3E Interactive panel 360 is shown.

[0120] refer to Figure 3D In the illustrated interface 300D, the electronic device 110 may provide processing information 365 for the second input content 345 in the interactive panel 360. As an example, the processing information 275 may include the analysis and processing process of the second input content 345. For example, the semantic analysis of the second input content 345, the processing progress, the processing results, etc.

[0121] In some embodiments, the electronic device 110 may present the processing information 365 in the interactive panel 360 in the form of streaming output.

[0122] refer to Figure 3E In the illustrated interface 300E, in response to completing the processing of the second input content 345, the electronic device 110 obtains second response content 365' to the second input content 345. As an example, the electronic device 110 may present the second response content 365' to the second input content 345 in the interactive panel 360 in the form of streaming output.

[0123] In some embodiments, the electronic device 110 may further present a set of interactive controls 370 associated with the second response content 365′ in the interactive panel 360. For example, the set of interactive controls 370 may include at least one of the following: a copy control, a voice playback control, a text selection control, a sharing control, an update control, and the like.

[0124] In some embodiments, the copy control may indicate copying the entire content of the second response content 365'; the voice playback control may indicate converting the second response content 365' into voice content and playing it; the text selection control may indicate selecting part of the text in the second response content 365'; the sharing control may indicate sharing at least part of the text in the second response 365', or may indicate sharing the second input content 345 and its second response content 365'; the update control may indicate updating the second response content 365', for example, reprocessing the second input content 345 to update the second response content 365'.

[0125] In some embodiments, in response to receiving an adjustment operation on the interactive panel 360 , the electronic device 110 may adjust the display position or display size of the interactive panel 360 based on the adjustment operation to change the display range of the editing area 330 in the viewing interface.

[0126] In some embodiments, in response to confirmation of the document content presented in the editing area 330, the electronic device 110 may present a document management interface, such as Figure 3F Interface 300F is shown.

[0127] refer to Figure 3F As shown, in response to a confirmation operation on the document content generated in the editing area 330 , the electronic device 110 may present a document description item 305 associated with the generated document content in the document list 301 of the interface 300F.

[0128] As an example, the document description item 305 may include at least one of the following: a document type identifier corresponding to the generated document content, a document name, a subject description, a creation time or an update time, etc. The document type identifier may include an image identifier, a text identifier (such as a title suffix, etc.).

[0129] The disclosed embodiments can directly trigger a document generation request within a document management interface and present a document viewing interface. Within the document viewing interface, users can interact with the generated document, such as asking questions about or summarizing the generated document content. Furthermore, upon confirmation of the document content, corresponding document description items can be presented within the document association interface. In this way, the disclosed embodiments can effectively enrich the triggering path for document generation requests, expand the document generation path, improve the efficiency of document content presentation and interaction, enrich the interactive process based on the generated document content, and enhance the interactive capabilities based on the document content.

[0130] It should be pointed out that the above Figures 2A to 2G as well as Figures 3A to 3FThe embodiment shown is only a partial description of the process of the exemplary embodiment, and does not limit the entire process description of the corresponding embodiment. For example, in the implementation of some scenarios, you can refer to Figures 2A to 2D Corresponding interface combination Figure 3D and Figure 3F The interface shown can also be referred to Figures 3A to 3C Corresponding interface combination Figures 2D to 2F For another example, in some implementation scenarios, before switching from interface 300C to interface 300D, the interface 110 may first switch to reference interface 200D to present the input panel and receive input content, and then, after confirming the input content, switch to interface 300D. In other scenarios, electronic device 110 may further combine the above interfaces or present interfaces not shown above, which will not be described in detail here.

[0131] Example Process

[0132] Figure 4 FIG. 4 is a flow chart illustrating an example process 400 for editing a document according to some embodiments of the present disclosure. The process 400 may be implemented at the electronic device 110. Figure 1 4. The process 400 is described below.

[0133] like Figure 4 As shown, in box 410, the electronic device 110 presents a viewing interface of the document, which includes input controls and an editing area.

[0134] As an example, you can refer to the interface Figures 2C to 2F The interface shown can also be referred to Figures 3C to 3E The interface shown.

[0135] At block 420 , the electronic device 110 receives input content via the input control.

[0136] In box 430, the electronic device 110 provides response content to the input content in the viewing interface, wherein the presentation location of the response content is determined based on the input content, and the presentation location includes an editing area or an interactive panel independent of the editing area.

[0137] In this way, the disclosed embodiments can determine the corresponding response content based on the input content in the document viewing interface, and determine the presentation location of the response content as the editing area or interactive panel in the interface. As a result, the disclosed embodiments can effectively expand the response methods for input content and the presentation location of the response content, expand the interactive capabilities based on documents, and improve document editing efficiency.

[0138] In some embodiments, providing responsive content to input content in a viewing interface includes: presenting the responsive content in an editing area in response to the input content indicating an editing request associated with the document.

[0139] As an example, the input content can refer to Figure 2D The first input content 245 shown, the response content can refer to Figure 2F Modifications 235' are shown.

[0140] In this way, the embodiment of the present disclosure can obtain editing requests associated with the document via input controls in the viewing interface and present corresponding response content in the editing area, thereby quickly editing the content in the editing area and improving document editing efficiency.

[0141] In some embodiments, before presenting the response content in the editing area, process 400 also includes: the electronic device 110 presents an information panel in the viewing interface; presents descriptive information in the information panel, the descriptive information indicating the processing process associated with the input content; and in response to completing the output of the descriptive information, stops presenting the information panel and presents the response content in the editing area.

[0142] As an example, the information panel can refer to Figure 2E Information panel 270 is shown.

[0143] In this way, the embodiment of the present disclosure can display the processing process associated with the input content through the information panel before presenting the response content in the editing area, so that the user can understand information such as the processing progress and processing method of the processing process, so as to clearly display the generation process of the response content and enhance the user's interactive experience.

[0144] In some embodiments, presenting the response content in the editing area includes at least one of the following: inserting first content generated based on the input content in the editing area; modifying second content in the editing area into third content; and deleting fourth content in the editing area.

[0145] In this way, the embodiment of the present disclosure can supplement, modify or delete the document content presented in the editing area based on the input content, enriching the document editing method and improving the flexibility and efficiency of document editing.

[0146] In some embodiments, the second content is determined based on input content; or, the second content is determined based on a selection operation of a user.

[0147] In this way, the embodiment of the present disclosure can determine the document content to be edited based on the input content or the user's selection, ensure the relevance and pertinence between the editing operation on the document and its content to be edited, and improve editing efficiency.

[0148] In some embodiments, in the viewing interface, response content to the input content is provided, including: in response to the input content indicating a query request associated with the document, presenting the response content in the interactive panel, wherein the response content is generated based on the document and the query request.

[0149] As an example, the input content can refer to Figure 3D or Figure 3E The second input content 345 shown, the response content can refer to Figure 3E Second response content 365' is shown.

[0150] In this way, the embodiment of the present disclosure can receive query requests associated with the document in the document viewing interface and present the corresponding response content in the interactive panel, which can effectively enrich the interaction methods for the document and thus improve the interaction capabilities for the document content.

[0151] In some embodiments, the process 400 further includes: in response to receiving an adjustment operation on the interactive panel, the electronic device 110 adjusts the display size of the interactive panel to change the display range of the editing area.

[0152] In this way, the embodiment of the present disclosure can change the display range of the editing area by adjusting the display size of the interactive panel, thereby ensuring the presentation effect of the content in the editing area or interactive panel and enriching the interactive capabilities in the document viewing interface.

[0153] In some embodiments, presenting a viewing interface for a document includes: presenting a conversation interface with a virtual object, the conversation interface including a conversation area; and in response to receiving a first generation request in the conversation interface, switching the conversation area of ​​the conversation interface to an editing area of ​​the viewing interface to display the generated document.

[0154] As an example, the conversational interface can refer to Figure 2A or Figure 2B The interface shown.

[0155] In this way, the disclosed embodiments can receive a document-related generation request via a conversational interface with a virtual object and present the generated document in an editing area of ​​a document viewing interface. Thus, the disclosed embodiments can effectively enrich the acquisition path for document generation requests, as well as the document generation and presentation paths, thereby enriching the interactive capabilities associated with documents.

[0156] In some embodiments, the input content is first input content, and process 400 also includes: the electronic device 110 receives second input content indicating a first generation request via a session control in the session interface; or, based on receiving a selection of the target session content in the session interface, obtains a first generation request associated with the target session content.

[0157] In this way, embodiments of the present disclosure can determine document generation requests based on input received via a conversation control, or based on selection of template conversation content within a conversation interface. Thus, embodiments of the present disclosure can effectively enrich the ways and methods of obtaining document generation requests, the paths for document generation and presentation, and the interactive capabilities associated with documents.

[0158] In some embodiments, process 400 further includes: electronic device 110 replacing the conversation control with an input control in response to the first generation request.

[0159] In this way, the embodiment of the present disclosure can replace the conversation control with the input control after switching the conversation area of ​​the conversation interface to the editing area of ​​the document viewing interface, effectively ensuring the correlation between the input control and the editing area, thereby ensuring the correlation between the input content received via the input control and the document content presented in the editing area, and further ensuring the accuracy and efficiency of document editing.

[0160] In some embodiments, the process 400 further includes: the electronic device 110 switches to a conversation interface presenting the virtual object in response to receiving a preset operation in the viewing interface; and presenting content items associated with the generated document in the conversation interface.

[0161] In this way, the embodiment of the present disclosure can switch the interface back to the session interface based on operations within the viewing interface, and present content items associated with the document in the session interface, which can effectively ensure the continuity of the session process and the association between the session process and the generated document.

[0162] In some embodiments, presenting a viewing interface for the document includes: presenting a viewing interface for the document in response to receiving a second generation request in the document management interface.

[0163] As an example, the document management interface can refer to Figure 3A and Figure 3B The interface shown.

[0164] In this way, the disclosed embodiment can receive a document generation request within the document management interface and jump to the document viewing interface to display the generated document. Thus, the disclosed embodiment can effectively enrich the acquisition path for document generation requests, as well as the document generation and display paths, thereby enriching the interactive capabilities related to documents.

[0165] In some embodiments, the input control is a first input control, and the process 400 further includes: the electronic device 110 receives third input content indicating a second generation request via a second input control in the file management interface.

[0166] As an example, the second input control can refer to Figure 3A The second interactive entrance 310 and the third input content shown can be referenced.

[0167] In this way, the embodiment of the present disclosure can obtain document-related generation requests through the input controls in the file management interface, which can effectively enrich the acquisition path of document generation requests, and enrich the document generation path and display path, thereby enriching the interactive capabilities regarding documents.

[0168] In some embodiments, the process 400 further includes: the electronic device 110 providing a set of candidate document templates in the document management interface; and in response to selecting a target document template from the set of candidate document templates, obtaining a second generation request associated with the target document template.

[0169] In this way, the embodiment of the present disclosure can provide a set of candidate document templates in the document management interface, and obtain corresponding document generation requests based on the triggering of the target document template therein, which can effectively enrich the acquisition path of the document generation request, and enrich the document generation path and display path, thereby enriching the interactive capabilities regarding the document.

[0170] Example devices and equipment

[0171] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 1 shows a schematic structural block diagram of an example apparatus 500 for editing a document according to some embodiments of the present disclosure. The apparatus 500 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0172] like Figure 5 As shown, the apparatus 500 includes: an interface presentation module 510, a first content receiving module 520, and a content response module 530. The interface presentation module 510 is configured to present a document viewing interface, wherein the viewing interface includes an input control and an editing area; the first content receiving module 520 is configured to receive input content via the input control; and the content response module 530 is configured to provide response content to the input content in the viewing interface, wherein the presentation location of the response content is determined based on the input content, and the presentation location includes the editing area or an interactive panel independent of the editing area.

[0173] In some embodiments, the content response module 530 is configured to present responsive content in the editing area in response to the input content indicating an editing request associated with the document.

[0174] In some embodiments, the device 500 also includes a module configured to perform the following processes: presenting an information panel in the viewing interface before presenting the response content in the editing area; presenting descriptive information in the information panel, the descriptive information indicating the processing process associated with the input content; and in response to completing the output of the descriptive information, stopping presenting the information panel and presenting the response content in the editing area.

[0175] In some embodiments, presenting the response content in the editing area includes at least one of the following: inserting first content generated based on the input content in the editing area; modifying second content in the editing area into third content; and deleting fourth content in the editing area.

[0176] In some embodiments, the second content is determined based on input content; or, the second content is determined based on a selection operation of a user.

[0177] In some embodiments, the content response module 530 is configured to: in response to the input content indicating a query request associated with the document, present response content in the interactive panel, where the response content is generated based on the document and the query request.

[0178] In some embodiments, the apparatus 500 further includes a panel adjustment module, which is configured to adjust the display size of the interactive panel in response to receiving an adjustment operation on the interactive panel to change the display range of the editing area.

[0179] In some embodiments, the interface presentation module is configured to: present a conversation interface with the virtual object, the conversation interface including a conversation area; and in response to receiving a first generation request in the conversation interface, switch the conversation area of ​​the conversation interface to an editing area of ​​the viewing interface to display the generated document.

[0180] In some embodiments, the input content is first input content, and the apparatus 500 further includes a first request acquisition module. The first request acquisition module is configured to receive, via a session control in the session interface, second input content indicating a first generation request; or, based on a selection of target session content received in the session interface, acquire the first generation request associated with the target session content.

[0181] In some embodiments, the apparatus 500 further includes a control switching module, which is configured to: replace the conversation control with an input control in response to the first generation request.

[0182] In some embodiments, the apparatus 500 further includes an interface switching module and a content item presentation module. The interface switching module is configured to, in response to receiving a preset operation in the viewing interface, switch to a conversation interface presenting the virtual object; and the content item presentation module is configured to present content items associated with the generated document in the conversation interface.

[0183] In some embodiments, the interface presentation module is configured to present a viewing interface of the document in response to receiving the second generation request in the document management interface.

[0184] In some embodiments, the input control is a first input control, and the apparatus 500 further includes a third content receiving module configured to receive third input content indicating a second generation request via a second input control in the file management interface.

[0185] In some embodiments, the apparatus 500 further includes a template providing module and a second request obtaining module. The template providing module is configured to: provide a set of candidate document templates in the document management interface; and the second request obtaining module is configured to, in response to a selection of a target document template from the set of candidate document templates, obtain a second generation request associated with the target document template.

[0186] like Figure 6 As shown, electronic device 600 is in the form of a general electronic device. Components of electronic device 600 may include, but are not limited to, at least one processor 610 or processing unit, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processor 610 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multi-processor system, multiple processors execute computer-executable instructions in parallel to increase the parallel processing capabilities of electronic device 600.

[0187] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 600.

[0188] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in FIG, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. Memory 620 may include a computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0189] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0190] The input device 650 may be one or more input devices, such as a mouse, keyboard, or trackball. The output device 660 may be one or more output devices, such as a display, a speaker, or a printer. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with the electronic device 600, or with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0191] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0192] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0193] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0194] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0195] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0196] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for editing a document, comprising: Presenting a viewing interface for the document, the viewing interface including input controls and an editing area; receiving input content via the input control; as well as In the viewing interface, response content for the input content is provided, wherein a presentation location of the response content is determined based on the input content, and the presentation location includes the editing area or an interactive panel independent of the editing area.

2. The method according to claim 1, wherein In the viewing interface, providing response content for the input content includes: In response to the input content indicating an edit request associated with the document, the response content is presented in the edit area.

3. The method according to claim 2, wherein: Before presenting the response content in the editing area, the method further includes: presenting an information panel in the viewing interface; presenting descriptive information in the information panel, the descriptive information indicating a processing procedure associated with the input content; and In response to completion of outputting the description information, the information panel is stopped from being presented, and the response content is presented in the editing area.

4. The method according to claim 2, wherein: Presenting the response content in the editing area includes at least one of the following: Inserting first content generated based on the input content into the editing area; Modify the second content in the editing area into the third content; The fourth content in the editing area is deleted.

5. The method according to claim 4, wherein: The second content is determined based on the input content; or The second content is determined based on a selection operation of a user.

6. The method according to claim 1, wherein In the viewing interface, the response content for the input content is provided, including: In response to the input content indicating a query request associated with the document, the response content is presented in the interactive panel, the response content being generated based on the document and the query request.

7. The method according to claim 6, further comprising: In response to receiving an adjustment operation on the interactive panel, the display size of the interactive panel is adjusted to change the display range of the editing area.

8. The method according to claim 1, wherein The viewing interface for presenting the document includes: presenting a conversation interface with the virtual object, wherein the conversation interface includes a conversation area; and In response to receiving a first generation request in the conversation interface, the conversation area of ​​the conversation interface is switched to the editing area of ​​the viewing interface to display the generated document.

9. The method according to claim 8, wherein The input content is first input content, and the method further includes: receiving, via a session control in the session interface, second input content indicating the first generation request; or Based on receiving a selection of target session content in the session interface, obtaining the first generation request associated with the target session content.

10. The method according to claim 8, further comprising: In response to the first generation request, the session control is replaced with the input control.

11. The method according to claim 8, further comprising: In response to receiving a preset operation in the viewing interface, switching to a conversation interface presenting the virtual object; as well as In the conversation interface, content items associated with the generated document are presented.

12. The method according to claim 1, wherein The viewing interface for presenting the document includes: In response to receiving a second generation request in the document management interface, presenting the viewing interface of the document.

13. The method according to claim 12, wherein: The input control is a first input control, and the method further includes: A third input content indicating the second generation request is received via a second input control in the document management interface.

14. The method according to claim 12, further comprising: Providing a set of candidate document templates in the document management interface; as well as In response to selection of a target document template from the set of candidate document templates, the second generation request associated with the target document template is obtained.

15. A device for editing a document, comprising: An interface presentation module is configured to present a viewing interface of a document, wherein the viewing interface includes input controls and an editing area; A first content receiving module is configured to receive input content via the input control; as well as The content response module is configured to provide response content to the input content in the viewing interface, wherein the presentation location of the response content is determined based on the input content, and the presentation location includes the editing area or an interactive panel independent of the editing area.

16. An electronic device comprising: at least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 14 when executed by the at least one processor. 17 . A computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions can be executed by a processor to implement the method according to claim 1 .

18. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • A document editing method and device

    CN109597976A

  • Shared document processing method and device, equipment and computer readable storage medium

    CN112835860A

  • Document editing method and device, equipment and storage medium

    CN114997116A

  • Document creation method and device and storage medium

    CN117473948A

  • Document processing method and device, storage medium and equipment

    CN117555447A