Report generation method and device, storage medium and electronic equipment

The server receives the user's report generation request, generates and downloads the target report of the visual component, and solves the problem of fixed form of log data visualization analysis in the existing technology, realizing the user's personalized analysis needs and offline use functions.

CN119940329APending Publication Date: 2025-05-06BEIJING HONGTENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510012464.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, the visual analysis of log data is usually in a fixed form. Users can only view reports online, which is poor in practicality and cannot meet users' personalized analysis needs.

Method used

Provide a report generation method. The server receives the report generation request from the user, packages the visual processing code to generate visual rendering files, integrates the log data to generate visual components, combines them into target reports, and provides download permission requests to allow users to download reports for offline use.

Benefits of technology

It realizes that users can instruct the server to perform multiple visualization processing on the log data based on online methods, generate rich visual component reports, meet users' personalized analysis needs, and provide download interfaces, so that users can use reports offline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119940329A_ABST
    Figure CN119940329A_ABST
Patent Text Reader

Abstract

The invention discloses a report generation method and device, a storage medium and electronic equipment. The invention relates to the technical field of data processing. The report generation method comprises the steps that a report generation request for log data sent by a user side is received, the report generation request carries at least one visualization processing identifier, and the report generation request is used for indicating a server side to generate a target report obtained by conducting visualization processing on the log data; in response to the report generation request, packaging a plurality of visualization processing codes corresponding to each visualization processing identifier to obtain at least one visualization rendering file; integrating the log data through the at least one visual rendering file to obtain at least one visual component corresponding to the log data; and combining the at least one visual component corresponding to the log data into a target report, and sending a downloading permission request for instructing the user side to download the target report to the user side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a report generation method, device, storage medium and electronic device. Background Art

[0002] Log data usually contains a lot of information, which can be transformed into an easy-to-understand form through visualization, such as analyzing log data to obtain a visual report including patterns or tables. Visualizing log data is a very useful process that can help users better understand the system's operating status, user behavior, or the cause of a failure.

[0003] However, in the prior art, the visual analysis of log data is usually in a fixed form, and users can only view the reports after the log data is visualized online, which is poor in practicality and cannot meet user needs. Summary of the invention

[0004] The embodiments of the present application provide a report generation method, device, storage medium and electronic device, which can solve the above problems. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a report generation method, the execution subject of the method is a server, and the method includes:

[0006] Receiving a report generation request for log data sent by a user end, the report generation request carrying at least one visualization processing identifier, and the report generation request is used to instruct the server end to generate a target report obtained by performing visualization processing on the log data;

[0007] In response to the report generation request, packaging the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file;

[0008] Integrate the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data;

[0009] At least one visual component corresponding to the log data is combined into the target report, and a download permission request for instructing the user terminal to download the target report is sent to the user terminal.

[0010] In a second aspect, an embodiment of the present application provides a report generation method, the execution subject of the method is a user end, and includes:

[0011] Receiving a report generation instruction for target data and selecting at least one visualization processing identifier from a plurality of visualization processing identifiers;

[0012] Constructing a report generation request in response to the report generation instruction, wherein the report generation request carries the at least one visualization processing identifier;

[0013] Sending the report generation request to the server, so that the server executes the report generation method as described in the first aspect, and obtains a download permission request for instructing the user terminal to download the target report;

[0014] A download permission request is received from the server.

[0015] In a third aspect, an embodiment of the present application provides a report generation device, which is arranged on a server, and includes:

[0016] A first receiving module, configured to receive a report generation request for log data sent by a user end, wherein the report generation request carries at least one visualization processing identifier, and the report generation request is used to instruct the server end to generate a target report obtained by performing visualization processing on the log data;

[0017] A first response module, configured to respond to the report generation request and package the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file;

[0018] A first integration module, configured to integrate the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data;

[0019] The first combining module is used to combine at least one visual component corresponding to the log data into the target report, and send a download permission request for instructing the user terminal to download the target report to the user terminal.

[0020] In a fourth aspect, an embodiment of the present application provides a report generation device, which is arranged on a user terminal and includes:

[0021] A second receiving module is used to receive a report generation instruction for target data and selecting at least one visualization processing identifier from a plurality of visualization processing identifiers;

[0022] A second response module, configured to construct a report generation request in response to the report generation instruction, wherein the report generation request carries the at least one visualization processing identifier;

[0023] A first sending module, configured to send the report generation request to the server, so that the server executes any report generation method as described in the first aspect, and obtains a download permission request for instructing the user terminal to download a target report;

[0024] The third receiving module is used to receive a download permission request from the server.

[0025] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps provided in the first aspect of the embodiment of the present application.

[0026] In a sixth aspect, an embodiment of the present application provides an electronic device, characterized in that it includes: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps provided in the first aspect of the embodiment of the present application.

[0027] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0028] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0030] Figure 1 A schematic diagram of the architecture of a report generation method provided in an embodiment of the present application;

[0031] Figure 2 A flowchart of a report generation method provided in an embodiment of the present application;

[0032] Figure 3 A flowchart of a report generation method provided in an embodiment of the present application;

[0033] Figure 4 A schematic diagram of the structure of a target report provided in an embodiment of the present application;

[0034] Figure 5 A flowchart of a report generation method provided in an embodiment of the present application;

[0035] Figure 6 A flowchart of a report generation method provided in an embodiment of the present application;

[0036] Figure 7 A flowchart of a report generation method provided in an embodiment of the present application;

[0037] Figure 8 An interactive schematic diagram of a report generation method provided in an embodiment of the present application;

[0038] Fig. 9 A structural diagram of a report generation device provided in an embodiment of the present application;

[0039] Fig.10 A structural diagram of a report generation device provided in an embodiment of the present application;

[0040] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0042] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. 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 limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0043] Log data usually contains a lot of information, which can be transformed into an easy-to-understand form through visualization, such as analyzing log data to obtain a visual report including patterns or tables. Visualizing log data is a very useful process that can help users better understand the system's operating status, user behavior, or the cause of a failure.

[0044] However, in the prior art, the visual analysis of log data is usually in a fixed form, and users can only view the reports after the log data is visualized online, which is poor in practicality and cannot meet user needs.

[0045] In order to solve the above problems, the present application provides a report generation method, device, storage medium and electronic device to solve the problem. Figure 1 As shown, Figure 1 The schematic diagram of the architecture of a report generation method provided by an embodiment of the present application is exemplarily shown. The network architecture diagram may include a user device 101 corresponding to the user end and a server 102 corresponding to the service end. It can be understood that Figure 1 The number and types of user devices 101 and servers 102 shown are for illustration only.

[0046] The user device 101 corresponding to the user end and the server 102 corresponding to the service end can communicate through a communication link established by a communication protocol, such as the gRPC protocol. gRPC is a high-performance, general-purpose open source remote procedure call (RPC) framework, which is mainly designed for mobile application development and based on the HTTP / 2 protocol standard, based on the protocol buffer (PB) serialization protocol development, and supports many development languages. In addition, the communication link can also be a wireless communication link or a wired communication link, for example: a wired communication link includes an optical fiber, a twisted pair or a coaxial cable, and a wireless communication link includes a Bluetooth communication link, a wireless fidelity (WIreless-FIdelity, Wi-Fi) communication link or a microwave communication link, etc.

[0047] The user equipment 101 corresponding to the above-mentioned user end and the server 102 corresponding to the server end include but are not limited to physical or virtual processors, mobile stations (Mobile Station, MS), mobile terminal equipment (Mobile Terminal), mobile phones (Mobile Telephone), mobile phones (handsets) and portable equipment (portable equipment), Bluetooth headsets, smart watches and other types. The electronic equipment can communicate with one or more core networks via a radio access network (Radio Access Network, RAN).

[0048] For example, the server 102 is a plurality of physical servers, and the plurality of physical servers are independent in hardware. Alternatively, the server 102 is a plurality of virtual servers, and the plurality of virtual servers are deployed in the same hardware resource pool, and the deployment methods of the virtual servers include but are not limited to: VMware, Virtual Box and Virtual PC.

[0049] It is understandable that the server 102 also has other service capabilities and functions to complete the tasks in the following embodiments. For example, the server 102 also provides portal services, resource management services, and CI / CD services.

[0050] In the embodiment of the present application, a display device may also be installed on the target device such as the user device 101, and the display device may be any device capable of realizing a display function, for example, the display device may be a cathode ray tube display (Cathoderay tube display, CR for short), a light-emitting diode display (Light-emitting diode display, LED for short), an electronic ink screen, a liquid crystal display (Liquid crystal display, LCD for short), a plasma display panel (Plasma display panel, PDP for short), etc. For example, the user may use the display device on the electronic device 101 to interact with the application, or view a sample set similar to the target sample set obtained after the electronic device 1011 executes the sample screening method of the embodiment of the present specification.

[0051] In one embodiment, Figure 2 As shown, it is a schematic diagram of a report generation method provided by an embodiment of the present specification, and the execution subject of the report generation method is the server 102 corresponding to the server. The method can be implemented by relying on a computer program and can be run on a report generation device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0052] Specifically, the report generation method includes:

[0053] S101: receiving a report generation request for log data sent by a user terminal.

[0054] The report generation request carries at least one visualization processing identifier, and the report generation request is used to instruct the server to generate a target report obtained by performing visualization processing on the log data.

[0055] Specifically, the server receives a report generation request for log data sent by the client. Log data can be record information generated by the client during operation, which can be used to monitor the device status of the client, diagnose problems, and perform data analysis. The log data can be stored in a database. Log data can also be other types of data, such as test data of the system or device.

[0056] The report generation request carries at least one visualization processing identifier, which indicates how the server performs different visualization processing on the log data. The visualization processing identifier may represent one or a group of visualization processing methods, and the visualization processing identifier indicates the color scheme, chart type (such as bar chart, pie chart, scatter chart, etc.), data aggregation method and other settings included in the visualization processing.

[0057] The results obtained by visualizing log data are very complex and diverse, including interactive charts, 3D charts, animations, etc. For example, log data can be visualized to obtain interactive icons, which allow users to interact with the data, such as zooming, dragging, and clicking to obtain more information. For another example, log data can be visualized to obtain 3D icons, which can display data in three-dimensional space and provide deeper visual insights.

[0058] S102 : In response to a report generation request, packaging visualization processing codes corresponding to each visualization processing identifier to obtain a visualization rendering file.

[0059] Specifically, after receiving the above report generation request, the server extracts the visualization processing identifier from the report generation request and determines the specific content of one or a group of visualization processing performed on the log data. According to the above visualization processing identifier, the visualization processing code corresponding to each visualization processing identifier is selected in the preset database, and the visualization processing code is packaged to generate a referenceable visualization rendering file. In Python, there are several popular libraries that can be used for visualization, such as Matplotlib, Seaborn, Plotly, Bokeh, etc. Different visualization processing codes are written using different libraries.

[0060] Packaging code into files is a common requirement in software development and deployment, especially when Python code or projects in other programming languages ​​need to be deployed to a production environment or shared with others. The way to package the visualization code depends on the programming language, framework, and target platform used by the code. For example, in this application, the node server uses technologies such as webpack to independently package the visualization code and generate an executable js file that can be rendered offline. The executable js file is also the visualization rendering file corresponding to the visualization code.

[0061] like Figure 3 FIG. 1 is a flow chart of a report generation method provided by an embodiment of the present application, wherein the visualization processing code corresponding to each visualization processing identifier is determined according to multiple visualization processing identifiers carried in the report generation request. Figure 3In the illustrated embodiment, visualization processing code 2021, visualization processing code 2022 and visualization processing code 2023 are packaged, and a visualization rendering file 2031 corresponding to the visualization processing code 2021 is obtained, a visualization rendering file 2032 corresponding to the visualization processing code 2022 is obtained, and a visualization rendering file 2033 corresponding to the visualization processing code 2023 is obtained.

[0062] S103: Integrate the log data through at least one visual rendering file to obtain at least one visual component corresponding to the log data.

[0063] The server references each visualization rendering file to integrate the data to be processed in the log data that meets the needs of the visualization rendering file. In other words, the log data is imported as the data source of the visualization rendering file to obtain the visualization components corresponding to each visualization rendering file. The above process involves setting the data source type, connection parameters, query statements and other processing processes.

[0064] Visualization components can be understood as modules that make up reports. The types of visualization components include interactive charts, 3D charts, animations, etc., which are determined by the configuration of the visualization rendering file and display the key indicators and trends of log data in a visual way.

[0065] like Figure 3 As shown, the visualization rendering file 2031 is referenced to integrate the log data 201 to obtain the visualization component 2041 , the visualization rendering file 2032 is referenced to integrate the log data 201 to obtain the visualization component 2042 , and the visualization rendering file 2032 is referenced to integrate the log data 201 to obtain the visualization component 2042 .

[0066] S104: Combine at least one visualization component corresponding to the log data into a target report, and send a download permission request for instructing the user terminal to download the target report to the user terminal.

[0067] After obtaining multiple visualization components, optimize and adjust the final page layout of the target report according to the actual effect to ensure the accuracy of the data and the readability of the report. Figure 3 As shown, multiple visualization components are combined to obtain a target report 205 corresponding to the log data 201. The target report 205 is used for system monitoring, troubleshooting, performance analysis, etc. of the system corresponding to the log data.

[0068] The download permission request is used to instruct the user end to send a download request to the server end, so that the server end sends the target report to the user end based on the download request. In other words, while the user is viewing the target report online through the display device of the user end, the user can download the target report and use it offline by sending a download request to the server end.

[0069] like Figure 4 As shown, it is a structural schematic diagram of a target report provided in an embodiment of the present application. The target report includes a visualization component of the bar chart type, and the color of the visualization component is different from the color of the text in the target report.

[0070] In one embodiment, the report generation request also carries a target format identifier. At least one visual component corresponding to the log data is combined into a target report; the format of the target report is converted into a target format corresponding to the target format identifier; and a download permission request for instructing the user terminal to download the target report in the target format is sent to the user terminal.

[0071] Optionally, the report generation request may also carry a target format identifier, which is used to instruct the server to convert the format of the target report into a specified format, and the target format identifier includes at least one of the following formats: pdf, doc. For example, the server will extract the target format identifier of the doc format from the report generation request, and then convert the format of the target report into a doc format report according to the target format identifier. After the report generation is completed, the server will return a download permission request to the user, indicating that the user can download the target report in the target format by sending a download permission request to the server.

[0072] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0073] In one embodiment, Figure 5 As shown, it is a schematic diagram of a report generation method provided by an embodiment of this specification, and the execution subject of the report generation method is a server corresponding to the server end. The method can be implemented by relying on a computer program and can be run on a report generation device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0074] Specifically, the report generation method includes:

[0075] S201: Receive a report generation request for log data sent by a user terminal.

[0076] See the above S101, which will not be repeated here.

[0077] S202 : In response to a report generation request, packaging visualization processing codes corresponding to each visualization processing identifier to obtain a visualization rendering file.

[0078] See the above S102, which will not be described again here.

[0079] S203: Filter out the to-be-processed data in the log data that meets the configuration requirements corresponding to the multiple configuration items according to the multiple configuration items included in the visual rendering file.

[0080] Specifically, the visualization rendering file includes multiple configuration items, and the multiple configuration items represent the configuration information of the visualization component. For example, the type of the visualization component is a bar graph, and the multiple configuration items included in the visualization rendering file include at least the X-axis of the visualization component, the Y-axis of the visualization component, the type of the visualization component is a bar graph, the type of the visualization component is a graph, or the type of the visualization component is a table. The configuration requirements of the multiple configuration items included in the visualization rendering file are related to the filtering conditions for filtering the log data. The server filters the data to be processed in the log data for configuring each configuration item according to the configuration requirements.

