Method and device for assembling report based on resource indexes

By defining resource metrics and designing combination logic rules, users can quickly assemble reports, solving the problems of insufficient flexibility and poor real-time performance of existing report generation methods, and achieving high flexibility, real-time and accurate report generation.

CN120197600APending Publication Date: 2025-06-24CHINA UNITECHS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510081735.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The existing report generation methods have problems such as insufficient flexibility, poor real-time performance and difficult data integration, and it is difficult to quickly adapt to different business scenarios and demand changes.

Method used

By defining resource indicators and designing combination logic rules, users can freely assemble reports, support extracting basic information of data model from multiple data sources, and define weights based on business scenarios to achieve rapid assembly and generation of reports.

Benefits of technology

It realizes a user-friendly interface and easily and quickly assembles data reports that meet business scenarios and personalized, improves the flexibility, real-timeness and accuracy of report generation, and meets users' diverse report needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197600A_ABST
    Figure CN120197600A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for assembling reports based on resource indexes, and the method comprises the steps: classifying and defining different resource indexes according to business requirements; according to the service meaning of the resource index, designing a plurality of styles of selection controls; designing a set of combinatorial logic rules for combining different resource indexes; a user freely checks a resource index selection control and a resource index through a visual and friendly interface, the resource index selection control and a resource index display state are verified and updated in real time according to a designed combinatorial logic rule, and a required report is quickly assembled and generated; performing data query according to the assembled and constructed report, and realizing permission control and access limitation on report data according to data permission; and performing solidification configuration on the current assembled, constructed and adjusted report, and storing the report as a new report. The method and the device have a friendly interface, and aim at enabling non-technical background business users to easily and quickly assemble personalized data reports meeting business scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of report generation, and in particular to a method and device for assembling reports based on resource metrics. Background Art

[0002] Currently, in enterprise-level application systems, report generation is an important function that provides statistical data and analysis results required for decision-making support for managers. The existing report generation methods mainly include the following:

[0003] 1. Using commercial data analysis tools: Such tools are powerful, but have a steep learning curve, are difficult for non-professional users to master, and may require additional licenses and hardware resources.

[0004] 2. Traditional report generation methods: Depend on predefined templates and fixed query logics to generate reports. This method is simple and easy to use, but lacks flexibility and scalability, is difficult to adapt to changing data structures and user needs, and has a long update cycle.

[0005] 3. Custom report generation: This method allows users to define the content and layout of reports through a graphical interface or scripts, improving flexibility, but also having problems such as complex configuration, difficult data integration, and security. Summary of the Invention

[0006] To solve the above problems existing in the existing report generation methods, the present invention provides a simplified and flexible method and device for assembling reports based on resource metrics, improving the flexibility, real-time performance, and accuracy of report generation, and quickly adapting to different business scenarios and changing requirements.

[0007] To achieve the above object, the present invention adopts the following technical solutions:

[0008] In an embodiment of the present invention, a method for assembling reports based on resource metrics is proposed. The method includes:

[0009] Classify and define different resource metrics according to business requirements, where these resource metrics can independently represent a certain characteristic or measurement of a resource; design selection controls of various styles according to the business meaning of the resource metrics;

[0010] Design combination logic rules based on the relationship between resource metrics and data models for combining different resource metrics, and then assembling and constructing reports;

[0011] Through an intuitive and friendly interface, users freely check the resource metric selection controls and resource metrics, and according to the designed resource metric combination logic rules, real-time verify and update the display status of the resource metric selection controls and resource metrics, and quickly assemble and generate the required report views;

[0012] Perform data query based on the report assembled and constructed, and at the same time, according to the data permissions configured in the data model, implement permission control and access restrictions on the report data;

[0013] Solidify and configure the currently assembled, constructed, and adjusted report, and save it as a new report.

[0014] Furthermore, support extracting the basic information of the data model existing in the resource indicators from multiple data sources, including model ID, model name, model type, time granularity supported by the model, configured data permissions, and defining reasonable weights for the extracted data model according to the business scenario.

[0015] Furthermore, the resource indicator combination logic rules include how to select the most suitable model from multiple data models to support specific resource indicators, and also support customizing the combination logic rules, allowing users to adjust the combination method of resource indicators according to needs.

