CN110674227A - Method, system, medium and terminal for generating data visualization chart and page - Google Patents

Method, system, medium and terminal for generating data visualization chart and page Download PDF

Info

Publication number
CN110674227A
CN110674227A CN201910893886.XA CN201910893886A CN110674227A CN 110674227 A CN110674227 A CN 110674227A CN 201910893886 A CN201910893886 A CN 201910893886A CN 110674227 A CN110674227 A CN 110674227A
Authority
CN
China
Prior art keywords
page
chart
data visualization
data
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910893886.XA
Other languages
Chinese (zh)
Inventor
王斌
丰晶霞
陈立德
皮丕文
金晟俊
李彦勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI ORIENTAL PEARL DIGITAL TV CO Ltd
Shanghai Dongfang Fulian Technology Co Ltd
Original Assignee
SHANGHAI ORIENTAL PEARL DIGITAL TV CO Ltd
Shanghai Dongfang Fulian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI ORIENTAL PEARL DIGITAL TV CO Ltd, Shanghai Dongfang Fulian Technology Co Ltd filed Critical SHANGHAI ORIENTAL PEARL DIGITAL TV CO Ltd
Priority to CN201910893886.XA priority Critical patent/CN110674227A/en
Publication of CN110674227A publication Critical patent/CN110674227A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method, a system, a medium and a terminal for generating a data visualization chart and a page. The method comprises the following steps: selecting any statistical attribute data from data resources comprising at least two statistical attribute data, and extracting field names from the selected statistical attribute data; selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built, and generating a data visual chart; creating a chart page; and adding the generated data visualization chart to a chart page to generate a data visualization page. The invention reduces the operation difficulty of data visualization and the difficulty of page design; the created visual chart can be managed in a unified manner, so that the subsequent work of query maintenance and the like is facilitated, and the flexibility and the management efficiency of chart editing and modification are improved; by adopting the micro-service architecture, the single error does not influence the overall stability, and the processing efficiency of the CPU is improved.

Description

Method, system, medium and terminal for generating data visualization chart and page
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a method, a system, a medium and a terminal for generating a data visualization chart and a page.
Background
At present, in the fields of Internet of things and smart cities, data has the characteristics of large volume, various types and the like, and cannot be visually presented, so that the understanding of a user on the data is reduced; meanwhile, in the field of data visualization display, although the display forms are diverse, the flexibility and operability are weak, and the requirements of users cannot be met.
Disclosure of Invention
In view of the above disadvantages of the prior art, an object of the present invention is to provide a method, a system, a medium, and a terminal for generating a data visualization chart and a page, which satisfy most of requirements of presentation forms in terms of flexibility and operability, and enable a user to quickly create the data visualization chart and the page, so as to solve the problems in the prior art that the data visualization technology has low flexibility and poor operability, cannot create a chart in a manner of directly selecting resource information and a chart type through a page, and has high difficulty in designing a chart page, and cannot satisfy the requirement of the user for quickly modifying the chart page.
In order to achieve the above objects and other related objects, an aspect of the present invention provides a method for generating a data visualization chart and a page, including the following steps: selecting any statistical attribute data from data resources comprising at least two statistical attribute data, and extracting a field name from the selected statistical attribute data; selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built, and generating a data visual chart; creating a chart page; adding the generated data visualization chart to the chart page to generate a data visualization page.
In an embodiment of the present invention, after the field to be displayed is selected, the method for generating a data visualization chart and a page further includes calculating the field based on a preset calculation program, where the calculation method includes any one of the following: calculating the total number; calculating an average; calculating a minimum value; calculating a maximum value; the sum is calculated.
In an embodiment of the present invention, the generated data visualization chart includes the following two states: issuing a state; when the data visualization chart is in a release state, the data visualization chart is not subjected to any operation; an unreleased state; when the data visualization chart is in an unpublished state, the data visualization chart can be re-edited or deleted.
In an embodiment of the present invention, the creating the chart page includes the following steps: receiving an input instruction and determining a page name; selecting any page template from preset page templates; and displaying the chart page generated according to the page template.
In an embodiment of the present invention, the creating of the chart page further includes managing the preset page template, and the managing of the preset page template includes any one or a combination of the following management manners: setting the name of the preset page template; setting the line number of the preset page template; setting the column number of the preset page template; and typesetting the preset page template.
In an embodiment of the present invention, the step of adding the generated data visualization chart to the chart page to generate the data visualization page includes reading an operation action occurring on the data visualization chart, and adding the data visualization chart to a corresponding position on the chart page according to the operation action.
In an embodiment of the present invention, after the data visualization page is generated, the method for generating a data visualization chart and a page further includes publishing the data visualization page; receiving a publishing instruction, selecting a data visualization page to be published, and determining a publishing path so as to publish the data visualization page to a specified address.
Another aspect of the present invention provides a system for generating a data visualization chart and a page, including: the method comprises the steps of selecting an extraction module, a first generation module, a page creation module and a second generation module; the selection extraction module is used for selecting any statistical attribute data from the data resources comprising at least two statistical attribute data and extracting the field name from the selected statistical attribute data; the first generation module is used for selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built and generating a data visual chart; the page creating module is used for creating a chart page; the second generation module is used for adding the generated data visualization chart to the chart page to generate a data visualization page.
Yet another aspect of the present invention provides a storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the method for generating a data visualization chart and a page as described above.
A final aspect of the present invention provides a terminal, including: a processor and a memory; the memory is used for storing a computer program; the processor is used for executing the computer program stored in the memory so as to enable the terminal to execute the method for generating the data visualization chart and the page.
As described above, the method, system, medium and terminal for generating a data visualization chart and a page according to the present invention have the following advantages:
(1) the operation difficulty of data visualization is reduced by automatically acquiring data resources, selecting a diagram and simply calculating a field;
(2) the page template is preset, and the created and issued diagram is put into the display page in a dragging and pulling mode, so that the difficulty of page design is reduced, and the flexibility is improved;
(3) the created visual chart can be managed in a unified manner, so that the subsequent work of query maintenance and the like is facilitated, and the flexibility and the management efficiency of chart editing and modification are improved;
(4) by adopting the micro-service architecture, the single error does not influence the overall stability, and the processing efficiency of the CPU is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for generating a data visualization chart and a page according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of an operation interface for selecting data and extracting field names according to an embodiment of the invention.
FIG. 3 is a schematic diagram of an operation interface for selecting and determining chart types in one embodiment of the invention.
FIG. 4 is a flow chart illustrating the creation of a chart page in one embodiment of the invention.
FIG. 5 is a schematic diagram of an operation interface of the create chart page according to an embodiment of the invention.
FIG. 6 is a schematic view of an operation interface for editing content of a chart page according to an embodiment of the present invention.
Fig. 7 is a schematic page diagram of a data visualization page according to an embodiment of the invention.
FIG. 8 is a schematic diagram illustrating the structure of a data visualization chart and a page generation system according to an embodiment of the present invention.
Description of the element reference numerals
81 selection extraction module
82 first generation module
83 field calculation module
84 Page creation module
85 second generation module
86 page publishing module
Method for generating visualized charts and pages of data from S1 to S6 and principle flow steps
S41-S43 Chart page creation step
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The technical principles of the method, the system, the medium and the terminal for generating the data visualization chart and the page are as follows: the method for generating the data visualization chart and the page comprises the following steps: selecting any statistical attribute data from data resources comprising at least two statistical attribute data, and extracting a field name from the selected statistical attribute data; selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built, and generating a data visual chart; creating a chart page; adding the generated data visualization chart to the chart page to generate a data visualization page.
Example one
The embodiment provides a method for generating a data visualization chart and a page, which comprises the following steps:
selecting any statistical attribute data from data resources comprising at least two statistical attribute data, and extracting a field name from the selected statistical attribute data;
selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built, and generating a data visual chart;
creating a chart page;
adding the generated data visualization chart to the chart page to generate a data visualization page.
The method for generating the data visualization chart and the page provided by the present embodiment will be described in detail below with reference to fig. 1 to 7.
Referring to fig. 1, a flow chart of a method for generating a data visualization chart and a page according to an embodiment of the invention is shown. As shown in fig. 1, the method for generating a data visualization chart and a page of the present invention includes the following steps:
s1, selecting any statistical attribute data from the data resources including at least two statistical attribute data, and extracting the field name from the selected statistical attribute data.
Please refer to fig. 2, which is a schematic diagram of an operation interface for selecting data and extracting field names according to an embodiment of the present invention. As shown in fig. 2, after accessing a data resource of a back end (data interaction is performed between the front end and the back end) based on an eChats (graphs library) plug-in of the front end, a certain data to be displayed is selected from the data resource, and a field name is extracted from the selected data.
It should be noted that the data resource includes at least two statistical attribute data, that is, different statistical attribute data generated by classifying all data according to statistical attributes, and then selecting a statistical attribute data from the different statistical attribute data; further, a field name is extracted from the selected statistical attribute data.
Data resources are all structured data, the structured data can be represented and stored by using a relational database, and is represented as data in a two-dimensional form, and the data resources are generally characterized in that: data is in row units, one row of data represents information of one entity, and the attribute of each row of data is the same, such as:
the field name is the attribute represented by each column.
The front end adopts an eunhats plug-in, eunhats and a pure Javascript diagram library, and based on a Canvas component (the Canvas is a component for drawing various shapes), the bottom layer depends on a Zrender (the Zrender is a two-dimensional drawing engine and is also a renderer of eunhats), and a common diagram library of commercial products provides a data visualization diagram which is intuitive, vivid, interactive and customizable; the innovative features of dragging recalculation, data view, value range roaming and the like greatly enhance the user experience and endow the user with the capability of mining and integrating data. Chart types support line graphs (area graphs), bar graphs (bar graphs), scatter graphs (bubble graphs), K-line graphs, pie graphs (ring graphs), radar graphs (filled radar graphs), and chord graphs, force directed layout graphs, maps, while supporting pile-up and multi-chart hybrid presentations in arbitrary dimensions. eChats support chart types and contain components as detailed in tables 1 and 2 below.
TABLE 1
TABLE 2
Figure BDA0002209629720000053
Furthermore, the back end adopts a micro-service architecture. The micro-service architecture is a new technology for deploying applications and services in the cloud, the micro-service does not need to be an independent function or an independent resource like common services, and the micro-service needs to be matched with the service capability; the basic idea of microservices is to consider creating applications around business domain components that can be developed, managed and accelerated independently; the use of microservice cloud architectures and platforms in decentralized components makes deployment, management, and service function delivery simpler.
And S2, selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built, and generating the data visual chart. The selection instruction is issued by the user. Specifically, the user can perform different selection operations on the operation interface through the mouse.
Please refer to fig. 3, which is a schematic diagram of an operation interface for selecting and determining a chart type according to an embodiment of the present invention. As shown in fig. 3, according to the selection instruction, a field to be displayed is selected from the field names extracted from the selected statistical attribute data, and the type of the visual chart to be created is determined, so as to generate the data visual chart.
S3, after selecting the field to be displayed, calculating the field based on a preset calculation program, where the calculation method includes any one of the following: calculating the total number; calculating an average; calculating a minimum value; calculating a maximum value; the sum is calculated.
Specifically, calculation programs corresponding to different calculation modes are preset at the back end, and according to the calculation instruction, as shown in fig. 3, the calculation mode corresponding to the calculation instruction is directly selected, for example, "total number" is calculated, "average number" is calculated, "minimum value" is calculated, "maximum value" is calculated, and "total sum" is calculated, so that the corresponding calculation result can be directly obtained; the calculation instruction is sent by a user; specifically, a user can select different calculation modes on an operation interface through a mouse, so that different calculation instruction operations are executed, and the corresponding calculation purpose is realized.
It should be noted that, besides the above calculation method, other simple calculations may be performed on the preset field, in this embodiment, the calculation method of the preset field is not taken as a condition for limiting the present invention, and similarly, according to the actual use requirement, what kind of calculation method is needed, the calculation program corresponding to the calculation method is preset at the back end, and is not described herein again.
In this embodiment, the generated data visualization chart includes the following two states:
issuing a state; and when the data visualization chart is in a release state, not performing any operation on the data visualization chart.
An unreleased state; when the data visualization chart is in an unpublished state, the data visualization chart can be re-edited or deleted. Specifically, the re-editing of the data visualization chart includes re-selecting a field to be displayed and/or re-selecting a type of the visualization chart to be created.
Similarly, the data visualization chart may be subjected to other editing operations, and the editing operation is not particularly limited as long as the editing operation can be performed on the editable content displayed on the data visualization chart.
And S4, creating a chart page.
Referring to fig. 4 and 5, fig. 4 is a flowchart illustrating the process of creating a chart page according to an embodiment of the present invention, and fig. 5 is a schematic view illustrating an operation interface of the process of creating a chart page according to an embodiment of the present invention. As shown in FIG. 4, creating the chart page includes the steps of:
and S41, receiving an input instruction and determining the page name.
Specifically, the page name of the chart page is determined according to the received input instruction.
And S42, selecting any page template from the preset page templates.
Specifically, the preset page template includes one or more page templates, and a certain page template is selected from the page templates according to a received input instruction.
It should be noted that the input instruction is issued by the user; specifically, the user may type the page name by using a mouse, and select a page template from the preset page templates by using the mouse.
In this embodiment, creating the chart page further includes managing the preset page template, where the management of the preset page template includes any one or a combination of the following management manners: setting the name of the preset page template; setting the line number of the preset page template; setting the column number of the preset page template; and typesetting the preset page template.
Specifically, one or more page templates included in the preset page template are preset and stored at the back end, and the page templates stored at the back end can be managed, including management operations on names, line numbers, column numbers, typesetting modes and the like.
And S43, displaying the chart page generated according to the page template.
Specifically, after the page name of the graph page and the page template are determined, a graph page corresponding to the page template is automatically generated, and the graph page is created.
And S5, adding the generated data visualization chart to the chart page to generate a data visualization page.
In this embodiment, the step of adding the generated data visualization chart to the chart page to generate the data visualization page includes reading an operation action occurring on the data visualization chart, and adding the data visualization chart to a corresponding position on the chart page according to the operation action.
Specifically, the data visualization chart is subjected to corresponding operation actions through a mouse, wherein the operation actions comprise operation modes such as dragging and pulling, the operation actions are read, the generated data visualization chart is added to the corresponding position of the chart page according to the operation actions, and the content of the chart page is edited.
Further, the generated data visualization chart can be published, so that the data visualization chart presents a publishing state.
Please refer to fig. 6, which is a schematic diagram illustrating an operation interface for editing content of a diagram page according to an embodiment of the present invention. As shown in fig. 6, when editing the content of the chart page, the published data visualization chart is displayed on the chart page (displayed on the right side of the chart page in fig. 6), a mouse is used to perform corresponding operation actions on the data visualization chart, including drag and drag operations, and the operation actions are read, so that the data visualization chart is added to the corresponding position of the chart page according to the operation actions, thereby implementing content editing on the chart page.
Please refer to fig. 7, which is a schematic page diagram of a data visualization page according to an embodiment of the present invention. As shown in fig. 7, the data visualization page includes two data visualization charts, one is a line graph of "civil defense-people flow statistics monitoring-sum" and the other is a bar graph of "civil defense-people flow statistics monitoring-average".
S6, after the data visualization page is generated, publishing the data visualization page; receiving a publishing instruction, selecting a data visualization page to be published, and determining a publishing path so as to publish the data visualization page to a specified address.
Specifically, the generated data visualization page is published; the issuing instruction is sent by a user; specifically, in a visual interface, a data visualization page to be published and a publishing path are selected through a mouse, and the data visualization page to be published and the publishing path are determined according to a received publishing instruction, so that the data visualization page can be published to a specified address.
Further, the method for generating the data visualization chart and the page provided by the embodiment is applied to the fields of the internet of things and smart cities, and particularly, the data visualization chart and the page are generated by the internet of things data and the government affairs data quickly.
According to the method for generating the data visualization chart and the page, the operation difficulty of data visualization is reduced by automatically acquiring data resources, selecting the chart and simply calculating the field; the page template is preset, and the created and issued diagram is put into the display page in a dragging and pulling mode, so that the difficulty of page design is reduced, and the flexibility is improved; the created visual chart can be managed in a unified manner, so that the subsequent work of query maintenance and the like is facilitated, and the flexibility and the management efficiency of chart editing and modification are improved; by adopting the micro-service architecture, the single error does not influence the overall stability, and the processing efficiency of the CPU is improved.
It should be noted that the protection scope of the method for generating a data visualization chart and a page according to the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the solutions implemented by adding, subtracting, and replacing the steps in the prior art according to the principle of the present invention are included in the protection scope of the present invention.
The present embodiment provides a storage medium on which a computer program is stored, which, when executed by a processor, implements the method for generating data visualization charts and pages.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned computer-readable storage media comprise: various computer storage media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Example two
The embodiment provides a system for generating a data visualization chart and a page, which includes: the method comprises the steps of selecting an extraction module, a first generation module, a page creation module and a second generation module;
the selection extraction module is used for selecting any statistical attribute data from the data resources comprising at least two statistical attribute data and extracting the field name from the selected statistical attribute data;
the first generation module is used for selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built and generating a data visual chart;
the page creating module is used for creating a chart page;
the second generation module is used for adding the generated data visualization chart to the chart page to generate a data visualization page.
The generation system of the data visualization chart and page provided by the present embodiment will be described in detail below with reference to the drawings.
Referring to fig. 8, a schematic structural diagram of a system for generating a data visualization chart and a page according to an embodiment of the present invention is shown. As shown in fig. 8, the system for generating data visualization charts and pages of the present invention includes: a selection extraction module 81, a first generation module 82, a field calculation module 83, a page creation module 84, a second generation module 85, and a page publication module 86.
The selection extraction module 81 is configured to select any statistical attribute data from the data resources including at least two statistical attribute data, and extract a field name from the selected statistical attribute data.
Specifically, after accessing a data resource of a back end, a certain data to be displayed is selected from the data resource based on an eChats plug-in of a front end, and a field name is extracted from the selected data.
The first generating module 82 is configured to select a field to be displayed from the field name according to a selection instruction, determine a type of a to-be-created visualization chart, and generate a data visualization chart.
Specifically, according to the selection instruction, selecting a field to be displayed from field names extracted from the selected statistical attribute data, determining the type of the visual chart to be built, and generating the data visual chart.
In this embodiment, the data visualization chart generated by the first generation module 82 includes the following two states:
a published state and an unpublished state. When the data visualization chart is in a release state, not performing any operation on the data visualization chart; when the data visualization chart is in an unpublished state, the data visualization chart may be re-edited or deleted. Specifically, the re-editing of the data visualization chart includes re-selecting a field to be displayed and/or re-selecting a type of the visualization chart to be created.
In this embodiment, the system for generating a data visualization chart and a page further includes a field calculation module 83, where the field calculation module 83 is configured to calculate the field based on a preset calculation program after the field to be displayed is selected, and the calculation manner includes any one of the following: calculating the total number; calculating an average; calculating a minimum value; calculating a maximum value; the sum is calculated.
The page creation module 84 is used to create chart pages.
Specifically, the page creating module 84 is configured to receive an input instruction, determine a page name, select any page template from preset page templates, and display the diagram page generated according to the page template, so as to create the diagram page.
In this embodiment, the page creating module 84 is further configured to manage the preset page template, and the management of the preset page template by the page creating module 84 includes any one or a combination of the following management manners: setting the name of the preset page template; setting the line number of the preset page template; setting the column number of the preset page template; and typesetting the preset page template.
The second generating module 85 is configured to add the generated data visualization chart to the chart page to generate a data visualization page.
Specifically, the data visualization chart is subjected to corresponding operation actions through a mouse, wherein the operation actions comprise operation modes such as dragging and pulling, the operation actions are read, the generated data visualization chart is added to the corresponding position of the chart page according to the operation actions, and the content of the chart page is edited.
In this embodiment, the adding of the generated data visualization chart to the chart page to generate the data visualization page is realized by reading an operation action occurring on the data visualization chart through the second generating module 85, and then adding the data visualization chart to a corresponding position of the chart page according to the operation action.
In this embodiment, the system for generating a data visualization chart and a page further includes a page publishing module 86, where the page publishing module 86 is configured to publish the data visualization chart after the data visualization page is generated; specifically, the page issuing module 86 selects the data visualization page to be issued by receiving the issuing instruction, and issues the data visualization page to the designated address after determining the issuing path.
It should be noted that the division of the modules of the above system is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the system, or may be stored in a memory of the system in the form of program code, and the function of the x module may be called and executed by a processing element of the system. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The generation system of the data visualization chart and the page reduces the operation difficulty of data visualization and the difficulty of page design; the created visual chart can be managed in a unified manner, so that the subsequent work of query maintenance and the like is facilitated, and the flexibility and the management efficiency of chart editing and modification are improved; by adopting the micro-service architecture, the single error does not influence the overall stability, and the processing efficiency of the CPU is improved.
EXAMPLE III
The embodiment provides a terminal, which comprises a processor and a memory.
The memory is for storing a computer program. Preferably, the memory comprises: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
The processor is connected with the memory and is used for executing the computer program stored in the memory so as to enable the terminal to execute the method for generating the data visualization chart and the page.
Preferably, the Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
It should be noted that the generation system of the data visualization chart and the page of the present invention can implement the generation method of the data visualization chart and the page of the present invention, but the implementation device of the generation method of the data visualization chart and the page of the present invention includes but is not limited to the structure of the generation system of the data visualization chart and the page listed in the present embodiment, and all the structural modifications and substitutions of the prior art made according to the principle of the present invention are included in the protection scope of the present invention.
In summary, the method, the system, the medium and the terminal for generating the data visualization chart and the page reduce the operation difficulty of the data visualization by automatically acquiring the data resources, selecting the chart and simply calculating the field; the page template is preset, and the created and issued diagram is put into the display page in a dragging and pulling mode, so that the difficulty of page design is reduced, and the flexibility is improved; the created visual chart can be managed in a unified manner, so that the subsequent work of query maintenance and the like is facilitated, and the flexibility and the management efficiency of chart editing and modification are improved; by adopting the micro-service architecture, the single error does not influence the overall stability, and the processing efficiency of the CPU is improved. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A method for generating a data visualization chart and a page is characterized by comprising the following steps:
selecting any statistical attribute data from data resources comprising at least two statistical attribute data, and extracting a field name from the selected statistical attribute data;
selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built, and generating a data visual chart;
creating a chart page;
adding the generated data visualization chart to the chart page to generate a data visualization page.
2. The method for generating data visualization charts and pages according to claim 1, wherein after the fields to be displayed are selected, the method for generating data visualization charts and pages further comprises calculating the fields based on a preset calculation program, and the calculation method includes any one of the following:
calculating the total number;
calculating an average;
calculating a minimum value;
calculating a maximum value;
the sum is calculated.
3. The method of generating data visualization charts and pages as recited in claim 1, wherein the generated data visualization chart comprises the following two states:
issuing a state; when the data visualization chart is in a release state, the data visualization chart is not subjected to any operation;
an unreleased state; when the data visualization chart is in an unpublished state, the data visualization chart can be re-edited or deleted.
4. The method of generating data visualization charts and pages according to claim 1, wherein said creating said chart page comprises the steps of:
receiving an input instruction and determining a page name;
selecting any page template from preset page templates;
and displaying the chart page generated according to the page template.
5. The method for generating a data visualization chart and page as claimed in claim 4, wherein the creating of the chart page further comprises managing the preset page template, and the managing of the preset page template comprises any one or a combination of several of the following management methods:
setting the name of the preset page template;
setting the line number of the preset page template;
setting the column number of the preset page template;
and typesetting the preset page template.
6. The method of claim 1, wherein the step of adding the generated data visualization chart to the chart page to generate the data visualization page comprises reading an operation action occurring on the data visualization chart, and adding the data visualization chart to a corresponding location on the chart page according to the operation action.
7. The method of generating data visualization charts and pages as recited in claim 1, wherein after generating the data visualization page, the method of generating data visualization charts and pages further comprises publishing the data visualization page; receiving a publishing instruction, selecting a data visualization page to be published, and determining a publishing path so as to publish the data visualization page to a specified address.
8. A system for generating data visualization charts and pages, comprising: the method comprises the steps of selecting an extraction module, a first generation module, a page creation module and a second generation module;
the selection extraction module is used for selecting any statistical attribute data from the data resources comprising at least two statistical attribute data and extracting the field name from the selected statistical attribute data;
the first generation module is used for selecting fields to be displayed from the field names according to the selection instruction, determining the type of the visual chart to be built and generating a data visual chart;
the page creating module is used for creating a chart page;
the second generation module is used for adding the generated data visualization chart to the chart page to generate a data visualization page.
9. A storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the method of generating data visualization charts and pages of any of claims 1 to 7.
10. A terminal, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory to cause the terminal to execute the method for generating data visualization charts and pages according to any of claims 1 to 7.
CN201910893886.XA 2019-09-20 2019-09-20 Method, system, medium and terminal for generating data visualization chart and page Pending CN110674227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910893886.XA CN110674227A (en) 2019-09-20 2019-09-20 Method, system, medium and terminal for generating data visualization chart and page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910893886.XA CN110674227A (en) 2019-09-20 2019-09-20 Method, system, medium and terminal for generating data visualization chart and page

Publications (1)

Publication Number Publication Date
CN110674227A true CN110674227A (en) 2020-01-10

Family

ID=69077056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910893886.XA Pending CN110674227A (en) 2019-09-20 2019-09-20 Method, system, medium and terminal for generating data visualization chart and page

Country Status (1)

Country Link
CN (1) CN110674227A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273839A (en) * 2020-01-13 2020-06-12 平安国际智慧城市科技股份有限公司 Data processing method and device for chart, computer equipment and storage medium
CN111274302A (en) * 2020-01-21 2020-06-12 北京明略软件系统有限公司 Editing method and system of webpage chart component, electronic equipment and storage medium
CN111931092A (en) * 2020-07-07 2020-11-13 浙江大学 Data visualization exploration system based on Scrollytelling technology
CN112363698A (en) * 2020-11-16 2021-02-12 青岛以萨数据技术有限公司 Method, device, electronic equipment and medium for visually constructing web page
CN112733055A (en) * 2021-01-20 2021-04-30 青岛以萨数据技术有限公司 System, method and storage medium for generating visual chart by free configuration
CN113010829A (en) * 2021-03-31 2021-06-22 建信金融科技有限责任公司 Data partition visualization method and device, computer equipment and storage medium
CN113326679A (en) * 2020-02-28 2021-08-31 拓尔思天行网安信息技术有限责任公司 Method, device and equipment for making visual chart page and storage medium
WO2021174752A1 (en) * 2020-03-02 2021-09-10 平安国际智慧城市科技股份有限公司 Method and apparatus for visualizing ambient air quality data, device, and storage medium
CN113449020A (en) * 2020-03-26 2021-09-28 深圳灿态信息技术有限公司 Method and system for acquiring graphic report data through database
CN117331551A (en) * 2022-06-27 2024-01-02 国家电投集团数字科技有限公司 Large-screen data visualization system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template
US20150212663A1 (en) * 2014-01-30 2015-07-30 Splunk Inc. Panel templates for visualization of data within an interactive dashboard
CN108255969A (en) * 2017-12-26 2018-07-06 平安科技(深圳)有限公司 Visual Chart method for implementing page, device, terminal device and storage medium
CN108376176A (en) * 2018-03-14 2018-08-07 深圳日彤大数据有限公司 It can towed big data visualization analysis tools system
CN108519967A (en) * 2018-04-08 2018-09-11 深圳乐信软件技术有限公司 Chart method for visualizing, device, terminal and storage medium
CN109325220A (en) * 2018-08-29 2019-02-12 东软集团股份有限公司 Chart generation method, device, storage medium and electronic equipment
CN109710686A (en) * 2018-12-27 2019-05-03 杭州火树科技有限公司 The analysis system of visualization building chart
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150212663A1 (en) * 2014-01-30 2015-07-30 Splunk Inc. Panel templates for visualization of data within an interactive dashboard
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template
CN108255969A (en) * 2017-12-26 2018-07-06 平安科技(深圳)有限公司 Visual Chart method for implementing page, device, terminal device and storage medium
CN108376176A (en) * 2018-03-14 2018-08-07 深圳日彤大数据有限公司 It can towed big data visualization analysis tools system
CN108519967A (en) * 2018-04-08 2018-09-11 深圳乐信软件技术有限公司 Chart method for visualizing, device, terminal and storage medium
CN109325220A (en) * 2018-08-29 2019-02-12 东软集团股份有限公司 Chart generation method, device, storage medium and electronic equipment
CN109710686A (en) * 2018-12-27 2019-05-03 杭州火树科技有限公司 The analysis system of visualization building chart
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273839A (en) * 2020-01-13 2020-06-12 平安国际智慧城市科技股份有限公司 Data processing method and device for chart, computer equipment and storage medium
CN111273839B (en) * 2020-01-13 2024-06-04 平安国际智慧城市科技股份有限公司 Data processing method and device for chart, computer equipment and storage medium
CN111274302A (en) * 2020-01-21 2020-06-12 北京明略软件系统有限公司 Editing method and system of webpage chart component, electronic equipment and storage medium
CN113326679A (en) * 2020-02-28 2021-08-31 拓尔思天行网安信息技术有限责任公司 Method, device and equipment for making visual chart page and storage medium
WO2021174752A1 (en) * 2020-03-02 2021-09-10 平安国际智慧城市科技股份有限公司 Method and apparatus for visualizing ambient air quality data, device, and storage medium
CN113449020A (en) * 2020-03-26 2021-09-28 深圳灿态信息技术有限公司 Method and system for acquiring graphic report data through database
CN111931092A (en) * 2020-07-07 2020-11-13 浙江大学 Data visualization exploration system based on Scrollytelling technology
CN112363698A (en) * 2020-11-16 2021-02-12 青岛以萨数据技术有限公司 Method, device, electronic equipment and medium for visually constructing web page
CN112733055A (en) * 2021-01-20 2021-04-30 青岛以萨数据技术有限公司 System, method and storage medium for generating visual chart by free configuration
CN113010829A (en) * 2021-03-31 2021-06-22 建信金融科技有限责任公司 Data partition visualization method and device, computer equipment and storage medium
CN113010829B (en) * 2021-03-31 2023-01-20 中国建设银行股份有限公司 Data partition visualization method and device, computer equipment and storage medium
CN117331551A (en) * 2022-06-27 2024-01-02 国家电投集团数字科技有限公司 Large-screen data visualization system and method

Similar Documents

Publication Publication Date Title
CN110674227A (en) Method, system, medium and terminal for generating data visualization chart and page
US7721205B2 (en) Integration of composite objects in host applications
US7661076B2 (en) Two dimensional trees to edit graph-like diagrams
US9575950B2 (en) Systems and methods for managing spreadsheet models
CN111931097B (en) Information display method and device, electronic equipment and storage medium
CN111221526A (en) Data visual editing display platform based on data lake server
US20070033518A1 (en) Computer-implemented method, system, and program product for hiding columns in an electronic table
MX2012012420A (en) Temporary formatting and charting of selected data.
CN101834735A (en) Display method and display device of large-scale network node topological structure
CN112783488A (en) Business mode canvas drawing method and device
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN114138269A (en) Visual application construction method and device of business data
CN111367514A (en) Page card development method and device, computing device and storage medium
CN111190519A (en) File and control processing method, device, equipment and storage medium thereof
CN114647409A (en) Large-screen visualization application creation platform, method, computing device and storage medium
CN113076103A (en) Custom template generation method and system
CN104881425A (en) WebGIS (geographic information system) map optimization based gradation loading method for tens of thousands of cameras
CN111797125A (en) Report creating method and device, electronic equipment and computer readable storage medium
US20120159376A1 (en) Editing data records associated with static images
US9230022B1 (en) Customizable result sets for application program interfaces
CN115357696A (en) Dynamic chart billboard display method based on components and related equipment
CN115691772A (en) Operation visualization system and corresponding computer device and storage medium
CN115294312A (en) Three-dimensional model merging processing method, device and medium
CN114580365A (en) Table component drawing method and device, electronic equipment and storage medium
CN114090666A (en) Slide display method, apparatus, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200110

RJ01 Rejection of invention patent application after publication