CN115587273A - Data display method, device, equipment and storage medium - Google Patents

Data display method, device, equipment and storage medium Download PDF

Info

Publication number
CN115587273A
CN115587273A CN202211404693.1A CN202211404693A CN115587273A CN 115587273 A CN115587273 A CN 115587273A CN 202211404693 A CN202211404693 A CN 202211404693A CN 115587273 A CN115587273 A CN 115587273A
Authority
CN
China
Prior art keywords
index
target
data object
value
analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211404693.1A
Other languages
Chinese (zh)
Inventor
李昱
覃林
马超
李戎
崔鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hollysys Automation Co Ltd
Original Assignee
Hangzhou Hollysys Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hollysys Automation Co Ltd filed Critical Hangzhou Hollysys Automation Co Ltd
Priority to CN202211404693.1A priority Critical patent/CN115587273A/en
Publication of CN115587273A publication Critical patent/CN115587273A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a data display method, a device, equipment and a storage medium, which relate to the technical field of computers and comprise the following steps: acquiring a target index corresponding to a target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value; executing a preset analysis method on the target index, thereby obtaining an index drilling analysis data object based on the obtained dependency relationship data object and the current index value; and sending the index drilling analysis data object to a page and displaying the index drilling analysis data object in a preset display mode. According to the method and the device, the reference incidence relation between the indexes is obtained by executing a preset analysis method on the target indexes, the dependency relation data object of the target indexes is constructed according to the reference incidence relation, the calculated current index value obtaining indexes are used for drilling the analysis data object and displaying the analysis data object on the page, the incidence relation between the indexes and the corresponding data information are visually embodied, and the speed and the accuracy of auxiliary decision making are improved.

Description

