Electronic document processing method, device, terminal, and storage medium

The method and device for processing electronic documents address the inefficiencies of copy-and-paste operations by allowing for seamless association and sharing document content, enabling quick and efficient association and sharing document content, enhancing user experience and workflow efficiency.

JP7782866B2Active Publication Date: 2025-12-09BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023551725
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-03-01
Filing Date
2022-03-01
Publication Date
2025-12-09
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

Existing methods for processing electronic documents require repetitive copy-and-paste operations and lack efficient mechanisms for associating and sharing document content, leading to a poor user experience, especially in scenarios where permissions and collaboration are involved.

Method used

A method and device for processing electronic documents that determine target content from a first document in response to a content determination operation and create a second document associated with the first document based on the target content, allowing for seamless association and sharing without the need for manual copy-and-paste, using gestures, voice commands, or preset symbols for document creation and sharing.

Benefits of technology

This approach significantly enhances user experience by enabling quick and efficient generation of associated documents, managing permissions, and facilitating collaborative operations, reducing the need for repetitive operations and improving workflow efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007782866000001
    Figure 0007782866000001
  • Figure 0007782866000002
    Figure 0007782866000002
  • Figure 0007782866000003
    Figure 0007782866000003
Patent Text Reader

Abstract

The present disclosure provides a method, device, terminal, and storage medium for processing electronic documents. SOLUTION: A method for processing electronic documents includes the steps of: determining target content from the document content of a first document in response to a document content determination operation in a current display interface (S11); and creating a second document associated with the first document in response to a document creation operation in the current display interface (S12), where the second document and the first document are associated based on the target content. The method in the embodiment of the present disclosure can quickly generate the second document associated with the content of the first document, and does not require the user to repeatedly copy and paste or associate, which greatly improves the user's usage experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application is based on and claims priority from a Chinese patent application bearing application number 202110226953.X, filing date March 1, 2021, and title "Electronic document processing method, device, terminal, and storage medium," the entire contents of which are incorporated herein by reference.

[0002] [Technical field] The present disclosure relates to the field of computers, and more particularly to a method, device, terminal, and storage medium for processing electronic documents. [Background technology]

[0003] With the development of computer technology, electronic documents have become widely used. Electronic documents are typically stored on a server or on a local client where they can be accessed and edited by authorized users. Summary of the Invention [Means for solving the problem]

[0004] The present disclosure provides a method, device, terminal, and storage medium for processing electronic documents.

[0005] The present disclosure employs the following technical solutions: In some embodiments, the present disclosure provides a method for processing electronic documents, including: determining target content from document content of a first document in response to a document content determination operation in a current display interface; and creating a second document in an association relationship with the first document in response to a document creation operation in the current display interface, wherein the second document and the first document are associated based on the target content.

[0006] In some embodiments of the present disclosure, a method for processing an electronic document is proposed, including: in response to receiving a first document, determining the authority information of a current user for a second document embedded in the first document; and if the current user does not have a preset authority for the second document, displaying related information of the second document and an authority application identifier according to a preset style.

[0007] In some embodiments, a method for processing an electronic document is proposed, which includes the steps of: selecting, in a current display interface, a target document content, which is a portion of the document content of a first document, from the document content of the first document in response to a selection operation; and determining a target sharing target and sharing the target document content to the target sharing target in response to a sharing operation.

[0008] In some embodiments, the present disclosure provides a method for displaying a first document, the method comprising: a determination unit, in a display interface of the first document, for determining target content associated with the document content determination operation in response to a document content determination operation; and a creation unit, based on the document content determination operation, for creating a second document in an association relationship with the first document in response to a document creation operation; A device for processing electronic documents is provided, wherein the content of the second document and the first document are associated based on the target content.

[0009] In some embodiments, the present disclosure proposes an electronic document processing device comprising: a determination module for determining, in response to receiving a first document, authority information of a current user for a second document embedded in the first document; and a display module for displaying related information of the second document and an authority application identifier according to a preset style if the current user does not have preset authority for the second document.

[0010] In some embodiments, a processing device for an electronic document is proposed, which includes a selection module for selecting target document content, which is a portion of document content of a first document, from document content of the first document in response to a selection operation in a current display interface, and a sharing module for determining a target sharing target and sharing the target document content with the target sharing target in response to a sharing operation.

[0011] In some embodiments, the present disclosure provides a terminal comprising at least one memory for storing program code and at least one process for invoking the program code stored in the memory to perform the above method.

[0012] In some embodiments, the present disclosure provides a storage medium storing program code for performing the above-described methods. [Effects of the Invention]

[0013] The electronic document processing method according to the embodiment of the present disclosure determines target content from the document content of a first document in response to a document content determination operation in the current display interface, and creates a second document associated with the first document in response to a document creation operation in the current display interface, where the second document and the first document are associated based on the target content. The method proposed in the embodiment of the present disclosure can quickly generate a second document associated with the content of the first document, without requiring the user to repeatedly copy and paste or associate, thereby greatly improving the user's usage experience. [Brief explanation of the drawings]

[0014] These and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent upon reference to the following detailed description, taken in conjunction with the drawings. Throughout the drawings, identical or similar reference numerals represent identical or similar elements. It should be understood that the drawings are schematic, and that elements and components are not necessarily drawn to scale. [Figure 1] 1 is a flowchart of an example of a method for processing electronic documents according to an embodiment of the present disclosure. [Figure 2] FIG. 2 is a schematic diagram of an example of a method for processing a first document according to an embodiment of the present disclosure. [Figure 3] 10 is a flowchart of another electronic document processing method according to an embodiment of the present disclosure. [Figure 4] 10 is a flowchart of another electronic document processing method according to an embodiment of the present disclosure. [Figure 5] 2 is a schematic diagram of another electronic document processing method according to an embodiment of the present disclosure; [Figure 6] 2 is a schematic diagram of another electronic document processing method according to an embodiment of the present disclosure; [Figure 7] 2 is a schematic diagram of another electronic document processing method according to an embodiment of the present disclosure; [Figure 8] 1 is a block diagram of an electronic document processing device according to an embodiment of the present disclosure. [Figure 9] 1 is a block diagram of an electronic document processing device according to an embodiment of the present disclosure. [Figure 10] 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure; DETAILED DESCRIPTION OF THE INVENTION

[0015] Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the drawings. Although several embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein, but 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 used only for illustrative purposes and are not used to limit the protection scope of the present disclosure.

[0016] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in sequence and / or in parallel, such as: Furthermore, method embodiments may include additional steps and / or omit performance of steps shown, and the scope of the present disclosure is not limited in this respect.

