CN108062318A - A kind of bubble diagram display methods and device - Google Patents
A kind of bubble diagram display methods and device Download PDFInfo
- Publication number
- CN108062318A CN108062318A CN201610980537.8A CN201610980537A CN108062318A CN 108062318 A CN108062318 A CN 108062318A CN 201610980537 A CN201610980537 A CN 201610980537A CN 108062318 A CN108062318 A CN 108062318A
- Authority
- CN
- China
- Prior art keywords
- bubble
- level
- diagram
- data
- trigger event
- 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/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
Abstract
The invention discloses a kind of bubble diagram display methods and devices, are related to field of computer technology, and main purpose is to show the data with hierarchical relationship according to different hierarchical relationships, and the incidence relation in bubble diagram between bubble is shown with this.The main technical solution of the present invention is:First floor bubble data generation first order bubble diagram in bubble data, the bubble data are the bubble data with multi-layer relation;Judge to bind with the level-one bubble in the first order bubble diagram with the presence or absence of expansion trigger event, the expansion trigger event in the first order bubble diagram;If in the presence of second level bubble diagram of the generation containing two level bubble associated with triggering bubble, the second level bubble diagram is to trigger bubble as display centre;Return trigger event according to the center bubble in the second level bubble diagram is triggered shows first order bubble diagram.Optimization present invention is mainly used for bubble diagram is shown.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of bubble diagram display methods and devices.
Background technology
Bubble diagram is in data visualization chart, and most basic is also mostly important a kind of chart, is most effective available
One of analysis tool, it can intuitively show the data comparison of three dimensions, i.e.,:Transverse axis numerical value, longitudinal axis numerical value, Air Bubble Size.
Bubble diagram is similar to scatter diagram, the difference is that, bubble diagram allows the additional variable for adding in an expression size in the graph.
In fact, this just as drawing the chart comprising three variables in two dimensions.
Business level chart (such as ECharts, highCharts etc.) common at present, is each provided with basic bubble diagram component
For using, and bubble diagram component is for the processing mode of mass data, is all to have followed to carry out data according to truthful data
The locating display of bubble has no other special processing.Especially for the data with hierarchical relationship, in existing bubble diagram
During display, all it is to be shown in together in bubble diagram, can not shows the hierarchical relationship between bubble, it is big when existing in bubble diagram
When measuring bubble, the bubble of different levels is shown in same figure so that the bandwagon effect of data is greatly reduced, so as to influence to use
Experience is checked at family.
The content of the invention
In view of this, the present invention provides a kind of bubble diagram display methods and device, main purpose are to close with level
The data of system are shown according to different hierarchical relationships, and the incidence relation in bubble diagram between bubble is shown with this.
In order to achieve the above objectives, present invention generally provides following technical solutions:
On the one hand, the present invention provides a kind of bubble diagram display methods, this method includes:
First floor bubble data generation first order bubble diagram in bubble data, the bubble data are with multi-layer
The bubble data of relation;
Judge in the first order bubble diagram with the presence or absence of expansion trigger event, the expansion trigger event and described first
Level-one bubble binding in grade bubble diagram;
If in the presence of, second level bubble diagram of the generation containing two level bubble associated with triggering bubble, the second level
Bubble diagram is to trigger bubble as display centre;
Return trigger event according to the center bubble in the second level bubble diagram is triggered shows first order bubble diagram.
Preferably, after the second level bubble diagram containing two level bubble associated with triggering bubble is generated, the side
Method further includes:
The non-central level-one bubble in the second level bubble diagram is detected with the presence or absence of expansion trigger event;
If in the presence of generation is to trigger new second level bubble diagram of the bubble as display centre, the new second level bubble diagram
In show and the associated two level bubble of the triggering bubble.
Preferably, judging that the method is also wrapped with the presence or absence of before trigger event is unfolded in the first order bubble diagram
It includes:
Identify that the level-one bubble in the first order bubble diagram whether there is associated two level bubble;
If in the presence of, will expansion trigger event be bound with the level-one bubble.
Preferably, second level bubble diagram of the generation containing two level bubble associated with triggering bubble includes:
Extraction two level bubble data associated with the triggering bubble, generate two level bubble;
Line is established between the two level bubble and the triggering bubble;
Change the display format of the non-central level-one bubble in the second level bubble diagram.
Preferably, changing the display format of the non-central level-one bubble in the second level bubble diagram includes:
Change the display format of font in the transparency, color or bubble of the non-central level-one bubble.
Preferably, it is described to show first according to the return trigger event for triggering the center bubble in the second level bubble diagram
Grade bubble diagram includes:
The center bubble binding of second level bubble diagram is returned into trigger event, the return trigger event is current for showing
The upper level bubble diagram of level bubble diagram;
Judge the center bubble of the second level bubble diagram with the presence or absence of return trigger event;
If in the presence of showing first order bubble diagram.
Preferably, the first floor bubble data generation first order bubble diagram in bubble data includes:
Bubble diagram is generated according to the bubble data of acquisition;
The hierarchical relationship of bubble in the bubble diagram is determined according to the hierarchical relationship of bubble data;
It is shown using hierarchical relationship screening first floor bubble, generates the first order bubble diagram.
On the other hand, the present invention also provides a kind of bubble map display device, which includes:
First generation unit generates first order bubble diagram, the gas for the first floor bubble data in bubble data
Bubble data are the bubble data with multi-layer relation;
Judging unit, for judging in the first order bubble diagram of the first generation unit generation with the presence or absence of expansion triggering
Event, the expansion trigger event are bound with the level-one bubble in the first order bubble diagram;
Second generation unit, for when the judging unit judges to have expansion trigger event, generation to contain and triggering
The second level bubble diagram of the associated two level bubble of bubble, the second level bubble diagram is to trigger bubble as display centre;
Display unit is returned to, for according to the center triggered in the second level bubble diagram that second generation unit generated
The return trigger event of bubble shows first order bubble diagram.
Preferably, described device further includes:
Detection unit, for containing the with the associated two level bubble of triggering bubble in second generation unit generation
After two level bubble diagram, the non-central level-one bubble in the second level bubble diagram is detected with the presence or absence of expansion trigger event;
Second generation unit is additionally operable to, and when the detection unit, which detects, there is expansion trigger event, generates to touch
It gets angry new second level bubble diagram of the bubble for display centre, shows in the new second level bubble diagram related to the triggering bubble
The two level bubble of connection.
Preferably, described device further includes:
Recognition unit, for judging in the judging unit in the first order bubble diagram with the presence or absence of expansion trigger event
Before, identify that the level-one bubble in the first order bubble diagram whether there is associated two level bubble;
Setting unit, will expansion trigger event and institute for determining there are during the two level bubble when the recognition unit
Level-one bubble is stated to be bound.
Preferably, second generation unit includes:
Generation module for extracting two level bubble data associated with the triggering bubble, generates two level bubble;
Module is established, for establishing line between the two level bubble generated in the generation module and the triggering bubble;
Modified module, for changing the display format of the non-central level-one bubble in the second level bubble diagram.
Preferably, the modified module is additionally operable to, and changes transparency, color or the bubble of the non-central level-one bubble
The display format of middle font.
Preferably, the return display unit includes:
Binding module, it is described to return to triggering thing for the center bubble binding of second level bubble diagram to be returned trigger event
Part is used to show the upper level bubble diagram of current level bubble diagram;
Judgment module, for judging the center bubble of the second level bubble diagram with the presence or absence of return trigger event;
Display module, for when the judgment module judges to exist and returns to trigger event, showing first order bubble diagram.
Preferably, first generation unit includes:
First generation module, for generating bubble diagram according to the bubble data of acquisition;
Determining module, for being determined according to the hierarchical relationship of bubble data in the bubble diagram of the first generation module generation
The hierarchical relationship of bubble;
Second generation module for being shown using hierarchical relationship screening first floor bubble, generates the first order
Bubble diagram.
The bubble diagram display methods and device proposed according to the invention described above, is by that will have the bubble of hierarchical relationship
Data are differently shown according to different level and incidence relation, are no longer all including one by all bubble data
It opens in bubble diagram so that the display of bubble diagram is more succinct, and data point of interest is quickly found convenient for user, meanwhile, by
Bubble in bubble diagram shows relation with level, therefore, it is possible to which user is allowed to more clearly understand the number of bubbles in bubble diagram
According to relation.It is shown in addition, display mode of the present invention can carry out refinement according to the operation of user to bubble diagram, also
It is the bubble that next level can be further shown according to the operation of user, the bubble of display last layer grade can also be returned, this
So that the display content of bubble diagram is provided with integration of user interaction functionality, so as to improve the usage experience of user.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart for bubble diagram display methods that the embodiment of the present invention proposes;
Fig. 2 shows the flow chart for another bubble diagram display methods that the embodiment of the present invention proposes;
Fig. 3 A show the display renderings of first order bubble diagram;
Fig. 3 B show the display renderings of second level bubble diagram;
Fig. 3 C show the display renderings of third level bubble diagram;
Fig. 3 D show another display renderings of second level bubble diagram;
Fig. 3 E show the third display renderings of third level bubble diagram;
Fig. 4 shows a kind of bubble map display device composition frame chart that the embodiment of the present invention proposes;
Fig. 5 shows another bubble map display device composition frame chart that the embodiment of the present invention proposes.
Specific embodiment
Exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to be best understood from the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of bubble diagram display methods, as shown in Figure 1, this method is applied to in the page
Bubble diagram optimizes display, the optimization processing particularly carried out to the bubble with hierarchical relationship, to this embodiment of the present invention
Step in detail below is provided:
101st, the first floor bubble data generation first order bubble diagram in bubble data.
Wherein, bubble data are for generating the data of bubble in bubble diagram, and in embodiments of the present invention, for generating
The data of bubble are the associated datas for having multi-layer relation.Also, the incidence relation between the bubble data of different levels is not
Membership is defined in, the hierarchical relationship between different bubble data can also be set by customized mode.
First floor bubble data refer to the data for not belonging to other any one bubble data, for example, using dendrogram pair
When data carry out level division, root node therein is equivalent to the bubble that first floor bubble data are generated in this step.And by
The bubble diagram that all first floor bubble data are generated, is defined as first order bubble diagram.The embodiment of the present invention is for generating bubble
The specific generating mode of figure does not limit.
102nd, judge in first order bubble diagram with the presence or absence of expansion trigger event.
Wherein, expansion trigger event refers to the operation that user is carried out for the bubble in bubble diagram, for example, to bubble
The operations such as click, dragging.In this step, which binds with the level-one bubble phase in first order bubble diagram, due to
Shown bubble is all obtained according to first floor bubble data in first order bubble diagram, and first floor bubble data correspond to generation
It is level-one bubble, therefore, the bubble of other levels is not present in first order bubble diagram.That is, expansion trigger event
It is to be bound with all bubble phases in first order bubble diagram.
Whether real-time detection user is triggered expansion trigger event by first order bubble diagram, and judge to be triggered is which
A bubble.For the level-one bubble triggered, step 103 is performed.
103rd, second level bubble diagram of the generation containing two level bubble associated with triggering bubble.
After expansion trigger event has been detected in first order bubble diagram, it will search and be somebody's turn to do according to the level-one bubble triggered
Bubble has the bubble data of incidence relation, and obtained bubble data are added in original bubble diagram, generates new gas
Bubble figure.Due to containing two level bubble associated with the level-one bubble of triggering in the bubble diagram, so defining new bubble diagram
For second level bubble diagram.
When showing second level bubble diagram, since second level bubble diagram compared with the difference of first order bubble diagram is to add
In order to protrude the operation of user, the level-one bubble triggered is included in the center of second level bubble diagram for two level bubble, and
Two level bubble is then illustrated according to specific bubble data in the bubble diagram of the second level.
It should be strongly noted that when the hierarchical relationship between bubble data is two layers more than, in the embodiment of the present invention
Display mode will carry out progressive display according to different hierarchical relationships, that is to say, that in the second level bubble diagram generated,
It will not show the bubble of three-level or the later level of three-level, only the two level bubble in the bubble diagram of the second level is triggered in user
After operation, the page can just add in corresponding three-level bubble in newly-generated bubble diagram, show third level bubble diagram, and the 3rd
It will be shown bubble diagram centered on the two level bubble triggered in the bubble diagram of the second level in grade bubble diagram.And so on,
The level of bubble data is more, to show the bubble of deeper grade and user is just needed to carry out triggering behaviour according to fixed hierarchical relationship
Make, to obtain the bubble diagram of corresponding level.
In addition, when generating second level bubble diagram, since the central point of bubble diagram has occurred compared with first order bubble diagram
Change, therefore, in the case that indication range in the page is constant, to ensure to show level-one bubble or two level bubble completely,
According to the display scale of the adjustment second level bubble diagram of the moving range of central point, the display ratio of bubble diagram can be generally reduced
Example.
104th, first order bubble diagram is shown according to the return trigger event of the center bubble in triggering second level bubble diagram.
Step 103 is accomplished that carrying out progressive bubble according to the operation of user shows, and this step then passes through
The operation of user shows the bubble diagram of upper level to return.Specifically, in the second level bubble diagram of generation, except for two level gas
Outside bubble binding expansion trigger event, trigger event, return triggering thing are also returned to the center bubble binding of second level bubble diagram
Part, which is used to be returned according to the trigger action of user, shows first order bubble diagram.Wherein, center bubble is in first order bubble diagram
Trigger bubble.
Bubble diagram display methods used by the embodiment of the present invention is can be seen that with reference to above-mentioned realization method, is a kind of
The optimization display mode of bubble diagram, by analyzing the hierarchical relationship of bubble data, using first floor bubble data generate bubble diagram as
The bubble diagram initially shown using bubble as triggering node, according to the trigger action of user, generates corresponding next stage bubble diagram.
And in next stage bubble diagram, it can also be according to the different trigger actions of user, the bubble diagram for generating deeper level-one either returns
Return upper level bubble diagram.This display mode can effectively reduce the display number of bubble in the initial display of bubble data,
So as to which user be contributed to quickly to find data point of interest, relevant gas is shown step by step further according to the demand of user
Bubble, the bubble data relationship in bubble diagram is more clearly shown to user.Meanwhile the interactive operation by increasing user, also increase
The strong interactive performance of bubble diagram improves the usage experience of user.
Below in order to which a kind of bubble diagram display methods proposed by the present invention is explained in more detail, particularly to different levels
The variation of relation and bubble regime in bubble diagram between bubble is described in detail.The embodiment of the present invention also proposed therefore
A kind of bubble diagram display methods, as shown in Fig. 2, the step included by this method is:
201st, the first floor bubble data generation first order bubble diagram in bubble data.
The embodiment of the present invention provides the concrete mode of two kinds of generation first order bubble diagrams, and a kind of is to obtain all number of bubbles
According to rear, the hierarchical relationship of bubble data is first analyzed, the bubble data of first floor bubble are directly extracted further according to specific hierarchical relationship,
First order bubble diagram is generated using these bubble data.Another kind is after all bubble data are obtained, and directly generates bubble
Figure, and the hierarchical relationship of the bubble data obtained according to analysis determines the hierarchical relationship of bubble in bubble diagram, screens this again afterwards
First floor bubble in bubble diagram is shown, generates first order bubble diagram.Difference lies in hierarchical relationship for both modes
It determines and uses, for the generation method of different bubble diagrams, do not limit using a kind of generating mode in above-mentioned.
After first order bubble diagram is obtained, it is also necessary to corresponding expansion trigger event is bound to the bubble in the bubble diagram,
During realizing that user operates bubble, generation includes the second level bubble diagram of corresponding two level bubble.Wherein, tied up
It is fixed set during, since not every level-one bubble is all there are associated two level bubble, to one in bubble diagram
Grade bubble is also without all binding expansion trigger events.Specifically, process of the page in the hierarchical relationship of analysis bubble data
In, the bubble data with next level bubble data can be labeled, pass through the information of mark, it is possible to which be identified
Bubble data need to bind expansion trigger event, and in bubble diagram, gas is set according to the markup information in bubble data is corresponded to
Whether bubble binds expansion trigger event.User in use, if click on without binding be unfolded trigger event bubble,
Still current bubble diagram is shown.
202nd, judge in first order bubble diagram with the presence or absence of expansion trigger event.
The expansion trigger event that bubble is set in the embodiment of the present invention is the clicking operation of user, completes that triggering thing is unfolded
After the binding of part is set, whether the page will monitor the bubble diagram currently shown in real time, to judge user to the bubble diagram
In bubble carried out clicking operation.
When monitoring there are after clicking operation, the position coordinates according to click is determined into bubble that needs are unfolded, it is fixed
The adopted bubble is triggering bubble, after triggering bubble is determined, performs step 203.
203rd, second level bubble diagram of the generation containing two level bubble associated with triggering bubble.
According to the clicking operation of user, the page determines the triggering bubble in bubble diagram, according to the triggering bubble, extraction and its
To associated two level bubble data, these two level bubble data combination level-one bubble data are generated into second level bubble diagram jointly.
Further, in order to strengthen the incidence relation between display triggering bubble and two level bubble, in the bubble diagram of display
In, it is connected using line by bubble is triggered with two level bubble, for details, reference can be made to Fig. 3 A and Fig. 3 B, wherein, Fig. 3 A are first order gas
Bubble figure, Fig. 3 B are second level bubble diagram, and the bubble in first order bubble diagram is level-one bubble, as the bubble A in the bubble diagram
After being clicked, what is generated is exactly the second level bubble diagram shown in Fig. 3 B, and the center of the bubble diagram is triggering bubble A, with bubble A
What it is there are line is its relevant two level bubble, other non-lines are then other level-one bubbles.
It further, can be to the level-one in the bubble diagram of the second level in order to protrude the two level bubble in the bubble diagram of the second level
The display format of bubble is modified, wherein, level-one bubble does not include the triggering bubble at second level bubble diagram center.It is particularly shown
The modification of form includes the modification to bubble transparency, the modification of bubble color or the modification to the font in bubble, and
It is size, color of word etc. that the modification of font, which does not limit, yet.
204th, the expansion trigger event of the non-central level-one bubble in triggering second level bubble diagram generates new second
Grade bubble diagram.
After second level bubble diagram is generated, if also there are three-level gas associated with it for the two level bubble in the bubble diagram
Bubble, then the displaying to three-level bubble can be realized according to above-mentioned steps, third level bubble diagram is generated, for example, the gas shown in Fig. 3 C
Bubble figure, is the third level bubble diagram shown based on the two level bubble in Fig. 3 B, with the triggering bubble in the bubble diagram of the second level in figure
Centered on bubble, the non-central bubble of line is three-level bubble, and the non-central bubble of non-line is two level bubble.And if second
When three-level bubble associated with it is not present in two level bubble in grade bubble diagram, then only need to bind center bubble to return to trigger
Event is shown.
For the non-central level-one bubble in the bubble diagram of the second level, when the expansion trigger event bound in these level-one bubbles
When being triggered by the operation of user, the meeting level-one bubble is triggering bubble by the page, extracts relative bubble data life
The second level bubble of Cheng Xin, as shown in Figure 3D, the bubble diagram are the second level that generates based on the level-one bubble B clicked in Fig. 3 B
Bubble.In the bubble diagram, two level bubble associated with bubble A will be not displayed, and only show associated with bubble B two
Grade bubble.Certainly, bubble diagram shown in Fig. 3 D is a kind of display mode in the embodiment of the present invention, and in click Fig. 3 B
The obtained bubble diagram of level-one bubble or bubble A two level bubbles related to B's are shown simultaneously, and at this point, will be with bubble
B is the center bubble of the bubble diagram, as shown in FIGURE 3 E.
205th, first order bubble diagram is shown according to the return trigger event of the center bubble in triggering second level bubble diagram.
In embodiments of the present invention, for generating bubble diagram by displaying trigger event, central gas bubble is all last layer
Triggering bubble in grade bubble diagram, and bubble associated with center bubble is had shown that in the bubble diagram, therefore, center
Bubble there is no need to bind expansion trigger event again, so returning to trigger event to the center bubble binding of these bubble diagrams, i.e.,
It can realize the bubble diagram of display last layer grade, and will not mutually conflict with the binding of trigger event is unfolded.Wherein, triggering thing is returned
Part can also be triggered by the clicking operation of user.
During second level bubble diagram is shown, the page will trigger in the return bound in monitoring center's bubble in real time
Whether event is triggered, that is, judges whether user clicks center bubble.When there are during the clicking operation, the page is just shown
The upper level bubble diagram of current bubble diagram, that is, first order bubble diagram.
It further,, should an embodiment of the present invention provides a kind of bubble map display device as the realization to the above method
Device embodiment is corresponding with preceding method embodiment, and for ease of reading, present apparatus embodiment is no longer in preceding method embodiment
Detail content repeated one by one, it should be understood that the device in the present embodiment can correspond to realize preceding method embodiment
In full content.The device is used for the optimization processing of bubble diagram, to the optimization processing that the bubble with hierarchical relationship carries out,
The device is arranged in generation or the terminal device for showing bubble diagram, specifically as shown in figure 4, the device includes:
First generation unit 41 generates first order bubble diagram for the first floor bubble data in bubble data, described
Bubble data are the bubble data with multi-layer relation;
Judging unit 42, for judging in the first order bubble diagram of the generation of the first generation unit 41 with the presence or absence of expansion
Trigger event, the expansion trigger event are bound with the level-one bubble in the first order bubble diagram;
Second generation unit 43, for when the judging unit 42 judge exist expansion trigger event when, generation contain with
The second level bubble diagram of the associated two level bubble of bubble is triggered, the second level bubble diagram is to trigger bubble as display centre;
Display unit 44 is returned to, for according to triggering in the second level bubble diagram that second generation unit 43 generated
The return trigger event of center bubble shows first order bubble diagram.
Further, as shown in figure 5, described device further includes:
Detection unit 45, for containing two level bubble associated with triggering bubble in second generation unit 43 generation
Second level bubble diagram after, detect non-central level-one bubble in the second level bubble diagram with the presence or absence of expansion triggering thing
Part;
Second generation unit 43 is additionally operable to, when the detection unit 45, which detects, there is expansion trigger event, generation
To trigger new second level bubble diagram of the bubble as display centre, shown and the triggering bubble in the new second level bubble diagram
Associated two level bubble.
Further, as shown in figure 5, described device further includes:
Recognition unit 46, for judging in the judging unit 42 in the first order bubble diagram with the presence or absence of expansion triggering
Before event, identify that the level-one bubble in the first order bubble diagram whether there is associated two level bubble;
Setting unit 47, for determining, there are during the two level bubble, trigger event will to be unfolded when the recognition unit 46
It is bound with the level-one bubble.
Further, as shown in figure 5, second generation unit 43 includes:
Generation module 431 for extracting two level bubble data associated with the triggering bubble, generates two level bubble;
Module 432 is established, for being established between the two level bubble generated in the generation module 431 and the triggering bubble
Line;
Modified module 433, for changing the display format of the non-central level-one bubble in the second level bubble diagram.
Further, the modified module 433 is additionally operable to, change the transparency of the non-central level-one bubble, color or
The display format of font in person's bubble.
Further, as shown in figure 5, the return display unit 44 includes:
Binding module 441, it is described to return to triggering for the center bubble binding of second level bubble diagram to be returned trigger event
Event is used to show the upper level bubble diagram of current level bubble diagram;
Judgment module 442, for judging the center bubble of the second level bubble diagram with the presence or absence of the triggering judgement mould
The operation for the return trigger event that block 441 is bound;
Display module 443, for when the judgment module 442 judges that returning to trigger event is triggered, showing the first order
Bubble diagram.
Further, as shown in figure 5, first generation unit 41 includes:
First generation module 411, for generating bubble diagram according to the bubble data of acquisition;
Determining module 412, for determining the gas of the generation of the first generation module 411 according to the hierarchical relationship of bubble data
Steep the hierarchical relationship of bubble in figure;
Second generation module 413, the hierarchical relationship screening first floor bubble for being determined using the determining module 412 are carried out
It has been shown that, generates the first order bubble diagram.
In conclusion bubble diagram display methods and device used by the embodiment of the present invention, are a kind of optimization of bubble diagram
Display mode, by analyzing the hierarchical relationship of bubble data, using the bubble diagram of first floor bubble data generation as the gas initially shown
Bubble figure using bubble as triggering node, according to the trigger action of user, generates corresponding next stage bubble diagram.And in next stage gas
It steeps in figure, the bubble diagram that according to the different trigger actions of user, can also generate deeper level-one either returns to upper level bubble
Figure.This display mode can effectively reduce the display number of bubble, so as to contribute in the initial display of bubble data
User quickly finds data point of interest, and relevant bubble is shown step by step further according to the demand of user, more clear to user
The bubble data relationship in bubble diagram is shown clearly.Meanwhile the interactive operation by increasing user, also enhance the friendship of bubble diagram
Interaction performance improves the usage experience of user.
The bubble map display device includes processor and memory, above-mentioned first generation unit, judging unit, the second life
It is stored in memory as program unit into unit and return display unit etc., memory is stored in by processor execution
In above procedure unit realize corresponding function.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, the data with hierarchical relationship are shown according to different hierarchical relationships by adjusting kernel parameter, it is aobvious with this
Show the incidence relation between bubble in bubble diagram.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
It is first when being performed on data processing equipment, being adapted for carrying out present invention also provides a kind of computer program product
The program code of beginningization there are as below methods step:First floor bubble data generation first order bubble diagram in bubble data, institute
Bubble data are stated as the bubble data with multi-layer relation;Judge in the first order bubble diagram with the presence or absence of expansion triggering thing
Part, the expansion trigger event are bound with the level-one bubble in the first order bubble diagram;If in the presence of generation contains and triggering
The second level bubble diagram of the associated two level bubble of bubble, the second level bubble diagram is to trigger bubble as display centre;According to
The return trigger event for triggering the center bubble in the second level bubble diagram shows first order bubble diagram.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.It defines, calculates according to herein
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap
Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
Also there are other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or the embodiment in terms of combining software and hardware can be used in the application
Form.It is deposited moreover, the application can be used to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
It these are only embodiments herein, be not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent substitution,
Improve etc., it should be included within the scope of claims hereof.
Claims (10)
1. a kind of bubble diagram display methods, which is characterized in that the described method includes:
First floor bubble data generation first order bubble diagram in bubble data, the bubble data are with multi-layer relation
Bubble data;
Judge in the first order bubble diagram with the presence or absence of expansion trigger event, the expansion trigger event and the first order gas
Steep the level-one bubble binding in figure;
If in the presence of, second level bubble diagram of the generation containing two level bubble associated with triggering bubble, the second level bubble
Figure is to trigger bubble as display centre;
Return trigger event according to the center bubble in the second level bubble diagram is triggered shows first order bubble diagram.
2. according to the method described in claim 1, it is characterized in that, contain two level bubble associated with triggering bubble in generation
Second level bubble diagram after, the method further includes:
The non-central level-one bubble in the second level bubble diagram is detected with the presence or absence of expansion trigger event;
If in the presence of generation is shown using triggering new second level bubble diagram of the bubble as display centre in the new second level bubble diagram
It is shown with two level bubble associated with the triggering bubble.
3. according to the method described in claim 1, it is characterized in that, judging in the first order bubble diagram with the presence or absence of expansion
Before trigger event, the method further includes:
Identify that the level-one bubble in the first order bubble diagram whether there is associated two level bubble;
If in the presence of, will expansion trigger event be bound with the level-one bubble.
4. according to the method described in claim 1, it is characterized in that, generation contains two level bubble associated with triggering bubble
Second level bubble diagram includes:
Extraction two level bubble data associated with the triggering bubble, generate two level bubble;
Line is established between the two level bubble and the triggering bubble;
Change the display format of the non-central level-one bubble in the second level bubble diagram.
5. according to the method described in claim 4, it is characterized in that, change the non-central level-one gas in the second level bubble diagram
The display format of bubble includes:
Change the display format of font in the transparency, color or bubble of the non-central level-one bubble.
It is 6. according to the method described in claim 1, it is characterized in that, described according to the center triggered in the second level bubble diagram
The return trigger event of bubble shows that first order bubble diagram includes:
The center bubble binding of second level bubble diagram is returned into trigger event, the return trigger event is used to show current level
The upper level bubble diagram of bubble diagram;
Judge the center bubble of the second level bubble diagram with the presence or absence of return trigger event;
If in the presence of showing first order bubble diagram.
7. according to the method described in claim 1, it is characterized in that, the first floor bubble data in bubble data generate first
Grade bubble diagram includes:
Bubble diagram is generated according to the bubble data of acquisition;
The hierarchical relationship of bubble in the bubble diagram is determined according to the hierarchical relationship of bubble data;
It is shown using hierarchical relationship screening first floor bubble, generates the first order bubble diagram.
8. a kind of bubble map display device, which is characterized in that described device includes:
First generation unit generates first order bubble diagram, the number of bubbles for the first floor bubble data in bubble data
According to have the bubble data of multi-layer relation;
Judging unit, for judging in the first order bubble diagram of the first generation unit generation with the presence or absence of expansion triggering thing
Part, the expansion trigger event are bound with the level-one bubble in the first order bubble diagram;
Second generation unit, for when the judging unit judges to have expansion trigger event, generation to contain with triggering bubble
The second level bubble diagram of associated two level bubble, the second level bubble diagram is to trigger bubble as display centre;
Display unit is returned to, for according to the center bubble triggered in the second level bubble diagram that second generation unit generated
Return trigger event show first order bubble diagram.
9. device according to claim 8, which is characterized in that described device further includes:
Detection unit, in the second level of second generation unit generation containing two level bubble associated with triggering bubble
After bubble diagram, the non-central level-one bubble in the second level bubble diagram is detected with the presence or absence of expansion trigger event;
Second generation unit is additionally operable to, and when the detection unit, which detects, there is expansion trigger event, is generated with trigger gas
The new second level bubble diagram for display centre is steeped, is shown in the new second level bubble diagram associated with the triggering bubble
Two level bubble.
10. device according to claim 8, which is characterized in that described device further includes:
Recognition unit, for the judging unit judge in the first order bubble diagram with the presence or absence of expansion trigger event it
Before, identify that the level-one bubble in the first order bubble diagram whether there is associated two level bubble;
Setting unit, will expansion trigger event and described one for determining there are during the two level bubble when the recognition unit
Grade bubble is bound.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610980537.8A CN108062318A (en) | 2016-11-08 | 2016-11-08 | A kind of bubble diagram display methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610980537.8A CN108062318A (en) | 2016-11-08 | 2016-11-08 | A kind of bubble diagram display methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108062318A true CN108062318A (en) | 2018-05-22 |
Family
ID=62137617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610980537.8A Pending CN108062318A (en) | 2016-11-08 | 2016-11-08 | A kind of bubble diagram display methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108062318A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625589A (en) * | 2019-02-28 | 2020-09-04 | 阿里巴巴集团控股有限公司 | Information display method and device |
WO2022105402A1 (en) * | 2020-11-19 | 2022-05-27 | 海信视像科技股份有限公司 | Information processing device, display device, and viewership analysis system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339665A (en) * | 2008-08-21 | 2009-01-07 | 金蝶软件(中国)有限公司 | Method and device for automatically creating radar graph |
US20130106830A1 (en) * | 2011-10-26 | 2013-05-02 | Microsoft Corporation | Display and interaction with multidimensional data |
CN103677806A (en) * | 2012-09-25 | 2014-03-26 | 国际商业机器公司 | Method and system for managing a system |
CN104020933A (en) * | 2014-05-22 | 2014-09-03 | 小米科技有限责任公司 | Menu displaying method and device |
CN105787034A (en) * | 2016-02-25 | 2016-07-20 | 海智网聚网络技术(北京)有限公司 | Data presentation method and device |
-
2016
- 2016-11-08 CN CN201610980537.8A patent/CN108062318A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339665A (en) * | 2008-08-21 | 2009-01-07 | 金蝶软件(中国)有限公司 | Method and device for automatically creating radar graph |
US20130106830A1 (en) * | 2011-10-26 | 2013-05-02 | Microsoft Corporation | Display and interaction with multidimensional data |
CN103677806A (en) * | 2012-09-25 | 2014-03-26 | 国际商业机器公司 | Method and system for managing a system |
CN104020933A (en) * | 2014-05-22 | 2014-09-03 | 小米科技有限责任公司 | Menu displaying method and device |
CN105787034A (en) * | 2016-02-25 | 2016-07-20 | 海智网聚网络技术(北京)有限公司 | Data presentation method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625589A (en) * | 2019-02-28 | 2020-09-04 | 阿里巴巴集团控股有限公司 | Information display method and device |
CN111625589B (en) * | 2019-02-28 | 2023-04-14 | 阿里巴巴集团控股有限公司 | Information display method and device |
WO2022105402A1 (en) * | 2020-11-19 | 2022-05-27 | 海信视像科技股份有限公司 | Information processing device, display device, and viewership analysis system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107203774A (en) | The method and device that the belonging kinds of data are predicted | |
CN110413877A (en) | A kind of resource recommendation method, device and electronic equipment | |
CN107957957A (en) | The acquisition methods and device of test case | |
US11461512B2 (en) | Multi-phase flow visualizations based on fluid occupation time | |
EP2273431B1 (en) | Model determination system | |
CN107016026A (en) | A kind of user tag determination, information-pushing method and equipment | |
CN104112284B (en) | The similarity detection method and equipment of a kind of picture | |
CN107357812A (en) | A kind of data query method and device | |
CN108491511A (en) | Data digging method and device, model training method based on diagram data and device | |
EP3438843A1 (en) | Uniform chart formatting based on semantics in data models | |
CN108734327A (en) | A kind of data processing method, device and server | |
CN108363657A (en) | Monitoring APP clients bury method, equipment and the medium of point data acquisition integrality | |
CN108959359A (en) | A kind of uniform resource locator semanteme De-weight method, device, equipment and medium | |
CN102135936A (en) | Method and system for generating test case | |
CN106598999A (en) | Method and device for calculating text theme membership degree | |
CN103699614B (en) | A kind of method and apparatus for determining Default saving path when downloading resource | |
CN105446952B (en) | For handling the method and system of semantic segment | |
CN103870541A (en) | Social network user interest mining method and system | |
CN108780377A (en) | Object Management group using computing device and visualization | |
JP2008234338A (en) | Season degree analysis system, in-season degree analysis method, and season degree analysis program | |
CN110060053A (en) | A kind of recognition methods, equipment and computer-readable medium | |
CN105989066A (en) | Information processing method and device | |
CN108062318A (en) | A kind of bubble diagram display methods and device | |
CN104102662A (en) | Method and device for determining interest and preference similarity of users | |
CN111813739A (en) | Data migration method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180522 |
|
RJ01 | Rejection of invention patent application after publication |