Data chart display method and device, equipment, medium and program product

By acquiring and constructing visual chart objects from the data lake, the problem of latency in large-screen data display was solved, the real-time performance and integrity of the data were improved, and the integration efficiency of the data chain was increased.

CN120910147APending Publication Date: 2025-11-07INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511132934.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-13
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

Existing technologies for displaying data on large screens suffer from latency, making it difficult to meet users' needs for real-time observation and analysis of business data.

Method used

The system retrieves initial business data from the data lake, queries derived indicator data based on preset business rules, constructs visual chart objects using visualization integration components, and displays the target data charts on the display interface.

Benefits of technology

It improves the timeliness and completeness of data, and enhances the integration efficiency of the data chain by conducting multi-dimensional and multi-directional data statistics, thereby reducing data processing delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120910147A_ABST
    Figure CN120910147A_ABST
Patent Text Reader

Abstract

The invention provides a data chart display method and device, equipment, a medium and a program product, which can be applied to the technical fields of computers and finance. The method comprises the following steps: acquiring initial business data for display from a data lake, wherein the initial business data is generated in a business operation execution process; querying derivative index data having a service rule association attribute with the initial service data based on a preset service rule, wherein the preset service rule is related to a preset service index in a to-be-generated target data chart; constructing a visual chart object based on the initial business data and the derivative index data by utilizing a visual integration component; and displaying the target data chart on a display interface according to the visual chart object.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer and finance, and more particularly to a data chart display method, device, equipment, medium and program product. BACKGROUND

[0002] In order to conveniently understand the real-time change of business data, the related tools can be used to monitor and analyze the related business data in real time and display on the large screen in an intuitive and visual manner.

[0003] In the related art, the business data in the database can be queried, and the business data can be encapsulated and sent to the front end for large screen display. However, the inventors find that the business data displayed on the large screen has high latency, which is difficult to meet the actual needs of users to observe and analyze the business data in real time. SUMMARY

[0004] In view of the above problems, the present application provides a data chart display method, device, equipment, medium and program product.

[0005] According to a first aspect of the present application, a data chart display method is provided, comprising: obtaining initial business data for display from a data lake, the initial business data being generated in the process of performing business operations; querying derived index data having a business rule associated attribute with the initial business data based on a preset business rule, the preset business rule being related to a preset business index in a target data chart to be generated; constructing a visual chart object based on the initial business data and the derived index data using a visual integration component; and displaying the target data chart on a display interface according to the visual chart object.

[0006] According to an embodiment of the present application, querying derived index data having a business rule associated attribute with the initial business data based on a preset business rule comprises: performing data integrity judgment on the initial business data based on the preset business rule to obtain a data integrity judgment result; and obtaining derived index data associated with the preset business index in the data lake according to the data integrity judgment result.

[0007] According to an embodiment of the present application, obtaining derived index data in the data lake based on the preset business index according to the data integrity judgment result comprises: confirming a missing business index from the preset business index in the case that the data integrity judgment result represents that the initial business data is incomplete; obtaining missing index data corresponding to the missing business index in the data lake using a specified query statement; and performing chart compilation on the missing index data using a specified script to obtain a derived chart object, and taking the derived chart as the derived index data.

[0008] According to an embodiment of the present application, the method further comprises: determining the missing indicator data corresponding to the missing business indicator in the data lake based on the data integrity judgment result; and determining the indicator calculation logic corresponding to the missing business indicator based on the data lake in the case that the missing indicator data corresponding to the missing business indicator does not exist in the data lake, wherein the icon data in the visualization chart object is determined based on the indicator calculation logic to process the derived indicator data and the initial business data.

[0009] According to an embodiment of the present application, the method further comprises: judging the data real-time of the initial business data according to the data time point information in the data attribute information of the initial business data to obtain a data real-time judgment result; and updating the initial business data according to the data real-time judgment result to obtain updated initial business data.

[0010] According to an embodiment of the present application, the method further comprises: judging the data real-time of the initial business data according to the data time point information in the data attribute information of the initial business data to obtain a data real-time judgment result; and updating the initial business data according to the data real-time judgment result to obtain updated initial business data.

[0011] According to an embodiment of the present application, the visualization integration component comprises a plurality of panel modules; wherein the visualization chart object is constructed by the visualization integration component based on the initial business data and the derived indicator data, comprising: performing data type judgment on the initial business data and the derived indicator data respectively to obtain a plurality of data type judgment results; for any one panel module, determining a chart display style corresponding to the data type judgment result based on the data type judgment result, wherein the chart display style is used for displaying a target data chart, and each panel module corresponds to one data type judgment result; and determining the visualization chart object according to the chart display styles of the plurality of panel modules.

[0012] According to an embodiment of the present application, the target data chart is determined based on the following operations: for any one panel module, obtaining the supplementary indicator data corresponding to the data type judgment result from a plurality of data sources based on the data type judgment result, wherein the plurality of data sources comprise a log data source; performing data integration on the initial business data, the derived indicator data and the supplementary indicator data based on the chart display style to obtain a sub-target data chart corresponding to the chart display style of the panel module; and determining the target data chart according to the sub-target data charts of the plurality of panel modules.

[0013] According to an embodiment of the present application, the target data chart is displayed on a display interface according to the visual chart object, comprising: determining a plurality of target display positions in the display interface according to the visual chart object in a specified front-end style, wherein the chart display style is one-to-one corresponding to the target display position; and displaying a plurality of sub-target data charts of the target data chart based on the plurality of target display positions.

[0014] The second aspect of the present application provides a data chart display device, comprising: an acquisition module configured to acquire initial business data for display from a data lake, the initial business data being generated in the process of performing a business operation; a query module configured to query derived index data having a business rule association attribute with the initial business data based on a preset business rule, the preset business rule being related to a preset business index in a target data chart to be generated; a construction module configured to construct a visual chart object based on the initial business data and the derived index data using a visual integration component; and a display module configured to display the target data chart on a display interface according to the visual chart object.

[0015] The third aspect of the present application provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.

[0016] The fourth aspect of the present application further provides a computer-readable storage medium having a computer program or instructions stored thereon, wherein the computer program or instructions are executed by a processor to implement the steps of the above method.

[0017] The fifth aspect of the present application further provides a computer program product comprising a computer program or instructions, wherein the computer program or instructions are executed by a processor to implement the steps of the above method.

[0018] According to an embodiment of the present application, initial business data for display is acquired from a data lake, the initial business data being generated in the process of performing a business operation; derived index data having a business rule association attribute with the initial business data is queried based on a preset business rule, the preset business rule being related to a preset business index in a target data chart to be generated; a visual chart object is constructed based on the initial business data and the derived index data using a visual integration component; and the target data chart is displayed on a display interface according to the visual chart object. By querying the derived index data having the business rule association attribute with the initial business data based on the preset business rule, the timeliness and completeness of complex data are effectively improved, and the problem of poor timeliness in related technical data processing is avoided. At the same time, multi-dimensional and multi-directional data statistics are realized using the visual integration component to construct the visual chart object, and the integration efficiency of the data link is improved. BRIEF DESCRIPTION OF DRAWINGS

[0019] The above and other objects, features and advantages of the present application will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:

[0020] Figure 1 An application scenario of a data chart presentation method, device, equipment, medium and program product according to embodiments of the present application is schematically shown;

[0021] Figure 2 A flowchart of a data chart presentation method according to embodiments of the present application is schematically shown;

[0022] Figure 3 A schematic diagram of a data chart presentation method according to embodiments of the present application is schematically shown;

[0023] Figure 4 A structure block diagram of a data chart presentation device according to embodiments of the present application is schematically shown; and

[0024] Figure 5 A block diagram of an electronic device suitable for implementing a data chart presentation method according to embodiments of the present application is schematically shown. DETAILED DESCRIPTION

[0025] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. It is to be understood, however, that the description is merely exemplary of the present application, and is not intended to limit the scope of the present application. In the following detailed description of the embodiments of the present application, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, it will be apparent to one skilled in the art that one or more embodiments of the present application can be practiced without these specific details. In other instances, well-known structures and functions have not been described in detail in order to avoid obscuring aspects of the present application.

[0026] The terms used herein are merely used to describe specific embodiments, and are not intended to limit the present application. The terms "include" and "have" and the like used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0027] All terms used herein, including technical and scientific terms, have the same meanings as those generally understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having meanings consistent with the context of the present description, and should not be interpreted in an idealized or excessively formal manner.

[0028] In the case of using expressions similar to "at least one of A, B, and C, etc.", in general, it should be interpreted according to the meaning that a person skilled in the art generally understands the expression (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, a system having B alone, a system having C alone, a system having both A and B, a system having both A and C, a system having both B and C, and / or a system having A, B, and C, etc.).

[0029] In the technical solutions of the present application, the user information (including but not limited to user personal information, user image information, user equipment information, such as location information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of related data comply with relevant laws, regulations and standards, necessary security measures are taken, do not violate public order and good customs, and corresponding operation portals are provided for users to choose authorization or refusal.

[0030] In the scenario of using personal information for automated decision-making, the method, device and system provided by the embodiments of the present application all provide corresponding operation portals for users to choose to agree or refuse the automated decision-making result; if the user chooses to refuse, the expert decision-making process is entered. The expression "automated decision-making" here refers to the activity of automatically analyzing, evaluating the behavior habits, interests and hobbies, or economic, health, credit status, etc. of a person through a computer program, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by personnel who are engaged in a certain field of work, have specialized experience, knowledge and skills, and have reached a certain professional level.

[0031] In the related art, the database is queried and the data is packaged and sent to the front end for display, wherein the data of the database can only use the summarized data processed by each data source, the data introduces delay in the generation process through multiple layers of processing and processing, and the link required by the database to obtain data needs to pass through multiple links, which increases the time and complexity of data transmission to a certain extent.

[0032] The most time-effective data source is the database of each application, but the database of each application cannot be directly queried in principle, so there is an operation of uploading data to the data lake to obtain data. Taking high-time-efficiency data uploading into the lake as an example, it can currently reach uploading into the lake once every 15 minutes, and the data delay is 2 to 3 hours. Even so, the current large-screen time efficiency is still not ideal, and one of the most important factors is that data cannot be directly queried from the data lake.

[0033] Embodiments of the present application provide a data chart display method, which comprises: obtaining initial business data for display from a data lake, the initial business data being generated in the process of performing a business operation; querying derived index data having a business rule association attribute with the initial business data based on a preset business rule, the preset business rule being related to a preset business index in a target data chart to be generated; constructing a visual chart object based on the initial business data and the derived index data using a visual integration component; and displaying the target data chart on a display interface according to the visual chart object.

[0034] Figure 1 An application scenario diagram of the data chart display method, apparatus, device, medium and program product according to embodiments of the present application is schematically shown.

[0035] As shown in Figure 1 The application scenario 100 according to this embodiment can include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104 and a server 105. The network 104 is a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103 and the server 105. The network 104 can include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0036] A user can use the first terminal device 101, the second terminal device 102, the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0037] The first terminal device 101, the second terminal device 102, the third terminal device 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers and desktop computers, etc.

[0038] The server 105 can be a server providing various services, such as a background management server supporting a website browsed by a user using the first terminal device 101, the second terminal device 102, the third terminal device 103 (only as an example). The background management server can analyze and process received user requests and other data, and feed back the processing results (such as web pages, information or data generated according to user requests, etc.) to the terminal device.

[0039] It should be noted that the data chart display method provided in the embodiments of the present application can be generally executed by the server 105. Accordingly, the data chart display apparatus provided in the embodiments of the present application can be generally arranged in the server 105. The data chart display method provided in the embodiments of the present application can also be executed by a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the data chart display apparatus provided in the embodiments of the present application can also be arranged in a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0040] It should be understood that Figure 1 The number of terminal devices, networks and servers in the above scenario is only illustrative. Any number of terminal devices, networks and servers can be provided according to implementation needs.

[0041] The data chart display method according to the embodiments of the present application will be described in detail below based on the scenario described above. Figure 1

[0042] Figure 2 An illustrative flowchart of the data chart display method according to the embodiments of the present application is shown.

[0043] As shown in Figure 2 The data chart display method of this embodiment includes operations S210-S240.

[0044] In operation S210, initial business data for display is obtained from a data lake. The initial business data is generated in the process of performing business operations.

[0045] According to the embodiments of the present application, the data lake can be used to centrally store data in any format from various data sources, including relational data, semi-structured data and unstructured data, etc. In the data lake, data is stored in the original format without the need for prior structured processing.

[0046] According to the embodiments of the present application, the initial business data can be data generated in the process of performing business operations, which can be absolute number indicator data such as transaction value, number of customers, etc.

[0047] ​According to an embodiment of the present application, according to input or preset large-screen display requirements, the data required to be displayed is determined to obtain initial business data for display in the data lake. Among them, the massive data in the data lake can be extracted and integrated based on a big data model, and stored through a data wide table, so that all data used by the large screen is obtained from this table, saving the time of association query with other tables.

[0048] In an embodiment of the present application, before obtaining the initial business data, the consent or authorization of the relevant user can be obtained. For example, before operation S210, a request for obtaining user information can be sent to the user. In the case where the user agrees or authorizes to obtain the user information, the operation S210 is performed.

[0049] In operation S220, the derived index data having a business rule association attribute with the initial business data is queried based on a preset business rule, and the preset business rule is related to a preset business index in the target data chart to be generated.

[0050] According to an embodiment of the present application, the preset business rule can be that the business index corresponding to the initial business data is consistent with the preset business index in the target data chart.

[0051] According to an embodiment of the present application, the derived index data can be obtained from the data lake and used to supplement the initial business data to meet the preset business rule.

[0052] For example, according to the large-screen display requirements, the target data chart needs to display the transaction value, the number of customers and the average price, and the obtained initial business data only includes the transaction value and the number of customers, so the derived index data about the average price needs to be queried from the data lake.

[0053] In operation S230, a visualization integration component is used to construct a visualization chart object based on the initial business data and the derived index data.

[0054] According to an embodiment of the present application, the visualization integration component can be used for visualization of large-scale data, and can also be used for integration of various log data sources to realize analysis and chart drawing of log data.

[0055] According to an embodiment of the present application, the visualization chart object can be a chart style used to display the target data chart, which is constructed by the visualization integration component after analyzing the initial business data and the derived index data, for example, the types of chart styles such as line chart, column chart, pie chart, and the chart styles such as color, font, label, etc.

[0056] According to the embodiment of the present application, the visualization integrated component analyzes the initial business data and the derived indicator data, can collect the corresponding log data and generate the target data chart.

[0057] In operation S240, the target data chart is displayed on the display interface according to the visualization chart object.

[0058] According to the embodiment of the present application, after the visualization chart object is constructed, the data of the target data chart can be displayed on the display interface through the visualization chart object, and the display interface can be any large-screen front-end interface.

[0059] In the embodiment of the present application, the user can be provided with a corresponding operation portal for the user to select to agree or refuse the automatic decision result. That is, before the target data chart is displayed, the user can input the agreement or refusal to display the target data chart through the corresponding operation portal. If the user agrees, the target data chart is displayed, that is, step S240 is executed. If the user refuses to display the target data chart, the expert decision process is entered.

[0060] According to the embodiment of the present application, the initial business data for display is obtained from the data lake, the initial business data is generated in the process of executing the business operation; the derived indicator data having a business rule association attribute with the initial business data is queried based on the preset business rule, the preset business rule is related to the preset business indicator in the target data chart to be generated; the visualization chart object is constructed based on the initial business data and the derived indicator data by using the visualization integrated component; and the target data chart is displayed on the display interface according to the visualization chart object. By querying the derived indicator data having a business rule association attribute with the initial business data based on the preset business rule, the timeliness and completeness of complex data are effectively improved, and the problem of poor timeliness of related technical data processing is avoided. At the same time, the visualization integrated component is used to realize multi-dimensional and multi-directional data statistics to construct the visualization chart object, and the integration efficiency of the data link is improved.

[0061] According to the embodiment of the present application, the derived indicator data having a business rule association attribute with the initial business data is queried based on the preset business rule, including: performing data integrity judgment on the initial business data based on the preset business rule to obtain a data integrity judgment result; and obtaining the derived indicator data associated with the preset business indicator in the data lake according to the data integrity judgment result.

