Analysis report generation method and device, equipment, medium and product

Through preset report templates and robot process automation technology, the problem of analytical report generation with scattered data sources and complex formats in the financial industry is solved, and rapid and accurate automated report generation is achieved.

CN120493883APending Publication Date: 2025-08-15AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202510589268.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The prior art is difficult to automatically generate analysis reports with dispersed data sources and complex formats in the financial industry, and cannot meet the requirements of fast and accurate generation.

Method used

Automate the acquisition, processing and filling of data to generate analysis reports with preset report templates, robot process automation technologies and configuration files.

Benefits of technology

It realizes the automation of data acquisition, processing and filling, and quickly and accurately generates analysis reports, improving the efficiency and accuracy of generating reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120493883A_ABST
    Figure CN120493883A_ABST
Patent Text Reader

Abstract

The invention discloses an analysis report generation method and device, equipment, a medium and a product. The method comprises the steps of determining a target report template in response to an analysis report generation request, and analyzing the target report template to determine a to-be-filled variable in the target report template; determining a corresponding data acquisition strategy according to the data type corresponding to the to-be-filled variable, and acquiring target data from at least two target systems based on a preset robot process automation technology and the data acquisition strategy; and according to a preset configuration file and the target data, determining a variable type and target filling information corresponding to the to-be-filled variable so as to execute a corresponding filling operation on the target report template, and generating a target analysis report. According to the technical scheme, the preset report template and the configuration file can be utilized to automatically perform data acquisition, processing and filling, so that the analysis report is quickly and accurately generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data processing technology, and in particular to an analysis report generation method, device, equipment, medium and product. Background Art

[0002] With the advancement of big data processing technology, banking and other financial industries are facing a significant increase in data analysis and report writing tasks, which are applied in areas such as risk assessment, investment decision-making, and information disclosure. While some systems can currently generate limited, fixed-format reports based on their own data, processing rules, and presentation tools, fully automated report generation is difficult to achieve in scenarios where data sources are dispersed and unconnected, or report formats are complex and flexible.

[0003] Faced with reports with high data accuracy, complex data formats, and large data volumes, large language models cannot directly meet the generation requirements and require various auxiliary solutions.

[0004] Therefore, how to automatically acquire, process and fill data so as to quickly and accurately generate analysis reports is an urgent problem that needs to be solved. Summary of the Invention

[0005] The present invention provides an analysis report generation method, apparatus, device, medium and product to automatically acquire, process and fill data, thereby quickly and accurately generating an analysis report.

[0006] According to one aspect of the present invention, a method for generating an analysis report is provided, comprising:

[0007] In response to the analysis report generation request, determining a target report template, and parsing the target report template to determine variables to be filled in the target report template;

[0008] Determine a corresponding data acquisition strategy according to the data type corresponding to the variable to be filled, and acquire target data from at least two target systems based on preset robotic process automation technology and data acquisition strategy;

[0009] According to the preset configuration file and target data, the variable type and target filling information corresponding to the variable to be filled are determined to perform the corresponding filling operation on the target report template to generate a target analysis report.

[0010] According to another aspect of the present invention, there is provided an analysis report generating apparatus, comprising:

[0011] a determination module, configured to determine a target report template in response to an analysis report generation request, and parse the target report template to determine variables to be filled in the target report template;

[0012] an acquisition module, configured to determine a corresponding data acquisition strategy according to a data type corresponding to a variable to be filled, and acquire target data from at least two target systems based on a preset robotic process automation technology and a data acquisition strategy;

[0013] The generation module is used to determine the variable type and target filling information corresponding to the variable to be filled according to the preset configuration file and target data, so as to perform the corresponding filling operation on the target report template and generate a target analysis report.

[0014] According to another aspect of the present invention, an electronic device is provided, comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the analysis report generating method according to any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the analysis report generation method according to any embodiment of the present invention when executed.

[0019] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the analysis report generating method according to any embodiment of the present invention is implemented.

[0020] The technical solution of an embodiment of the present invention determines a target report template in response to an analysis report generation request, and parses the target report template to determine the variables to be filled in the target report template. A corresponding data acquisition strategy is determined based on the data type corresponding to the variables to be filled, and target data is acquired from at least two target systems based on preset robotic process automation technology and data acquisition strategies. Based on a preset configuration file and the target data, the variable type and target filling information corresponding to the variables to be filled are determined, and the corresponding filling operations are performed on the target report template to generate a target analysis report. By utilizing the preset report template, robotic process automation technology, and configuration files, data acquisition, processing, and filling can be automated, thereby quickly and accurately generating an analysis report.

[0021] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 This is a flow chart of a method for generating an analysis report provided in Example 1 of the present invention;

[0024] Figure 2 This is a flow chart of a method for generating an analysis report provided in Example 2 of the present invention;

[0025] Figure 3 This is a structural block diagram of an analysis report generating device provided by the third embodiment of the present invention;

[0026] Figure 4 It is a structural diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", "target", "candidate", "alternative", etc. in the specification and claims of the present invention 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 interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of laws and regulations.

[0029] Example 1

[0030] Figure 1 This is a flow chart of a method for generating an analysis report provided in the first embodiment of the present invention; this embodiment is applicable to situations where an analysis system uses preset report templates and configuration files to automatically acquire, process, and fill in data from multiple information systems to quickly and accurately generate an analysis report. This method can be executed by an analysis report generating device, which can be implemented in the form of hardware and / or software. The analysis report generating device can be configured in an electronic device, such as an electronic device configured with an analysis system, and executed by the analysis system, such as Figure 1 As shown, the analysis report generation method includes:

[0031] S101 . In response to an analysis report generation request, determine a target report template, and parse the target report template to determine variables to be filled in the target report template.

[0032] Among them, the analysis report generation request refers to a request to collect and process data from the target system and fill it into the target report template to automatically generate an analysis report. The target report template refers to a template that represents the presentation format of the target analysis report. The target report template may include at least one variable to be filled in and related connecting text. The target report template can be, for example, a Markdown template. Markdown is a lightweight markup language used to create easy-to-read and easy-to-write text. It supports multiple syntaxes, including paragraphs, lists, quotes, links, etc. Using Markdown, you can insert pictures, tables, code blocks, etc. into the Markdown text.

[0033] The variables to be filled refer to identification variables corresponding to the data to be filled in the target report template. For example, the variables to be filled can be expressed as img_name1, img_path1, table1 and avg_age, which are used to represent the name data, path data, table data and age data to be filled respectively.

[0034] Optionally, the analysis system may periodically generate an analysis report instruction based on a preset period, and deem that a request for analysis report generation has been detected; or it may respond to an analysis report instruction issued by relevant personnel, and deem that a request for analysis report generation has been detected, and further respond to the analysis report generation request to execute the analysis report generation scheme described in the embodiment of the present invention.

[0035] Optionally, the target report template may be parsed according to predetermined rules to determine variables to be filled in the target report template.

[0036] Optionally, the template content of the target report template may be matched based on a preset variable library to determine the variables included in the target report template, that is, to determine the variables to be filled in the target report template.

[0037] For example, the target report template may be in the format of the following Table 1:

[0038] Table 1: Example of a target report template

[0039]

[0040] Among them, the variable name contained in the curly braces is the variable to be filled, that is, the location where data and charts need to be filled.

[0041] S102: Determine a corresponding data acquisition strategy according to the data type corresponding to the variable to be filled, and acquire target data from at least two target systems based on preset robotic process automation technology and data acquisition strategy.

[0042] The data type corresponding to the variable to be filled can be web page data or client data. A data acquisition strategy refers to a strategy that represents the method of acquiring different types of data. The data acquisition strategy can include at least one of the following: performing simulated query and downloading based on a preset robotic process automation technology to acquire data; performing web page crawling based on a preset robotic process automation technology to acquire data; and using a preset automation tool to capture page elements to acquire data.

