Method and system for customizing large data screen based on dragging and storage medium
By automatically accessing multi-source data and dragging and dropping to configure data charts, it solves the problem of long development cycle and high cost of large-screen data visualization, realizes rapid customization of large-screen data, and improves the efficiency and user experience of data visualization.
Patent Information
- Application Number
- CN202310334404.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
Large-screen data visualization has a long development cycle, high costs, and low software quality, resulting in low customization development efficiency and difficulty in code maintenance, which in turn affects the competitiveness and business growth of enterprises.
Provides a drag-and-drop customization method for large data screens. It automatically accesses multi-source data, automatically maps data fields to dimensions and indicators, automatically generates data assets, and drags and drops configuration data charts through the visual interface to realize large data screens. Quick customization.
It realizes the rapid construction of data assets and data charts, reduces development costs and time, improves the efficiency and user experience of data visualization, enables people without programming foundation to quickly visualize data, and improves the efficiency of analysis and decision-making.
Smart Images

Figure CN118733154A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data resource analysis visualization, and in particular to a method, system and storage medium for customizing a large data screen based on dragging and dropping. Background Art
[0002] Large-screen data visualization is the expression of data analysis results and an important part of data-enabled decision-making. With the popularity of big data analysis technology, the demand for data analysis and large-screen visualization in industry applications to provide decision support is becoming increasingly urgent. However, in the process of implementation, there are still many difficulties and challenges in data analysis, as follows:
[0003] (1) Long development cycle: As the demand for visualization grows, product awareness is imperfect, resulting in vague, complex, and changeable requirements, low development efficiency, and some commercial expressions with different contents and methods, resulting in a long customization development cycle.
[0004] (2) High development costs: The salary increase for software developers has led to increasing pressure on human cost within the enterprise. At the same time, as the frequency of system updates increases, the lengthy software development time consumes a large amount of time and opportunity costs for the enterprise, reducing system development efficiency.
[0005] (3) Low software quality: "Tight time and heavy tasks" have become the norm for IT manufacturers. It is difficult to achieve both high efficiency and high quality, which ultimately leads to problems such as low stability of customized code, difficult code maintenance, and high code defect rate. At the same time, the large workload of customized software code delivery also leads to insufficient investment in upgrading the competitiveness of existing products, slow progress in new product research and development, and production capacity is consumed in low-value bug repair / architecture optimization, making it difficult to focus on industry application innovation and quickly achieve product development and business growth. Summary of the invention
[0006] In view of this, the embodiments of the present invention provide a method, system and storage medium for customizing a large data screen based on dragging and dropping, so as to eliminate or improve one or more defects existing in the prior art.
[0007] One aspect of the present invention provides a method for customizing a large data screen based on dragging and dropping, the method comprising the following steps:
[0008] A data access step is used to automatically access multi-source data by configuring connection information of various types of data sources; a data asset construction step: by automatically mapping data fields into dimensions or indicators according to the types of data fields in the accessed data, to construct data assets containing the dimensions and indicators; a data chart filling step is used to automatically prompt fillable data charts for selection according to the number of dimensions and indicators of the constructed data assets, and fill the constructed data assets into the selected data charts; a customization step is used to drag multiple filled data charts into the data screen, layout the data screen and configure the data charts and the styles of the data screen to obtain a customized data screen.
[0009] In some embodiments of the present invention, the access to multi-source data includes: for a data source of library table type, access is performed by inputting a database URL, user name and password as connection information; for a data source of offline data in Excel or CSV format, parsing and converting it into a data source of library table type by configuring the offline file path and format, and then accessing it through the access method of the library table type data source; and / or for a data source from a Rest interface and an external system, access is performed by configuring the URL and request parameters; after the multi-source data is accessed, it is viewed through a visual interface.
[0010] In some embodiments of the present invention, the data assets containing the dimensions and indicators are constructed by automatically mapping the data fields into dimensions or indicators according to the types of the data fields in the accessed data, including: automatically mapping the data fields of string type into dimensions, automatically mapping the data fields of numeric type into indicators, and obtaining the data assets based on the dimensions and indicators obtained after mapping.
[0011] In some embodiments of the present invention, before automatically mapping the data fields into dimensions or indicators according to the types of the data fields in the accessed data, the data asset construction step also includes: executing an SQL statement representing the conditional field for the selected accessed data source, and returning the execution result, so as to perform the automatic mapping based on the returned execution result.
[0012] In some embodiments of the present invention, automatically prompting fillable data charts for selection based on the dimensions and number of indicators of the constructed data assets, and filling the constructed data assets into the selected data chart, includes: selecting the data assets to be filled into the data chart through an interface, and synchronously displaying the dimension and indicator information in the data assets in the interface; filtering the dimensions and indicators in the data assets by dragging and dropping based on the needs of visual display, and automatically prompting fillable data charts for selection based on the number of filtered dimensions and indicators; selecting a data chart, and filling the filtered dimensions and indicators of the data assets into the selected data chart.
[0013] In some embodiments of the present invention, the data chart filling step also includes the construction of a data analyzer, which is used to display a data chart filled in correspondence with a data asset, dynamically filter dimensions and indicators that need to be visualized according to business scenarios, and freely switch charts and / or sort and sum indicators.
[0014] In some embodiments of the present invention, the layout of the data screen and the configuration of the data chart and the style of the data screen to obtain a customized data screen includes: configuring the style parameters of the data screen and / or selecting a theme template for the screen to configure the style of the data screen based on the configured style parameters or template; selecting a data analyzer for displaying data charts, building a chart configuration interface using the data analyzer, configuring the style parameters of the data chart based on the configuration interface, and dragging and dropping the position of the data analyzer in the data screen to configure the style of the data chart and layout the data screen; selecting data charts to create linkages between data charts; filling in data charts on the data screen based on the configuration of the data screen style, the configuration of the chart style, the layout of the data screen and the created linkage information to obtain a customized data screen.
[0015] In some embodiments of the present invention, the method further includes: setting a warning threshold and a warning period for one or more indicators, and triggering a warning prompt when the corresponding indicator in the chart data exceeds the threshold.
[0016] Another aspect of the present invention provides a system for customizing a large data screen based on dragging and dropping, comprising a processor and a memory, wherein computer instructions are stored in the memory, and the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the system implements the steps of the method for customizing a large data screen based on dragging and dropping as described above.
[0017] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the steps of the method for customizing a large data screen based on dragging and dropping are implemented as described above.
[0018] The method, system and storage medium for customizing a large data screen based on dragging and dropping of the present invention can quickly build data assets of various data sources through automatic mapping of dimensions and indicators; flexibly construct corresponding data charts according to visualization needs can conveniently cope with frequent updates of system visualization; autonomously layout and configure the data screen that displays data charts by dragging and dropping can quickly realize the visualization application expression of large-screen data, meet the low-cost and high-efficiency requirements of industry users for data visualization expression, and can also facilitate users to adjust the display layout according to actual needs, so that people without programming foundation can also quickly visualize data, bringing great efficiency and experience improvement to user analysis and decision-making.
[0019] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.
[0020] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:
[0022] Figure 1 Customize flowcharts for data screens.
[0023] Figure 2 Build a sample graph for the data view.
[0024] Figure 3 Populate the data chart with a sample graph.
[0025] Figure 4 Customize sample graphs for data dashboards.
[0026] Figure 5 Customize the functional architecture diagram for the data screen.
[0027] Figure 6 Access flow chart for external systems.
[0028] Figure 7 Flow chart of data analysis.
[0029] Figure 8 Update flow chart for large screen data.
[0030] Fig. 9This is a schematic diagram of the data chart linkage. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0032] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0033] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.
[0034] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.
[0035] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
[0036] In response to the problems that arise in the current large-screen data visualization process, the present invention provides a method for customizing a large data screen based on dragging and dropping. The method uses a visualization interface to uniformly manage multi-source data of different forms, and automatically maps the accessed multi-source data into their respective corresponding data assets. According to the user's personal needs, the data assets that need to be visualized can be arbitrarily selected and automatically filled into the data chart; then, the data chart displayed in the data screen is set according to the user's personal needs, and the data chart to be displayed is dragged and dropped into the data screen for layout, thereby obtaining a customized version of the data screen.
[0037] The present invention provides a method for customizing a large data screen based on dragging and dropping, such as Figure 1 As shown, it includes steps S110 to S140:
[0038] In step S110, the data access step is used to automatically access multi-source data by configuring connection information of various types of data sources.
[0039] In the above step S110, connection information of various types of data sources is configured in the data connection panel, data from various different data sources are connected, and the connected multi-source data is uniformly managed using a visual interface.
[0040] In one embodiment, the data large screen customization function architecture is as follows Figure 5 As shown, the accessed multi-source data comes from data sources such as Excel / CSV\database, Rest interface and external system, and the data connection panel is accessed by configuring the connection information, and the accessed multi-source data is viewed through a visual interface; the access to multi-source data includes: for a data source of a library table type, access is performed by inputting a database URL, a user name and a password as connection information; for a data source of offline data in Excel or CSV format, the offline file path and format are configured to be parsed and converted into a data source of a library table type, and then access is performed through the access method of the library table type data source; and / or for a data source from a Rest interface and an external system, access is performed by configuring the URL and request parameters, wherein the request parameters include a user name (id)>10, a user age (age)>25, etc.;
[0041] In step S120, the data asset construction step is to automatically map the data fields into dimensions or indicators according to the types of the data fields in the accessed data to construct data assets containing the dimensions and indicators.
[0042] In the above step S120, the accessed multi-source data can be divided into string type and numeric type according to the type of data field; the string type data field is automatically mapped into a dimension, and the numeric type data field is automatically mapped into an indicator, and the data asset is obtained based on the dimensions and indicators obtained after mapping; for example, the name data field can be mapped into a dimension, and the age data field can be mapped into an indicator. Among them, for data of library table type, other data fields can also be customized through SQL statements, and new data assets can be built through the corresponding mapping of the customized data fields.
[0043] The data asset construction step also includes, before automatically mapping the data field into a dimension or an indicator according to the type of the data field in the accessed data: for the selected accessed data, executing the SQL statement representing the conditional field in the data, and returning the execution result, so as to perform the automatic mapping based on the returned execution result. Among them, for the data of the selected accessed library table type, the conditional field can be customized by inputting a standard SQL statement; the customized conditional field is spliced with the original conditional field in the accessed data to form a spliced SQL statement representing the conditional field, the spliced SQL statement is executed, and the execution result is returned, so as to perform the mapping based on the execution result returned by the spliced SQL statement.
[0044] Corresponding to the above embodiment, step S120 is performed using a data view construction interface, which includes operation components such as data source selection, SQL statement input box, query condition setting, and "next" button. The data asset construction of step S120 includes the following steps S121-S123:
[0045] In step S121, a data source selection component is used to select a data source to be connected, and the data source includes a database of a library table type and a data source of a Rest interface and an external system.
[0046] In step S122, for the data source selected for access, the query condition setting component is used to query the condition fields that need to be mapped to data assets, and the SQL statement representing the condition fields that is queried is executed, and the execution result is returned, and the returned execution result is automatically mapped to construct a data asset containing the dimensions and indicators; wherein, the data fields of the string type are automatically mapped to dimensions, and the data fields of the numerical type are automatically mapped to indicators; for the data content representing geographic information in the data fields of the string type, it is necessary to manually select or input information such as country, province, city, and specific address to complete the construction of the data asset.
[0047] For data sources of library table type, you can also customize the conditional field using the SQL statement input box before executing the SQL statement representing the conditional field according to user needs, and splice the customized SQL statement representing the conditional field with the SQL statement representing the conditional field queried from the data source to form a new SQL statement after splicing; thereby executing and returning the execution result based on the spliced SQL statement, and then automatically mapping based on the returned execution result.
[0048] In step S123, the data assets constructed in step S122 are saved, thereby completing the construction of the data view corresponding to the data source, such as Figure 2 shown.
[0049] Before executing the above step S120, a data governance step may also be included to configure the association relationship between metadata and metadata for the disordered data in the access data to form normal data that can be mapped and processed.
[0050] The above data governance steps transform the disordered data into the data required for data mapping through cleaning and conversion. Metadata represents data information used to describe the access data, such as field name, field type, field length and other information; the association relationship of metadata represents data used to describe the evolution relationship between different fields in metadata. For example, the time field contains three kinds of information: year, month and day, and the association relationship of the time field is represented by the evolution relationship between different time fields.
[0051] In one embodiment, the data governance step is completed by accessing an external subsystem. Figure 6 As shown, the data governance address information is set in the visual interface of this system, and the external data governance subsystem is connected by configuring the URL and request parameters. The data governance subsystem is provided with metadata related to the accessed data and basic information on the association relationship of the metadata; the metadata and the association relationship of the metadata set in the data governance subsystem are connected to this system, and the disordered data connected to this system is converted into mappable data required for data analysis by this system.
[0052] In step S130, the data chart filling step is used to automatically prompt fillable data charts for selection according to the dimensions and the number of indicators of the constructed data assets, and fill the constructed data assets into the selected data chart.
[0053] The above-mentioned step S130 includes, based on the needs of visual display, filtering the dimensions and indicators in the data asset by dragging and dropping, and automatically prompting fillable data charts for selection based on the number of filtered dimensions and indicators; selecting a data chart, and filling the filtered dimensions and indicators of the data assets into the selected data chart.
[0054] The above step S130 also includes the construction of a data analyzer, which is used to display a data chart filled in corresponding to a data asset, and dynamically screen the dimensions and indicators that need to be visualized according to the business scenario, and freely switch charts and / or sort and sum indicators. , analysis warning and / or roll-up and drill-down analysis operations. The dynamic screening is used to flexibly select a certain field as a dimension or indicator for visual display, and at least one dimension and indicator is selected; the indicator sorting and summing is used to perform operations such as sorting and summing indicators similar to Excel tables; the free switching of charts is used to freely switch different data charts with different display forms and expression effects, such as heat maps, mulberry maps, pie charts, etc., while meeting the number of dimensions and indicators.
[0055] The data charts in step S130 include at least 55 types of graphics primitives such as basic straight line graphs, curved area graphs, double pie graphs, and sunburst graphs. Figure 7As shown, the filled data charts in the data analyzer support basic analysis and advanced analysis, which can help users quickly master the data analysis method; at the same time, it provides analysis warnings. When the data in the graphic element does not meet the warning rules, the system will issue a warning according to the configured warning cycle, so that the system can promptly determine whether the visual data meets the relevant thresholds, thereby triggering relevant responses. Among them, the basic analysis includes the visual analysis expression of basic graphic elements such as line charts, area charts, bar charts, pie charts and instrument analysis charts; the advanced analysis includes cross tables, scatter plots, Sankey charts, radar charts, mixed column charts, rose charts, customized bar charts, customized line charts, rectangular tree charts, funnel charts and other advanced graphic elements; the warning rules are: according to the warning requirements of the visual data, set the warning threshold and warning cycle of one or more indicators, and trigger the warning prompt when the corresponding indicator in the chart data exceeds the threshold.
[0056] The present invention can truly present information that is understandable to users and truly reflects data characteristics through the intuitive and easy-to-understand visualization form of data charts, thereby realizing multi-angle, flexible and dynamic data analysis.
[0057] Corresponding to the above embodiment, based on the visualization component storing various data charts required for basic analysis and advanced analysis, step S130 is performed using the data analyzer construction interface, and the data analyzer construction interface includes: a data analyzer name input box, a data view selection box, a data chart to be filled, a dimension input box, an indicator input box, a data filter box and a canvas. Step S130 performs data chart filling including steps S131-S135:
[0058] In step S131, according to the filling purpose of the data chart, the name of the data analyzer to be built is set, and the data view to be filled in the data chart is selected, so that the data assets in the data view are displayed in the data analyzer building interface.
[0059] In step S132, in the data view displayed in the current data analyzer construction interface, one or more data assets are selected from the data view by dragging and dropping according to the user's visual expression requirements, and the filter value of each data asset is set respectively;
[0060] For dimension-type data assets, drag the selected dimension field to the dimension input box; for indicator-type data assets, drag the selected indicator field to the indicator data box.
[0061] In step S133, based on the number of dimensions and indicators selected in step S132, fillable data charts are automatically prompted for selection; a data chart within the analyzable range is selected and displayed on the canvas, and the selected dimensions and indicators are filled in the data chart; wherein the fillable data chart originates from the visualization components in the system.
[0062] In step S134, filter conditions are configured according to the user's needs for visual expression. The required filter value is selected from the filter values set for each data asset in step S132 and dragged into the data filter box to complete the configuration of the dimension or indicator filter value. The data chart displayed in the canvas changes dynamically accordingly.
[0063] In step S135, the data chart configuration information corresponding to the data source is saved, thereby completing the construction of the data chart corresponding to the data source, such as Figure 3 shown.
[0064] For example, in the data view with the user information table as the data asset, including four attribute information: name, age, salary, and province, if the user's visual expression requirement is to view the salary status of users of different age groups and sort the salaries from high to low; select the age field in the user information table as the dimension, and the salary, name, and province fields as indicators; if the user's visual expression requirement is to view the age, salary, and other income status of people in different provinces, select the province field in the user information table as the dimension, and the name, age, and salary fields as indicators. And according to the data of the dimensions and indicators in the visual expression, select the data icons that meet the requirements of the number of dimensions and indicators to display in the canvas. And according to the needs of the visual expression, configure the filter values of each dimension and / or indicator, so as to complete the drawing of the data icon of the user information table under the needs of the visual expression.
[0065] Corresponding to the implementation example of the data governance step in the above-mentioned step S120, the disordered data accessed by this system is combined with the corresponding accessed metadata and the association relationship of the metadata to display the blood relationship and influence relationship between different data in the accessed data through a relationship view; in one embodiment, the relationship view is displayed in the form of a topological diagram.
[0066] In step S140, the customization step is used to drag a plurality of filled data charts into the data large screen, layout the data large screen and configure the styles of the data charts and the data large screen to obtain a customized data large screen.
[0067] In the above step S140, a data analyzer for displaying data charts is selected, a chart configuration interface is built using the data analyzer, style parameters of the data chart are configured based on the configuration interface, and the position of the data analyzer in the data screen is arranged by dragging to realize the configuration of the data chart style and the layout of the data screen; a data chart is selected to create linkages between data charts; based on the configuration of the data screen style, the configuration of the data chart style, the layout of the data screen and the created linkage information, the data chart is filled on the data screen to obtain a customized data screen. Among them, the configuration of the data screen style includes the data screen theme template, resolution, font style, background image and background color; the configuration of the data chart style includes the size, font and color of the data analyzer; the layout of the data screen includes the position of each data analyzer displayed in the data screen; the created linkage information includes the same data asset being associated between different data charts through a certain dimension or indicator, and when the dimension or indicator of an associated data chart changes, the other data chart associated with it also changes accordingly.
[0068] The data charts displayed in the data screen include static data charts and dynamic data charts. For the dynamic data charts, all data contents displayed in the dynamic data charts can be refreshed by one-time automatic refresh, multiple timed refreshes or manual refreshes. The data chart refresh process is executed according to the preset refresh method of each data chart. Figure 8 As shown, the refresh modes of the data chart can include never refreshing and scheduled refreshing. Among them, scheduled refreshing requires setting the refresh scheduling cycle type and scheduling interval. The scheduling cycle includes time periods such as days, hours, minutes, and seconds. The scheduling interval is a number, and customized operations can be completed based on actual needs.
[0069] Corresponding to the above embodiment, based on the stored multiple scene templates, step S140 is executed through the data large screen customization interface, and the data large screen customization interface includes a data analyzer selection button, a large screen style parameter configuration box, a large screen template selection button, a canvas and a large screen preview button; step S140 performs data large screen customization including steps S141-S143:
[0070] In step S141, the name of the data screen is filled in according to the user's visual expression needs, and the corresponding data screen building interface is entered;
[0071] In step S142, according to the scene requirements of the user's visual expression, a suitable large-screen theme template is selected from a variety of scene templates through the large-screen template selection button; if the pre-stored scene template cannot meet the scene requirements of the visual expression, other large-screen styles can be customized through the large-screen style parameter configuration box; for example, the resolution, font style, background image and background color of the data large screen.
[0072] In step S143, the data analyzer to be displayed in the data large screen is selected through the large screen template selection button, and the selected data analyzer is displayed in the canvas; wherein one or more data analyzers can be displayed in the canvas of the data large screen.
[0073] In step S144, a corresponding data chart style is configured for each data analyzer displayed on the canvas of the data large screen, and the configured data analyzer is dragged to the corresponding position of the data large screen; and a chart linkage is created for the data charts displayed on the data large screen that need to be linked with the charts.
[0074] In step S145, the configuration effect of the data large screen is displayed through the preview button.
[0075] In step S146, the configuration information of the data large screen customization interface is saved, thereby completing the customization of the data large screen. Figure 4 shown.
[0076] In one embodiment, the data screen realizes linkage analysis between data charts through interactive linkage functions. Fig. 9 As shown. After configuring a field of data chart A and data chart B as a linkage parameter, when data chart A is selected on the data screen, data chart B with an interactive linkage relationship will change accordingly, allowing users to improve their control over data and data perspective when operating specific business analysis charts. For example, when adding the "Education Age Distribution" component as a trigger, its "education" field as an output condition, and "City Salary Ranking" as a linkage data chart, and its "education" field as an input condition, clicking on the chart element in the "Education Age Distribution" component will conditionally filter the data in the "City Salary Ranking" according to the input "education" content.
[0077] Corresponding to the above method, the present invention also provides a system based on dragging and dropping a large screen of designated data, the system comprising a computer device, the computer device comprising a processor and a memory, the memory storing computer instructions, the processor being used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the system implements the steps of the method based on dragging and dropping a large screen of designated data as described above.
[0078] The functional architecture of the above system based on dragging and dropping the specified data large screen is as follows Figure 5 As shown, it includes a multi-source data access unit, a data view building unit, a chart data filling unit and a data large screen customization unit; the multi-source data access unit is used to access various types of data from external data sources, and perform configuration and viewing of multi-source data; the data view building unit is used to customize SQL condition fields, and perform automatic mapping of each data field in the multi-source data to form corresponding data assets; the chart data filling unit is used to perform data screening, recommend fillable data charts, complete the filling of data charts, and perform data analysis and early warning according to user needs; the data large screen customization unit is used to configure data chart styles, data large screen styles, data large screen layouts and data chart linkage.
[0079] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for customizing a large screen of data based on dragging and dropping are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0080] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.
[0081] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0082] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.
[0083] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for customizing a large data screen based on dragging and dropping, characterized in that: The method comprises the following steps: The data access step is used to automatically access multi-source data by configuring connection information of various types of data sources; Data asset construction step: automatically mapping data fields into dimensions or indicators according to the types of data fields in the accessed data to construct data assets containing the dimensions and indicators; A data chart filling step is used to automatically prompt fillable data charts for selection according to the dimensions and number of indicators of the constructed data assets, and fill the constructed data assets into the selected data chart; The customization step is used to drag a plurality of filled data charts into the data large screen, layout the data large screen and configure the styles of the data charts and the data large screen to obtain a customized data large screen.
2. The method according to claim 1, characterized in that: The access to multi-source data includes: for a data source of a library table type, access is performed by inputting a database URL, a user name and a password as connection information; for a data source of offline data in Excel or CSV format, parsing and storing the data into a library table type data source by configuring the offline file path and format, and then accessing the data source through the access method of the library table type data source; and / or for a data source from a Rest interface and an external system, access is performed by configuring the URL and request parameters; After multi-source data is connected, it can be viewed through a visual interface.
3. The method according to claim 1, characterized in that: The method of automatically mapping data fields into dimensions or indicators according to the types of data fields in the accessed data to construct data assets containing the dimensions and indicators includes: automatically mapping data fields of string type into dimensions, automatically mapping data fields of numeric type into indicators, and obtaining the data assets based on the dimensions and indicators obtained after mapping.
4. The method according to claim 1, characterized in that: The data asset construction step further includes, before automatically mapping the data fields into dimensions or indicators according to the types of the data fields in the accessed data: The SQL statement representing the conditional field is executed for the selected accessed data source, and the execution result is returned, so as to perform the automatic mapping based on the returned execution result.
5. The method according to claim 1, characterized in that The method of automatically prompting a fillable data chart for selection according to the dimensions and the number of indicators of the constructed data assets, and filling the constructed data assets into the selected data chart, includes: Select the data asset to be filled into the data chart through the interface, and display the dimension and indicator information in the data asset synchronously in the interface; Based on the needs of visualization, the dimensions and indicators in the data asset can be filtered by dragging and dropping, and the available data charts are automatically prompted for selection based on the number of filtered dimensions and indicators; Select a data chart and fill the dimensions and indicators of the filtered data assets into the selected data chart.
6. The method according to claim 5, characterized in that The data chart filling step also includes the construction of a data analyzer, which is used to display a data chart filled in correspondence with a data asset, dynamically filter dimensions and indicators that need to be visualized according to business scenarios, and freely switch charts and / or sort and sum indicators.
7. The method according to claim 1, characterized in that The step of laying out the data screen and configuring the data chart and the style of the data screen to obtain a customized data screen includes: Configure the style parameters of the data large screen and / or select a large screen theme template to implement the configuration of the data large screen style based on the configured style parameters or template; Select a data analyzer for displaying data charts, use the data analyzer to build a chart configuration interface, configure the style parameters of the data chart based on the configuration interface, and drag and drop the position of the data analyzer in the data screen to configure the data chart style and layout the data screen; Select data charts to create linkages between data charts; Based on the configuration of the data screen style, the configuration of the chart style, the layout of the data screen and the created linkage information, the data screen is filled with data charts to obtain a customized data screen.
8. The method according to claim 1, characterized in that The method further includes: setting a warning threshold and a warning period for one or more indicators, and triggering a warning prompt when a corresponding indicator in the chart data exceeds the threshold.
9. A large screen system based on dragging and dropping customized data, comprising a processor and a memory, characterized in that: The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the system implements the steps of the method as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