[0081] In one embodiment, in response to a report generation request, before packaging the visualization processing codes corresponding to each visualization processing identifier to obtain a visualization rendering file, it includes: receiving a configuration request for configuring multiple configuration items, the configuration items including at least: an X-axis of a visualization component, a Y-axis of a visualization component, a color of a visualization component, a type of a visualization component as a graphic, or a type of a visualization component as a table; in response to the configuration request, obtaining the visualization processing code corresponding to each configuration item.

[0082] In other words, in this embodiment, the server receives a configuration request for configuring multiple configuration items, and the configuration request includes code data for configuring each configuration item as a visualization processing code. Further, a report generation request is received, and in response to the report generation request, the visualization processing codes corresponding to the multiple configuration items are packaged to obtain a visualization rendering file. It is understandable that the configuration items also include other content, which is set by relevant personnel as needed.

[0083] S204 , referencing the visualization rendering file, and mapping the data to be processed to a plurality of configuration items respectively, to obtain a visualization component.

[0084] The visualization rendering file is referenced, and the log data is imported as the data source of the visualization rendering file, wherein the data to be processed are respectively mapped to multiple configuration items to obtain a visualization component.

[0085] For example, multiple configuration items include an X-axis of a visualization component, a Y-axis of the visualization component, and a color of the visualization component. The log data is filtered for processing data to be mapped to the X-axis of the visualization component, the log data is filtered for processing data to be mapped to the Y-axis of the visualization component, and the color of the visualization component is determined according to the log data. The visualization rendering file is referenced to render the log data to obtain a visualization component, and the visualization component includes an X-axis, a Y-axis, and a specific color with specific meanings.

[0086] S205: According to the report template identifier, load a target report template corresponding to the report template identifier from a plurality of predefined report targets.

[0087] The report generation request also carries a report template identifier. For example, when a user sends a report generation request through a user terminal, a report template control is selected in the display page displayed on the user terminal. The user terminal determines the report template identifier based on the trigger condition corresponding to the report template control and sends a report generation request including the report template identifier to the server terminal.

[0088] The report template identifier is used to determine the target report template corresponding to the report template identifier among multiple predefined report templates. In other words, the server's database includes multiple report templates, and there is an association relationship between the multiple report templates and the report template identifier. According to the report template identifier carried by the report generation request, the target report template corresponding to the report template identifier can be determined in the database.

[0089] S206: Embed at least one visualization component into at least one area included in the target report template to obtain a target report.

[0090] Specifically, the visualization component is embedded in a target area of ​​at least one area included in the report template to form a target report. That is, at least one area is set on the report template for placing at least one visualization component, and the area serves as a display area for the visualization component. The number of areas set on the target report template and the number of visualization components may be the same or different. In addition to the visualization component, the target report may also include text content, which is obtained from the log data.

[0091] S207: Send a download permission request for instructing the user terminal to download the target report to the user terminal.

[0092] See the above S104, which will not be described again here.

[0093] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0094] In one embodiment, Figure 6 As shown, it is a schematic diagram of a report generation method provided by an embodiment of this specification, and the execution subject of the report generation method is a server corresponding to the server end. The method can be implemented by relying on a computer program and can be run on a report generation device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0095] Specifically, the report generation method includes:

[0096] S301: Receive a report generation request for log data sent by a user terminal.

[0097] See the above S101, which will not be repeated here.

[0098] S302 : In response to the report generation request, the visualization processing codes corresponding to the visualization processing identifiers are packaged to obtain a visualization rendering file.

[0099] See the above S102, which will not be described again here.

[0100] S303: Integrate the log data through at least one visual rendering file to obtain at least one visual component corresponding to the log data

[0101] See the above S103, which will not be described again here.

[0102] S304: Combining at least one visualization component corresponding to the log data into a target report, and sending a download permission request for instructing the user terminal to download the target report to the user terminal.

[0103] See the above S104, which will not be described again here.

[0104] S305: Periodically obtain update log data.

[0105] When the report generation request in S301 is used to instruct the server to periodically generate an update report obtained by visually processing the update log data, the server will obtain the frequency of generating the report according to the set time, and then obtain the update log data according to the frequency.

[0106] Update log data can be understood as log data after a certain time, that is, the update log data represents log data whose start time is after the start time of generating log data. The update log data is integrated with the above-mentioned visualization rendering file to obtain multiple visualization components, thereby obtaining an update report corresponding to the update log data. For example, the log data is obtained for the first time and the generation time of the log data is 9:00. The server obtains update log data every hour, and the generation time of the update log data is one hour after the generation time of the previous update log data.

[0107] S306: Integrate the update log data through at least one visual rendering file to obtain at least one visual component corresponding to the update log data.

[0108] At least one visualization rendering file is obtained through the visualization processing identifier carried in the report generation request, and the update log data is integrated through the at least one visualization rendering file to obtain at least one visualization component corresponding to the update log data.

[0109] S307: Combine at least one visual component corresponding to the update log data into an update report, and send a download permission request for instructing the user terminal to download the update report to the user terminal.

[0110] In this embodiment, the report generation request is also used to instruct the server to periodically generate an update report obtained by visually processing the update log data. The server periodically obtains the update data and generates an update report corresponding to the update data based on the report generation request, and periodically sends the download permission request instructing the user terminal to download the update report to the user terminal, so that the user terminal can periodically obtain the update report without sending the report generation request multiple times.

