CN104063381B - The display methods and terminal of multistage tree menu - Google Patents
The display methods and terminal of multistage tree menu Download PDFInfo
- Publication number
- CN104063381B CN104063381B CN201310088123.0A CN201310088123A CN104063381B CN 104063381 B CN104063381 B CN 104063381B CN 201310088123 A CN201310088123 A CN 201310088123A CN 104063381 B CN104063381 B CN 104063381B
- Authority
- CN
- China
- Prior art keywords
- node
- nodes
- destination
- contraction
- father node
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000008602 contraction Effects 0.000 claims description 99
- 238000012163 sequencing technique Methods 0.000 claims description 51
- 230000008878 coupling Effects 0.000 claims 1
- 238000010168 coupling process Methods 0.000 claims 1
- 238000005859 coupling reaction Methods 0.000 claims 1
- 241000337007 Oceania Species 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000000052 comparative effect Effects 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/901—Indexing; Data structures therefor; Storage structures
- G06F16/9027—Trees
Abstract
The problem of the present invention provides a kind of display methods and terminal of multistage tree menu, belonging to display field, excessively taking display space to solve multistage tree menu interior joint in the prior art, and be difficult to search node and design.A kind of display methods of multistage tree menu, including:The multistage tree menu of display;In the multistage tree menu, user is obtained to the multiple destination nodes of the selection operation number of the selection operation performed by each node without departing from preset number of operations;In the multiple destination node, at least two destination nodes for belonging to same father node are obtained;The destination node that described at least two belong to same father node is contracted to the concealed nodes under the father node.
Description
Technical field
The present invention relates to display field, more particularly to a kind of display methods and terminal of multistage tree menu.
Background technology
With the popularization of terminal, the Classification Management of data is carried out by terminal becomes the way for realizing digital management with showing
One of footpath, wherein, the exhibition method of common data during multistage tree menu is enterprise operation and manages.Set in multistage
In shape menu, user can be by clicking on a node in level-one, so as to show the next stage node stored in the node.
In existing multistage tree menu, for enterprise, substantial amounts of node can be included per level-one, in terminal-pair tree
When shape menu is shown, user needs node expansion one by one to search required node.So, expanding node one by one
Multistage tree menu is set to occupy substantial amounts of display space, and user is also required to cumbersome operation can just find required section
Point.
The content of the invention
The embodiment of the present invention provides a kind of display methods and terminal of multistage tree menu, can save the display of terminal
Space, searches common node to save the operating time easy to user.
To reach above-mentioned purpose, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, the present invention provides a kind of display methods of multistage tree menu, including:
The multistage tree menu of display;
In the multistage tree menu, user is obtained to the selection operation number of the selection operation performed by each node not
Beyond multiple destination nodes of preset number of operations;
In the multiple destination node, at least two destination nodes for belonging to same father node are obtained;
The destination node that described at least two belong to same father node is contracted to the concealed nodes under the father node.
With reference to the first aspect of the present invention, in the first possible implementation of first aspect present invention, described
Obtain multiple destination nodes that user exceeds the selection operation number of the selection operation performed by each node preset number of operations
Afterwards, further include:
Obtain the sequencing numbers of the multiple destination node;
Described acquisition at least two belongs to the destination nodes of same father node in the multiple destination node, is specially:
In the multiple destination node, obtain at least two sequencing numbers continuously and belong to the target section of same father node
Point;
The hiding section destination node that described at least two belong to same father node being contracted under the father node
Point, is specially:
At least two sequencing numbers are continuous and belong to the destination node of same father node and be contracted to the father node
Under concealed nodes.
With reference to the possible implementation of the first of the first aspect of the present invention or first aspect, in the first party of the present invention
In second of possible implementation in face, after the multistage tree menu of the display, further include:
Receive the node contraction operation performed by user;
Multiple contraction nodes manually are obtained from node contraction operation;
When the multiple node of contraction manually belongs to same father node, then by least two hands for belonging to same father node
Dynamic contraction section point is contracted to a concealed nodes;
The manual selection operation number for shrinking node for described at least two being belonged to same father node is adjusted to default value,
The default value is without departing from the preset number of operations.
With reference to second of possible implementation of the first aspect of the present invention, in the third of the first aspect of the present invention
In possible implementation, the method, further includes:
The quantity for the node for completing to shrink, the quantity of the node for completing to shrink are obtained, including completes the target shunk
The quantity of node completes at least one of manual quantity for shrinking node of contraction;
The quantity is shown in around corresponding concealed nodes.
With reference to the 3rd of the possible implementation of the first of the first aspect of the present invention or first aspect or first aspect the
The possible implementation of kind, in the 4th kind of possible implementation of the first aspect of the present invention, the method, further includes:
User is received to operate for the expansion performed by the concealed nodes;
In the multistage tree menu, targeted concealed nodes are operated to the expansion and are unfolded.
Second aspect, the present invention provides a kind of terminal, including:
Display unit, for showing multistage tree menu;
Comparing unit, in the multistage tree menu, obtaining user to the selection operation performed by each node
Multiple destination nodes of the selection operation number without departing from preset number of operations;
Determination unit, in the multiple destination node, obtaining at least two target sections for belonging to same father node
Point;
Unit is shunk, the destination node for belonging to same father node by described at least two is contracted under the father node
Concealed nodes.
It is described in the first possible implementation of the second aspect of the present invention with reference to the second aspect of the present invention
Terminal, further includes:
Sequencing numbers acquiring unit, for obtaining the sequencing numbers of multiple destination nodes;
The determination unit, specifically in the multiple destination node, obtain at least two sequencing numbers it is continuous and
Belong to the destination node of same father node;
The contraction unit, specifically for when at least two sequencing numbers are continuous and belong to the mesh of same father node
Mark the concealed nodes under node contraction to the father node.
With reference to the possible implementation of the first of the second aspect of the present invention or second aspect, in the second party of the present invention
In second of possible implementation in face, the terminal, further includes:
Node contraction operates acquiring unit, for receiving the node contraction operation performed by user;
The determination unit, is additionally operable to obtain multiple contraction nodes manually in operating from the node contraction;
The contraction unit, be additionally operable to when it is the multiple shrink node manually and belong to same father node when, then will at least two
A manual contraction section point for belonging to same father node is contracted to a concealed nodes;
Reset unit, the manual selection operation number for shrinking node for belonging to same father node by least two adjust
For default value, the default value is without departing from the preset number of operations.
With reference to second of possible implementation of the second aspect of the present invention, in the third of the second aspect of the present invention
In possible implementation, the terminal, further includes:
Counting unit, the quantity of the node shunk for obtaining completion, the quantity of the node for completing to shrink, including it is complete
At least one of manual quantity for shrinking node shunk into the quantity of the destination node of contraction or completion;
The display unit, is additionally operable to the quantity being shown in around corresponding concealed nodes.
With reference to the 3rd of the possible implementation of the first of the second aspect of the present invention or second aspect or second aspect the
The possible implementation of kind, in the 4th kind of possible implementation of the second aspect of the present invention, the terminal, further includes:
Expansion operation acquiring unit, is additionally operable to receive user for the expansion operation performed by the concealed nodes;
Unit is unfolded, in the multistage tree menu, operating targeted concealed nodes to the expansion and carrying out
Expansion.
The display methods and terminal of a kind of multistage tree menu provided in an embodiment of the present invention, section is selected by obtaining user
The selection operation number of point, and contrasted according to the selection number of operations with preset number of operations, determine selection operation number
The destination node less without departing from the number of the i.e. user execution operation of preset number of operations, so that the section that user is seldom checked
Point is used as destination node, and the destination node belonged under same father node is contracted in a concealed nodes, so as to save
Display space in terminal, and lookup is carried out to node easy to user and saves the time consumed during lookup node.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, embodiment will be described below
Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without creative efforts, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is by the multistage tree menu that is stored in terminal of the present invention;
Fig. 2 is the flow chart of the display methods of multistage tree menu of the present invention;
Fig. 3 is the schematic diagram after being shunk to the multistage tree menu shown in Fig. 1;
Fig. 4 is after shrinking to the multistage tree menu shown in Fig. 1 and marks the quantity of the node for completing to shrink and show
It is intended to;
Fig. 5 is by the multistage tree menu that is stored in another embodiment of the present invention middle plateform computer;
Fig. 6 is the flow chart of the display methods of multistage tree menu in another embodiment of the present invention;
Fig. 7 is the schematic diagram after being shunk to multistage tree menu in Fig. 5;
Fig. 8 is to carry out the schematic diagram after node contraction operation to multistage tree menu in Fig. 7;
Fig. 9 is by the schematic diagram after concealed nodes marker number in Fig. 8;
Figure 10 is the structure diagram of the terminal described in the embodiment of the present invention;
Figure 11 is the structure diagram of the tablet computer described in the embodiment of the present invention;
Figure 12 is the structure diagram of the tablet computer described in another embodiment of the present invention.
Embodiment
The display methods and terminal of multistage tree menu of the embodiment of the present invention are described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained without making creative work it is all its
His embodiment, belongs to the scope of protection of the invention.
The mass data stored in terminal is managed and shown in order to facilitate user, multistage tree-like dish can be used
Single form is shown.For example, multistage tree menu as shown in Figure 1 is stored with the terminal, in the multistage tree menu
In include at least five ranks;The rank is the step-by-step calculation since root node, belongs to being referred to as different father nodes
The node of one rank;Start to calculate in such a way, then the first order is commercial affairs;The second level is market distribution;The third level is
Continent is distributed, wherein including the nodes such as Asia, North America, Europe, South America, Oceania and Africa;The fourth stage is distribution of countries, with
Exemplified by Asia, wherein including the nodes such as China, Japan and South Korea;Level V is Area distribution, by taking China as an example, wherein including north
The nodes such as capital, Shanghai, Guangdong, Zhejiang and Jiangsu;After user selects area, the dependency number of the business in corresponding area can be shown
According to being shown, when being shown, the node and the file stored in terminal can be associated, when user's point
When hitting the node, corresponding file is shown to show the required data of user.
The relation of father node and child node is judged by the way that whether child node is directed toward same father node, such as north
Capital, Shanghai, Guangdong, Zhejiang and Jiangsu node belong to same father node, i.e., Chinese;Therefore, can know Chinese node with
These nodes of Beijing, Shanghai, Guangdong, Zhejiang and Jiangsu are father node and the relation of child node.
In addition, by taking level V as an example, for each node in level V, it belongs to same father node " China ", and
During being shown, terminal can obtain the sequencing numbers for each node that level V is included, and be compiled according to the sequence
Number order determine level V node displaying order.
Node included in certain above-mentioned each rank and each rank, which needs to be actually needed according to user, to be configured, i.e.,
Rank number and the node number included are not limited to rank number and node number that the example above illustrates, and each node
Put in order to be adjusted according to the actual needs.
In order to which less display space can be taken, and required common node is searched easy to user to save
The lookup time of common node is saved, during being shown to multistage tree menu, the present invention provides a kind of multistage tree
The display methods of shape menu, as shown in Fig. 2, including:
S100, the multistage tree menu of display.
Terminal obtains above-mentioned multistage tree menu, and each node in acquired multistage tree menu is stored
Attribute information, the attribute information, including the information such as nodename, selection operation number, sequencing numbers and affiliated father node.
Diversified forms can be included by determining the selection operation of selection operation number, such as the selection operation can be user's point
The operation of beat time point, or operation of file corresponding to one node of a node or loading etc., ability is unfolded in user
The understanding of field technique personnel is can arbitrarily to set the form of corresponding selection operation, only need to be according to the choosing performed by user
Select number of operations to determine to need the node for keeping displaying, do not make too many restrictions herein.
The selection number of operations can be arranged to a default value in the node of first time loading, such as can set
For 0, can also be set according to the needs of expansion or the contraction of the node for newly being loaded in multistage tree menu, the default value certainly
It is set to other values.When user performs the selection operation corresponding node of selection, can be touched by finger on touch screen
The mode of control is realized, can also be realized by way of the external input equipment such as user's operation mouse and/or keyboard makes choice
It will be appreciated by persons skilled in the art that above-mentioned selection operation can include the one or more performed by same input equipment
Operation, can also include as the operation performed by different input equipments, this is not restricted.One node is performed in user
During selection operation, selection operation number included in the node is changed.
Terminal loads multistage tree menu according to the attribute information of acquired each node, and according to the category
Property the corresponding multistage tree menu of information generation, shown in the display device of terminal, during display, Ke Yitong
It is to be in unfolded state, contraction state or whether show the node to cross before each node and set figure or symbol to embody the node
Also there are child node etc..Such as in the multistage tree menu shown in Fig. 1, framed node is shown before node, it can understand
For the node, there are child node, such as commercial affairs and market distribution node;It is corresponding, the node of non-display box before node, just
It can be understood as the node and child node, such as Beijing and Shanghai node be not present.Furthermore it is possible to by shown in the frame
Symbol determines that the node is to be in unfolded state or contraction state, as shown in the frame before Japanese node as plus sige, then
Illustrate that the node includes child node and be in contraction state, and shown in the frame before China's node for minus sign, then illustrate the section
Point is comprising child node and is in unfolded state.Certainly, the specific dispaly state of node, can also be in other way into rower
Note, for example, triangular representation be in unfolded state and it is circular represent to be in contraction state etc., this is not restricted.
After multistage tree menu is shown, user can be unfolded and be shunk to node as needed, and institute is searched with this
Data included in the node needed, in this course, selection operation number are changed with the selection operation according to user
Become, which can be to be incremented by, successively decrease or carry out plus-minus gradually with the numerical value of a setting, as long as can record performed by user
Operation.
S101, in multistage tree menu, obtain user to the selection operation number of the selection operation performed by each node
Without departing from multiple destination nodes of preset number of operations.
After the set period, terminal can be scanned each node in multistage tree menu, from
And obtain in the period having been subjected to, user is to the selection operation number corresponding to the selection operation performed by each node;
Such as the child node that Chinese node is included, in the period having already passed through, user is to the choosing performed by the node of Beijing
Number of operations is selected as 30 times, is 10 times to the selection operation number performed by the node of Shanghai, to the selection performed by the node of Guangdong
Number of operations is 7 times, is 20 times to the selection operation number performed by the node of Zhejiang, to the selection operation performed by the node of Jiangsu
Number is 9 times.
Need to illustrate when, it is corresponding with the expansion of the child node when user makes choice operation to a child node
The selection operation number of superior node will also change, for example, when the selection operation number of Guangdong node changes
When, the father node China node of Guangdong node, father node Asia node, the father node market distribution of Asia node of Chinese node
The father node commercial affairs node of node and market distribution node is respectively necessary for being incremented by;So, child node choosing would not occur
The contradiction of number of operations and the selection operation number of the father node corresponding to the child node is selected, and causes to show multistage tree menu
When situation about causing confusion.In addition, when user makes choice operation to child node, the change of the selection operation number of superior node
Change to set and increase and decrease different values, such as when click child node makes the selection operation number of child node add 1, its father node
Increase by 0.5.It is envisioned that can also be directed to each rank sets different preset number of operations, for example, level V
Preset number of operations is 15, and the preset number of operations of the fourth stage is 40, and certainly, which needs according to reality
Scene is configured, and this is not restricted.
It is pre- to the selection operation number and institute in terminal of each node after terminal obtains the selection operation number of each node
The preset number of operations first stored is compared;Such as it is 15 times that can set the preset number of operations, then according to each node
The contrast of selection operation number and preset number of operations is it is known that the selection operation number of Beijing node and Zhejiang node is more than
Preset number of operations, and the selection operation number of Shanghai node, Guangdong node and Jiangsu node is less than preset number of operations.
At this time, target can be determined according to the comparing result of the selection operation number of above-mentioned each node and preset number of operations
Node, the number which refers to user's inquiry less can be retracted in a concealed nodes so as to not it into it is about to
The node shown.
It should be noted that according to the default value of the selection operation number of each node and the numerical value changed every time not
Together, when determining destination node according to selection operation number and preset number of operations comparative result it is also different.It is for example, elected
The default value for selecting number of operations is arranged to 40, default selection number performs a selection operation and make selection operation secondary for 15 and user
When number successively decreases, then it is understood that for a node, the smaller explanation user of selection operation number is browsed in the node
Data number it is more, corresponding, selection operation number is more big, illustrate user browse the data in the node time
Number is fewer;Certainly opposite setting can also be carried out in the terminal, for example, when the default value of selection number of operations is arranged to 0,
Default selection number for 15 and user perform a selection operation and make selection operation number incrementally when, then it is it is understood that right
As soon as a node, the number that the bigger explanation user of selection operation number browses the data in the node is more, corresponding
, selection operation number is smaller, illustrate user browse the data in the node number it is fewer;For people in the art
For member, by setting selection operation number, the default value of the selection number of operations in the terminal and according to selection operation institute
After the rule for the change for carrying out selection operation number, it can determine to need to be retracted to the destination node in concealed nodes.
For example, destination node determined by terminal is Shanghai node, Guangdong node and Jiangsu node.
Generally, the number of identified destination node is multiple, because when the number of the destination node is one, i.e.,
Make to be retracted to the purpose that can not be also realized in a concealed nodes and reduce the display space shared by multistage tree menu.
S102, in multiple destination nodes, obtain at least two destination nodes for belonging to same father node.
It is terminal needs after destination node that Shanghai node, Guangdong node and Jiangsu node are determined in above-mentioned steps
Whether destination node determined by determining whether belongs to same father node, because if will not belong to the target of same father node
During node contraction to same concealed nodes, the confusion of multistage tree menu structure can be caused, such as by Beijing node and day this section
Point is retracted to the prototype structure that same concealed nodes substantially do not meet multistage tree menu then.
When progress destination node is judged, the attribute information in destination node can determine each target
Father node belonging to node, for example, Shanghai node, Guangdong node and Jiangsu node belong to a father node at the same time, i.e., it is Chinese
Node, institute so as to determine can be to Shanghai node, Guangdong node and Jiangsu node contraction into a concealed nodes.
S103, by the destination node that at least two belong to same father node be contracted to the concealed nodes under the father node.
In multiple destination nodes, determine at least two belong to the destination node of same father node after, then need to belonging to
The destination node of same father node is shunk.
For example, this carries out contraction to node and can realize in the following way:
The project of " display situation " is added in the attribute information of each node, which is used to mark the node more
Whether shown in level tree menu, and corresponding section can be switched by the change of the information recorded in display situation
Point show or hide in multistage tree menu, such as when the dispaly state is 1, then the node is in dispaly state, i.e., should
Node is shown in multistage tree menu and shows, and when the dispaly state is 0, then the node is in hidden state, i.e. the section
Point is not appeared in multistage tree menu.
Under each father node, a concealed nodes can be pre-set, there is also the display feelings for the concealed nodes
The attribute information of condition;There is no during the destination node for needing to shrink, then the information recorded in the display situation is 0, that is, is protected
Hidden state is held, when there are during destination node, then the display situation is adjusted to 1, that is, is changed into dispaly state, at this time the concealed nodes
Shown under corresponding father node.The concealed nodes can be shown in any position in all child nodes of father node,
Only need to set the sequencing numbers in the attribute information of the concealed nodes, such as that concealed nodes can be set to appear in is all
Last position of child node.
After destination node is determined by above-mentioned steps, first, by adjusting the display situation of destination node, it will belong to
The destination node of same father node is adjusted to hidden state from dispaly state, i.e., not in multistage tree menu, display belongs to same
The destination node of father node, can so vacate display space;Secondly, by the default concealed nodes under the father node
Display situation is adjusted to dispaly state from hidden state;Finally, the destination node and the hiding section for belonging to same father node are established
The incidence relation of point.So, can determine to have shunk the above-mentioned mesh for belonging to same father node under the concealed nodes
Mark node.
Alternatively, it is also possible to not pre-set concealed nodes in the father node, but it is being determined what is shunk in the presence of needs
After belonging to the destination node of same father node, first, the concealed nodes are generated under the father node, be also required in the concealed nodes
Include the attribute informations such as nodename, sequencing numbers and affiliated father node;Secondly, the destination node of same father node will be belonged to
Display situation be adjusted to hidden state from dispaly state;Finally, establish belong to same father node destination node and this hide
The incidence relation of node.So can also realize it is above-mentioned to be not required to the destination node to be shown for belonging to same father node into
The purpose that row is shunk.
For the multistage tree menu shown in Fig. 1, a father node is established in multistage tree menu and is directed toward China's section
Point, nodename are arranged to not show, sequencing numbers be arranged to 20 node, i.e., above-mentioned concealed nodes;By Shanghai node, Guangdong
The display situation of node and Jiangsu node is adjusted to hidden state from dispaly state, so that Shanghai node, Guangdong node and Jiangsu
Node do not show with multistage tree menu;Establish between the concealed nodes and Shanghai node, Guangdong node and Jiangsu node
Association, so just completes the contraction for destination node.
In addition, in order not to upset the sequence of each node in original multistage tree menu, the method, is obtaining user couple
After the selection operation number of selection operation performed by each node is without departing from multiple destination nodes of preset number of operations, also wrap
Include:Obtain the sequencing numbers of multiple destination nodes;The Zhai Shao two that obtained in multiple destination nodes belongs to same father node
Destination node, be specially:In multiple destination nodes, obtain at least two sequencing numbers continuously and belong to same father node
Destination node;The concealed nodes destination node that at least two belong to same father node being contracted under the father node,
Specially:By at least two sequencing numbers it is continuous and belong to the destination node of same father node be contracted to it is hidden under the father node
Node is hidden, and sequencing numbers are discontinuous then without shrinking.At this time, because may be simultaneously present multiple concealed nodes,
Terminal needs to obtain the sequencing numbers of a destination node in the destination node for needing to shrink, the sequence of the concealed nodes of generation
Numbering could be provided as the sequencing numbers of a destination node, so, can be on the position of this destination node
There are generated concealed nodes, when user switches dispaly state and hidden state, original multistage tree can not be upset
The sequence of each node in shape menu.
, can also be by using in addition to terminal realizes the contraction of node automatically during multistage tree menu is shown
The manual mode in family is shunk.
First, the node contraction operation performed by user is received, node contraction operation is similar with selection operation, can be with
By touch screen, the mode such as mouse and/or the keyboard of being used as external input equipment perform, node contraction operation can be set respectively
A variety of operation formats are put, this is not restricted;Generally, the node contraction operates, corresponding number of nodes is also to be multiple, use
When performing node contraction operation, corresponding node can be continuous or interval, but corresponding node one at family
Surely it is the node for belonging to same father node.
Secondly, multiple contraction nodes manually are obtained from node contraction operation.
Afterwards, manual contraction section point is contracted in a concealed nodes, and the manual nodal operation for shrinking node is secondary
Number is adjusted to default value;That is, by above-mentioned described contraction mode, manual contraction section point is shunk, in order to avoid section
Institute is issuable between point shrinkage operation is shunk automatically with terminal conflicts, it is necessary to which at least two are belonged to after completing to shrink
The manual selection operation number for shrinking node of same father node is resetted, and can be reset to configured acquiescence
Value, or selection operation number can also be reset to arbitrary value, as long as will not occur in manual shrink between automatic contraction
Conflict, the default value is without departing from preset number of operations, so as to avoid after a period of time has passed, carrying on the back the node meeting of contraction
Display according to the comparison of selection operation number and preset number of operations again, can not keep the state shunk manually.
In order to make user more apparent in the multistage tree menu for having completed to shrink, shunk in each concealed nodes
Node quantity, optionally, the method, further includes:The quantity for the node for completing to shrink is obtained, completes the node of contraction
Quantity, including at least one of the manual quantity for shrinking node of completion contraction or destination node of completion contraction;By the quantity
It is shown in around corresponding concealed nodes;Such as in multistage tree menu as shown in Figure 1, by institute in a concealed nodes
Comprising the quantity of node be shown on the position after the concealed nodes, show the multistage tree menu after the quantity such as
Shown in Fig. 4, i.e., in concealed nodes " not showing " as shown in Figure 4, contraction has Shanghai node, Guangdong node and Jiangsu node,
These three nodes.
It should be noted that terminal according to the comparative result of selection operation number and preset number of operations shunk with
And after being shunk according to the operation of the node contraction of user, the step is can carry out, the section of concealed nodes will be contracted to
Point quantity is shown to the corresponding position of the concealed nodes, consequently facilitating user is visually known node included in concealed nodes
Quantity.
Further, when carrying out the contraction of multistage tree menu interior joint by the above process, one can also be set
Period, in the period, terminal is recorded for performed operation of the user to all nodes;When by the time
Duan Hou, again the relation of the selection operation number to node and preset number of operations judge, and again to multistage tree-like dish
The contraction of single interior joint, so, the completion that circulation can be completed according to the operation of user are shunk and are unfolded.Optionally,
By the period and after completing the contraction of node, the selection operation number of each node can be resetted, and remember again
The operation of user in next period is recorded, with the operation of the record user of this time segment, avoids the cumulative caused of time
The situation of contraction and expansion of node the problem of remaining unchanged.
In addition, in order to which user can check the node shunk in concealed nodes, the method, further includes:First, receive
User operates for the expansion performed by the concealed nodes;Secondly in multistage tree menu, which is operated targeted
Concealed nodes are unfolded.That is, when user carries out the concealed nodes expansion operation, terminal is according to destination node and hides section
Incidence relation between point, can be adjusted to dispaly state by the display situation of the destination node by this from hidden state, and will
The display situation of the concealed nodes is adjusted to hidden state from dispaly state, so, just completes user to having shunk
Destination node be unfolded.
Wherein, above-mentioned selection operation and expansion operation could be provided as same or different mode of operation, the node
In general shrinkage operation needs different from selection operation and expansion operation.For example, if terminal receives user institute by mouse
When selection operation, expansion operation and the node contraction of execution operate, the selection can be operated and expansion operation is both configured to mouse
Left button clicking operation is marked, and node contraction operation could be provided as scope selection operation and by mouse in scope selection operation institute
Right click operation realization is carried out on selected node.In addition, when input equipment is touch screen, the selection operation and expansion behaviour
Finger point selection operation performed on touch screen is could be provided as, and node contraction operation can pass through multiple fingers
The performed expansion selection operation on touch screen.Certainly, for selection operation, expansion operation and node contraction operation, it is necessary to according to
Actual input equipment is determined, it will be appreciated by those skilled in the art that, it is only necessary to different operation or different is set
Operational scenarios, so that terminal can be distinguished and can realized to these types operation respectively.
Optionally, after the adjustment of display situation of concealed nodes and destination node is completed, this can also be deleted and hide section
Point is with the corresponding generation concealed nodes.
It should be noted that above-mentioned simply list vanishing target node, concealed nodes occur and establish destination node
The associated two ways between concealed nodes, to those skilled in the art, can also realize in other way,
Details are not described herein;Also, the process of above-mentioned contraction and expansion is not limited to above-mentioned flow, and the execution sequence of the flow can also
Carry out front and rear exchange.
Optionally, after the multistage tree menu stored in loading terminal, can also first be counted up to according to selection operation time
Into after the contraction of each node, then the display of multistage tree menu is carried out, for the order for showing and shrinking, can not also limited
System.Also, in the judgement shunk, it can be carried out according to the level order of setting, for example, can be from the higher section of rank
Point starts to judge, when determining the higher node of the rank without shrinking, then the other node of lower level is judged, so
One, it can make user that section be unfolded to avoid repeatedly being shunk to downstream site after being shunk to superior node
It is more convenient during point.But particular situation can make choice according to the actual needs, this is not restricted.
A kind of display methods of multistage tree menu provided in an embodiment of the present invention, the choosing of node is selected by obtaining user
Number of operations is selected, and is contrasted according to the selection number of operations with preset number of operations, so that the section that user is seldom checked
Point is used as destination node, and the destination node belonged under same father node is contracted in a concealed nodes, so as to save
Display space in terminal, and lookup is carried out to node easy to user and saves the time consumed during lookup node.
In order to which those skilled in the art more fully understand the display methods of multistage tree menu provided in an embodiment of the present invention
Technical solution, the display methods of multistage tree menu provided by the invention is carried out specifically below by specific embodiment
It is bright.
The present embodiment is by taking tablet computer as an example, the display methods of the multistage tree menu of the present embodiment, as shown in figure 5, bag
Include:
S1, user click on application program, and tablet computer starts the application program, obtain multistage included in the application program
Tree menu, and multistage tree menu is shown.
Specifically, in this step, during above-mentioned multistage tree menu is shown on tablet computer, tablet computer is first
Each node of multistage tree menu can be obtained, and the relation marked according to father node shows the multistage tree menu.
Multistage tree menu in the multistage tree menu as shown in fig. 6, include five included in the application program
Rank;The first order is commercial affairs;The second level is market distribution;The third level is distributed for continent, wherein including Asia, North America, Europe, south
America, Oceania and African node;The fourth stage is distribution of countries, by taking Asia as an example, wherein including China, Japan and South Korea's section
Point;Level V is Area distribution, by taking China as an example, wherein comprising Beijing, Shanghai, Guangdong, Zhejiang and Jiangsu node, using Japan as
Example, wherein comprising Tokyo and Osaka node, by taking South Korea as an example, wherein including Soul and Pusan's node.
S2, tablet computer are to the selection operation number in the attribute information of each node of multistage tree menu and at different levels
Set preset number of operations is contrasted, and it is big to the selection operation number of the selection operation performed by each node to obtain user
In multiple destination nodes of preset number of operations.
According to the selection operation performed by conventional user, in the attribute information of each node, selection operation number is respectively:
In level V, Beijing node 20 times, Shanghai node 10 times, Guangdong node 8 times, Zhejiang 13 times, Jiangsu 17 times, Tokyo node 2 times,
Osaka node 4 times, Soul node 5 times, Pusan's node 7 times;In the fourth stage, Chinese node 70 times, Japanese node 7 times, South Korea
Node 13 times;In the third level, Asia node 90 times, North America node are 10 times, European node 31 times, South America node 14
Secondary, Oceania node 8 times, African node 12 times;In the second level, market distribution node 155 times;In the first stage, commercial affairs section
Point 160 times.
In the present embodiment, different preset number of operations, such as the default behaviour of the first order are set for different ranks
As number is 50, the preset number of operations of the second level is 40, the preset number of operations of the third level 30, the predetermined registration operation of the fourth stage time
Number is 20, the preset number of operations of level V is 15.
So, according to the selection operation number of each node and preset number of operations at different levels, determine respectively it is at different levels in
Multiple destination nodes.In the present embodiment, judge since the higher node of rank, and determine that selection operation number is more than
The node of preset number of operations is destination node;According to the selection operation number of each node in the present embodiment and predetermined registration operation time
Number, in the first stage, the selection operation number of commercial node are more than the preset number of operations of the rank, then commercial node is non-mesh
Mark node;In the second level, the selection operation number of market distribution node is more than the preset number of operations of the rank, then market point
Cloth node is non-targeted node;In the third level, Asia node, the selection operation number of European node are more than the default of the rank
Number of operations, and North America node, South America node, the selection operation number of Oceania node and African node are less than the rank
Preset number of operations, therefore Asia node and European node are non-targeted node, North America node, South America node, Oceania
Node and African node are destination node, this is in the third level, it has been determined that North America node, South America node, Oceania section
Point and African node are destination node, then no longer the child node of aforementioned four node can be judged, and only Asia is saved
The child node that point and European node are included is judged;Because judging that flow is similar, saved herein just for the son under the node of Asia
Point is judged, in the fourth stage, the selection operation number of Chinese node is more than the preset number of operations of the rank, and Japanese node
It is less than the preset number of operations of the rank with the selection operation number of South Korea node, so Japanese node and South Korea's node are target
Node;In level V, the child node that is included for Chinese node, Shanghai node, Guangdong node and Zhejiang node are target
Node.
S3, tablet computer obtain at least two destination nodes for belonging to same father node in multiple destination nodes.
Tablet computer determines above-mentioned target according to the father node in the attribute informations of at least two targets having determined
With the presence or absence of the destination node for belonging to same father node in node.
In the present embodiment, Shanghai node, Guangdong node, Zhejiang node belong to same father node, i.e., Chinese node;Japan
Node, South Korea's node belong to same father node, i.e. Asia node;North America node, South America node, Oceania node and Africa
Node belongs to same father node.
S4, tablet computer judge that at least two belong to same respectively according to the sequencing numbers in the attribute information of each node
Whether the sequencing numbers of the destination node of father node are continuous.
If continuous, step S5 is performed;If discontinuous, terminate to adjust.
By judging it is recognised that in the third level, the sequencing numbers of South America node, Oceania node and African node
Continuously, because not with the continuous destination node of North America node, institute is chaotic to avoid sequence, and North America node is without receiving
Contracting;In the fourth stage, for the child node that node is included for Asia, the sequencing numbers of Japanese node and South Korea's node connect
It is continuous;In level V, for the child node that Chinese node is included, the row of Shanghai node, Guangdong node and Zhejiang node
Sequence numbering is continuous.
S5, tablet computer are continuous and belong to the destination node of same father node and be retracted to one by least two sequencing numbers
In concealed nodes.
After the destination node that definite needs are shunk, tablet computer needs to carry out execution contraction to destination node, to reduce
Display space.
Specifically, in this step of the present embodiment, tablet computer can mainly perform following a few small steps:
S50, tablet computer are continuous and belong to the destination node of same father node from display shape by least two sequencing numbers
State is adjusted to hidden state.
In attribute information in node, comprising display situation this, belong to same father node and sequence determining
After numbering continuous destination node, respectively by South America node in the third level, Oceania node and African node, in the fourth stage
Japanese node and South Korea's node, the sequencing numbers of Shanghai node, Guangdong node and Zhejiang node in level V continuously show
Show that situation is adjusted to 0 from 1, i.e., be adjusted to hidden state from dispaly state;Wherein it is possible to it will need to be retracted to a concealed nodes
Destination node be referred to as one group of destination node.
S51, tablet computer generate a concealed nodes according to each group of destination node, the sequencing numbers of the concealed nodes with
The sequencing numbers of either objective node in the group are consistent.
In this step of this implementation, a concealed nodes are generated for one group of destination node, and nodename is set
For " not showing ";The sequencing numbers of concealed nodes are configured according to the sequencing numbers of corresponding this group of destination node, such as
The sequencing numbers of concealed nodes in Chinese node could be provided as 2, i.e., is shown after the node of Beijing, hiding in the node of Asia
The sequencing numbers of node are also 2, i.e., are shown after Chinese node, the sequencing numbers of the concealed nodes in market distribution node are
4, i.e., shown after European node.
At this time, it may be necessary to the sequencing numbers of the former destination node corresponding to sequencing numbers set by concealed nodes are arranged to
Sky, or other do not interfere with other numerals of former destination node and concealed nodes sequence.
By above-mentioned steps, the shrinkage operation when starting application program can be completed, is filled in the display of tablet computer
Display multistage tree menu as shown in Figure 7 is put, and start recording shows the time.
S52, tablet computer establish incidence relation of each group of destination node with corresponding concealed nodes.
S6, judge whether the display time that tablet computer is recorded exceeds prefixed time interval.
If it was exceeded, perform step 2;If without departing from, continue record show the time.
In another embodiment, between step 1-6, user can continue to check data included in node, this
When can still record the number of selection operation.
In above process, the operation of user can be manually node contraction it is manual to the section in multistage tree menu
Point carries out manual contraction.
S7, user carry out node node contraction operation, and tablet computer receives node contraction operation.
S8, tablet computer judge whether at least two belong to same father node in the manual contraction node.
If it is, perform step S90;If it is not, then perform step S91, prompt user that node contraction operation can not
Complete, the manual contraction section point that can not will not belong to same father node is retracted to a concealed nodes.
The manual contraction node operates selected node for node contraction, in this step, in multistage tree menu
Asia node below node carry out node contraction operation, wherein, by textbox mark the node contraction operate corresponding to
Node.
The manual contraction section point that S90, tablet computer belong to same father node by least two is contracted to a concealed nodes
In, and the manual selection operation number for shrinking node is adjusted to default value.
The process of above-mentioned contraction and step S50, S51, S52 are similar, have simply changed destination node into manual contraction section
Point.After the completion of contraction, multistage tree menu as shown in Figure 8 is formed, and tablet computer is automatically by the manual contraction node
Selection operation number is adjusted to default value, such as 0, and after the completion of manual shrink, performs step S91, shown to what is recorded
Show that the time is resetted.Record shows the time again after step S91.
After shrinkage operation is completed, i.e., after step S6, S9, the method, it is also necessary to perform following steps:
S10, after the completion of contraction, determine complete shrink node quantity.
Quantity, be shown in around corresponding concealed nodes by S11.
The node that the completion is shunk, including at least one of node or destination node are shunk manually;To be formed after step 9
Multi-level display menu as shown in Figure 8 exemplified by, complete shrink when, the concealed nodes of level V, comprising 3 complete shrink
Node;The concealed nodes of the fourth stage, include 2 nodes for completing to shrink;The concealed nodes of the third level, comprising 5 concealed nodes,
The quantity of concealed nodes is shown as shown in Figure 9.
In the method, when having shown that concealed nodes in tablet computer, can be operated by the expansion of user
The node for completing to shrink in concealed nodes is unfolded.
I.e. in the method, including:
S12, user perform expansion operation, and tablet computer receives performed expansion operation.
S13, tablet computer operate targeted concealed nodes in multistage tree menu, to expansion to be unfolded.
The process of expansion with the process shunk on the contrary, the node that i.e. concealed nodes are included first, according to concealed nodes and
Incidence relation between the node that concealed nodes are included, the display situation for the node that concealed nodes are included are adjusted to show
State;Secondly, the correlation attribute information of concealed nodes will be deleted.Wherein, when in above process concealed nodes being included
When the sequencing numbers of a node in node are assigned to the sequencing numbers of concealed nodes, adjustment is also needed to compile the sequence of the node
Number recover.
Corresponding with a kind of display methods of multistage tree menu of the present invention, present invention also offers a kind of terminal 2, such as schemes
Shown in 10, including:
Display unit 200, for showing multistage tree menu;
Comparing unit 201, in multistage tree menu, obtaining choosing of the user to the selection operation performed by each node
Select multiple destination nodes of the number of operations without departing from preset number of operations;
Determination unit 202, in multiple destination nodes, obtaining at least two target sections for belonging to same father node
Point;
Unit 203 is shunk, the destination node for belonging to same father node by least two is contracted under the father node
Concealed nodes.
Optionally, the terminal 2, further include:
Sequencing numbers acquiring unit 204, for obtaining the sequencing numbers of multiple destination nodes.Further, it is described to determine
Unit 202, specifically in multiple destination nodes, obtaining at least two sequencing numbers continuously and belonging to the mesh of same father node
Mark node
The contraction unit 203, specifically at least two sequencing numbers are continuous and belong to the target of same father node
Concealed nodes under node contraction to the father node.
Optionally, the terminal 2, further includes:
Node contraction operates acquiring unit 205, for receiving the node contraction operation performed by user;
The determination unit 202, is additionally operable to obtain multiple contraction nodes manually in operating from node contraction;
The contraction unit 203, is additionally operable to when multiple at least two manual nodes that shrink for shrinking node manually belong to same
During father node, then the manual contraction section point for belonging to same father node by least two is contracted to a concealed nodes;
Reset unit 206, for belonging to the manual selection operation number for shrinking node of same father node by least two
Default value is adjusted to, the default value is without departing from the preset number of operations.
Optionally, the terminal 1, further includes:
Counting unit 207, the quantity of the node shunk for obtaining completion, the quantity for the node which shrinks, including
The quantity for the destination node for completing to shrink completes at least one of manual quantity for shrinking node of contraction;
The display unit 200, is additionally operable to the quantity being shown in around corresponding concealed nodes.
Optionally, the terminal 2, further includes:
Expansion operation acquiring unit 208, is additionally operable to obtain user for the expansion operation performed by concealed nodes;
Unit 209 is unfolded, for according to selection operation, in multistage tree menu, targeted to selection operation to hide
Node is unfolded.
A kind of terminal provided in an embodiment of the present invention, by obtain user select node selection operation number, and according to
The selection number of operations is contrasted with preset number of operations, so that the node that user is seldom checked is as destination node, and
The destination node belonged under same father node is contracted in a concealed nodes, so that the display space in terminal is saved,
And the time consumed when carrying out to node easy to user and search and save and search node.
Figure 11 shows the structure of the above-mentioned terminal 2 of the present invention, can be used for implementing the present invention by the structure of the terminal 2
Method described in embodiment, for convenience of description, illustrate only thin with the relevant part of the embodiment of the present invention, particular technique
What section did not disclosed, it refer to the embodiment of the method for the present invention.
The terminal can be to include PC (Personal Computer, PC), mobile phone, tablet computer, PDA
(Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle mounted electric
The terminal devices such as brain, by taking terminal is tablet computer as an example, Figure 11 is illustrated that relevant with terminal provided in an embodiment of the present invention
The block diagram of the part-structure of tablet computer 300.Tablet computer 300, including input equipment 310, memory 320, display device
330th, the component such as processor 340 and power supply 350.It will be understood by those skilled in the art that the handset structure shown in Figure 11 is simultaneously
The restriction to tablet computer is not formed, can be included than illustrating more or fewer components, either combines some components or not
Same component arrangement.
Each component parts of tablet computer 300 is specifically introduced with reference to Figure 11:
Input equipment 310 can be used for the instruction for receiving input, and produce the user setting and work(with tablet computer 300
Related key signals input can be controlled.Input equipment 310 may include contact panel 311 and other input equipments 312.Touch surface
Plate 311, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user is appointed using finger, stylus etc.
What operation of suitable object or annex on contact panel 311 or near contact panel 311), and according to set in advance
Formula drives corresponding attachment device.Optionally, contact panel, 311 may include touch detecting apparatus and touch controller two
Part.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, signal is transmitted
To touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then send
To processor 340, and the order that processor 340 is sent can be received and performed.Furthermore, it is possible to using resistance-type, condenser type,
The polytype such as infrared ray and surface acoustic wave realizes contact panel 311.Except contact panel 311, input equipment 310 can be with
Including other input equipments 312.Specifically, other input equipments 312 can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, the one or more in operation lever etc..
Memory 320 can be used for storage software program and module, and processor 340 is stored in memory 320 by operation
Software program and module, so as to perform various function application and the data processing of tablet computer 300.Memory 320 can
Mainly include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function
Application program and there are corresponding icon;Storage data field can be stored uses created data according to tablet computer 300
(such as voice data, phone directory etc.) etc..In addition, memory 320 can include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Display device 330 can be used for display by information input by user or be supplied to the information and tablet computer of user
300 various menus.Display device 330 may include display panel 331, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) is come
Configure display panel 331.Further, contact panel 311 can cover display panel 331, when contact panel 311 is detected at it
On or near touch operation after, send to processor 340 with determine touch event type, be followed by subsequent processing device 340 according to touch
The type for touching event provides corresponding visual output on display panel 311.Although in fig. 11, contact panel 311 and display
Panel 331 is the component independent as two to realize the input of tablet computer 300 and input function, but in some embodiments
In, can be integrated by contact panel 311 and display panel 331 and that realizes tablet computer 300 output and input function.
Processor 340 is the control centre of tablet computer 300, utilizes each of various interfaces and connection whole mobile phone
Part, by running or performing the software program and/or module that are stored in memory 320, and calls and is stored in memory
Data in 320, perform the various functions and processing data of tablet computer 300, so as to carry out integral monitoring to mobile phone.It is optional
, processor 340 may include one or more processing units;Preferably, processor 340 can integrate application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 340.
Tablet computer 300 further includes the power supply 350 (such as battery) to all parts power supply, it is preferred that power supply can lead to
Cross power-supply management system and processor 340 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.
Although being not shown, tablet computer 300 can also include camera, bluetooth module etc., and details are not described herein.
In the embodiment of the present invention, as shown in figure 12, memory 320,360 and of touch screen included by the tablet computer 300
Processor 340, also with following functions:
Memory 320, for storing multistage tree menu, which includes some nodes, some sections
Include attribute information in point respectively, which includes nodename, display situation, father node, selection operation number and row
Information, some nodes such as sequence numbering are divided into some ranks according to pointed father node;In the memory 320, also store
There are the information such as preset number of operations.
Touch screen 360, for showing multistage tree menu.
In embodiments of the present invention, touch screen 360 includes two parts, that is, is used to the display page is shown and loaded
Display panel 331 and the contact panel 311 that is obtained to the touch control operation performed by user, i.e., the touch screen 360 can
Multistage tree menu is loaded and shown, the touch control operation performed by user can also be obtained;The touch control operation can be with
Including:For starting the clicking operation of the application program stored in tablet computer 300, for changing the selection operation of each node
The selection operation of number, for making tablet computer 300 be contracted to the node contraction operation of concealed nodes to manual contraction section point, is used
Operated in the expansion of node included in expansion concealed nodes etc., certainly, it will be appreciated by those skilled in the art that, touch-control behaviour
Make that the operation that other touch screens 360 can be identified can also be included.
The processor 340, in multistage tree menu, obtaining user to the selection operation performed by each node
Multiple destination nodes of the selection operation number without departing from preset number of operations;In multiple destination nodes, obtain at least two and belong to
In the destination node of same father node;The destination node that at least two belong to same father node is contracted to hiding under father node
Node.
In embodiments of the present invention, in order not to upset the sequence of each node in original multistage tree menu, in processor
340, obtaining, user is multiple without departing from preset number of operations to the selection operation number of the selection operation performed by each node
After the step of destination node, the processor 340 is additionally operable to obtain the sequencing numbers of multiple destination nodes.The processor
340, in multiple destination nodes, when acquisition at least two belongs to the destination node of same father node, specifically in multiple mesh
Mark in node, obtain at least two sequencing numbers continuously and belong to the destination node of same father node;Belong to by least two
When the destination node of same father node is contracted to the concealed nodes under father node, specifically at least two sequencing numbers are continuous
And the destination node for belonging to same father node is contracted to the concealed nodes under father node.
In an embodiment of the present invention, in order to by the manual display for adjusting node of the operation of user and hide,
The processor 340, is additionally operable to receive the node contraction operation performed by user;Obtained from node contraction operation multiple manual
Shrink node and manual contraction section point is gone out with the formal notation of textbox on display touch screen 360;When multiple manual contraction sections
When point belongs to same father node, then the manual contraction section point that at least two belong to same father node is contracted to one and hides section
Point;The manual selection operation number for shrinking node at least two being belonged to same father node is adjusted to default value, the default value
For beyond preset number of operations.
In an embodiment of the present invention, in order to make described in the number of nodes shunk in the more apparent concealed nodes of user place
Device 340 is managed, is additionally operable to obtain the quantity for the node for completing to shrink and is recorded in memory 320, the node which shrinks, bag
Include destination node or shrink at least one of node manually;On touch screen 360, which is shown in corresponding concealed nodes
Around.
In embodiments of the present invention, the processor 340 is additionally operable to obtain user for the expansion performed by concealed nodes
Operation;In multistage tree menu, the concealed nodes targeted to the selection operation are unfolded.
During above-mentioned processor 340 is performed and shunk, the processor 340 is specifically used for first, as each father
When the concealed nodes in hidden state are included under node, by adjusting the display situation of destination node, same father's section will be belonged to
The destination node of point is adjusted to hidden state from dispaly state, i.e., not in multistage tree menu, display belongs to same father node
Destination node, can so vacate display space;Secondly, by the display situation of the default concealed nodes under the father node
Dispaly state is adjusted to from hidden state;Finally, the association of the destination node and the concealed nodes that belong to same father node is established
Relation.So, can determine to have shunk the above-mentioned destination node for belonging to same father node under the concealed nodes.
Alternatively, it is also possible to not pre-set concealed nodes in the father node, but determining to exist in processor 340 needs
After that to be shunk belongs to the destination node of same father node, first, the concealed nodes are generated under the father node, the concealed nodes
In be also required to comprising the attribute information such as nodename, sequencing numbers and affiliated father node;Secondly, same father node will be belonged to
The display situation of destination node is adjusted to hidden state from dispaly state;Finally, the destination node for belonging to same father node is established
With the incidence relation of the concealed nodes.
The display methods and terminal of a kind of multistage tree menu provided in an embodiment of the present invention, section is selected by obtaining user
The selection operation number of point, and carried out pair according to the selection number of operations and preset number of operations, so that user seldom be checked
Node be contracted to as destination node, and by the destination node belonged under same father node in a concealed nodes, so as to save
The time consumed when having saved the display space in terminal, and having carried out to node easy to user and search and save and search node.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention answers the scope of the claims of being subject to.
Claims (10)
- A kind of 1. display methods of multistage tree menu, it is characterised in that including:The multistage tree menu of display;In the multistage tree menu, obtain user to the selection operation number of the selection operation performed by each node without departing from Multiple destination nodes of preset number of operations;In the multiple destination node, at least two destination nodes for belonging to same father node are obtained;The destination node that described at least two belong to same father node is contracted to the concealed nodes under the father node.
- 2. according to the method described in claim 1, it is characterized in that, the selection performed by each node is grasped in the acquisition user After the selection operation number of work is without departing from multiple destination nodes of preset number of operations, further include:Obtain the sequencing numbers of the multiple destination node;Described acquisition at least two belongs to the destination nodes of same father node in the multiple destination node, is specially:In the multiple destination node, obtain at least two sequencing numbers continuously and belong to the destination node of same father node;The concealed nodes destination node that described at least two belong to same father node being contracted under the father node, tool Body is:At least two sequencing numbers are continuous and belong to the destination node of same father node and be contracted under the father node Concealed nodes.
- 3. method according to claim 1 or 2, it is characterised in that after the multistage tree menu of the display, also wrap Include:Receive the node contraction operation performed by user;Multiple contraction nodes manually are obtained from node contraction operation;When the multiple node of contraction manually belongs to same father node, then belong to the manual of same father node by least two and receive Casing coupling point is contracted to a concealed nodes;The manual selection operation number for shrinking node for described at least two being belonged to same father node is adjusted to default value, described Default value is without departing from the preset number of operations.
- 4. according to the method described in claim 3, it is characterized in that, further include:The quantity for the node for completing to shrink, the quantity of the node for completing to shrink are obtained, including completes the destination node shunk At least one of manual quantity for shrinking node for shrinking of quantity or complete;The quantity is shown in around corresponding concealed nodes.
- 5. according to the method described in claim 1,2 or 4, it is characterised in that further include:User is received to operate for the expansion performed by the concealed nodes;In the multistage tree menu, targeted concealed nodes are operated to the expansion and are unfolded.
- A kind of 6. terminal, it is characterised in that including:Display unit, for showing multistage tree menu;Comparing unit, in the multistage tree menu, obtaining selection of the user to the selection operation performed by each node Multiple destination nodes of the number of operations without departing from preset number of operations;Determination unit, in the multiple destination node, obtaining at least two destination nodes for belonging to same father node;Unit is shunk, the destination node for belonging to same father node by described at least two is contracted to hidden under the father node Hide node.
- 7. terminal according to claim 6, it is characterised in that further include:Sequencing numbers acquiring unit, for obtaining the sequencing numbers of multiple destination nodes;The determination unit, specifically in the multiple destination node, obtaining at least two sequencing numbers continuously and belonging to The destination node of same father node;The contraction unit, specifically for when at least two sequencing numbers are continuous and belong to the target section of same father node Point is contracted to the concealed nodes under the father node.
- 8. the terminal according to claim 6 or 7, it is characterised in that further include:Node contraction operates acquiring unit, for receiving the node contraction operation performed by user;The determination unit, is additionally operable to obtain multiple contraction nodes manually in operating from the node contraction;The contraction unit, is additionally operable to when the multiple at least two manual nodes that shrink shunk manually in node belong to same During father node, then the manual contraction section point for belonging to same father node by least two is contracted to a concealed nodes;Reset unit, the manual selection operation number for shrinking node for belonging to same father node by least two are adjusted to silent Recognize value, the default value is without departing from the preset number of operations.
- 9. terminal according to claim 8, it is characterised in that further include:Counting unit, for obtaining the quantity for the node for completing to shrink, the quantity of the node for completing to shrink, including completes to receive The quantity of the destination node of contracting completes at least one of manual quantity for shrinking node of contraction;The display unit, is additionally operable to the quantity being shown in around corresponding concealed nodes.
- 10. according to the terminal described in claim 6,7 or 9, it is characterised in that further include:Expansion operation acquiring unit, is additionally operable to receive user for the expansion operation performed by the concealed nodes;Unit is unfolded, in the multistage tree menu, operating targeted concealed nodes to the expansion and being unfolded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310088123.0A CN104063381B (en) | 2013-03-19 | 2013-03-19 | The display methods and terminal of multistage tree menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310088123.0A CN104063381B (en) | 2013-03-19 | 2013-03-19 | The display methods and terminal of multistage tree menu |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104063381A CN104063381A (en) | 2014-09-24 |
CN104063381B true CN104063381B (en) | 2018-04-20 |
Family
ID=51551097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310088123.0A Active CN104063381B (en) | 2013-03-19 | 2013-03-19 | The display methods and terminal of multistage tree menu |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104063381B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786829A (en) * | 2014-12-19 | 2016-07-20 | 深圳云之家网络有限公司 | Tree-form data structure display method and device |
CN104615339B (en) * | 2015-01-22 | 2017-11-17 | 百度在线网络技术(北京)有限公司 | Control shows method and device |
CN105468365B (en) * | 2015-11-20 | 2021-04-23 | 厦门雅迅网络股份有限公司 | Method for solving tree control node number limitation |
CN105488128A (en) * | 2015-11-24 | 2016-04-13 | 北京中电普华信息技术有限公司 | Tree structure display method and system |
CN106933460B (en) * | 2015-12-30 | 2020-06-09 | 菜鸟智能物流控股有限公司 | Page information obtaining and sending method, device and system |
CN106569687A (en) * | 2016-10-19 | 2017-04-19 | 北京三快在线科技有限公司 | Icon arrangement method and apparatus for virtual buttons, and terminal |
CN107545057A (en) * | 2017-08-29 | 2018-01-05 | 广州视源电子科技股份有限公司 | Show method, apparatus, equipment and the storage medium of mind map |
CN110601866B (en) * | 2018-06-13 | 2023-01-24 | 阿里巴巴集团控股有限公司 | Flow analysis system, data acquisition device, data processing device and method |
CN109324856A (en) * | 2018-08-17 | 2019-02-12 | 平安科技(深圳)有限公司 | Menu treating method, device, computer equipment and storage medium |
CN110659096B (en) * | 2019-09-20 | 2022-07-05 | 北京浪潮数据技术有限公司 | Method, device, system and storage medium for displaying network topological graph |
CN110795916A (en) * | 2019-09-27 | 2020-02-14 | 北京浪潮数据技术有限公司 | Side bar display method and system of document system |
CN111581449B (en) * | 2020-05-18 | 2023-04-28 | 网易(杭州)网络有限公司 | Task node execution method and device, computer equipment and medium |
CN112464039A (en) * | 2020-11-11 | 2021-03-09 | 新奥数能科技有限公司 | Data display method and device of tree structure, electronic equipment and medium |
CN114138984A (en) * | 2021-12-08 | 2022-03-04 | 安天科技集团股份有限公司 | Relationship map updating method and device, computing equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510207A (en) * | 2009-02-26 | 2009-08-19 | 中兴通讯股份有限公司 | Tree menu dynamic maintenance method and apparatus based on web page |
CN101763268A (en) * | 2010-01-22 | 2010-06-30 | 惠州Tcl移动通信有限公司 | Method for dynamic adjustment of menu structure of electric equipment |
CN102520933A (en) * | 2011-11-28 | 2012-06-27 | 深圳市五巨科技有限公司 | Method and device for establishing tree menu based on user right |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447826B (en) * | 2008-12-26 | 2012-10-03 | 华为技术有限公司 | Subframe allocation method, processing method and device thereof |
CN102156697A (en) * | 2010-02-11 | 2011-08-17 | 北京易路联动技术有限公司 | Method and terminal equipment for realizing webpage application through widget |
-
2013
- 2013-03-19 CN CN201310088123.0A patent/CN104063381B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510207A (en) * | 2009-02-26 | 2009-08-19 | 中兴通讯股份有限公司 | Tree menu dynamic maintenance method and apparatus based on web page |
CN101763268A (en) * | 2010-01-22 | 2010-06-30 | 惠州Tcl移动通信有限公司 | Method for dynamic adjustment of menu structure of electric equipment |
CN102520933A (en) * | 2011-11-28 | 2012-06-27 | 深圳市五巨科技有限公司 | Method and device for establishing tree menu based on user right |
Also Published As
Publication number | Publication date |
---|---|
CN104063381A (en) | 2014-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104063381B (en) | The display methods and terminal of multistage tree menu | |
CN103019568B (en) | terminal and icon display method | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN107257439A (en) | A kind of image pickup method and mobile terminal | |
CN105912188A (en) | Panel displaying method, portable electronic device and recording medium using the method | |
CN106843739A (en) | The display control method and mobile terminal of a kind of mobile terminal | |
CN106919307B (en) | A kind of text clone method and mobile terminal | |
CN102855066A (en) | Terminal and terminal control method | |
US20100039449A1 (en) | Menu controlling method | |
CN107219988A (en) | A kind of interface operation bootstrap technique and mobile terminal | |
CN107181858A (en) | A kind of method and terminal for showing notification message | |
WO2023046130A1 (en) | Application icon display method and apparatus, and electronic device and storage medium | |
CN106856543A (en) | A kind of image display method, device and mobile terminal | |
WO2022063074A1 (en) | Desktop layout method and apparatus, and electronic device | |
CN107643912A (en) | A kind of information sharing method and mobile terminal | |
CN110069188A (en) | Identification display method and terminal device | |
CN106155488A (en) | The display packing of application icon and device | |
CN107609374A (en) | A kind of unlocking method and mobile terminal | |
CN105205066B (en) | Picture searching method and device | |
CN106997268A (en) | A kind of application control method and mobile terminal | |
CN106776871A (en) | The storage method and mobile terminal of a kind of multimedia file | |
CN106033301B (en) | Application program desktop management method and touch screen terminal | |
CN106231113A (en) | A kind of Dialing Method and mobile terminal | |
CN107678642A (en) | The control method and mobile terminal of a kind of application | |
CN108388354A (en) | A kind of display methods and mobile terminal in input method candidate area domain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |