Document block sharing method, system, storage medium, and program
By providing the function of directly sharing document blocks in the document, the complex problems of user operations are solved, and a simplified sharing process and a higher user experience are achieved.
Patent Information
- Application Number
- JP2024556325
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-03-22
- Filing Date
- 2023-03-20
- Publication Date
- 2025-04-14
AI Technical Summary
In the prior art, users need to share document blocks through screenshots and copy-paste, which is complex and inconvenient.
Provide a method to directly share document blocks in a document. By displaying a sharing interface when triggering a sharing operation, determining the target business scenario (such as chat, email, etc.), and directly sending the document block to the target scenario after confirmation.
The operation process of document block sharing is simplified, and users do not need to switch documents and instant messaging clients to complete sharing directly in the document, improving user experience and efficiency.
Smart Images

Figure 2025510078000001_ABST
Abstract
Description
[Technical field]
[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application filed on March 22, 2022, bearing application number 202210287503.6 and titled "Document block sharing method, apparatus, system and storage medium," the entire contents of which are incorporated herein by reference.
[0002] [Technical field] TECHNICAL FIELD The embodiments of the present disclosure relate to the field of computer technology, and more particularly, to a document block sharing method, apparatus, system, and storage medium. [Background technology]
[0003] Currently, users often need to quickly share a part of a document (abbreviated as document block, Block) in a chat, which is called document block sharing. However, in reality, to complete document block sharing, users must first take a screenshot of the document block in the document, then switch from the document to an instant message (IM) client, and then copy and paste the document block screenshot into the chat, which is cumbersome. Summary of the Invention [Problem to be solved by the invention]
[0004] To solve at least one problem existing in the prior art, at least one embodiment of the present disclosure provides a document block sharing method, apparatus, system, and storage medium. [Means for solving the problem]
[0005] According to a first aspect, an embodiment of the present disclosure provides a document block sharing method, the method comprising: presenting a sharing interface in response to a sharing operation triggered on a document block in the first document; determining a target business scenario based on a selection operation on the shared interface; in response to a share confirmation operation, sending the document block indicated by the share operation to the target business scenario; Here, the document block indicated by the sharing operation includes one or more document blocks.
[0006] In some embodiments, determining a target business scenario based on a selection operation on the shared interface includes determining a target chat based on a chat selection operation on the shared interface; Sending the document block indicated by the share operation to the target business scenario includes sending the document block indicated by the share operation to the target chat.
[0007] In some embodiments, in response to a share operation triggered on a document block in the first document, prior to presenting the share interface, the method further comprises: The method further includes presenting a document block operations options box in response to a selection operation on the document block in the first document, where the document block operations options box includes a share to chat option.
[0008] In some embodiments, the method comprises: obtaining authority information for the document block; The method further includes synchronizing the authority information with a system to which the target business scenario belongs, so that the system presents the document block in the target business scenario based on the authority information.
[0009] In some embodiments, obtaining the authority information for the document block comprises: obtaining authority information of the first document as authority information of the document block; Or, The method includes presenting a permission setting interface for the document block, and obtaining permission information for the document block based on an operation of the permission setting interface, wherein if the first document includes multiple document blocks, the permissions of each document block are set uniformly in the permission setting interface or the permissions of each document block are set individually.
[0010] In some embodiments, the method comprises: The method further includes granting a first permission of the document block to a member in the target chat, where the first permission is granting the same permission to the member in the target chat or granting a different permission to the member in the target chat.
[0011] In some embodiments, the method comprises: The method further includes revoking a first authority for the document block granted to a member in the target chat in response to a retraction operation of the transmitted document block in the target chat.
[0012] In some embodiments, the method comprises: The method further includes granting a first permission for the document block to a member in the target chat and also granting a first permission for the first document to a member in the target chat.
[0013] In some embodiments, after presenting the sharing interface in response to a sharing operation triggered on a document block in the first document, the method further comprises: The method further includes, in response to a share confirmation operation, obtaining a Postscript entered in a Postscript box of the sharing interface, and sending the Postscript to the target chat.
[0014] In some embodiments, the method comprises: The method further includes, in response to a trigger operation on the document block in a target chat of a first user, presenting the first document to the first user and positioning the first document at a location of the document block.
[0015] According to a second aspect, an embodiment of the present disclosure further proposes a document block sharing method, the method including: Receiving an operation to send a document block of the first document to the target chat; Obtaining first authority information of the document block; presenting the document block in a predetermined presentation style in an interface corresponding to each of the members of the target chat, based on the first authority information of the document block.
[0016] In some embodiments, the predetermined presentation style includes a text hyperlink and a message card; After receiving an operation to send a document block of the first document to the target chat, the method further includes, in response to the operation to send the document block of the first document to the target chat, parsing the document block, generating a text hyperlink corresponding to the document block, and rendering a message card corresponding to the document block in a predetermined presentation style.
[0017] In some embodiments, the predetermined presentation style comprises: a title bar containing the text hyperlink; a content area in which some or all of the content of the document block is displayed; a permission setting control for a current user to set permissions for chat members to the document block, or a permission area for displaying permissions that the current user has to the document block; The present invention includes at least one of the following:
[0018] In some embodiments, the method comprises: The method further includes, in response to an operation that triggers the document block to be presented in the target chat, opening a browser and jumping to a first document corresponding to the document block.
[0019] In some embodiments, before opening a browser and jumping to a first document corresponding to the document block, the method further comprises: The method further includes determining whether the user who triggered the operation has at least a viewing authority for the first document, and if so, performing an operation to open a browser and jump to the first document corresponding to the document block, and if not, presenting prompt information to apply for authority for the first document.
[0020] In some embodiments, presenting the document block in a predetermined presentation style based on first authority information of the document block in an interface corresponding to each of the members of the target chat includes: If the first permission information indicates that the current user in the target chat has permission to view or edit the document block, displaying some or all of the content of the document block in the target chat of the current user; or The first authority information includes, if a current user in the target chat does not have authority for the document block, displaying prompt information to apply for authority to the target chat of the current user.
[0021] In some embodiments, the method comprises: The method further includes detecting whether a member of an edit or comment operation has edit permission in response to an edit or comment operation on the document block in the target chat, and adding the content of the edit or comment to the document block in the target chat if the member has edit permission.
[0022] In some embodiments, after adding edit or comment content to the document block in the target chat, the method further comprises: The method further includes synchronizing the content of the edits or comments with the first document.
[0023] According to a third aspect, an embodiment of the present disclosure further proposes a document block sharing device, the device comprising: a presentation unit for presenting a sharing interface in response to a sharing operation triggered on a document block in the first document; a determination unit for determining a target business scenario based on a selection operation on the shared interface; and a sending unit for sending, in response to a sharing confirmation operation, the document block indicated by the sharing operation to the target business scenario, where the document block indicated by the sharing operation includes one or more document blocks.
[0024] According to a fourth aspect, an embodiment of the present disclosure further proposes a document block sharing device, the device comprising: a receiving unit for receiving an operation of sending a document block of the first document to the target chat; an obtaining unit for obtaining first authority information of the document block; A presentation unit for presenting the document block in a predetermined presentation style based on first authority information of the document block in an interface corresponding to each member of the target chat.
[0025] According to a fifth aspect, an embodiment of the present disclosure further proposes a system including at least one computing device and at least one storage device storing instructions, wherein the instructions, when executed by the at least one computing device, cause the at least one computing device to perform steps of a document block sharing method described in any one of the embodiments of the first aspect or a document block sharing method described in any one of the embodiments of the second aspect.
[0026] According to a sixth aspect, an embodiment of the present disclosure further proposes a computer-readable storage medium, the computer-readable storage medium storing a program or instructions, which, when executed by at least one computing device, causes the at least one computing device to perform steps of the document block sharing method described in any one of the embodiments of the first aspect or the document block sharing method described in any one of the embodiments of the second aspect. Effect of the Invention
[0027] As can be seen, in at least one embodiment of the present disclosure, after selecting a document block, the document block can be directly shared in the document to other business scenarios in a collaborative office platform, including a chat scenario, an email scenario, a to-do task scenario, a video conference scenario, etc. For example, based on an operation of directly sharing a document block in the document to a chat, a sharing interface including an instant message chat list is presented, which facilitates a user to select at least one chat to receive the document block, and further sends the document block to the selected at least one chat, so that the user can complete the sharing of the document block without switching between the document and an IM client, thereby simplifying the operation. [Brief description of the drawings]
[0028] In order to more clearly describe the technical solutions in the embodiments or prior art of the present disclosure, the following briefly introduces drawings that need to be used in the embodiments or prior art description, and it is obvious that those skilled in the art can also derive other drawings based on these drawings without exerting creative efforts. [Figure 1] FIG. 1 is a schematic diagram of sharing document blocks according to an embodiment of the present disclosure. [Diagram 2] FIG. 13 is another schematic diagram of sharing document blocks according to an embodiment of the present disclosure. [Diagram 3] 1 is an exemplary flowchart of a document block sharing method according to an embodiment of the present disclosure. [Figure 4] 13 is an exemplary flowchart of another document block sharing method according to an embodiment of the present disclosure. [Diagram 5] 13 is an exemplary flowchart of yet another document block sharing method according to an embodiment of the present disclosure. [Figure 6] FIG. 2 is a schematic diagram of a sharing interface according to an embodiment of the present disclosure. [Figure 7]1 is an exemplary flowchart of a document block sharing method according to an embodiment of the present disclosure. [Figure 8] FIG. 2 is a structural schematic diagram of a text hyperlink according to an embodiment of the present disclosure. [Figure 9] 1 is a schematic diagram of a predetermined presentation style of a message card according to an embodiment of the present disclosure. [Figure 10] 13 is an exemplary flowchart of yet another document block sharing method according to an embodiment of the present disclosure. [Figure 11] FIG. 2 is an exemplary block diagram of a document block sharing device according to an embodiment of the present disclosure. [Figure 12] FIG. 2 is an exemplary block diagram of another document block sharing device according to an embodiment of the present disclosure. [Figure 13] 1 is an exemplary block diagram of a system including at least one computing device and at least one storage device that stores instructions in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] In order to make the above objectives, features and advantages of the present disclosure more clearly understood, the present disclosure will be described in more detail below in conjunction with the drawings and embodiments. It can be understood that the described embodiments are only some of the embodiments of the present disclosure, and are not all of the embodiments. The specific embodiments described herein are only used to interpret the present disclosure, and do not limit the present disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of the present disclosure belong to the scope of protection of the present disclosure.
[0030] It should be clarified that, in this specification, relational terms such as, for example, “first” and “second” are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or ordering between those entities or operations.
[0031] Documents and instant messages (IM), as two important components of a collaborative office system suite, can effectively improve the efficiency and experience of users' use of the suite by improving the content flow entry and link convenience. However, when sharing document blocks, users need to repeatedly switch between the document and the IM client, which is quite cumbersome and reduces the user experience. In addition, in other business scenarios of collaborative office suite systems, such as email, video conference, and task, there is also the problem of inefficient interaction with the document side.
[0032] Therefore, the embodiments of the present disclosure provide a document block sharing method, device, system, or storage medium. In at least one embodiment of the present disclosure, first, instead of taking a screenshot, a document block may be selected in a document, and the obtained document block is not a screenshot, which facilitates direct editing and commenting on the contents of the document block, and then, after selecting the document block, the document block in the document can be directly shared to other business scenarios in a collaborative office platform, including a chat scenario, an email scenario, a to-do task scenario, a video conference scenario, etc. For example, based on an operation of directly sharing a document block in a document to a chat, a sharing interface including an instant message chat list is presented, which facilitates a user to select at least one chat to receive the document block, and then the document block is sent to the selected at least one chat, so that the user can complete the sharing of the document block without switching between the document and the IM client, thereby simplifying the operation; and what is displayed in the chat interface is a message card including a text hyperlink, in which the text hyperlink and the message card are generated based on the document block information, and the message card is essentially used to present important information, summary information and core information of the content of the document block, thereby helping the user quickly understand the content of the document block, and the content of the document block can be used directly without jumping, thereby improving the efficiency of using the content of the document block.
[0033] A document block (also called a document block) is an information entity with a clear meaning that can be created by a user in a document, such as a paragraph of text, a picture, a table, or a combination thereof, and the document block may be understood as information entities of various content types in a document, that is, the document side organizes and manages the contents of the document based on these information entities.
[0034] Document Blocks are realized based on a framework that runs Blocks, and this framework is called Blockit. Blockit is a set of standards that allows third-party applications (e.g. document applications) to open up internal information, convert it into a single-level canonical data format, and provide an assembly to present this data. This "single level of data" is called BlockEntity, and this "single view" is called BlockView. When they are combined, they become a "small assembly" called Block.
[0035] Blockit is a framework for running blocks. It includes two parts: Blockit Server and Blockit SDK. Blockit Server provides data synchronization between three data sources - BlockEntity and BlockView. Blockit SDK provides an integrated operating environment for BlockView. Users can run blocks as long as they have integrated Blockit SDK.
[0036] Blockit Server provides API and event subscription (Webhook) to the outside world, and supports bidirectional synchronization of third-party data via HTTP requests. Meanwhile, a long internal link is established between Blockit Server and the Blockit SDK that runs Block to perform bidirectional data synchronization. In this way, the data transmission link from the third-party data source to the final view seen by the user is provided entirely by Blockit.
[0037] Fig. 1 is a schematic diagram of sharing a document block according to an embodiment of the present disclosure. In Fig. 1, when a user selects a photo document block, a document block operation entry is presented near the document block, and when the user hovers a mouse pointer over the document block operation entry, a document block operation option box is further presented, in which a share to chat option is included, and the user can click this option to facilitate sharing the document block.
[0038] 2 is another schematic diagram of sharing document blocks according to an embodiment of the present disclosure. In FIG. 2, a user may select multiple document blocks, and after selecting multiple document blocks, a document block operation option box is directly presented near the document blocks, the document block operation option box includes an option of sharing to chat, and when a user hovers a mouse pointer over the option of sharing to chat, "Share to chat" is prompted, and the user can click this option to facilitate sharing the selected multiple document blocks.
[0039] 3 is an exemplary flowchart of a document block sharing method according to an embodiment of the present disclosure, which is used on the document side. The document block sharing method may include, but is not limited to, the following steps 101 to 103:
[0040] In step 101, a sharing interface is presented in response to a sharing operation triggered on a document block in a first document.
[0041] In this embodiment, after a user selects a document block, the user may directly perform an operation of sharing the document block on the document page, where the document block is a partial content of the document, the document block may include text and / or photos, and the sharing interface is an interface presented on the document page.
[0042] In step 102, a target business scenario is determined based on a selection operation on the shared interface.
[0043] Here, the target business scenario may be an IM chat scenario, an email scenario, a task scenario, a video conference scenario, etc. The selection operation may be a chat selection operation, an email selection operation, a task selection operation, a video conference selection operation, etc.
[0044] In step 103, in response to the share confirmation operation, send the document block indicated by the share operation to the target business scenario, where the document block indicated by the share operation includes one or more document blocks.
[0045] In this embodiment, a sharing confirmation control is displayed on the sharing interface, and the user may perform a sharing confirmation operation, for example, by clicking the sharing confirmation control, after confirming that the selected target business scenario is correct. In response to the user clicking the sharing confirmation control, the document block indicated by the sharing operation is sent to the target business scenario.
[0046] Taking the business scenario as an example of chat in IM, the execution body of this document block sharing method interacts with a document and an instant messaging client (i.e., an IM client) respectively, and in response to an operation triggering sharing of a document block in a first document to a chat, determines a target chat based on a chat selection operation on the sharing interface, and sends the document block indicated by the sharing operation to the target chat.
[0047] Taking the business scenario as an example of chat in IM, an instant message chat list is displayed on the sharing interface, the instant message chat list is a chat list in an IM client, the chat list is, for example, a user's recent conversation list. The user may select at least one chat from the instant message chat list to receive a document block, and the sharing interface may further include a selected area, in which the at least one chat selected by the user is displayed. The chat displayed in the selected area is a target chat, and the target chat may be one chat or multiple chats.
[0048] As can be seen, in this embodiment, after selecting a document block, an operation of sharing the document block to chats directly in the document may be performed, and a sharing interface including an instant message chat list may be presented, which facilitates the user to select at least one chat to receive the document block, and further sends the document block to the selected at least one chat, so that the user can complete the sharing of the document block without switching between the document and the IM client, thereby simplifying the operation.
[0049] FIG. 4 is an exemplary flowchart of another document block sharing method according to an embodiment of the present disclosure, which is used on the document side. Based on the method described in FIG. 3, the document block sharing method may include, but is not limited to, the following steps 201 and 202.
[0050] In step 201, the authority information of the document block is obtained.
[0051] In this embodiment, in response to a selection operation on a document block in a first document, permission information of the document block is acquired. Here, the permission information includes, but is not limited to, permission to view, permission to edit (including permission to view and permission to comment), permission to comment and a combination of these, no permission, etc.
[0052] In some embodiments, when obtaining permission information of a document block, permission information of the first document may be obtained as permission information of the document block. For example, when different members in the target chat have different permissions for the first document, some members have edit permission for the first document and some members have view permission for the first document, the permissions are synchronized with the permissions of the document block.
[0053] In some other embodiments, when obtaining the permission information of the document block, a permission setting interface of the document block may be presented, and the permission information of the document block may be obtained based on the operation of the permission setting interface, in which if the first document includes multiple document blocks, the permissions of each document block may be set uniformly in the permission setting interface or the permissions of each document block may be set individually.
[0054] In step 202, the authority information is synchronized with the system to which the target business scenario belongs, so that the system presents document blocks to the target business scenario based on the authority information.
[0055] Taking the business scenario as an example where the business scenario is chat in IM, in response to a sharing confirmation operation, a document block is sent to the target chat, and the authority information is synchronized with the communication system where the target chat is located, so that the communication system presents the document block to the target chat based on the authority information.
[0056] For example, the communication system may display some or all of the document block to the IM client based on the permission information being viewable or editable, or the communication system may display prompt information to request permission to the IM client based on the permission information being no permission.
[0057] In some embodiments, a first permission for the document block may be granted to a member in the target chat, where the first permission is to grant the same permission to the member in the target chat, or to grant different permissions to the member in the target chat. The first permission may be a permission to view, a permission to edit, a permission to comment, a combination of these, no permission, etc. Then, in response to an operation to retract the sent document block in the target chat, the first permission for the document block granted to the member in the target chat is revoked. For example, some members in the target chat may be granted the permission to edit the document block, but another some members in the target chat may be granted the permission to view the document block.
[0058] In some embodiments, a first permission for the document block is granted to a member in the target chat, and a first permission for the first document is also granted to the member in the target chat. Then, in response to an operation in the target chat to retract the transmitted document block, the first permission for the document block and the first permission for the first document granted to the member in the target chat are retracted. That is, in this embodiment, the permissions for the document block and the first document are consistent for the same user.
[0059] In some embodiments, in response to a trigger operation on a document block in a target chat of a first user, a first document is presented to the first user and positioned at the location of the document block, where the first user is a member of the target chat, such that when the user opens the first document, it is directly positioned at the location of the document block in the first document for easy viewing by the user.
[0060] 5 is an exemplary flowchart of another document block sharing method according to an embodiment of the present disclosure, which is used on the document side. As shown in FIG. 5, the document block sharing method may include, but is not limited to, the following steps 301 to 303:
[0061] In step 301, in response to a selection operation on a document block in a first document, a document block operations options box is presented, where the document block operations options box includes a share to chat option.
[0062] In this embodiment, the selection operation of a document block is, for example, a box selection operation or a long press and drag operation.
[0063] In this embodiment, in response to a user selecting a document block by a box selection operation in a first document, document block information can be obtained, which may include, but is not limited to, the contents of the document block, typesetting information of the contents of the document block in the first document, layout information, link address information of the document to which the document block belongs, and the like.
[0064] As can be seen, in this embodiment, instead of the screenshot operation, a document block selection operation can be performed in the first document, and since the obtained document block information is not a screenshot, it facilitates subsequent direct editing and commenting on the contents of the document block.
[0065] In this embodiment, after a user selects a document block, a document block operation option box is presented on the document page, and the document block operation option box includes an option to share to chat, which facilitates the user to click the option to share to chat to achieve the effect of directly sharing the document block to chat on the document page, without the need to switch from the document to the IM client to complete the sharing, and simplifies the sharing operation.
[0066] At step 302, in response to an action triggering a share to chat option, a sharing interface is presented, where the sharing interface includes an instant message chat list and a send control.
[0067] In this embodiment, a sharing interface including an instant message chat list is presented, and the user can easily select at least one chat from the instant message chat list to share a document block. After the user confirms that the selected chat is correct, the user may perform a sharing confirmation operation, such as clicking a send control.
[0068] In step 303, in response to an operation triggering the send control, the document block is sent to at least one chat selected by the user in the instant message chat list.
[0069] 6 is a schematic diagram of a sharing interface according to an embodiment of the present disclosure, in which the sharing interface includes an instant message chat list, and recent conversations are displayed by default, and the instant message chat list includes chat A, chat B, chat C and chat D. A user may click a search box to search for any one of the chats, and the chat selected by the user will be displayed in the selected area, and in FIG. 6, the number of chats already selected is 0.
[0070] In FIG. 6, the sharing interface further includes a “Create New Conversation” control, and when the user clicks the “Create New Conversation” control, a new chat can be created and the created new chat can be displayed in the selected area.
[0071] In Fig. 6, the sharing interface further includes a PostScript box to facilitate the user to input a PostScript. In response to a sharing confirmation operation (e.g., the user clicks the send control), the PostScript input in the PostScript box of the sharing interface is obtained, and the PostScript is sent to the target chat together with the document block.
[0072] 7 is an exemplary flowchart of a document block sharing method according to an embodiment of the present disclosure, where the execution body of the document block sharing method is an IM client, that is, the document block sharing method is used on the IM side. The document block sharing method may include, but is not limited to, the following steps 501 to 503:
[0073] In step 501, an operation to send a document block of a first document to a target chat is received.
[0074] In this embodiment, an operation of sending a document block of a first document to a target chat can be received, and document block information can be obtained, where the document block information includes, but is not limited to, the content of the document block, the typesetting information of the content of the document block in the first document, layout information, link address information of the document to which the document block belongs, etc.
[0075] In step 502, first authority information of a document block is obtained.
[0076] In this embodiment, the first permission information of the document block may be permission to view, permission to edit, permission to comment, a combination of these permissions, or no permission.
[0077] In step 503, the document block is presented in a predetermined presentation style in an interface corresponding to each of the members of the target chat based on the first authority information of the document block.
[0078] In some embodiments, if the first permission information indicates that the current user in the target chat has viewable or editable permission for the document block, displaying some or all of the contents of the document block in the target chat of the current user; or In the first authority information, if the current user in the target chat does not have authority for the document block, display prompt information to apply for authority to the target chat of the current user.
[0079] The predefined presentation styles include text hyperlink and message card.
[0080] In this embodiment, the text hyperlinks and message cards are generated based on the document block information.
[0081] A text hyperlink is a link that is expressed in the form of a string of characters, rather than English letters and punctuation marks. When a text hyperlink is triggered, a browser can be opened and jumped to the page corresponding to the link, which is the page where the document is located. At the same time, the characters used in the text hyperlink can reflect the core content of the page corresponding to the link.
[0082] A message card is a presentation in the form of a card for presenting information related to the contents of a document block. The content presented by the message card may be understood as a summary or a summary of the contents of the document block.
[0083] As can be seen, in this embodiment, what is displayed on the chat interface is a message card including a text hyperlink, which essentially uses the message card to present important information, summary information, and core information of the content of the document block, helping the user quickly understand the content of the document block, and further allowing the content of the document block to be used directly without jumping, thereby improving the efficiency of using the content of the document block.
[0084] FIG. 8 is a structural schematic diagram of a text hyperlink according to an embodiment of the present disclosure. As shown in FIG. 8, a text hyperlink includes: Icons, which are the log patterns for document blocks, A hyperlink that is constructed based on the text content (e.g., topic / summary) extracted from the document block information or the text content defined at the business service end of the document block information, and that opens a browser and jumps to the document corresponding to the document block information after being triggered; and a tag for identifying a document type corresponding to the document block information.
[0085] In this embodiment, the hyperlink is "Block Shared|Source: XXXX", where "XXXX" is the document name of the document in which the document block is located. As can be seen, the hyperlink visible to the user is a text hyperlink, which makes it easier to understand the source of the document corresponding to the hyperlink.
[0086] In some embodiments, in response to a mouse pointer hovering over a hyperlink, an underline is added under the hyperlink, and in response to a user clicking the mouse, a browser is opened and jumped to the document corresponding to the document block information.
[0087] In some embodiments, in response to a user clicking the right mouse key when the mouse pointer hovers over a text hyperlink, the text hyperlink is selected and an operation bar is popped up, the operation bar including a copy link control and a copy control, where the copy link control is used to copy the hyperlink (which may be understood as a URL (Uniform Resource Locator) link), and the copy control is used to copy the text content of the text hyperlink, for example, when a user clicks the copy control, what is essentially copied is the text content in FIG. 8, i.e., "Block Share | Source: XXXX".
[0088] In some embodiments, in response to selecting an entire text hyperlink with the mouse pointer box, the hyperlink (which may be understood as a URL link) is copied, and in response to selecting a portion of an entire text hyperlink with the mouse pointer box, the checked text content is copied.
[0089] In some embodiments, in response to a long press (e.g., a user long presses on a mobile end device), a message menu is presented, the message menu including a copy link control and a copy control, where the copy link control is used to copy a hyperlink (which may be understood as a URL link) and the copy control is used to copy the text content of a text hyperlink.
[0090] FIG. 9 is a schematic diagram of a predetermined presentation style of a message card according to an embodiment of the present disclosure. As shown in FIG. 9, the predetermined presentation style includes: A title bar containing a text hyperlink; a content area in which some or all of the content of the document block is displayed; At least one of: a permission setting control for setting permissions for chat members of the current user to the document block; or a permission area for displaying permissions that the current user has to the document block, where the permissions include, but are not limited to, viewing permission, editing permission (including viewing permission and commenting permission), commenting permission and combinations thereof, no permission, etc.
[0091] In some embodiments, a sharer of a document block can set permissions for chat members to the document block through a permission setting control. In some embodiments, a sharer of a document block, i.e., a member in a chat other than the sharer, can see the permissions that the sharer has for the document block, which are displayed in the permission area.
[0092] 9, the title bar further includes a copy link control, which is located after the text hyperlink. In response to an operation that triggers the copy link control (e.g., a user clicks on the copy link control), the hyperlink (which may be understood as a URL link) is copied.
[0093] In FIG. 9, the content of the document block displayed in the content area reserves typesetting information and layout information, such as font, font size, paragraph spacing, and the like, in the original document.
[0094] 9, the authority area displays prompt information, i.e., “Grant authority to this chat member”, to prompt the user to set the authority of the chat member. The authority setting control included in the authority area is a drop-down list control, which includes multiple options such as can view, can edit, etc.
[0095] In some embodiments, the content of the documentation block is a screenshot, and in response to an action that triggers the content of the documentation block (e.g., a user clicking on the screenshot), a browser opens and jumps to the document corresponding to the documentation block information.
[0096] In some embodiments, in response to an operation that triggers a document block to be presented in the target chat, a browser is opened and a first document corresponding to the document block is jumped to. In some embodiments, before opening the browser and jumping to the first document corresponding to the document block, it may be determined whether a user of the triggering operation has at least view permissions for the first document, and if so, performs an operation to open the browser and jump to the first document corresponding to the document block, and if not, presents prompt information to apply for permissions for the first document.
[0097] In some embodiments, in response to an edit or comment operation on a document block in a target chat, detect whether a member of the edit or comment operation has editable authority, and if so, add the content of the edit or comment to the document block in the target chat, and after adding the content of the edit or comment to the document block, synchronize the content of the edit or comment to the first document.
[0098] 10 is an exemplary flowchart of another document block sharing method according to an embodiment of the present disclosure, the execution body of the method is a URL middle ground, which may be understood as a service middle ground that processes URL-related matters in an instant messaging system, the URL middle ground obtains a user's input via an instant messaging client (i.e., an IM client), and presents the processing result of the URL to a customer via the instant messaging client.
[0099] FIG. 10 is an embodiment based on FIG. 7. After receiving an operation of sending a document block of a first document to a target chat in step 701 of FIG. 7, in response to the operation of sending a document block of the first document to the target chat, parsing the document block, generating a text hyperlink corresponding to the document block, and rendering a message card corresponding to the document block in a predetermined presentation style.
[0100] As shown in FIG. 10, the URL middle ground may be divided into a number of functional modules, including a rendering / analysis module, a monitoring module, a management module and a response module. In FIG. 10, a business service end is further included, which is a service end that provides document services. In order to facilitate access to the management module of the URL middle ground, the business service end needs to register a domain name in the developer's background first. The flow description of the document block sharing method is as follows:
[0101] Send a document block to an instant message chat. After monitoring the document block, the monitoring module queries the management module for a business service end that processes the document block. The management module returns the queried business service end information to the monitoring module. The monitoring module requests the queried business service end to analyze the document block. In response to the request, the business service end analyzes the document block and sends the analysis data to the response module. The response module receives the analysis data of the business service end feedback and provides the analysis data to the rendering / analysis module. After obtaining the analysis data, the rendering / analysis module generates a text hyperlink corresponding to the document block based on the analysis data, and renders a message card corresponding to the document block in a predetermined presentation style.
[0102] The above technical solution essentially uses message cards to present important information, summary information and core information of the content of document blocks, helping users quickly understand the content of document blocks, and allowing the content of document blocks to be used directly without jumping, thereby improving the efficiency of using the content of document blocks.
[0103] It should be noted that, for ease of description, the embodiments of the above-mentioned methods are combined into a series of operations, but as will be appreciated by those skilled in the art, the embodiments of the present disclosure are not limited to the order of operations described, and some steps may be performed in other orders or simultaneously according to the embodiments of the present disclosure. In addition, as will be appreciated by those skilled in the art, any of the embodiments described in the specification are alternative embodiments.
[0104] 11 is an exemplary block diagram of a document block sharing device according to an embodiment of the present disclosure, which is used on the document side. The document block sharing device may include, but is not limited to, a presenting unit 91, a determining unit 92, and a sending unit 93.
[0105] the presentation unit 91 is used to present a sharing interface in response to a sharing operation triggered on a document block in the first document; a determining unit 92 for determining a target business scenario based on a selection operation on the shared interface; The sending unit 93 is used to send the document block indicated by the sharing operation to the target business scenario in response to a sharing confirmation operation, where the document block indicated by the sharing operation includes one or more document blocks.
[0106] In some embodiments, the determining unit 92 is used to determine a target chat based on a chat selection operation on the sharing interface, and the sending unit 93 is used to send the document block indicated by the sharing operation to the target chat.
[0107] In some embodiments, the presentation unit 91 is further used to present a document block operation options box in response to a selection operation on a document block in the first document, where the document block operation options box includes a share to chat option.
[0108] In some embodiments, the document block sharing device further includes an acquiring unit 94 and an authority unit 95. The acquiring unit 94 is used for acquiring authority information of the document block. The authority unit 95 is used for synchronizing the authority information with a system to which the target business scenario belongs, so that the system presents the document block in the target business scenario according to the authority information.
[0109] In some embodiments, the acquisition unit 94 is used to acquire permission information of the first document as permission information of the document block, or to present a permission setting interface of the document block and acquire the permission information of the document block based on the operation of the permission setting interface, where if the first document includes multiple document blocks, the permission of each document block is set unified or the permission of each document block is set individually in the permission setting interface.
[0110] In some embodiments, the document block sharing device further includes an granting unit 96 for granting a first permission of the document block to a member in the target chat, where the first permission is to grant the same permission to the member in the target chat or to grant different permissions to the member in the target chat. In some embodiments, the granting unit 96 is used to grant the first permission of the document block to the member in the target chat and also grant the first permission of the first document to the member in the target chat.
[0111] In some embodiments, the document block sharing device further includes a retrieval unit 97 for retrieving the first authority for the document block granted to a member in the target chat by the granting unit 96 in response to a retraction operation of the sent document block in the target chat.
[0112] In some embodiments, the document block sharing device further includes a Postscript unit 98 for obtaining a Postscript entered in a Postscript box of the sharing interface in response to a share confirmation operation, and sending the Postscript to the target chat.
[0113] In some embodiments, the presentation unit 91 is further used to present the first document to the first user and position it at the location of the document block in response to a trigger operation on the document block in the first user's target chat.
[0114] 12 is an exemplary block diagram of another document block sharing device according to an embodiment of the present disclosure, where the document block sharing device is used in an IM client. The document block sharing device may include, but is not limited to, a receiving unit 1001, an obtaining unit 1002, and a presenting unit 1003.
[0115] The receiving unit 1001 is used for receiving an operation of sending a document block of a first document to a target chat; The obtaining unit 1002 is used for obtaining first authority information of a document block; The presentation unit 1003 is used for presenting the document block in a predetermined presentation style in an interface corresponding to each member of the target chat respectively according to the first authority information of the document block.
[0116] In some embodiments, the predetermined presentation style includes a text hyperlink and a message card, and the presentation unit 1003 is further used to parse the document block, generate a text hyperlink corresponding to the document block, and render a message card corresponding to the document block in the predetermined presentation style in response to an operation of sending a document block of the first document to the target chat.
[0117] In some embodiments, the predetermined presentation style may include: a title bar containing the text hyperlink; a content area in which some or all of the content of the document block is displayed; The document block includes at least one of a permission setting control for setting the permissions of chat members for the current user, or a permission area for displaying the permissions that the current user has for the document block.
[0118] In some embodiments, the document block sharing device further includes a jump unit 1004 for opening a browser and jumping to a first document corresponding to the document block in response to an operation triggering the document block to be presented to the target chat.
[0119] In some embodiments, the jump unit 1004 is further used to determine whether the user who triggered the operation has at least viewing authority for the first document, and if so, to open a browser and perform an operation to jump to the first document corresponding to the document block, and if not, to present prompt information to apply for authority for the first document.
[0120] In some embodiments, the presentation unit 1003 is used to display part or all of the contents of the document block in the target chat of the current user if the first authority information indicates that the current user in the target chat has viewable or editable authority for the document block, or to display prompt information to apply for authority in the target chat of the current user if the first authority information indicates that the current user in the target chat does not have authority for the document block.
[0121] In some embodiments, the document block sharing device further includes an editing unit 1005 for detecting whether a member of the editing or commenting operation has editing authority in response to an editing or commenting operation on the document block in the target chat, and adding the content of the editing or commenting to the document block in the target chat if the member has editing authority.
[0122] In some embodiments, the editing unit 1005 is further used to synchronize the content of edits or comments with the first document after adding the content of edits or comments to the document block in the target chat.
[0123] It should be noted that the division of each unit in the document block sharing device is only a logical functional division, and in actual implementation, there may be other division methods, for example, at least two units may be implemented as one unit, and each unit in the document block sharing device may be divided into multiple sub-units. It can be understood that each unit or sub-unit can be realized by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in a hardware manner or a software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can realize the described functions using different methods for each specific application.
[0124] 13 is an example block diagram of a system including at least one computing device and at least one storage device for storing instructions according to embodiments of the present disclosure. In some embodiments, the system may be used for big data processing, and the at least one computing device and the at least one storage device may be in a distributed deployment, making the system a distributed data processing cluster.
[0125] As shown in Figure 13, the system includes at least one computing device 1101 and at least one memory device 1102 for storing instructions. As can be appreciated, the memory device 1102 in this embodiment may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
[0126] In some embodiments, storage device 1102 stores elements, executable units or data structures of an operating system and application programs, or a subset or extension thereof.
[0127] Here, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., and is used to realize various basic tasks and process hardware-based tasks. The application programs include various application programs, such as a media player, a browser, etc., and are used to realize various application tasks. An embodiment program for realizing at least one document block sharing method according to an embodiment of the present disclosure may be included in the application programs.
[0128] In an embodiment of the present disclosure, at least one computing device 1101 is used to execute steps of at least one embodiment of a document block sharing method according to an embodiment of the present disclosure by invoking at least one program or instruction stored in a memory device 1102, which may be a program or instruction stored in an application program.
[0129] The document block sharing method according to at least one embodiment of the present disclosure may be used in or realized by a computing device 1101. The computing device 1101 may be an integrated circuit chip having a signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware or an instruction in software form in the computing device 1101. The above computing device 1101 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware assembly. The general-purpose processor may be a microprocessor, or the processor may be any general processor, etc.
[0130] The steps of the document block sharing method according to at least one embodiment of the present disclosure may be directly embodied to be performed and completed by a hardware decoding processor, or performed and completed by a combination of hardware and software units in the decoding processor. The software units may be located in a storage medium well known in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the storage device 1102, and the computing device 1101 reads information in the storage device 1102 and completes the steps of the method in combination with its hardware.
[0131] An embodiment of the present disclosure further proposes a computer-readable storage medium, in which a program or instruction is stored, which, when executed by at least one computing device, causes the at least one computing device to perform steps of each embodiment of a document block sharing method, which will not be described further here in order to avoid repetition of description. Here, the computing device may be the computing device 1101 shown in FIG. 11. In some embodiments, the computer-readable storage medium is a non-transitory computer-readable storage medium.
[0132] An embodiment of the present disclosure further proposes a computer program product, where the computer program product includes a computer program, which is stored in a non-transitory computer-readable storage medium, and at least one processor of the computer reads and executes the computer program from the storage medium to cause the computer to perform steps of each embodiment of the document block sharing method, which will not be described further here in order to avoid repetition of description.
[0133] It should be explained that, as used herein, the terms "comprises," "including," or any other variation thereof, are intended to cover the non-exclusive "comprises," whereby a process, method, article, or apparatus that includes a set of elements not only includes those elements, but also includes other elements not expressly listed or that are inherent to such process, method, article, or apparatus. Unless otherwise limited, an element qualified by the phrase "including..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0134] As will be understood by those skilled in the art, some embodiments described herein include some features that are included in other embodiments but not other features, but a combination of features of different embodiments is meant to form a different embodiment while still falling within the scope of the present disclosure.
[0135] As can be understood by those skilled in the art, the description of each embodiment focuses on each, and parts that are not described in detail in one embodiment can be referred to the related descriptions of other embodiments.
[0136] Although the embodiments of the present disclosure have been described in conjunction with the drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and all such modifications and variations are within the scope defined by the claims.
Claims
1. presenting a sharing interface in response to a sharing operation triggered on a document block in the first document; determining a target business scenario based on a selection operation on the shared interface; in response to a share confirmation operation, sending the document block indicated by the share operation to the target business scenario; The document block indicated by the share operation includes one or more document blocks.
2. determining a target business scenario based on a selection operation on the shared interface includes determining a target chat based on a chat selection operation on the shared interface; The method of claim 1 , wherein sending the document block indicated by the share operation to the target business scenario comprises sending the document block indicated by the share operation to the target chat.
3. in response to a share operation triggered on a document block in the first document, prior to presenting the share interface; presenting a document block operation options box in response to a selection operation on the document block in the first document; The method of claim 2 , wherein the document block operations options box includes a share to chat option.
4. obtaining authority information for the document block; The method of claim 1 , further comprising: synchronizing the authority information with a system to which the target business scenario belongs, so that the system presents the document block in the target business scenario based on the authority information.
5. Obtaining the authority information of the document block includes: obtaining authority information of the first document as authority information of the document block; Or, presenting an authority setting interface for the document block; and obtaining authority information for the document block according to an operation of the authority setting interface; The method according to claim 4 , wherein, when the first document includes multiple document blocks, the permission of each document block is set unified in the permission setting interface or the permission of each document block is set individually.
6. granting a first permission for the document block to a member in the target chat; The method of claim 2 , wherein the first authority is to grant members in the target chat the same authority or to grant members in the target chat different authority.
7. The method of claim 6, further comprising revoking first rights to the document block granted to a member in the target chat in response to a retraction operation of the sent document block in the target chat.
8. 7. The method of claim 6, further comprising granting a first permission for the document block to a member in the target chat and also granting a first permission for the first document to a member in the target chat.
9. presenting a sharing interface in response to a sharing operation triggered on a document block in the first document; The method of claim 2 , further comprising, in response to the confirm sharing operation, obtaining a Postscript entered in a Postscript box of the sharing interface and sending the Postscript to the target chat.
10. 3. The method of claim 2, further comprising presenting the first document to the first user and positioning it at the location of the document block in response to a trigger operation on the document block in the first user's target chat.
11. Receiving an operation to send a document block of the first document to the target chat; Obtaining first authority information of the document block; presenting the document block in a predetermined presentation style based on first authority information of the document block in an interface corresponding to each of the members of the target chat; How to share document blocks, including:
12. the predetermined presentation style includes a text hyperlink and a message card; 12. The method of claim 11, further comprising: after receiving an operation to send a document block of a first document to the target chat, in response to the operation to send a document block of a first document to the target chat, parsing the document block, generating a text hyperlink corresponding to the document block, and rendering a message card corresponding to the document block in a predetermined presentation style.
13. The predetermined presentation style is: a title bar containing the text hyperlink; a content area in which some or all of the content of the document block is displayed; a permission setting control for the current user to set the permission of chat members for the document block, or a permission area for displaying the permission that the current user has for the document block; The method of claim 12 , comprising at least one of:
14. 12. The method of claim 11, further comprising, in response to an operation that triggers the document block to be presented in the target chat, opening a browser and jumping to a first document corresponding to the document block.
15. Before opening a browser and jumping to the first document corresponding to the document block, 15. The method of claim 14, further comprising: determining whether a user who triggered the operation has at least a view authority for the first document, and if so, performing an operation to open a browser and jump to the first document corresponding to the document block, and if not, presenting prompt information to apply for authority for the first document.
16. Presenting the document block in a predetermined presentation style based on first authority information of the document block in an interface corresponding to each of the members of the target chat, If the first permission information indicates that the current user in the target chat has permission to view or edit the document block, displaying some or all of the content of the document block in the target chat of the current user; or The method of claim 11, further comprising: displaying prompt information to apply for authority to the target chat of a current user if the first authority information indicates that the current user in the target chat does not have authority for the document block.
17. The method of claim 11, further comprising: in response to an edit or comment operation on the document block in the target chat, detecting whether a member of the edit or comment operation has editable authority, and if the member has editable authority, adding the content of the edit or comment to the document block in the target chat.
18. After adding edit or comment content to the document block in the target chat, The method of claim 17 , further comprising synchronizing edit or comment content to the first document.
19. a presentation unit for presenting a sharing interface in response to a sharing operation triggered on a document block in the first document; a determination unit for determining a target business scenario based on a selection operation on the shared interface; a sending unit for sending, in response to a sharing confirmation operation, the document block indicated by the sharing operation to the target business scenario; A document block sharing device, wherein the document block indicated by the sharing operation includes one or more document blocks.
20. a receiving unit for receiving an operation of sending a document block of the first document to the target chat; an obtaining unit for obtaining first authority information of the document block; a presentation unit for presenting the document block in a predetermined presentation style according to first authority information of the document block in an interface corresponding to each of the members of the target chat; A document block sharing device comprising:
21. 19. A system comprising at least one computing device and at least one storage device storing instructions, which, when executed by the at least one computing device, cause the at least one computing device to perform steps of a document block sharing method described in any one of claims 1 to 10 or any one of claims 11 to 18.
22. A computer-readable storage medium having stored thereon a program or instructions which, when executed by at least one computing device, causes the at least one computing device to perform steps of the document block sharing method of any one of claims 1 to 10 or any one of claims 11 to 18.
Citation Information
Patent Citations
Document content sharing method and device, terminal and storage medium
CN111078655A
Information processing system, information processing apparatus, and program
JP2015180992A
Chat room-based file sharing device
JP2020113234A
Document generation system and program of document generation system
JP2021018688A
Terminal device control program, terminal device control method, and terminal device
JP2022009257A