CN112241431A - Data visualization method and system, and computer readable storage medium - Google Patents

Data visualization method and system, and computer readable storage medium Download PDF

Info

Publication number
CN112241431A
CN112241431A CN201910649290.5A CN201910649290A CN112241431A CN 112241431 A CN112241431 A CN 112241431A CN 201910649290 A CN201910649290 A CN 201910649290A CN 112241431 A CN112241431 A CN 112241431A
Authority
CN
China
Prior art keywords
data
model
verification result
visualization
initial
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
CN201910649290.5A
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.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software 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 China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910649290.5A priority Critical patent/CN112241431A/en
Publication of CN112241431A publication Critical patent/CN112241431A/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/26Visual data mining; Browsing structured data
    • 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/21Design, administration or maintenance of databases

Landscapes

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

Abstract

The embodiment of the invention discloses a data visualization method and a system thereof, and a computer readable storage medium, wherein the data visualization method comprises the following steps: acquiring initial data, and establishing an initial model corresponding to the initial data based on a visual library D3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization, thereby reducing the error of the acquired data, improving the accuracy and readability of data presentation and reducing the difficulty of data maintenance.

Description

Data visualization method and system, and computer readable storage medium
Technical Field
The present invention relates to the field of data visualization, and in particular, to a data visualization method and system, and a computer-readable storage medium.
Background
At present, an Excel table mode or a traditional data list mode is often adopted when data statistics, presentation and maintenance are carried out. For example, after data census is performed on equipment, the census data result is stored in a certain data format as stock data; while subsequent data for operational maintenance may exist in incremental amounts among the various systems.
In the prior art, when data is presented and maintained, a user often performs wrong operation in the data input process, so that the input data is inaccurate, the acquired data is deviated from the real data, the data presentation accuracy is reduced, and the data maintenance difficulty is increased.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention are expected to provide a data visualization method and system, and a computer-readable storage medium, which can reduce errors of acquired data, improve accuracy and readability of data presentation, and reduce difficulty of data maintenance.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a data visualization method, which comprises the following steps:
acquiring initial data, and establishing an initial model corresponding to the initial data based on a visualization library D3. js;
carrying out data verification according to the initial model to obtain a verification result;
and acquiring a visual model according to the verification result to realize data visualization.
In the foregoing scheme, the performing data verification according to the initial model to obtain a verification result includes:
and comparing the initial model with a pre-stored standard model to obtain the verification result.
In the foregoing solution, the obtaining a visualization model according to the verification result to realize data visualization includes:
when the verification result is qualified, determining the initial model as the visual model;
and when the checking result is unqualified, continuing to acquire data to obtain the visual model.
In the above scheme, when the verification result is unqualified, continuing data acquisition to obtain the visualization model includes:
when the checking result is unqualified, determining a correction target;
acquiring data according to the corrected target to obtain supplementary data;
correcting the initial model according to the supplementary data to obtain a corrected model;
carrying out data verification according to the corrected model, and obtaining the verification result again;
and when the verification result is unqualified, repeating the data acquisition and the correction processing until the verification result is qualified, and obtaining the visual model.
In the foregoing solution, after the data verification is performed according to the corrected model and the verification result is obtained again, the method further includes:
and when the verification result is qualified, determining the corrected model as the visual model.
In the foregoing solution, after the visualization model is obtained according to the verification result and data visualization is implemented, the method further includes:
and displaying the visual model in a preset display area.
In the above solution, after the visualization model is displayed in the preset display area, the method further includes:
receiving an updating instruction in the preset display area; wherein the updating instruction carries data to be updated;
and updating the visual model according to the data to be updated to obtain the updated visual model.
An embodiment of the present application provides a data visualization system, which includes: an acquisition unit, an establishment unit, a verification unit and an acquisition unit,
the acquisition unit is used for acquiring and obtaining initial data;
the establishing unit is used for establishing an initial model corresponding to the initial data based on a visualization library D3. js;
the checking unit is used for checking data according to the initial model to obtain a checking result;
and the acquisition unit is used for acquiring a visual model according to the verification result to realize data visualization.
In the above scheme, the verification unit is specifically configured to compare the initial model with a pre-stored standard model to obtain the verification result.
In the foregoing scheme, the obtaining unit is specifically configured to determine the initial model as the visualization model when the verification result is qualified; and when the checking result is unqualified, continuing to acquire data to obtain the visual model.
In the above scheme, the obtaining unit is specifically configured to determine a correction target when the check result is unqualified; acquiring data according to the correction target to obtain supplementary data; correcting the initial model according to the supplementary data to obtain a corrected model; carrying out data verification according to the corrected model, and obtaining the verification result again; and when the verification result is unqualified, repeating the data acquisition and the correction processing until the verification result is qualified, and obtaining the visual model.
In the above solution, the data visualization system further includes: a determination unit for determining whether the received signal is correct,
and the determining unit is used for carrying out data verification according to the corrected model, and determining the corrected model as the visual model when the verification result is qualified after the verification result is obtained again.
In the above solution, the data visualization system further includes: a display unit for displaying the image of the object,
and the display unit is used for acquiring a visual model according to the verification result, and displaying the visual model in a preset display area after data visualization is realized.
In the above solution, the data visualization system further includes: a receiving unit and an updating unit, wherein,
the receiving unit is used for receiving an updating instruction in a preset display area after the visualization model is displayed in the preset display area; wherein the updating instruction carries data to be updated;
and the updating unit is used for updating the visual model according to the data to be updated to obtain the updated visual model.
An embodiment of the present application provides a data visualization system, which includes a processor, a memory storing executable instructions of the processor, a communication interface, and a bus for connecting the processor, the memory, and the communication interface, wherein when the instructions are executed by the processor, the data visualization system implements the data visualization method as described above.
An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, and the program is applied to a data visualization system, and when the program is executed by a processor, the program implements the data visualization method as described above.
According to the data visualization method and system and the computer-readable storage medium, the data visualization system acquires initial data and establishes an initial model corresponding to the initial data based on D3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization. Therefore, in the embodiment of the application, after the data visualization system establishes the corresponding initial model based on d3.js according to the acquired initial data, data verification can be performed according to the initial model, and the visualization model is generated according to the verification result to realize visualization of the data, wherein when the verification result is unqualified, the data visualization system can continue to acquire the data, correct the initial model according to the acquired supplementary data to obtain a corrected model, and if the verification result obtained again by performing data verification according to the corrected model is unqualified, the data acquisition and correction processing is repeated until the verification result is qualified. Therefore, errors of the acquired data can be reduced, the accuracy and readability of data presentation are improved, the difficulty of data maintenance is reduced, and the method is simple and convenient to achieve, convenient to popularize and wide in application range.
Drawings
Fig. 1 is a first schematic flow chart illustrating an implementation process of a data visualization method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation process of a data visualization method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation process of a data visualization method according to an embodiment of the present application;
fig. 4 is a schematic flow chart of an implementation of a data visualization method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of an implementation of a data visualization method according to an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating an implementation process of a data visualization method according to an embodiment of the present application;
fig. 7 is a first schematic structural diagram of a data visualization system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a data visualization system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
In general, communication companies mostly use Excel tables or traditional data list detail presentation modes to present various data models. Specifically, the communication company or the third party company may perform data census on the device first, and then store the result of the data census in a certain data format; the software application systems of all the third parties can carry out data entry according to the data result of census and serve as stock data; data that is further manipulated and maintained in the system may exist in incremental amounts among the various systems.
On one hand, the data obtained by census often has the problem of inaccuracy, and the problem of inaccurate data cannot be effectively solved because the cost for carrying out data census again is too large. On the other hand, data is added in a form of filling in a form, however, in actual operation, a user often has inconvenience and inaccuracy in the form filling operation, and if the filling information is wrong, the data needs to be changed through a complicated process. Some communication companies can maintain equipment data in a maintenance-by-maintenance mode, and the professional knowledge of maintenance-by-maintenance personnel is usually not rich, so that dirty data can be frequently recorded in the system and cannot be known.
Therefore, data is presented and maintained in a traditional mode, and a user often has wrong operation in the data input process, so that the input data is inaccurate, the acquired data is deviated from the real data, the data presentation accuracy is reduced, and the data maintenance difficulty is increased.
In recent years, the development of visualization technology is more and more mature, and many newspapers and magazines, web portals, news and media use the visualization technology in a large quantity, so that complex data and characters become very easy to understand. Data-Driven Documents (D3) are the outstanding ones among the various Data visualization tools also developed on a well-jet basis, D3 being a Data-Driven document, specifically D3 being a functional library of JavaScript, so that Data visualization can be done based on D3. Since the suffix name of a JavaScript file is usually.js, D3 is also often called D3. js.
The data visualization method provided by the application realizes data visualization based on D3.js, so that most user inputs can be replaced. In particular some associated type of information, such as the frame number of the rack to which the device belongs. In contrast, in the conventional method, only the list is displayed and then one item is selected, and the user cannot directly perceive which part of the actual device each item on the specific list corresponds to, and more information needs to be associated. And if the data are directly presented in the visualization model, a user can directly see whether equipment exists on each frame position on the rack and what type and model of the equipment from the visualization model, and the user can click and select an idle frame position to mount the equipment. Correspondingly, a series of other operations including jumper connection, routing setting, cable threading and the like correspond to action operations in the visual model and are closer to operations in display, so that the operation is more convenient for users to use, and the requirement of professional knowledge of maintenance personnel is reduced.
Therefore, the data visualization method provided by the application is a novel data interaction mode. The method gets rid of the traditional form input mode, presents the form in the system in a mode closer to the real presentation, and enables the user to make more clear about the current resources and the input of the action.
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example one
An embodiment of the present invention provides a data visualization method, and fig. 1 is a schematic view of an implementation flow of the data visualization method provided in the embodiment of the present application, as shown in fig. 1, in the embodiment of the present invention, a method for performing data visualization by a data visualization system mainly includes the following steps:
step 101, acquiring initial data, and establishing an initial model corresponding to the initial data based on D3. js.
In an embodiment of the present invention, the data visualization system may acquire initial data first, and then build an initial model corresponding to the initial data based on d3. js.
It should be noted that, in the embodiment of the present application, the data visualization system may first obtain at least one set of data corresponding to at least one device through data acquisition, where one device corresponds to one set of data.
Further, in the embodiment of the present application, the initial data includes, in addition to at least one set of data corresponding to at least one device, associated data between the at least one device. That is, the data visualization system may first collect data of at least one device and associated data between the devices, so that initial data may be obtained.
Further, in the implementation of the present application, after acquiring the initial data, the data visualization system may perform model building, and specifically, the data visualization system may build an initial model corresponding to the initial data according to the initial data based on d3. js.
It should be noted that, in the embodiment of the present application, D3 is a data-driven document, and is a JavaScript visualization library based on World Wide Web (Web) standard, and since the suffix name of the JavaScript file is usually ·, D3 is also often referred to as D3 · js. Js can vividly represent data by means of Scalable Vector Graphics (SVG), Canvas, and hypertext Markup Language (HTML). Js incorporates powerful visualization interaction technology and data driven Document Object Model (DOM) technology, so that data can be visualized with the powerful functional freedom of modern browsers.
Further, in the implementation of the application, the data D3.js can provide various simple and easy-to-use functions, so that the difficulty of JavaScript operation data is greatly reduced. In terms of data visualization, d3.js can reduce the complex steps of generating a visualization to a few simple functions.
In the implementation of the present application, when the data visualization system establishes and obtains the initial model corresponding to the initial data according to the initial data, the adopted d3.js uses a Berkeley Software release (BSD) open source protocol.
Further, in the embodiment of the present application, the initial model created by the data visualization system based on d3.js is created according to the initial data, and therefore, the initial model may not have a complete production function yet, that is, the initial model corresponding to the initial data may be only a preliminary visualization model.
In the implementation of the present application, no matter whether the initial model built based on d3.js has the completed production function, the data visualization system may perform data verification using the initial model, that is, may use the initial model as a data verification tool to perform data verification and verification.
And 102, carrying out data verification according to the initial model to obtain a verification result.
In the embodiment of the invention, after the data visualization system acquires the initial data and establishes the initial model corresponding to the initial data based on D3.js, the data can be verified according to the initial model, so that a corresponding verification result is obtained.
It should be noted that, in the embodiment of the present application, the initial model established by the data visualization system based on d3.js may be used as a data verification tool to perform data verification and verification, so as to obtain a verification result corresponding to the initial data.
Further, in the embodiment of the present application, the data visualization system performs data verification to obtain a verification result, which may be qualified or unqualified. Specifically, when the verification result is qualified, the accuracy of the initial data can be considered to meet the requirement, and a corresponding visual model can be finally generated; when the checking result is unqualified, the accuracy of the initial data can be considered not to meet the requirement, the data acquisition is required to be continued, and the initial model is corrected to generate a corresponding visualization model.
It should be noted that, in the embodiment of the present application, the data visualization system performs data verification according to the initial model, and when a verification result is obtained, the initial model and the pre-stored standard model may be compared, so that the verification result may be obtained according to the comparison result. The comparison result can be used to represent the similarity between the initial model and the pre-stored standard model.
Further, in the embodiment of the application, after the data visualization system compares the initial model with the pre-stored standard model and obtains the comparison result, if the comparison result is greater than or equal to the preset similarity threshold, the initial model can be considered to be in line with expectations, so that the verification result can be determined to be qualified according to the comparison result; if the comparison result is smaller than the preset similarity threshold, the initial model is considered to be not in accordance with the expectation, so that the verification result can be determined to be unqualified according to the comparison result.
It should be noted that, in the embodiment of the present application, after the data visualization system establishes the initial model corresponding to the initial data, when an error or careless mistakes exist in the presented initial model, the data visualization system may consider that the initial data has an error, and therefore the data visualization system may perform data verification on the initial data according to the initial model.
Further, in an embodiment of the application, after the data visualization system establishes the initial model corresponding to the initial data, the data visualization system may further perform data verification on the initial data according to another data verification method, and the application is not particularly limited.
And 103, acquiring a visualization model according to the verification result to realize data visualization.
In the embodiment of the invention, the data visualization system performs data verification according to the initial model, and after the verification result is obtained, the visualization model can be obtained according to the verification result, so that data visualization can be realized.
It should be noted that, in the implementation of the present application, when the data visualization system obtains the visualization model according to the verification result, if the verification result is qualified, it can be considered that there is no error in the initial data, and then the data visualization system can directly determine the initial model as the visualization model corresponding to the initial data.
It should be noted that, in the implementation of the present application, when the data visualization system obtains the visualization model according to the verification result, if the verification result is unqualified, it may be considered that there is an error in the initial data, the data visualization system needs to continue to acquire data, and correct the initial model to obtain the visualization model corresponding to the initial data, so as to implement data visualization.
Further, in the embodiment of the application, if the verification result is unqualified, the data visualization system needs to collect data again to obtain supplemented data, and then corrects the initial model according to the supplemented data to obtain a corrected model, the data visualization system continues to perform data verification according to the corrected model to obtain the verification result again, and if the verification result is unqualified, the data visualization system may repeat data collection and correction until the verification result is qualified, so that the visualization model may be obtained.
According to the data visualization method provided by the embodiment of the application, a data visualization system acquires initial data and establishes an initial model corresponding to the initial data based on D3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization. Therefore, in the embodiment of the application, after the data visualization system establishes the corresponding initial model based on d3.js according to the acquired initial data, data verification can be performed according to the initial model, and the visualization model is generated according to the verification result to realize visualization of the data, wherein when the verification result is unqualified, the data visualization system can continue to acquire the data, correct the initial model according to the acquired supplementary data to obtain a corrected model, and if the verification result obtained again by performing data verification according to the corrected model is unqualified, the data acquisition and correction processing is repeated until the verification result is qualified. Therefore, errors of the acquired data can be reduced, the accuracy and readability of data presentation are improved, the difficulty of data maintenance is reduced, and the method is simple and convenient to achieve, convenient to popularize and wide in application range.
Example two
Based on the first embodiment, fig. 2 is a schematic flow chart illustrating an implementation process of a data visualization method provided in an embodiment of the present application, as shown in fig. 2, in an embodiment of the present invention, a data visualization system obtains a visualization model according to a verification result, and the method for implementing data visualization includes the following steps:
and 103a, when the verification result is qualified, determining the initial model as a visual model.
In the embodiment of the invention, after the data visualization system performs data verification according to the initial model and obtains the verification result, if the verification result is qualified, the data visualization system can determine the initial model as the visualization model corresponding to the initial data.
It should be noted that, in the embodiment of the present application, if the verification result is qualified, the initial model may be considered to meet an expected standard, that is, it may be stated that there is no error in the initial data, and then the data visualization system may directly determine the initial model as the visualization model corresponding to the initial data.
And 103b, when the checking result is unqualified, continuing to acquire data to obtain the visual model.
In the embodiment of the invention, after the data visualization system performs data verification according to the initial model and obtains the verification result, if the verification result is unqualified, the data visualization system needs to continue data acquisition to obtain the visualization model.
It should be noted that, in the embodiment of the present application, if the verification result is not qualified, it may be considered that the initial model does not meet the expected standard, that is, it may be said that there is an error in the initial data, and therefore, the data visualization system needs to continue data acquisition, and correct the initial model according to the acquired supplementary data, so that a visualization model corresponding to the initial data may be obtained, and data visualization is implemented.
Further, in the implementation of the present application, when the data visualization system continues to collect data, not all data of all devices is collected, but part of data with errors is collected.
Fig. 3 is a schematic view of an implementation flow of a data visualization method provided in an embodiment of the present application, and as shown in fig. 3, in the embodiment of the present invention, when a verification result is unqualified, the data visualization system continues data acquisition to obtain a visualization model, where the method includes the following steps:
and step 201, determining a correction target when the checking result is unqualified.
And step 202, acquiring data according to the corrected target to obtain supplementary data.
In the embodiment of the application, after the data visualization system performs data verification according to the initial model and obtains the verification result, if the verification result is unqualified, the data visualization system may determine the correction target first and then perform data acquisition again according to the correction target, so as to obtain the supplementary data.
Further, in the implementation of the present application, if the verification result is not qualified, the data visualization system needs to determine the data which has an error and needs to be collected again in the initial data, that is, determine the correction target.
It should be noted that, in the implementation of the present application, after determining the correction target that needs to perform data acquisition again, the data visualization system may perform targeted data acquisition again according to the correction target, that is, when the data visualization system performs data acquisition again, not all data of all devices are acquired, but only part of data with errors is acquired, so that supplementary data may be obtained.
Further, in the practice of the present application, the correction objective is used to characterize the data in the presence of errors. The modification target may be partial data in at least one group of data corresponding to at least one device, or partial associated data in all associated data between at least one device.
It should be noted that, in the embodiment of the present application, the supplementary data may be used to supplement the initial data, so that the initial model may be further modified.
And step 203, correcting the initial model according to the supplementary data to obtain a corrected model.
In the embodiment of the application, after the data visualization system acquires data according to the correction target and obtains the supplementary data, the initial model can be corrected according to the supplementary data, so that a corrected model can be obtained.
It should be noted that, in the embodiment of the present application, after data with an error in the initial data is re-collected and supplemental data is obtained, the data visualization system may further perform correction processing on the initial model according to the supplemental data, where the supplemental data is used to correct the error in the initial data, so that an undesired portion in the initial model may be corrected by using the supplemental data, and a corrected model may be obtained.
Further, in the implementation of the present application, when the data visualization system performs the correction process on the initial model according to the supplementary data, the model reconstruction is performed based on d3.js to obtain the corrected model.
And 204, carrying out data verification according to the corrected model, and obtaining a verification result again.
In the implementation of the application, after the data visualization system corrects the initial model according to the supplementary data and obtains the corrected model, the data visualization system may perform data verification according to the corrected model and obtain the verification result again.
Further, in the embodiment of the present application, the data visualization system performs data verification according to the corrected model, and the obtained verification result may be qualified or unqualified. Specifically, when the verification result is qualified, the accuracy of the supplementary data can be considered to meet the requirement, and a corresponding visual model can be finally generated; and when the checking result is unqualified, the accuracy of the supplementary data can be considered to be not met, data acquisition is required to be continuously carried out, and the corrected model is continuously corrected again to generate a corresponding visual model.
It should be noted that, in the embodiment of the present application, the data visualization system performs data verification again according to the corrected model, and when the verification result is obtained again, the corrected model and the pre-stored standard model may be compared, so that the verification result may be obtained again according to the comparison result. The comparison result can be used to represent the similarity between the modified model and the pre-stored standard model.
Further, in the embodiment of the application, after the data visualization system compares the corrected model with the pre-stored standard model to obtain the comparison result, if the comparison result is greater than or equal to the preset similarity threshold, the corrected model can be considered to be in accordance with the expectation, so that the verification result can be determined to be qualified according to the comparison result; if the comparison result is smaller than the preset similarity threshold, the corrected model is considered to be not in accordance with the expectation, so that the verification result can be determined to be unqualified according to the comparison result.
It should be noted that, in the embodiment of the present application, after the data visualization system corrects the initial model to obtain a corrected model, when the presented corrected model still has an error or careless mistakes, it may be considered that the supplementary data still has an error, and therefore the data visualization system may continue to perform data verification on the supplementary data according to the corrected model.
Further, in an embodiment of the application, after the data visualization system corrects the initial model to obtain a corrected model, the data visualization system may also perform data verification according to other data verification methods, and the application is not particularly limited.
And step 205, when the verification result is unqualified, repeating the data acquisition and correction processing until the verification result is qualified, and obtaining the visual model.
In the embodiment of the application, after the data visualization system performs data verification according to the corrected model and obtains the verification result again, if the verification result is unqualified, the data visualization system can repeat data acquisition and correction processing until the verification result is qualified, so that the visualization model can be obtained.
It should be noted that, in the implementation of the present application, if the retrieved verification result is not qualified, the data visualization system may repeatedly perform data collection according to the method of the above step 201 to step 204, and perform the model modification process according to the collected data until the obtained verification result is qualified.
Fig. 4 is a schematic view of an implementation flow of a data visualization method according to an embodiment of the present application, as shown in fig. 4, in an embodiment of the present invention, after the data visualization system performs data verification according to the modified model and obtains a verification result again, that is, after step 204, the method for performing data visualization by the data visualization system further includes the following steps:
and step 206, when the verification result is qualified, determining the corrected model as a visual model.
In the embodiment of the application, after the data visualization system performs data verification according to the corrected model and obtains the verification result again, if the verification result is qualified, the data visualization system may determine the corrected model as the visualization model.
It should be noted that, in the implementation of the present application, after the data visualization system performs data verification according to the corrected model, if the obtained verification result is qualified, it can be considered that there is no error in the supplementary data, and then the data visualization system may determine the initially corrected model as the visualization model.
As can be seen from the above methods in steps 201 to 206, in the embodiment of the present application, if the verification result is not qualified, the data visualization system needs to collect data again to obtain supplementary data, and then performs a correction process on the initial model according to the supplementary data to obtain a corrected model, the data visualization system continues to perform data verification according to the corrected model to obtain a verification result again, and if the verification result is not qualified, the data visualization system may repeat data collection and correction processes until the verification result is qualified, so that the visualization model may be obtained.
According to the data visualization method provided by the embodiment of the application, a data visualization system acquires initial data and establishes an initial model corresponding to the initial data based on D3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization. Therefore, in the embodiment of the application, after the data visualization system establishes the corresponding initial model based on d3.js according to the acquired initial data, data verification can be performed according to the initial model, and the visualization model is generated according to the verification result to realize visualization of the data, wherein when the verification result is unqualified, the data visualization system can continue to acquire the data, correct the initial model according to the acquired supplementary data to obtain a corrected model, and if the verification result obtained again by performing data verification according to the corrected model is unqualified, the data acquisition and correction processing is repeated until the verification result is qualified. Therefore, errors of the acquired data can be reduced, the accuracy and readability of data presentation are improved, the difficulty of data maintenance is reduced, and the method is simple and convenient to achieve, convenient to popularize and wide in application range.
EXAMPLE III
Based on the first embodiment, fig. 5 is a schematic view of an implementation flow of a data visualization method provided in an embodiment of the present application, as shown in fig. 5, after the data visualization system obtains a visualization model according to a verification result and implements data visualization, that is, after step 103, the data visualization system further includes the following steps according to the method for performing data visualization:
and 104, displaying the visualization model in a preset display area.
In an embodiment of the application, after the data visualization system generates the visualization model, the data visualization system may display the visualization model in the preset display area.
It should be noted that, in the embodiment of the present application, a region for displaying may be preset by the data visualization system, that is, a preset display region, so that the obtained visualization model may be displayed in the preset display region to implement visual presentation of data.
Fig. 6 is a schematic view illustrating an implementation flow of a data visualization method according to an embodiment of the present application, as shown in fig. 6, after the data visualization system displays the visualization model in the preset display area, that is, after step 104, the data visualization system further includes the following steps according to the method for performing data visualization:
105, receiving an updating instruction in a preset display area; wherein, the updating instruction carries the data to be updated.
In an implementation of the present application, after the data visualization system displays the visualization model in the preset display area, the data visualization system may receive an update instruction in the preset display area. The updating instruction is used for updating data.
It should be noted that, in the embodiment of the present application, the update instruction carries data to be updated, and the data visualization system may update the data according to the data to be updated.
And 106, updating the visualization model according to the data to be updated to obtain the updated visualization model.
In the embodiment of the application, after the data visualization system receives the update instruction in the preset display area, the visualization model can be updated according to the data to be updated, so that the updated visualization model can be obtained.
It should be noted that, in the implementation of the present application, after receiving the update instruction, the data visualization system may update the visualization model according to the data to be updated carried in the update instruction, so that the visualization model changes correspondingly with the update of the data, and the updated visualization model is obtained.
Further, in the embodiment of the present application, the method described in the above step 101 to step 106, that is, the data visualization method provided by the present application, can make the presentation manner of the data closer to the physical image of the real-world device, and accordingly, the maintenance of the data will also be performed in the system in a closer manner to the real-world. For example, data is usually added in a form filling manner, but in actual operation, users often have inconvenience and inaccuracy in the manner of filling in the form. If the information is wrongly filled, the information needs to be changed through a complicated process. The data visualization method provided by the application can provide actual operation closer to the user in reality to replace most user input. In particular some associated type of information, such as the frame number of the rack to which the device belongs. In the conventional method, only the list display is performed, and then one item is selected, so that a user cannot directly perceive which one of the actual devices corresponds to each item on the specific list, and more information needs to be associated. And if the visual model is directly presented, the user can directly see whether equipment exists on each frame position on the rack and what type and model of the equipment. The user can click and select the free frame position to carry out equipment racking operation. Furthermore, a series of operations including jumper connection, routing setting, cable threading and the like correspond to action operations in the visual model, and can be closer to operations in display, so that the operation is convenient for users to use, and the requirement of professional knowledge of maintenance personnel can be reduced. That is to say, the data visualization method provided by the application is a novel data interaction mode, can get rid of the traditional form input mode, and can be presented in the system in a mode closer to the real presentation mode, so that the user can make the current resources and the input of the actions more clear.
According to the data visualization method provided by the embodiment of the application, a data visualization system acquires initial data and establishes an initial model corresponding to the initial data based on D3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization. Therefore, in the embodiment of the application, after the data visualization system establishes the corresponding initial model based on d3.js according to the acquired initial data, data verification can be performed according to the initial model, and the visualization model is generated according to the verification result to realize visualization of the data, wherein when the verification result is unqualified, the data visualization system can continue to acquire the data, correct the initial model according to the acquired supplementary data to obtain a corrected model, and if the verification result obtained again by performing data verification according to the corrected model is unqualified, the data acquisition and correction processing is repeated until the verification result is qualified. Therefore, errors of the acquired data can be reduced, the accuracy and readability of data presentation are improved, the difficulty of data maintenance is reduced, and the method is simple and convenient to achieve, convenient to popularize and wide in application range.
Example four
Based on the first to third embodiments, fig. 7 is a schematic structural diagram of a composition of the data visualization system provided in the embodiment of the present application, as shown in fig. 7, in an embodiment of the present invention, the data visualization system 1 includes: the device comprises an acquisition unit 11, a building unit 12, a verification unit 13, an acquisition unit 14, a determination unit 15, a display unit 16, a receiving unit 17 and an updating unit 18.
The acquisition unit 11 is configured to acquire and obtain initial data.
The establishing unit 12 is configured to establish an initial model corresponding to the initial data based on a visualization library d3. js.
And the verification unit 13 is configured to perform data verification according to the initial model to obtain a verification result.
The obtaining unit 14 is configured to obtain a visualization model according to the verification result, so as to implement data visualization.
Further, in the implementation of the present application, the verification unit 13 is specifically configured to compare the initial model with a pre-stored standard model to obtain the verification result.
Further, in an implementation of the present application, the obtaining unit 14 is specifically configured to determine the initial model as the visualization model when the verification result is qualified; and when the checking result is unqualified, continuing to acquire data to obtain the visual model.
Further, in the implementation of the present application, the obtaining unit 14 is specifically configured to determine a correction target when the verification result is unqualified; acquiring data according to the correction target to obtain supplementary data; correcting the initial model according to the supplementary data to obtain a corrected model; carrying out data verification according to the corrected model, and obtaining the verification result again; and when the verification result is unqualified, repeating the data acquisition and the correction processing until the verification result is qualified, and obtaining the visual model.
Further, in an implementation of the present application, the determining unit 15 is configured to perform data verification according to the corrected model, and after the verification result is obtained again, when the verification result is qualified, determine the corrected model as the visualization model.
Further, in an implementation of the present application, the display unit 16 is configured to obtain a visualization model according to the verification result, and display the visualization model in a preset display area after data visualization is implemented.
Further, in an implementation of the present application, the receiving unit 17 is configured to receive an update instruction in a preset display area after the visualization model is displayed in the preset display area; and the updating instruction carries the data to be updated.
The updating unit 18 is configured to update the visualization model according to the data to be updated, so as to obtain an updated visualization model.
Fig. 8 is a schematic structural diagram of a composition of the data visualization system 1 according to the embodiment of the present application, and as shown in fig. 8, the data visualization system 1 according to the embodiment of the present application may further include a processor 19 and a memory 110 storing an executable instruction of the processor 19, and further, the data visualization system 1 may further include a communication interface 111, and a bus 112 for connecting the processor 19, the memory 110, and the communication interface 111.
In the embodiment of the present Application, the Processor 19 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a ProgRAMmable Logic Device (PLD), a Field ProgRAMmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the processor functions may be other devices, and the embodiments of the present application are not limited in particular. The data visualization system 1 may further comprise a memory 110, which memory 110 may be connected to the processor 19, wherein the memory 110 is configured to store executable program code comprising computer operating instructions, and the memory 110 may comprise a high speed RAM memory and may further comprise a non-volatile memory, e.g. at least two disk memories.
In the embodiment of the present application, the bus 112 is used to connect the communication interface 111, the processor 19, and the memory 110 and the intercommunication among these devices.
In an embodiment of the present application, the memory 110 is used for storing instructions and data.
Further, in the embodiment of the present application, the processor 19 is configured to acquire and obtain initial data, and establish an initial model corresponding to the initial data based on a visualization library d3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization.
In practical applications, the Memory 110 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor 19.
In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the data visualization system provided by the embodiment of the application, initial data is acquired and obtained by the data visualization system, and an initial model corresponding to the initial data is established based on D3. js; carrying out data verification according to the initial model to obtain a verification result; and acquiring a visual model according to the verification result to realize data visualization. Therefore, in the embodiment of the application, after the data visualization system establishes the corresponding initial model based on d3.js according to the acquired initial data, data verification can be performed according to the initial model, and the visualization model is generated according to the verification result to realize visualization of the data, wherein when the verification result is unqualified, the data visualization system can continue to acquire the data, correct the initial model according to the acquired supplementary data to obtain a corrected model, and if the verification result obtained again by performing data verification according to the corrected model is unqualified, the data acquisition and correction processing is repeated until the verification result is qualified. Therefore, errors of the acquired data can be reduced, the accuracy and readability of data presentation are improved, the difficulty of data maintenance is reduced, and the method is simple and convenient to achieve, convenient to popularize and wide in application range.
An embodiment of the application provides a computer-readable storage medium, on which a program is stored, which when executed by a processor implements the data visualization method as described above.
Specifically, the program instructions corresponding to a data visualization method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the program instructions corresponding to a data visualization method in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring initial data, and establishing an initial model corresponding to the initial data based on a visualization library D3. js;
carrying out data verification according to the initial model to obtain a verification result;
and acquiring a visual model according to the verification result to realize data visualization.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, display, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a 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, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. 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 block or blocks and/or flowchart 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 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 block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (16)

1. A method for data visualization, the method comprising:
acquiring initial data, and establishing an initial model corresponding to the initial data based on a visualization library D3. js;
carrying out data verification according to the initial model to obtain a verification result;
and acquiring a visual model according to the verification result to realize data visualization.
2. The method of claim 1, wherein the performing data verification according to the initial model to obtain a verification result comprises:
and comparing the initial model with a pre-stored standard model to obtain the verification result.
3. The method of claim 1, wherein the obtaining a visualization model according to the verification result to achieve data visualization comprises:
when the verification result is qualified, determining the initial model as the visual model;
and when the checking result is unqualified, continuing to acquire data to obtain the visual model.
4. The method of claim 3, wherein when the verification result is unqualified, continuing data acquisition to obtain the visualization model comprises:
when the checking result is unqualified, determining a correction target;
acquiring data according to the corrected target to obtain supplementary data;
correcting the initial model according to the supplementary data to obtain a corrected model;
carrying out data verification according to the corrected model, and obtaining the verification result again;
and when the verification result is unqualified, repeating the data acquisition and the correction processing until the verification result is qualified, and obtaining the visual model.
5. The method of claim 4, wherein after the data verification is performed according to the modified model and the verification result is retrieved, the method further comprises:
and when the verification result is qualified, determining the corrected model as the visual model.
6. The method of claim 1, wherein after obtaining a visualization model according to the verification result and implementing data visualization, the method further comprises:
and displaying the visual model in a preset display area.
7. The method of claim 6, wherein after displaying the visualization model in the preset display area, the method further comprises:
receiving an updating instruction in the preset display area; wherein the updating instruction carries data to be updated;
and updating the visual model according to the data to be updated to obtain the updated visual model.
8. A data visualization system, characterized in that the data visualization system comprises: an acquisition unit, an establishment unit, a verification unit and an acquisition unit,
the acquisition unit is used for acquiring and obtaining initial data;
the establishing unit is used for establishing an initial model corresponding to the initial data based on a visualization library D3. js;
the checking unit is used for checking data according to the initial model to obtain a checking result;
and the acquisition unit is used for acquiring a visual model according to the verification result to realize data visualization.
9. The data visualization system of claim 8,
the verification unit is specifically configured to compare the initial model with a pre-stored standard model to obtain the verification result.
10. The data visualization system of claim 8,
the obtaining unit is specifically configured to determine the initial model as the visualization model when the verification result is qualified; and when the checking result is unqualified, continuing to acquire data to obtain the visual model.
11. The data visualization system of claim 10,
the obtaining unit is specifically configured to determine a correction target when the check result is unqualified; acquiring data according to the correction target to obtain supplementary data; correcting the initial model according to the supplementary data to obtain a corrected model; carrying out data verification according to the corrected model, and obtaining the verification result again; and when the verification result is unqualified, repeating the data acquisition and the correction processing until the verification result is qualified, and obtaining the visual model.
12. The data visualization system of claim 11, further comprising: a determination unit for determining whether the received signal is correct,
and the determining unit is used for carrying out data verification according to the corrected model, and determining the corrected model as the visual model when the verification result is qualified after the verification result is obtained again.
13. The data visualization system of claim 8, further comprising: a display unit for displaying the image of the object,
and the display unit is used for acquiring a visual model according to the verification result, and displaying the visual model in a preset display area after data visualization is realized.
14. A data visualization system as recited in claim 13, further comprising: a receiving unit and an updating unit, wherein,
the receiving unit is used for receiving an updating instruction in a preset display area after the visualization model is displayed in the preset display area; wherein the updating instruction carries data to be updated;
and the updating unit is used for updating the visual model according to the data to be updated to obtain the updated visual model.
15. A data visualization system comprising a processor, a memory storing instructions executable by the processor, a communication interface, and a bus connecting the processor, the memory, and the communication interface, wherein the instructions, when executed by the processor, implement the method of any of claims 1-7.
16. A computer-readable storage medium, on which a program is stored, for use in a data visualization system, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN201910649290.5A 2019-07-18 2019-07-18 Data visualization method and system, and computer readable storage medium Pending CN112241431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910649290.5A CN112241431A (en) 2019-07-18 2019-07-18 Data visualization method and system, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910649290.5A CN112241431A (en) 2019-07-18 2019-07-18 Data visualization method and system, and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112241431A true CN112241431A (en) 2021-01-19

Family

ID=74167900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910649290.5A Pending CN112241431A (en) 2019-07-18 2019-07-18 Data visualization method and system, and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112241431A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345623A (en) * 2018-09-30 2019-02-15 Oppo广东移动通信有限公司 Model verification method and server, computer storage medium
CN109410319A (en) * 2018-09-30 2019-03-01 Oppo广东移动通信有限公司 A kind of data processing method, server and computer storage medium
CN109726321A (en) * 2019-01-11 2019-05-07 安徽爱吉泰克科技有限公司 It is a kind of to visualize integrated cloud computing application system and method
CN109994171A (en) * 2019-01-24 2019-07-09 西安交通大学 A kind of manifold method for visualizing and system for clinical path comparison

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345623A (en) * 2018-09-30 2019-02-15 Oppo广东移动通信有限公司 Model verification method and server, computer storage medium
CN109410319A (en) * 2018-09-30 2019-03-01 Oppo广东移动通信有限公司 A kind of data processing method, server and computer storage medium
CN109726321A (en) * 2019-01-11 2019-05-07 安徽爱吉泰克科技有限公司 It is a kind of to visualize integrated cloud computing application system and method
CN109994171A (en) * 2019-01-24 2019-07-09 西安交通大学 A kind of manifold method for visualizing and system for clinical path comparison

Similar Documents

Publication Publication Date Title
CN110781423A (en) Webpage generation method and device and electronic equipment
CN104503957A (en) Formula graph automatic generation method and device
EP3828751A2 (en) Method, apparatus and electronic device for annotating information of structured document
KR101950126B1 (en) Mathematical formula processing method, device, apparatus and computer storage medium
CN114138244A (en) Method and device for automatically generating model files, storage medium and electronic equipment
JP2019139772A (en) Generation method of document summary, apparatus, electronic apparatus and computer readable storage medium
CN111581456A (en) JSON character string comparison method, device, equipment and storage medium
CN107609175B (en) DOM tree generation method and related equipment
CN110688827A (en) Data processing method and device, electronic equipment and storage medium
CN114036228A (en) Data synchronization method and device based on DataX, electronic device and storage medium
CN111143724B (en) Data processing method, device, equipment and medium
CN113177390A (en) Intelligent document processing method and device, computer readable medium and electronic equipment
CN112241431A (en) Data visualization method and system, and computer readable storage medium
CN110162301B (en) Form rendering method, form rendering device and storage medium
CN111507405A (en) Picture labeling method and device, electronic equipment and computer readable storage medium
CN116431517A (en) Intelligent keyword prompting method and device for automatic test platform
WO2022077914A1 (en) Medical image optimization method and apparatus, device, computer readable storage medium
CN113157275B (en) Frame animation rendering method and device, electronic equipment and storage medium
CN114518881A (en) Page generation method, system and storage medium
CN113886748A (en) Method, device and equipment for generating editing information and outputting information of webpage content
CN112799745B (en) Page display control method and device
CN113704650A (en) Information display method, device, system, equipment and storage medium
CN107636650A (en) Meet the document based on the condition for rendering assessment to present
CN106802796B (en) Image-text mixed arranging method and system based on IOS system
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210119

WD01 Invention patent application deemed withdrawn after publication