Information processing method and device, electronic equipment and storage medium
By creating source synchronization blocks and reference synchronization blocks in documents and establishing synchronization relationships, the problem of high granularity of information flow in existing online document collaboration technology is solved, and information synchronization and flow at the module level is realized.
Patent Information
- Application Number
- CN202311368446.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2025-04-22
AI Technical Summary
The information flow of existing online document collaboration technology is relatively granular, making it difficult to achieve module-level information synchronization and flow.
By creating source synchronization blocks and reference synchronization blocks in the document and establishing synchronization relationships, the source synchronization block is consistent with the contents in the reference synchronization block, and the module-level information synchronization is achieved.
It reduces the granularity of information flow, realizes module-level information synchronization and flow in the document, and avoids unnecessary information synchronization.
Smart Images

Figure CN119862856A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more particularly to an information processing method, apparatus, electronic device, and storage medium. Background Art
[0002] Documents serve as carriers of information and facilitate its circulation; they are also essential tools within office software. Documents can be online, allowing multiple collaborators to share them, thus enabling collaborative work. Summary of the Invention
[0003] This disclosure provides an information processing method, apparatus, electronic device, and storage medium.
[0004] The following technical solution is adopted in this disclosure.
[0005] In some embodiments, this disclosure provides an information processing method, including:
[0006] In response to the first operation event, a source synchronization block is created in the first document;
[0007] In response to the second operation event, a reference synchronization block that has a synchronization relationship with the source synchronization block is generated in the second document;
[0008] The synchronization relationship includes: the content in the source synchronization block and the reference synchronization block are the same; updates to the content in the source synchronization block will be synchronized to the content in the reference synchronization block; updates to the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
[0009] In some embodiments, this disclosure provides an information processing apparatus, including:
[0010] Create a unit to create a source synchronization block in the first document in response to the first operation event;
[0011] A generation unit is configured to generate, in response to a second operation event, a reference synchronization block in a second document that has a synchronization relationship with the source synchronization block;
[0012] The synchronization relationship includes: the content in the source synchronization block and the reference synchronization block are the same; updates to the content in the source synchronization block will be synchronized to the content in the reference synchronization block; updates to the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
[0013] In some embodiments, this disclosure provides an electronic device, including: at least one memory and at least one processor;
[0014] The memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above method.
[0015] In some embodiments, this disclosure provides a computer-readable storage medium for storing program code that, when run by a processor, causes the processor to perform the methods described above.
[0016] In this embodiment of the disclosure, mutual synchronization between the source synchronization block and the reference synchronization block is achieved without synchronizing other content in the first and second documents (e.g., content in the content blocks of other non-synchronized blocks). This achieves module-level information synchronization and flow in the document, which reduces the granularity of information flow compared to document-level information flow. Attached Figure Description
[0017] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0018] Figure 1 This is a flowchart of an information processing method according to an embodiment of the present disclosure.
[0019] Figures 2 to 13 This is a schematic diagram showing the document during the execution of an embodiment of this disclosure.
[0020] Figure 14 This is a flowchart of an information processing method according to an embodiment of the present disclosure.
[0021] Figure 15 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0022] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0023] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0024] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0025] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0026] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0028] It should be understood that the various steps described in the method embodiments of this disclosure can be performed in sequence and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0029] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0030] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0031] It should be noted that the use of the word "a" in this disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise expressly indicated in the context.
[0032] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0033] The solutions provided by the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0034] Documents serve as carriers of information recording and circulation, and are also important tools for creation and collaboration in office software. To facilitate collaboration among different users, some technologies utilize collaborative online documents, allowing different users to collaborate on the same online document. However, this collaboration is granular at the document level, and its ability to achieve document-level collaboration is not flexible or sufficient for the flow of information.
[0035] like Figure 1 As shown, Figure 1 This is a flowchart of an information processing method according to an embodiment of the present disclosure, which includes the following steps.
[0036] S11. In response to the first operation event, create a source synchronization block in the first document.
[0037] S12. In response to the second operation event, generate a reference synchronization block in the second document that has a synchronization relationship with the source synchronization block.
[0038] In some embodiments, the first operation event can be an operation event executed in the first document, and the second operation event can be an operation event executed in the second document. The first and second documents can be online documents. Both source synchronization blocks and reference synchronization blocks are synchronization blocks, and they have a synchronization relationship with each other. In some embodiments, a synchronization block is a special type of content block. A content block is the basic unit in a document that carries the document's content; a document has one or more content blocks, and the document content is located within the content blocks. Synchronization blocks are used to help users synchronize information between different documents. A source synchronization block is the initial entity form of a synchronization block; the creation of a source synchronization block does not depend on other synchronization blocks. A reference synchronization block is the entity form of a source synchronization block after it has been synchronized, referenced, or shared; the creation of a reference synchronization block directly or indirectly depends on the source synchronization block. In some embodiments, a reference synchronization block has a synchronization relationship with only one source synchronization block, while a source synchronization block can have a synchronization relationship with one or more reference synchronization blocks. In some embodiments, the synchronization relationship includes: the content in the source synchronization block and the reference synchronization block remains the same; an update to the content in the source synchronization block will be synchronized to the content in the reference synchronization block, thereby performing the same update to the content in the reference synchronization block; an update to the content in the reference synchronization block will be synchronized to the content in the source synchronization block, thereby performing the same update to the content in the source synchronization block.
[0039] In some embodiments of this disclosure, a source synchronization block is created in the first document, and a reference synchronization block is created in the second document. A synchronization block is a special type of content block, serving as the basic unit carrying document content. One or more content blocks exist in both the first and second documents. When document content is written, it is written into a content block. Regular content blocks do not synchronize their content. A synchronization block can contain document content. The content of the source synchronization block is synchronized with the content of the reference synchronization block. Thus, modifications to the source synchronization block in the first document will automatically modify the reference synchronization block. The content of other non-synchronized content blocks in the first document will not be synchronized with the content of non-synchronized content blocks in the second document. Similarly, modifications to the source synchronization block in the second document will automatically modify the reference synchronization block. The content of other non-synchronized content blocks in the first document will not be synchronized with the content of non-synchronized content blocks in the second document. In this disclosure, the document content in the first and second documents, excluding the content of the source and reference synchronization blocks, does not need to be synchronized, thus achieving module-level synchronization. In this embodiment of the disclosure, module-level mutual synchronization between the source synchronization block and the reference synchronization block is achieved without synchronizing other content in the first and second documents (e.g., content in the content blocks of other non-synchronized blocks), thereby realizing module-level information synchronization and flow in the document and reducing the granularity of information transmission.
[0040] In some embodiments of this disclosure, creating a source synchronization block in a first document in response to a first operation event includes: creating an empty source synchronization block in the first document in response to a triggering operation on a first control of the first document. In some embodiments, such as... Figure 2 As shown, in the first document, the control entry point can be triggered in a blank area. Figure 2 (A box with a plus sign inside), then displays a list of controls, with the first control in the list ( Figure 2 The "Synchronization Block" in the left-hand box can be accessed by clicking this first control, such as... Figure 3 As shown, an empty source synchronization block is created in the first document. Figure 3 (The dashed box in the middle), and can automatically display the input identifier in the source synchronization block.
[0041] In some embodiments of this disclosure, creating a source synchronization block in a first document in response to a first operation event includes: converting the first content block into a source synchronization block in response to a triggering operation of a second control associated with a first content block of the first document, wherein the source synchronization block in the first document contains the original first content of the first content block. In some embodiments, such as... Figure 4 As shown, the first content block ( Figure 4The dashed box containing "BBBBB" represents the content block of the asynchronous block. The first content block has an associated list of controls. This list can be displayed by triggering the control entry point of the first content block, and then the second control can be displayed within the list. Figure 4 The second control (used in the context of "synchronization block") is used to convert the type of the content block. By triggering the second control, the content block can be synchronized as follows: Figure 5 As shown, the first content block is converted into a source synchronization block, and the content in the source synchronization block is the original document content in the first content block, i.e., the first content ( Figure 4 (in "BBBBB").
[0042] In some embodiments of this disclosure, creating a source synchronization block in a first document in response to a first operation event includes: displaying a third control associated with the second content in response to a preset operation on second content in the first document; and creating a source synchronization block in the first document, the source synchronization block containing the second content, in response to a trigger operation on the third control. In some embodiments, such as... Figure 6 As shown, the second content is the document content of the first document. A default operation could be, for example, selecting the second content by dragging the mouse. Figure 6 The second content ("CCC") can be part or all of the content in an asynchronous block. After performing a preset operation on the second content, a list of controls for the second content will be displayed. This list includes conversion controls. The third control can be a control from the conversion controls used to convert the document content into a synchronous block. Figure 7 (The "synchronization block" in the text). Then, as shown... Figure 8 As shown, a source synchronization block will be generated, and the second content will be located in the source synchronization block.
[0043] In some embodiments of this disclosure, in response to a user performing a first operation event who does not have editing permissions for the first document, the creation of a source synchronization block in the first document is refused. In some embodiments, a user with editing permissions for the first document can edit the document content of the first document, because creating a source synchronization block involves editing the document content of the first document, thus requiring editing permissions to edit the first document; otherwise, the creation of a source synchronization block in the first document is refused.
[0044] In some embodiments of this disclosure, the method further includes: granting permissions to the user of the first document to the source synchronization block, wherein the user of the first document has the same permissions to the source synchronization block as the user of the first document has the same permissions to the first document.
[0045] In some embodiments, after the source synchronization block is created, the permission settings for the source synchronization block inherit the permission settings of the first document by default. The user's permissions for the first document can be read, editable, etc. Editable permissions include readable permissions. If the user has readable or editable permissions for the first document, then after the source synchronization block is established, the user will automatically have readable or editable permissions for the source synchronization block.
[0046] In some embodiments of this disclosure, the content in the source synchronization block and the reference synchronization block includes one or more of the following: text, images, videos, documents, tables, and content blocks from non-synchronization blocks. The content block is the basic unit carrying document content. In some embodiments of this disclosure, document content can be written into the source synchronization block and the reference synchronization block, and content blocks that are not synchronization blocks (including source synchronization blocks and reference synchronization blocks) can also be written into them. Document content can be further written into these content blocks. The content in the source synchronization block and the reference synchronization block does not include: other source synchronization blocks and other reference synchronization blocks. That is, one synchronization block cannot be inserted into another synchronization block.
[0047] In some embodiments of this disclosure, in response to a user having comment permissions on the document containing the target synchronization block, the user is granted comment permissions on the target synchronization block within that document; in other embodiments, in response to a user not having comment permissions on the document containing the target synchronization block, the user is not granted comment permissions on the target synchronization block within that document. In some embodiments, the target synchronization block is either the source synchronization block or the referenced synchronization block; that is, only users with comment permissions on the first document also have comment permissions on the source synchronization block, and if they do not have comment permissions on the first document, they also do not have comment permissions on the source synchronization block. Only users with comment permissions on the second document have comment permissions on the source synchronization block, and if they do not have comment permissions on the second document, they also do not have comment permissions on the referenced synchronization block.
[0048] In some embodiments of this disclosure, in response to a comment operation on the content of the target synchronization block, comment information is displayed in the document containing the commented content, and at least one of the following is performed: the comment information is not synchronized to other documents, and a notification message is sent to the associated user of the document containing the commented content. In some embodiments, comments on the target synchronization block are mounted on the target synchronization block. Users with permission to view comments in a first document can view comment information on the content of the source content block, and users with permission to view comments in a second document can view comment information on the content of the referenced content block. Comment information is not synchronized. Comment information on the content of the source synchronization block in the first document is only displayed in the first document containing the source document and is not synchronized to the referenced synchronization block or the document containing the referenced synchronization block. A notification message is sent to the user associated with the comment information in the first document. Similarly, comments on the referenced synchronization block in the second document are not synchronized to the source synchronization block or the first document containing the source synchronization block, and a notification message is sent to the user associated with the comment information in the second document.
[0049] In some embodiments of this disclosure, the second operation event includes: copying the source synchronization block or a link of the source synchronization block into the second document; or copying another reference synchronization block or a link of the other reference synchronization block into the second document, wherein the other reference synchronization block has a synchronization relationship with the source synchronization block in the first document.
[0050] In some embodiments, after generating the source synchronization block, if a reference synchronization block has not yet been generated, the source synchronization block or its link can be copied and then pasted into the second document to generate the reference synchronization block. In other embodiments, after generating the source synchronization block, if another reference synchronization block has already been generated by copying the source synchronization block or its link, this other synchronization block or its link can be copied and pasted into the second document to generate a reference synchronization block in the second document. The synchronization relationship of this reference synchronization block depends on the synchronization relationship of the other reference synchronization block. Because the other reference synchronization block has a synchronization relationship with the source synchronization block, the reference synchronization block in the second document has a synchronization relationship with the source synchronization block.
[0051] In some embodiments of this disclosure, after the second operation event and before generating a reference synchronization block in the second document that has a synchronization relationship with the source synchronization block, the method further includes: determining the access permissions of the user executing the second operation event to the second document.
[0052] In some embodiments, in response to a user performing the second operation event not having editing permissions on the second document, the generation of the reference synchronization block is refused. In some embodiments, generating the reference synchronization block in the second document is an editing of the second document; therefore, editing permissions on the second document are required to generate the reference synchronization block; otherwise, the reference synchronization block cannot be generated in the second document.
[0053] In some embodiments, in response to the user performing the second operation event having editing permissions for the second document, it is determined whether the user performing the second operation event has reading permissions for the source synchronization block; in response to the user performing the second operation event having reading permissions for the source synchronization block, the step of generating a reference synchronization block in the second document that has a synchronization relationship with the source synchronization block is executed; or, in response to the user performing the second operation event having editing permissions for the second document but not reading permissions for the source synchronization block, a link to the source synchronization block is displayed in the second document without generating the reference synchronization block.
[0054] In some embodiments, if the user performing the second operation event has editing permissions for the second document, it is necessary to further determine whether they have reading permissions for the source synchronization block. If so, a reference synchronization block is generated in response to the second operation event. If not, no reference synchronization block is generated; instead, a link to the source synchronization block is generated in the second document in response to the second operation event. Because the user does not have permission to read the source synchronization block, a reference synchronization block cannot be generated; otherwise, the content in the source synchronization block might be leaked due to the existence of the synchronization relationship.
[0055] In some embodiments of this disclosure, after the link to the source synchronization block is displayed in the second document, the method further includes: in response to an access operation to the link to the source synchronization block, determining whether the user performing the access operation has reading permission for the source synchronization block; in response to the user performing the access operation having access permission for the source synchronization block, redirecting to a separate access page for the source synchronization block; or, in response to the user performing the access operation not having reading permission for the source synchronization block, redirecting to a permission request page, the permission request page being used to request permission for the source synchronization block.
[0056] In some embodiments, because the user performing the second operation event does not have read permission to the source synchronization block, a link to the source synchronization block is displayed in the second document. This user, or other users, can then access the source synchronization block by clicking the link (access operation). If the user performing the access operation has access permission to the source synchronization block (e.g., read permission), the content of the source synchronization block will be displayed on a separate page, thus avoiding the disclosure of other content in the first document. If the user does not have read permission to the source synchronization block, they will be redirected to a permission request page to apply for access permission to the source synchronization block.
[0057] In some embodiments of this disclosure, after generating a reference synchronization block that has a synchronization relationship with the source synchronization block in the second document, the method further includes: determining whether the user performing the second operation event has management collaborator permissions for the reference synchronization block.
[0058] In some embodiments, in response to a user performing a second operation event having management collaborator permissions for the referenced synchronization block, the collaborator of the second document is granted read permission for the referenced synchronization block. In some embodiments, after creating a referenced synchronization block in the second document, if the user performing the second operation event has management collaborator permissions, indicating that they can manage the collaborators of the referenced synchronization block, and management collaborator permissions take precedence over edit and read permissions, then after the user creates the referenced synchronization block in the second document, they are by default granted read permission for the referenced synchronization block to the collaborators of the second document, making the collaborators of the second document also collaborators of the referenced synchronization block. Furthermore, the user performing the second operation event can manually manage the collaborators' permissions for the referenced synchronization block, for example, switching the collaborators' permissions to editable or manageable permissions. Here, a collaborator of a document is a user who has at least the permission to read the document. After granting read permission for the referenced synchronization block to the collaborators of the second document, a notification is sent to the owner of the source synchronization block, the user with management permissions for the source synchronization block, and the user with management permissions for the referenced synchronization block.
[0059] In some embodiments, in response to the user performing the second operation event not having management collaborator permissions for the referenced synchronization block, the user performing the second operation event among the collaborators of the second document is allowed to view the referenced synchronization block; alternatively, the user performing the second operation event among the collaborators of the second document is allowed to view the referenced synchronization block, and a first prompt message is displayed to inform other collaborators of the second document that they cannot view the referenced synchronization block. In some embodiments, because the user performing the second operation event does not have management collaborator permissions, they cannot add other users as collaborators of the referenced synchronization block. Therefore, only this user can view the referenced synchronization block, and other collaborators of the second document are not automatically granted reading permissions for the referenced synchronization block. A first prompt message is displayed to inform this user that some or all collaborators of the second document cannot see the content of the referenced synchronization block, and this user can apply for permissions for the referenced synchronization block for the collaborators of the second document.
[0060] In some embodiments, copying and pasting a source synchronization block, a reference synchronization block, a link to the source synchronization block, or a link to the reference synchronization block into the first document will generate a reference synchronization block in the first document that has a synchronization relationship with the source synchronization block. However, since it is located in the same document as the source synchronization block, it will not trigger other users to authorize the source synchronization block, and therefore no notification message will be sent due to authorization.
[0061] In some embodiments of this disclosure, in response to the deletion of the source synchronization block in the first document, first preset content is displayed at the location of the referenced synchronization block in the second document.
[0062] In some embodiments of this disclosure, such as Figure 14 As shown, if the second document is opened, the status of the synchronization blocks (source synchronization block and reference synchronization block) will be determined. If the source synchronization block is deleted, the reference synchronization block will not be displayed in the second document, and a fallback effect indicating that the source synchronization block has been deleted (first preset content) will be displayed in the location where the reference synchronization block was. Figure 9 The first preset content, "The synchronization block has been deleted from the source document," is illustrated in the image. The source document refers to the first document containing the source synchronization block.
[0063] In some embodiments of this disclosure, in response to desynchronizing the source synchronization block and the reference synchronization block in the first document, the reference synchronization block is not displayed in the second document, and second preset content is displayed at the location of the reference synchronization block. In some embodiments, if the synchronization relationship between the source synchronization block and all reference synchronization blocks is desynchronized in the first document, the reference synchronization block is replaced by second preset content in the second document. The second preset content may be the same as or different from the first preset content. By displaying the second preset content instead of displaying the content in the source synchronization block, the content of the source synchronization block is avoided from being leaked.
[0064] In some embodiments of this disclosure, in response to a user having reading permission for the target synchronization block, the target synchronization block is displayed; in response to a user not having reading permission for the target synchronization block, the target synchronization block is not displayed, and third preset content is displayed at the original location of the target synchronization block, wherein the target synchronization block is the source synchronization block or the reference synchronization block.
[0065] In some embodiments, if a user does not have reading permissions to view the source synchronization block or reference synchronization block in the first or second document, then third preset content will be displayed, such as... Figure 10 As shown, the third preset content can be to inform the user that they do not have access permission to access the target synchronization block, and the third preset content can contain an entry point for requesting access permission to the target synchronization block.
[0066] In some embodiments of this disclosure, in response to a user having reading permission for the first document, the user is granted reading permission for the target synchronization block; in some embodiments of this disclosure, in response to a user having editing permission for the first document, the user is granted editing permission for the target synchronization block; in some embodiments of this disclosure, in response to a user having independent authorization for the target synchronization block, the user's permission for the target synchronization block is determined based on the independent authorization; in some embodiments of this disclosure, a user who does not have reading permission for the first document or independent authorization for the target synchronization block does not have access permission for the target synchronization block; wherein, a user with reading permission or editing permission for the target synchronization block has access permission for the target synchronization block, and the target synchronization block is the source synchronization block or the reference synchronization block.
[0067] In some embodiments, such as Figure 14As shown, when the target synchronization block is in a normal state, a user's permissions for the source synchronization block or referenced synchronization block inherit the user's permissions for the first document containing the source synchronization block. Therefore, if a user can edit or read the first document, they can edit or read the source synchronization block or referenced synchronization block (editing permissions include reading permissions). If a user cannot read the first document, the system will further determine whether they have independent authorization for the source synchronization block or referenced synchronization block. If they have independent reading or editing permissions for the source synchronization block or referenced synchronization block, they can read or edit the source synchronization block or referenced synchronization block.
[0068] In some embodiments of this disclosure, the method further includes: displaying a list of synchronized documents in response to a third operation event of a fourth control associated with a target synchronization block, wherein the target synchronization block is a source synchronization block or a reference synchronization block, and the list of synchronized documents includes: document identifiers of documents having the source synchronization block, and document identifiers of documents having the reference synchronization block.
[0069] In some embodiments, such as Figure 11 As shown, clicking or other triggering operations on the fourth control associated with the source synchronization block in the first document (i.e., the source document) or the reference synchronization block in the second document (i.e., the host document) can display a list of synchronized documents, thereby informing the user which documents the content of the source synchronization block has been synchronized to.
[0070] In some embodiments of this disclosure, the fourth control is displayed in response to a user having read permission to access the target synchronization block. In some embodiments, only users with read permission to the target synchronization block can view the fourth control associated with the target synchronization block.
[0071] In some embodiments of this disclosure, document identifiers that the user performing the third operation event has viewing permission are displayed in the synchronized document list. In some embodiments, only document identifiers that the user has the right to view are displayed in the synchronized document list to avoid information leakage. In some embodiments of this disclosure, a second prompt message is displayed in the synchronized document list to indicate the number of document identifiers that are not displayed.
[0072] In some embodiments of this disclosure, in response to the termination of the synchronization relationship of the target synchronization block, the fourth control associated with the synchronization block is not displayed. In some embodiments, if the synchronization relationship of the target synchronization block is terminated, there are no other synchronization blocks synchronized with it, and therefore there is no need to display the fourth control.
[0073] The fourth control displays the number of document identifiers in the synchronized document list; in some embodiments, such as Figure 11As shown, the fourth control displays "6 locations are already synchronized," thus informing the user how many documents have synchronized blocks (including source synchronized blocks and reference synchronized blocks).
[0074] In some embodiments of this disclosure, the document identifier of the first document containing the source synchronization block in the synchronized document list is associated with a first tag; in some embodiments, the document identifier of the current document containing the target synchronization block in the synchronized document list is associated with a second tag. In some embodiments, such as... Figure 11 As shown, the first document in the synchronized document list displays "Source Document" to the right, indicating that it is the document containing the source synchronization block, and "Current Document" is displayed, indicating that it is the document that the user is currently accessing.
[0075] In some embodiments of this disclosure, in response to a fourth operation event on a document identifier in the synchronized document list, the document pointed to by the document identifier to which the fourth operation event is performed is opened and the target synchronization block within that document is located. In some embodiments, the fourth operation event may be clicking on a document identifier, which opens the document pointed to by the document identifier and locates the target synchronization block within it.
[0076] In some embodiments, in the synchronized document list, the document identifiers of the first document and the current document are displayed first, in the order of first document, current document, and other documents. If a document has multiple synchronized blocks, the document identifier of that document is displayed only once. If the document pointed to by the document identifier to which the fourth operation event is performed has multiple synchronized blocks, the position of the most recently synchronized content is determined.
[0077] In some embodiments of this disclosure, the method further includes: in response to a fifth operation event based on the source synchronization block, releasing the synchronization relationship between the source synchronization block and all the referenced synchronization blocks. In some embodiments, as shown in 12, the source synchronization block may have a control for releasing its synchronization relationship with all referenced synchronization blocks. By triggering this control, the synchronization relationship between the source synchronization block and each referenced synchronization block will be released, and content synchronization will no longer be maintained. When releasing the synchronization relationship between the source synchronization block and all the referenced synchronization blocks, a pop-up window may be displayed for user confirmation, and the synchronization relationship with all referenced synchronization blocks will be released only after confirmation.
[0078] In some embodiments of this disclosure, in response to a user performing the fifth operation event who does not have editing permissions for the first document, the user refuses to release the synchronization relationship between the source synchronization block and all the referenced synchronization blocks. In some embodiments, releasing the synchronization relationship means that the document content in the first document has changed, thus requiring editing permissions for the first document.
[0079] In some embodiments of this disclosure, after desynchronizing the source synchronization block with all the referenced synchronization blocks, the content of the source synchronization block is converted into the content of an asynchronous block in the first document. In some embodiments, after desynchronizing the source synchronization block with all the referenced synchronization blocks, the source synchronization block becomes a normal content block of the asynchronous block type. The content in this content block is the original content in the source synchronization block, but it is not synchronized with the content of the referenced synchronization blocks.
[0080] In some embodiments of this disclosure, after the synchronization relationship between the source synchronization block and all the referenced synchronization blocks is terminated, the link to the source synchronization block becomes inaccessible. Because the source synchronization block is now a regular content block, its link is invalid and cannot be accessed.
[0081] In some embodiments of this disclosure, after the synchronization relationship between the source synchronization block and all the reference synchronization blocks is released, in response to the link of the source synchronization block being pasted into the third document, no reference synchronization block is generated in the third document. Because the source synchronization block is now a regular content block, no reference synchronization block is generated, and the pasted link can simply be displayed as a link.
[0082] In some embodiments of this disclosure, the method further includes: in response to the operation of undoing the fifth operation event, restoring the synchronization relationship between the source synchronization block and all the referenced synchronization blocks. In some embodiments, the source synchronization block that has become a normal content block can be restored through rollback, undo, or other operations, and the synchronization relationship will also be restored.
[0083] In some embodiments of this disclosure, the method further includes: in response to a sixth operation event based on a reference synchronization block in the second document, releasing the synchronization relationship between the reference synchronization block in the second document and the source synchronization block.
[0084] In some embodiments, such as Figure 13 As shown, the synchronization relationship between a referenced synchronization block and the source synchronization block in the second document can be removed individually. In this case, the synchronization relationship between the source synchronization block and other referenced synchronization blocks will remain. When removing the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document, a pop-up window will prompt you to confirm the removal. The synchronization relationship will be removed only after confirmation.
[0085] In some embodiments of this disclosure, in response to a user executing the sixth operation event not having editing permissions for the second document or copy permissions for the referenced synchronization block, the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document is refused. In some embodiments, because the sixth operation event changes the type of the referenced synchronization block in the second document to a regular content block, involving editing operations, editing permissions are required. After executing the sixth operation event, the content of the referenced synchronization block remains in its transformed regular content block state, essentially copying the content of the referenced synchronization block into the second document; therefore, copy permissions for the referenced synchronization block are required. If both permissions are present, the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document can be terminated; otherwise, the synchronization relationship cannot be terminated.
[0086] In some embodiments of this disclosure, after the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document is broken, the content of the referenced synchronization block in the second document is converted into the content of a non-referenced synchronization block. In some embodiments, it becomes the content of a normal content block of a non-synchronized block and can continue to be displayed in the second document, but is not synchronized with the source synchronization block.
[0087] In some embodiments of this disclosure, after the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document is terminated, the second document is no longer displayed in the synchronized document list. It should be noted that if there are multiple referenced synchronization blocks in the second document, and only some of them are terminated from synchronization with the source document, but some still maintain synchronization with the source document, the document identifier of the second document will still be displayed in the synchronized document list. If all referenced synchronization blocks in the second document are terminated from synchronization with the source synchronization block, the document identifier of the second document will not be displayed in the synchronized document list.
[0088] In some embodiments of this disclosure, the method further includes: in response to the operation of undoing the sixth operation event, restoring the reference synchronization block in the second document and the synchronization relationship between the reference synchronization block and the source synchronization block.
[0089] In some embodiments, the referenced synchronization block that has become a normal content block can be restored by means of retraction, rollback of history, etc., and the synchronization relationship with the source synchronization block can be restored.
[0090] This disclosure also proposes an information processing apparatus, characterized in that it comprises:
[0091] Create a unit to create a source synchronization block in the first document in response to the first operation event;
[0092] A generation unit is configured to generate, in response to a second operation event, a reference synchronization block in a second document that has a synchronization relationship with the source synchronization block;
[0093] The synchronization relationship includes: the content in the source synchronization block and the reference synchronization block are the same; updates to the content in the source synchronization block will be synchronized to the content in the reference synchronization block; updates to the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
[0094] In some embodiments, in response to a first operational event, creating a source synchronization block in a first document includes:
[0095] In response to a trigger operation on a first control of the first document, an empty source synchronization block is created in the first document; or,
[0096] In response to a trigger operation on a second control associated with a first content block of the first document, the first content block is converted into the source synchronization block, wherein the source synchronization block in the first document contains the original first content of the first content block; or...
[0097] In response to a preset operation on the second content in the first document, a third control associated with the second content is displayed; in response to a trigger operation on the third control, the source synchronization block is created in the first document, the source synchronization block containing the second content.
[0098] In some embodiments, the creation unit is further configured to refuse to create the source synchronization block in the first document in response to the user performing the first operation event not having editing permissions for the first document;
[0099] The information processing apparatus further includes a control unit, configured to grant permissions to the user of the first document to the source synchronization block, wherein the user of the first document has the same permissions to the source synchronization block as the user of the first document has the same permissions to the first document.
[0100] In some embodiments, the content in the source synchronization block and the reference synchronization block includes one or more of the following: text, images, videos, documents, tables, and content blocks of the asynchronous block, wherein the content block is a basic unit that carries document content;
[0101] In some embodiments, the contents of the source synchronization block and the reference synchronization block do not include: other source synchronization blocks and other reference synchronization blocks.
[0102] In some embodiments, the control unit is further configured to grant the user comment permission on the target synchronization block in the document containing the target synchronization block in response to the user having comment permission on the document containing the target synchronization block, the target synchronization block being the source synchronization block or the reference synchronization block;
[0103] In some embodiments, the control unit is also configured to not grant the user comment permission on the target synchronization block in the document if the user does not have comment permission on the document containing the target synchronization block;
[0104] In some embodiments, the control unit is also configured to, in response to a comment operation on the content in the target synchronization block, display comment information in the document containing the commented content, and perform at least one of the following: not synchronizing the comment information to other documents, and sending a notification message to the associated user of the document containing the commented content.
[0105] In some embodiments, the second operation event includes:
[0106] The operation of copying the source synchronization block or a link to the source synchronization block into the second document; or,
[0107] The operation of copying another referenced synchronization block or a link of the other referenced synchronization block into the second document, wherein the other referenced synchronization block has a synchronization relationship with the source synchronization block in the first document.
[0108] In some embodiments, after the second operation event and before generating a reference synchronization block in the second document that has a synchronization relationship with the source synchronization block, the generation unit is further configured to:
[0109] Determine the access permissions of the user who performed the second operation event to the second document;
[0110] In response to the user performing the second operation event not having editing permissions for the second document, the generation of the reference synchronization block is refused; or,
[0111] In response to the user performing the second operation event having editing permissions for the second document, determine whether the user performing the second operation event has reading permissions for the source synchronization block;
[0112] If, in response to the user performing the second operation event having read permission to the source synchronization block, the step of generating a reference synchronization block in the second document that has a synchronization relationship with the source synchronization block is executed; or,
[0113] If a user performing the second operation event has editing permissions for the second document but not reading permissions for the source synchronization block, a link to the source synchronization block is displayed in the second document instead of generating the reference synchronization block.
[0114] In some embodiments, after the link to the source synchronization block is displayed in the second document, the control unit is further configured to:
[0115] In response to an access operation to a link to the source synchronization block, determine whether the user performing the access operation has read permission to the source synchronization block;
[0116] In response to the user performing the access operation having access rights to the source synchronization block, the user is redirected to a separate access page for the source synchronization block; or,
[0117] If the user performing the access operation does not have read permission for the source synchronization block, the user is redirected to a permission request page, which is used to request permission for the source synchronization block.
[0118] In some embodiments, after generating a reference synchronization block that has a synchronization relationship with the source synchronization block in the second document, the control unit is further configured to:
[0119] Determine whether the user performing the second operation event has management collaborator permissions for the referenced synchronization block;
[0120] If, in response to the user performing the second operation event, the user has management collaborator permissions for the referenced synchronization block, then the collaborators of the second document are granted read permissions for the referenced synchronization block; or,
[0121] In response to the user performing the second operation event not having management collaborator permissions for the reference synchronization block, the user performing the second operation event among the collaborators of the second document is allowed to view the reference synchronization block; or, the user performing the second operation event among the collaborators of the second document is allowed to view the reference synchronization block, and a first prompt message is displayed to indicate that other collaborators of the second document cannot view the reference synchronization block.
[0122] In some embodiments, the control unit is further configured to: in response to the source synchronization block being deleted in the first document, display first preset content at the location of the reference synchronization block in the second document.
[0123] In some embodiments, the control unit is further configured to: in response to desynchronizing the source synchronization block and the reference synchronization block in the first document, not display the reference synchronization block in the second document, and display second preset content at the original location of the reference synchronization block.
[0124] In some embodiments, the control unit is further configured to: display the target synchronization block in response to a user viewing the target synchronization block having reading permission for the target synchronization block; not display the target synchronization block in response to a user viewing the target synchronization block not having reading permission for the target synchronization block; and display third preset content at the location of the target synchronization block, wherein the target synchronization block is the source synchronization block or the reference synchronization block.
[0125] In some embodiments, the control unit is further configured to: grant the user reading permission to the target synchronization block in response to the user having reading permission to the first document.
[0126] In some embodiments, the control unit is further configured to: grant the user editing permissions to the target synchronization block in response to the user having editing permissions to the first document.
[0127] In some embodiments, the control unit is further configured to: determine the user's permissions for the target synchronization block based on the independent authorization given that the user has independent authorization for the target synchronization block.
[0128] In some embodiments, the control unit is further configured to: determine that the user does not have access to the target synchronization block in response to the user not having reading permission for the first document or independent authorization for the target synchronization block.
[0129] Users with reading or editing permissions for the target synchronization block have access to the target synchronization block, which is either the source synchronization block or the reference synchronization block.
[0130] In some embodiments, the control unit is further configured to: display a list of synchronized documents in response to a third operation event of a fourth control associated with a target synchronization block, wherein the target synchronization block is a source synchronization block or a reference synchronization block, and the list of synchronized documents includes: document identifiers of documents having the source synchronization block, and document identifiers of documents having the reference synchronization block.
[0131] In some embodiments, the control unit is further configured to: display the fourth control in response to a user having reading permission for the target synchronization block.
[0132] In some embodiments, the synchronized document list displays document identifiers that the user performing the third operation event has viewing permissions for.
[0133] In some embodiments, the control unit is further configured to: display a second prompt message in the synchronized document list to indicate the number of document identifiers that are not displayed therein.
[0134] In some embodiments, the control unit is further configured to: in response to the release of the synchronization relationship of the target synchronization block, not display the fourth control associated with the synchronization block.
[0135] In some embodiments, the fourth control displays the number of document identifiers in the synchronized document list.
[0136] In some embodiments, the document identifier of the first document containing the source synchronization block in the synchronized document list is associated with a first tag.
[0137] In some embodiments, the document identifier of the current document containing the target synchronization block in the synchronized document list is associated with a second tag.
[0138] In some embodiments, the control unit is further configured to: in response to a fourth operation event on a document identifier in the synchronized document list, open the document pointed to by the document identifier to which the fourth operation event is performed and locate the target synchronization block in that document.
[0139] In some embodiments, the control unit is further configured to: in response to a fifth operation event based on the source synchronization block, release the synchronization relationship between the source synchronization block and all the reference synchronization blocks.
[0140] In some embodiments, the control unit is further configured to: refuse to release the synchronization relationship between the source synchronization block and all the reference synchronization blocks in response to the user performing the fifth operation event not having editing permission for the first document.
[0141] In some embodiments, the control unit is further configured to: after desynchronizing the source synchronization block from all the referenced synchronization blocks, convert the content of the source synchronization block into the content of the asynchronous block in the first document.
[0142] In some embodiments, after the synchronization relationship between the source synchronization block and all the referenced synchronization blocks is terminated, the link to the source synchronization block becomes inaccessible.
[0143] In some embodiments, the control unit is further configured to: after releasing the synchronization relationship between the source synchronization block and all the reference synchronization blocks, in response to the link of the source synchronization block being pasted into a third document, not generate a reference synchronization block in the third document.
[0144] In some embodiments, the control unit is further configured to: restore the synchronization relationship between the source synchronization block and all the reference synchronization blocks in response to the operation of revoking the fifth operation event.
[0145] In some embodiments, the control unit is further configured to: in response to a sixth operation event based on a reference synchronization block in the second document, release the synchronization relationship between the reference synchronization block in the second document and the source synchronization block.
[0146] In some embodiments, the control unit is further configured to: refuse to terminate the synchronization relationship between the reference synchronization block in the second document and the source synchronization block in response to the user performing the sixth operation event not having editing permission for the second document or copying permission for the reference synchronization block.
[0147] In some embodiments, the control unit is further configured to: after desynchronizing the reference synchronization block and the source synchronization block in the second document, convert the content of the reference synchronization block in the second document into the content of a non-reference synchronization block.
[0148] In some embodiments, after the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document is terminated, the document identifier of the second document is no longer displayed in the synchronized document list.
[0149] In some embodiments, the control unit is further configured to: in response to the operation of undoing the sixth operation event, restore the reference synchronization block in the second document and the synchronization relationship between the reference synchronization block and the source synchronization block.
[0150] For embodiments of the apparatus, since they basically correspond to the method embodiments, relevant details can be found in the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0151] The methods and apparatus of this disclosure have been described above based on embodiments and application examples. Furthermore, this disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0152] The following is for reference. Figure 15The figure illustrates a structural schematic of an electronic device (e.g., a terminal device or server) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present disclosure.
[0153] Electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. RAM 803 also stores various programs and data required for the operation of electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0154] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0155] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0156] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can 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 a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0157] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0158] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0159] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure.
[0160] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's 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., via the Internet using an Internet service provider).
[0161] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0162] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0163] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0164] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0165] According to one or more embodiments of this disclosure, an information processing method is provided, comprising:
[0166] In response to the first operation event, a source synchronization block is created in the first document;
[0167] In response to the second operation event, a reference synchronization block that has a synchronization relationship with the source synchronization block is generated in the second document;
[0168] The synchronization relationship includes: the content in the source synchronization block and the reference synchronization block are the same; updates to the content in the source synchronization block will be synchronized to the content in the reference synchronization block; updates to the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
[0169] According to one or more embodiments of this disclosure, an information processing method is provided, which, in response to a first operation event, creates a source synchronization block in a first document, including:
[0170] In response to a trigger operation on a first control of the first document, an empty source synchronization block is created in the first document; or,
[0171] In response to a trigger operation on a second control associated with a first content block of the first document, the first content block is converted into the source synchronization block, wherein the source synchronization block in the first document contains the original first content of the first content block; or...
[0172] In response to a preset operation on the second content in the first document, a third control associated with the second content is displayed; in response to a trigger operation on the third control, the source synchronization block is created in the first document, the source synchronization block containing the second content.
[0173] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0174] In response to the user performing the first operation event not having editing permissions for the first document, the creation of the source synchronization block in the first document is refused;
[0175] The method further includes: granting permissions to the user of the first document to the source synchronization block, wherein the user of the first document has the same permissions to the source synchronization block as the user of the first document has the same permissions to the first document.
[0176] The content in the source synchronization block and the reference synchronization block includes one or more of the following: text, images, videos, documents, tables, and content blocks of the asynchronous block. The content block is the basic unit that carries the document content.
[0177] The contents of the source synchronization block and the reference synchronization block do not include: other source synchronization blocks and other reference synchronization blocks.
[0178] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0179] In response to a user having comment permission on the document containing the target synchronization block, grant the user comment permission on the target synchronization block in the document, where the target synchronization block is the source synchronization block or the referenced synchronization block;
[0180] In response to the user not having comment permissions on the document containing the target synchronization block, the user is not granted comment permissions on the target synchronization block in that document;
[0181] In response to a comment operation on the content in the target synchronization block, the comment information is displayed in the document containing the commented content, and at least one of the following is performed: the comment information is not synchronized to other documents, and a notification message is sent to the associated user of the document containing the commented content.
[0182] According to one or more embodiments of this disclosure, an information processing method is provided, wherein the second operation event includes:
[0183] The operation of copying the source synchronization block or a link to the source synchronization block into the second document; or,
[0184] The operation of copying another referenced synchronization block or a link of the other referenced synchronization block into the second document, wherein the other referenced synchronization block has a synchronization relationship with the source synchronization block in the first document.
[0185] According to one or more embodiments of this disclosure, an information processing method is provided, which, after a second operation event and before generating a reference synchronization block in a second document that has a synchronization relationship with the source synchronization block, further includes:
[0186] Determine the access permissions of the user who performed the second operation event to the second document;
[0187] In response to the user performing the second operation event not having editing permissions for the second document, the generation of the reference synchronization block is refused; or,
[0188] In response to the user performing the second operation event having editing permissions for the second document, determine whether the user performing the second operation event has reading permissions for the source synchronization block;
[0189] If, in response to the user performing the second operation event having read permission to the source synchronization block, the step of generating a reference synchronization block in the second document that has a synchronization relationship with the source synchronization block is executed; or,
[0190] If a user performing the second operation event has editing permissions for the second document but not reading permissions for the source synchronization block, a link to the source synchronization block is displayed in the second document instead of generating the reference synchronization block.
[0191] According to one or more embodiments of this disclosure, an information processing method is provided, which, after displaying the link to the source synchronization block in a second document, further includes:
[0192] In response to an access operation to a link to the source synchronization block, determine whether the user performing the access operation has read permission to the source synchronization block;
[0193] In response to the user performing the access operation having access rights to the source synchronization block, the user is redirected to a separate access page for the source synchronization block; or,
[0194] If the user performing the access operation does not have read permission for the source synchronization block, the user is redirected to a permission request page, which is used to request permission for the source synchronization block.
[0195] According to one or more embodiments of this disclosure, an information processing method is provided, which, after generating a reference synchronization block in a second document that has a synchronization relationship with the source synchronization block, further includes:
[0196] Determine whether the user performing the second operation event has management collaborator permissions for the referenced synchronization block;
[0197] If, in response to the user performing the second operation event, the user has management collaborator permissions for the referenced synchronization block, then the collaborators of the second document are granted read permissions for the referenced synchronization block; or,
[0198] In response to the user performing the second operation event not having management collaborator permissions for the reference synchronization block, the user performing the second operation event among the collaborators of the second document is allowed to view the reference synchronization block; or, the user performing the second operation event among the collaborators of the second document is allowed to view the reference synchronization block, and a first prompt message is displayed to indicate that other collaborators of the second document cannot view the reference synchronization block.
[0199] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0200] In response to the deletion of the source synchronization block in the first document, first preset content is displayed at the location of the referenced synchronization block in the second document;
[0201] In response to the release of the synchronization relationship between the source synchronization block and the reference synchronization block in the first document, the reference synchronization block is not displayed in the second document, and second preset content is displayed in the original position of the reference synchronization block;
[0202] In response to a user having read permission to view the target synchronization block, the target synchronization block is displayed; in response to a user not having read permission to view the target synchronization block, the target synchronization block is not displayed, and third preset content is displayed at the location of the target synchronization block, wherein the target synchronization block is the source synchronization block or the reference synchronization block.
[0203] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0204] In response to the user having reading permission for the first document, grant the user reading permission for the target synchronization block;
[0205] In response to the user having editing permissions for the first document, grant the user editing permissions for the target synchronization block;
[0206] In response to a user having independent authorization for the target synchronization block, the user's permissions for the target synchronization block are determined based on the independent authorization;
[0207] In response to the user not having reading permission for the first document or independent authorization for the target synchronization block, it is determined that the user does not have access permission to the target synchronization block;
[0208] Users with reading or editing permissions for the target synchronization block have access to the target synchronization block, which is either the source synchronization block or the reference synchronization block.
[0209] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising:
[0210] In response to a third operation event of a fourth control associated with a target synchronization block, a list of synchronized documents is displayed, wherein the target synchronization block is a source synchronization block or a reference synchronization block, and the list of synchronized documents includes: document identifiers of documents having the source synchronization block, and document identifiers of documents having the reference synchronization block.
[0211] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0212] In response to the user having read permission for the target synchronization block, the fourth control is displayed;
[0213] The document identifiers that the user who performed the third operation event has viewing permission are displayed in the synchronized document list;
[0214] A second prompt message is displayed in the synchronized document list to indicate the number of document identifiers that are not displayed.
[0215] In response to the release of the synchronization relationship of the target synchronization block, the fourth control associated with the synchronization block is not displayed;
[0216] The fourth control displays the number of document identifiers in the synchronized document list;
[0217] The document identifier of the first document containing the source synchronization block in the synchronized document list is associated with a first tag;
[0218] The document identifier of the current document containing the target synchronization block in the synchronized document list is associated with a second tag;
[0219] In response to a fourth operation event on the document identifier in the synchronized document list, the document pointed to by the document identifier to which the fourth operation event was performed is opened and the target synchronized block in the document is located.
[0220] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising:
[0221] In response to a fifth operation event based on the source synchronization block, the synchronization relationship between the source synchronization block and all the referenced synchronization blocks is terminated.
[0222] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0223] In response to the user performing the fifth operation event not having editing permissions for the first document, the user refuses to terminate the synchronization relationship between the source synchronization block and all the reference synchronization blocks.
[0224] After releasing the synchronization relationship between the source synchronization block and all the referenced synchronization blocks, the content of the source synchronization block is converted into the content of the non-synchronization block in the first document;
[0225] After the synchronization relationship between the source synchronization block and all the referenced synchronization blocks is terminated, the link of the source synchronization block becomes inaccessible.
[0226] After the synchronization relationship between the source synchronization block and all the reference synchronization blocks is released, in response to the link of the source synchronization block being pasted into the third document, no reference synchronization block is generated in the third document.
[0227] The method further includes: in response to the operation of undoing the fifth operation event, restoring the synchronization relationship between the source synchronization block and all the reference synchronization blocks.
[0228] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising:
[0229] In response to a sixth operation event based on a reference synchronization block in the second document, the synchronization relationship between the reference synchronization block and the source synchronization block in the second document is terminated.
[0230] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising at least one of the following:
[0231] In response to the user performing the sixth operation event not having editing permission for the second document or copying permission for the referenced synchronization block, the synchronization relationship between the referenced synchronization block in the second document and the source synchronization block is refused to be terminated;
[0232] After the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document is terminated, the content of the referenced synchronization block in the second document is converted into the content of the non-referenced synchronization block.
[0233] After the synchronization relationship between the referenced synchronization block and the source synchronization block in the second document is terminated, the document identifier of the second document will no longer be displayed in the synchronized document list;
[0234] The method further includes: in response to the operation of undoing the sixth operation event, restoring the reference synchronization block in the second document and the synchronization relationship between the reference synchronization block and the source synchronization block.
[0235] According to one or more embodiments of this disclosure, an information processing apparatus is provided, comprising:
[0236] Create a unit to create a source synchronization block in the first document in response to the first operation event;
[0237] A generation unit is configured to generate, in response to a second operation event, a reference synchronization block in a second document that has a synchronization relationship with the source synchronization block;
[0238] The synchronization relationship includes: the content in the source synchronization block and the reference synchronization block are the same; updates to the content in the source synchronization block will be synchronized to the content in the reference synchronization block; updates to the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
[0239] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code that, when executed by a processor, causes the processor to perform the methods described above.
[0240] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0241] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0242] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. An information processing method, characterized in that: include: In response to a first operation event, creating a source synchronization block in a first document; In response to a second operation event, generating a reference synchronization block having a synchronization relationship with the source synchronization block in a second document; Among them, the synchronization relationship includes: the content of the source synchronization block remains the same as that of the reference synchronization block, and the update of the content in the source synchronization block will be synchronized to the content in the reference synchronization block; the update of the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
2. The method according to claim 1, characterized in that: In response to a first operation event, creating a source synchronization block in a first document, including: In response to a trigger operation on a first control of the first document, creating an empty source synchronization block in the first document; or, In response to a triggering operation of a second control associated with a first content block of the first document, converting the first content block into the source synchronization block, wherein the source synchronization block in the first document has the original first content in the first content block; or In response to a preset operation on the second content in the first document, a third control associated with the second content is displayed; in response to a trigger operation on the third control, the source synchronization block is created in the first document, and the source synchronization block has the second content.
3. The method according to claim 1, characterized in that Also includes at least one of the following: In response to the user who executes the first operation event not having the editing authority for the first document, refusing to create the source synchronization block in the first document; The method further comprises: granting the user of the first document the authority to the source synchronization block, wherein the authority of the user of the first document to the source synchronization block is the same as the authority of the user of the first document to the first document; The content in the source synchronization block and the reference synchronization block includes: text, picture, video, document, table and one or more content blocks of non-synchronization blocks, and the content block is a basic unit that carries document content; The contents of the source synchronization block and the reference synchronization block do not include: other source synchronization blocks and other reference synchronization blocks.
4. The method according to claim 1, characterized in that: Also includes at least one of the following: In response to the user having comment authority for the document where the target synchronization block is located, granting the user comment authority for the target synchronization block in the document, where the target synchronization block is the source synchronization block or the reference synchronization block; In response to the user not having the comment authority for the document where the target synchronization block is located, not granting the user the comment authority for the target synchronization block in the document; In response to a comment operation on the content in the target synchronization block, the comment information is displayed in the document where the commented content is located, and at least one of the following is performed: the comment information is not synchronized to other documents, and a notification message is sent to the associated users of the document where the commented content is located.
5. The method according to claim 1, characterized in that The second operation event includes: An operation of copying the source synchronization block or a link to the source synchronization block into the second document; or, An operation of copying another reference synchronization block or a link to the another reference synchronization block into the second document, wherein the another reference synchronization block has a synchronization relationship with the source synchronization block in the first document.
6. The method according to claim 1, characterized in that After the second operation event, before generating a reference synchronization block having a synchronization relationship with the source synchronization block in the second document, the method further includes: Determining access rights of a user who performs the second operation event to the second document; In response to the user who executes the second operation event not having the editing authority for the second document, refusing to generate the reference synchronization block; or, In response to the user executing the second operation event having the editing authority for the second document, determining whether the user executing the second operation event has the reading authority for the source synchronization block; In response to the user who executes the second operation event having the reading permission for the source synchronization block, a step of generating a reference synchronization block having a synchronization relationship with the source synchronization block in the second document is executed; or, In response to the user who executes the second operation event having editing authority for the second document but not having reading authority for the source synchronization block, a link to the source synchronization block is displayed in the second document without generating the reference synchronization block.
7. The method according to claim 6, characterized in that After displaying the link of the source synchronization block in the second document, further comprising: In response to an access operation to the link of the source synchronization block, determining whether a user performing the access operation has read permission for the source synchronization block; In response to the user who performs the access operation having access rights to the source synchronization block, jumping to an independent access page of the source synchronization block; or, In response to the user who performs the access operation not having the reading authority for the source synchronization block, jumping to the permission application page, the permission application page is used to apply for the authority for the source synchronization block.
8. The method according to claim 1, characterized in that After generating a reference synchronization block having a synchronization relationship with the source synchronization block in the second document, the method further includes: Determine whether the user who executes the second operation event has management collaborator authority for the referenced synchronization block; In response to the user who executes the second operation event having the management collaborator authority for the referenced synchronization block, granting the collaborator of the second document the reading authority for the referenced synchronization block; or, In response to the fact that the user who executes the second operation event does not have the management collaborator authority for the reference synchronization block, the user who executes the second operation event among the collaborators of the second document is set to be able to view the reference synchronization block, or the user who executes the second operation event among the collaborators of the second document is set to be able to view the reference synchronization block, and a first prompt message is displayed to prompt other collaborators of the second document that they cannot view the reference synchronization block.
9. The method according to claim 8, characterized in that Also includes at least one of the following: In response to the source synchronization block being deleted in the first document, displaying first preset content at the location where the reference synchronization block is located in the second document; In response to releasing the synchronization relationship between the source synchronization block and the reference synchronization block in the first document, not displaying the reference synchronization block in the second document, and displaying second preset content at a location where the reference synchronization block was originally located; In response to a user viewing a target synchronization block having reading authority for the target synchronization block, the target synchronization block is displayed; in response to a user viewing the target synchronization block not having reading authority for the target synchronization block, the target synchronization block is not displayed, and a third preset content is displayed at the location of the target synchronization block, wherein the target synchronization block is the source synchronization block or the reference synchronization block.
10. The method according to claim 1, characterized in that Also includes at least one of the following: In response to the user having the reading authority for the first document, granting the user the reading authority for the target synchronization block; In response to the user having the editing authority for the first document, granting the user the editing authority for the target synchronization block; In response to a user having independent authorization for the target synchronization block, determining the authority of the user for the target synchronization block based on the independent authorization; In response to the user not having a reading permission for the first document and not having independent authorization for the target synchronization block, determining that the user does not have access permission for the target synchronization block; The user who has the reading permission or the editing permission for the target synchronization block has the access permission for the target synchronization block, and the target synchronization block is the source synchronization block or the reference synchronization block.
11. The method according to claim 1, characterized in that: Also includes: In response to a third operation event of a fourth control associated with a target synchronization block, a synchronization document list is displayed, wherein the target synchronization block is a source synchronization block or a reference synchronization block, and the synchronization document list includes: a document identifier of a document having the source synchronization block, and a document identifier of a document having the reference synchronization block.
12. The method according to claim 11, characterized in that Also includes at least one of the following: In response to the user accessing the target synchronization block having the reading authority for the synchronization block, displaying the fourth control; Displaying in the synchronized document list the identification of the documents that the user who executes the third operation event has the permission to view; Displaying second prompt information in the synchronized document list to prompt the number of document identifiers not displayed therein; In response to the synchronization relationship of the target synchronization block being released, not displaying the fourth control associated with the synchronization block; The fourth control displays the number of document identifiers in the synchronization document list; The document identifier of the first document where the source synchronization block is located in the synchronization document list is associated with a first mark; The document identifier of the current document where the target synchronization block is located in the synchronization document list is associated with a second mark; In response to a fourth operation event on the document identifier in the synchronization document list, the document pointed to by the document identifier on which the fourth operation event is executed is opened and a target synchronization block in the document is located.
13. The method according to claim 1, characterized in that Also includes: In response to a fifth operation event based on the source synchronization block, the synchronization relationship between the source synchronization block and all the reference synchronization blocks is released.
14. The method according to claim 13, characterized in that Also includes at least one of the following: In response to the user who executes the fifth operation event not having the editing authority for the first document, refusing to release the synchronization relationship between the source synchronization block and all the reference synchronization blocks; After releasing the synchronization relationship between the source synchronization block and all the reference synchronization blocks, converting the content of the source synchronization block into the content of a non-synchronization block in the first document; After releasing the synchronization relationship between the source synchronization block and all the reference synchronization blocks, the link of the source synchronization block is inaccessible; After releasing the synchronization relationship between the source synchronization block and all the reference synchronization blocks, in response to the link of the source synchronization block being pasted into a third document, no reference synchronization block is generated in the third document; The method further includes: in response to an operation of canceling the fifth operation event, restoring the synchronization relationship between the source synchronization block and all the reference synchronization blocks.
15. The method according to claim 1, characterized in that Also includes: In response to a sixth operation event based on the reference synchronization block in the second document, the synchronization relationship between the reference synchronization block in the second document and the source synchronization block is released.
16. The method according to claim 15, characterized in that Also includes at least one of the following: In response to the user who executes the sixth operation event not having the editing authority for the second document or not having the copying authority for the referenced synchronization block, refusing to release the synchronization relationship between the referenced synchronization block in the second document and the source synchronization block; After releasing the synchronization relationship between the reference synchronization block in the second document and the source synchronization block, the content of the reference synchronization block in the second document is converted into the content of the non-reference synchronization block; After the synchronization relationship between the reference synchronization block and the source synchronization block in the second document is released, the document identifier of the second document is no longer displayed in the synchronization document list; The method further includes: in response to an operation of undoing the sixth operation event, restoring a reference synchronization block in the second document and a synchronization relationship between the reference synchronization block and the source synchronization block.
17. An information processing device, characterized in that: include: A creating unit, configured to create a source synchronization block in a first document in response to a first operation event; a generating unit, configured to generate, in response to a second operation event, a reference synchronization block having a synchronization relationship with the source synchronization block in a second document; Among them, the synchronization relationship includes: the content of the source synchronization block remains the same as that of the reference synchronization block, and the update of the content in the source synchronization block will be synchronized to the content in the reference synchronization block; the update of the content in the reference synchronization block will be synchronized to the content in the source synchronization block.
18. An electronic device, comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 16.
19. A computer-readable storage medium, the computer-readable storage medium being used to store program code, wherein when the program code is executed by a processor, the processor is prompted to execute the method according to any one of claims 1 to 16.