[0016] Furthermore, when multiple data models support the same resource indicator, the data model with higher priority can be determined through a preset data model weight algorithm, or the weight value can be calculated according to the freshness, data quality, and historical performance of the data model.

[0017] Furthermore, if the calculation of a certain resource indicator depends on other resource indicators, it is necessary to automatically identify and prompt the user to select the necessary preconditions. The user can manually add or remove dependencies to adapt to different business scenarios.

[0018] Furthermore, the specific logic of report assembly and construction is as follows:

[0019] The user checks the resource indicator selection control, and verifies whether the resource indicator selection control already exists in the report area; if not, it is directly rendered according to the defined style; if there is no statistical period control in the report area, a statistical period control is automatically added;

[0020] The user checks the resource indicators, and according to the resource indicator codes and the designed resource indicator combination logic rules, searches for the corresponding data models. Based on the found data models, filters out the resource indicator data associated with the resource indicators; obtains the data model with the highest weight in the found data models, associates it with the report assembled and constructed, and updates the time granularity supported by it to the time granularity in the statistical period control; renders the checked resource indicators to the column fields of the report, and sets the un-matched and un-associated resource indicators to the non-selectable state.

[0021] In an embodiment of the present invention, a device for assembling a report based on resource indicators is also proposed. The device includes:

[0022] A resource metric definition module, which is used to classify and define different resource metrics according to business requirements. These resource metrics can independently represent a certain characteristic or measurement of resources; according to the business meaning of the resource metrics, various styles of selection controls are designed;

[0023] A resource metric combination logic design module, which is used to design combination logic rules based on the relationship between resource metrics and data models, and is used to combine different resource metrics, and then assemble and construct reports;

[0024] A report assembly and construction module, which is used to provide an intuitive and friendly interface for users to freely check the resource metric selection controls and resource metrics. According to the designed resource metric combination logic rules, the display status of the resource metric selection controls and resource metrics is verified and updated in real time, and the required report views are quickly assembled and generated;

[0025] A report query and adjustment module, which is used to query data according to the assembled and constructed reports, and at the same time, based on the data permissions configured in the data model, implement permission control and access restrictions on the report data;

[0026] A report saving module, which is used to solidify and configure the currently assembled, constructed and adjusted reports and save them as a new report.

[0027] Furthermore, it supports extracting the basic information of the data model where the resource metrics exist from multiple data sources, including model ID, model name, model type, time granularity supported by the model, configured data permissions, and defining reasonable weights for the extracted data models according to the business scenario.

[0028] Furthermore, the resource metric combination logic rules include how to select the most suitable model from multiple data models to support specific resource metrics, and also support customizing combination logic rules, allowing users to adjust the combination method of resource metrics according to their needs.

[0029] Furthermore, when multiple data models support the same resource metric, the data model with higher priority can be determined through a preset data model weight algorithm, or the weight value can be calculated according to the freshness, data quality and historical performance of the data model.

[0030] Furthermore, if the calculation of a certain resource metric depends on other resource metrics, it is necessary to automatically identify and prompt the user to select the necessary preconditions. The user can manually add or remove dependencies to adapt to different business scenarios.

[0031] Furthermore, the specific logic of report assembly and construction is as follows:

[0032] The user checks the resource metric selection control and verifies whether the resource metric selection control already exists in the report area; if not, it is directly rendered according to the defined style; if there is no statistical period control in the report area, a statistical period control is automatically added.

[0033] The user checks the resource metrics. According to the resource metric codes and the designed resource metric combination logic rules, the corresponding data models are searched for. Based on the found data models, the resource metric data associated with the resource metrics are filtered out; the data model with the highest weight is obtained from the found data models, associated with the assembled report, and the time granularity it supports is updated to the time granularity in the statistical period control; the checked resource metrics are rendered to the column fields of the report, and the unassociated resource metrics are set to the unselectable state.

[0034] In an embodiment of the present invention, a computer device is also proposed, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the foregoing method for assembling a report based on resource metrics is implemented.

[0035] In an embodiment of the present invention, a computer-readable storage medium is also proposed. The computer-readable storage medium stores a computer program for executing the method of assembling a report based on resource metrics.

[0036] Beneficial effects:

[0037] The present invention achieves technical effects such as a user-friendly interface, easily and quickly assembling data reports that meet business scenarios and personalization, and data security, provides a powerful, fast, and intelligent report solution for users, meets various report requirements of users, and improves the efficiency and accuracy of data analysis and decision-making. Description of the Drawings

[0038] Figure 1 is the flowchart of the method for assembling a report based on resource metrics of the present invention;

[0039] Figure 2 is the page diagram of report assembly and construction in an embodiment of the present invention;

[0040] Figure 3 is the page diagram of report data query in an embodiment of the present invention;

[0041] Figure 4 is the page diagram of report data export in an embodiment of the present invention;

[0042] Figure 5 is the page diagram of report adjustment in an embodiment of the present invention;

[0043] Figure 6 is the page diagram of data highlighting configuration in an embodiment of the present invention;

[0044] Figure 7 It is a diagram of the data filtering configuration page in an embodiment of the present invention;

[0045] Figure 8 It is a diagram of the TopN configuration page in an embodiment of the present invention;

[0046] Figure 9 It is a diagram of the index unit switching page in an embodiment of the present invention;

[0047] Figure 10 It is a diagram of the report saving page in an embodiment of the present invention;

[0048] Figure 11 It is a schematic structural diagram of the device for assembling reports based on resource indicators in the present invention;

[0049] Figure 12 It is a schematic structural diagram of the computer device of the present invention. Detailed implementation manners

[0050] Next, the principles and spirit of the present invention will be described with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and then implement the present invention, rather than limiting the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to be able to fully convey the scope of the present disclosure to those skilled in the art.

[0051] Those skilled in the art know that the embodiments of the present invention can be implemented as a device, apparatus, equipment, method, or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms: completely hardware, completely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0052] According to the embodiments of the present invention, a method and apparatus for assembling reports based on resource indicators are proposed, which have a friendly user interface, aiming to enable business users without a technical background to easily and quickly assemble data reports that meet business scenarios and personalization, without relying on the IT department or professional data analysts. It provides powerful multi-dimensional data processing capabilities, can analyze and slice data from multiple angles, and also supports real-time connection to data sources to ensure that the report data is always up-to-date. In addition, it also pays attention to the accuracy and security of data, ensuring the integrity and confidentiality of report data, that is, calculating and querying data in real time according to the data model to ensure the integrity of report data, and data permissions are configured in the data model, which are permissions to column field data, ensuring the confidentiality of report data.

[0053] Next, with reference to several representative embodiments of the present invention, the principles and spirit of the present invention will be elaborated in detail.

[0054] Figure 1 This is a flowchart of the method for assembling reports based on resource indicators in the present invention. Figure 1 As shown, the implementation steps of this method are as follows:

[0055] 1. Resource indicator definition

[0056] Resource indicator data model: supports extracting basic data model information of resource indicators from multiple data sources, including model ID, model name, model type, time granularity supported by the model, configured data permissions, and defines reasonable weights for the extracted data models based on business scenarios.

[0057] Define resource indicators: Different resource indicators are defined according to business requirements. These resource indicators can independently represent a certain characteristic or measurement of resources, such as device name, CPU utilization, etc. A predefined resource indicator library is also provided to facilitate users to quickly find and select appropriate resource indicators.

[0058] Define resource indicator selection controls: Design various styles of selection controls based on the business meaning of resource indicators, such as statistical period (consisting of time granularity + date and time range), text box, drop-down box, node tree, date, time, and numerical filter (consisting of operator + numerical input box). It also supports customized plug-ins, such as device / board / circuit / port group / port resource selection customized plug-in. Users can query related resources by clicking the dialog box that pops up in the resource selection button, and support multiple selection to backfill data; such as indicator year-on-year and indicator month-on-month customized plug-ins, users can choose whether to support indicator year-on-year and month-on-month, and if supported, select specific resource indicators to display year-on-year and month-on-month.

[0059] 2. Resource indicator combination logic design

[0060] Design a set of combination logic rules to combine different resource indicators and then assemble and build reports.

[0061] Logical rule design: Design combination logic rules based on the relationship between resource indicators and data models. The timeliness, reliability, and applicability of the data model must be considered during design. The rules include how to select the most appropriate model from multiple data models to support specific resource indicators. Custom combination logic rules are also supported, allowing users to adjust the combination of resource indicators as needed.