[0111] In another embodiment, the report generation request is also used to instruct the server to generate multiple target reports obtained by visually processing the log data, and before integrating the log data through at least one visual rendering file to obtain at least one visual component corresponding to the log data, it also includes: determining the start time and end time of generating the log data; dividing the log data into multiple sub-log data based on a preset time period; integrating the multiple sub-log data respectively through at least one visual rendering file to obtain at least one visual component corresponding to each sub-log data; combining the at least one visual component corresponding to each sub-log data into a target report corresponding to each log data, and sending a download permission request for instructing the user terminal to download the multiple target reports to the user terminal.

[0112] Determine the start time and end time of generating log data, and divide the log data into multiple sub-log data based on a preset time period. The report generation request sent by the user end also carries information related to filtering log data. When the server end receives the report generation request, it confirms the start time and end time of the log data. The start time and end time of the log data represent the time when the log data starts to be recorded and the time when the log data ends. Further, the server end determines the time period for splitting the log data to obtain multiple sub-log data, and the time period can be hours, weeks or months. Further, the server end divides all log data from the start time to the end time into multiple sub-log data according to the time period, and the length of the time period corresponding to each sub-log data is the same.

[0113] For example, the server receives log data with a start time of 9:00 and an end time of 11:00, and the preset time period is one hour. The server divides the log data by hour to obtain sub-log data for the time period from 9:00 to 10:00 and sub-log data for the time period from 10:00 to 11:00.

[0114] Further, at least one visualization component corresponding to each sub-log data is combined into a target report corresponding to each log data, that is, multiple target reports are obtained, and a download permission request for instructing the user terminal to download the multiple target reports is sent to the user terminal. In this embodiment, the log data is segmented to obtain multiple target reports through a report generation request, and the selection range of the analysis granularity of the log data by the visualization processing corresponding to each target report is enriched to meet the user's demand for visualization processing of the log data.

[0115] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0116] In one embodiment, Figure 7 The figure is a schematic diagram of a report generation method provided by an embodiment of the present specification. The execution subject of the report generation method is a user device corresponding to the user end. The method can be implemented by a computer program and can be run on a report generation device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0117] Specifically, the report generation method includes:

[0118] S401: Receive a report generation instruction for target data and selecting at least one visualization processing identifier from multiple visualization processing identifiers.

[0119] Specifically, the client receives a report generation instruction issued by a user for target data and selecting at least one visualization processing identifier from a plurality of visualization processing identifiers, wherein the target data is stored in a database of the server or sent by the client to the server.

[0120] The user can determine at least one control of the type, label and other contents of the visualization component through the display interface of the user terminal. After the user completes the selection, he clicks the "generate report" control, and the user terminal receives the user's report generation instruction based on the trigger condition on the control. The report generation instruction includes the visualization processing identifier corresponding to the at least one control selected by the user.

[0121] S402: Constructing a report generation request in response to the report generation instruction.

[0122] Specifically, after receiving the report generation instruction, the user terminal constructs a report generation request in response to the report generation instruction. The report generation request includes a visualization processing identifier corresponding to at least one control selected by at least one user.

[0123] S403: Send the report generation request to the server.

[0124] The client sends a report generation request to the server. The server performs the following operations based on the report generation request: Figure 2-Figure 6 Any of the report generation methods shown obtains a download permission request for instructing the user terminal to download the target report.

[0125] S404: Receive a download permission request from the server.

[0126] Specifically, after the user sends a report generation request, it will wait to receive a download permission request returned by the server. When the server completes the target report generation, it will send a download permission request including information such as a download link to the user. The user displays the download permission request to the user through a display interface, so that the user can choose to download the target report from the server by sending a download request to the server and use it offline.

[0127] The description object of the embodiment of the present application is the user end, and the report generation instruction of the user selecting at least one visualization processing identifier from multiple visualization processing identifiers can be obtained, and a report generation request carrying at least one visualization processing identifier can be constructed and sent to the server end, so that the server end generates a target report corresponding to the log data. This embodiment provides users with a way to freely select visualization processing, and users can intuitively see the status and results of the target report obtained based on the user's selection, thereby ensuring that multiple visualization components in the target report are configured correctly, and can obtain the required target report in a timely manner and use it offline.

[0128] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0129] In one embodiment, Figure 8FIG. 1 is a schematic diagram of a visualization processing method provided by an embodiment of the present application. The visualization processing method is executed by a user device corresponding to the user end and a server corresponding to the server end. The method can be implemented by a computer program and can be run on a visualization processing device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0130] Specifically, the visualization processing method includes:

[0131] S501: The user terminal receives a report generation instruction for target data and selects at least one visualization processing identifier from multiple visualization processing identifiers.

[0132] See the above S401, which will not be described again here.

[0133] S502: The user terminal constructs a report generation request in response to the report generation instruction.

[0134] See the above S402, which will not be described again here.

[0135] S503: The user terminal sends a report generation request to the server terminal.

[0136] See the above S403, which will not be described again here.

[0137] S504: The server receives a report generation request for log data sent by the client.

[0138] See the above S101, which will not be repeated here.

[0139] S505 : In response to the report generation request, the server packages the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file.

[0140] See the above S102, which will not be described again here.

[0141] S506: The server integrates the log data through at least one visual rendering file to obtain at least one visual component corresponding to the log data.

[0142] See the above S103, which will not be described again here.

[0143] S507: Combine at least one visualization component corresponding to the log data into a target report, and send a download permission request for instructing the user terminal to download the target report to the user terminal.

[0144] See the above S104, which will not be described again here.

[0145] S508: The client receives a download permission request from the server.

[0146] See the above S404, which will not be described again here.

[0147] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0148] like Fig. 9 As shown, it shows a schematic diagram of the structure of a report generation device provided in an embodiment of the present application. The data dynamic desensitization device can be implemented as all or part of the device through software, hardware or a combination of both. The device is set on the server side. The report generation device may include: a first receiving module 601, a first response module 602, a first integration module 603 and a first combination module 604.

[0149] The first receiving module 601 is used to receive a report generation request for log data sent by a user end, wherein the report generation request carries at least one visualization processing identifier, and the report generation request is used to instruct the server end to generate a target report obtained by visualization processing the log data;

[0150] A first response module 602 is used to respond to the report generation request and package the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file;

[0151] A first integration module 603, configured to integrate the log data through at least one visualization rendering file to obtain at least one visualization component corresponding to the log data;

[0152] The first combining module 604 is used to combine at least one visual component corresponding to the log data into the target report, and send a download permission request for instructing the user terminal to download the target report to the user terminal.

[0153] In some possible embodiments, the first integration module 603 includes:

[0154] A first integration unit is used to filter out the to-be-processed data in the log data that meets the configuration requirements corresponding to the multiple configuration items according to the multiple configuration items included in the visual rendering file;

[0155] The second integration unit is used to reference the visualization rendering file, map the data to be processed to the multiple configuration items respectively, and obtain a visualization component.

[0156] In some possible embodiments, the report generating device further includes:

[0157] A second receiving module is used to receive a configuration request for configuring the multiple configuration items, wherein the configuration items at least include: an X-axis of a visualization component, a Y-axis of the visualization component, a color of the visualization component, a type of the visualization component being a graphic, or a type of the visualization component being a table;

[0158] The second response module is used to respond to the configuration request and obtain the visualization processing code corresponding to each of the configuration items.

[0159] In some possible embodiments, the report generation request further carries a report template identifier;

[0160] The first combination module 604 includes:

[0161] A first combining unit is used to load a target report template corresponding to the report template identifier from a plurality of predefined report templates according to the report template identifier, wherein the target report template includes at least one area;

[0162] A second combining unit is used to embed the at least one visual component into at least one area included in the target report template to obtain the target report;

[0163] The third combining unit is used to send a download permission request for instructing the user terminal to download the target report to the user terminal.

[0164] In a possible embodiment, the report generation request is further used to instruct the server to periodically generate an update report obtained by visually processing the update log data;

[0165] The report generating device further comprises:

[0166] A first periodic module, used for periodically acquiring update log data, wherein the update log data represents log data whose start time is after the start time of generating the log data;

[0167] A second periodic module, configured to integrate the update log data through the at least one visual rendering file to obtain at least one visual component corresponding to the update log data;

[0168] The third periodic module is used to combine at least one visual component corresponding to the update log data into the update report, and send a download permission request for instructing the user terminal to download the update report to the user terminal.

[0169] In some possible embodiments, the report generation request is further used to instruct the server to generate a plurality of target reports obtained by visually processing the log data;

[0170] The report generating device further comprises:

[0171] A first determination module, used to determine the start time and end time of generating the log data;

[0172] A first division module, used for dividing the log data into a plurality of sub-log data based on a preset time period;

[0173] The first integration module 603 includes:

[0174] A third integration unit, configured to integrate the plurality of sub-log data respectively through the at least one visual rendering file to obtain at least one visual component corresponding to each of the sub-log data;

[0175] The first combination module 604 includes:

[0176] The fourth combining unit is used to respectively combine at least one visual component corresponding to each of the sub-log data into a target report corresponding to each of the log data, and send a download permission request for instructing the user terminal to download multiple target reports to the user terminal.

[0177] In some possible embodiments, the report generation request further carries a target format identifier;

[0178] The first combining module 604 further includes:

[0179] A first conversion unit, configured to combine at least one visualization component corresponding to the log data into the target report;

[0180] The second conversion unit is used to convert the format of the target report into a target format corresponding to the target format identifier, and send a download permission request for instructing the user terminal to download the target report in the target format to the user terminal.

[0181] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0182] like Fig.10 As shown, Fig.10 The structure diagram of a report generation device provided by an embodiment of the present application is exemplarily shown. The device is set on the user end, and the report generation device may include: a second receiving module 701, a second responding module 702, a first sending module 703 and a third receiving module 704. Among them:

[0183] The first receiving module 701 is used to receive a report generation instruction for target data and selecting at least one visualization processing identifier from multiple visualization processing identifiers;

[0184] A second response module 702, configured to construct a report generation request in response to the report generation instruction, wherein the report generation request carries the at least one visualization processing identifier;

[0185] The first sending module 703 is used to send the report generation request to the server so that the server executes as shown in 2- Figure 6 Any report generation method, obtaining a download permission request for instructing the user terminal to download a target report;

[0186] The third receiving module 704 is used to receive a download permission request from the server.

[0187] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0188] The division of each module in the above-mentioned report generation device is only for illustration. In other embodiments, the report generation device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned report generation device. The implementation of each module in the report generation device provided in the embodiment of the present application can be in the form of a computer program. The computer program can be run on a terminal or a server. The program modules constituted by the computer program can be stored in the memory of the terminal or the server. When the computer program is executed by the processor, all or part of the steps of the report generation method described in the embodiment of the present application are implemented.

[0189] The present specification also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 1 - Figure 8 The report generation method of the embodiment shown in the figure can be found in the specific execution process. Figure 1 - Figure 8 The specific description of the illustrated embodiment will not be repeated here.

[0190] The present specification also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 1 - Figure 8 The report generation method of the embodiment shown in the figure can be found in the specific execution process. Figure 1 - Figure 8 The specific description of the illustrated embodiment will not be repeated here.

[0191] See also Fig.11 , Fig.11 FIG. 1 is a schematic diagram showing the structure of an electronic device provided by an embodiment of the present application. Fig.11As shown, the electronic device 800 may include: at least one processor 801 , at least one network interface 804 , a user interface 803 , a memory 805 , and at least one communication bus 802 .

[0192] The communication bus 802 may be used to realize the connection and communication among the above-mentioned components.

[0193] The user interface 803 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0194] The network interface 804 may optionally include a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0195] Among them, the processor 801 may include one or more processing cores. The processor 801 uses various interfaces and lines to connect various parts within the entire electronic device 800, and executes various functions and processes data of the routing device 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 805, and calling data stored in the memory 805. Optionally, the processor 801 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 801 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 801, and it can be implemented separately through a chip.

[0196] The memory 805 may include RAM or ROM. Optionally, the memory 805 includes a non-transitory computer-readable medium. The memory 805 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 805 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 805 may optionally be at least one storage device located away from the aforementioned processor 801. As Fig.11 As shown, the memory 805 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a report generation application.

[0197] Specifically, the processor 801 may be used to call the report generation application stored in the memory 805, and specifically perform the following operations:

[0198] Receiving a report generation request for log data sent by a user end, the report generation request carrying at least one visualization processing identifier, and the report generation request is used to instruct the server end to generate a target report obtained by performing visualization processing on the log data;

[0199] In response to the report generation request, packaging the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file;

[0200] Integrate the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data;

[0201] At least one visual component corresponding to the log data is combined into the target report, and a download permission request for instructing the user terminal to download the target report is sent to the user terminal.

[0202] In some possible embodiments, the processor 801 performs the step of integrating the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data, specifically performing:

[0203] According to the multiple configuration items included in the visual rendering file, filter out the data to be processed in the log data that meets the configuration requirements corresponding to the multiple configuration items;

[0204] The visualization rendering file is referenced, and the data to be processed are respectively mapped to the multiple configuration items to obtain a visualization component.

[0205] In some possible embodiments, before the processor 801 executes the step of responding to the report generation request and packaging the visualization processing codes corresponding to the visualization processing identifiers to obtain the visualization rendering file, the processor 801 further executes:

[0206] Receiving a configuration request for configuring the plurality of configuration items, the configuration items comprising at least: an X-axis of a visualization component, a Y-axis of the visualization component, a color of the visualization component, a type of the visualization component being a graphic, or a type of the visualization component being a table;

[0207] In response to the configuration request, a visualization processing code corresponding to each of the configuration items is obtained.

[0208] In some possible embodiments, the report generation request further carries a report template identifier, and the processor 801 performs the combining of the at least one visualization component into the target report, and sends a download permission request for instructing the user terminal to download the target report to the user terminal, specifically performing:

[0209] According to the report template identifier, a target report template corresponding to the report template identifier is loaded from a plurality of predefined report templates, wherein the target report template includes at least one area;

[0210] Embedding the at least one visualization component into at least one area included in the target report template to obtain the target report;

[0211] A download permission request for instructing the user terminal to download the target report is sent to the user terminal.

[0212] In some possible embodiments, the report generation request is further used to instruct the server to periodically generate an update report obtained by visually processing the update log data, and the processor 801 further executes:

[0213] Periodically acquiring update log data, wherein the update log data represents log data whose start time is after the start time of generating the log data;

[0214] Integrate the update log data through the at least one visual rendering file to obtain at least one visual component corresponding to the update log data;

[0215] At least one visual component corresponding to the update log data is combined into the update report, and a download permission request for instructing the user terminal to download the update report is sent to the user terminal.

[0216] In some possible embodiments, the report generation request is further used to instruct the server to generate multiple target reports obtained by visually processing the log data. Before the processor 801 executes the step of integrating the log data through at least one of the visual rendering files to obtain at least one visual component corresponding to the log data, it also executes:

[0217] Determine the start time and end time of generating the log data;

[0218] Dividing the log data into a plurality of sub-log data based on a preset time period;

[0219] The processor 801 executes the step of integrating the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data, specifically performing:

[0220] Integrate the plurality of sub-log data respectively through the at least one visual rendering file to obtain at least one visual component corresponding to each of the sub-log data;

[0221] The processor 801 executes the combining of at least one visualization component corresponding to the log data into the target report, and sends a download permission request for instructing the user terminal to download the target report to the user terminal, specifically executing:

[0222] At least one visual component corresponding to each of the sub-log data is respectively combined into a target report corresponding to each of the log data, and a download permission request for instructing the user terminal to download multiple target reports is sent to the user terminal.

[0223] In some possible embodiments, the report generation request further carries a target format identifier, and the processor 801 performs the steps of combining at least one visual component corresponding to the log data into the target report, and sending a download permission request for instructing the user terminal to download the target report to the user terminal, specifically performing:

[0224] Combining at least one visualization component corresponding to the log data into the target report;

[0225] The format of the target report is converted into a target format corresponding to the target format identifier, and a download permission request for instructing the user terminal to download the target report in the target format is sent to the user terminal.

