WO2024017271A1 - 内容空间的分享方法、装置、电子设备及存储介质 - Google Patents
内容空间的分享方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2024017271A1 WO2024017271A1 PCT/CN2023/108021 CN2023108021W WO2024017271A1 WO 2024017271 A1 WO2024017271 A1 WO 2024017271A1 CN 2023108021 W CN2023108021 W CN 2023108021W WO 2024017271 A1 WO2024017271 A1 WO 2024017271A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- permission
- sharing
- content space
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
Definitions
- Embodiments of the present disclosure relate to a content space sharing method, device, electronic device, and storage medium.
- Content space is a knowledge system of different categories built by users according to their needs, including multiple pages with belonging relationships.
- it is generally necessary to share the constructed content space.
- the developer of product A in order to facilitate users to quickly learn about product A, the developer of product A will generally build a content space for product A and share it with users. Based on this, it involves the sharing of content space.
- embodiments of the present disclosure provide a content space sharing method, device, electronic device, and storage medium to solve the problem of content space sharing.
- an embodiment of the present disclosure provides a content space sharing method, including:
- the page with the second permission is provided for access.
- an embodiment of the present disclosure provides a content space sharing device, including:
- a first response module configured to display the target in response to an opening operation on the target content space Content space, the target content space includes at least one page with an ownership relationship;
- the second response module is configured to respond to changing the first sharing permission of the target content space to the first permission, and based on the affiliation relationship and the first permission, adjust the second sharing permission of the page to Second authority;
- a third response module configured to provide a page with the second permission for an access opening operation in response to receiving an access request to the target content space with the first permission.
- an embodiment of the present disclosure provides an electronic device, including: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor By executing the computer instructions, the content space sharing method described in the first aspect or any implementation manner of the first aspect is executed.
- embodiments of the present disclosure provide a computer-readable storage medium that stores computer instructions for causing the computer to execute the first aspect or any of the first aspects.
- the content space sharing method sets sharing permissions for the target content space and the pages in the target content space respectively when sharing the target content space, so that when the target content space is shared externally as a whole, the sharing permissions can be set.
- the sharing permissions of the parent page will affect the sharing permissions of the sub-page, thereby reducing the secondary sharing permissions of the page. Adjust the data processing volume to improve the efficiency of content space sharing.
- Figure 1 is a flow chart of a content space sharing method according to an embodiment of the present disclosure
- Figure 2 is a schematic diagram of a content space according to an embodiment of the present disclosure
- Figures 3a-3b are schematic diagrams of the sharing interface of the content space according to an embodiment of the present disclosure.
- Figure 4 is a flow chart of a content space sharing method according to an embodiment of the present disclosure.
- Figure 5 is a schematic diagram of a content space according to an embodiment of the present disclosure.
- Figure 6 is a flow chart of a content space sharing method according to an embodiment of the present disclosure.
- Figures 7a-7b are schematic diagrams of a display interface of a content space according to an embodiment of the present disclosure.
- Figure 8 is a structural block diagram of a content space sharing device according to an embodiment of the present disclosure.
- FIG. 9 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure.
- the content space When sharing the content space, the content space is first built, then the access link is generated, and the access link is shared with users. Users can access the content space through this access link.
- the content space since the content space includes multiple pages, some pages can be shared and some pages cannot be shared. Based on this, in order to ensure the security of non-shareable pages, these non-shareable pages usually need to be displayed in additional content spaces. This will cause pages that belong to the same content space to be split into two independent content spaces. , resulting in low correlation between pages, and managers need to switch between two independent content spaces when maintaining the content space, resulting in low maintenance efficiency.
- the content space sharing method can share the target content space as a whole, and can independently set sharing permissions for each page. That is, after adjusting the first sharing permission of the target content space to the first permission, it is equivalent to sharing the target content space as a whole; at the same time, adjusting the second sharing permission of the page based on the first permission and the ownership relationship between pages, Realize independent adjustment of the second sharing permission of the page, and adjust the second sharing permission of the page in conjunction with the ownership of the page to ensure the adjustment of the association between pages.
- Sharing permissions can be set individually for each page to ensure the relevance between pages. In addition, managers only need to maintain one target content space to achieve sharing and non-shareable content. The maintenance of shared pages does not require switching between content spaces, which improves the maintenance efficiency of content spaces.
- the target content space when sharing the target content space, is generated
- the access link can be opened through a web page or other application.
- the target content space is built based on application A.
- the instant messaging function of application B is used to share the access link. The user can directly click the access link in application B to access the target content space.
- an embodiment of a content space sharing method is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical sequence is shown in the flowcharts, in some cases the steps shown or described may be performed in a sequence different from that herein.
- FIG. 1 is a flow chart of a content space sharing method according to an embodiment of the present disclosure, as shown in Figure 1 As shown, the process includes the following steps:
- the target content space includes at least one page with a belonging relationship.
- At least one page with the relationship can be stored in the form of a multi-tree, a linked list, or a data table.
- the storage method of the target content space includes but is not limited to a multi-tree, a linked list, or a data table.
- Table there is no restriction on its specific storage method here, as long as the corresponding storage method can represent the ownership relationship between at least one page.
- the ownership relationship is used to represent the relationship between pages and sub-pages. For example, page A includes page B and page C. Then, page B and page C belong to page A, or page B and page C It can also be called a subpage of page A.
- the content space may be a database or a document library
- the pages in the content space may be table pages carrying content or data, or document pages carrying content or data.
- the target content space may be stored in an electronic device, including but not limited to a user terminal or a server.
- the sharing interface of the target content space is displayed.
- a sharing switch or label can be set, and the user can open the sharing interface by selecting the corresponding switch or label.
- the user opens the sharing of the target content space by selecting and interacting with the sharing interface. Accordingly, in response to the opening operation, it is possible to determine which target content space is currently being shared.
- the target content space is stored in the form of a multi-tree.
- the root node of the multi-tree is the root node of the target content space.
- the relationship between the nodes of the multi-tree is related to the associated relationship. Department corresponds.
- the heel node of the multi-tree is the root node of the target content space
- the pages included in the target content space are the nodes of the multi-tree
- the connection relationship between the nodes represents the ownership relationship between the pages.
- page 1 corresponds to node 1
- page 4 corresponds to node 4
- page 5 corresponds to node 5
- node 4 and node 5 are child nodes of node 1
- page 4 and page 5 belong to page 1.
- Node 1 and node 4 belong to the same branch
- node 1 and node 5 belong to the same branch.
- the first sharing permission of the target content space is adjusted to the first permission, that is, the sharing of the target content space is opened, so that the target content space provides overall external sharing.
- the second sharing permission of the page is adjusted through permission diffusion, and the ownership relationship of the page is combined with the permission expansion. Use the ownership relationship to analyze the pages that belong to the same link, and then analyze the second sharing permissions on the pages that belong to the same link.
- the second sharing permissions of the upper-level pages affect the second sharing permissions of the lower-level pages.
- the ownership relationship represents the ownership between pages.
- the ownership relationship is used to first query the unshareable upper-level pages, and then the second sharing permissions of all pages belonging to the upper-level pages are determined to be unshareable.
- the second sharing permission of the upper-level page is not limited to the above-mentioned non-shareability. It can also be readable by people within the organization, editable by people within the organization, etc., and no further changes are made to it here. Limit, set according to actual needs. It only needs to be ensured that when permissions are spread, it needs to be combined with the ownership of the page, so that the second sharing permission can be accurately adjusted to the second permission for each page.
- the target content space can be shared.
- the user generates a sharing link of the target content space through sharing interaction with the electronic device.
- the user can share the sharing link to realize the target content. Sharing of space.
- sharing a sharing link you can directly copy the sharing link, or use the link to share it with other applications, etc., and set it according to actual needs.
- Figure 3a shows a sharing page of the target content space, and the current status of the target content space is undisclosed.
- the interface shown in Figure 3b is displayed.
- a copy link (not shown in Figure 3b) is generated on this interface, where the copy link is the sharing link mentioned above.
- FIG. 3a and FIG. 3b are only examples and do not limit the scope of the present disclosure.
- the user can trigger the corresponding electronic device to send an access request to the target content space with the first permission to the electronic device in this embodiment. Accordingly, the request is responded to and the page with the second authority is provided for access. Since the sharing link is generated based on the target content space of the first authority and the page of the second authority, the user's identity information is carried in the access request, and the user's identity information is compared with the second authority's page. Yes, thereby providing the user with the corresponding second permission page for access.
- sharing permissions are set for the target content space and the pages in the target content space respectively, so that when the target content space is shared externally as a whole, the sharing permissions can be set for the target content space as a whole.
- the sharing permissions of the parent page will affect the sharing permissions of the sub-pages, thereby reducing the secondary sharing permissions adjustment of the page. data processing volume and improve the efficiency of content space sharing.
- FIG. 4 is a flow chart of a content space sharing method according to an embodiment of the present disclosure, as shown in Figure 4 As shown, the process includes the following steps:
- the target content space includes at least one page with a belonging relationship.
- the above S22 includes:
- the first target page whose sharing permission cannot be adjusted is obtained by analyzing the pages in the target content space. After generating pages in the target content space, users can set the permission attributes of each page. For example, setting the permission attributes to non-adjustable is equivalent to a locked page.
- the above S221 includes:
- the permission attribute of the page in the target content space and analyze the permission attribute.
- the page is the first target page.
- the authority attribute is used to represent the setting authority of the page, thereby ensuring the reliability of the determined first target page.
- subpages with the first target page are queried based on the ownership relationship between the pages, that is, the second target page is obtained.
- the permissions of the first target page cannot be adjusted, correspondingly, it is considered that the permissions of its sub-pages cannot be adjusted as well.
- the target content space is stored in the form of a multi-tree. Based on this, the above S223 includes:
- the node where the first target page is located is node 1
- node 1 is determined as the parent node
- the multi-fork tree is traversed, and the child nodes belonging to the same branch as node 1 are queried. That is, node 4 and node 5.
- the pages corresponding to node 4 and node 5, page 4 and page 5, are determined as the second target page.
- the target content space is stored in the form of a multi-tree, which can simplify subsequent query steps and improve the query efficiency of the second target page.
- S223 Fix the sharing permissions of the first target page and the second target page, and adjust the second sharing permissions of other pages in the target content space to the second permissions of the first permission range.
- the first authority scope is the same as the authority scope of the first authority.
- the second sharing permissions of the first target page and the second target page are fixed, and Adjust the secondary sharing permissions of other pages in the target content space.
- the second sharing permissions of other pages can be adjusted to the second permissions of the first permission range. For example, people on the Internet who have obtained the sharing link can read it.
- the adjusted second permissions for the second sharing permissions of each page can be obtained. Furthermore, in the permission attribute of the page, you can also set the permissions when the page is not public.
- the permissions of the page are readable by people who have obtained the link within the organization, or can be read by people who have obtained the link within the organization. Human editable etc.
- the fixed first target page and the second sharing permission of the second target page here means that when the target content space is shared externally as a whole, the second permission of the first target page and the second target page is not Affected by the first permission; instead of not adjusting the second sharing permission, when adjusting the second sharing permission of the first target page and the second target page, they are adjusted to the default permissions defined in the permission attribute. , that is, the sharing permission under Open defined in the permission attribute.
- the second sharing permission is the default sharing permission, and the sharing permission cannot be adjusted when the permissions are diffused.
- its second authority includes the second authority within the first authority range, and the second authority within the first authority range.
- the scope of the first authority is the same as the scope of the first authority
- the scope of the second authority is the same as the scope of the first authority. different.
- the first permission includes that people who obtain the link on the Internet can read
- the second permission includes that people who obtain the link within the organization can read, people who obtain the link within the organization can edit, and people who obtain the link on the Internet can read. Or someone on the Internet who gets the link can edit it.
- the above is just an example and does not limit the scope of protection. The specific settings can be made according to actual needs.
- the second permission may include the second permission of the first permission scope, or the second permission of the second permission scope, or the second permission of the first permission scope.
- the second authority further includes the second authority within the scope of the second authority. Wherein, the link is an access link to the target content space with the first authority.
- the above S223 includes:
- the root node when performing permission diffusion, is used as the starting point to determine whether the page corresponding to each node is the first target page.
- the permission attributes of each page can be determined in advance, and the first target page and the second target page can be determined first; or the first target page and the second target page can be determined when the permissions are diffused.
- the permission attributes of the pages corresponding to each node are analyzed in sequence. If the permission attribute is that permissions cannot be adjusted, the page is determined to be the first target page, and then based on the The relationship determines the second target page that belongs to the first target page. At this time, the second sharing permissions of the first target page and the second target page are fixed. If the permission attribute is not permission non-adjustable, perform permission diffusion on the page corresponding to the node, and adjust the second sharing permission to a second permission that is the same as the first permission.
- the first target page is queried based on a multi-tree. Since the relationship between the nodes of the multi-tree can represent the ownership relationship between pages, using the node connection relationship of the multi-tree can improve the first target page. search efficiency.
- the above S22 includes:
- two independent storage spaces are maintained, one for storing the first sharing permission of the target content space, and the other for storing the second sharing permission of the page.
- the two can be physically isolated and the permissions of the target content space and the page can be set independently.
- the expression forms of the first permission data and the second permission data include but are not limited to databases, data tables, etc.
- a data table is taken as an example.
- the first permission data is a content space permission data table
- the second permission data is a content space permission data table.
- the permission data is a page permission data table.
- Each table only needs to store its own business data to achieve physical isolation without affecting each other.
- page permissions can be set independently, because the data in the page permissions data table is modified and will not be restricted by the data in the content space permissions data table. That is, different storage spaces are used to store the content space and the sharing permissions of the page respectively. Since the sharing permissions of multiple content spaces are stored in the first permission data, it is first necessary to use the identification of the target content space to determine the sharing permissions of the target content space in the first permission data, and then set it as a public identification . On this basis, the second sharing permission of the corresponding page is adjusted in the second permission data in combination with the ownership relationship of the page, and the second permission of the page is obtained.
- the first permission data and the second permission data are respectively used to store the sharing permissions of the content space and the page.
- the two permission data are independent of each other, so that the physical separation does not affect each other, thereby ensuring that the sharing permissions of the documents can be set independently.
- step (3) of S22 above includes:
- the second sharing permission of the page corresponding to the node when adjusting the second sharing permission of the page corresponding to the node, first Locate the page corresponding to the node in the second permission data, then set the external sharing field of the page corresponding to the node to the open flag, and then set the link sharing field based on the public access permission of the page, and set it to the same as the public access permission.
- the corresponding sharing ID Regarding the permission attributes of public access permissions as mentioned above, that is, when building a content space, public access permissions and non-public access permissions can be set separately for the page. Then, when the page is made public, sharing permissions can be based on public access permissions. setting.
- the link sharing field is set to 0 it means that the field is not set; when the link sharing field is set to 1, it means that link sharing is turned off; when the link sharing field is set to 2, it means that people in the organization who have obtained the link can read it; when the link When the sharing field is set to 3, it means that people in the organization who have obtained the link can edit it; when the link sharing field is set to 4, it means that people who have obtained the link on the Internet can read it; when the connection sharing field is set to 5, it means that people who have obtained the link on the Internet can read it. Can be edited by people. Based on this, when setting the external sharing field and link sharing field, you can set the corresponding specific values.
- the external sharing field and the link sharing field in the second permission data are set to adjust the second sharing permissions of other pages, and when setting the link sharing field, it is also necessary to combine the public access of the page. Set permissions to ensure the reliability of page sharing.
- the first sharing permission of the target content space when the user operates the overall external sharing switch of the target content space through interaction with the electronic device, the first sharing permission of the target content space will be changed to the first permission, and at the same time, an asynchronous task will be initiated to share the target content space with the second one based on the ownership relationship. Adjust the sharing permissions to obtain the second permission of the page.
- the external sharing field of the target content space when turning on the overall external sharing of the target content space, change the external sharing field of the target content space to 1, indicating that the overall external sharing switch of the target content space is turned on; initiate an asynchronous task to diffuse permissions on the pages of the target content space, because the target
- the data structure of the content space is a multi-tree, which is equivalent to adjusting the second sharing permissions of the page through the traversal of the multi-tree, that is, fixing the second sharing permissions of the first target page and the second target page, and changing the second sharing permissions of other pages.
- the second sharing permission is adjusted to the second permission within the scope of the first permission. For example, set the external sharing field of other pages to 1 and the link sharing field to 4, indicating that the document's external sharing switch is on and the connection sharing setting is so that people on the Internet who have the link can read it.
- the page during the process of traversing the multi-tree, if the page is a locked page, it means that the page will not be affected by the permission diffusion asynchronous task, thereby ensuring the independence of page permissions.
- modify the external sharing field in the content space permission data table When the target content space is shared externally as a whole, modify the external sharing field in the content space permission data table; then traverse the multi-tree through the permission diffusion asynchronous task, and modify the external sharing field and link sharing field in the page permission data table.
- traversing the permission diffusion asynchronous task if the page is found to be a locked page, the field data of the page in the page permission data table will not be modified, and the subpages of the page will no longer be permission diffused.
- the content space sharing method provided by this embodiment uses the ownership relationship to determine the second target page belonging to the first target page.
- the sharing permissions of the second target page It cannot be adjusted. Even when the first sharing permission is public, the sharing permission of the first target page will not be adjusted to ensure flexible management and control of the page's sharing permission.
- the sharing method of the content space also includes:
- the content space user can also turn off sharing of the target content space by interacting with the electronic device.
- the user turns off sharing on the sharing interface, and in response to this operation, the first sharing permission of the target content space is adjusted to the third permission, that is, sharing is turned off.
- the adjustment of the first sharing permission is the setting of the external sharing field of the target content space in the first permission data. If the external sharing field is 0, it means closed, and the external sharing field is 1, it means open. Then, set the external sharing field of the target content space in the first permission data to 0.
- the second sharing permission of the page is adjusted to the fourth permission, that is, the non-public access permission, in combination with the ownership of the page.
- the specific processing process of closing sharing is similar to the processing process of opening sharing described above. For details, see the above description.
- the external sharing field of the target content space is set to 2, indicating that the entire external sharing switch of the target content space is closed; Initiate an asynchronous task to diffuse permissions on the page, because the target content space data structure is a multi-tree. By traversing the multi-tree, the page sharing permissions are changed, and the external sharing field is set to 2, indicating that the external sharing switch of the page is turned on. , but only those within your organization who have the link can read it. After the target content space is closed, the secondary sharing permissions of the page will be adjusted accordingly to ensure the reliability of the page in the target content space.
- a content space sharing method is provided, which can be used for the above-mentioned electronic devices, such as user terminals or servers.
- Figure 6 is a flow chart of a content space sharing method according to an embodiment of the present disclosure, as shown in Figure 6 As shown, the process includes the following steps:
- S31 respond to the opening operation of the target content space to obtain the target content space.
- the target content space includes at least one page with a belonging relationship.
- the above S33 includes:
- the access request carries user identity.
- a sharing link is generated, and the user can access the target content space by using the sharing link.
- the user sends an access request to the target content space by interacting with the shared link.
- the access request carries the user identity, which includes whether the current accessing user is a user within the organization, a guest, etc. Different user identities have different access rights to pages in the target content space.
- the sharing link when the user clicks on the sharing link, the sharing link jumps to the display page of the target content space.
- the user identity is obtained during the jump. Accordingly, the user identity can be carried when sending the access request. .
- S332 Authenticate the user's identity based on the second sharing permission and determine the page with access permission.
- the second sharing permission of the page is used Authenticate the user's identity and determine which pages the user has access rights to. That is, determine the pages to which you have access.
- the access permissions of different users have been defined when the page is made public, for example, people who get the link within the organization can read, or people who get the link on the Internet can read, etc. .
- the pages with access permissions are determined.
- S333 Determine the page tree based on the ownership relationship of the page with access rights to display the page tree.
- the ownership relationship is used to determine the page tree, that is, the ownership relationship between the pages with access rights. Accordingly, the page tree can be displayed on the terminal that issues the access request.
- the above-mentioned S333 includes: determining the page tree based on the ownership relationship of the page with access rights, so as to display the page tree in the page tree display area of the display interface.
- the display interface also includes a page display area for displaying the page selected in the page tree display area.
- the display interface of the terminal that issues the access request includes a page tree display area and a page display area.
- the page tree display area displays the ownership relationship of the pages with access rights, and the page display area is used to display the specific content of the page.
- FIG. 7a and FIG. 7b respectively show display interfaces corresponding to access requests of different user identities.
- Figure 7a shows the display interface corresponding to anonymous users or visitors
- Figure 7b shows the display page corresponding to members in the organization.
- only the target page in the target content space can be accessed, that is, when sharing the target content space, only the sharing link of the target page is generated.
- the sharing link By clicking on the sharing link, the user sends an access request to access the target document.
- a visitor accesses a page link, not only will the user and the target page be authenticated, but the parent node page of the target page will also be queried to determine whether the user has reading permission for the parent node page. If the user has read permission to the parent node page, rendering and display will be performed; if the user does not have read permission to the parent node page, rendering and display will not be performed, and the authentication will continue until the root node.
- This method allows access to the target page of the content space, and also displays the parent node page with access rights to the user to ensure the relevance of the page the user accesses in the content space.
- the parent node page and the page can be displayed in the page tree.
- the target pages are all displayed to the user, realizing the display of page free trees.
- the content space sharing method provided by this embodiment uses the second sharing permission to authenticate the user's identity after obtaining the access request, determines the pages with access permission, and uses the form of a page tree to represent all pages with access permission. , easy for users to access.
- enterprise A needs to share the function introduction of its product a to users. Then, the corresponding personnel in enterprise A need to build a content space for product a, which includes product a in the content space.
- the functions, usage methods, common fault solutions, etc. are all pages in this content space.
- the functions, usage methods, common fault solutions, and fault repair reports of Product A are public pages.
- Product A corresponds to the contact of the R&D personnel.
- the method is a non-public page. Therefore, when building the content space, set the permission attributes for each page.
- the second sharing permissions for Product A’s functions, usage, common fault solutions, and fault repair reports are provided to people who have obtained the sharing link on the Internet.
- the contact information for Product A’s corresponding R&D personnel is the organization. People with the shared link can edit it. Therefore, by setting independent sharing permissions for the page, the sharing permissions can be set independently for the page when sharing the content space.
- module may be a combination of software and/or hardware that implements a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
- This embodiment provides a content space sharing device, as shown in Figure 8, including:
- the first response module 41 is configured to display the target content space in response to the opening operation of the target content space, where the target content space includes at least one page with a belonging relationship;
- the second response module 42 is configured to respond to changing the first sharing permission of the target content space to the first permission, and adjust the second sharing permission of the page based on the ownership relationship and the first permission. It is the second authority;
- the third response module 43 is configured to provide a page with the second permission for access in response to receiving an access request to the target content space with the first permission.
- the second response module 42 includes:
- the first acquisition unit is used to acquire the first unadjustable sharing permission in the target content space. target page;
- a first determining unit configured to determine a second target page belonging to the first target page based on the belonging relationship
- a first adjustment unit configured to fix the second sharing permissions of the first target page and the second target page, and adjust the second sharing permissions of other pages in the target content space to the second sharing permissions of the first permission range.
- Second authority the scope of the first authority is the same as the scope of the first authority.
- the first acquisition unit includes:
- the first acquisition subunit is used to acquire the permission attribute of the page in the target content space
- the first determination subunit is configured to determine that the page is the first target page when the permission attribute of the page is that permission cannot be adjusted.
- the target content space is stored in the form of a multi-tree.
- the root node of the multi-tree is the root node of the target content space.
- the relationship between the nodes of the multi-tree is related to the relationship between the nodes of the multi-tree and the root node of the target content space.
- the first determination unit includes:
- a query subunit configured to use the node of the first target page in the multi-tree as a parent node, and query the child nodes that belong to the same branch as the parent node based on the relationship between the nodes;
- the second determination subunit is used to determine the page corresponding to the child node as the second target page.
- the first adjustment unit includes:
- a judging subunit used to judge whether the page corresponding to the node of the multi-tree is the first target page, taking the root node as the starting point;
- a fixing subunit configured to fix the second sharing permissions of the first target page and the second target page when the page corresponding to the node of the multi-tree is the first target page
- the adjustment subunit is configured to adjust the second sharing permission of the page corresponding to the node to the second permission of the first permission range when the page corresponding to the node of the multi-tree is not the first target page.
- adjustment module 42 includes:
- the second acquisition unit is used to acquire first permission data and second permission data.
- the first permission data is used to store the sharing permission of the content space
- the second permission data is used to store the sharing permission of the page
- a second adjustment unit configured to adjust the first permission number based on the identification of the target content space. According to the data, the sharing permission of the target content space is adjusted to public, and the first sharing permission is determined to be public;
- a third adjustment unit is configured to adjust the second sharing permission of the corresponding page in the second permission data to the second permission based on the ownership relationship and the first permission.
- the third adjustment unit includes:
- the first setting subunit is used to set the external sharing field of the page corresponding to the node in the second permission data to the open flag;
- the second setting subunit is configured to set the link sharing field of the page corresponding to the node in the second authority data as the sharing identifier of the second authority.
- the third response module 43 includes:
- An access request acquisition module configured to receive an access request to the target content space with the first permission, where the access request carries a user identity
- An authentication module configured to authenticate the user identity based on the second sharing permission and determine the page with access permission
- a determining module configured to determine a page tree based on the ownership relationship of the page with access rights to display the page tree.
- the determining module includes:
- the second determination unit is configured to determine the page tree based on the ownership relationship of the page with access rights, so as to display the page tree in the page tree display area of the display interface.
- the display interface also includes a page display area, with The selected page is displayed in the page tree display area.
- the device further includes:
- Close response module used to respond to the closing operation of the target content space
- the content space sharing device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and/or others that can provide the above functions. device.
- An embodiment of the present disclosure also provides an electronic device having the content space division shown in FIG. 8 above. Enjoy the device.
- Figure 9 is a schematic structural diagram of an electronic device provided by an optional embodiment of the present disclosure.
- the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit, Central Processing Unit). processor), at least one communication interface 53, memory 54, and at least one communication bus 52.
- the communication bus 52 is used to realize connection communication between these components.
- the communication interface 53 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a wireless interface.
- the memory 54 can be a high-speed RAM memory (Random Access Memory, volatile random access memory), or a non-volatile memory (non-volatile memory), such as at least one disk memory.
- the memory 54 may optionally be at least one storage device located remotely from the aforementioned processor 51 .
- the processor 51 can be combined with the device described in FIG. 8 , the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 to execute any of the above method steps.
- the communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
- PCI peripheral component interconnect
- EISA extended industry standard architecture
- the communication bus 52 can be divided into an address bus, a data bus, a control bus, etc. For ease of presentation, only one thick line is used in Figure 9, but it does not mean that there is only one bus or one type of bus.
- the memory 54 may include volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM); the memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid-state drive (English: solid-state drive, abbreviation: SSD); the memory 54 may also include the above types memory combination.
- volatile memory such as random access memory (English: random-access memory, abbreviation: RAM)
- non-volatile memory such as flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid-state drive (English: solid-state drive, abbreviation: SSD); the memory 54 may also include the above types memory combination.
- the processor 51 can be a central processing unit (English: central processing unit, abbreviation: CPU), a network processor (English: network processor, abbreviation: NP) or a combination of CPU and NP.
- CPU central processing unit
- NP network processor
- the processor 51 may further include a hardware chip.
- the above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- the above-mentioned PLD can be a complex programmable logic device (English: complex programmable logic device, Abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array logic, abbreviation: GAL) or any combination thereof.
- memory 54 is also used to store program instructions.
- the processor 51 can call program instructions to implement the content space sharing method shown in any embodiment of the present application.
- Embodiments of the present disclosure also provide a non-transitory computer storage medium that stores computer-executable instructions, and the computer-executable instructions can execute the content space sharing method in any of the above method embodiments.
- the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard disk). Disk Drive (abbreviation: HDD) or solid-state drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above types of memories.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims (15)
- 一种内容空间的分享方法,包括:响应于对目标内容空间的打开操作,显示所述目标内容空间,所述目标内容空间包括至少一个具有所属关系的页面;响应于将所述目标内容空间的第一分享权限变更为第一权限,基于所述所属关系以及所述第一权限,将所述页面的第二分享权限调整为第二权限;响应于接收到对具有所述第一权限的所述目标内容空间的访问请求,提供具有所述第二权限的所述页面用于访问。
- 根据权利要求1所述的方法,其中,所述基于所述所属关系以及所述第一权限,将所述页面的第二分享权限调整为所述第二权限,包括:获取所述目标内容空间中分享权限不可调整的第一目标页面;基于所述所属关系确定归属于所述第一目标页面的第二目标页面;固定所述第一目标页面以及所述第二目标页面的第二分享权限,并将所述目标内容空间中其他页面的第二分享权限调整为第一权限范围的第二权限,所述第一权限范围与所述第一权限的权限范围相同。
- 根据权利要求2所述的方法,其中,所述获取所述目标内容空间中分享权限不可调整的第一目标页面,包括:获取所述目标内容空间中所述页面的权限属性;当所述页面的权限属性为权限不可调整时,确定所述页面为所述第一目标页面。
- 根据权利要求2或3所述的方法,其中,所述目标内容空间采用多叉树的形式存储,所述多叉树的根节点为所述目标内容空间的根节点,所述多叉树的节点之间的关系与所述所属关系对应,所述基于所述所属关系确定归属于所述第一目标页面的第二目标页面,包括:以所述第一目标页面在所述多叉树中的节点为父节点,基于所述节点之间的关系查询与所述父节点属于同一分支的子节点;将所述子节点对应的页面确定为所述第二目标页面。
- 根据权利要求4所述的方法,其中,所述固定所述第一目标页面以及所述第二目标页面的第二分享权限,并将所述目标内容空间中其他页面的第 二分享权限调整为第一权限范围的第二权限,包括:以所述根节点为起点,判断所述多叉树的节点对应的页面是否为所述第一目标页面;当所述多叉树的节点对应的页面为所述第一目标页面时,固定所述第一目标页面以及所述第二目标页面的第二分享权限;当所述多叉树的节点对应的页面不是所述第一目标页面时,将所述节点对应的页面的第二分享权限调整为第一权限范围的第二权限。
- 根据权利要求1-5任一项所述的方法,其中,所述响应于将所述目标内容空间的第一分享权限变更为第一权限,基于所述所属关系以及所述第一权限,将所述页面的第二分享权限调整为第二权限,包括:获取第一权限数据以及第二权限数据,所述第一权限数据用于存储所述第一分享权限,所述第二权限数据用于存储所述第二分享权限;基于所述目标内容空间的标识,将所述第一权限数据中所述目标内容空间的第一分享权限调整为所述第一权限;基于所述所属关系以及所述第一权限,将所述第二权限数据中对应页面的第二分享权限调整为所述第二权限。
- 根据权利要求6所述的方法,其中,所述基于所述所属关系以及所述第一权限,将所述第二权限数据中对应页面的第二分享权限调整为所述第二权限,包括:将所述第二权限数据中所述节点对应的页面的对外分享字段设置为打开标识;将所述第二权限数据中所述节点对应的页面的链接分享字段设置为所述第二权限的分享标识。
- 根据权利要求1-7任一项所述的方法,其中,所述响应于接收到对具有所述第一权限的所述目标内容空间的访问请求,提供具有所述第二权限的所述页面用于访问,包括:接收到对具有所述第一权限的所述目标内容空间的访问请求,所述访问请求中携带有用户身份;基于所述第二权限对所述用户身份进行鉴权,确定具有访问权限的页面;基于所述具有访问权限的页面的所属关系确定页面树,以显示所述页面 树。
- 根据权利要求8所述的方法,其中,所述基于所述具有访问权限的页面的所属关系确定页面树,以显示所述页面树,包括:基于所述具有访问权限的页面的所属关系确定所述页面树,以在显示界面的页面树显示区显示所述页面树,所述显示界面还包括页面显示区,用于显示所述页面树显示区所选择的页面。
- 根据权利要求1-9任一项所述的方法,还包括:响应于对所述目标内容空间的关闭操作;将所述第一分享权限调整为第三权限,基于所述第三权限以及所述所属关系,将所述页面的第二分享权限调整为第四权限。
- 根据权利要求1-10任一项所述的方法,其中,所述第二权限中包括与所述第一权限的权限范围相同的第一权限范围,和/或,与所述第一权限的权限范围不同的第二权限范围。
- 根据权利要求11所述的方法,其中,所述第一权限包括互联网上获得链接的人可阅读,所述第二权限包括组织内获得链接的人可阅读、组织内获得链接的人可编辑、互联网上获得链接的人可阅读或互联网上获得链接的人可编辑,所述链接为具有所述第一权限的目标内容空间的访问链接。
- 一种内容空间的分享装置,包括:第一响应模块,用于响应于对目标内容空间的打开操作,显示所述目标内容空间,所述目标内容空间包括至少一个具有所属关系的页面;第二响应模块,用于响应于将所述目标内容空间的第一分享权限变更为第一权限,并基于所述所属关系以及所述第一权限,将所述页面的第二分享权限调整为第二权限;第三响应模块,用于响应于接收到对具有所述第一权限的目标内容空间的访问请求,提供具有所述第二权限的页面用于访问。
- 一种电子设备,包括:存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行权利要求1-12中任一项所述的内容空间的分享方法。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有 计算机指令,所述计算机指令用于使计算机执行权利要求1-12中任一项所述的内容空间的分享方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/996,636 US20250217502A1 (en) | 2022-07-21 | 2023-07-19 | Sharing method for content space, electronic device, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210863688.0 | 2022-07-21 | ||
| CN202210863688.0A CN115242503B (zh) | 2022-07-21 | 2022-07-21 | 内容空间的分享方法、装置、电子设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024017271A1 true WO2024017271A1 (zh) | 2024-01-25 |
Family
ID=83674490
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/108021 Ceased WO2024017271A1 (zh) | 2022-07-21 | 2023-07-19 | 内容空间的分享方法、装置、电子设备及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250217502A1 (zh) |
| CN (1) | CN115242503B (zh) |
| WO (1) | WO2024017271A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115242503B (zh) * | 2022-07-21 | 2024-05-07 | 北京字跳网络技术有限公司 | 内容空间的分享方法、装置、电子设备及存储介质 |
| CN116089754A (zh) * | 2023-01-10 | 2023-05-09 | 北京百度网讯科技有限公司 | 页面浏览授权方法、装置、设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015101302A1 (zh) * | 2013-12-30 | 2015-07-09 | 腾讯科技(深圳)有限公司 | 数据共享方法、系统、用户端及后台服务器 |
| CN109787948A (zh) * | 2017-11-14 | 2019-05-21 | 钉钉控股(开曼)有限公司 | 共享空间的访问方法、权限管理方法及装置 |
| CN114490548A (zh) * | 2020-11-13 | 2022-05-13 | 腾讯科技(深圳)有限公司 | 文件管理方法、装置、设备及计算机可读存储介质 |
| CN115242503A (zh) * | 2022-07-21 | 2022-10-25 | 北京字跳网络技术有限公司 | 内容空间的分享方法、装置、电子设备及存储介质 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104427005B (zh) * | 2013-08-20 | 2018-01-02 | 阿里巴巴集团控股有限公司 | 在cdn上实现请求精确调度的方法及系统 |
| CN103678555B (zh) * | 2013-12-06 | 2017-08-25 | 北京奇虎科技有限公司 | 进行网页收藏的方法和进行网页收藏的装置 |
| CN106817355B (zh) * | 2015-12-01 | 2019-12-10 | 北京国双科技有限公司 | 网页权限的控制方法及装置 |
| CN109669924A (zh) * | 2018-12-24 | 2019-04-23 | 天津字节跳动科技有限公司 | 在线文档的共享方法、装置、电子设备和存储介质 |
| CN113742601A (zh) * | 2020-05-29 | 2021-12-03 | 腾讯科技(深圳)有限公司 | 内容分享方法、装置、计算机设备和存储介质 |
| CN113806008A (zh) * | 2021-02-02 | 2021-12-17 | 北京沃东天骏信息技术有限公司 | 集群访问方法、装置、电子设备及可读存储介质 |
| CN113094674B (zh) * | 2021-04-28 | 2024-04-02 | 深圳赛安特技术服务有限公司 | 页面展示方法、装置、电子设备及存储介质 |
| CN113609834B (zh) * | 2021-08-18 | 2024-11-12 | 北京字跳网络技术有限公司 | 信息处理方法、装置、设备及介质 |
| CN114546560A (zh) * | 2022-02-22 | 2022-05-27 | 浙江蓝卓工业互联网信息技术有限公司 | 数据分享方法及装置、存储介质及电子设备 |
-
2022
- 2022-07-21 CN CN202210863688.0A patent/CN115242503B/zh active Active
-
2023
- 2023-07-19 US US18/996,636 patent/US20250217502A1/en active Pending
- 2023-07-19 WO PCT/CN2023/108021 patent/WO2024017271A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015101302A1 (zh) * | 2013-12-30 | 2015-07-09 | 腾讯科技(深圳)有限公司 | 数据共享方法、系统、用户端及后台服务器 |
| CN109787948A (zh) * | 2017-11-14 | 2019-05-21 | 钉钉控股(开曼)有限公司 | 共享空间的访问方法、权限管理方法及装置 |
| CN114490548A (zh) * | 2020-11-13 | 2022-05-13 | 腾讯科技(深圳)有限公司 | 文件管理方法、装置、设备及计算机可读存储介质 |
| CN115242503A (zh) * | 2022-07-21 | 2022-10-25 | 北京字跳网络技术有限公司 | 内容空间的分享方法、装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20250217502A1 (en) | 2025-07-03 |
| CN115242503B (zh) | 2024-05-07 |
| CN115242503A (zh) | 2022-10-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102647482B (zh) | 一种访问网站的方法和系统 | |
| US20250342265A1 (en) | Data aggregation system for enabling query operations on restricted data that originates from multiple independent multiple sources | |
| US9721018B2 (en) | System and method for displaying of most relevant vertical search results | |
| US20220342734A1 (en) | Data Driven API Conversion | |
| CN110765295A (zh) | 基于图数据库的查询方法、装置、计算机设备及存储介质 | |
| CN109245928B (zh) | 配置信息的设置方法和装置、终端管理系统 | |
| CN110943961A (zh) | 数据处理方法、设备以及存储介质 | |
| WO2024017271A1 (zh) | 内容空间的分享方法、装置、电子设备及存储介质 | |
| US10645090B2 (en) | Access control for objects having attributes defined against hierarchically organized domains containing fixed number of values | |
| US10853440B2 (en) | Displaying an object having a link to a database record in response to a user selection of a highlighted reference | |
| US20220207033A1 (en) | Systems and methods for data retrieval | |
| WO2023179549A1 (zh) | 一种文档块分享方法、装置、系统及存储介质 | |
| US9817891B1 (en) | System, method, and computer program for creating metadata-based search queries | |
| WO2021121130A1 (zh) | 信息采集方法、装置、计算机设备及存储介质 | |
| US11586696B2 (en) | Enhanced web browsing | |
| CN112995014B (zh) | 消息群发的方法及装置 | |
| WO2024021952A1 (zh) | 一种共享方法及装置 | |
| US11467868B1 (en) | Service relationship orchestration service | |
| CN118797673A (zh) | 一种基于角色权限的访问控制方法、装置和电子设备 | |
| CN116827604A (zh) | 应用登录控制方法、系统、终端及存储介质 | |
| CN115052045A (zh) | 后台管理系统的访问方法、装置及电子设备 | |
| US20210149640A1 (en) | Automatically producing mobile application binaries | |
| CN120263892B (zh) | 同步通讯录的方法、系统、设备及介质 | |
| CN116662401A (zh) | 数据的检索方法、装置、设备及计算机可读存储介质 | |
| HK40093117B (zh) | 数据的检索方法、装置、设备及计算机可读存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23842334 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18996636 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 18996636 Country of ref document: US |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.05.2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23842334 Country of ref document: EP Kind code of ref document: A1 |