[0017] As used herein, the term "comprises" and variations thereof are open inclusions, i.e., "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" means "at least one embodiment." The term "in another embodiment" means "at least one other embodiment." The term "in some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided in the description below.

[0018] It should be noted that the concepts of "first," "second," etc. referred to in this disclosure are used only to distinguish between different devices, modules, or units, and do not limit the order or interdependence of functions performed by these devices, modules, or units.

[0019] It should be noted that those skilled in the art will appreciate that the modification "one" referred to in this disclosure is general rather than limiting and is to be understood as "one or more" unless the context expressly indicates otherwise.

[0020] The names of messages or information interacted between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only and are not used to limit the scope of these messages or information.

[0021] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0022] As shown in FIG. 1, an embodiment of the present disclosure proposes a method for processing electronic documents. As shown in FIG. 1, FIG. 1 is a flowchart of the method for processing electronic documents in an embodiment of the present disclosure, and the processing method includes the following steps S11 and S12.

[0023] S11: In the current display interface, in response to a document content determination operation, determine target content from the document content of the first document.

[0024] In some embodiments, the first document is an electronic document, and the current display interface may be a display interface for the document content of the first document. For example, if the first document has a display area, the current display interface may refer to the display area of ​​the first document or may be something other than the interface of the first document. The document content of the first document may include various forms, such as text or pictures. In some embodiments, the document content determination operation may be an operation on the document content of the first document, a content input operation, or a selection operation for existing content in the first document. In some embodiments, the document content determination operation may be performed on a control or by inputting a specific command. In some embodiments, the document content determination operation has target content associated therewith. The target content may be a portion of content in the first document or content generated based on the content of the first document. In some embodiments, determining the target content is performed after the document content determination operation is performed, and the target content may be content input into the first document during the document content determination operation.

[0025] S12: In response to a document creation operation in the current display interface, a second document associated with the first document is created.

[0026] In some embodiments, the document content determination operation and the sharing operation are performed in the same display interface, for example, both in the display interface of the first document. The second document and the first document are associated based on the target content. Since the association between the second document and the first document is established when the second document is created, a separate operation to associate the second document with the first document is not required, thereby further improving efficiency. The document creation operation may take multiple forms, such as voice operation, gesture operation, command input operation, or a combination thereof, without limitation. The second document and the first document are associated, and the contents of the second document and the first document are associated based on the target content. While various association methods are possible, in some embodiments, the target content is displayed in both the first document and the second document, or the second document has an association identifier that allows the target content to be looked up. The target content in the first document may be the main text or title of the second document. Alternatively, the target content may be cited in the second document. If the target content is cited in the second document, the display style of the cited target content in the second document may be different from that of other non-quoted content. In some embodiments, if the target content in the associated first document changes, the second document may display the changed portion or indicate that the target content in the first document has changed.

[0027] In some embodiments of the present disclosure, a target content is determined by a document content determination operation, and a second document associated with the first document is created; and the first document and the second document are associated based on the target content, thereby enabling the second document associated with the first document to be quickly created, eliminating the need for copy-and-paste operations or association operations, and greatly improving the user experience.

[0028] In some embodiments of the present disclosure, creating a second document associated with the first document in response to a document creation operation in the current display interface includes displaying a document creation control in response to the document content determination operation, and creating the second document associated with the first document in response to an operation on the document creation control. In some embodiments, the document creation control may be a control within the first document that is displayed in response to the document creation operation, and when the document creation control is operated, the second document is created and an association with the first document is established, and the operation on the document creation control may include one operation or multiple operations, and creating the second document by displaying the document creation control avoids erroneous operations.

[0029] In some embodiments of the present disclosure, creating a second document associated with the first document in response to a document creation operation on the current display interface includes determining whether a document creation gesture or a voice command is received in response to a document content determination operation, and creating the second document associated with the first document in response to the document content determination operation. In some embodiments, the document creation operation may be a gesture operation or a voice operation, which does not require control configuration and can reduce the software size, and is applicable to quickly creating a second document in situations where it is inconvenient to connect a mouse, such as a mobile terminal, or when the left and right mouse keys are in use.

[0030] In some embodiments of the present disclosure, in the current display interface, determining target content from the document content of the first document in response to a document content determination operation includes determining the target content based on a selection operation corresponding to a portion of content in the first document. In some embodiments, the first document displays document content, and the portion of content is a portion of the document content. The document content determination operation is performed as a selection operation to select a portion of content in the first document, and the target content is determined based on the selected portion of content. For example, changing the target content to the selected portion of content may be directly configured. The target content may be a paragraph of content containing the portion of content. For example, selecting a portion of content in a paragraph is considered to select the entire paragraph, or selecting the title of a paragraph is considered to select the paragraph. The selection operation may be, for example, selection using a mouse or a selection box.

