Online document collaboration method and device, electronic device, and storage medium
By setting sharing permissions in the online document collaborative editing system and controlling user data content viewing and operation permissions, the problem of being unable to achieve fine-grained permission control in the existing technology is solved, personalized data content display and collaborative operation are realized, and the collaboration process is simplified.
Patent Information
- Application Number
- CN202111548054.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2041-12-16
AI Technical Summary
When existing collaborative editing technology processes some content in online documents only open to some users or confidential content, it cannot achieve fine-grained permission control, resulting in users being unable to flexibly view or edit specific content, and the operation is cumbersome.
By setting sharing permissions, users can control the viewable scope and operation permissions of the data content of online documents, realize personalized display of data content, and allow different users to operate in a collaborative manner based on their permissions.
It realizes personalized data content display and collaborative operation for different users, simplifies the collaboration process of online documents, avoids the repeated steps of document production, and improves the convenience of use.
Smart Images

Figure CN114239503B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of document collaboration, for example, to an online document collaboration method and device, an electronic device, and a storage medium. Background Art
[0002] In the existing collaborative editing technology, online documents can be collaboratively edited and viewed by multiple users, and the data content that each user sees on his client is consistent. If some content of the collaboratively edited and viewed online document needs to be open only to some users, or some content of the online document is confidential and needs to be invisible to certain users, and these users are not allowed to view / edit the confidential content, in this case, the existing method can only re-create a new document, delete the unnecessary content and the confidential content in the newly created document, and then use the newly created document to collaborate with multiple users, which is very cumbersome. Summary of the invention
[0003] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0004] The embodiments of the present disclosure provide an online document collaboration method and device, an electronic device, and a storage medium, so as to display the data content of an online document in a personalized manner according to user needs, thereby improving the user convenience of online document collaboration.
[0005] In some embodiments, an online document collaboration method is provided, including: obtaining sharing permissions; displaying data content on a terminal according to the sharing permissions, wherein the terminal includes multiple terminals and each terminal collaborates with each other; and displaying different data content on each terminal.
[0006] In some embodiments, displaying data content on a terminal according to the sharing permissions includes: determining identification information of the terminal; determining a collaborative role of the terminal according to the identification information; setting the sharing permissions for the terminal based on the collaborative role, and displaying data content that matches the sharing permissions of the collaborative role on the terminal.
[0007] In some embodiments, the online document collaboration method further includes: determining the operation rights of the terminal according to the collaboration role and the sharing authority; and processing the displayed data content by the terminal based on the operation rights.
[0008] In some embodiments, before obtaining the sharing permission, the online document collaboration method further includes: obtaining a permission parameter sequence; and configuring the sharing permission according to the selected permission parameter item.
[0009] In some embodiments, configuring sharing permissions based on the selected permission parameter item includes: obtaining a configuration interface; setting sharing permissions with the permission parameter item in the configuration interface based on permission requirements; wherein the permission parameter item of the sharing permissions includes content manipulation sub-parameters and / or operation sub-parameters.
[0010] In some embodiments, the online document collaboration method further includes: when the first data content changes, the first terminal capable of displaying the first data content synchronously displays the updated data content in real time.
[0011] In some embodiments, the sharing authority is sent between the terminals in the form of a link; or the sharing authority is sent between the terminals in the form of a QR code.
[0012] In some embodiments, before displaying data content on the terminal based on the sharing permission, the method also includes: determining the type of the sharing permission; when the sharing permission is a composite collaboration permission, executing the step of displaying data content on the terminal; when the sharing permission is a single collaboration permission, executing the step of displaying all online documents on the terminal.
[0013] In some embodiments, an online document collaboration method is also provided, including: receiving an access request, determining the sharing permission of the access request; obtaining permission parameter items of the sharing permission, and obtaining the collaboration role of the terminal sending the access request; inputting the permission parameter items and the collaboration role into a permission filter; generating and sending data content to be displayed.
[0014] In some embodiments, an online document collaboration device is also provided, including: a first acquisition module, used to obtain sharing permissions; a collaboration module, used to display data content on a terminal according to the sharing permissions, wherein the terminal includes multiple terminals and each terminal collaborates with each other; a display module, used to display different data content on each terminal.
[0015] In some embodiments, an electronic device is also provided, including a processor and a memory storing program instructions, wherein the processor is configured to execute the online document collaboration method as described above when running the program instructions.
[0016] In some embodiments, a storage medium is also provided, storing program instructions, which execute the online document collaboration method as described above when running.
[0017] The online document collaboration method and device, electronic device, and storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:
[0018] By setting a sharing permission, the terminal (i.e., user) can control multiple capabilities such as the viewing scope and operation permissions of the data content of the online document. That is, one sharing permission can control the capabilities of multiple users, so that the data content required by the user can be displayed in a personalized manner for different users, and collaborative operations between users can also be achieved. At the same time, in a collaborative editing environment, the data content displayed on the terminal (i.e., the user interface of the terminal) can be differentiated. Since the content permissions and operation permissions of multiple users can be set through one permission, the permissions of different users are different. Different users can collaborate on the same online document based on the corresponding permissions. In this way, when sharing different contents in the online document with different users, there is no need to repeatedly create new documents. The data content of the online document can be displayed in a personalized manner according to user needs, which improves the convenience of using online document collaboration and makes online document collaboration easier.
[0019] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0021] Figure 1 is a schematic diagram of an online document collaboration method provided by an embodiment of the present disclosure;
[0022] Figure 2 is a schematic diagram of another online document collaboration method provided by an embodiment of the present disclosure;
[0023] Figure 3 is a schematic diagram of another online document collaboration method provided by an embodiment of the present disclosure;
[0024] Figure 4 is a schematic diagram of an online document of an embodiment of the present disclosure;
[0025] Figure 5 is a schematic diagram of a permission parameter setting interface of an embodiment of the present disclosure;
[0026] Figure 6 is a schematic diagram of access data content in an embodiment of the present disclosure;
[0027] Figure 7 is a schematic diagram of another online document of an embodiment of the present disclosure;
[0028] Figure 8 is a schematic diagram of another online document of an embodiment of the present disclosure;
[0029] Fig. 9 is a schematic diagram of a display page for inserting data content according to an embodiment of the present disclosure;
[0030] Fig.10 is a schematic diagram of another online document collaboration method provided by an embodiment of the present disclosure;
[0031] Fig.11 is a schematic diagram of another online document collaboration method provided by an embodiment of the present disclosure;
[0032] Fig.12 is a schematic diagram of another online document collaboration method provided by an embodiment of the present disclosure;
[0033] Fig.13 is a schematic diagram of another online document of an embodiment of the present disclosure;
[0034] Fig.14 is a schematic diagram of an online document collaboration device provided by an embodiment of the present disclosure;
[0035] Fig.15 is a schematic diagram of another online document collaboration device provided by an embodiment of the present disclosure;
[0036] Fig.16 is a schematic diagram of another online document collaboration device provided by an embodiment of the present disclosure;
[0037] Fig.17 is a schematic diagram of another online document collaboration device provided by an embodiment of the present disclosure;
[0038] Fig.18 is a schematic diagram of another online document collaboration device provided by an embodiment of the present disclosure;
[0039] Fig.19 It is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0041] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0042] Unless otherwise stated, the term "plurality" means two or more.
[0043] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0044] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0045] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0046] Combination Figure 1 As shown, the embodiment of the present disclosure provides an online document collaboration method, including:
[0047] Step S101, obtaining sharing authority;
[0048] Step S102, displaying the data content on a terminal according to the sharing authority, wherein the terminal includes multiple terminals and each terminal cooperates with each other;
[0049] Step S103: display different data contents on each terminal.
[0050] By adopting the online document collaboration method provided by the embodiment of the present disclosure, a sharing permission is set to control the user's ability to view the data content of the online document, such as the scope of operation permissions, that is, a sharing permission can control the capabilities of multiple users, so that the data content required by the user can be displayed in a personalized manner for different users, and collaborative operations between users can also be achieved. At the same time, in a collaborative editing environment, the data content displayed in the user interface can be differentiated. Since the content permissions and operation permissions of multiple users can be set through one permission, the permissions of different users are different, and different users can collaborate on the same online document based on the corresponding permissions. In this way, when sharing different contents in the online document with different users, there is no need to repeatedly create new documents, making online document collaboration easier.
[0051] Optionally, the data content displayed by the terminal is the data content in the same online document. The data content displayed by each terminal is different, but all belong to the same online document.
[0052] Optionally, the terminals cooperate with each other, including: the terminals can jointly perform one or more operations of viewing, adding, deleting, and modifying the data content in the same online document.
[0053] Optionally, data content is displayed on the terminal according to sharing permissions, including: determining the identification information of the terminal; determining the collaborative role of the terminal according to the identification information of the terminal; setting sharing permissions for the terminal based on the collaborative role, and displaying data content matching the sharing permissions of the collaborative role on the terminal.
[0054] Optionally, the identification information of the terminal is the ID (Identity Document) of the terminal. Optionally, the collaborative role of the terminal includes the terminal being a creator or collaborator of the data content. In this way, when displaying data content through sharing permissions, the displayed data content can be determined according to the identity of the user.
[0055] Optionally, sharing permissions are set for terminals based on collaboration roles, so that the sharing permissions set for terminals carry restrictions on collaboration roles, for example: collaborators are not allowed to view content created by other users, collaborators are not allowed to add content created by other users, collaborators are not allowed to delete content created by other users, collaborators are not allowed to modify content created by other users, collaborators are not allowed to edit content created by other users, collaborators are not allowed to reduce content created by other users, etc.
[0056] Optionally, the online document collaboration method further includes: determining the operation rights of the terminal according to the collaboration role and the sharing authority; and the terminal processing the displayed data content based on the operation rights.
[0057] Optionally, the operating rights are one or more operating rights to add, delete, and modify data content.
[0058] Optionally, before obtaining the sharing permission, the online document collaboration method further includes: obtaining a permission parameter sequence; configuring the sharing permission according to the selected permission parameter item. The permission parameter sequence includes multiple permission parameter items, for example, the permission parameter sequence includes not allowing collaborators to view content created by other users, not allowing collaborators to add content created by other users, not allowing collaborators to delete content created by other users, not allowing collaborators to modify content created by other users, not allowing collaborators to edit content created by other users, and not allowing collaborators to reduce content created by other users. Not allowing collaborators to view content created by other users, not allowing collaborators to add content created by other users, not allowing collaborators to delete content created by other users, not allowing collaborators to modify content created by other users, not allowing collaborators to edit content created by other users, and not allowing collaborators to reduce content created by other users are permission parameter items. The user selects a permission parameter item in the permission parameter sequence to implement the configuration of the sharing permission. Optionally, the sharing permission is obtained by configuring multiple permission parameter items. Optionally, the sharing permission is obtained by configuring a single permission parameter item.
[0059] Combination Figure 2 As shown, another online document collaboration method provided by an embodiment of the present disclosure includes:
[0060] Step S201, obtaining a permission parameter sequence; configuring sharing permissions according to the selected permission parameter items;
[0061] Step S202, obtaining sharing authority;
[0062] Step S203, displaying the data content on the terminal according to the sharing authority, wherein the terminal includes multiple terminals and each terminal cooperates with each other;
[0063] Step S204: The data content displayed on each terminal is different.
[0064] Optionally, configuring sharing permissions according to the selected permission parameter items includes: obtaining a configuration interface; setting sharing permissions with permission parameter items in the configuration interface according to permission requirements; wherein the permission parameter items of sharing permissions include content manipulation sub-parameters and / or operation sub-parameters.
[0065] Optionally, the content manipulation sub-parameter includes one or more permissions to view, modify, delete and add data content. Optionally, the operation sub-parameter includes permissions to share online documents.
[0066] Optionally, the online document collaboration method further includes: when the first data content changes, the first terminal capable of displaying the first data content synchronously displays the updated data content in real time.
[0067] Optionally, the data content is monitored for changes, and if the content is changed, the online document is updated with the changed content. Since different terminals can access the same online document through sharing permissions, the above method can be used to update the same online document according to the operations of different terminals, so that the data content of different terminals can be synchronized in real time, which is convenient for collaborative processing of online documents.
[0068] In some embodiments, the data content displayed on different terminals is monitored separately. When changes are detected in the content, the online document is updated with the changed content. This eliminates the need to monitor the entire online document and enables faster real-time updates of data content on different terminals.
[0069] Optionally, the sharing authority is sent between terminals in the form of a link; or the sharing authority is sent between terminals in the form of a QR code.
[0070] Optionally, according to the sharing permission, before the terminal displays the data content, the method further includes: determining the type of sharing permission; if the sharing permission is a composite collaboration permission, executing the step of displaying the data content on the terminal; if the sharing permission is a single collaboration permission, executing the step of displaying all online documents on the terminal. Wherein, the single collaboration permission only includes one parameter permission item, and the composite collaboration permission includes multiple parameter permission items.
[0071] Combination Figure 3 As shown, the embodiment of the present disclosure provides another online document collaboration method, including:
[0072] Step S301, receiving an access request and determining the sharing authority of the access request;
[0073] Step S302, obtaining permission parameter items of sharing permissions, and obtaining the collaboration role of the terminal that sends the access request;
[0074] Step S303: input the permission parameter items and the collaboration role into the permission filter; generate and send the data content to be displayed.
[0075] By adopting the online document collaboration method provided by the embodiment of the present disclosure, when the server receives an access request, it can display differentiated data content on the terminal. Since the content permissions and operation permissions of multiple users can be set through one permission, the permissions of different users are different, and different users can collaborate on the same online document based on the corresponding permissions. In this way, when sharing different contents in the online document with different users, there is no need to repeatedly create new documents, making online document collaboration easier.
[0076] In some embodiments, after obtaining the sharing instruction of the authorized user, a sharing link is generated, and the identification ID of the terminal is determined, and the sharing permission is configured in the kernel; for example, the creator can only view and / or operate the data content created by himself, and then identify the permission parameters in the sharing link, and set the corresponding user's permissions according to the permission parameters. The sharing link will be associated with the sharing connection ID, and the sharing connection ID will be associated with the online document ID. The user's permissions are for the same online document, and the same sharing link is the same sharing link ID and corresponds to an online document; if this sharing link has a permission parameter related to the user, a piece of data content is stored for each user, because the data content seen by each user is different; if this sharing link does not involve user-related permission parameters, the data content is stored once. This makes each user have different permissions, and the data content corresponding to the user is matched according to the user's permissions. The disclosed embodiments enable users to see only part of the data content in an online document; they can edit the data content they created themselves, or they can edit the data content created by others; the sharing permissions are associated with users; as long as the user has the permission, the sharing link can be modified; for example, there are online documents A and online document B, and the link seen when visiting online document A is the link of online document A, and the link seen when visiting online document B is the link of online document B.
[0077] In actual application scenarios, when online forms filled out by multiple users are shared with each other, each user can only view the data content created by himself, and cannot see the data content filled out by other users.
[0078] In some embodiments, Figure 4 As shown, Figure 4 For an online form of "Purchase Order", a button is provided in a view of the online form. After the user clicks it, the permission parameter setting interface is displayed, such as Figure 5 As shown, the permission parameter setting interface displays the permission parameter sequence, which includes multiple permission parameter items, for example: Figure 5 "Do not allow collaborators to view records created by others" and "Do not allow collaborators to edit records created by others" as shown in the table. When the user selects the two permission parameter items "Do not allow collaborators to view records created by others" and "Do not allow collaborators to edit records created by others", the collaborators can be quickly set to only view the "Purchase Order" table, and on this basis can only view / edit the data content created by themselves. Then, create a sharing link, specify the sharing permissions of the link, and bind the corresponding sharing permissions together and store them on the server. When a user accesses a sharing link, the corresponding sharing permissions will be found in the server through the sharing link, and according to the difference in sharing permissions and users, it will be connected to the corresponding permission filter, and then connected to the same data content. Figure 6As shown in the figure, user 1 and user 2 access shared link 1, which is bound to the shared link 1 condition group. User 1 and user 2 access shared link 2, which is bound to the shared link 2 condition group. They are connected to the corresponding permission filters 1, 2, 3, and 4 respectively, and then connected to the same data content. When a shared link is created and the condition is set to "Do not allow collaborators to view records created by others", when Zhang San and Li Si both access this link, there will be two permission filters, which are used to filter their respective operations. Figure 7 and Figure 8 Corresponding online form.
[0079] In some embodiments, the display page of the shared link can have multiple display forms. For example, when the sharing permission is to only allow inserting data but not to read, delete, or modify, a display page that can only insert data content can be displayed, such as Fig. 9 The display page shown.
[0080] Combination Fig.10 As shown, the embodiment of the present disclosure provides an online document collaboration method, which is applied to a first client, and the method includes:
[0081] Step S1001, in response to a user's sharing instruction for an online document, determining an access object and a restriction condition corresponding to the access object, and generating a sharing link corresponding to the online document; the restriction condition is used to limit part of the content in the online document; the sharing link is used for the access object to access the content in the online document according to the restriction condition;
[0082] Step S1002: sending the sharing link, the access object and the restriction condition to the server for storage, so that the server can feedback the content corresponding to the access object and the restriction condition in the online document in response to the access request of the sharing link.
[0083] The online document collaboration method provided by the embodiment of the present disclosure is adopted to generate a sharing link corresponding to the online document according to the user's sharing instruction, specify the objects that can be accessed for the sharing link, and bind the sharing link with the corresponding restriction conditions and store it on the server, wherein the restriction conditions are used to limit the part of the content in the online document that needs to be shared with the user. In this way, when the server receives an access request for the sharing link, it can feedback the content in the online document corresponding to the access object and the restriction conditions to the client. Since the feedback content is limited by the access object and the restriction conditions and only part of the content in the online document is shared, different contents in the online document can be shared with different users without repeatedly making documents. At the same time, since the shared client only displays the corresponding online document content, it is convenient for the shared user to quickly find and use the relevant online document content.
[0084] Optionally, the online document is a document stored in a server.
[0085] Optionally, the user's sharing instruction for the online document includes an access object determination instruction, a restriction condition determination instruction and a link generation instruction, wherein a sharing link corresponding to the online document is generated in response to the link generation instruction, the objects that can be accessed for the sharing link are determined in response to the user's object determination instruction, and the restriction conditions corresponding to the access object are determined in response to the restriction condition determination instruction.
[0086] Optionally, after generating a sharing link corresponding to the online document, the method further includes: generating a QR code corresponding to the sharing link. By generating the QR code, the user can conveniently access the sharing link by scanning the code, thereby facilitating the sharing of the online document.
[0087] Optionally, the restriction condition is used to characterize the conditions for restricting the access object from accessing the document content, such as not allowing the access object to view the content created by other users, not allowing the access object to modify the content created by other users, etc. Optionally, the restriction condition is used to characterize the conditions for the access object to access the document content, such as allowing the access object to view the content created by other users, allowing the access object to view the content created by oneself, allowing the access object to modify the content created by other users, allowing the access object to view the content whose creation time is within a preset range, allowing the access object to view the content with a preset background color, etc.
[0088] Combination Fig.11 As shown, the embodiment of the present disclosure provides an online document collaboration method, which is applied to a second client, and the method includes:
[0089] Step S1101, obtaining a sharing link;
[0090] Step S1102, in response to the user's access instruction to the shared link, generating an access request corresponding to the shared link;
[0091] Step S1103, sending the access request to the server corresponding to the sharing link, triggering the server to determine the online document, the access object and the restriction condition according to the access request, and feedback the content corresponding to the access object and the restriction condition in the online document; the restriction condition is used to limit part of the content in the online document;
[0092] Step S1104, receiving and displaying content.
[0093] With the online document collaboration method provided by the embodiment of the present disclosure, after clicking on a sharing link, an access request is sent to a server. When the server receives the access request of the sharing link, it can feedback the content in the online document corresponding to the access object and the restriction condition to the client. Since the feedback content is limited by the access object and the restriction condition and only part of the content in the online document is shared, the second client can receive the content specified by the first client for sharing. The entire process of sharing online documents avoids repeatedly making different documents when specifying different online document contents for different second clients. The operation is simple, and it is convenient for the user corresponding to the second client to quickly find and use the relevant online document content.
[0094] Optionally, the first client and the second client are different clients. In this way, the user can generate a sharing link corresponding to the online document and share the online document with other users through the sharing link. Optionally, the first client and the second client are the same client. In this way, the user who generates the sharing link can also access the online document by clicking the sharing link.
[0095] In some embodiments, the first client is a document editing tool.
[0096] In some embodiments, the second client is a document editing tool, a chat tool, or a browser. When the second client is an instant messaging tool, the second client receives the content fed back by the server and pops up a display window for display. In some embodiments, the second client is an instant messaging tool such as WeChat and QQ. After the user clicks the sharing link on the second client, a browser window pops up to display the corresponding content in the online document.
[0097] Optionally, obtaining the sharing link includes: obtaining a QR code corresponding to the sharing link, decoding the QR code, and obtaining the sharing link. Optionally, obtaining the sharing link includes: receiving a sharing link sent by the first client. Optionally, obtaining the sharing link includes: obtaining a sharing link input by a user.
[0098] Optionally, in response to a user's access instruction to a shared link, generating an access request corresponding to the shared link includes: generating an access request corresponding to the shared link in response to an access instruction generated by a user clicking on the shared link. Optionally, in response to a user's access instruction to a shared link, generating an access request corresponding to the shared link includes: generating an access request corresponding to the shared link in response to an access instruction generated by a user inputting the shared link in a browser and confirming access.
[0099] Optionally, after displaying the content, the method further includes: in response to the user's editing operation on the content, obtaining the edited content and sending the edited content to the server, triggering the server to update the online document according to the edited content. Since the generated sharing link corresponds to the part of the content in the online document that is limited by the restriction conditions, users of different clients can conveniently only pay attention to the content they need to pay attention to, which is convenient for users to view / edit the content. At the same time, since different sharing links can be generated for the same online document according to the access object and restriction conditions, different clients can access the same online document through different sharing links, so that the above method can realize collaborative processing of online documents.
[0100] Combination Fig.12 As shown, an embodiment of the present disclosure provides an online document collaboration method, which is applied to a server, wherein the server stores a plurality of online documents, a sharing link corresponding to each online document, and a restriction condition corresponding to each sharing link; the restriction condition is used to limit a portion of content in the corresponding online document; the method comprises:
[0101] Step S1201, upon receiving an access request sent by a client, determining a sharing link and an access object corresponding to the access request;
[0102] Step S1202, obtaining restriction conditions and online documents corresponding to the sharing link; determining the restriction conditions corresponding to the sharing link as target restriction conditions, and determining the online document corresponding to the sharing link as target online document;
[0103] Step S1203, determining the content to be fed back in the target online document according to the access object and the target restriction condition;
[0104] Step S1204: sending the content to the client, triggering the client to display the content.
[0105] By adopting the online document collaboration method provided by the embodiment of the present disclosure, when the server receives an access request for a sharing link, it can feedback the content in the online document corresponding to the access object and the restriction condition to the client. Since the feedback content is limited by the access object and the restriction condition and only part of the content in the online document is shared, the second client can receive the content specified by the first client for sharing. The entire process of sharing the online document avoids repeatedly producing different documents when specifying different online document contents for different second clients. The operation is simple, and it is convenient for the user corresponding to the second client to quickly find and use the relevant online document content.
[0106] Optionally, the server stores a plurality of online documents, a sharing link corresponding to each online document, and a restriction condition corresponding to each sharing link; the restriction condition is used to limit part of the content in the corresponding online document.
[0107] The access request carries user information and link information. Optionally, determining the sharing link and access object corresponding to the access request includes: searching the stored sharing links using the access request to match the sharing link and access object corresponding to the access request.
[0108] Optionally, obtaining restriction conditions and online documents corresponding to the sharing link includes: searching the stored sharing links using the sharing link determined by the access request, and matching the restriction conditions and online documents corresponding to the sharing link determined by the access request.
[0109] Optionally, determining the content to be fed back in the target online document according to the access object and the target restriction condition includes: determining whether the access object has access rights to access the online document, and if the access object has access rights, determining the access object's operation rights on the content in the online document according to the restriction condition, and determining the content in the online document that the access object has operation rights on as the content to be fed back. Optionally, the operation rights include viewing rights, modifying rights, deleting rights, and inserting rights, etc.
[0110] Optionally, after sending the content to the client, the process further includes: monitoring whether the content has changed; if the content has changed, updating the online document with the changed content. Since different clients can access the same online document through different sharing links, the server can update the same online document according to the operations of different clients in the above manner, thereby realizing collaborative processing of online documents.
[0111] In some embodiments, the server monitors the content corresponding to different user permissions, and when the content is changed, the server updates the online document with the changed content. In this way, the server does not need to monitor the entire online document, and can more quickly update the content corresponding to different user permissions in real time.
[0112] In some embodiments, Fig.13As shown, the online document is a table document, which contains two columns of content, field 1 and field 2. Among them, a1 in field 1 and b1 in field 2 are created by user A; c1 and c2 in field 1 and d1 and d2 in field 2 are created by user B; a2 and a3 in field 1 and b2 and b3 in field 2 are created by user C. In response to the sharing instruction of user A, the restriction condition is determined to not allow the user to view the content created by other users, the access objects are user A, user B and user C, and a sharing link is generated. After user A clicks the sharing link, the displayed content is a1 in field 1 and b1 in field 2. After user B clicks the sharing link, the displayed content is c1 and c2 in field 1, and d1 and d2 in field 2. After user C clicks the sharing link, the displayed content is a2 and a3 in field 1, and b2 and b3 in field 2.
[0113] Furthermore, user B adds e1 to field 2 in the online document. User B selects the restriction condition as viewing the content of field 2 in the online document, specifies the access object as user D, and generates a sharing link. The content that user D accesses through the sharing link is b1, b2, b3, d1, d2, and e1 in field 2.
[0114] Combination Fig.14 As shown, the embodiment of the present disclosure provides an online document collaboration device, including: a first acquisition module 1, a collaboration module 2 and a display module 3. The first acquisition module 1 is used to obtain sharing permissions; the collaboration module 2 displays data content on a terminal according to the sharing permissions, wherein the terminal includes multiple terminals and each terminal collaborates with each other; the display module 3 displays different data content on each terminal.
[0115] The online document collaboration device provided by the embodiment of the present disclosure controls the user's viewable scope, operation permissions, and other capabilities of the online document's data content by setting a sharing permission, that is, a sharing permission can control the capabilities of multiple users, so that the data content required by the user can be displayed in a personalized manner for different users, and collaborative operations between users can also be achieved. At the same time, in a collaborative editing environment, the data content displayed in the user interface can be differentiated. Since the content permissions and operation permissions of multiple users can be set through one permission, the permissions of different users are different, and different users can collaborate on the same online document based on the corresponding permissions. In this way, when sharing different contents in the online document with different users, there is no need to repeatedly create new documents, making online document collaboration easier.
[0116] Optionally, the collaboration module 2 is used to display data content on the terminal according to sharing permissions in the following manner: determine the identification information of the terminal; determine the collaboration role of the terminal based on the identification information; set sharing permissions for the terminal based on the collaboration role, and display data content matching the sharing permissions of the collaboration role on the terminal.
[0117] Combination Fig.15 As shown, optionally, the online document collaboration device further includes: a determination module 4, which determines the operation rights of the terminal according to the collaboration role and the sharing authority; the terminal processes the displayed data content based on the operation rights.
[0118] Combination Fig.16 As shown, optionally, the online document collaboration device further includes: a configuration module 5, which obtains a permission parameter sequence; and configures sharing permissions according to the selected permission parameter items.
[0119] Optionally, the configuration module 5 configures sharing permissions according to the selected permission parameter items in the following manner: obtaining a configuration interface; setting sharing permissions with permission parameter items in the configuration interface according to permission requirements; wherein the permission parameter items of sharing permissions include content manipulation sub-parameters and / or operation sub-parameters.
[0120] Optionally, the online document collaboration device further comprises: a synchronization module, which is used to synchronize and display the updated data content in real time on the first terminal that can display the first data content when the first data content changes.
[0121] Combination Fig.17 As shown, optionally, the online document collaboration device also includes: a judgment module 6, which judges the type of sharing authority; when the sharing authority is a composite collaboration authority, executes the step of displaying data content on the terminal; when the sharing authority is a single collaboration authority, executes the step of displaying all online documents on the terminal.
[0122] Combination Fig.18 As shown, the embodiment of the present disclosure provides an online document collaboration device, including: a receiving module 7, a second acquisition module 8 and a sending module 9. The receiving module 7 receives an access request and determines the sharing authority of the access request; the second acquisition module 8 acquires the permission parameter item of the sharing authority and acquires the collaboration role of the terminal sending the access request; the sending module 9 inputs the permission parameter item and the collaboration role into the permission filter; and generates and sends the data content to be displayed.
[0123] By using the online document collaboration device provided by the embodiment of the present disclosure, when the server receives an access request, it can display differentiated data content on the terminal. Since the content permissions and operation permissions of multiple users can be set through one permission, the permissions of different users are different, and different users can collaborate on the same online document based on the corresponding permissions. In this way, when sharing different contents in the online document with different users, there is no need to repeatedly create new documents, making online document collaboration easier.
[0124] Combination Fig.19 As shown, an embodiment of the present disclosure provides an electronic device, including a processor 10 and a memory 11 storing program instructions. Optionally, the electronic device may also include a communication interface 12 and a bus 13. The processor 10, the communication interface 12, and the memory 11 may communicate with each other through the bus 13. The communication interface 12 may be used for information transmission. The processor 10 may call the logic instructions in the memory 11 to execute the online document collaboration method of the above embodiment.
[0125] In addition, the program instructions in the above-mentioned memory 11 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0126] The memory 11 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 10 executes the functional application and data processing by running the program instructions / modules stored in the memory 11, that is, implementing the online document collaboration method in the above embodiment.
[0127] The memory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 11 may include a high-speed random access memory and may also include a non-volatile memory.
[0128] Optionally, the electronic device includes a computer, a smart phone, a tablet computer, a server, or the like.
[0129] In some embodiments, an electronic device is provided, the electronic device being a computer, a smart phone or a tablet computer, comprising a processor and a memory storing program instructions, and the electronic device is deployed with a first client. That is, the processor of the electronic device is configured to execute a method for the first client to share document content when running the program instructions.
[0130] In some embodiments, an electronic device is provided, the electronic device being a computer, a smart phone or a tablet computer, comprising a processor and a memory storing program instructions, and the electronic device is deployed with a second client. That is, the processor of the electronic device is configured to execute a method for the second client to share document content when running the program instructions.
[0131] In some embodiments, a server is provided, including a processor and a memory storing program instructions, wherein the server stores a number of online documents, a sharing link corresponding to each online document, and a restriction corresponding to each sharing link; the restriction is used to limit part of the content in the corresponding online document. The processor is configured to, when executing the program instructions, determine the sharing link and access object corresponding to the access request upon receiving an access request sent by a client; obtain the restriction and online document corresponding to the sharing link; determine the restriction corresponding to the sharing link as the target restriction, and determine the online document corresponding to the sharing link as the target online document; determine the content to be fed back in the target online document according to the access object and the target restriction; send the content to the client, triggering the client to display the content. Optionally, after sending the content to the client, the server also monitors whether the content has changed; if the content has changed, the online document is updated with the changed content.
[0132] The embodiment of the present disclosure provides a storage medium storing program instructions, which execute the above-mentioned online document collaboration method when running.
[0133] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned online document collaboration method.
[0134] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0135] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0136] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0137] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0138] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0139] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. An online document collaboration method, characterized in that: include: Acquire sharing authority; wherein the sharing authority includes an authority parameter item, and the authority parameter item is used to not allow a collaborator to operate content created by other collaborators; Determine identification information of a terminal; determine a collaborative role of the terminal according to the identification information; set sharing permissions for the terminal based on the collaborative role, and display data content matching the sharing permissions of the collaborative role on the terminal; wherein the terminal includes multiple terminals, and each terminal collaborates with each other; the collaborative role of the terminal includes the terminal being a creator or collaborator of the data content, and the creator of the data content is the collaborator who created the data content; in the case where the permission parameter item is used to not allow a collaborator to operate content created by other collaborators, the creator can only view and / or operate the data content created by himself; Different data contents in the online document are displayed on each terminal.
2. The method according to claim 1, characterized in that The method further comprises: Determining the operation rights of the terminal according to the collaboration role and the sharing authority; The terminal processes displayed data content based on the operation right.
3. The method according to claim 1, characterized in that Before obtaining the sharing permission, the method further includes: Get the permission parameter sequence; Configure sharing permissions according to the selected permission parameter item.
4. The method according to claim 3, characterized in that The configuring sharing permissions according to the selected permission parameter item includes: Get the configuration interface; According to the permission requirement, setting the sharing permission with the permission parameter item in the configuration interface; The permission parameter item of the sharing permission includes a content control sub-parameter and / or an operation sub-parameter.
5. The method according to claim 1, characterized in that The method further comprises: When the first data content is changed, the first terminal that can display the first data content can synchronously display the updated data content in real time.
6. The method according to any one of claims 1 to 5, characterized in that: The sharing authority is sent between the terminals in the form of a link; or the sharing authority is sent between the terminals in the form of a QR code corresponding to the link, wherein different links are generated for the same online document according to the access object and restriction conditions.
7. The method according to any one of claims 1 to 5, characterized in that: Before the data content matching the sharing authority of the collaboration role is displayed on the terminal, the method further includes: Determining the type of the sharing permission; In the case where the sharing permission is a composite collaboration permission, performing a step of displaying the data content on a terminal; In the case where the sharing authority is a single collaboration authority, a step of displaying all online documents on the terminal is performed.
8. An online document collaboration method, characterized in that: include: receiving an access request and determining a sharing permission of the access request; wherein the sharing permission carries a permission parameter item, and the permission parameter item is used to not allow a collaborator to operate content created by other collaborators; Obtaining the permission parameter item of the sharing permission, and obtaining the collaboration role of the terminal that sends the access request; the collaboration role of the terminal includes the terminal being the creator or collaborator of the data content; in the case where the permission parameter item is used to not allow the collaborator to operate the content created by other collaborators, the creator can only view and / or operate the data content created by himself; Inputting the permission parameter item and the collaboration role into a permission filter; Generate data content that matches the sharing authority of the collaboration role, and send the data content to be displayed.
9. An online document collaboration device, characterized in that: include: A first acquisition module is used to acquire sharing permissions; wherein the sharing permissions include permission parameter items, and the permission parameter items are used to prevent collaborators from operating content created by other collaborators; A collaboration module, used to determine identification information of a terminal; determine a collaboration role of the terminal according to the identification information; set the sharing authority for the terminal based on the collaboration role, and display data content matching the sharing authority of the collaboration role on the terminal; wherein the terminal includes multiple terminals, and each terminal collaborates with each other; the collaboration role of the terminal includes the terminal being a creator or collaborator of the data content; in the case where the permission parameter item is used to not allow a collaborator to operate the content created by other collaborators, the creator can only view and / or operate the data content created by himself; The display module is used to display different data contents in the online document on each terminal.
10. An electronic device, characterized in that: It comprises a processor and a memory storing program instructions, wherein the processor is configured to execute the online document collaboration method according to any one of claims 1 to 7, or the online document collaboration method according to claim 9 when running the program instructions.
11. A storage medium storing program instructions, characterized in that: The program instructions execute the online document collaboration method according to any one of claims 1 to 7, or the online document collaboration method according to claim 8 when running.
Citation Information
Patent Citations
Permission setting method and device for online document, terminal and storage medium
CN111767563A