[0043] Preset Robotic Process Automation (RPA) technology is applied to the automated operations of information systems. It has the ability to automatically execute predetermined processes and collaborate across systems. It can perform a series of repetitive, rule-based work tasks, accelerate the completion of necessary business processes, and save a lot of labor costs.

[0044] The target system refers to the system from which data is acquired. For example, the target system may be the operating system of different browsers and clients. The target data refers to the data related to the variables to be filled recorded in the target system. The corresponding filling data can be obtained by processing the target data.

[0045] Optionally, a corresponding data acquisition strategy is determined based on the data type corresponding to the variable to be filled, including: if the data type corresponding to the variable to be filled is web page data, and the web page supports downloading, then the corresponding data acquisition strategy is determined to be simulated query and download based on the preset robotic process automation technology to acquire data; if the data type corresponding to the variable to be filled is web page data, and the web page does not support downloading, then the corresponding data acquisition strategy is determined to be web page crawling based on the preset robotic process automation technology to acquire data; if the data type corresponding to the variable to be filled is client data, then the corresponding data acquisition strategy is determined to be using a preset automation tool to capture page elements for data acquisition.

[0046] For example, you can use RPA's page data crawling function to capture and aggregate data from multiple pages using table and input tags. For client-side data, you can use UIA (User Interface Automation) or AA (Avalonia) to capture page elements, obtaining data based on element tags such as id and name. AA is a cross-platform UI framework (User Interface Framework).

[0047] S103: Determine the variable type and target filling information corresponding to the variable to be filled according to the preset configuration file and target data, perform corresponding filling operations on the target report template, and generate a target analysis report.

[0048] Among them, the preset configuration file refers to a file that configures the value and type information of different variables to be filled. The preset configuration file may include at least one configuration paragraph corresponding to the variable to be filled. One variable to be filled corresponds to one configuration paragraph, and the number of variables to be filled is the same as the number of configuration paragraphs. The variable type refers to the type of data format that characterizes the filling data corresponding to the variable to be filled. The variable type can be, for example, a string type, represented as "text", or a table file type, represented as "table File". The target filling information refers to the information recorded in the preset configuration file for configuring the filling data of the variable to be filled. The target filling information can be directly the filling data to be filled, or it can be processing information indicating image conversion or table conversion of the filling data. The target analysis report refers to a report file generated based on the preset configuration file and the target report template for analyzing the target data.

[0049] Optionally, after performing the corresponding filling operation on the target report template, the preset preprocessing instruction prompt command can be used to perform large model analysis and generate a target analysis report in combination with the output of the large model.

[0050] Optionally, determining the variable type and target filling information corresponding to the variable to be filled based on the preset configuration file and target data includes: for each variable to be filled, matching the preset configuration file based on a preset regular expression to determine the corresponding configuration segment in the preset configuration file; determining the key value recorded in the configuration segment as the variable to be filled, and determining the value corresponding to the key value as the target filling information corresponding to the variable to be filled; determining the variable type field corresponding to the variable to be filled in the configuration segment, and determining the value corresponding to the variable type field as the variable type corresponding to the variable to be filled. Wherein, the variable type is a string type or a table file type.

[0051] The pre-set regular expression is an expression that represents the structural information of each configuration segment. For example, the pre-set regular expression can be "variable to be filled + variable type field + target filling information." The configuration segment uses the variable to be filled as the key and the target filling information of the variable to be filled as the value. The value corresponding to the key is represented by "value." The variable type field is represented by "type."

[0052] For example, the configuration paragraphs recorded in the preset configuration file may be as shown in Table 2 below:

[0053] Table 2: Examples of preset configuration files

[0054]

[0055] Here, img_name1, img_path1, table1, and avg_age correspond to the variables to be populated, namely, name data, path data, table data, and age data, respectively. Each variable to be populated is the key value of the corresponding configuration segment. "value" represents the value corresponding to each variable to be populated, which is the target populated information. "type" represents the variable type of the variable to be populated, which can be the string type "text" or the table file type "tableFile". "rpa", " / rpa.png", "Table1.et", and "72" represent the target populated information.

[0056] Optionally, corresponding filling operations are performed on the target report template, including: processing the target data according to the variable type and target filling information to determine the filling data corresponding to the variable to be filled; determining the position information of the variable to be filled in the target report template, and filling the filling data into the corresponding positions of the target report template according to the position information to generate a target analysis report.

[0057] The "fill data" refers to the data ultimately populated into the target report template. The fill data may include at least one of the following: image data, numerical data corresponding to the to-be-populated variables determined from the target data, and table data. Position information refers to the structural orientation of the to-be-populated variables within the target report template.

[0058] Optionally, the target data processing method can be determined based on the variable type and the information content of the target fill information, such as conversion to an image, conversion to a table, data filtering processing, or no processing, to obtain the fill data that is ultimately required to be filled in the target report template.

[0059] Optionally, the target data is processed according to the variable type and target filling information to determine the filling data corresponding to the variable to be filled, including: if the variable type is a string type and the target filling information contains a preset image format, then the target data corresponding to the variable to be filled is converted into image data in a preset image format based on the preset image component, and the image data is determined as the filling data corresponding to the variable to be filled; if the variable type is a string type and the target filling information is a value corresponding to the variable to be filled, then the value corresponding to the variable to be filled is directly determined as the filling data corresponding to the variable to be filled; if the variable type is a table file type and the target filling information is a table name, then the target data is converted into a table format corresponding to the target report template to obtain table data, and the table data is determined as the filling data corresponding to the variable to be filled.

[0060] The preset image format may be PNG (Portable Network Graphics) or JPG (Joint Photographic Experts Group), etc. The image data may be a scatter plot, line graph, or pie chart corresponding to the target data.

[0061] It should be noted that when the variable type is a table file type, the target data itself is table data, so it only needs to be converted into the table format corresponding to the target report template.

[0062] For example, the RPA tool can be used to generate image data based on the data in the table, such as a scatter plot, line chart, pie chart, etc. The generated image data can then be saved as an image in a preset image format through the preset export to image component.

[0063] For example, the target analysis report can be represented by the following Table 3:

[0064] Table 3: Example of a target analysis report

[0065]

[0066] Optionally, after generating the target analysis report, it also includes: according to preset preprocessing instructions, using a preset large language model to process the target analysis report to obtain a preprocessing analysis report; based on a preset document conversion application, adjusting the preprocessing analysis report from the report format corresponding to the target report template to a preset document format to obtain a final analysis report.

[0067] Among them, the preset preprocessing instruction refers to an instruction that characterizes the processing strategy for the target analysis report, such as a prompt instruction, which can be specifically used to instruct the target analysis report to adjust the format or generate content. The large language model (LLM) is used to perform content summary and other processing on the target analysis report based on the strategy corresponding to the preset preprocessing instruction to enrich the content of the analysis report. The large language model has a multimodal processing function, and before processing, it will call the interface of the large model according to certain rules to process text, table and image information respectively. The preprocessing analysis report refers to the analysis report obtained after processing based on the preset preprocessing instruction and the preset large language model. The final report is obtained after the preprocessing analysis report is converted, and the final report format can be, for example, word format. The application of the preset document conversion final report can be, for example, a pandoc document conversion tool.

[0068] It should be noted that a large model that supports multimodal functions can be used to process images.

[0069] Optionally, the target analysis report can be processed using a preset large language model according to preset preprocessing instructions, and text, table and image information can be processed separately according to a predetermined strategy and a summary can be generated to obtain a preprocessing analysis report.

[0070] Optionally, the target analysis report can be imported into the LLM large model for processing, processed according to the rules, and output as a pre-processed analysis report. During LLM processing, the target analysis report will be intelligently processed according to the prompt rules, and the report data and images can be summarized and text content can be generated. The font and line spacing can also be set.

[0071] Optionally, you can combine the target analysis report with a pre-processing prompt and input it into the LLM model. Markdown is wrapped with a special "```" tag to distinguish the start and end. The prompt specifies the processing action, formatting adjustment, or content generation.

[0072] Optionally, after obtaining the final analysis report, the format of the data report can be manually verified and the report content can be fine-tuned.

[0073] Optionally, the large model can be used to summarize the text, tables, and pictures in the report separately according to preset rules.

[0074] The technical solution of an embodiment of the present invention determines a target report template in response to an analysis report generation request, and parses the target report template to determine the variables to be filled in the target report template. A corresponding data acquisition strategy is determined based on the data type corresponding to the variables to be filled, and target data is acquired from at least two target systems based on preset robotic process automation technology and data acquisition strategies. Based on a preset configuration file and the target data, the variable type and target filling information corresponding to the variables to be filled are determined, and the corresponding filling operations are performed on the target report template to generate a target analysis report. By utilizing the preset report template, robotic process automation technology, and configuration files, data acquisition, processing, and filling can be automated, thereby quickly and accurately generating an analysis report.

[0075] Example 2

[0076] Figure 2 This is a flow chart of a method for generating an analysis report provided by Example 2 of the present invention; based on the above embodiment, this embodiment provides a preferred example of generating an analysis report using a markdown template, specifically, Figure 2 As shown, the method includes the following processes:

[0077] (1) Read the markdown template, that is, determine the target report template.

[0078] (2) Read the configuration file in json format, that is, determine the preset configuration file.

[0079] (3) Get the content according to the preset configuration file and take the corresponding processing method according to the parameter type, that is, the variable type. Specifically, if the type is "text", the value in the configuration file is directly used to fill the template. If the type is "tableFile", the table file will be read first, the content will be converted into markdown table format, and then filled into the template.

[0080] (4) parse the parameter type in each configuration paragraph in turn. If all parameters are parsed, execute step (5); otherwise, continue to parse the next parameter type until all parameters in the preset configuration file are parsed.

[0081] (5) Fill the obtained content into the markdown template (i.e., the target report template).

[0082] (6) Save the generated markdown file (i.e., target analysis report).

[0083] The technical solution of the embodiment of the present invention, by adopting RPA-based processing technology, can generate analysis reports across systems in a non-invasive manner and realize the automation of the entire process. By generating reports based on Markdown templates, a richer content format can be provided, which is convenient for converting reports into multiple file formats and can be applied to a variety of application scenarios. In addition, by pre-establishing Markdown templates, data insertion errors and format confusion can also be avoided, thereby improving the reliability of generating report content. Finally, using Markdown content in text format as input and processing it with the LLM large model can also effectively intelligentize and enrich the content of the report.

[0084] Example 3

[0085] Figure 3 This is a structural block diagram of an analysis report generating device provided by the third embodiment of the present invention; this embodiment can be applied to the situation where the analysis system uses preset report templates and configuration files to automatically acquire, process and fill in data from multiple information systems to quickly and accurately generate analysis reports. The analysis report generating device provided by the embodiment of the present invention can execute the analysis report generating method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method; the analysis report generating device can be implemented in the form of hardware and / or software, and configured in an electronic device with an analysis report generating function, such as an electronic device configured with an analysis system, and executed by the analysis system, such as Figure 3 As shown, the analysis report generating device may include:

[0086] The determination module 301 is configured to determine a target report template in response to an analysis report generation request, and parse the target report template to determine variables to be filled in the target report template;

[0087] An acquisition module 302 is configured to determine a corresponding data acquisition strategy according to a data type corresponding to a variable to be filled, and acquire target data from at least two target systems based on a preset robotic process automation technology and a data acquisition strategy;

[0088] The generating module 303 is used to determine the variable type and target filling information corresponding to the variable to be filled according to the preset configuration file and target data, so as to perform the corresponding filling operation on the target report template and generate a target analysis report.

[0089] The technical solution of an embodiment of the present invention determines a target report template in response to an analysis report generation request, and parses the target report template to determine the variables to be filled in the target report template. A corresponding data acquisition strategy is determined based on the data type corresponding to the variables to be filled, and target data is acquired from at least two target systems based on preset robotic process automation technology and data acquisition strategies. Based on a preset configuration file and the target data, the variable type and target filling information corresponding to the variables to be filled are determined, and the corresponding filling operations are performed on the target report template to generate a target analysis report. By utilizing the preset report template, robotic process automation technology, and configuration files, data acquisition, processing, and filling can be automated, thereby quickly and accurately generating an analysis report.

[0090] Furthermore, the acquisition module 302 is specifically configured to:

[0091] If the data type corresponding to the variable to be filled is web page data, and the web page supports downloading, determining the corresponding data acquisition strategy is to perform simulated query and download based on the preset robotic process automation technology to acquire data;

[0092] If the data type corresponding to the variable to be filled is web page data, and the web page does not support downloading, determining that the corresponding data acquisition strategy is to perform web page crawling based on a preset robotic process automation technology to acquire data;

[0093] If the data type corresponding to the variable to be filled is client data, the corresponding data acquisition strategy is determined to be to use a preset automation tool to capture page elements to obtain data.

[0094] Furthermore, the generating module 303 is specifically configured to:

[0095] For each variable to be filled, match the preset configuration file based on the preset regular expression to determine the corresponding configuration segment in the preset configuration file;

[0096] Determine the key value recorded in the configuration paragraph as the variable to be filled, and determine the value corresponding to the key value as the target filling information corresponding to the variable to be filled;

[0097] Determine the variable type field corresponding to the variable to be filled in the configuration paragraph, and determine the value corresponding to the variable type field as the variable type corresponding to the variable to be filled; the variable type is a string type or a table file type.

[0098] Furthermore, the generating module 303 may include:

[0099] A determination unit, configured to process the target data according to the variable type and target filling information to determine the filling data corresponding to the variable to be filled;

[0100] The generating unit is used to determine the position information of the variables to be filled in the target report template, and fill the filling data into the corresponding positions of the target report template according to the position information to generate a target analysis report.

[0101] Furthermore, the determination unit is specifically used for:

[0102] If the variable type is a string type and the target filling information includes a preset image format, the target data corresponding to the variable to be filled is converted into image data in the preset image format based on the preset image component, and the image data is determined as the filling data corresponding to the variable to be filled;

[0103] If the variable type is a string type, and the target filling information is a value corresponding to the variable to be filled, the value corresponding to the variable to be filled is directly determined as the filling data corresponding to the variable to be filled;

[0104] If the variable type is a table file type and the target filling information is a table name, the target data is converted into a table format corresponding to the target report template to obtain table data, and the table data is determined as the filling data corresponding to the variable to be filled.

[0105] Furthermore, the above device is also used for:

[0106] According to the preset preprocessing instructions, the target analysis report is processed using the preset large language model to obtain a preprocessing analysis report;

[0107] Based on the preset document conversion application, the pre-processed analysis report is adjusted from the report format corresponding to the target report template to the preset document format to obtain the final analysis report.

[0108] Example 4

[0109] Figure 4 It is a structural diagram of an electronic device provided in Embodiment 4 of the present invention. Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0110] like Figure 4As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0111] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0112] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the analysis report generation method.

[0113] In some embodiments, the analysis report generation method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the analysis report generation method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the analysis report generation method in any other appropriate manner (for example, by means of firmware).

[0114] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0115] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0116] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0117] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0118] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0119] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0120] In one embodiment, the present invention further includes a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the analysis report generation method of any embodiment of the present invention.