[0062] According to the embodiment of the present application, the data integrity judgment is performed on the initial business data to judge whether the business indicator corresponding to the initial business data is consistent with the preset business indicator in the target data chart of the demand, so as to obtain the data integrity judgment result.

[0063] According to an embodiment of the present application, according to the data integrity judgment result, it is determined whether the derivative index data associated with the preset business index needs to be obtained in the data lake to supplement the initial business data.

[0064] According to an embodiment of the present application, the above-mentioned derivative index data associated with the preset business index obtained in the data lake can be extracted by data mining in the data lake by using data warehouse technology, online analytical processing technology, data mining and data presentation technology and the like.

[0065] According to an embodiment of the present application, by obtaining the derivative index data associated with the preset business index, the data content can be enriched when the large screen is displayed, the data integrity is ensured, and the display requirements of the large screen are met.

[0066] According to an embodiment of the present application, according to the data integrity judgment result, the derivative index data is obtained in the data lake based on the preset business index, including: confirming the missing business index from the preset business index in the case that the data integrity judgment result represents that the initial business data is incomplete; obtaining the missing index data corresponding to the missing business index in the data lake by using a specified query statement; using a specified script to compile the missing index data into a derivative chart object, and taking the derivative chart as the derivative index data.

[0067] According to an embodiment of the present application, the missing business index is confirmed from the preset business index, and the data that needs to be supplemented is determined.

[0068] According to an embodiment of the present application, the specified query statement can be a query statement corresponding to the data lake, and according to actual requirements, a query statement corresponding to other data sources can be called to query data from the data lake or other data sources to obtain the missing index data corresponding to the missing business index.

[0069] According to an embodiment of the present application, the specified script is used for processing the missing index data, which can be integrating the missing index data or compiling the missing index data into a derivative chart object. The derivative chart object can be directly displayed on the large screen according to actual requirements.

[0070] According to an embodiment of the present application, according to the data integrity judgment result, the derivative index data is obtained in the data lake based on the preset business index, and further includes: in the case that the missing index data corresponding to the missing business index does not exist in the data lake, determining the index calculation logic corresponding to the missing business index; obtaining the derivative index data corresponding to the index calculation logic in the data lake, wherein the chart data in the visual chart object is determined by processing the derivative index data and the initial business data based on the index calculation logic.

[0071] According to an embodiment of the present application, in the case that there is no missing indicator data corresponding to the missing business indicator in the data lake, data related to the missing business indicator needs to be obtained for calculation based on the corresponding indicator calculation logic.

[0072] For example, the missing business indicator is the average price, and the total price and the number of customers and other data need to be obtained in the data lake so that the average price can be calculated based on the indicator calculation logic, and the total price and the number of customers and other data are used as derived indicator data. The total price and the number of customers and other data can be integrated by using the specified script to calculate the data of the average price and generate the corresponding derived chart object.

[0073] According to an embodiment of the present application, in the above-mentioned derived indicator data query stage, how to integrate the indicator calculation logic of the data is considered to select appropriate data sources (data lake or other data sources) and collection methods (specified query statements) to ensure that the required data can be obtained. Based on real-time or streaming data processing methods, corresponding real-time or streaming data processing technologies are used to perform preliminary indicator calculation when data flows in, which can reduce data delay and improve the real-time and completeness of data in the chart when displayed on a large screen.

[0074] According to an embodiment of the present application, the above-mentioned method further comprises: judging the data real-time of the initial business data according to the data time point information in the data attribute information of the initial business data to obtain a data real-time judgment result; and updating the initial business data according to the data real-time judgment result to obtain updated initial business data.

[0075] According to an embodiment of the present application, after obtaining the initial business data, the real-time of the initial business data needs to be judged, which can be to confirm the data time point information in the data attribute information of the initial business data, and judge whether the data time point information is consistent or close to the current time point or the time point required for display to obtain a data real-time judgment result.

[0076] According to an embodiment of the present application, the initial business data is updated according to the data real-time judgment result, which can be to complete the initial business data or to reacquire the initial business data to obtain updated initial business data, and the updated initial business data meets the data real-time condition.

[0077] According to an embodiment of the present application, by judging the data real-time of the initial business data, the timeliness of complex data is effectively improved compared with the large-screen data statistical method in the related art.

[0078] According to the embodiments of the present application, the processing of data indicators is started in the early stage of data collection and processing, that is, the above-mentioned data integrity and real-time judgment. In order to obtain valuable information and insights earlier, clarify needs and goals.

[0079] According to the embodiments of the present application, the initial business data is updated according to the data real-time judgment result, including: confirming the data content information of the initial business data in the data attribute information of the initial business data in the case that the data time point information of the initial business data does not meet the data real-time condition; obtaining supplementary business data in the data lake, wherein the data content information of the supplementary business data is related to the data content information of the initial business data, and the data time point information of the supplementary business data meets the data real-time condition; determining the updated initial business data according to the initial business data and the supplementary business data.

[0080] According to the embodiments of the present application, the data content information of the initial business data is confirmed in the data attribute information of the initial business data, for example, for transaction value data, the business name corresponding to the transaction value can be used as the data content information, so as to obtain supplementary business data in the data lake based on the business name.

[0081] According to the embodiments of the present application, the supplementary business data is obtained in the data lake, which can be associated with the data time point information of the initial business data based on the data content information, for example, the supplementary business data can be data within a specified time period before or after the initial business data is generated. It can also be the data at the time point indicated by the data real-time condition as the supplementary business data.

