Data instrument panel generation method and device, equipment, storage medium and program product
By introducing language models and generation controls into the data dashboard generation method, the dashboard sketches are automatically identified and generated, and the problem of long-term data dashboard generation in the existing technology is solved, achieving the effect of rapid construction and efficient generation.
Patent Information
- Application Number
- CN202510097027.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-04-25
AI Technical Summary
The existing technology takes a long time to build a data dashboard, and requires manual selection of charts, sketch drawings, dragging components and other tedious steps.
By displaying the dashboard creation page, using the configuration area corresponding to the language model and the generation control, automatically identify and generate sketches of the dashboard to realize natural language-based dashboard construction.
It greatly reduces the time-consuming generation of data dashboards, improves the ability to quickly build data dashboards, and avoids blank artboards on the dashboard display page.
Smart Images

Figure CN119883263A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data dashboard generation method, device, equipment, storage medium and program product. Background Art
[0002] When building a data dashboard, the user usually selects a chart first, and then draws a sketch or document manually to conceive the idea, so as to build the data dashboard. The data dashboard is then adjusted by dragging components, aligning pixels, and repeatedly modifying styles, so as to obtain the final data dashboard. The generation of the data dashboard takes a long time. Summary of the invention
[0003] In view of this, the present disclosure provides a data dashboard generation method, apparatus, device, storage medium and program product to solve the problem that data dashboard generation takes a long time.
[0004] In a first aspect, the present disclosure provides a method for generating a data dashboard, the method comprising:
[0005] Displaying a dashboard creation page, wherein the dashboard creation page displays a first generation control and a corresponding first configuration area, wherein the first generation control corresponds to a language model, and the first configuration area is provided with a first configuration item of at least one first building parameter of the dashboard;
[0006] In response to the configuration operation on the first configuration item, obtaining first setup information;
[0007] In response to an interactive operation on the first generation control, a first dashboard is displayed on the dashboard display page, wherein the first dashboard includes at least one first chart, and the first chart is generated by the language model based on the first building information.
[0008] In a second aspect, the present disclosure provides a data dashboard generation device, the device comprising:
[0009] A page display module, used to display a dashboard creation page, wherein the dashboard creation page displays a first generation control and a corresponding first configuration area, wherein the first generation control corresponds to a language model, and the first configuration area is provided with a first configuration item of at least one first building parameter of the dashboard;
[0010] A parameter configuration module, configured to obtain first setup information in response to a configuration operation on the first configuration item;
[0011] A dashboard generation module is used to display a first dashboard on a dashboard display page in response to an interactive operation on the first generation control, wherein the first dashboard includes at least one first chart, and the first chart is generated by the language model based on the first building information.
[0012] In a third aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the above-mentioned data dashboard generation method by executing the computer instructions.
[0013] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the above-mentioned data dashboard generation method.
[0014] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, which are used to enable a computer to execute the above-mentioned data dashboard generation method.
[0015] The data dashboard generation method provided by the embodiment of the present disclosure displays a first generation control corresponding to the language model and a corresponding first configuration area on the dashboard creation page. Therefore, it is possible to provide a dashboard building capability based on a language model. Then, through the configuration operation of the first configuration item in the first configuration area, the first building information is configured. The language model automatically identifies the key metadata in the first building information and constructs a sketch of the dashboard. Therefore, the construction idea of the dashboard can be described by natural language, so that the data dashboard can be quickly built and the time-consuming generation of the data dashboard can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 is a flow chart of a method for generating a data dashboard according to an embodiment of the present disclosure;
[0018] Figure 2 is a schematic diagram of a dashboard creation page according to an embodiment of the present disclosure;
[0019] Figure 3 is a schematic diagram of an analysis panel according to an embodiment of the present disclosure;
[0020] Figure 4is a display schematic diagram of a function control according to an embodiment of the present disclosure;
[0021] Figure 5 is a schematic diagram of operations of different functional controls according to an embodiment of the present disclosure;
[0022] Figure 6 is an operation diagram of a beautification function according to an embodiment of the present disclosure;
[0023] Figure 7 is a schematic diagram of a chart container according to an embodiment of the present disclosure;
[0024] Figure 8 is a display schematic diagram of a building function according to an embodiment of the present disclosure;
[0025] Fig. 9 is a display schematic diagram of another building function according to an embodiment of the present disclosure;
[0026] Fig.10 is a display schematic diagram of a layout function according to an embodiment of the present disclosure;
[0027] Fig.11 is a structural block diagram of a data dashboard generating device according to an embodiment of the present disclosure;
[0028] Fig.12 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0030] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0032] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0033] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0034] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0035] When building a data dashboard, the user usually selects a chart first, and then draws a sketch or document manually to conceive the idea, so as to build the data dashboard. The data dashboard is then adjusted by dragging components, aligning pixels, and repeatedly modifying styles, so as to obtain the final data dashboard. The generation of the data dashboard takes a long time.
[0036] In view of this, according to an embodiment of the present disclosure, a data dashboard generation method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] In this embodiment, a data dashboard generation method is provided, which can be used in mobile terminals, such as mobile phones, tablet computers, etc. Figure 1 is a flow chart of a method for generating a data dashboard according to an embodiment of the present disclosure, such as Figure 1 As shown, the process includes the following steps:
[0038] Step S101, displaying a dashboard creation page, wherein the dashboard creation page displays a first generation control and a corresponding first configuration area, wherein the first generation control corresponds to a language model, and the first configuration area is provided with a first configuration item of at least one first construction parameter of the dashboard.
[0039] Specifically, in response to the dashboard creation instruction, a dashboard creation page is displayed, wherein the dashboard creation page displays a build control corresponding to the language model, and in response to an interactive operation with the build control, a first configuration area is displayed.
[0040] Specifically, the dashboard creation page also displays configuration items with descriptive parameters, such as the dashboard name, path, risk level, and whether to include user information.
[0041] Specifically, the first construction parameter includes at least one of a data set, a related field, an analysis idea, and a layout requirement. In addition, the first construction parameter also includes whether to give priority to matching existing charts. If the existing charts are given priority, the existing charts are displayed first in the first dashboard to be built, and then the charts generated this time are displayed. Thus, by specifying data sets, specifying charts, specifying analysis ideas and layout requirements, etc., the dashboard can be built from scratch.
[0042] It should be noted that the above-mentioned first construction parameter is only an example, and the first construction parameter can be adjusted according to actual needs and is not limited here.
[0043] Step S102: In response to a configuration operation on a first configuration item, first setup information is obtained.
[0044] It should be noted that, considering that a data source is required when creating a dashboard, the dataset is a required option, and the first construction parameter other than the dataset is an optional option.
[0045] Step S103, in response to the interactive operation on the first generated control, displaying a first dashboard on the dashboard display page, the first dashboard including at least one first chart, the first chart being generated by the language model based on the first building information.
[0046] It should be noted that the first building information obtained by configuring the first configuration area is used to build a dashboard using a language model. Figure 2 As shown, the dashboard creation page also displays a conventional build control. If the conventional build control is interacted with, the first build information is invalid, and the normal creation process of the dashboard is entered.
[0047] The data dashboard generation method provided in this embodiment displays a first generation control corresponding to a language model and a corresponding first configuration area on the dashboard creation page. Therefore, it is possible to provide a dashboard building capability based on a language model. Then, the first building information is configured through the configuration operation of the first configuration item in the first configuration area. The language model automatically identifies key metadata in the first building information and constructs a sketch of the dashboard. Therefore, the dashboard building idea can be described by natural language, so that the data dashboard can be quickly built and the time-consuming generation of the data dashboard can be reduced. It can also avoid the appearance of a blank canvas on the dashboard display page.
[0048] In some optional embodiments, the dashboard display page is also used to display an analysis panel, which displays the analysis content of the language model for the first dashboard, and the analysis content includes at least one of the generation progress of the first dashboard, the analysis target of the first dashboard, the analysis process of the first dashboard, the layout of the first dashboard, and the generation status of the first chart.
[0049] Specifically, the generation status of the first chart includes a detailed list of the generated first chart and the generation completion status of the entire first chart.
[0050] For example, Figure 3 As shown, in the process of the language model generating the first dashboard, an analysis panel can also be displayed on the dashboard display page. The analysis panel can display the analysis content of the language model for the first dashboard, for example, the generation progress of the first dashboard, the analysis target of the first dashboard, the analysis process of the first dashboard, the layout of the first dashboard, the generation status of the first chart, etc. Figure 3 In the analysis panel shown, the analysis process of the first dashboard is "sort the data in monthly order first, and then move the monthly sales column down one row", the layout of the first dashboard has been generated, the first chart 1, the first chart 2 and all charts have been generated.
[0051] In addition, during the process of the language model generating the first dashboard, the analysis panel also displays a stop control, and the generation of the first dashboard can be stopped in response to the interaction with the stop control. And, after the generation of the first dashboard is completed or stopped, the analysis panel also displays a regeneration control. The first dashboard can be regenerated in response to the interaction with the regeneration control. Therefore, the user can terminate the generation process of the first dashboard and re-initiate a new dashboard building process.
[0052] It should be noted that, in the process of generating the first dashboard, the skeleton screen being loaded (such as Figure 3 frame shown in the middle) to improve the user experience.
[0053] The data dashboard generation method provided in this embodiment displays the analysis content of the first dashboard by the language model in the analysis panel. Therefore, the transparency of the first dashboard can be improved, and it is convenient to better understand the source, processing method and analysis logic of the first dashboard, and to deeply understand the information conveyed by the first dashboard.
[0054] In some optional embodiments, the data dashboard generation method of the present disclosure further includes: in response to an interactive operation on the first chart, displaying at least one function control corresponding to the first chart, the function control being used to trigger processing of a corresponding function on the first chart.
[0055] Optionally, the function control includes at least one of a configuration control, an analysis control, a search control, and a beautification control. It should be noted that the above function control is only an example and can be adjusted according to actual conditions.
[0056] Specifically, in response to the interactive operation on the first chart, a first toolbar is displayed, and at least one functional control is displayed on the first toolbar. Therefore, the global functions provided by the language model to the first chart can be integrated with the first toolbar to avoid frequent searches for functional controls of the language model.
[0057] For example, Figure 4 As shown, assuming that the first chart includes Chart 1 and Chart 2, if Chart 1 needs to be edited, Chart 1 can be clicked to display the function control for Chart 1, and Chart 1 can be processed using the function control.
[0058] The data dashboard generation method provided in this embodiment provides a first function control for triggering the processing of a corresponding function on the first chart when interacting with the first chart. Therefore, the capability provided by the first function control can be used to improve the efficiency of chart editing, thereby further improving the editing efficiency of the data dashboard.
[0059] In some optional implementations, the functional control includes a configuration control. The data dashboard generation method disclosed herein further includes: in response to an interactive operation on the configuration control, displaying a configuration page, the configuration page displaying at least one configuration field of the first chart; in response to an interactive operation on a field value of the configuration field, obtaining a target field value of the configuration field; and adjusting the first chart based on the target field value of the configuration field to obtain an updated first chart.
[0060] Optionally, the configuration field includes at least one of a dimension, an indicator, a chart type, and a filter condition.
[0061] For example, Figure 5 As shown in the figure, the configuration fields of dimensions include modifying date granularity, adding dimensions, replacing dimensions, etc. The configuration fields of indicators include adding indicators, replacing indicators, etc. The configuration fields of chart types include switching chart types, etc. The configuration fields of filter conditions include adding filter conditions, modifying filter conditions, etc. It should be noted that the above configuration fields are only examples and can be adjusted according to actual conditions.
[0062] The data dashboard generation method provided in this embodiment provides a configuration control for adjusting the configuration field. Therefore, the configuration control can be used to call out the configuration page without using the visualization query page, and the configuration field can be quickly adjusted to update the first chart, while reducing the jump of the visualization page.
[0063] In some optional implementations, the functional control includes an analysis control. The data dashboard generation method disclosed herein further includes: displaying an analysis page in response to an interactive operation on the analysis control; and analyzing a first chart in response to first content input in the analysis page to obtain an analysis result of the first chart.
[0064] Furthermore, the analysis page also displays at least one optional analysis statement, for example, optional analysis statement 1, optional analysis statement 2. In response to a selection operation on a target optional analysis statement in the at least one optional analysis statement, a first content input in the analysis page is determined. The first chart is analyzed according to the first content to obtain an analysis result of the first chart, for example Figure 5 The “Delay Trend Graph” shown.
[0065] Furthermore, the analysis page also displays an add control and a replace control. After obtaining the analysis result of the first chart, the analysis result of the first chart can be added to the first dashboard in response to the interaction with the add control. Alternatively, the corresponding first chart in the first dashboard is replaced in response to the interaction with the replace control.
[0066] The data dashboard generation method provided in this embodiment provides an analysis control, and uses the analysis control to trigger the analysis function of the first chart. Therefore, the first chart can be analyzed again through the analysis control to drill data on the first chart, thereby further exploring the data rules represented by the first chart.
[0067] In some optional implementations, the functional control includes a search control. The data dashboard generation method disclosed herein further includes: displaying a search page in response to an interactive operation on the search control; and searching for a second chart related to the first chart in response to second content input in the search page.
[0068] Specifically, the second chart related to the first chart can be searched through the second content inputted through the input control of the search page.
[0069] Specifically, in the charts generated based on the data set corresponding to the first chart, a second chart related to the first chart is searched. Figure 5 The “Minute Review Manpower Chart” and “Delay Trend Chart” shown.
[0070] Furthermore, the search page also displays an add control and a replace control. After searching for the second chart, the selected second chart can be determined in response to the selection operation with the second chart. And in response to the interaction operation with the add control, the selected second chart is added to the first dashboard. Or, in response to the interaction operation with the replace control, the corresponding first chart in the first dashboard is replaced with the selected second chart.
[0071] The data dashboard generation method provided in this embodiment provides a search control, and uses the search control to trigger a chart search function. Therefore, charts related to the first chart can be searched through the search control to further improve the efficiency of building the data dashboard.
[0072] In some optional implementations, the functional control includes a beautification control. The data dashboard generation method disclosed herein further includes: displaying an editing page in response to an interactive operation on the beautification control; and performing a beautification operation on the first chart in response to third content input in the editing page to obtain an updated first chart.
[0073] Specifically, Figure 5 As shown, at least one recommended beautification statement is displayed in the editing page, such as recommended beautification statement 1 and recommended beautification statement 2. The data dashboard generation method disclosed in the present invention also includes: in response to a selection operation on a target recommended beautification statement in the at least one recommended beautification statement, determining a third content. Performing a beautification operation on the first chart according to the third content, obtaining an updated first chart.
[0074] The data dashboard generation method provided in this embodiment provides a beautification control, and uses the beautification control to trigger the beautification function of the first chart. Therefore, the beautification operation of the first chart can be implemented through natural language input without adjusting the display parameters, thereby realizing rapid beautification of the first chart.
[0075] In other optional embodiments, such as Figure 6 As shown, the data dashboard generation method disclosed in the present invention also includes: in response to an interactive operation on a beautification control, displaying an editing page, wherein the editing page displays at least one display style of a first chart. In response to a configuration operation on at least one display style, a target display style is obtained; and a beautification operation is performed on the first chart according to the target display style to obtain an updated first chart.
[0076] Optionally, the display style includes at least one of a line style, an X-axis style, a Y-axis style, a legend style, and a label style. It should be noted that the above display style is only an example and can be adjusted according to actual conditions.
[0077] In addition, an overall adjustment description for the first chart may be input in a natural language in the input box of the editing page, and the first chart may be beautified according to the overall adjustment description.
[0078] For example, Figure 6As shown, descriptions of line styles such as line thickness, color scheme, and curves can be input through natural language, as well as descriptions of X-axis style and Y-axis style such as X-axis name, X-axis dimension, Y-axis name, and Y-axis dimension, and descriptions of legend styles such as the position and display form of the legend. And a description of the label style for whether the label is displayed. At the same time, a send control is displayed on the editing page of the beautification control. In response to the interactive operation with the send control, the first chart is beautified.
[0079] In some optional implementations, the dashboard display page also displays a chart control. The data dashboard generation method disclosed in the present invention also includes: in response to interactive information for the chart control, adding a chart container in the first dashboard, the chart container includes a second generated control and a corresponding input control, and the second generated control corresponds to the language model; in response to the chart parameter input based on the input control, obtaining the target chart parameter; in response to the interactive operation for the second generated control, adding and displaying a third chart in the chart container, the third chart is generated by the language model based on the target chart parameter.
[0080] For example, Figure 7 As shown, the dashboard display page displays a toolbar, and at least one editing control is displayed in the toolbar. The editing controls include chart controls, global filter controls, query controls, parameter controls, plug-in controls, layer controls, element controls for elements other than charts, and other editing controls. Among them, element controls include tab controls, text controls, web page controls, image controls or other element controls, which are not limited here. The global filter control is used to globally filter the elements of each dashboard in the dashboard display page. The query control is used to query the elements of each dashboard in the dashboard display page. The parameter control is used to adjust the dynamic parameters involved in each dashboard in the dashboard display page. The plug-in control is used to insert a plug-in into the dashboard display page. The layer control is used to adjust the layer of the elements of each dashboard in the dashboard display page. It should be noted that the above editing controls are only examples. In actual operation, the editing controls can be adjusted according to actual conditions.
[0081] For example, Figure 7 As shown, in response to the interactive information for the chart control, a chart container is added to the first dashboard, and the chart container includes a second generation control and a corresponding input control. The user can input chart parameters, such as description, dimension, indicator, filter condition, etc., in the input control in a natural language. Then, the second generation control is interacted with, the input target chart parameters are analyzed using the language model, and a third chart is added and displayed in the chart container.
[0082] The data dashboard generation method provided in this embodiment provides a chart control for adding a new chart container during the construction process. The chart parameters are input into the input control of the chart container, and the language model is triggered to analyze the input chart parameters and generate a chart. Therefore, the language model can be used to independently generate a chart, providing a variety of chart generation methods.
[0083] In some optional implementations, the dashboard display page also displays an auxiliary control, which is used to trigger the display of at least one building function provided by the language model.
[0084] Optionally, the building function includes at least one of a creation function, a layout function, and a beautification function. The creation function can be further divided into a first creation function of creating a dashboard through a data set, and a second creation function of creating a dashboard through a chart. It should be noted that the above building function is only an example and can be adjusted according to actual conditions.
[0085] The data dashboard generation method provided in this embodiment uses auxiliary controls to integrate the building functions provided by the language model to provide a unified entry using the building functions provided by the language model. Therefore, the dashboard building efficiency can be further improved.
[0086] In some optional embodiments, the data dashboard generation method of the present disclosure also includes: in response to an interactive operation on an auxiliary control, displaying at least one building function on an auxiliary page; in response to a selection operation on a target building function in at least one building function, triggering processing of the target building function.
[0087] For example, Figure 8 As shown, in response to the interactive operation on the auxiliary control, the auxiliary page displays the building functions such as the creation function, the layout function, and the beautification function. The processing information of the selected building function can be directly input on the auxiliary page. The processing page of the selected building function can also be displayed to configure the processing information of the selected building function.
[0088] The data dashboard generation method provided in this embodiment displays at least one building function on the auxiliary page, and triggers the processing of the corresponding building function by selecting the building function. Therefore, the building function provided by the language model can be used to quickly adjust and update the dashboard in the dashboard display page.
[0089] In some optional embodiments, at least one building function includes a first creation function of creating a dashboard through a data set; in response to a selection operation on a target building function in the at least one building function, the processing of the target building function is triggered, including: in response to the selection operation on the first creation function, a second configuration area is displayed, the second configuration area includes at least one second configuration item of a second building parameter, and the second building parameter includes a data set; in response to the configuration operation on the second configuration item, second building information is obtained; in response to the second building information, a second dashboard is added and displayed in the dashboard display page, and the second dashboard is generated by the language model based on the second building information.
[0090] Alternatively, if Fig. 9 As shown, the second construction parameter includes at least one of a data set, a related field, and an analysis idea. It should be noted that the above second construction parameter is only an example and can be adjusted according to actual conditions.
[0091] The data dashboard generation method provided in this embodiment provides a first creation function of creating a dashboard through a data set. Therefore, the selected data set can be analyzed using a language model to quickly build a new dashboard.
[0092] In some optional embodiments, at least one building function includes a second creation function of creating a dashboard through a chart; in response to a selection operation on a target building function in at least one building function, processing of the target building function is triggered, including: in response to the selection operation on the second creation function, a third configuration area is displayed, the third configuration area includes a third configuration item of at least one third building parameter, and the third building parameter includes the selected chart; in response to the configuration operation on the third configuration item, third building information is obtained; in response to the third building information, a third dashboard is added and displayed in the dashboard display page, and the third dashboard is generated by the language model based on the third building information.
[0093] Alternatively, if Fig. 9 As shown, the third construction parameter includes at least one of the selected chart and analysis ideas. It should be noted that the above third construction parameter is only an example and can be adjusted according to actual conditions.
[0094] The data dashboard generation method provided in this embodiment provides a second creation function of creating a dashboard through a chart. Therefore, a new dashboard can be quickly built using a language model and the created chart.
[0095] In some optional embodiments, at least one building function includes a layout function; in response to a selection operation on a target building function in at least one building function, processing of the target building function is triggered, including: in response to the selection operation on the layout function, displaying a fourth configuration area; in response to layout information input in the fourth configuration area, adjusting the layout of the first dashboard to obtain an updated first dashboard.
[0096] Alternatively, if Fig. 9 As shown, the fourth configuration area displays an input control, through which layout information can be input. At the same time, the fourth configuration area displays a generation control, through which the language model can be triggered to adjust the layout of the first dashboard based on the layout information by interacting with the generation control.
[0097] It should be noted that if multiple dashboards are displayed in the dashboard display page, such as the first dashboard, the second dashboard, and the third dashboard, the layout of the second dashboard and the third dashboard can also be adjusted through the layout function, which is not limited here.
[0098] The data dashboard generation method provided in this embodiment provides a layout function to input layout information through natural language, and then use the language model to adjust the layout of the dashboard. Therefore, the layout adjustment efficiency of the data dashboard can be effectively improved.
[0099] In some optional implementations, the fourth configuration area displays at least one optional layout mode and / or at least one recommended layout information.
[0100] For example, Fig. 9 As shown, the fourth configuration area displays at least one recommended layout information. In response to a selection operation of target recommended layout information in the at least one recommended layout information, the target layout information can be determined, and the first instrument panel can be adjusted according to the target layout information.
[0101] Alternatively, the fourth configuration area displays at least one optional layout mode. In response to a selection operation of a target optional layout mode in the at least one optional layout mode, target layout information may be determined, and the first instrument panel may be adjusted according to the target layout information.
[0102] The data dashboard generation method provided in this embodiment provides at least one optional layout mode and / or at least one recommended layout information for selection, thereby further improving the layout adjustment efficiency of the data dashboard.
[0103] In other optional embodiments, at least one building function includes a layout function; in response to a selection operation on a target building function in at least one building function, processing of the target building function is triggered, including: in response to a selection operation on the layout function, displaying a processing page corresponding to the layout function; in response to layout information input in the processing page corresponding to the layout function, adjusting the layout of the first dashboard to obtain an updated first dashboard.
[0104] For example, Fig.10 As shown, the processing page of the layout function displays three optional layout modes: layout by chart type, layout by indication, and compact layout. In addition, a recommended layout information "generate a layout with three rows and four columns" is displayed. By selecting the optional layout mode or the recommended layout information, the layout information input in the processing page corresponding to the layout function can be determined to adjust the first dashboard. Alternatively, the layout information is input through natural language in the input control of the custom layout, and in response to the interactive operation of the generation control in the processing page, the input layout information is analyzed using the language model to adjust the first dashboard to obtain an updated first dashboard.
[0105] In some optional embodiments, at least one building function includes an interpretation function; in response to a selection operation on a target building function in at least one building function, processing of the target building function is triggered, including: in response to the selection operation on the interpretation function, a fifth configuration area is displayed; in response to a first chart to be interpreted input in the fifth configuration area, interpretation content of the first chart to be interpreted is obtained.
[0106] For example, Fig. 9 As shown, the first chart to be interpreted can be configured in the fifth configuration area, and then the language model interprets the first chart to be interpreted to obtain the interpretation content of the first chart. At the same time, the fifth configuration area displays an add control and a complete control. If the add control is interacted with, the interpretation content is added to the first dashboard. If the complete control is interacted with, the current interpretation process ends.
[0107] The data dashboard generation method provided in this embodiment provides an interpretation function to interpret the first chart to be interpreted. Therefore, the first chart to be interpreted can be deeply explored to drill down into the data information represented by the first chart.
[0108] In some optional implementations, at least one of the building functions also includes a beautification function. In response to a selection operation on a target building function in the at least one building function, triggering the processing of the target building function includes: in response to the selection operation on the beautification function, displaying a sixth configuration area; in response to beautification information input in the sixth configuration area, performing a beautification operation on the first instrument panel to obtain an updated first instrument panel.
[0109] It should be noted that for the relevant process of the beautification function, please refer to the relevant process of beautification control, which will not be repeated here.
[0110] It is worth mentioning that, in the actual processing process, the accordion panel can be used to be compatible with and expand the building functions provided by the language model, so as to provide more building functions for the dashboard.
[0111] In some optional implementations, a save control is also displayed on the dashboard display page, and the save control is used to save the dashboard in the dashboard display page.
[0112] As a specific application example, a target application is installed on an electronic device, and the target application is used to generate a data dashboard. The data dashboard generation method disclosed in the present disclosure can be used in the target application, and a variety of dashboard building functions and function controls can be provided in combination with a language model, so as to use data processing technology, artificial intelligence technology, large model technology, and large language model technology to quickly build a data dashboard, effectively improve the building efficiency of the data dashboard, and reduce the time consumption of generating the data dashboard.
[0113] In this embodiment, a data dashboard generating device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0114] This embodiment provides a data dashboard generation device, such as Fig.11 As shown, including:
[0115] A page display module 201 is used to display a dashboard creation page, where the dashboard creation page displays a first generation control and a corresponding first configuration area, where the first generation control corresponds to a language model, and the first configuration area is provided with a first configuration item of at least one first building parameter of the dashboard;
[0116] The parameter configuration module 202 is used to obtain first setup information in response to a configuration operation on a first configuration item;
[0117] The dashboard generation module 203 is used to display a first dashboard on the dashboard display page in response to an interactive operation on the first generated control, where the first dashboard includes at least one first chart, which is generated by the language model based on the first building information.
[0118] In some optional embodiments, the dashboard display page is also used to display an analysis panel, which displays the analysis content of the language model for the first dashboard, and the analysis content includes at least one of the generation progress of the first dashboard, the analysis target of the first dashboard, the analysis process of the first dashboard, the layout of the first dashboard, and the generation status of the first chart.
[0119] In some optional implementations, the data dashboard generating device of the present disclosure further includes:
[0120] The function control triggering module is used to display at least one function control corresponding to the first chart in response to an interactive operation on the first chart, and the function control is used to trigger processing of a corresponding function on the first chart.
[0121] In some optional implementations, the function control includes a configuration control. The function control trigger module includes:
[0122] A configuration control triggering unit, configured to display a configuration page in response to an interactive operation on the configuration control, wherein the configuration page displays at least one configuration field of the first chart;
[0123] A field value adjustment unit, configured to obtain a target field value of the configuration field in response to a field value interaction operation on the configuration field;
[0124] The first updating unit is used to adjust the first chart based on the target field value of the configuration field to obtain an updated first chart.
[0125] In some optional implementations, the function control includes an analysis control. The function control trigger module includes:
[0126] An analysis control triggering unit, configured to display an analysis page in response to an interactive operation on the analysis control;
[0127] The chart analysis unit is used to analyze the first chart in response to the first content input in the analysis page to obtain the analysis result of the first chart.
[0128] In some optional implementations, the function control includes a search control. The function control trigger module includes:
[0129] A search control triggering unit, configured to display a search page in response to an interactive operation on the search control;
[0130] The chart search unit is used to search for a second chart related to the first chart in response to a second content input in the search page.
[0131] In some optional implementations, the function control includes a beautification control. The function control triggering module includes:
[0132] A beautification control triggering unit, used to display an editing page in response to an interactive operation on the beautification control;
[0133] The chart beautification unit is used to perform a beautification operation on the first chart in response to the third content input in the editing page to obtain an updated first chart.
[0134] In some optional implementations, the dashboard display page also displays a chart control. The data dashboard generation device of the present disclosure also includes:
[0135] A container adding module, configured to add a chart container in the first dashboard in response to the interactive information for the chart control, wherein the chart container includes a second generated control and a corresponding input control, and the second generated control corresponds to the language model;
[0136] A parameter input module, for obtaining target chart parameters in response to chart parameters input based on the input control;
[0137] The chart adding module is used to add and display a third chart in the chart container in response to an interactive operation on the second generated control, where the third chart is generated by the language model based on the target chart parameters.
[0138] In some optional implementations, the dashboard display page also displays an auxiliary control, which is used to trigger the display of at least one building function provided by the language model.
[0139] In some optional implementations, the data dashboard generating device of the present disclosure further includes:
[0140] An auxiliary control triggering module, used to display at least one building function on the auxiliary page in response to an interactive operation on the auxiliary control;
[0141] The building function execution module is used to trigger the processing of the target building function in response to the selection operation of the target building function in the at least one building function.
[0142] In some optional implementations, at least one building function includes a first creation function of creating a dashboard through a data set. The building function execution module includes:
[0143] A first function triggering unit, configured to display a second configuration area in response to a selection operation on the first creation function, wherein the second configuration area includes at least one second configuration item of a second build parameter, and the second build parameter includes a data set;
[0144] A first parameter configuration unit, configured to obtain second setup information in response to a configuration operation on a second configuration item;
[0145] The first dashboard creation unit is used to add and display a second dashboard in the dashboard display page in response to the second building information, where the second dashboard is generated by the language model based on the second building information.
[0146] In some optional embodiments, at least one of the building functions includes a second creation function of creating a dashboard through a chart. The building function execution module includes:
[0147] A second function triggering unit is used to display a third configuration area in response to a selection operation for a second creation function, the third configuration area including a third configuration item of at least one third build parameter, the third build parameter including the selected chart;
[0148] A second parameter configuration unit, configured to obtain third setup information in response to a configuration operation on a third configuration item;
[0149] The second dashboard creation unit is used to add and display a third dashboard in the dashboard display page in response to the third building information, where the third dashboard is generated by the language model based on the third building information.
[0150] In some optional implementations, at least one construction function includes a layout function. The construction function execution module includes:
[0151] a layout function triggering unit, configured to display a fourth configuration area in response to a selection operation on a layout function;
[0152] The layout adjustment unit is used to adjust the layout of the first instrument panel in response to the layout information input in the fourth configuration area to obtain an updated first instrument panel.
[0153] In some optional implementations, the fourth configuration area displays at least one optional layout mode and / or at least one recommended layout information.
[0154] In some optional embodiments, at least one construction function includes an interpretation function. The construction function execution module includes:
[0155] an interpretation function triggering unit, configured to display a fifth configuration area in response to a selection operation for the interpretation function;
[0156] The chart interpretation unit is used to obtain interpretation content of the first chart to be interpreted in response to the first chart to be interpreted input in the fifth configuration area.
[0157] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0158] The data dashboard generation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0159] The present disclosure also provides an electronic device having the above Fig.11 The data dashboard generating device shown.
[0160] See also Fig.12 , Fig.12 is a structural block diagram of an electronic device provided by an optional embodiment of the present disclosure, such as Fig.12 As shown, the electronic device includes: one or more processors 301, a memory 302, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.12 A processor 301 is taken as an example.
[0161] The processor 301 may be a central processing unit, a network processor or a combination thereof. The processor 301 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0162] The memory 302 stores instructions executable by at least one processor 301 , so that the at least one processor 301 executes the method shown in the above embodiment.
[0163] The memory 302 may 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; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 302 may optionally include a memory remotely arranged relative to the processor 301, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0164] The memory 302 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 302 may also include a combination of the above types of memory.
[0165] The electronic device also includes an input device 303 and an output device 304. The processor 301, the memory 302, the input device 303 and the output device 304 may be connected via a bus or other means. Fig.12 The example of connecting through bus is taken in the following.
[0166] The input device 303 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 304 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0167] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0168] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0169] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for generating a data dashboard, characterized in that: The method comprises: Displaying a dashboard creation page, wherein the dashboard creation page displays a first generation control and a corresponding first configuration area, wherein the first generation control corresponds to a language model, and the first configuration area is provided with a first configuration item of at least one first building parameter of the dashboard; In response to the configuration operation on the first configuration item, obtaining first setup information; In response to an interactive operation on the first generation control, a first dashboard is displayed on the dashboard display page, wherein the first dashboard includes at least one first chart, and the first chart is generated by the language model based on the first building information.
2. The data dashboard generation method according to claim 1, characterized in that: The dashboard display page is also used to display an analysis panel, which displays the analysis content of the language model on the first dashboard, and the analysis content includes at least one of the generation progress of the first dashboard, the analysis target of the first dashboard, the analysis process of the first dashboard, the layout of the first dashboard, and the generation status of the first chart.
3. The data dashboard generation method according to claim 1, characterized in that: The method further comprises: In response to an interactive operation on the first chart, at least one function control corresponding to the first chart is displayed, and the function control is used to trigger processing of a corresponding function on the first chart.
4. The data dashboard generation method according to claim 3, characterized in that: The functional control includes a configuration control; the method further includes: In response to an interactive operation on the configuration control, displaying a configuration page, the configuration page displaying at least one configuration field of the first chart; In response to the field value interaction operation for the configuration field, obtaining a target field value of the configuration field; The first chart is adjusted based on the target field value of the configuration field to obtain an updated first chart.
5. The data dashboard generation method according to claim 3, characterized in that: The functional control includes an analysis control; the method further includes: In response to an interactive operation on the analysis control, displaying an analysis page; In response to the first content input in the analysis page, the first chart is analyzed to obtain an analysis result of the first chart.
6. The data dashboard generation method according to claim 3, characterized in that: The function control includes a search control; and the method further includes: In response to an interactive operation on the search control, displaying a search page; In response to the second content input in the search page, a second chart related to the first chart is searched and obtained.
7. The data dashboard generation method according to claim 3, characterized in that: The functional control includes a beautification control; and the method further includes: In response to an interactive operation on the beautification control, displaying an editing page; In response to the third content input in the editing page, a beautification operation is performed on the first chart to obtain an updated first chart.
8. The data dashboard generation method according to claim 1, characterized in that: The dashboard display page also displays a chart control; the method further includes: In response to the interactive information for the chart control, adding a chart container in the first dashboard, the chart container including a second generated control and a corresponding input control, the second generated control corresponding to the language model; In response to the chart parameters input based on the input control, obtaining target chart parameters; In response to an interactive operation on the second generation control, a third chart is added and displayed in the chart container, where the third chart is generated by the language model based on the target chart parameters.
9. The data dashboard generation method according to claim 1, characterized in that: The dashboard display page also displays an auxiliary control, which is used to trigger the display of at least one building function provided by the language model.
10. The data dashboard generation method according to claim 9, characterized in that: The method further comprises: In response to an interactive operation on the auxiliary control, displaying the at least one building function on the auxiliary page; In response to a selection operation on a target building function among the at least one building function, processing of the target building function is triggered.
11. The data dashboard generation method according to claim 10, characterized in that: The at least one building function includes a first creation function of creating a dashboard through a data set; in response to a selection operation of a target building function in the at least one building function, triggering the processing of the target building function includes: In response to a selection operation on the first creation function, displaying a second configuration area, the second configuration area including at least one second configuration item of a second build parameter, the second build parameter including the data set; In response to the configuration operation on the second configuration item, second setup information is obtained; In response to the second building information, a second dashboard is added and displayed in the dashboard display page, where the second dashboard is generated by the language model based on the second building information.
12. The data dashboard generation method according to claim 10, characterized in that: The at least one building function includes a second creation function of creating a dashboard through a chart; in response to a selection operation of a target building function in the at least one building function, triggering the processing of the target building function includes: In response to a selection operation on the second creation function, displaying a third configuration area, the third configuration area including a third configuration item of at least one third build parameter, the third build parameter including the selected chart; In response to the configuration operation on the third configuration item, obtaining third setup information; In response to the third building information, a third dashboard is added and displayed in the dashboard display page, where the third dashboard is generated by the language model based on the third building information.
13. The data dashboard generation method according to claim 10, characterized in that: The at least one building function includes a layout function; in response to a selection operation on a target building function in the at least one building function, triggering the processing of the target building function includes: In response to a selection operation on the layout function, displaying a fourth configuration area; In response to the layout information input in the fourth configuration area, the layout of the first instrument panel is adjusted to obtain an updated first instrument panel.
14. The data dashboard generation method according to claim 13, characterized in that: The fourth configuration area displays at least one optional layout mode and / or at least one recommended layout information.
15. The data dashboard generation method according to claim 10, characterized in that: The at least one building function includes an interpretation function; in response to a selection operation of a target building function in the at least one building function, triggering the processing of the target building function includes: In response to a selection operation on the interpretation function, displaying a fifth configuration area; In response to the first chart to be interpreted input in the fifth configuration area, the interpretation content of the first chart to be interpreted is obtained.
16. A data dashboard generating device, characterized in that: The device comprises: A page display module, used to display a dashboard creation page, wherein the dashboard creation page displays a first generation control and a corresponding first configuration area, wherein the first generation control corresponds to a language model, and the first configuration area is provided with a first configuration item of at least one first building parameter of the dashboard; A parameter configuration module, configured to obtain first setup information in response to a configuration operation on the first configuration item; A dashboard generation module is used to display a first dashboard on a dashboard display page in response to an interactive operation on the first generation control, wherein the first dashboard includes at least one first chart, and the first chart is generated by the language model based on the first building information.
17. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the data dashboard generation method according to any one of claims 1 to 15 by executing the computer instructions.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the data dashboard generation method according to any one of claims 1 to 15.
19. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the data dashboard generating method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Data analysis method and device, readable medium and electronic equipment
CN117851438A
Chart analysis method, system, equipment and medium
CN119046604A
Method and system for code generation by large language models
US20240319970A1
Cited By
Interface configuration method and device based on large language model, medium and electronic equipment
CN121681003A