Chart visualization method and system, electronic equipment and storage medium

By generating dictionary information tables and data item tables and establishing an association relationship with database tables, the problems of long access time for visual charts and single display methods in business intelligence systems are solved, the efficiency of chart display is improved, and the diverse needs of users are met.

CN118897832APending Publication Date: 2024-11-05CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410945621.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The access time of visual charts in business intelligence systems is long and the display method is single, resulting in low access efficiency and inability to meet user needs.

Method used

By generating dictionary information tables and data item tables, establish an association relationship with the database tables, realize chart configuration and permission settings, reduce the number of database accesses, and improve display efficiency.

Benefits of technology

It has achieved the efficiency improvement of chart display, met the diverse needs of users, and reduced the pressure on database access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897832A_ABST
    Figure CN118897832A_ABST
Patent Text Reader

Abstract

The invention provides a chart visualization method and system, electronic equipment and a storage medium, and relates to the field of data processing. The method comprises the steps of generating a dictionary information table corresponding to dimension information in response to operation of a first user for the dimension information in a database table, processing data items corresponding to indexes in a data source table in response to operation of the first user for the indexes in the data source table to obtain a data item table, and processing the data items corresponding to the indexes in the data source table in response to configuration operation of the first user for the data source table to obtain a data item table. The method comprises the steps of configuring a data source table, determining a corresponding configuration chart, responding to a permission setting operation of a first user for the configuration chart, determining a permission level corresponding to the configuration chart, establishing a permission relation table, responding to an operation of a second user for a display information table, and displaying a configuration chart corresponding to the permission level of the second user. Or indexes and index information in the chart are configured, the content, the display form and the authority of the chart are flexibly configured, the database access frequency is reduced, and the chart access efficiency is improved.
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 chart visualization method, system, electronic device and storage medium. Background Art

[0002] Business Intelligence System (BI) is often used in the field of business report analysis and generally includes three parts: data warehouse and data processing, data analysis, and visual chart display.

[0003] The visualization chart part of the relevant business intelligence system mainly loads the result table information of the report from the database to the data source, configures the data report according to the data source and then hangs it out, so that users can access the data report through the menu.

[0004] However, the above-mentioned business intelligence system needs to access the database multiple times during use, which takes a long time to access. In addition, the data types of the configuration reports are various, and the report display method is single, resulting in low report access efficiency and failure to meet user needs. Summary of the invention

[0005] The present application provides a chart visualization method, system, electronic device and storage medium to solve the problems in the prior art that the access time of visualized charts is long, the display method is single, the access efficiency is low, and the needs of users cannot be met.

[0006] In a first aspect, the present application provides a diagram visualization method, comprising:

[0007] In response to the first user's operation on the dimension information in the database table, a dictionary information table corresponding to the dimension information is generated; wherein the dictionary information table includes a dictionary number corresponding to the dimension information, a dimension value, and a dimension field corresponding to the dimension value; the dictionary information table is associated with a data source table, and the data source table is obtained by importing based on the database table;

[0008] In response to the first user's operation on the indicator in the data source table, the data item corresponding to the indicator is processed to obtain a data item table; wherein the data item table is associated with the data source table, and the data source table includes at least one indicator;

[0009] In response to the configuration operation of the first user on the data source table, the data source table is configured and processed to determine a corresponding configuration chart; wherein the configuration processing includes at least one of aggregation, addition, filtering, screening, sorting, and drawing; the configuration chart is associated with the data source table;

[0010] In response to the permission setting operation of the first user on the configuration chart, determining the permission level corresponding to the configuration chart and establishing a permission relationship table;

[0011] In response to the second user's operation on the display information table, a configuration chart corresponding to the second user's authority level, or indicators and indicator information in the configuration chart is displayed; the display information table includes at least one display information identifier, and the display information identifier corresponds one-to-one to the configuration chart.

[0012] In a possible design, in response to the first user's operation on the dimension information in the database table, generating a dictionary information table corresponding to the dimension information includes:

[0013] In response to the first user's operation on the dimension information in the database table, obtaining a dimension value and a dimension field corresponding to each dimension information;

[0014] Generate a dictionary information table corresponding to each dimension information according to the dimension value and dimension field corresponding to each dimension information; wherein the dimension information indicates a key data item in the database table; the dimension value indicates a data value in the data item where the dimension information is located, and the dimension field indicates a meaning of the dimension value;

[0015] For each dimension information, a data source table corresponding to the dimension information is determined, and an association relationship between the dictionary information table and the data source table is established based on the dimension information.

[0016] In a possible design, a dictionary information table corresponding to each dimension information is generated according to the dimension value and the dimension field corresponding to each dimension information, including:

[0017] For each of the dimension information, generating a dictionary number corresponding to the dimension information according to the dimension value and dimension field corresponding to the dimension information;

[0018] A corresponding dictionary information table is generated according to the dimension value, dimension field and dictionary number corresponding to each dimension information; wherein each dictionary number is associated with at least one dimension value, and the dimension value corresponds to the dimension field one by one.

[0019] In a possible design, in response to the first user's operation on the indicator in the data source table, the data item corresponding to the indicator is processed to obtain a data item table, including:

[0020] In response to the first user's operation on the indicator in the database table, determine indicator information corresponding to the indicator; wherein the indicator information includes at least one of the indicator's business type, indicator definition, dimension information, name of the data source table to which it belongs, and calculation method; the indicator indicates a data item in the data source table, and the indicator is different from the dimension information;

[0021] Preprocessing the data items associated with the indicator according to the indication information to obtain a data item table; wherein the data item table includes the indicator and the data items associated with the indicator; the preprocessing includes at least one of adding, deleting, and modifying;

[0022] According to the data source table to which the indicator belongs, an association relationship is established between the data item table corresponding to the indicator and the data source table.

[0023] In a possible design, in response to the first user's permission setting operation on the configuration chart, determining the permission level corresponding to the configuration chart and establishing a permission relationship table include:

[0024] In response to the first user's permission setting operation on the configuration chart, determining a second user indicated by the permission setting operation;

[0025] Determining the permission level of the second user indicated by the permission setting operation;

[0026] An association relationship between the permission level and the configuration chart is established to obtain a permission relationship table; wherein the permission relationship table includes at least one permission level and at least one configuration chart associated with each permission level.

[0027] In a possible design, the display information table includes a first display information table and a second display information table;

[0028] In response to the second user's operation on the display information table, a configuration chart corresponding to the permission level of the second user, or indicators and indicator information in the configuration chart are displayed, including:

[0029] In response to the second user's operation on the first display information table, a configuration chart corresponding to the second user's authority level is displayed; wherein the first display information table includes at least one first display information identifier; the first display information identifier corresponds to the configuration chart one by one;

[0030] In response to the second user's operation on the second display information table, the corresponding indicators and indicator information are displayed based on a configuration chart corresponding to the second user's authority level; wherein the second display information table includes at least one second display information identifier, and the second display information identifier corresponds one-to-one to the indicator.

[0031] In a possible design, in response to the second user's operation on the first display information table, displaying a configuration chart corresponding to the permission level of the second user includes:

[0032] In response to the operation of the second user on the first display information table, determining the permission level of the second user and the first target display information identifier;

[0033] Based on the permission level and the first target display information identifier, a corresponding first target configuration chart is determined and displayed.

[0034] In a possible design, based on the permission level and the first target display information identifier, determining and displaying a corresponding first target configuration chart includes:

[0035] Determining a target configuration chart corresponding to the first target display information identifier;

[0036] Determine, in the permission relationship table, a configuration chart associated with the permission level as a first configurable chart;

[0037] When the first configurable diagram matches the first target configuration diagram, the first target configuration diagram is displayed.

[0038] In one possible design, in response to the second user's operation on the second display information table, displaying corresponding indicators and indicator information based on a configuration chart corresponding to the permission level of the second user includes:

[0039] In response to the second user's operation on the second display information table, determining the second user's authority level and the second target display information identifier;

[0040] Based on the second target display information identifier, a corresponding indicator is determined, and based on the permission level and the indicator, a corresponding second target configuration chart is determined and displayed.

[0041] In a possible design, determining a corresponding indicator based on the second target display information identifier, and determining and displaying a corresponding second target configuration chart based on the permission level and the indicator, includes:

[0042] Determine a second target configuration chart corresponding to the second target display information identifier;

[0043] Determine, in the permission relationship table, a configuration chart associated with the permission level as a second configurable chart;

[0044] When the second configurable chart matches the second target configuration chart, the indicator and indicator information corresponding to the second target display information identifier are displayed through the second target configuration chart.

[0045] In a second aspect, the present application provides a chart visualization system, comprising:

[0046] a dictionary management module, configured to generate a dictionary information table corresponding to the dimension information in response to an operation of the first user on the dimension information in the database table; wherein the dictionary information table includes a dictionary number corresponding to the dimension information, a dimension value, and a dimension field corresponding to the dimension value; the dictionary information table is associated with a data source table, and the data source table is obtained by importing based on the database table;

[0047] a data item management module, configured to process the data items corresponding to the indicators in the data source table in response to the operation of the first user on the indicators in the data source table to obtain a data item table; wherein the data item table is associated with the data source table, and the data source table includes at least one indicator;

[0048] a chart configuration management module, configured to perform configuration processing on the data source table in response to the configuration operation of the first user on the data source table, and determine a corresponding configuration chart; wherein the configuration processing includes at least one of aggregation, addition, filtering, screening, sorting, and drawing; and the configuration chart is associated with the data source table;

[0049] a permission configuration module, configured to determine the permission level corresponding to the configuration chart and establish a permission relationship table in response to the permission setting operation of the first user on the configuration chart;

[0050] A display module is used to display a configuration chart corresponding to the second user's permission level, or indicators and indicator information in the configuration chart in response to the second user's operation on the display information table; the display information table includes at least one display information identifier, and the display information identifier corresponds one-to-one to the configuration chart.

[0051] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the chart visualization method described in the first aspect and various possible designs of the first aspect.

[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the chart visualization method described in the first aspect and various possible designs of the first aspect is implemented.

[0053] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the chart visualization method described in the first aspect and various possible designs of the first aspect.

[0054] The chart visualization method, system, electronic device and storage medium provided by the present application can establish a corresponding dictionary information table based on the database table, build a corresponding data item table according to the indicators in the database table, and respectively establish the association relationship between the dictionary information table, the data item table and the data source table, implement chart configuration based on the data source table, and set different chart display modules. In this way, in the process of using the chart visualization system, you can select the corresponding chart display method, determine the content of the chart display, and query the meaning of the fields in the chart based on different chart display modules. In response to the user's operation, the corresponding chart can be configured through the association relationship between the tables without accessing the database, and the chart content and field meaning required by the user can be displayed in the corresponding display method, thereby reducing the number of database accesses, improving the efficiency of chart display, and meeting the needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0056] Figure 1 It is a structural schematic diagram of a visualization chart module of the prior art;

[0057] Figure 2 is a flow chart of a diagram visualization method applicable to an embodiment of the present application;

[0058] Figure 3 A flowchart of step S101 of the chart visualization method provided in an embodiment of the present application;

[0059] Figure 4 A flowchart of step S102 of the chart visualization method provided in an embodiment of the present application;

[0060] Figure 5 A flowchart of step S103 of the chart visualization method provided in an embodiment of the present application;

[0061] Figure 6A flowchart of step S105 of the chart visualization method provided in an embodiment of the present application;

[0062] Figure 7 An example diagram of step S1051 of the diagram visualization method provided in an embodiment of the present application;

[0063] Figure 8 An example diagram of step S1052 of the diagram visualization method provided in an embodiment of the present application;

[0064] Fig. 9 A schematic diagram of the structure of a chart visualization system provided in an embodiment of the present application;

[0065] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0066] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0067] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0068] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.

[0069] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0070] The visualization chart part of the relevant business intelligence system usually includes modules such as data source module, configuration management module, menu module, etc. Figure 1 As shown, a structural schematic diagram of a visualization chart module is provided.

[0071] like Figure 1The visualization chart module shown usually loads the report result table information from the relational database to the data source, then configures the data report based on the data source, and then hangs the data report as a menu. Users access the visualization report data by clicking the menu. System administrators can set menu permissions based on user roles to implement report display functions.

[0072] However, if Figure 1 The visualization chart display method used in the above-mentioned visualization chart module has the problem that it requires multiple accesses to the database, the access time is long, the data types of the configuration report are various, and the report display method is single, which makes the report access efficiency in the visualization chart module low and cannot meet the needs of users.

[0073] In view of the above problems, an embodiment of the present application proposes a chart visualization system, which is supported by hardware such as a distributed relational database (for example, MySQL, etc.), a server, and a Redis cluster. The relational database is used to store report result data. The Redis cluster is used to store user-related information and graphic data. The users include a first user and a second user, and the relevant information includes the user's identity information (also referred to as login verification information), permission level, etc.

[0074] After importing the data of the result table in the database into the data source table and the data source field information table, the chart visualization system can establish a corresponding dictionary information table based on the result table in the database, build a corresponding data item table according to the indicators in the result table, and respectively establish the association relationship between the dictionary information table, the data item table and the data source table, complete the chart configuration based on the data source table, and set different chart display modules. In this way, in the process of using the chart visualization system, you can select the corresponding chart display method, determine the content of the chart display, and query the meaning of the fields in the chart based on different chart display modules. In response to the user's operation, the visualization system can configure the corresponding chart through the association relationship between the tables without accessing the database, and display the chart content and field meaning required by the user in the corresponding display method, thereby reducing the number of database accesses, improving the efficiency of chart display, and meeting the needs of users.

[0075] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0076] Figure 2 is a flowchart of a chart visualization method applicable to an embodiment of the present application. The above chart visualization method can be applied to the above chart visualization system, such as Figure 2 As shown, the chart visualization method includes:

[0077] S101. In response to the first user's operation on the dimension information in the database table, generate a dictionary information table corresponding to the dimension information; wherein the dictionary information table includes a dictionary number corresponding to the dimension information, a dimension value, and a dimension field corresponding to the dimension value; the dictionary information table is associated with a data source table, and the data source table is obtained by importing based on the database table.

[0078] Specifically, the first user indicates a user with a higher authority level, for example, an administrator of the visualization system. The dimension information indicates key data items in the database table.

[0079] Taking the current visualization system as an order report visualization system as an example, the corresponding database stores multiple order result tables, and each order result table includes at least one order information. Among them, the order information includes but is not limited to: order identification, order completion time, order type, order transaction amount, transaction user, etc. Among them, the order type can become the dimension information in each order result table. According to the different values ​​of the dimension information, the order type can be distinguished, see Table 1:

[0080] Table 1 Order results table

[0081] Order ID Order completion time Order Type Order transaction amount Trading Users DD001 20:00:01 WD1 300 YH001 DD002 20:00:06 WD2 10 YH002 DD003 22:02:01 WD3 2000 YH003 DD004 23:00:01 WD1 200 YH001

[0082] According to Table 1, the current order result table includes three order types, namely WD1, WD2, and WD3. However, the meaning of each order type cannot be accurately determined based on the order result table.

[0083] Specifically, in response to the first user's operation on the dimension information in the database table, the corresponding dictionary number, dimension value, and dimension field corresponding to the dimension value are determined, and a dictionary information table associated with the dimension information is generated, the dictionary information table including the dictionary number, dimension value, and dimension field corresponding to the dimension value. The dictionary information table is associated with the data source table. The dimension value indicates the data value in the data item where the dimension information is located in the database table, and the dimension field corresponding to the dimension value indicates the meaning of the dimension value.

[0084] It should be noted that based on the table information (such as library name, table name, table remarks, etc.) and field information (such as field name, field remarks, field format, etc.) of the result table in the database, the data source table and the data source field information table can be obtained. The data source table and the data source field information table have a mapping relationship.

[0085] Still taking the order result table as an example, when the dimension information indicates the order type, the dimension value includes WD1, WD2, and WD3 in the order type, and the corresponding dimension fields are food, travel, and shopping, respectively.

[0086] Still taking the order result table shown in Table 1 as an example, constructing a dictionary information table corresponding to the order type with dimension information as shown in Table 2:

[0087] Table 2 Dictionary information table of order type

[0088] Dictionary Number Dimension value Dimension fields ZD001 WD1 gourmet food ZD002 WD2 Travel ZD003 WD3 Shopping

[0089] It can be seen from Table 2 that the dimension field corresponding to each dimension value represents the meaning of the dimension value.

[0090] It is understandable that the dimension values ​​in the dictionary information table are obtained based on the database table, and the data source table imported based on the database table also has the above dimension values, that is, the dimension values ​​in the dictionary information table have a mapping relationship with the data source table.

[0091] Based on this, when displaying the data in the data source table (such as the data in Table 1) by configuring a chart, the dimension values ​​and dimension fields in the associated dictionary information table (such as Table 2) can be determined. In other words, the meaning of the data in the data source table can be displayed by configuring a chart.

[0092] For example, when configuring a chart to display DD002 in Table 1, it can be determined that the order is a travel order based on WD2.

[0093] As an example but not a limitation, the execution subject of the method of this embodiment may be a server in a chart visualization system.

[0094] S102. In response to the first user's operation on an indicator in the data source table, process the data items corresponding to the indicator to obtain a data item table; wherein the data item table is associated with the data source table, and the data source table includes at least one indicator.

[0095] Specifically, in response to the first user's operation on the indicator in the database table, the corresponding indicator and indicator information are determined, and the data item corresponding to the indicator is processed according to the indicator information to obtain a data item table. Among them, the data source table includes at least one indicator, the indicator indicates the data value in the database table, and the indicator information indicates the screening method for the indicator. The indicator information includes but is not limited to the business type of the indicator, the indicator definition, the dimension information, the name of the data source table to which it belongs, and the calculation method.

[0096] Still taking the order result table as an example, the indicator indicates the key data value in the database table, such as the order transaction amount. The indicator information is the definition of the indicator, and the definition of the indicator is the consumption order of user YH001. Based on the indicator information, the consumption order of user YH001 is determined from all the order result tables in the data source table, and the corresponding data item table is constructed.

[0097] It can be understood that the data item table is composed of related data items based on the indicators in the data source table and the detailed definitions of the indicators, and the data source table and the data item table have an associated relationship.

[0098] S103. In response to the first user's configuration operation on the data source table, the data source table is configured and processed to determine a corresponding configuration chart; wherein the configuration processing includes at least one of aggregation, addition, filtering, screening, sorting, and drawing; and the configuration chart is associated with the data source table.

[0099] Specifically, in response to the first user's configuration operation on the data source table, the above configuration operation includes selecting the data source table, selecting dimension values, dimension fields, indicators; determining the configuration processing method, etc., and then configuring the data source table based on the above configuration operation, including but not limited to at least one of aggregation, addition, filtering, screening, sorting, and formulating graphics, to obtain a corresponding configuration chart, which is associated with the data source table.

[0100] Exemplarily, in response to the first user's selection operation on the data source table, each data item in the selected data source table is determined, and the dimension field corresponding to the dimension value of each data item can be determined based on the dictionary information table; in response to the first user's aggregation operation on the selected data source table, the corresponding aggregation dimension is determined and the selected data source table is aggregated; in response to the first user's definition operation on the indicator in the selected data source table, the corresponding indicator information is determined according to the indicator in the selected data source table, for example: the definition operation for the indicator in the selected data source table is sum, average, maximum, minimum, median, etc., then the corresponding new data item is calculated as the indicator information corresponding to the indicator. In response to the user's filtering operation on the selected data source table, the filtering condition is determined, and the corresponding data is filtered out according to the filtering condition. In response to the user's sorting operation on the selected data source table, the sorting method is determined, and the data in the data source table is sorted based on the sorting method. In response to the first user's graphic setting operation on the selected data source table or the selected data item, the target graphic dimension and target graphic indicator to be counted are configured. In response to the first user's property settings for the field in the selected data source table, the table column name, column width, field date format, decimal format, thousandths and ten-thousandths format, data bar style, whether to display synchronously to the user terminal, default graphic style, whether to display as a separate graphic, etc. of the chart are configured. A corresponding configuration chart can be formed based on the above processing results and displayed to the second user, or a corresponding configuration chart can be formed in response to the second user's query operation for different configuration charts.

[0101] It is understandable that different configuration operations can be used to implement different configuration processes, and correspondingly generate different configuration charts. The data item type, number of data items, ordering of data items, and graphics of the configuration chart contained in each configuration chart can be different, thereby realizing multiple forms of chart display.

[0102] Through a variety of configuration processing methods, charts with different contents, different forms, and different dimensions can be configured. Based on this, the graphic data query interface can query and configure chart data at one time through asynchronous query mode without accessing the database, reducing the access pressure of the database.

[0103] S104: In response to the first user's permission setting operation on the configuration chart, determine the permission level corresponding to the configuration chart and establish a permission relationship table.

[0104] Specifically, in response to the first user's permission setting operation on the configuration chart, the configuration chart corresponding to the permission configuration operation is determined as the target configuration chart, and the permission relationship table is established based on the permission level corresponding to the permission configuration operation.

[0105] For example, with respect to the permission setting operation of the first user on the configuration chart 1, it is determined that the level of permission of the second user who can query, browse, download, etc. the configuration chart 1 is: the manager of the XX department, thereby establishing an association relationship between the configuration chart 1 and the manager of the XX department. In other words, only when the second user is the manager of the XX department, he has the permission to query, browse, and download the configuration chart 1.

[0106] S105. In response to the second user's operation on the display information table, a configuration chart corresponding to the second user's authority level, or indicators and indicator information in the configuration chart is displayed; the display information table includes at least one display information identifier, and the display information identifier corresponds to the configuration chart one by one.

[0107] Specifically, in response to the second user's operation on the display information table, the display information corresponding to the operation can be determined, and the configuration chart required by the second user can be determined based on the correspondence between the display information identifier and the configuration chart. The corresponding configuration chart, or the indicator and indicator information in the configuration chart, is displayed based on the authority level.

[0108] It is understandable that the configuration chart corresponding to the permission level may include the configuration chart corresponding to the display information identifier, or may not include the configuration chart corresponding to the display information identifier.

[0109] Table 3 Display information table

[0110] Display information logo Configuring Chart Tags BB001 TB001 BB002 TB002 BB001-ZB001 TB001

[0111] Taking the display information table as Table 3 as an example, the configuration charts corresponding to the authority levels include TB001 and TB003, and when the second user operates the display information identifiers BB001 and BB002 in the display information table, since the configuration charts corresponding to the authority levels do not include TB002, the configuration chart TB002 can be displayed, and the configuration chart TB003 is not displayed.

[0112] By setting the permission levels of corresponding user roles for different configuration charts, different permission relationship tables can be built for different user structures to achieve permission control for different user levels, thereby improving the security of data access.

[0113] Figure 3 This is a flowchart of step S101 of the diagram visualization method provided in the embodiment of the present application. Figure 3 As shown, step S101 of the chart visualization method includes the following steps:

[0114] S1011. In response to the first user's operation on the dimension information in the database table, obtain a dimension value and a dimension field corresponding to each dimension information.

[0115] Specifically, the first user's operation on the dimension information in the database table may indicate one dimension information or multiple dimension information. Correspondingly, in response to the first user's operation on the dimension information in the database table, each dimension information, as well as the dimension value and dimension field corresponding to each dimension information are determined.

[0116] It can be understood that the database table includes at least one dimension information, and therefore, the dimension value corresponding to the dimension information may be one or more.

[0117] Still taking Table 1 as an example, in response to the first user's operation on the transaction type in Table 1, the dimension values ​​corresponding to the transaction type are determined to be WD01, WD02, and WD03, and the corresponding dimension fields include food, travel, and shopping. In response to the first user's operation on the transaction user in Table 1, the dimension values ​​corresponding to the transaction user are determined to be YH001, YH002, and YH002, and the corresponding dimension fields include user A, user B, and user D.

[0118] As an example but not limitation, for different dimension information, the same dictionary information table may be constructed, or different dictionary information tables may be constructed.

[0119] Taking the construction of different dictionary information tables for different dimension information as an example: in response to the first user's operation on the transaction type in Table 1, a dictionary information table A including the dimension value and dimension field of the transaction type is constructed. In response to the first user's operation on the transaction user in Table 1, a dictionary information table B including the dimension value and dimension field of the transaction user is constructed.

[0120] S1012. Generate a dictionary information table corresponding to the dimension information based on the dimension value and dimension field corresponding to each dimension information; wherein the dimension information indicates the key data item in the database table; the dimension value indicates the data value in the data item where the dimension information is located, and the dimension field indicates the meaning of the dimension value.

[0121] Specifically, according to each dimension value corresponding to the dimension information and the dimension field corresponding to each dimension value, a corresponding dictionary number is generated, so that the dictionary number is associated with at least one dimension value.

[0122] It is understandable that when different dictionary information tables are constructed for different dimension information, the dictionary number and the dimension value are in a one-to-one correspondence. Still taking Table 1 as an example, in response to the first user's operation on the transaction type in Table 1, a dictionary information table including the dimension value and dimension field of the transaction type is constructed as shown in Table 2 above.

[0123] When the same dictionary information table is constructed for different dimension information, there is a one-to-many mapping relationship between the dictionary number and the dimension value.

[0124] Still taking Table 1 as an example, in response to the first user's operation on the transaction type in Table 1, and the first user's operation on the transaction user in Table 1, a dictionary information table including the transaction type, the dimension value of the transaction user, and the dimension field is constructed as shown in Table 4:

[0125] Table 4 Dictionary information table

[0126] Dictionary Number Dimension value Dimension fields ZDBH001 WD1 gourmet food ZDBH001 WD2 Travel ZDBH001 WD3 Shopping ZDBH002 YH001 User A ZDBH002 YH002 User B ZDBH002 YH003 User Ding

[0127] It can be seen from Table 4 that different dictionary numbers indicate different dimension information, wherein the dictionary number ZDBH002 corresponds to the dimension values ​​YH001, YH002, and YH003, and each dimension value has a unique dimension field.

[0128] S1013. For each piece of dimension information, determine a data source table corresponding to the dimension information, and establish an association relationship between the dictionary information table and the data source table based on the dimension information.

[0129] Specifically, the data source table to which the dimension information belongs is determined based on the dimension information, and a dictionary information table corresponding to the dimension information and an association relationship between the data source table to which the dimension information belongs are established based on the dimension information.

[0130] Still taking the order result table as an example, when the dimension information is the order type, an association relationship between the dictionary information table 2 and the order result table 1 is established based on the order type (specifically the dimension value included in the order type, such as WD001, WD002, WD003).

[0131] In some embodiments, step S1012 includes:

[0132] For each of the dimension information, generating a dictionary number corresponding to the dimension information according to the dimension value and dimension field corresponding to the dimension information;

[0133] A corresponding dictionary information table is generated according to the dimension value, dimension field and dictionary number corresponding to each dimension information; wherein each dictionary number is associated with at least one dimension value, and the dimension value corresponds to the dimension field one by one.

[0134] Specifically, for different dimensional information, when constructing the same dictionary information table, when obtaining each dimensional value corresponding to the dimensional information and the meaning corresponding to each dimensional value as the dimensional field, a corresponding dictionary number is generated for each dimensional information, and a corresponding dictionary information table is generated according to the dictionary number, dimensional value and dimensional field corresponding to each dimensional information.

[0135] By constructing a dictionary information table and establishing the relationship between the dictionary number, dimension value and dimension field, the entry of meaning related to the dimension information is realized. In response to the user's filtering operation on the chart, the dictionary information table can be accessed to reduce the operation of querying and deduplicating from the database table, and it is also convenient for users to determine the meaning of related data.

[0136] Figure 4 This is a flowchart of step S102 of the chart visualization method provided in the embodiment of the present application. Figure 4 As shown, step S102 of the chart visualization method includes the following steps:

[0137] S1021. In response to the first user's operation on the indicator in the database table, determine the indicator information corresponding to the indicator; wherein the indicator information includes at least one of the indicator's business type, indicator definition, dimension information, name of the data source table to which it belongs, and calculation method; the indicator indicates a data item in the data source table, and the indicator is different from the dimension information.

[0138] Specifically, in response to the first user's operation on an indicator in the database table, the operation information of the indicator is determined according to the operation, wherein the indicator information is the processing result of the indicator or the data item related to the indicator.

[0139] Exemplarily, when the indicator information is dimension information of the indicator, the indicator information includes all dimension values ​​in the indicator. For example, when the indicator is an order type, the indicator information includes WD1, WD2, and WD3.

[0140] In another exemplary embodiment, the indicator information is the name of the data source table to which the indicator belongs. For example, if the indicator is order type, the indicator information is table1.

[0141] In another exemplary embodiment, when the indicator information indicates the calculation method of the indicator, the indicator information indicates the calculation result of the indicator. For example, if the indicator is the order transaction amount and the calculation method is the order transaction amount in the past month, then the indicator information is the sum of the order transaction amounts of all orders in the data source table in the past month.

[0142] S1022. Preprocess the data items associated with the indicator according to the indication information to obtain a data item table; wherein the data item table includes the indicator and the data items associated with the indicator; the preprocessing includes at least one of adding, deleting, and modifying.

[0143] Specifically, according to the operation of the first user on the indicator in the database table, the data items in the data source table to which the indicator belongs are preprocessed according to the instruction information to obtain all data items associated with the indicator, and then obtain a data item table.

[0144] It is understandable that the data source table to which the indicator belongs may contain some data items irrelevant to the indicator or indicator information, and may also lack some data items associated with the indicator. Therefore, the data items in the data source table to which the indicator belongs are preprocessed, and the obtained data item table may only include the indicator or data items associated with the indicator. The preprocessing includes at least one of adding, deleting, and modifying.

[0145] For example, taking the data source table as Table 1, the indicator as the order transaction amount, and the indicator information indicating the order transaction amount of all orders between 20:00-21:00 as an example, after preprocessing the data items in Table 1, the obtained data item table (Table 5) does not include all data items related to orders DD003 and DD004.

[0146] Table 5 Data item table

[0147] Order ID Order completion time Order Type Order transaction amount Trading Users DD001 20:00:01 WD1 300 YH001 DD002 20:00:06 WD2 10 YH002

[0148] In some embodiments, when a database table is added, the data source table may also be imported.

[0149] S1023. According to the data source table to which the indicator belongs, establish an association relationship between the data item table corresponding to the indicator and the data source table.

[0150] Specifically, the data source table to which the indicator belongs includes the data items indicated by the indicator and also includes data items related to the indicator information corresponding to the indicator. Based on this, an association relationship can be established between the data item table corresponding to the indicator and the data source table to which the indicator belongs.

[0151] In this way, in response to the second user's operations of querying, browsing, and downloading the indicator, data items related to the indicator information corresponding to the indicator stored in the data item table can be displayed based on the association relationship between the above data item table and the data source table.

[0152] By processing the data items associated with the indicators, the indicator information corresponding to the indicators can be accurately determined, and by associating the data source table, the indicators and indicator information related data can be displayed through charts. At the same time, the dictionary information table can be associated to determine the meaning of each indicator and indicator information.

[0153] Figure 5 This is a flowchart of step S103 of the chart visualization method provided in the embodiment of the present application. Figure 5 As shown, step S103 of the chart visualization method includes the following steps:

[0154] S1031. In response to the first user's permission setting operation on the configuration chart, determine a second user indicated by the permission setting operation.

[0155] Specifically, in response to a permission setting operation of a first user on a configuration chart, a second user indicated by the permission setting operation is determined.

[0156] The permission setting operation may be specifically set according to actual needs. For example, the permission setting operation may include determining the identity of the second user with permission by clicking, dragging, typing, etc.

[0157] Alternatively, in the case where a different permission level is set in advance for each second user, the permission setting operation further includes inputting a permission level having permissions.

[0158] S1032: Determine the permission level of the second user indicated by the permission setting operation.

[0159] Specifically, the permission level indicated by the permission setting operation is determined.

[0160] It is understandable that the permission setting operation can be the management permission for the configuration chart set for some second users, or the management permission for the configuration chart set for a certain second user. Also, the permission setting operation can indicate the management permission set only for the current configuration chart, or the management permission set for some configuration charts.

[0161] S1033. Establish an association relationship between the permission level and the configuration chart to obtain a permission relationship table; wherein the permission relationship table includes at least one permission level and at least one configuration chart associated with each permission level.

[0162] Specifically, an association relationship between the above-mentioned permission level and the configuration chart is established to obtain a permission relationship table. The permission relationship table includes at least one permission level and a configuration chart associated with each permission level. Each permission level includes one or more second users.

[0163] Figure 6 This is a flowchart of step S105 of the chart visualization method provided in the embodiment of the present application. Figure 6 As shown, step S105 of the chart visualization method includes the following steps:

[0164] S1051. In response to the second user's operation on the first display information table, display a configuration chart corresponding to the second user's authority level; wherein the first display information table includes at least one first display information identifier; and the first display information identifier corresponds one-to-one to the configuration chart.

[0165] Specifically, the second user indicates a visitor, a registered user, etc. of the chart visualization system. Considering that the second user has various requirements for the configuration chart content, display form, etc., different display information table entrances can be set to facilitate the response to the second user's operations on different display information tables, and display the configuration chart of the corresponding content. The display information table can also be called a menu, indicating a unified entrance of a web application or a mobile micro application.

[0166] Specifically, the display information table includes a first display information table and a second display information table, the first display information table includes at least one first display information identifier, and the first display information identifier corresponds to the configuration chart one by one. The second display information table includes at least one second display information identifier, and the second display information identifier corresponds to the indicator one by one. In this way, in response to the second user's operation on different display information tables, configuration charts containing the same or different contents can be displayed in multiple forms.

[0167] Specifically, in response to the second user's operation on the first display information table, the permission level of the second user is determined, and a configuration chart corresponding to the permission level of the second user is displayed based on the operation on the first display information table.

[0168] It is understandable that, based on the first user performing one or more configuration processing on different data source tables, corresponding multiple configuration charts can be determined. Therefore, there are multiple possibilities for configuration charts corresponding to different display information tables, such as the same content but different forms, different content and different forms, different content but the same form, etc. Exemplarily, the same content can indicate the same data items or the same data screening conditions.

[0169] For example, the first display information table includes three first display information identifiers, the first display information identifier ZS001 indicates the order result configuration chart within one day, the first display information identifier ZS002 indicates the order result configuration chart within one week, and the first display information identifier ZS003 indicates the order result configuration chart within one month. Based on this, the second user can query the configuration charts containing the same data item and different data screening conditions by operating different display information identifiers.

[0170] It is understandable that the permission levels associated with the configuration charts corresponding to different display information identifiers may be the same or different. Therefore, the configuration charts that can be queried by users corresponding to different permission levels are also different.

[0171] Still taking the example that the first display information table includes three first display information identifiers, the authority level of the second user DR001 is different from the authority level of the second user DR002. The second user DR001 can query the configuration charts corresponding to the first display information identifiers ZS001 and ZS002. However, the second user DR002 can only query the configuration chart corresponding to the first display information identifier ZS001.

[0172] S1052. In response to the second user's operation on the second display information table, display corresponding indicators and indicator information based on a configuration chart corresponding to the second user's authority level; wherein the second display information table includes at least one second display information identifier, and the second display information identifier corresponds one-to-one to the indicator.

[0173] Specifically, in response to the second user's operation on the second display information table, the second user's authority level and the configuration chart corresponding to the above authority level are determined, the corresponding indicators of the above operation on the second display information table are determined, and the above indicators and indicator information are displayed according to the configuration chart corresponding to the above authority level.

[0174] Figure 7 This is a flowchart of step S1051 of the chart visualization method provided in the embodiment of the present application. Figure 7 As shown, step S1051 of the chart visualization method includes the following steps:

[0175] S10511. In response to the operation of the second user on the first display information table, determine the permission level of the second user and the first target display information identifier;

[0176] S10512: Based on the permission level and the first target display information identifier, determine and display the corresponding first target configuration chart.

[0177] Specifically, in response to the second user's operation on the first display information table, the second user's authority level is determined, and the first display information identifier corresponding to the above operation is determined as the first target display information identifier. The configuration chart corresponding to the above operation on the first display information table is determined according to the first target display information identifier, and the target configuration chart is determined based on the authority level and displayed.

[0178] It is understandable that when the configuration chart corresponding to the permission level includes a configuration chart corresponding to the operation on the first display information table determined according to the first target display information identifier, the configuration chart corresponding to the operation on the first display information table can be used as the target configuration chart.

[0179] In some embodiments, based on the permission level and the first target display information identifier, determining and displaying a corresponding first target configuration chart includes:

[0180] Determining a target configuration chart corresponding to the first target display information identifier;

[0181] Determine, in the permission relationship table, a configuration chart associated with the permission level as a first configurable chart;

[0182] When the first configurable diagram matches the first target configuration diagram, the first target configuration diagram is displayed.

[0183] Specifically, based on the one-to-one correspondence between the first display information identifier and the configuration chart, the configuration chart corresponding to the above operation on the first display information table is determined according to the first target display information identifier as the first target configuration chart. In the permission relationship table, the configuration chart associated with the above permission level is determined as the first configurable chart. In other words, the first configurable chart indicates one or more configurable charts with management permissions such as query, browse, and download at the above permission level. When the first target configuration chart matches any one of the first configurable charts, the first target configuration chart is displayed.

[0184] Figure 8 This is a flowchart of step S1052 of the chart visualization method provided in the embodiment of the present application. Figure 8 As shown, step S1052 of the chart visualization method includes the following steps:

[0185] S10521. In response to the second user's operation on the second display information table, determine the second user's authority level and a second target display information identifier;

[0186] S10522. Determine a corresponding indicator based on the second target display information identifier, and determine and display a corresponding second target configuration chart based on the authority level and the indicator.

[0187] Specifically, in response to the second user's operation on the second display information table, the authority level is determined, and the second display information identifier corresponding to the above operation is determined as the second target display information identifier. The corresponding indicator is determined based on the second target display information identifier, and based on the authority level and the above indicator, the corresponding second target configuration chart is determined and displayed. The second target configuration chart includes the above indicator and the corresponding indicator information.

[0188] As an example but not limitation, the second target display information identifier corresponds to the indicator one-to-one, and the indicator exists in the configuration chart. Based on this, the corresponding configuration chart can be determined according to the indicator corresponding to the second target display information, and the configuration chart can be processed according to the indicator and the indicator information to obtain the corresponding second target configuration chart.

[0189] The indicator corresponding to the second target display information is the order transaction amount. Taking the order where the indicator information indicates that the transaction user is YH001 as an example, the configuration chart corresponding to the above indicator is Table 1. The configuration chart is processed according to the indicator and the indicator information, and the obtained second target configuration chart (such as Table 6) does not include all data items related to other users.

[0190] Table 6 Second target configuration diagram

[0191] Order ID Order completion time Order Type Order transaction amount Trading Users DD001 20:00:01 WD1 300 YH001 DD004 23:00:01 WD1 200 YH001

[0192] It can be understood that the configuration chart is configured based on the data source table, and the data source table is associated with the dictionary information table and the data item table. Therefore, in response to the second user's operation on the display information identifier, the corresponding data items, indicators, indicator information, dimension fields, etc. can be directly determined from the data source table without accessing the database, and the corresponding configuration chart can be directly formed.

[0193] Still taking the second target configuration chart as an example, the second target configuration chart originates from data source table 1, and data source table 1 is associated with dictionary information table 2. When the second user queries the field meaning for order type or transaction user, the meaning corresponding to each field can be determined.

[0194] For example, the second user clicks on WD1 in Table 6 to display the dimension field corresponding to WD1: food, so that the second user determines that WD1 identifies the order type of the order as food.

[0195] In some embodiments, the determining a corresponding indicator based on the second target display information identifier, and determining and displaying a corresponding second target configuration chart based on the permission level and the indicator, includes:

[0196] Determine a second target configuration chart corresponding to the second target display information identifier;

[0197] Determine, in the permission relationship table, a configuration chart associated with the permission level as a second configurable chart;

[0198] When the second configurable chart matches the second target configuration chart, the indicator and indicator information corresponding to the second target display information identifier are displayed through the second target configuration chart.

[0199] Specifically, according to the one-to-one correspondence between the second display information identifier and the indicator, the indicator corresponding to the second target display information identifier and the configuration chart where the indicator corresponding to the second target display information identifier is located are determined based on the second target display information as the second target configuration chart. In the permission relationship table, the configuration chart associated with the above-mentioned permission level is determined as the second configurable chart. The second configurable chart indicates one or more configurable charts with management permissions such as query, browse, and download at the above-mentioned permission level. When the second target configuration chart matches any one of the second configurable charts, the indicator and indicator information corresponding to the second target display information identifier are displayed through the second target configuration chart.

[0200] Different configuration charts or indicators are associated with different display information tables, and chart query entrances of different forms and contents can be provided to users according to multiple different display information identifiers, thereby improving access efficiency.

[0201] Fig. 9 This is a schematic diagram of the structure of the chart visualization system provided in the embodiment of the present application. Fig. 9 As shown, the chart visualization system 900 includes:

[0202] The dictionary management module 901 is used to generate a dictionary information table corresponding to the dimension information in response to the first user's operation on the dimension information in the database table; wherein the dictionary information table includes a dictionary number corresponding to the dimension information, a dimension value, and a dimension field corresponding to the dimension value; the dictionary information table is associated with a data source table, and the data source table is obtained by importing based on the database table;

[0203] A data item management module 902 is used to process the data items corresponding to the indicators in the data source table in response to the operation of the first user on the indicators in the data source table to obtain a data item table; wherein the data item table is associated with the data source table, and the data source table includes at least one indicator;

[0204] The chart configuration management module 903 is used to perform configuration processing on the data source table in response to the configuration operation of the first user on the data source table, and determine a corresponding configuration chart; wherein the configuration processing includes at least one of aggregation, addition, filtering, screening, sorting, and drawing; the configuration chart is associated with the data source table;

[0205] The permission configuration module 904 is used to determine the permission level corresponding to the configuration chart in response to the permission setting operation of the first user on the configuration chart, and to establish a permission relationship table;

[0206] The display module 905 is used to display a configuration chart corresponding to the second user's authority level, or indicators and indicator information in the configuration chart in response to the second user's operation on the display information table; the display information table includes at least one display information identifier, and the display information identifier corresponds one-to-one to the configuration chart.

[0207] In some embodiments, the dictionary management module includes:

[0208] A dimension information acquisition unit, configured to acquire a dimension value and a dimension field corresponding to each dimension information in response to an operation of the first user on the dimension information in the database table;

[0209] A dictionary information table generating unit, configured to generate a dictionary information table corresponding to the dimension information according to the dimension value and dimension field corresponding to each dimension information; wherein the dimension information indicates a key data item in the database table; the dimension value indicates a data value in the data item where the dimension information is located, and the dimension field indicates a meaning of the dimension value;

[0210] The first association relationship establishing unit is used to determine, for each dimension information, a data source table corresponding to the dimension information, and establish an association relationship between the dictionary information table and the data source table based on the dimension information.

[0211] In some embodiments, the dictionary information table generating unit includes:

[0212] A dictionary number generating subunit, configured to generate, for each of the dimension information, a dictionary number corresponding to the dimension information according to the dimension value and the dimension field corresponding to the dimension information;

[0213] The dictionary information table generating subunit is used to generate a corresponding dictionary information table according to the dimension value, dimension field and dictionary number corresponding to each dimension information; wherein each dictionary number is associated with at least one dimension value, and the dimension value corresponds to the dimension field one by one.

[0214] In some embodiments, the data item management module includes:

[0215] an indicator information determination unit, configured to determine, in response to the first user's operation on the indicator in the database table, indicator information corresponding to the indicator; wherein the indicator information includes at least one of the indicator's business type, indicator definition, dimension information, name of the data source table to which it belongs, and calculation method; the indicator indicates a data item in the data source table, and the indicator is different from the dimension information;

[0216] A data item table determination unit, configured to pre-process the data items associated with the indicator according to the indication information to obtain a data item table; wherein the data item table includes the indicator and the data items associated with the indicator; the pre-processing includes at least one of adding, deleting, and modifying;

[0217] The second association relationship establishing unit is used to establish an association relationship between the data item table corresponding to the indicator and the data source table according to the data source table to which the indicator belongs.

[0218] In some embodiments, the permission configuration module includes:

[0219] A user determination unit, configured to determine a second user indicated by the permission setting operation in response to the permission setting operation of the first user on the configuration chart;

[0220] a permission level determination unit, configured to determine the permission level of the second user indicated by the permission setting operation;

[0221] The permission relationship table establishing unit is used to establish an association relationship between the permission level and the configuration chart to obtain a permission relationship table; wherein the permission relationship table includes at least one permission level and at least one configuration chart associated with each permission level.

[0222] In some embodiments, the display information table includes a first display information table and a second display information table;

[0223] Display module, including:

[0224] A first display unit, configured to display a configuration chart corresponding to the permission level of the second user in response to the operation of the second user on the first display information table; wherein the first display information table includes at least one first display information identifier; and the first display information identifier corresponds to the configuration chart one by one;

[0225] A second display unit is used to respond to the second user's operation on the second display information table, and display the corresponding indicators and indicator information based on a configuration chart corresponding to the second user's authority level; wherein the second display information table includes at least one second display information identifier, and the second display information identifier corresponds one-to-one to the indicator.

[0226] In some embodiments, the first display unit includes:

[0227] A first display information determination subunit, configured to determine the permission level of the second user and a first target display information identifier in response to an operation of the second user on the first display information table;

[0228] The first display subunit is used to determine and display the corresponding first target configuration chart based on the authority level and the first target display information identifier.

[0229] In some embodiments, the first display subunit is specifically used for:

[0230] Determining a target configuration chart corresponding to the first target display information identifier;

[0231] Determine, in the permission relationship table, a configuration chart associated with the permission level as a first configurable chart;

[0232] When the first configurable diagram matches the first target configuration diagram, the first target configuration diagram is displayed.

[0233] In some embodiments, the second display unit includes:

[0234] A second display information determination subunit, configured to determine the permission level of the second user and a second target display information identifier in response to the second user's operation on the second display information table;

[0235] The second display information determination subunit is used to determine the corresponding indicator based on the second target display information identifier, and determine and display the corresponding second target configuration chart based on the authority level and the indicator.

[0236] In some embodiments, the first display information determining subunit is specifically configured to

[0237] Determine a second target configuration chart corresponding to the second target display information identifier;

[0238] Determine, in the permission relationship table, a configuration chart associated with the permission level as a second configurable chart;

[0239] When the second configurable chart matches the second target configuration chart, the indicator and indicator information corresponding to the second target display information identifier are displayed through the second target configuration chart.

[0240] The chart visualization system provided in the embodiment of the present application can be used to execute the technical solution of the chart visualization method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0241] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the dictionary management module 901 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above dictionary management module 901. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0242] Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device may include: a transceiver 101 , a processor 102 , and a memory 103 .

[0243] The processor 102 executes the computer execution instructions stored in the memory, so that the processor 102 executes the scheme in the above embodiment. The processor 102 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0244] The memory 103 is connected to the processor 102 via a system bus and implements communication therebetween. The memory 103 is used to store computer program instructions.

[0245] The transceiver 101 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0246] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0247] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the chart visualization method in the above embodiment.

[0248] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the diagram visualization method of the above embodiment.

[0249] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, the technical solution of the chart visualization method in the above embodiment can be implemented.

[0250] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0251] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0252] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0253] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0254] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0255] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0256] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0257] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0258] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.

[0259] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0260] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A chart visualization method, It is characterized in that include: In response to the first user's operation on the dimension information in the database table, a dictionary information table corresponding to the dimension information is generated; wherein the dictionary information table includes a dictionary number corresponding to the dimension information, a dimension value, and a dimension field corresponding to the dimension value; the dictionary information table is associated with a data source table, and the data source table is obtained by importing based on the database table; In response to the first user's operation on the indicator in the data source table, the data item corresponding to the indicator is processed to obtain a data item table; wherein the data item table is associated with the data source table, and the data source table includes at least one indicator; In response to the configuration operation of the first user on the data source table, the data source table is configured and processed to determine a corresponding configuration chart; wherein the configuration processing includes at least one of aggregation, addition, filtering, screening, sorting, and drawing; the configuration chart is associated with the data source table; In response to the permission setting operation of the first user on the configuration chart, determining the permission level corresponding to the configuration chart and establishing a permission relationship table; In response to the second user's operation on the display information table, a configuration chart corresponding to the second user's authority level, or indicators and indicator information in the configuration chart is displayed; the display information table includes at least one display information identifier, and the display information identifier corresponds one-to-one to the configuration chart.

2. The method according to claim 1, It is characterized in that The step of generating a dictionary information table corresponding to the dimension information in response to the first user's operation on the dimension information in the database table includes: In response to the first user's operation on the dimension information in the database table, obtaining a dimension value and a dimension field corresponding to each dimension information; Generate a dictionary information table corresponding to each dimension information according to the dimension value and dimension field corresponding to each dimension information; wherein the dimension information indicates a key data item in the database table; the dimension value indicates a data value in the data item where the dimension information is located, and the dimension field indicates a meaning of the dimension value; For each dimension information, a data source table corresponding to the dimension information is determined, and an association relationship between the dictionary information table and the data source table is established based on the dimension information.

3. The method according to claim 1 or 2, It is characterized in that The step of generating a dictionary information table corresponding to each dimension information according to the dimension value and the dimension field corresponding to each dimension information includes: For each of the dimension information, generating a dictionary number corresponding to the dimension information according to the dimension value and dimension field corresponding to the dimension information; A corresponding dictionary information table is generated according to the dimension value, dimension field and dictionary number corresponding to each dimension information; wherein each dictionary number is associated with at least one dimension value, and the dimension value corresponds to the dimension field one by one.

4. The method according to any one of claims 1 to 3, It is characterized in that In response to the operation of the first user on the indicator in the data source table, the data item corresponding to the indicator is processed to obtain a data item table, including: In response to the first user's operation on the indicator in the database table, determine indicator information corresponding to the indicator; wherein the indicator information includes at least one of the indicator's business type, indicator definition, dimension information, name of the data source table to which it belongs, and calculation method; the indicator indicates a data item in the data source table, and the indicator is different from the dimension information; Preprocessing the data items associated with the indicator according to the indication information to obtain a data item table; wherein the data item table includes the indicator and the data items associated with the indicator; the preprocessing includes at least one of adding, deleting, and modifying; According to the data source table to which the indicator belongs, an association relationship is established between the data item table corresponding to the indicator and the data source table.

5. The method according to any one of claims 1 to 3, It is characterized in that The step of determining the permission level corresponding to the configuration chart and establishing a permission relationship table in response to the permission setting operation of the first user on the configuration chart comprises: In response to the first user's permission setting operation on the configuration chart, determining a second user indicated by the permission setting operation; Determining the permission level of the second user indicated by the permission setting operation; An association relationship between the permission level and the configuration chart is established to obtain a permission relationship table; wherein the permission relationship table includes at least one permission level and at least one configuration chart associated with each permission level.

6. The method according to any one of claims 1 to 5, It is characterized in that The display information table includes a first display information table and a second display information table; The step of displaying a configuration chart corresponding to the permission level of the second user, or indicators and indicator information in the configuration chart, in response to the second user's operation on the display information table, includes: In response to the second user's operation on the first display information table, a configuration chart corresponding to the second user's authority level is displayed; wherein the first display information table includes at least one first display information identifier; the first display information identifier corresponds to the configuration chart one by one; In response to the second user's operation on the second display information table, the corresponding indicators and indicator information are displayed based on a configuration chart corresponding to the second user's authority level; wherein the second display information table includes at least one second display information identifier, and the second display information identifier corresponds one-to-one to the indicator.

7. The method according to claim 6, It is characterized in that The step of displaying a configuration chart corresponding to the permission level of the second user in response to the operation of the second user on the first display information table includes: In response to the operation of the second user on the first display information table, determining the permission level of the second user and the first target display information identifier; Based on the permission level and the first target display information identifier, a corresponding first target configuration chart is determined and displayed.

8. The method according to claim 7, It is characterized in that The determining and displaying a corresponding first target configuration chart based on the permission level and the first target display information identifier includes: Determining a target configuration chart corresponding to the first target display information identifier; Determine, in the permission relationship table, a configuration chart associated with the permission level as a first configurable chart; When the first configurable diagram matches the first target configuration diagram, the first target configuration diagram is displayed.

9. The method according to claim 6, It is characterized in that The step of displaying corresponding indicators and indicator information based on a configuration chart corresponding to the permission level of the second user in response to the operation of the second user on the second display information table includes: In response to the second user's operation on the second display information table, determining the second user's authority level and the second target display information identifier; Based on the second target display information identifier, a corresponding indicator is determined, and based on the permission level and the indicator, a corresponding second target configuration chart is determined and displayed.

10. The method according to claim 9, It is characterized in that The determining a corresponding indicator based on the second target display information identifier, and determining and displaying a corresponding second target configuration chart based on the authority level and the indicator, includes: Determine a second target configuration chart corresponding to the second target display information identifier; Determine, in the permission relationship table, a configuration chart associated with the permission level as a second configurable chart; When the second configurable chart matches the second target configuration chart, the indicator and indicator information corresponding to the second target display information identifier are displayed through the second target configuration chart.

11. A chart visualization system, It is characterized in that include: a dictionary management module, configured to generate a dictionary information table corresponding to the dimension information in response to an operation of the first user on the dimension information in the database table; wherein the dictionary information table includes a dictionary number corresponding to the dimension information, a dimension value, and a dimension field corresponding to the dimension value; the dictionary information table is associated with a data source table, and the data source table is obtained by importing based on the database table; a data item management module, configured to process the data items corresponding to the indicators in the data source table in response to the operation of the first user on the indicators in the data source table to obtain a data item table; wherein the data item table is associated with the data source table, and the data source table includes at least one indicator; a chart configuration management module, configured to perform configuration processing on the data source table in response to the configuration operation of the first user on the data source table, and determine a corresponding configuration chart; wherein the configuration processing includes at least one of aggregation, addition, filtering, screening, sorting, and drawing; and the configuration chart is associated with the data source table; a permission configuration module, configured to determine the permission level corresponding to the configuration chart and establish a permission relationship table in response to the permission setting operation of the first user on the configuration chart; A display module is used to display a configuration chart corresponding to the second user's permission level, or indicators and indicator information in the configuration chart in response to the second user's operation on the display information table; the display information table includes at least one display information identifier, and the display information identifier corresponds one-to-one to the configuration chart.

12. An electronic device , It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 10 when executed by a processor.

14. A computer program product, It is characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 10 when being executed by a processor.

Citation Information

Patent Citations

  • Visualization method and device, terminal and storage medium

    CN114238455A

  • Platform page display method and device, computer equipment and storage medium

    CN118228313A

  • Chart generation method, low-code platform and data visualization platform

    CN118312164A

  • Data modeling method and device, computer equipment and storage medium

    CN118312573A

  • Report configuration method, apparatus and device, and computer storage medium

    WO2023273073A1