[0031] In some embodiments of the present disclosure, in the current display interface, determining target content from the document content of the first document in response to a document content determination operation includes determining the target content based on a preset symbol and content information in response to an input operation for the preset symbol and content information. In some embodiments, the preset symbol may be an infrequently used symbol such as “@” or “[[”, and inputting the preset symbol indicates the need to create a second document. The target content is determined from the content information input by the user by combining the symbol with the input content information, thereby clearly indicating the content that the user intends to associate. The content information may be a combination of one or more of text information and picture information. In some embodiments, a paragraph containing the content information may be searched for in the first document, and the paragraph containing the content information may be determined as the target content, thereby enabling efficient association of customized content of multiple paragraphs.

[0032] In some embodiments of the present disclosure, determining the target content based on the partial content includes determining the target content as the partial content, content obtained by analysis based on the partial content, a combination of the partial content and other content, a combination of content obtained by analysis based on the partial content and other content, a content paragraph located in the partial content, a paragraph identified in the partial content, or content obtained by converting the partial content. In some embodiments, the selected portion of content may be directly used as the target content, thereby directly associating the second document with the selected portion of content. In other embodiments, the selected portion of content may be analyzed to determine target content, such as a paragraph containing the selected portion of content or a paragraph from which the selected portion of content can be identified. The target content may be set as the paragraph containing the selected portion of content. For example, the selected portion of content may be the title of a paragraph, and the target content may be the paragraph identified by the paragraph title. In this way, when a paragraph title is selected, the entire paragraph is selected, thereby reducing the number of operations. The target content may be content obtained by converting the selected portion of content, such as target content obtained by performing language conversion on the selected portion of content. In other embodiments, the selected portion of content may be combined with other content, with or without analysis. In some embodiments, the other content may include related information of the first document, such as the name, author, and creation time. In other embodiments, the other content may be customized by the user. By combining with other content, the target content becomes clearer and more detailed.

[0033] In some embodiments of the present disclosure, the portion of content is at least one content block, and the content block is a unit for hosting the content of the first document. In some embodiments, the content of the first document includes at least one content block, and the target content may be a content block corresponding to the portion of content. In some embodiments, the first document is a structured document and consists of multiple content blocks, and the content block may include multiple forms such as text and pictures, and one content block may be one line of content, one paragraph of content, or multiple paragraphs of content. By setting content blocks, when selecting a portion of content, performing a selection operation on a portion of the content block selects the entire content block rather than the entire content block, thereby improving operation efficiency. Furthermore, in actual operation, electronic documents often have a certain structure, and an electronic document consists of one or more pre-defined parts, each containing logic and content. Therefore, dividing a document into blocks can better suit people's usage habits.

[0034] In some other embodiments, a new content block may be generated based on a selected portion of content in one content block belonging to the first document, and the new content block may be associated with the created second document, thereby increasing the flexibility of associating the first document with the second document.

[0035] In some embodiments, displaying a document creation control in response to a document content determination operation includes displaying a document creation control in response to a trigger operation on a first control associated with a portion of content in the first document, or displaying a second control including the document creation control in response to a selection operation corresponding to a portion of content in the first document. In some embodiments, the document content determination operation may include, for example, a click operation or a cursor focus operation on the first control, and the first control or the document content corresponding to the cursor focus operation is the selected target content. Similarly, the document content determination operation may be a selection operation on a choice in the first control. The first control may be a persistent control that is always displayed, or a control that is displayed when a specific condition is met, such as a control that is displayed only when a portion of content in the first document is selected. The document creation control may be displayed after the first control is triggered, or in some other embodiments, the document creation control may be displayed directly in the second control. For example, when a portion of content in the first document is selected, a menu bar is displayed, and when a New menu in the menu bar is triggered, the document creation control is displayed. In some other embodiments, the document creation control may be displayed directly in the menu bar.

[0036] In some embodiments, the method includes displaying a document creation control to determine the target content in response to an input operation of the preset symbol and the content information, and creating a second document in response to an operation on the document creation control and setting the target content as a title of the second document. In some embodiments, input of the preset symbol or input of the preset symbol or content information following the symbol is used to activate the document creation control, and the input content information is used to determine the target content. The target content may be the input content information (the input content information may be text or other types of content) or associated information determined based on the input content information. For example, the associated information may be information indicating characteristics of the first document. For example, in some embodiments, if the input content information is "current document title + author," the title and author of the first document can be directly obtained as target content, and the target content can be set as the title of the second document when creating the second document. For example, if the preset symbol is "@" and "@AAA" is entered into the first document, the document creation control is displayed, "AAA" is acquired as the target content, and after confirming the creation of the second document, "AAA" is set as the title and / or main text of the second document. In this manner, a part of the document title and / or main text can be specified before creating the second document, thereby reducing the number of operation steps, improving the continuity of content creation, and preventing interruptions in thinking.

[0037] In some embodiments of the present disclosure, associating the second document with the content in the first document based on the target content includes the presence of the target content in both the first document and the second document, where the target content is determined as the main text content, title content, content having a citation relationship, or content having a link-connection relationship in the second document. In some embodiments, the target content is content in the first document, and the target content in the first document exists in the second document, where the target content may be the main text or title of the second document, and the target content in the second document and the target content in the first document are in a citation relationship or a link-connection relationship, where the citation relationship includes when a first content block of the first document is cited in the second document, the first content block is displayed in both the first document and the second document, and one-way or two-way synchronization is realized, for example, a change to the first content block in the first document is synchronized with the second document, and / or a change to the first content block in the second document is synchronized with the first document. The link relationship includes that when a second content block of a first document is linked to a second document, a link identifier of the second content block is displayed in the second document, and in response to triggering of the link identifier, the content of the second content block is retrieved and displayed in the second document.

[0038] In some embodiments of the present disclosure, a document identifier of a second document is displayed in a first document. In some embodiments, the content of the first document is associated with the second document, for example, the second document is created based on a portion of the content of a selected first document, and such an association is represented by displaying the document identifier of the second document. In this way, when modifying the first document, the associated second document can be recognized, and in particular, when the second document and the content of the first document have a citation relationship and can be synchronized, it is possible to avoid accidentally modifying the second document due to unawareness of the existence of the second document.

[0039] In some embodiments, some embodiments of the present disclosure further include displaying a shared identifier in an association position of the document identifier of the second document, and sharing the second document with a target sharing target in response to the sharing operation. In some embodiments, the target sharing target is a recipient. For example, the second document can be shared by clicking on the avatar of any user. Of course, the recipient is not limited to one user. The second document can also be shared with a group. In this case, the target sharing target can be a group, and the target target can be notified by sending a notification message. If the target sharing target is a single user, a notification message is sent. If the target sharing target is a group, a group message is sent. When the target sharing target receives the second document, a notification message indicating that the second document has been received by the target sharing target is displayed.

[0040] In some embodiments of the present disclosure, the step of sharing the second document with a target sharing target in response to a share operation includes the step of displaying a sharing information editing control for determining sharing information in response to a trigger operation on a sharing identifier, and sharing the second document with the target sharing target based on the determined sharing information. In some embodiments, the second document can be created first, shared, and the shared identifier of the second document can be displayed, and the second document can be shared using the shared identifier. This method of creating the second document before sharing makes it easy to directly share the second document with other targets later, and avoids repeated operations for creating the second document.

[0041] In some embodiments of the present disclosure, creating a second document associated with the first document in response to a document creation operation includes displaying a shared information editing control for determining shared information in response to a document creation and sharing operation, and creating a second document associated with the first document and sharing the second document with the target sharing target based on the determined shared information in response to a shared information confirmation operation. In some embodiments, two actions, creating the second document and sharing the second document, may be performed by a single operation. For example, a "Create and Share Document" control may be displayed, and the second document may be directly created and shared after triggering the control, thereby reducing user operations and streamlining workflow. In some embodiments, determining the shared information may be a step of confirming the shared information in any embodiment of the present disclosure.

[0042] In some embodiments, determining the sharing information includes one or more of determining title information of the second document, determining at least one of target sharing targets of the second document, and permissions of the target sharing targets. In some embodiments, the sharing information editing control allows the user to input the sharing information by selection or input, and the sharing information may include the target sharing targets. For example, the sharing information editing control displays a contact list, and the user can share the second document with one or more contacts in the contact list by clicking on them. Permissions for the shared second document may be set for the shared party, such as viewable or viewable and editable.

[0043] In some embodiments, determining title information of the second document includes determining a title of the second document from content entered in a title editing area of ​​the shared information editing control in response to an input operation in the title editing area, or displaying default title information determined based on the target content in the title editing area of ​​the shared information editing control and determining the default title information as the title of the second document in response to a shared information confirmation operation. In some embodiments, determining the title of the second document from content entered in the title editing area of ​​the shared information editing control in response to an input operation in the title editing area includes displaying default title information determined based on the target content in the title editing area, and determining the title of the second document in response to a change operation to the default title information.

[0044] In some embodiments, when the second document is shared, the title of the shared second document may be changed. The title of the shared second document displayed to the recipient (e.g., the target sharer) may be the same as or different from the title displayed to the sender. The user may manually enter a title in the title editing area, use default title information, or edit the default title information. For example, the title of the second document before sharing may be displayed as default title information in the title editing area, and the user may then edit or use it. Therefore, the title of the second document displayed to the recipient after sharing may not match the title displayed to the sender when the second document was not shared. This may allow some information to be hidden according to the user's needs.

[0045] In some embodiments, the default title information includes corresponding title information in the first document of the target content, the target content, or content obtained by analysis based on the target content. In some embodiments, the default title information may use the target content as is, or may be determined based on the target content. For example, if a preset number of characters is set and the number of characters of the target content is less than the preset number of characters, a default title is used. If the number of characters of the target content is more than the preset number of characters, default title information is generated from the target content, for example, by summarizing the target content, and the summary information is used as the default title information. Because the default title information reflects the target content, it is easy for users of the target sharing target to roughly judge the content.

[0046] In some embodiments, the title information corresponding to the target content in the first document includes the title information of the content block containing the target content in the first document, or a combination of the title information of the content block containing the target content and the title information of the first document. In some embodiments, the content block has a corresponding title, for example, when a user creates a document, they generally set subtitles for different parts, and this part becomes the user-set title of the first document, which can best reflect the content of the target content, and when combined with the title information of the first document, it can more completely reflect the information of the target content.

[0047] In some embodiments, the method further includes, after generating the second document, adjusting the display style of the target content in the first document to the target display style. In some embodiments, the target content may be a selected portion of content in the first document or content information entered with a preset symbol. Adjusting the display style of the target content in the first document to the target display style distinguishes the target content from other content in the first document while reminding the user to generate a document based on the target content.

[0048] In some embodiments, adjusting to the target display style includes one or more of adding a border or an icon to the region containing the target content, or changing the text style or typesetting style of the target content. In some embodiments, the region of the target style may be surrounded by a border, or the font of the target content may be changed to a font different from that of the rest of the target content. For example, if the first document is originally in Song script, the font of the target content may be changed to regular script, and the typesetting style of the target content may also be changed, for example, the target content may be changed to italic typesetting. Adjusting the target display style can avoid overlapping with existing styles in the first document and can be presented to the user, or can be distinguished from the style used when the content is selected, thereby avoiding misleading the user and preventing the user from misunderstanding that part of the content has been selected.

[0049] In some embodiments, in response to a deletion event of the second document, a display style of the document identifier of the second document is changed to a second style that is different from a first style of the identifier of the second document in the first document before the second document was deleted. In some embodiments, when the second document is deleted, the display style of the second document identifier changes, and in this manner, the state of the second document can be directly determined from the display style without opening the second document. In some embodiments, the second style includes prompt information that the second document has been deleted, so that a user can intuitively determine that the second document has been deleted.

[0050] In some embodiments of the present disclosure, sharing the second document with the target target includes sending a link to the second document to the target target, or sending the second document to the target target. In some embodiments, the second document may be sent directly to the target target, so that the second document can be viewed or edited without needing to connect to a network, and differences between the second document and the target content can be compared and corresponding adjustments can be made upon connecting to a network. In other embodiments, a link to the second document is sent to the target target, so that the second document can be stored on a server or directly in the first document, reducing storage space requirements.

[0051] To more clearly explain the method in the embodiments of the present disclosure, the following description will be given by way of example of one specific embodiment, but the scope of the present disclosure is not limited thereto. The following description will be given with reference to FIGS. 2 and 3. As shown in FIG. 2(a), "AAABBBCCC" in a first document is the first document content. The first document is a structured document consisting of multiple content blocks. A user with editing privileges selects one or more content blocks in the first document. The selected content blocks are target content. If the user selects "AAA" among them, the selected "AAA" becomes the target content. When the target content is selected, the display style changes and a toolbar appears, as shown in FIG. 2(b). The toolbar includes a document creation option "Convert to Document Sharing." In some embodiments, when the document creation option is triggered, a pop-up box pops up. As shown in FIG. 2(c), the title box in the pop-up box displays default title information, and a sharing target is selected in the sharing target box. The default title information is the title of the paragraph containing the target content, which in this embodiment is "AAA." When the user confirms the title of the second document, the content of the second document is generated based on the target content. The second document also contains "AAA." Furthermore, "AAA" in the second document and "AAA" in the first document have a citation relationship, which can be synchronized one way or two ways. In some other embodiments, when a document creation option is triggered, a pop-up box pops up, the target content becomes the title of the second document, and the user can confirm or edit the title of the second document. When the second document is created, a sharing target is selected, for example, the name of a person or group can be selected from a contact list to share, and viewing or editing rights can be granted.After the second document is created, the document identifier of the second document is displayed in the first document. When the second document is deleted, the document identifier displays notification information and the icon and title of the deleted second document. The sharing target receives the notification information, and if the sharing target is a person, they receive a notification, or if the sharing target is a group, they receive a group message. The sharing identifier is displayed in the association position of the second document in the first document, for example, near the second document, and the user can share the second document with other sharing targets through a sharing operation. When sharing, the default title of the second document is "AAA," which the user can edit or use directly.

[0052] When collaboratively operating electronic documents, the electronic documents are shared. In some cases, it is desired that some users with limited permissions can only edit some of the content in the electronic document, or some users with limited permissions can only view some of the content in the electronic document. In this case, some of the content in the first document is copied and pasted to form a new electronic document, and the new electronic document is shared with the users with limited permissions. When changes are made to the new electronic document, the changed content is pasted into the first document. This reduces work efficiency and makes it difficult to timely know that the content in the first document or the new electronic document has changed. However, the user must repeatedly perform the operations of copying and pasting and creating a new electronic document, resulting in a very poor user experience. Therefore, in some embodiments of the present disclosure, only the second document is shared with the target, so that the shared target can only view or edit the content in the second document, which makes it possible to manage permissions separately; and because the content of the second document and the content of the first document are associated with each other, the first document can be operated in a coordinated manner, eliminating the need to repeatedly copy and paste and create new electronic documents, which greatly improves the user experience.

[0053] In some embodiments, in some other embodiments of the present disclosure, another method for processing electronic documents is proposed, as shown in Figures 4 and 5, in which a user with editing privileges inputs a guide symbol such as "@" or "[[" into a first document, as shown in Figure 5(a) , and then inputs content information such as text, and at this time, a pop-up box prompts the user to create a second document. In Figure 5(a) , the input content information "AAA" becomes the default title of the second document, and when the user confirms the title of the second document, the creation of the second document is completed. As shown in Figure 5(b), once creation is complete, the document identifier of the second document will be displayed in the first document, and the shared identifier will be present in the document identifier association area. For example, as shown in Figure 5(c), when the shared identifier is triggered, a pop-up window will appear, displaying the title of the second document to be shared, allowing the user to receive it or change it before receiving it. Next, a contact list will pop up, allowing the user to select a share target from the contact list and send the second document to the share target. If the share target is a single user, the shared user will receive a notification. If the share target is a group of users, a message will be displayed to the group.

[0054] In some embodiments of the present disclosure, another electronic document processing method is also proposed, which includes steps S21 and S22 as shown in FIG.

[0055] S21: In response to receiving the first document, determine the current user's permission information for the second document embedded in the first document.

[0056] In some embodiments, the first document may be an electronic document, and the first document content of the first document may include at least one content block. In this embodiment, the first document may be the first document in any of the above embodiments, and the first document has an embedded second document, and the second document may be any of the above second documents. Different users have different permissions for the second document, and the permission information includes whether the user currently views or edits the second document.

[0057] S22: If the current user does not have the preset authority for the second document, display the related information of the second document and the authority application identifier according to a preset style.

[0058] In some embodiments of the present disclosure, the rights request identifier includes owner information of the second document and / or a rights request entry, and the rights request entry is used to output a rights request interface when triggered. In some embodiments, displaying owner information of the second document makes it easy for the user to contact the owner of the second user to request rights, and displaying the rights request entry allows the user to directly request rights. In some embodiments, if the current user does not have preset rights for the second document, related information and a rights request identifier of the second document are displayed. Here, the preset rights may be viewing rights or editing rights, and the rights request identifier may be displayed in the first document. This allows the user to determine whether they have the rights without opening the second document by displaying a style, while providing a rights request identifier when the user does not have the preset rights, allowing the user to quickly request rights, reducing the procedures for requesting rights and improving operation efficiency. The rights request identifier may be, for example, a link. In some embodiments of the present disclosure, when the first document is open, the related information and the rights request identifier of the first document are displayed according to a preset style. In some embodiments, when a user opens the first document to explore its contents, the related information of the first document and the rights application identifier are displayed according to a pre-set style.

[0059] In some embodiments, another method for processing an electronic document is proposed, which includes steps S31 and S32 as shown in FIG.

[0060] S31: In the current display interface, in response to a selection operation, select a target document content from the document content of the first document.

[0061] In some embodiments, the first document is an electronic document, the target document content is a portion of the document content in the first document, for example, if the first document includes multiple content blocks, the target document content may be one or more content blocks, and the selection operation may be a selection operation on the document content of the first document, in which case the selected document content is directly determined as the target document content, or a selection operation on a control associated with the document content, in which case the document content corresponding to the control is determined as the target document content.

[0062] S32: In response to the sharing operation, determine a target sharing subject, and share the target document content with the target sharing subject.

[0063] In some embodiments, sharing may be performed by displaying a sharing identifier in the target document content, and the target sharing target may be a single user or a group. In the case of a single user, a notification message is sent, and in the case of a group, a group notification message is sent. In some embodiments of the present disclosure, it is possible to share only part of the document content of the first document rather than the entire document, which facilitates permission management. If other users do not want to view the entire text of the first document, they can share only the part that needs to be shared. This is equivalent to granting the target sharing target permission to view the target document content, and the target sharing target can only view the shared target document content, and other content of the first document is not displayed.

[0064] In some embodiments, determining a target sharing target in response to the sharing operation and sharing the target document content with the target sharing target includes creating a second document in response to the sharing operation and sharing the second document with the target sharing target, where the document content of the second document includes the target document content. In some embodiments, a second document including the target document content can be generated and shared with the target sharing target. In this case, the second document itself can be sent to the target sharing target, or a link to the second document can be obtained and shared with the target sharing target. The shared second document and the first document are associated with each other through the target document content. For example, when the target document content in the first document is changed, the target document content in the second document is correspondingly changed, and when the target document content in the second document is changed, the target document content in the first document is correspondingly changed, thereby facilitating collaborative operations by users.

[0065] In some embodiments, determining a target sharer in response to the share operation and sharing the target document content with the target sharer includes obtaining a first link of the first document in response to the share operation, generating a second link based on the first link and the range of the target document content in the first document, and sharing the second link with the target sharer, wherein the second link is used to instruct a recipient of the second link to display the target document content and hide some or all of the content of the first document other than the target document content. In some embodiments, the second link is generated based on the link of the first document, and when the first link is triggered, the link of the first document is displayed, and the second link is generated by adding range information of the target document content in the first document after the first link of the first document, and when the second link is triggered, the first document is found from the server based on the second link, and finally, a jump to the location of the target document content based on the range information, where only the target document content is displayed, thereby preventing the recipient from seeing content that they do not want to see.

[0066] In some embodiments of the present disclosure, a processing device for an electronic document is further proposed, as shown in FIG. 8, the processing device includes: a determination unit 10 for determining target content associated with a document content determination operation in response to the document content determination operation in a display interface of the first document; and a creating unit (20) for creating a second document in association with the first document in response to a document creating operation based on the document content determining operation, wherein the second document and the content in the first document are associated with each other based on the target content.

[0067] In some embodiments of the present disclosure, the step of the creation unit 20 creating a second document associated with the first document in response to a document creation operation in the current display interface includes the steps of: displaying a document creation control in response to a document content determination operation, and creating a second document associated with the first document in response to an operation on the document creation control; or determining whether a document creation gesture or voice command is received in response to the document content determination operation, and creating a second document associated with the first document in response to receiving the document creation gesture or voice command.

[0068] In some embodiments of the present disclosure, the step of the determination unit 10 determining target content from the document content of the first document in response to a document content determination operation in the current display interface includes determining the target content based on the part of content in response to a selection operation corresponding to the part of content in the first document, or determining the target content based on the part of content in response to an input operation for a preset symbol and content information.

[0069] In some embodiments of the present disclosure, determining the target content based on the partial content includes determining the target content as the partial content, content obtained by analysis based on the partial content, a combination of the partial content and other content, a combination of content obtained by analysis based on the partial content and other content, a content paragraph including the partial content, a paragraph identified from the partial content, or content obtained by transforming the partial content.

[0070] In some embodiments of the present disclosure, the other content includes related information of the first document.

[0071] In some embodiments of the present disclosure, the portion of content is at least one content block, and the content block is a unit for hosting content of the first document.

[0072] In some embodiments of the present disclosure, the step of displaying a document creation control in response to a document content determination operation includes displaying a document creation control in response to a trigger operation on a first control associated with a portion of content in the first document, or displaying a second control including a document creation control in response to a selection operation corresponding to a portion of content in the first document.

[0073] In some embodiments of the present disclosure, the electronic document processing device comprises a display unit for displaying a document identifier of a second document on the first document.

[0074] In some embodiments of the present disclosure, the display unit is further used for displaying the shared identifier at the associated position of the document identifier of the second document, and the electronic document processing device further includes a control unit for sharing the second document to the target sharing target in response to the sharing operation.

[0075] In some embodiments of the present disclosure, the step of sharing the second document with the target sharer in response to the share operation includes the step of displaying a share information editing control for determining share information in response to a trigger operation on the share identifier, and sharing the second document with the target sharer based on the determined share information.

[0076] In some embodiments of the present disclosure, the step of the creation unit creating a second document associated with the first document in response to a document creation operation includes the steps of displaying a shared information editing control for determining shared information in response to an operation to create and share a document, and creating a second document associated with the first document in response to a shared information confirmation operation, and sharing the second document with a target sharer based on the determined shared information.

[0077] In some embodiments of the present disclosure, determining the sharing information includes one or more of determining title information of the second document, determining target sharing targets of the second document, and determining target sharing target permissions.

[0078] In some embodiments of the present disclosure, determining title information of the second document includes determining the title of the second document from content entered in the title editing area in response to an input operation in the title editing area of ​​the shared information editing control, or displaying default title information determined based on the target content in the title editing area of ​​the shared information editing control, and determining the default title information as the title of the second document in response to a shared information confirmation operation.

[0079] In some embodiments of the present disclosure, the step of determining the title of the second document from the content entered in the title editing area in response to an input operation in the title editing area of ​​the shared information editing control includes the step of displaying default title information determined based on the target content in the title editing area, and determining the title of the second document in response to a change operation to the default title information.

[0080] In some embodiments of the present disclosure, the default title information includes title information corresponding to the target content in the first document, the target content, or content obtained by analysis based on the target content.

[0081] In some embodiments of the present disclosure, the title information corresponding to the target content in the first document includes title information of a content block containing the target content in the first document, or a combination of title information of the content block containing the target content and title information of the first document.

[0082] In some embodiments of the present disclosure, the electronic document processing device further includes a control unit for adjusting the display style of the target content in the first document to the target display style after generating the second document.

[0083] In some embodiments of the present disclosure, the step of adjusting to the target display style includes one or more of adding a border or an icon to the area containing the target content, or changing the text style or typesetting style of the target content.

[0084] In some embodiments of the present disclosure, the electronic document processing device further includes a control unit for, in response to a deletion event of the second document, changing the display style of the document identifier of the second document to a second style different from the first style of the document identifier of the second document in the first document before the second document was deleted.

[0085] In some embodiments of the present disclosure, the second document and the first document being associated based on the target content includes the target content appearing in both the first document and the second document, or the target content being cited in the second document.

[0086] In some embodiments of the present disclosure, a processing device for an electronic document is proposed, and as shown in FIG. 9, the processing device includes: a determination module 30 for determining, in response to receiving a first document, permission information of a current user for a second document embedded in the first document; and a display module 40 for displaying related information of the second document and a rights application identifier according to a preset style if the current user does not have the preset rights to the second document.

[0087] In some embodiments of the present disclosure, the authority request identifier includes owner information and / or an authority request entry of the second document, and the authority request entry is used to output an authority request interface when triggered. In some embodiments of the present disclosure, when the first document is in an open state, the related information and the authority request identifier of the first document are displayed according to a preset style. In some embodiments, when a user opens and examines the first document, the related information and the authority request identifier of the first document are displayed according to a preset style.

[0088] In some embodiments of the present disclosure, a processing device for an electronic document is provided, the processing device comprising: a selection module for selecting, in the current display interface, a target document content, which is a part of the document content of the first document, from the document content of the first document in response to a selection operation; and a sharing module that, in response to the sharing operation, determines a target sharer and shares the target document content with the target sharer.

[0089] In some embodiments of the present disclosure, the step of determining a target sharer and sharing the target document content to the target sharer in response to the sharing operation of the sharing module includes the step of creating a second document in response to the sharing operation and sharing the second document to the target sharer, wherein the document content of the second document includes the target document content.

[0090] In some embodiments of the present disclosure, the step of determining a target sharer and sharing the target document content to the target sharer in response to a sharing operation of the sharing module includes the steps of obtaining a first link of a first document in response to the sharing operation, generating a second link based on the first link and the range of the target document content in the first document, and sharing the second link to the target sharer, wherein the second link is used to instruct a recipient of the second link to display the get document content and hide some or all of the content of the first document other than the target document content.

[0091] The device embodiments generally correspond to the method embodiments, so for relevant parts, please refer to the description of the method embodiments. The above device embodiments are merely illustrative, and the modules described as separate modules above may or may not be separate. Some or all of these modules may be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement it without paying creative labor.

[0092] The method and apparatus of the present disclosure have been described above based on the embodiments and application examples. Furthermore, the present disclosure further provides a terminal and a storage medium, which will be described below.

[0093] 10, a structural schematic diagram of an electronic device (e.g., a terminal device or a server) 800 suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablets (PADs), portable multimedia players (PMPs), and in-vehicle terminals (e.g., car navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and does not limit the functionality and scope of use of the embodiment of the present disclosure.

[0094] The electronic device 800 may include a processing unit (e.g., a central processor, a graphics processor, etc.) 801 that can perform various appropriate operations and processes in accordance with a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 also stores various programs and data necessary for the operation of the electronic device 800. The processing unit 801, the ROM 802, and the RAM 803 are connected to one another via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0095] Typically, input devices 806, including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807, including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 808, including, for example, a magnetic tape, hard disk, etc.; and communication devices 809 can be connected to the I / O interface 805. The communication devices 809 can enable the electronic device 800 to communicate wirelessly or via wires with other devices to exchange data. While the figure shows the electronic device 800 with various devices, it should be understood that not all of the devices shown need be implemented or included. Alternatively, more or fewer devices may be implemented or included.

[0096] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program embodied on a non-transitory computer-readable medium, the computer program including program code for performing the methods illustrated in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via the communication device 809, installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the functions defined in the methods according to the embodiments of the present disclosure are performed.

[0097] It should be noted that the computer-readable medium referred to above in this disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical memory device, a magnetic memory device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device. In contrast, in this disclosure, a computer-readable signal medium may include a baseband or propagating data signal as part of a carrier carrying computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over any suitable medium, including, but not limited to, wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

[0098] In some embodiments, clients and servers may communicate using any network protocol now known or hereafter developed, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), networks (e.g., the Internet), and end-to-end networks (e.g., ad-hoc end-to-end networks), as well as any network now known or hereafter developed.

[0099] The computer-readable medium may be included in the electronic device, or may be separate and not integrated into the electronic device.

[0100] The computer-readable medium hosts one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method of the present disclosure.

[0101] Computer program code for carrying out operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, etc. The program code can execute entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer, partially on a remote computer, or entirely on a remote computer or server. When a remote computer is involved, the remote computer can be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).

