Method and apparatus for generating document collection page
Patent Information
- Application Number
- CN202211474762.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2042-11-23
AI Technical Summary
这种文档集合页面的展现方式,不能满足用户个性化的需要
[0044]One embodiment of the above invention has the following advantages or beneficial effects: Different user arrangement configuration information can be set according to specific needs. After a user logs into the document system, based on the user's arrangement configuration information, at least one column corresponding to the user, the horizontal columns within each column, and the corresponding category information for each horizontal column are determined. Therefore, based on the at least one column corresponding to the user, the horizontal columns within each column, and the corresponding category information for each horizontal column, a document collection page that meets the user's needs is generated, satisfying the user's personalized requirements.
Smart Images

Figure CN115729662B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of collaborative office technology, and in particular to a method and apparatus for generating a document collection page. Background Technology
[0002] To meet the needs of multiple users editing documents simultaneously, developers created a document format that supports online multi-user editing, known as a collaborative document. After logging into the collaborative document system, users can view various document collections on a document collection page and perform various document operations. However, the document collection page is generally displayed in the same way for all users. This display method cannot meet the personalized needs of users. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method and apparatus for generating document collection pages, which can generate document collection pages according to user needs, thereby meeting the personalized needs of users.
[0004] In a first aspect, embodiments of the present invention provide a method for generating a document collection page, applied in a document system, comprising:
[0005] In response to a target user logging into the document system, obtain the target user's arrangement configuration information;
[0006] Based on the arrangement information, determine at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column;
[0007] Based on each of the vertical columns, the horizontal columns within each vertical column, and the corresponding set categories for each horizontal column, a document collection page corresponding to the target user is generated; wherein, the set category includes at least one document collection, and the document collection includes at least one document in the document system.
[0008] Optionally, generating the document collection page corresponding to the target user based on each of the vertical columns, the horizontal columns within each vertical column, and the set classification corresponding to each horizontal column includes:
[0009] Determine the display method corresponding to each column, and determine the display width corresponding to each column based on the display method corresponding to each column;
[0010] The position of each column is determined based on the display width of each column.
[0011] At the vertical column position on the document collection page, a list of collection categories corresponding to each horizontal column in the vertical column is displayed.
[0012] Optionally, the display method is a tiled display;
[0013] The document collection page displays a list of collection categories corresponding to each horizontal column in the vertical column, including:
[0014] Determine the number of horizontal columns in the target column;
[0015] Based on the number of horizontal columns, determine the layout information corresponding to the target vertical column;
[0016] Based on the layout information, the column position of the target column, and the column order of each target column in the target column, determine the column position of each target column.
[0017] On the document collection page, at the horizontal position of the target horizontal bar, the collection category list corresponding to the target horizontal bar is displayed.
[0018] Optionally, the display method is a list display method;
[0019] The document collection page displays a list of collection categories corresponding to each horizontal column in the vertical column, including:
[0020] Determine the column order of each target column in the target column;
[0021] The position of each target horizontal column is determined based on the column position of the target column and the column order of each target horizontal column.
[0022] On the document collection page, at the horizontal position of the target horizontal bar, the collection category list corresponding to the target horizontal bar is displayed.
[0023] Optionally, it also includes:
[0024] Receive collection classification instructions;
[0025] Determine the document set and document set category corresponding to the set classification instruction;
[0026] The document collection corresponding to the collection classification instruction is assigned to the collection classification category corresponding to the collection classification instruction.
[0027] Optionally, it also includes:
[0028] Receive an arrangement configuration instruction for the target user and obtain the arrangement configuration page corresponding to the arrangement configuration instruction;
[0029] Determine the position information of each configuration set category in the arrangement configuration page;
[0030] Based on the location information of each configuration set category, generate or modify the arrangement configuration information of the target user.
[0031] Optionally, generating or modifying the arrangement configuration information of the target user based on the location information of each configuration set includes:
[0032] Based on the location information of the configuration set category, the horizontal column position of the configuration column corresponding to the configuration set category is determined;
[0033] Based on the horizontal position of each configured horizontal column, each configured horizontal column is divided into at least one configured vertical column;
[0034] Based on the configuration columns, the configuration columns, and the corresponding set categories, the arrangement configuration information of the target user is generated or modified.
[0035] Secondly, embodiments of the present invention provide a document collection page generation apparatus, applied in a document system, comprising:
[0036] The information acquisition module is used to acquire the arrangement configuration information of the target user in response to the target user logging into the document system;
[0037] The information determination module is used to determine, based on the arrangement configuration information, at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column;
[0038] The page generation module is used to generate a document collection page corresponding to the target user based on each of the vertical columns, the horizontal columns in each of the vertical columns, and the set classification corresponding to each of the horizontal columns; wherein, the set classification includes at least one document collection, and the document collection includes at least one document in the document system.
[0039] Thirdly, embodiments of the present invention provide an electronic device, including:
[0040] One or more processors;
[0041] Storage device for storing one or more programs.
[0042] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.
[0043] Fourthly, embodiments of the present invention provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the methods described in any of the above embodiments.
[0044] One embodiment of the above invention has the following advantages or beneficial effects: Different user arrangement configuration information can be set according to specific needs. After a user logs into the document system, based on the user's arrangement configuration information, at least one column corresponding to the user, the horizontal columns within each column, and the corresponding category information for each horizontal column are determined. Therefore, based on the at least one column corresponding to the user, the horizontal columns within each column, and the corresponding category information for each horizontal column, a document collection page that meets the user's needs is generated, satisfying the user's personalized requirements.
[0045] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description
[0046] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:
[0047] Figure 1 This is a schematic diagram of the process of generating a document collection page according to an embodiment of the present invention;
[0048] Figure 2 This is a schematic diagram of the structure of a document collection page provided in one embodiment of the present invention;
[0049] Figure 3 This is a schematic diagram of the process of generating a document collection page according to another embodiment of the present invention;
[0050] Figure 4a This is a schematic diagram illustrating the display effect of vertical columns in a flat layout, according to an embodiment of the present invention.
[0051] Figure 4b This is a schematic diagram illustrating the display effect of vertical columns under another tiling method provided in an embodiment of the present invention;
[0052] Figure 4c This is a schematic diagram illustrating the display effect of vertical columns under another tiling method provided in an embodiment of the present invention;
[0053] Figure 5 This is a schematic diagram illustrating the display effect of vertical columns in a mobile terminal according to an embodiment of the present invention;
[0054] Figure 6 This is a schematic diagram of a method for generating or modifying arrangement configuration information according to an embodiment of the present invention;
[0055] Figure 7 This is a schematic diagram of the structure of a document collection page generation device provided in an embodiment of the present invention;
[0056] Figure 8This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation
[0057] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0058] It should be noted that the acquisition, storage, use, and processing of data in the technical solutions of this invention comply with the relevant provisions of national laws and regulations.
[0059] Figure 1 This is a schematic diagram illustrating the flow of a method for generating a document collection page according to an embodiment of the present invention. This method is applied to document systems, such as... Figure 1 As shown, the method includes:
[0060] Step 101: In response to the target user logging into the document system, obtain the target user's arrangement configuration information.
[0061] Document systems can be collaborative document systems, etc. A document system stores multiple documents, and it organizes and manages these documents through document collections.
[0062] Step 102: Based on the arrangement and configuration information, determine at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column.
[0063] In a document system, each user corresponds to at least one column, and each column includes at least one horizontal column. Each horizontal column corresponds to a collection category. A collection category consists of one or more document collections. A collection category may include information such as category name, creator ID, creation time, and modification time.
[0064] Step 103: Generate a document collection page for the target user based on each column, each column's horizontal column, and each horizontal column's corresponding set category. The set category includes at least one document collection, and the document collection includes at least one document from the document system.
[0065] The document collection page may include at least one column of content corresponding to the target user. Each column of content consists of a list of collection categories corresponding to the horizontal columns included in that column. The list of collection categories may include: the category name of the collection category and / or the name of the document collection within the collection category.
[0066] It should be noted that the document collection in this embodiment of the invention can be constructed in the form of teams. Team 1, Team 2, Team 3, etc. in the scheme of this embodiment of the invention are all document collection names.
[0067] Figure 2 This is a schematic diagram of the structure of a document collection page provided in one embodiment of the present invention. For example... Figure 2 As shown, this document collection page consists of two columns. The first column on the left is in list format, and the second column on the right is in tile format.
[0068] The first column includes three horizontal columns: Column 1-1, Column 1-2, and Column 1-3. Column 1-1 corresponds to the first-level department, Column 1-2 to the second-level department, and Column 1-3 to the third-level department. The first-level, second-level, and third-level departments are all category names in the document system's collection classification system.
[0069] The second column on the right includes five horizontal columns: Column 2-1, Column 2-2, Column 2-3, Column 2-4, and Column 2-5. Column 2-1 corresponds to the Pinned List, Column 2-2 to the Requirements Series, Column 2-3 to the Development Series, Column 2-4 to the Technical Learning Series, and Column 2-5 to the Public Team. Pinned List, Requirements Series, Development Series, Technical Learning Series, and Public Team are all category names within the document system.
[0070] In embodiments of the present invention, arrangement configuration information for different users can be set according to specific needs. After a user logs into the document system, based on the user's arrangement configuration information, at least one column corresponding to the user, the horizontal columns within each column, and the corresponding set categories for each horizontal column are determined. Therefore, based on the at least one column corresponding to the user, the horizontal columns within each column, and the corresponding set categories for each horizontal column, a document collection page that meets the user's needs is generated, satisfying the user's personalized requirements.
[0071] In one embodiment of the present invention, the method further includes: receiving a collection classification instruction; determining the document collection and document collection classification corresponding to the collection classification instruction; and classifying the document collection corresponding to the collection classification instruction into the collection classification corresponding to the collection classification instruction.
[0072] Users can create one or more collection categories according to their needs. Each collection category includes information such as category name, user ID of the creator, creation time, and modification time.
[0073] Users can send collection classification instructions to the document system to classify the document collections corresponding to the collection classification instructions into the collection classification categories corresponding to the collection classification instructions. The collection classification categories corresponding to the collection classification instructions can be user-created collection classification categories or collection classification categories created by default by the document system.
[0074] Figure 3 This is a schematic diagram illustrating the flow of a method for generating a document collection page according to another embodiment of the present invention. This method is applied to document systems, such as... Figure 3 As shown, the method includes:
[0075] Step 301: In response to the target user logging into the document system, obtain the target user's arrangement configuration information.
[0076] Step 302: Based on the arrangement and configuration information, determine at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column.
[0077] Step 303: Determine the display method for each column, and determine the display width for each column based on the display method.
[0078] Display methods include tiled and list views. The display width or aspect ratio of the columns can be set according to the display method and terminal type. For example, for PC, a tiled column has a display width of 200px; a list column has a display width of 120px, and so on. For mobile devices, the width ratio of tiled to list columns is set to 2:1, thus determining the corresponding display width of each column based on the mobile screen size and aspect ratio.
[0079] Step 304: Determine the column position of each column based on the display width of each column.
[0080] A coordinate system can be established with the top-left or bottom-right point of the terminal screen or document collection page as the origin and pixels as the unit. Both vertical and horizontal columns correspond to a rectangular area within this coordinate system. The position of a vertical column can be represented by the x and y coordinates of the top-left and bottom-right points of its corresponding rectangular area. The position of a horizontal column can also be represented by the x and y coordinates of the top-left and bottom-right points of its corresponding rectangular area.
[0081] First, determine the terminal's screen resolution. Then, based on the column order and display width of each column, determine the corresponding column position. For example, if the screen resolution is 1300*800, and the user corresponds to the first and second columns, with the first column having a display width of 500 and the second column having a display width of 800, then the column positions for the first column are {(0, 0); (500, 800)}, and the column positions for the second column are {(500, 0); (1300, 800)}. (0, 0) and (500, 0) are the top-left points of the rectangular area, and (500, 800) and (1300, 800) are the bottom-right points of the rectangular area.
[0082] Step 305: Display the collection category list corresponding to each horizontal column in the vertical column of the document collection page.
[0083] Divide the area corresponding to the column position into at least one sub-region, with each sub-region corresponding to a horizontal column within the column. Determine the horizontal column corresponding to each sub-region, and display a collection of categorized horizontal columns for each sub-region.
[0084] The format of the collection category list can be set as needed. For example, the collection list can include: the category name of the collection category, or it can include: the collection category name and the names of each document collection within the collection category.
[0085] In this embodiment of the invention, the display width of each column is determined according to its corresponding display method. Then, based on the display width of each column, the position of each column is determined so that the collection category list corresponding to each horizontal column is displayed at the column position on the document collection page. This embodiment of the invention, by setting the user's arrangement configuration information, can flexibly display document collection pages that meet various needs.
[0086] In one embodiment of the present invention, the display method is a tiled method; at the vertical column position of the document collection page, the collection category list corresponding to each horizontal column in the vertical column is displayed, including: determining the number of horizontal columns in the target vertical column; determining the layout information corresponding to the target vertical column based on the number of horizontal columns; determining the horizontal column position of each target horizontal column based on the layout information, the vertical column position of the target vertical column, and the horizontal column sorting of each target horizontal column in the target vertical column; and displaying the collection category list corresponding to the target horizontal column at the horizontal column position of the target horizontal column on the document collection page.
[0087] When the display mode is tiled, the preset layout information is determined based on the number of horizontal columns in the vertical column and then displayed. The correspondence between the number of horizontal columns and the layout information is stored in advance to display the vertical column content on the page according to the preset layout. For example, when there are 4 horizontal columns in the vertical column, the vertical column is divided into 4 equal areas to display each horizontal column; when there are 5 horizontal columns, each horizontal column is displayed in the order of top left, bottom left, top right, center right, and bottom right, etc.
[0088] The layout information includes a formula for calculating the horizontal column positions, which consists of the vertical column positions and the horizontal column order. For example, when there are 4 horizontal columns in a vertical column, the vertical column positions are {(x1, y1); (x2, y2)}. Here, (x1, y1) are the coordinates of the top-left point of the corresponding vertical column, and (x2, y2) are the coordinates of the bottom-right point of the corresponding vertical column. The first horizontal column in the column is positioned as {(x1, y1); ((x1+(x2-x1) / 2), (y1+(y2-y1) / 2)}. The second horizontal column is positioned as {((x1+(x2-x1) / 2), y1); (x2, (y1+(y2-y1) / 2)}. The third horizontal column is positioned as {(x1, (y1+(y2-y1) / 2)); ((x1+(x2-x1) / 2), y2)}. The fourth horizontal column is positioned as {((x1+(x2-x1) / 2), (y1+(y2-y1) / 2); (x2, y2)}.
[0089] Figure 4a This is a schematic diagram illustrating the display effect of vertical columns in a tiled manner according to an embodiment of the present invention. Figure 4a As shown, when the number of horizontal columns in a column is 4, a four-leaf clover effect can be displayed by pre-setting the layout information corresponding to the 4 horizontal columns. Four horizontal columns are suitable for situations with few categories. Figure 4a The series, functional teams, product development series, and hobbies are all category names for collection classification.
[0090] Figure 4b This is a schematic diagram illustrating the display effect of vertical columns under another tiling method provided by an embodiment of the present invention. For example... Figure 4b As shown, when the number of horizontal columns in a column is 9, the layout information corresponding to the 9 horizontal columns can be preset to display an effect of eight petals and a flower center. Nine horizontal columns are suitable for situations with relatively many categories and a more complex layout. Figure 4b The categories "Requirements Series", "Iterative Development", "Technology Learning", "Backend Group", "Frontend Group", "Testing Group", "Third-Level Department", "Second-Level Department", and "First-Level Department" are all category names for collection classification.
[0091] Figure 4c This is a schematic diagram illustrating the display effect of vertical columns under another tiling method provided in an embodiment of the present invention. For example... Figure 4c As shown, when the number of horizontal columns in the column is 8, the effect of an eight-petaled flower without a flower center can be displayed by pre-setting the layout information corresponding to the 9 horizontal columns. Figure 4c The product groups, common teams, R&D groups, testing groups, public teams, third-level departments, second-level departments, and first-level departments in the text are all category names of collection classifications.
[0092] It should be noted that when the number of horizontal columns is 4, 8, or 9, the display effect of the vertical columns is not limited to... Figures 4a-4cUsers can set and adjust the preset layout information of different numbers of horizontal columns according to their own needs, so as to flexibly display a variety of different vertical column effects.
[0093] In one embodiment of the present invention, the display method is a list method; in the vertical column position of the document collection page, the collection category list corresponding to each horizontal column in the vertical column is displayed, including: determining the horizontal column order of each target horizontal column in the target vertical column; determining the horizontal column position of each target horizontal column according to the vertical column position of the target vertical column and the horizontal column order of each target horizontal column; and displaying the collection category list corresponding to the target horizontal column in the horizontal column position of the target horizontal column on the document collection page.
[0094] The list format displays the collection categories for each horizontal column in a sorted, top-to-bottom order. For example... Figure 2 The first column on the left side of the document collection page shown is displayed in list mode.
[0095] The position of each target horizontal column can be determined in several ways. For list layouts, the display height of the horizontal columns can be preset in the system, thus determining the position of each target horizontal column based on the column positions and their display heights. Alternatively, the display height of the column can be determined based on the column positions, and the display height of the left column can be evenly distributed among the target horizontal columns to determine their positions.
[0096] Figure 5 This is a schematic diagram illustrating the display effect of vertical columns in a mobile device according to an embodiment of the present invention. Figure 5 As shown, for mobile devices, the document collection page can be displayed in the following way: each screen displays one vertical column, and the vertical column can display the collection category lists corresponding to each horizontal column in either a list or tile format. For the list or tile format, the size or display ratio of each horizontal column is preset, and the position of each horizontal column is determined according to the size or display ratio, displaying the collection category list corresponding to each horizontal column at that position. Users can swipe left or right to view other vertical columns. Users can also swipe up or down to view other horizontal columns.
[0097] This invention also provides a method for generating or modifying arrangement configuration information. Figure 6 This is a schematic diagram illustrating the flow of a method for generating or modifying arrangement configuration information according to an embodiment of the present invention. Figure 6 As shown, the method includes:
[0098] Step 601: Receive the arrangement configuration instruction for the target user and obtain the arrangement configuration page corresponding to the arrangement configuration instruction.
[0099] Step 602: Determine the position information of each configuration set category in the arrangement configuration page.
[0100] Step 603: Generate or modify the arrangement configuration information of the target user based on the location information of each configuration set category.
[0101] The system receives arrangement configuration instructions for the target user and displays the arrangement configuration page on the front end. The arrangement configuration page displays various collection categories. Users can directly drag and drop collection categories on the arrangement configuration page to visually generate an arrangement configuration page that meets their needs. The back end generates the user's arrangement configuration information by retrieving the position information of each collection category on the arrangement configuration page.
[0102] Based on the location information of the configuration set category, the horizontal column position of the configuration set category can be determined; based on the horizontal column position of each configuration set, each configuration set is divided into at least one configuration column; based on each configuration column, each configuration set in each configuration column, and the set category corresponding to each configuration set, the arrangement configuration information of the target user can be generated or modified.
[0103] A coordinate system can be established with the top-left or bottom-right point of the terminal screen or the arrangement configuration page as the origin, and pixels as the unit. Configuration collection categories and configuration horizontal bars each correspond to a rectangular area within this coordinate system. The position of a configuration collection category can be represented by the x and y coordinates of the top-left and bottom-right points of its corresponding rectangular area. The position of a horizontal bar can be represented by the x and y coordinates of the top-left and bottom-right points of its corresponding rectangular area.
[0104] Each configuration set category corresponds one-to-one with a configuration column. The position information of each configuration set category is obtained, and this position information is used as the column position for the corresponding configuration column.
[0105] There are many ways to divide configuration horizontal columns into at least one configuration vertical column based on their horizontal column positions. For example, the distance between any two configuration horizontal columns can be calculated, and then multiple configuration horizontal columns can be divided into at least one configuration vertical column based on the distance value, provided that the distance between any two configuration horizontal columns within the same configuration vertical column is less than a preset threshold. The distance value between two configuration horizontal columns can be the difference in the x-coordinates of their top-left points, or the actual distance between their top-left points, etc.
[0106] In one embodiment of the present invention, after dividing each configuration horizontal column into at least one configuration vertical column according to its horizontal column position, the method further includes: determining the display mode and horizontal column sorting corresponding to the configuration vertical column based on the position information of each configuration horizontal column in the configuration vertical column. Specifically, if the difference in the horizontal coordinates of the upper left points of each configuration horizontal column is within a preset range, that is, the upper left points of each horizontal column in the vertical column are approximately located on the same vertical line, then it is a list mode; otherwise, it is a tiling mode.
[0107] When displayed in list mode, the order of each configuration row is determined by the ordinate of its top-left corner. Specifically, the larger the ordinate of the top-left corner of a configuration row, the higher its corresponding row order. When displayed in tile mode, the order of each configuration row is determined by the x-coordinate and / or y-coordinate of its top-left corner. Alternatively, the number of configuration rows, the x-coordinate and y-coordinate of the top-left corner of each configuration row can be determined first, and then the row order can be determined according to preset rules, which correspond to the number of configuration rows.
[0108] In this embodiment of the invention, document collections can be constructed in the form of teams. One document collection corresponds to one team. To facilitate the implementation of the solution in this embodiment, each document collection can be divided into ordinary teams and atomic teams. When a user enters the system for the first time, they will first see a list of ordinary teams, call the team list query interface, and query the list of ordinary teams, the list of atomic teams, and team arrangement information. The user's team arrangement information includes the arrangement configuration information corresponding to that user.
[0109] Users can configure regular teams as atomic teams, or vice versa. Atomic teams can include pinned, hidden, and custom series. Atomic teams can be arranged in a decorative fashion, generating decorative rules containing arrangement configuration information. Users first configure the document collections they want to display on the document collection page as atomic teams, then arrange the atomic teams in a decorative fashion, generating decorative rules containing arrangement configuration information.
[0110] The team list is visible to all users in the collaborative document system, while the regular list is visible to users with team member permissions. Atomic teams correspond to users, and different users can set up different atomic teams. The collection list corresponding to an atomic team is displayed on that user's document collection page. Atomic teams initially rely on the regular list as their data source for configuration.
[0111] The solution of this invention embodiment may include three parts: team atomic classification configuration, team arrangement configuration, and team list query. The implementation principles of these three parts are explained below.
[0112] The team uses an atomic category configuration where users send category creation commands via the front end. Upon receiving the command, the documentation system first verifies the user's identity and then performs idempotency checks on the input parameters. If verification passes, the user-configured custom category information is written to the collection category table. If a category identifier exists in the input parameters of the category creation command, an update operation is performed on the collection category table; otherwise, a new category is created. Fields in the collection category table include: user identifier, category identifier, category name, creation time, and modification time.
[0113] Users configure atomic categories based on the queried list of collections, selecting a document collection and sending a collection category command. For example, for a regular team list, categories such as "pinned," "hidden," and "custom" can be configured. For a pinned team list, categories such as "regular," "hidden," and "custom" can be configured.
[0114] After receiving a collection and classification instruction, the document system verifies the user's identity and then performs idempotency checks on the input parameters. If the verification passes, it queries the team atomic table based on the collection identifier, user identifier, and category identifier. If no results are found, it assembles and creates a new atomic team entity; otherwise, it updates the atomic team entity and performs write or update operations on the team atomic table. Fields in the team atomic table include: user identifier, team identifier, category identifier, sort number, creation time, and modification time.
[0115] The team arrangement configuration is displayed on the front end, showing a list of collection categories. Users can drag and drop to arrange the various collection categories on the configuration page. The system calls the team list arrangement configuration interface to generate the user's configuration information. The configuration information can include: a left-side directory of team category identifiers, a right-side area of team category identifiers, etc. The format of the configuration information can be: {one:[category list], two:[category list], three:[category list]...}. Here, one, two, three, and N represent column identifiers, and [category list] stores an array containing multiple collection category identifiers or category names.
[0116] For example: The first column on the left includes two horizontal columns. The first horizontal column corresponds to the pinned list. The second horizontal column corresponds to the custom list A. The second column on the right includes four horizontal columns: the first, second, third, and fourth horizontal columns. The first horizontal column corresponds to the custom list B, the second horizontal column corresponds to the custom list C, the third horizontal column corresponds to the regular list, and the fourth horizontal column corresponds to the hidden list. The arrangement configuration information can then be in the form of: {one:[pinned, A], two:[B, C, regular, hidden]}. Here, pinned, A, B, C, regular, and hidden each correspond to different collection categories.
[0117] After receiving the arrangement configuration command, the document system first verifies the user's identity and then performs idempotency verification of the input parameters. If the verification passes, it queries the team list arrangement list based on the user's identifier. The team list arrangement list contains fields including: user identifier, arrangement configuration information, creation time, and update time. Each user corresponds to only one entry in the team list arrangement list. If the arrangement configuration information for the user is found, the system updates the arrangement configuration information for that user in the team list arrangement list. Otherwise, it creates a new arrangement configuration information for the user in the team list arrangement list.
[0118] Team list query: Users access the document system through the front end and call the API for team list arrangement information. Upon receiving the request, the collaborative document service first verifies the user's identity. If successful, it queries the arrangement configuration information based on the user's identifier. If the user's arrangement configuration exists, it is displayed on the page according to that configuration. Otherwise, the system's default arrangement information is displayed.
[0119] Based on the user's arrangement configuration information, the system retrieves the collection categories to be displayed on the page. The system obtains the name of each collection category and the document collections included within that category. If the collection category query is an atomic list query, it searches by category identifier and user identifier, sorting by sorting number in descending order, returning a list of category identifiers. Category identifiers without sufficient permissions are filtered out. The resulting category list is saved to a category information table. Category information is then queried in batches by category identifier, and the query results are returned to the front end.
[0120] If the collection category is a regular list query, query the category identifier in the team member table by user identifier, sort by the time the user joined the category in descending order, filter out collection identifiers that do not have permission or belong to the atomic team, save the resulting category list to the team information table, query the category information in batches by category identifier, and return the query results to the front end.
[0121] In this embodiment of the invention, users can arrange multiple collection category lists in a horizontal, vertical, or other layout. Based on the vertical arrangement of the user's multiple columns, the user's arrangement configuration information is generated and stored in a table. When the arrangement configuration information is updated, the record for that user in the table is dynamically updated. The arrangement configuration information is user-level. Therefore, a personalized display effect for each user can be achieved on the document collection page.
[0122] Figure 7 This is a schematic diagram of a document collection page generation device provided in one embodiment of the present invention. Figure 7 As shown, the device includes:
[0123] Information acquisition module 701 is used to acquire the arrangement configuration information of the target user in response to the target user logging into the document system;
[0124] The information determination module 702 is used to determine, based on the arrangement configuration information, at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column;
[0125] The page generation module 703 is used to generate a document collection page corresponding to the target user based on each of the vertical columns, the horizontal columns in each of the vertical columns, and the set classification corresponding to each of the horizontal columns; wherein, the set classification includes at least one document collection, and the document collection includes at least one document in the document system.
[0126] Optionally, the page generation module 703 is specifically used for:
[0127] Determine the display method corresponding to each column, and determine the display width corresponding to each column based on the display method corresponding to each column;
[0128] The position of each column is determined based on the display width of each column.
[0129] At the vertical column position on the document collection page, a list of collection categories corresponding to each horizontal column in the vertical column is displayed.
[0130] Optionally, the display method is a tiled display;
[0131] Page generation module 703 is specifically used for:
[0132] Determine the number of horizontal columns in the target column;
[0133] Based on the number of horizontal columns, determine the layout information corresponding to the target vertical column;
[0134] Based on the layout information, the column position of the target column, and the column order of each target column in the target column, determine the column position of each target column.
[0135] On the document collection page, at the horizontal position of the target horizontal bar, the collection category list corresponding to the target horizontal bar is displayed.
[0136] Optionally, the display method is a list display method;
[0137] Page generation module 703 is specifically used for:
[0138] Determine the column order of each target column in the target column;
[0139] The position of each target horizontal column is determined based on the column position of the target column and the column order of each target horizontal column.
[0140] On the document collection page, at the horizontal position of the target horizontal bar, the collection category list corresponding to the target horizontal bar is displayed.
[0141] Optionally, it also includes:
[0142] Classification module 704 is used to receive collection classification instructions;
[0143] Determine the document set and document set category corresponding to the set classification instruction;
[0144] The document collection corresponding to the collection classification instruction is assigned to the collection classification category corresponding to the collection classification instruction.
[0145] Optionally, it also includes:
[0146] Configuration module 705 is used to receive an arrangement configuration instruction for the target user and obtain the arrangement configuration page corresponding to the arrangement configuration instruction;
[0147] Determine the position information of each configuration set category in the arrangement configuration page;
[0148] Based on the location information of each configuration set category, generate or modify the arrangement configuration information of the target user.
[0149] Optionally, the configuration module 705 is specifically used for:
[0150] Based on the location information of the configuration set category, the horizontal column position of the configuration column corresponding to the configuration set category is determined;
[0151] Based on the horizontal position of each configured horizontal column, each configured horizontal column is divided into at least one configured vertical column;
[0152] Based on the configuration columns, the configuration columns, and the corresponding set categories, the arrangement configuration information of the target user is generated or modified.
[0153] This invention provides an electronic device, comprising:
[0154] One or more processors;
[0155] Storage device for storing one or more programs.
[0156] When one or more programs are executed by one or more processors, the one or more processors implement the methods of any of the above embodiments.
[0157] The following is for reference. Figure 8 It shows a schematic diagram of the structure of a computer system 800 suitable for implementing a terminal device of the present invention. Figure 8The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0158] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 802 or programs loaded from storage section 808 into random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the system 800. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0159] The following components are connected to I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to I / O interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 810 as needed so that computer programs read from it can be installed into storage section 808 as needed.
[0160] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by central processing unit (CPU) 801, it performs the functions defined above in the system of this invention.
[0161] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0162] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0163] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor, and for example, can be described as: an information acquisition module, an information determination module, and a page generation module. The names of these modules do not necessarily limit the module itself; for example, the information acquisition module can also be described as "a module that acquires the arrangement configuration information of a target user in response to the target user logging into the document system."
[0164] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, which, when executed by the device, cause the device to include:
[0165] In response to a target user logging into the document system, obtain the target user's arrangement configuration information;
[0166] Based on the arrangement information, determine at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column;
[0167] Based on each of the vertical columns, the horizontal columns within each vertical column, and the corresponding set categories for each horizontal column, a document collection page corresponding to the target user is generated; wherein, the set category includes at least one document collection, and the document collection includes at least one document in the document system.
[0168] According to the technical solution of this invention, arrangement configuration information for different users is set according to specific needs. After a user logs into the document system, based on the user's arrangement configuration information, at least one column corresponding to the user, the horizontal columns within each column, and the corresponding set categories for each horizontal column are determined. Therefore, based on the at least one column corresponding to the user, the horizontal columns within each column, and the corresponding set categories for each horizontal column, a document collection page that meets the user's needs is generated, satisfying the user's personalized requirements.
[0169] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for generating a document collection page, characterized in that, Applied to document systems, including: In response to a target user logging into the document system, obtain the target user's arrangement configuration information; Based on the arrangement information, determine at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column; Based on each of the vertical columns, the horizontal columns within each of the vertical columns, and the set categories corresponding to each of the horizontal columns, a document set page corresponding to the target user is generated; wherein, the set category includes at least one document set, and the document set includes at least one document in the document system; The method further includes: receiving an arrangement configuration instruction for the target user, obtaining an arrangement configuration page corresponding to the arrangement configuration instruction; determining the position information of each configuration set category in the arrangement configuration page; and generating or modifying the arrangement configuration information of the target user based on the position information of each configuration set category.
2. The method according to claim 1, characterized in that, The step of generating a document collection page corresponding to the target user based on each of the vertical columns, the horizontal columns within each vertical column, and the set classification corresponding to each horizontal column includes: Determine the display method corresponding to each column, and determine the display width corresponding to each column based on the display method corresponding to each column; The position of each column is determined based on the display width of each column. At the vertical column position on the document collection page, a list of collection categories corresponding to each horizontal column in the vertical column is displayed.
3. The method according to claim 2, characterized in that, The display method is a tiled display; The document collection page displays a list of collection categories corresponding to each horizontal column in the vertical column, including: Determine the number of horizontal columns in the target column; Based on the number of horizontal columns, determine the layout information corresponding to the target vertical column; Based on the layout information, the column position of the target column, and the column order of each target column in the target column, determine the column position of each target column. On the document collection page, at the horizontal position of the target horizontal bar, the collection category list corresponding to the target horizontal bar is displayed.
4. The method according to claim 2, characterized in that, The display method is a list view; The document collection page displays a list of collection categories corresponding to each horizontal column in the vertical column, including: Determine the column order of each target column in the target column; The position of each target horizontal column is determined based on the column position of the target column and the column order of each target horizontal column. On the document collection page, at the horizontal position of the target horizontal bar, the collection category list corresponding to the target horizontal bar is displayed.
5. The method according to claim 1, characterized in that, Also includes: Receive collection classification instructions; Determine the document set and document set category corresponding to the set classification instruction; The document collection corresponding to the collection classification instruction is assigned to the collection classification category corresponding to the collection classification instruction.
6. The method according to claim 1, characterized in that, The step of generating or modifying the arrangement configuration information of the target user based on the location information categorized by each configuration set includes: Based on the location information of the configuration set category, the horizontal column position of the configuration column corresponding to the configuration set category is determined; Based on the horizontal position of each configured horizontal column, each configured horizontal column is divided into at least one configured vertical column; Based on the configuration columns, the configuration columns, and the corresponding set categories, the arrangement configuration information of the target user is generated or modified.
7. A device for generating document collection pages, characterized in that, Applied to document systems, including: The information acquisition module is used to acquire the arrangement configuration information of the target user in response to the target user logging into the document system; The information determination module is used to determine, based on the arrangement configuration information, at least one column corresponding to the target user, the horizontal columns in each column, and the set classification corresponding to each horizontal column; The page generation module is used to generate a document collection page corresponding to the target user based on each of the vertical columns, the horizontal columns in each of the vertical columns, and the set classification corresponding to each of the horizontal columns; wherein, the set classification includes at least one document collection, and the document collection includes at least one document in the document system; The configuration module is used to receive an arrangement configuration instruction for the target user, obtain the arrangement configuration page corresponding to the arrangement configuration instruction, determine the position information of each configuration set category in the arrangement configuration page, and generate or modify the arrangement configuration information of the target user according to the position information of each configuration set category.
8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Panoptic Visualization Document Printing
CN103809925A
Cross-end application method and device for document configuration, electronic equipment and storage medium
CN115293112A
Generating Formatted Documents Based on Collected Data Content
US20100241951A1