A method, device, equipment and storage medium for making a report
By acquiring and importing target data online, generating chart components, and configuring reports, the problem of low efficiency in business reporting has been solved, enabling efficient PPT report creation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NANJING YAXIN SOFTWARE CO LTD
- Filing Date
- 2021-07-26
- Publication Date
- 2026-05-26
AI Technical Summary
During business reporting, business analysts need to communicate with IT staff multiple times to obtain business data, which leads to low efficiency and a high risk of errors in creating PPT reports.
By acquiring target data, blank chart components, and template reports based on user input commands, generating target chart components, and configuring template reports according to drag-and-drop instructions, online data import and report generation are achieved.
It saves users communication costs in obtaining data, reduces human configuration errors, and improves report production efficiency.
Smart Images

Figure CN114595672B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of business analysis, and more specifically, to a method, apparatus, device, and storage medium for generating reports. Background Technology
[0002] Generally, in scenarios requiring business data for reporting, business analysts first manually create various visualizations based on the business data, then configure these visualizations into a PowerPoint presentation, and finally display them in the PowerPoint report for business reporting. For the business data needed in the visualizations, business analysts need to communicate with IT personnel multiple times. The IT personnel then determine the required business data based on these communications, perform filtering, summarizing, and calculations on the large amount of data in the database, and finally export the necessary business data. Based on the exported business data, the business analysts manually create visualizations and then use these visualizations to create the PowerPoint report.
[0003] However, this process requires business analysts to communicate multiple times with IT personnel to obtain the necessary business data, leading to excessive reliance on IT staff. Furthermore, the manual creation and communication process is prone to errors. Therefore, producing PowerPoint reports is not very efficient. Summary of the Invention
[0004] The purpose of this application is to address at least one of the aforementioned technical deficiencies, particularly the technical deficiency of low efficiency in PPT report production.
[0005] According to one aspect of this application, a method for producing a report is provided, the method comprising:
[0006] Based on the user's input instructions, retrieve the first target data, blank chart components, and template report;
[0007] Import the first target data into the blank chart component to generate the target chart component;
[0008] Configure a template report based on the user's drag-and-drop instructions for the target chart component to generate the target report.
[0009] According to another aspect of this application, an apparatus for generating a report is provided, the apparatus comprising:
[0010] The acquisition module is used to acquire the first target data, blank chart components, and template reports based on the user's input operation instructions;
[0011] The import module is used to import the first target data into the blank chart component and generate the target chart component.
[0012] The configuration module is used to configure the template report based on the target chart component and generate the target report.
[0013] According to another aspect of this application, an electronic device is provided, the electronic device comprising:
[0014] Processor; and
[0015] The memory is configured to store machine-readable instructions that, when executed by the processor, cause the processor to perform operations corresponding to the method of generating a report as described in one of the preceding aspects.
[0016] According to another aspect of this application, a computer-readable storage medium is provided for storing computer instructions that, when executed on a computer, enable the computer to perform operations corresponding to the report-making method described in the preceding aspect.
[0017] The beneficial effects of the technical solution provided in this application are:
[0018] This application provides a method for generating reports. Based on user-inputted instructions, it acquires first target data, a blank chart component, and a template report. The first target data is imported into the blank chart component to generate a target chart component. The template report is then configured based on the target chart component to generate the target report. This method acquires target data and a blank chart component online based on input instructions, and imports the target data into the blank chart component to obtain the target chart component. This technique saves users communication costs when acquiring data. Subsequently, the template report is configured based on the generated target chart component to generate the target report, effectively reducing errors caused by manual template report configuration. In summary, the report generation method provided by this application effectively improves the efficiency of report generation. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.
[0020] Figure 1 A flowchart illustrating a method for generating a report, provided as an embodiment of this application;
[0021] Figure 2 A schematic diagram of the structure of a report generation system provided in this application embodiment;
[0022] Figure 3 This is a schematic diagram of a report-generating apparatus provided in an embodiment of this application. Detailed Implementation
[0023] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0024] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.
[0025] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0026] First, let's introduce and explain several terms used in this application:
[0027] PPT: Short for PowerPoint, it mainly refers to electronic slideshows, essentially a document format with text and images side-by-side, often used for presentations and reports to demonstrate various information. Microsoft Office provides a PPT creation tool, and Kingsoft WPS Office also offers one. The tools mentioned in the background section for business personnel to create PPT reports generally refer to Microsoft Office or Kingsoft WPS Office, etc.
[0028] Chart components: These are various charts that represent data, text, etc., including text box components, pie chart components, bar chart components, line chart components, and mixed chart components. The aforementioned PowerPoint software includes many types of chart components.
[0029] Office Open XML (OOXML) is an international document format standard that supports storing documents in segments within a file package. This standard also supports other operations. In short, documents based on this standard can be assembled into the aforementioned PPT report.
[0030] This application provides a method for generating reports, applicable to general terminals, which should have a report generation application installed on them. The application should be configured with a database providing data, the database type being unrestricted; the application should be configured with a chart library providing chart components, the type and number of components in the chart library being unrestricted; the application should also provide a function to play the report. This application embodiment allows for the analysis of the number of users operated by a telecommunications operator based on the report generation method provided in this application embodiment, and the method involved in this application embodiment is described in detail.
[0031] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0032] This application provides a method for generating a report, such as... Figure 1 As shown, the method includes:
[0033] S110: Based on the user's input operation instructions, obtain the first target data, blank chart component, and template report;
[0034] S120, Import the first target data into the blank chart component to generate the target chart component;
[0035] S130: Configure a template report based on the user's drag-and-drop instructions for the target chart component to generate the target report.
[0036] After the template report configuration is completed, it can receive user input to generate the target report; or, it can automatically generate the target report.
[0037] In this embodiment, after generating the target report, the following steps are also included:
[0038] Play the target report online. This can be done either automatically after the target report is generated, or by receiving a playback command from the user.
[0039] In this embodiment, after generating the target report, the following steps are also included:
[0040] The system receives modification instructions from the user and modifies the target report. The user may have new ideas regarding the data referenced in the target report, the template report, or the chart components within the target report. Therefore, the report creation method in this embodiment further includes modifications to the target report to meet the user's modification needs.
[0041] The report generation method provided in this application involves obtaining first target data, a blank chart component, and a template report based on user-inputted operation instructions. The first target data is then imported into the blank chart component to generate a target chart component. Finally, the template report is configured based on the target chart component to generate the target report. This method obtains target data and a blank chart component online based on input operation instructions, and imports the target data into the blank chart component to obtain the target chart component. This technique saves users communication costs when obtaining data. Subsequently, the template report is configured based on the generated target chart component to generate the target report, effectively reducing errors caused by manual template report configuration. In summary, the report generation method provided in this application effectively improves the efficiency of report generation.
[0042] This application embodiment also provides a possible implementation method, wherein the operation instructions in S110 include a first selection instruction, a second selection instruction, and a third selection instruction, and S110 specifically includes S111 (not shown in the figure), S112 (not shown in the figure), and S113 (not shown in the figure), specifically:
[0043] S111, retrieve the first target data from the pre-configured database according to the first selection instruction;
[0044] Specifically, the first initial data is obtained from the database based on indicators and dimensions; the first initial data is then processed through indicator functions to obtain the first target data.
[0045] In this context, the database is pre-configured by the terminal for the application based on the user's needs. When the data the user needs to analyze comes from a MySQL database, the user can send a database configuration command carrying the database identifier to the terminal, which then configures the application with the corresponding MySQL database based on this command. Furthermore, the data in the database can be stored in two specific formats: metrics and dimensions. A database that stores data based on metrics and dimensions can provide data according to the metrics and dimensions specified in the data retrieval request.
[0046] For example, for the analysis of users of a certain operator, the indicators can be set as "number of new users" and "number of users lost"; the dimensions can be set as: user gender (male, female, unknown), user city (Nanjing, Suzhou, Wuxi and other 13 cities in Jiangsu), package type (M-Zone, Global Pass, Easy Own), etc.; the data obtained from the database is the data of new users each month.
[0047] For example, the metric is "New User Count," and the dimension is "13 cities in Jiangsu Province, including Nanjing, Suzhou, and Wuxi." The data retrieved is the details of new user data from the current time back two years. This retrieved data is the first initial data. The metric function can be set to a month-on-month function, specifically showing the ratio of the current month's new user count to the previous month's new user count, resulting in target data 1. Alternatively, the metric function can be set to a year-on-year function, specifically showing the ratio of the current month's new user count to the new user count of the same month in the previous year, resulting in target data 2. Another option is to set the metric function to a proportional function, specifically calculating the proportion of each city's new user count to the total number of new users in Jiangsu Province in a given month, resulting in the corresponding proportion for each city, i.e., target data 3. Finally, the metric function can be set to a sorting function, specifically sorting the new user count of each city in a given month in descending order, resulting in a set of data, i.e., target data 4. Target data 1, 2, 3, and 4 constitute the first target data mentioned above. The first target data can be any one of target data 1-4, or it can be the entirety of target data 1-4.
[0048] It should be noted that the type of database in this application embodiment is not limited. The MySQL type is only used to describe this application embodiment and is not intended to limit this application embodiment. Any database capable of providing the first target data can be used as a pre-configured database. The indicators and dimensions listed in this application embodiment are also not limited, and are merely used to illustrate the report generation method provided by this application embodiment.
[0049] S112, Obtain a blank chart component from a pre-configured chart library according to the second selection instruction, wherein the second selection instruction carries a component identifier.
[0050] Specifically, blank chart components are determined from the chart library based on component identifiers. The chart library pre-stores multiple blank chart components, each of which is stored with a unique identifier.
[0051] The second selection instruction can also carry parameters such as the position of the chart component, its type, the color of the graphic or text, and the chart theme to enrich the selected chart component.
[0052] The chart library contains multiple pre-stored blank chart components, each with a corresponding component identifier. These chart components can be various types of visual charts, including bar charts, pie charts, line charts, and mixed charts.
[0053] For example, when selecting a chart component, one can also choose its theme or display method. For instance, when using a bar chart component for the target data 4 mentioned above, the color of the bars corresponding to each data point can be determined to be uniform or different. Furthermore, a special display format can be adopted for the bars corresponding to the top three cities where new users occupy the top three positions. This special display format could be that the display color of the bars corresponding to the top three cities is different from the colors of other bars, or that the bars corresponding to the top three cities have a shadow effect, etc. Other display formats that can achieve special display effects are also applicable to the embodiments of this application.
[0054] For example, the chart component determined for target data 3 is a pie chart component. It can format the proportion of each city, setting the data format of the proportion as a percentage, and displaying the proportion data in the corresponding position. For instance, if the proportion of Nanjing is 0.13666987…, after conversion to a percentage and retaining two decimal places, it becomes 13.66%. Therefore, the number displayed for Nanjing in the corresponding position of the pie chart component is 13.66%.
[0055] S113, retrieve a template report from the pre-configured template report library according to the third selection instruction. The template report library contains multiple pre-stored template reports, including user-uploaded template reports.
[0056] Each template report has a unique template identifier, which is carried in the third selection instruction. Additionally, the third selection instruction can also include the template report's subject, page number, etc., to enrich the selected template report.
[0057] The terminal comes pre-configured with a corresponding template report library, similar to master slides in PowerPoint. It provides basic templates, and the terminal can also receive user-input template adjustment commands to add themes, colors, font sizes, fonts, or increase the number of pages in the template report. The terminal application also supports user-inputted custom template reports, enabling the creation of target reports based on user-uploaded template reports.
[0058] The target data 1-4 mentioned above are all based on the number of new users in the past two years. If a user wants to obtain the number of new users for each subsequent month, it needs to be obtained again, the target data needs to be regenerated, and components, templates, and reports need to be selected again. This makes the whole process overly cumbersome.
[0059] To address this technical problem, this application also provides a possible implementation, specifically including steps S210-S230 (not shown in the figures):
[0060] S210, periodically retrieves second initial data from the database based on indicators and dimensions;
[0061] For example, the data acquisition period is set to one month or one year, and the second initial data is retrieved again from the pre-configured database. The specific period can be set according to the user's needs, and this application embodiment does not impose any restrictions.
[0062] S220, the second initial data is processed through an index function to obtain the second target data;
[0063] For example, the second initial data is processed to obtain new target data 1-4, which are the second target data. The second target data can be any one of the target data 1-4, or the entirety of the target data 1-4.
[0064] S230, Update the target report based on the second target data.
[0065] The second target data was imported into the target report, resulting in a new target report.
[0066] Once a new target report is obtained, it can be sent to the user via email.
[0067] The technical solution for periodically updating target reports provided in this application can effectively solve the above-mentioned technical problems. When users are analyzing business processes, if only data needs to be updated, the data in the original target report can be updated periodically directly.
[0068] While this application provides online playback and modification of target reports, these operations are limited to the applications provided by the terminal. In reality, most users view reports using Microsoft Office or WPS Office provided by Kingsoft. Therefore, failing to generate the report in the specified PPT format will limit the audience for viewing the target report.
[0069] Therefore, this application embodiment also provides a possible implementation method, in which the terminal further provides parsing services and offline report generation services. Through these two services, the target report can be generated as an offline report to solve the above-mentioned technical problems. The specific process is S310-S330 (not shown in the figure), specifically:
[0070] S310: Based on the user's input command to generate an offline report, parse the target report to obtain a template report, a data file, and parsed data. The parsed data includes attribute information for all components in the target report, and the data file contains data corresponding to each component.
[0071] The process of parsing the target report can refer to the Office Open XML standard to obtain the corresponding data file. The parsed data may specifically include the report's page numbers, chart component attribute information (e.g., chart component layout / color scheme / font size / type), and the data file itself, which includes the data configured for each chart component.
[0072] The parsed data also includes data identifiers corresponding to the chart components, which are used to retrieve the data corresponding to the chart components from the data file.
[0073] S320: Construct the corresponding blank component in the template report based on the attribute information of each component;
[0074] S330 imports data from a data file into the corresponding blank component to generate an offline report, which has editable properties.
[0075] Specifically, by using data identifiers, the correspondence between data in the data file and chart components is determined, and the data is imported one by one into the corresponding chart components.
[0076] The generated offline report has file attributes that are basically the same as those of the PPT report associated with the Office software in terms of editability and viewability. For example, it can be viewed and edited in the Office software mentioned in the above embodiments of this application.
[0077] One possible implementation also includes a function to download offline reports. Specifically, the report can be automatically downloaded to the local machine after it is generated; or it can be downloaded based on a user-inputted download command; or the offline report can be sent to the email addresses of designated subscribers through a pre-set subscription.
[0078] The parsing and report generation services provided by the terminal application in this embodiment can generate corresponding offline reports based on the target report, effectively increasing the audience of the target report. Furthermore, the offline report is editable, allowing it to be updated based on user needs. Overall, the method provided in this embodiment offers a better user experience.
[0079] This application also provides another possible implementation from a specific implementation perspective, as follows: Figure 2 The system shown is for creating reports. This system primarily provides three service modules: a web-based report creation service, a report parsing service, and an offline report generation service. Specifically:
[0080] (1) Report creation service based on Web technology.
[0081] On one hand, this module includes a pre-configured database. The data in this database is stored in terms of both metrics and dimensions. The system can receive a first selection instruction from the user, carrying the metrics and dimensions, select initial data from the pre-configured database, and process the initial data according to the metric function carried in the first selection instruction to obtain the first target data. For example... Figure 2 As shown, multiple metrics and dimensions can be set.
[0082] On the other hand, this section also includes a pre-configured library of visual chart components. This library comprises multiple chart components, each with a unique identifier. The system can receive a second selection command from the user, carrying the component identifier, and select the corresponding blank chart component from the pre-configured library. For example... Figure 2 As shown, the visualization chart component library can include text boxes, tables, line charts, etc.
[0083] On another front, this module also includes a pre-configured template report library. This library contains multiple pre-stored template reports, each with a unique template identifier. Furthermore, the system can receive user-input commands to upload template reports, allowing it to receive user-created template reports. The system can also receive user-input commands carrying template identifiers for a third selection, in order to retrieve the corresponding template report.
[0084] On another front, the system also provides a function for periodically updating target reports through this module. The key to this function is setting an update cycle for the generated target reports, which is primarily used to update the data source of the target reports. Specifically, the system periodically retrieves second initial data from a pre-set database based on the indicators and dimensions carried in the first selection instruction, then processes the second initial data according to the indicator function carried in the first selection instruction to obtain second target data, and finally updates the target report based on the second target data.
[0085] On the other hand, the system also provides the function of playing target reports through this section. Specifically, when a target report is generated, it is played automatically; or the system plays the target report upon receiving a playback command from the user.
[0086] (2) Parsing services for target reports and offline report generation services.
[0087] The system receives a user-input command to generate an offline report and performs two steps on the target report. First, it parses the target report using a parsing service to obtain a template report, a data file, and parsed data. During the parsing process, the Office Open XML standard can be referenced. Second, based on the results obtained in the first step, it generates an offline report using an offline report generation service. Furthermore, the operational attributes of this offline report are essentially consistent with the editable and viewable attributes of PowerPoint reports in the Office suite; for example, it can be viewed and edited within the Office suite mentioned in the above embodiments of this application.
[0088] The system also provides an offline report generation service, allowing users to download offline reports. Specifically, the offline report can be automatically downloaded to the local device after generation; or it can be downloaded by receiving a download command from the user; or the offline report can be sent to the email addresses of designated subscribers through a pre-set subscription.
[0089] This application provides an apparatus for generating reports, such as... Figure 3 As shown, the device 30 may include: an acquisition module 301, an import module 302, a configuration module 303, and a generation module 304, wherein,
[0090] The acquisition module 301 is used to acquire the first target data, blank chart component and template report according to the operation instructions input by the user;
[0091] Import module 302 is used to import the first target data into the blank chart component and generate the target chart component;
[0092] Configuration module 303 is used to configure the template report based on the user's drag-and-drop instructions for the target chart component;
[0093] The generation module 304 is used to receive the generation command input by the user, generate the target report according to the configured template report, or automatically generate the target report after the configuration is completed.
[0094] This application embodiment also provides a possible implementation, in which the acquisition module 301 acquires the first target data, the blank chart component, and the template report based on the user's input operation instructions, specifically for:
[0095] The first target data is retrieved from the pre-configured database according to the first selection instruction;
[0096] Specifically, the first initial data is obtained from the database based on the indicators and dimensions; wherein the first selection instruction carries the indicators, dimensions and indicator functions.
[0097] The first initial data is processed by the index function to obtain the first target data.
[0098] Retrieve blank chart components from the pre-configured chart library according to the second selection instruction;
[0099] Specifically, a blank chart component is determined from the chart library based on the component identifier, wherein multiple blank chart components are pre-stored in the chart library. The second selection instruction carries the component identifier.
[0100] The template report is retrieved from the pre-configured template report library according to the third selection instruction.
[0101] The template report library contains multiple pre-stored template reports, including user-uploaded template reports.
[0102] This application embodiment also provides a possible implementation, in which the device 30 further includes a playback module 305, specifically used for online playback of target reports.
[0103] This includes the ability to automatically play the target report after it is generated, or to play the target report upon receiving a playback command from the user.
[0104] This application embodiment also provides a possible implementation, wherein the acquisition module 301 is further configured to periodically acquire data to update the target report, specifically,
[0105] The acquisition module 301 is also used to periodically retrieve second initial data from the database based on indicators and dimensions;
[0106] The second initial data is processed by an index function to obtain the second target data;
[0107] Import module 302 and configuration module 303 are also used to update the target report based on the first target data.
[0108] This application embodiment also provides a possible implementation, in which the device 30 further includes a parsing module 306 and an offline report generation module 307, specifically,
[0109] The parsing module 306 is used to parse the target report according to the user's input command to generate an offline report, and obtain a template report, a data file and parsed data. The parsed data includes the attribute information of all components in the target report, and the data file includes the data corresponding to each component.
[0110] The offline report generation module 307 is used to construct a corresponding blank component in the template report based on the attribute information of each component, and import the data from the data file into the corresponding blank component to generate an offline report. The offline report has editing functions.
[0111] The report-generating apparatus of this embodiment can execute the report-generating method shown in the foregoing embodiments of this application, and its implementation principle is similar, so it will not be described again here.
[0112] This application provides an electronic device, which includes:
[0113] Processor; and
[0114] The memory is configured to store machine-readable instructions that, when executed by a processor, cause the processor to perform operations corresponding to any of the report-generating methods described in the foregoing embodiments of this application.
[0115] This application provides a computer-readable storage medium for storing computer instructions that, when executed on a computer, enable the computer to perform operations corresponding to any of the report-generating methods described in the above embodiments of this application.
[0116] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0117] The above description is only a partial embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for generating a report, characterized in that, include: Based on the user's input instructions, retrieve the first target data, blank chart components, and template report; Import the first target data into the blank chart component to generate the target chart component; Configure the template report based on the drag-and-drop instructions input by the user for the target chart component to generate the target report; Based on the user's input command to generate an offline report, the target report is parsed to obtain the template report, data file, and parsed data. The parsed data includes the attribute information of the chart components in the target report, the data identifiers corresponding to the chart components, and the page number of the report. The data file includes the data configured in each chart component, and the data identifiers are used to obtain the data corresponding to the chart component from the data file. Based on the attribute information of the chart component, construct the corresponding blank component in the template report; The correspondence between the data in the data file and the chart components is determined by the data identifier. The data is then imported into the corresponding blank component to generate an offline report in PPT format, wherein the offline report has editable attributes.
2. The method according to claim 1, characterized in that, The step of obtaining the first target data, blank chart component, and template report based on the user's input operation instructions includes: The first target data is retrieved from the pre-configured database according to the first selection instruction; The blank chart component is retrieved from the pre-configured chart library according to the second selection instruction; The template report is retrieved from the pre-configured template report library according to the third selection instruction.
3. The method according to claim 2, characterized in that, The first selection instruction carries indicators, dimensions, and indicator functions. The step of retrieving the first target data from a pre-configured database according to the first selection instruction includes: First initial data is obtained from the database based on the stated indicators and dimensions; The first initial data is processed by the index function to obtain the first target data.
4. The method according to claim 2, characterized in that, The second selection instruction carries a component identifier, and the step of retrieving the blank chart component from a pre-configured chart library according to the second selection instruction includes: The blank chart component is determined from the chart library based on the component identifier, wherein the chart library pre-stores multiple blank chart components.
5. The method according to claim 2, characterized in that, The template report library contains multiple template reports, including the template report uploaded by the user.
6. The method according to claim 3, characterized in that, The method further includes: Periodically retrieve second initial data from the database based on the stated indicators and dimensions; The second initial data is processed by the index function to obtain the second target data; The target report is updated based on the second target data.
7. The method according to any one of claims 1-6, characterized in that, Also includes: Play the target report online.
8. An apparatus for generating reports, characterized in that, include: The acquisition module is used to acquire the first target data, blank chart components, and template reports based on the user's input operation instructions; The import module is used to import the first target data into the blank chart component to generate the target chart component; The configuration module is used to configure the template report according to the drag-and-drop instructions input by the user for the target chart component, so as to generate the target report; The parsing module is used to parse the target report according to the user's input command to generate an offline report, and obtain the template report, data file and parsed data. The parsed data includes the attribute information of the chart components in the target report, the data identifiers corresponding to the chart components and the page number of the report. The data file includes the data configured in each chart component. The data identifiers are used to obtain the data corresponding to the chart component from the data file. The offline report generation module is used to construct corresponding blank components in the template report based on the attribute information of the chart components; through the data identifier, the correspondence between the data in the data file and the chart components is determined, the data is imported into the corresponding blank components, and an offline report in PPT format is generated, wherein the offline report has editable attributes.
9. An electronic device, characterized in that, The electronic device includes: Processor; and The memory is configured to store machine-readable instructions that, when executed by the processor, cause the processor to perform the operations corresponding to the method of producing a report as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store computer instructions that, when executed on a computer, enable the computer to perform the operations corresponding to the method for generating a report as described in any one of claims 1-7.