[0082] According to the embodiments of the present application, by obtaining the supplementary business data in the data lake to update the initial business data, the data real-time performance of the data in the large screen display can be ensured.

[0083] According to the embodiments of the present application, the visualization integration component includes a plurality of panel modules; wherein the visualization integration component constructs a visualization chart object based on the initial business data and the derived indicator data, including: performing data type judgment on the initial business data and the derived indicator data respectively to obtain a plurality of data type judgment results; for any one panel module, based on the data type judgment result, determining a chart display style corresponding to the data type judgment result, wherein the chart display style is used for displaying a target data chart, and each panel module corresponds to a data type judgment result; determining the visualization chart object according to the chart display styles of the plurality of panel modules.

[0084] According to the embodiments of the present application, the visualized integrated component can support multiple log data sources, a log storage mode can select a suitable data source, and the data source can be added in the visualized integrated component. The visualized integrated component includes at least one display subcomponent, wherein the display subcomponent includes multiple panel modules, and each panel module can display a specific data view or chart, i.e., a chart display style.

[0085] According to the embodiments of the present application, data type judgment is performed on the initial business data and the derived index data respectively, and multiple data type judgment results are obtained, and each data type judgment result corresponds to the specific data view or chart.

[0086] According to the embodiments of the present application, the visualized chart object is determined according to the chart display styles of the multiple panel modules.

[0087] According to the embodiments of the present application, the panel module provides a separate data object for the data in the form of a chart written in a front-end syntax, which can be used by related programs.

[0088] According to the embodiments of the present application, the target data chart is determined based on the following operations: for any one panel module, based on the data type judgment result, the supplementary index data corresponding to the data type judgment result is obtained from multiple data sources, wherein the multiple data sources include log data sources; based on the chart display style, the initial business data, the derived index data and the supplementary index data are integrated to obtain a sub-target data chart corresponding to the chart display style of the panel module; and the target data chart is determined according to the sub-target data charts of the multiple panel modules.

[0089] According to the embodiments of the present application, the panel module is configured with a query function to obtain the data to be displayed from the multiple data sources, and different query specific syntaxes can be used according to the types of the data sources used. The chart type and style can also be configured, and after the query is configured, a chart type such as a line chart, a column chart, a pie chart, etc. can be selected to display the data, and the style of the chart such as color, font, label, etc. can also be configured to make the chart easier to understand and read, i.e., the chart display style.

[0090] According to the embodiments of the present application, the panel module can obtain the data of the log data source based on the configured data source query statement. The use of the log data source data can make the large screen monitoring more powerful, and compared with the large screen supported only by business data, it has higher practical value and is more suitable for adding an alarm function.

[0091] According to an embodiment of the present application, the panel module obtains supplementary index data corresponding to the data type judgment result from multiple data sources, and then integrates the initial business data, the derived index data and the supplementary index data based on the above chart display style to complete drawing of the sub-target data chart, and further obtain the target data chart.

[0092] According to an embodiment of the present application, the use of multiple data sources in combination, the use of initial business data, derived index data and supplementary index data to realize multi-dimensional and multi-directional data statistics, compared with the large screen design method of related technologies, the data index design is more flexible.

[0093] According to an embodiment of the present application, the target data chart can be displayed based on the above visual chart object, and can also be shared according to actual needs.

[0094] According to an embodiment of the present application, the above data is integrated and limited by using the visual integration component, and the data of multiple data sources is used, and the log data collected by the visual integration component is combined to enrich and integrate to obtain the target data chart. In this process, it is ensured that the data amount of each step will not be too large, and the logic will not be too complex, and the data query and display can be quickly performed. In large screen display, simple charts directly use derived charts, and single chart components are embedded by output link method. For the case of needing to use different data sources and log data at the same time, the derived chart is integrated and processed on the visual integration component.

[0095] According to an embodiment of the present application, the visual integration component collects data of each data source more flexibly and efficiently, and by means of the visual integration component, the log data and the business data can be directly combined. Compared with the low-code development platform of related technologies, the function is stronger, and also has the functions of low-code development, component dragging, custom chart drawing, etc. The large screen style is effectively enriched, and multi-party compatibility is realized.

[0096] According to an embodiment of the present application, the target data chart is displayed on the display interface according to the visual chart object, including: determining a plurality of target display positions in the display interface according to the visual chart object in the specified front-end style, wherein the chart display style and the target display position are one-to-one corresponding; based on the plurality of target display positions, a plurality of sub-target data charts of the target data chart are displayed respectively.

[0097] According to an embodiment of the present application, the specified front-end style can be a pre-designed display framework of the large screen display interface, and each sub-framework (i.e. target display position) is provided with corresponding display style requirements or display data requirements.

[0098] According to an embodiment of the present application, after the target data chart is generated, a corresponding target display position is determined in a display framework of a large-screen display interface according to the chart display style of each of the plurality of sub-target data charts, so as to complete display of the target data chart.

[0099] Figure 3 A schematic diagram of a data chart display method according to an embodiment of the present application is schematically shown.

[0100] According to an embodiment of the present application, as shown in Figure 3 the data chart display method comprises: in operation S310, constructing a specified front-end style based on display requirements. In operation S320, obtaining initial business data in a data lake based on the display requirements. In operation S330, judging whether the initial business data meets data real-time conditions, if yes, executing operation S350, if not, executing operation S340 to update the initial business data, and after the update is completed, executing operation S350. In operation S350, judging whether the initial business data meets data completeness conditions, if yes, executing operation S370, if not, executing operation S360 to obtain derived index data, and then in operation S370, constructing a visual chart object based on the initial business data and the derived index data by using a visual integration component. In operation S380, displaying a target data chart in a specified front-end style of a display interface according to the visual chart object.

[0101] According to an embodiment of the present application, the visual integration component is used to construct the visual chart object, which has a low-code development mode of basic graphic styles, and also supports customization of chart styles. In addition, the visual integration component can perform log query, and a large-screen index can be designed by querying logs, so as to realize true high timeliness. At the same time, the derived index data is obtained and the initial business data is updated, so as to realize real-time logical change of index data, the structured query language (Structured Query Language, sql) is directly written to extract data indexes, the flexibility when the indexes are changed is ensured, and the problems of poor timeliness of the large screen and long data link in the related art are improved.

[0102] Based on the above data chart display method, the present application further provides a data chart display device. The device will be described in detail below. Figure 4

[0103] Figure 4 A structural block diagram of a data chart display device according to an embodiment of the present application is schematically shown.

[0104] As Figure 4 ​As shown, the data chart display device 400 of the embodiment includes an acquisition module 410, a query module 420, a construction module 430, and a display module 440.

[0105] The acquisition module 410 is configured to acquire initial business data for display from a data lake, the initial business data being generated in the process of performing a business operation. In an embodiment, the acquisition module 410 can be configured to perform operation S210 described above, which will not be repeated here.

[0106] The query module 420 is configured to query derived indicator data having a business rule association attribute with the initial business data based on a preset business rule, the preset business rule being related to a preset business indicator in a target data chart to be generated. In an embodiment, the query module 420 can be configured to perform operation S220 described above, which will not be repeated here.

[0107] The construction module 430 is configured to construct a visual chart object based on the initial business data and the derived indicator data using a visual integration component. In an embodiment, the construction module 430 can be configured to perform operation S230 described above, which will not be repeated here.

[0108] The display module 440 is configured to display the target data chart according to the visual chart object on a display interface. In an embodiment, the display module 440 can be configured to perform operation S240 described above, which will not be repeated here.

[0109] According to the embodiments of the present application, initial business data for display is acquired from a data lake, the initial business data being generated in the process of performing a business operation; derived indicator data having a business rule association attribute with the initial business data is queried based on a preset business rule, the preset business rule being related to a preset business indicator in a target data chart to be generated; a visual chart object is constructed based on the initial business data and the derived indicator data using a visual integration component; and the target data chart is displayed according to the visual chart object on a display interface. By querying derived indicator data having a business rule association attribute with the initial business data based on a preset business rule, the timeliness and completeness of complex data are effectively improved, avoiding the problem of poor timeliness of related technical data processing. At the same time, multi-dimensional and multi-directional data statistics are implemented using a visual integration component to construct a visual chart object, improving the integration efficiency of data links.

[0110] According to an embodiment of the present application, any of the modules of the obtaining module 410, the querying module 420, the constructing module 430 and the presenting module 440 can be combined in one module, or any of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of the modules can be combined with at least part of the functions of the other modules, and implemented in one module. According to an embodiment of the present application, at least one of the obtaining module 410, the querying module 420, the constructing module 430 and the presenting module 440 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on board, a system on package, an application specific integrated circuit (ASIC), or any other reasonable manner of integrating or packaging a circuit, etc. in hardware or firmware, or implemented in any one of software, hardware and firmware or in a proper combination of any of them. Alternatively, at least one of the obtaining module 410, the querying module 420, the constructing module 430 and the presenting module 440 can be at least partially implemented as a computer program module which can perform the corresponding functions when the computer program module is run.

[0111] According to an embodiment of the present application, the querying module 420 comprises a first determining sub-module and a first obtaining sub-module.

[0112] The first determining sub-module is configured to perform data integrity judgment on the initial business data based on a preset business rule, and obtain a data integrity judgment result.

[0113] The first obtaining sub-module is configured to obtain derived indicator data associated with the preset business indicator in the data lake according to the data integrity judgment result.

[0114] According to an embodiment of the present application, the first obtaining sub-module comprises a first determining unit, a first obtaining unit and a compiling unit.

[0115] The first determining unit is configured to determine a missing business indicator from the preset business indicators in a case where the data integrity judgment result represents that the initial business data is incomplete.

[0116] The first obtaining unit is configured to obtain missing indicator data corresponding to the missing business indicator in the data lake by using a specified query statement.

[0117] The compiling unit is configured to perform chart compilation on the missing indicator data by using a specified script, obtain a derived chart object, and take the derived chart as the derived indicator data.

[0118] According to an embodiment of the present application, the first obtaining sub-module further comprises a second determining unit and a second obtaining unit.

[0119] The second determining unit is configured to determine, in a case where the missing indicator data corresponding to the missing business indicator does not exist in the data lake, indicator calculation logic corresponding to the missing business indicator.

[0120] The second obtaining unit is configured to obtain, in the data lake, derived indicator data corresponding to the indicator calculation logic, wherein the icon data in the visual chart object is determined based on the indicator calculation logic processing the derived indicator data and the initial business data.

[0121] According to an embodiment of the present application, the data chart display device 400 further includes a judgment module and an update module.

[0122] The judgment module is configured to judge, according to the data time point information in the data attribute information of the initial business data, the data real-time of the initial business data, to obtain a data real-time judgment result.

[0123] The update module is configured to update, according to the data real-time judgment result, the initial business data, to obtain updated initial business data.

[0124] According to an embodiment of the present application, the update module includes a first determining submodule, a second obtaining submodule and a second determining submodule.

[0125] The first determining submodule is configured to, in a case where the data time point information of the initial business data does not satisfy the data real-time condition as represented by the data real-time judgment result, confirm the data content information of the initial business data in the data attribute information of the initial business data.

[0126] The second obtaining submodule is configured to obtain, in the data lake, supplementary business data, wherein the data content information of the supplementary business data is related to the data content information of the initial business data, and the data time point information of the supplementary business data satisfies the data real-time condition.

[0127] The second determining submodule is configured to determine, according to the initial business data and the supplementary business data, the updated initial business data.

[0128] According to an embodiment of the present application, the visual integration component includes a plurality of panel modules.

[0129] According to an embodiment of the present application, the construction module 430 includes a second judgment submodule, a third determining submodule and a fourth determining submodule.

[0130] The second judgment submodule is configured to perform data type judgment on the initial business data and the derived indicator data respectively, to obtain a plurality of data type judgment results.

[0131] The third determining sub-module is configured to determine, for any one panel module, a chart display style corresponding to the data type judgment result based on the data type judgment result, wherein the chart display style is used for displaying the target data chart, and each panel module corresponds to one data type judgment result.

[0132] The fourth determining sub-module is configured to determine the visual chart object according to the chart display styles of the plurality of panel modules.

[0133] According to an embodiment of the present application, the constructing module 430 further includes a third acquiring sub-module, an integrating sub-module and a fifth determining sub-module.

[0134] The third acquiring sub-module is configured to acquire, for any one panel module, supplementary index data corresponding to the data type judgment result from a plurality of data sources based on the data type judgment result, wherein the plurality of data sources include a log data source.

[0135] The integrating sub-module is configured to perform data integration on the initial business data, the derived index data and the supplementary index data based on the chart display style, to obtain a sub-target data chart corresponding to the chart display style of the panel module.

[0136] The fifth determining sub-module is configured to determine the target data chart according to the sub-target data charts of the plurality of panel modules.

[0137] According to an embodiment of the present application, the display module 440 includes a sixth determining sub-module and a display sub-module.

[0138] The sixth determining sub-module is configured to determine a plurality of target display positions in a display interface in a specified front-end style according to the visual chart object, wherein the chart display style and the target display position are in one-to-one correspondence.

[0139] The display sub-module is configured to display the plurality of sub-target data charts of the target data chart based on the plurality of target display positions.

[0140] Figure 5 A block diagram of an electronic device suitable for implementing the data chart display method according to an embodiment of the present application is schematically shown.

[0141] As Figure 5As shown, the electronic device 500 according to the embodiments of the present application includes a processor 501 which can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 502 or a program loaded from a storage section 508 into a random access memory (RAM) 503. The processor 501 can include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor, and / or a related chipset, and / or a special purpose microprocessor (e.g., an application specific integrated circuit (ASIC)), and so on. The processor 501 can also include an on-board memory for cache use. The processor 501 can include a single processing unit or multiple processing units for executing different actions of the method processes according to the embodiments of the present application.

[0142] In the RAM 503, various programs and data required for the operation of the electronic device 500 are stored. The processor 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. The processor 501 performs various operations of the method processes according to the embodiments of the present application by executing the programs in the ROM 502 and / or the RAM 503. Note that the programs can also be stored in one or more memories other than the ROM 502 and the RAM 503. The processor 501 can also perform various operations of the method processes according to the embodiments of the present application by executing the programs stored in the one or more memories.

[0143] According to the embodiments of the present application, the electronic device 500 can also include an input / output (I / O) interface 505 which is also connected to the bus 504. The electronic device 500 can also include one or more of the following components connected to the input / output (I / O) interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the input / output (I / O) interface 505 as necessary. A removable recording medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 510 as necessary, so that a computer program read out therefrom is installed in the storage section 508 as necessary.

[0144] The application further provides a computer readable storage medium, which can be included in the device / apparatus / system described in the above embodiments, or can exist independently without being assembled into the device / apparatus / system. The computer readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the application.

[0145] According to the embodiments of the application, the computer readable storage medium can be a non-volatile computer readable storage medium, which can include, but is not limited to, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination thereof. In this application, a computer readable storage medium can be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to the embodiments of the application, the computer readable storage medium can include one or more of the above-described ROM 502 and / or RAM 503 and / or memories other than the ROM 502 and the RAM 503.

[0146] The embodiments of the application also include a computer program product, which includes a computer program containing program codes for executing the methods shown in the flowcharts. When the computer program product is run in a computer system, the program codes are used to make the computer system implement the data chart display method provided by the embodiments of the application.

[0147] The above-described functions defined in the system / apparatus of the embodiments of the application are performed when the computer program is executed by the processor 501. According to the embodiments of the application, the above-described system, apparatus, module, unit, etc. can be implemented by computer program modules.

[0148] In one embodiment, the computer program can rely on a tangible storage medium such as an optical storage device, a magnetic storage device, etc. In another embodiment, the computer program can also be transmitted, distributed, and downloaded in the form of a signal on a network medium, and be downloaded and installed through the communication part 509, and / or installed from the detachable medium 511. The program codes contained in the computer program can be transmitted by any appropriate network medium, including but not limited to wireless, wired, etc., or any appropriate combination thereof.

[0149] In such embodiments, the computer program can be downloaded and installed from the network via the communication section 509, and / or installed from the removable media 511. When the computer program is executed by the processor 501, the above-described functions defined in the system of the embodiments of the present application are executed. According to the embodiments of the present application, the system, device, apparatus, module, unit, and the like described above can be realized by the computer program module.

[0150] According to the embodiments of the present application, the program code for executing the computer program provided by the embodiments of the present application can be written in any combination of one or more programming languages, and specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming language, and / or assembly / machine language. The programming language includes, but is not limited to, such as Java, C++, python, "C" language, or similar programming language. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case involving a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, connected to the Internet through an Internet service provider).

[0151] The flowcharts and block diagrams in the drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment, or a portion of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that shown in the figures. For example, two blocks noted in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the functionality involved. It should also be noted that each block in the flowcharts or block diagrams, and combinations of blocks in the flowcharts or block diagrams, can be implemented by dedicated hardware-based systems that perform the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0152] Those skilled in the art can understand that the features described in various embodiments of the present application can be combined and / or integrated in various combinations and / or integrations, even if such combinations or integrations are not explicitly described in the present application. In particular, the features described in various embodiments of the present application can be combined and / or integrated in various combinations and / or integrations without departing from the spirit and teachings of the present application. All such combinations and / or integrations fall within the scope of the present application.

Claims

1. A method of data chart presentation, characterized by, The method comprises: obtaining initial business data for display from a data lake, the initial business data being generated in the process of performing business operations; querying derived indicator data having a business rule association attribute with the initial business data based on a preset business rule, the preset business rule being related to a preset business indicator in a target data chart to be generated; constructing a visual chart object based on the initial business data and the derived indicator data using a visual integration component; and displaying a target data chart on a display interface according to the visual chart object.

2. The method of claim 1, wherein, The querying of the derived indicator data having the business rule association attribute with the initial business data based on the preset business rule comprises: performing data integrity judgment on the initial business data based on the preset business rule to obtain a data integrity judgment result; obtaining derived indicator data associated with the preset business indicator in the data lake according to the data integrity judgment result.

3. The method of claim 2, wherein, The obtaining of the derived indicator data in the data lake based on the preset business indicator according to the data integrity judgment result comprises: in the case that the data integrity judgment result represents that the initial business data is incomplete, confirming a missing business indicator from the preset business indicator; obtaining missing indicator data corresponding to the missing business indicator in the data lake using a specified query statement; performing chart compilation on the missing indicator data using a specified script to obtain a derived chart object, and taking the derived chart as the derived indicator data.

4. The method of claim 3, wherein, The obtaining of the derived indicator data in the data lake based on the preset business indicator according to the data integrity judgment result further comprises: in the case that there is no missing indicator data corresponding to the missing business indicator in the data lake, determining indicator calculation logic corresponding to the missing business indicator; obtaining derived indicator data corresponding to the indicator calculation logic in the data lake, wherein chart data in the visual chart object is determined by processing the derived indicator data and the initial business data based on the indicator calculation logic.

5. The method of claim 1, wherein, The method further comprises: judging data real-time performance of the initial business data according to data time point information in data attribute information of the initial business data to obtain a data real-time performance judgment result; updating the initial business data according to the data real-time performance judgment result to obtain updated initial business data.

6. The method of claim 5, wherein, The updating of the initial business data according to the data real-time performance judgment result comprises: in the case that the data real-time performance judgment result represents that data time point information of the initial business data does not satisfy a data real-time condition, confirming data content information of the initial business data in data attribute information of the initial business data; obtaining supplementary business data in the data lake, wherein data content information of the supplementary business data is related to the data content information of the initial business data, and data time point information of the supplementary business data satisfies the data real-time condition; According to the initial business data and the supplementary business data, the updated initial business data is determined.

7. The method of claim 1, wherein, The visualization integration component includes a plurality of panel modules; The visualization integration component includes a plurality of panel modules; The visualization integration component includes a plurality of panel modules; The visualization integration component includes a plurality of panel modules; For any one of the panel modules, based on the data type judgment result, a chart display style corresponding to the data type judgment result is determined, wherein the chart display style is used to display the target data chart, and each panel module corresponds to a data type judgment result.

8. The method of claim 7, wherein, According to the chart display styles of the plurality of panel modules, the visualization chart object is determined. The target data chart is determined based on the following operations: For any one of the panel modules, based on the data type judgment result, supplementary index data corresponding to the data type judgment result is obtained from a plurality of data sources, wherein the plurality of data sources include a log data source. Based on the chart display style, the initial business data, the derived index data, and the supplementary index data are integrated to obtain a sub-target data chart corresponding to the chart display style of the panel module.

9. The method of claim 8, wherein, According to the chart display styles of the plurality of panel modules, the visualization chart object is determined. The visualization integration component includes a plurality of panel modules; According to the chart display styles of the plurality of panel modules, the visualization chart object is determined.

10. A data chart presentation device, characterized by, The device includes: An acquisition module is configured to acquire initial business data for display from a data lake, wherein the initial business data is generated during the execution of a business operation; A query module is configured to query derived index data having a business rule association attribute with the initial business data based on a preset business rule, wherein the preset business rule is related to a preset business index in a target data chart to be generated; A construction module is configured to construct a visualization chart object based on the initial business data and the derived index data using a visualization integration component; and An exhibition module is configured to display a target data chart on a display interface according to the visualization chart object.

11. An electronic device, comprising: One or more processors; Memory for storing one or more computer programs, The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1-9.

12. A computer readable storage medium having stored thereon a computer program or instructions, characterized in that, The computer program or instructions are executed by the processor to implement the steps of the method according to any one of claims 1-9.

13. A computer program product comprising computer programs or instructions, characterized in that, The computer program or instructions are executed by the processor to implement the steps of the method according to any one of claims 1-9.