Summary of the invention
In view of this, the disclosure provides a kind of data visualization methods of exhibiting, device, electronic equipment and storage medium.
The disclosure provides a kind of data visualization methods of exhibiting, is applied to electronic equipment, and the electronic equipment prestores pointA plurality of types of reports not corresponding with each data dimension;The described method includes:
Receive a variety of data to be presented;Each data include at least one dimension.
According to the dimension of each data, determine that each data are applicable in the type of report respectively.
It is applicable in the type and each data of report according to each data, generates and each data corresponding firstReport.
Multiple first reports of generation are integrated, and according to multiple first report generation exhibitions after integrationShow the page, to be shown.
Further, according to the dimension of each data, the step of each data are applicable in the type of report is determined respectivelyInclude:
For each data, the type of all reports corresponding with the dimension of the data is searched.
According to the data volume of the data, filtered out and the data from the type of the corresponding all reports of dimension of the dataThe corresponding report of data volume type, the type of the corresponding report of different data amount is prestored in the electronic equipment.
Further, the method also includes:
The multiple first report is shown in the preset page.
Further, a plurality of types of reports include histogram, pie chart, curve graph and line chart.
The disclosure provides a kind of data visualization displaying device, is applied to electronic equipment, and the data visualization shows dressIt sets including memory module, receiving module, processing module, the first generation module and the second generation module.
The memory module prestores a plurality of types of reports corresponding with each data dimension.
The receiving module is for receiving a variety of data to be presented;Each data include at least one dimension.
The processing module is used for the dimension according to each data, determines that each data are applicable in the class of report respectivelyType.
First generation module is used to be applicable in the type and each data of report according to each data, generate andCorresponding first report of each data.
Second generation module is used to integrate multiple first reports generated, and according to more after integrationA first report generation displayed page, to be shown.
Further, the processing module is used to be directed to each data, searches institute corresponding with the dimension of the dataThere is the type of report;And according to the data volume of the data, filtered out from the type of the corresponding all reports of dimension of the dataThe type of report corresponding with the data volume of the data prestores the corresponding report of different data amount in the memory moduleType.
Further, the data visualization shows that device further includes execution module.
The execution module is for the multiple first report to be shown in the preset page.
Further, a plurality of types of reports include histogram, pie chart, curve graph and line chart.
The disclosure provides a kind of electronic equipment, and the electronic equipment includes memory, processor and above-mentioned data visualizationChange and show device, the data visualization shows that device is located at the memory and is held including one or more by the processorCapable software function module.
The disclosure provides a kind of storage medium, is stored thereon with computer program, and the computer program is real when being executedStep in existing above-mentioned data visualization methods of exhibiting.
Data visualization methods of exhibiting, device, electronic equipment and the storage medium that the disclosure provides, prestore in electronic equipmentThere are a plurality of types of reports corresponding with each data dimension respectively, after receiving a variety of data to be presented, according to each dataDimension determines that each data are applicable in the type of report respectively, after determining that each data are applicable in the type of report, is applicable according to each dataThe type of report and each data generate the first report corresponding with each data, multiple first reports of generation are integrated,And according to multiple first report generation displayed pages after integration, it is shown, reduces the artificial process for comparing screening, it canQuickly, the visual presentation for easily realizing data, reduces cost, and improve efficiency.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperateAppended attached drawing, is described in detail below.
Specific embodiment
Below in conjunction with attached drawing in the disclosure, the technical solution in the disclosure is clearly and completely described, it is clear thatDescribed embodiment is only disclosure a part of the embodiment, instead of all the embodiments.Usually retouched in attached drawing hereThe component for the disclosure stated and shown can be arranged and be designed with a variety of different configurations.Therefore, below to mentioning in the accompanying drawingsThe detailed description of the embodiment of the disclosure of confession is not intended to limit claimed the scope of the present disclosure, but is merely representative of thisDisclosed selected embodiment.Based on embodiment of the disclosure, those skilled in the art are in the premise for not making creative workUnder every other embodiment obtained, belong to the disclosure protection range.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang YiIt is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With the rapid development of big data technology, big data visualization is also and then developed rapidly, the main purport of data visualizationBy means of graphical means, succinct, convenience is clearly effectively conveyed and links up information.Personalized demand is multifarious, cityField competition globalization, a large amount of visualization scheme exhibition methods appear in people at the moment.In data visualization exploitation, need according to meshMark market, it is desirable that, data type etc. demarcates entire visualization product.Such as growth trend figure, the city of population growthCrime rate decline figure, ratio chart, handling capacity schematic diagram of transport hub of each age bracket population etc. in geographic coverage of public security.
In data visualization product development process, it usually needs various data are accessed, when needing to show these data,Showed by various charts, such as histogram, pie chart, curve graph, line chart etc., each data can be with differentChart shows.
Currently, prior art is all much to be customized to melt hair according to the demand of different clients, in different visitorsIdentical demand may also occur in family, in turn, the labour duplicated increases development cost, and in the process of development,In the presence of the uncertainty to the visual final bandwagon effect of data, it is possible to it will lead to the multiple modification above bandwagon effect,Lead to inefficiency.
Based on the studies above, the disclosure provides a kind of data visualization methods of exhibiting, device, electronic equipment and storage and is situated betweenMatter, to improve the above problem.
Fig. 1 is please referred to, data visualization methods of exhibiting provided by the disclosure is applied to electronic equipment 100, by instituteIt states electronic equipment 100 and executes data visualization methods of exhibiting provided by the disclosure.In the disclosure, the electronic equipment 100It may be, but not limited to, PC (Personal Computer, PC), laptop, personal digital assistant(Personal Digital Assistant, PDA) or server etc. have the electronic equipment 100 of data-handling capacity.
The electronic equipment 100 include data visualization shown in Fig. 2 show device 10, memory 20, processor 30 withAnd communication unit 40;The memory 20, processor 30 and each element of communication unit 40 are between each other directly or indirectlyIt is electrically connected, to realize the transmission or interaction of data.For example, these elements mutually can directly pass through one or more communication busOr signal wire is realized and is electrically connected.The data visualization shows that device 10 can be with software or firmware including at least one(Firmware) form is stored in the software function module in the memory 20, and the processor 30 is stored in by operationSoftware program and module in memory 20, thereby executing various function application and data processing.
The memory 20 may be, but not limited to, random access memory (Random Access Memory, RAM),Read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-OnlyMemory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
The processor 30 can be a kind of IC chip, the processing capacity with signal.The processor 30 canTo be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (NetworkProcessor, NP) etc..
The communication unit 40 is used for the communication established between the electronic equipment 100 and other external equipments by networkConnection, and carried out data transmission by the network.
Fig. 3 is please referred to, Fig. 3 is the flow diagram of data visualization methods of exhibiting provided by the disclosure.BelowThe detailed process of data visualization methods of exhibiting shown in Fig. 3 is described in detail.
Step S10: a variety of data to be presented are received.
Wherein, received data class is a variety of, for example, received data may be, but not limited to, the increasing that population increasesEach age bracket demographic data, the throughput data of transport hub in long data, geographic coverage.It is wrapped in received each dataInclude at least one dimension.The dimension of the data refers to the attribute of data, feature etc..Dimension is certain spy of things or phenomenonSign, such as gender, area, time are all dimensions.
Step S20: according to the dimension of each data, determine that each data are applicable in the type of report respectively.
Wherein, after receiving a variety of data to be presented, according to the dimension of each data, each data are determined respectivelyIt is applicable in the type of report.
Further, Fig. 4 is please referred to, according to the dimension of each data, determines that each data are applicable in report respectivelyThe step of type of table includes sub-step S21 to sub-step S22.
Sub-step S21: being directed to each data, searches the type of all reports corresponding with the dimension of the data.
Wherein, a plurality of types of reports corresponding with each data dimension respectively are prestored in the electronic equipment 100,
For example, the corresponding report form type of data dimension 1 has report 1, report 2 and report 3;The corresponding report of data dimension 1Table type has report 4, report 5 and report 6.After receiving a variety of data to be presented, for each data, searchThe type of all reports corresponding with the dimension of the data.For example, the dimension of the data is dimension 1, then corresponding report is found outTable type has report 1, report 2 and report 3, in another example the dimension of the data is dimension 2, then finds out corresponding report form typeThere are report 4, report 5 and report 6.For another example the dimension of the data is dimension 1 and dimension 2, then corresponding report class is found outType has report 1, report 2, report 3, report 4, report 5 and report 6.It should be understood that if the data there are a variety of dimensions,According to the corresponding relationship of data dimension and report form type, the type of the corresponding report of the dimension all with the data is found out.
After the type for finding out all reports corresponding with the dimension of the data, into sub-step S22.
Sub-step S22: it according to the data volume of the data, is screened from the type of the corresponding all reports of dimension of the dataThe type of report corresponding with the data volume of the data out.
Wherein, the type of the corresponding report of different data amount is prestored in the electronic equipment 100, for example, bigData volume corresponds to report 1 and report 4, and moderate data volume corresponds to report 2 and report 5, and small data volume corresponds to report 3 and report6.Optionally, in the disclosure, the corresponding relationship of data volume and report form type presets depending on concrete condition and is stored in instituteIt states in electronic equipment 100.For example, big data volume can also correspond to report 2 and report 5, moderate data volume can also be corresponded toReport 1 and report 4.
For each data, in the corresponding relationship according to data dimension and report form type, tentatively find out and the numberAccording to the corresponding all reports of dimension type after, according to the data volume of the data, from the corresponding all reports of the dimension of the dataThe type of report corresponding with the data volume of the data is filtered out in the type of table.For example, preset the data volume of storage withThe corresponding relationship of report form type is that big data volume corresponds to report 1 and report 4, and moderate data volume corresponds to report 2 and report 5,Small data volume corresponds to report 3 and report 6, according to the corresponding relationship of data dimension and report form type, tentatively finds out and the numberAccording to the type of the corresponding report of dimension have report 1, report 2 and report 3, and the data volume of the data is bigger, then filters outThe type of report corresponding with the data volume of the data is report 1, and in turn, the type for determining that the data are applicable in report is report 1.
Further, the type of the report includes histogram, pie chart, curve graph, list and line chart etc..Every one kindThe report of type includes a plurality of types of subreports, for example, the report of bar graph type includes percentage histogram subreport, tuftedHistogram subreport, D prism map subreport etc.;In another example the report of pie chart type includes percentage pie chart subreport, threeTie up pie chart subreport, compound pie chart subreport and pie chart subreport etc..
After determining that each data are applicable in the type of report, S30 is entered step.
Step S30: being applicable in the type and each data of report according to each data, generates and each data pairThe first report answered.
Wherein, after determining that each data are applicable in the type of report, for each data, with the corresponding report of the dataType the data are calculated, generate corresponding with the data the first report, the type and the data of first reportThe type for being applicable in report is identical.
Corresponding first report of each data is generated based on each data, includes corresponding each data.TheThe generation of one report realizes the visualization of data.
Step S40: multiple first reports of generation are integrated, and according to multiple first reports after integrationTable generates displayed page, to be shown.
Wherein, it in the type and each data for being applicable in report according to each data, generates and each data pairAfter the first report answered, multiple first reports of generation are integrated, and according to multiple first reports after integrationTable generates displayed page and is shown multiple first reports of generation on the displayed page of generation.
It, can also be right after being integrated multiple first reports generated in order to keep displayed page more aesthetically pleasingMultiple first reports are carried out typesetting and are shown with multiple first report generation displayed pages after typesetting.
Further, for the ease of client's use, the disclosure, can will be described more after generating multiple first reportsA first report is shown in the preset page.Optionally, in the disclosure, after generating multiple first reports,One of those or more than one first report are shown by the property of can choose in the preset page, to not opening upShow integrated in the first report of the preset page, typesetting, generate displayed page, be shown.
Data visualization methods of exhibiting provided by the disclosure determines that each data are applicable in report according to the dimension of each dataType, and be applicable according to each data the type of report, the first report corresponding with each data generated, to multiple the first of generationReport is integrated, and according to multiple first report generation displayed pages after integration, is shown, and is reduced artificial compare and is sievedThe process of choosing can quickly, easily realize the visual presentation of data, reduce cost, and improve efficiency.
Turning back to combination referring to Fig.2, the disclosure provides a kind of data visualization displaying device 10, it is applied to electronic equipment100, the data visualization shows that device 10 includes memory module 11, receiving module 12, processing module 13, the first generation module14 and second generation module 15.
The memory module 11 prestores a plurality of types of reports corresponding with each data dimension.
The receiving module 12 is for receiving a variety of data to be presented;Each data include at least one dimension.
The processing module 13 is used for the dimension according to each data, determines that each data are applicable in the class of report respectivelyType.
First generation module 14 is used to be applicable in the type and each data of report according to each data, generatesThe first report corresponding with each data.
Second generation module 15 be used for by generate multiple first reports integrate, and according to integration afterMultiple first report generation displayed pages, to be shown.
Further, the processing module 13 is used to be directed to each data, searches corresponding with the dimension of the dataThe type of all reports;And according to the data volume of the data, screened from the type of the corresponding all reports of dimension of the dataIt is corresponding to prestore different data amount in the memory module 11 for the type of report corresponding with the data volume of the data outThe type of report.
Further, the data visualization shows that device 10 further includes execution module 16.
The execution module 16 is for the multiple first report to be shown in the preset page.
Further, a plurality of types of reports include histogram, pie chart, curve graph and line chart.
It is apparent to those skilled in the art that for convenience and simplicity of description, the data of foregoing descriptionThe specific work process of device 10 is visualized, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
The disclosure provides a kind of electronic equipment 100, and the electronic equipment 100 includes memory 20, processor 30 and above-mentionedData visualization show that device 10, the data visualization show that device 10 is located at the memory 20 and including one or moreA software function module executed by the processor 30.
The a kind of electronic equipment 100 that the disclosure provides, due to including that above-mentioned data visualization shows device 10, shouldElectronic equipment 100 has technical characteristic identical with above-mentioned data visualization displaying device 10, and this is no longer going to repeat them, please joinExamine the explanation that device 10 is shown to above-mentioned three data visualization.
The disclosure provides a kind of storage medium, is stored thereon with computer program, and the computer program is real when being executedStep in existing above-mentioned data visualization methods of exhibiting.
It is apparent to those skilled in the art that for convenience and simplicity of description, the storage of foregoing descriptionThe specific work process of medium no longer can excessively repeat herein with reference to the corresponding process in preceding method.
To sum up, data visualization methods of exhibiting, device, electronic equipment and storage medium that the disclosure provides, set in electronicsIt is standby to prestore a plurality of types of reports corresponding with each data dimension respectively, after receiving a variety of data to be presented, according to eachThe dimension of data determines that each data are applicable in the type of report respectively, after determining that each data are applicable in the type of report, according to each numberAccording to the type and each data for being applicable in report, generate the first report corresponding with each data, by multiple first reports of generation intoRow integration, and according to multiple first report generation displayed pages after integration, it is shown, reduces the artificial stream for comparing screeningJourney can quickly, easily realize the visual presentation of data, reduce cost, and improve efficiency.
In several embodiments provided by the disclosure, it should be understood that disclosed device and method can also pass throughOther modes are realized.Device and method embodiment described above is only schematical, for example, the flow chart in attached drawingThe device of multiple embodiments according to the disclosure, the system in the cards of method and computer program product are shown with block diagramFramework, function and operation.In this regard, each box in flowchart or block diagram can represent a module, program segment or generationA part of code, a part of the module, section or code include one or more for realizing defined logic functionExecutable instruction.It should also be noted that function marked in the box can also be in some implementations as replacementOccur different from the sequence marked in attached drawing.For example, two continuous boxes can actually be basically executed in parallel, theySometimes it can also execute in the opposite order, this depends on the function involved.It is also noted that block diagram and or flow chartIn each box and the box in block diagram and or flow chart combination, can function or movement as defined in executing it is specialHardware based system is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the disclosure can integrate one independent portion of formation togetherPoint, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function moduleIt is stored in a computer readable storage medium.Based on this understanding, the technical solution of the disclosure is substantially in other wordsThe part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meterCalculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be aPeople's computer, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the disclosureSuddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at randomThe various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk.It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludabilityContain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also includingOther elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the elementProcess, method, article or equipment in there is also other identical elements.In addition, term " first ", " second " etc. are only used forDescription is distinguished, relative importance is not understood to indicate or imply.
The foregoing is merely the alternative embodiments of the disclosure, are not limited to the disclosure, for the skill of this fieldFor art personnel, the disclosure can have various modifications and variations.It is all within the spirit and principle of the disclosure, it is made any to repairChange, equivalent replacement, improvement etc., should be included within the protection scope of the disclosure.