Search

CN-119621807-B - Data display method, device, electronic equipment, medium and product

CN119621807BCN 119621807 BCN119621807 BCN 119621807BCN-119621807-B

Abstract

The disclosure provides a data display method, a data display device, electronic equipment and a storage medium, and relates to the field of data processing. The data display method comprises the steps of obtaining configuration information input for a detection request, wherein the configuration information comprises first information and second information, the first information represents target categories of data items corresponding to the detection request, the second information represents detection logic of the data items corresponding to the detection request, the first information has a target query statement format, determining target data items with target categories from a preset data item storage table by analyzing the target query statement format of the first information, the preset data item storage table is used for storing the data items in the target query statement format, analyzing the target data items according to detection logic to obtain analysis results, and displaying the analysis results.

Inventors

  • LIU JINYAN
  • WANG ANYI
  • LI LIRAN

Assignees

  • 北京百度网讯科技有限公司

Dates

Publication Date
20260512
Application Date
20241219

Claims (17)

  1. 1. A data presentation method comprising: Acquiring configuration information input for a detection request, wherein the configuration information comprises first information and second information, the first information represents a target category of a data item corresponding to the detection request, the second information represents detection logic of the data item corresponding to the detection request, and the first information has a target query statement format; determining target data items with the target category from a preset data item storage table by analyzing a target query statement format of the first information, wherein the preset data item storage table is used for storing the data items in the target query statement format; Analyzing the target data item according to the detection logic to obtain an analysis result, and Displaying the analysis result; responding to a detection request received through the visual interface, and executing the operation of acquiring the configuration information input for the detection request; the second information is input or edited by a user through the visual interface; The analysis is carried out on the target data item according to the detection logic to obtain an analysis result, wherein the analysis result comprises the steps of determining the detection logic of the target data item represented by the second information from a preset data item information table, storing data related to the detection logic of the data item, and analyzing the target data item according to the detection logic represented by the second information and based on the data related to the detection logic of the target data item to obtain the analysis result.
  2. 2. The method of claim 1, wherein the obtaining the first information input for the detection request comprises: And acquiring first information input by the custom written target query statement.
  3. 3. The method of claim 1, wherein the obtaining the first information input for the detection request comprises: Acquiring a data item table name input for a detection request; And searching the data item table indicated by the data item table name from the data item storage table to acquire the first information.
  4. 4. The method of claim 1, wherein the analyzing the target data item according to the detection logic comprises performing at least one of: determining whether a fluctuation value of a data value of the target data item is larger than a preset fluctuation threshold value; and determining whether the current time exceeds the delay alarm time of the target data item under the condition that the target data item needs delay alarm.
  5. 5. The method of claim 1, the visualization interface comprising at least one of a management interface, a add-on interface, an edit interface, and a database configuration interface; The management interface is used for displaying the configuration information, the new interface is used for receiving the configuration information, the editing interface is used for editing the configuration information, and the database configuration interface is used for receiving address information of a database where the preset data item storage table is located.
  6. 6. The method of claim 1, wherein the second information comprises at least one of: a dimension field of the data item; a data item field of the data item; the time of the output of the data item; A detection level of the data item; whether the data item is in a detected state; A fluctuation threshold of the data item; Whether to delay alarm the data item exceeding the fluctuation threshold; And carrying out delay time of delay alarm on the data item exceeding the fluctuation threshold.
  7. 7. The method of claim 1, wherein the analysis results comprise at least one of: A data value of the target data item; a fluctuation value of a data value of the target data item; whether the data value of the target data item is abnormal.
  8. 8. A data presentation device, comprising: The system comprises an acquisition module, a detection module and a query module, wherein the acquisition module is used for acquiring configuration information input for a detection request, the configuration information comprises first information and second information, the first information represents a target category of a data item corresponding to the detection request, the second information represents detection logic of the data item corresponding to the detection request, and the first information has a target query statement format; The determining module is used for determining target data items with the target category from a preset data item storage table by analyzing a target query statement format of the first information, and the preset data item storage table is used for storing the data items in the target query statement format; An analysis module for analyzing the target data item according to the detection logic to obtain an analysis result, and The display module is used for displaying the analysis result; The device also comprises an interface display module, a display module and a display module, wherein the interface display module is used for displaying a visual interface; The acquisition module is also used for responding to the detection request received through the visual interface and executing the operation of acquiring the configuration information input for the detection request; the second information is input or edited by a user through the visual interface; The analysis module comprises: the detection logic determining submodule is used for determining detection logic of the target data item represented by the second information from a preset data item information table, and the preset data item information table stores data related to the detection logic of the data item; And the analysis sub-module is used for analyzing the target data item based on the data related to the detection logic of the target data item according to the detection logic of the second information representation to obtain an analysis result.
  9. 9. The apparatus of claim 8, wherein the acquisition module comprises: the sentence acquisition sub-module is used for acquiring first information input by the custom writing target query sentence.
  10. 10. The apparatus of claim 8, wherein the acquisition module comprises: the table name acquisition sub-module is used for acquiring the table name of the data item input for the detection request; and the searching sub-module is used for searching the data item table indicated by the data item table name from the data item storage table to acquire the first information.
  11. 11. The apparatus of claim 8, wherein the analyzing the target data item according to the detection logic comprises performing at least one of: determining whether a fluctuation value of a data value of the target data item is larger than a preset fluctuation threshold value; And determining whether the current time exceeds the delay alarm time of the target data item under the condition that the target data item needs delay alarm.
  12. 12. The apparatus of claim 8, wherein the visualization interface comprises at least one of a management interface, a add-on interface, an edit interface, and a database configuration interface; The management interface is used for displaying the configuration information, the new interface is used for receiving the configuration information, the editing interface is used for editing the configuration information, and the database configuration interface is used for receiving address information of a database where the preset data item storage table is located.
  13. 13. The apparatus of claim 8, wherein the second information comprises at least one of: Storing a database name of the data item; a dimension field of the data item; a data item field of the data item; the time of the output of the data item; A detection level of the data item; whether the data item is in a detected state; A fluctuation threshold of the data item; Whether to delay alarm the data item exceeding the fluctuation threshold; And carrying out delay time of delay alarm on the data item exceeding the fluctuation threshold.
  14. 14. The apparatus of claim 8, wherein the analysis result comprises at least one of: A data value of the target data item; a fluctuation value of a data value of the target data item; whether the data value of the target data item is abnormal.
  15. 15. An electronic device, comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
  16. 16. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-7.
  17. 17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-7.

Description

Data display method, device, electronic equipment, medium and product Technical Field The disclosure relates to the technical field of data processing, and in particular relates to a data display method, a system, electronic equipment, a medium and a product. Background With the continuous development of business, the number of data reports to be processed is rapidly increased, and the corresponding data items to be detected are increased. The operation condition of the service can be known by detecting and displaying the data items, and important basis is provided for decision making. Disclosure of Invention The disclosure provides a method, a device, electronic equipment and a storage medium for data presentation. According to one aspect of the disclosure, a data display method is provided, which includes obtaining configuration information input for a detection request, the configuration information including first information and second information, the first information representing a target category of a data item corresponding to the detection request, the second information representing detection logic of the data item corresponding to the detection request, the first information having a target query statement format, determining a target data item having the target category from a preset data item storage table by analyzing the target query statement format of the first information, the preset data item storage table being used for storing the data item in the target query statement format, analyzing the target data item according to detection logic to obtain an analysis result, and displaying the analysis result. According to another aspect of the disclosure, a data display device is provided, which comprises an acquisition module, a determination module, an analysis module and a display module, wherein the acquisition module is used for acquiring configuration information input for a detection request, the configuration information comprises first information and second information, the first information represents a target category of a data item corresponding to the detection request, the second information represents detection logic of the data item corresponding to the detection request, the first information has a target query statement format, the determination module is used for determining a target data item with the target category from a preset data item storage table through analyzing the target query statement format of the first information, the preset data item storage table is used for storing the data item in the target query statement format, the analysis module is used for analyzing the target data item according to the detection logic to obtain an analysis result, and the display module is used for displaying the analysis result. According to another aspect of the present disclosure, there is provided an electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to an embodiment of the present disclosure. According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform a method according to an embodiment of the present disclosure. According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method according to embodiments of the present disclosure. It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification. Drawings The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein: FIG. 1 is a schematic diagram of an exemplary system architecture to which data presentation methods and apparatus may be applied, according to one embodiment of the present disclosure; FIG. 2 is a flow chart of a data presentation method according to one embodiment of the present disclosure; FIG. 3 is a schematic diagram of an add-on interface according to one embodiment of the present disclosure; FIG. 4 is a schematic diagram of an editing interface according to one embodiment of the present disclosure; FIG. 5 is a schematic diagram of a management interface according to one embodiment of the present disclosure; FIG. 6 is a schematic diagram of a database configuration interface according to one embodiment of the present disclosure; FIG. 7 is a schematic diagram of an analysis results presentation page according to one embodiment