[0121] The computer program product may be implemented in a computer program code for performing the operations of the present invention written in one or more programming languages, or a combination thereof, including object-oriented programming languages and conventional procedural programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0122] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0123] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for generating an analysis report, characterized in that: include: In response to the analysis report generation request, determining a target report template, and parsing the target report template to determine variables to be filled in the target report template; Determine a corresponding data acquisition strategy according to the data type corresponding to the variable to be filled, and acquire target data from at least two target systems based on preset robotic process automation technology and data acquisition strategy; According to the preset configuration file and target data, the variable type and target filling information corresponding to the variable to be filled are determined to perform the corresponding filling operation on the target report template to generate a target analysis report.

2. The method according to claim 1, characterized in that Determine the corresponding data acquisition strategy based on the data type of the variable to be filled, including: If the data type corresponding to the variable to be filled is web page data, and the web page supports downloading, determining the corresponding data acquisition strategy is to perform simulated query and download based on the preset robotic process automation technology to acquire data; If the data type corresponding to the variable to be filled is web page data, and the web page does not support downloading, determining that the corresponding data acquisition strategy is to perform web page crawling based on a preset robotic process automation technology to acquire data; If the data type corresponding to the variable to be filled is client data, the corresponding data acquisition strategy is determined to be to use a preset automation tool to capture page elements to obtain data.

3. The method according to claim 1, characterized in that Based on the preset configuration file and target data, determine the variable type and target filling information corresponding to the variable to be filled, including: For each variable to be filled, match the preset configuration file based on the preset regular expression to determine the corresponding configuration segment in the preset configuration file; Determine the key value recorded in the configuration paragraph as the variable to be filled, and determine the value corresponding to the key value as the target filling information corresponding to the variable to be filled; Determine the variable type field corresponding to the variable to be filled in the configuration paragraph, and determine the value corresponding to the variable type field as the variable type corresponding to the variable to be filled; the variable type is a string type or a table file type.

4. The method according to claim 1, wherein Perform corresponding filling operations on the target report template, including: Process the target data according to the variable type and target filling information to determine the filling data corresponding to the variable to be filled; Determine the position information of the variables to be filled in the target report template, and fill the filling data into the corresponding positions of the target report template according to the position information to generate a target analysis report.

5. The method according to claim 4, characterized in that The target data is processed according to the variable type and target filling information to determine the filling data corresponding to the variable to be filled, including: If the variable type is a string type and the target filling information includes a preset image format, the target data corresponding to the variable to be filled is converted into image data in the preset image format based on the preset image component, and the image data is determined as the filling data corresponding to the variable to be filled; If the variable type is a string type, and the target filling information is a value corresponding to the variable to be filled, the value corresponding to the variable to be filled is directly determined as the filling data corresponding to the variable to be filled; If the variable type is a table file type and the target filling information is a table name, the target data is converted into a table format corresponding to the target report template to obtain table data, and the table data is determined as the filling data corresponding to the variable to be filled.

6. The method according to claim 1, characterized in that After generating the target analysis report, it also includes: According to the preset preprocessing instructions, the target analysis report is processed using the preset large language model to obtain a preprocessing analysis report; Based on the preset document conversion application, the pre-processed analysis report is adjusted from the report format corresponding to the target report template to the preset document format to obtain the final analysis report.

7. An analysis report generating device, characterized in that: include: a determination module, configured to determine a target report template in response to an analysis report generation request, and parse the target report template to determine variables to be filled in the target report template; an acquisition module, configured to determine a corresponding data acquisition strategy according to a data type corresponding to a variable to be filled, and acquire target data from at least two target systems based on a preset robotic process automation technology and a data acquisition strategy; The generation module is used to determine the variable type and target filling information corresponding to the variable to be filled according to the preset configuration file and target data, so as to perform the corresponding filling operation on the target report template and generate a target analysis report.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor. The computer program is executed by the at least one processor so as to enable the at least one processor to execute the analysis report generating method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the analysis report generation method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the analysis report generating method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Cluster state evaluation method, storage medium, electronic equipment and program product

    CN120763006A

  • Analysis report generation method, device and equipment and computer readable storage medium

    CN120874800A

  • Analysis report generation method, device, equipment and computer readable storage medium

    CN120874800B