Report processing method and device, electronic equipment and storage medium

By customizing the configuration data and indicator processing rules of the report, it solves the problems of high report processing development cost and low efficiency in the existing technology, and realizes report processing and automatic generation of reports suitable for different business categories.

CN118607495APending Publication Date: 2024-09-06CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410812036.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In the existing technology, the development workload and development cost required for report processing are relatively large, the efficiency is low, and reports need to be customized for a certain business.

Method used

By obtaining the configuration data of the report, including indicator processing rules and report download conditions, and based on these configuration data, the target data set is filtered from the original data set, the indicator is processed and the report is generated. The configuration data can be customized and is suitable for different business categories. Process the scene.

Benefits of technology

It reduces the development workload and development costs required for report processing, improves report processing efficiency, and realizes automatic generation of reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607495A
    Figure CN118607495A
Patent Text Reader

Abstract

The invention relates to a report processing method and device, electronic equipment and a storage medium, and belongs to the technical field of financial science and technology, information technology industry and data processing. The method comprises the steps that configuration data of a report is obtained, the configuration data of the report comprises an index processing rule of the report and a report downloading condition of the report, the configuration data of the report is used for generating the report, and the configuration data of the report is not fixed; based on a report downloading condition of the report, screening a target data set from the original data set; based on an index processing rule of the report, performing index processing on the target data set to obtain a plurality of indexes of the report; and generating the report based on the plurality of indexes of the report. Therefore, in the scheme, the configuration data (such as the index processing rule and the report downloading condition) of the report can be customized, the configuration data of the report is not fixed, the development workload required by report processing is greatly reduced, and the report processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of financial technology, information technology industry, and data processing technology, and in particular to a report processing method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] At present, reports have the advantages of simple operation, good compatibility, and intuitive data display, and have been widely used in the fields of learning and office. In related technologies, in order to meet business needs, most of them need to develop customized reports for a certain business. The development workload and development cost required for report processing are large, and the report processing efficiency is low. Summary of the invention

[0003] The present disclosure provides a report processing method, device, electronic device, computer-readable storage medium and computer program product to at least solve the problems of large development workload and development cost and low report processing efficiency in related technologies for report processing. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a report processing method, comprising: obtaining configuration data of a report, wherein the configuration data of the report comprises an indicator processing rule of the report and a report downloading condition of the report, the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed; based on the report downloading condition of the report, filtering out a target data set from an original data set; based on the indicator processing rule of the report, performing indicator processing on the target data set to obtain a plurality of indicators of the report; and generating the report based on the plurality of indicators of the report.

[0005] In one embodiment of the present disclosure, the target data set is filtered out from the original data set based on the report download condition of the report, including: if the report download condition of the report includes the target business category of the report, filtering out the original data of the target business category from the original data set; and adding the original data of the target business category to the target data set.

[0006] In one embodiment of the present disclosure, the report downloading conditions of the report include the target business category of the report, and the configuration data of the report is obtained, including: determining the target business category from a set of candidate business categories; and determining the indicator processing rules of the report from a set of candidate indicator processing rules.

[0007] In one embodiment of the present disclosure, the method further includes: acquiring a newly added service category; and adding the newly added service category to the candidate service category set.

[0008] In one embodiment of the present disclosure, the method further includes: acquiring the indicator processing rule corresponding to the newly added business category; and adding the indicator processing rule corresponding to the newly added business category to the candidate indicator processing rule set.

[0009] In one embodiment of the present disclosure, obtaining the indicator processing rules corresponding to the newly added business category includes: obtaining business configuration parameters of the newly added business category; and obtaining the indicator processing rules corresponding to the newly added business category based on the business configuration parameters of the newly added business category.

[0010] In one embodiment of the present disclosure, after generating the report, it also includes: if the report downloading conditions of the report are updated, returning to execute the report downloading conditions based on the report, filtering out the target data set from the original data set and its subsequent steps to update the report; if the indicator processing rules of the report are updated, returning to execute the indicator processing rules based on the report, performing indicator processing on the target data set and its subsequent steps to update the report.

[0011] In one embodiment of the present disclosure, the acquiring of the configuration data of the report includes: obtaining the configuration data of the report based on an input operation of a user on a business system.

[0012] In one embodiment of the present disclosure, the method further includes: displaying a first selection menu on the business system, wherein a first menu item in the first selection menu is used to represent a candidate indicator processing rule;

[0013] The configuration data of the report is obtained based on the user's input operation on the business system, including: detecting the user's selection operation on the business system for the first target menu item; and using the candidate indicator processing rule corresponding to the first target menu item as the indicator processing rule of the report.

[0014] In one embodiment of the present disclosure, the report download condition of the report includes a target condition filtering item under a target condition selection item, and the method further includes: displaying a second selection menu on the business system, wherein the second selection menu is used to represent a candidate condition selection item, and a second menu item in the second selection menu is used to represent a candidate condition filtering item under the candidate condition selection item;

[0015] The configuration data of the report is obtained based on the user's input operation on the business system, including: detecting the user's selection operation on the business system for the second target menu item in the second target selection menu; using the candidate condition selection item corresponding to the second target selection menu as the target condition selection item, and using the candidate condition filtering item corresponding to the second target menu item as the target condition filtering item under the target condition selection item.

[0016] According to a second aspect of an embodiment of the present disclosure, there is provided a report processing apparatus, comprising: an acquisition module, configured to acquire configuration data of a report, wherein the configuration data of the report comprises an indicator processing rule of the report and a report downloading condition of the report, the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed; a screening module, configured to screen out a target data set from an original data set based on the report downloading condition of the report; a processing module, configured to perform indicator processing on the target data set based on the indicator processing rule of the report to obtain a plurality of indicators of the report; and a generation module, configured to generate the report based on the plurality of indicators of the report.

[0017] In one embodiment of the present disclosure, the screening module is further configured to: if the report downloading condition of the report includes the target business category of the report, filter out the original data of the target business category from the original data set; and add the original data of the target business category to the target data set.

[0018] In one embodiment of the present disclosure, the report downloading conditions of the report include the target business category of the report, and the acquisition module is further configured to: determine the target business category from a set of candidate business categories; and determine the indicator processing rules of the report from a set of candidate indicator processing rules.

[0019] In one embodiment of the present disclosure, the acquisition module is further configured to: acquire a newly added service category; and add the newly added service category to the candidate service category set.

[0020] In one embodiment of the present disclosure, the acquisition module is further configured to: acquire the indicator processing rule corresponding to the newly added business category; and add the indicator processing rule corresponding to the newly added business category to the candidate indicator processing rule set.

[0021] In one embodiment of the present disclosure, the acquisition module is further configured to: acquire business configuration parameters of the newly added business category; and obtain indicator processing rules corresponding to the newly added business category based on the business configuration parameters of the newly added business category.

[0022] In one embodiment of the present disclosure, after the report is generated, the generation module is further configured to: if the report downloading conditions of the report are updated, return to execute the report downloading conditions based on the report, filter out the target data set from the original data set and its subsequent steps to update the report; if the indicator processing rules of the report are updated, return to execute the indicator processing rules based on the report, perform indicator processing on the target data set and its subsequent steps to update the report.

[0023] In one embodiment of the present disclosure, the acquisition module is further configured to obtain the configuration data of the report based on the input operation of the user on the business system.

[0024] In one embodiment of the present disclosure, the acquisition module is further configured to: display a first selection menu on the business system, wherein the first menu item in the first selection menu is used to represent the candidate indicator processing rule; detect the user's selection operation on the business system for the first target menu item; and use the candidate indicator processing rule corresponding to the first target menu item as the indicator processing rule of the report.

[0025] In one embodiment of the present disclosure, the report download conditions of the report include a target condition filtering item under a target condition selection item, and the acquisition module is further configured to: display a second selection menu on the business system, wherein the second selection menu is used to represent a candidate condition selection item, and the second menu item in the second selection menu is used to represent a candidate condition filtering item under the candidate condition selection item; detect the user's selection operation on the second target menu item in the second target selection menu on the business system; use the candidate condition selection item corresponding to the second target selection menu as the target condition selection item, and use the candidate condition filtering item corresponding to the second target menu item as the target condition filtering item under the target condition selection item.

[0026] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the report processing method as described in the first aspect.

[0027] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the report processing method described in the first aspect.

[0028] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the report processing method as described in the first aspect is implemented.

[0029] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: compared with the related art in which a report needs to be customized for a certain business, and the configuration data of the report (such as indicator processing rules and report download conditions) is fixed and cannot be changed, the configuration data of the report in this solution (such as indicator processing rules and report download conditions) can be customized, and the configuration data of the report is not fixed, that is, only the configuration data of the report needs to be set or changed to be applicable to report processing scenarios of different business categories, and there is no need to customize the development of reports for a certain business, which greatly reduces the development workload and development cost required for report processing, improves the report processing efficiency, and can take into account the report download conditions and indicator processing rules to achieve automatic generation of reports.

[0030] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0032] Figure 1 It is a flowchart of a report processing method according to the first embodiment of the present disclosure.

[0033] Figure 2 It is a flowchart of a report processing method according to the second embodiment of the present disclosure.

[0034] Figure 3 It is a flowchart of a report processing method according to the third embodiment of the present disclosure.

[0035] Figure 4 is a block diagram of a report processing device according to a first embodiment of the present disclosure.

[0036] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0037] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0039] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards.

[0040] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of the present disclosure are in compliance with the relevant provisions of relevant laws and regulations. In the embodiments of the present disclosure, certain software, components, models, and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present disclosure, but it does not mean that the applicant has or will necessarily use the solution.

[0041] Figure 1 It is a flowchart of a report processing method according to the first embodiment of the present disclosure.

[0042] like Figure 1 As shown, the report processing method of the first embodiment of the present disclosure includes the following steps:

[0043] S101, obtaining configuration data of a report, wherein the configuration data of the report includes indicator processing rules of the report and report downloading conditions of the report, and the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed.

[0044] It should be noted that the execution subject of the report processing method of the present disclosure is an electronic device or an application, such as a client, wherein the electronic device may include a mobile phone, a notebook, a vehicle-mounted device, a smart home appliance, etc. The report processing method of the embodiment of the present disclosure may be executed by the report processing device of the embodiment of the present disclosure, and the report processing device of the embodiment of the present disclosure may be configured in any electronic device to execute the report processing method of the embodiment of the present disclosure.

[0045] It should be noted that the configuration data of the report is used to generate the report. For example, the configuration data of the report can be set by the user. For example, the user can set the configuration data of the report according to the actual situation. For example, the user can set the configuration data of the report on the business system. The configuration data of the report is not fixed, that is, the configuration data of the report can be changed.

[0046] It should be noted that there are no excessive restrictions on the indicator processing rules and report downloading conditions of the report. For example, the indicator processing rules of the report may include the target time range, the target indicator calculation formula (such as sum, average, percentage), etc. For example, the report downloading conditions of the report may include the target condition screening items under the target condition selection items. For example, the report downloading conditions of the report may include the target business category of the report. For example, the report downloading conditions of the report may include the time statistics method of the report, the organization of the report, etc.

[0047] It is understandable that the indicator processing rules of the report may include indicator processing rules for multiple indicators of the report, and the indicator processing rules for different indicators of the report may be different. The report download condition of the report may include a target condition filtering item under at least one target condition selection item, and the number of target condition filtering items under one target condition selection item is at least one.

[0048] It is understandable that there are no excessive restrictions on condition selection items and condition filtering items, and the number of condition filtering items belonging to one condition selection item is at least one.

[0049] For example, condition selection item 1 is a time statistics method, and the condition filtering items under condition selection item 1 may include one day, one week, one month, one quarter, one year, a custom time period, etc., where the custom time period refers to the start date and end date configured by the user.

[0050] For example, condition selection item 2 is organization, and the condition filtering items under condition selection item 2 may include organization A, organization B, and organization C.

[0051] For example, condition selection item 3 is a business category, and the condition filtering items under condition selection item 3 may include business category X, business category Y, and business category Z.

[0052] It can be understood that in addition to the indicator processing rules of the report and the report downloading conditions of the report, the configuration data of the report may also include other configuration data. For example, the other configuration data may include the indicator category of the report, the dimension category of the indicator of the report, the name of the report, the generation time of the report, the download time of the report, etc.

[0053] In one embodiment, the report download condition of the report includes the target business category of the report, and obtaining the configuration data of the report includes determining the target business category from the candidate business category set and determining the indicator processing rule of the report from the candidate indicator processing rule set. Thus, the target business category can be determined from the candidate business category set, and the indicator processing rule of the report can be determined from the candidate indicator processing rule set, so as to achieve the acquisition of the target business category and the indicator processing rule of the report.

[0054] It should be noted that the candidate business category set includes multiple candidate business categories, the multiple candidate business categories include the target business category, the candidate indicator processing rule set includes multiple candidate indicator processing rules, and the multiple candidate indicator processing rules include indicator processing rules for reports.

[0055] In some examples, determining the target business category from the candidate business category set includes obtaining a mapping relationship between the candidate business category and the candidate report category, obtaining the report category, and obtaining the candidate business category having a mapping relationship with the report category as the target business category. It is understandable that different candidate business categories may be mapped to different candidate report categories.

[0056] In some examples, determining the indicator processing rule of the report from the candidate indicator processing rule set includes obtaining a mapping relationship between the candidate indicator processing rule and the candidate indicator category, obtaining the indicator category of the report, and obtaining the candidate indicator processing rule having a mapping relationship with the indicator category of the report as the indicator processing rule of the report. It is understandable that different candidate indicator processing rules may map different candidate indicator categories.

[0057] S102: based on the report downloading condition of the report, a target data set is screened out from the original data set.

[0058] In one embodiment, the report downloading conditions of the report include target condition filtering items under the target condition selection items. Based on the report downloading conditions of the report, the target data set is filtered out from the original data set, including generating a data filtering strategy based on multiple target condition filtering items, and filtering the target data set from the original data set according to the data filtering strategy.

[0059] It should be noted that, based on multiple target condition filtering items, the data filtering strategy can be generated by using any method for generating a filtering strategy in the relevant technology, and no further restrictions are made here. For example, multiple target condition filtering items can be combined according to logical relationships to generate a data filtering strategy. Among them, the logical relationship may include AND, OR, NOT, etc.

[0060] In one embodiment, based on the report downloading condition of the report, the target data set is filtered out from the original data set, including if the report downloading condition of the report includes the target business category of the report, filtering out the original data of the target business category from the original data set, and adding the original data of the target business category to the target data set. Thus, the original data of the target business category can be filtered out from the original data set to obtain the target data set.

[0061] In one embodiment, based on the report downloading conditions of the report, a target data set is filtered out from the original data set, including if the report downloading conditions of the report include the organization of the report, filtering out the original data of the organization of the report from the original data set, and adding the original data of the organization of the report to the target data set.

[0062] S103, based on the indicator processing rules of the report, the target data set is processed to obtain multiple indicators of the report.

[0063] It should be noted that the indicator processing of the target data set based on the indicator processing rules of the report can be implemented by using any indicator processing method in the relevant technology, and no excessive restrictions are made here.

[0064] In one embodiment, the indicator processing rules of the report include indicator processing rules for N indicators of the report, and based on the indicator processing rules of the report, the target data set is indicator processed to obtain multiple indicators of the report, including indicator processing rules based on the i-th indicator of the report, the target data set is indicator processed to obtain the i-th indicator of the report, where i is a positive integer not greater than N.

[0065] S104, generating a report based on multiple indicators of the report.

[0066] It should be noted that the generation of a report based on multiple indicators of the report can be achieved by using any report generation method in the relevant technology, and no excessive restrictions are made here.

[0067] In one embodiment, a report is generated based on multiple indicators of the report, including obtaining the filling positions of the indicators of the report in the report as the filling positions corresponding to the indicators of the report, and filling the multiple indicators of the report into their respective corresponding filling positions to generate the report.

[0068] In summary, according to the report processing method provided by the embodiment of the present disclosure, the configuration data of the report is obtained, wherein the configuration data of the report includes the indicator processing rules of the report and the report downloading conditions of the report, the configuration data of the report is used to generate the report, the configuration data of the report is not fixed, based on the report downloading conditions of the report, the target data set is screened out from the original data set, based on the indicator processing rules of the report, the target data set is processed, and multiple indicators of the report are obtained, and the report is generated based on the multiple indicators of the report. Therefore, compared with the need to customize the development of reports for a certain business in the related art, the configuration data of the report (such as the indicator processing rules and the report downloading conditions) are fixed and cannot be changed. In this solution, the configuration data of the report (such as the indicator processing rules and the report downloading conditions) can be customized, and the configuration data of the report is not fixed, that is, only the configuration data of the report needs to be set or changed to be applicable to the report processing scenarios of different business categories, and there is no need to customize the development of reports for a certain business, which greatly reduces the development workload and development cost required for report processing, improves the efficiency of report processing, and can take into account the report downloading conditions and indicator processing rules to achieve automatic generation of reports.

[0069] Based on any of the above embodiments, the step S101 of acquiring the configuration data of the report includes obtaining the configuration data of the report based on the input operation of the user on the business system. Thus, the user can perform the input operation on the business system, and accordingly, the configuration data of the report can be obtained considering the input operation.

[0070] It should be noted that the business system in the embodiments of the present disclosure refers to a business system for report processing, such as a business system of a financial institution (such as a bank). There are no excessive restrictions on the input operation, such as an input operation for a text box, a selection operation for a menu item in a selection menu, etc.

[0071] In one embodiment, the method further includes displaying a first selection menu on the business system, wherein a first menu item in the first selection menu is used to represent the candidate indicator processing rule. For example, the first menu item corresponds to the candidate indicator processing rule one by one.

[0072] Based on the user's input operation on the business system, configuration data of the report is obtained, including detecting the user's selection operation on the business system for the first target menu item, and using the candidate indicator processing rule corresponding to the first target menu item as the indicator processing rule of the report.

[0073] Thus, the indicator processing rule of the report can be obtained based on the user's selection operation on the first target menu item in the first selection menu.

[0074] It should be noted that the number of the first menu items in the first selection menu is at least one, and the first menu items include the first target menu items.

[0075] For example, a first selection menu may be displayed on the business system, the first selection menu including first menu items 1 to 3, the first menu item 1 is used to represent indicator processing rule D, the first menu item 2 is used to represent indicator processing rule E, and the first menu item 3 is used to represent indicator processing rule F. It should be noted that indicator processing rules D, E, and F are all candidate indicator processing rules.

[0076] For example, it is detected that the user selects the first menu item 1 on the business system, and the indicator processing rule D corresponding to the first menu item 1 is used as the indicator processing rule of the report. It should be noted that in this embodiment, the first menu item 1 is the first target menu item.

[0077] For example, it is detected that the user selects the first menu item 2 on the business system, and the indicator processing rule E corresponding to the first menu item 2 is used as the indicator processing rule of the report. It should be noted that in this embodiment, the first menu item 2 is the first target menu item.

[0078] For example, it is detected that the user selects the first menu item 3 on the business system, and the indicator processing rule F corresponding to the first menu item 3 is used as the indicator processing rule of the report. It should be noted that in this embodiment, the first menu item 3 is the first target menu item.

[0079] In one embodiment, the report download condition of the report includes a target condition filter item under the target condition selection item, and the method further includes displaying a second selection menu on the business system, wherein the second selection menu is used to represent the candidate condition selection item, and the second menu item in the second selection menu is used to represent the candidate condition filter item under the candidate condition selection item. For example, the second menu item has a one-to-one correspondence with the candidate condition filter item under the candidate condition selection item.

[0080] Based on the user's input operations on the business system, configuration data of the report is obtained, including detecting the user's selection operation on the business system for the second target menu item in the second target selection menu, using the candidate condition selection item corresponding to the second target selection menu as the target condition selection item, and using the candidate condition filtering item corresponding to the second target menu item as the target condition filtering item under the target condition selection item.

[0081] Thus, based on the user's selection operation on the second target menu item in the second target selection menu, the target condition filtering item belonging to the target condition selection item can be obtained.

[0082] It should be noted that the number of the second selection menu is at least one, the number of the second menu items in the second selection menu is at least one, the second selection menu includes a second target selection menu, and the second menu items of the second target selection menu include second target menu items.

[0083] For example, the second selection menu G may be displayed on the business system, the second selection menu G is used to represent the organization, the second selection menu G includes second menu items G1 to G3, the second menu item G1 is used to represent organization A, the second menu item G2 is used to represent organization B, and the second menu item G3 is used to represent organization C. It should be noted that organizations A, B, and C are all candidate organizations.

[0084] A second selection menu H may be displayed on the business system, the second selection menu H is used to represent the business category, the second selection menu H includes second menu items H1 to H3, the second menu item H1 is used to represent the business category X, the second menu item H2 is used to represent the business category Y, and the second menu item H3 is used to represent the business category Z. It should be noted that the business categories X, Y, and Z are all candidate business categories.

[0085] For example, when a user selects the second menu item G1 in the second selection menu G on the business system, the organization corresponding to the second selection menu G is used as the target condition selection item, and the organization A corresponding to the second menu item G1 is used as the target condition screening item under the organization. It should be noted that in this embodiment, the second selection menu G is a second target selection menu, and the second menu item G1 is a second target menu item.

[0086] For example, when a user selects the second menu item H2 in the second selection menu H on the business system, the business category corresponding to the second selection menu G is used as the target condition selection item, and the business category Y corresponding to the second menu item H2 is used as the target condition screening item under the business category. It should be noted that in this embodiment, the second selection menu H is a second target selection menu, and the second menu item H2 is a second target menu item.

[0087] Figure 2 It is a flowchart of a report processing method according to the second embodiment of the present disclosure.

[0088] like Figure 2 As shown, the report processing method of the second embodiment of the present disclosure includes the following steps:

[0089] S201, obtaining a newly added service category.

[0090] S202: Add the newly added service category to the candidate service category set.

[0091] It should be noted that the new business category refers to the new business category.

[0092] For example, if the candidate service category set includes service categories X, Y, and Z. It should be noted that service categories X, Y, and Z are all existing service categories. If the newly added service category is service category Q, service category Q can be added to the candidate service category set, and the candidate service category set includes service categories X, Y, Z, and Q.

[0093] S203, obtaining the indicator processing rules corresponding to the newly added business category.

[0094] It is understandable that different business categories may correspond to different indicator processing rules.

[0095] In one embodiment, obtaining the indicator processing rule corresponding to the newly added service category includes obtaining the service configuration parameters of the newly added service category, and obtaining the indicator processing rule corresponding to the newly added service category based on the service configuration parameters of the newly added service category. Thus, the indicator processing rule corresponding to the newly added service category can be obtained by taking into account the service configuration parameters of the newly added service category.

[0096] It should be noted that there are no excessive restrictions on business configuration parameters.

[0097] In some examples, indicator processing rules corresponding to the new business categories are obtained based on the business configuration parameters of the new business categories, including obtaining an indicator processing rule template, configuring the parameters to be configured in the indicator processing rule template based on the business configuration parameters of the new business categories, and obtaining indicator processing rules corresponding to the new business categories.

[0098] In one embodiment, obtaining the indicator processing rule corresponding to the newly added business category includes obtaining a mapping relationship between the candidate business category and the candidate indicator processing rule, and obtaining the candidate indicator processing rule having a mapping relationship with the newly added business category as the indicator processing rule corresponding to the newly added business category. It is understandable that different candidate business categories may be mapped to different candidate indicator processing rules.

[0099] S204: Add the indicator processing rules corresponding to the newly added business category to the candidate indicator processing rule set.

[0100] For example, if the candidate indicator processing rule set includes indicator processing rules D, E, and F. It should be noted that indicator processing rules D, E, and F are all original indicator processing rules. If the newly added business category is business category Q, the indicator processing rule I corresponding to business category Q can be obtained, and the indicator processing rule I is added to the candidate indicator processing rule set, then the candidate indicator processing rule set includes indicator processing rules D, E, F, and I.

[0101] For example, indicator processing rule D is the indicator processing rule corresponding to business category X, indicator processing rule E is the indicator processing rule corresponding to business category Y, and indicator processing rule F is the indicator processing rule corresponding to business category Z.

[0102] S205: Determine a target service category from the candidate service category set.

[0103] S206: Determine the indicator processing rule of the report from the candidate indicator processing rule set.

[0104] S207, based on the report downloading condition of the report, filter out the target data set from the original data set.

[0105] S208, based on the indicator processing rules of the report, the target data set is processed for indicators to obtain multiple indicators of the report.

[0106] S209, generating a report based on multiple indicators of the report.

[0107] For the relevant contents of steps S205-S209, please refer to the above embodiment and will not be repeated here.

[0108] In summary, according to the report processing method provided by the embodiment of the present disclosure, a newly added business category is obtained, the newly added business category is added to the candidate business category set, the indicator processing rule corresponding to the newly added business category is obtained, and the indicator processing rule corresponding to the newly added business category is added to the candidate indicator processing rule set. Therefore, when a business category is added, the newly added business category can be added to the candidate business category set, which can realize the real-time update of the candidate business category set, thereby improving the real-time performance of the target business category of the configuration report, and the indicator processing rule corresponding to the newly added business category is added to the candidate indicator processing rule set, which can realize the real-time update of the candidate indicator processing rule set, thereby improving the real-time performance of the indicator processing rule of the configuration report.

[0109] Figure 3 It is a flowchart of a report processing method according to the third embodiment of the present disclosure.

[0110] like Figure 3 As shown, the report processing method of the third embodiment of the present disclosure includes the following steps:

[0111] S301, obtaining configuration data of a report, wherein the configuration data of the report includes indicator processing rules of the report and report downloading conditions of the report, and the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed.

[0112] S302: based on the report downloading condition of the report, a target data set is filtered out from the original data set.

[0113] S303, based on the indicator processing rules of the report, the target data set is processed for indicators to obtain multiple indicators of the report.

[0114] S304, generating a report based on multiple indicators of the report.

[0115] For the relevant contents of steps S301 - S304 , please refer to the above embodiments and will not be described again here.

[0116] S305, if the report downloading condition of the report is updated, return to execute the report downloading condition based on the report, filter out the target data set from the original data set and its subsequent steps to update the report.

[0117] It can be understood that if the report download conditions of a report are updated, the report download conditions based on the report are returned to be executed, the target data set is filtered out from the original data set and its subsequent steps, and the target data set can be filtered out from the original data set again based on the updated report download conditions of the report, and the indicators of the re-filtered target data set are processed to obtain multiple indicators of the report again to update the report.

[0118] S306, if the indicator processing rule of the report is updated, return to execute the indicator processing rule based on the report, perform indicator processing on the target data set and subsequent steps to update the report.

[0119] It can be understood that if the indicator processing rules of a report are updated, the indicator processing rules based on the report can be returned to execute, and the target data set can be processed with indicators and subsequent steps. Based on the updated indicator processing rules of the report, the target data set can be re-processed with indicators to obtain multiple indicators of the report again to update the report.

[0120] In summary, according to the report processing method provided by the embodiment of the present disclosure, after the report is generated, it also includes if the report downloading condition of the report is updated, returning to execute the report downloading condition based on the report, filtering the target data set from the original data set and its subsequent steps to update the report, and if the indicator processing rule of the report is updated, returning to execute the indicator processing rule based on the report, performing indicator processing on the target data set and its subsequent steps to update the report. Therefore, after the report is generated, when the report downloading condition of the report is updated, or when the indicator processing rule of the report is updated, the report can be regenerated to achieve real-time update of the report.

[0121] Figure 4 4 is a block diagram of a report processing device according to a first embodiment of the present disclosure.

[0122] like Figure 4As shown, the report processing device 400 of the embodiment of the present disclosure includes: an acquisition module 401, a screening module 402, a processing module 403 and a generation module 404.

[0123] The acquisition module 401 is configured to acquire configuration data of a report, wherein the configuration data of the report includes an indicator processing rule of the report and a report download condition of the report, the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed;

[0124] A screening module 402 is configured to screen out a target data set from the original data set based on the report download condition of the report;

[0125] The processing module 403 is configured to perform index processing on the target data set based on the index processing rule of the report to obtain multiple indexes of the report;

[0126] The generating module 404 is configured to generate the report based on the multiple indicators of the report.

[0127] In one embodiment of the present disclosure, the screening module 402 is further configured to: if the report downloading condition of the report includes the target business category of the report, filter out the original data of the target business category from the original data set; and add the original data of the target business category to the target data set.

[0128] In one embodiment of the present disclosure, the report downloading condition of the report includes the target business category of the report, and the acquisition module 401 is further configured to: determine the target business category from a set of candidate business categories; and determine the indicator processing rule of the report from a set of candidate indicator processing rules.

[0129] In one embodiment of the present disclosure, the acquisition module 401 is further configured to: acquire a newly added service category; and add the newly added service category to the candidate service category set.

[0130] In one embodiment of the present disclosure, the acquisition module 401 is further configured to: acquire the indicator processing rule corresponding to the newly added business category; and add the indicator processing rule corresponding to the newly added business category to the candidate indicator processing rule set.

[0131] In an embodiment of the present disclosure, the acquisition module 401 is further configured to: acquire the service configuration parameters of the newly added service category; and obtain the indicator processing rules corresponding to the newly added service category based on the service configuration parameters of the newly added service category.

[0132] In one embodiment of the present disclosure, after the report is generated, the generation module 404 is further configured to: if the report downloading conditions of the report are updated, return to execute the report downloading conditions based on the report, filter out the target data set from the original data set and its subsequent steps to update the report; if the indicator processing rules of the report are updated, return to execute the indicator processing rules based on the report, perform indicator processing on the target data set and its subsequent steps to update the report.

[0133] In one embodiment of the present disclosure, the acquisition module 401 is further configured to obtain configuration data of the report based on an input operation of a user on the business system.

[0134] In one embodiment of the present disclosure, the acquisition module 401 is further configured to: display a first selection menu on the business system, wherein the first menu item in the first selection menu is used to represent candidate indicator processing rules; detect the user's selection operation on the business system for the first target menu item; and use the candidate indicator processing rule corresponding to the first target menu item as the indicator processing rule of the report.

[0135] In one embodiment of the present disclosure, the report download conditions of the report include a target condition filtering item under a target condition selection item, and the acquisition module 401 is further configured to: display a second selection menu on the business system, wherein the second selection menu is used to represent a candidate condition selection item, and the second menu item in the second selection menu is used to represent a candidate condition filtering item under the candidate condition selection item; detect the user's selection operation on the second target menu item in the second target selection menu on the business system; use the candidate condition selection item corresponding to the second target selection menu as the target condition selection item, and use the candidate condition filtering item corresponding to the second target menu item as the target condition filtering item under the target condition selection item.

[0136] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0137] In summary, the report processing device provided by the embodiment of the present disclosure obtains the configuration data of the report, wherein the configuration data of the report includes the indicator processing rules of the report and the report downloading conditions of the report, the configuration data of the report is used to generate the report, the configuration data of the report is not fixed, based on the report downloading conditions of the report, the target data set is screened out from the original data set, based on the indicator processing rules of the report, the target data set is processed, and multiple indicators of the report are obtained, and the report is generated based on the multiple indicators of the report. Therefore, compared with the need to customize the development of reports for a certain business in the related art, the configuration data of the report (such as the indicator processing rules and the report downloading conditions) are fixed and cannot be changed, the configuration data of the report in this solution (such as the indicator processing rules and the report downloading conditions) can be customized, the configuration data of the report is not fixed, that is, only the configuration data of the report needs to be set or changed to be applicable to the report processing scenarios of different business categories, and there is no need to customize the development of reports for a certain business, which greatly reduces the development workload and development cost required for report processing, improves the efficiency of report processing, and can take into account the report downloading conditions and indicator processing rules to achieve automatic generation of reports.

[0138] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment.

[0139] like Figure 5 As shown, the electronic device 500 includes:

[0140] The memory 510 and the processor 520, a bus 530 connecting different components (including the memory 510 and the processor 520), the memory 510 stores a computer program, and when the processor 520 executes the program, the report processing method described in the embodiment of the present disclosure is implemented.

[0141] Bus 530 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0142] The electronic device 500 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 500, including volatile and non-volatile media, removable and non-removable media.

[0143] The memory 510 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 540 and / or cache memory 550. The electronic device 500 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 560 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 530 via one or more data medium interfaces. The memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0144] A program / utility 580 having a set (at least one) of program modules 570 may be stored, for example, in the memory 510, such program modules 570 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 570 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0145] The electronic device 500 may also communicate with one or more external devices 590 (e.g., keyboard, pointing device, display 591, etc.), one or more devices that enable a user to interact with the electronic device 500, and / or any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 592. Furthermore, the electronic device 500 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 593. Figure 5 As shown, the network adapter 593 communicates with other modules of the electronic device 500 via the bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0146] The processor 520 executes various functional applications and data processing by running the programs stored in the memory 510 .

[0147] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the report processing method of the embodiment of the present disclosure, which will not be repeated here.

[0148] In summary, the electronic device provided by the embodiment of the present disclosure can execute the report processing method as described above to obtain the configuration data of the report, wherein the configuration data of the report includes the index processing rules of the report and the report downloading conditions of the report, the configuration data of the report is used to generate the report, the configuration data of the report is not fixed, based on the report downloading conditions of the report, the target data set is screened out from the original data set, based on the index processing rules of the report, the target data set is index processed to obtain multiple indicators of the report, and the report is generated based on the multiple indicators of the report. Therefore, compared with the need to customize the development of reports for a certain business in the related art, the configuration data of the report (such as the index processing rules and the report downloading conditions) are fixed and cannot be changed, the configuration data of the report in this solution (such as the index processing rules and the report downloading conditions) can be customized, the configuration data of the report is not fixed, that is, only the configuration data of the report needs to be set or changed to be applicable to the report processing scenarios of different business categories, and there is no need to customize the development of reports for a certain business, which greatly reduces the development workload and development cost required for report processing, improves the efficiency of report processing, and can take into account the report downloading conditions and the index processing rules to achieve automatic generation of reports.

[0149] In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.

[0150] When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can perform the above-mentioned, or perform the above-mentioned report processing method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0151] In order to implement the above embodiments, the present disclosure further provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the report processing method as described above is implemented.

[0152] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0153] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A report processing method, It is characterized in that include: Acquire configuration data of the report, wherein the configuration data of the report includes indicator processing rules of the report and report download conditions of the report, the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed; Based on the report downloading condition of the report, a target data set is filtered out from the original data set; Based on the indicator processing rules of the report, the target data set is processed with indicators to obtain multiple indicators of the report; The report is generated based on the multiple indicators of the report.

2. The method according to claim 1, It is characterized in that The report downloading condition based on the report, filtering out the target data set from the original data set, includes: If the report download condition of the report includes the target business category of the report, filtering out the original data of the target business category from the original data set; The original data of the target business category is added to the target data set.

3. The method according to claim 1, It is characterized in that The report downloading condition of the report includes the target business category of the report, and the configuration data for obtaining the report includes: Determine the target service category from a set of candidate service categories; The indicator processing rule of the report is determined from the candidate indicator processing rule set.

4. The method according to claim 3, It is characterized in that The method further comprises: Get new business categories; The newly added service category is added to the candidate service category set.

5. The method according to claim 4, It is characterized in that The method further comprises: Obtaining the indicator processing rules corresponding to the newly added business category; The indicator processing rules corresponding to the newly added business category are added to the candidate indicator processing rule set.

6. The method according to claim 5, It is characterized in that The obtaining of the indicator processing rule corresponding to the newly added service category includes: Obtaining service configuration parameters of the newly added service category; Based on the service configuration parameters of the newly added service category, an indicator processing rule corresponding to the newly added service category is obtained.

7. The method according to claim 1, It is characterized in that After generating the report, the method further includes: If the report downloading condition of the report is updated, returning to execute the report downloading condition based on the report, filtering out the target data set from the original data set and the subsequent steps, so as to update the report; If the indicator processing rule of the report is updated, the indicator processing rule based on the report is returned to be executed, and the indicator processing and subsequent steps are performed on the target data set to update the report.

8. The method according to claim 1, It is characterized in that The configuration data of the report is obtained, including: Based on the user's input operation on the business system, the configuration data of the report is obtained.

9. The method according to claim 8, It is characterized in that The method further comprises: Displaying a first selection menu on the business system, wherein a first menu item in the first selection menu is used to represent a candidate indicator processing rule; The configuration data of the report is obtained based on the input operation of the user on the business system, including: detecting a selection operation of the user on the business system for a first target menu item; The candidate indicator processing rule corresponding to the first target menu item is used as the indicator processing rule of the report.

10. The method according to claim 8, It is characterized in that The report downloading condition of the report includes a target condition screening item under the target condition selection item, and the method further includes: Displaying a second selection menu on the business system, wherein the second selection menu is used to represent a candidate condition selection item, and a second menu item in the second selection menu is used to represent a candidate condition screening item subordinate to the candidate condition selection item; The configuration data of the report is obtained based on the input operation of the user on the business system, including: detecting a selection operation of the user on the business system for a second target menu item in a second target selection menu; The candidate condition selection item corresponding to the second target selection menu is used as the target condition selection item, and the candidate condition screening item corresponding to the second target menu item is used as the target condition screening item subordinate to the target condition selection item.

11. A report processing device, It is characterized in that include: An acquisition module is configured to acquire configuration data of a report, wherein the configuration data of the report includes an indicator processing rule of the report and a report download condition of the report, the configuration data of the report is used to generate the report, and the configuration data of the report is not fixed; A screening module is configured to screen out a target data set from an original data set based on a report download condition of the report; A processing module is configured to perform indicator processing on the target data set based on the indicator processing rule of the report to obtain a plurality of indicators of the report; The generating module is configured to generate the report based on multiple indicators of the report.

12. The device according to claim 11, It is characterized in that The screening module is further configured to: If the report download condition of the report includes the target business category of the report, filtering out the original data of the target business category from the original data set; The original data of the target business category is added to the target data set.

13. The device according to claim 11, It is characterized in that The report downloading condition of the report includes the target business category of the report, and the acquisition module is further configured to: Determine the target service category from a set of candidate service categories; The indicator processing rule of the report is determined from the candidate indicator processing rule set.

14. The device according to claim 13, It is characterized in that The acquisition module is further configured to: Get new business categories; The newly added service category is added to the candidate service category set.

15. The device according to claim 14, It is characterized in that The acquisition module is further configured to: Obtaining the indicator processing rules corresponding to the newly added business category; The indicator processing rules corresponding to the newly added business category are added to the candidate indicator processing rule set.

16. The device according to claim 15, It is characterized in that The acquisition module is further configured to: Obtaining service configuration parameters of the newly added service category; Based on the service configuration parameters of the newly added service category, an indicator processing rule corresponding to the newly added service category is obtained.

17. The device according to claim 11, It is characterized in that After generating the report, the generating module is further configured to: If the report downloading condition of the report is updated, returning to execute the report downloading condition based on the report, filtering out the target data set from the original data set and the subsequent steps, so as to update the report; If the indicator processing rule of the report is updated, the indicator processing rule based on the report is returned to be executed, and the indicator processing and subsequent steps are performed on the target data set to update the report.

18. The device according to claim 11, It is characterized in that The acquisition module is further configured to: Based on the user's input operation on the business system, the configuration data of the report is obtained.

19. The device according to claim 18, It is characterized in that The acquisition module is further configured to: Displaying a first selection menu on the business system, wherein a first menu item in the first selection menu is used to represent a candidate indicator processing rule; detecting a selection operation of the user on the business system for a first target menu item; The candidate indicator processing rule corresponding to the first target menu item is used as the indicator processing rule of the report.

20. The device according to claim 18, It is characterized in that The report downloading condition of the report includes a target condition screening item under the target condition selection item, and the acquisition module is further configured to: Displaying a second selection menu on the business system, wherein the second selection menu is used to represent a candidate condition selection item, and a second menu item in the second selection menu is used to represent a candidate condition screening item subordinate to the candidate condition selection item; detecting a selection operation of the user on the business system for a second target menu item in a second target selection menu; The candidate condition selection item corresponding to the second target selection menu is used as the target condition selection item, and the candidate condition screening item corresponding to the second target menu item is used as the target condition screening item subordinate to the target condition selection item.

21. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the report processing method according to any one of claims 1 to 10.

22. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the report processing method according to any one of claims 1 to 10.

23. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the report processing method according to any one of claims 1 to 10 is implemented.