[0102] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or portion of code, including one or more executable instructions for implementing a given logical function. Note that in some alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the figures. For example, two blocks shown in succession may actually be executed substantially in parallel or may be executed in the reverse order depending on the functionality involved. Furthermore, each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system that performs a given function or operation, or may be implemented as a combination of dedicated hardware and computer instructions.

[0103] The units described in the embodiments of the present disclosure may be implemented by software or hardware, and the names of the units may not necessarily limit the units themselves.

[0104] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0105] In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more wire-based electrical connections, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0106] According to one or more embodiments of the present disclosure, determining target content from the document content of the first document in response to a document content determination operation in the current display interface; A method for processing electronic documents is provided, which includes the step of creating a second document in an association relationship with the first document in response to a document creation operation in the current display interface, wherein the second document and the first document are associated based on target content.

[0107] According to one or more embodiments of the present disclosure, the step of creating a second document associated with the first document in response to a document creation operation in the current display interface includes displaying a document creation control in response to a document content determination operation, and creating the second document associated with the first document in response to an operation on the document creation control; or A method for processing electronic documents is provided, including the steps of determining whether a document creation gesture or voice command is received in response to a document content determination operation, and creating a second document in association with the first document in response to receiving the document creation gesture or voice command.

[0108] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, in which, in a current display interface, the step of determining target content from document content of a first document in response to a document content determination operation includes the step of determining the target content based on the part of content in response to a selection operation corresponding to the part of content in the first document, or determining the target content based on the part of content in response to an input operation for a preset symbol and content information.

[0109] According to one or more embodiments of the present disclosure, there is provided a method for processing an electronic document, wherein the step of determining target content based on the partial content includes determining the target content as the partial content, content obtained by analysis based on the partial content, a combination of the partial content and other content, a content paragraph containing the partial content, a paragraph identified by the partial content, or content obtained by converting the partial content.

[0110] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein the other content includes related information of the first document.

[0111] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein the portion of content is at least one content block, and the content block is a unit for hosting the content of the first document.

[0112] According to one or more embodiments of the present disclosure, the step of displaying the document creation control in response to the document content determination operation includes: A method for processing an electronic document is provided, comprising the steps of displaying a document creation control in response to a trigger operation on a first control associated with a portion of content in a first document, or displaying a second control including a document creation control in response to a selection operation corresponding to the portion of content in the first document.

[0113] According to one or more embodiments of the present disclosure, a method for processing electronic documents is provided that includes displaying a document identifier of a second document in a first document.

[0114] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, including displaying a shared identifier in an association position of a document identifier of a second document, and sharing the second document to a target sharer in response to a share operation.

[0115] According to one or more embodiments of the present disclosure, in response to the share operation, sharing the second document with the target sharer includes: A method for processing an electronic document is provided, including the steps of displaying a sharing information editing control for determining sharing information in response to a trigger operation on a sharing identifier, and sharing a second document to a target sharing target based on the determined sharing information.