[0226] In some possible embodiments, the processor 801 may be used to call a report generation application stored in the memory 805, and specifically perform the following operations:

[0227] Receiving a report generation instruction for target data and selecting at least one visualization processing identifier from a plurality of visualization processing identifiers;

[0228] Constructing a report generation request in response to the report generation instruction, wherein the report generation request carries the at least one visualization processing identifier;

[0229] Sending the report generation request to the server, so that the server executes any report generation method as claimed in claims 1 to 7, and obtains a download permission request for instructing the user to download the target report;

[0230] A download permission request is received from the server.

[0231] In the present application, the server receives a report generation request for log data sent by the user end, and the report generation request carries at least one visualization processing identifier. Furthermore, the server end packages multiple visualization processing codes corresponding to each visualization processing identifier in response to the report generation request to obtain at least one visualization rendering file, and integrates the log data through at least one visualization rendering file to obtain at least one visualization component, and the at least one visualization component is used to combine into a target report, and the user can download the target report through the user end. In other words, in the present application, the user instructs the server end to perform various visualization processes on the log data in an online manner through the user end, and generates a report including rich visualization components to obtain an analysis requirement that meets the user's personalized needs. And the server end provides the user with an interface for downloading reports, so that the user can use the reports offline after downloading them, rather than just sticking to the online viewing method.

[0232] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted by the computer-readable storage medium. The computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0233] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0234] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the scope of protection determined by the claims of the present application.

Claims

1. A report generation method, characterized in that: The execution subject of the method is a server, and the method includes: Receiving a report generation request for log data sent by a user end, the report generation request carrying at least one visualization processing identifier, and the report generation request is used to instruct the server end to generate a target report obtained by performing visualization processing on the log data; In response to the report generation request, packaging the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file; Integrate the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data; At least one visual component corresponding to the log data is combined into the target report, and a download permission request for instructing the user terminal to download the target report is sent to the user terminal.

2. The method according to claim 1, characterized in that The step of integrating the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data includes: According to the multiple configuration items included in the visual rendering file, filter out the data to be processed in the log data that meets the configuration requirements corresponding to the multiple configuration items; The visualization rendering file is referenced, and the data to be processed are respectively mapped to the multiple configuration items to obtain a visualization component.

3. The method according to claim 2, characterized in that Before the step of packaging the visualization processing codes corresponding to the visualization processing identifiers to obtain the visualization rendering files in response to the report generation request includes: Receiving a configuration request for configuring the plurality of configuration items, the configuration items comprising at least: an X-axis of a visualization component, a Y-axis of the visualization component, a color of the visualization component, a type of the visualization component being a graphic, or a type of the visualization component being a table; In response to the configuration request, a visualization processing code corresponding to each of the configuration items is obtained.

4. The method according to claim 1, characterized in that The report generation request also carries a report template identifier, and the combining of the at least one visual component into the target report and the sending of a download permission request for instructing the user terminal to download the target report to the user terminal include: According to the report template identifier, a target report template corresponding to the report template identifier is loaded from a plurality of predefined report templates, wherein the target report template includes at least one area; Embedding the at least one visualization component into at least one area included in the target report template to obtain the target report; A download permission request for instructing the user terminal to download the target report is sent to the user terminal.

5. The method according to claim 1, characterized in that The report generation request is also used to instruct the server to periodically generate an update report obtained by visually processing the update log data. The method further includes: Periodically acquiring update log data, wherein the update log data represents log data whose start time is after the start time of generating the log data; Integrate the update log data through the at least one visual rendering file to obtain at least one visual component corresponding to the update log data; At least one visual component corresponding to the update log data is combined into the update report, and a download permission request for instructing the user terminal to download the update report is sent to the user terminal.

6. A report generation method, characterized in that: The method is executed by a user terminal, and the method includes: Receiving a report generation instruction for target data and selecting at least one visualization processing identifier from a plurality of visualization processing identifiers; Constructing a report generation request in response to the report generation instruction, wherein the report generation request carries the at least one visualization processing identifier; Sending the report generation request to the server, so that the server executes any report generation method as claimed in claims 1 to 5, and obtains a download permission request for instructing the user to download the target report; A download permission request is received from the server.

7. A report generation device, characterized in that: The device is arranged on the server, and comprises: A first receiving module, configured to receive a report generation request for log data sent by a user end, wherein the report generation request carries at least one visualization processing identifier, and the report generation request is used to instruct the server end to generate a target report obtained by performing visualization processing on the log data; A first response module, configured to respond to the report generation request and package the visualization processing codes corresponding to the visualization processing identifiers to obtain a visualization rendering file; A first integration module, configured to integrate the log data through at least one of the visualization rendering files to obtain at least one visualization component corresponding to the log data; The first combining module is used to combine at least one visual component corresponding to the log data into the target report, and send a download permission request for instructing the user terminal to download the target report to the user terminal.

8. A report generation device, characterized in that: The device is arranged on a user terminal, and comprises: A second receiving module is used to receive a report generation instruction for target data and selecting at least one visualization processing identifier from a plurality of visualization processing identifiers; A second response module, configured to construct a report generation request in response to the report generation instruction, wherein the report generation request carries the at least one visualization processing identifier; A first sending module, configured to send the report generation request to the server, so that the server executes any report generation method as claimed in claims 1 to 5, and obtains a download permission request for instructing the user terminal to download a target report; The third receiving module is used to receive a download permission request from the server.

9. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 6.

10. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 6.