CN106648560A - Rectangular tree graph processing method and device - Google Patents

Rectangular tree graph processing method and device Download PDF

Info

Publication number
CN106648560A
CN106648560A CN201510718800.1A CN201510718800A CN106648560A CN 106648560 A CN106648560 A CN 106648560A CN 201510718800 A CN201510718800 A CN 201510718800A CN 106648560 A CN106648560 A CN 106648560A
Authority
CN
China
Prior art keywords
datagram
rollback
dbms
figures
tree graph
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.)
Granted
Application number
CN201510718800.1A
Other languages
Chinese (zh)
Other versions
CN106648560B (en
Inventor
张筑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510718800.1A priority Critical patent/CN106648560B/en
Publication of CN106648560A publication Critical patent/CN106648560A/en
Application granted granted Critical
Publication of CN106648560B publication Critical patent/CN106648560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a rectangular tree graph processing method and device. The method comprises the steps of when rectangular tree graph data drills down to an Nth grade data graph, displaying a backspace identification on a rectangular tree graph, wherein N is an integer bigger than 1; monitoring a triggering event of the backspace identification; when the triggering event of the backspace identification is monitored, displaying an upper data graph of the Nth grade data graph. Through the rectangular tree graph processing method and device, the technical problem in the related technology that the operation is inconvenient when the rectangular tree graph returns to the upper data graph after drilling down is solved.

Description

Rectangle tree graph treating method and apparatus
Technical field
The application is related to data processing field, in particular to a kind of rectangle tree graph treating method and apparatus.
Background technology
ECharts, abridges from Enterprise Charts, i.e. business level data drawing list, and it is initially to meet company The form demand of miscellaneous service system (such as phoenix nest, advertisement house keeper) in commercial system.Treemap is ECharts A kind of rectangle tree graph of newest release, it is generated not of uniform size according to the relative data value of each item data in container Rectangular block, rectangular area represents the size of its numerical value.Rectangle tree graph is a kind of nested hierarchical structure, each rectangle Block can correspond to one layer of new rectangle tree graph.ECharts provides the function of boring under rectangle tree graph data and (clicks on a certain Rectangular block obtains more detailed data chart associated with it, i.e., jump to corresponding secondary data from higher level's datagram Figure), but ECharts is also not carried out returning the function of higher level's datagram.
The rectangle tree graph of ECharts can't be supported to return higher level's datagram from secondary data figure at this stage, or even in official (stop push-button in click auxiliary tool box returned to and cannot enter again after first order datagram BUG in the example of offer Bore under row data).And in actual business demand, in order to show the data sheet of modules, user needs repeatedly Switching is not stopped between higher level's datagram and secondary data figure, it is clear that ECharts existing capabilitys can not meet this Demand.In prior art, in order to realize that such demand, user refresh full page after can only boring under data, Just can go to check the corresponding secondary data figure of other rectangular block, such interaction is inconvenient, poor user experience.
Operation more inconvenient problem when higher level's datagram is back to after for boring under rectangle tree graph data in correlation technique, Not yet propose effective solution at present.
The content of the invention
The main purpose of the application is to provide a kind of rectangle tree graph treating method and apparatus, to solve correlation technique in square Operation more inconvenient problem when higher level's datagram is back to after boring under shape tree graph data.
To achieve these goals, according to the one side of the application, there is provided a kind of rectangle tree graph processing method.Square Shape tree graph includes multi-stage data figure, and the method includes:When N DBMS figures are drilled under rectangle tree graph data, in square Show that rollback is identified on shape tree graph, wherein, N is the integer more than 1;Monitor the trigger event to rollback mark;With And when the trigger event of rollback mark is listened to, show higher level's datagram of N DBMS figures.
Further, rollback identifies the upper level datagram for indicating rollback to N DBMS figures, when listening to back When moving back the trigger event of mark, showing higher level's datagram of rectangle tree graph includes:Show N-1 DBMS figures.
Further, N is the integer more than 2, when the trigger event of rollback mark is listened to, shows N series Include according to higher level's datagram of figure:Judge the corresponding datagram level of rollback mark, wherein, rollback mark is corresponding Datagram level be less than N;And show that rollback identifies the corresponding corresponding datagram of datagram level.
Further, when N DBMS figures are drilled under rectangle tree graph data, show that rollback is identified on rectangle tree graph Including:Obtain the corresponding access path of N DBMS figures, wherein, the corresponding access path of N DBMS figures be from The access path of the first order datagram to N DBMS figures of rectangle tree graph;N DBMSs are generated according to access path Scheme corresponding rollback mark;And show that rollback is identified on rectangle tree graph.
Further, rollback is designated back return button, when N DBMS figures are drilled under rectangle tree graph data, in square Show that rollback mark includes on shape tree graph:Title bar is shown on rectangle tree graph;And show that rollback is pressed in title bar Button.
Further, when listen to rollback mark trigger event when, show N DBMS figures higher level's datagram it Afterwards, the method also includes:Whether the higher level's datagram for judging N DBMS figures is first order datagram;And sentencing Break N DBMS figures higher level's datagram be the first order datagram when, hide title bar.
To achieve these goals, according to the another aspect of the application, there is provided a kind of rectangle tree graph processing meanss.Square Shape tree graph includes multi-stage data figure, and the device includes:First display unit, for being drilled under rectangle tree graph data During N DBMS figures, show that rollback is identified on rectangle tree graph, wherein, N is the integer more than 1;Monitoring unit, For monitoring the trigger event to rollback mark;And second display unit, in the triggering for listening to rollback mark During event, higher level's datagram of N DBMS figures is shown.
Further, rollback identifies the upper level datagram for indicating rollback to N DBMS figures, and second shows single Unit includes:First display module, for showing N-1 DBMS figures.
Further, N is the integer more than 2, and the second display unit includes:Judge module, for judging rollback mark Know corresponding datagram level, wherein, the corresponding datagram level of rollback mark is less than N;And second show Module, the datagram level corresponding datagram corresponding for showing rollback mark.
Further, the first display unit includes:Acquisition module, for obtaining the corresponding access road of N DBMS figures Footpath, wherein, the corresponding access path of N DBMS figures is from the first order datagram of rectangle tree graph to N DBMSs The access path of figure;Generation module, for generating the corresponding rollback mark of N DBMS figures according to access path;With And the 3rd display module, for showing that rollback is identified on rectangle tree graph.
The application is identified by when N DBMS figures are drilled under rectangle tree graph data, showing rollback on rectangle tree graph, Wherein, N is the integer more than 1;Monitor the trigger event to rollback mark;And when listen to rollback mark touch During the event of sending out, higher level's datagram of N DBMS figures is shown, solved after boring under rectangle tree graph data in correlation technique Operation more inconvenient problem when being back to higher level's datagram, and then reached convenient fast after brill under rectangle tree graph data The effect of higher level's datagram is back to promptly.
Description of the drawings
The accompanying drawing for constituting the part of the application is used for providing further understanding of the present application, the schematic reality of the application Apply example and its illustrate for explaining the application, do not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the flow chart of the rectangle tree graph processing method according to the application first embodiment;
Fig. 2 is the schematic diagram according to the embodiment of the present application first order datagram;
Fig. 3 is the schematic diagram of the second level datagram according to the embodiment of the present application;
Fig. 4 is the schematic diagram according to the rollback of the embodiment of the present application mark;
Fig. 5 is the flow chart of the rectangle tree graph processing method according to the application second embodiment;And
Fig. 6 is the schematic diagram of the rectangle tree graph processing meanss according to the embodiment of the present application.
Specific embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the application in detail.
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment The only embodiment of the application part, rather than the embodiment of whole.Based on the embodiment in the application, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, all should belong to The scope of the application protection.
It should be noted that the description and claims of this application and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that this The data that sample is used can be exchanged in the appropriate case, so as to embodiments herein described herein.Additionally, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive to be included, for example, comprising The process of series of steps or unit, method, system, product or equipment are not necessarily limited to those steps clearly listed Rapid or unit, but may include clearly not listing or intrinsic for these processes, method, product or equipment Other steps or unit.
According to the embodiment of the present application, there is provided a kind of rectangle tree graph processing method.The rectangle tree graph bag of the embodiment of the present application Include multi-stage data figure, Fig. 1 is the flow chart of the rectangle tree graph processing method according to the application first embodiment, such as Fig. 1 Shown, the method includes steps S102 to step S106:
Step S102, when N DBMS figures are drilled under rectangle tree graph data, shows that rollback is identified on rectangle tree graph, Wherein, N is the integer more than 1.
Brill is referred to and enters the datagram that shows downstream by a certain datagram under rectangle tree graph data, for example, as shown in Fig. 2 Mobile phone brand include Samsung, millet, apple, Huawei, Meizu and in emerging 6 brands, the square corresponding to each brand Shape block represents the market share of the brand, wherein, rectangular block is bigger, and the market share occupied is bigger, by clicking on the The corresponding data block of Samsung brand in level one data figure, rectangle tree graph is that corresponding each type of Samsung brand is drilled under data The market share datagram of trumpeter's machine, as shown in figure 3, Samsung brand includes GalaxyS4, GalaxyS5, GalaxyS6 With the mobile phone of tetra- models of Galaxy Note, similarly, the rectangular block corresponding to the mobile phone of each model represents the model The market share of mobile phone, wherein, rectangular block is bigger, and the market share occupied is bigger.
Specifically, when user's click rectangle tree graph rectangular block is realized being bored under data, correspondence subordinate datagram is being generated While shows that rollback is identified on correspondence subordinate datagram, alternatively, the rollback identify can be button, label or It is combobox etc., registered in advance to the rollback mark method returned for datagram or function.
It should be noted that the rectangle tree graph of the embodiment of the present application can be the Treemap rectangle tree graphs of Echarts.
Preferably, in order to not affect the display effect of rectangle tree graph, rollback is designated back return button, when rectangle tree graph number When N DBMS figures are drilled into according under, show that rollback mark includes on rectangle tree graph:Title is shown on rectangle tree graph Hurdle;And show back return button in title bar.
Specifically, a HTML (Hyper can be placed in the top of the container for being used to load rectangle tree graph Text Markup Language, referred to as HTML) element, i.e. title bar, and arrange in the title bar one time Button (button) is moved back, and the CSS display attributes of title bar are set into none, allow the title bar in initialization shape It is invisible under state.When user's click rectangle tree graph rectangular block is realized being bored under data, correspondence subordinate datagram is being generated While call JavaScript or JQuery methods that the CSS display attributes of above-mentioned title bar are set into block, make Its is visible.
The embodiment of the present application by the way that back return button is arranged in the title bar above rectangle tree graph, such that it is able to avoid back Button blocking to the datagram of rectangle tree graph is moved back, and also allows for user operation.
Preferably, in order to improve the display effect of rectangle tree graph, when the trigger event of rollback mark is listened to, show After higher level's datagram of N DBMS figures, the method also includes:Judging higher level's datagram of N DBMS figures is It is no for first order datagram;And judge N DBMS figures higher level's datagram be the first order datagram when, it is hidden Hide title bar.
Because the rectangle tree graph of the embodiment of the present application can be bored under many secondary datas, therefore, the upper series of N DBMS figures Differ according to figure and be set to first order datagram.The embodiment of the present application judges after the trigger event for listening to rollback mark Whether the datagram for being currently needed for showing is first order datagram, if currently displaying datagram is first order datagram, Then hide above-mentioned title bar.Specifically, click () function can be bound in rollback mark, when click rollback During mark, whether the higher level's datagram for judging N DBMS figures is first order datagram, is judging N DBMSs When higher level's datagram of figure is first order datagram, the CSS display attributes of title bar are set into none, make it not It can be seen that.
Because there is no the situation for needing to be back to higher level's datagram in first order datagram, therefore, in first order datagram In can hide title bar, to improve the display effect of rectangle tree graph.
Step S104, monitors the trigger event to rollback mark.
Step S106, when the trigger event of rollback mark is listened to, shows higher level's datagram of N DBMS figures.
It should be noted that the embodiment of the present application be able to can be back to when the trigger event of rollback mark is listened to Any level one data figure before N DBMS figures, for example, can be back to N-1 DBMSs figure, or N-2 DBMS figures are back to, wherein, N is the integer more than 2.
The embodiment of the present application on rectangle tree graph by when N DBMS figures are drilled under rectangle tree graph data, showing back Mark is moved back, wherein, N is the integer more than 1;Monitor the trigger event to rollback mark;And rollback ought be listened to During the trigger event of mark, higher level's datagram of N DBMS figures is shown, the embodiment of the present application is in rectangle tree graph data Can realize being back to higher level's datagram by rollback mark after lower brill, it is whole by refreshing compared in prior art The page of rectangle tree graph is only capable of being back to first order datagram, and operation is more easy, flexible, in solving correlation technique Operation more inconvenient problem when higher level's datagram is back to after boring under rectangle tree graph data, and then reached in rectangle tree The effect of higher level's datagram is easily back to after boring under diagram data.
Alternatively, rollback identifies the upper level datagram for indicating rollback to N DBMS figures, when listening to rollback During the trigger event of mark, showing higher level's datagram of rectangle tree graph includes:Show N-1 DBMS figures.
The rollback mark of the embodiment of the present application is only used for the upper level datagram of rollback to currently displaying datagram, wherein, Rollback mark can be back return button, as shown in figure 4, below to the application reality so that rollback is designated back return button as an example Apply example to illustrate, specifically, click () function can be bound in back return button, when click back return button When, the upper level data diagram data of heavily loaded current data figure, and upper level datagram is generated in the container of rectangle tree graph, For example, in Fig. 4, the back return button on menu bar is clicked on, then rectangle tree graph is back to the datagram shown in Fig. 2.
Preferably, in order to improve rectangle tree graph under bore after be back to the flexibility of higher level's datagram, N is whole more than 2 Number, when the trigger event of rollback mark is listened to, showing higher level's datagram of N DBMS figures includes:Judge back The corresponding datagram level of mark is moved back, wherein, the corresponding datagram level of rollback mark is less than N;And show The corresponding corresponding datagram of datagram level of rollback mark.
Alternatively, the rollback mark of the embodiment of the present application can be combobox, wherein, the option of combobox is aobvious with current Higher level's datagram of the datagram for showing is corresponded, and for example, currently displaying datagram is fourth stage datagram, then under First option in frame is drawn to correspond to first order datagram, second option corresponds to second level datagram, the 3rd choosing Item corresponds to third level datagram, and by clicking on the option of combobox corresponding datagram is back to, and for example, works as user When clicking on second option of combobox, rectangle tree graph is back to second level datagram, when user clicks on the of combobox During three options, rectangle tree graph is back to third level datagram, so that rectangle tree graph is back to higher level's datagram more For flexible.
Specifically, the embodiment of the present application judges the triggering of the rollback mark when the trigger event of rollback mark is listened to The corresponding datagram level of event, for example, user clicks on the second option of combobox, then the triggering thing of the rollback mark The corresponding datagram level of part is 2, now, shows the second level datagram of rectangle tree graph.
Alternatively, when N DBMS figures are drilled under rectangle tree graph data, rollback mark bag is shown on rectangle tree graph Include:The corresponding access path of N DBMS figures is obtained, wherein, the corresponding access path of N DBMS figures is from square The access path of the first order datagram to N DBMS figures of shape tree graph;N DBMS figures are generated according to access path Corresponding rollback mark;And show that rollback is identified on rectangle tree graph.
For example, array Array [index] can be set, wherein, the datagram level pair of index and rectangle tree graph Should, i.e., first order datagram corresponds to Array [0], and second level datagram corresponds to Array [1], by that analogy.Point When hitting rectangle tree graph rectangular block and realizing being bored under data, the title of the current rectangular block clicked on of record and by JavaScript Method (for example, append methods) title of the rectangular block is added to combobox options end, while passing through The method (for example, push methods) of JavaScript is put into array Array [index] the data that get are bored under data End so that the data of each hierarchical data figure are stored in each self-corresponding array element.
Furthermore, it is possible to bind onchange functions for above-mentioned combobox, when wanting to return certain hierarchical data figure, select The concrete option of combobox, triggers onchange functions, and in array Array [index] corresponding array element is found It is delivered in function as parameter, heavily loaded corresponding data of hierarchical data figure, while using the slice of JavaScript Method (for example, Array=Array.slice (0, index+1)) obtains the subnumber group in array Array [index], so Refresh the data of combobox afterwards.
The embodiment of the present application can record the access path of user by array Array [index], and according to the access of user The option (i.e. rollback mark) of the combobox of rectangle tree graph is refreshed in path.
Hereinafter the embodiment of the present application is illustrated so that rectangle tree graph includes two-stage datagram as an example, Fig. 5 is according to this Shen Please second embodiment rectangle tree graph processing method flow chart, as shown in figure 5, the method comprises the steps:
Step S202, is loaded into first order datagram.
Specifically, as a example by the Treemap with rectangle tree graph as ECharts, ECharts reads the data of rectangle tree graph simultaneously First order datagram is generated in load vessel.
Step S204, first order datagram shows.
Step S206, exit/click on module
Judge that the operation of user is click on exiting and be also click on module (i.e. the rectangular block of datagram), if user's point is beaten back Go out, then execution step S214, exit the display of rectangle tree graph, if user's click module, execution step S208, For example, as shown in Fig. 2 user clicks on the corresponding rectangle frame of Samsung brand of currently displaying datagram, then the rectangle Bore under tree graph data.
Step S208, is loaded into second level datagram.
Loading mode will not be described here with above-mentioned steps S202.
Step S210, second level datagram shows.
Step S212, exit/return higher level
During second level datagram shows, user can select to exit the display of rectangle tree graph or be back to The display of DBMS figure, i.e., when the user selects exit, then execution step S214, when user selects to return higher level, Then execution step S202.
Step S214, exits.
It should be noted that the embodiment of the present application can place one above the ECharts containers of loading rectangle tree graph HTML element (i.e. title bar), arranges a back return button in title bar, and by the CSS display of title bar Attribute is set to none, makes the title bar invisible under init state, when user clicks on rectangle tree graph rectangular block reality When boring under existing data, JavaScript or JQuery methods are called by above-mentioned mark while correspondence subordinate's datagram is generated The CSS display attributes on topic hurdle are set to block, make its visible, as shown in Figure 4.And can tie up in back return button Fixed click () function, none can be set to when back return button is clicked on by the CSS display attributes of title bar, Make its invisible, and heavily loaded higher level's data diagram data.
As can be seen from the above description, a certain module is entered in the embodiment of the present application clicks on rectangle tree graph in user When entering corresponding subordinate's datagram, can generate on rectangle tree graph automatically and be provided with back on a title bar, and title bar Move back button, by click on back return button can heavily loaded higher level's datagram, with realize subordinate's datagram and higher level's datagram it Between switching, additionally, the size of code that the embodiment of the present application increases when datagram rollback is realized is few, method of operating is simple, The function that ECharts source codes are capable of achieving to switch between higher level's datagram and secondary data figure need not be changed, interaction is more It is convenient, and Consumer's Experience is more preferable.
It should be noted that can be in such as one group computer executable instructions the step of the flow process of accompanying drawing is illustrated Perform in computer system, and, although show logical order in flow charts, but in some cases, can With with different from the shown or described step of order execution herein.
According to the another aspect of the embodiment of the present application, there is provided a kind of rectangle tree graph processing meanss, the rectangle tree graph is processed Device can be used for performing the rectangle tree graph processing method of the embodiment of the present application, and the rectangle tree graph of the embodiment of the present application is processed Method can also be performed by the rectangle tree graph processing meanss of the embodiment of the present application.
The rectangle tree graph of the embodiment of the present application includes multi-stage data figure, and Fig. 6 is the rectangle tree graph according to the embodiment of the present application The schematic diagram of processing meanss, as shown in fig. 6, the device includes:First display unit 10, monitoring unit 20 and Two display units 30.
First display unit 10, during for being drilled into N DBMS figures under rectangle tree graph data, shows on rectangle tree graph Show that rollback is identified, wherein, N is the integer more than 1.
Alternatively, the rollback mark can be button, label or combobox etc., the rollback be identified registered in advance The method returned for datagram or function.
Monitoring unit 20, for monitoring the trigger event to rollback mark.
Second display unit 30, for when the trigger event of rollback mark is listened to, showing the upper of N DBMS figures DBMS figure.
When the embodiment of the present application is drilled into N DBMS figures by the first display unit 10 under rectangle tree graph data, Show that rollback is identified on rectangle tree graph, wherein, N is the integer more than 1;Monitoring unit 20 is monitored to rollback mark Trigger event;And second display unit 30 listen to rollback mark trigger event when, show N DBMSs Higher level's datagram of figure, solve in correlation technique when higher level's datagram is back to after boring under rectangle tree graph data operation compared with For the problem of inconvenience, so reached bore under rectangle tree graph data after be conveniently and efficiently back to the effect of higher level's datagram Really.
Preferably, rollback identifies the upper level datagram for indicating rollback to N DBMS figures, the second display unit Including:First display module, for showing N-1 DBMS figures.
Preferably, N is the integer more than 2, and the second display unit includes:Judge module, for judging that rollback is identified Corresponding datagram level, wherein, the corresponding datagram level of rollback mark is less than N;And second show mould Block, the datagram level corresponding datagram corresponding for showing rollback mark.
Preferably, the first display unit includes:Acquisition module, for obtaining the corresponding access path of N DBMS figures, Wherein, the corresponding access path of N DBMSs figure is from the first order datagram of rectangle tree graph to N DBMS figures Access path;Generation module, for generating the corresponding rollback mark of N DBMS figures according to access path;And the Three display modules, for showing that rollback is identified on rectangle tree graph.
The rectangle tree graph processing meanss include processor and memory, above-mentioned first display unit, monitoring unit and the Two display units etc. are stored in memory as program unit, by computing device storage in memory above-mentioned Program unit is realizing corresponding function.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can arrange one Or more, it is back to higher level's datagram after boring under rectangle tree graph data by adjusting kernel parameter.
Memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/ Or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory, memory includes at least one Individual storage chip.
Present invention also provides a kind of computer program, when performing on data processing equipment, is adapted for carrying out just The program code of beginningization there are as below methods step:When N DBMS figures are drilled under rectangle tree graph data, in rectangle tree Show that rollback is identified on figure, wherein, N is the integer more than 1;Monitor the trigger event to rollback mark;And work as When listening to the trigger event of rollback mark, higher level's datagram of N DBMS figures is shown.
Above-mentioned the embodiment of the present application sequence number is for illustration only, does not represent the quality of embodiment.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, other can be passed through Mode realize.Wherein, device embodiment described above is only schematic, such as division of described unit, Can be a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to On multiple units.Some or all of unit therein can be according to the actual needs selected to realize this embodiment scheme Purpose.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, the technical scheme of the application The part for substantially contributing to prior art in other words or all or part of the technical scheme can be produced with software The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are to make Obtain a computer equipment (can be personal computer, server or network equipment etc.) and perform each enforcement of the application The all or part of step of example methods described.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, Magnetic disc or CD etc. are various can be with the medium of store program codes.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art For member, on the premise of without departing from the application principle, some improvements and modifications can also be made, these improve and moisten Decorations also should be regarded as the protection domain of the application.

Claims (10)

1. a kind of rectangle tree graph processing method, it is characterised in that the rectangle tree graph includes multi-stage data figure, methods described Including:
When N DBMS figures are drilled under rectangle tree graph data, show that rollback is identified on the rectangle tree graph, Wherein, N is the integer more than 1;
Monitor the trigger event to rollback mark;And
When the trigger event of the rollback mark is listened to, higher level's datagram of the N DBMS figures is shown.
2. method according to claim 1, it is characterised in that the rollback is identified for indicating rollback to described The upper level datagram of N DBMS figures, when the trigger event of the rollback mark is listened to, shows the square Higher level's datagram of shape tree graph includes:Show N-1 DBMS figures.
3. method according to claim 1, it is characterised in that N is the integer more than 2, when listening to described returning When moving back the trigger event of mark, showing higher level's datagram of the N DBMS figures includes:
Judge the corresponding datagram level of the rollback mark, wherein, the corresponding data of the rollback mark Figure layer level is less than N;And
Show the corresponding corresponding datagram of datagram level of the rollback mark.
4. method according to claim 1, it is characterised in that when being drilled into N DBMS figures under rectangle tree graph data When, show that rollback mark includes on the rectangle tree graph:
The corresponding access path of the N DBMS figures is obtained, wherein, the corresponding visit of the N DBMS figures Footpath of asking the way is access path from the first order datagram to the N DBMS figures of the rectangle tree graph;
The corresponding rollback mark of the N DBMS figures is generated according to the access path;And
The rollback mark is shown on the rectangle tree graph.
5. method according to claim 1, it is characterised in that the rollback is designated back return button, when rectangle tree When N DBMS figures are drilled under diagram data, show that rollback mark includes on the rectangle tree graph:
Title bar is shown on the rectangle tree graph;And
The back return button is shown in the title bar.
6. method according to claim 5, it is characterised in that when the trigger event of the rollback mark is listened to, After showing higher level's datagram of the N DBMS figures, methods described also includes:
Whether the higher level's datagram for judging the N DBMS figures is first order datagram;And
Judge the N DBMS figures higher level's datagram be the first order datagram when, hide the title Hurdle.
7. a kind of rectangle tree graph processing meanss, it is characterised in that the rectangle tree graph includes multi-stage data figure, described device Including:
First display unit, during for being drilled into N DBMS figures under rectangle tree graph data, in the rectangle tree Show that rollback is identified on figure, wherein, N is the integer more than 1;
Monitoring unit, for monitoring the trigger event to rollback mark;And
Second display unit, for when the trigger event of the rollback mark is listened to, showing the N levels Higher level's datagram of datagram.
8. device according to claim 7, it is characterised in that the rollback is identified for indicating rollback to described The upper level datagram of N DBMS figures, second display unit includes:First display module, for showing N-1 DBMS figures.
9. device according to claim 7, it is characterised in that N is the integer more than 2, described second shows single Unit includes:
Judge module, the datagram level corresponding for judging the rollback mark, wherein, the rollback mark Know corresponding datagram level and be less than N;And
Second display module, the datagram level corresponding datagram corresponding for showing the rollback mark.
10. device according to claim 7, it is characterised in that first display unit includes:
Acquisition module, for obtaining the corresponding access path of the N DBMS figures, wherein, the N levels The corresponding access path of datagram is from the first order datagram of the rectangle tree graph to the N DBMS figures Access path;
Generation module, for generating the corresponding rollback mark of the N DBMS figures according to the access path; And
3rd display module, for showing the rollback mark on the rectangle tree graph.
CN201510718800.1A 2015-10-29 2015-10-29 Rectangular tree graph processing method and device Active CN106648560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510718800.1A CN106648560B (en) 2015-10-29 2015-10-29 Rectangular tree graph processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510718800.1A CN106648560B (en) 2015-10-29 2015-10-29 Rectangular tree graph processing method and device

Publications (2)

Publication Number Publication Date
CN106648560A true CN106648560A (en) 2017-05-10
CN106648560B CN106648560B (en) 2020-03-03

Family

ID=58829973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510718800.1A Active CN106648560B (en) 2015-10-29 2015-10-29 Rectangular tree graph processing method and device

Country Status (1)

Country Link
CN (1) CN106648560B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737600A (en) * 2019-10-23 2020-01-31 北京博睿宏远数据科技股份有限公司 Collapse statistical data display method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257782A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for title bar path navigation of mobile device
CN103914523A (en) * 2014-03-24 2014-07-09 小米科技有限责任公司 Page rollback controlling method and page rollback controlling device
CN104008125A (en) * 2014-02-26 2014-08-27 浙江工商大学 Dynamic multi-stage histogram display method of layering data
CN104641349A (en) * 2012-09-24 2015-05-20 惠普发展公司,有限责任合伙企业 Visualizing conditions of information technology environments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257782A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for title bar path navigation of mobile device
CN104641349A (en) * 2012-09-24 2015-05-20 惠普发展公司,有限责任合伙企业 Visualizing conditions of information technology environments
CN104008125A (en) * 2014-02-26 2014-08-27 浙江工商大学 Dynamic multi-stage histogram display method of layering data
CN103914523A (en) * 2014-03-24 2014-07-09 小米科技有限责任公司 Page rollback controlling method and page rollback controlling device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737600A (en) * 2019-10-23 2020-01-31 北京博睿宏远数据科技股份有限公司 Collapse statistical data display method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106648560B (en) 2020-03-03

Similar Documents

Publication Publication Date Title
US8756567B2 (en) Profile based version comparison
Akpınar et al. Vision based page segmentation algorithm: Extended and perceived success
CN108228873A (en) Object recommendation, publication content delivery method, device, storage medium and equipment
US10019419B2 (en) Method, server, browser, and system for recommending text information
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN105653545A (en) Method and device for providing service object information in page
CN102073670B (en) Method, equipment and system for debugging online webpage template
CN111428131B (en) Information pushing method, device and system
CN107911448A (en) Content pushing method and device
CN108595697B (en) Webpage integration method, device and system
US20200143106A1 (en) Methods and systems for identifying styles of properties of document object model elements of an information resource
CN106570013A (en) Method and device for processing page access data
CN106227873A (en) Searching method and device
CN104424287A (en) Query method and query device for data
CN103455632A (en) Method and client for display web pages
CN105404669A (en) Method, apparatus, terminal and server for displaying webpage comment
CN105183853A (en) Method and device used for presenting label page
CN103019556A (en) Quick help information display system and quick help information display method
CN105260459A (en) Search method and apparatus
CN106649320A (en) Rectangular tree graph processing method and device
CN112035555B (en) Information display method, device and equipment
US10049170B1 (en) Methods and systems for selectively preventing third-party content from being displayed using undefined publisher identifier
CN106648560A (en) Rectangular tree graph processing method and device
WO2015160653A1 (en) Methods and systems for generating a stable identifier for nodes likely including primary content within an information resource
CN107193450A (en) Page elements system of selection and device

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
CB02 Change of applicant information
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 Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant