A method, device and medium for visual display of metadata based on configuration type objects

Through the visual presentation method based on configuration object metadata, the database table and data attribute parameters are dynamically configured, which solves the problem that the fixed data table structure cannot adapt to changes in power grid business needs, and realizes the flexibility and accuracy of data management.

CN119226388BActive Publication Date: 2025-04-08WUHAN HUARUI INTELLIGENT TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411770781.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-04-08
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

When processing power grid business data, the fixed data table structure cannot adapt to changes in business needs, resulting in insufficient flexibility in data management and inability to ensure data accuracy.

Method used

Through the visual display method based on configuration object metadata, database tables and data attribute parameters are dynamically configured, including data source configuration, data editing configuration, data merging item configuration, etc., to achieve flexibility and accuracy of data management.

Benefits of technology

It significantly improves the flexibility and efficiency of data management, ensures data accuracy, and is suitable for frequent adjustments to power grid business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226388B_ABST
    Figure CN119226388B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and medium for visual display of metadata based on configuration-type objects. On the basis of conventional data form management and relying on the existing power grid data model, the method constructs and realizes the topology of single data to target object data body, thereby realizing the integration of data, model and graph domain. Through dynamically configurable database tables, including data source configuration, data editability configuration, data merge item configuration, data sorting attribute configuration, data filtering condition configuration, data query condition configuration, etc., the configuration scheme can be used to manage almost all data of various disciplines in the power system, and by introducing dynamic configuration technology, the database table and data attribute parameters can be dynamically adjusted according to demand, which significantly improves the flexibility, efficiency and accuracy of data management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data management technology, and in particular to a method, device and medium for visual display of configuration-based object metadata. Background Art

[0002] In related conventional technical applications, when processing power grid business data, data is usually stored and called according to a fixed data table structure, that is, preliminary management of power grid business data is achieved through static configuration of data tables. This method is obviously insufficient in data mining applications and flexible reconstruction of scenario data, and cannot adapt to changes in power grid business needs; secondly, the power industry or power system currently generally uses databases combined with conventional office software to perform statistical analysis and viewing of data in data management and application, or is accustomed to participating in the production of data reports through manual intervention management mode, which cannot ensure the accuracy of power grid business data. Summary of the invention

[0003] The embodiments of the present application provide a method, device and medium for visual display of configuration-based object metadata, aiming to improve the flexibility, efficiency and accuracy of data management.

[0004] In one aspect, the present application provides a method for visualizing and displaying metadata based on a configuration object, the method comprising:

[0005] Obtain target object model associated with power grid business data;

[0006] According to the target object model, a target database table is established, wherein the target database table includes a plurality of data attribute information, and each of the data attribute information includes a plurality of data attribute parameters to be configured;

[0007] receiving a configuration instruction to configure at least one of the data attribute parameters according to the configuration instruction to obtain a configured data attribute parameter;

[0008] Based on the configured data attribute parameters, updating the target database table;

[0009] Using the updated target database table, obtain the target power grid data from the configured data source;

[0010] A visualization page is generated based on the target power grid data and the updated target database table.

[0011] In some embodiments, the data attribute information includes at least one of data source configuration information, data editability configuration information, data merge item configuration information, data sorting attribute configuration information, data filtering condition configuration information, data query condition configuration information, data verification rule configuration information, and data display rule configuration information.

[0012] In some embodiments, the data verification rule configuration information includes a target verification rule, and the generating of a visualization page based on the target power grid data and the updated target database table includes:

[0013] When the configured data attribute parameters include a configured target verification rule, performing data verification on the target power grid data using the configured target verification rule to obtain a verification result;

[0014] A visualization page including the verification result is generated.

[0015] In some embodiments, the using the configured target verification rule to perform data verification on the target power grid data includes:

[0016] Determine the verification type of the configured target verification rule;

[0017] If the verification type is a cross-table verification type, obtain the associated data table of the configured target verification rule;

[0018] The configured target verification rules are used to perform cross-table data verification on the target power grid data and the associated data table.

[0019] In some embodiments, the data display rule configuration information includes a target display mode, and the generating of a visualization page based on the target power grid data and the updated target database table includes:

[0020] When the configured data attribute parameters include a configured target display mode, visualizing the target power grid data according to the target display mode to obtain visualization information;

[0021] A visualization page including the visualization information is generated.

[0022] In some embodiments, the data query condition configuration information includes a target query condition, and before receiving the configuration instruction, the method further includes:

[0023] Displaying a library table configuration interface associated with power grid business data, wherein the library table configuration interface includes the target query condition;

[0024] The configuring at least one of the data attribute parameters according to the configuration instruction to obtain the configured data attribute parameter includes:

[0025] Obtaining a granularity parameter and a numerical parameter set for the target query condition in the configuration instruction;

[0026] A configured target query condition is generated according to the granularity parameter and the numerical parameter.

[0027] In some embodiments, after generating the visualization page based on the target power grid data and the updated target database table, the method further includes:

[0028] Determine the responsible person information of the target power grid data, and associate it with the visualization page;

[0029] Generate a target tree diagram based on the association relationship between the plurality of visualization pages and the plurality of responsible person information;

[0030] Based on the switching instruction for the node in the target tree diagram, the corresponding visualization page is switched and displayed.

[0031] In some embodiments, the step of using the updated target database table to obtain target power grid data from a configured data source includes:

[0032] Determine a target query parameter in the updated target database table, wherein the target query parameter includes a configured data attribute parameter;

[0033] Based on the target query parameter, generate a data query request;

[0034] The target power grid data is obtained by querying from the configured data source using the data query request.

[0035] On the other hand, the present application further provides a configuration-based object metadata visualization display device, the configuration-based object metadata visualization display device comprising:

[0036] A first acquisition module is used to acquire a target object model associated with power grid business data;

[0037] A database table module, used to establish a target database table according to the target object model, wherein the target database table includes a plurality of data attribute information, and each of the data attribute information includes a plurality of data attribute parameters to be configured;

[0038] A parameter configuration module, used to receive a configuration instruction, to configure at least one of the data attribute parameters according to the configuration instruction, and to obtain a configured data attribute parameter;

[0039] A parameter updating module, used for updating the target database table based on the configured data attribute parameters;

[0040] A second acquisition module is used to acquire target power grid data from a configured data source using the updated target database table;

[0041] The data display module is used to generate a visualization page based on the target power grid data and the updated target database table.

[0042] On the other hand, the present application also provides a computer device, the computer device comprising:

[0043] one or more processors;

[0044] Memory; and

[0045] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to run any one of the configuration-based object metadata visualization methods.

[0046] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute any one of the configuration-based object metadata visualization display methods.

[0047] On the other hand, the present application also provides a computer program product, including a computer program or instructions, which are executed by a processor to implement the configuration-based object metadata visualization display method as described in any of the above items.

[0048] The configuration-based object metadata visualization display method, device and medium provided in the embodiments of the present application, based on conventional data form management, rely on the existing power grid data model to construct and realize the topology of single data to target object data body, thereby realizing the integration of data, model and graph domain. By dynamically configurable database tables, including data source configuration, data editability configuration, data merge item configuration, data sorting attribute configuration, data filtering condition configuration, data query condition configuration, etc., the configuration scheme can be used to manage almost all data of various disciplines in the power system, and by introducing dynamic configuration technology, the database table and data attribute parameters can be dynamically adjusted according to demand, which significantly improves the flexibility, efficiency and accuracy of data management. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 This is a schematic diagram of an embodiment of a method for visualizing metadata of a configuration object provided in an embodiment of the present application;

[0051] Figure 2 It is a schematic diagram of an embodiment of the library table configuration interface provided in the embodiments of the present application;

[0052] Figure 3 is a schematic diagram of another embodiment of the library table configuration interface provided in the embodiments of the present application;

[0053] Figure 4 It is a schematic diagram of another embodiment of the library table configuration interface provided in the embodiments of the present application;

[0054] Figure 5 It is a schematic diagram of an overall implementation scheme of a configuration-based object metadata visualization display method provided in an embodiment of the present application;

[0055] Figure 6 It is a schematic diagram of the terminal structure of an embodiment of the configuration-based object metadata visualization display device provided in the embodiments of the present application;

[0056] Figure 7 It is a schematic diagram of the terminal structure of an embodiment of the computer device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0058] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.

[0059] Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0060] It should be noted that since the method of the embodiment of the present application is executed in a computer device, the processing objects of each computer device exist in the form of data or information. For example, time is actually time information. It can be understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data for processing by the computer device. The details will not be repeated here.

[0061] First, the definitions of terms that may be involved in the embodiments of the present application are explained as follows:

[0062] (1) Dynamic configuration: refers to the ability to adjust and configure data table structures, data attributes and other configuration items in real time according to business needs. Dynamic configuration enables the system to flexibly respond to data management needs in different scenarios, reducing the limitations caused by fixed configuration.

[0063] (2) Data source: refers to the source used to obtain and store data, which can be a database, file system, API, etc. Configuring the data source is part of the dynamic configuration, allowing users to select and manage different data information sources.

[0064] (3) Data attributes: refers to the characteristics of each field in the data table, including data type (such as integer, string, decimal, etc.), data validation rules (such as non-null, number of decimal places), data display rules (such as percentage, date format), etc.

[0065] (4) Data validation rules: refers to the rules used to verify whether the input data meets the preset requirements, such as non-empty check, format check, decimal place check, value check, etc. Data validation rules can ensure the correctness and consistency of data.

[0066] (5) Automatic synchronization: This means that the system automatically updates and maintains data consistency in the background without manual intervention. For example, when the data source changes, the system can automatically synchronize and update it to the visualization page.

[0067] (6) Fuzzy search: When searching for data, the system allows users to enter part of the keywords for search without requiring the exact value. This search method improves the flexibility, efficiency and accuracy of data query.

[0068] (7) Data visualization: refers to the intuitive display of data in the form of charts, curves, etc., which is convenient for users to understand and analyze. Data visualization is an important function in modern data management systems.

[0069] (8) Data filtering conditions: refers to the rules used to filter out data that meets specific conditions. Users can set multiple filtering conditions to extract specific data subsets for subsequent analysis and processing.

[0070] (9) Data granularity: refers to the different granularities of each data according to different time types. It can be any number plus any unit, such as: 3 days, 15 minutes, used for completeness calculation and date query, etc.

[0071] In the related art, data management relies on a fixed data table structure and a manually configured data management method to process power grid business data. For example, the following solutions can be used:

[0072] Solution 1: Implement preliminary data management through statically configured data tables, but this solution lacks flexibility.

[0073] Solution 2: Use the configuration tools of traditional database systems to create and maintain data tables, but this solution cannot meet dynamic requirements.

[0074] It can be seen that for Scheme 1 and Scheme 2, there are mainly the following defects:

[0075] (1) The fixed data table structure cannot adapt to changes in business needs and lacks flexibility;

[0076] (2) Data attribute management relies on manual configuration, which is error-prone and inefficient;

[0077] (3) Lack of automation and intelligent support makes management complex and difficult to expand.

[0078] The embodiments of the present application provide a method, device and medium for visual display of configuration-based object metadata, which effectively solves the above-mentioned defects by introducing dynamic configuration technology, so that database tables and data attributes can be dynamically adjusted according to needs, significantly improving the flexibility, efficiency and accuracy of data management.

[0079] In summary, the configuration-based object metadata visualization display method, device and medium provided in the embodiments of the present application can dynamically configure database tables, including data source configuration, data editability configuration, data merge item configuration, data sorting attribute configuration, data filtering condition configuration, data query condition configuration, etc. This configuration scheme can be used to manage almost all data of various disciplines in the power system.

[0080] Dynamic management and automatic update functions of data attribute information, including automatic synchronization of data attribute parameters, configuration of data validation rules (such as non-empty, decimal, percentage, etc.), flexible setting of data display format (height, width), support for fuzzy search function, custom data formatting processing, and diversified configuration of data display rules (curves, charts, etc.).

[0081] Specifically, refer to Figure 1 In one embodiment, the method for visualizing and displaying configuration-based object metadata may include:

[0082] 101. Obtain a target object model associated with power grid business data.

[0083] In the embodiment of the present application, the power grid service data refers to the service data generated when implementing power grid related services. The target object model is a common object model used to express data attributes of all types of power grid service data.

[0084] 102. According to the target object model, a target database table is established, wherein the target database table includes a plurality of data attribute information, and each piece of data attribute information includes a plurality of data attribute parameters to be configured.

[0085] In the embodiments of the present application, a database table is a data structure for storing and organizing data, which is usually composed of rows and columns. Each row represents a record, and each column represents a field or attribute. A table is an object used to store data in a database. It is a structured data set and the basis of the entire database system. Therefore, a target object model can be used to define the data structure of each row and column in a database table to obtain a target database table.

[0086] In the embodiment of the present application, by storing all data attributes in the target object model in a dynamically configurable form, multiple data attribute information in the target database table can be obtained, and each data attribute information includes multiple data attribute parameters to be configured. For example, the data attribute information can be a data type, and the multiple data attribute parameters under the data attribute information can be integers, strings, decimals, etc.

[0087] In some embodiments of the present application, data attribute information includes at least one of data source configuration information, data editability configuration information, data merge item configuration information, data sorting attribute configuration information, data filtering condition configuration information, data query condition configuration information, data verification rule configuration information, and data display rule configuration information, so as to meet the management needs of almost all data of various disciplines in the power system.

[0088] 103. Receive a configuration instruction to configure at least one data attribute parameter according to the configuration instruction to obtain a configured data attribute parameter.

[0089] In an embodiment of the present application, the configuration instruction can be manually triggered by the user in the library table configuration interface associated with the power grid business data. Figure 2 , 3 4 shows a schematic diagram of an embodiment of a library table configuration interface. It can be seen that in the library table configuration interface, the user can perform configuration operations on multiple data attribute parameters based on actual needs, thereby triggering configuration instructions.

[0090] In some embodiments of the present application, Figure 2 , 3 , 4, allows the user to perform the following configurations, including:

[0091] (1) Data source configuration: flexibly select and configure different data sources, and support dynamic loading.

[0092] (2) Data table configuration: supports multiple configurations such as data sorting, filtering, and query conditions to meet diverse data needs.

[0093] (3) Table column configuration: You can configure the order, display style, and header merging.

[0094] (4) Management information configuration: Other unique information other than the data itself can be configured, such as management requirements, data granularity, verification formula configuration, etc., which not only facilitates the management of each data, but also meets a variety of business needs.

[0095] (5) Query parameter configuration: Users can configure query methods related to data items, support fuzzy query in input box, radio button, drop-down box, date selection query, and configure default value, default display width, etc.

[0096] (6) Data display rule configuration: Users can choose to visualize data in the form of curves, charts, etc. to improve data analysis results.

[0097] In some embodiments of the present application, taking the case where the target query condition is included in the data query condition configuration information as an example, before receiving the configuration instruction, it may also include: displaying a library table configuration interface associated with the power grid business data, the library table configuration interface includes the target query condition, and the target query condition may include, for example, a configurable query field, a configurable date type (i.e., granularity), etc., so as to trigger the configuration instruction based on the configuration operation of the target query condition. Accordingly, configuring at least one data attribute parameter according to the configuration instruction to obtain the configured data attribute parameter may include: obtaining the granularity parameter and the numerical parameter set for the target query condition in the configuration instruction, for example, the granularity parameter may be year-month-day, year, year-month, week, etc., and the numerical parameter is a specific numerical value; generating the configured target query condition according to the granularity parameter and the numerical parameter, taking the granularity parameter as year and the numerical parameter as 2024 as an example, the configured target query condition is 2024. The configured target query condition is a configured data attribute parameter.

[0098] 104. Update the target database table based on the configured data attribute parameters.

[0099] In an embodiment of the present application, the configured data attribute parameters are assigned to the corresponding data attribute parameters of the corresponding data attribute information in the target database table, thereby obtaining an updated target database table, so that the data attribute parameters to be configured in the target database table are determined.

[0100] 105. Using the updated target database table, obtain target power grid data from the configured data source.

[0101] In the embodiment of the present application, since the updated target database table includes the configured data attribute parameters, the target power grid data that meets the configured data attribute parameters can be obtained from the configured data source.

[0102] In some embodiments of the present application, using an updated target database table to obtain target power grid data from a configured data source may include: determining target query parameters in the updated target database table, the target query parameters including configured data attribute parameters; generating a data query request based on the target query parameters; and using the data query request to query from the configured data source to obtain corresponding target power grid data.

[0103] 106. Generate a visualization page based on the target power grid data and the updated target database table.

[0104] In an embodiment of the present application, in order to facilitate the management of power grid data, a visualization page may be generated for user viewing. The visualization page may include a data table generated based on the target power grid data.

[0105] In some embodiments of the present application, taking the data verification rule configuration information including the target verification rule as an example, generating a visualization page based on the target power grid data and the updated target database table may include: when the configured data attribute parameters include the configured target verification rule, using the configured target verification rule to perform data verification on the target power grid data to obtain a verification result, which may include a verification pass, a verification failure, etc.; generating a visualization page including the verification result. The configured target verification rule may be, for example, a verification of a data format such as non-empty, decimal, or percentage, or may be a verification rule based on a calculation formula to verify whether the target power grid data conforms to the result of the calculation formula.

[0106] In some embodiments of the present application, the configured target verification rules can also support cross-table data verification, that is, mutual verification of data in multiple different data tables. Specifically, using the configured target verification rules to perform data verification on the target power grid data can include: determining the verification type of the configured target verification rules; if the verification type is a cross-table verification type, obtaining the associated data table of the configured target verification rules; using the configured target verification rules to perform cross-table data verification on the target power grid data and the associated data table, that is, mutual verification of the target power grid data and the data in the associated data table. By adding advanced data verification rules such as cross-table data verification, the integrity and consistency of the data are further ensured.

[0107] In some embodiments of the present application, taking the case where the data display rule configuration information includes a target display mode as an example, a visualization page is generated based on the target power grid data and the updated target database table, including: when the configured data attribute parameters include the configured target display mode, the target power grid data is visualized according to the target display mode to obtain visualization information; and a visualization page including the visualization information is generated. The configured target display mode may be, for example, a curve display mode, and the curve display mode includes a configured curve rendering formula.

[0108] In some embodiments of the present application, after generating a visualization page based on the target power grid data and the updated target database table, it may also include: determining the responsible person information of the target power grid data and associating it to the visualization page, wherein the responsible person information of the target power grid data refers to the information of the person in charge of the data source of the target power grid data; generating a target tree diagram based on the association relationship between multiple visualization pages and multiple responsible person information, for example, for each responsible person information, the responsible person information can be used as a parent node, and multiple visualization pages associated with the responsible person information can all be used as nodes of the parent node, thereby generating a target tree diagram; based on a switching instruction for a node in the target tree diagram, switching to display the corresponding visualization page, so that based on the selection of a node in the target tree diagram, the data table in the corresponding visualization page can be viewed more conveniently.

[0109] In addition, the nodes of each visualization page may be accompanied by different node identifiers based on the different verification results in the visualization page, and the node identifiers may include node display colors, node display sizes, etc. For example, when there is no power grid data with a verification result of not passing the verification in the visualization page, the node display color of the node of the visualization page is different from the node display color of the node of the visualization page when there is power grid data with a verification result of not passing the verification in the visualization page, so that the visualization page of the power grid data with verification problems can be found more conveniently and quickly, and the power grid data with verification problems can be processed in time. And / or, when the amount of power grid data with a verification result of not passing the verification in the visualization page is larger, the node display size of the node of the visualization page is larger, so that the visualization page of the power grid data with verification problems and a large number can be found more conveniently and quickly, and the power grid data with verification problems and a large number can be processed in time. And / or, for each parent node, obtain the sum of the amount of power grid data with verification results that failed in all visualization pages under the parent node. If the sum of the amount of power grid data with verification results that failed in all visualization pages under the parent node is larger, the node display size of the parent node will also be larger, so that the information of the responsible person who needs to be focused on and take subsequent measures can be found more conveniently and quickly.

[0110] It can be seen that the configuration-based object metadata visualization display method provided in the embodiment of the present application, based on conventional data form management, relies on the existing power grid data model, constructs and realizes the topology of single data to target object data body, thereby realizing the integration of data, model, and graph domain. Through the dynamically configurable database table, including data source configuration, data editability configuration, data merge item configuration, data sorting attribute configuration, data filtering condition configuration, data query condition configuration, etc., the configuration scheme can be used to manage almost all data of various disciplines in the power system, and by introducing dynamic configuration technology, the database table and data attribute parameters can be dynamically adjusted according to demand, which significantly improves the flexibility, efficiency and accuracy of data management, and is particularly suitable for power grid business scenarios that require frequent adjustments.

[0111] In some embodiments of the present application, based on the above embodiments, refer to Figure 5 , showing an overall implementation scheme based on the configuration-based object metadata visualization display method, which can specifically include data analysis and object design, interactive interface design and basic operations, custom query function rendering, custom data table display, data management and operation and maintenance support, etc.

[0112] (1) Data analysis and object design:

[0113] First, a comprehensive analysis of all types of business data in the power grid is conducted to summarize the similarities and common features of these data. On this basis, a general object model (i.e., target object model) is designed to express the data attributes of all types of power grid business data. According to the object model, the corresponding target database table is established, and all data attributes are stored in a dynamically configurable form. In addition, the dynamic configuration of the target database table can be further optimized by introducing artificial intelligence algorithms to improve the intelligence level of the system.

[0114] (2) Interactive interface design and basic operations:

[0115] Design the user interaction interface (i.e., the library table configuration interface) and the way to access the configuration. The main add, delete, modify, and query functions are implemented through the data source configuration and the column attribute configuration of the target database table. For query operations, the basic query SQL (Structured Query Language) statement is generated through the configured data source and data table, and the corresponding data query request is generated in combination with the target query parameters. The required target power grid data is queried from the database and returned to the user.

[0116] (3) Custom query function rendering:

[0117] According to the display name, parameter code, column type, default value and other information in the data attribute parameters, the corresponding parameter name is obtained by parsing the parameter code, and different input parameter value methods are selected according to the column type configuration. A customized query function is rendered on the library table configuration interface, allowing users to flexibly define query conditions.

[0118] (4) Customized data table display:

[0119] Render a customized data table display style according to the data display rule configuration information such as cell merging rules, table column width, text style, etc. In addition, you can also define data verification formulas through data verification rule configuration information to verify the correctness of the data in the target cell of the data table.

[0120] If the data display rule configuration information contains a curve rendering formula, the column data can be displayed in the form of a curve.

[0121] (5) Data management and operation and maintenance support:

[0122] Through the configuration of management information, the source of the target power grid data can be traced and the information of the responsible person can be determined. In combination with management requirements, audit and verification work can be carried out. According to the information of the responsible person, a target tree diagram can also be generated. The user can click on the node in the target tree diagram in the front-end interface to switch and load the visualization page including the corresponding data table content.

[0123] It can be seen from the above embodiments that the configuration-based object metadata visualization display method provided in the embodiments of the present application has the following technical effects:

[0124] 1. Significantly improve the flexibility of data management and be able to quickly respond to changes in business needs;

[0125] 2. Reduce the complexity of manual configuration, reduce the possibility of errors, and improve work efficiency;

[0126] 3. Provide diversified data display forms to enhance data analysis and decision support capabilities.

[0127] In order to better implement the configuration-based object metadata visualization display method in the embodiment of the present application, based on the configuration-based object metadata visualization display method, the embodiment of the present application also provides a configuration-based object metadata visualization display device, such as Figure 6 As shown, the configuration-based object metadata visualization display device 600 includes:

[0128] A first acquisition module 601 is used for acquiring a target object model associated with power grid service data;

[0129] The database table module 602 is used to establish a target database table according to the target object model, wherein the target database table includes a plurality of data attribute information, and each piece of data attribute information includes a plurality of data attribute parameters to be configured;

[0130] The parameter configuration module 603 is used to receive a configuration instruction, and configure at least one data attribute parameter according to the configuration instruction to obtain a configured data attribute parameter;

[0131] The parameter updating module 604 is used to update the target database table based on the configured data attribute parameters;

[0132] The second acquisition module 605 is used to acquire target power grid data from a configured data source using the updated target database table;

[0133] The data display module 606 is used to generate a visualization page based on the target power grid data and the updated target database table.

[0134] The present application also provides a computer device that integrates any of the configuration-based object metadata visualization display devices provided in the present application. Figure 7 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:

[0135] The computer device may include one or more processing core processors 701, one or more computer readable storage media memories 702, a power supply 703, an input unit 704 and other components. Those skilled in the art will appreciate that Figure 7 The computer device structure shown in the figure is not intended to limit the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0136] The processor 701 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 702 and calling data stored in the memory 702, it executes various functions of the computer device and processes data, thereby monitoring the computer device as a whole. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 701.

[0137] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.

[0138] The computer device also includes a power supply 703 for supplying power to various components. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 703 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0139] The computer device may further include an input unit 704, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0140] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 701 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 will run the application programs stored in the memory 702, thereby realizing various functions, as follows:

[0141] A target object model associated with power grid business data is obtained; a target database table is established according to the target object model, wherein the target database table includes a plurality of data attribute information, and each data attribute information includes a plurality of data attribute parameters to be configured; a configuration instruction is received to configure at least one data attribute parameter according to the configuration instruction to obtain the configured data attribute parameters; based on the configured data attribute parameters, the target database table is updated; the target power grid data is obtained from the configured data source using the updated target database table; and a visualization page is generated based on the target power grid data and the updated target database table.

[0142] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0143] To this end, the embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the configuration-based object metadata visualization display methods provided in the embodiment of the present application. For example, the computer program can be loaded by a processor to execute the following steps:

[0144] Obtain a target object model associated with power grid business data; establish a target database table based on the target object model, wherein the target database table includes multiple data attribute information, and each data attribute information includes multiple data attribute parameters to be configured; receive a configuration instruction to configure at least one data attribute parameter according to the configuration instruction to obtain the configured data attribute parameter; update the target database table based on the configured data attribute parameter; use the updated target database table to obtain the target power grid data from the configured data source; generate a visualization page based on the target power grid data and the updated target database table. An embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer instruction from the computer-readable storage medium and executes the computer instruction, so that the electronic device executes to implement the configuration-based object metadata visualization method as described in any of the above items, for example:

[0145] A target object model associated with power grid business data is obtained; a target database table is established according to the target object model, wherein the target database table includes a plurality of data attribute information, and each data attribute information includes a plurality of data attribute parameters to be configured; a configuration instruction is received to configure at least one data attribute parameter according to the configuration instruction to obtain the configured data attribute parameters; based on the configured data attribute parameters, the target database table is updated; the target power grid data is obtained from the configured data source using the updated target database table; and a visualization page is generated based on the target power grid data and the updated target database table.

[0146] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0147] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0148] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0149] The above is a detailed introduction to a configuration-based object metadata visualization display method, device and medium provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for visualizing metadata based on a configuration object, characterized in that: The method comprises: Obtain target object model associated with power grid business data; According to the target object model, a target database table is established, wherein the target database table includes a plurality of data attribute information, wherein the plurality of data attribute information in the target database table is obtained by storing all data attributes in the target object model in a dynamically configurable form, and each of the data attribute information includes a plurality of data attribute parameters to be configured, and the data attribute information includes at least one of data source configuration information, data editability configuration information, data merge item configuration information, data sorting attribute configuration information, data filtering condition configuration information, data query condition configuration information, data verification rule configuration information, and data display rule configuration information; receiving a configuration instruction to configure at least one of the data attribute parameters according to the configuration instruction to obtain a configured data attribute parameter; Based on the configured data attribute parameters, updating the target database table; Using the updated target database table, obtain the target power grid data from the configured data source; A visualization page is generated based on the target power grid data and the updated target database table.

2. The method for visualizing display of metadata based on configuration objects according to claim 1, characterized in that: The data verification rule configuration information includes a target verification rule, and the generating of a visualization page based on the target power grid data and the updated target database table includes: When the configured data attribute parameters include a configured target verification rule, performing data verification on the target power grid data using the configured target verification rule to obtain a verification result; A visualization page including the verification result is generated.

3. The method for visualizing display of metadata based on configuration objects according to claim 2, characterized in that: The using the configured target verification rule to perform data verification on the target power grid data includes: Determine the verification type of the configured target verification rule; If the verification type is a cross-table verification type, obtain the associated data table of the configured target verification rule; The configured target verification rules are used to perform cross-table data verification on the target power grid data and the associated data table.

4. The method for visualizing display of metadata based on configuration objects according to claim 1, characterized in that: The data display rule configuration information includes a target display mode, and the generating of a visualization page based on the target power grid data and the updated target database table includes: When the configured data attribute parameters include a configured target display mode, visualizing the target power grid data according to the target display mode to obtain visualization information; A visualization page including the visualization information is generated.

5. The method for visualizing display of metadata based on configuration objects according to claim 1, characterized in that: The data query condition configuration information includes a target query condition, and before receiving the configuration instruction, the method further includes: Displaying a library table configuration interface associated with power grid business data, wherein the library table configuration interface includes the target query condition; The configuring at least one of the data attribute parameters according to the configuration instruction to obtain the configured data attribute parameter includes: Obtaining a granularity parameter and a numerical parameter set for the target query condition in the configuration instruction; A configured target query condition is generated according to the granularity parameter and the numerical parameter.

6. The method for visualizing display of metadata based on configuration objects according to claim 1, characterized in that: After generating the visualization page based on the target power grid data and the updated target database table, the method further includes: Determine the responsible person information of the target power grid data, and associate it with the visualization page; Generate a target tree diagram based on the association relationship between the plurality of visualization pages and the plurality of responsible person information; Based on the switching instruction for the node in the target tree diagram, the corresponding visualization page is switched and displayed.

7. The method for visualizing display of metadata based on configuration objects according to claim 1, characterized in that: The method of using the updated target database table to obtain target power grid data from the configured data source includes: Determine a target query parameter in the updated target database table, wherein the target query parameter includes a configured data attribute parameter; Based on the target query parameter, generate a data query request; The target power grid data is obtained by querying from the configured data source using the data query request.

8. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to run the configuration-based object metadata visualization display method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to run the configuration-based object metadata visualization display method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Resource data statistical method and device, meta-platform equipment and storage medium

    CN114090653A

  • Page generation method and device, computer equipment and storage medium

    CN114115844A