Method and device for dynamic generation of an overview page
By acquiring user information and preference information, an overview page is dynamically generated, which solves the problem that the overview page cannot meet diverse and personalized needs, and achieves more efficient data viewing and reduces design and maintenance workload.
Patent Information
- Application Number
- CN202211489152.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-11-25
AI Technical Summary
The existing overview page cannot meet the diverse and personalized data viewing needs of different users, and the design and maintenance workload is large.
By acquiring user information, a dynamic overview page is generated. Based on user configuration and preference information, data modules are dynamically loaded into the layout view to generate a personalized overview page.
It improves the diversity and personalization of the overview page, reduces design and maintenance workload, and optimizes loading speed and performance.
Smart Images

Figure CN115756464B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of overview page technology, and more particularly to a method and apparatus for dynamically generating an overview page. Background Technology
[0002] In the era of big data, data is a crucial resource. Currently, many platforms use overview pages to summarize various information and reflect the data resources of different modules, aiming to improve data visualization. Previously, platforms used the same view for different user roles, resulting in a limited and unsuitable overview page that failed to meet the diverse and personalized data viewing needs of different users. To address this, some platforms have implemented different views for different user roles as their overview pages. However, in practice, it has been found that even with different views for different user roles, the overview page available to an individual user remains relatively limited, failing to meet their diverse and personalized data viewing needs. Furthermore, implementing different views for different user roles leads to a significant workload in the design and maintenance of the overview pages.
[0003] Therefore, it is particularly important to improve the diversity of the overview page to meet users' diverse and personalized data viewing needs, and to reduce the workload of overview page design and maintenance. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method and apparatus for dynamically generating an overview page, which can improve the diversity of the overview page, so as to meet the diverse and personalized data viewing needs of users and reduce the workload of overview page design and maintenance.
[0005] To address the aforementioned technical problems, the first aspect of this invention discloses a method for dynamically generating an overview page, the method comprising:
[0006] When a user triggers a request to view the overview page, the user information of that user is obtained.
[0007] Based on the overview page viewing request and the user information, determine the configuration information of a certain user regarding the overview page, wherein the configuration information includes at least one data module that the certain user wants to view;
[0008] Based on the configuration information, generate the target overview page corresponding to the overview page viewing request;
[0009] The target overview page is transmitted to the target terminal used by a certain user to view the target overview page.
[0010] As an optional implementation, in the first aspect of the present invention, the configuration information further includes the user's preference information for the overview page, the preference information including at least the layout view preset by the user for the overview page.
[0011] As an optional implementation, in the first aspect of the present invention, generating the target overview page corresponding to the overview page viewing request based on the configuration information includes:
[0012] Based on the preset data import tool, obtain the data package corresponding to one or more target data modules to be displayed in all the data modules;
[0013] The data package corresponding to each target data module is loaded into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request.
[0014] As an optional implementation, in the first aspect of the present invention, loading the data encapsulation package corresponding to each of the target data modules into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request includes:
[0015] Based on the preference information, a first adaptation information is determined that matches all the target data modules, and the preference information also includes the reading preference information of a certain user;
[0016] Based on the preference information, determine the corresponding personalized chart configuration information of each target data module in the layout view, as the second adaptation information for matching the target data module;
[0017] For each target data module, based on the first adaptation information and the second adaptation information matching the target data module, the data package corresponding to the target data module is loaded into the corresponding position of the target data module in the layout view, so as to obtain the target overview page corresponding to the overview page viewing request.
[0018] As an optional implementation, in the first aspect of the present invention, before generating the target overview page corresponding to the overview page viewing request based on the configuration information, the method further includes:
[0019] Determine the target terminal used by a user to view the overview page and the window configuration information of the overview page that matches the target terminal:
[0020] According to the window configuration information, the layout view is updated to adapt the layout view to the target terminal, and the operation of generating the target overview page corresponding to the overview page viewing request according to the configuration information is triggered.
[0021] And, before obtaining the data package corresponding to one or more target data modules to be displayed in all the data modules based on the preset data import tool, the method further includes:
[0022] Based on the window configuration information and the corresponding position of each data module in the layout view, at least one target data module to be displayed is determined from all the data modules.
[0023] As an optional implementation, in the first aspect of the present invention, updating the layout view according to the window configuration information to adapt the layout view to the target terminal includes:
[0024] Based on the window configuration information, determine the adaptation attribute information of each data module in the layout view. The adaptation attribute information of each data module in the layout view includes one or more of the following combinations: the adaptation font type of the data module, the adaptation font size of the data module, the adaptation component size of the data module, the adaptation component position of the data module, and the adaptation interval distance between the data module and other data modules.
[0025] The layout view is updated based on the adaptation attribute information of each data module in the layout view, so that the layout view is adapted to the target terminal.
[0026] As an optional implementation, in a first aspect of the invention, after transmitting the target overview page to a target terminal used by a user to view the target overview page, the method further includes:
[0027] When an editing operation triggered by a user on the corresponding editing page of the target overview page is detected, the target overview page is updated according to the editing operation, and the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page is re-executed; and / or,
[0028] When a user triggers a view page switching request on the target terminal, the view page switching request is identified as a new view page viewing request. The following operations are then re-executed: determining the user's view page configuration information based on the view page viewing request and the user information; generating the target view page corresponding to the view page viewing request based on the configuration information; and transmitting the target view page to the target terminal used by the user to view the target view page.
[0029] As an optional implementation, in the first aspect of the present invention, the method further includes:
[0030] When a module layout operation triggered by a user on the overview page design page is detected, the overview page design page is updated in real time according to the module layout operation so that the user can view the modification result of the module layout operation on the overview page design page. The module layout operation includes module add / delete operations for adding or deleting displayed data modules on the overview page design page and / or attribute modification operations for modifying the attribute information of the data modules displayed on the overview page design page design page.
[0031] When a page confirmation operation triggered by a user on the overview design page is detected, the new configuration information of the user regarding the overview page is determined based on the latest modification result of the overview design page. The new configuration information is stored in a preset database and retrieved when the user requests to view the overview page corresponding to the new configuration information.
[0032] A second aspect of the present invention discloses a dynamic generation apparatus for an overview page, the apparatus comprising:
[0033] The acquisition module is used to acquire user information of a user when a request to view the overview page is triggered by a user.
[0034] The determining module is used to determine the configuration information of a certain user regarding the overview page based on the overview page viewing request and the user information, wherein the configuration information includes at least one data module that the certain user wants to view;
[0035] The generation module is used to generate the target overview page corresponding to the overview page viewing request based on the configuration information.
[0036] The transmission module is used to transmit the target overview page to the target terminal used by a certain user to view the target overview page.
[0037] As an optional implementation, in a second aspect of the present invention, the configuration information further includes the user's preference information regarding the overview page, the preference information including at least the layout view pre-set by the user regarding the overview page.
[0038] As an optional implementation, in a second aspect of the present invention, the specific method by which the generation module generates the target overview page corresponding to the overview page viewing request based on the configuration information includes:
[0039] Based on the preset data import tool, obtain the data package corresponding to one or more target data modules to be displayed in all the data modules;
[0040] The data package corresponding to each target data module is loaded into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request.
[0041] As an optional implementation, in a second aspect of the invention, the specific method by which the generation module loads the data encapsulation package corresponding to each target data module into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request includes:
[0042] Based on the preference information, a first adaptation information is determined that matches all the target data modules, and the preference information also includes the reading preference information of a certain user;
[0043] Based on the preference information, determine the corresponding personalized chart configuration information of each target data module in the layout view, as the second adaptation information for matching the target data module;
[0044] For each target data module, based on the first adaptation information and the second adaptation information matching the target data module, the data package corresponding to the target data module is loaded into the corresponding position of the target data module in the layout view, so as to obtain the target overview page corresponding to the overview page viewing request.
[0045] As an optional implementation, in a second aspect of the invention, the determining module is further configured to determine, before the generating module generates the target overview page corresponding to the overview page viewing request based on the configuration information, the target terminal for a user to view the overview page and the window configuration information of the overview page matching the target terminal:
[0046] The device further includes:
[0047] The first update module is used to update the layout view according to the window configuration information so that the layout view is adapted to the target terminal, and to trigger the generation module to perform the operation of generating the target overview page corresponding to the overview page viewing request according to the configuration information;
[0048] Furthermore, the generation module is also used to determine at least one target data module to be displayed from all the data modules before obtaining the data package corresponding to one or more target data modules to be displayed from all the data modules based on the preset data import tool, according to the window configuration information and the corresponding position of each data module in the layout view.
[0049] As an optional implementation, in a second aspect of the present invention, the specific method by which the first updating module updates the layout view according to the window configuration information to adapt the layout view to the target terminal includes:
[0050] Based on the window configuration information, determine the adaptation attribute information of each data module in the layout view. The adaptation attribute information of each data module in the layout view includes one or more of the following combinations: the adaptation font type of the data module, the adaptation font size of the data module, the adaptation component size of the data module, the adaptation component position of the data module, and the adaptation interval distance between the data module and other data modules.
[0051] The layout view is updated based on the adaptation attribute information of each data module in the layout view, so that the layout view is adapted to the target terminal.
[0052] As an optional implementation, in a second aspect of the invention, the apparatus further includes:
[0053] The second update module is configured to, after the transmission module transmits the target overview page to the target terminal used by the user to view the target overview page, when an editing operation triggered by the user on the corresponding editing page of the target overview page is detected, update the target overview page according to the editing operation, and trigger the transmission module to re-execute the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page; and / or, when an overview page switching request triggered by the user on the target terminal is detected, determine the overview page switching request as a new overview page viewing request, and trigger the determination module to re-execute the operation of determining the configuration information of the user regarding the overview page based on the overview page viewing request and the user information, the generation module to execute the operation of generating the target overview page corresponding to the overview page viewing request based on the configuration information, and the transmission module to execute the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page.
[0054] As an optional implementation, in a second aspect of the invention, the apparatus further includes:
[0055] The third update module is used to update the overview design page in real time according to the module layout operation when a module layout operation triggered by a user on the overview design page is detected, so that the user can view the modification result of the module layout operation on the overview design page. The module layout operation includes module add / delete operation for adding or deleting displayed data modules on the overview design page and / or attribute modification operation for modifying the attribute information of the data modules displayed on the overview design page.
[0056] The determining module is further configured to, when detecting a page confirmation operation triggered by a user on the overview design page, determine the new configuration information of the user regarding the overview page based on the latest modification result of the overview design page. The new configuration information is stored in a preset database and invoked when the user requests to view the overview page corresponding to the new configuration information.
[0057] A third aspect of the present invention discloses another apparatus for dynamically generating an overview page, the apparatus comprising:
[0058] Memory containing executable program code;
[0059] A processor coupled to the memory;
[0060] The processor calls the executable program code stored in the memory to execute the dynamic generation method of the overview page disclosed in the first aspect of the present invention.
[0061] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the dynamic generation method for the overview page disclosed in the first aspect of the present invention.
[0062] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0063] In this embodiment of the invention, when a user-triggered overview page viewing request is detected, the user's user information is obtained; based on the overview page viewing request and the user information, the user's configuration information regarding the overview page is determined, the configuration information including at least one data module that the user wants to view; based on the configuration information, a target overview page corresponding to the overview page viewing request is generated; and the target overview page is transmitted to the target terminal used by the user to view the target overview page. It is evident that implementing this invention can generate the overview page to be viewed based on the user's configuration information regarding the overview page, such as the data modules the user wants to view. This allows for the dynamic generation of overview pages for each user, improving the diversity of overview pages, meeting the diverse and personalized data viewing needs of each user, and reducing the occurrence of loading all data resources at once by combining the data modules the user wants to view into an overview page. This improves the overview page loading speed, optimizes overview page performance, and significantly reduces the workload of overview page design and maintenance. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1 This is a flowchart illustrating a method for dynamically generating an overview page according to an embodiment of the present invention.
[0066] Figure 2 This is a flowchart illustrating another method for dynamically generating an overview page according to an embodiment of the present invention.
[0067] Figure 3 This is a schematic diagram of the structure of a dynamic generation device for an overview page disclosed in an embodiment of the present invention;
[0068] Figure 4This is a schematic diagram of another dynamic generation device for an overview page disclosed in an embodiment of the present invention;
[0069] Figure 5 This is a schematic diagram of the structure of another dynamic overview page generation device disclosed in an embodiment of the present invention. Detailed Implementation
[0070] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0071] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0072] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0073] This invention discloses a method and apparatus for dynamically generating overview pages. It can generate the desired overview page based on user configuration information, such as the data modules the user wants to view. This allows for dynamic generation of overview pages for each user, increasing the diversity of overview pages and meeting the diverse and personalized data viewing needs of each user. Furthermore, by combining the data modules the user wants to view into an overview page, it reduces the occurrence of loading all data resources at once, improving the loading speed and performance of the overview page. Moreover, combining data modules into an overview page significantly reduces the workload of overview page design and maintenance. These will be described in detail below.
[0074] Example 1
[0075] Please see Figure 1, Figure 1 This is a flowchart illustrating a method for dynamically generating an overview page according to an embodiment of the present invention. Figure 1 The described method for dynamically generating overview pages can be applied to the implementation of dynamic overview page generation on any platform, including but not limited to technology platforms for rapid development (such as development tools like Eclipse, JBuilder, and VC++), business platforms based on business logic reuse (such as computer operating systems), and application platforms based on system self-maintenance and self-expansion (such as microservice platforms). This invention does not limit these methods. Figure 1 As shown, the dynamic generation method for this overview page can include the following operations:
[0076] 101. When a user triggers a request to view the overview page, obtain the user's information.
[0077] In this embodiment of the invention, optionally, the overview page viewing request may include the overview page identifier corresponding to the overview page requested by the user. Optionally, the overview page identifier may be a unique identifier such as the name or number corresponding to the overview page. User information may include user identifiers, such as user ID.
[0078] 102. Based on the overview page viewing request and user information, determine the configuration information of a user regarding the overview page.
[0079] Optionally, the configuration information includes at least one data module that a user wants to view. Further, the configuration information may also include a user's preferences for the overview page, including at least a pre-set layout view for the overview page. Further, users can trigger multiple overview page viewing requests, each request corresponding to a different configuration information, each configuration information corresponding to an overview page, and each overview page corresponding to a layout view.
[0080] In this embodiment of the invention, optionally, a user's user information and that user's configuration information regarding the overview page can be pre-established with a relationship. The user information, configuration information, and the relationship between them can all be pre-stored in a preset database. By embedding configuration information, such as data module information, in the database, later maintenance and modifications are facilitated, reducing the workload of modifying the front-end code.
[0081] 103. Based on the configuration information, generate the target overview page corresponding to the overview page viewing request.
[0082] As an optional implementation, generating the target overview page corresponding to the overview page viewing request based on the configuration information may include:
[0083] Based on the preset data import tool, obtain the data package corresponding to one or more target data modules to be displayed in all data modules;
[0084] Load the data package corresponding to each target data module into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request.
[0085] In this embodiment of the invention, preferably, the preset data import tool can be webpack. When importing data modules, webpack parses require.context in the code and performs secondary encapsulation of the data modules on this basis, so that when adding new data modules, there is no need to manually import the data modules, thus achieving the goal of automatically importing data modules.
[0086] As can be seen, implementing this optional implementation method can load the data package corresponding to the data module into the user-preset layout view to generate an overview page, which can improve the accuracy and reliability of the overview page generation and improve the matching degree of the generated overview page with user preferences.
[0087] In this optional implementation, optionally, loading the data package corresponding to each target data module into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request may include:
[0088] Based on the preference information, determine the first matching information that matches all target data modules. The preference information may also include a user's reading preference information.
[0089] Based on preference information, determine the corresponding personalized chart configuration information for each target data module in the layout view, which serves as the second adaptation information for matching the target data module.
[0090] For each target data module, based on the first adaptation information and the second adaptation information that matches the target data module, the data encapsulation package corresponding to the target data module is loaded into the corresponding position of the target data module in the layout view, so as to obtain the target overview page corresponding to the overview page viewing request.
[0091] In this optional implementation, the second adaptation information matched for each target data module can optionally be personalized chart configuration information pre-selected from a data visualization chart library. For example, a personalized chart can be selected from JavaScript-based ECharts or a customized personalized chart can be created, and the configuration information of the personalized chart can be determined as the second adaptation information matched for the target data module. This provides users with a more personalized overview page.
[0092] In this embodiment of the invention, optionally, the reading preference information may include a user's preference information regarding one or more of the following: font, font size, chart color, background color, chart size, reading direction (e.g., from right to left).
[0093] As can be seen, implementing this optional implementation method can also load the data package corresponding to the data module into the layout view based on the user's reading preference information and the configuration information of each target data module on the personalized chart, thereby improving the matching degree between the generated overview page and the user's reading preferences, and also improving the personalization of the charts in the overview page, further enhancing the user's experience of viewing the overview page.
[0094] 104. Transmit the target overview page to a target terminal used by a user to view the target overview page.
[0095] In this embodiment of the invention, the target terminal may optionally include one or more of the following: the terminal that triggers the user's request to view the overview page, the terminal that the user has pre-set for viewing the target overview page, and the user's frequently used terminals. This embodiment of the invention does not impose any limitations.
[0096] In this embodiment of the invention, optionally, the design and generation of the overview page can be completed by a pre-set overview page generation tool. Preferably, the overview page generation tool can be the vue-grid-layout plugin.
[0097] As can be seen, implementing the embodiments of the present invention can generate the overview page to be viewed based on the user's configuration information about the overview page, such as the data modules the user wants to view. This allows for the dynamic generation of overview pages for each user, improving the diversity of overview pages and meeting the diverse and personalized data viewing needs of each user. Furthermore, by combining the data modules that the user wants to view into an overview page, the occurrence of loading all data resources at once can be reduced, thereby improving the loading speed and performance of the overview page. Moreover, by combining the data modules into an overview page, the workload of overview page design and maintenance can be greatly reduced.
[0098] In an optional embodiment, after transmitting the target overview page to a target terminal used by a user to view the target overview page, the method may further include:
[0099] When an editing operation triggered by a user on the corresponding editing page of the target overview page is detected, the target overview page is updated according to the editing operation, and the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page is re-executed; and / or,
[0100] When a user triggers a view page switching request on the target terminal, the view page switching request is identified as a new view page viewing request. The above-mentioned operations of determining the user's view page configuration information based on the view page viewing request and user information, generating the target view page corresponding to the view page viewing request based on the configuration information, and transmitting the target view page to the target terminal used by the user to view the target view page are re-executed.
[0101] As can be seen, implementing this optional embodiment can meet the user's needs to modify the overview page and switch to other overview pages after viewing the overview page, enrich the services available for the overview page, improve the convenience of modifying the overview page, and provide users with multiple overview pages, further meeting the diverse overview page viewing needs of users.
[0102] In another alternative embodiment, the method may further include:
[0103] When a module layout operation triggered by a user on the overview page design page is detected, the overview page design page is updated in real time according to the module layout operation so that the user can view the modification results of the module layout operation on the overview page design page. The module layout operation includes module add / delete operation for adding or deleting displayed data modules on the overview page design page and / or attribute modification operation for modifying the attribute information of the data modules displayed on the overview page design page.
[0104] When a user triggers a page confirmation operation on the overview design page, the new configuration information for the user regarding the overview page is determined based on the latest modification results of the overview design page. The new configuration information is stored in a preset database and retrieved when a user requests to view the overview page corresponding to the new configuration information.
[0105] In this embodiment of the invention, optionally, the module addition and deletion operations may include one or more of the following: a user's check / uncheck operation on the data module menu, a user's drag-and-drop operation on the data module triggered on the overview design page, or a related operation (such as delete, copy, paste) triggered by the user on the operation menu of any data module on the overview design page. This embodiment of the invention does not limit these operations. Further optionally, the data module menu may include the remaining data modules that the user has viewing permissions for after filtering all selectable data modules according to the user's user role.
[0106] Optionally, users can design multiple layout views using the methods described in this embodiment of the invention.
[0107] In this optional embodiment, the overview page generation tool (such as the vue-grid-layout plugin) described above can be used to perform user-triggered module layout operations and page confirmation operations.
[0108] As can be seen, implementing this optional embodiment can design the overview page based on the module addition / deletion operations and attribute modification operations triggered by the user, allowing users to filter data modules and modify the attributes of data modules according to their personal needs, further meeting the diverse and personalized overview page viewing needs of users.
[0109] Example 2
[0110] Please see Figure 2 , Figure 2 This is a flowchart illustrating another method for dynamically generating an overview page according to an embodiment of the present invention. Figure 2 The described method for dynamically generating overview pages can be applied to the implementation of dynamic overview page generation on any platform, including but not limited to technology platforms for rapid development (such as development tools like Eclipse, JBuilder, and VC++), business platforms based on business logic reuse (such as computer operating systems), and application platforms based on system self-maintenance and self-expansion (such as microservice platforms). This invention does not limit these methods. Figure 2 As shown, the dynamic generation method for this overview page can include the following operations:
[0111] 201. When a user triggers a request to view the overview page, obtain the user's information.
[0112] 202. Based on the overview page viewing request and user information, determine the configuration information of a user regarding the overview page.
[0113] 203. Determine the target terminal for a user to view the overview page and the window configuration information that matches the overview page on the target terminal.
[0114] In this embodiment of the invention, optionally, the window matching information may include allocation rate information and window size.
[0115] 204. Based on the window configuration information, update the layout view that a user has pre-set for the overview page in the configuration information so that the layout view is adapted to the target terminal.
[0116] As an optional implementation, updating the layout view based on window configuration information to adapt the layout view to the target terminal may include:
[0117] Based on the window configuration information, determine the adaptation attribute information of each data module in the layout view;
[0118] The layout view is updated based on the adaptation attribute information of each data module in the layout view to make the layout view adapt to the target terminal.
[0119] Optionally, the adaptation attribute information of each data module in the layout view may include a combination of one or more of the following: the adaptation font type of the data module, the adaptation font size of the data module, the adaptation component size of the data module, the adaptation component position of the data module, and the adaptation interval distance between the data module and other data modules.
[0120] As can be seen, implementing this optional implementation method can determine the adaptation attribute information of each data module in the layout view based on the window configuration information, such as the font type, font size, component size, etc. of the data module, thereby improving the comprehensiveness and flexibility of updating the layout view based on the window configuration information.
[0121] 205. Based on the configuration information, generate the target overview page corresponding to the overview page viewing request.
[0122] 206. Transmit the target overview page to a target terminal used by a user to view the target overview page.
[0123] In this embodiment of the invention, for other descriptions of steps 201, 202, 205, and 206, please refer to the detailed description of steps 101-104 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.
[0124] As can be seen, implementing the embodiments of the present invention can generate the overview page to be viewed based on the user's configuration information about the overview page, such as the data modules the user wants to view. This allows for the dynamic generation of overview pages for each user, increasing the diversity of overview pages and meeting the diverse and personalized data viewing needs of each user. Furthermore, by combining the data modules the user wants to view into an overview page, the occurrence of loading all data resources at once can be reduced, improving the loading speed and performance of the overview page. Combining data modules into an overview page can also significantly reduce the workload of overview page design and maintenance. In addition, by updating the layout view of the overview page according to the window configuration information of the user's terminal, the matching degree between the overview page and the window configuration information of the target terminal can be improved, thereby reducing the situation where the user's terminal display screen does not match the overview page, resulting in a poor user viewing experience (e.g., fonts that are too small).
[0125] In an optional embodiment, before obtaining the data package corresponding to one or more target data modules to be displayed in all data modules based on a preset data import tool, the method may further include:
[0126] Based on the window configuration information and the corresponding position of each data module in the layout view, determine at least one target data module to be displayed from all data modules.
[0127] As can be seen, implementing this optional embodiment can determine the data modules to be displayed based on the window configuration information, which can reduce the situation where the components in the overview page are too small or too crowded due to a large number of data modules. It can also load data modules based on the installation window configuration information, further reducing the need to load all data modules at once and maintain all data modules, thereby improving the loading speed of the overview page and optimizing the performance of overview page generation.
[0128] In another alternative embodiment, the method may further include:
[0129] When a user is detected modifying attributes of an existing data module on an existing overview page, the system determines whether the modification type is a personalized modification. If the result is no, all overview pages of the existing data modules are selected as the overview pages to be modified. Based on the attribute modification operation triggered on the existing data module, the system modifies the user's configuration information for each overview page to be modified; and / or,
[0130] When a user is detected to have performed an attribute modification operation on an existing data module on the data module design page, all overview pages of the existing data modules are determined to be used as the overview pages to be modified. Based on the attribute modification operation triggered on the existing data module, the configuration information of the user for each overview page to be modified is modified.
[0131] As can be seen, implementing this optional embodiment can also synchronize the modification of an existing data module to all overview pages that reference the data module, further improving the convenience and efficiency of overview page maintenance and modification.
[0132] In this optional embodiment, determining whether the modification type of the existing data module is a personalized design type may include:
[0133] Determine whether the design type of the existing overview page is a personalized design type; if it is determined that the design type of the existing overview page is not a personalized design type, determine that the modification type of the existing data module is not a personalized modification type.
[0134] Further optionally, when it is determined that the design type of the existing overview page is not a personalized design type, before determining that the modification type of the existing data module is not a personalized modification type, the method may further include: determining whether the existing data module is in a synchronization state; when it is determined that the existing data module is in a synchronization state, determining that the modification type of the existing data module is not a personalized modification type.
[0135] As can be seen, implementing this optional embodiment can also synchronize the current modifications to the existing data module to all overview pages that reference the existing data module only when the design type of the overview page is not a personalized design type or the existing data module is often used in a synchronization state, further improving the flexibility of modifying and maintaining the existing data module.
[0136] Example 3
[0137] Please see Figure 3 , Figure 3 This is a schematic diagram of another dynamic overview page generation device disclosed in an embodiment of the present invention. Figure 3 The described dynamic overview page generation device can be applied to the dynamic generation of overview pages on any platform, including but not limited to technology platforms for rapid development (such as development tools like Eclipse, JBuilder, and VC++), business platforms based on business logic reuse (such as computer operating systems), and application platforms based on system self-maintenance and self-expansion (such as microservice platforms). This invention does not limit the scope of the embodiments. Figure 3 As shown, the dynamic generation device for this overview page may include:
[0138] The acquisition module 301 is used to acquire user information of a user when a request to view the overview page triggered by a user is detected.
[0139] The determination module 302 is used to determine the configuration information of a user regarding the overview page based on the overview page viewing request and user information. The configuration information includes at least one data module that the user wants to view.
[0140] The generation module 303 is used to generate the target overview page corresponding to the overview page viewing request based on the configuration information.
[0141] The transmission module 304 is used to transmit the target overview page to a target terminal used by a user to view the target overview page.
[0142] It is evident that implementation Figure 3The described device can generate the overview page to be viewed based on the user's configuration information about the overview page, such as the data modules the user wants to view. This allows for the dynamic generation of overview pages for each user, increasing the diversity of overview pages and meeting the diverse and personalized data viewing needs of each user. Furthermore, by combining the data modules that the user wants to view into an overview page, the occurrence of loading all data resources at once can be reduced, thereby improving the loading speed and performance of the overview page. Moreover, by combining the data modules into an overview page, the workload of overview page design and maintenance can be greatly reduced.
[0143] In an optional embodiment, such as Figure 3 As shown, the configuration information may also include a user's preference information for the overview page, and the preference information includes at least a user's pre-set layout view for the overview page;
[0144] The generation module 303 generates the specific method for the target overview page corresponding to the overview page viewing request based on the configuration information, which may include:
[0145] Based on the preset data import tool, obtain the data package corresponding to one or more target data modules to be displayed in all data modules;
[0146] Load the data package corresponding to each target data module into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request.
[0147] It is evident that implementation Figure 3 The described device can also load the data package corresponding to the data module into a user-preset layout view to generate an overview page, which can improve the accuracy and reliability of the overview page generation and improve the matching degree of the generated overview page with user preferences.
[0148] In another alternative embodiment, such as Figure 3 As shown, the generation module 303 loads the data encapsulation package corresponding to each target data module into the corresponding position of the target data module in the layout view, thereby obtaining the specific method of the target overview page corresponding to the overview page viewing request, which may include:
[0149] Based on the preference information, determine the first matching information that matches all target data modules. The preference information may also include a user's reading preference information.
[0150] Based on preference information, determine the corresponding personalized chart configuration information for each target data module in the layout view, which serves as the second adaptation information for matching the target data module.
[0151] For each target data module, based on the first adaptation information and the second adaptation information that matches the target data module, the data encapsulation package corresponding to the target data module is loaded into the corresponding position of the target data module in the layout view, so as to obtain the target overview page corresponding to the overview page viewing request.
[0152] It is evident that implementation Figure 3 The described device can also load the data package corresponding to the data module into the layout view based on the user's reading preference information and the configuration information of each target data module on the personalized chart. This can improve the matching degree between the generated overview page and the user's reading preferences, and also improve the personalization of the charts in the overview page, further enhancing the user's experience of viewing the overview page.
[0153] In yet another alternative embodiment, such as Figure 4 As shown, the determining module 302 is also used to determine the target terminal for a user to view the overview page and the window configuration information that matches the overview page in the target terminal before the generating module 303 generates the target overview page corresponding to the overview page viewing request based on the configuration information:
[0154] The device may also include:
[0155] The first update module 305 is used to update the layout view according to the window configuration information so that the layout view is adapted to the target terminal, and to trigger the generation module 303 to perform the above-mentioned operation of generating the target overview page corresponding to the overview page viewing request according to the configuration information.
[0156] Furthermore, the generation module 303 is also used to determine at least one target data module to be displayed from all data modules before obtaining the data package corresponding to one or more target data modules to be displayed from all data modules based on the window configuration information and the corresponding position of each data module in the layout view, according to the preset data import tool.
[0157] It is evident that implementation Figure 4 The described device can update the layout view of the overview page according to the window configuration information of the user terminal, improve the matching degree between the overview page and the window configuration information of the target terminal, thereby reducing the situation where the user's viewing experience is poor due to the mismatch between the user terminal's display screen and the overview page (such as: the font is too small). It can also determine the data modules to be displayed according to the window configuration information, which can reduce the situation where the components in the overview page are too small or too crowded due to a large number of data modules. It can also load data modules according to the window configuration information, further reducing the need to load all data modules at once and maintain all data modules, thereby improving the loading speed of the overview page and optimizing the performance of overview page generation.
[0158] In yet another alternative embodiment, such as Figure 4 As shown, the first update module 305 updates the layout view according to the window configuration information to adapt the layout view to the target terminal. The specific methods may include:
[0159] Based on the window configuration information, determine the adaptation attribute information of each data module in the layout view. The adaptation attribute information of each data module in the layout view includes one or more of the following combinations: the adaptation font type of the data module, the adaptation font size of the data module, the adaptation component size of the data module, the adaptation component position of the data module, and the adaptation interval distance between the data module and other data modules.
[0160] The layout view is updated based on the adaptation attribute information of each data module in the layout view to make the layout view adapt to the target terminal.
[0161] It is evident that implementation Figure 4 The described device can also determine the adaptation attribute information of each data module in the layout view based on the window configuration information, such as the font type, font size, component size, etc. of the data module, thereby improving the comprehensiveness and flexibility of updating the layout view based on the window configuration information.
[0162] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include:
[0163] The second update module 306 is used to update the target overview page according to the editing operation triggered by a user on the editing page corresponding to the target overview page after the transmission module 304 transmits the target overview page to the target terminal used by a user to view the target overview page. This update also triggers the transmission module 304 to re-execute the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page. Alternatively, when a user triggers an overview page switching request on the target terminal, the update module 306 determines the overview page switching request as a new overview page viewing request. This triggers the determination module 302 to re-execute the operation of determining the user's configuration information for the overview page based on the overview page viewing request and user information, the generation module 303 to execute the operation of generating the target overview page corresponding to the overview page viewing request based on the configuration information, and the transmission module 304 to execute the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page.
[0164] It is evident that implementation Figure 4The described device also meets the user's need to modify the overview page and switch to other overview pages after viewing the overview page, enriches the services available about the overview page, improves the convenience of modifying the overview page, and provides users with multiple overview pages to further meet the diverse overview page viewing needs of users.
[0165] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include:
[0166] The third update module 307 is used to update the overview design page in real time according to the module layout operation when a module layout operation triggered by a user is detected on the overview design page, so that the user can view the modification results of the module layout operation on the overview design page. The module layout operation includes module add / delete operation for adding or deleting displayed data modules on the overview design page and / or attribute modification operation for modifying the attribute information of the data modules displayed on the overview design page.
[0167] The determination module 302 is also used to determine the new configuration information of a user on the overview design page when a page confirmation operation triggered by a user is detected on the overview design page, based on the latest modification result of the overview design page. The new configuration information is stored in a preset database and called when a user requests to view the overview page corresponding to the new configuration information.
[0168] It is evident that implementation Figure 4 The described device can also design an overview page based on user-triggered module addition / deletion operations and attribute modification operations, allowing users to filter data modules and modify their attributes according to their personal needs, further satisfying users' diverse and personalized overview page viewing needs.
[0169] Example 4
[0170] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another dynamic overview page generation device disclosed in an embodiment of the present invention. For example... Figure 5 As shown, the dynamic generation device for this overview page may include:
[0171] Memory 401 storing executable program code;
[0172] Processor 402 coupled to memory 401;
[0173] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the dynamic generation method of the overview page described in Embodiment 1 or Embodiment 2 of the present invention.
[0174] Example 5
[0175] This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute the steps in the dynamic generation method of the overview page described in Embodiment 1 or Embodiment 2 of this invention.
[0176] Example 6
[0177] This invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the dynamic generation method of the overview page described in Embodiment 1 or Embodiment 2.
[0178] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0179] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0180] Finally, it should be noted that the method and apparatus for dynamically generating an overview page disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for dynamically generating an overview page, characterized in that, The method includes: When a user triggers a request to view the overview page, the user information of that user is obtained. Based on the overview page viewing request and the user information, determine the configuration information of a certain user regarding the overview page. The configuration information includes at least one data module that the certain user wants to view, and also includes the user's preference information regarding the overview page. The preference information includes at least the layout view that the certain user has preset for the overview page and the user's reading preference information. Determine the target terminal used by a user to view the overview page and the window configuration information that matches the overview page on the target terminal; The layout view is updated according to the window configuration information to adapt the layout view to the target terminal; Based on the window configuration information and the corresponding position of each data module in the layout view, at least one target data module to be displayed is determined from the data modules that a certain user wants to view; Based on the preset data import tool, obtain the data package corresponding to one or more target data modules to be displayed in all the data modules; Based on the preference information, determine the first adaptation information that matches all the target data modules; Based on the preference information, determine the corresponding personalized chart configuration information of each target data module in the layout view, as the second adaptation information for matching the target data module; For each target data module, based on the first adaptation information and the second adaptation information matching the target data module, the data encapsulation package corresponding to the target data module is loaded into the corresponding position of the target data module in the layout view to obtain the target overview page corresponding to the overview page viewing request; The target overview page is transmitted to the target terminal used by a certain user to view the target overview page.
2. The method for dynamically generating an overview page according to claim 1, characterized in that, The step of updating the layout view according to the window configuration information to adapt the layout view to the target terminal includes: Based on the window configuration information, determine the adaptation attribute information of each data module in the layout view. The adaptation attribute information of each data module in the layout view includes one or more of the following combinations: the adaptation font type of the data module, the adaptation font size of the data module, the adaptation component size of the data module, the adaptation component position of the data module, and the adaptation interval distance between the data module and other data modules. The layout view is updated based on the adaptation attribute information of each data module in the layout view, so that the layout view is adapted to the target terminal.
3. The method for dynamically generating an overview page according to any one of claims 1-2, characterized in that, After transmitting the target overview page to the target terminal used by a user to view the target overview page, the method further includes: When an editing operation triggered by a user on the corresponding editing page of the target overview page is detected, the target overview page is updated according to the editing operation, and the operation of transmitting the target overview page to the target terminal used by the user to view the target overview page is re-executed; and / or, When a user triggers a view page switching request on the target terminal, the view page switching request is identified as a new view page viewing request. The following operations are then re-executed: determining the user's view page configuration information based on the view page viewing request and the user information; generating the target view page corresponding to the view page viewing request based on the configuration information; and transmitting the target view page to the target terminal used by the user to view the target view page.
4. The method for dynamically generating an overview page according to any one of claims 1-2, characterized in that, The method further includes: When a module layout operation triggered by a user on the overview page design page is detected, the overview page design page is updated in real time according to the module layout operation, so that the user can view the modification result of the module layout operation on the overview page design page. The module layout operation includes module add / delete operations for adding or deleting displayed data modules on the overview page design page and / or attribute modification operations for modifying the attribute information of the data modules displayed on the overview page design page. When a page confirmation operation triggered by a user on the overview design page is detected, the new configuration information of the user regarding the overview page is determined based on the latest modification result of the overview design page. The new configuration information is stored in a preset database and retrieved when the user requests to view the overview page corresponding to the new configuration information.
5. A dynamic generation device for an overview page, characterized in that, The apparatus is used to perform the dynamic generation method of the overview page as described in any one of claims 1-4, and the apparatus comprises: The acquisition module is used to acquire user information of a user when a request to view the overview page is triggered by a user. The determining module is used to determine the configuration information of a certain user regarding the overview page based on the overview page viewing request and the user information, wherein the configuration information includes at least one data module that the certain user wants to view; The generation module is used to generate the target overview page corresponding to the overview page viewing request based on the configuration information. The transmission module is used to transmit the target overview page to the target terminal used by a certain user to view the target overview page.
6. A dynamic generation device for an overview page, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the dynamic generation method of the overview page as described in any one of claims 1-4.
7. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the dynamic generation method of the overview page as described in any one of claims 1-4.
Citation Information
Patent Citations
Page display method and terminal
CN107256142A
Page display method and device of mobile client, equipment and storage medium
CN114443200A
