CN108268480A - A kind of big data shows method and apparatus - Google Patents
A kind of big data shows method and apparatus Download PDFInfo
- Publication number
- CN108268480A CN108268480A CN201611258128.3A CN201611258128A CN108268480A CN 108268480 A CN108268480 A CN 108268480A CN 201611258128 A CN201611258128 A CN 201611258128A CN 108268480 A CN108268480 A CN 108268480A
- Authority
- CN
- China
- Prior art keywords
- data
- grouping
- model
- unit lattice
- tree
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/26—Visual data mining; Browsing structured data
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Show method the embodiment of the invention discloses a kind of big data, including defining tree-like matrix unit lattice model, the tree matrix unit lattice model can store the grouping belonging to grouping, data and data;Data are read, the grouping dimensional information showed as requested loads data into the tree matrix unit lattice model;According to it is described be loaded into data tree matrix unit lattice model, recurrence draws and show the grouping in the model and be grouped under all cells.The embodiment of the invention also discloses a kind of demonstration devices of big data.
Description
Technical field
The present invention relates to computer software technical field, more specifically to a kind of data exhibiting technology.
Background technology
With the fast development of information technology computer technology, the data volume being related to also rapidly is increasing.Current number
According to showing field, the displaying of generally use various dimensions information page, however this methods of exhibiting is there are in place of inconvenience, such as more
Gauge outfit list, user cannot view the corresponding relevant information of monitoring unit to what is closed, and traditional tree graph mode can meet more
Dimension is classified, but cannot intuitively be showed, and also has apparent bottleneck in the quantity of display node, and the speed showed is also relatively slow,
It is likely to influence the overall performance of software.
Therefore it is a kind of to can be used in the scheme for closing display grouping dimensional information and big data quantity presentation urgently occurring.
Invention content
Show method the present invention provides a kind of big data of following technical solution, including:
Tree-like matrix unit lattice model is defined, the tree matrix unit lattice model can store grouping, data and data
Affiliated grouping;
Data are read, the grouping dimensional information showed as requested loads data into the tree matrix unit lattice model;
According to it is described be loaded into data tree matrix unit lattice model, recurrence draws and show the grouping in the model with
All cells under grouping.
Preferably, the method further includes:
Setting unit lattice show threshold value, include cell quantity, cell width;
If desired the cell quantity showed shows threshold value described in being more than, then show threshold value description according to shows model
Carry out real-time rendering is enclosed, dynamically shows the cell.
Specifically:
The tree matrix unit lattice model includes multiple cells, for storing grouping and data information, the grouping
Comprising all groups under the grouping, the corresponding data information of the carry grouping under the grouping of last layer.
Specifically:
Cycle reads all data,, will according to the grouping dimensional information for requiring to show according to the attribute information of data
The data of same packets are hung over down successively under the grouping belonging to it, load data into the tree matrix unit lattice model.
More specifically:
According to the tree matrix unit lattice model for being loaded into data, according to point in the tree matrix unit lattice model
The recursive sequence of group to data is drawn, and terminates recurrence when being plotted to data;
Show the grouped element lattice of the drafting, be grouped the cell of corresponding data.
A kind of demonstration device of big data is also disclosed in the embodiment of the present invention, and described device includes:
Unit lattice model definition unit, for defining tree-like matrix unit lattice model, the tree matrix unit lattice model
The grouping belonging to grouping, data and data can be stored;
Model is loaded into unit, and for reading data, the grouping dimensional information that shows as requested loads data into the list
The tree matrix unit lattice model that first lattice model definition unit defines;
Tree matrix cell shows unit, for being loaded into the tree matrix unit of unit loading data according to the model
Lattice model, recurrence draw and show the grouping in the model and grouping under all cells.
Preferably, described device further includes:
Dynamic shows unit, shows threshold value for setting unit lattice, includes cell quantity, cell width;
If desired the cell quantity showed shows threshold value described in being more than, then show threshold value description according to shows model
Carry out real-time rendering is enclosed, dynamically shows the cell.
Specifically:
The tree matrix unit lattice model that the unit lattice model definition unit defines includes multiple cells, is used for
Storage grouping and data information, the grouping include all groups under the grouping, and the grouping of last layer grouping lower carry is corresponding
Data information.
Specifically:
The model is loaded into unit cycle and reads all data, according to the attribute information of data, is showed according to the requirement
Grouping dimensional information, the data of same packets are hung over down successively under the grouping belonging to it, load data into the tree-like square
Array element lattice model.
More specifically:
The tree matrix cell shows unit according to the tree matrix unit lattice model for being loaded into data, according to institute
The recursive sequence for being grouped into data stated in tree matrix unit lattice model is drawn, and terminates recurrence when being plotted to data.
By above scheme it is found that the present invention is by establishing tree matrix unit lattice model, data are loaded into according to grouping
Unit lattice model, establish grouping and data it is simple contact after, this simple contact is shown in the form of cell
Come, display is very intuitive, and cell is limited unlike common ways of presentation by node, it can be achieved that quick high when recurrence shows
Showing for effect, is particularly suitable for using during big data quantity.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that a kind of method that shows of big data provided by the embodiments of the present application realizes flow chart;
Fig. 2 is the method flow diagram that the embodiment of the present application two provides;
The system that shows that Fig. 3 provides a kind of big data for the embodiment of the present application three realizes flow chart;
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of not making the creative labor
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, the method that shows that Fig. 1 is a kind of big data provided by the embodiments of the present application realizes flow chart, it can be with
Including:
Step S11:Tree-like matrix unit lattice model is defined, the tree matrix unit lattice model can store grouping, data
And the grouping belonging to data.
The tree matrix unit lattice model includes multiple cells, for storing grouping and data information, the grouping
Comprising all groups under the grouping, the corresponding data information of the carry grouping under the grouping of last layer.
When tree matrix unit lattice model defines, cell name, unique number, the unit for identifying cell can define
Whether lattice are grouped element lattice, can also define other attributes of data, can use if necessary, such as network element alarming rank,
It is corresponding to show different colours.
It should be noted that can have under grouping under group, group there can also be group, the quantity of group is not limited herein, last
The lower extension of layer grouping is corresponding data in the grouping.Data and the relationship of grouping can clearly be found out by recurrence layer by layer.
Step S12:Data are read, the grouping dimensional information showed as requested loads data into the tree matrix list
First lattice model.
Cycle reads all data,, will according to the grouping dimensional information for requiring to show according to the attribute information of data
The data of same packets are hung over down successively under the grouping belonging to it, load data into the tree matrix unit lattice model.
Grouping dimensional information is that client is concerned about, the foundation for showing data is carried out using these information as core.100 nets of example
Member, it is desirable that the dimension according to producer, type is showed, then data is loaded into tree matrix cell mould according to Vendor-Type
Type.This 100 network elements are subjected to cycle reading.All presses network element producer (first grouping dimension), NE type (second
Grouping dimension) be grouped, final all identical network element producers, NE type can hang over together, according to producer->NE type-
>The recursive form of network element is loaded into corresponding unit lattice model.
Step S13:According to the tree matrix unit lattice model for being loaded into data, recurrence is drawn and is showed in the model
Grouping and grouping under all cells.
According to the tree matrix unit lattice model for being loaded into data, according to point in the tree matrix unit lattice model
The recursive sequence of group to data is drawn, and terminates recurrence when being plotted to data;
Show the grouped element lattice of the drafting, be grouped the cell of corresponding data.
Interface recurrence draws n sub- grouped element lattice (n under grouped element lattice, grouped element lattice>=0), data.
When the cell quantity showed is excessive, in order to improve the efficiency showed, further included in this preferred implementation:
Step S14:Setting unit lattice show threshold value, include cell quantity, cell width.
After cell reaches certain amount, interface, which is integrally shown, to be needed to consume a large amount of time and memory, in this way can be tight
Ghost image rings performance, therefore setup unit lattice show threshold value, and define cell shows region, the setting of this threshold value can according to
The concern situation at family is set.
Step S15:If desired the cell quantity showed shows threshold value described in being more than, then shows threshold value description according to
Show range carry out real-time rendering, dynamically show the cell.
If show cell quantity beyond threshold value, for remaining cell by the way of virtualization, when user drags
During scroll bar, dynamic reading data in EMS memory draws corresponding cell content.
In the embodiment of the present invention, by establishing tree matrix unit lattice model, by data according to care grouping dimension into
Row shows so that shows that result is very clear, substantially increases the efficiency showed.
Illustrate the method for the present invention flow in order to clearer, the embodiment of the present invention two is provided with reference to example, such as Fig. 2 institutes
Show.
Step S21:Define tree-like matrix unit lattice model.
The tree matrix unit lattice model of definition essentially consist in description grouping, grouping and data relationship and other can
The information showed is can relate to, the content that illustratively model defines by taking Ember as an example below, but do not limit to and Ember, use it
His formal definition model can also.
Wherein each data type may respectively be, and name is character types, and childs is array, haschild bool,
AlarmSeverity is 32 integers.Here data type can be set according to actual conditions, it is not limited to be enumerated
These types, wherein alarmSeverity are the attribute of option and installment, can carry out selection setting according to actual conditions.
Step S22:Network element data is read, according to producer, the dimension of type, loads data into the attribute matrix cell
Model.
Sample network element data is as shown in table 1:
1 network element sample data of table
Network element producer | NE type | Element name |
Huawei | OMC | OMC1 |
Huawei | OMC | OMC2 |
Huawei | MSC | MSC1 |
Nuo Xi | MSC | MSC1 |
Nuo Xi | MSC | MSC2 |
The requirement of dimension is defined and showed according to model, and model is loaded data into according to the grouping of network element producer, type, China
For->OMC->OMC1,OMC2;Huawei->MSC->MSC1;Nuo Xi->MSC->MSC1,MSC2.
Step S23:Recurrence draws and shows the tree matrix unit lattice model for being loaded into data.
According in tree matrix unit lattice model grouping, the relationship of grouped data, recurrence draw tree matrix cell
And showed, as shown in table 2:
The displaying signal of 2 tree matrix cell of table
Corresponding with the method for the present invention embodiment, invention additionally discloses a kind of demonstration devices of big data, this is given below
The embodiment three of invention, as shown in Figure 3.
Unit lattice model definition unit 1, for defining tree-like matrix unit lattice model, the tree matrix unit lattice model
The grouping belonging to grouping, data and data can be stored.
The tree matrix unit lattice model that the unit lattice model definition unit defines includes multiple cells, is used for
Storage grouping and data information, the grouping include all groups under the grouping, and the grouping of last layer grouping lower carry is corresponding
Data information.
Model is loaded into unit 2, and for reading data, the grouping dimensional information that shows as requested loads data into described
The tree matrix unit lattice model that unit lattice model definition unit defines.
The model is loaded into unit cycle and reads all data, according to the attribute information of data, is showed according to the requirement
Grouping dimensional information, the data of same packets are hung over down successively under the grouping belonging to it, load data into the tree-like square
Array element lattice model.
Tree matrix cell shows unit 3, for being loaded into the tree matrix list of unit loading data according to the model
First lattice model, recurrence draw and show the grouping in the model and grouping under all cells.
Preferably, system further includes:
Dynamic shows unit 4, shows threshold value for setting unit lattice, includes cell quantity, cell width;If desired
The cell quantity showed shows threshold value described in being more than, then the range that shows for showing threshold value description according to carries out real-time wash with watercolours
Dye, dynamically shows the cell.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of module and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide range caused.
Claims (10)
1. a kind of big data shows method, which is characterized in that including:
Tree-like matrix unit lattice model is defined, the tree matrix unit lattice model can be stored belonging to grouping, data and data
Grouping;
Data are read, the grouping dimensional information showed as requested loads data into the tree matrix unit lattice model;
According to the tree matrix unit lattice model for being loaded into data, recurrence draws and shows grouping and grouping in the model
Under all cells.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Setting unit lattice show threshold value, include cell quantity, cell width;
If desired the cell quantity showed be more than it is described show threshold value, then show according to threshold value description show range into
Row real-time rendering dynamically shows the cell.
3. according to the method described in claim 2, it is characterized in that:
The tree matrix unit lattice model includes multiple cells, is included for storing grouping and data information, the grouping
All groups under the grouping, the corresponding data information of last layer grouping lower carry grouping.
4. according to the method described in claim 3, it is characterized in that:
Cycle reads all data,, will be identical according to the grouping dimensional information for requiring to show according to the attribute information of data
The data of grouping are hung over down successively under the grouping belonging to it, load data into the tree matrix unit lattice model.
5. according to the method described in claim 4, it is characterized in that:
According to it is described be loaded into data tree matrix unit lattice model, according to the grouping in the tree matrix unit lattice model extremely
The recursive sequence of data is drawn, and terminates recurrence when being plotted to data;
Show the grouped element lattice of the drafting, be grouped the cell of corresponding data.
6. a kind of demonstration device of big data, which is characterized in that described device includes:
Unit lattice model definition unit, for defining tree-like matrix unit lattice model, the tree matrix unit lattice model can be deposited
Grouping belonging to storage grouping, data and data;
Model is loaded into unit, and for reading data, the grouping dimensional information that shows as requested loads data into the cell
The tree matrix unit lattice model that model definition unit defines;
Tree matrix cell shows unit, for being loaded into the tree matrix cell mould of unit loading data according to the model
Type, recurrence draw and show the grouping in the model and grouping under all cells.
7. device according to claim 6, which is characterized in that described device further includes:
Dynamic shows unit, shows threshold value for setting unit lattice, includes cell quantity, cell width;
If desired the cell quantity showed be more than it is described show threshold value, then show according to threshold value description show range into
Row real-time rendering dynamically shows the cell.
8. device according to claim 7, it is characterised in that:
The tree matrix unit lattice model that the unit lattice model definition unit defines includes multiple cells, for storing
Grouping and data information, the grouping include all groups under the grouping, the corresponding data of last layer grouping lower carry grouping
Information.
9. device according to claim 8, it is characterised in that:
The model is loaded into unit cycle and reads all data, according to the attribute information of data, according to point for requiring to show
Group dimensional information, the data of same packets is hung over down successively under the grouping belonging to it, loads data into the tree matrix list
First lattice model.
10. device according to claim 9, it is characterised in that:
The tree matrix cell shows unit according to the tree matrix unit lattice model for being loaded into data, according to the tree
The recursive sequence of grouping to data in shape matrix unit lattice model is drawn, and terminates recurrence when being plotted to data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611258128.3A CN108268480A (en) | 2016-12-30 | 2016-12-30 | A kind of big data shows method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611258128.3A CN108268480A (en) | 2016-12-30 | 2016-12-30 | A kind of big data shows method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108268480A true CN108268480A (en) | 2018-07-10 |
Family
ID=62754675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611258128.3A Pending CN108268480A (en) | 2016-12-30 | 2016-12-30 | A kind of big data shows method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108268480A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479072A (en) * | 2010-11-23 | 2012-05-30 | 金蝶软件(中国)有限公司 | Multi-header report generating method, device and terminal |
CN103020143A (en) * | 2012-11-21 | 2013-04-03 | 用友软件股份有限公司 | Device and method for merging cells |
CN103631969A (en) * | 2013-12-20 | 2014-03-12 | 北京中电普华信息技术有限公司 | Generation method and device of report data |
CN104036040A (en) * | 2014-06-30 | 2014-09-10 | 贝壳网际(北京)安全技术有限公司 | Method and device for generating report |
CN104063361A (en) * | 2014-07-04 | 2014-09-24 | 用友软件股份有限公司 | Report design method and system |
CN105183917A (en) * | 2015-10-15 | 2015-12-23 | 国家电网公司 | Multi-dimensional analysis method for multi-level storage data |
CN105488073A (en) * | 2014-09-26 | 2016-04-13 | 北京神州泰岳软件股份有限公司 | Method and device for generating report header |
CN105488045A (en) * | 2014-09-16 | 2016-04-13 | 中兴通讯股份有限公司 | Data display method and device |
CN105630986A (en) * | 2015-12-25 | 2016-06-01 | 中国航天系统工程有限公司 | Method for acquiring multidimensional data from database for grid display |
-
2016
- 2016-12-30 CN CN201611258128.3A patent/CN108268480A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479072A (en) * | 2010-11-23 | 2012-05-30 | 金蝶软件(中国)有限公司 | Multi-header report generating method, device and terminal |
CN103020143A (en) * | 2012-11-21 | 2013-04-03 | 用友软件股份有限公司 | Device and method for merging cells |
CN103631969A (en) * | 2013-12-20 | 2014-03-12 | 北京中电普华信息技术有限公司 | Generation method and device of report data |
CN104036040A (en) * | 2014-06-30 | 2014-09-10 | 贝壳网际(北京)安全技术有限公司 | Method and device for generating report |
CN104063361A (en) * | 2014-07-04 | 2014-09-24 | 用友软件股份有限公司 | Report design method and system |
CN105488045A (en) * | 2014-09-16 | 2016-04-13 | 中兴通讯股份有限公司 | Data display method and device |
CN105488073A (en) * | 2014-09-26 | 2016-04-13 | 北京神州泰岳软件股份有限公司 | Method and device for generating report header |
CN105183917A (en) * | 2015-10-15 | 2015-12-23 | 国家电网公司 | Multi-dimensional analysis method for multi-level storage data |
CN105630986A (en) * | 2015-12-25 | 2016-06-01 | 中国航天系统工程有限公司 | Method for acquiring multidimensional data from database for grid display |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112036736B (en) | Workflow creation method and device | |
CN101833542B (en) | Method and device for rendering fonts of user interface | |
CN103778148B (en) | Life cycle management method and equipment for data file of Hadoop distributed file system | |
CN104063361B (en) | Report design method and Report Form Design system | |
CN103324763B (en) | Presenting method for tree-form data structure of mobile phone terminal | |
WO2019205019A1 (en) | Method and system for displaying a vehicle data stream and a vehicle diagnosis device | |
CN104717251B (en) | OpenStack cloud computing management platform Cell node scheduling method and systems | |
CN108038018A (en) | Expansible daily record data storage method and device | |
CN117150050B (en) | Knowledge graph construction method and system based on large language model | |
CN109491888A (en) | Application compatibility test method, device and computer readable storage medium | |
CN106547805A (en) | The method and apparatus of optimization database index | |
CN105610899A (en) | Text file parallel uploading method and device | |
CN106250110A (en) | Set up the method and device of model | |
CN107515807B (en) | Method and device for storing monitoring data | |
CN107291878A (en) | A kind of data-erasure method and device of distributed storage file system | |
US11010113B2 (en) | Method and apparatus for printing relational graph | |
CN106951531B (en) | Data query method and device | |
CN106610824A (en) | Page height self-adaptation method and apparatus | |
CN106933702A (en) | A kind of method of intelligent terminal storage space management, device and intelligent terminal | |
CN106021245A (en) | Visualization method and visualization device for data | |
CN106355632B (en) | The filter method of rendering objects and the filter device of rendering objects | |
CN112035656A (en) | Method, device, computer equipment and medium for quickly previewing document | |
CN107480235A (en) | A kind of database framework of data platform | |
CN107766087A (en) | Image processing method, method for displaying user interface and equipment | |
CN108268480A (en) | A kind of big data shows method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180710 |