[0062] Data model weight algorithm: When multiple data models support the same resource indicator, the preset algorithm (that is, the priority of the business model from high to low is: device performance model>port performance model>board performance model>circuit performance model) is used to determine which data model has a higher priority. The weight value can also be calculated based on factors such as the freshness of the data model, data quality, and historical performance.

[0063] Resource Index Dependency Detection: If the calculation of a certain resource index depends on other resource indexes, the system needs to automatically identify and prompt the user to select the necessary prerequisite indexes. The user can manually add or remove dependencies to adapt to different business scenarios.

[0064] 3. Report Assembly and Construction

[0065] Through an intuitive and user-friendly interface, the user can freely check the resource index selection controls and resource indexes. According to the designed resource index combination logic rules, the system can verify and update the display status of the resource selection controls and resource indexes in the page in real time, and quickly assemble and generate the required report views.

[0066] The intuitive and user-friendly interface layout is as follows: On the left side of the page, the defined resource index selection controls and resource index data are displayed. The resource index data is displayed in a tree structure according to the resource index classification - resource index; on the right side of the page, the assembled report elements are displayed. On the top, the resource index selection controls and operation buttons of the report are displayed, and on the bottom, the report fields and data are displayed.

[0067] The specific logic of report assembly and construction is as follows:

[0068] When the user checks the resource index selection control, the system verifies whether the resource index selection control already exists in the report area. If it does not exist, it is directly rendered according to the defined style. If there is no statistical period control in the report area, a statistical period control is automatically added.

[0069] When the user checks the resource index, according to the resource index code and the designed resource index combination logic rules, the system searches for the corresponding data model. Based on the found data model, the system filters out the resource index data associated with the resource index. Among the found data models, the data model with the highest weight is obtained, associated with the assembled report, and the time granularity it supports is updated to the time granularity in the statistical period control. The checked resource index is rendered to the column fields of the report, and the unassociated resource indexes are set to an unselectable state.

[0070] 4. Report Query and Adjustment

[0071] Based on the assembled report, data query is performed. At the same time, according to the data permissions configured in the data model, permission control and access restrictions on the report data are implemented. The report results provide functions such as data highlighting, data filtering, TopN, and indicator column unit switching operations to achieve the best visual effects and data analysis requirements. The user can choose to export the report data to various format files such as Excel, CSV, Word, etc. for offline viewing or further analysis.

[0072] 5. Report Saving

[0073] Solidify the configuration of the currently assembled, constructed and adjusted report, including statistical granularity selection, data highlighting, data filtering, TopN display, year-on-year and month-on-month changes in indicators, set report name, report type, report grouping and other report metadata information, and save it as a new report for quick query in the future, supporting users to make accurate and well-founded decisions in their daily work.

[0074] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0075] In order to explain the above method of assembling reports based on resource indicators more clearly, a specific embodiment is used for illustration below. However, it should be noted that this embodiment is only for better illustrating the present invention and does not constitute an improper limitation to the present invention.

[0076] Use scenarios:

[0077] Assemble and build reports, query and adjust report data, and save them as [Equipment Performance Report]. The specific process and pages are as follows:

[0078] 1. Report assembly and construction, such as Figure 2 As shown:

[0079] The operation process is:

[0080] (1) The user selects the resource indicator selection control in the resource selection area on the left and checks whether the resource indicator selection control already exists in the report area. If it does not exist, it is directly rendered according to the defined style. If there is no statistical period control in the report area, the statistical period control is automatically added.

[0081] (2) The user selects the resource indicator in the resource indicator area on the left, calls the interface based on the selected resource indicator code, searches for the corresponding data model, and filters out the resource indicator data associated with the resource indicator based on the found data model. Obtain the data model with the highest weight among the found data models, associate it with the assembled report, and update the time granularity it supports to the time granularity in the statistical period control. Render the selected resource indicators to the column fields of the report, and set the unmatched associated resource indicators to an unselectable state. If the assembled report has column fields, display the data highlighting, data filtering, TopN, query, export, and save operation buttons in a linked manner.

[0082] (3) Repeat step (2) to assemble all display columns of the constructed report.

[0083] 2. Report data query, as Figure 3 shown below:

[0084] The operation process is as follows:

[0085] (1) In the resource metric selection control - statistical time on the right page, first select the statistical granularity to be queried, then select the time period to be queried. For other resource metric selection controls such as the affiliated network, city, and device, values can be set as needed.

[0086] (2) Click the query button. According to the set filtering conditions, the report columns constructed by the components, and the data permissions set by the data model with the highest weight found, call the report data query interface to obtain the report data assembled and constructed.

[0087] (3) Click the export button, and you can choose to export the report data as files in multiple formats such as Excel, CSV, and Word for offline viewing or further analysis. The page is as Figure 4 shown below.

[0088] 3. Report adjustment:

[0089] After data highlighting, data filtering, TopN, and indicator unit switching, the adjusted report is as Figure 5 shown below.

[0090] The operation process is as follows:

[0091] (1) Click the data highlighting button, and a configuration page will pop up as Figure 6 shown below:

[0092] The indicator data is the field column whose report field column type is an indicator. According to the alarm level (severe, warning, prompt), configure one or more filtering conditions for the selected indicator column. If the unit is set for the report column, the unit can also be switched. Click OK, and according to the configured data, filter the report data and highlight the data that meets the requirements according to the alarm effect identifier.

[0093] (2) Click the data filtering button, and a configuration page will pop up as Figure 7 shown below:

[0094] The indicator data is all the field columns in the report except the time field. One or more filtering conditions can be configured for the indicator columns, and connectors "or" and "and" can be set between the indicator columns. If the selected indicator column type is a dimension, such as device name, its corresponding filtering configuration includes: matching types such as fuzzy matching, exact matching, contains, does not contain; enter the matching value in the text box. If the selected indicator column type is an indicator, such as ping connectivity, its corresponding filtering configuration includes: operators such as =, >=, <=, >, <, !=, between, enter the matching value in the text box. Click OK, and filter the report data according to the configured data.

[0095] (3) Click TopN, and a configuration page will pop up as Figure 8 shown below:

[0096] The indicator data is the field columns in the report with the column type of indicator. The sorting methods are descending order and ascending order. TopN is a positive integer. Click OK, query the report data according to the configured indicator and sorting method, take the first N pieces of data configured by TopN, and hide the paging area on the page.

[0097] (4) Indicator unit switching, and its page is as Figure 9 shown below:

[0098] If the unit set for the report column can find its belonging, and there are multiple units under its belonging, then this field column supports indicator unit switching. Select a certain unit, and the data in this column of the report data will be directly converted and displayed according to the unit.

[0099] Provide functions of data highlighting, data filtering, TopN, and indicator column unit switching for the data queried from the report, so that the report can achieve the best visual effect and data analysis requirements.

[0100] 4. Report saving:

[0101] The operation process is as follows:

[0102] Click the save button, and a page will pop up as Figure 10 shown below:

[0103] Solidify the configuration of the currently assembled, constructed, and adjusted report, including statistical granularity selection, data highlighting, data filtering, TopN display, indicator year-on-year comparison, indicator month-on-month comparison, enter the report name, select the report type, report grouping, click OK, call the report saving interface, and save it as a new report for quick query in the report management.

[0104] Based on the same inventive concept, the present invention also provides an apparatus for assembling reports based on resource metrics. The implementation of this apparatus can refer to the implementation of the above method, and the repeated parts will not be elaborated here. The term "module" used hereinafter can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0105] Figure 11 is a schematic structural diagram of the apparatus for assembling reports based on resource metrics of the present invention. As Figure 11 shown, the apparatus includes:

[0106] A resource metric definition module 101, configured to classify and define different resource metrics according to business requirements, where these resource metrics can independently represent a certain characteristic or measure of a resource; design selection controls of various styles according to the business meaning of the resource metrics;

[0107] Support extracting basic information of the data model where the resource metrics exist from multiple data sources, including model ID, model name, model type, time granularity supported by the model, configured data permissions, and defining reasonable weights for the extracted data models according to the business scenario.

[0108] A resource metric combination logic design module 102, configured to design combination logic rules based on the relationship between resource metrics and data models, including how to select the most suitable model from multiple data models to support a specific resource metric, and also support customizing combination logic rules, allowing users to adjust the combination method of resource metrics according to needs, for combining different resource metrics, and then assembling and constructing reports;