[0116] According to one or more embodiments of the present disclosure, the step of creating a second document in association with the first document in response to the document creation operation includes: A method for processing electronic documents is provided, including the steps of: in response to an operation for creating and sharing a document, displaying a sharing information editing control for determining sharing information; in response to a sharing information confirmation operation, creating a second document that is associated with the first document; and sharing the second document with a target sharing subject based on the determined sharing information.

[0117] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein determining sharing information includes one or more of determining title information of the second document, determining target sharing targets of the second document, and determining target sharing target permissions.

[0118] According to one or more embodiments of the present disclosure, determining the title information of the second document may include determining the title of the second document from content entered in a title editing area in response to an input operation in the title editing area of ​​the shared information editing control; or A method for processing an electronic document is provided, which includes displaying default title information determined based on target content in a title editing area of ​​a shared information editing control, and determining the default title information as the title of a second document in response to a shared information confirmation operation.

[0119] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein a step of determining a title of a second document from content entered in a title editing area in a shared information editing control in response to an input operation in the title editing area includes a step of displaying default title information determined based on the target content in the title editing area, and determining a title of the second document in response to a change operation to the default title information.

[0120] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein the default title information includes title information corresponding to a target content in a first document, the target content, or content obtained by analysis based on the target content.

[0121] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, in which title information corresponding to a target content in a first document includes title information of a content block in the first document that includes the target content, or a combination of title information of the content block that includes the target content and title information of the first document.

[0122] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, further comprising the step of adjusting the display style of the target content in the first document to the target display style after generating the second document.

[0123] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein the step of adjusting to a target display style includes one or more of adding a border or an icon to an area containing the target content, or changing the text style or typesetting style of the target content.

[0124] According to one or more embodiments of the present disclosure, a method for processing electronic documents is provided, further comprising, in response to a deletion event of the second document, changing a display style of a document identifier of the second document to a second style that is different from a first style of the document identifier of the second document in the first document before the second document is deleted.

[0125] According to one or more embodiments of the present disclosure, a method for processing electronic documents is provided, wherein the second document and the first document are associated based on target content, including the target content being displayed in both the first document and the second document, or the target content being cited in the second document.

[0126] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, including: in response to receiving a first document, determining authority information of a current user for a second document embedded in the first document; and if the current user does not have preset authority for the second document, displaying related information of the second document and an authority application identifier according to a preset style.

[0127] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, in which the authority request identifier includes owner information of the second document and / or an authority request entry, and the authority request entry is used to output an authority request interface when triggered.

[0128] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, including the steps of: selecting, in a current display interface, a target document content, which is a portion of the document content in the first document, from the document content of the first document in response to a selection operation; and determining a target sharing target and sharing the target document content to the target sharing target in response to a sharing operation.

