CN113761082A - Data visualization method, device and system - Google Patents

Data visualization method, device and system Download PDF

Info

Publication number
CN113761082A
CN113761082A CN202111060520.8A CN202111060520A CN113761082A CN 113761082 A CN113761082 A CN 113761082A CN 202111060520 A CN202111060520 A CN 202111060520A CN 113761082 A CN113761082 A CN 113761082A
Authority
CN
China
Prior art keywords
data
service data
standardized
generate
chart
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
CN202111060520.8A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202111060520.8A priority Critical patent/CN113761082A/en
Publication of CN113761082A publication Critical patent/CN113761082A/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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • 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
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing

Abstract

The embodiment of the invention provides a data visualization method, a data visualization device and a data visualization system, which can be used in the technical field of artificial intelligence, wherein the method comprises the following steps: acquiring original service data; standardizing the original service data according to a set standardized format to generate standardized service data; through the visual control, the standardized service data are visually displayed according to different service types, a multi-type service data chart is generated, mass data can be visually displayed in batches, the code redundancy is greatly reduced, and therefore the development efficiency and the display efficiency are improved.

Description

Data visualization method, device and system
Technical Field
The invention relates to the technical field of data processing, in particular to the technical field of artificial intelligence, and particularly relates to a data visualization method, device and system.
Background
At present, when massive data needs to be displayed in a multi-dimensional mode, information, scale, characteristics, connection and the like of the massive data need to be known, whether the data can support corresponding visual representation or not is evaluated, and then chart layout, chart types and page style characteristics are determined, and the massive data are displayed in a visual mode. In the related technology, the characteristics, types, meanings and the like of various indexes are analyzed one by one and then visualized and displayed. However, the above method is only suitable for analysis and display of a small amount of data, and if the amount of data is large and the types are many, the code redundancy of the above method is large, and the development and display efficiency is low.
Disclosure of Invention
One object of the present invention is to provide a data visualization method, which can perform batch visualization display on massive data, and greatly reduce the amount of redundant codes, thereby improving the development efficiency and the display efficiency. It is another object of the present invention to provide a data visualization apparatus. It is a further object of this invention to provide a data visualization system. It is a further object of this invention to provide a computer readable medium. It is a further object of the present invention to provide a computer apparatus.
In order to achieve the above object, an aspect of the present invention discloses a data visualization method, including:
acquiring original service data preferentially;
standardizing the original service data according to a set standardized format to generate standardized service data;
and visually displaying the standardized service data according to different service types through the visual control to generate a multi-type service data chart.
Preferably, before acquiring the original service data, the method further includes:
judging whether the current time condition meets the set starting condition or not;
if yes, judging whether the current time reaches the set acquisition time or not;
and if the current time reaches the acquisition time, continuing to execute the step of acquiring the original service data.
Preferably, the acquiring of the original service data includes:
and acquiring original service data from a set message queue, wherein the original service data of a data source is stored in the message queue.
Preferably, the turn-on condition includes a set turn-on time;
judging whether the current time condition meets the set starting condition or not, wherein the judging step comprises the following steps:
judging whether the current time reaches the opening time or not;
if so, determining that the starting condition is met;
if not, determining that the starting condition is not met.
Preferably, before acquiring the original service data, the method further includes:
counting the data quantity in the data source;
judging whether the data quantity is larger than or equal to a set quantity threshold value;
if yes, continuing to execute the step of obtaining the original service data;
if not, the step of counting the data quantity in the data source is repeatedly executed.
Preferably, the standardized format comprises a data standard attribute and a standard output format;
standardizing the original service data according to a set standardized format to generate standardized service data, comprising:
extracting corresponding attribute data from the original service data according to the standard attribute of the data;
and outputting the attribute data according to the standard output format to generate standardized service data.
Preferably, the method for visually displaying the standardized service data according to different service types through the visual control to generate a multi-type service data chart comprises the following steps:
generating service data charts corresponding to different service types according to the standardized service data through the visual control;
and based on the set reference coordinates, visually displaying the business data charts corresponding to different business types according to the sequence from left to right to generate a multi-type business data chart.
Preferably, based on the reference coordinates, the service data charts corresponding to different service types are visually displayed from left to right, and a multi-type service data chart is generated, including:
detecting whether the number of the horizontal service data charts is larger than a set horizontal number threshold value or not;
if so, switching the business data chart corresponding to the quantity larger than the transverse quantity threshold value to the next row;
and performing visual display according to the sequence from left to right, and repeatedly performing the step of detecting whether the number of the horizontal service data charts is greater than the set horizontal number threshold.
The invention also discloses a data visualization system, comprising:
the system comprises a data automatic loading setting module, a data standardization module and a batch rendering chart generation module;
the data automatic loading setting module is used for acquiring original service data;
the data standardization module is used for standardizing the original service data according to a set standardization format to generate standardized service data;
and the batch rendering chart generation module is used for visually displaying the standardized business data according to different business types through the visual control to generate a multi-type business data chart.
Preferably, the data automatic loading setting module further comprises a timing task viewing and editing setting sub-module;
the timing task viewing and editing setting submodule is used for receiving an updating operation input by a user, and the updating operation comprises updating acquisition time;
the updated acquisition time is determined as the acquisition time.
The invention also discloses a data visualization device, comprising:
an obtaining unit, configured to obtain original service data;
the standardization unit is used for standardizing the original service data according to a set standardization format to generate standardized service data;
and the display unit is used for visually displaying the standardized business data according to different business types through the visual control to generate a multi-type business data chart.
The invention also discloses a computer-readable medium, on which a computer program is stored which, when executed by a processor, implements a method as described above.
The invention also discloses a computer device comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, the processor implementing the method as described above when executing the program.
The invention obtains the original service data; standardizing the original service data according to a set standardized format to generate standardized service data; through the visual control, the standardized service data are visually displayed according to different service types, a multi-type service data chart is generated, mass data can be visually displayed in batches, the code redundancy is greatly reduced, and therefore the development efficiency and the display efficiency are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a data visualization system according to an embodiment of the present invention;
fig. 2 is a flowchart of a data visualization method according to an embodiment of the present invention;
fig. 3 is a flowchart of a further data visualization method provided in an embodiment of the present invention;
FIG. 4 is a business data chart corresponding to net profits according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a multi-type service data chart according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data visualization apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, the data visualization method, the data visualization device and the data visualization system disclosed in the present application can be used in the technical field of artificial intelligence, and can also be used in any fields other than the technical field of artificial intelligence.
In order to facilitate understanding of the technical solutions provided in the present application, the following first describes relevant contents of the technical solutions in the present application. When multi-type multi-dimensional index data are displayed visually, the characteristics, types, meanings and the like of various indexes are analyzed one by one in a traditional mode and then displayed visually. When the massive data needs to be visually displayed, due to the characteristics of large data volume and many types, the workload of the traditional mode can be increased in a geometric progression manner, the redundancy of codes is large, the display efficiency and the development efficiency are low, the rapid iterative development of projects is not facilitated, and the method is not suitable for visually displaying the massive data.
To solve the above technical problem, fig. 1 is a schematic structural diagram of a data visualization system according to an embodiment of the present invention, and as shown in fig. 1, the system includes an automatic data loading setting module 100, a data normalization module 200, and a batch rendering chart generation module 300. The data automatic loading setting module 100 is connected to the data standardization module 200, and the data standardization module 200 is connected to the batch rendering chart generation module 300.
The automatic data loading setting module 100 is used as a timing task setting list, and a plurality of different data sources can be set through the list, including but not limited to an Oracle database, a MySql database and an SQLServer database, and different loading tasks can be set for different data sources, so that different loading tasks are controlled in real time. The data automatic loading setting module 100 is configured to obtain original service data, where the original service data is data in a data source.
The data normalization module 200 is configured to perform normalization processing on the original service data according to a set normalization format, so as to generate normalized service data. The standardized format includes an index name, an index code, an index class, currency, units, legends, etc.
The batch rendering chart generation module 300 is configured to visually display the standardized service data according to different service types through the visual control, so as to generate a multi-type service data chart.
In this embodiment of the present invention, the data automatic loading setting module 100 further includes a timing task viewing and editing setting sub-module 110.
The timed task viewing and editing setup sub-module 110 is configured to receive an update operation input by a user, where the update operation includes updating the acquisition time. The updated acquisition time is determined as the acquisition time. The timed task viewing and editing sub-module 110 is further configured to view a task execution status; and also for modifying the trigger conditions for executing the task, for example: one task is executed on a periodic basis and may be modified to a manual trigger by the timed task view and edit settings sub-module 110.
In the embodiment of the present invention, the timed task viewing and editing setting sub-module 110 further has a task timeout interrupt function, a task failure re-execution function, and a task failure warning function. The task overtime interruption function is set to interrupt the task execution when the execution time of the task is longer than the set overtime time, which indicates that the task is overtime. The timeout duration may be set according to an actual situation, which is not limited in the embodiment of the present invention. The task failure re-execution function is set to add 1 to the failure times when the task fails to be executed; if the failure times after the 1 adding processing is smaller than the set failure threshold value, the task is executed again; and if the failure times after the 1 adding processing is larger than or equal to the set failure threshold value, ending the task. The initial value of the failure times is set to 1, and the failure threshold value may be processed according to an actual situation, which is not limited in the embodiment of the present invention. The task failure warning function is set to notify the staff to process when the task fails to be executed, and can notify the staff through an electronic mail or a short message.
In this embodiment of the present invention, the data automatic loading setting module 100 further includes a timing task execution policy setting sub-module 120 and a timing task start-stop setting sub-module 130.
In the embodiment of the present invention, the task trigger policy may be set by the timed task execution policy setting sub-module 120, and includes but is not limited to Cron trigger, time period trigger, manual trigger, parent-child task trigger, and the like. It should be noted that a specific task triggering policy may be set according to the requirement of a project task, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the timed task execution policy setting sub-module 120 further has a task blocking processing policy, which is used for providing various blocking processing policies for task blocking situations caused by high-frequency execution of intensive tasks within a certain time, including but not limited to: task serial execution, ending block task and task re-execution. The task serial execution is that the scheduling task is executed in series; the ending of the blocking task is to end the task in the blocking process; the task re-execution is to re-execute the task in the block. It should be noted that other blocking handling strategies may also be adopted, and the embodiment of the present invention does not limit this.
In the embodiment of the present invention, the start and stop of the loading task may be set by the timed task start/stop setting sub-module 130 according to the requirement of the project task, the start and stop time may be set, and a quantity threshold may be set, and the start and stop of the loading task may be controlled by comparing the quantity of data in the data source with the quantity threshold.
In the technical scheme provided by the embodiment of the invention, original service data is obtained; standardizing the original service data according to a set standardized format to generate standardized service data; through the visual control, the standardized service data are visually displayed according to different service types, a multi-type service data chart is generated, mass data can be visually displayed in batches, the code redundancy is greatly reduced, and therefore the development efficiency and the display efficiency are improved.
It should be noted that the data visualization system shown in fig. 1 is also applicable to the data visualization method shown in fig. 2 or fig. 3, and will not be described herein again.
The following describes an implementation process of the data visualization method provided by the embodiment of the present invention, taking a data visualization apparatus as an execution subject. It can be understood that the execution subject of the data visualization method provided by the embodiment of the invention includes, but is not limited to, a data visualization device.
Fig. 2 is a flowchart of a data visualization method according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step 101, acquiring original service data.
And 102, standardizing the original service data according to the set standardized format to generate standardized service data.
And 103, visually displaying the standardized business data according to different business types through the visual control to generate a multi-type business data chart.
In the technical scheme provided by the embodiment of the invention, original service data is obtained; standardizing the original service data according to a set standardized format to generate standardized service data; through the visual control, the standardized service data are visually displayed according to different service types, a multi-type service data chart is generated, mass data can be visually displayed in batches, the code redundancy is greatly reduced, and therefore the development efficiency and the display efficiency are improved.
Fig. 3 is a flowchart of another data visualization method provided in an embodiment of the present invention, as shown in fig. 3, the method includes:
step 201, judging whether the current time condition meets the set starting condition; if yes, go to step 202; if not, go to step 203.
In an embodiment of the invention, the steps are performed by a data visualization device.
In the embodiment of the invention, the starting condition comprises set starting time, and the current time condition comprises current time. Specifically, whether the current time reaches the opening time is judged; if yes, determining that the starting condition is met, and continuing to execute the step 202; if not, determining that the starting condition is not met, and continuing to execute step 203 to further determine whether to start the task.
Step 202, judging whether the current time reaches the set acquisition time, if so, executing step 205; if not, step 202 is repeated.
In the embodiment of the present invention, the acquisition time may be set according to an actual situation, and the specific setting of the acquisition time is not limited in the present invention.
In the embodiment of the present invention, if the current time condition satisfies the start time and the current time reaches the acquisition time, it indicates that the task execution triggering policy is satisfied, the task execution is triggered, and step 205 is executed; if the current time condition meets the starting time but the current time does not reach the obtaining time, it indicates that the task triggering strategy for task execution is not met, the loading task cannot be executed, and step 202 is repeatedly executed until the current time reaches the set obtaining time.
In the embodiment of the present invention, the task trigger policy includes, but is not limited to, Cron trigger, time period trigger, manual trigger, parent-child task trigger, and the like. It should be noted that a specific task triggering policy may be set according to the requirement of a project task, which is not limited in the embodiment of the present invention. For example: setting a task trigger strategy as a Cron trigger, setting a loading task to start executing at the set acquisition time, wherein the setting format of the acquisition time follows the syntax of a Cron expression, the Cron expression is { second } { minute } { time } { day } { month } { year }, and the acquisition time is set according to the Cron expression. After the Cron trigger setting is completed, the loading task can be executed when the current time reaches the acquisition time, and the execution state of the loading task is returned.
And step 203, counting the data quantity in the data source.
In the embodiment of the invention, different data sources are arranged, and the data sources include but are not limited to an Oracle database, a MySql database and an SQLServer database.
In the embodiment of the present invention, the counting the data amount in the data source specifically is to count the total amount of data in all the data sources.
Step 204, judging whether the data quantity is larger than or equal to a set quantity threshold value, if so, executing step 205; if not, go to step 203.
In the embodiment of the present invention, the quantity threshold may be set according to an actual situation, and if the quantity of data is greater than or equal to the quantity threshold, it indicates that a large amount of data to be loaded has been accumulated in the data source, and step 205 is continuously executed; if the number of data is less than the number threshold, indicating that the number of data to be loaded in the data source is small, the process continues to step 203.
Further, if the data quantity is greater than or equal to the set quantity threshold value, recording a trigger time point; and averaging the trigger time points recorded for multiple times to obtain an average trigger time point, so as to provide a basis for updating the subsequent opening time. The average trigger time point may be determined as the on-time to update the on-time to reduce the memory pressure.
In the embodiment of the invention, if a large amount of data to be loaded is accumulated in the data source, in order to avoid longer time or lower efficiency for triggering the execution of the task, the task is triggered to be executed even if the task triggering strategy is not met, so that the task execution efficiency is improved, and the task execution time is reduced.
And step 205, acquiring original service data.
Specifically, the original service data is obtained from a set message queue, and the original service data of the data source is stored in the message queue. The data source stores original service data into the message queue, and the data visualization device acquires the original service data from the message queue for subsequent processing.
In the embodiment of the invention, the message queue is arranged for the data source to store the original service data and the data visualization device to acquire the original service data, so that the data source and the data visualization device can be decoupled, and the asynchronous operation of the data source and the data visualization operation can improve the response speed.
And step 206, standardizing the original service data according to the set standardized format to generate standardized service data.
In the embodiment of the invention, the standardized format comprises a data standard attribute and a standard output format.
In the embodiment of the present invention, step 206 specifically includes:
step 2061, extracting corresponding attribute data from the original service data according to the data standard attribute.
In the embodiment of the present invention, the data standard attribute includes, but is not limited to, an index name, an index code, an index classification, a currency, a unit, and a legend. The index name is the index name for setting various index data; the index code is an index code for setting various index data; the index classification is an index classification to which various types of index data indexes belong, for example: the present foreign currency deposit, RMB deposit, etc.; the currency is a currency type for setting various index data, such as: RMB, dollars, yen, etc.; the unit is a unit for setting various types of index data, such as: yuan, dollars, pounds, etc.; the legend is a legend for setting various index data charts for display, for example: balance, increment, etc. In the embodiment of the invention, the data standard attribute lays a standardized data format for the output of standardized service data.
Specifically, the original service data is classified and sorted according to fields such as an index name, an index code, an index classification, a currency, a unit, a legend and the like to obtain corresponding attribute data.
Step 2062, outputting the attribute data according to the standard output format, and generating the standardized service data.
In the embodiment of the present invention, the standard output format may be set according to actual situations, which is not limited in the present invention. Specifically, the attribute data is subjected to format conversion through an API interface to generate standardized service data. For example: the index name is net profit, the index code is 020010003009, the index is classified as 719, the currency is RMB, the unit is hundred million yuan and the legend is balance, the standard output format is json format as shown below:
Figure BDA0003256191400000091
Figure BDA0003256191400000101
and step 207, visually displaying the standardized business data according to different business types through the visual control to generate a multi-type business data chart.
In the embodiment of the present invention, step 207 specifically includes:
step 2071, generating a business data chart corresponding to different business types according to the standardized business data through the visual control.
In the embodiment of the invention, the business data charts corresponding to different business types are generated according to the standardized business data through the visual control of the visual chart library (ECharts). Wherein the service type corresponds to the index name. The visualization controls include a bar graph, a line graph, and a pie graph. It should be noted that the specific selection of the visualization control depends on the actual requirement, and the embodiment of the present invention does not limit this. Fig. 4 is a business data chart corresponding to net profits according to an embodiment of the present invention, as shown in fig. 4, a visualization control is a bar chart, a horizontal axis is time, and a vertical axis is balance, and it can be seen from fig. 4 that the net profits increase with time.
And 2072, visually displaying the service data charts corresponding to different service types according to a left-to-right sequence based on the set reference coordinates, and generating a multi-type service data chart.
In the embodiment of the invention, the reference coordinate is positioned on the page, and the service type corresponds to the index name.
Specifically, whether the number of the horizontal service data charts is larger than a set horizontal number threshold value is detected; if so, switching the service data charts corresponding to the quantity greater than the transverse quantity threshold value to the next row, performing visual display according to the sequence from left to right, and repeatedly performing the step of detecting whether the quantity of the transverse service data charts is greater than the set transverse quantity threshold value; if not, continuing to visually display according to the sequence from left to right, and repeatedly executing the step of detecting whether the number of the transverse business data charts is larger than the set transverse number threshold value.
Fig. 5 is a schematic diagram of a multi-type service data chart according to an embodiment of the present invention, as shown in fig. 5, a horizontal quantity threshold is set to 3, a reference coordinate is (0, 0), service data charts corresponding to different service types are rendered from left to right based on the reference coordinate (0, 0), and the service data charts are visually displayed; and displaying the service data charts of the services corresponding to the 3 service types in each row, switching the service data charts corresponding to the three types to the next row after rendering, and performing visual display according to the sequence from left to right until the service data charts corresponding to all the types are displayed completely. As shown in fig. 5, the multi-type service data charts include a service data chart corresponding to all deposit increments of the rmb, a service data chart corresponding to all deposit daily average increments of the rmb, a service data chart corresponding to each loan increment of the rmb, a service data chart corresponding to all deposit increments of the foreign currency, and a service data chart corresponding to each loan increment of the foreign currency, and the balance is represented by a bar chart, and the vertical axis on the left side represents billion elements; increment is represented by a broken line graph, and the vertical axis on the right represents percentage; the horizontal axis represents time. As shown in fig. 5, in a service data graph corresponding to one type, balance and increment are displayed by simultaneously adopting a line graph and a bar graph, so that page display is smoother, display of multiple service data graphs is quickly realized, code redundancy is greatly reduced, code quantity can be reduced by more than 90%, development efficiency is improved, a project can be quickly on-line, and memory occupancy rate of a browser is reduced.
According to the technical scheme of the data visualization method, original service data are obtained; standardizing the original service data according to a set standardized format to generate standardized service data; through the visual control, the standardized service data are visually displayed according to different service types, a multi-type service data chart is generated, mass data can be visually displayed in batches, the code redundancy is greatly reduced, and therefore the development efficiency and the display efficiency are improved.
Fig. 6 is a schematic structural diagram of a data visualization apparatus according to an embodiment of the present invention, the apparatus is configured to execute the data visualization method, and as shown in fig. 6, the apparatus includes: an acquisition unit 11, a normalization unit 12 and a presentation unit 13.
The obtaining unit 11 is configured to obtain original service data.
The normalization unit 12 is configured to perform normalization processing on the original service data according to the set normalization format, and generate normalized service data.
The display unit 13 is configured to perform visual display on the standardized service data according to different service types through the visual control, so as to generate a multi-type service data chart.
In the embodiment of the present invention, the apparatus further includes: a first judging unit 14 and a second judging unit 15.
The first judging unit 14 is used for judging whether the current time condition meets the set starting condition; if yes, the second judging unit 15 is configured to judge whether the current time reaches the set acquisition time; if the current time reaches the acquisition time, the acquisition unit 11 is triggered to continue executing the step of acquiring the original service data.
In the embodiment of the present invention, the obtaining unit 11 is specifically configured to obtain original service data from a set message queue, where the original service data of a data source is stored in the message queue.
In the embodiment of the present invention, the first determining unit 14 is specifically configured to determine whether the current time reaches the start time; if so, determining that the starting condition is met; if not, determining that the starting condition is not met.
In the embodiment of the present invention, the apparatus further includes: a statistical unit 16 and a third judgment unit 17.
The statistical unit 16 is used for counting the data quantity in the data source;
a third judgment unit 17 for judging whether the number of data is greater than or equal to a set number threshold; if yes, triggering the obtaining unit 11 to continue to execute the step of obtaining the original service data; if not, the triggering statistic unit 16 repeatedly executes the step of counting the data amount in the data source.
In the embodiment of the present invention, the normalization unit 12 is specifically configured to extract corresponding attribute data from the original service data according to the data standard attribute; and outputting the attribute data according to the standard output format to generate standardized service data.
In the embodiment of the present invention, the display unit 13 is specifically configured to generate, through the visual control, a service data chart corresponding to different service types according to the standardized service data; and based on the set reference coordinates, visually displaying the business data charts corresponding to different business types according to the sequence from left to right to generate a multi-type business data chart.
In this embodiment of the present invention, the displaying unit 13 is further specifically configured to detect whether the number of the horizontal service data graphs is greater than a set horizontal number threshold; if so, switching the business data chart corresponding to the quantity larger than the transverse quantity threshold value to the next row; and performing visual display according to the sequence from left to right, and repeatedly performing the step of detecting whether the number of the horizontal service data charts is greater than the set horizontal number threshold.
In the scheme of the embodiment of the invention, original service data is obtained; standardizing the original service data according to a set standardized format to generate standardized service data; through the visual control, the standardized service data are visually displayed according to different service types, a multi-type service data chart is generated, mass data can be visually displayed in batches, the code redundancy is greatly reduced, and therefore the development efficiency and the display efficiency are improved.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Embodiments of the present invention provide a computer device, including a memory and a processor, where the memory is configured to store information including program instructions, and the processor is configured to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement the steps of the embodiments of the data visualization method, and specific descriptions may refer to the embodiments of the data visualization method.
Referring now to FIG. 7, shown is a schematic diagram of a computer device 600 suitable for use in implementing embodiments of the present application.
As shown in fig. 7, the computer apparatus 600 includes a Central Processing Unit (CPU)601 which can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM)) 603. In the RAM603, various programs and data necessary for the operation of the computer apparatus 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output section 607 including a Cathode Ray Tube (CRT), a liquid crystal feedback (LCD), and the like, and a speaker and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 606 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted as necessary on the storage section 608.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (13)

1. A method for data visualization, the method comprising:
acquiring original service data;
standardizing the original service data according to a set standardized format to generate standardized service data;
and visually displaying the standardized business data according to different business types through a visual control to generate a multi-type business data chart.
2. The data visualization method according to claim 1, further comprising, before the acquiring raw traffic data:
judging whether the current time condition meets the set starting condition or not;
if yes, judging whether the current time reaches the set acquisition time or not;
and if the current time reaches the acquisition time, continuing to execute the step of acquiring the original service data.
3. The data visualization method according to claim 2, wherein the acquiring the raw service data comprises:
and acquiring the original service data from a set message queue, wherein the original service data of a data source is stored in the message queue.
4. A method for visualizing data according to claim 2, wherein said on-condition comprises a set on-time;
the judging whether the current time condition meets the set starting condition includes:
judging whether the current time reaches the starting time or not;
if so, determining that the starting condition is met;
if not, determining that the starting condition is not met.
5. The data visualization method according to claim 1, further comprising, before the acquiring raw traffic data:
counting the data quantity in the data source;
judging whether the data quantity is larger than or equal to a set quantity threshold value;
if yes, continuing to execute the step of acquiring the original service data;
if not, the step of counting the data quantity in the data source is repeatedly executed.
6. The data visualization method of claim 1, wherein the standardized format comprises a data standard attribute and a standard output format;
the normalizing the original service data according to the set standardized format to generate standardized service data includes:
extracting corresponding attribute data from the original service data according to the data standard attribute;
and outputting the attribute data according to the standard output format to generate the standardized service data.
7. The data visualization method according to claim 1, wherein the visually displaying the standardized business data according to different business types through the visualization control to generate a multi-type business data chart comprises:
generating service data charts corresponding to different service types according to the standardized service data through a visual control;
and visually displaying the service data charts corresponding to the different service types according to the sequence from left to right based on the set reference coordinates to generate a multi-type service data chart.
8. The data visualization method according to claim 7, wherein the visually displaying the business data charts corresponding to the different business types according to a left-to-right order based on the set reference coordinates to generate a multi-type business data chart comprises:
detecting whether the number of the horizontal service data charts is larger than a set horizontal number threshold value or not;
if so, switching the business data chart corresponding to the quantity greater than the transverse quantity threshold value to the next row;
and performing visual display according to the sequence from left to right, and repeatedly executing the step of detecting whether the number of the horizontal service data charts is greater than the set horizontal number threshold.
9. A data visualization system is characterized by comprising an automatic data loading setting module, a data standardization module and a batch rendering chart generation module;
the data automatic loading setting module is used for acquiring original service data;
the data standardization module is used for standardizing the original service data according to a set standardization format to generate standardized service data;
and the batch rendering chart generation module is used for visually displaying the standardized business data according to different business types through visual controls to generate a multi-type business data chart.
10. The data visualization system of claim 9, wherein the data auto-load setup module further comprises a timed task viewing and editing setup sub-module;
the timing task viewing and editing setting submodule is used for receiving an updating operation input by a user, and the updating operation comprises updating acquisition time;
determining the updated acquisition time as the acquisition time.
11. A data visualization device, the device comprising:
an obtaining unit, configured to obtain original service data;
the standardization unit is used for standardizing the original service data according to a set standardization format to generate standardized service data;
and the display unit is used for visually displaying the standardized business data according to different business types through the visual control to generate a multi-type business data chart.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out a method for visualizing data as in any one of claims 1 to 8.
13. A computer device comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the data visualization method according to any of the claims 1 to 8.
CN202111060520.8A 2021-09-10 2021-09-10 Data visualization method, device and system Pending CN113761082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111060520.8A CN113761082A (en) 2021-09-10 2021-09-10 Data visualization method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111060520.8A CN113761082A (en) 2021-09-10 2021-09-10 Data visualization method, device and system

Publications (1)

Publication Number Publication Date
CN113761082A true CN113761082A (en) 2021-12-07

Family

ID=78794669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111060520.8A Pending CN113761082A (en) 2021-09-10 2021-09-10 Data visualization method, device and system

Country Status (1)

Country Link
CN (1) CN113761082A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051904A (en) * 2022-03-23 2022-09-13 武汉烽火技术服务有限公司 Method and device for managing single disk state based on markup language

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051904A (en) * 2022-03-23 2022-09-13 武汉烽火技术服务有限公司 Method and device for managing single disk state based on markup language
CN115051904B (en) * 2022-03-23 2023-09-12 武汉烽火技术服务有限公司 Method and device for managing single disk state based on markup language

Similar Documents

Publication Publication Date Title
US10884891B2 (en) Interactive detection of system anomalies
CN110929799B (en) Method, electronic device, and computer-readable medium for detecting abnormal user
US20230148083A1 (en) Interactive model performance monitoring
US11449809B2 (en) Application capacity forecasting
KR20190075083A (en) Method and apparatus for automatic processing of risk control events
US11755925B2 (en) Computer-implemented decision management systems and methods
CN113849848B (en) Data permission configuration method and system
CN114049197A (en) Data processing method, model building device and electronic equipment
CN115545103A (en) Abnormal data identification method, label identification method and abnormal data identification device
CN113761082A (en) Data visualization method, device and system
CN111105307A (en) Post-loan management method, system, equipment and readable medium
CN111177562A (en) Recommendation and sorting processing method and device for target objects and server
CN111951011B (en) Monitoring system threshold value determining method and device
CN115130577A (en) Method and device for identifying fraudulent number and electronic equipment
CN114021642A (en) Data processing method and device, electronic equipment and storage medium
CN113515577A (en) Data preprocessing method and device
CN114462370A (en) Method and device for generating view, storage medium and electronic equipment
CN112115316B (en) Box separation method and device, electronic equipment and storage medium
CN111612023A (en) Classification model construction method and device
CN113326888B (en) Labeling capability information determining method, related device and computer program product
CN117539948B (en) Service data retrieval method and device based on deep neural network
CN113935574B (en) Abnormal transaction monitoring method, device, computer equipment and storage medium
CN112232960B (en) Transaction application system monitoring method and device
CN113609454A (en) Abnormal transaction detection method and device
US20220391808A1 (en) Data processing method, electronic 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