Data visualization method and system based on data business card type plug-in

The data visualization method and system using the data business card plugin solves the problem of the complexity of drawing charts for multiple datasets with different structures. It enables the simultaneous output of multiple different types of charts in a single visualization component, simplifying operations and expanding system functionality.

CN120910145APending Publication Date: 2025-11-07北京溪歌科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511006464.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

Existing data visualization systems cannot effectively handle multiple datasets with different structures, resulting in complex operations and an inability to draw multiple different types of charts in a single visualization component.

Method used

It adopts a data name card plugin, which includes dataset name cards and field name cards. The dataset name card marks the need to generate charts, and the field name card marks the field attributes. Combined with the plotter, the chart is drawn, and it supports the drawing of charts for multiple datasets.

Benefits of technology

It simplifies user operations and enables the simultaneous output of multiple different types of charts in a single visualization component, expanding the system's visualization capabilities and application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120910145A_ABST
    Figure CN120910145A_ABST
Patent Text Reader

Abstract

The invention discloses a data visualization method based on a data business card type plug-in. The method comprises the steps that a selected predefined visualization plug-in is added to a to-be-generated chart; the visual plug-in comprises basic description information, a drawing device and a data business card; the data business card comprises a data set business card and a field business card; the data set business card is used for describing the chart generation requirement of the data set; the field business cards are used for describing field attributes in the data set; marking the selected data set by using a data set business card in the added visual plug-in, and marking a field in the selected data set by using a field business card; and calling a drawing device to process the marked data sets, determining the requirements of the data sets for generating charts according to the data set business cards, calling corresponding data according to the field business cards so as to draw the charts, and outputting charts drawn by one or more data sets. Therefore, according to the method and the device, the production of a plurality of different charts can be realized at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data visualization, in particular to a data visualization method and system. BACKGROUND

[0002] With the continuous development of enterprise business, a large amount of business data has been accumulated, which contains rich information and potential value. However, simple data storage and management cannot directly translate into decision support for enterprises. Enterprises need to use effective data analysis methods to mine the value behind the data. Data visualization, as an intuitive and efficient data analysis method, can display complex data in the form of graphs, charts, etc., helping users quickly understand the distribution, trend and correlation of data, thereby providing strong support for enterprise decision-making. Therefore, data visualization systems have emerged as the best solution to the needs of enterprise mass data management and analysis, which not only helps enterprises better utilize data resources, but also improves the operational efficiency and competitiveness of enterprises.

[0003] The current data visualization system uses fixed dimension and index concept to associate data sets when making visualization components, so it can only process data sets with dimension and index structure, such as line charts and column charts, but cannot make charts with complex data structures that cannot be described by dimensions or indexes (such as relationship charts, box charts, geographic coordinates and line combination charts), limiting the types of charts that the system can support and expand.

[0004] Chinese patent CN113886664A "Data visualization method and system based on data label type chart plug-in" sets a visualization plug-in containing data labels and drawing functions, and the data label binding information in the chart information is used to extract chart data from the data set and execute chart drawing, so as to realize the drawing of charts with complex data structures. However, in some cases, users need to draw and display multiple data sets with different structures in one visualization component, such as data set 1 containing fields: region name, sales, and data set 2 containing fields: longitude, latitude, region name, sales, which requires them to be drawn in one chart, with data set 1 drawn as a column chart and data set 2 drawn as a map. However, in the prior art, one visualization plug-in can only associate one data set scenario, and multiple different visualization types of data set chart drawing need to be drawn multiple times and using different visualization plug-ins, which makes the operation complex. SUMMARY

[0005] Based on this, in order to solve the problem of complex operation when different types of charts are drawn for multiple data sets, a data visualization method and system based on data card type plug-in are provided.

[0006] In a first aspect, a data visualization method based on a data card type plug-in is provided, the method comprising:

[0007] In response to a user input of a selected predefined visualization plug-in command, a selected predefined visualization plug-in is added for a to-be-generated chart; the visualization plug-in includes basic description information, a plotter, and a data card; the data card includes a plurality of data set cards and field cards; the data set card is used to describe the demand of the generated chart of the data set; the field card is used to describe the field attribute in the data set; and the demand of the generated chart includes a generated chart type;

[0008] In response to a user input of a selected data set command, a selected data set is used as a data source of the to-be-generated chart; the selected data set command contains one or more data sets;

[0009] One or more data set cards in the added visualization plug-in are used to mark the selected data set, and the field card is used to mark the field in the selected data set;

[0010] The plotter is called to process the marked data set, the demand of the data set for generating a chart is determined according to the data set card, the corresponding data is called according to the field card, the chart is drawn, and one or more data sets are output.

[0011] In the above scheme, optionally, the basic description information of the visualization plug-in includes basic identification and description information.

[0012] In the above scheme, optionally, the data set card includes a name and description information.

[0013] In the above scheme, optionally, the field card includes a name and description information.

[0014] In the above scheme, further optionally, the field card further includes data set card information.

[0015] In the above scheme, optionally, the demand of the generated chart further includes a color demand and a personalized demand.

[0016] In the above scheme, optionally, the data set card in the visualization plug-in is used to mark the selected data set, the data set card in the visualization plug-in is used to mark the selected data set, and the field card is used to mark the field in the selected data set.

[0017] receiving a data set name card marking instruction input by a user, the data set name card marking instruction including a selected data set name card and a corresponding data set, so as to mark the corresponding selected data set by using the selected data set name card;

[0018] receiving a field name card marking instruction input by a user, the field name card marking instruction including a selected field name card and a corresponding field, so as to mark the field of the corresponding selected data set by using the selected field name card.

[0019] In a second aspect, a data visualization system based on a data name card type plug-in, the system comprising:

[0020] a visualization plug-in selection module configured to add a selected predefined visualization plug-in to a chart to be generated in response to a selected predefined visualization plug-in instruction input by a user; the visualization plug-in including basic description information, a renderer, and data name cards; the data name cards including a plurality of data set name cards and field name cards; the data set name cards being configured to describe generation chart requirements of data sets; the field name cards being configured to describe field attributes in the data sets; and the generation chart requirements including a generation chart type;

[0021] a data set selection module configured to select data sets as data sources of the chart to be generated in response to a data set selection instruction input by a user; the data set selection instruction including one or more data sets

[0022] a data set marking module configured to mark the selected data sets by using one or more data set name cards in the added visualization plug-in, and mark fields in the selected data sets by using the field name cards;

[0023] a chart rendering module configured to call the renderer to process the marked data sets, determine generation chart requirements of the data sets according to the data set name cards, call corresponding data according to the field name cards to perform chart rendering, and output one or more rendered charts of the data sets.

[0024] In a third aspect, a computer device includes a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the data visualization method based on the data name card type plug-in according to the first aspect when executing the computer program.

[0025] In a fourth aspect, a computer readable storage medium stores a computer program, and the computer program implements the steps of the data visualization method based on the data name card type plug-in according to the first aspect when executed by a processor.

[0026] The present application has at least the following beneficial effects:

[0027] The application sets the visualization plug-in containing the data set name card and the field name card, marks the generation chart demand of the data set by the data set name card, marks the field attribute in the data set by the field name card, and then according to the generation chart demand of the data set, calls the corresponding data according to the field name card to draw the chart, and outputs one or more drawn charts of the data set. Multiple different charts can be output at one time, and the user operation is simplified. BRIEF DESCRIPTION OF DRAWINGS

[0028] Figure 1 A flowchart of a data visualization method based on a data name card type plug-in is provided for an embodiment of the application. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical scheme and advantages of the application clearer, the application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application and not to limit the application.

[0030] In one embodiment, as shown in Figure 1 A data visualization method based on a data name card type plug-in is provided, and the method comprises:

[0031] Step S1: in response to the selected pre-defined visualization plug-in command input by the user, adding the selected pre-defined visualization plug-in to the chart to be generated; the visualization plug-in includes basic description information, a renderer, and a data name card; the data name card includes: a plurality of data set name cards and field name cards; the data set name card is used to describe the generation chart demand of the data set; the field name card is used to describe the field attribute in the data set; and the generation chart demand includes the generation chart type.

[0032] In step S1, the visualization plug-in is independent of the visualization system, is implemented by the plug-in developer, can be installed into the visualization system, and draws the visualization component. In addition to defining the basic identification and description information and the renderer containing executable code for drawing the visualization component, the visualization plug-in also defines the data name card information.

[0033] The data name card has two types: data set name card and field name card. The data set name card is composed of name, description and other information, and is used to mark the data set. One visualization plug-in can contain multiple data set name cards. The field name card is composed of name, description, and the data set name card to which it belongs, and is used to mark the field in the data set. One visualization plug-in can contain multiple field name cards. The data set name card to which the field name card belongs is optional information. If it is set, it can only mark the data set field marked with the data set name card. If it is not set, it can mark any data set field.

[0034] The user opens the visualization component definition operation interface of the visualization system, and selects a plug-in to be used from the visualization plug-ins installed in the system.

[0035] The generation chart requirement includes a chart type to be generated, i.e. a column chart, a sector, a map, etc. Field attributes such as month, sales, etc.

[0036] Step S2: in response to a user inputted command of selecting a data set as a data source of the chart to be generated; the command of selecting the data set contains one or more data sets.

[0037] In step S2, the user selects one or more data sets to be visualized; the visualization system reads all the selected data sets and their field lists, and displays them in the operation interface, while providing a data card marking operation button for each data set and its field.

[0038] Step S3: marking the selected data sets with one or more data set cards in the added visualization plug-in, and marking the fields in the selected data sets with the field cards.

[0039] In step S3, the user marks a data set card for each data set to be visualized in the visualization component, and marks a field card for each field to be visualized in the data set.

[0040] Step S4: calling the renderer to process the marked data sets, determining the chart generation requirement of the data set according to the data set card, retrieving corresponding data according to the field card to perform chart drawing, and outputting one or more drawn charts of the data sets.

[0041] In step S4, the visualization system loads the renderer of the selected plug-in of the visualization component, reads the data of the selected data set of the visualization component, and passes the data card marking information to the plug-in renderer together. The plug-in renderer reads the data set information marked by the specified data set card according to the data card marking information, reads the field information of the data set marked by the specified field card, then reads the corresponding data set data according to the data set field information, constructs drawing data, and draws the visualization component in the interface.

[0042] In the above data visualization method based on the data card type plug-in, the visualization plug-in containing the data set card and the field card is set, the chart generation requirement of the data set is marked by the data set card, the field attribute in the data set is marked by the field card, and then the corresponding data is retrieved according to the field card to perform chart drawing according to the chart generation requirement of the data set, while outputting one or more drawn charts of the data sets. Multiple different charts can be output at a time, simplifying the user operation.

[0043] In one embodiment, the basic description information of the visualization plug-in includes basic identification and description information.

[0044] In one embodiment, the data set name card includes name and description information.

[0045] In one embodiment, the field name card includes name and description information, such as time, sales, region, etc.

[0046] In one embodiment, the field name card further includes the data set name card information. The data set name card information in the field name card is optional information. If it is set, it can only be marked in the data set field marked with the data set name card. If it is not set, it can be marked in any data set field.

[0047] In one embodiment, the requirement for generating the chart further includes color requirement and personalization requirement. The color requirement is the generation color of the chart; the personalization requirement includes font type, background image setting of the chart, etc.

[0048] In one embodiment, the marking of the selected data set by using the data set name card in the visualization plug-in and the marking of the field in the selected data set by using the field name card further include:

[0049] receiving a data set name card marking instruction input by the user, the data set name card marking instruction including a selected data set name card and a corresponding data set, so as to mark the corresponding selected data set by using the selected data set name card;

[0050] receiving a field name card marking instruction input by the user, the field name card marking instruction including a selected field name card and a corresponding field, so as to mark the field of the corresponding selected data set by using the selected field name card.

[0051] In one embodiment, a data visualization system based on data name card type plug-in, the system includes:

[0052] a visualization plug-in selection module for adding a selected predefined visualization plug-in to a chart to be generated in response to a user input selected predefined visualization plug-in command; the visualization plug-in includes basic description information, a renderer, and a data name card; the data name card includes a plurality of data set name cards and field name cards; the data set name card is used to describe the data set generation chart requirement; the field name card is used to describe the field attribute in the data set; the generation chart requirement includes the generation chart type;

[0053] a data set selection module for selecting data set as the data source of the chart to be generated in response to a user input selected data set command; the selected data set command contains one or more data sets;

[0054] data set marking module: for marking selected data sets with added one or more data set name cards in the visualization plug-in, and marking fields in the selected data sets with the field name cards;

[0055] chart drawing module: for calling a drawer to process the marked data sets, determining the demand of generating charts according to the data set name cards, calling corresponding data according to the field name cards to draw charts, and outputting one or more drawn charts of the data sets.

[0056] The application provides a data visualization system based on data name card type plug-ins and an implementation method thereof, so that a system user can intuitively view and understand the data structure of a visualization component to be made, the system supports making a visualization component of an arbitrary complex data structure, supports associating an arbitrary number of data sets in one visualization component, supports developing a visualization plug-in in a manner independent of the system, and the plug-in can be used after installation, thereby greatly expanding the visualization function and application scenarios of the system.

[0057] The specific definition of the data visualization system based on data name card type plug-ins can be seen from the definition of the data visualization method based on data name card type plug-ins, which will not be repeated here. The modules in the data visualization system based on data name card type plug-ins can be all or part of software, hardware, and combinations thereof. The modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the modules.

[0058] In an embodiment, a computer device is provided, which can be a server. The computer device includes a processor, a memory, and a network interface connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement the data visualization method based on data name card type plug-ins.

[0059] In an embodiment, a computer readable storage medium is also provided, which stores a computer program. The computer program is executed by the processor to implement all or part of the processes in the above-mentioned embodiments.

[0060] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0061] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, but as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.

[0062] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A data visualization method based on data business card style plug-in, characterized in that, The method comprises: adding a selected predefined visualization plug-in to a chart to be generated in response to a user inputted selected predefined visualization plug-in command; the visualization plug-in comprises basic description information, a renderer, and a data card; the data card comprises a plurality of data set cards and field cards; the data set card is used to describe a chart generation requirement of a data set; the field card is used to describe a field attribute in the data set; and the chart generation requirement comprises a chart type; selecting a data set as a data source of the chart to be generated in response to a user inputted data set selection command; the data set selection command comprises one or more data sets; labeling the selected data set by using one or more data set cards in the added visualization plug-in, and labeling a field in the selected data set by using the field card; calling the renderer to process the labeled data set, determining a chart generation requirement of the data set according to the data set card, calling corresponding data according to the field card to perform chart drawing, and outputting one or more drawn charts of the data set.

2. The data visualization method based on the data card type plug-in according to claim 1, characterized in that, The basic description information of the visualization plug-in comprises basic identification and description information.

3. The data visualization method based on the data card type plug-in according to claim 1, characterized in that, The data set card comprises a name and description information.

4. The data visualization method based on the data card type plug-in according to claim 1, characterized in that, The field card comprises a name and description information.

5. The data visualization method based on the data card type plug-in according to claim 4, characterized in that, The field card further comprises data set card information.

6. The data visualization method based on the data card type plug-in according to claim 1, characterized in that, The chart generation requirement further comprises color requirements and individualization requirements.

7. The data visualization method based on the data card type plug-in according to claim 1, characterized in that, Labeling the selected data set by using the data set card in the visualization plug-in, and labeling a field in the selected data set by using the field card further comprises: receiving a user inputted data set card labeling instruction, the data set card labeling instruction comprising a selected data set card and a corresponding data set, to label the corresponding selected data set by using the selected data set card; receiving a user inputted field card labeling instruction, the field card labeling instruction comprising a selected field card and a corresponding field, to label a field of the corresponding selected data set by using the selected field card.

8. A data visualization system based on a data business card plug-in, characterized by, The system comprises: a visualization plug-in selection module configured to add a selected predefined visualization plug-in to a chart to be generated in response to a user inputted selected predefined visualization plug-in command; the visualization plug-in comprises basic description information, a renderer, and a data card; the data card comprises a plurality of data set cards and field cards; the data set card is used to describe a chart generation requirement of a data set; the field card is used to describe a field attribute in the data set; and the chart generation requirement comprises a chart type; a data set selection module configured to select a data set as a data source of the chart to be generated in response to a user inputted data set selection command; the data set selection command comprises one or more data sets a data set labeling module configured to label the selected data set by using one or more data set cards in the added visualization plug-in, and label a field in the selected data set by using the field card; and a chart drawing module configured to call the renderer to process the labeled data set, determine a chart generation requirement of the data set according to the data set card, call corresponding data according to the field card to perform chart drawing, and output one or more drawn charts of the data set. Chart drawing module: for calling the drawer to process the marked data set, determining the demand of generating chart according to the data set name card, calling the corresponding data according to the field name card to draw chart, and outputting one or more data set charts. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data visualization method and system based on data label type chart plug-in

    CN113886664A