[0109] When multiple data models support the same resource metric, the data model with a higher priority can be determined through a preset data model weight algorithm, or the weight value can be calculated according to the freshness, data quality, and historical performance of the data model;

[0110] If the calculation of a certain resource metric depends on other resource metrics, it is necessary to automatically identify and prompt the user to select the necessary pre - metrics, and the user can manually add or remove dependencies to adapt to different business scenarios.

[0111] A report assembly and construction module 103, configured to, through an intuitive and friendly interface, allow users to freely check the resource metric selection controls and resource metrics, and according to the designed resource metric combination logic rules, real - time verify and update the display status of the resource metric selection controls and resource metrics, and quickly assemble and generate the required report view;

[0112] The specific logic of report assembly and construction is as follows:

[0113] The user checks the resource metric selection control and verifies whether the resource metric selection control already exists in the report area; if not, it is directly rendered according to the defined style; if there is no statistical period control in the report area, a statistical period control is automatically added;

[0114] The user checks the resource metrics. According to the resource metric codes and the designed resource metric combination logic rules, the corresponding data models are searched for. Based on the found data models, the resource metric data associated with the resource metrics are filtered out; the data model with the highest weight is obtained from the found data models, associated with the assembled report, and the time granularity it supports is updated to the time granularity in the statistical period control; the checked resource metrics are rendered to the column fields of the report, and the unassociated resource metrics are set to an unselectable state

[0115] The report query and adjustment module 104 is used to perform data query according to the assembled report, and at the same time, based on the data permissions configured in the data model, implement permission control and access restrictions on the report data;

[0116] The report saving module 105 is used to solidify the configuration of the currently assembled, constructed, and adjusted report and save it as a new report.

[0117] It should be noted that although several modules of the device for assembling a report based on resource metrics are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present invention, the features and functions of the two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided and embodied by multiple modules.

[0118] Based on the foregoing inventive concept, as Figure 12 shown, the present invention also proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored on the memory 210 and executable on the processor 220. When the processor 220 executes the computer program 230, the foregoing method for assembling a report based on resource metrics is implemented.

[0119] Based on the foregoing inventive concept, the present invention also proposes a computer-readable storage medium storing a computer program for executing the foregoing method for assembling a report based on resource metrics.

[0120] The method and device for assembling a report based on resource metrics proposed by the present invention achieve technical effects such as a user-friendly interface, easily and quickly assembling data reports that meet business scenarios and personalization, and data security, provide a powerful, fast, and intelligent report solution for users, meet various report requirements of users, and improve the efficiency and accuracy of data analysis and decision-making.

[0121] Although the spirit and principles of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the specific embodiments disclosed, and the division of each aspect does not mean that the features in these aspects cannot be combined for benefit. This division is only for the convenience of expression. The present invention aims to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

[0122] Regarding the limitations on the protection scope of the present invention, those skilled in the art should understand that, based on the technical solutions of the present invention, various modifications or deformations that can be made by those skilled in the art without creative efforts are still within the protection scope of the present invention.

Claims

1. A method for assembling a report based on resource indicators, characterized in that: The method includes: Define different resource indicators according to business requirements. These resource indicators can independently represent a certain characteristic or measurement of the resource. Design various styles of selection controls based on the business meaning of the resource indicators. Design combination logic rules based on the relationship between resource indicators and data models to combine different resource indicators and then assemble and build reports; Through an intuitive and friendly interface, users can freely select resource indicator selection controls and resource indicators, and verify and update resource indicator selection controls and resource indicator display status in real time according to the designed resource indicator combination logic rules, and quickly assemble and generate the required report views; Perform data query based on the assembled report, and implement permission control and access restrictions on report data based on the data permissions configured in the data model; Solidify the configuration of the currently assembled, built and adjusted report and save it as a new report.

2. The method for assembling reports based on resource indicators according to claim 1, characterized in that: It supports extracting basic data model information of resource indicators from multiple data sources, including model ID, model name, model type, time granularity supported by the model, configured data permissions, and defines reasonable weights for the extracted data models based on business scenarios.

3. The method for assembling reports based on resource indicators according to claim 1, characterized in that: The resource indicator combination logic rules include how to select the most appropriate model from multiple data models to support specific resource indicators, and also support custom combination logic rules, allowing users to adjust the combination method of resource indicators according to their needs.

4. The method for assembling reports based on resource indicators according to claim 1, characterized in that: When multiple data models support the same resource indicator, the data model with a higher priority can be determined through a preset data model weight algorithm, or the weight value can be calculated based on the freshness, data quality and historical performance of the data model.

5. The method for assembling reports based on resource indicators according to claim 1, characterized in that: If the calculation of a resource indicator depends on other resource indicators, it needs to be automatically identified and the user is prompted to select the necessary prerequisite indicators. The user can manually add or remove dependencies to adapt to different business scenarios.

6. The method for assembling reports based on resource indicators according to claim 1, characterized in that: The specific logic of report assembly construction is as follows: The user selects the resource indicator selection control and checks whether the resource indicator selection control already exists in the report area. If not, it is directly rendered according to the defined style. If there is no statistical period control in the report area, the statistical period control is automatically added. The user selects the resource indicator, and searches for the corresponding data model according to the resource indicator coding and the designed resource indicator combination logic rules. The resource indicator data associated with the resource indicator is filtered out according to the found data model. The data model with the highest weight is obtained from the found data models, and it is associated with the assembled report. The time granularity supported by it is updated to the time granularity in the statistical period control. The selected resource indicators are rendered into the column fields of the report, and the unmatched resource indicators are set to an unselectable state.

7. A device for assembling reports based on resource indicators, characterized in that: The device includes: The resource indicator definition module is used to define different resource indicators according to business requirements. These resource indicators can independently represent a certain characteristic or measurement of the resource. According to the business meaning of the resource indicator, various styles of selection controls are designed. Resource indicator combination logic design module, which is used to design combination logic rules based on the relationship between resource indicators and data models, and is used to combine different resource indicators and then assemble and build reports; The report assembly construction module is used to allow users to freely select resource indicator selection controls and resource indicators through an intuitive and friendly interface. According to the designed resource indicator combination logic rules, the resource indicator selection controls and resource indicator display status are verified and updated in real time, and the required report views are quickly assembled and generated; The report query and adjustment module is used to query data based on the assembled reports, and to implement permission control and access restrictions on report data based on the data permissions configured in the data model; The report saving module is used to solidify the configuration of the currently assembled, constructed and adjusted report and save it as a new report.

8. The device for assembling reports based on resource indicators according to claim 7, characterized in that: It supports extracting basic data model information of resource indicators from multiple data sources, including model ID, model name, model type, time granularity supported by the model, configured data permissions, and defines reasonable weights for the extracted data models based on business scenarios.

9. The device for assembling reports based on resource indicators according to claim 7, characterized in that: The resource indicator combination logic rules include how to select the most appropriate model from multiple data models to support specific resource indicators, and also support custom combination logic rules, allowing users to adjust the combination method of resource indicators according to their needs.

10. The device for assembling reports based on resource indicators according to claim 7, characterized in that: When multiple data models support the same resource indicator, the data model with a higher priority can be determined through a preset data model weight algorithm, or the weight value can be calculated based on the freshness, data quality and historical performance of the data model.

11. The device for assembling reports based on resource indicators according to claim 7, characterized in that: If the calculation of a resource indicator depends on other resource indicators, it needs to be automatically identified and the user is prompted to select the necessary prerequisite indicators. The user can manually add or remove dependencies to adapt to different business scenarios.

12. The device for assembling reports based on resource indicators according to claim 7, characterized in that: The specific logic of report assembly construction is as follows: The user selects the resource indicator selection control and checks whether the resource indicator selection control already exists in the report area. If not, it is directly rendered according to the defined style. If there is no statistical period control in the report area, the statistical period control is automatically added. The user selects the resource indicator, and searches for the corresponding data model according to the resource indicator coding and the designed resource indicator combination logic rules. The resource indicator data associated with the resource indicator is filtered out according to the found data model. The data model with the highest weight is obtained from the found data models, and it is associated with the assembled report. The time granularity supported by it is updated to the time granularity in the statistical period control. The selected resource indicators are rendered into the column fields of the report, and the unmatched resource indicators are set to an unselectable state.

13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 6.