[0129] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein the step of determining a target sharer and sharing the target document content to the target sharer in response to a sharing operation includes the step of creating a second document in response to the sharing operation and sharing the second document to the target sharer, wherein the document content of the second document includes the target document content.

[0130] According to one or more embodiments of the present disclosure, a method for processing an electronic document is provided, wherein the step of determining a target sharer in response to a sharing operation and sharing the target document content to the target sharer includes the steps of obtaining a first link of a first document in response to the sharing operation, generating a second link based on the first link and a range of the target document content in the first document, and sharing the second link to the target sharer, wherein the second link is used to instruct a recipient of the second link to display the get document content and hide some or all of the content of the first document other than the target document content.

[0131] According to one or more embodiments of the present disclosure, an electronic document processing device is provided, comprising: a determination unit for determining target content from document content of a first document in response to a document content determination operation in a current display interface; and a creation unit for creating a second document in an association relationship with the first document in response to a document creation operation in the current display interface, wherein the second document and the first document are associated based on the target content.

[0132] According to one or more embodiments of the present disclosure, an electronic document processing device is provided, comprising: a determination module for determining, in response to receiving a first document, authority information of a current user for a second document embedded in the first document; and a display module for displaying related information of the second document and an authority application identifier according to a preset style if the current user does not have a preset authority for the second document.

[0133] According to one or more embodiments of the present disclosure, an electronic document processing device is provided, comprising: a selection module for selecting target document content, which is a portion of document content in a first document, from document content of the first document in response to a selection operation in a current display interface; and a sharing module for determining a target sharing target and sharing the target document content with the target sharing target in response to a sharing operation.

[0134] According to one or more embodiments of the present disclosure, there is provided a terminal including at least one memory for storing program code, and at least one process for calling the program code stored in the at least one memory to perform any of the methods described above.

[0135] According to one or more embodiments of the present disclosure, a storage medium storing program code for performing the above-described method is provided.

[0136] The above description merely describes preferred embodiments of the present disclosure and the applied technical principles. Those skilled in the art should understand that the disclosure scope of the present disclosure is not limited to the technical solutions formed by the specific combination of the above elements, and should also include other technical solutions formed by any combination of the above elements or their equivalent features without departing from the concept of the above disclosure. For example, a technical solution formed by mutually replacing the above features with elements having similar functions to those disclosed in the present disclosure (but not limited to these).

[0137] Additionally, although operations are shown in a particular order, it should not be understood that these operations are required to be performed in the particular order shown, or sequentially. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Some features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Rather, various features that are described in the context of a single embodiment may be implemented in multiple embodiments separately or in any suitable subcombination.

[0138] Although the present subject matter has been described in language specific to structural features and / or methodological logical operations, it should be understood that the subject matter defined in the claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. 1. A method for processing electronic documents, comprising: determining target content from among document content of the first document in response to a document content determination operation in the current display interface; the document content determination operation is an input operation of a preset symbol and content information into the first document, and in response to the input operation, the content information is determined as the target content; and creating a second document in an associated relationship with the first document in response to a document creation operation in the current display interface, wherein the second document being in an associated relationship with the first document means that the second document includes the target content as a title and / or a main text, or includes a citation or a link to the target content. How to process electronic documents.

2. The step of creating a second document associated with the first document in response to a document creation operation on the current display interface includes: Displaying a document creation control in response to the document content determination operation, and creating a second document associated with the first document in response to an operation on the document creation control; or determining whether a document creation gesture or a voice command has been received in response to the document content determination operation, and creating a second document associated with the first document in response to the document creation gesture or the voice command being received; 2. The method of claim 1 .

3. The step of displaying a document creation control in response to the document content determination operation includes: Displaying a document creation control in response to a trigger operation on a first control associated with a portion of content in the first document; or and displaying a second control including the document creation control in response to a selection operation corresponding to a portion of the content of the first document.

3. The method of claim 2.

4. displaying a document identifier of the second document in the first document.

2. The method of claim 1 .

5. displaying a sharing identifier along with a document identifier of the second document, and sharing the second document with a target sharer in response to a share operation.

5. The method of claim 4.

6. In response to the share operation, sharing the second document with a target share target includes: and displaying a shared information editing control for determining shared information in response to a trigger operation on the shared identifier, and sharing the second document with the target sharing subject based on the determined shared information.

6. The method of claim 5.

7. The step of creating a second document associated with the first document in response to the document creation operation includes: In response to an operation to share the created second document, displaying a shared information editing control for determining shared information, creating the second document in an associated relationship with the first document in response to the sharing operation, and sharing the second document with a target sharing subject based on the determined shared information.

2. The method of claim 1 .

8. Determining the sharing information includes one or more of determining title information of the second document, determining target sharing targets of the second document, and determining permissions of the target sharing targets.

7. The method of claim 6.

9. Determining title information of the second document includes: In response to an input operation into a title editing area of ​​the shared information editing control, determining the title of the second document from the content input into the title editing area; or displaying default title information determined based on the target content in a title editing area of ​​the shared information editing control, and determining the default title information as the title of the second document in response to a sharing operation.

9. The method of claim 8.

10. a step of determining a title of the second document from content input into a title editing area in response to an input operation into the title editing area of ​​the shared information editing control, displaying the target content or a part of the target content as default title information in the title editing area, and determining a title of the second document in response to a change operation on the default title information; 10. The method of claim 9.

11. After generating the second document, the method further includes adjusting the display style of the target content in the first document to the target display style.

2. The method of claim 1 .

12. The step of adjusting to a target display style comprises: adding a border or an icon to an area containing the target content, or changing the text style or typesetting style of the target content.

12. The method of claim 11 .

13. and, in response to a deletion event of the second document, changing a display style of the document identifier of the second document to a second style different from a first style of the document identifier of the second document in the first document before the second document is deleted.

5. The method of claim 4.

14. A terminal comprising at least one memory for storing program code and at least one processor for calling the program code stored in said at least one memory to perform the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Method and device for creating new document

    CN111949184A

  • Word processor and its method

    JP1995036864A

  • Device and method for processing document

    JP1996235282A

  • Method and apparatus for providing source information from an object originating from a first document and inserted into a second document

    US20030229858A1