Data display method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data display method, apparatus, device, and storage medium.
Background
The indexes of the power plant relate to the power plant specialties of production, management, finance, fuel, safety, environmental protection and the like, the indexes are various, the calculation formula is complex, and the power plant index system forms an organic and complete index system which is interconnected and mutually supported. The main means of analyzing the index data of the power plant at present is to realize the drilling and analyzing of the index data by combining the unit dimension, the time dimension and the statistical dimension with a visual chart, so that the relation among the data of different dimension levels of the index can be clearly and visually analyzed, and the index data can be focused and decided. The conventional data decision-making methods of the power plant at present are two categories, namely conventional statistical analysis and big data decision-making analysis: 1) Performing dimension statistical analysis, such as unit dimension, time dimension and statistical dimension, on the basis of the index data, performing comparative analysis, trend analysis and detail analysis on the index data, and displaying analysis data by combining a visual chart; 2) And (3) based on massive index data, combining a big data analysis technology to realize decision data analysis of a specific service scene. The two major data decision methods have the following problems: 1) The analysis based on the conventional dimensionality cannot be data analysis of a single dimensionality level, index composition is not concerned, data reference and weight relation between index systems cannot be found, and problem indexes cannot be found intuitively; 2) The big data decision analysis method depends on massive index data, and realizes decision analysis of a specific service scene by using a specific algorithm.
Disclosure of Invention
In view of this, the present invention provides a data display method, apparatus, device and storage medium, which can clearly and intuitively embody association between indexes and corresponding data information, and improve speed and accuracy of assistant decision making. The specific scheme is as follows:
in a first aspect, the present application discloses a data display method, including:
acquiring a target index corresponding to a target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value;
executing a preset analysis method on the target index to construct a dependency relationship data object of the target index;
acquiring an index drilling analysis data object based on the dependency relationship data object and the current index value;
and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
Optionally, the obtaining a target index corresponding to the target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value includes:
maintaining metadata information of a target index corresponding to the target power plant in an index management module; the metadata information comprises all index attributes corresponding to the target index, and the index attributes comprise binding measuring points, a calculation formula and an index type;
judging the target index to be an original index or a calculated index based on the index type;
if the target index is the original index, acquiring a corresponding original index value based on the bound measuring point of the original index;
if the target index is the calculation index, acquiring a corresponding calculation index value based on the calculation formula of the calculation index;
and determining the original index value and the calculated index value as the current index value, and storing all the current index values into a database.
Optionally, the executing a preset parsing method on the target index to construct a dependency data object of the target index includes:
analyzing the target index through an expression analyzer or regular analysis to obtain a reference index corresponding to the target index;
judging whether the index is empty;
if the index is not empty, determining the index as the target index, and re-entering the step of analyzing the target index through an expression analyzer or regular analysis to obtain the index corresponding to the target index;
if the reference index is empty, finishing constructing a dependency relationship data object corresponding to the target index based on the reference index, and determining a root index in the dependency relationship data object; wherein the target index which is not empty and is not the reference index itself is determined as the root index.
Optionally, the drilling an analysis data object based on the dependency relationship data object and the current metric value obtaining metric includes:
acquiring the current index value of each target index in the dependency relationship data object from the database;
determining a weight value corresponding to each target index in the dependency relationship data object based on the current index value;
acquiring data information corresponding to each target index in the dependency relationship data object; wherein the data information comprises a period value, an upper period value, a ring ratio growth rate and a period ratio growth rate corresponding to the target index;
integrating the current index value, the weight value and the data information to obtain target data corresponding to each target index in the dependency relationship data object;
and drilling an analysis data object based on the dependency relationship data object and the target data acquisition index.
Optionally, the determining, based on the current index value, a weight value corresponding to each target index in the dependency relationship data object includes:
all the target indexes which are not the root indexes are obtained from the dependency relationship data object so as to obtain an index set to be analyzed;
determining a parent index corresponding to each index to be analyzed in the index set to be analyzed;
determining a weight value of the to-be-analyzed index based on the current index value of the to-be-analyzed index, the current index value of the parent index corresponding to the to-be-analyzed index, and a preset weight value calculation formula.
Optionally, the obtaining data information corresponding to each target indicator in the dependency data object includes:
directly acquiring the same-period value and the previous-period value corresponding to the target index from the database;
determining a same-ratio growth rate based on the current index value corresponding to the target index, the same-period value and a preset same-ratio growth rate calculation formula;
and determining the ring ratio increase rate based on the current index value corresponding to the target index, the last period value and a preset ring ratio increase rate calculation formula.
Optionally, the sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display manner includes:
and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page through a visual tree-shaped hierarchical structure.
In a second aspect, the present application discloses a data presentation device, comprising:
the index value calculation module is used for acquiring a target index corresponding to a target power plant and calculating the target index by using a preset index calculation formula to obtain a current index value;
the first data object determination module is used for executing a preset analysis method on the target index so as to construct a dependency relationship data object of the target index;
the second data object determination module is used for drilling an analysis data object based on the dependency relationship data object and the current index value acquisition index;
and the display module is used for sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing said computer program for implementing the steps of the data presentation method as disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program realizes the data presentation method as disclosed in the foregoing when executed by a processor.
Therefore, the application provides a data display method, which comprises the following steps: acquiring a target index corresponding to a target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value; executing a preset analysis method on the target index to construct a dependency relationship data object of the target index; acquiring an index drilling analysis data object based on the dependency relationship data object and the current index value; and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode. Therefore, the reference incidence relation between the indexes is obtained by executing the preset analysis method on the target indexes, the dependency relation data object of the target indexes is constructed according to the reference incidence relation, the analysis data object is drilled and displayed on the page through the dependency relation data object and the current index value obtained through calculation, so that the incidence relation between the indexes and the corresponding data information are clearly and visually embodied, and the speed and the accuracy of auxiliary decision making are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a data presentation method disclosed herein;
FIG. 2 is a schematic diagram of the relationship of modules disclosed herein;
FIG. 3 is a flow chart of a particular data presentation method disclosed herein;
FIG. 4 is a flowchart of the recursive analysis disclosed in the present application;
FIG. 5 is a diagram illustrating an index invocation relationship disclosed herein;
FIG. 6 is a flow chart of a particular data presentation method disclosed herein;
FIG. 7 is a schematic diagram of a visual tree hierarchy disclosed herein;
FIG. 8 is a schematic structural diagram of a data presentation device provided in the present application;
fig. 9 is a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, analysis based on conventional dimensionality cannot be data analysis of a single dimensionality level, index composition is not concerned, data reference and weight relation between index systems cannot be found, and problem indexes cannot be found intuitively; the big data decision analysis method depends on massive index data, and realizes decision analysis of a specific service scene by using a specific algorithm. Therefore, the data display method is provided, the incidence relation among indexes and the corresponding data information can be clearly and visually embodied, and the speed and the accuracy of assistant decision making are improved.
The embodiment of the invention discloses a data display method, which is shown in figure 1 and comprises the following steps:
step S11: and acquiring a target index corresponding to the target power plant, and calculating the target index by using a preset index calculation formula to obtain the current index value.
In the embodiment, a target index corresponding to a target power plant is obtained, and the target index is calculated by using a preset index calculation formula to obtain a current index value. Specifically, metadata information of a target index corresponding to the target power plant is maintained in an index management module; the metadata information comprises all index attributes corresponding to the target index, and the index attributes comprise binding measuring points, a calculation formula and an index type; judging the target index to be an original index or a calculated index based on the index type; if the target index is the original index, acquiring a corresponding original index value based on the bound measuring point of the original index; if the target index is the calculation index, acquiring a corresponding calculation index value based on the calculation formula of the calculation index; and determining the original index value and the calculated index value as the current index value, and storing all the current index values into a database.
It can be understood that, as shown in fig. 2, the present solution mainly includes the following four modules: the system comprises an index management module, an index storage module (such as a common relational database Mysql), an index data analysis module and a decision data visualization module. Specifically, all indexes of the target power plant are maintained in the index management module, and a current index value corresponding to each index is calculated; storing the index information and the corresponding index data of each index in the index storage module; recursively analyzing the calculation association relationship among the indexes in the index data analysis module to obtain dependency relationship data objects, determining target data corresponding to each index, and then obtaining the indexes to drill and analyze the data objects based on the target data and the dependency relationship data objects; and sending the index drilling analysis data object from the index data analysis module to a decision data visualization module, and visually displaying the index drilling analysis data object in the decision data visualization module and simultaneously supporting the multidimensional query of index data.
Further, a target index corresponding to a target power plant is obtained, and metadata information of all target indexes corresponding to the target power plant is maintained in an index management module; the metadata information is an index attribute of the index, and the commonly used maintenance index attribute is described as the following table one:
watch 1
Figure BDA0003936476420000061
Figure BDA0003936476420000071
The index attributes in the first table include key attributes and non-key attributes, the index attributes are divided into the key attributes and the non-key attributes according to the importance of the index attributes, and attributes such as index periods and index units are determined as the non-key attributes. And simultaneously, index calculation operation is carried out on all maintained indexes in the index management module, and the indexes are divided into calculation indexes or original indexes according to the index types. The index value of the original index is associated with the data of the power plant measuring point, and is calculated without depending on other indexes; the index value of the calculation index is obtained through a written calculation formula, other indexes are quoted, and the quoted indexes can be original indexes or calculation indexes. It can be understood that the index calculation formula for calculating the index is: tx = Fx (Tx, ty, tz \8230), the index value of the index calculation formula expressing Tx index is calculated according to Tx, ty and Tz indexes, wherein Fx is a calculation function or an arithmetic operator supported by any formula analyzer, and various calculation functions and function analyses can be realized by using an open source expression analysis framework Jep by taking Java language as an example.
An example of index system data such as that shown in table two (non-critical properties not shown):
watch 2
Figure BDA0003936476420000072
Figure BDA0003936476420000081
According to the second table, it can be seen that the original index has no corresponding calculation formula, and the index value is obtained from the binding measurement point corresponding to the original index, and the calculation index needs to calculate the corresponding index value through Fx in the calculation formula and the reference index cited in parentheses in the formula. In the index management module, index calculation is executed according to original index binding measuring point data and a formula analysis execution framework, and the obtained current index value corresponding to each target index is stored in a database.
Step S12: and executing a preset analysis method on the target index to construct a dependency relationship data object of the target index.
In this embodiment, a target index corresponding to a target power plant is obtained, the target index is calculated by using a preset index calculation formula, and after a current index value is obtained, a preset analysis method is executed on the target index in an index data analysis module to construct a dependency relationship data object of the target index. It can be understood that, the reference association relationship between the indexes is recursively analyzed through a preset analysis method, and then the dependency relationship data object of the target index is constructed according to the reference association relationship.
Step S13: and drilling an analysis data object based on the dependency relationship data object and the current index value acquisition index.
In this embodiment, after a preset analysis method is performed on the target index to construct a dependency relationship data object of the target index, an index drill analysis data object is obtained based on the dependency relationship data object and the current index value. It can be understood that the index data analysis module obtains the current index value corresponding to each index from the database, calculates the target data corresponding to each index according to the current index value corresponding to each index, and fills the target data into the corresponding area in the dependency relationship data object to obtain the index drilling analysis data object.
Step S14: and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
In this embodiment, after the index drilling analysis data object is obtained based on the dependency relationship data object and the current index value, the index drilling analysis data object is sent to a web page, so that the index drilling analysis data object is displayed on the web page through a visual tree-like hierarchical structure. Any index in the power plant index system is analyzed according to the recursive analysis method, and the index drilling analysis data object is displayed through the visual tree-shaped hierarchical structure, so that the comprehensive analysis of various professional decision data such as production, management, finance, fuel, safety and environmental protection is realized, timely and effective high-value information is provided for decision makers, and auxiliary decision support is realized. It should be noted that if some indexes in the power plant are not associated with other indexes, the indexes are not displayed on the web page.
The scheme is based on a power plant index system and through recursive analysis of a data calculation relation of power plant production and operation indexes, the most direct and accurate decision-making assisting information is directly obtained from index data, timely and effective high-value information is provided for power plant managers, decision-making assisting support is realized, and the method is a simple and practical decision-making method; any index in the power plant index system can be subjected to recursive analysis according to the method, so that the method has good universality; massive index data is not needed, and the index can be subjected to decision analysis only through quantitative data; the system automatically analyzes index calculation relationship according to the index calculation formula in a recursion way to form a quoted tree-shaped data structure, displays key data such as an actual value (namely a current index value), a current future value, a previous future index, a same-ring ratio growth rate, a sensitivity coefficient and the like of each index through a visual tree-shaped component, can visually analyze the data relationship between the indexes and the quoted indexes through the tree-shaped hierarchical relationship, combines the same-ring ratio growth rate and the sensitivity coefficient, can quickly and accurately locate problem indexes, makes a normal and effective decision according to index business logic and data, and provides powerful support for production and operation decisions of the power plant. The scheme is a power plant data decision method based on index system drilling hierarchical analysis, and the data relation of indexes and index quoting is analyzed visually by combining a visual tree-shaped hierarchical structure.
As can be seen, the present application provides a data presentation method, comprising: acquiring a target index corresponding to a target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value; executing a preset analysis method on the target index to construct a dependency relationship data object of the target index; acquiring an index drilling analysis data object based on the dependency relationship data object and the current index value; and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode. Therefore, the reference incidence relation between the indexes is obtained by executing the preset analysis method on the target indexes, the dependency relation data object of the target indexes is constructed according to the reference incidence relation, the analysis data object is drilled and displayed on the page through the dependency relation data object and the current index value obtained through calculation, so that the incidence relation between the indexes and the corresponding data information are clearly and visually embodied, and the speed and the accuracy of auxiliary decision making are improved.
Referring to fig. 3, the embodiment of the present invention discloses a data display method, and the embodiment further describes and optimizes the technical solution with respect to the previous embodiment.
Step S21: and acquiring a target index corresponding to the target power plant, and calculating the target index by using a preset index calculation formula to obtain the current index value.
Step S22: analyzing the target index through an expression analyzer or regular analysis to obtain a reference index corresponding to the target index, and judging whether the reference index is empty.
In this embodiment, the target index is analyzed by an expression analyzer or a regular analysis to obtain a reference index corresponding to the target index, and whether the reference index is empty is determined, that is, a calculation dependency relationship between indexes is recursively analyzed by the expression analyzer or the regular analysis in an index data analysis module, a recursive analysis process is shown in fig. 4, a current analysis index is determined and a corresponding calculation formula, for example, fx (Tx, ty, tz), is determined in the index data analysis module, the formula is analyzed by Jep at this time, the reference index of the current analysis index is determined to be Tx, ty, tz, tx, ty, tz are respectively set as analysis indexes, and whether the corresponding reference index exists in Tx, ty, tz is determined, that is, whether the reference index is empty is determined.
Step S23: and if the index is not empty, determining the index as the target index, and re-entering the step of analyzing the target index through an expression analyzer or regular analysis to obtain the index corresponding to the target index.
In this embodiment, after determining whether the reference index is empty, if the reference index is not empty, determining the reference index as the target index, and re-entering the step of analyzing the target index through an expression analyzer or regular analysis to obtain the reference index corresponding to the target index. It can be understood that, as shown in fig. 4, if the reference indicator is not empty, for example, if there is a corresponding reference indicator in any one of the indicators Tx, ty, and Tz, the step of analyzing the target indicator through the expression analyzer or the regular analysis needs to be entered again to obtain the reference indicator corresponding to the target indicator.
Step S24: and if the reference index is empty, finishing constructing a dependency relationship data object corresponding to the target index based on the reference index, and determining a root index in the dependency relationship data object.
In this embodiment, after determining whether the reference index is empty, if the reference index is empty, the method ends, constructs a dependency data object corresponding to the target index based on the reference index, and determines a root index in the dependency data object. It can be understood that, when the reference index is empty, it indicates that the reference indexes corresponding to all the indexes obtained at this time are determined, and at this time, a dependency relationship data object is constructed according to the association relationship between each index and the reference index thereof.
For example, the index dependency data object (java pseudo code) is as follows:
Figure BDA0003936476420000111
for example, after the preset parsing method is executed according to the index system data example data shown in the above table two, the index calling relationship shown in fig. 5 may be obtained, where the reference index of T11 is denoted by T21, T22, and T23, the reference index of T21 is denoted by T31, T22 is not a reference index, the reference index of T23 is denoted by T32 and T33, T33 is not a reference index, the reference index of T32 is denoted by T41 and T42, and neither T41 nor T42 is a reference index. Therefore, according to the reference relationship between the indexes, the corresponding dependency relationship data object can be obtained.
It is noted that a root indicator is determined in the dependency data object, wherein the target indicator, which is not empty and which itself is not the reference indicator, is determined as the root indicator. For example, as shown in fig. 5, T11 is determined as the root index of the dependency data object, only the reference index of T11 is not empty and is not the reference index itself.
Step S25: and drilling an analysis data object based on the dependency relationship data object and the current index value acquisition index.
Step S26: and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
For the specific contents of the above steps S21, S25, and S26, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
Therefore, the target index corresponding to the target power plant is obtained, and the target index is calculated by using a preset index calculation formula, so that the current index value is obtained; analyzing the target index through an expression analyzer or regular analysis to obtain a reference index corresponding to the target index, and judging whether the reference index is empty; if the index is not empty, determining the index as the target index, and re-entering the step of analyzing the target index through an expression analyzer or regular analysis to obtain the index corresponding to the target index; if the reference index is empty, finishing constructing a dependency relationship data object corresponding to the target index based on the reference index, and determining a root index in the dependency relationship data object; acquiring an index drilling analysis data object based on the dependency relationship data object and the current index value; and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode, clearly and intuitively embody the incidence relation between indexes and corresponding data information, and improve the speed and accuracy of assistant decision making.
Referring to fig. 6, the embodiment of the present invention discloses a data display method, and the present embodiment further describes and optimizes the technical solution with respect to the previous embodiment.
Step S31: and acquiring a target index corresponding to the target power plant, and calculating the target index by using a preset index calculation formula to obtain the current index value.
Step S32: and executing a preset analysis method on the target index to construct a dependency relationship data object of the target index.
Step S33: and acquiring the current index value of each target index in the dependency relationship data object from the database.
In this embodiment, after the dependency data object of the target index is constructed, the target data corresponding to each index in the dependency data object is determined. Firstly, an index data analysis module obtains the current index value (value) of each target index in the dependency data object from the database.
Step S34: and determining a weight value corresponding to each target index in the dependency relationship data object based on the current index value.
In this embodiment, after the current index value of each target index in the dependency data object is obtained from the database, a weight value (weight) corresponding to each target index in the dependency data object is determined based on the current index value. Specifically, all target indexes which are not the root indexes are obtained from the dependency relationship data object to obtain an index set to be analyzed; determining a parent index corresponding to each index to be analyzed in the index set to be analyzed; determining a weight value of the index to be analyzed based on the current index value of the index to be analyzed, the current index value of the parent index corresponding to the index to be analyzed, and a preset weight value calculation formula. It is understood that the formula for calculating the weight value (also called sensitivity coefficient) is as follows:
E=(ΔA/A)/(ΔF/F);
wherein, E is a weight value, Δ F is a difference between a current index value of an index (i.e. a root index to be analyzed) to be subjected to weight value calculation and a modified index value, i.e. an index value variation, F is a current index value of an index to be subjected to weight value calculation, Δ a is a difference between a current index value of a parent index of an index to be subjected to weight value calculation and a modified index value, and a is a current index value of a parent index of an index to be subjected to weight value calculation, and a weight value of the root index to be analyzed is calculated. It can be understood that, taking T11= Fx (T21, T22, T23) as an example, if T21 is determined as the root indicator to be analyzed, then its corresponding parent indicator is T11, and then the weight value calculation formula of T21 can be obtained through the above weight value calculation formula:
E(T21)=((V2(T11)-V1(T11))/V1(T11))/((V2(T21)-V1(T21))/V1(T21));
wherein V1 (T21) is the current index value of the index T21, V2 (T21) is the post-modification index value of the index T21, V1 (T11) and V2 (T11) are two values before and after calculation according to the index value calculation formula Fx (T21, T22, T23) of T11 when the value of T21 is changed (T22, T23 are not changed), i.e., V1 (T11) is the current index value calculated from the current index values of T21, T22, T23, and V2 (T11) is the post-modification index value calculated from the post-modification index value of T21 and the current index values of T22, T23.
Similarly, the weight value calculation formulas of T22 and T23 are as follows:
E(T22)=((V2(T11)-V1(T11))/V1(T11))/((V2(T22)-V1(T22))/V1(T22));
E(T23)=((V2(T11)-V1(T11))/V1(T11))/((V2(T23)-V1(T23))/V1(T23))。
it should be noted that the root indicator in the dependency data object does not need to calculate a weight value, and the weight value of the root indicator may be customized, for example, T11 is used as the root indicator, the customized weight value is 1, and the weight value of the indicator to be analyzed may be a positive number or a negative number.
Step S35: and acquiring data information corresponding to each target index in the dependency relationship data object.
In this embodiment, after determining the weight value corresponding to each target index in the dependency relationship data object based on the current index value, data information corresponding to each target index in the dependency relationship data object is obtained. Wherein the data information includes a period value (spvalue), a last period value (ppvalue), a ring ratio growth rate (qoq), and a period growth rate (yoy) corresponding to the target index. Specifically, the current value and the last value corresponding to the target index are directly obtained from the database; determining a same-ratio growth rate based on the current index value corresponding to the target index, the same-period value and a preset same-ratio growth rate calculation formula; and determining the ring ratio growth rate based on the current index value corresponding to the target index, the last period value and a preset ring ratio growth rate calculation formula.
It can be understood that the index data analysis module directly queries the current value and the last value of the index to be analyzed from the database and directly assigns a value, and the increase rate of the ring-to-ring ratio is calculated from the current value, the current value and the last value, and the specific calculation formula is as follows:
yoy=(value-spvalue)/spvalue*100%;
qoq=(value-ppvalue)/ppvalue*100%。
step S36: and integrating the current index value, the weight value and the data information to obtain target data corresponding to each target index in the dependency relationship data object.
In this embodiment, after the data information corresponding to each target index in the dependency data object is obtained, the current index value, the weight value, and the data information are integrated to obtain the target data corresponding to each target index in the dependency data object. That is, the target data of each target index includes a corresponding current index value, a current period value, a previous period value, a ring ratio increase rate, a current ratio increase rate, and a weight value.
Step S37: and drilling an analysis data object based on the dependency relationship data object and the target data acquisition index.
In this embodiment, after target data corresponding to each target index in the dependency relationship data object is obtained, an index drill analysis data object is obtained based on the dependency relationship data object and the target data. It is understood that index value setting is completed, that is, the target data of each target index is set to a corresponding region in the dependency data object, so that a complete index drill analysis data object is constructed.
Specifically, the json pseudo-code that constructs a complete index drill-in analysis data object is as follows (values are example random numbers, not all data shown):
Figure BDA0003936476420000151
Figure BDA0003936476420000161
step S38: and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
In this embodiment, after the index drill analysis data object is obtained based on the dependency relationship data object and the target data, the index drill analysis data object is sent to a web page, so that the index drill analysis data object is displayed on the web page in a preset display manner. It can be understood that, in the index data visualization module, the index drill-out analysis data object is displayed through a web page, for example, as shown in fig. 7, drill-out analysis data of T11 index is displayed, key index data is displayed through a visualization tree-shaped hierarchical structure, and a calculation association relationship between indexes and target data of each index are displayed. The data relation of the T11 index and the dependency index can be rapidly and visually analyzed through the previous value and the same-period value, and the problem index can be rapidly positioned by combining the increase rate and the weighted value of the same-cycle ratio.
The scheme is based on a power plant index system and a calculation formula, and the data of the production and operation indexes of the power plant are recursively analyzed, so that a comprehensive decision analysis method comprising mechanism analysis, hierarchical recursive analysis and statistical analysis is formed; the index sensitivity coefficient is used as a weight in the hierarchical recursive analysis, and the problem index can be quickly and accurately positioned; displaying decision analysis data in a visual tree-like hierarchical structure through a web page; the comprehensive decision analysis method is applied to a power plant production and operation index decision analysis business scene, namely, the most direct decision information is obtained from index data by recursively analyzing the data calculation relation of the power plant production and operation indexes.
For the specific content of the above steps S31 and S32, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, the target index corresponding to the target power plant is obtained, and the target index is calculated by using a preset index calculation formula, so that the current index value is obtained; executing a preset analysis method on the target index to construct a dependency relationship data object of the target index; acquiring the current index value of each target index in the dependency relationship data object from the database; determining a weight value corresponding to each target index in the dependency relationship data object based on the current index value; acquiring data information corresponding to each target index in the dependency relationship data object; integrating the current index value, the weight value and the data information to obtain target data corresponding to each target index in the dependency relationship data object; drilling an analysis data object based on the dependency relationship data object and the target data acquisition index; and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode, clearly and visually representing the incidence relation among the indexes and the corresponding data information, and improving the speed and the accuracy of assistant decision.
Referring to fig. 8, an embodiment of the present application further discloses a data display apparatus, which includes:
the index value calculation module 11 is configured to obtain a target index corresponding to a target power plant, and calculate the target index by using a preset index calculation formula to obtain a current index value;
a first data object determining module 12, configured to execute a preset parsing method on the target index to construct a dependency data object of the target index;
a second data object determination module 13, configured to drill an analysis data object based on the dependency data object and the current index value acquisition index;
and the display module 14 is configured to send the index drilling analysis data object to a web page, so that the index drilling analysis data object is displayed on the web page in a preset display manner.
As can be seen, the present application includes: acquiring a target index corresponding to a target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value; executing a preset analysis method on the target index to construct a dependency relationship data object of the target index; acquiring an index drilling analysis data object based on the dependency relationship data object and the current index value; and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode. Therefore, the reference incidence relation between the indexes is obtained by executing the preset analysis method on the target indexes, the dependency relation data object of the target indexes is constructed according to the reference incidence relation, the analysis data object is drilled and displayed on the page through the dependency relation data object and the current index value obtained through calculation, so that the incidence relation between the indexes and the corresponding data information are clearly and visually embodied, and the speed and the accuracy of auxiliary decision making are improved.
In some specific embodiments, the index value calculation module 11 specifically includes:
the metadata information maintenance unit is used for maintaining metadata information of a target index corresponding to the target power plant in the index management module; the metadata information comprises all index attributes corresponding to the target index, and the index attributes comprise binding measuring points, a calculation formula and an index type;
an index type judgment unit configured to judge the target index as an original index or a calculated index based on the index type;
an original index value obtaining unit, configured to obtain a corresponding original index value based on the bound measurement point of the original index if the target index is the original index;
a calculation index value acquisition unit, configured to, if the target index is the calculation index, acquire a corresponding calculation index value based on the calculation formula of the calculation index;
a current index value determining unit, configured to determine the original index value and the calculation index value as the current index value;
and the current index value storage unit is used for storing all the current index values to a database.
In some specific embodiments, the first data object determining module 12 specifically includes:
the first index analysis unit is used for analyzing the target index through an expression analyzer or regular analysis to obtain a reference index corresponding to the target index;
a reference index judging unit for judging whether the reference index is empty;
a second index analyzing unit, configured to determine the reference index as the target index if the reference index is not empty, and reenter the step of analyzing the target index through an expression analyzer or regular analysis to obtain the reference index corresponding to the target index;
the dependency relationship data object construction unit is used for finishing and constructing a dependency relationship data object corresponding to the target index based on the reference index if the reference index is empty;
a root index determination unit for determining a root index in the dependency data object; wherein the target index which is not empty and which is not the reference index itself is determined as the root index.
In some specific embodiments, the second data object determining module 13 specifically includes:
a current index value obtaining unit, configured to obtain the current index value of each target index in the dependency relationship data object from the database;
the to-be-analyzed index set determining unit is used for acquiring all target indexes which are not the root indexes from the dependency relationship data object so as to obtain an to-be-analyzed index set;
a parent index determining unit, configured to determine a parent index corresponding to each index to be analyzed in the index set to be analyzed;
a weight value calculation unit, configured to determine a weight value of the to-be-analyzed indicator based on the current indicator value of the to-be-analyzed indicator, the current indicator value of the parent indicator corresponding to the to-be-analyzed indicator, and a preset weight value calculation formula;
an expected value and previous value acquiring unit, configured to directly acquire the expected value and the previous value corresponding to the target index from the database;
the same-ratio growth rate calculation unit is used for determining the same-ratio growth rate based on the current index value corresponding to the target index, the same-period value and a preset same-ratio growth rate calculation formula;
the loop ratio growth rate calculation unit is used for determining a loop ratio growth rate based on the current index value corresponding to the target index, the last period value and a preset loop ratio growth rate calculation formula;
a target data determining unit, configured to integrate the current index value, the weight value, and the data information to obtain target data corresponding to each target index in the dependency data object;
and the index drilling analysis data object acquisition unit is used for acquiring an index drilling analysis data object based on the dependency relationship data object and the target data.
In some embodiments, the display module 14 specifically includes:
and the display unit is used for sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page through a visual tree-shaped hierarchical structure.
Further, the embodiment of the application also provides electronic equipment. FIG. 9 is a block diagram illustrating an electronic device 20 according to an exemplary embodiment, and nothing in the figure should be taken as a limitation on the scope of use of the present application.
Fig. 9 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the data presentation method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be specifically an electronic computer.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage manner may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, netware, unix, linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the data presentation method disclosed in any of the foregoing embodiments and executed by the electronic device 20.
Further, an embodiment of the present application further discloses a storage medium, where a computer program is stored in the storage medium, and when the computer program is loaded and executed by a processor, the steps of the data display method disclosed in any of the foregoing embodiments are implemented.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The data display method, apparatus, device and storage medium provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for displaying data, comprising:
acquiring a target index corresponding to a target power plant, and calculating the target index by using a preset index calculation formula to obtain a current index value;
executing a preset analysis method on the target index to construct a dependency relationship data object of the target index;
acquiring an index drilling analysis data object based on the dependency relationship data object and the current index value;
and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
2. The data display method of claim 1, wherein the obtaining of the target index corresponding to the target power plant and the calculating of the target index by using a preset index calculation formula to obtain the current index value comprises:
maintaining metadata information of a target index corresponding to a target power plant in an index management module; the metadata information comprises all index attributes corresponding to the target index, and the index attributes comprise binding measuring points, a calculation formula and an index type;
judging the target index to be an original index or a calculated index based on the index type;
if the target index is the original index, acquiring a corresponding original index value based on the bound measuring point of the original index;
if the target index is the calculation index, acquiring a corresponding calculation index value based on the calculation formula of the calculation index;
and determining the original index value and the calculated index value as the current index value, and storing all the current index values into a database.
3. The data presentation method according to claim 2, wherein the performing a preset parsing method on the target index to construct a dependency data object of the target index comprises:
analyzing the target index through an expression analyzer or regular analysis to obtain a reference index corresponding to the target index;
judging whether the index is empty;
if the index is not empty, determining the index as the target index, and re-entering the step of analyzing the target index through an expression analyzer or regular analysis to obtain the index corresponding to the target index;
if the reference index is empty, finishing constructing a dependency relationship data object corresponding to the target index based on the reference index, and determining a root index in the dependency relationship data object; wherein the target index which is not empty and is not the reference index itself is determined as the root index.
4. The method of claim 3, wherein the drilling an analysis data object based on the dependency data object and the current merit value acquisition metric comprises:
acquiring the current index value of each target index in the dependency relationship data object from the database;
determining a weight value corresponding to each target index in the dependency relationship data object based on the current index value;
acquiring data information corresponding to each target index in the dependency relationship data object; wherein the data information comprises a synchronization value, an earlier value, a ring ratio growth rate and a synchronization growth rate corresponding to the target index;
integrating the current index value, the weight value and the data information to obtain target data corresponding to each target index in the dependency relationship data object;
and drilling an analysis data object based on the dependency relationship data object and the target data acquisition index.
5. The method as claimed in claim 4, wherein the determining the weight value corresponding to each target metric in the dependency data object based on the current metric value comprises:
all target indexes which are not the root indexes are obtained from the dependency relationship data object so as to obtain an index set to be analyzed;
determining a parent index corresponding to each index to be analyzed in the index set to be analyzed;
determining a weight value of the to-be-analyzed index based on the current index value of the to-be-analyzed index, the current index value of the parent index corresponding to the to-be-analyzed index, and a preset weight value calculation formula.
6. The data presentation method of claim 5, wherein the obtaining of the data information corresponding to each target index in the dependency data object comprises:
directly acquiring the same-period value and the previous-period value corresponding to the target index from the database;
determining a same-ratio growth rate based on the current index value corresponding to the target index, the same-period value and a preset same-ratio growth rate calculation formula;
and determining the ring ratio growth rate based on the current index value corresponding to the target index, the last period value and a preset ring ratio growth rate calculation formula.
7. The data presentation method according to any one of claims 1 to 6, wherein the sending the index drill analysis data object to a web page so as to present the index drill analysis data object on the web page in a preset presentation manner comprises:
and sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page through a visual tree-shaped hierarchical structure.
8. A data presentation device, comprising:
the index value calculation module is used for acquiring a target index corresponding to a target power plant and calculating the target index by using a preset index calculation formula to obtain a current index value;
the first data object determining module is used for executing a preset analysis method on the target index so as to construct a dependency relationship data object of the target index;
the second data object determination module is used for drilling an analysis data object based on the dependency relationship data object and the current index value acquisition index;
and the display module is used for sending the index drilling analysis data object to a web page so as to display the index drilling analysis data object on the web page in a preset display mode.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to carry out the steps of the data presentation method of any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the data presentation method of any one of claims 1 to 7.
CN202211404693.1A 2022-11-10 2022-11-10 Data display method, device, equipment and storage medium Pending CN115587273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211404693.1A CN115587273A (en) 2022-11-10 2022-11-10 Data display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211404693.1A CN115587273A (en) 2022-11-10 2022-11-10 Data display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115587273A true CN115587273A (en) 2023-01-10

Family

ID=84782154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211404693.1A Pending CN115587273A (en) 2022-11-10 2022-11-10 Data display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115587273A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116130096A (en) * 2023-04-04 2023-05-16 安徽省立医院(中国科学技术大学附属第一医院) System, method and electronic equipment for making auxiliary decision through core index

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116130096A (en) * 2023-04-04 2023-05-16 安徽省立医院(中国科学技术大学附属第一医院) System, method and electronic equipment for making auxiliary decision through core index
CN116130096B (en) * 2023-04-04 2023-11-21 安徽省立医院(中国科学技术大学附属第一医院) System, method and electronic equipment for making auxiliary decision through core index

Similar Documents

Publication Publication Date Title
US10346184B2 (en) Open data protocol services in applications and interfaces across multiple platforms
EP3451154B1 (en) Embedded analytics for applications and interfaces across multiple platforms
US11023500B2 (en) Systems and methods for code parsing and lineage detection
US10970095B2 (en) Obtaining insights from a distributed system for a dynamic, customized, context-sensitive help system
US9064224B2 (en) Process driven business intelligence
KR101665152B1 (en) Extending collaboration capabilities to external data
US10289286B2 (en) Thing modeler for internet of things
US20040221258A1 (en) Method and apparatus for generating custom status display
CN109829144B (en) Method and device for cross-table referencing of online table
US20140082013A1 (en) Query templates for queries in data stream management systems
CN108733532B (en) Health degree control method and device for big data platform, medium and electronic equipment
US20150127688A1 (en) Facilitating discovery and re-use of information constructs
US20140157154A1 (en) Managing business objects
CN113297279A (en) Data analysis and display method, system, equipment and storage medium
CN110674117A (en) Data modeling method and device, computer readable medium and electronic equipment
CN115335821B (en) Offloading statistics collection
CN115587273A (en) Data display method, device, equipment and storage medium
CN112015468A (en) Interface document processing method and device, electronic equipment and storage medium
KR20070090045A (en) Method and system for query generation in a task based dialog system
US8707262B2 (en) Code scoring
US8479111B2 (en) Simplified views of meta model entities of data objects
CN109829141B (en) Project table generation method and device
CN114528270A (en) System and method for automatically associating real-time stream data with service dimension information in cloud environment
US9170998B2 (en) Generating simulated containment reports of dynamically assembled components in a content management system
CN118394835B (en) Analysis method, device, equipment and storage medium for power grid data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination